{"version":3,"sources":["apis/AdminAPI.ts","apis/DocumentServiceAPI.ts","API.ts","components/Logger.ts","stores/StoreUtilities.ts","apis/CustomMutations.ts","apis/CustomQueries.ts","apis/GovGigAPI.ts","AppConfig.ts","aws-exports.js","images/header_logo_640x192.png","components/form/DialogButton.tsx","components/form/FormValidator.tsx","components/form/TextFieldValidator.tsx","components/Tracking.ts","model/Agreement.ts","model/Certification.ts","model/Education.ts","model/Experience.ts","model/Location.ts","model/ProfileLocation.ts","model/Service.ts","model/ProfileService.ts","model/Industry.ts","model/Account.ts","model/User.ts","model/Profile.ts","model/UserActivity.ts","stores/CookieHelpers.ts","components/RoutesConfigHelpers.ts","stores/UserStore.ts","components/form/CancelButton.tsx","components/form/ProgressButton.tsx","components/Stack.tsx","components/login/LoginDialog.tsx","components/login/PasswordAssistDialog.tsx","components/login/AuthButton.tsx","components/page/PopperMenuItem.tsx","components/page/SimpleMenu.tsx","stores/StoreProvider.ts","components/controls/MenuButton.tsx","components/page/IndustryMenu.tsx","components/page/Header.tsx","components/notify/NotifyBar.tsx","components/confirm/ConfirmDialog.tsx","components/alert/AlertDialog.tsx","components/page/MarginRow.tsx","images/logo_wo_tagline_white_640x192.png","components/ActionLink.tsx","components/page/Footer.tsx","components/page/Page.tsx","pages/LoadingPage.tsx","pages/LoginPage.tsx","pages/NotFoundPage.tsx","components/ControlTower.tsx","components/ModalDialog.tsx","components/page/PrivacyPolicyDialog.tsx","components/page/TermsOfUseDialog.tsx","components/kanban/KanbanCard.tsx","components/kanban/KanbanRow.tsx","components/kanban/KanbanColumn.tsx","components/kanban/KanbanBoard.tsx","components/controls/IconicButton.tsx","components/form/TextMenuFieldValidator.tsx","components/AddButton.tsx","components/profile/ProfileCandidateStatusDialog.tsx","components/TextBlock.tsx","pages/manage/ApplicantCard.tsx","components/page/SideDrawer.tsx","components/filter/FilterBar.tsx","model/ServiceGroup.ts","model/CertificationType.ts","model/opportunity/Agency.ts","model/opportunity/Naics.ts","model/opportunity/PcsCategory.ts","stores/ResourceCache.ts","components/filter/ServiceFilter.tsx","components/filter/LocationFilter.tsx","pages/profile/ProfileCard.tsx","components/file/FilePreview.tsx","components/file/FileDropZone.tsx","components/dialog/DialogLoadingProgress.tsx","components/CardValue.tsx","components/file/FileDialog.tsx","components/file/FilePreviewWithDialog.tsx","pages/profile/upload-resume/UploadResumeDialog.tsx","pages/profile/ProfileAbout.tsx","pages/profile/ProfileCandidateStatus.tsx","components/form/DatePickerValidator.tsx","components/filter/CertificationFilter.tsx","pages/profile/ProfileCertifications.tsx","components/form/FormGroupSpacer.tsx","components/Visible.tsx","pages/profile/ProfileEducation.tsx","images/Profile_Hero_Image_New.jpg","components/controls/EditButton.tsx","components/dialog/AppDialog.tsx","components/page/InstructionsPanel.tsx","views/profiles/ProfileCredentialsView.tsx","components/profile/ProfileNameView.tsx","pages/profile/ProfileHero.tsx","pages/profile/ProfileClearButton.tsx","components/form/CheckboxValidator.tsx","pages/profile/ProfileErrors.tsx","pages/profile/ProfileInstructions.tsx","components/filter/PlaceFilter.tsx","components/selection/ProfileLocationsDialog.tsx","pages/profile/ProfileLocations.tsx","components/form/StateSelector.tsx","pages/profile/change-dialogs/EmailChangeDialog.tsx","pages/profile/change-dialogs/PasswordChangeDialog.tsx","components/controls/SimpleSelect.tsx","pages/profile/ProfilePersonalInfo.tsx","components/selection/SelectionsDialog.tsx","components/selection/PositionsDialog.tsx","pages/profile/ProfilePositions.tsx","pages/profile/AgencyDialog..tsx","pages/profile/ProfileWorkExperience.tsx","components/CallToActionPanel.tsx","pages/profile/ProfileFAQs.tsx","pages/profile/ProfileSecurityClearance.tsx","pages/profile/ProfilePage.tsx","pages/manage/ApplicantBoard.tsx","model/stripe/InvoiceItem.ts","model/stripe/Invoice.ts","model/stripe/Charge.ts","model/stripe/Product.ts","model/stripe/Price.ts","stores/AccountStore.ts","pages/manage/CandidateCard.tsx","components/user/UserCRMActionsPanel.tsx","components/userActivity/UserActivityCard.tsx","components/userActivity/UserActivityList.tsx","model/Contract.ts","model/Answer.ts","model/JobInterest.ts","model/ServiceRequest.ts","model/JobPost.ts","model/Question.ts","model/JobCandidate.ts","components/jobCandidates/AnswerChip.tsx","components/jobCandidates/AnswerChipArray.tsx","components/jobPosts/screening/QuestionCard.tsx","components/jobPosts/screening/AnswerCard.tsx","components/jobPosts/screening/ExperienceQuestionCard.tsx","components/jobPosts/screening/LocationQuestionCard.tsx","components/jobPosts/screening/CertificationQuestionCard.tsx","components/jobPosts/screening/EducationQuestionCard.tsx","components/jobPosts/screening/YesNoQuestionCard.tsx","images/JobSeekerApply_All.png","images/JobSeekerApply_Construction.png","images/ForJobSeekersCard.png","pages/apply/ApplyPromo.tsx","components/form/IndustrySelector.tsx","pages/apply/ApplyPage.tsx","components/jobPosts/screening/SecurityClearanceQuestionCard.tsx","components/jobPosts/JobInterestApplyDialog.tsx","components/jobCandidates/JobCandidateStatusFlow.tsx","styles/theme.ts","components/jobCandidates/JobCandidateNotes.tsx","components/jobCandidates/JobCandidateActivity.tsx","components/jobCandidates/JobCandidateCard.tsx","views/jobPosts/JobPostTypeChip.tsx","components/jobPosts/JobPostMiniCard.tsx","components/jobCandidates/JobCandidateList.tsx","components/userActivity/NoteActivityPanel.tsx","pages/profile/job-picker/JobPickerDialog.tsx","components/jobPosts/JobCandidateInviteDialog.tsx","components/jobCandidates/JobCandidateStatusFlowCard.tsx","pages/manageCandidates/ManageCandidatePage.tsx","pages/manage/CandidateList.tsx","pages/manage/AccountCard.tsx","pages/settings/account-settings/AccountSettingsDialog.tsx","components/panel/PageHeadingPanel.tsx","components/panel/PageTabsPanel.tsx","components/panel/PageTabPanel.tsx","components/page/PageTitle.tsx","components/panel/LoadingPanel.tsx","views/agreements/AgreementDialog.tsx","views/agreements/AgreementsList.tsx","components/filter/AccountFilter.tsx","pages/manage/PeopleCard.tsx","pages/profile/change-dialogs/PhoneChangeDialog.tsx","pages/settings/user-settings/UserSettingsDialog.tsx","pages/manage/PeopleList.tsx","pages/settings/account-billing/AccountChargeCard.tsx","pages/settings/account-billing/AccountBilling.tsx","pages/accounts/AccountPage.tsx","pages/manage/EmployerList.tsx","pages/manage/AdminPage.tsx","stores/CacheStore.ts","stores/ProfileStore.ts","pages/candidates/ProfileSearchCard.tsx","images/map/blue-pin.svg","images/map/blue-pin-highlighted.svg","pages/candidates/CandidateMap.tsx","components/filter/JobPostFilter.tsx","components/panel/Column.tsx","components/filter/SecurityClearanceFilter.tsx","pages/candidates/FindTalentPage.tsx","pages/contracts/ContractForm.tsx","components/controls/ActionButton.tsx","pages/contracts/ContractsList.tsx","pages/contracts/ContractsPage.tsx","components/jobPosts/JobPostDescriptionForm.tsx","components/jobPosts/JobPostQuestionsForm.tsx","components/form/WorkSettingSelector.tsx","components/jobPosts/JobPostForm.tsx","components/jobPosts/JobPostDescriptionCard.tsx","components/jobPosts/JobPostButtons.tsx","components/jobPosts/JobPostInfo.tsx","components/jobPosts/JobPostHero.tsx","pages/jobPost/JobPostPage.tsx","pages/jobs/JobPostSearchCard.tsx","pages/jobs/JobMap.tsx","images/GovGig_Logo_512.png","pages/jobs/JobBoardSearchCard.tsx","pages/jobs/FindJobsPage.tsx","images/EmployerApply_All.png","images/academy_govgig_screenshot_2_480x270.jpg","images/EmployerApply_Construction.png","images/ForEmployersCard.png","pages/join/JoinPage.tsx","images/header_logo.png","pages/legal/PrivacyPolicyUS.tsx","pages/legal/PrivacyPolicyCCPA.tsx","pages/legal/PrivacyPolicyPage.tsx","pages/legal/TermsOfUseUS.tsx","pages/legal/TermsOfUsePage.tsx","pages/legal/MasterServiceAgreement20230814.tsx","pages/legal/MasterServiceAgreement20230824.tsx","pages/legal/MasterServiceAgreement20231012.tsx","pages/legal/MasterServiceAgreement.tsx","pages/legal/MasterServiceAgreementPage.tsx","components/jobPosts/JobPostStatusSelector.tsx","components/jobPosts/JobPostPublish.tsx","pages/manageJobs/ManageJobPage.tsx","components/jobCandidates/JobCandidateAvatar.tsx","components/filter/ContractFilter.tsx","components/filter/JobPostTypeFilter.tsx","pages/manageJobs/ManageJobsPage.tsx","pages/settings/user-settings/UserSettings.tsx","pages/settings/SettingsPage.tsx","images/flag.jpg","pages/signup/AccountPendingPage.tsx","pages/signup/SignupPromo.tsx","pages/signup/SignupPage.tsx","pages/style/StyleDialog.tsx","pages/style/StyleCard.tsx","pages/style/StyleGuide.tsx","pages/register/RegisterPage.tsx","components/marketing/pricing/PricingToggle.tsx","components/marketing/pricing/PricingCard.tsx","components/marketing/pricing/PricingList.tsx","pages/jobPostCreate/JobPostSelectProductOptions.tsx","components/page/TwoPanelSectionContainer.tsx","components/marketing/sections/Section.tsx","components/marketing/ImageGroup.tsx","components/marketing/TitleGroup.tsx","images/MapCandidates.png","components/marketing/sections/TitleSection.tsx","components/marketing/IndustryCard.tsx","components/marketing/IndustryList.tsx","views/marketing/GovGigIndustryList.tsx","images/PostJobs.png","images/InviteCandidate.png","images/ReviewCandidatesAndHire.png","views/marketing/Employers/EmployerHowGovGigWorksSection.tsx","components/marketing/BulletItem.tsx","views/marketing/Employers/EmployerOptionsSection.tsx","components/marketing/Testimonials.tsx","views/marketing/Employers/EmployerTestimonialsSection.tsx","views/marketing/Employers/EmployerFAQ.tsx","components/marketing/ExplainerStepsList.tsx","views/marketing/Employers/EmployerProcessSection.tsx","views/marketing/Employers/EmployerContactUsSection.tsx","pages/jobPostCreate/JobPostCreatePage.tsx","model/Money.ts","pages/jobPostPaymentCart/StripeElementProvider.tsx","pages/jobPostPaymentCart/StripeOrderItems.tsx","pages/jobPostPaymentCart/StripeOrderSummary.tsx","pages/jobPostPaymentCart/StripePaymentForm.tsx","pages/jobPostPaymentCart/StripePaymentCart.tsx","pages/jobPostPaymentCart/JobPostPaymentCartPage.tsx","pages/legal/ConfidentialityAgreement20230814.tsx","pages/legal/ConfidentialityAgreement.tsx","pages/legal/ConfidentialityAgreementPage.tsx","components/panel/DashboardPanel.tsx","images/FindTalentMap.png","views/employers/AvailableServices.tsx","views/serviceRequests/ServiceRequestTypeChip.tsx","views/serviceRequests/ServiceRequestJobList.tsx","views/serviceRequests/ServiceRequestStatusSelector.tsx","pages/serviceRequests/ManageServiceRequestPage.tsx","views/serviceRequests/ServiceRequestsList.tsx","components/page/SimpleTable.tsx","views/jobPosts/JobPostsList.tsx","pages/dashboard/DashboardPage.tsx","pages/serviceRequests/ServiceRequestsPage.tsx","components/panel/DialogPanel.tsx","components/marketing/SelectionCard.tsx","components/panel/DialogPanelInstructions.tsx","components/panel/DialogPanelButtons.tsx","components/form/SimpleForm.tsx","views/contracts/ContractField.tsx","components/controls/RequestMeetingButton.tsx","components/marketing/sections/RequestMeetingSection.tsx","pages/serviceRequestCreate/ServiceRequestJobForm.tsx","components/panel/SectionPanel.tsx","pages/serviceRequestCreate/ServiceRequestJobsListForm.tsx","views/serviceRequests/ServiceRequestPricing.tsx","pages/serviceRequestCreate/ServiceRequestPricingForm.tsx","views/serviceRequests/ServiceRequestCard.tsx","components/panel/DialogAgreementPanel.tsx","pages/serviceRequestCreate/ServiceRequestAccountForm.tsx","pages/serviceRequestCreate/ServiceRequestCreatePage.tsx","components/page/AgreementPage.tsx","pages/legal/ExclusiveMasterServiceAgreement20231012.tsx","pages/legal/ExclusiveMasterServiceAgreement.tsx","pages/legal/ExclusiveMasterServiceAgreementPage.tsx","pages/opportunity/OpportunityMap.tsx","components/filter/Opportunity/TitleFilter.tsx","components/filter/Opportunity/TypeFilter.tsx","components/filter/Opportunity/PlaceFilter.tsx","components/filter/Opportunity/AgencyFilter.tsx","components/filter/Opportunity/NaicsFilter.tsx","components/filter/Opportunity/SetAsideTypeFilter.tsx","pages/opportunity/OpportunityPostSearchCard.tsx","pages/opportunity/OpportunitiesInfo.tsx","pages/opportunity/FindOpportunityPage.tsx","App.tsx","components/alert/Alert.ts","components/confirm/Confirm.ts","components/notify/Notify.tsx","components/page/PrivacyPolicy.ts","components/page/TermsOfUse.ts","components/Progress.ts","serviceWorker.ts","apis/LocationAPI.ts","stores/JobStore.ts","model/opportunity/OpportunityLocation.ts","model/opportunity/OpportunityPost.ts","stores/OpportunityStore.ts","apis/BillingAPI.ts","apis/AuthAPI.ts","axios/axiosHandler.ts","apis/OpportunitiesAPI.ts","index.tsx"],"names":["AdminAPIName","AdminAPI","addUserToGroup","userName","groupName","init","body","headers","Authorization","concat","Auth","currentSession","getAccessToken","getJwtToken","API","post","removeUserFromGroup","getUser","path","get","DocumentServiceAPI","arguments","length","undefined","convertDocToPDF","docKey","newPDFKey","level","String","substring","lastIndexOf","this","AccountStatus","UserStatus","UserRole","ProfileStatus","SecurityStatus","WorkSetting","AgencyType","AgreementType","ServiceRequestType","EmploymentType","JobCandidateStatus","RecordUpdateOrigin","JobPostStatus","JobPostType","AddressType","JobInterestStatus","SubjectType","ModelSortDirection","LogLevel","transformer","payload","code_version","process","REACT_APP_COMMIT_ID","client","javascript","trace","frames","locRegex","i","filename","matchResults","match","exception","description","JSON","stringify","message","Logger","accessToken","config","userid","nodeEnv","logLevel","Warn","Debug","rollbarConfig","enabled","captureUncaught","captureUnhandledRejections","autoInstrument","network","networkRequestBody","log","dom","navigation","connectivity","maxTelemetryEvents","hostBlackList","transform","environment","person","id","rollbar","Rollbar","info","configure","options","configureUser","userId","debug","msg","_len","args","Array","_key","console","_len2","_key2","Info","warn","_len3","_key3","warning","_len4","_key4","error","_len5","_key5","Error","critical","_len6","_key6","Critical","createUUID","uuid","getISODateFromDate","date","adjDate","Date","setMinutes","getTimezoneOffset","toISOString","substr","getISODateFromDateString","getISODateToday","getISODateTodayAddDays","days","addDays","getISODateTime","durationBetweenISODates","isoStartDate","isoEndDate","startString","isoToLocalDateString","startDate","isoToLocalDate","endString","endDate","differenceString","differenceMonths","differenceInCalendarMonths","differenceDays","differenceInCalendarDays","DatePeriods","periodToISODate","period","isoDateToWhen","isoDate","today","startOfToday","differenceInDays","when","isSameDay","format","dateFormat","DateRange","constructor","start","end","mergeOverlappingDateRanges","dateRanges","sort","a","b","getTime","reduce","acc","curr","prev","pop","getErrorMessage","err","response","data","details","raw","phoneToE164Format","phone","phoneNumber","parsePhoneNumberFromString","isValid","number","toString","phoneToNationalFormat","formatNational","numberToMoneyFormatOrLoading","input","numberToMoneyFormat","value","minimumFractionDigits","Intl","NumberFormat","style","currency","moneyToNumberFormat","text","fractionDigits","result","cleaned","replace","Number","isNaN","Math","trunc","round","humanizeString","TypeError","separator","toLowerCase","decamelize","split","map","word","charAt","toUpperCase","slice","join","createAccount","gql","_templateObject","_taggedTemplateLiteral","updateAccount","_templateObject2","deleteAccount","_templateObject3","createUser","_templateObject4","updateUser","_templateObject5","deleteUser","_templateObject6","createProfile","_templateObject7","updateProfile","_templateObject8","deleteProfile","_templateObject9","createExperience","_templateObject10","updateExperience","_templateObject11","deleteExperience","_templateObject12","createEducation","_templateObject13","updateEducation","_templateObject14","deleteEducation","_templateObject15","createCertification","_templateObject16","updateCertification","_templateObject17","deleteCertification","_templateObject18","createCertificationType","_templateObject19","updateCertificationType","_templateObject20","deleteCertificationType","_templateObject21","createAgreement","_templateObject22","updateAgreement","_templateObject23","deleteAgreement","_templateObject24","createLocation","_templateObject25","updateLocation","_templateObject26","deleteLocation","_templateObject27","createProfileLocation","_templateObject28","updateProfileLocation","_templateObject29","deleteProfileLocation","_templateObject30","createProfileService","_templateObject31","updateProfileService","_templateObject32","deleteProfileService","_templateObject33","createContract","_templateObject34","updateContract","_templateObject35","deleteContract","_templateObject36","createServiceRequest","_templateObject37","updateServiceRequest","_templateObject38","deleteServiceRequest","_templateObject39","createJobPost","_templateObject40","updateJobPost","_templateObject41","deleteJobPost","_templateObject42","createJobInterest","_templateObject43","updateJobInterest","_templateObject44","deleteJobInterest","_templateObject45","createJobCandidate","_templateObject46","updateJobCandidate","_templateObject47","deleteJobCandidate","_templateObject48","createUserActivity","_templateObject49","updateUserActivity","_templateObject50","deleteUserActivity","_templateObject51","createServiceGroup","_templateObject52","updateServiceGroup","_templateObject53","deleteServiceGroup","_templateObject54","createService","_templateObject55","updateService","_templateObject56","deleteService","_templateObject57","getAccount","listAccounts","getUserAndProfile","getUserProfiles","listUsers","listUsersByAccount","listApplicantsByAccount","listCandidatesByAccount","getAgreement","listAgreementsByAccount","listProfilesPublic","listProfilesPrivate","listProfilesByUser","listProfilesByAlias","listPublicProfilesByLocation","listProfilesByLocation","listProfilesByLocationPrivate","listPublicProfilesByService","listProfilesByService","listProfilesByServicePrivate","getProfile","getPublicProfile","listExperiencesByProfile","getExperience","getEducation","listEducationByProfile","listCertificationsByProfile","getCertification","getCertificationType","listCertificationTypes","getLocation","listLocations","getProfileLocation","getProfileService","getContract","listContracts","listContractsByAccount","getServiceRequest","listServiceRequests","listServiceRequestsByAccount","getJobPost","getPublicJobPost","listJobPosts","listJobPostsAndCandidates","listJobPostsByContract","listJobPostsByServiceRequest","listJobPostsByService","listJobPostsByLocation","listJobPostsByAccount","listJobPostsAndCandidatesByAccount","_templateObject58","listJobInterestsByUser","_templateObject59","listJobInterestsByJobPost","_templateObject60","getJobInterest","_templateObject61","listJobCandidatesByJobPost","_templateObject62","listJobCandidatesByAccount","_templateObject63","listJobCandidatesByProfile","_templateObject64","getJobCandidate","_templateObject65","getCourse","_templateObject66","listCourses","_templateObject67","getUserActivity","_templateObject68","_templateObject69","_templateObject70","_templateObject71","_templateObject72","_templateObject73","listUserActivityByUser","_templateObject74","listUserActivityBySubject","_templateObject75","getServiceGroup","_templateObject76","listServiceGroups","_templateObject77","getService","_templateObject78","listServices","_templateObject79","GovGigAPI","filter","query","gqlToString","CustomQueries","variables","makeQuery","catch","CustomMutations","e","limit","nextToken","accountId","email","listProfiles","role","checkRole","Admin","Agent","alias","makeAPIKeyQuery","serviceId","locationId","profileId","checkAuthentication","experienceId","educationId","certificationId","agreementId","profileLocationId","profileServiceId","ContractId","hasOwnProperty","serviceRequestId","contractId","listJobPostsByServiceAndLocation","beginsWith","jobPostId","JobInterestId","jobCandidateId","DESC","subjectId","sortDirection","userActivityId","operation","graphqlOperation","graphql","errors","authMode","GRAPHQL_AUTH_MODE","API_KEY","getAuthenticatedRole","cognitoUser","currentAuthenticatedUser","attribute","userAttributes","find","getName","getValue","AppConfig","env","version","commitId","build","REACT_APP_JOB_ID","stripe","apiKey","REACT_APP_ROLLBAR_ACCESS_TOKEN","google","trackingId","tawkTo","url","REACT_APP_TAWK_TO_URL","checkBuildInterval","branch","REACT_APP_BRANCH","affinda","apiToken","tinymce","domain","_process$env$REACT_AP","REACT_APP_DOMAIN","academyUrl","homeUrl","newsUrl","couponPromo","REACT_APP_COUPON_PROMO","awsmobile","DialogButton","React","render","_this$props$size","classes","onClick","disabled","fullWidth","props","typeProp","type","variantProp","variant","childrenProp","children","className","customClassName","size","primaryDialogButton","secondaryDialogButton","tertiaryDialogButton","_jsx","Button","color","withStyles","theme","createStyles","backgroundColor","palette","secondary","main","primary","contrastText","marginTop","boxShadow","light","background","paper","fontWeight","paddingLeft","spacing","paddingRight","grey","FormValidator","super","state","fields","attachToForm","component","push","onSubmit","event","preventDefault","validateFields","setState","forEach","field","validate","autocompleteOptions","rest","resources","formvalidator","Provider","noValidate","TextFieldValidator","inject","_dec","_class2","errorMessage","onBlur","inputParams","currentTarget","onChange","onAutocompleteChange","reason","getOptionLabel","target","name","validators","errorMessages","errorName","Object","keys","validatorName","validator","indexOf","label","param","componentDidMount","inputRef","Autocomplete","autoSelect","includeInputInList","renderInput","params","_this$props$className","ref","InputProps","TextField","inputProps","root","helperText","_this$props$className2","required","minLength","maxLength","isMobilePhone","isEmail","isPostalCode","isStrongPassword","matches","isURL","isURLMatch","isUsername","minDate","maxDate","minValue","maxValue","isInt","isFloat","isCurrency","defaultLocale","defaultCountry","minPasswordLength","locale","passwordStrength","parseFloat","password","strength","hasLength","hasNumber","hasMixed","hasSpecial","RegExp","test","parse","_class","paddingTop","marginBottom","paddingBottom","TrackingCodes","Tracking","initialize","ReactGA","initialized","set","pageView","cleanPath","pageview","modalView","modalview","eventArgs","category","window","location","pathname","action","UUIDPattern","Agreement","createdAt","updatedAt","agreementTypes","agreementKey","hasAgreementType","agreementType","includes","Certification","certificationType","issuedAt","expiresAt","certificateKey","Education","school","degree","FederalAgency","Experience","jobTitle","agencyType","agencyName","employerName","employerLocation","projectLocation","projectNo","projectName","projectDollarAmount","jobDescription","years","diff","max","isProject","None","isFederal","Federal","Location","_data$aliases","active","organizationName","region","addressType","address","city","postalCode","country","latitude","longitude","aliases","Street","City","State","Country","shortName","longName","lngLat","lng","lat","comparesTo","loc","precision","startsWith","ProfileLocation","Service","_data$industries","serviceGroupId","serviceGroup","industries","ProfileService","service","NAICS","Industry","_ref","_data$level","code","stringForNAICSCode","Construction","InformationTechnology","SecurityServices","Account","ownerId","socioEconomicDesignation","accountStatus","customerId","webUrl","users","items","loadUsers","item","User","userStatus","account","firstName","lastName","industry","lastActiveAt","agreements","profiles","Registered","loadAgreements","loadProfiles","Profile","profile","splice","fullName","nickname","isActive","isApplicant","Applicant","Student","isStudent","isCandidate","Candidate","isEmployer","Employer","isAdmin","isAgent","isAdminOrAgent","agreement","ProfileStatusMessages","ProfileAvailabilityOptions","_data$federalExperien","_data$totalExperience","_SecurityStatus$data$","_data$workSettings","user","initials","profileServices","profileLocations","availability","availableDate","desiredRate","about","resumeKey","profileStatus","statusMessage","experiences","certifications","education","notes","federalExperience","totalExperience","securityClearance","securityStatus","workSettings","credentials","getInitials","loadProfileServices","loadProfileLocations","loadExperiences","loadCertifications","loadEducation","parts","isEmpty","Boolean","statusMessageOrDefault","_this$statusMessage","hasService","findIndex","profileService","hasLocation","profileLocation","getIsUnlocked","jobCandidate","isUnlocked","unlocked","canSubmit","Submitted","Reviewing","Verifying","Accepted","inReview","Pending","findCertification","search","c","ActivityType","UserActivity","subjectType","activityType","actorId","actorName","isClientSide","getCookies","req","cookies","cookie","_cookies","documentCookies","document","len","cookieParts","_cookie","getCookie","key","str","processValue","decodeURIComponent","setCookie","_cookieOptions","_req","_res","res","_options","cookieStr","serialize","currentCookies","getHeader","isArray","setHeader","entries","accum","RoutesConfigHelpers","isCurrentRoute","route","cleanPathname","checkCleanPathname","href","getRouteForPathname","baseURL","routes","URL","values","routeData","unshift","routeExistsForPathname","routeRequiresLogin","routeRequirements","isAuthenticated","roleMeetsRouteRequirements","roles","r","UserStoreConstants","CognitoAttribute","UserStore","_cognitoUser","_initializerDefineProperty","_descriptor","_descriptor2","_descriptor3","_descriptor4","_descriptor5","_descriptor6","govGigAPI","adminAPI","locationAPI","_descriptor7","_attributes","signUp","async","username","signOutCurrentAuthenticatedUser","Promise","resolve","reject","attributes","validationData","then","confirmSignUp","resendSignUp","verifyUserAttribute","verifyUserAttributeSubmit","signIn","challengeName","initSession","logUserActivity","UserSignIn","routeInitial","Routes","origin","home","login","apply","signup","register","ControlTower","dashboard","findJobs","reloadAuthenticatedUser","isLoading","isPublic","signOut","setIndustry","checkInterval","clearInterval","getUserAttribute","getUserAttributes","updateUserAttributes","getCurrentSessionPayload","getUsername","loadUser","verifyRole","isProfileEditable","isJobPostEditable","jobPost","completeNewPassword","newPassword","Approved","Invited","getIndustry","updateUserLastActiveAt","getUserProfile","userActivity","jobInterestId","deleteAllCookies","d","hostname","cookieBase","encodeURIComponent","p","shift","makeObservable","updateAttributes","customRole","groups","getIdToken","redirectHome","authTimeValue","authTime","fromUnixTime","isToday","setInterval","setStoreUser","userRes","UserCreated","updatedUser","differenceInMinutes","update","forgotPassword","forgotPasswordSubmit","expires","sameSite","title","_applyDecoratedDescriptor","prototype","observable","configurable","enumerable","writable","initializer","computed","getOwnPropertyDescriptor","CancelButton","Box","mr","ProgressButton","processing","componentDidUpdate","prevProps","_jsxs","CircularProgress","progressButton","position","top","left","marginLeft","Stack","direction","justifyContent","alignItems","wrap","sx","xs","Grid","container","Children","child","index","LoginDialog","observer","onClose","onLogin","userStore","accountStore","isProcessing","newPasswordRequired","onForgotPassword","onShowPasswordAssist","renderEmbedded","Container","maxWidth","bgcolor","borderRadius","px","py","my","Typography","autoComplete","autoFocus","margin","autoCorrect","autoCapitalize","pt","pb","onShowSignUp","Divider","open","renderDialog","Dialog","scroll","DialogTitle","DialogContent","DialogContentText","DialogActions","submitButton","embed","height","flexGrow","display","logo","width","PasswordAssistDialog","reset","notify","show","onShowLogin","delivery","onResendCode","dark","AuthButton","onClickOpen","currentRoute","mode","accountPending","dialog","button","fontSize","padding","PopoverMenuItem","Component","menuList","isXS","isWidthDown","MenuListComp","MenuList","menuListContainer","to","Link","textDecoration","MenuItem","Fragment","menuItemRef","Popover","anchorEl","disableRestoreFocus","anchorOrigin","vertical","horizontal","transformOrigin","marginRight","withWidth","SimpleMenu","_this","handleClick","handleClose","onCloseAuth","showAuth","getMenuItemButton","tracking","otherProps","renderArrow","isEmphasized","spacingLeft","currentPath","Comp","classname","activeButton","emphasizedButton","combined","classNames","ArrowDropDownIcon","onAcademy","isSmallScreen","manageButton","PopperMenuItem","Recruiting","manageAccounts","RecruitingEmployers","manageApplicants","RecruitingApplicants","manageCandidates","RecruitingCandidates","managePeople","RecruitingPeople","accountButton","accountSettings","AccountSettings","accountAgreements","AccountAgreements","accountPeople","AccountPeople","accountBilling","AccountBilling","findJobsButton","FindJobs","findOpportunityButton","FindOpportunity","findOpportunity","myJobsButton","MyJobs","myJobs","findCandidatesButton","SearchCandidates","findTalent","dashboardButton","Dashboard","serviceRequestsButton","ServiceRequests","serviceRequests","ServiceRequestsList","serviceRequestCreate","ServiceRequestCreate","manageJobsButton","ManageJobs","manageJobs","ManageJobsList","jobPostCreate","JobPostsCreate","jobGroups","profileButton","userButton","AccountCircleIcon","settings","Settings","SignIn","joinButton","Join","postJobsButton","menuItems","FindTalent","IconButton","MenuIcon","menuIcon","Menu","menuPaper","alpha","common","white","menuItem","activeMenuItem","useStores","useContext","MobXProviderContext","StyledMenu","border","elevation","getContentAnchorEl","StyledMenuItem","MenuButton","icon","onClickMenuItem","setAnchorEl","useState","keepMounted","selected","handleMenuItemClick","ListItemText","IndustryMenu","_accountStore$account","industryCode","setIndustryCode","useMediaQuery","breakpoints","down","useEffect","buttonLabelForIndustryCode","menuItemLabelForIndustryCode","menuItemsForIndustries","_industries","pl","renderAsText","onClickIndustry","_e","Header","progress","AppBar","appBar","toolBarWrapper","Toolbar","toolBar","disableGutters","linkStyle","src","appLogo","alt","grow","progressWrapper","LinearProgress","hidden","isVisible","maxHeight","minHeight","up","variantIcon","success","CheckCircleIcon","WarningIcon","ErrorIcon","InfoIcon","variantAutoHideDuration","Transition","nodeRef","Slide","NotifyBar","close","snackBarContent","Icon","SnackbarContent","iconVariant","closeBtn","CloseIcon","autoHideDuration","Snackbar","snackBar","TransitionComponent","flexWrap","opacity","lineHeight","cursor","ConfirmDialog","onCancel","confirm","cancel","content","confirmLabel","buttons","cancelLabel","dialogActions","AlertDialog","alert","MarginRow","useTheme","ActionLink","alignText","click","variation","textStyle","linkStyles","textStyles","linkText","linkStyleLight","linkStyleDark","align","withTheme","Footer","onClickContact","onClickPrivacyPolicy","privacyPolicy","onClickTermsOfUse","termsOfUse","_DOMParser$parseFromS","talentUrl","jobsUrl","copyright","DOMParser","parseFromString","now","textContent","sm","link","divider","borderTop","borderTopColor","letterSpacing","Page","hideHeader","hideFooter","rootStyle","header","contentStyle","footer","default","flexDirection","overflow","flex","LoadingPage","isLoaded","LoginPageState","LoginPage","hide","passwordAssist","NotFoundPage","lg","logoImage","textAlign","RouteRequirements","manage","jobPostPaymentCart","manageCandidate","manageJob","lastNavigatedRoute","routeExists","findRouteMatch","routeMatch","hasRequiredRole","checkRoute","notFound","navigate","back","history","ModalDialog","dialogContent","PrivacyPolicyDialog","privacy","iframe","overflowY","TermsOfUseDialog","ev","terms","KanbanCard","innerRef","row","virtualStyle","provided","snapshot","draggableProps","dragHandleProps","draggableStyle","isDragging","grid","getStyle","renderCard","KanbanRow","memo","column","rows","Draggable","draggableId","isDragDisabled","checkIsDragDisabled","rubric","useStyles","makeStyles","columnDraggingOver","columnDraggingFrom","list","transition","columnHeader","count","HeightPreservingItem","setSize","knownSize","prevSize","KanbanColumn","_ref2","renderVirtualList","Virtuoso","components","Item","scrollerRef","columnWidth","columnHeight","itemContent","Droppable","droppableId","isDropDisabled","renderClone","source","columnClassNames","isDraggingOver","KanbanBoard","onDragEnd","destination","sourceColumnId","sourceColumn","columns","destinationColumnId","onDrop","board","DragDropContext","overflowX","IconicButton","renderButton","styles","editButton","renderButtonWithLabel","labelColor","TextMenuFieldValidator","onClickCapture","InputLabelProps","shrink","disableBackdropClick","AddButton","renderMenu","option","buttonColor","buttonSize","buttonVariant","startIcon","add","AddCircleIcon","remove","RemoveCircleIcon","SearchIcon","checkmark","downarrow","ProfileCandidateStatusViewModel","_profile$statusMessag","ProfileCandidateStatusDialog","_class3","_class4","onClickProfileStatus","profileStore","updateProfileInput","updatedProfile","newRole","updateUserInput","handleChange","viewModel","handleDelete","jobStore","jobInterests","all","jobCandidates","Suspended","Inactive","multiline","minWidth","TextBlock","idx","ApplicantCard","onCardClick","onEdit","isFormOpen","_profile$notes","profileMessage","profileNotes","Card","CardContent","card","EditIcon","editIcon","noWrap","formatDate","fedExperience","isoDateTime","isoToLocalDateTime","isYesterday","SideDrawer","anchor","isOpen","Drawer","drawer","drawerPaperLarge","drawerPaper","appBarLarge","closeButton","mt","flexShrink","FilterBar","isFilterOpen","toggleFilter","renderDrawer","searchResultCount","renderFields","filterField","renderButtons","isSmall","Hidden","mdUp","filterButtonOn","filterButtonOff","filterBar","smDown","md","borderWidth","ServiceGroup","services","loadServices","CertificationType","Agency","agency_display_name","agency_name","cgac_agency_code","order","Id","Naics","naics_title","naics_code","PcsCategory","psccode","ResourceCache","opportunitiesAPI","locations","locationMap","locationOptions","serviceGroups","serviceMap","serviceOptions","certificationTypes","agencyTypes","naicsTypes","pscCategories","_data$nextToken","loadLocationMap","create","point","Geohash","decode","lon","addLocation","l","getLocationOption","_location$region","locationOption","LocationOption","activateLocation","loadLocationsForProfile","_a$location$state","_b$location$state","aState","bState","localeCompare","serviceGroupData","group","getServiceGroups","getServices","addService","_this$getServiceGroup","s","getServiceOptions","activateService","loadServicesForProfile","addCertificationType","activateCertificationType","certificationTypeId","stateAbbrs","stateNames","countryAbbrs","countryNames","promises","getLocationOptions","_location$state","groupCompare","matchLocationOptions","exact","searchFor","toLocaleLowerCase","ServiceOption","getServiceOption","getServiceOptionByName","getServiceGroupByName","getCertificationTypes","getCertificationTypeByName","listSecurityClearances","getStateAbbrFromName","foundAbbr","strInput","trim","upStrInput","strStateToFind","getStateNameFromAbbr","foundFullName","getCountryAbbrFromName","strCountryToFind","getCountryNameFromAbbr","getAgencyOptions","getAgencyLists","getAgencyOption","getNaicsOptions","getNaicsCodeLists","getNaicsOption","getPscCategories","getPscCategoriesInfo","ServiceFilter","_this$props$required","isRequired","serviceFilter","onSelectService","resourceCache","serviceOption","newIndustry","_this$props$variant","_this$props$margin","_this$serviceFilter","freeSolo","filterTextField","groupBy","_option$name","getOptionSelected","LocationFilter","onSelectLocation","locationFilter","_this$locationFilter","ProfileCard","overrides","containerClassNme","titleBarClassName","titleBar","Paper","panel","FilePreview","renderPDF","pointerEvents","renderOtherFile","emptyLabel","renderEmpty","renderContent","onClickEmpty","fileKey","isFetching","getFileURL","FileDropZone","accept","onFileValidator","Dropzone","maxFiles","fileRejections","getRootProps","getInputProps","rootProps","RootRef","rootRef","dropzoneRoot","dropzoneText","amber","DialogLoadingProgress","CardValue","labelWidth","wrapText","maxTextWidth","textOverflow","isExtraSmall","fontFamily","FileDialog","_handleSave","onSaveDialog","stagedFile","_handleUpload","_clear","isUploading","uploadError","isInvalidFile","_handleDrop","acceptedTypes","files","file","keyGenerator","documentServiceAPI","onSaveWithFile","ext","uploadFile","pdf","Storage","_handleRemoveFile","onDeleteFile","isRemovingFile","removeFile","isSaveDisabled","uploadDisabled","fileUploadOptional","isSaveProcessing","renderFileName","fileNameGetter","fileName","uploadButtonText","acceptedFileTypes","acceptedFileTypesText","dialogContentRoot","dropZone","gutterBottom","bind","valid","resumeButtons","justifyItems","dialogActionsLeft","dialogActionsRight","FilePreviewWithDialog","filePreviewProps","fileDialogProps","buttonText","buttonTracking","onClickOpenDialog","renderFilePreview","Edit","Add","renderFileDialog","UploadResumeDialog","_handleSaveResume","_handleDeleteResume","shouldAutofillProfile","updateProfileForResume","fileUrl","fileFolder","_profile$resumeKey","_profile$resumeKey2","isDialogOpen","chunks","paragraph","FormControlLabel","control","Checkbox","checked","resumeItem","aboutDiv","resumeDiv","docPreview","textarea","ProfileAboutViewModel","ProfileAbout","handleEdit","isWidthUp","publicNotice","renderAboutForm","TextareaAutosize","minRows","ProfileCandidateStatus","handleUpdate","borderColor","DatePickerValidator","toLocaleString","MuiPickersUtilsProvider","utils","DateFnsUtils","KeyboardDatePicker","inputValue","TextFieldComponent","CertificationFilter","certificationFilter","onSelectCertificationType","_this$certificationFi","ProfileCertifications","_descriptor8","_descriptor9","_descriptor10","_handleSaveCert","isSavingCert","cert","updateInput","certificationIssueDate","certificationExpDate","_refreshProfileCerts","_handleAddCert","isAddDialogOpen","_handleOpenEditCert","certification","isEditDialogOpen","_handleRemoveCert","_handleClose","renderStaticFields","disableToolbar","autoOk","placeholder","renderAddDialog","renderFileDialogDescription","_Fragment","_certification$certif","renderCertification","showPreview","certTile","addButton","AddIcon","showInstructions","mb","borderStyle","FormGroupSpacer","formGroupSpacing","Visible","if","ProfileEducationViewModel","ProfileEducation","_descriptor11","handleAdd","loadEducations","vm","getISODateFromMonthYearString","educations","renderForm","instructions","educationContainer","right","schoolTitle","_this$props$profileSt","form","dividers","getDegreeOptions","FormGroup","formGroupRow","rowsMax","monthEnd","endOfMonth","editButtonSmall","editButtonMedium","editButtonLarge","EditButton","AppDialog","submitLabel","secondaryLabel","dialogId","formId","shouldHideActionButtons","secondaryAction","secondaryColor","secondaryIcon","ariaLabel","formRef","useRef","setIsProcessing","isProcessingSecondary","setIsProcessingSecondary","current","InstructionsPanel","ProfileCredentialsView","textVariant","textColor","setIsProfileEditable","showDialog","setShowDialog","setCredentials","_profile$credentials","renderString","avatar","avatarLocked","avatarTextLarge","avatarTextSmall","avatarActive","avatarApplied","avatarHired","avatarRejected","avatarInactive","avatarPending","large","small","ProfileNameView","onClickTitle","onUpdateJobCandidate","showAvatar","showUnlock","onUpdateProfile","setIsLoading","setIsUnlocked","setFullName","setInitials","isUnlockDialogOpen","setIsUnlockDialogOpen","_profile$user$fullNam","_profile$user","renderLink","onSubmitUnlock","updatedJobCandidate","unlocksAvailable","jobPostInput","updatedJobPost","renderAvatar","dimension","Skeleton","status","Interested","statusClassName","Applied","application","Contacted","Hired","Rejected","Declined","classArray","Avatar","classnames","LockIcon","LockOpen","renderUnlockDialog","ProfileHero","prevState","renderShareButton","IconComp","actionButton","actionButtonShare","actionButtonShareIcon","pr","experience","federalYears","totalYears","availabilityTextColor","clearance","PersonIcon","ScheduleIcon","BusinessIcon","profileUrl","ProfileHeroImage","backgroundSize","actionButtonSubmit","availableNow","availableSoon","availableLater","unavailable","ProfileClearButton","handleClearProfile","isClearing","clearProfile","clearedProfile","red","CheckboxValidator","_this$props$checked","labelPlacement","FormControl","checkbox","FormHelperText","ProfileErrors","_this$props$errors","_this$props$errors2","heading","ProfileInstructions","renderTermsCheckbox","changeHandler","handleSubmit","eligibleCheckbox","backgroundCheckbox","agreementInput","BackgroundCheck","I9Eligible","agreementUpdated","agreementCreated","_this$props$errors3","renderActionButton","sharedProps","PublishIcon","PlaceFilter","allStores","_allStores$formvalida","_dec2","defaultPlaceOptions","locationClient","placesOrgName","searchTimer","onInputChange","clearTimeout","placeOptions","setTimeout","getLocationSuggestions","multiple","onSelectLocations","getLocationClient","_this$props$locationA","createClient","suggestions","IndexName","placeIndex","Text","searchPlaceIndexForSuggestions","results","Results","MaxResults","searchPlaceIndexForText","Place","place","Label","Geometry","Point","geoHash","geoHashEncode","_result$Region","AddressNumber","Neighborhood","PostalCode","Municipality","Region","SubRegion","County","defaultOptions","defaultValue","placeLocationOption","placeText","forcePopupIcon","noOptionsText","loading","endAdornment","ProfileLocationsDialog","selectedLocations","selectedIds","onSubmitSelections","LocationViewModel","ProfileLocationsViewModel","ProfileLocations","_class5","isListExpanded","loadLocations","handleSubmitSelections","updateLocations","isRemote","isInPerson","InPerson","Remote","Hybrid","_this$props$isOpen","LocationOnIcon","renderLocationChips","renderEditButton","visible","invisible","Chip","ChevronLeftIcon","ChevronRightIcon","WifiIcon","usaStates","StateSelector","_this$props$isRequire","_this$props$name","InputLabel","htmlFor","Select","native","usaState","EmailChangeDialog","authAPI","confirming","verifyCurrentUserAttributeSubmit","newEmail","getAlias","verifyCurrentUserAttribute","oldEmail","PasswordChangeDialog","changePassword","oldPassword","SimpleSelect","selections","elementId","placeholderText","valueName","formControl","selection","ProfilePersonalInfoViewModel","_country","_availability","ProfilePersonalInfo","_descriptor12","_descriptor13","_descriptor14","_descriptor15","_descriptor16","_descriptor17","updateEmail","onChangeEmailOpen","showEmailChange","onEmailChange","onEmailChangeClose","onChangePasswordOpen","showPasswordChange","onPasswordChangeClose","_viewModel$availabili","generateAlias","renderPersonalInfoForm","_availability2","InputAdornment","formGroupField","stateSelector","postalCodeField","availabilitySelect","formDialog","ListHeaderViewModel","isCheckable","isExpandable","ListItemViewModel","isChecked","ListSectionViewModel","sections","SelectionsDialogViewModel","helpText","HeaderCheckedState","SelectionsDialog","_class6","initializeValues","section","isCheckedTrace","updateHeaderState","isAllTrue","every","isAllFalse","headerState","Checked","Unchecked","Indeterminate","isHeaderChecked","isHeaderExpanded","subSectionValues","subSection","isItemChecked","renderSection","_this$isHeaderExpande","List","dense","disablePadding","renderHeaderItem","Collapse","in","timeout","unmountOnExit","renderItem","labelId","ListItemIcon","checkboxContainer","edge","indeterminate","tabIndex","disableRipple","expand","_this$isHeaderExpande2","ExpandLess","expandButton","ExpandMore","ListItem","handleToggleCheckedHeader","handleToggleExpandHeader","listItem","disableTypography","listItemTextHeader","ListItemSecondaryAction","handleToggleChecked","listItemText","_this$isHeaderExpande3","checkedState","_section$items","_section$items2","autorun","renderSelections","listBackground","Map","typography","h5","black","PositionsDialog","loadViewModel","selectedServiceIds","intersection","reaction","ServiceViewModel","ProfilePositionsViewModel","ProfilePositions","updateServices","FaceIcon","renderProfileChips","AgencyDialog","exp","ProfileWorkExperienceViewModel","ProfileWorkExperience","_descriptor18","_descriptor19","_descriptor20","_descriptor21","_descriptor22","_descriptor23","handleFederalCheckbox","NAVFAC","USACE","AFCEC","agencyDialog","onChangeAgency","isFederalChecked","isOtherChecked","_err","fedYears","totalRanges","fedRanges","dateRange","totalDays","fedDays","isConstruction","fedTotal","allTotal","experienceContainer","fedJobTitle","renderDuration","fedValue","Tooltip","fedCheckbox","minStartDate","maxStartDate","getDateFromMonthYearString","minEndDate","maxEndDate","toLocaleDateString","optionalFields","_reason","CallToActionPanel","handleOnLogin","isAuthVisible","prompt","callToAction","logIn","ProfileFAQs","renderInstructions","onExpand","isExpanded","ExpandLessIcon","ExpandMoreIcon","ProfileSecurityClearance","onDelete","setIsDialogOpen","isDeleting","setIsDeleting","setSecurityClearance","setSecurityStatus","securityClearances","_handleAddSecurityClearance","renderUnlocked","ProfilePage","loadProfile","URLSearchParams","getAliasProfile","ProfileViewed","onChangeProfile","isProfilePositionsDialogOpen","isProfileLocationsDialogOpen","isProfileAboutDialogOpen","found","isProfileWorkExperienceDialogOpen","isProfileEducationDialogOpen","onChangeStatus","Columns","SortOptions","ApplicantBoard","renderFilterBar","searchFilter","SearchBar","searchbar","onSearchChange","searchIcon","onRequestSearch","onCancelSearch","filterControl","sortFilter","onChangeSort","applicant","handleUpdateApplicant","eq","and","sortUsers","usersUnfiltered","filterUsers","handleUpdateUserStatus","sourceIndex","destinationIndex","_this$usersUnfiltered","destinationColumn","currentUser","userProfile","u","formatISO","updatedApplicant","filteredUsers","searchName","industryFilter","Updated","aa","_a$profile$federalExp","_a$profile","_b$profile$federalExp","_b$profile","Academy","Future","userFullName","sortBy","asc","onClickApplicant","onChangeApplicant","cardspace","InvoiceItem","customer","unit_amount","quantity","discounts","CustomField","Invoice","collection_method","auto_advance","custom_fields","custom_field","Charge","amount","created","receipt_number","receipt_url","timestamp","timestampToISOString","Product","defaultPriceId","prices","unitLabel","imageUrls","features","superTitle","productLine","productType","productExpiry","metadata","unit_label","default_price","images","loadFeatures","x","feature","addPrice","price","getPriceForQuantity","checkPrice","Price","productId","unitPrice","frequency","product","transformQuantity","unitAmount","AccountStoreConstants","PricingAgreementType","AccountStore","billingAPI","accounts","contains","_data$nextToken2","_data$nextToken3","_data$nextToken4","getPricingAgreementType","pricingAgreementType","hasMasterServicesAgremement","hasExclusiveAgreement","APITypes","MasterServicesAndNonSolicitation","ExclusiveRecruitment","Standard","Exclusive","getCoupon","listProducts","products","getProducts","productData","attachPricesToProducts","listProductsByProductLineAndProductType","productsData","isProductLine","isProductType","getPrices","priceData","createInvoice","couponId","orderItemData","tokenId","orderItem","invoice","coupon","getCustomer","deleteSource","sourceId","listCharges","charges","getCharges","isPrimary","getSocioEconomicDesignationOptions","socioEconomicDesignations","agreementTypeToString","typeName","ConfidentialityAndNonDisclosure","ElectronicCommunication","FederalExperience","PrivacyPolicy","TermsOfUse","StaffingAgreement","ProfessionalServicesAgreement","CandidateViewModel","CandidateCard","searchParams","append","leftFields","rightFields","whiteSpace","UserCRMActionsPanel","renderUserInfoDialog","PhoneIcon","UserActivityCard","isEditing","handleSave","isUpdated","DoneIcon","NoteAdded","JobCandidate","JobInterest","JobPost","LaunchIcon","activity","createInput","boxClassName","note","activityDetails","activityDate","UserActivityList","loadUserActivity","subject","notesOnly","ne","onChangeActivity","tabs","tab","textTransform","Contract","issuedBy","perDiem","jobPosts","loadJobPosts","Answer","_data$required","_data$pass","pass","_data$unlocked","ranking","loadApplication","rawData","answerData","canApply","statusText","formattedDate","ServiceRequestStatus","ServiceRequest","serviceRequestType","completedDate","requestTypeToString","RecruitingServices","StaffingServices","ProfessionalServices","SelfService","_data$openings","contract","serviceRequest","summary","openDate","closedDate","employmentType","annualSalaryLow","annualSalaryHigh","openings","invoiceId","jobPostType","agentId","hiringDate","featured","questions","Direct","FullTime","loadJobCandidates","loadJobInterests","convertStatusIdToStatus","statusId","defaultUnlocksAvailable","Cart","Draft","Posted","Closed","convertStatusToStatusId","_this$title","_this$title2","salaryRange","hiringPeriod","isBefore","isoDateToPeriod","locationDescription","compareFn","jobPostTypeToString","QuestionType","Question","EducationQuestion","_data$education","CertificationQuestion","_data$certification","ExperienceQuestion","_data$minYears","_data$jobTitle","minYears","LocationQuestion","_data$location","SecurityClearanceQuestion","YesNoQuestion","_data$question","_data$label","question","_data$createdAt","_data$updatedAt","computeRanking","statusRanking","Unlocked","passIcon","fail","failIcon","infoIcon","AnswerChip","answer","PassIcon","colorPrimary","FailIcon","AnswerChipArray","answers","QuestionCard","setName","float","DeleteIcon","AnswerCard","textField","ExperienceQuestionCard","onAnswer","setQuestion","setAnswer","change","validateAnswer","parseInt","handleAnswer","Input","LocationQuestionCard","RadioGroup","Radio","CertificationQuestionCard","EducationQuestionCard","YesNoQuestionCard","ApplyPromo","onJoin","formTitle","constructionBanner","itBanner","banner","image","itemHeading","IndustrySelector","_this$props$industrie","_this$props$value","_this$props$industrie2","formGroup","fieldLabel","ApplyStep","ApplyPage","disableTextVerification","_message","_error","termsCheckbox","privacyCheckbox","addressLine1","addressCity","addressState","addressPostalCode","addressCountry","addressError","verificationCode","communicationCheckbox","renderAsDialog","step","Application","renderSignupForm","renderTermsOfUse","renderPrivacyPolicy","Verification","renderVerifyForm","handleSignUp","handleSelectLocation","handleChangeIndustries","submitButtonContainer","handleCancel","formGroupTerms","termsLabel","handleContinue","isContinued","scrollToTop","isSubmitted","handleVerify","verifyAttr","forceAliasCreation","forgotPasswordErr","handleTermsOfUse","handlePrivacyPolicy","handleBack","onResendEmailCode","onSendTextCode","congnitoUser","verify","_this$state$addressLi","_this$state$addressCo","onApply","profileLocationInput","renderAsPage","promoContent","xsDown","leftPanel","rightPanel","signUpContainer","formSubTitle","smUp","continueContainer","continueButton","stepContent","scrollTo","behavior","body2","alignSelf","stateSelectorField","zipCodeField","countryField","SecurityClearanceQuestionCard","SignupQuestion","JobInterestApplyDialog","isSignupQuestion","showQuestion","onChangeMessage","onPrev","showSummary","onNext","isGovGigApplyVisible","onGovGigApply","jobInterest","signupQuestion","duration","renderSummary","renderQuestion","renderActionButtons","renderMessage","boxSx","buttonStyle","iconButtonStyle","stepText","JobCandidateActions","stateMachine","createMachine","initial","states","on","INTERESTED","INVITE","APPLY","REVIEW","ACCEPT","REJECT","UNLOCK","CONTACT","HIRE","DECLINE","JobCandidateStatusFlow","onClickProfile","isApplyDialogOpen","setIsApplyDialogOpen","isContactDialogOpen","setIsContactDialogOpen","statusStep","setStatusStep","setMessage","currentState","send","useMachine","progressName","subscribe","unsubscribe","StatusStep","Initiate","Review","Decide","Contact","Done","updateStatus","JobCandidateStatusUpdated","unlockCandidate","unlockJobCandidate","isActionDisabled","nextEvents","finalStyle","renderStepNumber","bgColor","renderRateStep","isAccepted","isReviewing","isRejected","ButtonGroup","ThumbUp","ThumbUpOutlined","ThumbsUpDown","ThumbsUpDownOutlined","ThumbDown","ThumbDownOutlined","Phone","renderContactDialog","_jobCandidate$profile","renderApplyDialog","rawTheme","createTheme","hover","orange","h1","h2","h3","h4","h6","body1","shape","MuiMenuItem","MuiDialog","paperFullWidth","MuiDialogTitle","MuiDialogContent","MuiDialogActions","blueGrey","MuiPaper","elevation1","elevation2","MuiTableCell","borderBottom","MuiButton","MuiLink","notesFrame","notesList","textFrame","buttonFrame","noteMenu","alignContent","iconButton","sendButton","JobCandidateNotes","activityList","setActivityList","setText","editId","setEditId","editText","setEditText","deleteId","setDeleteId","deleteText","setDeleteText","scrollRef","loadActivity","scrollIntoView","block","inline","handleAddNote","ASC","onSave","newList","maxRows","disableUnderline","menu","renderNote","onKeyPress","ml","SendIcon","activityFrame","JobCandidateActivity","renderActivity","JobCandidateCard","renderJobCandidate","renderAnswerChips","m","activeTab","handleTabClick","tabLabel","onUpdate","renderActivty","chips","color1","color2","color3","JobPostTypeChip","combinedClassNames","JobPostMiniCard","_user","_jobPost$account","_jobPost$contract","statusDate","hiringClassname","hiringImmediately","hiringDefault","property","propIcon","FolderOpenIcon","JobCandidateList","renderFindTalentButton","onClickFindTalent","isDisabled","isJobPostUnpublished","renderFindJobs","onClickFindJobs","renderManageJobs","onClickManageJobs","sorted","handleUpdateJobCandidate","checkJobCandidate","_jobCandidate$jobPost","handleDeleteJobCandidate","_this$props$jobPost","renderJobCandidatesForJobPost","renderJobCandidatesForProfile","onClickJobCandidate","showInColumns","NoteActivityPanel","renderNoteDialog","onAddNote","NoteIcon","JobPickerDialog","contracts","JobCandidateInviteDialog","JobCandidateStatusFlowCard","onCreateJobCandidate","inviteDialogOpen","setInviteDialogOpen","applyDialogOpen","setApplyDialogOpen","jobPickerDialogOpen","setJobPickerDialogOpen","onClickInvite","onClickApply","createJobCandidateIfNeeded","foundJobPost","foundJobCandidate","findJobCandidateForJobPost","newJobCandidate","candidate","JobCandidateAdded","renderInviteButton","renderApplyButton","isSaved","StarIcon","StarBorderIcon","renderPreJobCandidateButtons","isUnpublished","renderJobPickerDialog","jobPostIds","renderJobInviteDialog","renderJobApplyDialog","ManageCandidatePage","_this$profile","_this$profile2","tabNames","tabName","tabValue","Tabs","indicatorColor","Tab","notesUpdateAt","profId","CandidateList","onSearch","onChangeCandidate","listProfilesByLocationRadius","searchEmail","or","onClickCandidate","numFound","statusFilter","AccountCard","urlRemoveProtocol","L","urlRemoveEndSlash","onNameClick","AccountSettingsViewModel","accountName","AccountSettingsDialog","onCreateAccount","onUpdateAccount","onAccountUpdate","updatedAccount","urlEnsureProtocolFormat","newAccount","AccountCreated","isSelf","wrapper","formGroupSpacingSmUp","PageHeadingPanel","PageTabsPanel","PageTabPanel","PageTitle","LoadingPanel","AgreementDialog","_agreement$agreementK","onUpdateAgreement","onCreateAgreement","onDeleteAgreement","setAgreementType","setAgreement","AgreementsList","setAgreements","agreementInfo","setAgreementInfo","isAgreementDialogOpen","setIsAgreementDialogOpen","setAgreementId","renderAgreementDialog","foundIndex","checkAgreement","updatedAgreement","agreementsCopy","assign","createdAgreement","deletedAgreement","handleClickAgreement","renderAgreementCard","OpenInNew","updatedDate","PostAdd","createdDate","msaExclusive","msa","nda","renderAgreement","AccountFilter","onSelectAccount","accountFilter","_this$accountFilter","PeopleCard","_user$email","PhoneChangeDialog","newPhone","phone_number","oldPhone","UserSettingsViewModel","UserSettingsDialog","isUpdating","isCreating","handleEmailChange","openDialog","handlePhoneChange","handleIndustriesChange","handleDialogClose","createUserInput","updateRole","onCreate","prevUser","onChangeAccount","onResendInvite","_profile$industries","isEqual","registerUrl","addressFieldsRequired","statuses","fieldButton","CopyToClipboard","onCopy","PeopleList","visibleFilters","roleFilter","onSelectRole","onSelectStatus","searchTip","handleCreate","updatedUserIndex","loadAccounts","statusToString","_window$location","defaultAccountFilterName","AccountChargeCard","onView","charge","_charge$description","titleButtons","loadCharges","TabNames","AccountPage","Agreements","People","Billing","accountSettingsOpen","renderSettings","tabIndexMatch","selectedTabIndex","checkTabName","loadAccount","prevTab","rel","hideOverflow","_this$account","ListAlt","scrollButtons","EmployerList","onAddAccount","renderAccountLargeDrawer","accountsUnfiltered","sortAccounts","filterAccounts","filteredAccounts","searchText","isAccountFormOpen","onCloseAccountForm","createdAccount","checkAccount","AdminPage","hiddenTab","CacheStore","expireSecs","resolver","_expireSecs","_resolver","_cache","put","getExpires","cacheItem","isExpired","removeAll","removeExpired","ProfileStore","profileCache","locationProfilesCache","findProfilesByService","_options$industry","_await$get","workSetting","findProfilesByServiceAndLocation","radius","locationProfiles","listLocationProfilesByState","bounds","LngLat","toBounds","listLocationProfilesByBounds","getLocationsInBounds","cache","LocationProfiles","_profiles$i","lnglat","getLocationsInState","_profiles$i2","listLocationProfilesByCountry","getLocationsInCountry","_profiles$i3","listLocationProfilesByService","locationProfile","stateName","listProfilesByServiceAndLocation","foundProfile","foundProfileLocations","degreeOptionData","ProfilesCacheStore","LocationProfilesCacheStore","contentType","download","certId","parseResume","resumeBinary","API_URL","formData","FormData","Body","fetch","method","json","identifier","fetching","parsedResume","startTime","tries","elaspedMs","_resume$education","_resume$workExperienc","resume","updatePromises","eRaw","organization","accreditation","dates","parseEndDate","completionDate","workExperience","expRaw","_expRaw$dates","_expRaw$dates2","_expRaw$dates3","_expRaw$dates4","parseText","formatted","getMonth","getDate","endOfYear","clearAbout","clearEducation","clearExperience","clearCertifications","_ref3","clearProfileLocations","_ref4","clearProfileServices","_ref5","clearProfileStorage","removeKey","filtered","ProfileSearchCard","availabilityClassName","savedIcon","CardActionArea","saved","bold","WorkOutlineIcon","VerifiedUserIcon","DateRangeIcon","CandidateMap","mapRef","renderMarkers","markers","marker","selectedLocationId","Marker","offsetLeft","offsetTop","markerTop","onClickLocation","BluePinHighlighted","markerLabel","BluePin","markerLabelSm","onViewportChange","viewport","getMap","getBounds","evt","stopPropagation","ReactMapGL","transformRequest","mapStyle","mapName","NavigationControl","showCompass","zIndex","JobPostFilter","onSelectJobPost","jobPostFilter","_this$jobPostFilter","_option$service$name","_option$service","listContainer","virtualList","Column","SecurityClearanceFilter","onSelectSecurityClearance","securityClearanceFilter","_this$securityClearan","View","CandidatesPage","_descriptor24","_descriptor25","onSelectMap","filterButton","isCardspaceOn","MapIcon","isMapOn","ListIcon","showAccountFilter","showJobPostFilter","jobPostOptions","showServiceFilter","showSecurityClearanceFilter","showCertificationFilter","renderProfile","jc","loadJobPostOptions","searchProfiles","updateViewport","refreshMap","updateView","onAddJobPost","isWidthSM","showResults","stateSearch","countrySearch","anywhereSearch","remoteSearch","World","isWidthXS","zoom","view","profileMap","lp","isProfileSaved","findJobPostOptions","findAccount","initFilters","initView","cardspaceClassName","cardspaceEmbed","mapClassName","mapEmbed","mapHeight","LngLatBounds","availableFilter","ContractViewModel","ContractForm","handleChangeContractFormField","handleDeleteContract","didDelete","contractViewModel","ContractDeleted","JobPostDeleted","handleCloseContractForm","didClose","onSubmitContractForm","editContract","_viewModel$number","_viewModel$locationId","_viewModel$value","_viewModel$category","didEdit","_viewModel$number2","_viewModel$locationId2","_viewModel$value2","_viewModel$category2","ContractAdded","didCreate","_viewModel$account","startAdornment","ActionButton","expanded","showFowardArrow","endIcon","ArrowForwardIosIcon","altText","mainText","mainButton","altButton","ContractsList","renderFilterControlsArea","handleAddContract","loadContracts","renderContractsList","array","renderContract","_contract$location","handleEditContract","_user2","_user3","_user4","isContractFormOpen","_user5","checkContract","ContractsPage","JobPostDescriptionViewModel","_jobPost$description","JobPostDescriptionForm","handleCancelJobPostDescriptionForm","didCancel","handleCloseJobPostDescriptionForm","onEditorChange","editor","handleChangeJobPostDescriptionFormField","onSubmitJobPostDescriptionForm","saveJobPost","renderFormContent","editorKey","Editor","plugins","menubar","toolbar","skin","keep_styles","valid_elements","style_formats","initialValue","renderAsForm","JobPostQuestionsViewModel","getDefaultQuestions","_jobPost$service$name","_jobPost$service","JobPostQuestionsForm","handleQuestionChange","q","handleCancelJobPostQuestionsForm","handleCloseJobPostQuestionsForm","handleAddQuestion","generateUniqueName","lastQuestion","exec","newName","lastNum","handleDeleteQuestion","handleChangeJobPostQuestionsFormField","onSubmitJobPostQuestionsForm","renderQuestions","cards","WorkSettingSelector","_this$props$value2","JobPostViewModel","_jobPost$industries","_jobPost$unlocksAvail","_jobPost$questions","_jobPost$workSettings","_descriptor26","_descriptor27","_descriptor28","_descriptor29","_descriptor30","_descriptor31","_descriptor32","industryOptions","JobPostFormCloseReason","JobPostForm","_descriptor33","_descriptor34","_descriptor35","_descriptor36","_descriptor37","_descriptor38","_descriptor39","_descriptor40","_descriptor41","_descriptor42","_descriptor43","employmentTypes","PartTime","Temporary","Internship","handleCloseJobPostForm","handleCopy","handleChangeJobPostFormField","_industryOptions","handleChangeWorkSettings","getLocationOptionForWorkSettings","handleChangeAccountSelection","handleChangeContractSelection","handleSelectService","_viewModel$account2","handleDeleteJobPost","DeleteJobPost","onSubmitJobPostForm","editJobPost","SaveJobPost","_viewModel$industries","JobPostCreated","getJobPostFromViewModel","_this$viewModel$workS","_this$viewModel$indus","_viewModel$account3","_viewModel$contract","_viewModel$securityCl","_viewModel$serviceOpt","_viewModel$serviceGro","_viewModel$employment","showJobCategory","showContractForm","_viewModel$account4","shaded","placeFilter","renderOptionalButtons","showJobPostDescriptionDialog","showJobPostQuestionsDialog","_this$viewModel","CancelDialog","copyIcon","placement","FileCopyIcon","density","CancelForm","JobPostDescriptionCard","renderHeading","hideButtons","renderBody","truncate","editMessage","jobDescriptionHTML","element","firstElementChild","wordsToShow","parseHTML","JobPostButtons","loadJobPostEditable","candidateButtons","shareButtons","applyButton","MailOutlineIcon","publicJobLink","slugify","LinkIcon","borderRight","candidateButton","shareButton","buttonGroupLabel","JobPostInfo","JobPostHero","JobPostPage","shouldShow","isJobPostFormOpen","isJobPostDescriptionFormOpen","onUpdateJobPost","isJobInterestApplyDialogOpen","onApplySubmit","onApplyClose","loadJobPost","JobPostViewed","JobCandidateApplied","visibility","JobBoardSearchCard","statusIcon","RateReviewOutlined","postDate","JobMap","locationJobPosts","renderLogo","_jobPost$account2","GovGigLogo","renderDetails","_jobPost$account3","JobsPage","defaultSearchRadius","renderMap","renderCardspace","renderJobPost","showMap","JobPostSearchCard","onClickJobPost","noResults","renderNoResults","renderJobBoard","jobBoard","viewButton","RoomIcon","onSelectJobBoard","onSelectMyJobs","myJobsOn","searchJobBoard","restoreMap","_await$getJobPost","searchJobs","isJobBoardOn","listLocationJobPostsByState","listLocationJobPostsByCountry","listLocationJobPostsAnywhere","listLocationJobPostsByBounds","getJobInterestByJobPostId","matchSorter","baseSort","threshold","rankings","NO_MATCH","findJobPosts","j","fullJobPost","JoinPage","imageForJobSeeker","constructionCandidateImage","itCandidateImage","candidateImage","imageForEmployer","constructionEmployerImage","itEmployerImage","employerImage","academySignupRoute","academyImage","PrivacyPolicyUS","backLink","referrer","endsWith","Logo","table","td","privacyCCPA","borderSpacing","borderCollapse","PrivacyPolicyCCPA","PrivacyPolicyPage","handleScroll","ceil","innerHeight","scrollY","documentElement","scrollHeight","parent","postMessage","addEventListener","componentWillUnmount","removeEventListener","TermsOfUseUS","TermsOfUsePage","MasterServiceAgreement20230814","acceptedBy","acceptedOn","textIndent","CheckBoxIcon","MasterServiceAgreement20230824","MasterServiceAgreement20231012","MasterServiceAgreement","updatedOn","MasterServiceAgreementPage","_searchParams$get","JobPostStatusSelector","statusName","JobPostStatusUpdated","simpleSelect","JobPostPublish","onClickPublish","showPublishButton","setShowPublishButton","handlePublish","ManageJobPage","jobPostButtons","isJobPostPublishDialogOpen","isFindTalentOpen","renderFindTalent","_this$jobPost","populateJobPost","loadSelectedTab","populateJobPosts","JobCandidateAvatar","ContractFilter","onSelectContract","contractFilter","_this$contractFilter","JobPostTypeFilter","onSelectJobPostType","jobPostTypeFilter","_this$jobPostTypeFilt","jobPostTypes","ManageJobsStates","ManageJobsActions","LOADED","idle","ADD_JOB_POST","addJobPost","VIEW_JOB_POST_LARGE_DRAWER","viewJobPostLargeDrawer","PUBLISH_JOB_POST","publishJobPost","EDIT_JOB_POST","CLOSE","MANAGE_CANDIDATE","ManageJobsPage","stateService","interpret","onTransition","handleAddJobPost","jobPostCartCount","infoString","ShoppingCartIcon","jobPostsFiltered","filterJobPosts","populateColumns","loadJobPostCartCount","renderKanbanBoard","renderJobPostCard","handleUpdateJobPostStatus","showJobPostPublishButton","AvatarGroup","getJobCandidateAvatar","handleUpdateJobPost","renderJobPostForm","checkJobPost","jobPostIndex","renderJobPostLargeDrawer","renderFindTalentDrawer","_this$jobPost2","viewJobPostDrawer","renderManageCandidateDrawer","jobCandidateIndex","loadColumns","getJobPostStatusOptions","job","_job$jobCandidates","getOption","inCart","toJS","currentPost","indexFiltered","stop","initialState","UserSettings","userSettingsOpen","labelStyle","SettingsPage","AccountPendingPage","backgroundImage","flag","marginRow","SignupPromo","SignupStep","SignupPage","msaCheckbox","accountPhone","accountWebUrl","handleAtBottom","atBottom","printFrame","frame","contentWindow","focus","print","_result","completedAgreementTypes","handleMasterServiceAgreement","ConfidentialityAgreement","handleSkipMasterServiceAgreement","handleConfidentialityAgreement","completeSignup","handleSkipConfidentialityAgreement","createDefaultJobGroup","accountValue","createAccountInput","renderMasterServiceAgreement","renderConfidentialityAgreement","termsOfUseText","resendContent","verifyText","attrControlLabel","attrCheckbox","StyleDialog","onEvent","dialogPaper","dialogTitle","StyleCard","onClickCard","CardHeader","StyleGuide","showStyleDialog","isStyleDialogOpen","onCloseStyleDialog","RegisterPage","renderForms","renderWarning","UserRegistered","validInfo","PricingToggle","selectedPrice","setSelectedPrice","handleSelectPrice","newPriceId","ToggleButtonGroup","exclusive","ToggleButton","titleBox0","titleBox1","PricingCard","Check","PricingList","onSelectProduct","selectedProduct","setSelectedProduct","selfService","CheckIcon","JobPostSelectProductOptions","onContinue","setProducts","loadProducts","TwoPanelSectionContainer","isMedium","borderLeft","SectionBackgroundColors","Section","ImageGroup","imageSrc","imageTitle","alignment","TitleGroup","subtitle","titleVariant","primaryRoute","primaryRouteTarget","secondaryRoute","_primaryRoute$pathnam","_secondaryRoute$pathn","TitleSection","titleAlignment","IndustryCard","IndustryList","GovGigIndustryList","HardwareIcon","ComputerIcon","EmployerHowGovGigWorksSection","PostJobs","InviteCandidate","ReviewCandidatesAndHire","BulletItem","_props$route$pathname","CheckCircle","Cancel","BulletsCard","bulletPoints","bulletPoint","EmployerOptionsSection","Testimonials","IframeResizer","EmployerTestimonialsSection","QandA","EmployerFAQ","ExplainerStepsList","renderStep","avatarClasses","avatarIcon","steps","PlayArrowIcon","arrow","customColorClass","darkGrey","avatarColor","green","EmployerProcessSection","HowToReg","AssignmentInd","EmployerContactUsSection","CreateJobPostStates","CreateJobPostActions","ADD_JOB_POST_INFO","jobPostInfo","NEEDS_LOGIN_OR_SIGNUP","logInOrSignUp","SELECT_PRICE","priceSelect","SAVE_JOB_POST_INFO","jobPostDescription","SAVE_JOB_POST_DESCRIPTION","jobPostQuestions","SKIP_JOB_POST_DESCRIPTION","SAVE_JOB_POST_QUESTIONS","SKIP_JOB_POST_QUESTIONS","promo","JobPostCreatePage","setIsAuthVisible","setJobPost","useLocation","_account","renderJobPostPreview","MapCandidates","renderProductOptions","currencyToDecimals","_cc$code","decimals","cc","digits","percentToMultiplier","percent","Big","div","Money","_data$decimals","_data","merge","getTags","tags","getTag","tagName","_this$_data$tags$tagN","_this$_data$tags","setTag","assertTag","cmp","actual","actualValue","assertSameCurrency","money","toFractionlessAmount","multiply","toNumber","num","toFixed","getDecimals","maximumFractionDigits","toJSON","_this$_data$decimals","setDecimals","resetDecimals","toCurrency","currencyRate","currencyUnit","mul","roundingMode","factor","divide","divisor","plus","subtract","minus","abs","equals","greaterThan","gt","greaterThanOrEqual","gte","lessThan","lt","lessThanOrEqual","lte","isZero","isPositive","isNegative","distribute","nParts","distributeBy","fill","inputWeights","weights","w","some","totalWeight","weight","sum","smallestUnit","addVat","vatPercentage","removeVat","getVat","includesVat","isPrice","isVat","freeze","of","fromLocaleString","_parts$find$value","_parts$find","decimalSign","formatToParts","escapeRegex","fromFractionlessAmount","fromPrice","fromPriceAndQuantity","moneys","_currency2","min","compare","money1","money2","StripeElementProvider","StripeProvider","Elements","StripeOrderItems","orderItems","renderView","editRoute","TableContainer","Table","TableHead","TableRow","TableCell","TableBody","baseUnitPrice","scope","amountDue","LineItem","StripeOrderSummary","subtotal","couponDiscountAmount","StripePaymentForm","useSource","isPaying","createToken","token","onPayment","renderCreditCardForm","fieldSet","CardNumberElement","paymentField","CardExpiryElement","CardCVCElement","renderNoAmountDue","borderBottomWidth","borderBottomStyle","borderBottomColor","fieldCheckbox","buttonSet","injectStripe","StripePaymentCart","didCreateInvoice","didDeleteItem","setAmountDue","setSubtotal","setCoupon","couponCode","setCouponCode","setCouponDiscountAmount","loadSummary","checkIsReadyForPayment","isReady","runningTotal","amountOff","percentOff","discount","discountPercentage","onSubmitCouponCode","max_redemptions","times_redeemed","redeem_by","onChangeCouponCode","invoiceResult","InvoiceCreated","renderCouponForm","JobPostPaymentCartPage","setAccountFilter","setAccountId","setAccounts","setContractFilter","setContracts","setJobPosts","isPaid","setIsPaid","loadAccountId","searchAccountId","accountA","accountB","handleDeleteItem","handleInvoice","createServiceRequestInput","createdServiceRequest","updateJobPostToPaid","updatedJobPosts","renderOrderItems","_price","_price2","checkProduct","productForJobPostType","priceForJobPost","selfServiceJobPosts","renderFilterArea","_userStore$user","ConfidentialityAgreement20230814","ConfidentialityAgreementPage","DashboardPanel","showNavButton","handleNavButton","ArrowForwardIos","thumbnail","AvailableServices","actionButtonTitle","Note","CardMedia","FindTalentMapImage","CardActions","ServiceRequestTypeChip","ServiceRequestJobList","onClickEditJobPost","ServiceRequestStatusSelector","onUpdateServiceRequest","serviceRequestStatus","setServiceRequestStatus","setInputValue","setIsEditing","newValue","newInputValue","updatedServiceRequest","ManageServiceRequestPage","dataGrid","compact","setServiceRequests","setServiceRequest","hasReachedLimit","_result$nextToken","_result2","fetchServiceRequests","renderServiceRequestType","DataGrid","autoPageSize","pagination","makeRows","serviceRequestTypeString","_serviceRequest$accou","makeColumns","headerName","renderCell","valueGetter","onRowClick","NoRowsOverlay","GridOverlay","LoadingOverlay","serviceRequestsCopy","checkServiceRequest","TableRowStyled","styled","tableContainer","headTableCell","tableBody","SimpleTable","head","onClickRow","cells","cell","JobPostsList","setJobCandidate","todaysISODate","le","attributeExists","ge","renderTable","dataColumns","_serviceRequest$name","_serviceRequest$name2","jobPostsCopy","jobPostCopy","DashboardPage","setUser","ServiceRequestsPage","DialogPanel","listStyleType","SelectionCard","titleColor","titleBackgroundColor","buttonTitle","onButtonClick","onLearnMoreClick","DialogPanelInstructions","instruction","DialogPanelButtons","buttonDisabled","backButtonTitle","onClickNext","onClickBack","onClickSkip","SimpleForm","buttonArea","ContractField","setContract","setShowContractForm","contractsCopy","RequestMeetingButton","requestMeeting","RequestMeetingSection","ServiceRequestJobForm","onCreateJobPost","setIndustryOptions","setIndustryFilter","setServiceOption","setLocationOption","setWorkSettings","setIndustries","setEmploymentType","setAnnualSalaryLow","setAnnualSalaryHigh","setHiringPeriod","setStartDate","setEndDate","setSummary","createdJobPost","anywhereLocationOption","SectionPanel","ServiceRequestJobsListForm","onClickAddJob","onEditJobPost","ServiceRequestPricing","setPricingAgreementType","ndaRoute","renderPricingAgreement","exclusiveRoute","msaRoute","ServiceRequestPricingForm","onSelectPricingAgreement","isAgreementInPlace","setIsAgreementInPlace","handleSelectPricingAgreementType","agreementTypeForPricingAgreementType","hasAgreement","ServiceRequestCard","Schedule","LocationOn","DialogAgreementPanel","checkboxId","agreementTitle","agreementRoute","setIsChecked","setAtBottom","ServiceRequestAccountForm","selectedAccount","setSelectedAccount","RequestStep","ServiceRequestCreatePage","progressPercentage","setProgressPercentage","setStep","setServiceRequestType","setJobPostId","setAccount","updateProgressPercentage","numerator","denominator","SelectAccount","SelectType","handleNextAgreementStep","hasConfidentialityAgreement","Summary","ConfidentialityAgreementSign","MasterServicesAgreementSign","ExclusiveMasterServicesAgreementSign","PricingSelect","serviceRequestReference","serviceRequestInput","JobSummary","EnterJob","copy","copyJobPosts","Finished","AgreementPage","ExclusiveMasterServiceAgreement20231012","ExclusiveMasterServiceAgreementPage","ExclusiveMasterServiceAgreement","OpportunityMap","splitLocationIdDigit","locationOpportunityPosts","opportunityPosts","TitleFilter","titleFilter","onSearchTitleOpportunity","_this$titleFilter","typeOptions","TypeFilter","onSelectOpportunityType","typeFilter","onSelectTypeOpportunity","_this$typeFilter","_option$label","AgencyFilter","onSelectAgency","agencyFilter","Agencys","_this$agencyFilter","_option$agency_displa","NaicsFilter","onSelectNaics","naicsFilter","_this$naicsFilter","SetAsideTypeFilter","setAsideTypeFilter","onSelectSetAsideTypeOpportunity","_this$setAsideTypeFil","bodyTableCell","DataTable","onClickOpportunityPost","handleChangePage","page","rowsPerPage","_row$agency","agency","naicsCode","postedDate","TablePagination","rowsPerPageOptions","onPageChange","OpportunityPostSearchCard","mockData","newPage","handleChangeRowsPerPage","OpportunitiesFoundDetails","showSetAsideType","showAddress","zip","_info$placeOfPerforma","_info$placeOfPerforma2","_info$placeOfPerforma3","_info$placeOfPerforma4","_info$placeOfPerforma5","_info$placeOfPerforma6","_info$placeOfPerforma7","placeOfPerformance","_info$officeAddress","_info$officeAddress2","_info$officeAddress3","_info$officeAddress4","officeAddress","countryCode","zipcode","handleOpenModal","openModal","handleCloseModal","extractFileId","_mockData$agency","_mockData$naics","_mockData$naics2","_mockData$psc","_mockData$psc2","_mockData$award","_mockData$resourceLin","boder_0","paddingLeft_40","naics","psc","typeOfSetAside","responseDeadLine","award","uiLink","resourceLinks","verticalAlign","WebkitLineClamp","WebkitBoxOrient","OpportunitysPage","nextApiCallLoader","selectOpportunityPost","OpportunitiesInfo","filterbarMain","opportunityTitleFilter","opportunityTypeFilter","searchOpportunityBoard","opportunityStore","addressInfo","getAddress","searchOpportunities","setAsideType","location_type","location_value","set_aside_type","location_id","nextPage","listLocationOpportunityPostsByState","listLocationOpportunityPostsByCountry","listLocationOpportunityPostsAnywhere","listLocationOpportunityPostsByBounds","nextApiCall","_this$locationFilter2","markerShowLists","getLocationId","filteredTitle","_item$location","_item$location2","agencyInfo","opportunityPost","agencyCode","naicsInfo","pscCategoryInfo","classificationCode","querySelector","opportunityBoard","Amplify","aws_exports","App","startup","MuiThemeProvider","CssBaseline","Router","FindTalentPage","FindOpportunityPage","FindJobsPage","styleGuide","Alert","Confirm","onConfirm","confirmed","Notify","interval","onClickReload","reload","checkForNewBuild","axios","currentBuild","newBuild","Progress","LocationAPI","currentCredentials","expiration","timeLeft","differenceInMilliseconds","awsconfig","aws_project_region","resourceType","_url","_url2","Signer","signUrl","access_key","accessKeyId","secret_key","secretAccessKey","session_token","sessionToken","geoHashBoundsCalculate","geohashes","north","getNorth","east","getEast","south","getSouth","west","getWest","center","getCenter","geohash","hashBounds","geoHashBounds","sw","westHash","geoHashAdjacent","nwHash","swHash","eastHash","neHash","seHash","northHash","southHash","encode","geoHashDecode","adjacent","geoHashNeighbours","neighbours","JobStore","jobPostStatusOptions","jobPostsCache","attachLocationAndServiceDataToContract","attachLocationAndServiceDataToJobPost","newNextToken","attachLocationAndServiceDataToServiceRequest","listJobPostsByState","listJobPostsByCountry","listJobPostsByLocationRadius","locJobPosts","locationJobPost","LocationJobPosts","deleteJobPostHelper","jobCandidatePromises","jobInterestPromises","userActivityPromises","jobCandidateInput","JobPostCacheStore","OpportunityLocation","Interpolated","OpportunityPost","archiveDate","fullParentPathCode","noticeId","OpportunityStore","opportunityCache","opportunityLists","locationInfo","locationid","_getlocationInfo$loca","_getlocationInfo$loca2","getlocationInfo","apiResponse","_filter","_filter2","_filter3","_filter4","_filter5","filteredType","filteredAgency","filteredNaics","filteredAsideType","locationOpportunity","LocationOpportunityPosts","listOpportunities","getLists","getOpportunities","_getLists$data","_getLists$data$LastEv","_getLists$data2","_getLists$data2$LastE","_getLists$data3","_getLists$data3$LastE","LastEvaluatedKey","_item$fullParentPathC","addressLatLng","_this$locationAPI","attachLocationAndServiceDataToOpportunity","OpportunityCacheStore","BillingAPI","getPlans","getCoupons","getStripeErrorMessage","del","decline_code","AuthAPI","fetchData","OpportunitiesAPI","queryString","encodeURI","callFunction","enforceActions","ReactDOM","StrictMode","getElementById","navigator","serviceWorker","ready","registration","unregister"],"mappings":"mqCAEA,MAAMA,EAAe,eA+CNC,MA7Cf,MAEE,oBAAMC,CAAeC,EAAkBC,GACrC,IACIC,EAAO,CACTC,KAAM,CACJ,SAAaH,EACb,UAAaC,GAEfG,QAAS,CACP,eAAiB,mBACjBC,cAAc,GAADC,cAAYC,IAAKC,kBAAkBC,iBAAiBC,iBAGrE,aAAaC,IAAIC,KAAKf,EAXX,kBAW+BK,EAC5C,CAEA,yBAAMW,CAAoBb,EAAkBC,GAC1C,IACIC,EAAO,CACTC,KAAM,CACJ,SAAaH,EACb,UAAaC,GAEfG,QAAS,CACP,eAAiB,mBACjBC,cAAc,GAADC,cAAYC,IAAKC,kBAAkBC,iBAAiBC,iBAGrE,aAAaC,IAAIC,KAAKf,EAXX,uBAW+BK,EAC5C,CAEA,aAAMY,CAAQd,GACZ,IAAIe,EAAI,qBAAAT,OAAwBN,GAC5BE,EAAO,CACTE,QAAS,CACP,eAAiB,mBACjBC,cAAc,GAADC,cAAYC,IAAKC,kBAAkBC,iBAAiBC,iBAGrE,aAAaC,IAAIK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IAAIilC,GACnB/kC,WAAY,IAAIglC,GAChBhxB,cAAa,GACbplB,aAAY,GACZqb,SAAQ,GACRtb,UAAS,GACTynG,iBAAgB,GAChB3sF,aAAY,GACZ4O,mBAAoB,IAAIjqD,EACxBs4B,aACAC,YACAC,YAAW,GACXsoC,QACF,IAEM3iD,GAAa/a,IAAOrD,IAAI,qBAC1Boe,IAA6B,KAAfA,IAAoC,SAAfA,IACrCgK,GAASC,WAAWjK,GAAY/a,IAAOrD,IAAI,mBAG7C+yI,IAAStzH,OACPmB,eAACpB,IAAMwzH,WAAU,CAAA3yH,SACfO,eAACyC,IAAQ,IAAKF,GAAS9C,SACrBO,eAACopH,GAAG,QAGR/0G,SAASg+G,eAAe,SVyBpB,kBAAmBC,WACrBA,UAAUC,cAAcC,MACrB/5G,MAAKg6G,IACJA,EAAaC,YAAY,IAE1Bh5H,OAAMnU,IACLV,QAAQU,MAAMA,EAAMjD,QAAQ,G","file":"static/js/main.4813c8a8.chunk.js","sourcesContent":["import { API, Auth } from \"aws-amplify\";\n\nconst AdminAPIName = 'AdminQueries'\n\nclass AdminAPI {\n\n async addUserToGroup(userName: string, groupName: string) {\n let path = '/addUserToGroup';\n let init = {\n body: {\n \"username\" : userName,\n \"groupname\": groupName\n },\n headers: {\n 'Content-Type' : 'application/json',\n Authorization: `${(await Auth.currentSession()).getAccessToken().getJwtToken()}`\n }\n }\n return await API.post(AdminAPIName, path, init);\n }\n\n async removeUserFromGroup(userName: string, groupName: string) {\n let path = '/removeUserFromGroup';\n let init = {\n body: {\n \"username\" : userName,\n \"groupname\": groupName\n },\n headers: {\n 'Content-Type' : 'application/json',\n Authorization: `${(await Auth.currentSession()).getAccessToken().getJwtToken()}`\n }\n }\n return await API.post(AdminAPIName, path, init);\n }\n\n async getUser(userName: string) {\n let path = `/getUser?username=${userName}`;\n let init = {\n headers: {\n 'Content-Type' : 'application/json',\n Authorization: `${(await Auth.currentSession()).getAccessToken().getJwtToken()}`\n }\n }\n return await API.get(AdminAPIName, path, init);\n }\n\n}\n\nexport default AdminAPI\n","import { API } from \"aws-amplify\";\n\nconst DocumentServiceAPIName = 'DocumentService'\n\nclass DocumentServiceAPI {\n\n private async headers(overrides: any = {}) {\n return {\n 'Content-Type' : 'application/json',\n ...overrides\n }\n }\n\n async convertDocToPDF(\n docKey: string,\n newPDFKey?: string, level: 'public' | 'protected' | 'private' = 'public'\n ): Promise<{ key: string, url: string }> {\n if (!newPDFKey) {\n newPDFKey = String(docKey).substring(String(docKey).lastIndexOf('.') + 1).concat('.pdf')\n }\n return await API.post(\n DocumentServiceAPIName,\n '/v1/convert-to-pdf', {\n headers: await this.headers(),\n body: { docKey, newPDFKey, level },\n });\n }\n}\n\nexport default DocumentServiceAPI\n","/* tslint:disable */\n/* eslint-disable */\n// This file was automatically generated and should not be edited.\n\nexport type CreateAccountInput = {\n id?: string | null,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n};\n\nexport enum AccountStatus {\n Inactive = \"Inactive\",\n Pending = \"Pending\",\n Active = \"Active\",\n Approved = \"Approved\",\n Suspended = \"Suspended\",\n Closed = \"Closed\",\n}\n\n\nexport enum AccountType {\n Individual = \"Individual\",\n Agency = \"Agency\",\n}\n\n\nexport enum AccountSize {\n Small = \"Small\",\n Medium = \"Medium\",\n Large = \"Large\",\n}\n\n\nexport type ModelAccountConditionInput = {\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n ownerId?: ModelIDInput | null,\n name?: ModelStringInput | null,\n address?: ModelStringInput | null,\n city?: ModelStringInput | null,\n state?: ModelStringInput | null,\n postalCode?: ModelStringInput | null,\n country?: ModelStringInput | null,\n active?: ModelBooleanInput | null,\n dunsNumber?: ModelStringInput | null,\n cageCode?: ModelStringInput | null,\n naicsCode?: ModelStringInput | null,\n sicCode?: ModelStringInput | null,\n socioEconomicDesignation?: ModelStringInput | null,\n fein?: ModelStringInput | null,\n accountStatus?: ModelAccountStatusInput | null,\n phone?: ModelStringInput | null,\n webUrl?: ModelStringInput | null,\n accountType?: ModelAccountTypeInput | null,\n accountSize?: ModelAccountSizeInput | null,\n customerId?: ModelStringInput | null,\n industries?: ModelStringInput | null,\n and?: Array< ModelAccountConditionInput | null > | null,\n or?: Array< ModelAccountConditionInput | null > | null,\n not?: ModelAccountConditionInput | null,\n};\n\nexport type ModelStringInput = {\n ne?: string | null,\n eq?: string | null,\n le?: string | null,\n lt?: string | null,\n ge?: string | null,\n gt?: string | null,\n contains?: string | null,\n notContains?: string | null,\n between?: Array< string | null > | null,\n beginsWith?: string | null,\n attributeExists?: boolean | null,\n attributeType?: ModelAttributeTypes | null,\n size?: ModelSizeInput | null,\n};\n\nexport enum ModelAttributeTypes {\n binary = \"binary\",\n binarySet = \"binarySet\",\n bool = \"bool\",\n list = \"list\",\n map = \"map\",\n number = \"number\",\n numberSet = \"numberSet\",\n string = \"string\",\n stringSet = \"stringSet\",\n _null = \"_null\",\n}\n\n\nexport type ModelSizeInput = {\n ne?: number | null,\n eq?: number | null,\n le?: number | null,\n lt?: number | null,\n ge?: number | null,\n gt?: number | null,\n between?: Array< number | null > | null,\n};\n\nexport type ModelIDInput = {\n ne?: string | null,\n eq?: string | null,\n le?: string | null,\n lt?: string | null,\n ge?: string | null,\n gt?: string | null,\n contains?: string | null,\n notContains?: string | null,\n between?: Array< string | null > | null,\n beginsWith?: string | null,\n attributeExists?: boolean | null,\n attributeType?: ModelAttributeTypes | null,\n size?: ModelSizeInput | null,\n};\n\nexport type ModelBooleanInput = {\n ne?: boolean | null,\n eq?: boolean | null,\n attributeExists?: boolean | null,\n attributeType?: ModelAttributeTypes | null,\n};\n\nexport type ModelAccountStatusInput = {\n eq?: AccountStatus | null,\n ne?: AccountStatus | null,\n};\n\nexport type ModelAccountTypeInput = {\n eq?: AccountType | null,\n ne?: AccountType | null,\n};\n\nexport type ModelAccountSizeInput = {\n eq?: AccountSize | null,\n ne?: AccountSize | null,\n};\n\nexport type Account = {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: ModelUserConnection | null,\n contracts?: ModelContractConnection | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: ModelClassConnection | null,\n activity?: ModelActivityConnection | null,\n};\n\nexport type ModelUserConnection = {\n __typename: \"ModelUserConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type User = {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n account?: Account | null,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n profiles?: ModelProfileConnection | null,\n agreements?: ModelAgreementConnection | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n registrations?: ModelRegistrationConnection | null,\n customerId?: string | null,\n};\n\nexport enum UserStatus {\n Inactive = \"Inactive\",\n Invited = \"Invited\",\n Registered = \"Registered\",\n Suspended = \"Suspended\",\n}\n\n\nexport enum UserRole {\n Admin = \"Admin\",\n Agent = \"Agent\",\n Applicant = \"Applicant\",\n Candidate = \"Candidate\",\n Employer = \"Employer\",\n Student = \"Student\",\n Owner = \"Owner\",\n}\n\n\nexport type ModelProfileConnection = {\n __typename: \"ModelProfileConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type Profile = {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: User | null,\n nickname?: string | null,\n profileServices?: ModelProfileServiceConnection | null,\n profileLocations?: ModelProfileLocationConnection | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: ModelExperienceConnection | null,\n education?: ModelEducationConnection | null,\n certifications?: ModelCertificationConnection | null,\n credentials?: string | null,\n};\n\nexport type ModelProfileServiceConnection = {\n __typename: \"ModelProfileServiceConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type ProfileService = {\n __typename: \"ProfileService\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: Profile | null,\n serviceId: string,\n title?: string | null,\n industries?: Array< string | null > | null,\n};\n\nexport type ModelProfileLocationConnection = {\n __typename: \"ModelProfileLocationConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type ProfileLocation = {\n __typename: \"ProfileLocation\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: Profile | null,\n locationId: string,\n};\n\nexport enum ProfileStatus {\n Pending = \"Pending\",\n Submitted = \"Submitted\",\n Reviewing = \"Reviewing\",\n Verifying = \"Verifying\",\n Accepted = \"Accepted\",\n Declined = \"Declined\",\n Academy = \"Academy\",\n Future = \"Future\",\n Inactive = \"Inactive\",\n}\n\n\nexport enum SecurityStatus {\n Active = \"Active\",\n Inactive = \"Inactive\",\n}\n\n\nexport enum WorkSetting {\n InPerson = \"InPerson\",\n Remote = \"Remote\",\n Hybrid = \"Hybrid\",\n}\n\n\nexport type ModelExperienceConnection = {\n __typename: \"ModelExperienceConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type Experience = {\n __typename: \"Experience\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: Profile | null,\n jobTitle?: string | null,\n agencyType?: AgencyType | null,\n agencyName?: string | null,\n employerName?: string | null,\n employerLocation?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n projectNo?: string | null,\n projectName?: string | null,\n projectLocation?: string | null,\n projectDollarAmount?: number | null,\n jobDescription?: string | null,\n};\n\nexport enum AgencyType {\n Federal = \"Federal\",\n State = \"State\",\n County = \"County\",\n Municipal = \"Municipal\",\n Commercial = \"Commercial\",\n Other = \"Other\",\n None = \"None\",\n}\n\n\nexport type ModelEducationConnection = {\n __typename: \"ModelEducationConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type Education = {\n __typename: \"Education\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: Profile | null,\n school?: string | null,\n degree?: string | null,\n field?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n description?: string | null,\n};\n\nexport type ModelCertificationConnection = {\n __typename: \"ModelCertificationConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type Certification = {\n __typename: \"Certification\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: Profile | null,\n certificationType: string,\n issuedAt?: string | null,\n expiresAt?: string | null,\n certificateKey?: string | null,\n};\n\nexport type ModelAgreementConnection = {\n __typename: \"ModelAgreementConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type Agreement = {\n __typename: \"Agreement\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n accountId: string,\n agreementTypes?: Array< AgreementType | null > | null,\n agreementKey?: string | null,\n};\n\nexport enum AgreementType {\n BackgroundCheck = \"BackgroundCheck\",\n ElectronicCommunication = \"ElectronicCommunication\",\n FederalExperience = \"FederalExperience\",\n I9Eligible = \"I9Eligible\",\n PrivacyPolicy = \"PrivacyPolicy\",\n TermsOfUse = \"TermsOfUse\",\n MasterServicesAndNonSolicitation = \"MasterServicesAndNonSolicitation\",\n ConfidentialityAndNonDisclosure = \"ConfidentialityAndNonDisclosure\",\n ExclusiveRecruitment = \"ExclusiveRecruitment\",\n StaffingAgreement = \"StaffingAgreement\",\n ProfessionalServicesAgreement = \"ProfessionalServicesAgreement\",\n}\n\n\nexport type ModelRegistrationConnection = {\n __typename: \"ModelRegistrationConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type Registration = {\n __typename: \"Registration\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n classId: string,\n class?: Class | null,\n userId: string,\n user?: User | null,\n classStatus: ClassStatus,\n classProgress: number,\n lessonNumber: number,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score: number,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n};\n\nexport type Class = {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n course?: Course | null,\n accountId?: string | null,\n account?: Account | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n registrations?: ModelRegistrationConnection | null,\n};\n\nexport type Course = {\n __typename: \"Course\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n classes?: ModelClassConnection | null,\n};\n\nexport type ModelClassConnection = {\n __typename: \"ModelClassConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport enum AssignmentSchedule {\n All = \"All\",\n Monthly = \"Monthly\",\n Quarterly = \"Quarterly\",\n}\n\n\nexport enum ClassStatus {\n NotStarted = \"NotStarted\",\n InProgress = \"InProgress\",\n Passed = \"Passed\",\n Failed = \"Failed\",\n}\n\n\nexport enum LessonStatus {\n NotStarted = \"NotStarted\",\n InProgress = \"InProgress\",\n Ended = \"Ended\",\n Quiz = \"Quiz\",\n Passed = \"Passed\",\n Failed = \"Failed\",\n}\n\n\nexport type ModelContractConnection = {\n __typename: \"ModelContractConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type Contract = {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n jobPosts?: ModelJobPostConnection | null,\n};\n\nexport type ModelJobPostConnection = {\n __typename: \"ModelJobPostConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type JobPost = {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: Account | null,\n contractId?: string | null,\n contract?: Contract | null,\n serviceRequestId?: string | null,\n serviceRequest?: ServiceRequest | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n jobCandidates?: ModelJobCandidateConnection | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n};\n\nexport type ServiceRequest = {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: Account | null,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n jobPosts?: ModelJobPostConnection | null,\n};\n\nexport enum ServiceRequestType {\n RecruitingServices = \"RecruitingServices\",\n StaffingServices = \"StaffingServices\",\n ProfessionalServices = \"ProfessionalServices\",\n SelfService = \"SelfService\",\n}\n\n\nexport enum EmploymentType {\n Contract = \"Contract\",\n Direct = \"Direct\",\n FullTime = \"FullTime\",\n PartTime = \"PartTime\",\n Temporary = \"Temporary\",\n Internship = \"Internship\",\n}\n\n\nexport type ModelJobCandidateConnection = {\n __typename: \"ModelJobCandidateConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type JobCandidate = {\n __typename: \"JobCandidate\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n jobPostId: string,\n jobPost?: JobPost | null,\n accountId: string,\n account?: Account | null,\n profileId: string,\n profile?: Profile | null,\n status?: JobCandidateStatus | null,\n ranking?: number | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n};\n\nexport enum JobCandidateStatus {\n Interested = \"Interested\",\n Invited = \"Invited\",\n Applied = \"Applied\",\n Accepted = \"Accepted\",\n Reviewing = \"Reviewing\",\n Rejected = \"Rejected\",\n Unlocked = \"Unlocked\",\n Contacted = \"Contacted\",\n Hired = \"Hired\",\n Declined = \"Declined\",\n}\n\n\nexport enum RecordUpdateOrigin {\n User = \"User\",\n Lambda = \"Lambda\",\n}\n\n\nexport enum JobPostStatus {\n Cart = \"Cart\",\n Draft = \"Draft\",\n Posted = \"Posted\",\n Pending = \"Pending\",\n Hired = \"Hired\",\n Closed = \"Closed\",\n}\n\n\nexport enum JobPostType {\n RecruitingServices = \"RecruitingServices\",\n StaffingServices = \"StaffingServices\",\n SelfService = \"SelfService\",\n}\n\n\nexport type ModelActivityConnection = {\n __typename: \"ModelActivityConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type Activity = {\n __typename: \"Activity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account: Account,\n userId: string,\n activityDate: string,\n activityType: ActivityType,\n objectId: string,\n values?: string | null,\n};\n\nexport enum ActivityType {\n AccountCreate = \"AccountCreate\",\n ClassComplete = \"ClassComplete\",\n ClassCreate = \"ClassCreate\",\n ClassEdit = \"ClassEdit\",\n ClassPayment = \"ClassPayment\",\n ClassRegistration = \"ClassRegistration\",\n CourseCreate = \"CourseCreate\",\n CourseEdit = \"CourseEdit\",\n LessonComplete = \"LessonComplete\",\n UserCreate = \"UserCreate\",\n UserRegister = \"UserRegister\",\n UserSignIn = \"UserSignIn\",\n}\n\n\nexport type UpdateAccountInput = {\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name?: string | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n};\n\nexport type DeleteAccountInput = {\n id: string,\n};\n\nexport type CreateUserInput = {\n id?: string | null,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n};\n\nexport type ModelUserConditionInput = {\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n active?: ModelBooleanInput | null,\n userStatus?: ModelUserStatusInput | null,\n accountId?: ModelIDInput | null,\n firstName?: ModelStringInput | null,\n lastName?: ModelStringInput | null,\n title?: ModelStringInput | null,\n email?: ModelStringInput | null,\n phone?: ModelStringInput | null,\n role?: ModelUserRoleInput | null,\n address?: ModelStringInput | null,\n city?: ModelStringInput | null,\n state?: ModelStringInput | null,\n postalCode?: ModelStringInput | null,\n country?: ModelStringInput | null,\n industry?: ModelStringInput | null,\n lastActiveAt?: ModelStringInput | null,\n jobTitle?: ModelStringInput | null,\n invitedAt?: ModelStringInput | null,\n customerId?: ModelStringInput | null,\n and?: Array< ModelUserConditionInput | null > | null,\n or?: Array< ModelUserConditionInput | null > | null,\n not?: ModelUserConditionInput | null,\n};\n\nexport type ModelUserStatusInput = {\n eq?: UserStatus | null,\n ne?: UserStatus | null,\n};\n\nexport type ModelUserRoleInput = {\n eq?: UserRole | null,\n ne?: UserRole | null,\n};\n\nexport type UpdateUserInput = {\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId?: string | null,\n firstName?: string | null,\n lastName?: string | null,\n title?: string | null,\n email?: string | null,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n};\n\nexport type DeleteUserInput = {\n id: string,\n};\n\nexport type CreateServiceGroupInput = {\n id?: string | null,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n industries?: Array< string | null > | null,\n default?: boolean | null,\n};\n\nexport type ModelServiceGroupConditionInput = {\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n name?: ModelStringInput | null,\n industries?: ModelStringInput | null,\n default?: ModelBooleanInput | null,\n and?: Array< ModelServiceGroupConditionInput | null > | null,\n or?: Array< ModelServiceGroupConditionInput | null > | null,\n not?: ModelServiceGroupConditionInput | null,\n};\n\nexport type ServiceGroup = {\n __typename: \"ServiceGroup\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n services?: ModelServiceConnection | null,\n industries?: Array< string | null > | null,\n default?: boolean | null,\n};\n\nexport type ModelServiceConnection = {\n __typename: \"ModelServiceConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type Service = {\n __typename: \"Service\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n aliases?: Array< string | null > | null,\n active: boolean,\n serviceGroupId: string,\n serviceGroup?: ServiceGroup | null,\n industries?: Array< string | null > | null,\n};\n\nexport type UpdateServiceGroupInput = {\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name?: string | null,\n industries?: Array< string | null > | null,\n default?: boolean | null,\n};\n\nexport type DeleteServiceGroupInput = {\n id: string,\n};\n\nexport type CreateServiceInput = {\n id?: string | null,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n aliases?: Array< string | null > | null,\n active: boolean,\n serviceGroupId: string,\n industries?: Array< string | null > | null,\n};\n\nexport type ModelServiceConditionInput = {\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n name?: ModelStringInput | null,\n aliases?: ModelStringInput | null,\n active?: ModelBooleanInput | null,\n serviceGroupId?: ModelIDInput | null,\n industries?: ModelStringInput | null,\n and?: Array< ModelServiceConditionInput | null > | null,\n or?: Array< ModelServiceConditionInput | null > | null,\n not?: ModelServiceConditionInput | null,\n};\n\nexport type UpdateServiceInput = {\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name?: string | null,\n aliases?: Array< string | null > | null,\n active?: boolean | null,\n serviceGroupId?: string | null,\n industries?: Array< string | null > | null,\n};\n\nexport type DeleteServiceInput = {\n id: string,\n};\n\nexport type CreateLocationInput = {\n id?: string | null,\n createdAt?: string | null,\n updatedAt?: string | null,\n organizationName: string,\n active?: boolean | null,\n name: string,\n aliases?: Array< string | null > | null,\n addressType?: AddressType | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country: string,\n latitude: number,\n longitude: number,\n};\n\nexport enum AddressType {\n Street = \"Street\",\n Neighborhood = \"Neighborhood\",\n PostalCode = \"PostalCode\",\n City = \"City\",\n County = \"County\",\n State = \"State\",\n Country = \"Country\",\n World = \"World\",\n}\n\n\nexport type ModelLocationConditionInput = {\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n organizationName?: ModelStringInput | null,\n active?: ModelBooleanInput | null,\n name?: ModelStringInput | null,\n aliases?: ModelStringInput | null,\n addressType?: ModelAddressTypeInput | null,\n address?: ModelStringInput | null,\n city?: ModelStringInput | null,\n state?: ModelStringInput | null,\n postalCode?: ModelStringInput | null,\n country?: ModelStringInput | null,\n latitude?: ModelFloatInput | null,\n longitude?: ModelFloatInput | null,\n and?: Array< ModelLocationConditionInput | null > | null,\n or?: Array< ModelLocationConditionInput | null > | null,\n not?: ModelLocationConditionInput | null,\n};\n\nexport type ModelAddressTypeInput = {\n eq?: AddressType | null,\n ne?: AddressType | null,\n};\n\nexport type ModelFloatInput = {\n ne?: number | null,\n eq?: number | null,\n le?: number | null,\n lt?: number | null,\n ge?: number | null,\n gt?: number | null,\n between?: Array< number | null > | null,\n attributeExists?: boolean | null,\n attributeType?: ModelAttributeTypes | null,\n};\n\nexport type Location = {\n __typename: \"Location\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n organizationName: string,\n active?: boolean | null,\n name: string,\n aliases?: Array< string | null > | null,\n addressType?: AddressType | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country: string,\n latitude: number,\n longitude: number,\n};\n\nexport type UpdateLocationInput = {\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n organizationName?: string | null,\n active?: boolean | null,\n name?: string | null,\n aliases?: Array< string | null > | null,\n addressType?: AddressType | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n latitude?: number | null,\n longitude?: number | null,\n};\n\nexport type DeleteLocationInput = {\n id: string,\n};\n\nexport type CreateProfileInput = {\n id?: string | null,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n nickname?: string | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n credentials?: string | null,\n};\n\nexport type ModelProfileConditionInput = {\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n alias?: ModelStringInput | null,\n active?: ModelBooleanInput | null,\n userId?: ModelIDInput | null,\n nickname?: ModelStringInput | null,\n availability?: ModelStringInput | null,\n availableDate?: ModelStringInput | null,\n desiredRate?: ModelStringInput | null,\n about?: ModelStringInput | null,\n resumeKey?: ModelStringInput | null,\n profileStatus?: ModelProfileStatusInput | null,\n statusMessage?: ModelStringInput | null,\n notes?: ModelStringInput | null,\n city?: ModelStringInput | null,\n state?: ModelStringInput | null,\n country?: ModelStringInput | null,\n federalExperience?: ModelFloatInput | null,\n totalExperience?: ModelFloatInput | null,\n industries?: ModelStringInput | null,\n securityClearance?: ModelStringInput | null,\n securityStatus?: ModelSecurityStatusInput | null,\n workSettings?: ModelWorkSettingListInput | null,\n credentials?: ModelStringInput | null,\n and?: Array< ModelProfileConditionInput | null > | null,\n or?: Array< ModelProfileConditionInput | null > | null,\n not?: ModelProfileConditionInput | null,\n};\n\nexport type ModelProfileStatusInput = {\n eq?: ProfileStatus | null,\n ne?: ProfileStatus | null,\n};\n\nexport type ModelSecurityStatusInput = {\n eq?: SecurityStatus | null,\n ne?: SecurityStatus | null,\n};\n\nexport type ModelWorkSettingListInput = {\n eq?: Array< WorkSetting | null > | null,\n ne?: Array< WorkSetting | null > | null,\n contains?: WorkSetting | null,\n notContains?: WorkSetting | null,\n};\n\nexport type UpdateProfileInput = {\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active?: boolean | null,\n userId?: string | null,\n nickname?: string | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus?: ProfileStatus | null,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n credentials?: string | null,\n};\n\nexport type DeleteProfileInput = {\n id: string,\n};\n\nexport type CreateProfileLocationInput = {\n id?: string | null,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n locationId: string,\n};\n\nexport type ModelProfileLocationConditionInput = {\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n userId?: ModelIDInput | null,\n profileId?: ModelIDInput | null,\n locationId?: ModelIDInput | null,\n and?: Array< ModelProfileLocationConditionInput | null > | null,\n or?: Array< ModelProfileLocationConditionInput | null > | null,\n not?: ModelProfileLocationConditionInput | null,\n};\n\nexport type UpdateProfileLocationInput = {\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId?: string | null,\n profileId?: string | null,\n locationId?: string | null,\n};\n\nexport type DeleteProfileLocationInput = {\n id: string,\n};\n\nexport type CreateProfileServiceInput = {\n id?: string | null,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n serviceId: string,\n title?: string | null,\n industries?: Array< string | null > | null,\n};\n\nexport type ModelProfileServiceConditionInput = {\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n userId?: ModelIDInput | null,\n profileId?: ModelIDInput | null,\n serviceId?: ModelIDInput | null,\n title?: ModelStringInput | null,\n industries?: ModelStringInput | null,\n and?: Array< ModelProfileServiceConditionInput | null > | null,\n or?: Array< ModelProfileServiceConditionInput | null > | null,\n not?: ModelProfileServiceConditionInput | null,\n};\n\nexport type UpdateProfileServiceInput = {\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId?: string | null,\n profileId?: string | null,\n serviceId?: string | null,\n title?: string | null,\n industries?: Array< string | null > | null,\n};\n\nexport type DeleteProfileServiceInput = {\n id: string,\n};\n\nexport type CreateExperienceInput = {\n id?: string | null,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n jobTitle?: string | null,\n agencyType?: AgencyType | null,\n agencyName?: string | null,\n employerName?: string | null,\n employerLocation?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n projectNo?: string | null,\n projectName?: string | null,\n projectLocation?: string | null,\n projectDollarAmount?: number | null,\n jobDescription?: string | null,\n};\n\nexport type ModelExperienceConditionInput = {\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n userId?: ModelIDInput | null,\n profileId?: ModelIDInput | null,\n jobTitle?: ModelStringInput | null,\n agencyType?: ModelAgencyTypeInput | null,\n agencyName?: ModelStringInput | null,\n employerName?: ModelStringInput | null,\n employerLocation?: ModelStringInput | null,\n startDate?: ModelStringInput | null,\n endDate?: ModelStringInput | null,\n projectNo?: ModelStringInput | null,\n projectName?: ModelStringInput | null,\n projectLocation?: ModelStringInput | null,\n projectDollarAmount?: ModelIntInput | null,\n jobDescription?: ModelStringInput | null,\n and?: Array< ModelExperienceConditionInput | null > | null,\n or?: Array< ModelExperienceConditionInput | null > | null,\n not?: ModelExperienceConditionInput | null,\n};\n\nexport type ModelAgencyTypeInput = {\n eq?: AgencyType | null,\n ne?: AgencyType | null,\n};\n\nexport type ModelIntInput = {\n ne?: number | null,\n eq?: number | null,\n le?: number | null,\n lt?: number | null,\n ge?: number | null,\n gt?: number | null,\n between?: Array< number | null > | null,\n attributeExists?: boolean | null,\n attributeType?: ModelAttributeTypes | null,\n};\n\nexport type UpdateExperienceInput = {\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId?: string | null,\n profileId?: string | null,\n jobTitle?: string | null,\n agencyType?: AgencyType | null,\n agencyName?: string | null,\n employerName?: string | null,\n employerLocation?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n projectNo?: string | null,\n projectName?: string | null,\n projectLocation?: string | null,\n projectDollarAmount?: number | null,\n jobDescription?: string | null,\n};\n\nexport type DeleteExperienceInput = {\n id: string,\n};\n\nexport type CreateCertificationInput = {\n id?: string | null,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n certificationType: string,\n issuedAt?: string | null,\n expiresAt?: string | null,\n certificateKey?: string | null,\n};\n\nexport type ModelCertificationConditionInput = {\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n userId?: ModelIDInput | null,\n profileId?: ModelIDInput | null,\n certificationType?: ModelStringInput | null,\n issuedAt?: ModelStringInput | null,\n expiresAt?: ModelStringInput | null,\n certificateKey?: ModelStringInput | null,\n and?: Array< ModelCertificationConditionInput | null > | null,\n or?: Array< ModelCertificationConditionInput | null > | null,\n not?: ModelCertificationConditionInput | null,\n};\n\nexport type UpdateCertificationInput = {\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId?: string | null,\n profileId?: string | null,\n certificationType?: string | null,\n issuedAt?: string | null,\n expiresAt?: string | null,\n certificateKey?: string | null,\n};\n\nexport type DeleteCertificationInput = {\n id: string,\n};\n\nexport type CreateCertificationTypeInput = {\n id?: string | null,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n active: boolean,\n industries?: Array< string | null > | null,\n};\n\nexport type ModelCertificationTypeConditionInput = {\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n name?: ModelStringInput | null,\n active?: ModelBooleanInput | null,\n industries?: ModelStringInput | null,\n and?: Array< ModelCertificationTypeConditionInput | null > | null,\n or?: Array< ModelCertificationTypeConditionInput | null > | null,\n not?: ModelCertificationTypeConditionInput | null,\n};\n\nexport type CertificationType = {\n __typename: \"CertificationType\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n active: boolean,\n industries?: Array< string | null > | null,\n};\n\nexport type UpdateCertificationTypeInput = {\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name?: string | null,\n active?: boolean | null,\n industries?: Array< string | null > | null,\n};\n\nexport type DeleteCertificationTypeInput = {\n id: string,\n};\n\nexport type CreateAgreementInput = {\n id?: string | null,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n accountId: string,\n agreementTypes?: Array< AgreementType | null > | null,\n agreementKey?: string | null,\n};\n\nexport type ModelAgreementConditionInput = {\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n userId?: ModelIDInput | null,\n accountId?: ModelIDInput | null,\n agreementTypes?: ModelAgreementTypeListInput | null,\n agreementKey?: ModelStringInput | null,\n and?: Array< ModelAgreementConditionInput | null > | null,\n or?: Array< ModelAgreementConditionInput | null > | null,\n not?: ModelAgreementConditionInput | null,\n};\n\nexport type ModelAgreementTypeListInput = {\n eq?: Array< AgreementType | null > | null,\n ne?: Array< AgreementType | null > | null,\n contains?: AgreementType | null,\n notContains?: AgreementType | null,\n};\n\nexport type UpdateAgreementInput = {\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId?: string | null,\n accountId?: string | null,\n agreementTypes?: Array< AgreementType | null > | null,\n agreementKey?: string | null,\n};\n\nexport type DeleteAgreementInput = {\n id: string,\n};\n\nexport type CreateEducationInput = {\n id?: string | null,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n school?: string | null,\n degree?: string | null,\n field?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n description?: string | null,\n};\n\nexport type ModelEducationConditionInput = {\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n userId?: ModelIDInput | null,\n profileId?: ModelIDInput | null,\n school?: ModelStringInput | null,\n degree?: ModelStringInput | null,\n field?: ModelStringInput | null,\n startDate?: ModelStringInput | null,\n endDate?: ModelStringInput | null,\n description?: ModelStringInput | null,\n and?: Array< ModelEducationConditionInput | null > | null,\n or?: Array< ModelEducationConditionInput | null > | null,\n not?: ModelEducationConditionInput | null,\n};\n\nexport type UpdateEducationInput = {\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId?: string | null,\n profileId?: string | null,\n school?: string | null,\n degree?: string | null,\n field?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n description?: string | null,\n};\n\nexport type DeleteEducationInput = {\n id: string,\n};\n\nexport type CreateServiceRequestInput = {\n id?: string | null,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n};\n\nexport type ModelServiceRequestConditionInput = {\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n accountId?: ModelIDInput | null,\n serviceRequestType?: ModelServiceRequestTypeInput | null,\n name?: ModelStringInput | null,\n status?: ModelStringInput | null,\n completedDate?: ModelStringInput | null,\n and?: Array< ModelServiceRequestConditionInput | null > | null,\n or?: Array< ModelServiceRequestConditionInput | null > | null,\n not?: ModelServiceRequestConditionInput | null,\n};\n\nexport type ModelServiceRequestTypeInput = {\n eq?: ServiceRequestType | null,\n ne?: ServiceRequestType | null,\n};\n\nexport type UpdateServiceRequestInput = {\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId?: string | null,\n serviceRequestType?: ServiceRequestType | null,\n name?: string | null,\n status?: string | null,\n completedDate?: string | null,\n};\n\nexport type DeleteServiceRequestInput = {\n id: string,\n};\n\nexport type CreateContractInput = {\n id?: string | null,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n};\n\nexport type ModelContractConditionInput = {\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n accountId?: ModelIDInput | null,\n issuedBy?: ModelStringInput | null,\n name?: ModelStringInput | null,\n number?: ModelStringInput | null,\n locationId?: ModelIDInput | null,\n startDate?: ModelStringInput | null,\n endDate?: ModelStringInput | null,\n perDiem?: ModelFloatInput | null,\n value?: ModelStringInput | null,\n category?: ModelStringInput | null,\n and?: Array< ModelContractConditionInput | null > | null,\n or?: Array< ModelContractConditionInput | null > | null,\n not?: ModelContractConditionInput | null,\n};\n\nexport type UpdateContractInput = {\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId?: string | null,\n issuedBy?: string | null,\n name?: string | null,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n};\n\nexport type DeleteContractInput = {\n id: string,\n};\n\nexport type CreateJobPostInput = {\n id?: string | null,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n contractId?: string | null,\n serviceRequestId?: string | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n};\n\nexport type ModelJobPostConditionInput = {\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n accountId?: ModelIDInput | null,\n contractId?: ModelIDInput | null,\n serviceRequestId?: ModelIDInput | null,\n locationId?: ModelStringInput | null,\n serviceId?: ModelIDInput | null,\n industries?: ModelStringInput | null,\n title?: ModelStringInput | null,\n summary?: ModelStringInput | null,\n description?: ModelStringInput | null,\n startDate?: ModelStringInput | null,\n endDate?: ModelStringInput | null,\n openDate?: ModelStringInput | null,\n filledDate?: ModelStringInput | null,\n closedDate?: ModelStringInput | null,\n employmentType?: ModelEmploymentTypeInput | null,\n annualSalaryLow?: ModelFloatInput | null,\n annualSalaryHigh?: ModelFloatInput | null,\n statusId?: ModelIDInput | null,\n status?: ModelJobPostStatusInput | null,\n openings?: ModelIntInput | null,\n invoiceId?: ModelStringInput | null,\n jobPostType?: ModelJobPostTypeInput | null,\n hiringDate?: ModelStringInput | null,\n unlocksAvailable?: ModelIntInput | null,\n featured?: ModelBooleanInput | null,\n questions?: ModelStringInput | null,\n workSettings?: ModelWorkSettingListInput | null,\n securityClearance?: ModelStringInput | null,\n and?: Array< ModelJobPostConditionInput | null > | null,\n or?: Array< ModelJobPostConditionInput | null > | null,\n not?: ModelJobPostConditionInput | null,\n};\n\nexport type ModelEmploymentTypeInput = {\n eq?: EmploymentType | null,\n ne?: EmploymentType | null,\n};\n\nexport type ModelJobPostStatusInput = {\n eq?: JobPostStatus | null,\n ne?: JobPostStatus | null,\n};\n\nexport type ModelJobPostTypeInput = {\n eq?: JobPostType | null,\n ne?: JobPostType | null,\n};\n\nexport type UpdateJobPostInput = {\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId?: string | null,\n contractId?: string | null,\n serviceRequestId?: string | null,\n locationId?: string | null,\n serviceId?: string | null,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary?: string | null,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType?: EmploymentType | null,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n};\n\nexport type DeleteJobPostInput = {\n id: string,\n};\n\nexport type CreateJobInterestInput = {\n id?: string | null,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n jobPostId: string,\n ranking?: number | null,\n status?: JobInterestStatus | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n};\n\nexport enum JobInterestStatus {\n Interested = \"Interested\",\n Invited = \"Invited\",\n Applied = \"Applied\",\n Accepted = \"Accepted\",\n Reviewing = \"Reviewing\",\n Rejected = \"Rejected\",\n Unlocked = \"Unlocked\",\n Contacted = \"Contacted\",\n Hired = \"Hired\",\n Declined = \"Declined\",\n}\n\n\nexport type ModelJobInterestConditionInput = {\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n userId?: ModelIDInput | null,\n jobPostId?: ModelIDInput | null,\n ranking?: ModelFloatInput | null,\n status?: ModelJobInterestStatusInput | null,\n notes?: ModelStringInput | null,\n message?: ModelStringInput | null,\n unlocked?: ModelBooleanInput | null,\n application?: ModelStringInput | null,\n origin?: ModelRecordUpdateOriginInput | null,\n and?: Array< ModelJobInterestConditionInput | null > | null,\n or?: Array< ModelJobInterestConditionInput | null > | null,\n not?: ModelJobInterestConditionInput | null,\n};\n\nexport type ModelJobInterestStatusInput = {\n eq?: JobInterestStatus | null,\n ne?: JobInterestStatus | null,\n};\n\nexport type ModelRecordUpdateOriginInput = {\n eq?: RecordUpdateOrigin | null,\n ne?: RecordUpdateOrigin | null,\n};\n\nexport type JobInterest = {\n __typename: \"JobInterest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n jobPostId: string,\n ranking?: number | null,\n status?: JobInterestStatus | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n};\n\nexport type UpdateJobInterestInput = {\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId?: string | null,\n jobPostId?: string | null,\n ranking?: number | null,\n status?: JobInterestStatus | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n};\n\nexport type DeleteJobInterestInput = {\n id: string,\n};\n\nexport type CreateJobCandidateInput = {\n id?: string | null,\n createdAt?: string | null,\n updatedAt?: string | null,\n jobPostId: string,\n accountId: string,\n profileId: string,\n status?: JobCandidateStatus | null,\n ranking?: number | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n};\n\nexport type ModelJobCandidateConditionInput = {\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n jobPostId?: ModelIDInput | null,\n accountId?: ModelIDInput | null,\n profileId?: ModelIDInput | null,\n status?: ModelJobCandidateStatusInput | null,\n ranking?: ModelFloatInput | null,\n notes?: ModelStringInput | null,\n message?: ModelStringInput | null,\n unlocked?: ModelBooleanInput | null,\n application?: ModelStringInput | null,\n origin?: ModelRecordUpdateOriginInput | null,\n and?: Array< ModelJobCandidateConditionInput | null > | null,\n or?: Array< ModelJobCandidateConditionInput | null > | null,\n not?: ModelJobCandidateConditionInput | null,\n};\n\nexport type ModelJobCandidateStatusInput = {\n eq?: JobCandidateStatus | null,\n ne?: JobCandidateStatus | null,\n};\n\nexport type UpdateJobCandidateInput = {\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n jobPostId?: string | null,\n accountId?: string | null,\n profileId?: string | null,\n status?: JobCandidateStatus | null,\n ranking?: number | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n};\n\nexport type DeleteJobCandidateInput = {\n id: string,\n};\n\nexport type CreateUserActivityInput = {\n id?: string | null,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n subjectType: SubjectType,\n subjectId: string,\n activityType: string,\n actorId: string,\n actorName?: string | null,\n accountId: string,\n details?: string | null,\n};\n\nexport enum SubjectType {\n Contract = \"Contract\",\n JobCandidate = \"JobCandidate\",\n JobInterest = \"JobInterest\",\n JobPost = \"JobPost\",\n Profile = \"Profile\",\n Invoice = \"Invoice\",\n User = \"User\",\n Account = \"Account\",\n}\n\n\nexport type ModelUserActivityConditionInput = {\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n userId?: ModelIDInput | null,\n subjectType?: ModelSubjectTypeInput | null,\n subjectId?: ModelIDInput | null,\n activityType?: ModelStringInput | null,\n actorId?: ModelIDInput | null,\n actorName?: ModelStringInput | null,\n accountId?: ModelIDInput | null,\n details?: ModelStringInput | null,\n and?: Array< ModelUserActivityConditionInput | null > | null,\n or?: Array< ModelUserActivityConditionInput | null > | null,\n not?: ModelUserActivityConditionInput | null,\n};\n\nexport type ModelSubjectTypeInput = {\n eq?: SubjectType | null,\n ne?: SubjectType | null,\n};\n\nexport type UserActivity = {\n __typename: \"UserActivity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n subjectType: SubjectType,\n subjectId: string,\n activityType: string,\n actorId: string,\n actorName?: string | null,\n accountId: string,\n details?: string | null,\n};\n\nexport type UpdateUserActivityInput = {\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId?: string | null,\n subjectType?: SubjectType | null,\n subjectId?: string | null,\n activityType?: string | null,\n actorId?: string | null,\n actorName?: string | null,\n accountId?: string | null,\n details?: string | null,\n};\n\nexport type DeleteUserActivityInput = {\n id: string,\n};\n\nexport type CreateCourseInput = {\n id?: string | null,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n};\n\nexport type ModelCourseConditionInput = {\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n title?: ModelStringInput | null,\n description?: ModelStringInput | null,\n coverUrl?: ModelStringInput | null,\n details?: ModelStringInput | null,\n publishDate?: ModelStringInput | null,\n sunsetDate?: ModelStringInput | null,\n lessonCount?: ModelIntInput | null,\n creditHours?: ModelFloatInput | null,\n isFree?: ModelBooleanInput | null,\n lessons?: ModelStringInput | null,\n handoutUrl?: ModelStringInput | null,\n and?: Array< ModelCourseConditionInput | null > | null,\n or?: Array< ModelCourseConditionInput | null > | null,\n not?: ModelCourseConditionInput | null,\n};\n\nexport type UpdateCourseInput = {\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title?: string | null,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n};\n\nexport type DeleteCourseInput = {\n id: string,\n};\n\nexport type CreateLessonInput = {\n id?: string | null,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n number: number,\n title: string,\n description?: string | null,\n videoUrl?: string | null,\n videoDuration?: number | null,\n};\n\nexport type ModelLessonConditionInput = {\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n courseId?: ModelIDInput | null,\n number?: ModelIntInput | null,\n title?: ModelStringInput | null,\n description?: ModelStringInput | null,\n videoUrl?: ModelStringInput | null,\n videoDuration?: ModelIntInput | null,\n and?: Array< ModelLessonConditionInput | null > | null,\n or?: Array< ModelLessonConditionInput | null > | null,\n not?: ModelLessonConditionInput | null,\n};\n\nexport type Lesson = {\n __typename: \"Lesson\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n number: number,\n title: string,\n description?: string | null,\n videoUrl?: string | null,\n videoDuration?: number | null,\n questions?: ModelQuestionConnection | null,\n};\n\nexport type ModelQuestionConnection = {\n __typename: \"ModelQuestionConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type Question = {\n __typename: \"Question\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n lessonId: string,\n lesson?: Lesson | null,\n number?: number | null,\n question: string,\n answers?: Array< string | null > | null,\n correctAnswer?: number | null,\n lessonQuestionsId?: string | null,\n};\n\nexport type UpdateLessonInput = {\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId?: string | null,\n number?: number | null,\n title?: string | null,\n description?: string | null,\n videoUrl?: string | null,\n videoDuration?: number | null,\n};\n\nexport type DeleteLessonInput = {\n id: string,\n};\n\nexport type CreateQuestionInput = {\n id?: string | null,\n createdAt?: string | null,\n updatedAt?: string | null,\n lessonId: string,\n number?: number | null,\n question: string,\n answers?: Array< string | null > | null,\n correctAnswer?: number | null,\n lessonQuestionsId?: string | null,\n};\n\nexport type ModelQuestionConditionInput = {\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n lessonId?: ModelIDInput | null,\n number?: ModelIntInput | null,\n question?: ModelStringInput | null,\n answers?: ModelStringInput | null,\n correctAnswer?: ModelIntInput | null,\n and?: Array< ModelQuestionConditionInput | null > | null,\n or?: Array< ModelQuestionConditionInput | null > | null,\n not?: ModelQuestionConditionInput | null,\n lessonQuestionsId?: ModelIDInput | null,\n};\n\nexport type UpdateQuestionInput = {\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n lessonId?: string | null,\n number?: number | null,\n question?: string | null,\n answers?: Array< string | null > | null,\n correctAnswer?: number | null,\n lessonQuestionsId?: string | null,\n};\n\nexport type DeleteQuestionInput = {\n id: string,\n};\n\nexport type CreateClassInput = {\n id?: string | null,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n accountId?: string | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n};\n\nexport type ModelClassConditionInput = {\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n courseId?: ModelIDInput | null,\n accountId?: ModelIDInput | null,\n ownerId?: ModelIDInput | null,\n userId?: ModelIDInput | null,\n termBegin?: ModelStringInput | null,\n termEnd?: ModelStringInput | null,\n seatsPurchased?: ModelIntInput | null,\n seatsFilled?: ModelIntInput | null,\n couponCode?: ModelStringInput | null,\n assignmentSchedule?: ModelAssignmentScheduleInput | null,\n and?: Array< ModelClassConditionInput | null > | null,\n or?: Array< ModelClassConditionInput | null > | null,\n not?: ModelClassConditionInput | null,\n};\n\nexport type ModelAssignmentScheduleInput = {\n eq?: AssignmentSchedule | null,\n ne?: AssignmentSchedule | null,\n};\n\nexport type UpdateClassInput = {\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId?: string | null,\n accountId?: string | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n};\n\nexport type DeleteClassInput = {\n id: string,\n};\n\nexport type CreateRegistrationInput = {\n id?: string | null,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n classId: string,\n userId: string,\n classStatus: ClassStatus,\n classProgress: number,\n lessonNumber: number,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score: number,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n};\n\nexport type ModelRegistrationConditionInput = {\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n accountId?: ModelIDInput | null,\n classId?: ModelIDInput | null,\n userId?: ModelIDInput | null,\n classStatus?: ModelClassStatusInput | null,\n classProgress?: ModelFloatInput | null,\n lessonNumber?: ModelIntInput | null,\n lessonId?: ModelIDInput | null,\n lessonStatus?: ModelLessonStatusInput | null,\n videoProgress?: ModelFloatInput | null,\n answers?: ModelIntInput | null,\n score?: ModelFloatInput | null,\n startedAt?: ModelStringInput | null,\n endsAt?: ModelStringInput | null,\n completedAt?: ModelStringInput | null,\n lessonsAssigned?: ModelIntInput | null,\n nextAssignmentAt?: ModelStringInput | null,\n and?: Array< ModelRegistrationConditionInput | null > | null,\n or?: Array< ModelRegistrationConditionInput | null > | null,\n not?: ModelRegistrationConditionInput | null,\n};\n\nexport type ModelClassStatusInput = {\n eq?: ClassStatus | null,\n ne?: ClassStatus | null,\n};\n\nexport type ModelLessonStatusInput = {\n eq?: LessonStatus | null,\n ne?: LessonStatus | null,\n};\n\nexport type UpdateRegistrationInput = {\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId?: string | null,\n classId?: string | null,\n userId?: string | null,\n classStatus?: ClassStatus | null,\n classProgress?: number | null,\n lessonNumber?: number | null,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score?: number | null,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n};\n\nexport type DeleteRegistrationInput = {\n id: string,\n};\n\nexport type CreateActivityInput = {\n id?: string | null,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n userId: string,\n activityDate: string,\n activityType: ActivityType,\n objectId: string,\n values?: string | null,\n};\n\nexport type ModelActivityConditionInput = {\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n accountId?: ModelIDInput | null,\n userId?: ModelIDInput | null,\n activityDate?: ModelStringInput | null,\n activityType?: ModelActivityTypeInput | null,\n objectId?: ModelIDInput | null,\n values?: ModelStringInput | null,\n and?: Array< ModelActivityConditionInput | null > | null,\n or?: Array< ModelActivityConditionInput | null > | null,\n not?: ModelActivityConditionInput | null,\n};\n\nexport type ModelActivityTypeInput = {\n eq?: ActivityType | null,\n ne?: ActivityType | null,\n};\n\nexport type UpdateActivityInput = {\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId?: string | null,\n userId?: string | null,\n activityDate?: string | null,\n activityType?: ActivityType | null,\n objectId?: string | null,\n values?: string | null,\n};\n\nexport type DeleteActivityInput = {\n id: string,\n};\n\nexport type ModelUserFilterInput = {\n id?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n active?: ModelBooleanInput | null,\n userStatus?: ModelUserStatusInput | null,\n accountId?: ModelIDInput | null,\n firstName?: ModelStringInput | null,\n lastName?: ModelStringInput | null,\n title?: ModelStringInput | null,\n email?: ModelStringInput | null,\n phone?: ModelStringInput | null,\n role?: ModelUserRoleInput | null,\n address?: ModelStringInput | null,\n city?: ModelStringInput | null,\n state?: ModelStringInput | null,\n postalCode?: ModelStringInput | null,\n country?: ModelStringInput | null,\n industry?: ModelStringInput | null,\n lastActiveAt?: ModelStringInput | null,\n jobTitle?: ModelStringInput | null,\n invitedAt?: ModelStringInput | null,\n customerId?: ModelStringInput | null,\n and?: Array< ModelUserFilterInput | null > | null,\n or?: Array< ModelUserFilterInput | null > | null,\n not?: ModelUserFilterInput | null,\n};\n\nexport enum ModelSortDirection {\n ASC = \"ASC\",\n DESC = \"DESC\",\n}\n\n\nexport type ModelAgreementFilterInput = {\n id?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n userId?: ModelIDInput | null,\n accountId?: ModelIDInput | null,\n agreementTypes?: ModelAgreementTypeListInput | null,\n agreementKey?: ModelStringInput | null,\n and?: Array< ModelAgreementFilterInput | null > | null,\n or?: Array< ModelAgreementFilterInput | null > | null,\n not?: ModelAgreementFilterInput | null,\n};\n\nexport type ModelJobInterestFilterInput = {\n id?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n userId?: ModelIDInput | null,\n jobPostId?: ModelIDInput | null,\n ranking?: ModelFloatInput | null,\n status?: ModelJobInterestStatusInput | null,\n notes?: ModelStringInput | null,\n message?: ModelStringInput | null,\n unlocked?: ModelBooleanInput | null,\n application?: ModelStringInput | null,\n origin?: ModelRecordUpdateOriginInput | null,\n and?: Array< ModelJobInterestFilterInput | null > | null,\n or?: Array< ModelJobInterestFilterInput | null > | null,\n not?: ModelJobInterestFilterInput | null,\n};\n\nexport type ModelJobInterestConnection = {\n __typename: \"ModelJobInterestConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type ModelJobCandidateFilterInput = {\n id?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n jobPostId?: ModelIDInput | null,\n accountId?: ModelIDInput | null,\n profileId?: ModelIDInput | null,\n status?: ModelJobCandidateStatusInput | null,\n ranking?: ModelFloatInput | null,\n notes?: ModelStringInput | null,\n message?: ModelStringInput | null,\n unlocked?: ModelBooleanInput | null,\n application?: ModelStringInput | null,\n origin?: ModelRecordUpdateOriginInput | null,\n and?: Array< ModelJobCandidateFilterInput | null > | null,\n or?: Array< ModelJobCandidateFilterInput | null > | null,\n not?: ModelJobCandidateFilterInput | null,\n};\n\nexport type ModelUserActivityFilterInput = {\n id?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n userId?: ModelIDInput | null,\n subjectType?: ModelSubjectTypeInput | null,\n subjectId?: ModelIDInput | null,\n activityType?: ModelStringInput | null,\n actorId?: ModelIDInput | null,\n actorName?: ModelStringInput | null,\n accountId?: ModelIDInput | null,\n details?: ModelStringInput | null,\n and?: Array< ModelUserActivityFilterInput | null > | null,\n or?: Array< ModelUserActivityFilterInput | null > | null,\n not?: ModelUserActivityFilterInput | null,\n};\n\nexport type ModelUserActivityConnection = {\n __typename: \"ModelUserActivityConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type ModelLessonFilterInput = {\n id?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n courseId?: ModelIDInput | null,\n number?: ModelIntInput | null,\n title?: ModelStringInput | null,\n description?: ModelStringInput | null,\n videoUrl?: ModelStringInput | null,\n videoDuration?: ModelIntInput | null,\n and?: Array< ModelLessonFilterInput | null > | null,\n or?: Array< ModelLessonFilterInput | null > | null,\n not?: ModelLessonFilterInput | null,\n};\n\nexport type ModelLessonConnection = {\n __typename: \"ModelLessonConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type ModelQuestionFilterInput = {\n id?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n lessonId?: ModelIDInput | null,\n number?: ModelIntInput | null,\n question?: ModelStringInput | null,\n answers?: ModelStringInput | null,\n correctAnswer?: ModelIntInput | null,\n and?: Array< ModelQuestionFilterInput | null > | null,\n or?: Array< ModelQuestionFilterInput | null > | null,\n not?: ModelQuestionFilterInput | null,\n lessonQuestionsId?: ModelIDInput | null,\n};\n\nexport type ModelClassFilterInput = {\n id?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n courseId?: ModelIDInput | null,\n accountId?: ModelIDInput | null,\n ownerId?: ModelIDInput | null,\n userId?: ModelIDInput | null,\n termBegin?: ModelStringInput | null,\n termEnd?: ModelStringInput | null,\n seatsPurchased?: ModelIntInput | null,\n seatsFilled?: ModelIntInput | null,\n couponCode?: ModelStringInput | null,\n assignmentSchedule?: ModelAssignmentScheduleInput | null,\n and?: Array< ModelClassFilterInput | null > | null,\n or?: Array< ModelClassFilterInput | null > | null,\n not?: ModelClassFilterInput | null,\n};\n\nexport type ModelRegistrationFilterInput = {\n id?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n accountId?: ModelIDInput | null,\n classId?: ModelIDInput | null,\n userId?: ModelIDInput | null,\n classStatus?: ModelClassStatusInput | null,\n classProgress?: ModelFloatInput | null,\n lessonNumber?: ModelIntInput | null,\n lessonId?: ModelIDInput | null,\n lessonStatus?: ModelLessonStatusInput | null,\n videoProgress?: ModelFloatInput | null,\n answers?: ModelIntInput | null,\n score?: ModelFloatInput | null,\n startedAt?: ModelStringInput | null,\n endsAt?: ModelStringInput | null,\n completedAt?: ModelStringInput | null,\n lessonsAssigned?: ModelIntInput | null,\n nextAssignmentAt?: ModelStringInput | null,\n and?: Array< ModelRegistrationFilterInput | null > | null,\n or?: Array< ModelRegistrationFilterInput | null > | null,\n not?: ModelRegistrationFilterInput | null,\n};\n\nexport type ModelActivityFilterInput = {\n id?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n accountId?: ModelIDInput | null,\n userId?: ModelIDInput | null,\n activityDate?: ModelStringInput | null,\n activityType?: ModelActivityTypeInput | null,\n objectId?: ModelIDInput | null,\n values?: ModelStringInput | null,\n and?: Array< ModelActivityFilterInput | null > | null,\n or?: Array< ModelActivityFilterInput | null > | null,\n not?: ModelActivityFilterInput | null,\n};\n\nexport type ModelIDKeyConditionInput = {\n eq?: string | null,\n le?: string | null,\n lt?: string | null,\n ge?: string | null,\n gt?: string | null,\n between?: Array< string | null > | null,\n beginsWith?: string | null,\n};\n\nexport type ModelStringKeyConditionInput = {\n eq?: string | null,\n le?: string | null,\n lt?: string | null,\n ge?: string | null,\n gt?: string | null,\n between?: Array< string | null > | null,\n beginsWith?: string | null,\n};\n\nexport type ModelAccountFilterInput = {\n id?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n ownerId?: ModelIDInput | null,\n name?: ModelStringInput | null,\n address?: ModelStringInput | null,\n city?: ModelStringInput | null,\n state?: ModelStringInput | null,\n postalCode?: ModelStringInput | null,\n country?: ModelStringInput | null,\n active?: ModelBooleanInput | null,\n dunsNumber?: ModelStringInput | null,\n cageCode?: ModelStringInput | null,\n naicsCode?: ModelStringInput | null,\n sicCode?: ModelStringInput | null,\n socioEconomicDesignation?: ModelStringInput | null,\n fein?: ModelStringInput | null,\n accountStatus?: ModelAccountStatusInput | null,\n phone?: ModelStringInput | null,\n webUrl?: ModelStringInput | null,\n accountType?: ModelAccountTypeInput | null,\n accountSize?: ModelAccountSizeInput | null,\n customerId?: ModelStringInput | null,\n industries?: ModelStringInput | null,\n and?: Array< ModelAccountFilterInput | null > | null,\n or?: Array< ModelAccountFilterInput | null > | null,\n not?: ModelAccountFilterInput | null,\n};\n\nexport type ModelAccountConnection = {\n __typename: \"ModelAccountConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type ModelServiceGroupFilterInput = {\n id?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n name?: ModelStringInput | null,\n industries?: ModelStringInput | null,\n default?: ModelBooleanInput | null,\n and?: Array< ModelServiceGroupFilterInput | null > | null,\n or?: Array< ModelServiceGroupFilterInput | null > | null,\n not?: ModelServiceGroupFilterInput | null,\n};\n\nexport type ModelServiceGroupConnection = {\n __typename: \"ModelServiceGroupConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type ModelServiceFilterInput = {\n id?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n name?: ModelStringInput | null,\n aliases?: ModelStringInput | null,\n active?: ModelBooleanInput | null,\n serviceGroupId?: ModelIDInput | null,\n industries?: ModelStringInput | null,\n and?: Array< ModelServiceFilterInput | null > | null,\n or?: Array< ModelServiceFilterInput | null > | null,\n not?: ModelServiceFilterInput | null,\n};\n\nexport type ModelLocationFilterInput = {\n id?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n organizationName?: ModelStringInput | null,\n active?: ModelBooleanInput | null,\n name?: ModelStringInput | null,\n aliases?: ModelStringInput | null,\n addressType?: ModelAddressTypeInput | null,\n address?: ModelStringInput | null,\n city?: ModelStringInput | null,\n state?: ModelStringInput | null,\n postalCode?: ModelStringInput | null,\n country?: ModelStringInput | null,\n latitude?: ModelFloatInput | null,\n longitude?: ModelFloatInput | null,\n and?: Array< ModelLocationFilterInput | null > | null,\n or?: Array< ModelLocationFilterInput | null > | null,\n not?: ModelLocationFilterInput | null,\n};\n\nexport type ModelLocationConnection = {\n __typename: \"ModelLocationConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type ModelProfileFilterInput = {\n id?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n alias?: ModelStringInput | null,\n active?: ModelBooleanInput | null,\n userId?: ModelIDInput | null,\n nickname?: ModelStringInput | null,\n availability?: ModelStringInput | null,\n availableDate?: ModelStringInput | null,\n desiredRate?: ModelStringInput | null,\n about?: ModelStringInput | null,\n resumeKey?: ModelStringInput | null,\n profileStatus?: ModelProfileStatusInput | null,\n statusMessage?: ModelStringInput | null,\n notes?: ModelStringInput | null,\n city?: ModelStringInput | null,\n state?: ModelStringInput | null,\n country?: ModelStringInput | null,\n federalExperience?: ModelFloatInput | null,\n totalExperience?: ModelFloatInput | null,\n industries?: ModelStringInput | null,\n securityClearance?: ModelStringInput | null,\n securityStatus?: ModelSecurityStatusInput | null,\n workSettings?: ModelWorkSettingListInput | null,\n credentials?: ModelStringInput | null,\n and?: Array< ModelProfileFilterInput | null > | null,\n or?: Array< ModelProfileFilterInput | null > | null,\n not?: ModelProfileFilterInput | null,\n};\n\nexport type ModelProfileLocationFilterInput = {\n id?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n userId?: ModelIDInput | null,\n profileId?: ModelIDInput | null,\n locationId?: ModelIDInput | null,\n and?: Array< ModelProfileLocationFilterInput | null > | null,\n or?: Array< ModelProfileLocationFilterInput | null > | null,\n not?: ModelProfileLocationFilterInput | null,\n};\n\nexport type ModelProfileServiceFilterInput = {\n id?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n userId?: ModelIDInput | null,\n profileId?: ModelIDInput | null,\n serviceId?: ModelIDInput | null,\n title?: ModelStringInput | null,\n industries?: ModelStringInput | null,\n and?: Array< ModelProfileServiceFilterInput | null > | null,\n or?: Array< ModelProfileServiceFilterInput | null > | null,\n not?: ModelProfileServiceFilterInput | null,\n};\n\nexport type ModelExperienceFilterInput = {\n id?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n userId?: ModelIDInput | null,\n profileId?: ModelIDInput | null,\n jobTitle?: ModelStringInput | null,\n agencyType?: ModelAgencyTypeInput | null,\n agencyName?: ModelStringInput | null,\n employerName?: ModelStringInput | null,\n employerLocation?: ModelStringInput | null,\n startDate?: ModelStringInput | null,\n endDate?: ModelStringInput | null,\n projectNo?: ModelStringInput | null,\n projectName?: ModelStringInput | null,\n projectLocation?: ModelStringInput | null,\n projectDollarAmount?: ModelIntInput | null,\n jobDescription?: ModelStringInput | null,\n and?: Array< ModelExperienceFilterInput | null > | null,\n or?: Array< ModelExperienceFilterInput | null > | null,\n not?: ModelExperienceFilterInput | null,\n};\n\nexport type ModelCertificationFilterInput = {\n id?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n userId?: ModelIDInput | null,\n profileId?: ModelIDInput | null,\n certificationType?: ModelStringInput | null,\n issuedAt?: ModelStringInput | null,\n expiresAt?: ModelStringInput | null,\n certificateKey?: ModelStringInput | null,\n and?: Array< ModelCertificationFilterInput | null > | null,\n or?: Array< ModelCertificationFilterInput | null > | null,\n not?: ModelCertificationFilterInput | null,\n};\n\nexport type ModelCertificationTypeFilterInput = {\n id?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n name?: ModelStringInput | null,\n active?: ModelBooleanInput | null,\n industries?: ModelStringInput | null,\n and?: Array< ModelCertificationTypeFilterInput | null > | null,\n or?: Array< ModelCertificationTypeFilterInput | null > | null,\n not?: ModelCertificationTypeFilterInput | null,\n};\n\nexport type ModelCertificationTypeConnection = {\n __typename: \"ModelCertificationTypeConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type ModelEducationFilterInput = {\n id?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n userId?: ModelIDInput | null,\n profileId?: ModelIDInput | null,\n school?: ModelStringInput | null,\n degree?: ModelStringInput | null,\n field?: ModelStringInput | null,\n startDate?: ModelStringInput | null,\n endDate?: ModelStringInput | null,\n description?: ModelStringInput | null,\n and?: Array< ModelEducationFilterInput | null > | null,\n or?: Array< ModelEducationFilterInput | null > | null,\n not?: ModelEducationFilterInput | null,\n};\n\nexport type ModelServiceRequestFilterInput = {\n id?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n accountId?: ModelIDInput | null,\n serviceRequestType?: ModelServiceRequestTypeInput | null,\n name?: ModelStringInput | null,\n status?: ModelStringInput | null,\n completedDate?: ModelStringInput | null,\n and?: Array< ModelServiceRequestFilterInput | null > | null,\n or?: Array< ModelServiceRequestFilterInput | null > | null,\n not?: ModelServiceRequestFilterInput | null,\n};\n\nexport type ModelServiceRequestConnection = {\n __typename: \"ModelServiceRequestConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type ModelContractFilterInput = {\n id?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n accountId?: ModelIDInput | null,\n issuedBy?: ModelStringInput | null,\n name?: ModelStringInput | null,\n number?: ModelStringInput | null,\n locationId?: ModelIDInput | null,\n startDate?: ModelStringInput | null,\n endDate?: ModelStringInput | null,\n perDiem?: ModelFloatInput | null,\n value?: ModelStringInput | null,\n category?: ModelStringInput | null,\n and?: Array< ModelContractFilterInput | null > | null,\n or?: Array< ModelContractFilterInput | null > | null,\n not?: ModelContractFilterInput | null,\n};\n\nexport type ModelJobPostFilterInput = {\n id?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n accountId?: ModelIDInput | null,\n contractId?: ModelIDInput | null,\n serviceRequestId?: ModelIDInput | null,\n locationId?: ModelStringInput | null,\n serviceId?: ModelIDInput | null,\n industries?: ModelStringInput | null,\n title?: ModelStringInput | null,\n summary?: ModelStringInput | null,\n description?: ModelStringInput | null,\n startDate?: ModelStringInput | null,\n endDate?: ModelStringInput | null,\n openDate?: ModelStringInput | null,\n filledDate?: ModelStringInput | null,\n closedDate?: ModelStringInput | null,\n employmentType?: ModelEmploymentTypeInput | null,\n annualSalaryLow?: ModelFloatInput | null,\n annualSalaryHigh?: ModelFloatInput | null,\n statusId?: ModelIDInput | null,\n status?: ModelJobPostStatusInput | null,\n openings?: ModelIntInput | null,\n invoiceId?: ModelStringInput | null,\n jobPostType?: ModelJobPostTypeInput | null,\n hiringDate?: ModelStringInput | null,\n unlocksAvailable?: ModelIntInput | null,\n featured?: ModelBooleanInput | null,\n questions?: ModelStringInput | null,\n workSettings?: ModelWorkSettingListInput | null,\n securityClearance?: ModelStringInput | null,\n and?: Array< ModelJobPostFilterInput | null > | null,\n or?: Array< ModelJobPostFilterInput | null > | null,\n not?: ModelJobPostFilterInput | null,\n};\n\nexport type ModelCourseFilterInput = {\n id?: ModelIDInput | null,\n createdAt?: ModelStringInput | null,\n updatedAt?: ModelStringInput | null,\n title?: ModelStringInput | null,\n description?: ModelStringInput | null,\n coverUrl?: ModelStringInput | null,\n details?: ModelStringInput | null,\n publishDate?: ModelStringInput | null,\n sunsetDate?: ModelStringInput | null,\n lessonCount?: ModelIntInput | null,\n creditHours?: ModelFloatInput | null,\n isFree?: ModelBooleanInput | null,\n lessons?: ModelStringInput | null,\n handoutUrl?: ModelStringInput | null,\n and?: Array< ModelCourseFilterInput | null > | null,\n or?: Array< ModelCourseFilterInput | null > | null,\n not?: ModelCourseFilterInput | null,\n};\n\nexport type ModelCourseConnection = {\n __typename: \"ModelCourseConnection\",\n items: Array,\n nextToken?: string | null,\n};\n\nexport type ModelSubscriptionUserFilterInput = {\n createdAt?: ModelSubscriptionStringInput | null,\n updatedAt?: ModelSubscriptionStringInput | null,\n active?: ModelSubscriptionBooleanInput | null,\n userStatus?: ModelSubscriptionStringInput | null,\n firstName?: ModelSubscriptionStringInput | null,\n lastName?: ModelSubscriptionStringInput | null,\n title?: ModelSubscriptionStringInput | null,\n email?: ModelSubscriptionStringInput | null,\n phone?: ModelSubscriptionStringInput | null,\n role?: ModelSubscriptionStringInput | null,\n address?: ModelSubscriptionStringInput | null,\n city?: ModelSubscriptionStringInput | null,\n state?: ModelSubscriptionStringInput | null,\n postalCode?: ModelSubscriptionStringInput | null,\n country?: ModelSubscriptionStringInput | null,\n industry?: ModelSubscriptionStringInput | null,\n lastActiveAt?: ModelSubscriptionStringInput | null,\n jobTitle?: ModelSubscriptionStringInput | null,\n invitedAt?: ModelSubscriptionStringInput | null,\n customerId?: ModelSubscriptionStringInput | null,\n and?: Array< ModelSubscriptionUserFilterInput | null > | null,\n or?: Array< ModelSubscriptionUserFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionStringInput = {\n ne?: string | null,\n eq?: string | null,\n le?: string | null,\n lt?: string | null,\n ge?: string | null,\n gt?: string | null,\n contains?: string | null,\n notContains?: string | null,\n between?: Array< string | null > | null,\n beginsWith?: string | null,\n in?: Array< string | null > | null,\n notIn?: Array< string | null > | null,\n};\n\nexport type ModelSubscriptionBooleanInput = {\n ne?: boolean | null,\n eq?: boolean | null,\n};\n\nexport type ModelSubscriptionAgreementFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n updatedAt?: ModelSubscriptionStringInput | null,\n accountId?: ModelSubscriptionIDInput | null,\n agreementTypes?: ModelSubscriptionStringInput | null,\n agreementKey?: ModelSubscriptionStringInput | null,\n and?: Array< ModelSubscriptionAgreementFilterInput | null > | null,\n or?: Array< ModelSubscriptionAgreementFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionIDInput = {\n ne?: string | null,\n eq?: string | null,\n le?: string | null,\n lt?: string | null,\n ge?: string | null,\n gt?: string | null,\n contains?: string | null,\n notContains?: string | null,\n between?: Array< string | null > | null,\n beginsWith?: string | null,\n in?: Array< string | null > | null,\n notIn?: Array< string | null > | null,\n};\n\nexport type ModelSubscriptionJobInterestFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n updatedAt?: ModelSubscriptionStringInput | null,\n jobPostId?: ModelSubscriptionIDInput | null,\n ranking?: ModelSubscriptionFloatInput | null,\n status?: ModelSubscriptionStringInput | null,\n notes?: ModelSubscriptionStringInput | null,\n message?: ModelSubscriptionStringInput | null,\n unlocked?: ModelSubscriptionBooleanInput | null,\n application?: ModelSubscriptionStringInput | null,\n origin?: ModelSubscriptionStringInput | null,\n and?: Array< ModelSubscriptionJobInterestFilterInput | null > | null,\n or?: Array< ModelSubscriptionJobInterestFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionFloatInput = {\n ne?: number | null,\n eq?: number | null,\n le?: number | null,\n lt?: number | null,\n ge?: number | null,\n gt?: number | null,\n between?: Array< number | null > | null,\n in?: Array< number | null > | null,\n notIn?: Array< number | null > | null,\n};\n\nexport type ModelSubscriptionJobCandidateFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n updatedAt?: ModelSubscriptionStringInput | null,\n jobPostId?: ModelSubscriptionIDInput | null,\n profileId?: ModelSubscriptionIDInput | null,\n status?: ModelSubscriptionStringInput | null,\n ranking?: ModelSubscriptionFloatInput | null,\n notes?: ModelSubscriptionStringInput | null,\n message?: ModelSubscriptionStringInput | null,\n unlocked?: ModelSubscriptionBooleanInput | null,\n application?: ModelSubscriptionStringInput | null,\n origin?: ModelSubscriptionStringInput | null,\n and?: Array< ModelSubscriptionJobCandidateFilterInput | null > | null,\n or?: Array< ModelSubscriptionJobCandidateFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionUserActivityFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n updatedAt?: ModelSubscriptionStringInput | null,\n subjectType?: ModelSubscriptionStringInput | null,\n subjectId?: ModelSubscriptionIDInput | null,\n activityType?: ModelSubscriptionStringInput | null,\n actorId?: ModelSubscriptionIDInput | null,\n actorName?: ModelSubscriptionStringInput | null,\n details?: ModelSubscriptionStringInput | null,\n and?: Array< ModelSubscriptionUserActivityFilterInput | null > | null,\n or?: Array< ModelSubscriptionUserActivityFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionLessonFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n updatedAt?: ModelSubscriptionStringInput | null,\n courseId?: ModelSubscriptionIDInput | null,\n number?: ModelSubscriptionIntInput | null,\n title?: ModelSubscriptionStringInput | null,\n description?: ModelSubscriptionStringInput | null,\n videoUrl?: ModelSubscriptionStringInput | null,\n videoDuration?: ModelSubscriptionIntInput | null,\n and?: Array< ModelSubscriptionLessonFilterInput | null > | null,\n or?: Array< ModelSubscriptionLessonFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionIntInput = {\n ne?: number | null,\n eq?: number | null,\n le?: number | null,\n lt?: number | null,\n ge?: number | null,\n gt?: number | null,\n between?: Array< number | null > | null,\n in?: Array< number | null > | null,\n notIn?: Array< number | null > | null,\n};\n\nexport type ModelSubscriptionQuestionFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n updatedAt?: ModelSubscriptionStringInput | null,\n lessonId?: ModelSubscriptionIDInput | null,\n number?: ModelSubscriptionIntInput | null,\n question?: ModelSubscriptionStringInput | null,\n answers?: ModelSubscriptionStringInput | null,\n correctAnswer?: ModelSubscriptionIntInput | null,\n and?: Array< ModelSubscriptionQuestionFilterInput | null > | null,\n or?: Array< ModelSubscriptionQuestionFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionClassFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n updatedAt?: ModelSubscriptionStringInput | null,\n courseId?: ModelSubscriptionIDInput | null,\n userId?: ModelSubscriptionIDInput | null,\n termBegin?: ModelSubscriptionStringInput | null,\n termEnd?: ModelSubscriptionStringInput | null,\n seatsPurchased?: ModelSubscriptionIntInput | null,\n seatsFilled?: ModelSubscriptionIntInput | null,\n couponCode?: ModelSubscriptionStringInput | null,\n assignmentSchedule?: ModelSubscriptionStringInput | null,\n and?: Array< ModelSubscriptionClassFilterInput | null > | null,\n or?: Array< ModelSubscriptionClassFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionRegistrationFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n updatedAt?: ModelSubscriptionStringInput | null,\n classId?: ModelSubscriptionIDInput | null,\n classStatus?: ModelSubscriptionStringInput | null,\n classProgress?: ModelSubscriptionFloatInput | null,\n lessonNumber?: ModelSubscriptionIntInput | null,\n lessonId?: ModelSubscriptionIDInput | null,\n lessonStatus?: ModelSubscriptionStringInput | null,\n videoProgress?: ModelSubscriptionFloatInput | null,\n answers?: ModelSubscriptionIntInput | null,\n score?: ModelSubscriptionFloatInput | null,\n startedAt?: ModelSubscriptionStringInput | null,\n endsAt?: ModelSubscriptionStringInput | null,\n completedAt?: ModelSubscriptionStringInput | null,\n lessonsAssigned?: ModelSubscriptionIntInput | null,\n nextAssignmentAt?: ModelSubscriptionStringInput | null,\n and?: Array< ModelSubscriptionRegistrationFilterInput | null > | null,\n or?: Array< ModelSubscriptionRegistrationFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionActivityFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n updatedAt?: ModelSubscriptionStringInput | null,\n activityDate?: ModelSubscriptionStringInput | null,\n activityType?: ModelSubscriptionStringInput | null,\n objectId?: ModelSubscriptionIDInput | null,\n values?: ModelSubscriptionStringInput | null,\n and?: Array< ModelSubscriptionActivityFilterInput | null > | null,\n or?: Array< ModelSubscriptionActivityFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionAccountFilterInput = {\n createdAt?: ModelSubscriptionStringInput | null,\n updatedAt?: ModelSubscriptionStringInput | null,\n name?: ModelSubscriptionStringInput | null,\n address?: ModelSubscriptionStringInput | null,\n city?: ModelSubscriptionStringInput | null,\n state?: ModelSubscriptionStringInput | null,\n postalCode?: ModelSubscriptionStringInput | null,\n country?: ModelSubscriptionStringInput | null,\n active?: ModelSubscriptionBooleanInput | null,\n dunsNumber?: ModelSubscriptionStringInput | null,\n cageCode?: ModelSubscriptionStringInput | null,\n naicsCode?: ModelSubscriptionStringInput | null,\n sicCode?: ModelSubscriptionStringInput | null,\n socioEconomicDesignation?: ModelSubscriptionStringInput | null,\n fein?: ModelSubscriptionStringInput | null,\n accountStatus?: ModelSubscriptionStringInput | null,\n phone?: ModelSubscriptionStringInput | null,\n webUrl?: ModelSubscriptionStringInput | null,\n accountType?: ModelSubscriptionStringInput | null,\n accountSize?: ModelSubscriptionStringInput | null,\n customerId?: ModelSubscriptionStringInput | null,\n industries?: ModelSubscriptionStringInput | null,\n and?: Array< ModelSubscriptionAccountFilterInput | null > | null,\n or?: Array< ModelSubscriptionAccountFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionServiceGroupFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n updatedAt?: ModelSubscriptionStringInput | null,\n name?: ModelSubscriptionStringInput | null,\n industries?: ModelSubscriptionStringInput | null,\n default?: ModelSubscriptionBooleanInput | null,\n and?: Array< ModelSubscriptionServiceGroupFilterInput | null > | null,\n or?: Array< ModelSubscriptionServiceGroupFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionServiceFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n updatedAt?: ModelSubscriptionStringInput | null,\n name?: ModelSubscriptionStringInput | null,\n aliases?: ModelSubscriptionStringInput | null,\n active?: ModelSubscriptionBooleanInput | null,\n serviceGroupId?: ModelSubscriptionIDInput | null,\n industries?: ModelSubscriptionStringInput | null,\n and?: Array< ModelSubscriptionServiceFilterInput | null > | null,\n or?: Array< ModelSubscriptionServiceFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionLocationFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n updatedAt?: ModelSubscriptionStringInput | null,\n organizationName?: ModelSubscriptionStringInput | null,\n active?: ModelSubscriptionBooleanInput | null,\n name?: ModelSubscriptionStringInput | null,\n aliases?: ModelSubscriptionStringInput | null,\n addressType?: ModelSubscriptionStringInput | null,\n address?: ModelSubscriptionStringInput | null,\n city?: ModelSubscriptionStringInput | null,\n state?: ModelSubscriptionStringInput | null,\n postalCode?: ModelSubscriptionStringInput | null,\n country?: ModelSubscriptionStringInput | null,\n latitude?: ModelSubscriptionFloatInput | null,\n longitude?: ModelSubscriptionFloatInput | null,\n and?: Array< ModelSubscriptionLocationFilterInput | null > | null,\n or?: Array< ModelSubscriptionLocationFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionProfileFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n updatedAt?: ModelSubscriptionStringInput | null,\n alias?: ModelSubscriptionStringInput | null,\n active?: ModelSubscriptionBooleanInput | null,\n nickname?: ModelSubscriptionStringInput | null,\n availability?: ModelSubscriptionStringInput | null,\n availableDate?: ModelSubscriptionStringInput | null,\n desiredRate?: ModelSubscriptionStringInput | null,\n about?: ModelSubscriptionStringInput | null,\n resumeKey?: ModelSubscriptionStringInput | null,\n profileStatus?: ModelSubscriptionStringInput | null,\n statusMessage?: ModelSubscriptionStringInput | null,\n notes?: ModelSubscriptionStringInput | null,\n city?: ModelSubscriptionStringInput | null,\n state?: ModelSubscriptionStringInput | null,\n country?: ModelSubscriptionStringInput | null,\n federalExperience?: ModelSubscriptionFloatInput | null,\n totalExperience?: ModelSubscriptionFloatInput | null,\n industries?: ModelSubscriptionStringInput | null,\n securityClearance?: ModelSubscriptionStringInput | null,\n securityStatus?: ModelSubscriptionStringInput | null,\n workSettings?: ModelSubscriptionStringInput | null,\n credentials?: ModelSubscriptionStringInput | null,\n and?: Array< ModelSubscriptionProfileFilterInput | null > | null,\n or?: Array< ModelSubscriptionProfileFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionProfileLocationFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n updatedAt?: ModelSubscriptionStringInput | null,\n profileId?: ModelSubscriptionIDInput | null,\n locationId?: ModelSubscriptionIDInput | null,\n and?: Array< ModelSubscriptionProfileLocationFilterInput | null > | null,\n or?: Array< ModelSubscriptionProfileLocationFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionProfileServiceFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n updatedAt?: ModelSubscriptionStringInput | null,\n profileId?: ModelSubscriptionIDInput | null,\n serviceId?: ModelSubscriptionIDInput | null,\n title?: ModelSubscriptionStringInput | null,\n industries?: ModelSubscriptionStringInput | null,\n and?: Array< ModelSubscriptionProfileServiceFilterInput | null > | null,\n or?: Array< ModelSubscriptionProfileServiceFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionExperienceFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n updatedAt?: ModelSubscriptionStringInput | null,\n profileId?: ModelSubscriptionIDInput | null,\n jobTitle?: ModelSubscriptionStringInput | null,\n agencyType?: ModelSubscriptionStringInput | null,\n agencyName?: ModelSubscriptionStringInput | null,\n employerName?: ModelSubscriptionStringInput | null,\n employerLocation?: ModelSubscriptionStringInput | null,\n startDate?: ModelSubscriptionStringInput | null,\n endDate?: ModelSubscriptionStringInput | null,\n projectNo?: ModelSubscriptionStringInput | null,\n projectName?: ModelSubscriptionStringInput | null,\n projectLocation?: ModelSubscriptionStringInput | null,\n projectDollarAmount?: ModelSubscriptionIntInput | null,\n jobDescription?: ModelSubscriptionStringInput | null,\n and?: Array< ModelSubscriptionExperienceFilterInput | null > | null,\n or?: Array< ModelSubscriptionExperienceFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionCertificationFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n updatedAt?: ModelSubscriptionStringInput | null,\n profileId?: ModelSubscriptionIDInput | null,\n certificationType?: ModelSubscriptionStringInput | null,\n issuedAt?: ModelSubscriptionStringInput | null,\n expiresAt?: ModelSubscriptionStringInput | null,\n certificateKey?: ModelSubscriptionStringInput | null,\n and?: Array< ModelSubscriptionCertificationFilterInput | null > | null,\n or?: Array< ModelSubscriptionCertificationFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionCertificationTypeFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n updatedAt?: ModelSubscriptionStringInput | null,\n name?: ModelSubscriptionStringInput | null,\n active?: ModelSubscriptionBooleanInput | null,\n industries?: ModelSubscriptionStringInput | null,\n and?: Array< ModelSubscriptionCertificationTypeFilterInput | null > | null,\n or?: Array< ModelSubscriptionCertificationTypeFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionEducationFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n updatedAt?: ModelSubscriptionStringInput | null,\n profileId?: ModelSubscriptionIDInput | null,\n school?: ModelSubscriptionStringInput | null,\n degree?: ModelSubscriptionStringInput | null,\n field?: ModelSubscriptionStringInput | null,\n startDate?: ModelSubscriptionStringInput | null,\n endDate?: ModelSubscriptionStringInput | null,\n description?: ModelSubscriptionStringInput | null,\n and?: Array< ModelSubscriptionEducationFilterInput | null > | null,\n or?: Array< ModelSubscriptionEducationFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionServiceRequestFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n updatedAt?: ModelSubscriptionStringInput | null,\n serviceRequestType?: ModelSubscriptionStringInput | null,\n name?: ModelSubscriptionStringInput | null,\n status?: ModelSubscriptionStringInput | null,\n completedDate?: ModelSubscriptionStringInput | null,\n and?: Array< ModelSubscriptionServiceRequestFilterInput | null > | null,\n or?: Array< ModelSubscriptionServiceRequestFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionContractFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n updatedAt?: ModelSubscriptionStringInput | null,\n issuedBy?: ModelSubscriptionStringInput | null,\n name?: ModelSubscriptionStringInput | null,\n number?: ModelSubscriptionStringInput | null,\n locationId?: ModelSubscriptionIDInput | null,\n startDate?: ModelSubscriptionStringInput | null,\n endDate?: ModelSubscriptionStringInput | null,\n perDiem?: ModelSubscriptionFloatInput | null,\n value?: ModelSubscriptionStringInput | null,\n category?: ModelSubscriptionStringInput | null,\n and?: Array< ModelSubscriptionContractFilterInput | null > | null,\n or?: Array< ModelSubscriptionContractFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionJobPostFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n updatedAt?: ModelSubscriptionStringInput | null,\n contractId?: ModelSubscriptionIDInput | null,\n serviceRequestId?: ModelSubscriptionIDInput | null,\n locationId?: ModelSubscriptionStringInput | null,\n serviceId?: ModelSubscriptionIDInput | null,\n industries?: ModelSubscriptionStringInput | null,\n title?: ModelSubscriptionStringInput | null,\n summary?: ModelSubscriptionStringInput | null,\n description?: ModelSubscriptionStringInput | null,\n startDate?: ModelSubscriptionStringInput | null,\n endDate?: ModelSubscriptionStringInput | null,\n openDate?: ModelSubscriptionStringInput | null,\n filledDate?: ModelSubscriptionStringInput | null,\n closedDate?: ModelSubscriptionStringInput | null,\n employmentType?: ModelSubscriptionStringInput | null,\n annualSalaryLow?: ModelSubscriptionFloatInput | null,\n annualSalaryHigh?: ModelSubscriptionFloatInput | null,\n statusId?: ModelSubscriptionIDInput | null,\n status?: ModelSubscriptionStringInput | null,\n openings?: ModelSubscriptionIntInput | null,\n invoiceId?: ModelSubscriptionStringInput | null,\n jobPostType?: ModelSubscriptionStringInput | null,\n hiringDate?: ModelSubscriptionStringInput | null,\n unlocksAvailable?: ModelSubscriptionIntInput | null,\n featured?: ModelSubscriptionBooleanInput | null,\n questions?: ModelSubscriptionStringInput | null,\n workSettings?: ModelSubscriptionStringInput | null,\n securityClearance?: ModelSubscriptionStringInput | null,\n and?: Array< ModelSubscriptionJobPostFilterInput | null > | null,\n or?: Array< ModelSubscriptionJobPostFilterInput | null > | null,\n};\n\nexport type ModelSubscriptionCourseFilterInput = {\n id?: ModelSubscriptionIDInput | null,\n createdAt?: ModelSubscriptionStringInput | null,\n updatedAt?: ModelSubscriptionStringInput | null,\n title?: ModelSubscriptionStringInput | null,\n description?: ModelSubscriptionStringInput | null,\n coverUrl?: ModelSubscriptionStringInput | null,\n details?: ModelSubscriptionStringInput | null,\n publishDate?: ModelSubscriptionStringInput | null,\n sunsetDate?: ModelSubscriptionStringInput | null,\n lessonCount?: ModelSubscriptionIntInput | null,\n creditHours?: ModelSubscriptionFloatInput | null,\n isFree?: ModelSubscriptionBooleanInput | null,\n lessons?: ModelSubscriptionStringInput | null,\n handoutUrl?: ModelSubscriptionStringInput | null,\n and?: Array< ModelSubscriptionCourseFilterInput | null > | null,\n or?: Array< ModelSubscriptionCourseFilterInput | null > | null,\n};\n\nexport type CreateAccountMutationVariables = {\n input: CreateAccountInput,\n condition?: ModelAccountConditionInput | null,\n};\n\nexport type CreateAccountMutation = {\n createAccount?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n items: Array< {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n items: Array< {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n items: Array< {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n accountId?: string | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n items: Array< {\n __typename: \"Activity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n userId: string,\n activityDate: string,\n activityType: ActivityType,\n objectId: string,\n values?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type UpdateAccountMutationVariables = {\n input: UpdateAccountInput,\n condition?: ModelAccountConditionInput | null,\n};\n\nexport type UpdateAccountMutation = {\n updateAccount?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n items: Array< {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n items: Array< {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n items: Array< {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n accountId?: string | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n items: Array< {\n __typename: \"Activity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n userId: string,\n activityDate: string,\n activityType: ActivityType,\n objectId: string,\n values?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type DeleteAccountMutationVariables = {\n input: DeleteAccountInput,\n condition?: ModelAccountConditionInput | null,\n};\n\nexport type DeleteAccountMutation = {\n deleteAccount?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n items: Array< {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n items: Array< {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n items: Array< {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n accountId?: string | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n items: Array< {\n __typename: \"Activity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n userId: string,\n activityDate: string,\n activityType: ActivityType,\n objectId: string,\n values?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type CreateUserMutationVariables = {\n input: CreateUserInput,\n condition?: ModelUserConditionInput | null,\n};\n\nexport type CreateUserMutation = {\n createUser?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n profiles?: {\n __typename: \"ModelProfileConnection\",\n items: Array< {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n nickname?: string | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n credentials?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n agreements?: {\n __typename: \"ModelAgreementConnection\",\n items: Array< {\n __typename: \"Agreement\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n accountId: string,\n agreementTypes?: Array< AgreementType | null > | null,\n agreementKey?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n items: Array< {\n __typename: \"Registration\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n classId: string,\n userId: string,\n classStatus: ClassStatus,\n classProgress: number,\n lessonNumber: number,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score: number,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n customerId?: string | null,\n } | null,\n};\n\nexport type UpdateUserMutationVariables = {\n input: UpdateUserInput,\n condition?: ModelUserConditionInput | null,\n};\n\nexport type UpdateUserMutation = {\n updateUser?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n profiles?: {\n __typename: \"ModelProfileConnection\",\n items: Array< {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n nickname?: string | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n credentials?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n agreements?: {\n __typename: \"ModelAgreementConnection\",\n items: Array< {\n __typename: \"Agreement\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n accountId: string,\n agreementTypes?: Array< AgreementType | null > | null,\n agreementKey?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n items: Array< {\n __typename: \"Registration\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n classId: string,\n userId: string,\n classStatus: ClassStatus,\n classProgress: number,\n lessonNumber: number,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score: number,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n customerId?: string | null,\n } | null,\n};\n\nexport type DeleteUserMutationVariables = {\n input: DeleteUserInput,\n condition?: ModelUserConditionInput | null,\n};\n\nexport type DeleteUserMutation = {\n deleteUser?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n profiles?: {\n __typename: \"ModelProfileConnection\",\n items: Array< {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n nickname?: string | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n credentials?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n agreements?: {\n __typename: \"ModelAgreementConnection\",\n items: Array< {\n __typename: \"Agreement\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n accountId: string,\n agreementTypes?: Array< AgreementType | null > | null,\n agreementKey?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n items: Array< {\n __typename: \"Registration\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n classId: string,\n userId: string,\n classStatus: ClassStatus,\n classProgress: number,\n lessonNumber: number,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score: number,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n customerId?: string | null,\n } | null,\n};\n\nexport type CreateServiceGroupMutationVariables = {\n input: CreateServiceGroupInput,\n condition?: ModelServiceGroupConditionInput | null,\n};\n\nexport type CreateServiceGroupMutation = {\n createServiceGroup?: {\n __typename: \"ServiceGroup\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n services?: {\n __typename: \"ModelServiceConnection\",\n items: Array< {\n __typename: \"Service\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n aliases?: Array< string | null > | null,\n active: boolean,\n serviceGroupId: string,\n industries?: Array< string | null > | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n industries?: Array< string | null > | null,\n default?: boolean | null,\n } | null,\n};\n\nexport type UpdateServiceGroupMutationVariables = {\n input: UpdateServiceGroupInput,\n condition?: ModelServiceGroupConditionInput | null,\n};\n\nexport type UpdateServiceGroupMutation = {\n updateServiceGroup?: {\n __typename: \"ServiceGroup\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n services?: {\n __typename: \"ModelServiceConnection\",\n items: Array< {\n __typename: \"Service\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n aliases?: Array< string | null > | null,\n active: boolean,\n serviceGroupId: string,\n industries?: Array< string | null > | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n industries?: Array< string | null > | null,\n default?: boolean | null,\n } | null,\n};\n\nexport type DeleteServiceGroupMutationVariables = {\n input: DeleteServiceGroupInput,\n condition?: ModelServiceGroupConditionInput | null,\n};\n\nexport type DeleteServiceGroupMutation = {\n deleteServiceGroup?: {\n __typename: \"ServiceGroup\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n services?: {\n __typename: \"ModelServiceConnection\",\n items: Array< {\n __typename: \"Service\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n aliases?: Array< string | null > | null,\n active: boolean,\n serviceGroupId: string,\n industries?: Array< string | null > | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n industries?: Array< string | null > | null,\n default?: boolean | null,\n } | null,\n};\n\nexport type CreateServiceMutationVariables = {\n input: CreateServiceInput,\n condition?: ModelServiceConditionInput | null,\n};\n\nexport type CreateServiceMutation = {\n createService?: {\n __typename: \"Service\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n aliases?: Array< string | null > | null,\n active: boolean,\n serviceGroupId: string,\n serviceGroup?: {\n __typename: \"ServiceGroup\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n services?: {\n __typename: \"ModelServiceConnection\",\n nextToken?: string | null,\n } | null,\n industries?: Array< string | null > | null,\n default?: boolean | null,\n } | null,\n industries?: Array< string | null > | null,\n } | null,\n};\n\nexport type UpdateServiceMutationVariables = {\n input: UpdateServiceInput,\n condition?: ModelServiceConditionInput | null,\n};\n\nexport type UpdateServiceMutation = {\n updateService?: {\n __typename: \"Service\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n aliases?: Array< string | null > | null,\n active: boolean,\n serviceGroupId: string,\n serviceGroup?: {\n __typename: \"ServiceGroup\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n services?: {\n __typename: \"ModelServiceConnection\",\n nextToken?: string | null,\n } | null,\n industries?: Array< string | null > | null,\n default?: boolean | null,\n } | null,\n industries?: Array< string | null > | null,\n } | null,\n};\n\nexport type DeleteServiceMutationVariables = {\n input: DeleteServiceInput,\n condition?: ModelServiceConditionInput | null,\n};\n\nexport type DeleteServiceMutation = {\n deleteService?: {\n __typename: \"Service\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n aliases?: Array< string | null > | null,\n active: boolean,\n serviceGroupId: string,\n serviceGroup?: {\n __typename: \"ServiceGroup\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n services?: {\n __typename: \"ModelServiceConnection\",\n nextToken?: string | null,\n } | null,\n industries?: Array< string | null > | null,\n default?: boolean | null,\n } | null,\n industries?: Array< string | null > | null,\n } | null,\n};\n\nexport type CreateLocationMutationVariables = {\n input: CreateLocationInput,\n condition?: ModelLocationConditionInput | null,\n};\n\nexport type CreateLocationMutation = {\n createLocation?: {\n __typename: \"Location\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n organizationName: string,\n active?: boolean | null,\n name: string,\n aliases?: Array< string | null > | null,\n addressType?: AddressType | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country: string,\n latitude: number,\n longitude: number,\n } | null,\n};\n\nexport type UpdateLocationMutationVariables = {\n input: UpdateLocationInput,\n condition?: ModelLocationConditionInput | null,\n};\n\nexport type UpdateLocationMutation = {\n updateLocation?: {\n __typename: \"Location\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n organizationName: string,\n active?: boolean | null,\n name: string,\n aliases?: Array< string | null > | null,\n addressType?: AddressType | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country: string,\n latitude: number,\n longitude: number,\n } | null,\n};\n\nexport type DeleteLocationMutationVariables = {\n input: DeleteLocationInput,\n condition?: ModelLocationConditionInput | null,\n};\n\nexport type DeleteLocationMutation = {\n deleteLocation?: {\n __typename: \"Location\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n organizationName: string,\n active?: boolean | null,\n name: string,\n aliases?: Array< string | null > | null,\n addressType?: AddressType | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country: string,\n latitude: number,\n longitude: number,\n } | null,\n};\n\nexport type CreateProfileMutationVariables = {\n input: CreateProfileInput,\n condition?: ModelProfileConditionInput | null,\n};\n\nexport type CreateProfileMutation = {\n createProfile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n profiles?: {\n __typename: \"ModelProfileConnection\",\n nextToken?: string | null,\n } | null,\n agreements?: {\n __typename: \"ModelAgreementConnection\",\n nextToken?: string | null,\n } | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n items: Array< {\n __typename: \"ProfileService\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n serviceId: string,\n title?: string | null,\n industries?: Array< string | null > | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n items: Array< {\n __typename: \"ProfileLocation\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n locationId: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n items: Array< {\n __typename: \"Experience\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n jobTitle?: string | null,\n agencyType?: AgencyType | null,\n agencyName?: string | null,\n employerName?: string | null,\n employerLocation?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n projectNo?: string | null,\n projectName?: string | null,\n projectLocation?: string | null,\n projectDollarAmount?: number | null,\n jobDescription?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n items: Array< {\n __typename: \"Education\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n school?: string | null,\n degree?: string | null,\n field?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n description?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n items: Array< {\n __typename: \"Certification\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n certificationType: string,\n issuedAt?: string | null,\n expiresAt?: string | null,\n certificateKey?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n};\n\nexport type UpdateProfileMutationVariables = {\n input: UpdateProfileInput,\n condition?: ModelProfileConditionInput | null,\n};\n\nexport type UpdateProfileMutation = {\n updateProfile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n profiles?: {\n __typename: \"ModelProfileConnection\",\n nextToken?: string | null,\n } | null,\n agreements?: {\n __typename: \"ModelAgreementConnection\",\n nextToken?: string | null,\n } | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n items: Array< {\n __typename: \"ProfileService\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n serviceId: string,\n title?: string | null,\n industries?: Array< string | null > | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n items: Array< {\n __typename: \"ProfileLocation\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n locationId: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n items: Array< {\n __typename: \"Experience\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n jobTitle?: string | null,\n agencyType?: AgencyType | null,\n agencyName?: string | null,\n employerName?: string | null,\n employerLocation?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n projectNo?: string | null,\n projectName?: string | null,\n projectLocation?: string | null,\n projectDollarAmount?: number | null,\n jobDescription?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n items: Array< {\n __typename: \"Education\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n school?: string | null,\n degree?: string | null,\n field?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n description?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n items: Array< {\n __typename: \"Certification\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n certificationType: string,\n issuedAt?: string | null,\n expiresAt?: string | null,\n certificateKey?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n};\n\nexport type DeleteProfileMutationVariables = {\n input: DeleteProfileInput,\n condition?: ModelProfileConditionInput | null,\n};\n\nexport type DeleteProfileMutation = {\n deleteProfile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n profiles?: {\n __typename: \"ModelProfileConnection\",\n nextToken?: string | null,\n } | null,\n agreements?: {\n __typename: \"ModelAgreementConnection\",\n nextToken?: string | null,\n } | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n items: Array< {\n __typename: \"ProfileService\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n serviceId: string,\n title?: string | null,\n industries?: Array< string | null > | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n items: Array< {\n __typename: \"ProfileLocation\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n locationId: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n items: Array< {\n __typename: \"Experience\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n jobTitle?: string | null,\n agencyType?: AgencyType | null,\n agencyName?: string | null,\n employerName?: string | null,\n employerLocation?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n projectNo?: string | null,\n projectName?: string | null,\n projectLocation?: string | null,\n projectDollarAmount?: number | null,\n jobDescription?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n items: Array< {\n __typename: \"Education\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n school?: string | null,\n degree?: string | null,\n field?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n description?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n items: Array< {\n __typename: \"Certification\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n certificationType: string,\n issuedAt?: string | null,\n expiresAt?: string | null,\n certificateKey?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n};\n\nexport type CreateProfileLocationMutationVariables = {\n input: CreateProfileLocationInput,\n condition?: ModelProfileLocationConditionInput | null,\n};\n\nexport type CreateProfileLocationMutation = {\n createProfileLocation?: {\n __typename: \"ProfileLocation\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n locationId: string,\n } | null,\n};\n\nexport type UpdateProfileLocationMutationVariables = {\n input: UpdateProfileLocationInput,\n condition?: ModelProfileLocationConditionInput | null,\n};\n\nexport type UpdateProfileLocationMutation = {\n updateProfileLocation?: {\n __typename: \"ProfileLocation\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n locationId: string,\n } | null,\n};\n\nexport type DeleteProfileLocationMutationVariables = {\n input: DeleteProfileLocationInput,\n condition?: ModelProfileLocationConditionInput | null,\n};\n\nexport type DeleteProfileLocationMutation = {\n deleteProfileLocation?: {\n __typename: \"ProfileLocation\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n locationId: string,\n } | null,\n};\n\nexport type CreateProfileServiceMutationVariables = {\n input: CreateProfileServiceInput,\n condition?: ModelProfileServiceConditionInput | null,\n};\n\nexport type CreateProfileServiceMutation = {\n createProfileService?: {\n __typename: \"ProfileService\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n serviceId: string,\n title?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n};\n\nexport type UpdateProfileServiceMutationVariables = {\n input: UpdateProfileServiceInput,\n condition?: ModelProfileServiceConditionInput | null,\n};\n\nexport type UpdateProfileServiceMutation = {\n updateProfileService?: {\n __typename: \"ProfileService\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n serviceId: string,\n title?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n};\n\nexport type DeleteProfileServiceMutationVariables = {\n input: DeleteProfileServiceInput,\n condition?: ModelProfileServiceConditionInput | null,\n};\n\nexport type DeleteProfileServiceMutation = {\n deleteProfileService?: {\n __typename: \"ProfileService\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n serviceId: string,\n title?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n};\n\nexport type CreateExperienceMutationVariables = {\n input: CreateExperienceInput,\n condition?: ModelExperienceConditionInput | null,\n};\n\nexport type CreateExperienceMutation = {\n createExperience?: {\n __typename: \"Experience\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n jobTitle?: string | null,\n agencyType?: AgencyType | null,\n agencyName?: string | null,\n employerName?: string | null,\n employerLocation?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n projectNo?: string | null,\n projectName?: string | null,\n projectLocation?: string | null,\n projectDollarAmount?: number | null,\n jobDescription?: string | null,\n } | null,\n};\n\nexport type UpdateExperienceMutationVariables = {\n input: UpdateExperienceInput,\n condition?: ModelExperienceConditionInput | null,\n};\n\nexport type UpdateExperienceMutation = {\n updateExperience?: {\n __typename: \"Experience\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n jobTitle?: string | null,\n agencyType?: AgencyType | null,\n agencyName?: string | null,\n employerName?: string | null,\n employerLocation?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n projectNo?: string | null,\n projectName?: string | null,\n projectLocation?: string | null,\n projectDollarAmount?: number | null,\n jobDescription?: string | null,\n } | null,\n};\n\nexport type DeleteExperienceMutationVariables = {\n input: DeleteExperienceInput,\n condition?: ModelExperienceConditionInput | null,\n};\n\nexport type DeleteExperienceMutation = {\n deleteExperience?: {\n __typename: \"Experience\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n jobTitle?: string | null,\n agencyType?: AgencyType | null,\n agencyName?: string | null,\n employerName?: string | null,\n employerLocation?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n projectNo?: string | null,\n projectName?: string | null,\n projectLocation?: string | null,\n projectDollarAmount?: number | null,\n jobDescription?: string | null,\n } | null,\n};\n\nexport type CreateCertificationMutationVariables = {\n input: CreateCertificationInput,\n condition?: ModelCertificationConditionInput | null,\n};\n\nexport type CreateCertificationMutation = {\n createCertification?: {\n __typename: \"Certification\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n certificationType: string,\n issuedAt?: string | null,\n expiresAt?: string | null,\n certificateKey?: string | null,\n } | null,\n};\n\nexport type UpdateCertificationMutationVariables = {\n input: UpdateCertificationInput,\n condition?: ModelCertificationConditionInput | null,\n};\n\nexport type UpdateCertificationMutation = {\n updateCertification?: {\n __typename: \"Certification\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n certificationType: string,\n issuedAt?: string | null,\n expiresAt?: string | null,\n certificateKey?: string | null,\n } | null,\n};\n\nexport type DeleteCertificationMutationVariables = {\n input: DeleteCertificationInput,\n condition?: ModelCertificationConditionInput | null,\n};\n\nexport type DeleteCertificationMutation = {\n deleteCertification?: {\n __typename: \"Certification\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n certificationType: string,\n issuedAt?: string | null,\n expiresAt?: string | null,\n certificateKey?: string | null,\n } | null,\n};\n\nexport type CreateCertificationTypeMutationVariables = {\n input: CreateCertificationTypeInput,\n condition?: ModelCertificationTypeConditionInput | null,\n};\n\nexport type CreateCertificationTypeMutation = {\n createCertificationType?: {\n __typename: \"CertificationType\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n active: boolean,\n industries?: Array< string | null > | null,\n } | null,\n};\n\nexport type UpdateCertificationTypeMutationVariables = {\n input: UpdateCertificationTypeInput,\n condition?: ModelCertificationTypeConditionInput | null,\n};\n\nexport type UpdateCertificationTypeMutation = {\n updateCertificationType?: {\n __typename: \"CertificationType\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n active: boolean,\n industries?: Array< string | null > | null,\n } | null,\n};\n\nexport type DeleteCertificationTypeMutationVariables = {\n input: DeleteCertificationTypeInput,\n condition?: ModelCertificationTypeConditionInput | null,\n};\n\nexport type DeleteCertificationTypeMutation = {\n deleteCertificationType?: {\n __typename: \"CertificationType\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n active: boolean,\n industries?: Array< string | null > | null,\n } | null,\n};\n\nexport type CreateAgreementMutationVariables = {\n input: CreateAgreementInput,\n condition?: ModelAgreementConditionInput | null,\n};\n\nexport type CreateAgreementMutation = {\n createAgreement?: {\n __typename: \"Agreement\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n accountId: string,\n agreementTypes?: Array< AgreementType | null > | null,\n agreementKey?: string | null,\n } | null,\n};\n\nexport type UpdateAgreementMutationVariables = {\n input: UpdateAgreementInput,\n condition?: ModelAgreementConditionInput | null,\n};\n\nexport type UpdateAgreementMutation = {\n updateAgreement?: {\n __typename: \"Agreement\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n accountId: string,\n agreementTypes?: Array< AgreementType | null > | null,\n agreementKey?: string | null,\n } | null,\n};\n\nexport type DeleteAgreementMutationVariables = {\n input: DeleteAgreementInput,\n condition?: ModelAgreementConditionInput | null,\n};\n\nexport type DeleteAgreementMutation = {\n deleteAgreement?: {\n __typename: \"Agreement\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n accountId: string,\n agreementTypes?: Array< AgreementType | null > | null,\n agreementKey?: string | null,\n } | null,\n};\n\nexport type CreateEducationMutationVariables = {\n input: CreateEducationInput,\n condition?: ModelEducationConditionInput | null,\n};\n\nexport type CreateEducationMutation = {\n createEducation?: {\n __typename: \"Education\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n school?: string | null,\n degree?: string | null,\n field?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n description?: string | null,\n } | null,\n};\n\nexport type UpdateEducationMutationVariables = {\n input: UpdateEducationInput,\n condition?: ModelEducationConditionInput | null,\n};\n\nexport type UpdateEducationMutation = {\n updateEducation?: {\n __typename: \"Education\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n school?: string | null,\n degree?: string | null,\n field?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n description?: string | null,\n } | null,\n};\n\nexport type DeleteEducationMutationVariables = {\n input: DeleteEducationInput,\n condition?: ModelEducationConditionInput | null,\n};\n\nexport type DeleteEducationMutation = {\n deleteEducation?: {\n __typename: \"Education\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n school?: string | null,\n degree?: string | null,\n field?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n description?: string | null,\n } | null,\n};\n\nexport type CreateServiceRequestMutationVariables = {\n input: CreateServiceRequestInput,\n condition?: ModelServiceRequestConditionInput | null,\n};\n\nexport type CreateServiceRequestMutation = {\n createServiceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n items: Array< {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n contractId?: string | null,\n serviceRequestId?: string | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type UpdateServiceRequestMutationVariables = {\n input: UpdateServiceRequestInput,\n condition?: ModelServiceRequestConditionInput | null,\n};\n\nexport type UpdateServiceRequestMutation = {\n updateServiceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n items: Array< {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n contractId?: string | null,\n serviceRequestId?: string | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type DeleteServiceRequestMutationVariables = {\n input: DeleteServiceRequestInput,\n condition?: ModelServiceRequestConditionInput | null,\n};\n\nexport type DeleteServiceRequestMutation = {\n deleteServiceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n items: Array< {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n contractId?: string | null,\n serviceRequestId?: string | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type CreateContractMutationVariables = {\n input: CreateContractInput,\n condition?: ModelContractConditionInput | null,\n};\n\nexport type CreateContractMutation = {\n createContract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n items: Array< {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n contractId?: string | null,\n serviceRequestId?: string | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type UpdateContractMutationVariables = {\n input: UpdateContractInput,\n condition?: ModelContractConditionInput | null,\n};\n\nexport type UpdateContractMutation = {\n updateContract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n items: Array< {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n contractId?: string | null,\n serviceRequestId?: string | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type DeleteContractMutationVariables = {\n input: DeleteContractInput,\n condition?: ModelContractConditionInput | null,\n};\n\nexport type DeleteContractMutation = {\n deleteContract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n items: Array< {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n contractId?: string | null,\n serviceRequestId?: string | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type CreateJobPostMutationVariables = {\n input: CreateJobPostInput,\n condition?: ModelJobPostConditionInput | null,\n};\n\nexport type CreateJobPostMutation = {\n createJobPost?: {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n contractId?: string | null,\n contract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n serviceRequestId?: string | null,\n serviceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n jobCandidates?: {\n __typename: \"ModelJobCandidateConnection\",\n items: Array< {\n __typename: \"JobCandidate\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n jobPostId: string,\n accountId: string,\n profileId: string,\n status?: JobCandidateStatus | null,\n ranking?: number | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null,\n};\n\nexport type UpdateJobPostMutationVariables = {\n input: UpdateJobPostInput,\n condition?: ModelJobPostConditionInput | null,\n};\n\nexport type UpdateJobPostMutation = {\n updateJobPost?: {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n contractId?: string | null,\n contract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n serviceRequestId?: string | null,\n serviceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n jobCandidates?: {\n __typename: \"ModelJobCandidateConnection\",\n items: Array< {\n __typename: \"JobCandidate\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n jobPostId: string,\n accountId: string,\n profileId: string,\n status?: JobCandidateStatus | null,\n ranking?: number | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null,\n};\n\nexport type DeleteJobPostMutationVariables = {\n input: DeleteJobPostInput,\n condition?: ModelJobPostConditionInput | null,\n};\n\nexport type DeleteJobPostMutation = {\n deleteJobPost?: {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n contractId?: string | null,\n contract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n serviceRequestId?: string | null,\n serviceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n jobCandidates?: {\n __typename: \"ModelJobCandidateConnection\",\n items: Array< {\n __typename: \"JobCandidate\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n jobPostId: string,\n accountId: string,\n profileId: string,\n status?: JobCandidateStatus | null,\n ranking?: number | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null,\n};\n\nexport type CreateJobInterestMutationVariables = {\n input: CreateJobInterestInput,\n condition?: ModelJobInterestConditionInput | null,\n};\n\nexport type CreateJobInterestMutation = {\n createJobInterest?: {\n __typename: \"JobInterest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n jobPostId: string,\n ranking?: number | null,\n status?: JobInterestStatus | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null,\n};\n\nexport type UpdateJobInterestMutationVariables = {\n input: UpdateJobInterestInput,\n condition?: ModelJobInterestConditionInput | null,\n};\n\nexport type UpdateJobInterestMutation = {\n updateJobInterest?: {\n __typename: \"JobInterest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n jobPostId: string,\n ranking?: number | null,\n status?: JobInterestStatus | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null,\n};\n\nexport type DeleteJobInterestMutationVariables = {\n input: DeleteJobInterestInput,\n condition?: ModelJobInterestConditionInput | null,\n};\n\nexport type DeleteJobInterestMutation = {\n deleteJobInterest?: {\n __typename: \"JobInterest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n jobPostId: string,\n ranking?: number | null,\n status?: JobInterestStatus | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null,\n};\n\nexport type CreateJobCandidateMutationVariables = {\n input: CreateJobCandidateInput,\n condition?: ModelJobCandidateConditionInput | null,\n};\n\nexport type CreateJobCandidateMutation = {\n createJobCandidate?: {\n __typename: \"JobCandidate\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n jobPostId: string,\n jobPost?: {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n contractId?: string | null,\n contract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n } | null,\n serviceRequestId?: string | null,\n serviceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n } | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n jobCandidates?: {\n __typename: \"ModelJobCandidateConnection\",\n nextToken?: string | null,\n } | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n status?: JobCandidateStatus | null,\n ranking?: number | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null,\n};\n\nexport type UpdateJobCandidateMutationVariables = {\n input: UpdateJobCandidateInput,\n condition?: ModelJobCandidateConditionInput | null,\n};\n\nexport type UpdateJobCandidateMutation = {\n updateJobCandidate?: {\n __typename: \"JobCandidate\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n jobPostId: string,\n jobPost?: {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n contractId?: string | null,\n contract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n } | null,\n serviceRequestId?: string | null,\n serviceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n } | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n jobCandidates?: {\n __typename: \"ModelJobCandidateConnection\",\n nextToken?: string | null,\n } | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n status?: JobCandidateStatus | null,\n ranking?: number | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null,\n};\n\nexport type DeleteJobCandidateMutationVariables = {\n input: DeleteJobCandidateInput,\n condition?: ModelJobCandidateConditionInput | null,\n};\n\nexport type DeleteJobCandidateMutation = {\n deleteJobCandidate?: {\n __typename: \"JobCandidate\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n jobPostId: string,\n jobPost?: {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n contractId?: string | null,\n contract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n } | null,\n serviceRequestId?: string | null,\n serviceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n } | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n jobCandidates?: {\n __typename: \"ModelJobCandidateConnection\",\n nextToken?: string | null,\n } | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n status?: JobCandidateStatus | null,\n ranking?: number | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null,\n};\n\nexport type CreateUserActivityMutationVariables = {\n input: CreateUserActivityInput,\n condition?: ModelUserActivityConditionInput | null,\n};\n\nexport type CreateUserActivityMutation = {\n createUserActivity?: {\n __typename: \"UserActivity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n subjectType: SubjectType,\n subjectId: string,\n activityType: string,\n actorId: string,\n actorName?: string | null,\n accountId: string,\n details?: string | null,\n } | null,\n};\n\nexport type UpdateUserActivityMutationVariables = {\n input: UpdateUserActivityInput,\n condition?: ModelUserActivityConditionInput | null,\n};\n\nexport type UpdateUserActivityMutation = {\n updateUserActivity?: {\n __typename: \"UserActivity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n subjectType: SubjectType,\n subjectId: string,\n activityType: string,\n actorId: string,\n actorName?: string | null,\n accountId: string,\n details?: string | null,\n } | null,\n};\n\nexport type DeleteUserActivityMutationVariables = {\n input: DeleteUserActivityInput,\n condition?: ModelUserActivityConditionInput | null,\n};\n\nexport type DeleteUserActivityMutation = {\n deleteUserActivity?: {\n __typename: \"UserActivity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n subjectType: SubjectType,\n subjectId: string,\n activityType: string,\n actorId: string,\n actorName?: string | null,\n accountId: string,\n details?: string | null,\n } | null,\n};\n\nexport type CreateCourseMutationVariables = {\n input: CreateCourseInput,\n condition?: ModelCourseConditionInput | null,\n};\n\nexport type CreateCourseMutation = {\n createCourse?: {\n __typename: \"Course\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n items: Array< {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n accountId?: string | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type UpdateCourseMutationVariables = {\n input: UpdateCourseInput,\n condition?: ModelCourseConditionInput | null,\n};\n\nexport type UpdateCourseMutation = {\n updateCourse?: {\n __typename: \"Course\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n items: Array< {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n accountId?: string | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type DeleteCourseMutationVariables = {\n input: DeleteCourseInput,\n condition?: ModelCourseConditionInput | null,\n};\n\nexport type DeleteCourseMutation = {\n deleteCourse?: {\n __typename: \"Course\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n items: Array< {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n accountId?: string | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type CreateLessonMutationVariables = {\n input: CreateLessonInput,\n condition?: ModelLessonConditionInput | null,\n};\n\nexport type CreateLessonMutation = {\n createLesson?: {\n __typename: \"Lesson\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n number: number,\n title: string,\n description?: string | null,\n videoUrl?: string | null,\n videoDuration?: number | null,\n questions?: {\n __typename: \"ModelQuestionConnection\",\n items: Array< {\n __typename: \"Question\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n lessonId: string,\n number?: number | null,\n question: string,\n answers?: Array< string | null > | null,\n correctAnswer?: number | null,\n lessonQuestionsId?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type UpdateLessonMutationVariables = {\n input: UpdateLessonInput,\n condition?: ModelLessonConditionInput | null,\n};\n\nexport type UpdateLessonMutation = {\n updateLesson?: {\n __typename: \"Lesson\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n number: number,\n title: string,\n description?: string | null,\n videoUrl?: string | null,\n videoDuration?: number | null,\n questions?: {\n __typename: \"ModelQuestionConnection\",\n items: Array< {\n __typename: \"Question\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n lessonId: string,\n number?: number | null,\n question: string,\n answers?: Array< string | null > | null,\n correctAnswer?: number | null,\n lessonQuestionsId?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type DeleteLessonMutationVariables = {\n input: DeleteLessonInput,\n condition?: ModelLessonConditionInput | null,\n};\n\nexport type DeleteLessonMutation = {\n deleteLesson?: {\n __typename: \"Lesson\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n number: number,\n title: string,\n description?: string | null,\n videoUrl?: string | null,\n videoDuration?: number | null,\n questions?: {\n __typename: \"ModelQuestionConnection\",\n items: Array< {\n __typename: \"Question\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n lessonId: string,\n number?: number | null,\n question: string,\n answers?: Array< string | null > | null,\n correctAnswer?: number | null,\n lessonQuestionsId?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type CreateQuestionMutationVariables = {\n input: CreateQuestionInput,\n condition?: ModelQuestionConditionInput | null,\n};\n\nexport type CreateQuestionMutation = {\n createQuestion?: {\n __typename: \"Question\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n lessonId: string,\n lesson?: {\n __typename: \"Lesson\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n number: number,\n title: string,\n description?: string | null,\n videoUrl?: string | null,\n videoDuration?: number | null,\n questions?: {\n __typename: \"ModelQuestionConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n number?: number | null,\n question: string,\n answers?: Array< string | null > | null,\n correctAnswer?: number | null,\n lessonQuestionsId?: string | null,\n } | null,\n};\n\nexport type UpdateQuestionMutationVariables = {\n input: UpdateQuestionInput,\n condition?: ModelQuestionConditionInput | null,\n};\n\nexport type UpdateQuestionMutation = {\n updateQuestion?: {\n __typename: \"Question\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n lessonId: string,\n lesson?: {\n __typename: \"Lesson\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n number: number,\n title: string,\n description?: string | null,\n videoUrl?: string | null,\n videoDuration?: number | null,\n questions?: {\n __typename: \"ModelQuestionConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n number?: number | null,\n question: string,\n answers?: Array< string | null > | null,\n correctAnswer?: number | null,\n lessonQuestionsId?: string | null,\n } | null,\n};\n\nexport type DeleteQuestionMutationVariables = {\n input: DeleteQuestionInput,\n condition?: ModelQuestionConditionInput | null,\n};\n\nexport type DeleteQuestionMutation = {\n deleteQuestion?: {\n __typename: \"Question\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n lessonId: string,\n lesson?: {\n __typename: \"Lesson\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n number: number,\n title: string,\n description?: string | null,\n videoUrl?: string | null,\n videoDuration?: number | null,\n questions?: {\n __typename: \"ModelQuestionConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n number?: number | null,\n question: string,\n answers?: Array< string | null > | null,\n correctAnswer?: number | null,\n lessonQuestionsId?: string | null,\n } | null,\n};\n\nexport type CreateClassMutationVariables = {\n input: CreateClassInput,\n condition?: ModelClassConditionInput | null,\n};\n\nexport type CreateClassMutation = {\n createClass?: {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n accountId?: string | null,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n items: Array< {\n __typename: \"Registration\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n classId: string,\n userId: string,\n classStatus: ClassStatus,\n classProgress: number,\n lessonNumber: number,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score: number,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type UpdateClassMutationVariables = {\n input: UpdateClassInput,\n condition?: ModelClassConditionInput | null,\n};\n\nexport type UpdateClassMutation = {\n updateClass?: {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n accountId?: string | null,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n items: Array< {\n __typename: \"Registration\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n classId: string,\n userId: string,\n classStatus: ClassStatus,\n classProgress: number,\n lessonNumber: number,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score: number,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type DeleteClassMutationVariables = {\n input: DeleteClassInput,\n condition?: ModelClassConditionInput | null,\n};\n\nexport type DeleteClassMutation = {\n deleteClass?: {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n accountId?: string | null,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n items: Array< {\n __typename: \"Registration\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n classId: string,\n userId: string,\n classStatus: ClassStatus,\n classProgress: number,\n lessonNumber: number,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score: number,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type CreateRegistrationMutationVariables = {\n input: CreateRegistrationInput,\n condition?: ModelRegistrationConditionInput | null,\n};\n\nexport type CreateRegistrationMutation = {\n createRegistration?: {\n __typename: \"Registration\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n classId: string,\n class?: {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n } | null,\n accountId?: string | null,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n profiles?: {\n __typename: \"ModelProfileConnection\",\n nextToken?: string | null,\n } | null,\n agreements?: {\n __typename: \"ModelAgreementConnection\",\n nextToken?: string | null,\n } | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n customerId?: string | null,\n } | null,\n classStatus: ClassStatus,\n classProgress: number,\n lessonNumber: number,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score: number,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n } | null,\n};\n\nexport type UpdateRegistrationMutationVariables = {\n input: UpdateRegistrationInput,\n condition?: ModelRegistrationConditionInput | null,\n};\n\nexport type UpdateRegistrationMutation = {\n updateRegistration?: {\n __typename: \"Registration\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n classId: string,\n class?: {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n } | null,\n accountId?: string | null,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n profiles?: {\n __typename: \"ModelProfileConnection\",\n nextToken?: string | null,\n } | null,\n agreements?: {\n __typename: \"ModelAgreementConnection\",\n nextToken?: string | null,\n } | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n customerId?: string | null,\n } | null,\n classStatus: ClassStatus,\n classProgress: number,\n lessonNumber: number,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score: number,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n } | null,\n};\n\nexport type DeleteRegistrationMutationVariables = {\n input: DeleteRegistrationInput,\n condition?: ModelRegistrationConditionInput | null,\n};\n\nexport type DeleteRegistrationMutation = {\n deleteRegistration?: {\n __typename: \"Registration\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n classId: string,\n class?: {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n } | null,\n accountId?: string | null,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n profiles?: {\n __typename: \"ModelProfileConnection\",\n nextToken?: string | null,\n } | null,\n agreements?: {\n __typename: \"ModelAgreementConnection\",\n nextToken?: string | null,\n } | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n customerId?: string | null,\n } | null,\n classStatus: ClassStatus,\n classProgress: number,\n lessonNumber: number,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score: number,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n } | null,\n};\n\nexport type CreateActivityMutationVariables = {\n input: CreateActivityInput,\n condition?: ModelActivityConditionInput | null,\n};\n\nexport type CreateActivityMutation = {\n createActivity?: {\n __typename: \"Activity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n },\n userId: string,\n activityDate: string,\n activityType: ActivityType,\n objectId: string,\n values?: string | null,\n } | null,\n};\n\nexport type UpdateActivityMutationVariables = {\n input: UpdateActivityInput,\n condition?: ModelActivityConditionInput | null,\n};\n\nexport type UpdateActivityMutation = {\n updateActivity?: {\n __typename: \"Activity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n },\n userId: string,\n activityDate: string,\n activityType: ActivityType,\n objectId: string,\n values?: string | null,\n } | null,\n};\n\nexport type DeleteActivityMutationVariables = {\n input: DeleteActivityInput,\n condition?: ModelActivityConditionInput | null,\n};\n\nexport type DeleteActivityMutation = {\n deleteActivity?: {\n __typename: \"Activity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n },\n userId: string,\n activityDate: string,\n activityType: ActivityType,\n objectId: string,\n values?: string | null,\n } | null,\n};\n\nexport type GetUserQueryVariables = {\n id: string,\n};\n\nexport type GetUserQuery = {\n getUser?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n profiles?: {\n __typename: \"ModelProfileConnection\",\n items: Array< {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n nickname?: string | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n credentials?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n agreements?: {\n __typename: \"ModelAgreementConnection\",\n items: Array< {\n __typename: \"Agreement\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n accountId: string,\n agreementTypes?: Array< AgreementType | null > | null,\n agreementKey?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n items: Array< {\n __typename: \"Registration\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n classId: string,\n userId: string,\n classStatus: ClassStatus,\n classProgress: number,\n lessonNumber: number,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score: number,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n customerId?: string | null,\n } | null,\n};\n\nexport type ListUsersQueryVariables = {\n id?: string | null,\n filter?: ModelUserFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListUsersQuery = {\n listUsers?: {\n __typename: \"ModelUserConnection\",\n items: Array< {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n profiles?: {\n __typename: \"ModelProfileConnection\",\n nextToken?: string | null,\n } | null,\n agreements?: {\n __typename: \"ModelAgreementConnection\",\n nextToken?: string | null,\n } | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n customerId?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetAgreementQueryVariables = {\n id: string,\n};\n\nexport type GetAgreementQuery = {\n getAgreement?: {\n __typename: \"Agreement\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n accountId: string,\n agreementTypes?: Array< AgreementType | null > | null,\n agreementKey?: string | null,\n } | null,\n};\n\nexport type ListAgreementsQueryVariables = {\n id?: string | null,\n filter?: ModelAgreementFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListAgreementsQuery = {\n listAgreements?: {\n __typename: \"ModelAgreementConnection\",\n items: Array< {\n __typename: \"Agreement\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n accountId: string,\n agreementTypes?: Array< AgreementType | null > | null,\n agreementKey?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetJobInterestQueryVariables = {\n id: string,\n};\n\nexport type GetJobInterestQuery = {\n getJobInterest?: {\n __typename: \"JobInterest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n jobPostId: string,\n ranking?: number | null,\n status?: JobInterestStatus | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null,\n};\n\nexport type ListJobInterestsQueryVariables = {\n id?: string | null,\n filter?: ModelJobInterestFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListJobInterestsQuery = {\n listJobInterests?: {\n __typename: \"ModelJobInterestConnection\",\n items: Array< {\n __typename: \"JobInterest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n jobPostId: string,\n ranking?: number | null,\n status?: JobInterestStatus | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetJobCandidateQueryVariables = {\n id: string,\n};\n\nexport type GetJobCandidateQuery = {\n getJobCandidate?: {\n __typename: \"JobCandidate\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n jobPostId: string,\n jobPost?: {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n contractId?: string | null,\n contract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n } | null,\n serviceRequestId?: string | null,\n serviceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n } | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n jobCandidates?: {\n __typename: \"ModelJobCandidateConnection\",\n nextToken?: string | null,\n } | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n status?: JobCandidateStatus | null,\n ranking?: number | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null,\n};\n\nexport type ListJobCandidatesQueryVariables = {\n id?: string | null,\n filter?: ModelJobCandidateFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListJobCandidatesQuery = {\n listJobCandidates?: {\n __typename: \"ModelJobCandidateConnection\",\n items: Array< {\n __typename: \"JobCandidate\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n jobPostId: string,\n jobPost?: {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n contractId?: string | null,\n serviceRequestId?: string | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n nickname?: string | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n credentials?: string | null,\n } | null,\n status?: JobCandidateStatus | null,\n ranking?: number | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetUserActivityQueryVariables = {\n id: string,\n};\n\nexport type GetUserActivityQuery = {\n getUserActivity?: {\n __typename: \"UserActivity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n subjectType: SubjectType,\n subjectId: string,\n activityType: string,\n actorId: string,\n actorName?: string | null,\n accountId: string,\n details?: string | null,\n } | null,\n};\n\nexport type ListUserActivitiesQueryVariables = {\n id?: string | null,\n filter?: ModelUserActivityFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListUserActivitiesQuery = {\n listUserActivities?: {\n __typename: \"ModelUserActivityConnection\",\n items: Array< {\n __typename: \"UserActivity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n subjectType: SubjectType,\n subjectId: string,\n activityType: string,\n actorId: string,\n actorName?: string | null,\n accountId: string,\n details?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetLessonQueryVariables = {\n id: string,\n};\n\nexport type GetLessonQuery = {\n getLesson?: {\n __typename: \"Lesson\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n number: number,\n title: string,\n description?: string | null,\n videoUrl?: string | null,\n videoDuration?: number | null,\n questions?: {\n __typename: \"ModelQuestionConnection\",\n items: Array< {\n __typename: \"Question\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n lessonId: string,\n number?: number | null,\n question: string,\n answers?: Array< string | null > | null,\n correctAnswer?: number | null,\n lessonQuestionsId?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type ListLessonsQueryVariables = {\n id?: string | null,\n filter?: ModelLessonFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListLessonsQuery = {\n listLessons?: {\n __typename: \"ModelLessonConnection\",\n items: Array< {\n __typename: \"Lesson\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n number: number,\n title: string,\n description?: string | null,\n videoUrl?: string | null,\n videoDuration?: number | null,\n questions?: {\n __typename: \"ModelQuestionConnection\",\n nextToken?: string | null,\n } | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetQuestionQueryVariables = {\n id: string,\n};\n\nexport type GetQuestionQuery = {\n getQuestion?: {\n __typename: \"Question\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n lessonId: string,\n lesson?: {\n __typename: \"Lesson\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n number: number,\n title: string,\n description?: string | null,\n videoUrl?: string | null,\n videoDuration?: number | null,\n questions?: {\n __typename: \"ModelQuestionConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n number?: number | null,\n question: string,\n answers?: Array< string | null > | null,\n correctAnswer?: number | null,\n lessonQuestionsId?: string | null,\n } | null,\n};\n\nexport type ListQuestionsQueryVariables = {\n id?: string | null,\n filter?: ModelQuestionFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListQuestionsQuery = {\n listQuestions?: {\n __typename: \"ModelQuestionConnection\",\n items: Array< {\n __typename: \"Question\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n lessonId: string,\n lesson?: {\n __typename: \"Lesson\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n number: number,\n title: string,\n description?: string | null,\n videoUrl?: string | null,\n videoDuration?: number | null,\n } | null,\n number?: number | null,\n question: string,\n answers?: Array< string | null > | null,\n correctAnswer?: number | null,\n lessonQuestionsId?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetClassQueryVariables = {\n id: string,\n};\n\nexport type GetClassQuery = {\n getClass?: {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n accountId?: string | null,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n items: Array< {\n __typename: \"Registration\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n classId: string,\n userId: string,\n classStatus: ClassStatus,\n classProgress: number,\n lessonNumber: number,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score: number,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type ListClassesQueryVariables = {\n id?: string | null,\n filter?: ModelClassFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListClassesQuery = {\n listClasses?: {\n __typename: \"ModelClassConnection\",\n items: Array< {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n } | null,\n accountId?: string | null,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetRegistrationQueryVariables = {\n id: string,\n};\n\nexport type GetRegistrationQuery = {\n getRegistration?: {\n __typename: \"Registration\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n classId: string,\n class?: {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n } | null,\n accountId?: string | null,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n profiles?: {\n __typename: \"ModelProfileConnection\",\n nextToken?: string | null,\n } | null,\n agreements?: {\n __typename: \"ModelAgreementConnection\",\n nextToken?: string | null,\n } | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n customerId?: string | null,\n } | null,\n classStatus: ClassStatus,\n classProgress: number,\n lessonNumber: number,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score: number,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n } | null,\n};\n\nexport type ListRegistrationsQueryVariables = {\n id?: string | null,\n filter?: ModelRegistrationFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListRegistrationsQuery = {\n listRegistrations?: {\n __typename: \"ModelRegistrationConnection\",\n items: Array< {\n __typename: \"Registration\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n classId: string,\n class?: {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n accountId?: string | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n } | null,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n classStatus: ClassStatus,\n classProgress: number,\n lessonNumber: number,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score: number,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetActivityQueryVariables = {\n id: string,\n};\n\nexport type GetActivityQuery = {\n getActivity?: {\n __typename: \"Activity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n },\n userId: string,\n activityDate: string,\n activityType: ActivityType,\n objectId: string,\n values?: string | null,\n } | null,\n};\n\nexport type ListActivitiesQueryVariables = {\n id?: string | null,\n filter?: ModelActivityFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListActivitiesQuery = {\n listActivities?: {\n __typename: \"ModelActivityConnection\",\n items: Array< {\n __typename: \"Activity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n },\n userId: string,\n activityDate: string,\n activityType: ActivityType,\n objectId: string,\n values?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListUsersByAccountQueryVariables = {\n accountId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelUserFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListUsersByAccountQuery = {\n listUsersByAccount?: {\n __typename: \"ModelUserConnection\",\n items: Array< {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n profiles?: {\n __typename: \"ModelProfileConnection\",\n nextToken?: string | null,\n } | null,\n agreements?: {\n __typename: \"ModelAgreementConnection\",\n nextToken?: string | null,\n } | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n customerId?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListUsersByRoleAndAccountQueryVariables = {\n role: UserRole,\n accountId?: ModelIDKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelUserFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListUsersByRoleAndAccountQuery = {\n listUsersByRoleAndAccount?: {\n __typename: \"ModelUserConnection\",\n items: Array< {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n profiles?: {\n __typename: \"ModelProfileConnection\",\n nextToken?: string | null,\n } | null,\n agreements?: {\n __typename: \"ModelAgreementConnection\",\n nextToken?: string | null,\n } | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n customerId?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListAgreementsByUserQueryVariables = {\n userId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelAgreementFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListAgreementsByUserQuery = {\n listAgreementsByUser?: {\n __typename: \"ModelAgreementConnection\",\n items: Array< {\n __typename: \"Agreement\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n accountId: string,\n agreementTypes?: Array< AgreementType | null > | null,\n agreementKey?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListAgreementsByAccountQueryVariables = {\n accountId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelAgreementFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListAgreementsByAccountQuery = {\n listAgreementsByAccount?: {\n __typename: \"ModelAgreementConnection\",\n items: Array< {\n __typename: \"Agreement\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n accountId: string,\n agreementTypes?: Array< AgreementType | null > | null,\n agreementKey?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListJobInterestsByUserQueryVariables = {\n userId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelJobInterestFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListJobInterestsByUserQuery = {\n listJobInterestsByUser?: {\n __typename: \"ModelJobInterestConnection\",\n items: Array< {\n __typename: \"JobInterest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n jobPostId: string,\n ranking?: number | null,\n status?: JobInterestStatus | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListJobInterestsByJobPostQueryVariables = {\n jobPostId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelJobInterestFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListJobInterestsByJobPostQuery = {\n listJobInterestsByJobPost?: {\n __typename: \"ModelJobInterestConnection\",\n items: Array< {\n __typename: \"JobInterest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n jobPostId: string,\n ranking?: number | null,\n status?: JobInterestStatus | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListJobCandidatesByJobPostQueryVariables = {\n jobPostId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelJobCandidateFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListJobCandidatesByJobPostQuery = {\n listJobCandidatesByJobPost?: {\n __typename: \"ModelJobCandidateConnection\",\n items: Array< {\n __typename: \"JobCandidate\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n jobPostId: string,\n jobPost?: {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n contractId?: string | null,\n serviceRequestId?: string | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n nickname?: string | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n credentials?: string | null,\n } | null,\n status?: JobCandidateStatus | null,\n ranking?: number | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListJobCandidatesByAccountQueryVariables = {\n accountId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelJobCandidateFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListJobCandidatesByAccountQuery = {\n listJobCandidatesByAccount?: {\n __typename: \"ModelJobCandidateConnection\",\n items: Array< {\n __typename: \"JobCandidate\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n jobPostId: string,\n jobPost?: {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n contractId?: string | null,\n serviceRequestId?: string | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n nickname?: string | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n credentials?: string | null,\n } | null,\n status?: JobCandidateStatus | null,\n ranking?: number | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListJobCandidatesByProfileQueryVariables = {\n profileId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelJobCandidateFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListJobCandidatesByProfileQuery = {\n listJobCandidatesByProfile?: {\n __typename: \"ModelJobCandidateConnection\",\n items: Array< {\n __typename: \"JobCandidate\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n jobPostId: string,\n jobPost?: {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n contractId?: string | null,\n serviceRequestId?: string | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n nickname?: string | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n credentials?: string | null,\n } | null,\n status?: JobCandidateStatus | null,\n ranking?: number | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListUserActivityByUserQueryVariables = {\n userId: string,\n createdAt?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelUserActivityFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListUserActivityByUserQuery = {\n listUserActivityByUser?: {\n __typename: \"ModelUserActivityConnection\",\n items: Array< {\n __typename: \"UserActivity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n subjectType: SubjectType,\n subjectId: string,\n activityType: string,\n actorId: string,\n actorName?: string | null,\n accountId: string,\n details?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListUserActivityBySubjectQueryVariables = {\n subjectId: string,\n createdAt?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelUserActivityFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListUserActivityBySubjectQuery = {\n listUserActivityBySubject?: {\n __typename: \"ModelUserActivityConnection\",\n items: Array< {\n __typename: \"UserActivity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n subjectType: SubjectType,\n subjectId: string,\n activityType: string,\n actorId: string,\n actorName?: string | null,\n accountId: string,\n details?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListClasesByCourseQueryVariables = {\n courseId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelClassFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListClasesByCourseQuery = {\n listClasesByCourse?: {\n __typename: \"ModelClassConnection\",\n items: Array< {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n } | null,\n accountId?: string | null,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListClassesByAccountQueryVariables = {\n accountId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelClassFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListClassesByAccountQuery = {\n listClassesByAccount?: {\n __typename: \"ModelClassConnection\",\n items: Array< {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n } | null,\n accountId?: string | null,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListRegistrationsByClassQueryVariables = {\n classId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelRegistrationFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListRegistrationsByClassQuery = {\n listRegistrationsByClass?: {\n __typename: \"ModelRegistrationConnection\",\n items: Array< {\n __typename: \"Registration\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n classId: string,\n class?: {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n accountId?: string | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n } | null,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n classStatus: ClassStatus,\n classProgress: number,\n lessonNumber: number,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score: number,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListRegistrationsByUserQueryVariables = {\n userId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelRegistrationFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListRegistrationsByUserQuery = {\n listRegistrationsByUser?: {\n __typename: \"ModelRegistrationConnection\",\n items: Array< {\n __typename: \"Registration\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n classId: string,\n class?: {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n accountId?: string | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n } | null,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n classStatus: ClassStatus,\n classProgress: number,\n lessonNumber: number,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score: number,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListActivityByDateQueryVariables = {\n activityDate: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelActivityFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListActivityByDateQuery = {\n listActivityByDate?: {\n __typename: \"ModelActivityConnection\",\n items: Array< {\n __typename: \"Activity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n },\n userId: string,\n activityDate: string,\n activityType: ActivityType,\n objectId: string,\n values?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetAccountQueryVariables = {\n id: string,\n};\n\nexport type GetAccountQuery = {\n getAccount?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n items: Array< {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n items: Array< {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n items: Array< {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n accountId?: string | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n items: Array< {\n __typename: \"Activity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n userId: string,\n activityDate: string,\n activityType: ActivityType,\n objectId: string,\n values?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type ListAccountsQueryVariables = {\n id?: string | null,\n filter?: ModelAccountFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListAccountsQuery = {\n listAccounts?: {\n __typename: \"ModelAccountConnection\",\n items: Array< {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetServiceGroupQueryVariables = {\n id: string,\n};\n\nexport type GetServiceGroupQuery = {\n getServiceGroup?: {\n __typename: \"ServiceGroup\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n services?: {\n __typename: \"ModelServiceConnection\",\n items: Array< {\n __typename: \"Service\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n aliases?: Array< string | null > | null,\n active: boolean,\n serviceGroupId: string,\n industries?: Array< string | null > | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n industries?: Array< string | null > | null,\n default?: boolean | null,\n } | null,\n};\n\nexport type ListServiceGroupsQueryVariables = {\n id?: string | null,\n filter?: ModelServiceGroupFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListServiceGroupsQuery = {\n listServiceGroups?: {\n __typename: \"ModelServiceGroupConnection\",\n items: Array< {\n __typename: \"ServiceGroup\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n services?: {\n __typename: \"ModelServiceConnection\",\n nextToken?: string | null,\n } | null,\n industries?: Array< string | null > | null,\n default?: boolean | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetServiceQueryVariables = {\n id: string,\n};\n\nexport type GetServiceQuery = {\n getService?: {\n __typename: \"Service\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n aliases?: Array< string | null > | null,\n active: boolean,\n serviceGroupId: string,\n serviceGroup?: {\n __typename: \"ServiceGroup\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n services?: {\n __typename: \"ModelServiceConnection\",\n nextToken?: string | null,\n } | null,\n industries?: Array< string | null > | null,\n default?: boolean | null,\n } | null,\n industries?: Array< string | null > | null,\n } | null,\n};\n\nexport type ListServicesQueryVariables = {\n id?: string | null,\n filter?: ModelServiceFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListServicesQuery = {\n listServices?: {\n __typename: \"ModelServiceConnection\",\n items: Array< {\n __typename: \"Service\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n aliases?: Array< string | null > | null,\n active: boolean,\n serviceGroupId: string,\n serviceGroup?: {\n __typename: \"ServiceGroup\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n industries?: Array< string | null > | null,\n default?: boolean | null,\n } | null,\n industries?: Array< string | null > | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetLocationQueryVariables = {\n id: string,\n};\n\nexport type GetLocationQuery = {\n getLocation?: {\n __typename: \"Location\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n organizationName: string,\n active?: boolean | null,\n name: string,\n aliases?: Array< string | null > | null,\n addressType?: AddressType | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country: string,\n latitude: number,\n longitude: number,\n } | null,\n};\n\nexport type ListLocationsQueryVariables = {\n id?: string | null,\n filter?: ModelLocationFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListLocationsQuery = {\n listLocations?: {\n __typename: \"ModelLocationConnection\",\n items: Array< {\n __typename: \"Location\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n organizationName: string,\n active?: boolean | null,\n name: string,\n aliases?: Array< string | null > | null,\n addressType?: AddressType | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country: string,\n latitude: number,\n longitude: number,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetProfileQueryVariables = {\n id: string,\n};\n\nexport type GetProfileQuery = {\n getProfile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n profiles?: {\n __typename: \"ModelProfileConnection\",\n nextToken?: string | null,\n } | null,\n agreements?: {\n __typename: \"ModelAgreementConnection\",\n nextToken?: string | null,\n } | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n items: Array< {\n __typename: \"ProfileService\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n serviceId: string,\n title?: string | null,\n industries?: Array< string | null > | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n items: Array< {\n __typename: \"ProfileLocation\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n locationId: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n items: Array< {\n __typename: \"Experience\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n jobTitle?: string | null,\n agencyType?: AgencyType | null,\n agencyName?: string | null,\n employerName?: string | null,\n employerLocation?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n projectNo?: string | null,\n projectName?: string | null,\n projectLocation?: string | null,\n projectDollarAmount?: number | null,\n jobDescription?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n items: Array< {\n __typename: \"Education\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n school?: string | null,\n degree?: string | null,\n field?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n description?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n items: Array< {\n __typename: \"Certification\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n certificationType: string,\n issuedAt?: string | null,\n expiresAt?: string | null,\n certificateKey?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n};\n\nexport type ListProfilesQueryVariables = {\n id?: string | null,\n filter?: ModelProfileFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListProfilesQuery = {\n listProfiles?: {\n __typename: \"ModelProfileConnection\",\n items: Array< {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListProfilesByAliasQueryVariables = {\n alias: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelProfileFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListProfilesByAliasQuery = {\n listProfilesByAlias?: {\n __typename: \"ModelProfileConnection\",\n items: Array< {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListProfilesByUserQueryVariables = {\n userId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelProfileFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListProfilesByUserQuery = {\n listProfilesByUser?: {\n __typename: \"ModelProfileConnection\",\n items: Array< {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetProfileLocationQueryVariables = {\n id: string,\n};\n\nexport type GetProfileLocationQuery = {\n getProfileLocation?: {\n __typename: \"ProfileLocation\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n locationId: string,\n } | null,\n};\n\nexport type ListProfileLocationsQueryVariables = {\n id?: string | null,\n filter?: ModelProfileLocationFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListProfileLocationsQuery = {\n listProfileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n items: Array< {\n __typename: \"ProfileLocation\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n nickname?: string | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n credentials?: string | null,\n } | null,\n locationId: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListLocationsByProfileQueryVariables = {\n profileId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelProfileLocationFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListLocationsByProfileQuery = {\n listLocationsByProfile?: {\n __typename: \"ModelProfileLocationConnection\",\n items: Array< {\n __typename: \"ProfileLocation\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n nickname?: string | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n credentials?: string | null,\n } | null,\n locationId: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListProfilesByLocationQueryVariables = {\n locationId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelProfileLocationFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListProfilesByLocationQuery = {\n listProfilesByLocation?: {\n __typename: \"ModelProfileLocationConnection\",\n items: Array< {\n __typename: \"ProfileLocation\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n nickname?: string | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n credentials?: string | null,\n } | null,\n locationId: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetProfileServiceQueryVariables = {\n id: string,\n};\n\nexport type GetProfileServiceQuery = {\n getProfileService?: {\n __typename: \"ProfileService\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n serviceId: string,\n title?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n};\n\nexport type ListProfileServicesQueryVariables = {\n id?: string | null,\n filter?: ModelProfileServiceFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListProfileServicesQuery = {\n listProfileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n items: Array< {\n __typename: \"ProfileService\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n nickname?: string | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n credentials?: string | null,\n } | null,\n serviceId: string,\n title?: string | null,\n industries?: Array< string | null > | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListServicesByProfileQueryVariables = {\n profileId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelProfileServiceFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListServicesByProfileQuery = {\n listServicesByProfile?: {\n __typename: \"ModelProfileServiceConnection\",\n items: Array< {\n __typename: \"ProfileService\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n nickname?: string | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n credentials?: string | null,\n } | null,\n serviceId: string,\n title?: string | null,\n industries?: Array< string | null > | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListProfilesByServiceQueryVariables = {\n serviceId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelProfileServiceFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListProfilesByServiceQuery = {\n listProfilesByService?: {\n __typename: \"ModelProfileServiceConnection\",\n items: Array< {\n __typename: \"ProfileService\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n nickname?: string | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n credentials?: string | null,\n } | null,\n serviceId: string,\n title?: string | null,\n industries?: Array< string | null > | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetExperienceQueryVariables = {\n id: string,\n};\n\nexport type GetExperienceQuery = {\n getExperience?: {\n __typename: \"Experience\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n jobTitle?: string | null,\n agencyType?: AgencyType | null,\n agencyName?: string | null,\n employerName?: string | null,\n employerLocation?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n projectNo?: string | null,\n projectName?: string | null,\n projectLocation?: string | null,\n projectDollarAmount?: number | null,\n jobDescription?: string | null,\n } | null,\n};\n\nexport type ListExperiencesQueryVariables = {\n id?: string | null,\n filter?: ModelExperienceFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListExperiencesQuery = {\n listExperiences?: {\n __typename: \"ModelExperienceConnection\",\n items: Array< {\n __typename: \"Experience\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n nickname?: string | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n credentials?: string | null,\n } | null,\n jobTitle?: string | null,\n agencyType?: AgencyType | null,\n agencyName?: string | null,\n employerName?: string | null,\n employerLocation?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n projectNo?: string | null,\n projectName?: string | null,\n projectLocation?: string | null,\n projectDollarAmount?: number | null,\n jobDescription?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListExperiencesByProfileQueryVariables = {\n profileId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelExperienceFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListExperiencesByProfileQuery = {\n listExperiencesByProfile?: {\n __typename: \"ModelExperienceConnection\",\n items: Array< {\n __typename: \"Experience\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n nickname?: string | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n credentials?: string | null,\n } | null,\n jobTitle?: string | null,\n agencyType?: AgencyType | null,\n agencyName?: string | null,\n employerName?: string | null,\n employerLocation?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n projectNo?: string | null,\n projectName?: string | null,\n projectLocation?: string | null,\n projectDollarAmount?: number | null,\n jobDescription?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetCertificationQueryVariables = {\n id: string,\n};\n\nexport type GetCertificationQuery = {\n getCertification?: {\n __typename: \"Certification\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n certificationType: string,\n issuedAt?: string | null,\n expiresAt?: string | null,\n certificateKey?: string | null,\n } | null,\n};\n\nexport type ListCertificationsQueryVariables = {\n id?: string | null,\n filter?: ModelCertificationFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListCertificationsQuery = {\n listCertifications?: {\n __typename: \"ModelCertificationConnection\",\n items: Array< {\n __typename: \"Certification\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n nickname?: string | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n credentials?: string | null,\n } | null,\n certificationType: string,\n issuedAt?: string | null,\n expiresAt?: string | null,\n certificateKey?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListCertificationsByProfileQueryVariables = {\n profileId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelCertificationFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListCertificationsByProfileQuery = {\n listCertificationsByProfile?: {\n __typename: \"ModelCertificationConnection\",\n items: Array< {\n __typename: \"Certification\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n nickname?: string | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n credentials?: string | null,\n } | null,\n certificationType: string,\n issuedAt?: string | null,\n expiresAt?: string | null,\n certificateKey?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetCertificationTypeQueryVariables = {\n id: string,\n};\n\nexport type GetCertificationTypeQuery = {\n getCertificationType?: {\n __typename: \"CertificationType\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n active: boolean,\n industries?: Array< string | null > | null,\n } | null,\n};\n\nexport type ListCertificationTypesQueryVariables = {\n id?: string | null,\n filter?: ModelCertificationTypeFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListCertificationTypesQuery = {\n listCertificationTypes?: {\n __typename: \"ModelCertificationTypeConnection\",\n items: Array< {\n __typename: \"CertificationType\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n active: boolean,\n industries?: Array< string | null > | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetEducationQueryVariables = {\n id: string,\n};\n\nexport type GetEducationQuery = {\n getEducation?: {\n __typename: \"Education\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n school?: string | null,\n degree?: string | null,\n field?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n description?: string | null,\n } | null,\n};\n\nexport type ListEducationsQueryVariables = {\n id?: string | null,\n filter?: ModelEducationFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListEducationsQuery = {\n listEducations?: {\n __typename: \"ModelEducationConnection\",\n items: Array< {\n __typename: \"Education\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n nickname?: string | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n credentials?: string | null,\n } | null,\n school?: string | null,\n degree?: string | null,\n field?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n description?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListEducationByProfileQueryVariables = {\n profileId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelEducationFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListEducationByProfileQuery = {\n listEducationByProfile?: {\n __typename: \"ModelEducationConnection\",\n items: Array< {\n __typename: \"Education\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n nickname?: string | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n credentials?: string | null,\n } | null,\n school?: string | null,\n degree?: string | null,\n field?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n description?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetServiceRequestQueryVariables = {\n id: string,\n};\n\nexport type GetServiceRequestQuery = {\n getServiceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n items: Array< {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n contractId?: string | null,\n serviceRequestId?: string | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type ListServiceRequestsQueryVariables = {\n id?: string | null,\n filter?: ModelServiceRequestFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListServiceRequestsQuery = {\n listServiceRequests?: {\n __typename: \"ModelServiceRequestConnection\",\n items: Array< {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n nextToken?: string | null,\n } | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListServiceRequestsByAccountQueryVariables = {\n accountId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelServiceRequestFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListServiceRequestsByAccountQuery = {\n listServiceRequestsByAccount?: {\n __typename: \"ModelServiceRequestConnection\",\n items: Array< {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n nextToken?: string | null,\n } | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetContractQueryVariables = {\n id: string,\n};\n\nexport type GetContractQuery = {\n getContract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n items: Array< {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n contractId?: string | null,\n serviceRequestId?: string | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type ListContractsQueryVariables = {\n id?: string | null,\n filter?: ModelContractFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListContractsQuery = {\n listContracts?: {\n __typename: \"ModelContractConnection\",\n items: Array< {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n nextToken?: string | null,\n } | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListContractsByAccountQueryVariables = {\n accountId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelContractFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListContractsByAccountQuery = {\n listContractsByAccount?: {\n __typename: \"ModelContractConnection\",\n items: Array< {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n nextToken?: string | null,\n } | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetJobPostQueryVariables = {\n id: string,\n};\n\nexport type GetJobPostQuery = {\n getJobPost?: {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n contractId?: string | null,\n contract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n serviceRequestId?: string | null,\n serviceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n jobCandidates?: {\n __typename: \"ModelJobCandidateConnection\",\n items: Array< {\n __typename: \"JobCandidate\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n jobPostId: string,\n accountId: string,\n profileId: string,\n status?: JobCandidateStatus | null,\n ranking?: number | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null,\n};\n\nexport type ListJobPostsQueryVariables = {\n id?: string | null,\n filter?: ModelJobPostFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListJobPostsQuery = {\n listJobPosts?: {\n __typename: \"ModelJobPostConnection\",\n items: Array< {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n contractId?: string | null,\n contract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n } | null,\n serviceRequestId?: string | null,\n serviceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n } | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n jobCandidates?: {\n __typename: \"ModelJobCandidateConnection\",\n nextToken?: string | null,\n } | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListJobPostsByAccountQueryVariables = {\n accountId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelJobPostFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListJobPostsByAccountQuery = {\n listJobPostsByAccount?: {\n __typename: \"ModelJobPostConnection\",\n items: Array< {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n contractId?: string | null,\n contract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n } | null,\n serviceRequestId?: string | null,\n serviceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n } | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n jobCandidates?: {\n __typename: \"ModelJobCandidateConnection\",\n nextToken?: string | null,\n } | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListJobPostsByContractQueryVariables = {\n contractId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelJobPostFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListJobPostsByContractQuery = {\n listJobPostsByContract?: {\n __typename: \"ModelJobPostConnection\",\n items: Array< {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n contractId?: string | null,\n contract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n } | null,\n serviceRequestId?: string | null,\n serviceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n } | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n jobCandidates?: {\n __typename: \"ModelJobCandidateConnection\",\n nextToken?: string | null,\n } | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListJobPostsByServiceRequestQueryVariables = {\n serviceRequestId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelJobPostFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListJobPostsByServiceRequestQuery = {\n listJobPostsByServiceRequest?: {\n __typename: \"ModelJobPostConnection\",\n items: Array< {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n contractId?: string | null,\n contract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n } | null,\n serviceRequestId?: string | null,\n serviceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n } | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n jobCandidates?: {\n __typename: \"ModelJobCandidateConnection\",\n nextToken?: string | null,\n } | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListJobPostsByLocationQueryVariables = {\n locationId: string,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelJobPostFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListJobPostsByLocationQuery = {\n listJobPostsByLocation?: {\n __typename: \"ModelJobPostConnection\",\n items: Array< {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n contractId?: string | null,\n contract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n } | null,\n serviceRequestId?: string | null,\n serviceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n } | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n jobCandidates?: {\n __typename: \"ModelJobCandidateConnection\",\n nextToken?: string | null,\n } | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type ListJobPostsByServiceQueryVariables = {\n serviceId: string,\n locationId?: ModelStringKeyConditionInput | null,\n sortDirection?: ModelSortDirection | null,\n filter?: ModelJobPostFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n};\n\nexport type ListJobPostsByServiceQuery = {\n listJobPostsByService?: {\n __typename: \"ModelJobPostConnection\",\n items: Array< {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n contractId?: string | null,\n contract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n } | null,\n serviceRequestId?: string | null,\n serviceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n } | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n jobCandidates?: {\n __typename: \"ModelJobCandidateConnection\",\n nextToken?: string | null,\n } | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type GetCourseQueryVariables = {\n id: string,\n};\n\nexport type GetCourseQuery = {\n getCourse?: {\n __typename: \"Course\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n items: Array< {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n accountId?: string | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type ListCoursesQueryVariables = {\n id?: string | null,\n filter?: ModelCourseFilterInput | null,\n limit?: number | null,\n nextToken?: string | null,\n sortDirection?: ModelSortDirection | null,\n};\n\nexport type ListCoursesQuery = {\n listCourses?: {\n __typename: \"ModelCourseConnection\",\n items: Array< {\n __typename: \"Course\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n};\n\nexport type OnCreateUserSubscriptionVariables = {\n filter?: ModelSubscriptionUserFilterInput | null,\n id?: string | null,\n};\n\nexport type OnCreateUserSubscription = {\n onCreateUser?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n profiles?: {\n __typename: \"ModelProfileConnection\",\n items: Array< {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n nickname?: string | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n credentials?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n agreements?: {\n __typename: \"ModelAgreementConnection\",\n items: Array< {\n __typename: \"Agreement\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n accountId: string,\n agreementTypes?: Array< AgreementType | null > | null,\n agreementKey?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n items: Array< {\n __typename: \"Registration\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n classId: string,\n userId: string,\n classStatus: ClassStatus,\n classProgress: number,\n lessonNumber: number,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score: number,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n customerId?: string | null,\n } | null,\n};\n\nexport type OnUpdateUserSubscriptionVariables = {\n filter?: ModelSubscriptionUserFilterInput | null,\n id?: string | null,\n};\n\nexport type OnUpdateUserSubscription = {\n onUpdateUser?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n profiles?: {\n __typename: \"ModelProfileConnection\",\n items: Array< {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n nickname?: string | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n credentials?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n agreements?: {\n __typename: \"ModelAgreementConnection\",\n items: Array< {\n __typename: \"Agreement\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n accountId: string,\n agreementTypes?: Array< AgreementType | null > | null,\n agreementKey?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n items: Array< {\n __typename: \"Registration\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n classId: string,\n userId: string,\n classStatus: ClassStatus,\n classProgress: number,\n lessonNumber: number,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score: number,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n customerId?: string | null,\n } | null,\n};\n\nexport type OnDeleteUserSubscriptionVariables = {\n filter?: ModelSubscriptionUserFilterInput | null,\n id?: string | null,\n};\n\nexport type OnDeleteUserSubscription = {\n onDeleteUser?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n profiles?: {\n __typename: \"ModelProfileConnection\",\n items: Array< {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n nickname?: string | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n credentials?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n agreements?: {\n __typename: \"ModelAgreementConnection\",\n items: Array< {\n __typename: \"Agreement\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n accountId: string,\n agreementTypes?: Array< AgreementType | null > | null,\n agreementKey?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n items: Array< {\n __typename: \"Registration\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n classId: string,\n userId: string,\n classStatus: ClassStatus,\n classProgress: number,\n lessonNumber: number,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score: number,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n customerId?: string | null,\n } | null,\n};\n\nexport type OnCreateAgreementSubscriptionVariables = {\n filter?: ModelSubscriptionAgreementFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnCreateAgreementSubscription = {\n onCreateAgreement?: {\n __typename: \"Agreement\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n accountId: string,\n agreementTypes?: Array< AgreementType | null > | null,\n agreementKey?: string | null,\n } | null,\n};\n\nexport type OnUpdateAgreementSubscriptionVariables = {\n filter?: ModelSubscriptionAgreementFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnUpdateAgreementSubscription = {\n onUpdateAgreement?: {\n __typename: \"Agreement\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n accountId: string,\n agreementTypes?: Array< AgreementType | null > | null,\n agreementKey?: string | null,\n } | null,\n};\n\nexport type OnDeleteAgreementSubscriptionVariables = {\n filter?: ModelSubscriptionAgreementFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnDeleteAgreementSubscription = {\n onDeleteAgreement?: {\n __typename: \"Agreement\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n accountId: string,\n agreementTypes?: Array< AgreementType | null > | null,\n agreementKey?: string | null,\n } | null,\n};\n\nexport type OnCreateJobInterestSubscriptionVariables = {\n filter?: ModelSubscriptionJobInterestFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnCreateJobInterestSubscription = {\n onCreateJobInterest?: {\n __typename: \"JobInterest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n jobPostId: string,\n ranking?: number | null,\n status?: JobInterestStatus | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null,\n};\n\nexport type OnUpdateJobInterestSubscriptionVariables = {\n filter?: ModelSubscriptionJobInterestFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnUpdateJobInterestSubscription = {\n onUpdateJobInterest?: {\n __typename: \"JobInterest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n jobPostId: string,\n ranking?: number | null,\n status?: JobInterestStatus | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null,\n};\n\nexport type OnDeleteJobInterestSubscriptionVariables = {\n filter?: ModelSubscriptionJobInterestFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnDeleteJobInterestSubscription = {\n onDeleteJobInterest?: {\n __typename: \"JobInterest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n jobPostId: string,\n ranking?: number | null,\n status?: JobInterestStatus | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null,\n};\n\nexport type OnCreateJobCandidateSubscriptionVariables = {\n filter?: ModelSubscriptionJobCandidateFilterInput | null,\n};\n\nexport type OnCreateJobCandidateSubscription = {\n onCreateJobCandidate?: {\n __typename: \"JobCandidate\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n jobPostId: string,\n jobPost?: {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n contractId?: string | null,\n contract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n } | null,\n serviceRequestId?: string | null,\n serviceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n } | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n jobCandidates?: {\n __typename: \"ModelJobCandidateConnection\",\n nextToken?: string | null,\n } | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n status?: JobCandidateStatus | null,\n ranking?: number | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null,\n};\n\nexport type OnUpdateJobCandidateSubscriptionVariables = {\n filter?: ModelSubscriptionJobCandidateFilterInput | null,\n};\n\nexport type OnUpdateJobCandidateSubscription = {\n onUpdateJobCandidate?: {\n __typename: \"JobCandidate\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n jobPostId: string,\n jobPost?: {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n contractId?: string | null,\n contract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n } | null,\n serviceRequestId?: string | null,\n serviceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n } | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n jobCandidates?: {\n __typename: \"ModelJobCandidateConnection\",\n nextToken?: string | null,\n } | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n status?: JobCandidateStatus | null,\n ranking?: number | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null,\n};\n\nexport type OnDeleteJobCandidateSubscriptionVariables = {\n filter?: ModelSubscriptionJobCandidateFilterInput | null,\n};\n\nexport type OnDeleteJobCandidateSubscription = {\n onDeleteJobCandidate?: {\n __typename: \"JobCandidate\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n jobPostId: string,\n jobPost?: {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n contractId?: string | null,\n contract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n } | null,\n serviceRequestId?: string | null,\n serviceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n } | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n jobCandidates?: {\n __typename: \"ModelJobCandidateConnection\",\n nextToken?: string | null,\n } | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n status?: JobCandidateStatus | null,\n ranking?: number | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null,\n};\n\nexport type OnCreateUserActivitySubscriptionVariables = {\n filter?: ModelSubscriptionUserActivityFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnCreateUserActivitySubscription = {\n onCreateUserActivity?: {\n __typename: \"UserActivity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n subjectType: SubjectType,\n subjectId: string,\n activityType: string,\n actorId: string,\n actorName?: string | null,\n accountId: string,\n details?: string | null,\n } | null,\n};\n\nexport type OnUpdateUserActivitySubscriptionVariables = {\n filter?: ModelSubscriptionUserActivityFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnUpdateUserActivitySubscription = {\n onUpdateUserActivity?: {\n __typename: \"UserActivity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n subjectType: SubjectType,\n subjectId: string,\n activityType: string,\n actorId: string,\n actorName?: string | null,\n accountId: string,\n details?: string | null,\n } | null,\n};\n\nexport type OnDeleteUserActivitySubscriptionVariables = {\n filter?: ModelSubscriptionUserActivityFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnDeleteUserActivitySubscription = {\n onDeleteUserActivity?: {\n __typename: \"UserActivity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n subjectType: SubjectType,\n subjectId: string,\n activityType: string,\n actorId: string,\n actorName?: string | null,\n accountId: string,\n details?: string | null,\n } | null,\n};\n\nexport type OnCreateLessonSubscriptionVariables = {\n filter?: ModelSubscriptionLessonFilterInput | null,\n};\n\nexport type OnCreateLessonSubscription = {\n onCreateLesson?: {\n __typename: \"Lesson\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n number: number,\n title: string,\n description?: string | null,\n videoUrl?: string | null,\n videoDuration?: number | null,\n questions?: {\n __typename: \"ModelQuestionConnection\",\n items: Array< {\n __typename: \"Question\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n lessonId: string,\n number?: number | null,\n question: string,\n answers?: Array< string | null > | null,\n correctAnswer?: number | null,\n lessonQuestionsId?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type OnUpdateLessonSubscriptionVariables = {\n filter?: ModelSubscriptionLessonFilterInput | null,\n};\n\nexport type OnUpdateLessonSubscription = {\n onUpdateLesson?: {\n __typename: \"Lesson\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n number: number,\n title: string,\n description?: string | null,\n videoUrl?: string | null,\n videoDuration?: number | null,\n questions?: {\n __typename: \"ModelQuestionConnection\",\n items: Array< {\n __typename: \"Question\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n lessonId: string,\n number?: number | null,\n question: string,\n answers?: Array< string | null > | null,\n correctAnswer?: number | null,\n lessonQuestionsId?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type OnDeleteLessonSubscriptionVariables = {\n filter?: ModelSubscriptionLessonFilterInput | null,\n};\n\nexport type OnDeleteLessonSubscription = {\n onDeleteLesson?: {\n __typename: \"Lesson\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n number: number,\n title: string,\n description?: string | null,\n videoUrl?: string | null,\n videoDuration?: number | null,\n questions?: {\n __typename: \"ModelQuestionConnection\",\n items: Array< {\n __typename: \"Question\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n lessonId: string,\n number?: number | null,\n question: string,\n answers?: Array< string | null > | null,\n correctAnswer?: number | null,\n lessonQuestionsId?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type OnCreateQuestionSubscriptionVariables = {\n filter?: ModelSubscriptionQuestionFilterInput | null,\n};\n\nexport type OnCreateQuestionSubscription = {\n onCreateQuestion?: {\n __typename: \"Question\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n lessonId: string,\n lesson?: {\n __typename: \"Lesson\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n number: number,\n title: string,\n description?: string | null,\n videoUrl?: string | null,\n videoDuration?: number | null,\n questions?: {\n __typename: \"ModelQuestionConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n number?: number | null,\n question: string,\n answers?: Array< string | null > | null,\n correctAnswer?: number | null,\n lessonQuestionsId?: string | null,\n } | null,\n};\n\nexport type OnUpdateQuestionSubscriptionVariables = {\n filter?: ModelSubscriptionQuestionFilterInput | null,\n};\n\nexport type OnUpdateQuestionSubscription = {\n onUpdateQuestion?: {\n __typename: \"Question\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n lessonId: string,\n lesson?: {\n __typename: \"Lesson\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n number: number,\n title: string,\n description?: string | null,\n videoUrl?: string | null,\n videoDuration?: number | null,\n questions?: {\n __typename: \"ModelQuestionConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n number?: number | null,\n question: string,\n answers?: Array< string | null > | null,\n correctAnswer?: number | null,\n lessonQuestionsId?: string | null,\n } | null,\n};\n\nexport type OnDeleteQuestionSubscriptionVariables = {\n filter?: ModelSubscriptionQuestionFilterInput | null,\n};\n\nexport type OnDeleteQuestionSubscription = {\n onDeleteQuestion?: {\n __typename: \"Question\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n lessonId: string,\n lesson?: {\n __typename: \"Lesson\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n number: number,\n title: string,\n description?: string | null,\n videoUrl?: string | null,\n videoDuration?: number | null,\n questions?: {\n __typename: \"ModelQuestionConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n number?: number | null,\n question: string,\n answers?: Array< string | null > | null,\n correctAnswer?: number | null,\n lessonQuestionsId?: string | null,\n } | null,\n};\n\nexport type OnCreateClassSubscriptionVariables = {\n filter?: ModelSubscriptionClassFilterInput | null,\n ownerId?: string | null,\n};\n\nexport type OnCreateClassSubscription = {\n onCreateClass?: {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n accountId?: string | null,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n items: Array< {\n __typename: \"Registration\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n classId: string,\n userId: string,\n classStatus: ClassStatus,\n classProgress: number,\n lessonNumber: number,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score: number,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type OnUpdateClassSubscriptionVariables = {\n filter?: ModelSubscriptionClassFilterInput | null,\n ownerId?: string | null,\n};\n\nexport type OnUpdateClassSubscription = {\n onUpdateClass?: {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n accountId?: string | null,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n items: Array< {\n __typename: \"Registration\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n classId: string,\n userId: string,\n classStatus: ClassStatus,\n classProgress: number,\n lessonNumber: number,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score: number,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type OnDeleteClassSubscriptionVariables = {\n filter?: ModelSubscriptionClassFilterInput | null,\n ownerId?: string | null,\n};\n\nexport type OnDeleteClassSubscription = {\n onDeleteClass?: {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n accountId?: string | null,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n items: Array< {\n __typename: \"Registration\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n classId: string,\n userId: string,\n classStatus: ClassStatus,\n classProgress: number,\n lessonNumber: number,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score: number,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type OnCreateRegistrationSubscriptionVariables = {\n filter?: ModelSubscriptionRegistrationFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnCreateRegistrationSubscription = {\n onCreateRegistration?: {\n __typename: \"Registration\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n classId: string,\n class?: {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n } | null,\n accountId?: string | null,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n profiles?: {\n __typename: \"ModelProfileConnection\",\n nextToken?: string | null,\n } | null,\n agreements?: {\n __typename: \"ModelAgreementConnection\",\n nextToken?: string | null,\n } | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n customerId?: string | null,\n } | null,\n classStatus: ClassStatus,\n classProgress: number,\n lessonNumber: number,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score: number,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n } | null,\n};\n\nexport type OnUpdateRegistrationSubscriptionVariables = {\n filter?: ModelSubscriptionRegistrationFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnUpdateRegistrationSubscription = {\n onUpdateRegistration?: {\n __typename: \"Registration\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n classId: string,\n class?: {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n } | null,\n accountId?: string | null,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n profiles?: {\n __typename: \"ModelProfileConnection\",\n nextToken?: string | null,\n } | null,\n agreements?: {\n __typename: \"ModelAgreementConnection\",\n nextToken?: string | null,\n } | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n customerId?: string | null,\n } | null,\n classStatus: ClassStatus,\n classProgress: number,\n lessonNumber: number,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score: number,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n } | null,\n};\n\nexport type OnDeleteRegistrationSubscriptionVariables = {\n filter?: ModelSubscriptionRegistrationFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnDeleteRegistrationSubscription = {\n onDeleteRegistration?: {\n __typename: \"Registration\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n classId: string,\n class?: {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n course?: {\n __typename: \"Course\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n } | null,\n accountId?: string | null,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n profiles?: {\n __typename: \"ModelProfileConnection\",\n nextToken?: string | null,\n } | null,\n agreements?: {\n __typename: \"ModelAgreementConnection\",\n nextToken?: string | null,\n } | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n customerId?: string | null,\n } | null,\n classStatus: ClassStatus,\n classProgress: number,\n lessonNumber: number,\n lessonId?: string | null,\n lessonStatus?: LessonStatus | null,\n videoProgress?: number | null,\n answers?: Array< number | null > | null,\n score: number,\n startedAt?: string | null,\n endsAt?: string | null,\n completedAt?: string | null,\n lessonsAssigned?: number | null,\n nextAssignmentAt?: string | null,\n } | null,\n};\n\nexport type OnCreateActivitySubscriptionVariables = {\n filter?: ModelSubscriptionActivityFilterInput | null,\n};\n\nexport type OnCreateActivitySubscription = {\n onCreateActivity?: {\n __typename: \"Activity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n },\n userId: string,\n activityDate: string,\n activityType: ActivityType,\n objectId: string,\n values?: string | null,\n } | null,\n};\n\nexport type OnUpdateActivitySubscriptionVariables = {\n filter?: ModelSubscriptionActivityFilterInput | null,\n};\n\nexport type OnUpdateActivitySubscription = {\n onUpdateActivity?: {\n __typename: \"Activity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n },\n userId: string,\n activityDate: string,\n activityType: ActivityType,\n objectId: string,\n values?: string | null,\n } | null,\n};\n\nexport type OnDeleteActivitySubscriptionVariables = {\n filter?: ModelSubscriptionActivityFilterInput | null,\n};\n\nexport type OnDeleteActivitySubscription = {\n onDeleteActivity?: {\n __typename: \"Activity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n },\n userId: string,\n activityDate: string,\n activityType: ActivityType,\n objectId: string,\n values?: string | null,\n } | null,\n};\n\nexport type OnCreateAccountSubscriptionVariables = {\n filter?: ModelSubscriptionAccountFilterInput | null,\n ownerId?: string | null,\n};\n\nexport type OnCreateAccountSubscription = {\n onCreateAccount?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n items: Array< {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n items: Array< {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n items: Array< {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n accountId?: string | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n items: Array< {\n __typename: \"Activity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n userId: string,\n activityDate: string,\n activityType: ActivityType,\n objectId: string,\n values?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type OnUpdateAccountSubscriptionVariables = {\n filter?: ModelSubscriptionAccountFilterInput | null,\n ownerId?: string | null,\n};\n\nexport type OnUpdateAccountSubscription = {\n onUpdateAccount?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n items: Array< {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n items: Array< {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n items: Array< {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n accountId?: string | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n items: Array< {\n __typename: \"Activity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n userId: string,\n activityDate: string,\n activityType: ActivityType,\n objectId: string,\n values?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type OnDeleteAccountSubscriptionVariables = {\n filter?: ModelSubscriptionAccountFilterInput | null,\n ownerId?: string | null,\n};\n\nexport type OnDeleteAccountSubscription = {\n onDeleteAccount?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n items: Array< {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n items: Array< {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n items: Array< {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n accountId?: string | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n items: Array< {\n __typename: \"Activity\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n userId: string,\n activityDate: string,\n activityType: ActivityType,\n objectId: string,\n values?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type OnCreateServiceGroupSubscriptionVariables = {\n filter?: ModelSubscriptionServiceGroupFilterInput | null,\n};\n\nexport type OnCreateServiceGroupSubscription = {\n onCreateServiceGroup?: {\n __typename: \"ServiceGroup\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n services?: {\n __typename: \"ModelServiceConnection\",\n items: Array< {\n __typename: \"Service\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n aliases?: Array< string | null > | null,\n active: boolean,\n serviceGroupId: string,\n industries?: Array< string | null > | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n industries?: Array< string | null > | null,\n default?: boolean | null,\n } | null,\n};\n\nexport type OnUpdateServiceGroupSubscriptionVariables = {\n filter?: ModelSubscriptionServiceGroupFilterInput | null,\n};\n\nexport type OnUpdateServiceGroupSubscription = {\n onUpdateServiceGroup?: {\n __typename: \"ServiceGroup\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n services?: {\n __typename: \"ModelServiceConnection\",\n items: Array< {\n __typename: \"Service\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n aliases?: Array< string | null > | null,\n active: boolean,\n serviceGroupId: string,\n industries?: Array< string | null > | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n industries?: Array< string | null > | null,\n default?: boolean | null,\n } | null,\n};\n\nexport type OnDeleteServiceGroupSubscriptionVariables = {\n filter?: ModelSubscriptionServiceGroupFilterInput | null,\n};\n\nexport type OnDeleteServiceGroupSubscription = {\n onDeleteServiceGroup?: {\n __typename: \"ServiceGroup\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n services?: {\n __typename: \"ModelServiceConnection\",\n items: Array< {\n __typename: \"Service\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n aliases?: Array< string | null > | null,\n active: boolean,\n serviceGroupId: string,\n industries?: Array< string | null > | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n industries?: Array< string | null > | null,\n default?: boolean | null,\n } | null,\n};\n\nexport type OnCreateServiceSubscriptionVariables = {\n filter?: ModelSubscriptionServiceFilterInput | null,\n};\n\nexport type OnCreateServiceSubscription = {\n onCreateService?: {\n __typename: \"Service\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n aliases?: Array< string | null > | null,\n active: boolean,\n serviceGroupId: string,\n serviceGroup?: {\n __typename: \"ServiceGroup\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n services?: {\n __typename: \"ModelServiceConnection\",\n nextToken?: string | null,\n } | null,\n industries?: Array< string | null > | null,\n default?: boolean | null,\n } | null,\n industries?: Array< string | null > | null,\n } | null,\n};\n\nexport type OnUpdateServiceSubscriptionVariables = {\n filter?: ModelSubscriptionServiceFilterInput | null,\n};\n\nexport type OnUpdateServiceSubscription = {\n onUpdateService?: {\n __typename: \"Service\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n aliases?: Array< string | null > | null,\n active: boolean,\n serviceGroupId: string,\n serviceGroup?: {\n __typename: \"ServiceGroup\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n services?: {\n __typename: \"ModelServiceConnection\",\n nextToken?: string | null,\n } | null,\n industries?: Array< string | null > | null,\n default?: boolean | null,\n } | null,\n industries?: Array< string | null > | null,\n } | null,\n};\n\nexport type OnDeleteServiceSubscriptionVariables = {\n filter?: ModelSubscriptionServiceFilterInput | null,\n};\n\nexport type OnDeleteServiceSubscription = {\n onDeleteService?: {\n __typename: \"Service\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n aliases?: Array< string | null > | null,\n active: boolean,\n serviceGroupId: string,\n serviceGroup?: {\n __typename: \"ServiceGroup\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n services?: {\n __typename: \"ModelServiceConnection\",\n nextToken?: string | null,\n } | null,\n industries?: Array< string | null > | null,\n default?: boolean | null,\n } | null,\n industries?: Array< string | null > | null,\n } | null,\n};\n\nexport type OnCreateLocationSubscriptionVariables = {\n filter?: ModelSubscriptionLocationFilterInput | null,\n};\n\nexport type OnCreateLocationSubscription = {\n onCreateLocation?: {\n __typename: \"Location\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n organizationName: string,\n active?: boolean | null,\n name: string,\n aliases?: Array< string | null > | null,\n addressType?: AddressType | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country: string,\n latitude: number,\n longitude: number,\n } | null,\n};\n\nexport type OnUpdateLocationSubscriptionVariables = {\n filter?: ModelSubscriptionLocationFilterInput | null,\n};\n\nexport type OnUpdateLocationSubscription = {\n onUpdateLocation?: {\n __typename: \"Location\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n organizationName: string,\n active?: boolean | null,\n name: string,\n aliases?: Array< string | null > | null,\n addressType?: AddressType | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country: string,\n latitude: number,\n longitude: number,\n } | null,\n};\n\nexport type OnDeleteLocationSubscriptionVariables = {\n filter?: ModelSubscriptionLocationFilterInput | null,\n};\n\nexport type OnDeleteLocationSubscription = {\n onDeleteLocation?: {\n __typename: \"Location\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n organizationName: string,\n active?: boolean | null,\n name: string,\n aliases?: Array< string | null > | null,\n addressType?: AddressType | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country: string,\n latitude: number,\n longitude: number,\n } | null,\n};\n\nexport type OnCreateProfileSubscriptionVariables = {\n filter?: ModelSubscriptionProfileFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnCreateProfileSubscription = {\n onCreateProfile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n profiles?: {\n __typename: \"ModelProfileConnection\",\n nextToken?: string | null,\n } | null,\n agreements?: {\n __typename: \"ModelAgreementConnection\",\n nextToken?: string | null,\n } | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n items: Array< {\n __typename: \"ProfileService\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n serviceId: string,\n title?: string | null,\n industries?: Array< string | null > | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n items: Array< {\n __typename: \"ProfileLocation\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n locationId: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n items: Array< {\n __typename: \"Experience\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n jobTitle?: string | null,\n agencyType?: AgencyType | null,\n agencyName?: string | null,\n employerName?: string | null,\n employerLocation?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n projectNo?: string | null,\n projectName?: string | null,\n projectLocation?: string | null,\n projectDollarAmount?: number | null,\n jobDescription?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n items: Array< {\n __typename: \"Education\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n school?: string | null,\n degree?: string | null,\n field?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n description?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n items: Array< {\n __typename: \"Certification\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n certificationType: string,\n issuedAt?: string | null,\n expiresAt?: string | null,\n certificateKey?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n};\n\nexport type OnUpdateProfileSubscriptionVariables = {\n filter?: ModelSubscriptionProfileFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnUpdateProfileSubscription = {\n onUpdateProfile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n profiles?: {\n __typename: \"ModelProfileConnection\",\n nextToken?: string | null,\n } | null,\n agreements?: {\n __typename: \"ModelAgreementConnection\",\n nextToken?: string | null,\n } | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n items: Array< {\n __typename: \"ProfileService\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n serviceId: string,\n title?: string | null,\n industries?: Array< string | null > | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n items: Array< {\n __typename: \"ProfileLocation\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n locationId: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n items: Array< {\n __typename: \"Experience\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n jobTitle?: string | null,\n agencyType?: AgencyType | null,\n agencyName?: string | null,\n employerName?: string | null,\n employerLocation?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n projectNo?: string | null,\n projectName?: string | null,\n projectLocation?: string | null,\n projectDollarAmount?: number | null,\n jobDescription?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n items: Array< {\n __typename: \"Education\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n school?: string | null,\n degree?: string | null,\n field?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n description?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n items: Array< {\n __typename: \"Certification\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n certificationType: string,\n issuedAt?: string | null,\n expiresAt?: string | null,\n certificateKey?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n};\n\nexport type OnDeleteProfileSubscriptionVariables = {\n filter?: ModelSubscriptionProfileFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnDeleteProfileSubscription = {\n onDeleteProfile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n profiles?: {\n __typename: \"ModelProfileConnection\",\n nextToken?: string | null,\n } | null,\n agreements?: {\n __typename: \"ModelAgreementConnection\",\n nextToken?: string | null,\n } | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n registrations?: {\n __typename: \"ModelRegistrationConnection\",\n nextToken?: string | null,\n } | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n items: Array< {\n __typename: \"ProfileService\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n serviceId: string,\n title?: string | null,\n industries?: Array< string | null > | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n items: Array< {\n __typename: \"ProfileLocation\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n locationId: string,\n } | null >,\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n items: Array< {\n __typename: \"Experience\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n jobTitle?: string | null,\n agencyType?: AgencyType | null,\n agencyName?: string | null,\n employerName?: string | null,\n employerLocation?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n projectNo?: string | null,\n projectName?: string | null,\n projectLocation?: string | null,\n projectDollarAmount?: number | null,\n jobDescription?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n items: Array< {\n __typename: \"Education\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n school?: string | null,\n degree?: string | null,\n field?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n description?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n items: Array< {\n __typename: \"Certification\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n certificationType: string,\n issuedAt?: string | null,\n expiresAt?: string | null,\n certificateKey?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n};\n\nexport type OnCreateProfileLocationSubscriptionVariables = {\n filter?: ModelSubscriptionProfileLocationFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnCreateProfileLocationSubscription = {\n onCreateProfileLocation?: {\n __typename: \"ProfileLocation\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n locationId: string,\n } | null,\n};\n\nexport type OnUpdateProfileLocationSubscriptionVariables = {\n filter?: ModelSubscriptionProfileLocationFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnUpdateProfileLocationSubscription = {\n onUpdateProfileLocation?: {\n __typename: \"ProfileLocation\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n locationId: string,\n } | null,\n};\n\nexport type OnDeleteProfileLocationSubscriptionVariables = {\n filter?: ModelSubscriptionProfileLocationFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnDeleteProfileLocationSubscription = {\n onDeleteProfileLocation?: {\n __typename: \"ProfileLocation\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n locationId: string,\n } | null,\n};\n\nexport type OnCreateProfileServiceSubscriptionVariables = {\n filter?: ModelSubscriptionProfileServiceFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnCreateProfileServiceSubscription = {\n onCreateProfileService?: {\n __typename: \"ProfileService\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n serviceId: string,\n title?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n};\n\nexport type OnUpdateProfileServiceSubscriptionVariables = {\n filter?: ModelSubscriptionProfileServiceFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnUpdateProfileServiceSubscription = {\n onUpdateProfileService?: {\n __typename: \"ProfileService\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n serviceId: string,\n title?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n};\n\nexport type OnDeleteProfileServiceSubscriptionVariables = {\n filter?: ModelSubscriptionProfileServiceFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnDeleteProfileServiceSubscription = {\n onDeleteProfileService?: {\n __typename: \"ProfileService\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n serviceId: string,\n title?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n};\n\nexport type OnCreateExperienceSubscriptionVariables = {\n filter?: ModelSubscriptionExperienceFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnCreateExperienceSubscription = {\n onCreateExperience?: {\n __typename: \"Experience\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n jobTitle?: string | null,\n agencyType?: AgencyType | null,\n agencyName?: string | null,\n employerName?: string | null,\n employerLocation?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n projectNo?: string | null,\n projectName?: string | null,\n projectLocation?: string | null,\n projectDollarAmount?: number | null,\n jobDescription?: string | null,\n } | null,\n};\n\nexport type OnUpdateExperienceSubscriptionVariables = {\n filter?: ModelSubscriptionExperienceFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnUpdateExperienceSubscription = {\n onUpdateExperience?: {\n __typename: \"Experience\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n jobTitle?: string | null,\n agencyType?: AgencyType | null,\n agencyName?: string | null,\n employerName?: string | null,\n employerLocation?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n projectNo?: string | null,\n projectName?: string | null,\n projectLocation?: string | null,\n projectDollarAmount?: number | null,\n jobDescription?: string | null,\n } | null,\n};\n\nexport type OnDeleteExperienceSubscriptionVariables = {\n filter?: ModelSubscriptionExperienceFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnDeleteExperienceSubscription = {\n onDeleteExperience?: {\n __typename: \"Experience\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n jobTitle?: string | null,\n agencyType?: AgencyType | null,\n agencyName?: string | null,\n employerName?: string | null,\n employerLocation?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n projectNo?: string | null,\n projectName?: string | null,\n projectLocation?: string | null,\n projectDollarAmount?: number | null,\n jobDescription?: string | null,\n } | null,\n};\n\nexport type OnCreateCertificationSubscriptionVariables = {\n filter?: ModelSubscriptionCertificationFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnCreateCertificationSubscription = {\n onCreateCertification?: {\n __typename: \"Certification\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n certificationType: string,\n issuedAt?: string | null,\n expiresAt?: string | null,\n certificateKey?: string | null,\n } | null,\n};\n\nexport type OnUpdateCertificationSubscriptionVariables = {\n filter?: ModelSubscriptionCertificationFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnUpdateCertificationSubscription = {\n onUpdateCertification?: {\n __typename: \"Certification\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n certificationType: string,\n issuedAt?: string | null,\n expiresAt?: string | null,\n certificateKey?: string | null,\n } | null,\n};\n\nexport type OnDeleteCertificationSubscriptionVariables = {\n filter?: ModelSubscriptionCertificationFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnDeleteCertificationSubscription = {\n onDeleteCertification?: {\n __typename: \"Certification\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n certificationType: string,\n issuedAt?: string | null,\n expiresAt?: string | null,\n certificateKey?: string | null,\n } | null,\n};\n\nexport type OnCreateCertificationTypeSubscriptionVariables = {\n filter?: ModelSubscriptionCertificationTypeFilterInput | null,\n};\n\nexport type OnCreateCertificationTypeSubscription = {\n onCreateCertificationType?: {\n __typename: \"CertificationType\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n active: boolean,\n industries?: Array< string | null > | null,\n } | null,\n};\n\nexport type OnUpdateCertificationTypeSubscriptionVariables = {\n filter?: ModelSubscriptionCertificationTypeFilterInput | null,\n};\n\nexport type OnUpdateCertificationTypeSubscription = {\n onUpdateCertificationType?: {\n __typename: \"CertificationType\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n active: boolean,\n industries?: Array< string | null > | null,\n } | null,\n};\n\nexport type OnDeleteCertificationTypeSubscriptionVariables = {\n filter?: ModelSubscriptionCertificationTypeFilterInput | null,\n};\n\nexport type OnDeleteCertificationTypeSubscription = {\n onDeleteCertificationType?: {\n __typename: \"CertificationType\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n name: string,\n active: boolean,\n industries?: Array< string | null > | null,\n } | null,\n};\n\nexport type OnCreateEducationSubscriptionVariables = {\n filter?: ModelSubscriptionEducationFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnCreateEducationSubscription = {\n onCreateEducation?: {\n __typename: \"Education\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n school?: string | null,\n degree?: string | null,\n field?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n description?: string | null,\n } | null,\n};\n\nexport type OnUpdateEducationSubscriptionVariables = {\n filter?: ModelSubscriptionEducationFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnUpdateEducationSubscription = {\n onUpdateEducation?: {\n __typename: \"Education\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n school?: string | null,\n degree?: string | null,\n field?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n description?: string | null,\n } | null,\n};\n\nexport type OnDeleteEducationSubscriptionVariables = {\n filter?: ModelSubscriptionEducationFilterInput | null,\n userId?: string | null,\n};\n\nexport type OnDeleteEducationSubscription = {\n onDeleteEducation?: {\n __typename: \"Education\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n userId: string,\n profileId: string,\n profile?: {\n __typename: \"Profile\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n alias?: string | null,\n active: boolean,\n userId: string,\n user?: {\n __typename: \"User\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n active?: boolean | null,\n userStatus?: UserStatus | null,\n accountId: string,\n firstName: string,\n lastName: string,\n title?: string | null,\n email: string,\n phone?: string | null,\n role?: UserRole | null,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n industry?: string | null,\n lastActiveAt?: string | null,\n jobTitle?: string | null,\n invitedAt?: string | null,\n customerId?: string | null,\n } | null,\n nickname?: string | null,\n profileServices?: {\n __typename: \"ModelProfileServiceConnection\",\n nextToken?: string | null,\n } | null,\n profileLocations?: {\n __typename: \"ModelProfileLocationConnection\",\n nextToken?: string | null,\n } | null,\n availability?: string | null,\n availableDate?: string | null,\n desiredRate?: string | null,\n about?: string | null,\n resumeKey?: string | null,\n profileStatus: ProfileStatus,\n statusMessage?: string | null,\n notes?: string | null,\n city?: string | null,\n state?: string | null,\n country?: string | null,\n federalExperience?: number | null,\n totalExperience?: number | null,\n industries?: Array< string | null > | null,\n securityClearance?: string | null,\n securityStatus?: SecurityStatus | null,\n workSettings?: Array< WorkSetting | null > | null,\n experiences?: {\n __typename: \"ModelExperienceConnection\",\n nextToken?: string | null,\n } | null,\n education?: {\n __typename: \"ModelEducationConnection\",\n nextToken?: string | null,\n } | null,\n certifications?: {\n __typename: \"ModelCertificationConnection\",\n nextToken?: string | null,\n } | null,\n credentials?: string | null,\n } | null,\n school?: string | null,\n degree?: string | null,\n field?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n description?: string | null,\n } | null,\n};\n\nexport type OnCreateServiceRequestSubscriptionVariables = {\n filter?: ModelSubscriptionServiceRequestFilterInput | null,\n};\n\nexport type OnCreateServiceRequestSubscription = {\n onCreateServiceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n items: Array< {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n contractId?: string | null,\n serviceRequestId?: string | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type OnUpdateServiceRequestSubscriptionVariables = {\n filter?: ModelSubscriptionServiceRequestFilterInput | null,\n};\n\nexport type OnUpdateServiceRequestSubscription = {\n onUpdateServiceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n items: Array< {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n contractId?: string | null,\n serviceRequestId?: string | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type OnDeleteServiceRequestSubscriptionVariables = {\n filter?: ModelSubscriptionServiceRequestFilterInput | null,\n};\n\nexport type OnDeleteServiceRequestSubscription = {\n onDeleteServiceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n items: Array< {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n contractId?: string | null,\n serviceRequestId?: string | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type OnCreateContractSubscriptionVariables = {\n filter?: ModelSubscriptionContractFilterInput | null,\n};\n\nexport type OnCreateContractSubscription = {\n onCreateContract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n items: Array< {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n contractId?: string | null,\n serviceRequestId?: string | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type OnUpdateContractSubscriptionVariables = {\n filter?: ModelSubscriptionContractFilterInput | null,\n};\n\nexport type OnUpdateContractSubscription = {\n onUpdateContract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n items: Array< {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n contractId?: string | null,\n serviceRequestId?: string | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type OnDeleteContractSubscriptionVariables = {\n filter?: ModelSubscriptionContractFilterInput | null,\n};\n\nexport type OnDeleteContractSubscription = {\n onDeleteContract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n items: Array< {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n contractId?: string | null,\n serviceRequestId?: string | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type OnCreateJobPostSubscriptionVariables = {\n filter?: ModelSubscriptionJobPostFilterInput | null,\n};\n\nexport type OnCreateJobPostSubscription = {\n onCreateJobPost?: {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n contractId?: string | null,\n contract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n serviceRequestId?: string | null,\n serviceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n jobCandidates?: {\n __typename: \"ModelJobCandidateConnection\",\n items: Array< {\n __typename: \"JobCandidate\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n jobPostId: string,\n accountId: string,\n profileId: string,\n status?: JobCandidateStatus | null,\n ranking?: number | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null,\n};\n\nexport type OnUpdateJobPostSubscriptionVariables = {\n filter?: ModelSubscriptionJobPostFilterInput | null,\n};\n\nexport type OnUpdateJobPostSubscription = {\n onUpdateJobPost?: {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n contractId?: string | null,\n contract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n serviceRequestId?: string | null,\n serviceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n jobCandidates?: {\n __typename: \"ModelJobCandidateConnection\",\n items: Array< {\n __typename: \"JobCandidate\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n jobPostId: string,\n accountId: string,\n profileId: string,\n status?: JobCandidateStatus | null,\n ranking?: number | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null,\n};\n\nexport type OnDeleteJobPostSubscriptionVariables = {\n filter?: ModelSubscriptionJobPostFilterInput | null,\n};\n\nexport type OnDeleteJobPostSubscription = {\n onDeleteJobPost?: {\n __typename: \"JobPost\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n users?: {\n __typename: \"ModelUserConnection\",\n nextToken?: string | null,\n } | null,\n contracts?: {\n __typename: \"ModelContractConnection\",\n nextToken?: string | null,\n } | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n nextToken?: string | null,\n } | null,\n activity?: {\n __typename: \"ModelActivityConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n contractId?: string | null,\n contract?: {\n __typename: \"Contract\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n issuedBy?: string | null,\n name: string,\n number?: string | null,\n locationId?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n perDiem?: number | null,\n value?: string | null,\n category?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n serviceRequestId?: string | null,\n serviceRequest?: {\n __typename: \"ServiceRequest\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n accountId: string,\n account?: {\n __typename: \"Account\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n ownerId?: string | null,\n name: string,\n address?: string | null,\n city?: string | null,\n state?: string | null,\n postalCode?: string | null,\n country?: string | null,\n active?: boolean | null,\n dunsNumber?: string | null,\n cageCode?: string | null,\n naicsCode?: string | null,\n sicCode?: string | null,\n socioEconomicDesignation?: string | null,\n fein?: string | null,\n accountStatus?: AccountStatus | null,\n phone?: string | null,\n webUrl?: string | null,\n accountType?: AccountType | null,\n accountSize?: AccountSize | null,\n customerId?: string | null,\n industries?: Array< string | null > | null,\n } | null,\n serviceRequestType: ServiceRequestType,\n name: string,\n status?: string | null,\n completedDate?: string | null,\n jobPosts?: {\n __typename: \"ModelJobPostConnection\",\n nextToken?: string | null,\n } | null,\n } | null,\n locationId?: string | null,\n serviceId: string,\n industries?: Array< string | null > | null,\n title?: string | null,\n summary: string,\n description?: string | null,\n startDate?: string | null,\n endDate?: string | null,\n openDate?: string | null,\n filledDate?: string | null,\n closedDate?: string | null,\n employmentType: EmploymentType,\n annualSalaryLow?: number | null,\n annualSalaryHigh?: number | null,\n jobCandidates?: {\n __typename: \"ModelJobCandidateConnection\",\n items: Array< {\n __typename: \"JobCandidate\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n jobPostId: string,\n accountId: string,\n profileId: string,\n status?: JobCandidateStatus | null,\n ranking?: number | null,\n notes?: string | null,\n message?: string | null,\n unlocked?: boolean | null,\n application?: string | null,\n origin?: RecordUpdateOrigin | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n statusId?: string | null,\n status?: JobPostStatus | null,\n openings?: number | null,\n invoiceId?: string | null,\n jobPostType?: JobPostType | null,\n hiringDate?: string | null,\n unlocksAvailable?: number | null,\n featured?: boolean | null,\n questions?: string | null,\n workSettings?: Array< WorkSetting | null > | null,\n securityClearance?: string | null,\n } | null,\n};\n\nexport type OnCreateCourseSubscriptionVariables = {\n filter?: ModelSubscriptionCourseFilterInput | null,\n};\n\nexport type OnCreateCourseSubscription = {\n onCreateCourse?: {\n __typename: \"Course\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n items: Array< {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n accountId?: string | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type OnUpdateCourseSubscriptionVariables = {\n filter?: ModelSubscriptionCourseFilterInput | null,\n};\n\nexport type OnUpdateCourseSubscription = {\n onUpdateCourse?: {\n __typename: \"Course\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n items: Array< {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n accountId?: string | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n\nexport type OnDeleteCourseSubscriptionVariables = {\n filter?: ModelSubscriptionCourseFilterInput | null,\n};\n\nexport type OnDeleteCourseSubscription = {\n onDeleteCourse?: {\n __typename: \"Course\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n title: string,\n description?: string | null,\n coverUrl?: string | null,\n details?: string | null,\n publishDate?: string | null,\n sunsetDate?: string | null,\n lessonCount?: number | null,\n creditHours?: number | null,\n isFree?: boolean | null,\n lessons?: string | null,\n handoutUrl?: string | null,\n classes?: {\n __typename: \"ModelClassConnection\",\n items: Array< {\n __typename: \"Class\",\n id: string,\n createdAt?: string | null,\n updatedAt?: string | null,\n courseId: string,\n accountId?: string | null,\n ownerId?: string | null,\n userId?: string | null,\n termBegin?: string | null,\n termEnd?: string | null,\n seatsPurchased?: number | null,\n seatsFilled?: number | null,\n couponCode?: string | null,\n assignmentSchedule?: AssignmentSchedule | null,\n } | null >,\n nextToken?: string | null,\n } | null,\n } | null,\n};\n","import Rollbar from \"rollbar\"\nimport config from 'react-global-configuration';\n\nexport enum LogLevel {\n Debug = 0,\n Info = 1,\n Warn = 2,\n Error = 3,\n Critical = 4,\n None = 5,\n}\n\nconst transformer = function(payload: any) {\n if (payload.level !== 'error') {\n return\n }\n\n payload.code_version = process.env.REACT_APP_COMMIT_ID\n payload.client.javascript.code_version = process.env.REACT_APP_COMMIT_ID\n\n if (payload.body && payload.body.trace) {\n \n const trace = payload.body.trace\n if (trace && trace.frames) {\n // Parse the URL into three parts:\n // Ex output: [\"https://www.govgig.com/profile\",\"https\",\"/profile\"]\n const locRegex = /^(https?):\\/\\/[a-zA-Z0-9.:_-]+(.*)/i\n \n for (let i = 0; i < trace.frames.length; i++) {\n const filename = trace.frames[i].filename\n if (filename) {\n const matchResults = filename.match(locRegex)\n if (matchResults) {\n // Be sure that the minified_url when uploading source maps includes 'dynamichost'\n payload.body.trace.frames[i].filename = matchResults[1] + '://dynamichost' + matchResults[2]\n }\n }\n }\n }\n\n if (trace.exception) {\n const exception = trace.exception\n \n if (exception.description) {\n const description = exception.description\n if (typeof description === 'object') {\n payload.body.trace.exception.description = JSON.stringify(description)\n }\n }\n if (exception.message) {\n const message = exception.message\n if (typeof message === 'object') {\n payload.body.trace.exception.message = JSON.stringify(message)\n }\n }\n }\n } \n}\n\nclass Logger {\n static logLevel = LogLevel.Debug\n static rollbar: Rollbar\n \n static init() {\n const accessToken = config.get(\"rollbar.accessToken\")\n if (accessToken) {\n const userid = undefined\n\n // Note that \"production\" for NODE_ENV means any build run with \"npm run build\".\n // However, REACT_APP_ENV is how we specify local, dev, or prod environment for reporting purposes in the payload below.\n // The value for REACT_APP_ENV is specified in a local .env file, or as an environment variable in the Amplify console.\n \n const nodeEnv = process.env.NODE_ENV\n this.logLevel = (nodeEnv === \"production\") ? LogLevel.Warn : LogLevel.Debug\n\n const rollbarConfig = {\n enabled: nodeEnv === \"production\",\n accessToken,\n captureUncaught: true,\n captureUnhandledRejections: true,\n autoInstrument: {\n network: true,\n networkRequestBody: true,\n log: true,\n dom: true,\n navigation: true,\n connectivity: true\n },\n // reportLevel: 'error',\n maxTelemetryEvents: 10,\n hostBlackList: [\n ],\n client: {\n javascript: {\n code_version: process.env.REACT_APP_COMMIT_ID\n }\n },\n transform: transformer \n }\n\n if (userid) {\n rollbarConfig[\"payload\"] = {\n environment: process.env.REACT_APP_ENV,\n person: {\n id: userid,\n }\n }\n }\n\n Logger.rollbar = new Rollbar(rollbarConfig)\n this.info(`Rollbar initialized logLevel=${this.logLevel}`)\n } else {\n this.info(`Logger initialized logLevel=${this.logLevel} (Rollbar is disabled)`)\n }\n }\n\n static configure(options: any) {\n if (Logger.rollbar) {\n Logger.rollbar.configure(options)\n }\n }\n\n static configureUser(userId: string) {\n if (Logger.rollbar) {\n Logger.rollbar.configure({\n payload: {\n person: {\n id: userId,\n }\n }\n })\n }\n }\n\n static debug(msg: string, ...args: any[]) {\n if (args.length === 0) {\n if (Logger.rollbar) {\n Logger.rollbar.debug(msg)\n }\n if (this.logLevel <= LogLevel.Debug) {\n console.debug(msg)\n }\n }\n else {\n if (Logger.rollbar) {\n Logger.rollbar.debug(msg, args)\n }\n if (this.logLevel <= LogLevel.Debug) {\n console.debug(msg, args.length > 0 ? args : undefined)\n }\n }\n }\n\n static info(msg: string, ...args: any[]) {\n if (args.length === 0) {\n if (Logger.rollbar) {\n Logger.rollbar.info(msg)\n }\n if (this.logLevel <= LogLevel.Info) {\n console.info(msg)\n }\n } else {\n if (Logger.rollbar) {\n Logger.rollbar.info(msg, args)\n }\n if (this.logLevel <= LogLevel.Info) {\n console.info(msg, args)\n }\n }\n }\n\n static warn(msg: string, ...args: any[]) {\n this.warning(msg, args)\n }\n\n static warning(msg: string, ...args: any[]) {\n if (args.length === 0) {\n if (Logger.rollbar) {\n Logger.rollbar.warning(msg)\n }\n if (this.logLevel <= LogLevel.Warn) {\n console.warn(msg)\n }\n }\n else {\n if (Logger.rollbar) {\n Logger.rollbar.warning(msg, args)\n }\n if (this.logLevel <= LogLevel.Warn) {\n console.warn(msg, args)\n }\n }\n }\n\n static error(msg: string, ...args: any[]) {\n if (args.length === 0) {\n if (Logger.rollbar) {\n Logger.rollbar.error(msg)\n }\n if (this.logLevel <= LogLevel.Error) {\n console.error(msg)\n }\n }\n else {\n if (Logger.rollbar) {\n Logger.rollbar.error(msg, args)\n }\n if (this.logLevel <= LogLevel.Error) {\n console.error(msg, args)\n }\n }\n }\n\n static critical(msg: string, ...args: any[]) {\n if (args.length === 0) {\n if (Logger.rollbar) {\n Logger.rollbar.critical(msg)\n }\n if (this.logLevel <= LogLevel.Critical) {\n console.error(msg)\n }\n }\n else {\n if (Logger.rollbar) {\n Logger.rollbar.critical(msg, args)\n }\n if (this.logLevel <= LogLevel.Critical) {\n console.error(msg, args)\n }\n }\n }\n}\n\nexport default Logger","import {\n addDays,\n addSeconds,\n differenceInCalendarDays,\n differenceInCalendarMonths, differenceInDays,\n format, isBefore, isSameDay,\n startOfToday\n} from \"date-fns\";\nimport { parsePhoneNumberFromString } from 'libphonenumber-js';\nimport { v4 as uuid } from 'uuid';\n\n// UUID \n\nexport function createUUID() {\n return uuid()\n}\n\nexport function isUUID(s: string) {\n return /[0-9A-F]{8}-[0-9A-F]{4}-[4][0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}/i.test(s)\n}\n\n// Date & Time \n\nexport function getISODateFromDate(date: Date): string {\n const adjDate = new Date(date)\n // Adjust by time zone offset to make sure the date string doesn't shift\n adjDate.setMinutes(-adjDate.getTimezoneOffset())\n return adjDate.toISOString().substr(0, 10)\n}\n\nexport function getISODateFromDateString(date: string | null | undefined): string {\n if (date) {\n const adjDate = new Date(date)\n return adjDate.toISOString().substr(0, 10)\n } else {\n return \"\"\n }\n}\n\nexport function getISODateTimeFromDate(date: Date): string {\n return date.toISOString()\n}\n\nexport function getISODateToday(): string {\n const date = new Date()\n return getISODateFromDate(date)\n}\n\nexport function getISODateTodayAddDays(days: number): string {\n let date = new Date()\n date = addDays(date, days)\n return getISODateFromDate(date)\n}\n\nexport function getISODateTime(): string {\n const date = new Date()\n return date.toISOString()\n}\n\nexport function durationBetweenISODates(isoStartDate: string, isoEndDate?: string): string {\n const startString = isoToLocalDateString(isoStartDate)\n const startDate = isoToLocalDate(isoStartDate)\n if (isoEndDate) {\n const endString = isoToLocalDateString(isoEndDate)\n const endDate = isoToLocalDate(isoEndDate)\n let differenceMonths = differenceInCalendarMonths(endDate, startDate)\n let differenceString \n if (differenceMonths === 0) {\n let differenceDays = differenceInCalendarDays(endDate, startDate)\n if (differenceDays === 1) {\n differenceString = `1 Day`\n } else {\n differenceString = `${differenceDays} Days`\n }\n } else if (differenceMonths === 1) {\n differenceString = `1 Month`\n } else {\n differenceString = `${differenceMonths} Months`\n }\n return `${startString} - ${endString} (${differenceString})`\n } else {\n return `${startString}`\n }\n}\n\nexport const DatePeriods: string[] = [\"Immediately\", \"In 1-2 Weeks\", \"In 2-4 Weeks\", \"In 4 weeks or more\"]\n\nexport function periodToISODate(period: string) {\n let date\n\n switch (period) {\n case DatePeriods[0]:\n date = getISODateToday()\n break\n case DatePeriods[1]:\n date = getISODateTodayAddDays(7)\n break\n case DatePeriods[2]:\n date = getISODateTodayAddDays(14)\n break\n case DatePeriods[3]:\n date = getISODateTodayAddDays(28)\n break\n default:\n date = period\n break\n }\n\n return date\n}\n\n\nexport function isoDateToPeriod(isoDate: string): string | null {\n if (!isoDate) {\n return null \n }\n \n const date = isoToLocalDate(isoDate)\n const today = startOfToday()\n const days = differenceInDays(date, today)\n \n let period\n \n if (isBefore(date, today) || days < 7) {\n // The hiring date has already passed, or is coming up quickly. \n period = DatePeriods[0]\n } else if (days < 14) {\n period = DatePeriods[1]\n } else if (days < 28) {\n period = DatePeriods[2]\n } else if (days >= 28) {\n period = DatePeriods[3]\n } else {\n period = null\n }\n\n return period\n}\n\nexport function isoDateToWhen(isoDate: string) {\n if (!isoDate) {\n return \"\"\n }\n\n const date = isoToLocalDate(isoDate)\n const today = startOfToday()\n const days = differenceInDays(date, today)\n\n let when\n if (isSameDay(date, today)) {\n when = `Today ${format(date, \"h:mm aa\")}`\n } else if (days <= 1) {\n when = `Yesterday ${format(date, \"h:mm aa\")}`\n } else if (days < 7) {\n when = format(date, \"eeee h:mm aa\")\n } else {\n when = format(date, \"M/d/yyyy h:mm aa\")\n }\n\n return when\n}\n\n// export function getExpireDate(minutes: number) : string {\n// const date = new Date()\n// const expireDate = addMinutes(date, minutes)\n// return getISODateTimeFromDate(expireDate)\n// }\n//\nexport function isoToLocalDate(isoDate: string) {\n const date = new Date(isoDate)\n if (isoDate && isoDate.length <= 10) {\n // Adjust for time zone if date only\n date.setMinutes(date.getTimezoneOffset()) // This should be automatic with UTC\n }\n return date\n}\n\nexport function isoToLocalDateString(isoDate?: string, dateFormat: string = \"MM/dd/yyyy\") {\n if (isoDate) {\n const date = new Date(isoDate)\n if (isoDate.length <= 10) {\n // Adjust for time zone if date only\n date.setMinutes(date.getTimezoneOffset()) // This should be automatic with UTC\n }\n return format(date, dateFormat)\n } else {\n return \"\"\n }\n}\n\nexport function isoToLocalDateTime(isoDateTime: string) {\n const date = new Date(isoDateTime)\n return date\n}\n\nexport function secondsToDuration(seconds: number) {\n let result\n if (!seconds) {\n result = \"0:00\"\n } else {\n const time = addSeconds(new Date(0), seconds)\n if (seconds > 3600) {\n result = format(time, \"h:m:ss\")\n } else {\n result = format(time, \"m:ss\")\n }\n }\n return result\n}\n\nexport function timestampToISOString(timestamp: number): string {\n if (timestamp) {\n const date = new Date(timestamp * 1000)\n return date.toISOString()\n } else {\n return \"\"\n }\n}\n\nexport class DateRange {\n start: Date;\n end: Date;\n\n constructor(start: Date, end?: Date) {\n this.start = start\n this.end = end ?? new Date()\n }\n}\nexport function mergeOverlappingDateRanges(\n dateRanges: DateRange[],\n): DateRange[] {\n const sorted = dateRanges.sort(\n // By start, ascending\n (a, b) => a.start.getTime() - b.start.getTime(),\n );\n\n const ret = sorted.reduce((acc: DateRange[], curr: DateRange): DateRange[] => {\n // Skip the first range\n if (acc.length === 0) {\n return [curr];\n }\n\n const prev = acc.pop();\n\n if (curr.end <= prev!.end) {\n // Current range is completely inside previous\n return [...acc, prev!]\n }\n\n // Merges overlapping (<) and contiguous (==) ranges\n if (curr.start <= prev!.end) {\n // Current range overlaps previous\n return [...acc, { start: prev!.start, end: curr.end }];\n }\n\n // Ranges do not overlap\n return [...acc, prev!, curr]\n }, [] as DateRange[]);\n\n return ret;\n}\n\n// Error\n\nexport function getErrorMessage(err: any) {\n if (err.response && err.response.data && err.response.data.details && err.response.data.details.raw && err.response.data.details.raw.message) {\n return err.response.data.details.raw.message\n } else if (err.response && err.response.data && err.response.data.message) {\n return err.response.data.message\n } else if (err.message) {\n return err.message\n } else {\n return \"Unknown error\"\n }\n}\n\n// Phone \n\nexport function phoneToE164Format(phone: string): string | null {\n const phoneNumber = parsePhoneNumberFromString(phone, \"US\")\n if (phoneNumber && phoneNumber.isValid()) {\n return phoneNumber.number.toString()\n } else {\n return null\n }\n}\n\nexport function phoneToNationalFormat(phone: string): string {\n if (phone) {\n const phoneNumber = parsePhoneNumberFromString(phone, \"US\")\n if (phoneNumber && phoneNumber.isValid()) {\n return phoneNumber.formatNational()\n }\n }\n\n return phone\n}\n\n// Money \n\nexport function numberToMoneyFormatOrLoading(input?: number): string {\n // return `${ input ? numeral(input).format('$0,0.00') : '...' }`\n return `${ input !== undefined ? numberToMoneyFormat(input) : '...' }`\n}\n\nexport function numberToMoneyFormat(value: number, minimumFractionDigits: number = 2): string {\n // TODO: May want to use a library called \"numeral\". \n // return `${ value ? numeral(value).format('$0,0.00') : '...' }`\n \n const formatter = new Intl.NumberFormat('en-US', {\n style: 'currency',\n currency: 'USD',\n minimumFractionDigits\n })\n\n if (value === -0.00) {\n value = 0.00\n }\n return formatter.format(value)\n}\n\nexport function moneyToNumberFormat(text: string, fractionDigits: number = 2): number {\n // TODO: May want to use a library called \"numeral\". \n // numeral(text).value()\n\n let result = 0\n\n if (text) {\n const cleaned = text.replace(/[^\\d.-]/g, '')\n const value = Number(cleaned)\n if (!isNaN(value)) {\n if (fractionDigits === 0) {\n result = Math.trunc(value)\n } else {\n result = Math.round(value * (10 ^ fractionDigits)) / (10 ^ fractionDigits)\n }\n }\n }\n\n return result\n}\n\n// String \n\nexport function undefineEmptyStrings(map: object) {\n Object.keys(map).forEach(key => {\n const value = map[key]\n if (typeof value === \"string\" && value.length === 0) {\n map[key] = undefined\n }\n })\n}\n\nexport function humanizeString(input: string): string {\n if (typeof input !== 'string') {\n throw new TypeError('Expected a string');\n }\n\n input = decamelize(input, ' ');\n input = titleCase(input)\n\n return input;\n}\n\nexport function decamelize(text: string, separator: string = '_'): string {\n return text\n .replace(/([\\p{Lowercase_Letter}\\d])(\\p{Uppercase_Letter})/gu, `$1${separator}$2`)\n .replace(/(\\p{Uppercase_Letter}+)(\\p{Uppercase_Letter}\\p{Lowercase_Letter}+)/gu, `$1${separator}$2`)\n .toLowerCase();\n}\n\nexport function titleCase(str: string): string {\n return str.toLowerCase().split(' ').map(function (word) {\n return (word.charAt(0).toUpperCase() + word.slice(1));\n }).join(' ');\n}\n\nexport function getExt(filename: string) {\n return filename.substr(filename.lastIndexOf('.')+1)\n}\n\nexport function charCount(s: string, c: string) {\n let count = 0;\n c = c.charAt(0);\n for(let i = 0; i < s.length; ++i) {\n if(c === s.charAt(i)) {\n ++count;\n }\n }\n return count;\n}\n\n// Truncate to the number of words to show before we show an ellipses.\nexport function truncateString(input: string, wordsLimit: number) {\n let truncated = input.split(\" \").splice(0, wordsLimit).join(\" \")\n truncated = `${truncated} ...` // Add ellipses to the end.\n return truncated \n}\n","/* tslint:disable */\n/* eslint-disable */\n// These are customized versions of the auto-generated mutations.ts\n\nimport gql from \"graphql-tag\";\n\n// Account\n\nexport const createAccount = /* GraphQL */ gql`\n mutation CreateAccount(\n $input: CreateAccountInput!\n $condition: ModelAccountConditionInput\n ) {\n createAccount(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n ownerId\n name\n address\n city\n state\n postalCode\n country\n active\n# dunsNumber\n# cageCode\n# naicsCode\n# sicCode\n socioEconomicDesignation\n industries\n fein\n accountStatus\n phone\n webUrl\n }\n }\n`;\n\nexport const updateAccount = /* GraphQL */ gql`\n mutation UpdateAccount(\n $input: UpdateAccountInput!\n $condition: ModelAccountConditionInput\n ) {\n updateAccount(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n ownerId\n name\n address\n city\n state\n postalCode\n country\n active\n# dunsNumber\n# cageCode\n# naicsCode\n# sicCode\n socioEconomicDesignation\n industries\n fein\n accountStatus\n phone\n webUrl\n customerId\n }\n }\n`;\n\nexport const deleteAccount = /* GraphQL */ gql`\n mutation DeleteAccount(\n $input: DeleteAccountInput!\n $condition: ModelAccountConditionInput\n ) {\n deleteAccount(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n ownerId\n name\n address\n city\n state\n postalCode\n country\n active\n# dunsNumber\n# cageCode\n# naicsCode\n# sicCode\n socioEconomicDesignation\n industries\n fein\n accountStatus\n phone\n webUrl\n }\n }\n`;\n\n// User\n\nexport const createUser = /* GraphQL */ gql`\n mutation CreateUser(\n $input: CreateUserInput!\n $condition: ModelUserConditionInput\n ) {\n createUser(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n active\n userStatus \n accountId\n firstName\n lastName\n title\n email\n phone\n role\n address\n city\n state\n postalCode\n country\n industry\n lastActiveAt\n account {\n id\n createdAt\n updatedAt\n ownerId\n name\n address\n city\n state\n postalCode\n country\n active\n# dunsNumber\n# cageCode\n# naicsCode\n# sicCode\n socioEconomicDesignation\n industries\n fein\n accountStatus\n phone\n webUrl\n }\n }\n }\n`;\n\nexport const updateUser = /* GraphQL */ gql`\n mutation UpdateUser(\n $input: UpdateUserInput!\n $condition: ModelUserConditionInput\n ) {\n updateUser(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n active\n accountId\n userStatus\n firstName\n lastName\n title\n email\n phone\n role\n address\n city\n state\n postalCode\n country\n industry\n lastActiveAt \n account {\n id\n createdAt\n updatedAt\n ownerId\n name\n address\n city\n state\n postalCode\n country\n active\n# dunsNumber\n# cageCode\n# naicsCode\n# sicCode\n socioEconomicDesignation\n industries\n fein\n accountStatus\n phone\n webUrl\n customerId\n }\n }\n }\n`;\n\nexport const deleteUser = /* GraphQL */ gql`\n mutation DeleteUser(\n $input: DeleteUserInput!\n $condition: ModelUserConditionInput\n ) {\n deleteUser(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n active\n accountId\n userStatus \n firstName\n lastName\n title\n email\n phone\n role\n address\n city\n state\n postalCode\n country\n industry\n lastActiveAt \n }\n }\n`;\n\n// Profile\n\nexport const createProfile = /* GraphQL */ gql`\n mutation CreateProfile(\n $input: CreateProfileInput!\n $condition: ModelProfileConditionInput\n ) {\n createProfile(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n alias\n active\n userId\n nickname\n availability\n desiredRate\n about\n resumeKey\n profileStatus\n statusMessage\n notes \n city\n state\n country\n federalExperience\n totalExperience\n industries\n securityClearance \n securityStatus\n workSettings\n credentials\n }\n }\n`;\nexport const updateProfile = /* GraphQL */ gql`\n mutation UpdateProfile(\n $input: UpdateProfileInput!\n $condition: ModelProfileConditionInput\n ) {\n updateProfile(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n alias\n active\n userId\n user {\n id\n createdAt\n updatedAt\n active\n accountId\n firstName\n lastName\n title\n email\n phone\n role\n address\n city\n state\n postalCode\n country\n industry\n lastActiveAt\n profiles {\n nextToken\n }\n }\n nickname\n availability\n availableDate\n desiredRate\n about\n resumeKey\n profileStatus\n statusMessage\n notes\n city\n state\n country\n federalExperience\n totalExperience\n industries\n securityClearance\n securityStatus\n workSettings\n credentials\n profileLocations {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n locationId\n }\n nextToken\n }\n profileServices {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n serviceId\n industries\n }\n nextToken\n }\n certifications {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n certificationType\n issuedAt\n expiresAt\n certificateKey\n }\n nextToken\n }\n experiences {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n jobTitle\n jobDescription\n agencyType\n agencyName\n employerName\n employerLocation\n startDate\n endDate\n projectNo\n projectName\n projectLocation\n projectDollarAmount\n }\n nextToken\n }\n education {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n school\n degree\n field\n startDate\n endDate\n description\n }\n nextToken\n }\n }\n }\n`;\nexport const deleteProfile = /* GraphQL */ gql`\n mutation DeleteProfile(\n $input: DeleteProfileInput!\n $condition: ModelProfileConditionInput\n ) {\n deleteProfile(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n alias\n active\n userId\n nickname\n availability\n availableDate\n desiredRate\n about\n resumeKey\n profileStatus\n statusMessage\n notes\n city\n state\n country\n federalExperience\n totalExperience\n industries\n securityClearance \n securityStatus\n workSettings\n credentials\n }\n }\n`;\n\n// Experience\n\nexport const createExperience = /* GraphQL */ gql`\n mutation CreateExperience(\n $input: CreateExperienceInput!\n $condition: ModelExperienceConditionInput\n ) {\n createExperience(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n userId\n profileId\n jobTitle\n jobDescription\n agencyType\n agencyName\n employerName\n employerLocation\n startDate\n endDate\n projectNo\n projectName\n projectLocation\n projectDollarAmount\n }\n }\n`;\nexport const updateExperience = /* GraphQL */ gql`\n mutation UpdateExperience(\n $input: UpdateExperienceInput!\n $condition: ModelExperienceConditionInput\n ) {\n updateExperience(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n userId\n profileId\n jobTitle\n jobDescription\n agencyType\n agencyName\n employerName\n employerLocation\n startDate\n endDate\n projectNo\n projectName\n projectLocation\n projectDollarAmount\n }\n }\n`;\nexport const deleteExperience = /* GraphQL */ gql`\n mutation DeleteExperience(\n $input: DeleteExperienceInput!\n $condition: ModelExperienceConditionInput\n ) {\n deleteExperience(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n userId\n profileId\n jobTitle\n jobDescription\n agencyType\n agencyName\n employerName\n employerLocation\n startDate\n endDate\n projectNo\n projectName\n projectLocation\n projectDollarAmount\n }\n }\n`;\n\n\n// Education\n\nexport const createEducation = /* GraphQL */ gql`\n mutation CreateEducation(\n $input: CreateEducationInput!\n $condition: ModelEducationConditionInput\n ) {\n createEducation(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n userId\n profileId\n school\n degree\n field\n startDate\n endDate\n description\n }\n }\n`;\n\nexport const updateEducation = /* GraphQL */ gql`\n mutation UpdateEducation(\n $input: UpdateEducationInput!\n $condition: ModelEducationConditionInput\n ) {\n updateEducation(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n userId\n profileId\n school\n degree\n field\n startDate\n endDate\n description\n }\n }\n`;\nexport const deleteEducation = /* GraphQL */ gql`\n mutation DeleteEducation(\n $input: DeleteEducationInput!\n $condition: ModelEducationConditionInput\n ) {\n deleteEducation(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n userId\n profileId\n school\n degree\n field\n startDate\n endDate\n description\n }\n }\n`;\n\n// Certification\n\nexport const createCertification = /* GraphQL */ gql`\n mutation CreateCertification(\n $input: CreateCertificationInput!\n $condition: ModelCertificationConditionInput\n ) {\n createCertification(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n userId\n profileId\n certificationType\n issuedAt\n expiresAt\n certificateKey\n }\n }\n`;\nexport const updateCertification = /* GraphQL */ gql`\n mutation UpdateCertification(\n $input: UpdateCertificationInput!\n $condition: ModelCertificationConditionInput\n ) {\n updateCertification(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n userId\n profileId\n certificationType\n issuedAt\n expiresAt\n certificateKey\n }\n }\n`;\nexport const deleteCertification = /* GraphQL */ gql`\n mutation DeleteCertification(\n $input: DeleteCertificationInput!\n $condition: ModelCertificationConditionInput\n ) {\n deleteCertification(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n userId\n profileId\n certificationType\n issuedAt\n expiresAt\n certificateKey\n }\n }\n`;\n\n// CertificationType\n\nexport const createCertificationType = /* GraphQL */ gql`\n mutation CreateCertificationType(\n $input: CreateCertificationTypeInput!\n $condition: ModelCertificationTypeConditionInput\n ) {\n createCertificationType(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n name\n active\n industries\n }\n }\n`;\nexport const updateCertificationType = /* GraphQL */ gql`\n mutation UpdateCertificationType(\n $input: UpdateCertificationTypeInput!\n $condition: ModelCertificationTypeConditionInput\n ) {\n updateCertificationType(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n name\n active\n industries\n }\n \n }\n`;\nexport const deleteCertificationType = /* GraphQL */ gql`\n mutation DeleteCertificationType(\n $input: DeleteCertificationTypeInput!\n $condition: ModelCertificationTypeConditionInput\n ) {\n deleteCertificationType(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n name\n active\n industries\n }\n }\n`;\n\n// Agreement\n\nexport const createAgreement = /* GraphQL */ gql`\n mutation CreateAgreement(\n $input: CreateAgreementInput!\n $condition: ModelAgreementConditionInput\n ) {\n createAgreement(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n userId\n accountId\n agreementTypes\n agreementKey\n }\n }\n`;\n\nexport const updateAgreement = /* GraphQL */ gql`\n mutation UpdateAgreement(\n $input: UpdateAgreementInput!\n $condition: ModelAgreementConditionInput\n ) {\n updateAgreement(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n userId\n accountId\n agreementTypes\n agreementKey\n }\n }\n`;\n\nexport const deleteAgreement = /* GraphQL */ gql`\n mutation DeleteAgreement(\n $input: DeleteAgreementInput!\n $condition: ModelAgreementConditionInput\n ) {\n deleteAgreement(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n userId\n accountId\n agreementTypes\n agreementKey\n __typename\n }\n }\n`;\n\n// Location\n\nexport const createLocation = /* GraphQL */ gql`\n mutation CreateLocation(\n $input: CreateLocationInput!\n $condition: ModelLocationConditionInput\n ) {\n createLocation(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n organizationName\n active\n name\n aliases\n addressType\n address\n city\n state\n postalCode\n country\n latitude\n longitude\n }\n }\n`;\nexport const updateLocation = /* GraphQL */ gql`\n mutation UpdateLocation(\n $input: UpdateLocationInput!\n $condition: ModelLocationConditionInput\n ) {\n updateLocation(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n organizationName\n active\n name\n aliases\n addressType \n address\n city\n state\n postalCode\n country\n latitude\n longitude\n }\n }\n`;\nexport const deleteLocation = /* GraphQL */ gql`\n mutation DeleteLocation(\n $input: DeleteLocationInput!\n $condition: ModelLocationConditionInput\n ) {\n deleteLocation(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n organizationName\n active\n name\n aliases\n addressType \n address\n city\n state\n postalCode\n country\n latitude\n longitude\n }\n }\n`;\n\n// ProfileLocation\n\nexport const createProfileLocation = /* GraphQL */ gql`\n mutation CreateProfileLocation(\n $input: CreateProfileLocationInput!\n $condition: ModelProfileLocationConditionInput\n ) {\n createProfileLocation(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n userId\n profileId\n locationId\n }\n }\n`;\nexport const updateProfileLocation = /* GraphQL */ gql`\n mutation UpdateProfileLocation(\n $input: UpdateProfileLocationInput!\n $condition: ModelProfileLocationConditionInput\n ) {\n updateProfileLocation(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n userId\n profileId\n locationId\n }\n }\n`;\nexport const deleteProfileLocation = /* GraphQL */ gql`\n mutation DeleteProfileLocation(\n $input: DeleteProfileLocationInput!\n $condition: ModelProfileLocationConditionInput\n ) {\n deleteProfileLocation(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n userId\n profileId\n locationId\n }\n }\n`;\n\n// ProfileService\n\nexport const createProfileService = /* GraphQL */ gql`\n mutation CreateProfileService(\n $input: CreateProfileServiceInput!\n $condition: ModelProfileServiceConditionInput\n ) {\n createProfileService(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n userId\n profileId\n serviceId\n industries\n }\n }\n`;\nexport const updateProfileService = /* GraphQL */ gql`\n mutation UpdateProfileService(\n $input: UpdateProfileServiceInput!\n $condition: ModelProfileServiceConditionInput\n ) {\n updateProfileService(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n userId\n profileId\n serviceId\n industries\n }\n }\n`;\nexport const deleteProfileService = /* GraphQL */ gql`\n mutation DeleteProfileService(\n $input: DeleteProfileServiceInput!\n $condition: ModelProfileServiceConditionInput\n ) {\n deleteProfileService(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n userId\n profileId\n serviceId\n industries \n }\n }\n`;\n\n// Contract\n\nexport const createContract = /* GraphQL */ gql`\n mutation CreateContract(\n $input: CreateContractInput!\n $condition: ModelContractConditionInput\n ) {\n createContract(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n accountId\n name\n number\n issuedBy\n locationId\n startDate\n endDate\n perDiem\n value\n category\n }\n }\n`;\nexport const updateContract = /* GraphQL */ gql`\n mutation UpdateContract(\n $input: UpdateContractInput!\n $condition: ModelContractConditionInput\n ) {\n updateContract(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n accountId\n name\n number\n issuedBy\n locationId\n startDate\n endDate\n perDiem\n value\n category\n }\n }\n`;\nexport const deleteContract = /* GraphQL */ gql`\n mutation DeleteContract(\n $input: DeleteContractInput!\n $condition: ModelContractConditionInput\n ) {\n deleteContract(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n accountId\n name\n number\n issuedBy\n locationId\n startDate\n endDate\n perDiem\n value\n category\n }\n }\n`;\n\n// ServiceRequest \n\nexport const createServiceRequest = /* GraphQL */ gql`mutation CreateServiceRequest(\n $input: CreateServiceRequestInput!\n $condition: ModelServiceRequestConditionInput\n) {\n createServiceRequest(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n accountId\n account {\n id\n name\n industries\n }\n serviceRequestType\n name\n status\n completedDate\n }\n}\n`;\n\nexport const updateServiceRequest = /* GraphQL */ gql`mutation UpdateServiceRequest(\n $input: UpdateServiceRequestInput!\n $condition: ModelServiceRequestConditionInput\n) {\n updateServiceRequest(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n accountId\n account {\n id\n name\n industries\n }\n serviceRequestType\n name\n status\n completedDate\n jobPosts {\n items {\n id\n createdAt\n updatedAt\n accountId\n account {\n id\n name\n industries\n }\n contractId\n contract {\n id \n name \n locationId\n startDate\n endDate\n category\n value \n }\n serviceRequestId\n locationId\n serviceId\n industries\n title\n summary\n description\n startDate\n endDate\n openDate\n filledDate\n closedDate\n employmentType\n annualSalaryLow\n annualSalaryHigh\n statusId\n status\n openings\n invoiceId\n jobPostType\n hiringDate\n unlocksAvailable\n featured\n questions\n workSettings\n securityClearance\n __typename\n }\n nextToken\n __typename\n }\n __typename\n }\n}\n`;\n\nexport const deleteServiceRequest = /* GraphQL */ gql`mutation DeleteServiceRequest(\n $input: DeleteServiceRequestInput!\n $condition: ModelServiceRequestConditionInput\n) {\n deleteServiceRequest(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n accountId\n serviceRequestType\n name\n status\n completedDate\n __typename\n }\n}\n`;\n\n// JobPost\n\nexport const createJobPost = /* GraphQL */ gql`\n mutation CreateJobPost(\n $input: CreateJobPostInput!\n $condition: ModelJobPostConditionInput\n ) {\n createJobPost(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n accountId\n account {\n id \n name \n industries\n }\n contractId\n contract {\n id \n name\n locationId\n startDate\n endDate\n value\n category\n }\n serviceRequestId\n locationId\n serviceId\n industries\n title \n summary\n description\n startDate\n endDate\n openDate\n closedDate\n employmentType\n annualSalaryLow\n annualSalaryHigh\n statusId\n status\n openings\n invoiceId\n jobPostType\n hiringDate\n unlocksAvailable\n featured\n questions\n workSettings\n securityClearance\n }\n }\n`;\n\nexport const updateJobPost = /* GraphQL */ gql`\n mutation UpdateJobPost(\n $input: UpdateJobPostInput!\n $condition: ModelJobPostConditionInput\n ) {\n updateJobPost(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n accountId\n account {\n id \n name \n industries\n }\n contractId\n contract {\n id \n name\n locationId\n startDate\n endDate\n value\n category\n }\n serviceRequestId \n locationId\n serviceId\n industries\n title\n summary\n description\n startDate\n endDate\n openDate\n closedDate\n employmentType\n annualSalaryLow\n annualSalaryHigh\n statusId\n status\n openings\n invoiceId\n jobPostType\n hiringDate\n unlocksAvailable\n featured\n questions\n workSettings\n securityClearance\n }\n }\n`;\nexport const deleteJobPost = /* GraphQL */ gql`\n mutation DeleteJobPost(\n $input: DeleteJobPostInput!\n $condition: ModelJobPostConditionInput\n ) {\n deleteJobPost(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n accountId\n contractId\n serviceRequestId\n locationId\n serviceId\n industries\n title \n summary\n description\n startDate\n endDate\n openDate\n closedDate\n employmentType\n annualSalaryLow\n annualSalaryHigh\n statusId\n status\n openings\n invoiceId\n jobPostType\n hiringDate\n unlocksAvailable\n featured\n questions\n workSettings\n securityClearance\n }\n }\n`;\n\n// JobInterest\n\nexport const createJobInterest = /* GraphQL */ gql`\n mutation CreateJobInterest(\n $input: CreateJobInterestInput!\n $condition: ModelJobInterestConditionInput\n ) {\n createJobInterest(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n userId\n jobPostId\n status\n ranking\n notes\n message\n unlocked\n application\n origin\n }\n }\n`;\nexport const updateJobInterest = /* GraphQL */ gql`\n mutation UpdateJobInterest(\n $input: UpdateJobInterestInput!\n $condition: ModelJobInterestConditionInput\n ) {\n updateJobInterest(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n userId\n jobPostId\n status\n ranking\n notes\n message\n unlocked\n application\n origin\n }\n }\n`;\nexport const deleteJobInterest = /* GraphQL */ gql`\n mutation DeleteJobInterest(\n $input: DeleteJobInterestInput!\n $condition: ModelJobInterestConditionInput\n ) {\n deleteJobInterest(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n userId\n jobPostId\n status\n ranking\n notes\n message\n unlocked\n application\n origin\n }\n }\n`;\n\n// JobCandidate\n\nexport const createJobCandidate = /* GraphQL */ gql`\n mutation CreateJobCandidate(\n $input: CreateJobCandidateInput!\n $condition: ModelJobCandidateConditionInput\n ) {\n createJobCandidate(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n jobPostId\n accountId\n profileId\n status\n ranking\n notes\n message\n unlocked\n application\n origin\n }\n }\n`;\nexport const updateJobCandidate = /* GraphQL */ gql`\n mutation UpdateJobCandidate(\n $input: UpdateJobCandidateInput!\n $condition: ModelJobCandidateConditionInput\n ) {\n updateJobCandidate(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n jobPostId\n jobPost {\n id\n createdAt\n updatedAt\n accountId\n contractId\n contract {\n id \n name\n locationId\n startDate\n endDate\n value\n category\n }\n locationId\n serviceId\n title\n summary\n description\n startDate\n endDate\n openDate\n closedDate\n employmentType\n annualSalaryLow\n annualSalaryHigh\n statusId\n status\n jobPostType\n hiringDate\n unlocksAvailable\n featured\n questions\n workSettings\n securityClearance\n }\n accountId\n profileId\n profile {\n id\n createdAt\n updatedAt\n alias\n active\n userId\n nickname\n availability \n availableDate\n desiredRate\n about\n resumeKey\n profileStatus\n statusMessage\n notes\n city\n state\n country\n federalExperience\n totalExperience\n industries\n securityClearance \n securityStatus\n workSettings\n credentials\n user {\n firstName\n lastName\n title\n email\n phone\n address\n city\n state\n postalCode\n country\n industry\n }\n }\n status\n ranking\n notes\n message\n unlocked\n application\n origin\n }\n }\n`;\nexport const deleteJobCandidate = /* GraphQL */ gql`\n mutation DeleteJobCandidate(\n $input: DeleteJobCandidateInput!\n $condition: ModelJobCandidateConditionInput\n ) {\n deleteJobCandidate(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n jobPostId\n accountId\n profileId\n status\n ranking\n notes\n message\n unlocked\n application\n origin\n }\n }\n`;\n\n// UserActivity \n\nexport const createUserActivity = /* GraphQL */ gql`\n mutation CreateUserActivity(\n $input: CreateUserActivityInput!\n $condition: ModelUserActivityConditionInput\n ) {\n createUserActivity(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n userId\n subjectType\n subjectId\n activityType\n actorId\n actorName\n accountId\n details\n }\n }\n`;\nexport const updateUserActivity = /* GraphQL */ gql`\n mutation UpdateUserActivity(\n $input: UpdateUserActivityInput!\n $condition: ModelUserActivityConditionInput\n ) {\n updateUserActivity(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n userId\n subjectType\n subjectId\n activityType\n actorId\n actorName\n accountId\n details\n }\n }\n`;\nexport const deleteUserActivity = /* GraphQL */ gql`\n mutation DeleteUserActivity(\n $input: DeleteUserActivityInput!\n $condition: ModelUserActivityConditionInput\n ) {\n deleteUserActivity(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n userId\n subjectType\n subjectId\n activityType\n actorId\n actorName\n accountId\n details\n }\n }\n`;\n\n// ServiceGroup\n\nexport const createServiceGroup = /* GraphQL */ gql`\n mutation CreateServiceGroup(\n $input: CreateServiceGroupInput!\n $condition: ModelServiceGroupConditionInput\n ) {\n createServiceGroup(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n name\n industries\n default\n }\n }\n`;\nexport const updateServiceGroup = /* GraphQL */ gql`\n mutation UpdateServiceGroup(\n $input: UpdateServiceGroupInput!\n $condition: ModelServiceGroupConditionInput\n ) {\n updateServiceGroup(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n name\n industries\n default\n }\n }\n`;\nexport const deleteServiceGroup = /* GraphQL */ gql`\n mutation DeleteServiceGroup(\n $input: DeleteServiceGroupInput!\n $condition: ModelServiceGroupConditionInput\n ) {\n deleteServiceGroup(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n name\n industries\n default\n }\n }\n`;\n\n// Service\n\nexport const createService = /* GraphQL */ gql`\n mutation CreateService(\n $input: CreateServiceInput!\n $condition: ModelServiceConditionInput\n ) {\n createService(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n name\n aliases\n active\n serviceGroupId\n industries\n }\n }\n`;\nexport const updateService = /* GraphQL */ gql`\n mutation UpdateService(\n $input: UpdateServiceInput!\n $condition: ModelServiceConditionInput\n ) {\n updateService(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n name\n aliases\n active\n serviceGroupId\n industries\n }\n }\n`;\nexport const deleteService = /* GraphQL */ gql`\n mutation DeleteService(\n $input: DeleteServiceInput!\n $condition: ModelServiceConditionInput\n ) {\n deleteService(input: $input, condition: $condition) {\n id\n createdAt\n updatedAt\n name\n aliases\n active\n serviceGroupId\n industries\n }\n }\n`;\n","/* tslint:disable */\n/* eslint-disable */\n// These are customized versions of the auto-generated queries.ts\n\nimport gql from \"graphql-tag\";\n\n// Account\n\nexport const getAccount = /* GraphQL */ gql`\n query GetAccount($id: ID!) {\n getAccount(id: $id) {\n id\n createdAt\n updatedAt\n ownerId\n name\n address\n city\n state\n postalCode\n country\n active\n# dunsNumber\n# cageCode\n# naicsCode\n# sicCode\n socioEconomicDesignation\n# fein\n industries\n accountStatus\n phone\n webUrl\n accountType\n accountStatus\n accountSize \n customerId \n classes(limit: 1000) {\n items {\n id\n createdAt\n updatedAt\n courseId\n accountId\n ownerId\n userId\n termBegin\n termEnd\n seatsPurchased\n seatsFilled\n couponCode\n assignmentSchedule\n }\n nextToken\n }\n }\n }\n`;\n\nexport const listAccounts = /* GraphQL */ gql`\n query ListAccounts(\n $filter: ModelAccountFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listAccounts(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n createdAt\n updatedAt\n ownerId\n name\n address\n city\n state\n postalCode\n country\n active\n# dunsNumber\n# cageCode\n# naicsCode\n# sicCode\n socioEconomicDesignation\n# fein\n industries\n accountStatus\n phone\n webUrl\n accountType\n accountStatus\n accountSize \n customerId\n industries\n }\n nextToken\n }\n }\n`;\n\nexport const getAccountUsers = /* GraphQL */ gql`\n query GetAccount($id: ID!) {\n getAccount(id: $id) {\n id\n users(limit: 1000) {\n items {\n id\n createdAt\n updatedAt\n invitedAt\n accountId\n firstName\n lastName\n email\n phone\n jobTitle\n userStatus\n role\n customerId\n lastActiveAt\n }\n nextToken\n }\n }\n }\n`;\n\n// User\n\nexport const getUser = /* GraphQL */ gql`\n query GetUser($id: ID!) {\n getUser(id: $id) {\n id\n createdAt\n updatedAt\n active\n userStatus \n accountId\n account {\n id\n createdAt\n updatedAt\n ownerId\n name\n address\n city\n state\n postalCode\n country\n active\n# dunsNumber\n# cageCode\n# naicsCode\n# sicCode\n socioEconomicDesignation\n# fein\n industries\n accountStatus\n phone\n webUrl\n customerId\n industries\n }\n firstName\n lastName\n title\n email\n phone\n role\n address\n city\n state\n postalCode\n country\n industry\n lastActiveAt\n agreements {\n items {\n id\n createdAt\n updatedAt\n userId\n accountId\n agreementTypes\n agreementKey\n }\n nextToken\n }\n profiles {\n items {\n id\n alias\n active\n user {\n id\n createdAt\n updatedAt\n active\n userStatus\n accountId\n firstName\n lastName\n title\n email\n phone\n role\n address\n city\n state\n postalCode\n country\n industry\n lastActiveAt\n }\n nickname\n availability\n availableDate\n desiredRate\n about\n profileStatus\n federalExperience\n totalExperience\n industries\n securityClearance\n securityStatus\n workSettings\n credentials\n }\n nextToken\n }\n }\n }\n`;\n\nexport const getUserAndProfile = /* GraphQL */ gql`\n query GetUser($id: ID!) {\n getUser(id: $id) {\n id\n createdAt\n updatedAt\n active\n userStatus\n accountId\n account {\n id\n createdAt\n updatedAt\n ownerId\n name\n address\n city\n state\n postalCode\n country\n active\n# dunsNumber\n# cageCode\n# naicsCode\n# sicCode\n socioEconomicDesignation\n# fein\n industries\n accountStatus\n phone\n webUrl\n }\n firstName\n lastName\n title\n email\n phone\n role\n address\n city\n state\n postalCode\n country\n industry\n lastActiveAt\n profiles {\n items {\n id\n createdAt\n updatedAt\n alias\n active\n userId\n nickname\n profileLocations {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n locationId\n }\n nextToken\n }\n profileServices {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n serviceId\n industries\n }\n nextToken\n }\n availability\n availableDate\n desiredRate\n about\n resumeKey\n profileStatus\n statusMessage\n notes\n city\n state\n country\n federalExperience\n totalExperience\n industries\n securityClearance\n securityStatus\n workSettings\n credentials\n }\n nextToken\n }\n }\n }\n`;\n\nexport const getUserProfiles = /* GraphQL */ gql`\n query GetUser($id: ID!) {\n getUser(id: $id) {\n id\n profiles {\n items {\n id\n createdAt\n updatedAt\n alias\n active\n userId\n nickname\n availability\n availableDate\n desiredRate\n about\n resumeKey\n profileStatus\n statusMessage\n notes\n city\n state\n country\n federalExperience\n totalExperience\n industries\n securityClearance\n securityStatus\n workSettings\n credentials\n profileLocations {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n locationId\n }\n nextToken\n }\n profileServices {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n serviceId\n industries\n }\n nextToken\n }\n }\n nextToken\n }\n }\n }\n`;\n\nexport const listUsers = /* GraphQL */ gql`\n query ListUsers(\n $filter: ModelUserFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listUsers(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n createdAt\n updatedAt\n active\n userStatus \n accountId\n account {\n id\n createdAt\n updatedAt\n ownerId\n name\n address\n city\n state\n postalCode\n country\n active\n# dunsNumber\n# cageCode\n# naicsCode\n# sicCode\n socioEconomicDesignation\n# fein\n industries\n accountStatus\n phone\n webUrl\n }\n firstName\n lastName\n title\n email\n phone\n role\n address\n city\n state\n postalCode\n country\n industry\n lastActiveAt\n }\n nextToken\n }\n }\n`;\n\nexport const listUsersByAccount = /* GraphQL */ gql`\n query ListUsersByAccount(\n $accountId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelUserFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listUsersByAccount(\n accountId: $accountId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n active\n userStatus \n accountId\n account {\n id\n createdAt\n updatedAt\n ownerId\n name\n address\n city\n state\n postalCode\n country\n active\n# dunsNumber\n# cageCode\n# naicsCode\n# sicCode\n socioEconomicDesignation\n# fein\n industries\n accountStatus\n phone\n webUrl\n }\n firstName\n lastName\n title\n email\n phone\n role\n address\n city\n state\n postalCode\n country\n industry\n lastActiveAt\n profiles {\n items {\n id\n createdAt\n updatedAt\n alias\n active\n userId\n nickname\n profileLocations {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n locationId\n }\n nextToken\n }\n profileServices {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n serviceId\n industries\n }\n nextToken\n }\n availability\n availableDate\n desiredRate\n about\n resumeKey\n profileStatus\n statusMessage\n notes\n city\n state\n country\n federalExperience\n totalExperience\n industries\n securityClearance\n securityStatus\n workSettings\n credentials\n }\n nextToken\n }\n }\n nextToken\n }\n }\n`;\n\nexport const listApplicantsByAccount = /* GraphQL */ gql`\n query ListUsersByAccount(\n $accountId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelUserFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listUsersByAccount(\n accountId: $accountId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n active\n userStatus\n accountId\n firstName\n lastName\n title\n email\n phone\n role\n address\n city\n state\n postalCode\n country\n industry\n lastActiveAt\n profiles {\n items {\n id\n createdAt\n updatedAt\n alias\n active\n userId\n nickname\n availability\n availableDate\n desiredRate\n resumeKey\n profileStatus\n statusMessage\n notes\n city\n state\n country\n federalExperience\n totalExperience\n industries\n securityClearance\n securityStatus\n workSettings\n credentials\n profileLocations {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n locationId\n }\n nextToken\n }\n profileServices {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n serviceId\n industries\n }\n nextToken\n }\n }\n nextToken\n }\n }\n nextToken\n }\n }\n`;\n\nexport const listCandidatesByAccount = /* GraphQL */ gql`\n query ListUsersByAccount(\n $accountId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelUserFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listUsersByAccount(\n accountId: $accountId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n active\n userStatus\n accountId\n firstName\n lastName\n title\n email\n phone\n role\n address\n city\n state\n postalCode\n country\n industry\n lastActiveAt\n profiles {\n items {\n id\n createdAt\n updatedAt\n alias\n active\n userId\n nickname\n profileLocations {\n items {\n id\n locationId\n }\n nextToken\n }\n profileServices {\n items {\n id\n serviceId\n industries\n }\n nextToken\n }\n availability\n availableDate\n desiredRate\n resumeKey\n profileStatus\n statusMessage\n notes\n city\n state\n country\n federalExperience\n totalExperience\n industries\n securityClearance\n securityStatus\n workSettings\n credentials\n }\n nextToken\n }\n }\n nextToken\n }\n }\n`;\n\nexport const listUsersByRoleAndAccount = /* GraphQL */ gql`\n query ListUsersByRoleAndAccount(\n $role: UserRole!\n $accountId: ModelIDKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelUserFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listUsersByRoleAndAccount(\n role: $role\n accountId: $accountId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n active\n userStatus \n accountId\n account {\n id\n createdAt\n updatedAt\n ownerId\n name\n address\n city\n state\n postalCode\n country\n active\n# dunsNumber\n# cageCode\n# naicsCode\n# sicCode\n socioEconomicDesignation\n# fein\n industries\n accountStatus\n phone\n webUrl\n }\n firstName\n lastName\n title\n email\n phone\n role\n address\n city\n state\n postalCode\n country\n industry\n lastActiveAt\n profiles {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\n\nexport const getUserWithRegistrationsAndClasses = /* GraphQL */ gql`\n query GetUser($id: ID!) {\n getUser(id: $id) {\n id\n createdAt\n updatedAt\n invitedAt \n accountId\n firstName\n lastName\n email\n phone\n jobTitle\n userStatus\n role\n customerId\n lastActiveAt \n accountId\n account {\n id\n createdAt\n updatedAt\n ownerId\n name\n address\n city\n state\n postalCode\n accountType\n accountStatus\n accountSize\n customerId\n classes {\n items {\n id\n createdAt\n updatedAt\n courseId\n accountId\n ownerId\n userId\n termBegin\n termEnd\n seatsPurchased\n seatsFilled\n couponCode\n assignmentSchedule\n }\n nextToken\n }\n }\n registrations(limit: 1000) {\n items {\n id\n createdAt\n updatedAt\n accountId\n classId\n userId\n classStatus\n classProgress\n lessonNumber\n lessonId \n lessonStatus \n videoProgress\n answers\n score\n startedAt\n endsAt\n completedAt\n lessonsAssigned\n nextAssignmentAt\n }\n nextToken\n }\n }\n }\n`;\n\n// Agreements\n\nexport const getAgreement = /* GraphQL */ gql`\n query GetAgreement($id: ID!) {\n getAgreement(id: $id) {\n id\n createdAt\n updatedAt\n userId\n accountId\n agreementTypes\n agreementKey\n __typename\n }\n }\n`;\n\nexport const listAgreementsByAccount = /* GraphQL */ gql`\n query ListAgreementsByAccount(\n $accountId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelAgreementFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listAgreementsByAccount(\n accountId: $accountId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n userId\n accountId\n agreementTypes\n agreementKey\n __typename\n }\n nextToken\n __typename\n }\n }\n`;\n\n// Profile\n\nexport const listProfilesPublic = /* GraphQL */ gql`\n query ListProfiles(\n $filter: ModelProfileFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listProfiles(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n createdAt\n updatedAt\n alias\n active\n userId\n nickname\n availability\n availableDate\n desiredRate\n about\n resumeKey\n profileStatus\n statusMessage\n notes\n city\n state\n country\n federalExperience\n totalExperience\n industries\n securityClearance \n securityStatus\n workSettings\n credentials\n }\n nextToken\n }\n }\n`;\n\nexport const listProfilesPrivate = /* GraphQL */ gql`\n query ListProfiles(\n $filter: ModelProfileFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listProfiles(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n createdAt\n updatedAt\n alias\n active\n userId\n user {\n id\n createdAt\n updatedAt\n active\n userStatus\n accountId\n firstName\n lastName\n title\n email\n phone\n role\n address\n city\n state\n postalCode\n country\n industry\n lastActiveAt\n }\n nickname\n availability\n availableDate\n desiredRate\n about\n resumeKey\n profileStatus\n statusMessage\n notes\n city\n state\n country\n federalExperience\n totalExperience\n industries\n securityClearance\n securityStatus\n workSettings\n credentials\n }\n nextToken\n }\n }\n`;\n\nexport const listProfilesByUser = /* GraphQL */ gql`\n query ListProfilesByUser(\n $userId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelProfileFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listProfilesByUser(\n userId: $userId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n alias\n active\n userId\n user {\n id\n createdAt\n updatedAt\n active\n userStatus \n accountId\n firstName\n lastName\n title\n email\n phone\n role\n address\n city\n state\n postalCode\n country\n industry\n lastActiveAt\n agreements {\n items {\n id\n createdAt\n updatedAt\n userId\n accountId\n agreementTypes\n agreementKey\n }\n nextToken\n }\n }\n nickname \n profileLocations {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n locationId\n }\n nextToken\n }\n profileServices {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n serviceId\n industries\n }\n nextToken\n }\n availability\n availableDate\n desiredRate\n about\n resumeKey\n profileStatus\n statusMessage\n notes\n city\n state\n country\n federalExperience\n totalExperience\n industries\n securityClearance \n securityStatus\n workSettings\n credentials\n experiences {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n jobTitle\n jobDescription\n agencyType\n agencyName\n employerName\n employerLocation\n startDate\n endDate\n projectNo\n projectName\n projectLocation\n projectDollarAmount\n }\n nextToken\n }\n education {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n school\n degree\n field\n startDate\n endDate\n description\n }\n nextToken\n }\n certifications {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n certificationType\n issuedAt\n expiresAt\n certificateKey\n }\n nextToken\n }\n }\n nextToken\n }\n }\n`;\n\nexport const listProfilesByAlias = /* GraphQL */ gql`\n query ListProfilesByAlias(\n $alias: String!\n $sortDirection: ModelSortDirection\n $filter: ModelProfileFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listProfilesByAlias(\n alias: $alias\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n alias\n active\n userId\n nickname\n profileLocations {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n locationId\n }\n nextToken\n }\n profileServices {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n serviceId\n industries\n }\n nextToken\n }\n experiences {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n jobTitle\n jobDescription\n agencyType\n agencyName\n employerName\n employerLocation\n startDate\n endDate\n projectNo\n projectName\n projectLocation\n projectDollarAmount\n }\n nextToken\n }\n education {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n school\n degree\n field\n startDate\n endDate\n description\n }\n nextToken\n }\n certifications {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n certificationType\n certificateKey\n issuedAt\n expiresAt\n }\n nextToken\n }\n availability \n availableDate\n desiredRate\n about\n resumeKey\n profileStatus\n statusMessage\n notes\n city\n state\n country\n federalExperience\n totalExperience\n industries\n securityClearance \n securityStatus\n workSettings\n credentials\n }\n nextToken\n }\n }\n`;\n\nexport const listPublicProfilesByLocation = /* GraphQL */ gql`\n query ListProfilesByLocation(\n $locationId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelProfileLocationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listProfilesByLocation(\n locationId: $locationId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n locationId\n profile {\n id\n createdAt\n updatedAt\n alias\n active\n userId\n nickname\n availability \n availableDate\n desiredRate\n about\n resumeKey\n profileStatus\n statusMessage\n notes\n city\n state\n country\n federalExperience\n totalExperience\n industries\n securityClearance \n securityStatus\n workSettings\n credentials\n profileServices {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n serviceId\n industries\n }\n nextToken\n }\n }\n }\n nextToken\n }\n }\n`;\n\nexport const listProfilesByLocation = /* GraphQL */ gql`\n query ListProfilesByLocation(\n $locationId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelProfileLocationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listProfilesByLocation(\n locationId: $locationId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n locationId\n profile {\n id\n createdAt\n updatedAt\n alias\n active\n userId\n nickname\n availability\n availableDate\n desiredRate\n about\n resumeKey\n profileStatus\n statusMessage\n notes\n city\n state\n country\n federalExperience\n totalExperience\n industries\n securityClearance\n securityStatus\n workSettings\n credentials\n profileServices {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n serviceId\n industries\n }\n nextToken\n }\n }\n }\n nextToken\n }\n }\n`;\n\nexport const listProfilesByLocationPrivate = /* GraphQL */ gql`\n query ListProfilesByLocation(\n $locationId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelProfileLocationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listProfilesByLocation(\n locationId: $locationId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n locationId\n profile {\n id\n createdAt\n updatedAt\n alias\n active\n userId\n user {\n id\n createdAt\n updatedAt\n active\n userStatus\n accountId\n firstName\n lastName\n title\n email\n phone\n role\n address\n city\n state\n postalCode\n country\n industry\n lastActiveAt\n }\n nickname\n availability\n availableDate\n desiredRate\n about\n resumeKey\n profileStatus\n statusMessage\n notes\n city\n state\n country\n federalExperience\n totalExperience\n industries\n securityClearance\n securityStatus\n workSettings\n credentials\n profileServices {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n serviceId\n industries\n }\n nextToken\n }\n }\n }\n nextToken\n }\n }\n`;\n\nexport const listPublicProfilesByService = /* GraphQL */ gql`\n query ListProfilesByService(\n $serviceId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelProfileServiceFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listProfilesByService(\n serviceId: $serviceId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n serviceId\n profile {\n id\n alias\n active\n userId\n nickname\n availability\n availableDate\n about\n profileStatus\n federalExperience\n totalExperience\n industries\n# securityClearance \n securityStatus\n workSettings\n credentials\n profileLocations {\n items {\n id\n locationId\n }\n nextToken\n }\n }\n }\n nextToken\n }\n }\n`;\n\nexport const listProfilesByService = /* GraphQL */ gql`\n query ListProfilesByService(\n $serviceId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelProfileServiceFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listProfilesByService(\n serviceId: $serviceId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n serviceId\n profile {\n id\n alias\n active\n user {\n id\n firstName\n lastName\n }\n nickname\n availability\n availableDate\n about\n profileStatus\n federalExperience\n totalExperience\n industries\n securityClearance\n securityStatus\n workSettings\n credentials\n profileLocations {\n items {\n id\n locationId\n }\n nextToken\n }\n profileServices {\n items {\n id \n serviceId\n industries \n }\n nextToken\n }\n certifications {\n items {\n id\n certificationType\n }\n nextToken\n }\n }\n }\n nextToken\n }\n }\n`;\n\nexport const listProfilesByServicePrivate = /* GraphQL */ gql`\n query ListProfilesByService(\n $serviceId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelProfileServiceFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listProfilesByService(\n serviceId: $serviceId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n serviceId\n profile {\n id\n alias\n active\n user {\n id\n createdAt\n updatedAt\n active\n userStatus\n accountId\n firstName\n lastName\n title\n email\n phone\n role\n address\n city\n state\n postalCode\n country\n industry\n lastActiveAt\n }\n nickname\n availability\n availableDate\n desiredRate\n about\n profileStatus\n federalExperience\n totalExperience\n industries\n securityClearance\n securityStatus\n workSettings\n credentials\n profileLocations {\n items {\n id\n locationId\n }\n nextToken\n }\n certifications {\n items {\n id\n certificationType\n }\n nextToken\n }\n }\n }\n nextToken\n }\n }\n`;\n\nexport const getProfile = /* GraphQL */ gql`\n query GetProfile($id: ID!) {\n getProfile(id: $id) {\n id\n createdAt\n updatedAt\n alias\n active\n userId\n user {\n id\n createdAt\n updatedAt\n active\n userStatus\n accountId\n firstName\n lastName\n title\n email\n phone\n role\n address\n city\n state\n postalCode\n country\n industry\n lastActiveAt\n }\n nickname\n availability\n availableDate\n desiredRate\n about\n resumeKey\n profileStatus\n statusMessage\n notes\n city\n state\n country\n federalExperience\n totalExperience\n industries\n securityClearance\n securityStatus\n workSettings\n credentials\n profileLocations {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n locationId\n }\n nextToken\n }\n profileServices {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n serviceId\n industries\n }\n nextToken\n }\n experiences {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n jobTitle\n jobDescription\n agencyType\n agencyName\n employerName\n employerLocation\n startDate\n endDate\n projectNo\n projectName\n projectLocation\n projectDollarAmount\n }\n nextToken\n }\n education {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n school\n degree\n field\n startDate\n endDate\n description\n }\n nextToken\n }\n certifications {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n certificationType\n issuedAt\n expiresAt\n certificateKey\n }\n nextToken\n }\n }\n }\n`;\n\nexport const getPublicProfile = /* GraphQL */ gql`\n query GetProfile($id: ID!) {\n getProfile(id: $id) {\n id\n createdAt\n updatedAt\n alias\n active\n nickname\n availability\n availableDate\n desiredRate\n about\n profileStatus\n statusMessage\n city\n state\n country\n federalExperience\n totalExperience\n industries\n# securityClearance\n securityStatus\n workSettings\n credentials\n userId\n profileLocations {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n locationId\n }\n nextToken\n }\n profileServices {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n serviceId\n industries\n }\n nextToken\n }\n experiences {\n items {\n id\n createdAt\n updatedAt\n profileId\n jobTitle\n jobDescription\n agencyType\n agencyName\n employerName\n employerLocation\n startDate\n endDate\n projectNo\n projectName\n projectLocation\n projectDollarAmount\n }\n nextToken\n }\n education {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n school\n degree\n field\n startDate\n endDate\n description\n }\n nextToken\n }\n certifications {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n certificationType\n certificateKey\n issuedAt\n expiresAt\n }\n nextToken\n }\n }\n }\n`;\n\n// Experience\n\nexport const listExperiences = /* GraphQL */ gql`\n query ListExperiences(\n $filter: ModelExperienceFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listExperiences(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n jobTitle\n jobDescription\n agencyType\n agencyName\n employerName\n employerLocation\n startDate\n endDate\n projectNo\n projectName\n projectLocation\n projectDollarAmount\n }\n nextToken\n }\n }\n`;\nexport const listExperiencesByProfile = /* GraphQL */ gql`\n query ListExperiencesByProfile(\n $profileId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelExperienceFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listExperiencesByProfile(\n profileId: $profileId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n jobTitle\n jobDescription\n agencyType\n agencyName\n employerName\n employerLocation\n startDate\n endDate\n projectNo\n projectName\n projectLocation\n projectDollarAmount\n }\n nextToken\n }\n }\n`;\n\nexport const getExperience = /* GraphQL */ gql`\n query GetExperience($id: ID!) {\n getExperience(id: $id) {\n id\n createdAt\n updatedAt\n userId\n profileId\n jobTitle\n jobDescription\n agencyType\n agencyName\n employerName\n employerLocation\n startDate\n endDate\n projectNo\n projectName\n projectLocation\n projectDollarAmount\n }\n }\n`;\n\n\n// Education\n\nexport const getEducation = /* GraphQL */ gql`\n query GetEducation($id: ID!) {\n getEducation(id: $id) {\n id\n createdAt\n updatedAt\n userId\n profileId\n school\n degree\n field\n startDate\n endDate\n description\n }\n }\n`;\n\nexport const listEducations = /* GraphQL */ gql`\n query ListEducations(\n $filter: ModelEducationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listEducations(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n school\n degree\n field\n startDate\n endDate\n description\n profile {\n id\n createdAt\n updatedAt\n alias\n active\n userId\n nickname\n availability\n availableDate\n desiredRate\n about\n resumeKey\n profileStatus\n statusMessage\n }\n }\n nextToken\n }\n }\n`;\nexport const listEducationByProfile = /* GraphQL */ gql`\n query ListEducationByProfile(\n $profileId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelEducationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listEducationByProfile(\n profileId: $profileId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n school\n degree\n field\n startDate\n endDate\n description\n }\n nextToken\n }\n }\n`;\n\n// Certification\n\nexport const listCertificationsByProfile = /* GraphQL */ gql`\n query ListCertificationsByProfile(\n $profileId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelCertificationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listCertificationsByProfile(\n profileId: $profileId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n certificationType\n issuedAt\n expiresAt\n certificateKey\n }\n nextToken\n }\n }\n`;\n\nexport const getCertification = /* GraphQL */ gql`\n query GetCertification($id: ID!) {\n getCertification(id: $id) {\n id\n createdAt\n updatedAt\n userId\n profileId\n certificationType\n issuedAt\n expiresAt\n certificateKey\n }\n }\n`;\n\n// CertificationType\n\nexport const getCertificationType = /* GraphQL */ gql`\n query GetCertificationType($id: ID!) {\n getCertificationType(id: $id) {\n id\n createdAt\n updatedAt\n name\n active\n industries\n }\n }\n`;\nexport const listCertificationTypes = /* GraphQL */ gql`\n query ListCertificationTypes(\n $id: ID\n $filter: ModelCertificationTypeFilterInput\n $limit: Int\n $nextToken: String\n $sortDirection: ModelSortDirection\n ) {\n listCertificationTypes(\n id: $id\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n sortDirection: $sortDirection\n ) {\n items {\n id\n createdAt\n updatedAt\n name\n active\n industries\n }\n nextToken\n }\n }\n`;\n\n// Location\n\nexport const getLocation = /* GraphQL */ gql`\n query GetLocation($id: ID!) {\n getLocation(id: $id) {\n id\n createdAt\n updatedAt\n organizationName\n active\n name\n aliases\n addressType\n address\n city\n state\n postalCode\n country\n latitude\n longitude\n }\n }\n`;\n\nexport const listLocations = /* GraphQL */ gql`\n query ListLocations(\n $filter: ModelLocationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listLocations(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n createdAt\n updatedAt\n organizationName\n active\n name\n aliases\n addressType\n address\n city\n state\n postalCode\n country\n latitude\n longitude\n }\n nextToken\n }\n }\n`;\n\n// ProfileLocation\n\nexport const getProfileLocation = /* GraphQL */ gql`\n query GetProfileLocation($id: ID!) {\n getProfileLocation(id: $id) {\n id\n createdAt\n updatedAt\n userId\n profileId\n locationId\n }\n }\n`;\n\nexport const listProfileLocations = /* GraphQL */ gql`\n query ListProfileLocations(\n $filter: ModelProfileLocationFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listProfileLocations(\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n locationId\n }\n nextToken\n }\n }\n`;\n\n// ProfileService\n\nexport const getProfileService = /* GraphQL */ gql`\n query GetProfileService($id: ID!) {\n getProfileService(id: $id) {\n id\n createdAt\n updatedAt\n userId\n profileId\n serviceId\n industries \n }\n }\n`;\nexport const listProfileServices = /* GraphQL */ gql`\n query ListProfileServices(\n $filter: ModelProfileServiceFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listProfileServices(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n createdAt\n updatedAt\n userId\n profileId\n serviceId\n industries \n }\n nextToken\n }\n }\n`;\n\n// Contract\n\nexport const getContract = /* GraphQL */ gql`\n query GetContract($id: ID!) {\n getContract(id: $id) {\n id\n createdAt\n updatedAt\n accountId\n name\n number\n issuedBy\n locationId\n startDate\n endDate\n perDiem\n value\n category \n jobPosts {\n items {\n id\n createdAt\n updatedAt\n accountId\n contractId\n serviceId\n industries\n title\n summary\n description\n startDate\n endDate\n openDate\n closedDate\n employmentType\n annualSalaryLow\n annualSalaryHigh\n statusId\n status\n }\n nextToken\n }\n }\n }\n`;\n\nexport const listContracts = /* GraphQL */ gql`\n query ListContracts(\n $filter: ModelContractFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listContracts(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n createdAt\n updatedAt\n accountId\n name\n number\n issuedBy\n locationId\n startDate\n endDate\n perDiem\n value\n category \n jobPosts {\n nextToken\n }\n }\n nextToken\n }\n }\n`;\nexport const listContractsByAccount = /* GraphQL */ gql`\n query ListContractsByAccount(\n $accountId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelContractFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listContractsByAccount(\n accountId: $accountId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n accountId\n name\n number\n issuedBy\n locationId\n startDate\n endDate\n perDiem\n value \n category\n jobPosts {\n items {\n id\n createdAt\n updatedAt\n accountId\n locationId\n contractId\n serviceId\n industries\n title\n summary\n description\n startDate\n endDate\n openDate\n closedDate\n employmentType\n annualSalaryLow\n annualSalaryHigh\n statusId\n status\n jobPostType\n }\n nextToken\n }\n }\n nextToken\n }\n }\n`;\n\n// ServiceRequest \n\nexport const getServiceRequest = /* GraphQL */ gql`query GetServiceRequest($id: ID!) {\n getServiceRequest(id: $id) {\n id\n createdAt\n updatedAt\n accountId\n account {\n id\n name\n industries\n }\n serviceRequestType\n name\n status\n completedDate\n jobPosts {\n items {\n id\n createdAt\n updatedAt\n accountId\n account {\n id \n name \n }\n contractId\n contract {\n id\n name\n locationId\n startDate\n endDate\n value\n category\n }\n serviceRequestId\n locationId\n serviceId\n industries\n title\n summary\n description\n startDate\n endDate\n openDate\n filledDate\n closedDate\n employmentType\n annualSalaryLow\n annualSalaryHigh\n statusId\n status\n openings\n invoiceId\n jobPostType\n hiringDate\n unlocksAvailable\n featured\n questions\n workSettings\n securityClearance\n __typename\n }\n nextToken\n __typename\n }\n __typename\n }\n}\n`;\n\nexport const listServiceRequests = /* GraphQL */ gql`query ListServiceRequests(\n $id: ID\n $filter: ModelServiceRequestFilterInput\n $limit: Int\n $nextToken: String\n $sortDirection: ModelSortDirection\n) {\n listServiceRequests(\n id: $id\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n sortDirection: $sortDirection\n ) {\n items {\n id\n createdAt\n updatedAt\n accountId\n account {\n id\n name \n industries\n __typename\n }\n serviceRequestType\n name\n status\n completedDate\n jobPosts {\n items {\n id\n createdAt\n updatedAt\n accountId\n account {\n id \n name \n }\n contractId\n contract {\n id\n name\n locationId\n startDate\n endDate\n value\n category\n }\n serviceRequestId\n locationId\n serviceId\n industries\n title\n summary\n description\n startDate\n endDate\n openDate\n filledDate\n closedDate\n employmentType\n annualSalaryLow\n annualSalaryHigh\n statusId\n status\n openings\n invoiceId\n jobPostType\n hiringDate\n unlocksAvailable\n featured\n questions\n workSettings\n securityClearance\n __typename\n }\n nextToken\n __typename\n }\n __typename\n }\n nextToken\n __typename\n }\n}\n`;\n\nexport const listServiceRequestsByAccount = /* GraphQL */ gql`query ListServiceRequestsByAccount(\n $accountId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelServiceRequestFilterInput\n $limit: Int\n $nextToken: String\n) {\n listServiceRequestsByAccount(\n accountId: $accountId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n accountId\n account {\n id\n name\n industries\n }\n serviceRequestType\n name\n status\n completedDate\n jobPosts {\n items {\n id\n createdAt\n updatedAt\n accountId\n account {\n id \n name \n }\n contractId\n contract {\n id\n name\n locationId\n startDate\n endDate\n value\n category\n }\n serviceRequestId\n locationId\n serviceId\n industries\n title\n summary\n description\n startDate\n endDate\n openDate\n filledDate\n closedDate\n employmentType\n annualSalaryLow\n annualSalaryHigh\n statusId\n status\n openings\n invoiceId\n jobPostType\n hiringDate\n unlocksAvailable\n featured\n questions\n workSettings\n securityClearance\n __typename\n }\n nextToken\n __typename\n }\n __typename\n }\n nextToken\n __typename\n }\n}\n`;\n\n// JobPost\n\nexport const getJobPost = /* GraphQL */ gql`\n query GetJobPost($id: ID!) {\n getJobPost(id: $id) {\n id\n createdAt\n updatedAt\n accountId\n account {\n id\n name\n webUrl\n }\n contractId\n contract {\n id\n createdAt\n updatedAt\n accountId\n name\n number\n issuedBy\n locationId\n startDate\n endDate\n perDiem\n value\n category\n }\n serviceRequestId\n serviceRequest {\n id \n name \n }\n locationId\n serviceId\n industries\n title\n summary\n description\n startDate\n endDate\n openDate\n closedDate\n employmentType\n annualSalaryLow\n annualSalaryHigh\n jobCandidates {\n items {\n id\n createdAt\n updatedAt\n jobPostId\n accountId\n profileId\n status\n ranking\n notes\n message\n unlocked\n application\n }\n nextToken\n }\n statusId\n status\n openings\n invoiceId\n jobPostType\n hiringDate\n unlocksAvailable\n featured\n questions\n workSettings\n securityClearance\n }\n }\n`;\n\nexport const getPublicJobPost = /* GraphQL */ gql`\n query GetJobPost($id: ID!) {\n getJobPost(id: $id) {\n id\n createdAt\n updatedAt\n accountId\n contractId\n locationId\n serviceId\n industries\n title \n summary\n description\n startDate\n endDate\n openDate\n closedDate\n employmentType\n annualSalaryLow\n annualSalaryHigh\n statusId\n status\n openings\n jobPostType\n hiringDate\n unlocksAvailable\n featured\n workSettings\n securityClearance\n }\n }\n`;\n\nexport const listJobPosts = /* GraphQL */ gql`\n query ListJobPosts(\n $filter: ModelJobPostFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listJobPosts(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n createdAt\n updatedAt\n accountId\n account {\n id\n name\n webUrl\n }\n contractId\n contract {\n id\n # createdAt\n # updatedAt\n # accountId\n name\n # number\n # issuedBy\n # locationId\n # startDate\n # endDate\n # perDiem\n # value\n # category\n }\n serviceRequestId\n serviceRequest {\n id \n name \n }\n locationId\n serviceId\n industries\n title \n summary\n description\n startDate\n endDate\n openDate\n closedDate\n employmentType\n annualSalaryLow\n annualSalaryHigh\n statusId\n status \n openings\n invoiceId\n jobPostType\n hiringDate\n unlocksAvailable\n featured\n workSettings \n securityClearance\n }\n nextToken\n }\n }\n`;\n\nexport const listJobPostsAndCandidates = /* GraphQL */ gql`\n query ListJobPosts(\n $filter: ModelJobPostFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listJobPosts(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n createdAt\n updatedAt\n accountId\n account {\n id\n name\n webUrl\n }\n contractId\n contract {\n id\n createdAt\n updatedAt\n accountId\n name\n locationId\n startDate\n endDate\n value\n category\n }\n serviceRequestId\n serviceRequest {\n id \n name \n }\n locationId\n serviceId\n industries\n title\n summary\n description\n startDate\n endDate\n openDate\n closedDate\n employmentType\n annualSalaryLow\n annualSalaryHigh\n statusId\n openings\n invoiceId\n jobPostType\n hiringDate\n unlocksAvailable\n featured\n questions\n workSettings\n securityClearance\n jobCandidates {\n items {\n id\n status\n jobPostId\n accountId\n unlocked\n profile {\n id \n nickname\n profileStatus \n }\n }\n nextToken\n }\n }\n nextToken\n }\n }\n`;\n\nexport const listJobPostsByContract = /* GraphQL */ gql`\n query ListJobPostsByContract(\n $contractId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelJobPostFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listJobPostsByContract(\n contractId: $contractId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n accountId\n contractId\n serviceRequestId\n serviceRequest {\n id \n name \n }\n locationId\n serviceId\n industries\n title \n summary\n description\n startDate\n endDate\n openDate\n closedDate\n employmentType\n annualSalaryLow\n annualSalaryHigh\n statusId\n status\n openings\n invoiceId\n jobPostType\n hiringDate\n unlocksAvailable\n featured\n workSettings\n securityClearance\n jobCandidates {\n items {\n id\n createdAt\n updatedAt\n jobPostId\n accountId\n profileId\n status\n ranking\n notes\n message\n unlocked\n application\n }\n nextToken\n }\n }\n nextToken\n }\n }\n`;\n\nexport const listJobPostsByServiceRequest = /* GraphQL */ gql`\n query ListJobPostsByServiceRequest(\n $serviceRequestId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelJobPostFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listJobPostsByServiceRequest(\n serviceRequestId: $serviceRequestId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n accountId\n account {\n id \n name \n industries\n }\n contractId\n contract {\n id\n createdAt\n updatedAt\n accountId\n name\n number\n issuedBy\n locationId\n startDate\n endDate\n perDiem\n value\n category\n }\n serviceRequestId\n locationId\n serviceId\n industries\n title\n summary\n description\n startDate\n endDate\n openDate\n filledDate\n closedDate\n employmentType\n annualSalaryLow\n annualSalaryHigh\n jobCandidates {\n nextToken\n __typename\n }\n statusId\n status\n openings\n invoiceId\n jobPostType\n hiringDate\n unlocksAvailable\n featured\n questions\n workSettings\n securityClearance\n __typename\n }\n nextToken\n __typename\n }\n }\n`;\n\nexport const listJobPostsByService = /* GraphQL */ gql`\n query ListJobPostsByService(\n $serviceId: ID!\n $locationId: ModelStringKeyConditionInput\n $sortDirection: ModelSortDirection\n $filter: ModelJobPostFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listJobPostsByService(\n serviceId: $serviceId\n locationId: $locationId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n accountId\n contractId\n serviceRequestId\n locationId\n serviceId\n industries\n title\n summary\n description\n startDate\n endDate\n openDate\n closedDate\n employmentType\n annualSalaryLow\n annualSalaryHigh\n statusId\n status\n openings\n jobPostType\n hiringDate\n unlocksAvailable\n featured\n workSettings\n securityClearance\n account {\n id\n name\n webUrl\n }\n }\n nextToken\n }\n }\n`;\n\nexport const listJobPostsByLocation = /* GraphQL */ gql`\n query ListJobPostsByLocation(\n $locationId: String!\n $sortDirection: ModelSortDirection\n $filter: ModelJobPostFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listJobPostsByLocation(\n locationId: $locationId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n accountId\n account {\n id\n name\n }\n contractId\n serviceRequestId\n locationId\n serviceId\n industries\n title\n summary\n description\n startDate\n endDate\n openDate\n filledDate\n closedDate\n employmentType\n annualSalaryLow\n annualSalaryHigh\n statusId\n status\n openings\n invoiceId\n jobPostType\n hiringDate\n unlocksAvailable\n featured\n# questions\n workSettings\n securityClearance\n }\n nextToken\n }\n }\n`;\n\nexport const listJobPostsByAccount = /* GraphQL */ gql`\n query ListJobPostsByAccount(\n $accountId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelJobPostFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listJobPostsByAccount(\n accountId: $accountId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n accountId\n contractId\n contract {\n id \n name\n }\n serviceRequestId\n serviceRequest {\n id \n name \n }\n locationId\n serviceId\n industries\n title\n summary\n description\n startDate\n endDate\n openDate\n closedDate\n employmentType\n annualSalaryLow\n annualSalaryHigh\n statusId\n status \n openings\n invoiceId\n jobPostType\n hiringDate\n unlocksAvailable\n featured\n workSettings\n securityClearance\n account {\n id\n name\n webUrl\n }\n jobCandidates {\n items {\n id\n jobPostId\n accountId\n status\n unlocked\n profile {\n id\n nickname\n }\n }\n nextToken\n }\n }\n nextToken\n }\n }\n`;\n\nexport const listJobPostsAndCandidatesByAccount = /* GraphQL */ gql`\n query ListJobPostsByAccount(\n $accountId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelJobPostFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listJobPostsByAccount(\n accountId: $accountId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n accountId\n contractId\n contract {\n id\n name\n locationId\n startDate\n endDate\n value\n category\n }\n serviceRequestId\n serviceRequest {\n id \n name \n }\n locationId\n serviceId\n industries\n title\n summary\n description\n startDate\n endDate\n openDate\n closedDate\n employmentType\n annualSalaryLow\n annualSalaryHigh\n statusId\n openings\n invoiceId\n jobPostType\n hiringDate\n unlocksAvailable\n featured\n questions\n workSettings\n securityClearance\n account {\n id\n name\n webUrl\n }\n jobCandidates {\n items {\n id\n createdAt\n updatedAt\n jobPostId\n accountId\n profileId\n profile {\n id\n nickname\n profileStatus\n }\n status\n ranking\n notes\n message\n unlocked\n }\n nextToken\n }\n }\n nextToken\n }\n }\n`;\n// JobInterest\n\nexport const listJobInterestsByUser = /* GraphQL */ gql`\n query ListJobInterestsByUser(\n $userId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelJobInterestFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listJobInterestsByUser(\n userId: $userId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n userId\n jobPostId\n status\n ranking\n notes\n message\n unlocked\n }\n nextToken\n }\n }\n`;\n\nexport const listJobInterestsByJobPost = /* GraphQL */ gql`\n query ListJobInterestsByJobPost(\n $jobPostId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelJobInterestFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listJobInterestsByJobPost(\n jobPostId: $jobPostId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n userId\n jobPostId\n ranking\n status\n notes\n message\n unlocked\n }\n nextToken\n }\n }\n`;\n\nexport const getJobInterest = /* GraphQL */ gql`\n query GetJobInterest($id: ID!) {\n getJobInterest(id: $id) {\n id\n createdAt\n updatedAt\n userId\n jobPostId\n status\n ranking\n notes\n message\n unlocked\n application }\n }\n`;\n\n// JobCandidate\n\nexport const listJobCandidatesByJobPost = /* GraphQL */ gql`\n query ListJobCandidatesByJobPost(\n $jobPostId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelJobCandidateFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listJobCandidatesByJobPost(\n jobPostId: $jobPostId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n jobPostId\n accountId\n profileId\n status\n ranking\n notes\n message\n unlocked\n application\n profile {\n id\n createdAt\n updatedAt\n alias\n active\n userId\n nickname\n availability \n availableDate\n desiredRate\n about\n resumeKey\n profileStatus\n statusMessage\n notes\n city\n state\n country\n federalExperience\n totalExperience\n industries\n securityClearance \n securityStatus\n workSettings\n credentials\n user {\n firstName\n lastName\n title\n email\n phone\n address\n city\n state\n postalCode\n country\n industry\n }\n }\n }\n nextToken\n }\n }\n`;\n\nexport const listJobCandidatesByAccount = /* GraphQL */ gql`\n query ListJobCandidatesByAccount(\n $accountId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelJobCandidateFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listJobCandidatesByAccount(\n accountId: $accountId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n jobPostId\n accountId\n profileId\n status\n ranking\n notes\n message\n unlocked\n profile {\n id\n createdAt\n updatedAt\n alias\n active\n userId\n nickname\n availability\n availableDate\n desiredRate\n about\n resumeKey\n profileStatus\n statusMessage\n notes\n city\n state\n country\n federalExperience\n totalExperience\n industries\n securityClearance\n securityStatus\n workSettings\n credentials\n }\n }\n nextToken\n }\n }\n`;\n\nexport const listJobCandidatesByProfile = /* GraphQL */ gql`\n query ListJobCandidatesByProfile(\n $profileId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelJobCandidateFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listJobCandidatesByProfile(\n profileId: $profileId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n jobPostId\n accountId\n profileId\n status\n ranking\n notes\n message\n unlocked\n application \n profile {\n id\n createdAt\n updatedAt\n alias\n active\n userId\n nickname\n availability\n availableDate\n desiredRate\n about\n resumeKey\n profileStatus\n statusMessage\n notes\n city\n state\n country\n federalExperience\n totalExperience\n industries\n securityClearance \n securityStatus\n workSettings\n credentials\n }\n jobPost {\n id\n createdAt\n updatedAt\n accountId\n contractId\n contract { \n id \n name\n locationId\n startDate\n endDate\n value\n category\n }\n serviceRequestId\n serviceRequest {\n id \n name \n }\n locationId\n serviceId\n industries\n title \n summary\n description\n startDate\n endDate\n openDate\n closedDate\n employmentType\n annualSalaryLow\n annualSalaryHigh\n statusId\n status\n jobPostType\n hiringDate\n unlocksAvailable\n featured\n workSettings\n securityClearance\n }\n }\n nextToken\n }\n }\n`;\n\nexport const getJobCandidate = /* GraphQL */ gql`\n query GetJobCandidate($id: ID!) {\n getJobCandidate(id: $id) {\n id\n createdAt\n updatedAt\n jobPostId\n accountId\n profileId\n status\n ranking\n notes\n message\n unlocked\n application\n profile {\n id\n createdAt\n updatedAt\n alias\n active\n userId\n nickname\n availability\n availableDate\n desiredRate\n about\n resumeKey\n profileStatus\n statusMessage\n notes\n city\n state\n country\n federalExperience\n totalExperience\n industries\n securityClearance \n securityStatus\n workSettings\n credentials\n }\n }\n }\n`;\n\n// Course\n\nexport const getCourse = /* GraphQL */ gql`\n query GetCourse($id: ID!) {\n getCourse(id: $id) {\n id\n createdAt\n updatedAt\n title\n description\n coverUrl\n details\n publishDate\n sunsetDate\n lessonCount\n creditHours\n isFree\n lessons\n }\n }\n`;\n\nexport const listCourses = /* GraphQL */ gql`\n query ListCourses(\n $filter: ModelCourseFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listCourses(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n createdAt\n updatedAt\n title\n description\n coverUrl\n details\n publishDate\n sunsetDate\n lessonCount\n creditHours\n isFree\n }\n nextToken\n }\n }\n`;\n\n// Class\n\nexport const getClass = /* GraphQL */ gql`\n query GetClass($id: ID!) {\n getClass(id: $id) {\n id\n createdAt\n updatedAt\n courseId\n course {\n id\n createdAt\n updatedAt\n title\n description\n coverUrl\n details\n publishDate\n sunsetDate\n lessonCount\n creditHours\n isFree\n lessons\n classes {\n nextToken\n }\n }\n accountId\n ownerId\n userId \n termBegin\n termEnd\n seatsPurchased\n seatsFilled\n couponCode\n assignmentSchedule \n registrations(limit: 1000) {\n items {\n id\n createdAt\n updatedAt\n accountId\n classId\n userId\n classStatus\n classProgress\n lessonNumber\n lessonId\n lessonStatus\n videoProgress\n answers\n score\n startedAt\n endsAt \n completedAt\n lessonsAssigned\n nextAssignmentAt\n }\n nextToken\n }\n }\n }\n`;\n\n// Registration\n\nexport const getRegistration = /* GraphQL */ gql`\n query GetRegistration($id: ID!) {\n getRegistration(id: $id) {\n id\n createdAt\n updatedAt\n accountId\n classId\n class {\n id\n createdAt\n updatedAt\n courseId\n accountId\n ownerId\n userId \n termBegin\n termEnd\n seatsPurchased\n seatsFilled\n couponCode\n assignmentSchedule \n }\n userId\n classStatus\n classProgress\n lessonNumber\n lessonId\n lessonStatus \n videoProgress\n answers\n score\n startedAt\n endsAt\n completedAt\n lessonsAssigned\n nextAssignmentAt\n \n }\n }\n`;\n\n// Activity\n\nexport const listAccountActivity = /* GraphQL */ gql`\n query GetAccount(\n $id: ID!\n $filter: ModelActivityFilterInput\n $limit: Int\n $sortDirection: ModelSortDirection\n $nextToken: String\n ) {\n getAccount(id: $id) {\n id\n activity(filter: $filter, limit: $limit, nextToken: $nextToken, sortDirection: $sortDirection) {\n items {\n id\n createdAt\n updatedAt\n accountId\n userId\n activityDate\n activityType\n objectId\n values\n }\n nextToken\n }\n }\n }\n`;\n\nexport const listActivitys = /* GraphQL */ gql`\n query ListActivitys(\n $filter: ModelActivityFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listActivitys(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n createdAt\n updatedAt\n accountId\n userId\n activityDate\n activityType\n objectId\n values\n }\n nextToken\n }\n }\n`;\n\nexport const listActivityByDate = /* GraphQL */ gql`\n query ListActivityByDate(\n $activityDate: AWSDate\n $sortDirection: ModelSortDirection\n $filter: ModelActivityFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listActivityByDate(\n activityDate: $activityDate\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n accountId\n userId\n activityDate\n activityType\n objectId\n values\n }\n nextToken\n }\n }\n`;\n\n// UserActivity \n\nexport const getUserActivity = /* GraphQL */ gql`\n query GetUserActivity($id: ID!) {\n getUserActivity(id: $id) {\n id\n createdAt\n updatedAt\n userId\n subjectType\n subjectId\n activityType\n actorId\n actorName\n accountId \n details\n }\n }\n`;\n\nexport const listUserActivityByUser = /* GraphQL */ gql`\n query ListUserActivityByUser(\n $userId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelUserActivityFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listUserActivityByUser(\n userId: $userId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n userId\n subjectType\n subjectId\n activityType\n actorId\n actorName\n accountId\n details\n }\n nextToken\n }\n }\n`;\n\nexport const listUserActivityBySubject = /* GraphQL */ gql`\n query ListUserActivityBySubject(\n $subjectId: ID!\n $sortDirection: ModelSortDirection\n $filter: ModelUserActivityFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listUserActivityBySubject(\n subjectId: $subjectId\n sortDirection: $sortDirection\n filter: $filter\n limit: $limit\n nextToken: $nextToken\n ) {\n items {\n id\n createdAt\n updatedAt\n userId\n subjectType\n subjectId\n activityType\n actorId\n actorName\n accountId \n details\n }\n nextToken\n }\n }\n`;\n\n// ServiceGroup\n\nexport const getServiceGroup = /* GraphQL */ gql`\n query GetServiceGroup($id: ID!) {\n getServiceGroup(id: $id) {\n id\n createdAt\n updatedAt\n name\n industries\n default\n services {\n items {\n id\n createdAt\n updatedAt\n name\n aliases\n active\n serviceGroupId\n industries\n }\n nextToken\n }\n }\n }\n`;\nexport const listServiceGroups = /* GraphQL */ gql`\n query ListServiceGroups(\n $filter: ModelServiceGroupFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listServiceGroups(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n createdAt\n updatedAt\n name\n industries\n default\n services {\n items {\n id\n createdAt\n updatedAt\n name\n aliases\n active\n serviceGroupId\n industries\n }\n }\n }\n nextToken\n }\n }\n`;\n\n// Service\n\nexport const getService = /* GraphQL */ gql`\n query GetService($id: ID!) {\n getService(id: $id) {\n id\n createdAt\n updatedAt\n name\n aliases\n active\n serviceGroupId\n industries\n }\n }\n`;\nexport const listServices = /* GraphQL */ gql`\n query ListServices(\n $filter: ModelServiceFilterInput\n $limit: Int\n $nextToken: String\n ) {\n listServices(filter: $filter, limit: $limit, nextToken: $nextToken) {\n items {\n id\n createdAt\n updatedAt\n name\n aliases\n active\n serviceGroupId\n industries\n }\n nextToken\n }\n }\n`;\n","import { GraphQLResult, GRAPHQL_AUTH_MODE } from '@aws-amplify/api/lib/types/index';\nimport { API, Auth, graphqlOperation } from \"aws-amplify\";\nimport { print as gqlToString } from \"graphql\";\nimport * as APITypes from \"../API\";\nimport {\n ModelCertificationFilterInput,\n ModelEducationFilterInput,\n ModelExperienceFilterInput,\n ModelProfileFilterInput,\n ModelProfileLocationFilterInput,\n ModelProfileServiceFilterInput, ModelSortDirection,\n UserRole\n} from \"../API\";\nimport Logger from \"../components/Logger\";\nimport { getErrorMessage } from \"../stores/StoreUtilities\";\nimport * as CustomMutations from './CustomMutations';\nimport * as CustomQueries from './CustomQueries';\n\nclass GovGigAPI {\n\n // Account methods\n\n async listAccounts(filter?: APITypes.ModelAccountFilterInput) {\n const query = gqlToString(CustomQueries.listAccounts)\n const variables = { \"filter\": filter, \"limit\": 10000 }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listAccounts error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListAccountsQuery && (data as APITypes.ListAccountsQuery).listAccounts) {\n return (data as APITypes.ListAccountsQuery).listAccounts\n } else {\n return null\n }\n }\n\n async getAccount(id: string) {\n const query = gqlToString(CustomQueries.getAccount)\n const variables = { \"id\": id }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.getAccount error\", err.message, variables)\n throw err\n })\n if (data as APITypes.GetAccountQuery && (data as APITypes.GetAccountQuery).getAccount) {\n return (data as APITypes.GetAccountQuery).getAccount\n } else {\n return null\n }\n }\n\n async createAccount(input: APITypes.CreateAccountInput) {\n const query = gqlToString(CustomMutations.createAccount)\n const variables = { input }\n try {\n const data = await this.makeQuery(query, variables)\n if (data as APITypes.CreateAccountMutation && (data as APITypes.CreateAccountMutation).createAccount) {\n const accountData = (data as APITypes.CreateAccountMutation).createAccount\n return accountData\n } else {\n throw new Error(`Call to create account does not contain data: ${data}`)\n }\n } catch (e) {\n Logger.error(\"GovGigAPI.createAccount error\", getErrorMessage(e), input)\n return null\n }\n }\n\n async updateAccount(input: APITypes.UpdateAccountInput) {\n const query = gqlToString(CustomMutations.updateAccount)\n const variables = { \"input\": input }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.updateAccount error\", err.message, input)\n throw err\n })\n if (data as APITypes.UpdateAccountMutation) {\n return (data as APITypes.UpdateAccountMutation).updateAccount\n } else {\n return null\n }\n }\n\n async deleteAccount(id: string) {\n const query = gqlToString(CustomMutations.deleteAccount)\n const input: APITypes.DeleteAccountInput = {\n id\n }\n const data = await this.makeQuery(query, { input })\n .catch(err => {\n Logger.error(\"GovGigAPI.deleteAccount error\", err.message, input)\n throw err\n })\n if (data) {\n return (data as APITypes.DeleteAccountMutation).deleteAccount\n }\n return null\n }\n\n // User methods\n\n async listUsers(filter?: APITypes.ModelUserFilterInput, limit?: number, nextToken?: string) {\n const query = gqlToString(CustomQueries.listUsers)\n const variables = { \"filter\": filter, \"limit\": limit ?? 10000, \"nextToken\": nextToken }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listUsers error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListUsersQuery && (data as APITypes.ListUsersQuery).listUsers) {\n return (data as APITypes.ListUsersQuery).listUsers\n } else {\n return null\n }\n }\n\n async listUsersByAccount(accountId: string, filter?: APITypes.ModelUserFilterInput, limit?: number, nextToken?: string) {\n const query = gqlToString(CustomQueries.listUsersByAccount)\n const variables = { \"accountId\": accountId, \"filter\": filter, \"limit\": limit ?? 10000, \"nextToken\": nextToken }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listUsersByAccount error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListUsersByAccountQuery && (data as APITypes.ListUsersByAccountQuery).listUsersByAccount) {\n return (data as APITypes.ListUsersByAccountQuery).listUsersByAccount\n } else {\n return null\n }\n }\n\n async listApplicantsByAccount(accountId: string, filter?: APITypes.ModelUserFilterInput, limit?: number, nextToken?: string) {\n const query = gqlToString(CustomQueries.listApplicantsByAccount)\n const variables = { \"accountId\": accountId, \"filter\": filter, \"limit\": limit ?? 10000, \"nextToken\": nextToken }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listApplicantsByAccount error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListUsersByAccountQuery && (data as APITypes.ListUsersByAccountQuery).listUsersByAccount) {\n return (data as APITypes.ListUsersByAccountQuery).listUsersByAccount\n } else {\n return null\n }\n }\n\n async listCandidatesByAccount(accountId: string, filter?: APITypes.ModelUserFilterInput, limit?: number, nextToken?: string) {\n const query = gqlToString(CustomQueries.listCandidatesByAccount)\n const variables = { \"accountId\": accountId, \"filter\": filter, \"limit\": limit ?? 10000, \"nextToken\": nextToken }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listApplicantsByAccount error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListUsersByAccountQuery && (data as APITypes.ListUsersByAccountQuery).listUsersByAccount) {\n return (data as APITypes.ListUsersByAccountQuery).listUsersByAccount\n } else {\n return null\n }\n }\n\n // async listUsersByRoleAndAccount(role: string, accountId: string, filter?: APITypes.ModelUserFilterInput) {\n // const query = gqlToString(CustomQueries.listUsersByRoleAndAccount)\n // const variables = { \"role\": role, \"accountId\": accountId, \"filter\": filter, \"limit\": 10000 }\n // const data = await this.makeQuery(query, variables)\n // .catch(err => {\n // Logger.error(\"GovGigAPI.listUsersByRoleAndAccount error\", err.message, variables)\n // throw err\n // })\n // if (data as APITypes.ListUsersByRoleAndAccountQuery && (data as APITypes.ListUsersByRoleAndAccountQuery).listUsersByRoleAndAccount) {\n // return (data as APITypes.ListUsersByRoleAndAccountQuery).listUsersByRoleAndAccount\n // } else {\n // return null\n // }\n // }\n\n async getUser(userId: string) {\n const query = gqlToString(CustomQueries.getUser)\n const variables = { \"id\": userId }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.getUser error\", err.message, variables)\n throw err\n })\n if (data as APITypes.GetUserQuery && (data as APITypes.GetUserQuery).getUser) {\n return (data as APITypes.GetUserQuery).getUser\n } else {\n return null\n }\n }\n\n async getUserAndProfile(userId: string) {\n const query = gqlToString(CustomQueries.getUserAndProfile)\n const variables = { \"id\": userId }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.getUserAndProfile error\", err.message, variables)\n throw err\n })\n if (data as APITypes.GetUserQuery && (data as APITypes.GetUserQuery).getUser) {\n return (data as APITypes.GetUserQuery).getUser\n } else {\n return null\n }\n }\n\n async createUser(input: APITypes.CreateUserInput) {\n const query = gqlToString(CustomMutations.createUser)\n const variables = { input }\n try {\n const data = await this.makeQuery(query, variables)\n\n if (data as APITypes.CreateUserMutation && (data as APITypes.CreateUserMutation).createUser) {\n const userData = (data as APITypes.CreateUserMutation).createUser\n return userData\n } else {\n throw new Error(`Call to create user does not contain data: ${data}`)\n }\n } catch (e) {\n Logger.error(\"GovGigAPI.createUser error\", getErrorMessage(e), input)\n return null\n }\n }\n\n async updateUser(input: APITypes.UpdateUserInput) {\n if (input.email) {\n input.email = input.email.toLowerCase()\n }\n const query = gqlToString(CustomMutations.updateUser)\n const variables = { \"input\": input }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.updateUser error\", err.message, input)\n throw err\n })\n if (data as APITypes.UpdateUserMutation) {\n return (data as APITypes.UpdateUserMutation).updateUser\n } else {\n return null\n }\n }\n\n async deleteUser(id: string) {\n const query = gqlToString(CustomMutations.deleteUser)\n const input: APITypes.DeleteUserInput = {\n id\n }\n const data = await this.makeQuery(query, { input })\n .catch(err => {\n Logger.error(\"GovGigAPI.deleteUser error\", err.message, input)\n throw err\n })\n if (data) {\n return (data as APITypes.DeleteUserMutation).deleteUser\n }\n return null\n }\n\n\n // Profile methods\n\n async getUserProfiles(userId: string) {\n const query = gqlToString(CustomQueries.getUserProfiles)\n const variables = { \"id\": userId }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.getUserProfile error\", err.message, variables)\n throw err\n })\n if (data as APITypes.GetUserQuery && (data as APITypes.GetUserQuery).getUser) {\n return (data as APITypes.GetUserQuery).getUser\n } else {\n return null\n }\n }\n\n async listProfiles(filter?: ModelProfileFilterInput, limit?: number, nextToken?: string) {\n const role = await this.checkRole()\n const query = (role && (role === UserRole.Admin || role === UserRole.Agent)) ?\n gqlToString(CustomQueries.listProfilesPrivate) :\n gqlToString(CustomQueries.listProfilesPublic)\n const variables = { \"filter\": filter, \"limit\": limit ?? 10000, \"nextToken\": nextToken }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listProfiles error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListProfilesQuery && (data as APITypes.ListProfilesQuery).listProfiles) {\n return (data as APITypes.ListProfilesQuery).listProfiles\n } else {\n return null\n }\n\n }\n\n async listProfilesByUser(userId: string, filter?: ModelProfileFilterInput) {\n const query = gqlToString(CustomQueries.listProfilesByUser)\n const variables = { \"userId\": userId, \"filter\": filter, \"limit\": 10000 }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listProfilesByUser error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListProfilesByUserQuery && (data as APITypes.ListProfilesByUserQuery).listProfilesByUser) {\n return (data as APITypes.ListProfilesByUserQuery).listProfilesByUser\n } else {\n return null\n }\n\n }\n\n async listProfilesByAlias(alias: string, filter?: ModelProfileFilterInput) {\n const query = gqlToString(CustomQueries.listProfilesByAlias)\n const variables = { \"alias\": alias, \"filter\": filter, \"limit\": 10000 }\n const data = await this.makeAPIKeyQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listProfilesByAlias error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListProfilesByAliasQuery && (data as APITypes.ListProfilesByAliasQuery).listProfilesByAlias) {\n return (data as APITypes.ListProfilesByAliasQuery).listProfilesByAlias\n } else {\n return null\n }\n\n }\n\n async listProfilesByService(serviceId: string, filter?: ModelProfileServiceFilterInput) {\n let query\n const role = await this.checkRole()\n if (!role) {\n query = gqlToString(CustomQueries.listPublicProfilesByService)\n } else if (role === UserRole.Admin || role === UserRole.Agent) {\n query = gqlToString(CustomQueries.listProfilesByServicePrivate)\n } else {\n query = gqlToString(CustomQueries.listProfilesByService)\n }\n const variables = { \"serviceId\": serviceId, \"filter\": filter, \"limit\": 10000 }\n const data = role ? await this.makeQuery(query, variables): await this.makeAPIKeyQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listProfilesByService error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListProfilesByServiceQuery && (data as APITypes.ListProfilesByServiceQuery).listProfilesByService) {\n return (data as APITypes.ListProfilesByServiceQuery).listProfilesByService\n } else {\n return null\n }\n }\n\n async listProfilesByLocation(locationId: string, filter?: ModelProfileLocationFilterInput) {\n const role = await this.checkRole()\n let query\n if (!role) {\n query = gqlToString(CustomQueries.listPublicProfilesByLocation)\n } else if (role === UserRole.Admin || role === UserRole.Agent) {\n query = gqlToString(CustomQueries.listProfilesByLocationPrivate)\n } else {\n query = gqlToString(CustomQueries.listProfilesByLocation)\n }\n const variables = { \"locationId\": locationId, \"filter\": filter, \"limit\": 10000 }\n const data = role ? await this.makeQuery(query, variables): await this.makeAPIKeyQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listProfilesByLocation error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListProfilesByLocationQuery && (data as APITypes.ListProfilesByLocationQuery).listProfilesByLocation) {\n return (data as APITypes.ListProfilesByLocationQuery).listProfilesByLocation\n } else {\n return null\n }\n }\n\n async getProfile(profileId: string) {\n\n let query: string\n const variables = { \"id\": profileId }\n let data\n\n if (await this.checkAuthentication()) {\n query = gqlToString(CustomQueries.getProfile)\n console.log(\"getProfile\")\n data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.getProfile error\", err.message, variables)\n // Ignore and fall back to public view\n })\n }\n\n if (!data) {\n // Fall back to public view\n query = gqlToString(CustomQueries.getPublicProfile)\n console.log(\"getPublicProfile\")\n data = await this.makeAPIKeyQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.getPublicProfile error\", err.message, variables)\n throw err\n })\n }\n\n if (data as APITypes.GetProfileQuery && (data as APITypes.GetProfileQuery).getProfile) {\n return (data as APITypes.GetProfileQuery).getProfile\n } else {\n return null\n }\n }\n\n async createProfile(input: APITypes.CreateProfileInput) {\n const query = gqlToString(CustomMutations.createProfile)\n const variables = { input }\n try {\n const data = await this.makeQuery(query, variables)\n\n if (data as APITypes.CreateProfileMutation && (data as APITypes.CreateProfileMutation).createProfile) {\n const profileData = (data as APITypes.CreateProfileMutation).createProfile\n return profileData\n } else {\n throw new Error(`Call to create profile does not contain data: ${data}`)\n }\n } catch (e) {\n Logger.error(\"GovGigAPI.createProfile error\", getErrorMessage(e), input)\n return null\n }\n }\n\n async updateProfile(input: APITypes.UpdateProfileInput) {\n const query = gqlToString(CustomMutations.updateProfile)\n const variables = { \"input\": input }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.updateProfile error\", err.message, input)\n throw err\n })\n if (data as APITypes.UpdateProfileMutation) {\n return (data as APITypes.UpdateProfileMutation).updateProfile\n } else {\n return null\n }\n }\n\n async deleteProfile(id: string) {\n const query = gqlToString(CustomMutations.deleteProfile)\n const input: APITypes.DeleteProfileInput = {\n id\n }\n const data = await this.makeQuery(query, { input })\n .catch(err => {\n Logger.error(\"GovGigAPI.deleteProfile error\", err.message, input)\n throw err\n })\n if (data) {\n return (data as APITypes.DeleteProfileMutation).deleteProfile\n }\n return null\n }\n\n // Experience methods\n\n async listExperiencesByProfile(profileId: string, filter?: ModelExperienceFilterInput) {\n const query = gqlToString(CustomQueries.listExperiencesByProfile)\n const variables = { \"profileId\": profileId, \"filter\": filter, \"limit\": 10000 }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listExperiencesByProfile error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListExperiencesByProfileQuery && (data as APITypes.ListExperiencesByProfileQuery).listExperiencesByProfile) {\n return (data as APITypes.ListExperiencesByProfileQuery).listExperiencesByProfile\n } else {\n return null\n }\n\n }\n\n async getExperience(experienceId: string) {\n const query = gqlToString(CustomQueries.getExperience)\n const variables = { \"id\": experienceId }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.getExperience error\", err.message, variables)\n throw err\n })\n if (data as APITypes.GetExperienceQuery && (data as APITypes.GetExperienceQuery).getExperience) {\n return (data as APITypes.GetExperienceQuery).getExperience\n } else {\n return null\n }\n }\n\n async createExperience(input: APITypes.CreateExperienceInput) {\n const query = gqlToString(CustomMutations.createExperience)\n const variables = { input }\n try {\n const data = await this.makeQuery(query, variables)\n\n if (data as APITypes.CreateExperienceMutation && (data as APITypes.CreateExperienceMutation).createExperience) {\n const experienceData = (data as APITypes.CreateExperienceMutation).createExperience\n return experienceData\n } else {\n throw new Error(`Call to create experience does not contain data: ${data}`)\n }\n } catch (e) {\n Logger.error(\"GovGigAPI.createExperience error\", getErrorMessage(e), input)\n return null\n }\n }\n\n async updateExperience(input: APITypes.UpdateExperienceInput) {\n const query = gqlToString(CustomMutations.updateExperience)\n const variables = { \"input\": input }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.updateExperience error\", err.message, input)\n throw err\n })\n if (data as APITypes.UpdateExperienceMutation) {\n return (data as APITypes.UpdateExperienceMutation).updateExperience\n } else {\n return null\n }\n }\n\n async deleteExperience(id: string) {\n const query = gqlToString(CustomMutations.deleteExperience)\n const input: APITypes.DeleteExperienceInput = {\n id\n }\n const data = await this.makeQuery(query, { input })\n .catch(err => {\n Logger.error(\"GovGigAPI.deleteExperience error\", err.message, input)\n throw err\n })\n if (data) {\n return (data as APITypes.DeleteExperienceMutation).deleteExperience\n }\n return null\n }\n\n // Education methods\n\n async listEducationByProfile(profileId: string, filter?: ModelEducationFilterInput) {\n const query = gqlToString(CustomQueries.listEducationByProfile)\n const variables = { \"profileId\": profileId, \"filter\": filter, \"limit\": 10000 }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listEducationByProfile error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListEducationByProfileQuery && (data as APITypes.ListEducationByProfileQuery).listEducationByProfile) {\n return (data as APITypes.ListEducationByProfileQuery).listEducationByProfile\n } else {\n return null\n }\n\n }\n\n async getEducation(educationId: string) {\n const query = gqlToString(CustomQueries.getEducation)\n const variables = { \"id\": educationId }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.getEducation error\", err.message, variables)\n throw err\n })\n if (data as APITypes.GetEducationQuery && (data as APITypes.GetEducationQuery).getEducation) {\n return (data as APITypes.GetEducationQuery).getEducation\n } else {\n return null\n }\n }\n\n async createEducation(input: APITypes.CreateEducationInput) {\n const query = gqlToString(CustomMutations.createEducation)\n const variables = { input }\n try {\n const data = await this.makeQuery(query, variables)\n\n if (data as APITypes.CreateEducationMutation && (data as APITypes.CreateEducationMutation).createEducation) {\n const educationData = (data as APITypes.CreateEducationMutation).createEducation\n return educationData\n } else {\n throw new Error(`Call to create education does not contain data: ${data}`)\n }\n } catch (e) {\n Logger.error(\"GovGigAPI.createEducation error\", getErrorMessage(e), input)\n return null\n }\n }\n\n async updateEducation(input: APITypes.UpdateEducationInput) {\n const query = gqlToString(CustomMutations.updateEducation)\n const variables = { \"input\": input }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.updateEducation error\", err.message, input)\n throw err\n })\n if (data as APITypes.UpdateEducationMutation) {\n return (data as APITypes.UpdateEducationMutation).updateEducation\n } else {\n return null\n }\n }\n\n async deleteEducation(id: string) {\n const query = gqlToString(CustomMutations.deleteEducation)\n const input: APITypes.DeleteEducationInput = {\n id\n }\n const data = await this.makeQuery(query, { input })\n .catch(err => {\n Logger.error(\"GovGigAPI.deleteEducation error\", err.message, input)\n throw err\n })\n if (data) {\n return (data as APITypes.DeleteEducationMutation).deleteEducation\n }\n return null\n }\n\n // Certification methods\n\n async listCertificationsByProfile(profileId: string, filter?: ModelCertificationFilterInput) {\n const query = gqlToString(CustomQueries.listCertificationsByProfile)\n const variables = { \"profileId\": profileId, \"filter\": filter, \"limit\": 10000 }\n const data = await this.makeAPIKeyQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listCertificationsByProfile error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListCertificationsByProfileQuery && (data as APITypes.ListCertificationsByProfileQuery).listCertificationsByProfile) {\n return (data as APITypes.ListCertificationsByProfileQuery).listCertificationsByProfile\n } else {\n return null\n }\n\n }\n\n async getCertification(certificationId: string) {\n const query = gqlToString(CustomQueries.getCertification)\n const variables = { \"id\": certificationId }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.getCertification error\", err.message, variables)\n throw err\n })\n if (data as APITypes.GetCertificationQuery && (data as APITypes.GetCertificationQuery).getCertification) {\n return (data as APITypes.GetCertificationQuery).getCertification\n } else {\n return null\n }\n }\n\n async createCertification(input: APITypes.CreateCertificationInput) {\n const query = gqlToString(CustomMutations.createCertification)\n const variables = { input }\n try {\n const data = await this.makeQuery(query, variables)\n\n if (data as APITypes.CreateCertificationMutation && (data as APITypes.CreateCertificationMutation).createCertification) {\n const certificationData = (data as APITypes.CreateCertificationMutation).createCertification\n return certificationData\n } else {\n throw new Error(`Call to create certification does not contain data: ${data}`)\n }\n } catch (e) {\n Logger.error(\"GovGigAPI.createCertification error\", getErrorMessage(e), input)\n return null\n }\n }\n\n async updateCertification(input: APITypes.UpdateCertificationInput) {\n const query = gqlToString(CustomMutations.updateCertification)\n const variables = { \"input\": input }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.updateCertification error\", err.message, input)\n throw err\n })\n if (data as APITypes.UpdateCertificationMutation) {\n return (data as APITypes.UpdateCertificationMutation).updateCertification\n } else {\n return null\n }\n }\n\n async deleteCertification(id: string) {\n const query = gqlToString(CustomMutations.deleteCertification)\n const input: APITypes.DeleteCertificationInput = {\n id\n }\n const data = await this.makeQuery(query, { input })\n .catch(err => {\n Logger.error(\"GovGigAPI.deleteCertification error\", err.message, input)\n throw err\n })\n if (data) {\n return (data as APITypes.DeleteCertificationMutation).deleteCertification\n }\n return null\n }\n \n // CertificationType methods\n\n async listCertificationTypes(filter?: APITypes.ModelCertificationTypeFilterInput) {\n const query = gqlToString(CustomQueries.listCertificationTypes)\n const variables = { \"filter\": filter, \"limit\": 10000 }\n const data = await this.makeAPIKeyQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listCertificationTypes error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListCertificationTypesQuery && (data as APITypes.ListCertificationTypesQuery).listCertificationTypes) {\n return (data as APITypes.ListCertificationTypesQuery).listCertificationTypes\n } else {\n return null\n }\n }\n\n async getCertificationType(id: string) {\n const query = gqlToString(CustomQueries.getCertificationType)\n const variables = { \"id\": id }\n const data = await this.makeAPIKeyQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.getCertificationType error\", err.message, variables)\n throw err\n })\n if (data as APITypes.GetCertificationTypeQuery && (data as APITypes.GetCertificationTypeQuery).getCertificationType) {\n return (data as APITypes.GetCertificationTypeQuery).getCertificationType\n } else {\n return null\n }\n }\n\n async createCertificationType(input: APITypes.CreateCertificationTypeInput) {\n const query = gqlToString(CustomMutations.createCertificationType)\n const variables = { input }\n try {\n const data = await this.makeQuery(query, variables)\n if (data as APITypes.CreateCertificationTypeMutation && (data as APITypes.CreateCertificationTypeMutation).createCertificationType) {\n const CertificationTypeData = (data as APITypes.CreateCertificationTypeMutation).createCertificationType\n return CertificationTypeData\n } else {\n throw new Error(`Call to create CertificationType does not contain data: ${data}`)\n }\n } catch (e) {\n Logger.error(\"GovGigAPI.createCertificationType error\", getErrorMessage(e), input)\n return null\n }\n }\n\n async updateCertificationType(input: APITypes.UpdateCertificationTypeInput) {\n const query = gqlToString(CustomMutations.updateCertificationType)\n const variables = { \"input\": input }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.updateCertificationType error\", err.message, input)\n throw err\n })\n if (data as APITypes.UpdateCertificationTypeMutation) {\n return (data as APITypes.UpdateCertificationTypeMutation).updateCertificationType\n } else {\n return null\n }\n }\n\n async deleteCertificationType(id: string) {\n const query = gqlToString(CustomMutations.deleteCertificationType)\n const input: APITypes.DeleteCertificationTypeInput = {\n id\n }\n const data = await this.makeQuery(query, { input })\n .catch(err => {\n Logger.error(\"GovGigAPI.deleteCertificationType error\", err.message, input)\n throw err\n })\n if (data) {\n return (data as APITypes.DeleteCertificationTypeMutation).deleteCertificationType\n }\n return null\n }\n\n // Agreement methods\n\n async getAgreement(agreementId: string) {\n const query = gqlToString(CustomQueries.getAgreement)\n const variables = { \"id\": agreementId }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.getAgreement error\", err.message, variables)\n throw err\n })\n if (data as APITypes.GetAgreementQuery && (data as APITypes.GetAgreementQuery).getAgreement) {\n return (data as APITypes.GetAgreementQuery).getAgreement\n } else {\n return null\n }\n }\n\n async listAgreementsByAccount(accountId: string, filter?: APITypes.ModelAgreementFilterInput) {\n const query = gqlToString(CustomQueries.listAgreementsByAccount)\n const variables = { \"accountId\": accountId, \"filter\": filter, \"limit\": 10000 }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listAgreementsByAccount error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListAgreementsByAccountQuery && (data as APITypes.ListAgreementsByAccountQuery).listAgreementsByAccount) {\n return (data as APITypes.ListAgreementsByAccountQuery).listAgreementsByAccount\n } else {\n return null\n }\n }\n\n async createAgreement(input: APITypes.CreateAgreementInput) {\n const query = gqlToString(CustomMutations.createAgreement)\n const variables = { input }\n try {\n const data = await this.makeQuery(query, variables)\n if (data as APITypes.CreateAgreementMutation && (data as APITypes.CreateAgreementMutation).createAgreement) {\n const AgreementData = (data as APITypes.CreateAgreementMutation).createAgreement\n return AgreementData\n } else {\n throw new Error(`Call to create Agreement does not contain data: ${data}`)\n }\n } catch (e) {\n Logger.error(\"GovGigAPI.createAgreement error\", getErrorMessage(e), input)\n return null\n }\n }\n\n async updateAgreement(input: APITypes.UpdateAgreementInput) {\n const query = gqlToString(CustomMutations.updateAgreement)\n const variables = { \"input\": input }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.updateAgreement error\", err.message, input)\n throw err\n })\n if (data as APITypes.UpdateAgreementMutation) {\n return (data as APITypes.UpdateAgreementMutation).updateAgreement\n } else {\n return null\n }\n }\n\n async deleteAgreement(id: string) {\n const query = gqlToString(CustomMutations.deleteAgreement)\n const input: APITypes.DeleteAgreementInput = {\n id\n }\n const data = await this.makeQuery(query, { input })\n .catch(err => {\n Logger.error(\"GovGigAPI.deleteAgreement error\", err.message, input)\n throw err\n })\n if (data) {\n return (data as APITypes.DeleteAgreementMutation).deleteAgreement\n }\n return null\n }\n \n // Location methods\n\n async listLocations(filter?: APITypes.ModelLocationFilterInput, limit?: number, nextToken?: string) {\n const query = gqlToString(CustomQueries.listLocations)\n const variables = { \"filter\": filter, \"limit\": limit ?? 10000, \"nextToken\": nextToken }\n const data = await this.makeAPIKeyQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listLocations error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListLocationsQuery && (data as APITypes.ListLocationsQuery).listLocations) {\n return (data as APITypes.ListLocationsQuery).listLocations\n } else {\n return null\n }\n }\n\n async getLocation(id: string) {\n const query = gqlToString(CustomQueries.getLocation)\n const variables = { \"id\": id }\n const data = await this.makeAPIKeyQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.getLocation error\", err.message, variables)\n throw err\n })\n if (data as APITypes.GetLocationQuery && (data as APITypes.GetLocationQuery).getLocation) {\n return (data as APITypes.GetLocationQuery).getLocation\n } else {\n return null\n }\n }\n\n async createLocation(input: APITypes.CreateLocationInput) {\n const query = gqlToString(CustomMutations.createLocation)\n const variables = { input }\n try {\n const data = await this.makeQuery(query, variables)\n if (data as APITypes.CreateLocationMutation && (data as APITypes.CreateLocationMutation).createLocation) {\n const locationData = (data as APITypes.CreateLocationMutation).createLocation\n return locationData\n } else {\n throw new Error(`Call to create location does not contain data: ${data}`)\n }\n } catch (e) {\n Logger.error(\"GovGigAPI.createLocation error\", getErrorMessage(e), input)\n return null\n }\n }\n\n async updateLocation(input: APITypes.UpdateLocationInput) {\n const query = gqlToString(CustomMutations.updateLocation)\n const variables = { \"input\": input }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.updateLocation error\", err.message, input)\n throw err\n })\n if (data as APITypes.UpdateLocationMutation) {\n return (data as APITypes.UpdateLocationMutation).updateLocation\n } else {\n return null\n }\n }\n\n async deleteLocation(id: string) {\n const query = gqlToString(CustomMutations.deleteLocation)\n const input: APITypes.DeleteLocationInput = {\n id\n }\n const data = await this.makeQuery(query, { input })\n .catch(err => {\n Logger.error(\"GovGigAPI.deleteLocation error\", err.message, input)\n throw err\n })\n if (data) {\n return (data as APITypes.DeleteLocationMutation).deleteLocation\n }\n return null\n }\n \n // ServiceGroup methods\n\n async listServiceGroups(filter?: APITypes.ModelServiceGroupFilterInput) {\n const query = gqlToString(CustomQueries.listServiceGroups)\n const variables = { \"filter\": filter, \"limit\": 10000 }\n const data = await this.makeAPIKeyQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listServiceGroups error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListServiceGroupsQuery && (data as APITypes.ListServiceGroupsQuery).listServiceGroups) {\n return (data as APITypes.ListServiceGroupsQuery).listServiceGroups\n } else {\n return null\n }\n }\n\n async getServiceGroup(id: string) {\n const query = gqlToString(CustomQueries.getServiceGroup)\n const variables = { \"id\": id }\n const data = await this.makeAPIKeyQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.getServiceGroup error\", err.message, variables)\n throw err\n })\n if (data as APITypes.GetServiceGroupQuery && (data as APITypes.GetServiceGroupQuery).getServiceGroup) {\n return (data as APITypes.GetServiceGroupQuery).getServiceGroup\n } else {\n return null\n }\n }\n\n async createServiceGroup(input: APITypes.CreateServiceGroupInput) {\n const query = gqlToString(CustomMutations.createServiceGroup)\n const variables = { input }\n try {\n const data = await this.makeQuery(query, variables)\n if (data as APITypes.CreateServiceGroupMutation && (data as APITypes.CreateServiceGroupMutation).createServiceGroup) {\n const serviceGroupData = (data as APITypes.CreateServiceGroupMutation).createServiceGroup\n return serviceGroupData\n } else {\n throw new Error(`Call to create serviceGroup does not contain data: ${data}`)\n }\n } catch (e) {\n Logger.error(\"GovGigAPI.createServiceGroup error\", getErrorMessage(e), input)\n return null\n }\n }\n\n async updateServiceGroup(input: APITypes.UpdateServiceGroupInput) {\n const query = gqlToString(CustomMutations.updateServiceGroup)\n const variables = { \"input\": input }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.updateServiceGroup error\", err.message, input)\n throw err\n })\n if (data as APITypes.UpdateServiceGroupMutation) {\n return (data as APITypes.UpdateServiceGroupMutation).updateServiceGroup\n } else {\n return null\n }\n }\n\n async deleteServiceGroup(id: string) {\n const query = gqlToString(CustomMutations.deleteServiceGroup)\n const input: APITypes.DeleteServiceGroupInput = {\n id\n }\n const data = await this.makeQuery(query, { input })\n .catch(err => {\n Logger.error(\"GovGigAPI.deleteServiceGroup error\", err.message, input)\n throw err\n })\n if (data) {\n return (data as APITypes.DeleteServiceGroupMutation).deleteServiceGroup\n }\n return null\n }\n\n // Service methods\n\n async listServices(filter?: APITypes.ModelServiceFilterInput) {\n const query = gqlToString(CustomQueries.listServices)\n const variables = { \"filter\": filter, \"limit\": 10000 }\n const data = await this.makeAPIKeyQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listServices error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListServicesQuery && (data as APITypes.ListServicesQuery).listServices) {\n return (data as APITypes.ListServicesQuery).listServices\n } else {\n return null\n }\n }\n\n async getService(id: string) {\n const query = gqlToString(CustomQueries.getService)\n const variables = { \"id\": id }\n const data = await this.makeAPIKeyQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.getService error\", err.message, variables)\n throw err\n })\n if (data as APITypes.GetServiceQuery && (data as APITypes.GetServiceQuery).getService) {\n return (data as APITypes.GetServiceQuery).getService\n } else {\n return null\n }\n }\n\n async createService(input: APITypes.CreateServiceInput) {\n const query = gqlToString(CustomMutations.createService)\n const variables = { input }\n try {\n const data = await this.makeQuery(query, variables)\n if (data as APITypes.CreateServiceMutation && (data as APITypes.CreateServiceMutation).createService) {\n const serviceData = (data as APITypes.CreateServiceMutation).createService\n return serviceData\n } else {\n throw new Error(`Call to create service does not contain data: ${data}`)\n }\n } catch (e) {\n Logger.error(\"GovGigAPI.createService error\", getErrorMessage(e), input)\n return null\n }\n }\n\n async updateService(input: APITypes.UpdateServiceInput) {\n const query = gqlToString(CustomMutations.updateService)\n const variables = { \"input\": input }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.updateService error\", err.message, input)\n throw err\n })\n if (data as APITypes.UpdateServiceMutation) {\n return (data as APITypes.UpdateServiceMutation).updateService\n } else {\n return null\n }\n }\n\n async deleteService(id: string) {\n const query = gqlToString(CustomMutations.deleteService)\n const input: APITypes.DeleteServiceInput = {\n id\n }\n const data = await this.makeQuery(query, { input })\n .catch(err => {\n Logger.error(\"GovGigAPI.deleteService error\", err.message, input)\n throw err\n })\n if (data) {\n return (data as APITypes.DeleteServiceMutation).deleteService\n }\n return null\n }\n\n // ProfileLocation methods\n\n async getProfileLocation(profileLocationId: string) {\n const query = gqlToString(CustomQueries.getProfileLocation)\n const variables = { \"id\": profileLocationId }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.getProfileLocation error\", err.message, variables)\n throw err\n })\n if (data as APITypes.GetProfileLocationQuery && (data as APITypes.GetProfileLocationQuery).getProfileLocation) {\n return (data as APITypes.GetProfileLocationQuery).getProfileLocation\n } else {\n return null\n }\n }\n\n async createProfileLocation(input: APITypes.CreateProfileLocationInput) {\n const query = gqlToString(CustomMutations.createProfileLocation)\n const variables = { input }\n try {\n const data = await this.makeQuery(query, variables)\n if (data as APITypes.CreateProfileLocationMutation && (data as APITypes.CreateProfileLocationMutation).createProfileLocation) {\n const ProfileLocationData = (data as APITypes.CreateProfileLocationMutation).createProfileLocation\n return ProfileLocationData\n } else {\n throw new Error(`Call to create ProfileLocation does not contain data: ${data}`)\n }\n } catch (e) {\n Logger.error(\"GovGigAPI.createProfileLocation error\", getErrorMessage(e), input)\n return null\n }\n }\n\n async updateProfileLocation(input: APITypes.UpdateProfileLocationInput) {\n const query = gqlToString(CustomMutations.updateProfileLocation)\n const variables = { \"input\": input }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.updateProfileLocation error\", err.message, input)\n throw err\n })\n if (data as APITypes.UpdateProfileLocationMutation) {\n return (data as APITypes.UpdateProfileLocationMutation).updateProfileLocation\n } else {\n return null\n }\n }\n\n async deleteProfileLocation(id: string) {\n const query = gqlToString(CustomMutations.deleteProfileLocation)\n const input: APITypes.DeleteProfileLocationInput = {\n id\n }\n const data = await this.makeQuery(query, { input })\n .catch(err => {\n Logger.error(\"GovGigAPI.deleteProfileLocation error\", err.message, input)\n throw err\n })\n if (data) {\n return (data as APITypes.DeleteProfileLocationMutation).deleteProfileLocation\n }\n return null\n }\n\n // ProfileService methods\n\n async getProfileService(profileServiceId: string) {\n const query = gqlToString(CustomQueries.getProfileService)\n const variables = { \"id\": profileServiceId }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.getProfileService error\", err.message, variables)\n throw err\n })\n if (data as APITypes.GetProfileServiceQuery && (data as APITypes.GetProfileServiceQuery).getProfileService) {\n return (data as APITypes.GetProfileServiceQuery).getProfileService\n } else {\n return null\n }\n }\n\n async createProfileService(input: APITypes.CreateProfileServiceInput) {\n const query = gqlToString(CustomMutations.createProfileService)\n const variables = { input }\n try {\n const data = await this.makeQuery(query, variables)\n\n if (data as APITypes.CreateProfileServiceMutation && (data as APITypes.CreateProfileServiceMutation).createProfileService) {\n const profileServiceData = (data as APITypes.CreateProfileServiceMutation).createProfileService\n return profileServiceData\n } else {\n throw new Error(`Call to create profileService does not contain data: ${data}`)\n }\n } catch (e) {\n Logger.error(\"GovGigAPI.createProfileService error\", getErrorMessage(e), input)\n return null\n }\n }\n\n async updateProfileService(input: APITypes.UpdateProfileServiceInput) {\n const query = gqlToString(CustomMutations.updateProfileService)\n const variables = { \"input\": input }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.updateProfileService error\", err.message, input)\n throw err\n })\n if (data as APITypes.UpdateProfileServiceMutation) {\n return (data as APITypes.UpdateProfileServiceMutation).updateProfileService\n } else {\n return null\n }\n }\n\n async deleteProfileService(id: string) {\n const query = gqlToString(CustomMutations.deleteProfileService)\n const input: APITypes.DeleteProfileServiceInput = {\n id\n }\n const data = await this.makeQuery(query, { input })\n .catch(err => {\n Logger.error(\"GovGigAPI.deleteProfileService error\", err.message, input)\n throw err\n })\n if (data) {\n return (data as APITypes.DeleteProfileServiceMutation).deleteProfileService\n }\n return null\n }\n \n // Contract\n \n async listContracts(filter?: APITypes.ModelContractFilterInput) {\n const query = gqlToString(CustomQueries.listContracts)\n const variables = { \"filter\": filter, \"limit\": 10000 }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listContracts error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListContractsQuery && (data as APITypes.ListContractsQuery).listContracts) {\n return (data as APITypes.ListContractsQuery).listContracts\n } else {\n return null\n }\n }\n\n async listContractsByAccount(accountId: string, filter?: APITypes.ModelContractFilterInput) {\n const query = gqlToString(CustomQueries.listContractsByAccount)\n const variables = { \"accountId\": accountId, \"filter\": filter, \"limit\": 10000 }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listContractsByAccount error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListContractsByAccountQuery && (data as APITypes.ListContractsByAccountQuery).listContractsByAccount) {\n return (data as APITypes.ListContractsByAccountQuery).listContractsByAccount\n } else {\n return null\n }\n }\n\n async getContract(ContractId: string) {\n const query = gqlToString(CustomQueries.getContract)\n const variables = { \"id\": ContractId }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.getContract error\", err.message, variables)\n throw err\n })\n if (data as APITypes.GetContractQuery && (data as APITypes.GetContractQuery).getContract) {\n return (data as APITypes.GetContractQuery).getContract\n } else {\n return null\n }\n }\n\n async createContract(input: APITypes.CreateContractInput) {\n const query = gqlToString(CustomMutations.createContract)\n const variables = { input }\n try {\n const data = await this.makeQuery(query, variables)\n\n if (data as APITypes.CreateContractMutation && (data as APITypes.CreateContractMutation).createContract) {\n const ContractData = (data as APITypes.CreateContractMutation).createContract\n return ContractData\n } else {\n throw new Error(`Call to create Contract does not contain data: ${data}`)\n }\n } catch (e) {\n Logger.error(\"GovGigAPI.createContract error\", getErrorMessage(e), input)\n return null\n }\n }\n\n async updateContract(input: APITypes.UpdateContractInput) {\n const query = gqlToString(CustomMutations.updateContract)\n const variables = { \"input\": input }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.updateContract error\", err.message, input)\n throw err\n })\n if (data as APITypes.UpdateContractMutation) {\n return (data as APITypes.UpdateContractMutation).updateContract\n } else {\n return null\n }\n }\n\n async deleteContract(id: string) {\n const query = gqlToString(CustomMutations.deleteContract)\n const input: APITypes.DeleteContractInput = {\n id\n }\n const data = await this.makeQuery(query, { input })\n .catch(err => {\n Logger.error(\"GovGigAPI.deleteContract error\", err.message, input)\n throw err\n })\n if (data) {\n return (data as APITypes.DeleteContractMutation).deleteContract\n }\n return null\n }\n\n // ServiceRequest\n \n async listServiceRequests(filter?: APITypes.ModelServiceRequestFilterInput, limit?: number, nextToken?: string) {\n const query = gqlToString(CustomQueries.listServiceRequests)\n \n // const variables = { \"filter\": filter, \"limit\": limit ?? 10000, \"nextToken\": nextToken }\n const variables = { \"limit\": limit ?? 10000, \"nextToken\": nextToken }\n if(filter?.hasOwnProperty('length')) {\n variables['filter'] = filter;\n } \n\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listServiceRequests error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListServiceRequestsQuery && (data as APITypes.ListServiceRequestsQuery).listServiceRequests) {\n return (data as APITypes.ListServiceRequestsQuery).listServiceRequests\n } else {\n return null\n }\n }\n\n async listServiceRequestsByAccount(accountId: string, filter?: APITypes.ModelServiceRequestFilterInput, limit?: number, nextToken?: string) {\n const query = gqlToString(CustomQueries.listServiceRequestsByAccount)\n const variables = { \"accountId\": accountId, \"filter\": filter, \"limit\": limit ?? 10000, \"nextToken\": nextToken }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listServiceRequestsByAccount error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListServiceRequestsByAccountQuery && (data as APITypes.ListServiceRequestsByAccountQuery).listServiceRequestsByAccount) {\n return (data as APITypes.ListServiceRequestsByAccountQuery).listServiceRequestsByAccount\n } else {\n return null\n }\n }\n\n async getServiceRequest(serviceRequestId: string) {\n const query = gqlToString(CustomQueries.getServiceRequest)\n const variables = { \"id\": serviceRequestId }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.getServiceRequest error\", err.message, variables)\n throw err\n })\n if (data as APITypes.GetServiceRequestQuery && (data as APITypes.GetServiceRequestQuery).getServiceRequest) {\n return (data as APITypes.GetServiceRequestQuery).getServiceRequest\n } else {\n return null\n }\n }\n\n async createServiceRequest(input: APITypes.CreateServiceRequestInput) {\n const query = gqlToString(CustomMutations.createServiceRequest)\n const variables = { input }\n try {\n const data = await this.makeQuery(query, variables)\n\n if (data as APITypes.CreateServiceRequestMutation && (data as APITypes.CreateServiceRequestMutation).createServiceRequest) {\n const ServiceRequestData = (data as APITypes.CreateServiceRequestMutation).createServiceRequest\n return ServiceRequestData\n } else {\n throw new Error(`Call to create ServiceRequest does not contain data: ${data}`)\n }\n } catch (e) {\n Logger.error(\"GovGigAPI.createServiceRequest error\", getErrorMessage(e), input)\n return null\n }\n }\n\n async updateServiceRequest(input: APITypes.UpdateServiceRequestInput) {\n const query = gqlToString(CustomMutations.updateServiceRequest)\n const variables = { \"input\": input }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.updateServiceRequest error\", err.message, input)\n throw err\n })\n if (data as APITypes.UpdateServiceRequestMutation) {\n return (data as APITypes.UpdateServiceRequestMutation).updateServiceRequest\n } else {\n return null\n }\n }\n\n async deleteServiceRequest(id: string) {\n const query = gqlToString(CustomMutations.deleteServiceRequest)\n const input: APITypes.DeleteServiceRequestInput = {\n id\n }\n const data = await this.makeQuery(query, { input })\n .catch(err => {\n Logger.error(\"GovGigAPI.deleteServiceRequest error\", err.message, input)\n throw err\n })\n if (data) {\n return (data as APITypes.DeleteServiceRequestMutation).deleteServiceRequest\n }\n return null\n }\n\n // JobPost methods\n\n async listJobPosts(filter?: APITypes.ModelJobPostFilterInput, limit?: number) {\n const query = gqlToString(CustomQueries.listJobPosts)\n const variables = { \"filter\": filter, \"limit\": limit ?? 10000 }\n const data = await this.makeAPIKeyQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listJobPosts error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListJobPostsQuery && (data as APITypes.ListJobPostsQuery).listJobPosts) {\n return (data as APITypes.ListJobPostsQuery).listJobPosts\n } else {\n return null\n }\n }\n\n async listJobPostsAndCandidates(filter?: APITypes.ModelJobPostFilterInput, limit?: number, nextToken?: string) {\n const query = gqlToString(CustomQueries.listJobPostsAndCandidates)\n const variables = { \"filter\": filter, \"limit\": limit ?? 10000, \"nextToken\": nextToken }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listJobPostsAndCandidates error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListJobPostsQuery && (data as APITypes.ListJobPostsQuery).listJobPosts) {\n return (data as APITypes.ListJobPostsQuery).listJobPosts\n } else {\n return null\n }\n }\n\n\n async listJobPostsByContract(contractId: string, filter?: APITypes.ModelJobPostFilterInput) {\n const query = gqlToString(CustomQueries.listJobPostsByContract)\n const variables = { \"contractId\": contractId, \"filter\": filter, \"limit\": 10000 }\n const data = await this.makeAPIKeyQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listJobPostsByContract error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListJobPostsByContractQuery && (data as APITypes.ListJobPostsByContractQuery).listJobPostsByContract) {\n return (data as APITypes.ListJobPostsByContractQuery).listJobPostsByContract\n } else {\n return null\n }\n }\n\n async listJobPostsByServiceRequest(serviceRequestId: string, filter?: APITypes.ModelJobPostFilterInput) {\n const query = gqlToString(CustomQueries.listJobPostsByServiceRequest)\n const variables = { \"serviceRequestId\": serviceRequestId, \"filter\": filter, \"limit\": 10000 }\n const data = await this.makeAPIKeyQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listJobPostsByServiceRequest error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListJobPostsByServiceRequestQuery && (data as APITypes.ListJobPostsByServiceRequestQuery).listJobPostsByServiceRequest) {\n return (data as APITypes.ListJobPostsByServiceRequestQuery).listJobPostsByServiceRequest\n } else {\n return null\n }\n }\n\n async listJobPostsByLocation(locationId: string, filter?: APITypes.ModelJobPostFilterInput) {\n const query = gqlToString(CustomQueries.listJobPostsByLocation)\n const variables = { \"locationId\": locationId, \"filter\": filter, \"limit\": 10000 }\n const data = await this.makeAPIKeyQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listJobPostsByLocation error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListJobPostsByLocationQuery && (data as APITypes.ListJobPostsByLocationQuery).listJobPostsByLocation) {\n return (data as APITypes.ListJobPostsByLocationQuery).listJobPostsByLocation\n } else {\n return null\n }\n }\n\n async listJobPostsByService(serviceId: string, filter?: APITypes.ModelJobPostFilterInput) {\n const query = gqlToString(CustomQueries.listJobPostsByService)\n const variables = { \"serviceId\": serviceId, \"filter\": filter, \"limit\": 10000 }\n const data = await this.makeAPIKeyQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listJobPostsByService error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListJobPostsByServiceQuery && (data as APITypes.ListJobPostsByServiceQuery).listJobPostsByService) {\n return (data as APITypes.ListJobPostsByServiceQuery).listJobPostsByService\n } else {\n return null\n }\n }\n\n async listJobPostsByServiceAndLocation(serviceId: string, locationId: string, filter?: APITypes.ModelJobPostFilterInput) {\n const query = gqlToString(CustomQueries.listJobPostsByService)\n const locationCondition: APITypes.ModelStringKeyConditionInput = { beginsWith: locationId }\n const variables = { \"serviceId\": serviceId, \"locationId\": locationCondition, \"filter\": filter, \"limit\": 10000 }\n const data = await this.makeAPIKeyQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listJobPostsByServiceAndLocation error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListJobPostsByServiceQuery && (data as APITypes.ListJobPostsByServiceQuery).listJobPostsByService) {\n return (data as APITypes.ListJobPostsByServiceQuery).listJobPostsByService\n } else {\n return null\n }\n }\n\n async listJobPostsByAccount(accountId: string, filter?: APITypes.ModelJobPostFilterInput, limit?: number, nextToken?: string) {\n const query = gqlToString(CustomQueries.listJobPostsByAccount)\n const variables = { \"accountId\": accountId, \"filter\": filter, \"limit\": limit ?? 10000, \"nextToken\": nextToken}\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listJobPostsByAccount error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListJobPostsByAccountQuery && (data as APITypes.ListJobPostsByAccountQuery).listJobPostsByAccount) {\n return (data as APITypes.ListJobPostsByAccountQuery).listJobPostsByAccount\n } else {\n return null\n }\n }\n\n async listJobPostsAndCandidatesByAccount(accountId: string, filter?: APITypes.ModelJobPostFilterInput, limit?: number, nextToken?: string) {\n const query = gqlToString(CustomQueries.listJobPostsAndCandidatesByAccount)\n const variables = { \"accountId\": accountId, \"filter\": filter, \"limit\": limit ?? 10000, \"nextToken\": nextToken }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listJobPostsByAccount error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListJobPostsByAccountQuery && (data as APITypes.ListJobPostsByAccountQuery).listJobPostsByAccount) {\n return (data as APITypes.ListJobPostsByAccountQuery).listJobPostsByAccount\n } else {\n return null\n }\n }\n async getJobPost(jobPostId: string) {\n let query: string \n const variables = { \"id\": jobPostId }\n let data \n\n query = gqlToString(CustomQueries.getJobPost)\n data = await this.makeQuery(query, variables)\n .catch(err => {\n // console.debug(`getJobPost failed: ${err.message}`)\n // Ignore and fall back to public view\n })\n\n if (!data) {\n // Fall back to public view\n query = gqlToString(CustomQueries.getPublicJobPost)\n data = await this.makeAPIKeyQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.getPublicJobPost error\", err.message, variables)\n throw err\n })\n }\n\n if (data as APITypes.GetJobPostQuery && (data as APITypes.GetJobPostQuery).getJobPost) {\n return (data as APITypes.GetJobPostQuery).getJobPost\n } else {\n return null\n }\n }\n\n async createJobPost(input: APITypes.CreateJobPostInput) {\n const query = gqlToString(CustomMutations.createJobPost)\n const variables = { input }\n try {\n const data = await this.makeQuery(query, variables)\n\n if (data as APITypes.CreateJobPostMutation && (data as APITypes.CreateJobPostMutation).createJobPost) {\n const JobPostData = (data as APITypes.CreateJobPostMutation).createJobPost\n return JobPostData\n } else {\n throw new Error(`Call to create JobPost does not contain data: ${data}`)\n }\n } catch (e) {\n Logger.error(\"GovGigAPI.createJobPost error\", getErrorMessage(e), input)\n throw e\n }\n }\n\n async updateJobPost(input: APITypes.UpdateJobPostInput) {\n const query = gqlToString(CustomMutations.updateJobPost)\n const variables = { \"input\": input }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.updateJobPost error\", err.message, input)\n throw err\n })\n if (data as APITypes.UpdateJobPostMutation) {\n return (data as APITypes.UpdateJobPostMutation).updateJobPost\n } else {\n return null\n }\n }\n\n async deleteJobPost(id: string) {\n const query = gqlToString(CustomMutations.deleteJobPost)\n const input: APITypes.DeleteJobPostInput = {\n id\n }\n const data = await this.makeQuery(query, { input })\n .catch(err => {\n Logger.error(\"GovGigAPI.deleteJobPost error\", err.message, input)\n throw err\n })\n if (data) {\n return (data as APITypes.DeleteJobPostMutation).deleteJobPost\n }\n return null\n }\n\n // JobInterest methods\n\n async listJobInterestsByUser(userId: string, filter?: APITypes.ModelJobInterestFilterInput) {\n const query = gqlToString(CustomQueries.listJobInterestsByUser)\n const variables = { \"userId\": userId, \"filter\": filter, \"limit\": 10000 }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listJobInterestsByUser error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListJobInterestsByUserQuery && (data as APITypes.ListJobInterestsByUserQuery).listJobInterestsByUser) {\n return (data as APITypes.ListJobInterestsByUserQuery).listJobInterestsByUser\n } else {\n return null\n }\n }\n\n async listJobInterestsByJobPost(jobPostId: string, filter?: APITypes.ModelJobInterestFilterInput) {\n const query = gqlToString(CustomQueries.listJobInterestsByJobPost)\n const variables = { \"jobPostId\": jobPostId, \"filter\": filter, \"limit\": 10000 }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listJobInterestsByJobPost error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListJobInterestsByJobPostQuery && (data as APITypes.ListJobInterestsByJobPostQuery).listJobInterestsByJobPost) {\n return (data as APITypes.ListJobInterestsByJobPostQuery).listJobInterestsByJobPost\n } else {\n return null\n }\n }\n\n async getJobInterest(JobInterestId: string) {\n const query = gqlToString(CustomQueries.getJobInterest)\n const variables = { \"id\": JobInterestId }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.getJobInterest error\", err.message, variables)\n throw err\n })\n if (data as APITypes.GetJobInterestQuery && (data as APITypes.GetJobInterestQuery).getJobInterest) {\n return (data as APITypes.GetJobInterestQuery).getJobInterest\n } else {\n return null\n }\n }\n \n async createJobInterest(input: APITypes.CreateJobInterestInput) {\n const query = gqlToString(CustomMutations.createJobInterest)\n const variables = { input }\n try {\n const data = await this.makeQuery(query, variables)\n\n if (data as APITypes.CreateJobInterestMutation && (data as APITypes.CreateJobInterestMutation).createJobInterest) {\n const JobInterestData = (data as APITypes.CreateJobInterestMutation).createJobInterest\n return JobInterestData\n } else {\n throw new Error(`Call to create JobInterest does not contain data: ${data}`)\n }\n } catch (e) {\n Logger.error(\"GovGigAPI.createJobInterest error\", getErrorMessage(e), input)\n return null\n }\n }\n\n async updateJobInterest(input: APITypes.UpdateJobInterestInput) {\n const query = gqlToString(CustomMutations.updateJobInterest)\n const variables = { \"input\": input }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.updateJobInterest error\", err.message, input)\n throw err\n })\n if (data as APITypes.UpdateJobInterestMutation) {\n return (data as APITypes.UpdateJobInterestMutation).updateJobInterest\n } else {\n return null\n }\n }\n\n async deleteJobInterest(id: string) {\n const query = gqlToString(CustomMutations.deleteJobInterest)\n const input: APITypes.DeleteJobInterestInput = {\n id\n }\n const data = await this.makeQuery(query, { input })\n .catch(err => {\n Logger.error(\"GovGigAPI.deleteJobInterest error\", err.message, input)\n throw err\n })\n if (data) {\n return (data as APITypes.DeleteJobInterestMutation).deleteJobInterest\n }\n return null\n }\n\n // JobCandidate\n\n async listJobCandidatesByJobPost(jobPostId: string, filter?: APITypes.ModelJobCandidateFilterInput) {\n const query = gqlToString(CustomQueries.listJobCandidatesByJobPost)\n const variables = { \"jobPostId\": jobPostId, \"filter\": filter, \"limit\": 10000 }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listJobCandidatesByJobPost error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListJobCandidatesByJobPostQuery && (data as APITypes.ListJobCandidatesByJobPostQuery).listJobCandidatesByJobPost) {\n return (data as APITypes.ListJobCandidatesByJobPostQuery).listJobCandidatesByJobPost\n } else {\n return null\n }\n }\n\n async listJobCandidatesByAccount(accountId: string, filter?: APITypes.ModelJobCandidateFilterInput) {\n const query = gqlToString(CustomQueries.listJobCandidatesByAccount)\n const variables = { \"accountId\": accountId, \"filter\": filter, \"limit\": 10000 }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listJobCandidatesByAccount error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListJobCandidatesByAccountQuery && (data as APITypes.ListJobCandidatesByAccountQuery).listJobCandidatesByAccount) {\n return (data as APITypes.ListJobCandidatesByAccountQuery).listJobCandidatesByAccount\n } else {\n return null\n }\n }\n\n async listJobCandidatesByProfile(profileId: string, filter?: APITypes.ModelJobCandidateFilterInput) {\n const query = gqlToString(CustomQueries.listJobCandidatesByProfile)\n const variables = { \"profileId\": profileId, \"filter\": filter, \"limit\": 10000 }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listJobCandidatesByProfile error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListJobCandidatesByProfileQuery && (data as APITypes.ListJobCandidatesByProfileQuery).listJobCandidatesByProfile) {\n return (data as APITypes.ListJobCandidatesByProfileQuery).listJobCandidatesByProfile\n } else {\n return null\n }\n }\n\n async getJobCandidate(jobCandidateId: string) {\n const query = gqlToString(CustomQueries.getJobCandidate)\n const variables = { \"id\": jobCandidateId }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.getJobCandidate error\", err.message, variables)\n throw err\n })\n if (data as APITypes.GetJobCandidateQuery && (data as APITypes.GetJobCandidateQuery).getJobCandidate) {\n return (data as APITypes.GetJobCandidateQuery).getJobCandidate\n } else {\n return null\n }\n }\n\n async createJobCandidate(input: APITypes.CreateJobCandidateInput) {\n const query = gqlToString(CustomMutations.createJobCandidate)\n const variables = { input }\n try {\n const data = await this.makeQuery(query, variables)\n\n if (data as APITypes.CreateJobCandidateMutation && (data as APITypes.CreateJobCandidateMutation).createJobCandidate) {\n const JobCandidateData = (data as APITypes.CreateJobCandidateMutation).createJobCandidate\n return JobCandidateData\n } else {\n throw new Error(`Call to create JobCandidate does not contain data: ${data}`)\n }\n } catch (e) {\n Logger.error(\"GovGigAPI.createJobCandidate error\", getErrorMessage(e), input)\n return null\n }\n }\n\n async updateJobCandidate(input: APITypes.UpdateJobCandidateInput) {\n const query = gqlToString(CustomMutations.updateJobCandidate)\n const variables = { \"input\": input }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.updateJobCandidate error\", err.message, input)\n throw err\n })\n if (data as APITypes.UpdateJobCandidateMutation) {\n return (data as APITypes.UpdateJobCandidateMutation).updateJobCandidate\n } else {\n return null\n }\n }\n\n async deleteJobCandidate(id: string) {\n const query = gqlToString(CustomMutations.deleteJobCandidate)\n const input: APITypes.DeleteJobCandidateInput = {\n id\n }\n const data = await this.makeQuery(query, { input })\n .catch(err => {\n Logger.error(\"GovGigAPI.deleteJobCandidate error\", err.message, input)\n throw err\n })\n if (data) {\n return (data as APITypes.DeleteJobCandidateMutation).deleteJobCandidate\n }\n return null\n }\n\n // UserActivity \n\n async listUserActivityByUser(userId: string, filter?: APITypes.ModelUserActivityFilterInput) {\n const query = gqlToString(CustomQueries.listUserActivityByUser)\n const variables = { \"userId\": userId, \"filter\": filter, \"limit\": 1000, \"sortDirection\": ModelSortDirection.DESC }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listUserActivityByUser error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListUserActivityByUserQuery && (data as APITypes.ListUserActivityByUserQuery).listUserActivityByUser) {\n return (data as APITypes.ListUserActivityByUserQuery).listUserActivityByUser\n } else {\n return null\n }\n }\n\n async listUserActivityBySubject(subjectId: string, filter?: APITypes.ModelUserActivityFilterInput, sortDirection?: ModelSortDirection) {\n const query = gqlToString(CustomQueries.listUserActivityBySubject)\n const variables = { \"subjectId\": subjectId, \"filter\": filter, \"limit\": 1000, \"sortDirection\": sortDirection ?? ModelSortDirection.DESC }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.listUserActivityBySubject error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListUserActivityBySubjectQuery && (data as APITypes.ListUserActivityBySubjectQuery).listUserActivityBySubject) {\n return (data as APITypes.ListUserActivityBySubjectQuery).listUserActivityBySubject\n } else {\n return null\n }\n }\n\n async getUserActivity(userActivityId: string) {\n const query = gqlToString(CustomQueries.getUserActivity)\n const variables = { \"id\": userActivityId }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.getUserActivity error\", err.message, variables)\n throw err\n })\n if (data as APITypes.GetUserActivityQuery && (data as APITypes.GetUserActivityQuery).getUserActivity) {\n return (data as APITypes.GetUserActivityQuery).getUserActivity\n } else {\n return null\n }\n }\n \n async createUserActivity(input: APITypes.CreateUserActivityInput) {\n const query = gqlToString(CustomMutations.createUserActivity)\n const variables = { input }\n try {\n const data = await this.makeQuery(query, variables)\n\n if (data as APITypes.CreateUserActivityMutation && (data as APITypes.CreateUserActivityMutation).createUserActivity) {\n const UserActivityData = (data as APITypes.CreateUserActivityMutation).createUserActivity\n return UserActivityData\n } else {\n throw new Error(`Call to create UserActivity does not contain data: ${data}`)\n }\n } catch (e) {\n Logger.error(\"GovGigAPI.createUserActivity error\", getErrorMessage(e), input)\n return null\n }\n }\n\n async updateUserActivity(input: APITypes.UpdateUserActivityInput) {\n const query = gqlToString(CustomMutations.updateUserActivity)\n const variables = { \"input\": input }\n const data = await this.makeQuery(query, variables)\n .catch(err => {\n Logger.error(\"GovGigAPI.updateUserActivity error\", err.message, input)\n throw err\n })\n if (data as APITypes.UpdateUserActivityMutation) {\n return (data as APITypes.UpdateUserActivityMutation).updateUserActivity\n } else {\n return null\n }\n }\n\n async deleteUserActivity(id: string) {\n const query = gqlToString(CustomMutations.deleteUserActivity)\n const input: APITypes.DeleteUserActivityInput = {\n id\n }\n const data = await this.makeQuery(query, { input })\n .catch(err => {\n Logger.error(\"GovGigAPI.deleteUserActivity error\", err.message, input)\n throw err\n })\n if (data) {\n return (data as APITypes.DeleteUserActivityMutation).deleteUserActivity\n }\n return null\n }\n\n async listCourses(filter?: APITypes.ModelCourseFilterInput) {\n const query = gqlToString(CustomQueries.listCourses)\n const variables = {\"filter\": filter, \"limit\": 1000}\n const data = await this.makeAPIKeyQuery(query, variables)\n .catch(err => {\n // Logger.error(\"GovGig.listCourses error\", err.message, variables)\n throw err\n })\n if (data as APITypes.ListCoursesQuery && (data as APITypes.ListCoursesQuery).listCourses) {\n return (data as APITypes.ListCoursesQuery).listCourses\n } else {\n return null\n }\n }\n\n async getCourse(id: string) {\n const query = gqlToString(CustomQueries.getCourse)\n const variables = {\"id\": id}\n const data = await this.makeAPIKeyQuery(query, variables)\n .catch(err => {\n // Logger.error(\"GovGig.getCourse error\", err.message, variables)\n throw err\n })\n\n if (data as APITypes.GetCourseQuery && (data as APITypes.GetCourseQuery).getCourse) {\n return (data as APITypes.GetCourseQuery).getCourse\n } else {\n return null\n }\n }\n\n // Helper methods\n\n async makeQuery(query: string, variables?: {}) {\n try {\n // await this.checkAuthentication()\n const operation = graphqlOperation(query, variables)\n // console.log(JSON.stringify(operation))\n const result = await API.graphql(operation)\n if (result as GraphQLResult) {\n const data = (result as GraphQLResult).data\n return data\n } else {\n return null\n }\n } catch (err: any) {\n // console.log(\"makeQuery error\", err)\n if (err.message) {\n throw err\n } else if (err.errors && err.errors.length > 0) {\n throw new Error(err.errors[0].message)\n } else {\n throw new Error(`Unknown error: ${err}`)\n }\n }\n }\n\n async makeAPIKeyQuery(query: string, variables?: {}) {\n try {\n // await this.checkAuthentication()\n const result = await API.graphql({\n query: query,\n variables,\n authMode: GRAPHQL_AUTH_MODE.API_KEY\n })\n if (result as GraphQLResult) {\n const data = (result as GraphQLResult).data\n return data\n } else {\n return null\n }\n } catch (err: any) {\n // console.log(\"makeQuery error\", err)\n if (err.message) {\n throw err\n } else if (err.errors && err.errors.length > 0) {\n throw new Error(err.errors[0].message)\n } else {\n throw new Error(`Unknown error: ${err}`)\n }\n }\n }\n\n async getAuthenticatedRole(): Promise {\n let role\n\n try {\n const cognitoUser = await Auth.currentAuthenticatedUser()\n if (cognitoUser) {\n const attributes = await Auth.userAttributes(cognitoUser)\n const attribute = attributes.find(a => a.getName() === \"custom:role\")\n if (attribute) {\n return UserRole[attribute.getValue()]\n }\n }\n } catch (err) {\n // Logger.debug(\"checkAuthentication err: \" + err.message)\n }\n\n return role\n }\n\n\n async checkAuthentication(): Promise {\n try {\n const cognitoUser = await Auth.currentAuthenticatedUser()\n if (cognitoUser) {\n return true\n }\n } catch (err) {\n // Logger.debug(\"checkAuthentication err: \" + err.message)\n }\n\n return false\n }\n\n async checkRole(): Promise {\n try {\n const cognitoUser = await Auth.currentAuthenticatedUser()\n if (cognitoUser) {\n const attributes = await Auth.userAttributes(cognitoUser)\n const attribute = attributes.find(a => a.getName() === \"custom:role\")\n if (attribute) {\n return UserRole[attribute.getValue()]\n } else {\n return null\n }\n }\n } catch (err) {\n // Logger.debug(\"checkAuthentication err: \" + err.message)\n }\n\n return null\n }\n}\n\nexport default GovGigAPI","const AppConfig = {\n env: process.env.REACT_APP_ENV,\n nodeEnv: process.env.NODE_ENV,\n version: process.env.REACT_APP_VERSION,\n commitId: process.env.REACT_APP_COMMIT_ID,\n build: process.env.REACT_APP_JOB_ID,\n stripe: {\n apiKey: process.env.REACT_APP_STRIPE_KEY\n },\n rollbar: {\n accessToken: process.env.REACT_APP_ROLLBAR_ACCESS_TOKEN\n },\n google: {\n trackingId: process.env.REACT_APP_GOOGLE_TRACKING_ID,\n options: {\n }\n },\n tawkTo: {\n url: process.env.REACT_APP_TAWK_TO_URL\n },\n checkBuildInterval: 900000, // 15 minutes\n branch: process.env.REACT_APP_BRANCH,\n affinda: {\n apiToken: process.env.REACT_APP_AFFINDA_API_TOKEN\n },\n tinymce: {\n apiKey: process.env.REACT_APP_TINYMCE_API_KEY\n },\n domain: process.env.REACT_APP_DOMAIN ?? \"govgig.us\",\n academyUrl: process.env.REACT_APP_ACADEMY_URL,\n homeUrl: process.env.REACT_APP_HOME_URL,\n newsUrl: process.env.REACT_APP_NEWS_URL,\n couponPromo: process.env.REACT_APP_COUPON_PROMO\n};\n\nexport default AppConfig;","/* eslint-disable */\n// WARNING: DO NOT EDIT. This file is automatically generated by AWS Amplify. It will be overwritten.\n\nconst awsmobile = {\n \"aws_project_region\": \"us-west-2\",\n \"aws_cloud_logic_custom\": [\n {\n \"name\": \"AdminQueries\",\n \"endpoint\": \"https://15o0rqay26.execute-api.us-west-2.amazonaws.com/main\",\n \"region\": \"us-west-2\"\n },\n {\n \"name\": \"AuthAPI\",\n \"endpoint\": \"https://sfukcy0667.execute-api.us-west-2.amazonaws.com/main\",\n \"region\": \"us-west-2\"\n },\n {\n \"name\": \"BillingAPI\",\n \"endpoint\": \"https://9wx396ax7d.execute-api.us-west-2.amazonaws.com/main\",\n \"region\": \"us-west-2\"\n },\n {\n \"name\": \"CertificateAPI\",\n \"endpoint\": \"https://ocavantaka.execute-api.us-west-2.amazonaws.com/main\",\n \"region\": \"us-west-2\"\n },\n {\n \"name\": \"DocumentService\",\n \"endpoint\": \"https://nmkjgowen8.execute-api.us-west-2.amazonaws.com/main\",\n \"region\": \"us-west-2\"\n }\n ],\n \"aws_appsync_graphqlEndpoint\": \"https://bxjuzqse5zbotjp4g7xpigjvnm.appsync-api.us-west-2.amazonaws.com/graphql\",\n \"aws_appsync_region\": \"us-west-2\",\n \"aws_appsync_authenticationType\": \"AMAZON_COGNITO_USER_POOLS\",\n \"aws_appsync_apiKey\": \"da2-hdfa2tqpkbhqnmhbu5pxbvh7yq\",\n \"aws_cognito_identity_pool_id\": \"us-west-2:f8a4e447-eead-4f8b-a54f-54d75455072b\",\n \"aws_cognito_region\": \"us-west-2\",\n \"aws_user_pools_id\": \"us-west-2_7bYPdGOFd\",\n \"aws_user_pools_web_client_id\": \"5cjgmnpo8ncb42jjlq8vh6u59v\",\n \"oauth\": {},\n \"aws_cognito_username_attributes\": [],\n \"aws_cognito_social_providers\": [],\n \"aws_cognito_signup_attributes\": [\n \"EMAIL\"\n ],\n \"aws_cognito_mfa_configuration\": \"OFF\",\n \"aws_cognito_mfa_types\": [\n \"SMS\"\n ],\n \"aws_cognito_password_protection_settings\": {\n \"passwordPolicyMinLength\": 8,\n \"passwordPolicyCharacters\": []\n },\n \"aws_cognito_verification_mechanisms\": [\n \"EMAIL\"\n ],\n \"aws_user_files_s3_bucket\": \"govgig-storage101642-main\",\n \"aws_user_files_s3_bucket_region\": \"us-west-2\"\n};\n\n\nexport default awsmobile;\n","export default __webpack_public_path__ + \"static/media/header_logo_640x192.0c4b7ceb.png\";","import * as React from 'react';\nimport Button from '@material-ui/core/Button';\nimport { createStyles, Theme, WithStyles, withStyles } from '@material-ui/core/styles'\n\nconst styles = (theme: Theme) => createStyles({\n primaryDialogButton: {\n backgroundColor: theme.palette.secondary.main,\n color: theme.palette.primary.contrastText,\n marginTop: 0,\n // minWidth: 80,\n boxShadow: 'rgba(0, 0, 0, 0.25) 0px 1px 3px 0px',\n \"&:hover\": {\n color: theme.palette.primary.contrastText,\n backgroundColor: theme.palette.primary.light,\n }\n },\n secondaryDialogButton: {\n backgroundColor: theme.palette.background.paper,\n color: theme.palette.primary.main,\n marginTop: 0,\n // minWidth: 80,\n boxShadow: 'rgba(0, 0, 0, 0.25) 0px 1px 3px 0px'\n },\n tertiaryDialogButton: {\n fontWeight: 'bold',\n color: theme.palette.primary.main,\n paddingLeft: theme.spacing(1),\n paddingRight: theme.spacing(1),\n backgroundColor: theme.palette.grey[50],\n boxShadow: 'rgba(0, 0, 0, 0.25) 0px 1px 3px 0px',\n }\n})\n\ninterface IDialogButtonProps {\n onClick?: any\n type?: string, \n variant?: any\n disabled?: boolean\n fullWidth?: boolean\n customClassName?: string\n id?: string\n size?: 'large' | 'medium' | 'small'\n}\n \nclass DialogButton extends React.Component & IDialogButtonProps> {\n render() {\n const { classes, onClick, disabled, fullWidth } = this.props\n\n const typeProp = this.props.type || \"button\"\n const variantProp = this.props.variant || \"contained\"\n const childrenProp = this.props.children || 'Button'\n\n let variant: any\n let className: any = this.props.customClassName ? this.props.customClassName : null\n let color: any\n let type: any\n const size = this.props.size ?? 'medium'\n\n switch (variantProp) {\n case \"primary\":\n variant = \"contained\"\n className = className ? className : classes.primaryDialogButton\n type = this.props.type || \"submit\"\n break\n case \"secondary\":\n variant = \"contained\"\n className = className ? className : classes.secondaryDialogButton\n type = typeProp\n break;\n case \"tertiary\":\n variant = \"text\"\n className = className ? className : classes.tertiaryDialogButton\n type = typeProp\n break;\n default:\n variant = variantProp\n className = className ? className : classes.primaryDialogButton\n type = typeProp\n }\n \n return (\n \n )\n }\n}\n\nexport default withStyles(styles)(DialogButton)\n","import * as React from \"react\";\nimport { createStyles, Theme, WithStyles, withStyles } from '@material-ui/core/styles'\nimport { Provider } from \"mobx-react\";\n\nconst styles = (theme: Theme) => createStyles({\n\n})\n\nexport interface IFieldValidator {\n validate?(value: string): boolean\n}\n\ninterface IFormValidatorProps {\n autoComplete?: any\n name?: string\n className?: any\n onSubmit?(event: React.FormEvent | undefined): void \n id?: string\n ref?: React.RefObject\n [rest:string]: any;\n}\n\nclass FormValidator extends React.Component & IFormValidatorProps> {\n\n state = {\n isValid: true\n }\n\n fields: any[]\n\n constructor(props: any) {\n super(props);\n this.fields = []\n }\n\n render() {\n const {\n onSubmit,\n ...rest\n } = this.props\n\n // We pass this FormValidator down to the form fields to run validation on each field. \n const resources = {\n formvalidator: this\n }\n\n return (\n \n \n {this.props.children}\n \n \n )\n }\n\n attachToForm = (component: any) => {\n this.fields.push(component)\n }\n\n private onSubmit = (event: React.FormEvent | undefined): void => {\n event?.preventDefault()\n\n const { onSubmit } = this.props\n\n // Validate fields\n const isValid = this.validateFields()\n this.setState({isValid})\n\n if (isValid && onSubmit) {\n onSubmit(event);\n }\n }\n\n private validateFields = (): boolean => {\n let isValid = true\n\n this.fields.forEach((field: any) => {\n if (field.validate) {\n const isFieldValid = field.props.autocompleteOptions ? field.validate(field.props.autocompleteOptions.value) : field.validate(field.props.value)\n if (!isFieldValid) {\n isValid = false\n }\n }\n })\n\n return isValid\n }\n}\n\nexport default withStyles(styles)(FormValidator)","import * as React from \"react\";\nimport { createStyles, Theme, WithStyles, withStyles } from '@material-ui/core/styles'\nimport TextField, {TextFieldProps} from '@material-ui/core/TextField';\nimport {FormControlProps} from \"@material-ui/core/FormControl\";\nimport {inject} from \"mobx-react\";\n// import {isEmail, isMobilePhone, isPostalCode, isURL} from \"validator\"\nimport {IFieldValidator} from \"./FormValidator\"\n// import {isEmail, isMobilePhone, isPostalCode, isURL, MobilePhoneLocale} from \"validator\";\nimport isPostalCode, {PostalCodeLocale} from \"validator/lib/isPostalCode\";\nimport isEmail from \"validator/lib/isEmail\";\nimport isMobilePhone, {MobilePhoneLocale} from \"validator/lib/isMobilePhone\";\nimport isCurrency from \"validator/lib/isCurrency\";\nimport isURL from \"validator/lib/isURL\";\nimport isInt from 'validator/lib/isInt'\nimport isFloat from 'validator/lib/isFloat'\nimport {parse} from \"date-fns\";\nimport {Autocomplete} from \"@material-ui/lab\";\n\n\n// type MobilePhoneLocale = ValidatorJS.MobilePhoneLocale;\n// type PostalCodeLocale = ValidatorJS.PostalCodeLocale;\n\nconst styles = (theme: Theme) => createStyles({\n root: {\n marginTop: 0,\n paddingTop: 0,\n marginBottom: 0,\n paddingBottom: 0\n }\n})\n\ninterface ITextFieldValidations {\n required?: boolean\n minLength?: number\n maxLength?: number\n isEmail?: boolean | null\n isMobilePhone?: boolean | null\n isPostalCode?: string | null\n isStrongPassword?: number\n matches?: string\n isURL?: boolean\n isURLMatch?: string\n isUsername?: string\n minDate?: string\n maxDate?: string\n minValue?: number\n maxValue?: number\n isInt?: boolean | null\n isFloat?: boolean | null\n isCurrency?: boolean | null\n}\n\ninterface ITextFieldValdatorProps {\n error?: boolean\n helperText?: React.ReactNode\n label?: React.ReactNode\n inputRef?: any\n required?: boolean\n validators?: ITextFieldValidations\n errorMessages?: any\n onBlur?: any // React.EventHandler\n onChange?: any // React.EventHandler\n formvalidator?: any\n validate?: any\n className?: string\n autocompleteOptions?: any\n}\n\nexport type TextFieldValidatorProps = TextFieldProps & ITextFieldValdatorProps & IFieldValidator\n\n@inject(\"formvalidator\")\nclass TextFieldValidator extends React.Component & TextFieldValidatorProps > {\n\n state = {\n isValid: true,\n errorMessage: \"\",\n value: \"\",\n }\n\n componentDidMount() {\n const {formvalidator} = this.props as ITextFieldValdatorProps\n if (formvalidator) {\n formvalidator.attachToForm(this)\n }\n }\n\n /* eslint-disable no-template-curly-in-string */\n\n static errorMessages = {\n required: \"${label} is required\",\n minLength: \"${label} must be at least ${param} characters\",\n maxLength: \"${label} must be no more than ${param} characters\",\n isMobilePhone: \"Invalid phone number\",\n isEmail: \"Invalid email\",\n isPostalCode: \"Invalid postal code\",\n isStrongPassword: \"Password must be at least 8 characters with at least one upper-case, digit or symbol character.\",\n matches: \"Invalid ${label}\",\n isURL: \"Invalid URL\",\n isURLMatch: \"Invalid URL\",\n isUsername: \"Username must be at least 8 characters of (a-z, 0-9, -._)\",\n minDate: \"${label} must be >= ${param}\",\n maxDate: \"${label} must be <= ${param}\",\n minValue: \"${label} must be >= ${param}\",\n maxValue: \"${label} must be <= ${param}\",\n isInt: \"Must be an integer\",\n isFloat: \"Must be a number\",\n isCurrency: \"Must be currency\"\n }\n\n static defaultLocale = \"en-US\"\n static defaultCountry = \"US\"\n static minPasswordLength = 8\n\n render() {\n const {\n inputRef,\n error,\n onBlur,\n onChange,\n autocompleteOptions,\n ...rest\n } = this.props as ITextFieldValdatorProps;\n\n if (autocompleteOptions) {\n return (\n \n
\n this.onBlur(event, params.inputProps)}\n className={this.props.className ?? this.props.classes.root}\n error={!this.state.isValid || this.props.error}\n helperText={((!this.state.isValid || this.props.error) && this.state.errorMessage) || this.props.helperText}\n />
}\n />\n )\n } else {\n return (\n \n )\n }\n }\n\n private onBlur = (event: React.FocusEvent, inputParams?: any): void => {\n const { value } = event.currentTarget;\n const { props } = this\n const { onBlur } = props as FormControlProps\n\n this.validate(value)\n\n if (onBlur) {\n onBlur(event);\n }\n\n if (inputParams && inputParams.onBlur) {\n inputParams.onBlur(event)\n }\n }\n\n private onChange = (event: React.FocusEvent): void => {\n const { value } = event.currentTarget;\n const { props } = this\n const { onChange } = props as FormControlProps\n\n // console.debug(`onChange(value='${value}')`)\n\n if (!this.state.isValid) {\n this.validate(value)\n }\n\n if (onChange) {\n onChange(event);\n }\n }\n\n private onAutocompleteChange = (event: any, value: any, reason: string): void => {\n const { props } = this\n const { onChange, autocompleteOptions } = props // as FormControlProps\n\n // console.debug(`onAutocompleteChange(value='${value}', reason='${reason}')`)\n\n if (!this.state.isValid) {\n this.validate(value)\n }\n\n if (autocompleteOptions.onChange) {\n autocompleteOptions.onChange(event, value, reason)\n } else if (onChange) {\n if (typeof value !== 'string' && autocompleteOptions.getOptionLabel) {\n onChange({target: {name: props.name, value: autocompleteOptions.getOptionLabel(value)}});\n } else {\n onChange({target: {name: props.name, value: value}});\n }\n }\n }\n\n validate = (value: any): boolean => {\n const { validators, errorMessages, autocompleteOptions } = this.props as ITextFieldValdatorProps\n let isValid = true\n\n if (autocompleteOptions && autocompleteOptions.getOptionLabel && typeof value !== 'string') {\n value = autocompleteOptions.getOptionLabel(value)\n }\n\n if (validators) {\n const errorName = Object.keys(validators).find((validatorName: string) => {\n if (TextFieldValidator.validators[validatorName]) {\n const validator = TextFieldValidator.validators[validatorName]\n return !validator(value, validators[validatorName])\n } else {\n return false\n }\n })\n\n if (errorName) {\n let errorMessage = \"Error\"\n if (errorMessages && errorMessages[errorName]) {\n // Use custom error message\n errorMessage = errorMessages[errorName]\n } else if (TextFieldValidator.errorMessages[errorName]) {\n errorMessage = TextFieldValidator.errorMessages[errorName]\n }\n if (errorMessage.indexOf(\"${label}\") >= 0) {\n // Replace ${label} with label property\n const label = this.props.label || \"This\"\n errorMessage = errorMessage.replace(\"${label}\", label.toString())\n }\n if (errorMessage.indexOf(\"${param}\") >= 0) {\n // Replace ${param} with validator param\n const param = validators[errorName]\n errorMessage = errorMessage.replace(\"${param}\", param)\n }\n\n isValid = false\n this.setState({isValid, errorMessage })\n } else {\n isValid = true\n this.setState({isValid, errorMessage: \"\"})\n }\n }\n\n return isValid\n }\n\n static validators = {\n required: (value: string, param: boolean) => {\n return (!param || (value && value.length > 0))\n },\n minLength: (value: string, param: number) => {\n return (value && value.length >= param )\n },\n maxLength: (value: string, param: number) => {\n return (!value || value.length <= param )\n },\n isEmail: (value: string) => {\n return (!value || isEmail(value))\n },\n isMobilePhone: (value:string, param: any) => {\n const locale = (param!==null && param!==true) ? param : TextFieldValidator.defaultLocale\n return (!value || isMobilePhone(value, locale as MobilePhoneLocale))\n },\n isPostalCode: (value: string, param: any) => {\n const locale = (param!==null && param!==true) ? param : TextFieldValidator.defaultCountry\n return (!value || isPostalCode(value, locale as PostalCodeLocale))\n },\n isStrongPassword: (value: string, param: number = 5) => {\n return (TextFieldValidator.passwordStrength(value) >= param)\n },\n matches: (value: string, param: string) => {\n return (TextFieldValidator.matches(value, param))\n },\n isURL: (value: string, param: any) => {\n return (!value || isURL(value, param ? param : {}))\n },\n isURLMatch: (value: string, param: string) => {\n return (TextFieldValidator.matches(value, param))\n },\n isUsername: (value: string, param: string) => {\n return (TextFieldValidator.matches(value, param))\n },\n minDate: (value: string, param: string) => {\n return (TextFieldValidator.minDate(value, param))\n },\n maxDate: (value: string, param: string) => {\n return (TextFieldValidator.maxDate(value, param))\n },\n minValue: (value: string, param: number) => {\n return (value !== \"\" && parseFloat(value) >= param)\n },\n maxValue: (value: string, param: number) => {\n return (value !== \"\" && parseFloat(value) <= param)\n },\n isInt: (value: string) => {\n return (!value || isInt(value))\n },\n isFloat: (value: string) => {\n return (!value || isFloat(value))\n },\n isCurrency: (value: string) => {\n return (!value || isCurrency(value) || isFloat(value))\n }\n }\n\n static passwordStrength = (password: string) => {\n\n let strength = 0\n\n if (password && password.length > 0) {\n ++strength\n\n if (TextFieldValidator.hasLength(password, TextFieldValidator.minPasswordLength)) {\n ++strength\n\n if (TextFieldValidator.hasNumber(password)) {\n ++strength\n }\n\n if (TextFieldValidator.hasMixed(password)) {\n ++strength\n }\n\n if (TextFieldValidator.hasSpecial(password)) {\n ++strength\n }\n }\n }\n\n return strength\n }\n\n static hasLength = (value: string, minLength: number) => {\n return (value && value.length >= minLength)\n }\n\n static hasNumber = (value: string) => {\n return new RegExp(/[0-9]/).test(value);\n }\n\n static hasMixed = (value: string) => {\n return new RegExp(/[a-z]/).test(value) &&\n new RegExp(/[A-Z]/).test(value);\n }\n\n static hasSpecial = (value: string) => {\n return new RegExp(/[!#@$%^&*:;,)(+=._-]/).test(value);\n }\n\n static matches = (value: string, param: string) => {\n return new RegExp(param).test(value);\n }\n\n static minDate = (value: string, param: string) => {\n const date = parse(value, \"M/d/yyyy\", new Date())\n const minDate = parse(param, \"M/d/yyyy\", new Date())\n return (!isNaN(date.getTime()) && !isNaN(minDate.getTime()) && date.getTime() >= minDate.getTime())\n }\n\n static maxDate = (value: string, param: string) => {\n const date = parse(value, \"M/d/yyyy\", new Date())\n const maxDate = parse(param, \"M/d/yyyy\", new Date())\n return (!isNaN(date.getTime()) && !isNaN(maxDate.getTime()) && date.getTime() <= maxDate.getTime())\n }\n}\n\nexport default withStyles(styles)(TextFieldValidator)","import ReactGA, {EventArgs} from 'react-ga';\nimport Logger from \"./Logger\";\n\ninterface ITrackingEventArgs {\n category?: string\n action: string\n value?: number\n label?: string\n}\n\nexport enum TrackingCodes {\n Academy = 'Academy',\n Account = 'Account',\n AccountAgreements = \"AccountAgreements\",\n AccountBilling = \"AccountBilling\",\n AccountPeople = \"AccountPeople\",\n AccountSettings = \"AccountSettings\",\n Candidates = 'Candidates',\n Contracts = 'Contracts',\n Dashboard = \"Dashboard\",\n FindTalent = \"Find-Talent\",\n FindJobs = \"Find-Jobs\",\n FindOpportunity = \"Find-Opportunity\",\n Home = 'Home',\n JobPostsCreate = 'Post-Jobs',\n Join = 'Join',\n ManageAccount = 'Manage-Account',\n ManageJobs = 'Manage-Jobs',\n ManageJobsList = \"ManageJobs\",\n MyJobs = 'My-Jobs',\n Profile = 'Profile',\n Recruiting = 'Recruiting',\n RecruitingApplicants = 'RecruitingApplicants',\n RecruitingCandidates = 'RecruitingCandidates',\n RecruitingEmployers = 'RecruitingEmployers',\n RecruitingPeople = 'RecruitingPeople',\n SearchJobs = 'Search-Jobs',\n SearchCandidates = 'Search-Candidates',\n ServiceRequests = \"ServiceRequests\",\n ServiceRequestsList = \"ServiceRequestsList\",\n ServiceRequestCreate = \"ServiceRequestCreate\",\n Settings = 'Settings',\n SignIn = 'SignIn',\n SignOut = 'SignOut'\n}\n\nclass Tracking {\n static initialized = false\n static UUIDPattern = new RegExp(/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/)\n\n\n static initialize(trackingId: string, options: any) {\n ReactGA.initialize(trackingId, options)\n this.initialized = true\n Logger.debug(`Tracking.initialize: ${trackingId} options: ${JSON.stringify(options)}`)\n }\n\n static set(args: any) {\n if (this.initialized) {\n ReactGA.set(args)\n Logger.debug(`Tracking.set: ${JSON.stringify(args)}`)\n }\n }\n\n static pageView(path: string) {\n if (this.initialized) {\n const cleaned = Tracking.cleanPath(path)\n ReactGA.pageview(cleaned)\n Logger.debug(`Tracking.pageView: ${cleaned}`)\n }\n }\n\n static modalView(name: string) {\n if (this.initialized) {\n ReactGA.modalview(name)\n Logger.debug(`Tracking.modalview: ${name}`)\n }\n }\n\n static event(args: ITrackingEventArgs) {\n if (this.initialized) {\n const eventArgs: EventArgs = {\n category: args.category || Tracking.cleanPath(window.location.pathname),\n action: args.action,\n value: args.value,\n label: args.label\n }\n ReactGA.event(eventArgs)\n Logger.debug(`Tracking.event: ${JSON.stringify(eventArgs)}`)\n }\n }\n\n static cleanPath(path: string) {\n // Clean out the UUIDs from the path for analytic reporting\n const cleaned = path.replace(Tracking.UUIDPattern, \"uuid\")\n return cleaned\n }\n\n}\n\nexport default Tracking\n","import { AgreementType } from \"../API\"\n\nexport class Agreement {\n id: string\n createdAt: string\n updatedAt: string\n userId: string\n accountId: string\n agreementTypes: [AgreementType]\n agreementKey?: string \n\n constructor (data: any) {\n this.id = data.id\n this.createdAt = data.createdAt\n this.updatedAt = data.updatedAt\n this.userId = data.userId\n this.accountId = data.accountId\n this.agreementTypes = data.agreementTypes\n this.agreementKey = data.agreementKey\n }\n\n hasAgreementType(agreementType: AgreementType): boolean {\n return this.agreementTypes && this.agreementTypes.length > 0 ? this.agreementTypes.includes(agreementType) : false\n }\n}\n\nexport default Agreement","\n\nfunction buildCertType(label: string) {\n return { label }\n}\n\nexport class Certification {\n id: string\n createdAt: string\n updatedAt: string\n userId: string\n profileId: string\n certificationType: string\n issuedAt: string\n expiresAt: string\n certificateKey: string\n\n constructor(data: any) {\n this.id = data.id\n this.createdAt = data.createdAt\n this.updatedAt = data.updatedAt\n this.userId = data.userId\n this.profileId = data.profileId\n this.certificationType = data.certificationType\n this.issuedAt = data.issuedAt\n this.expiresAt = data.expiresAt\n this.certificateKey = data.certificateKey\n }\n}\n\nexport default Certification","\n\nexport class Education {\n id: string\n createdAt: string\n updatedAt: string\n userId: string\n profileId: string\n school: string\n degree: string\n field: string\n startDate: string\n endDate: string\n description: string\n\n constructor (data: any) {\n this.id = data.id\n this.createdAt = data.createdAt\n this.updatedAt = data.updatedAt\n this.userId = data.userId\n this.profileId = data.profileId\n this.school = data.school\n this.degree = data.degree\n this.field = data.field\n this.startDate = data.startDate\n this.endDate = data.endDate\n this.description = data.description\n }\n}\n\nexport default Education","import {AgencyType} from \"../API\";\nimport {isoToLocalDate} from \"../stores/StoreUtilities\";\nimport {differenceInCalendarDays} from \"date-fns\";\n\nexport enum FederalAgency {\n AFCEC = \"AFCEC\",\n NAVFAC = \"NAVFAC\",\n USACE = \"USACE\"\n}\n\nexport class Experience {\n id: string\n createdAt: string\n updatedAt: string\n userId: string\n profileId: string\n jobTitle: string\n agencyType: AgencyType\n agencyName: string\n employerName: string\n employerLocation: string\n projectLocation: string\n startDate: string\n endDate: string\n projectNo: string\n projectName: string\n projectDollarAmount: number\n jobDescription: string\n\n constructor (data: any) {\n this.id = data.id\n this.createdAt = data.createdAt\n this.updatedAt = data.updatedAt\n this.userId = data.userId\n this.profileId = data.profileId\n this.jobTitle = data.jobTitle\n this.agencyType = data.agencyType\n this.agencyName = data.agencyName\n this.employerName = data.employerName\n this.employerLocation = data.employerLocation\n this.projectLocation = data.projectLocation\n this.startDate = data.startDate\n this.endDate = data.endDate\n this.projectNo = data.projectNo\n this.projectName = data.projectName\n this.projectDollarAmount = data.projectDollarAmount\n this.jobDescription = data.jobDescription\n }\n\n get years() : number {\n if (this.startDate) {\n const startDate = isoToLocalDate(this.startDate)\n let endDate\n if (this.endDate) {\n endDate = isoToLocalDate(this.endDate)\n } else {\n endDate = new Date()\n }\n const diff = differenceInCalendarDays(endDate, startDate) / 365.0\n return Math.max(diff, 0)\n } else {\n return 0\n }\n }\n\n get isProject(): boolean {\n return this.agencyType !== null && this.agencyType !== undefined && this.agencyType !== AgencyType.None\n }\n\n get isFederal(): boolean {\n return (this.agencyType && this.agencyType === AgencyType.Federal)\n }\n}\n\nexport default Experience","import {AddressType} from \"../API\";\nimport {LngLatLike} from \"mapbox-gl\";\n\n\nexport class Location {\n id: string\n createdAt: string\n updatedAt: string\n active: boolean\n organizationName: string\n region: string\n name: string\n addressType: AddressType\n address: string\n city: string\n state: string\n postalCode: string\n country: string\n latitude: number\n longitude: number\n aliases: string[]\n\n constructor(data: any) {\n this.id = data.id\n this.createdAt = data.createdAt\n this.updatedAt = data.updatedAt\n this.active = data.active !== undefined ? data.active : true\n this.organizationName = data.organizationName\n this.region = data.region\n this.name = data.name\n this.addressType = data.addressType\n this.address = data.address\n this.city = data.city\n this.state = data.state\n this.postalCode = data.postalCode\n this.country = data.country\n this.latitude = data.latitude\n this.longitude = data.longitude\n this.aliases = data.aliases ?? []\n\n if (!this.addressType) {\n if (this.address) {\n this.addressType = AddressType.Street\n } else if (this.city && this.state) {\n this.addressType = AddressType.City\n } else if (this.state) {\n this.addressType = AddressType.State\n } else if (this.country) {\n this.addressType = AddressType.Country\n }\n }\n }\n\n get shortName() : string {\n return this.name\n }\n\n get longName() : string {\n if (this.aliases && this.aliases.length > 0) {\n return this.aliases[0]\n } else {\n return this.name\n }\n }\n\n get lngLat() : LngLatLike {\n return {lng: this.longitude, lat: this.latitude}\n }\n\n comparesTo(loc?: Location, precision: number = 4) : boolean {\n return loc !== undefined && this.id.startsWith(loc.id.substring(0, precision))\n }\n\n}\n\n\nexport default Location","import Location from \"./Location\"\n\nexport class ProfileLocation {\n id: string\n createdAt: string\n updatedAt: string\n userId: string\n profileId: string\n locationId: string\n location?: Location\n\n constructor(data: any) {\n this.id = data.id\n this.createdAt = data.createdAt\n this.updatedAt = data.updatedAt\n this.userId = data.userId\n this.profileId = data.profileId\n this.locationId = data.locationId\n this.location = data.location ? new Location(data.location) : undefined\n }\n}\n\nexport default ProfileLocation","import ServiceGroup from \"./ServiceGroup\";\n\n\nexport class Service {\n id: string\n createdAt: string\n updatedAt: string\n name: string\n active: boolean\n serviceGroupId: string\n serviceGroup?: ServiceGroup\n industries: string[]\n\n constructor(data: any) {\n this.id = data.id\n this.createdAt = data.createdAt\n this.updatedAt = data.updatedAt\n this.name = data.name\n this.active = data.active\n this.serviceGroupId = data.serviceGroupId\n this.serviceGroup = undefined\n this.industries = data.industries ?? []\n }\n}\n\nexport default Service","import Service from \"./Service\";\nimport {NAICS} from \"./Industry\";\n\nexport class ProfileService {\n id: string\n createdAt: string\n updatedAt: string\n userId: string\n profileId: string\n serviceId: string\n service?: Service\n industries: string[]\n\n constructor(data: any) {\n this.id = data.id\n this.createdAt = data.createdAt\n this.updatedAt = data.updatedAt\n this.userId = data.userId\n this.profileId = data.profileId\n this.serviceId = data.serviceId\n this.service = data.service ? new Service(data.service) : undefined\n this.industries = data.industries ?? []\n }\n}\n\nexport default ProfileService","\nexport enum NAICS {\n Construction = \"23\",\n InformationTechnology = \"54\",\n SecurityServices = \"5616\"\n}\n\nclass Industry {\n level: number\n code: string\n name: string\n\n constructor (data: any) {\n this.level = data.level ?? data.code.length ?? 0\n this.code = data.code\n this.name = data.name\n }\n\n static stringForNAICSCode(code: NAICS): string | null {\n if (code === NAICS.Construction) {\n return \"Construction\"\n } else if (code === NAICS.InformationTechnology) {\n return \"Information Technology\"\n } else if (code === NAICS.SecurityServices) {\n return \"Physical Security\"\n } else {\n return null \n }\n }\n}\n\nexport default Industry","import User from \"./User\";\nimport {AccountStatus} from \"../API\";\nimport {NAICS} from \"./Industry\";\n\n\nclass Account {\n id: string\n createdAt: string\n updatedAt: string\n ownerId: string\n name: string\n address: string\n city: string\n state: string\n postalCode: string\n country: string\n active: boolean\n // dunsNumber: string\n // cageCode: string\n // naicsCode: string\n // sicCode: string\n socioEconomicDesignation: string\n // fein: string\n industries: string[]\n accountStatus: AccountStatus\n customerId: string\n phone: string\n webUrl: string\n users: User[]\n\n constructor(data: any) {\n this.id = data.id\n this.createdAt = data.createdAt\n this.updatedAt = data.updatedAt\n this.ownerId = data.ownerId\n this.name = data.name\n this.address = data.address\n this.city = data.city\n this.state = data.state\n this.postalCode = data.postalCode\n this.country = data.country\n this.active = data.active\n // this.dunsNumber = data.dunsNumber\n // this.cageCode = data.cageCode\n // this.naicsCode = data.naicsCode\n // this.sicCode = data.sicCode\n this.socioEconomicDesignation = data.socioEconomicDesignation\n // this.fein = data.fein\n this.industries = data.industries ?? [NAICS.Construction]\n this.accountStatus = AccountStatus[data.accountStatus]\n this.customerId = data.customerId\n this.phone = data.phone\n this.webUrl = data.webUrl\n this.users = []\n if (data.users && data.users.items) {\n this.loadUsers(data.users.items)\n }\n }\n\n loadUsers(items: any[]) {\n this.users = items.map((item: any) => new User(item))\n }\n\n}\n\nexport default Account","import Account from \"./Account\";\nimport {UserRole, UserStatus} from \"../API\";\nimport Agreement from \"./Agreement\";\nimport Profile from \"./Profile\";\n\nclass User {\n id: string\n createdAt: string\n updatedAt: string\n active: boolean\n userStatus: UserStatus\n accountId: string\n account?: Account\n firstName: string\n lastName: string\n email: string\n phone: string\n role: UserRole\n address: string\n city: string\n state: string\n postalCode: string\n country: string\n industry?: string\n lastActiveAt: string\n agreements: Agreement[]\n profiles: Profile[]\n\n constructor (data: any) {\n this.id = data.id\n this.createdAt = data.createdAt\n this.updatedAt = data.updatedAt\n this.active = data.active\n this.userStatus = data.userStatus ? data.userStatus : UserStatus.Registered\n this.accountId = data.accountId\n this.account = data.account ? new Account(data.account) : undefined\n this.firstName = data.firstName\n this.lastName = data.lastName\n this.email = data.email\n this.phone = data.phone\n this.role = data.role\n this.address = data.address\n this.city = data.city\n this.state = data.state\n this.postalCode = data.postalCode\n this.country = data.country\n this.industry = data.industry\n this.lastActiveAt = data.lastActiveAt\n this.agreements = []\n if (data.agreements && data.agreements.items) {\n this.loadAgreements(data.agreements.items)\n }\n this.profiles = []\n if (data.profiles && data.profiles.items) {\n this.loadProfiles(data.profiles.items)\n }\n }\n\n loadAgreements(items: any[]) {\n this.agreements = items.map((item: any) => new Agreement(item))\n }\n\n loadProfiles(items: any[]) {\n this.profiles = items.map((item: any) => new Profile(item))\n }\n\n get profile(): Profile | undefined {\n if (this.profiles && this.profiles.length > 0) {\n return this.profiles[0]\n } else {\n return undefined\n }\n }\n\n set profile(value: Profile | undefined) {\n if (this.profiles && this.profiles.length > 0) {\n if (value) {\n this.profiles[0] = value\n } else {\n this.profiles.splice(0, 1)\n }\n } else if (value) {\n this.profiles = [value]\n }\n }\n\n get fullName(): string {\n return `${this.firstName} ${this.lastName}`\n }\n\n get nickname(): string {\n return `${this.firstName} ${this.lastName.substr(0, 1)}`\n }\n\n get isActive(): boolean {\n return this.active\n }\n\n get isApplicant(): boolean {\n return this.role === UserRole.Applicant || this.role === UserRole.Student\n }\n\n get isStudent(): boolean {\n return this.role === UserRole.Student\n }\n\n get isCandidate(): boolean {\n return this.role === UserRole.Candidate\n }\n\n get isEmployer(): boolean {\n return this.role === UserRole.Employer\n }\n\n get isAdmin(): boolean {\n return this.role === UserRole.Admin\n }\n\n get isAgent(): boolean {\n return this.role === UserRole.Agent\n }\n\n get isAdminOrAgent(): boolean {\n return this.role === UserRole.Admin || this.role === UserRole.Agent\n }\n\n get agreement(): Agreement | undefined {\n return this.agreements.length > 0 ? this.agreements[0] : undefined\n }\n\n set agreement(agreement: Agreement | undefined) {\n if (agreement) {\n this.agreements[0] = agreement \n }\n }\n}\n\nexport default User\n","import {ProfileStatus, SecurityStatus, WorkSetting} from \"../API\";\nimport Certification from \"./Certification\";\nimport Education from \"./Education\";\nimport Experience from \"./Experience\";\nimport JobCandidate from \"./JobCandidate\";\nimport ProfileLocation from \"./ProfileLocation\";\nimport ProfileService from \"./ProfileService\";\nimport User from \"./User\";\nimport {isoToLocalDate} from \"../stores/StoreUtilities\";\nimport {differenceInDays, startOfToday} from \"date-fns\";\nimport {NAICS} from \"./Industry\";\n\nexport enum RateRanges {\n $40_50K = \"$40-50k\",\n $50_60K = \"$50-60k\",\n $60_70K = \"$60-70k\",\n $70_80K = \"70-80k\",\n $80_90K = \"$80-90k\",\n $90_100K = \"$90-100k\",\n $100_110K = \"$100-110k\",\n $110_120K = \"$110-120k\",\n $120_130K = \"$120-130k\",\n $130_140K = \"$130-140k\",\n $140_150K = \"$140-150k\",\n $150_160K = \"$150-160k\",\n $160_170K = \"$160-170k\",\n $170_180K = \"$170-180k\",\n $180_190K = \"$180-190k\",\n $190_200K = \"$190-200k\"\n}\n\nexport enum ProfileStatusMessages {\n Pending = \"Please complete your GovGig profile and then submit it for review by an Agent. Your profile will not be visible to Employers until you are approved to be a Candidate.\",\n Submitted = \"Your GovGig profile has been submitted and is waiting for review by an Agent.\",\n Reviewing = \"Your GovGig profile is being reviewed by an Agent.\",\n Verifying = \"Your background is being verified by an Agent.\",\n Accepted = \"Your GovGig profile has been accepted!\",\n Declined = \"Your GovGig profile has been declined. You are welcome to resubmit it in the future.\",\n Approved = \"Your GovGig profile has been approved!\", // Deprecated\n Rejected = \"Your GovGig profile has been rejected.\", // Deprecated\n Academy = \"Your GovGig profile has insufficient qualifications for GovGig jobs. We recommend you enroll in GovGig Academy courses to prepare you for federal construction jobs.\",\n Future = \"GovGig does not currently have any job titles to match your profile. We will notify you when we have added one(s) that match your profile.\",\n Inactive = \"Your GovGig profile has been marked as inactive due to an incomplete profile. You are welcome to resubmit it in the future.\"\n}\n\nexport const ProfileAvailabilityOptions : string[] = [\n \"Immediate\",\n \"In 1-2 weeks\",\n \"In 2-4 weeks\",\n \"In 4 or more weeks\",\n \"In the future\",\n \"Unavailable\"\n]\n\nclass Profile {\n id: string\n createdAt: string\n updatedAt: string\n alias?: string\n active: boolean\n userId: string\n user?: User\n nickname: string\n initials: string\n profileServices: ProfileService[]\n profileLocations: ProfileLocation[]\n availability?: string\n availableDate?: string\n desiredRate?: string\n about?: string\n resumeKey?: string\n profileStatus: ProfileStatus\n statusMessage?: string\n experiences: Experience[]\n certifications: Certification[]\n education: Education[]\n notes?: string\n city?: string\n state?: string\n country?: string\n federalExperience: number\n totalExperience: number\n industries: string[]\n securityClearance?: string\n securityStatus: SecurityStatus\n workSettings: WorkSetting[]\n credentials?: string \n\n\n constructor(data: any) {\n this.id = data.id\n this.createdAt = data.createdAt\n this.updatedAt = data.updatedAt\n this.alias = data.alias\n this.active = data.active\n this.userId = data.userId\n this.user = data.user ? new User(data.user) : undefined\n this.nickname = data.nickname\n this.initials = this.getInitials()\n this.profileServices = []\n if (data.profileServices && data.profileServices.items) {\n this.loadProfileServices(data.profileServices.items)\n }\n this.profileLocations = []\n if (data.profileLocations && data.profileLocations.items) {\n this.loadProfileLocations(data.profileLocations.items)\n }\n this.availability = data.availability\n this.availableDate = data.availableDate\n // Compute availability from availableDate if not set\n if (!this.availability && this.availableDate) {\n const days = differenceInDays(isoToLocalDate(this.availableDate), startOfToday())\n if (days <= 0) {\n this.availability = ProfileAvailabilityOptions[0]\n } else if (days <= 14) {\n this.availability = ProfileAvailabilityOptions[1]\n } else if (days <= 28) {\n this.availability = ProfileAvailabilityOptions[2]\n } else if (days <= 56) {\n this.availability = ProfileAvailabilityOptions[3]\n } else {\n this.availability = ProfileAvailabilityOptions[4]\n }\n }\n this.desiredRate = data.desiredRate\n this.about = data.about\n this.resumeKey = data.resumeKey\n this.profileStatus = ProfileStatus[data.profileStatus]\n this.statusMessage = data.statusMessage\n this.certifications = []\n this.experiences = []\n this.education = []\n if (data.experiences && data.experiences.items) {\n this.loadExperiences(data.experiences.items)\n }\n if (data.certifications && data.certifications.items) {\n this.loadCertifications(data.certifications.items)\n }\n if (data.education && data.education.items) {\n this.loadEducation(data.education.items)\n }\n this.notes = data.notes\n this.city = data.city\n this.state = data.state\n this.country = data.country\n this.federalExperience = data.federalExperience ?? 0\n this.totalExperience = data.totalExperience ?? 0\n this.industries = data.industries ?? [NAICS.Construction]\n this.securityClearance = data.securityClearance\n this.securityStatus = SecurityStatus[data.securityStatus] ?? undefined\n this.workSettings = data.workSettings ?? []\n this.credentials = data.credentials \n }\n\n get name() {\n if (this.user) {\n return this.user.fullName\n } else if (this.initials) {\n return this.initials\n } else {\n return \"No name\"\n }\n }\n\n private getInitials() {\n let initials = \"\"\n if (this.nickname) {\n const parts = this.nickname.split(' ')\n if (parts.length > 0) {\n initials += parts[0].substr(0, 1)\n }\n if (parts.length > 1) {\n initials += parts[1].substr(0, 1)\n }\n } else {\n initials = \"??\"\n }\n return initials.toUpperCase()\n }\n\n get isEmpty() {\n return Boolean(\n !this.about\n && !this.resumeKey\n && (!this.education || this.education.length === 0)\n && (!this.experiences || this.experiences.length === 0)\n && (!this.certifications || this.certifications.length === 0)\n )\n }\n\n loadProfileServices(items: any[]) {\n this.profileServices = items.map((item: any) => new ProfileService(item))\n }\n\n loadProfileLocations(items: any[]) {\n this.profileLocations = items.map((item: any) => new ProfileLocation(item))\n }\n\n loadExperiences(items: any[]) {\n this.experiences = items.map((item: any) => new Experience(item))\n }\n\n loadCertifications(items: any[]) {\n this.certifications = items.map((item: any) => new Certification(item))\n }\n\n loadEducation(items: any[]) {\n this.education = items.map((item: any) => new Education(item))\n }\n\n get statusMessageOrDefault(): string {\n return this.statusMessage ?? ProfileStatusMessages[this.profileStatus]\n }\n\n hasService(serviceId: string) : boolean {\n return this.profileServices && this.profileServices.findIndex((item: ProfileService) => serviceId === item.serviceId) >= 0\n }\n \n getProfileService(serviceId: string) : ProfileService | undefined {\n let profileService\n if (this.profileServices) {\n profileService = this.profileServices!.find((item: ProfileService) => serviceId === item.serviceId)\n }\n return profileService\n }\n\n hasLocation(locationId: string) : boolean {\n return this.profileLocations && this.profileLocations.findIndex((item: ProfileLocation) => locationId === item.locationId) >= 0\n }\n\n getProfileLocation(locationId: string) : ProfileLocation | undefined {\n let profileLocation\n if (this.profileLocations) {\n profileLocation = this.profileLocations!.find((item: ProfileLocation) => locationId === item.locationId)\n }\n return profileLocation\n }\n\n getIsUnlocked(user?: User, jobCandidate?: JobCandidate): boolean {\n let isUnlocked = false \n if (user) {\n if (user.isAdminOrAgent) {\n isUnlocked = true\n } else if (user.isEmployer && jobCandidate) {\n isUnlocked = jobCandidate.unlocked\n } else if ((user.isCandidate || user.isApplicant) && user.id === this.userId) {\n isUnlocked = true \n }\n }\n return isUnlocked\n }\n\n canSubmit() : boolean {\n return (this.profileStatus !== ProfileStatus.Submitted && this.profileStatus !== ProfileStatus.Reviewing &&\n this.profileStatus !== ProfileStatus.Verifying && this.profileStatus !== ProfileStatus.Accepted)\n }\n\n inReview() : boolean {\n return (this.profileStatus === ProfileStatus.Pending || this.profileStatus === ProfileStatus.Submitted ||\n this.profileStatus === ProfileStatus.Reviewing || this.profileStatus === ProfileStatus.Verifying)\n }\n\n findCertification(certificationType: string): Certification | undefined {\n const search = certificationType.toLowerCase()\n return (this.certifications.find((c: Certification) => {\n const index = c.certificationType.toLowerCase().indexOf(search)\n return index >= 0\n }))\n }\n}\n\nexport default Profile","import { SubjectType } from \"../API\"\n\nexport enum ActivityType {\n ContractAdded = 'ContractAdded',\n ContractDeleted = 'ContractDeleted',\n JobCandidateAdded = 'JobCandidateAdded',\n JobCandidateApplied = 'JobCandidateApplied',\n JobCandidateDeleted = 'JobCandidateDeleted',\n JobCandidateStatusUpdated = 'JobCandidateStatusUpdated',\n JobPostCreated = 'JobPostCreated',\n JobPostDeleted = 'JobPostDeleted',\n JobPostStatusUpdated = 'JobPostStatusUpdated',\n JobPostViewed = 'JobPostViewed',\n ProfileViewed = 'ProfileViewed',\n NoteAdded = 'NoteAdded',\n InvoiceCreated = 'InvoiceCreated',\n UserCreated = 'UserCreated',\n UserRegistered = 'UserRegistered',\n UserSignIn = 'UserSignIn',\n AccountCreated = 'AccountCreated',\n Error = 'Error'\n}\n\nclass UserActivity {\n id: string\n createdAt: string\n updatedAt: string\n userId: string\n accountId: string\n subjectType: SubjectType\n subjectId: string // contractId, jobPostId, profileId, etc. \n activityType: string // Added, Favorited, Invited, Offered, Applied, Approved, Pending, etc. \n actorId: string\n actorName: string\n details: string\n \n constructor (data: any) {\n this.id = data.id\n this.createdAt = data.createdAt\n this.updatedAt = data.updatedAt\n this.userId = data.userId\n this.accountId = data.accountId\n this.subjectType = data.subjectType\n this.subjectId = data.subjectId\n this.activityType = data.activityType\n this.actorId = data.actorId\n this.actorName = data.actorName\n this.accountId = data.accountId\n this.details = data.details \n }\n}\n\nexport default UserActivity\n","// Code from https://github.com/andreizanik/cookies-next: \n\nimport { serialize, parse } from 'cookie';\nimport { CookieSerializeOptions } from 'cookie';\nimport { IncomingMessage, ServerResponse } from \"http\";\n\nexport interface ServerSideCookieOptionsType extends CookieSerializeOptions {\n\texpires?: Date;\n\tdomain?: string;\n\tres?: ServerResponse;\n\treq?: IncomingMessage & {\n\t\t\tcookies?:{ [key: string]: string; } | Partial<{ [key: string]: string}>\n\t}\n\tsameSite?: true | false | 'lax' | 'strict' | 'none' | undefined;\n}\n\nexport type TemporaryCookiesObject = { [key: string]: string } | Partial<{ [key: string]: string}>;\nexport type CookieValueTypes = string | boolean | undefined | null;\n\nconst isClientSide = (): boolean => typeof window !== 'undefined';\n\nconst processValue = (value: string): CookieValueTypes => {\n\tif (value === 'true') return true;\n\tif (value === 'false') return false;\n\tif (value === 'undefined') return undefined;\n\tif (value === 'null') return null;\n\treturn value;\n};\n\nconst stringify = (value: string = '') => {\n\ttry {\n\t\tconst result = JSON.stringify(value);\n\t\t// eslint-disable-next-line no-useless-escape\n\t\treturn (/^[\\{\\[]/.test(result)) ? result : value;\n\t} catch (e) {\n\t\treturn value;\n\t}\n};\n\nconst decode = (str: string): string => {\n\tif (!str) return str;\n\n\treturn str.replace(/(%[0-9A-Z]{2})+/g, decodeURIComponent);\n};\n\nexport const getCookies = (options?: ServerSideCookieOptionsType): TemporaryCookiesObject => {\n\tlet req;\n\tif (options) req = options.req;\n\tif (!isClientSide()) {\n\t\t// if cookie-parser is used in project get cookies from ctx.req.cookies\n\t\t// if cookie-parser isn't used in project get cookies from ctx.req.headers.cookie\n\t\tif (req && req.cookies) return req.cookies;\n\t\tif (req && req.headers && req.headers.cookie) return parse(req.headers.cookie);\n\t\treturn {};\n\t}\n\n\tconst _cookies: TemporaryCookiesObject = {};\n\tconst documentCookies = document.cookie ? document.cookie.split('; ') : [];\n\n\tfor (let i = 0, len = documentCookies.length; i < len; i++) {\n\t\tconst cookieParts = documentCookies[i].split('=');\n\n\t\tconst _cookie = cookieParts.slice(1).join('=');\n\t\tconst name = cookieParts[0];\n\n\t\t_cookies[name] = _cookie;\n\t}\n\n\treturn _cookies;\n};\n\nexport const getCookie = (key: string, options?: ServerSideCookieOptionsType): CookieValueTypes => {\n\tconst _cookies = getCookies(options);\n const value = _cookies[key];\n if (value === undefined) return undefined;\n\treturn processValue(decode(value));\n};\n\nexport const setCookie = (key: string, data: any, options?: ServerSideCookieOptionsType): void => {\n\tlet _cookieOptions: any;\n\tlet _req;\n\tlet _res;\n\tif (options) {\n\t\tconst { req, res, ..._options } = options;\n\t\t_req = req;\n\t\t_res = res;\n\t\t_cookieOptions = _options;\n\t}\n\n\tconst cookieStr = serialize(key, stringify(data), { path: '/', ..._cookieOptions });\n\tif (!isClientSide()) {\n\t\tif (_res && _req) {\n\t\t\tlet currentCookies = _res.getHeader('Set-Cookie');\n\n\t\t\tif(!Array.isArray(currentCookies)){\n \t\t\t\tcurrentCookies = !currentCookies ? [] : [String(currentCookies)];\n\t\t\t}\n\t\t\t_res.setHeader('Set-Cookie', currentCookies.concat(cookieStr));\n\n\t\t\tif (_req && _req.cookies) {\n\t\t\t\tconst _cookies = _req.cookies;\n\t\t\t\tdata === '' ? delete _cookies[key] : _cookies[key] = stringify(data);\n\t\t\t}\n\n\t\t\tif (_req && _req.headers &&_req.headers.cookie) {\n\t\t\t\tconst _cookies = parse(_req.headers.cookie);\n\n\t\t\t\tdata === '' ? delete _cookies[key] : _cookies[key] = stringify(data);\n\n\t\t\t\t_req.headers.cookie = Object.entries(_cookies).reduce((accum, item) => {\n\t\t\t\t\treturn accum.concat(`${item[0]}=${item[1]};`);\n\t\t\t\t}, '');\n\t\t\t}\n\t\t}\n\t} else {\n\t\tdocument.cookie = cookieStr;\n\t}\n};\n\nexport const deleteCookie = (key: string, options?: ServerSideCookieOptionsType): void => {\n\treturn setCookie(key, '', { ...options, maxAge: -1 });\n};\n\nexport const hasCookie = (key: string, options?: ServerSideCookieOptionsType): boolean => {\n\tif (!key) return false;\n\n\tconst cookie = getCookies(options);\n\treturn cookie.hasOwnProperty(key);\n};\n","import { IRouteData } from \"../RoutesConfig\"\n\nexport class RoutesConfigHelpers {\n static getRouteForPathname = (baseURL: string, pathname: string, routes: any): IRouteData | undefined => {\n // Chop off the initial \"/\" in the pathname. \n const cleanPathname = new URL(pathname, baseURL).pathname \n const matches: IRouteData[] = []\n Object.values(routes).forEach((routeData) => {\n const route = routeData as IRouteData\n // Chop off the initial \"/\" in the path. \n const checkCleanPathname = route.pathname ? new URL(route.pathname, baseURL).pathname.split(\"/:\")[0] : undefined // route.path ? route.path.split(\"/\")[1] : \"\"\n if (checkCleanPathname === \"/\" && cleanPathname === \"/\") {\n // Special case \n matches.unshift(route)\n } else if (checkCleanPathname && checkCleanPathname !== \"/\") {\n if (cleanPathname === checkCleanPathname) {\n matches.unshift(route)\n } else if (cleanPathname.includes(checkCleanPathname)) {\n matches.push(route)\n }\n } \n })\n\n // Assume the first value is the correct match. \n const route: IRouteData | undefined = matches.length > 0 ? matches[0] : undefined\n\n return route\n }\n\n static routeExistsForPathname = (baseURL: string, pathname: string, routes?: any): boolean => {\n const routeMatch = RoutesConfigHelpers.getRouteForPathname(baseURL, pathname, routes)\n if (routeMatch) {\n return true\n }\n\n return false\n }\n\n static routeRequiresLogin = (route: IRouteData): boolean => {\n // Check if the route has any requirements\n const routeRequirements = route.routeRequirements\n if (routeRequirements && routeRequirements.isAuthenticated) {\n return true \n }\n\n return false\n }\n\n static roleMeetsRouteRequirements = (route: IRouteData, role: string): boolean => {\n // Check if the route has any role requirements\n const routeRequirements = route.routeRequirements\n if (routeRequirements && routeRequirements.roles) {\n if (!routeRequirements.roles.find((r: string) => r === role)) {\n return false\n }\n }\n \n return true\n }\n\n static isCurrentRoute(pathname: string, route: IRouteData) {\n const cleanPathname = pathname.split(\"?\")[0].split('/')[1]\n const checkCleanPathname = route.pathname ? route.pathname.split(\"/\")[1] : route.href! \n \n if (cleanPathname === \"\" && checkCleanPathname === \"\") {\n return true \n } else if (checkCleanPathname !== \"\" && String(cleanPathname).includes(checkCleanPathname)) {\n return true \n }\n return false \n }\n}","import {CognitoUser, CognitoUserAttribute} from \"amazon-cognito-identity-js\";\nimport {Auth} from \"aws-amplify\";\nimport {differenceInMinutes, fromUnixTime, isToday} from \"date-fns\";\nimport {computed, makeObservable, observable} from \"mobx\";\nimport * as APITypes from \"../API\";\nimport {\n AccountStatus,\n CreateUserActivityInput,\n ModelSortDirection,\n SubjectType,\n UpdateUserInput,\n UserRole,\n UserStatus\n} from \"../API\";\nimport AdminAPI from \"../apis/AdminAPI\";\nimport GovGigAPI from \"../apis/GovGigAPI\";\nimport LocationAPI from \"../apis/LocationAPI\";\nimport ControlTower, {Routes} from \"../components/ControlTower\";\nimport Logger from \"../components/Logger\";\nimport Tracking from \"../components/Tracking\";\nimport Agreement from \"../model/Agreement\";\nimport JobPost from \"../model/JobPost\";\nimport Profile from \"../model/Profile\";\nimport User from \"../model/User\";\nimport UserActivity, {ActivityType} from \"../model/UserActivity\";\nimport {getISODateTime, getISODateToday, getISODateTodayAddDays, phoneToE164Format} from \"./StoreUtilities\";\nimport {NAICS} from \"../model/Industry\";\nimport {getCookie, setCookie} from \"./CookieHelpers\";\nimport AppConfig from \"../AppConfig\";\nimport { RoutesConfigHelpers } from \"../components/RoutesConfigHelpers\";\nimport { IRouteData } from \"../RoutesConfig\";\n\nexport const UserStoreConstants = {\n\n USER_ALREADY_CONFIRMED: \"User cannot be confirm. Current status is CONFIRMED\",\n CONFIRMATION_SUCCESS: \"SUCCESS\",\n USER_NOT_FOUND: \"User not found\",\n USER_ALREADY_EXISTS: \"User already exists\",\n USERNAME_EXISTS_EXCEPTION: \"UsernameExistsException\",\n EMAIL_EXISTS_MESSAGE: \"PreSignUp failed with error Email exists.\",\n USERNAME_NOT_CONFIRMED_EXCEPTION: \"UserNotConfirmedException\",\n USER_NOT_CONFIRMED: \"User not confirmed\",\n NOT_AUTHORIZED_EXCEPTION: \"NotAuthorizedException\",\n USER_NOT_FOUND_EXCEPTION: \"UserNotFoundException\",\n CODE_MISMATCH_EXEPTION: \"CodeMismatchException\",\n CONDITIONAL_REQUEST_FAILED: \"The conditional request failed\",\n EMAIL_VERIFICATION_PENDING: \"Email verification pending\",\n PHONE_VERIFICATION_PENDING: \"Phone verification pending\",\n COMPANY_EMAIL: \"\"\n}\n\nexport interface ICognitoAttributes {\n email?: string,\n phone_number?: string,\n \"custom:account\"?: string,\n \"custom:role\"?: string\n}\n\nexport const CognitoAttribute = {\n EMAIL: \"email\",\n PHONE_NUMBER: \"phone_number\",\n ACCOUNT: \"custom:account\",\n ROLE: \"custom:role\"\n}\n\nexport const CognitoAttributeValue = {\n FALSE: \"false\",\n TRUE: \"true\"\n}\n\n\nclass UserStore {\n @observable groups: string[] = []\n @observable user?: User\n @observable isLoading: boolean = true \n @observable isAdmin: boolean = false\n @observable isPublic: boolean = false\n @observable industry?: string\n\n govGigAPI: GovGigAPI\n adminAPI: AdminAPI\n locationAPI: LocationAPI\n\n @observable private _cognitoUser?: CognitoUser\n get cognitoUser() {\n // Logger.debug(`UserStore get cognitoUser = ${this._cognitoUser?.getUsername()}`)\n return this._cognitoUser\n }\n\n set cognitoUser(cognitoUser: CognitoUser | undefined) {\n // Logger.debug(`UserStore set cognitoUser = ${cognitoUser?.getUsername()}`)\n this._cognitoUser = cognitoUser\n }\n\n private _attributes: CognitoUserAttribute[] = []\n\n constructor(options: any) {\n makeObservable(this);\n this.govGigAPI = (options && options.govGigAPI) ? options.govGigAPI : null\n this.adminAPI = (options && options.adminAPI) ? options.adminAPI: null\n this.locationAPI = (options && options.locationAPI) ? options.locationAPI: null\n this.industry = this.getIndustry()\n }\n \n /**\n * When switching between *.govgig.us properties, \n * we need to sign out the user if they've logged in on another property,\n * otherwise too many cookies will build up and the site won't load,\n * resulting in a 431 error. \n */\n async signOutCurrentAuthenticatedUser() {\n try {\n // const user: CognitoUser | undefined = await Auth.currentAuthenticatedUser()\n await Auth.currentAuthenticatedUser()\n // Logger.debug('Current authenticated user', user)\n await Auth.signOut()\n } catch (err) {\n // If we see err === \"No current user,\" then we are not logged in, which is fine. \n // Logger.debug('UserStore.signIn: ', err)\n } finally {\n this.deleteAllCookies()\n }\n }\n\n signUp = async (username: string, password: string, email: string, phone?: string, accountId?: string, role?: UserRole) => {\n this.cognitoUser = undefined\n this.user = undefined\n this._attributes = []\n\n await this.signOutCurrentAuthenticatedUser()\n\n return new Promise((resolve, reject) => {\n const attributes = {}\n if (email) {\n attributes[CognitoAttribute.EMAIL] = email.toLowerCase()\n }\n if (phone) {\n attributes[CognitoAttribute.PHONE_NUMBER] = phoneToE164Format(phone)\n }\n if (accountId) {\n attributes[CognitoAttribute.ACCOUNT] = accountId\n }\n if (role) {\n attributes[CognitoAttribute.ROLE] = role\n }\n\n Auth.signUp({\n username,\n password,\n attributes,\n validationData: [] // optional\n })\n .then(data => {\n resolve(data.user)\n })\n .catch(err => {\n reject(err)\n })\n })\n }\n\n confirmSignUp = async (username: string, code: string, options?: any): Promise => {\n return await Auth.confirmSignUp(username, code, options)\n }\n\n resendSignUp = async (username: string): Promise => {\n return await Auth.resendSignUp(username)\n }\n\n verifyUserAttribute = async (user: CognitoUser, attribute: string) => {\n return await Auth.verifyUserAttribute(user, attribute)\n }\n\n verifyUserAttributeSubmit = async (user: CognitoUser, attribute: string, code: string) => {\n return await Auth.verifyUserAttributeSubmit(user, attribute, code)\n }\n\n signIn = async (username: string, password: string) => {\n this.cognitoUser = undefined\n this.user = undefined\n this._attributes = []\n\n await this.signOutCurrentAuthenticatedUser()\n\n return new Promise((resolve, reject) => {\n Auth.signIn(username.toLowerCase(), password)\n .then(async (cognitoUser: any) => {\n if (cognitoUser.challengeName === \"NEW_PASSWORD_REQUIRED\") {\n // Logger.debug(`Auth.signIn(${username}) = ${cognitoUser.challengeName}`)\n resolve(cognitoUser)\n } else {\n // Logger.debug(`Auth.signIn(${username}) success`)\n // Load and initialize User\n this.initSession(cognitoUser)\n .then(user => {\n // this.createActivity(ActivityType.UserSignIn, result.id)\n this.logUserActivity(user.id, SubjectType.User, user.id, ActivityType.UserSignIn)\n resolve(user)\n })\n .catch(async (reason: any) => {\n // await this.signInAsGuest()\n reject(reason)\n })\n }\n }).catch(err => {\n if (err.code !== UserStoreConstants.USER_NOT_FOUND_EXCEPTION &&\n err.code !== UserStoreConstants.NOT_AUTHORIZED_EXCEPTION) {\n Logger.error(\"Auth.SignIn error.\", err)\n }\n reject(err)\n })\n })\n }\n\n routeInitial = () => {\n const location = window.location\n\n const routes: IRouteData[] = Object.values(Routes).map(value => { \n return { \n \"title\": value, // We don't really need the title here, but we need to supply a value. \n \"pathname\": value\n } \n })\n const route = RoutesConfigHelpers.getRouteForPathname(location.origin, location.pathname, routes)\n\n console.debug(\"location\", location, route)\n\n // If they are currently on the home page, then route them to the appropriate dashboard page\n if (route \n && (route.pathname === Routes.home \n || route.pathname === Routes.login\n || route.pathname === Routes.apply\n || route.pathname === Routes.signup\n || route.pathname === Routes.register)) {\n // const env = config.get(\"env\")\n if (this.isAdminOrAgent) {\n // ControlTower.route((env === \"staging\" || env === \"main\") ? Routes.manage : Routes.manageJobs)\n ControlTower.route(Routes.dashboard)\n } else if (this.isApplicant) {\n ControlTower.route(Routes.profile)\n } else if (this.isCandidate) {\n ControlTower.route(Routes.findJobs)\n } else if (this.isEmployer) {\n // ControlTower.route(Routes.manageJobs)\n ControlTower.route(Routes.dashboard)\n } \n }\n }\n\n reloadAuthenticatedUser = async (): Promise => {\n const cognitoUser = await this.currentAuthenticatedUser()\n if (cognitoUser) {\n console.log(\"reloading current authenticated user\")\n this.isLoading = true\n // Load and initialize User\n return this.initSession(cognitoUser)\n .then(async (result: any) => {\n console.log(\"Reloaded user from cache\")\n return this.user\n })\n .catch(async (reason: any) => {\n this.isLoading = false\n console.log(\"Unable to load user from cache\")\n return null\n })\n } else {\n console.log(\"No existing authenticated user found\")\n this.isPublic = true \n this.isLoading = false \n return null\n }\n\n }\n\n signOut = async () => {\n return new Promise((resolve, reject) => {\n this.currentAuthenticatedUser()\n .then((cognitoUser: CognitoUser) => {\n Auth.signOut()\n .then(() => {\n // Logger.debug(\"Auth.signOut success\")\n this.cognitoUser = undefined\n this.user = undefined\n this.isAdmin = false\n this._attributes = []\n this.setIndustry(this.industry)\n if (this.checkInterval) {\n clearInterval(this.checkInterval)\n this.checkInterval = undefined\n }\n resolve(null)\n })\n .catch(err => {\n Logger.error(\"Auth.signOut error\", err)\n reject(err)\n })\n // .finally(() => {\n // this.deleteAllCookies()\n // })\n })\n })\n }\n\n currentSession = async () => {\n Auth.currentSession()\n .then(data => {\n return data\n })\n .catch(err => {\n console.log(`Auth.currentSession err: ${JSON.stringify(err)}`)\n });\n }\n\n currentAuthenticatedUser = async () => {\n const cognitoUser = await Auth.currentAuthenticatedUser()\n .catch(err => {\n this.cognitoUser = undefined\n })\n if (cognitoUser) {\n this.cognitoUser = cognitoUser\n return cognitoUser\n } else {\n this.cognitoUser = undefined\n return null\n }\n }\n\n getUserAttribute = async (cognitoUser: any, name: string) => {\n const attributes = await Auth.userAttributes(cognitoUser ? cognitoUser : this.cognitoUser)\n const attribute = attributes.find(a => a.getName() === name)\n if (attribute) {\n return attribute.getValue()\n } else {\n return null\n }\n }\n\n getUserAttributes = async (cognitoUser?: any) => {\n return await Auth.userAttributes(cognitoUser ? cognitoUser : this.cognitoUser)\n }\n\n updateUserAttributes = async (cognitoUser: any, attributes: any) => {\n return await Auth.updateUserAttributes(cognitoUser ? cognitoUser : this.cognitoUser, attributes)\n }\n\n\n initSession = async (cognitoUser: CognitoUser) => {\n\n console.log(\"UserStore.initSession\")\n this.isLoading = true\n\n return new Promise(async (resolve, reject) => {\n this.cognitoUser = cognitoUser\n await this.getCurrentSessionPayload()\n const username = cognitoUser.getUsername()\n await this.checkAuthentication()\n if (this.locationAPI) {\n this.locationAPI.init()\n }\n\n this.loadUser(username)\n .then(async (user: any) => {\n await this.verifyRole(user)\n Tracking.set({ userId: user.email })\n this.isLoading = false\n resolve(user)\n })\n .catch((err: any) => {\n this.isLoading = false\n reject(err)\n })\n })\n }\n\n async verifyRole(user: User) {\n // Verify the cognito role matches the User record role and update if needed\n const attributes: CognitoUserAttribute[] = await this.getUserAttributes(this.cognitoUser)\n const updateAttributes: ICognitoAttributes = {}\n\n const role = user.role\n const customRole = attributes.find(attribute => attribute.getName() === CognitoAttribute.ROLE)\n if (customRole && customRole.getValue() !== role) {\n updateAttributes[CognitoAttribute.ROLE] = role\n console.log(`Updating ${user.email} role to ${role}`)\n await this.updateUserAttributes(null, updateAttributes)\n }\n }\n\n async getCurrentSessionPayload() {\n const session = await Auth.currentSession()\n // const authTimeValue = session.getIdToken().payload['auth_time']\n // const authTime = fromUnixTime(authTimeValue)\n // Logger.debug(`User authenticated at ${format(authTime!, \"M/d/yyyy h:mm:ss aa\")}`)\n // const payload = session.getIdToken().payload\n const groups = session.getIdToken().payload['cognito:groups']\n this.isAdmin = (groups && groups.indexOf(\"Admin\") >= 0)\n return groups\n }\n\n @computed get isAuthenticated() {\n const isAuthenticated = this.cognitoUser !== undefined && this.user !== undefined\n // Logger.debug(`UserStore get isAuthenticated = ${isAuthenticated}`)\n return isAuthenticated\n }\n\n @computed get isAgent() {\n return this.user !== undefined ? this.user.isAgent : false\n }\n\n @computed get isAdminOrAgent() {\n return this.user !== undefined ? this.user.isAdminOrAgent : false\n }\n\n @computed get isEmployer() {\n return this.user !== undefined ? this.user.isEmployer : false\n }\n\n @computed get isCandidate() {\n return this.user !== undefined ? this.user.isCandidate : false\n }\n\n @computed get isApplicant() {\n return this.user !== undefined ? this.user.isApplicant : false\n }\n\n @computed get isStudent() {\n return this.user !== undefined ? this.user.isStudent : false\n }\n\n isProfileEditable = (profile: Profile): boolean => {\n return (this.user !== undefined && (this.user.id === profile.userId || this.user.isAdminOrAgent === true))\n }\n\n /**\n * Check current user, if user is employer and the job post belongs to their account, then show editing features. \n */\n isJobPostEditable = (jobPost: JobPost): boolean => {\n const user = this.user \n const account = user?.account\n if (user && account) {\n const isEmployerOwningJobPost = user.isEmployer && (account.id === jobPost.accountId)\n if (isEmployerOwningJobPost || this.isAdminOrAgent) {\n return true \n }\n }\n return false \n }\n\n checkInterval: any\n\n async checkAuthentication() {\n // Logger.debug(\"checkAuthentication\")\n const redirectHome = async () => {\n ControlTower.route(`${Routes.home}?logout=true`)\n }\n try {\n const session = await Auth.currentSession()\n const authTimeValue = session.getIdToken().payload['auth_time']\n const authTime = fromUnixTime(authTimeValue)\n // Logger.debug(`Id Token Auth Time: ${idAuthTime.toLocaleDateString()} ${idAuthTime.toLocaleTimeString()}`)\n\n if (!isToday(authTime)) { // Sign-out at midnight the day authenticated\n Logger.debug(\"Authentication expired\")\n await this.signOut()\n redirectHome()\n }\n } catch (err) {\n Logger.error('checkAuthentication error', err)\n redirectHome() \n }\n\n if (!this.checkInterval) {\n // Check authentication every hour\n this.checkInterval = setInterval(this.checkAuthentication, 60 * 60000)\n }\n }\n\n completeNewPassword = async (user: string, newPassword: string) => {\n return await new Promise((resolve, reject) => {\n Auth.completeNewPassword(user, newPassword, null)\n .then(data => {\n // Logger.debug(\"Auth.completeNewPassword success\")\n resolve(data)\n })\n .catch(err => {\n Logger.debug(\"Auth.completeNewPassword error\", err)\n reject(err)\n });\n })\n }\n\n loadUser = async (userId: string): Promise => {\n // Logger.debug(`UserStore.loadUser(${userId})`)\n\n const data = await this.govGigAPI.getUser(userId)\n console.log(\"Loaded user\")\n\n if (data) {\n let user = new User(data)\n if (user) {\n if (user.account && user.account.accountStatus && user.account.accountStatus !== AccountStatus.Approved &&\n user.role !== UserRole.Student) {\n throw new Error(`Your account is ${user.account.accountStatus.toLowerCase()}. Please contact account owner or admin.`)\n } else if (user.userStatus && user.userStatus !== UserStatus.Invited && user.userStatus !== UserStatus.Registered) {\n throw new Error(`This user is ${user.userStatus.toLowerCase()}. Please contact account owner or admin.`)\n // } else if (user.role === UserRole.Student) {\n // throw new Error(`This is a GovGig Academy student login. Please login at https://academy.govgig.us.`)\n } else {\n this.user = user\n if (this.user.profile && (this.user.isAdminOrAgent || this.user.isEmployer)) {\n // Drop profile for admin, agent, and employer\n this.user.profile = undefined\n }\n this.getIndustry()\n this.updateUserLastActiveAt(user)\n Logger.configureUser(this.user.id)\n }\n }\n } else {\n throw new Error(\"User not found\")\n }\n\n return this.user\n }\n\n getUser = async (userId: string): Promise => {\n const data = await this.govGigAPI.getUser(userId)\n if (data) {\n return new User(data)\n } else {\n return undefined\n }\n }\n\n getUserAndProfile = async (userId: string): Promise => {\n const data = await this.govGigAPI.getUserAndProfile(userId)\n if (data) {\n const user = new User(data)\n if (user.profile) {\n user.profile.user = user\n }\n return user\n } else {\n return undefined\n }\n }\n\n async createUser(input: APITypes.CreateUserInput, setStoreUser: boolean = true) {\n if (input.phone) {\n input.phone = phoneToE164Format(input.phone)\n }\n const userRes = await this.govGigAPI!.createUser(input)\n if (userRes) {\n Tracking.event({ action: \"Create Account\" })\n // const attributes: ICognitoAttributes = {}\n // let updateAttributes = false\n // if (user.accountId) {\n // attributes[CognitoAttribute.ACCOUNT] = user.accountId\n // updateAttributes = true\n // }\n // if (user.role) {\n // attributes[CognitoAttribute.ROLE] = user.role\n // updateAttributes = true\n // }\n // if (updateAttributes) {\n // await this.updateUserAttributes(null, attributes)\n // }\n\n const user = new User(userRes)\n if (setStoreUser) this.user = user\n this.logUserActivity(this.user ? this.user.id : user.id, SubjectType.User, user.id, ActivityType.UserCreated, user.email)\n return user\n } else {\n return null\n }\n }\n\n async updateUser(input: APITypes.UpdateUserInput) {\n\n if (input.phone) {\n input.phone = phoneToE164Format(input.phone)\n }\n const user = await this.govGigAPI!.updateUser(input)\n if (user) {\n const updatedUser = new User(user)\n\n if (this.user && user.id === this.user!.id) {\n // Verify custom account user attribute. Only works for current authenticated user\n const accountValue = await this.getUserAttribute(null, CognitoAttribute.ACCOUNT)\n if (accountValue !== user.accountId) {\n const attributes: ICognitoAttributes = {}\n attributes[CognitoAttribute.ACCOUNT] = user.accountId\n console.log(`Updated custom:Account Cognito attribute: ${user.accountId}`)\n await this.updateUserAttributes(null, attributes)\n }\n const roleValue = await this.getUserAttribute(null, CognitoAttribute.ROLE)\n if (roleValue !== user.role) {\n const attributes: ICognitoAttributes = {}\n attributes[CognitoAttribute.ROLE] = user.role\n console.log(`Updated custom:Role Cognito attribute: ${user.role}`)\n await this.updateUserAttributes(null, attributes)\n }\n\n if (user.id === this.user!.id) {\n // Preserve related data\n updatedUser.account = this.user!.account\n this.user = updatedUser\n }\n }\n\n return updatedUser\n } else {\n return null\n }\n }\n \n async updateUserLastActiveAt(user: User) {\n if (user &&\n (!user.lastActiveAt || differenceInMinutes(new Date(), new Date(user.lastActiveAt)) > 5)) {\n const update: UpdateUserInput = {\n id: user.id,\n lastActiveAt: getISODateTime()\n }\n Logger.info(`Updated ${user.email} lastActiveAt to: ${update.lastActiveAt}`)\n return await this.updateUser(update)\n } else {\n return user\n }\n }\n\n async addUserToGroup(userId: string, groupName: string) {\n await this.adminAPI.addUserToGroup(userId, groupName)\n }\n\n async removeUserFromGroup(userId: string, groupName: string) {\n await this.adminAPI.removeUserFromGroup(userId, groupName)\n }\n\n async forgotPassword(userId: string) {\n return await Auth.forgotPassword(userId)\n }\n\n async forgotPasswordSubmit(userId: string, code: string, password: string) {\n return await Auth.forgotPasswordSubmit(userId, code, password)\n }\n\n // Profile methods\n\n getUserProfile = async (userId?: string): Promise => {\n if (!userId) {\n if (this.user) {\n userId = this.user.id\n } else {\n return undefined\n }\n }\n\n const data = await this.govGigAPI.getUserProfiles(userId)\n if (data && data.profiles && data.profiles.items && data.profiles.items.length > 0) {\n return new Profile(data.profiles.items[0])\n } else {\n return undefined\n }\n }\n\n getProfile = async (profileId: string): Promise => {\n const data = await this.govGigAPI.getProfile(profileId)\n if (data) {\n return new Profile(data)\n } else {\n return undefined\n }\n }\n\n getIndustry(): string | undefined {\n let industry: string | undefined\n if (this.user) {\n const user = this.user\n if (user.industry) {\n industry = user.industry\n } else if ((user.isApplicant || user.isCandidate) &&\n user.profile && user.profile.industries &&\n user.profile.industries.length > 0) {\n industry = user.profile.industries.length === 1 ?\n user.profile.industries[0] : undefined // ALL\n } else if (user.account && user.account.industries &&\n user.account.industries.length > 0) {\n industry = user.account.industries.length === 1 ?\n user.account.industries[0] : undefined // ALL\n } else {\n industry = NAICS.Construction // Default\n }\n } else {\n // Use cookie storage instead of localStorage b/c we want to pull in the industry selection a user potentially made from the marketing site.\n // i.e. localStorage does not allow saving, restoring values from different subdomains. \n // const localIndustry = localStorage.getItem(\"industry\")\n // if (localIndustry) {\n // industry = localIndustry\n // }\n // Get cookie (client-side)\n industry = getCookie('industry') as string\n }\n this.industry = industry\n return industry\n }\n\n setIndustry(value: string | undefined) {\n // console.debug(\"UserStore.setIndustry\", value)\n if (this.user) {\n const input: APITypes.UpdateUserInput = {\n id: this.user.id,\n industry: value ?? null\n }\n // Intentionally left asynchronous\n this.updateUser(input)\n } else {\n // Use cookie storage instead of localStorage b/c we want to pull in the industry selection a user potentially made from the marketing site.\n // i.e. localStorage does not allow saving, restoring values from different subdomains. \n // if (value) {\n // localStorage.setItem(\"industry\", value)\n // } else {\n // localStorage.removeItem(\"industry\")\n // }\n // Set cookie (client-side)\n setCookie('industry', value, {\n expires: new Date(getISODateTodayAddDays(365)),\n domain: AppConfig.domain,\n sameSite: 'strict'\n })\n }\n this.industry = value\n }\n\n async createProfile(input: APITypes.CreateProfileInput) {\n const data = await this.govGigAPI!.createProfile(input)\n if (data) {\n return new Profile(data)\n } else {\n return undefined\n }\n }\n\n async updateProfile(input: APITypes.UpdateProfileInput) {\n const data = await this.govGigAPI!.updateProfile(input)\n if (data) {\n return new Profile(data)\n } else {\n return undefined\n }\n }\n\n async getAgreement (agreementId: string): Promise {\n const data = await this.govGigAPI.getAgreement(agreementId)\n if (data) {\n const agreement = new Agreement(data)\n return agreement\n }\n\n return undefined\n }\n\n async createAgreement(input: APITypes.CreateAgreementInput) {\n const data = await this.govGigAPI!.createAgreement(input)\n if (data) {\n return new Agreement(data)\n } else {\n return undefined\n }\n }\n\n async updateAgreement(input: APITypes.UpdateAgreementInput) {\n const data = await this.govGigAPI!.updateAgreement(input)\n if (data) {\n return new Agreement(data)\n } else {\n return undefined\n }\n }\n\n async deleteAgreement(agreementId: string) {\n const data = await this.govGigAPI!.deleteAgreement(agreementId)\n if (data) {\n return new Agreement(data)\n } else {\n return undefined\n }\n }\n\n fullName(): string {\n let title = \"Profile\"\n if (this.isAuthenticated && this.user) {\n title = `${this.user.firstName} ${this.user.lastName}`\n }\n return title\n }\n\n // UserActivity methods \n\n listUserActivityByUser = async (userId: string, filter?: APITypes.ModelUserActivityFilterInput): Promise => {\n let userActivity: UserActivity[] = []\n\n const data = await this.govGigAPI.listUserActivityByUser(userId, filter)\n if (data && data.items) {\n userActivity = data.items.map((item: any) => {\n return new UserActivity(item)\n })\n }\n\n return userActivity\n }\n\n listUserActivityBySubject = async (subjectId: string,\n filter?: APITypes.ModelUserActivityFilterInput,\n sortDirection?: ModelSortDirection): Promise => {\n let userActivity: UserActivity[] = []\n\n const data = await this.govGigAPI.listUserActivityBySubject(subjectId, filter, sortDirection)\n if (data && data.items) {\n userActivity = data.items.map((item: any) => {\n return new UserActivity(item)\n })\n }\n\n return userActivity\n }\n\n getUserActivity = async (jobInterestId: string): Promise => {\n const data = await this.govGigAPI.getUserActivity(jobInterestId)\n if (data) {\n return new UserActivity(data)\n }\n\n return undefined\n }\n\n async createUserActivity(input: APITypes.CreateUserActivityInput): Promise {\n const data = await this.govGigAPI!.createUserActivity(input)\n if (data) {\n return new UserActivity(data)\n } else {\n return undefined\n }\n }\n\n logUserActivity = async (userId: string, subjectType: SubjectType, subjectId: string, activityType: ActivityType, details?: string)\n : Promise => {\n if (!this.user) {\n return\n }\n\n const input: CreateUserActivityInput = {\n userId: userId,\n subjectType: subjectType,\n subjectId: subjectId ?? \"NA\",\n activityType: activityType,\n actorId: this.user!.id,\n accountId: this.user!.accountId,\n details: details ?? null\n }\n\n // Logger.debug(`UserActivity: ${details}`)\n\n const userActivity = await this.createUserActivity(input)\n\n this.updateUserLastActiveAt(this.user)\n\n return userActivity\n }\n\n\n async updateUserActivity(input: APITypes.UpdateUserActivityInput): Promise {\n const data = await this.govGigAPI!.updateUserActivity(input)\n if (data) {\n return new UserActivity(data)\n } else {\n return undefined\n }\n }\n\n deleteUserActivity = async (jobInterestId: string): Promise => {\n const data = await this.govGigAPI.deleteUserActivity(jobInterestId)\n if (data) {\n return new UserActivity(data)\n } else {\n return undefined\n }\n }\n\n // Misc methods\n\n deleteAllCookies = () => {\n const cookies = document.cookie.split(\"; \")\n for (let c = 0; c < cookies.length; c++) {\n let d = window.location.hostname.split(\".\")\n while (d.length > 0) {\n const cookieBase = encodeURIComponent(cookies[c].split(\";\")[0].split(\"=\")[0]) + '=; expires=Thu, 01-Jan-1970 00:00:01 GMT; domain=' + d.join('.') + ' ;path='\n let p = window.location.pathname.split('/')\n document.cookie = cookieBase + '/'\n while (p.length > 0) {\n document.cookie = cookieBase + p.join('/')\n p.pop()\n }\n d.shift()\n }\n }\n\n }\n\n}\n\nexport default UserStore","import * as React from 'react';\nimport { createStyles, Theme, WithStyles, withStyles } from '@material-ui/core/styles'\nimport DialogButton from './DialogButton';\nimport { Box } from '@material-ui/core';\n\nconst styles = (theme: Theme) => createStyles({\n // closeButton: {\n // marginRight: theme.spacing(1)\n // }\n})\n\ninterface ICancelButtonProps {\n onClick(): void\n}\n \nclass CancelButton extends React.Component & ICancelButtonProps> {\n render() {\n return (\n \n \n Cancel\n \n \n ) \n }\n}\n\nexport default withStyles(styles)(CancelButton)\n","import * as React from \"react\";\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport {Button, createStyles, Theme, withStyles, WithStyles} from \"@material-ui/core\";\nimport {ButtonProps} from \"@material-ui/core/Button\";\n\nconst styles = (theme: Theme) => createStyles({\n progressButton: {\n color: theme.palette.secondary.main,\n position: 'absolute',\n top: '50%',\n left: '50%',\n marginTop: -12,\n marginLeft: -12,\n },\n})\n\ninterface IProgressButtonProps {\n classes: any\n processing: boolean\n fullWidth?: boolean\n children?: any\n onClick?: React.MouseEventHandler | undefined\n}\n\nexport type ProgressButtonProps = ButtonProps | IProgressButtonProps\n\nclass ProgressButton extends React.Component & ProgressButtonProps> {\n\n state = {\n processing: false\n }\n\n componentDidUpdate(prevProps: any) {\n const processing = (this.props as IProgressButtonProps).processing\n if (processing !== prevProps.processing) {\n this.setState({processing})\n }\n }\n\n render() {\n const {\n classes,\n processing,\n children,\n ...rest\n } = this.props as IProgressButtonProps\n\n return (\n \n )\n }\n}\n\nexport default withStyles(styles)(ProgressButton)\n","import { Box, Grid, GridSize, GridSpacing, GridWrap } from \"@material-ui/core\"\nimport React from \"react\"\n\n/**\n * Note that this component is an intermediate replacement for \n * the MUI v5 Stack component until we can bring in Stack from MUI v5. \n */\nconst Stack = ({\n direction, \n justifyContent,\n alignItems,\n spacing,\n wrap,\n sx,\n xs,\n children \n}: {\n direction?: 'row' | 'column'\n justifyContent?: 'center' | 'flex-start' | 'space-between' | 'flex-end'\n alignItems?: 'center' | 'stretch' | 'flex-start'\n spacing?: GridSpacing\n wrap?: GridWrap\n sx?: any \n xs?: GridSize \n children: React.ReactNode\n}) => {\n return (\n \n \n { React.Children.map(children, (child: React.ReactNode, index: number) => {\n if (child !== null) {\n return (\n \n {child}\n \n )\n }\n })}\n \n \n )\n}\n\nexport default Stack \n","import * as React from 'react';\nimport Dialog from '@material-ui/core/Dialog';\nimport DialogActions from '@material-ui/core/DialogActions';\nimport DialogContent from '@material-ui/core/DialogContent';\nimport DialogContentText from '@material-ui/core/DialogContentText';\nimport DialogTitle from '@material-ui/core/DialogTitle';\nimport { createStyles, withStyles, Theme, WithStyles } from '@material-ui/core/styles'\nimport { RouteComponentProps } from '@reach/router'\nimport DialogButton from '../form/DialogButton'\nimport {inject, observer} from \"mobx-react\";\nimport { observable, makeObservable } from \"mobx\";\nimport FormValidator from \"../../components/form/FormValidator\";\nimport TextFieldValidator from \"../../components/form/TextFieldValidator\";\nimport {UserStoreConstants} from \"../../stores/UserStore\";\nimport Confirm from \"../confirm/Confirm\";\nimport {Box, Button, Container, Divider, Grid, Typography} from \"@material-ui/core\";\nimport CancelButton from '../form/CancelButton';\nimport ProgressButton from \"../form/ProgressButton\";\nimport Stack from '../Stack';\n// import logo from \"../../images/GovGig_Logo_Square_512x512.png\"\nimport config from 'react-global-configuration';\nimport ControlTower from '../ControlTower';\n\nconst styles = (theme: Theme) => createStyles({\n message: {\n color: 'red',\n marginTop: 10\n },\n signUp: {\n fontWeight: \"bold\"\n },\n submitButton: {\n color: \"#fff\",\n },\n container: {\n height: \"100%\",\n flexGrow: 1,\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\"\n },\n logo: {\n width: \"150px\",\n height: \"150px\"\n }\n})\n\ninterface ILoginDialogProps {\n onLogin: any,\n onClose: any,\n onShowPasswordAssist: any\n onShowSignUp: any\n userStore?: any\n accountStore?: any\n confirm?: Confirm\n embed?: boolean \n}\n\n@inject(\"userStore\", \"accountStore\", \"confirm\")\n@observer\nclass LoginDialog extends React.Component & RouteComponentProps & ILoginDialogProps> {\n @observable values = {\n username: \"\",\n password: \"\",\n newPassword: \"\",\n // userId: \"\",\n // phone: \"\",\n // code: \"\"\n }\n @observable message = \"\"\n @observable newPasswordRequired = false\n @observable isProcessing = false\n\n // private cognitoUser: any\n\n onClose = () => {\n if (this.props.onClose) {\n this.message = \"\"\n this.props.onClose()\n }\n };\n\n onLogin = () => {\n this.props.onLogin()\n }\n\n onSubmit = async () => {\n const { userStore, accountStore } = this.props\n\n this.isProcessing = true\n this.message = \"\"\n\n const password = this.values.password\n userStore!.signIn(this.values.username, password)\n .then(async (user: any) => {\n if (user.challengeName === \"NEW_PASSWORD_REQUIRED\") {\n if (this.values.newPassword) {\n userStore!.completeNewPassword(user, this.values.newPassword)\n .then((data: any) => {\n // Login with the new password\n userStore!.signIn(this.values.username, this.values.newPassword)\n .then(async (user2: any) => {\n if (userStore!.user && userStore!.user.account) {\n await accountStore!.init(userStore!.user.account)\n }\n this.isProcessing = false\n if (this.props.onLogin) {\n this.message = \"\";\n this.onLogin()\n }\n })\n .catch((err: any) => {\n this.message = err.message\n this.isProcessing = false\n });\n })\n .catch((err: any) => {\n this.message = err.message\n this.isProcessing = false\n });\n } else {\n // Prompt for new password\n this.newPasswordRequired = true\n this.message = \"A new password is required\"\n this.isProcessing = false\n }\n } else {\n // userStore!.cognitoUser = user\n if (userStore!.user && userStore!.user.account) {\n await accountStore!.init(userStore!.user.account)\n }\n if (this.props.onLogin) {\n this.message = \"\";\n this.onLogin()\n }\n this.isProcessing = false\n }\n })\n .catch((err: any) => {\n if (err.code === UserStoreConstants.USER_NOT_FOUND_EXCEPTION) {\n this.message = \"Incorrect username or password.\"\n } else if (err.message === UserStoreConstants.USER_NOT_CONFIRMED ||\n err.message === UserStoreConstants.EMAIL_VERIFICATION_PENDING ||\n err.message === UserStoreConstants.PHONE_VERIFICATION_PENDING) {\n // Signup is incomplete\n this.message = \"Please complete your sign up.\"\n } else {\n this.message = err.message;\n }\n this.isProcessing = false\n });\n }\n\n onForgotPassword = () => {\n if (this.props.onShowPasswordAssist) {\n this.message = \"\";\n this.props.onShowPasswordAssist()\n }\n }\n\n // onResendCode = () => {\n // const { userStore } = this.props\n // this.message = \"\"\n\n // const attr = (this.values.phone) ? CognitoAttribute.PHONE_NUMBER : CognitoAttribute.EMAIL\n // userStore.verifyUserAttribute(this.cognitoUser, attr)\n // .then((data: any) => {\n // console.log(data)\n // this.message = \"Verification email has been resent\"\n // })\n // .catch((err: any) => {\n // this.message = err.message\n // });\n // }\n\n // onShowSignUp = () => {\n // if (this.props.onShowSignUp) {\n // this.message = \"\";\n // this.props.onShowSignUp()\n // }\n // }\n\n onChange = (event: React.ChangeEvent) => {\n const name = event.target.name\n this.values[name] = event.target.value\n }\n\n constructor(props: WithStyles & RouteComponentProps & ILoginDialogProps) {\n super(props);\n makeObservable(this);\n }\n\n renderEmbedded = () => {\n const { classes } = this.props \n return (\n \n \n \n {/* \n \n */}\n \n \n Log In\n \n \n \n \n \n \n {this.newPasswordRequired &&\n \n }\n \n {this.message}\n \n \n \n Log In\n \n \n \n \n \n \n Need an account?\n \n \n \n \n \n \n \n \n Academy student?\n \n \n \n \n \n \n \n )\n }\n\n renderDialog() {\n const { classes } = this.props\n \n return (\n \n \n \n \n \n Log In\n \n \n \n \n \n \n \n \n {this.newPasswordRequired &&\n \n }\n \n {this.message}\n \n \n \n \n \n \n \n \n Forgot Password?\n \n \n \n \n \n \n \n \n Log In\n \n \n \n \n \n \n \n );\n }\n\n render() {\n const { embed } = this.props \n if (embed) {\n return this.renderEmbedded()\n } else {\n return this.renderDialog()\n }\n }\n}\n\nexport default withStyles(styles)(LoginDialog)\n","import * as React from 'react';\nimport Dialog from '@material-ui/core/Dialog';\nimport DialogActions from '@material-ui/core/DialogActions';\nimport DialogContent from '@material-ui/core/DialogContent';\nimport DialogContentText from '@material-ui/core/DialogContentText';\nimport DialogTitle from '@material-ui/core/DialogTitle';\nimport { createStyles, withStyles, Theme, WithStyles } from '@material-ui/core/styles'\nimport { RouteComponentProps } from '@reach/router'\nimport DialogButton from '../form/DialogButton'\nimport { observable, makeObservable } from \"mobx\";\nimport {inject, observer} from \"mobx-react\";\nimport FormValidator from \"../../components/form/FormValidator\";\nimport TextFieldValidator from \"../../components/form/TextFieldValidator\";\nimport Tracking from \"../Tracking\";\nimport {Box, Container, Grid, Typography} from \"@material-ui/core\";\nimport CancelButton from '../form/CancelButton';\nimport UserStore, {CognitoAttribute} from \"../../stores/UserStore\";\nimport get from \"lodash.get\";\nimport Notify from \"../notify/Notify\";\n\nconst styles = (theme: Theme) => createStyles({\n message: {\n color: theme.palette.info.dark,\n marginTop: theme.spacing(1),\n marginBottom: theme.spacing(1)\n },\n container: {\n height: \"100%\",\n flexGrow: 1,\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\"\n },\n})\n\ninterface IPasswordAssistDialogProps {\n onShowLogin: any,\n onClose: any,\n userStore?: UserStore\n notify?: Notify\n embed?: boolean \n}\n\n@inject(\"userStore\", \"notify\")\n@observer\nclass PasswordAssistDialog extends React.Component & RouteComponentProps & IPasswordAssistDialogProps> {\n @observable values = {\n email: \"\",\n code: \"\",\n newPassword: \"\"\n }\n\n @observable email = \"\"\n @observable message = \"\"\n @observable reset = false\n\n onClose = () => {\n if (this.props.onClose) {\n this.message = \"\"\n this.reset = false\n this.props.onClose();\n }\n };\n\n onSubmit = () => {\n const { userStore, notify } = this.props\n this.message = \"\"\n\n if (!this.reset) {\n userStore!.forgotPassword(this.values.email)\n .then((data: any) => {\n Tracking.event({action: \"Password reset verification sent\"})\n const delivery = (get(data, \"CodeDeliveryDetails.AttributeName\") === CognitoAttribute.PHONE_NUMBER) ? \"phone\" : \"email\"\n this.message = `Please check your ${delivery} for a password reset verification code.`\n this.reset = true\n })\n .catch((err: any) => {\n this.message = err.message;\n })\n } else {\n userStore!.forgotPasswordSubmit(this.values.email, this.values.code, this.values.newPassword)\n .then((data:any) => {\n Tracking.event({action: \"Password reset\"})\n notify!.show(\"success\", \"Your password has been updated\")\n\n if (this.props.onShowLogin) {\n this.message = \"\"\n this.reset = false\n this.props.onShowLogin();\n }\n })\n .catch((err:any) => {\n this.message = err.message\n });\n\n }\n }\n\n onResendCode = () => {\n const { userStore } = this.props\n this.message = \"\"\n\n userStore!.forgotPassword(this.values.email)\n .then((data: any) => {\n console.log(data)\n Tracking.event({action: \"Password reset verification resent\"})\n const delivery = (get(data, \"CodeDeliveryDetails.AttributeName\") === CognitoAttribute.PHONE_NUMBER) ? \"phone\" : \"email\"\n this.message = `Please check your ${delivery} for a password reset verification code.`\n })\n .catch((err:any) => {\n this.message = err.message\n });\n }\n\n onChange = (event: React.ChangeEvent) => {\n const name = event.target.name\n this.values[name] = event.target.value\n }\n\n constructor(\n props: WithStyles & RouteComponentProps & IPasswordAssistDialogProps\n ) {\n super(props);\n makeObservable(this);\n }\n\n renderEmbedded() {\n const { classes } = this.props \n return (\n \n \n \n {/* \n \n */}\n \n \n Password Assistance\n \n \n \n \n {/* Password Assistance */}\n \n \n Enter the email address associated with your GovGig account.\n \n \n \n {this.message}\n \n {this.reset &&\n \n }\n {this.reset &&\n \n }\n \n \n \n {this.reset &&\n \n Resend verification code\n \n }\n \n \n \n \n Continue\n \n \n \n \n \n \n )\n }\n\n renderDialog() {\n const { classes } = this.props\n\n return (\n \n \n Password Assistance\n \n \n Enter the email address associated with your GovGig account.\n \n \n \n {this.message}\n \n {this.reset &&\n \n }\n {this.reset &&\n \n }\n \n \n \n \n {this.reset &&\n \n Resend verification code\n \n }\n \n \n \n \n Continue\n \n \n \n\n \n \n \n );\n }\n\n render() {\n const { embed } = this.props \n if (embed) {\n return this.renderEmbedded()\n } else {\n return this.renderDialog()\n }\n }\n}\n\nexport default withStyles(styles)(PasswordAssistDialog)\n","import * as React from 'react';\nimport Button from '@material-ui/core/Button';\nimport {createStyles, Theme, withStyles, WithStyles} from '@material-ui/core/styles'\nimport {RouteComponentProps} from '@reach/router'\nimport LoginDialog from './LoginDialog'\nimport {inject, observer} from \"mobx-react\";\nimport {makeObservable, observable} from \"mobx\";\nimport UserStore from \"./../../stores/UserStore\"\nimport ControlTower, {Routes} from \"../../components/ControlTower\";\nimport Tracking from \"../Tracking\";\nimport PasswordAssistDialog from \"./PasswordAssistDialog\";\nimport {AccountStatus} from \"../../API\";\nimport config from \"react-global-configuration\";\n\nconst styles = (theme: Theme) => createStyles({\n button: {\n margin: theme.spacing(1),\n color: theme.palette.primary.main,\n fontWeight: 400,\n fontSize: 16,\n padding: 0\n },\n})\n\ninterface IAuthButtonProps {\n open?: boolean\n onLogin?: any\n onClose?: any\n userStore?: UserStore\n}\n\n@inject(\"userStore\")\n@observer\nclass AuthButton extends React.Component & RouteComponentProps & IAuthButtonProps> {\n\n @observable open = false\n @observable mode = \"login\"\n @observable email = \"\"\n @observable isAuthenticated = false\n\n constructor(props: any) {\n super(props)\n makeObservable(this);\n this.open = props.open\n }\n\n onClickOpen = async () => {\n if (this.props.userStore!.isAuthenticated) {\n // Navigate to home page on logout\n await this.props.userStore!.signOut()\n this.isAuthenticated = false\n ControlTower.route(`${Routes.home}?logout=true`)\n Tracking.event({action: 'Logout'})\n } else {\n const currentRoute = ControlTower.currentRoute\n const isLoginPage = currentRoute === Routes.home || currentRoute === Routes.login\n if (isLoginPage === false) {\n this.open = true\n this.mode = \"login\"\n this.isAuthenticated = false\n Tracking.modalView(\"LoginDialog\")\n }\n }\n }\n\n onShowLogin = () => {\n this.open = true\n this.mode = \"login\"\n this.isAuthenticated = false\n Tracking.modalView(\"LoginDialog\")\n }\n\n onShowPasswordAssist = () => {\n this.open = true\n this.mode = \"passwordAssist\"\n this.isAuthenticated = false\n Tracking.modalView(\"PasswordAssistDialog\")\n }\n\n onShowSignUp = () => {\n this.open = true\n this.mode = \"signUp\"\n this.isAuthenticated = false\n Tracking.modalView(\"CustomerSignupDialog\")\n }\n\n onLogin = () => {\n const {onLogin, userStore} = this.props\n\n if (userStore!.user && userStore!.user.account && userStore!.user.account.accountStatus === AccountStatus.Pending) {\n userStore!.signOut()\n ControlTower.route(Routes.accountPending)\n return\n }\n \n Tracking.event({category: 'LoginDialog', action: 'Login'})\n \n if (onLogin) {\n onLogin()\n }\n\n userStore!.routeInitial()\n\n this.mode = \"\"\n this.isAuthenticated = true\n this.open = false\n }\n\n onClose = () => {\n if (this.props.onClose) {\n this.props.onClose()\n }\n this.open = false\n this.mode = \"\"\n this.isAuthenticated = false\n }\n\n render() {\n const { classes } = this.props\n\n let dialog = null\n\n if (this.open) {\n if (this.mode === \"login\") {\n dialog = \n \n } else if (this.mode === \"passwordAssist\") {\n dialog =\n \n }\n }\n\n return (\n
\n {!this.props.open &&\n \n }\n {dialog}\n
\n );\n }\n}\n\nexport default withStyles(styles)(AuthButton)\n","import { Grid, isWidthDown, MenuItem, MenuItemProps, MenuList, Popover, Theme, WithStyles, withStyles, withWidth, WithWidth } from \"@material-ui/core\";\nimport { Link } from '@reach/router';\nimport { makeObservable, observable } from 'mobx';\nimport { observer } from \"mobx-react\";\nimport React, { MouseEvent, ReactNode } from \"react\";\nimport Tracking from \"../Tracking\";\n\nconst styles = (theme: Theme) => ({\n menuListContainer: {\n width: '100%',\n marginLeft: theme.spacing(2),\n marginRight: theme.spacing(2)\n }\n})\n\ntype IPopperMenuItemListItem = MenuItemProps & { label: string, to: string, onClick: any, tracking: string } | any\n\ninterface IPopperMenuProps {\n button: (props: MenuItemProps & { button: true | undefined, open?: boolean }) => ReactNode\n menuList: IPopperMenuItemListItem | IPopperMenuItemListItem[]\n onClick: (e: React.MouseEvent) => Promise\n}\n\n@observer\nclass PopoverMenuItem extends React.Component {\n\n @observable open = false\n @observable menuItemRef: any = null\n\n @observable focusButton: boolean = false\n @observable focusMenu: boolean = false\n\n constructor(props: WithStyles & WithWidth & IPopperMenuProps) {\n super(props)\n makeObservable(this)\n }\n\n render() {\n const { classes, width, menuList, button } = this.props\n const { open } = this\n\n const isXS = isWidthDown('sm', width)\n\n const MenuListComp = (\n \n {Array.isArray(menuList)\n ? menuList.map((item: IPopperMenuItemListItem, key: number) => {\n const { label, to, ...rest } = item\n if (label && to) {\n return (\n {\n if (isXS) {\n Tracking.event({ category: 'Navigation', action: label })\n this.props.onClick(e)\n } else {\n this.open = false\n }\n }}\n >\n {label}\n \n )\n } else {\n return item\n }\n })\n : menuList}\n \n )\n\n return (\n \n {button({\n button: true,\n onClick: (e: MouseEvent) => {\n this.menuItemRef = e.currentTarget\n this.open = !this.open\n },\n 'aria-owns': open ? \"mouse-over-popover\" : 'undefined',\n 'aria-haspopup': \"true\",\n open,\n })}\n {isXS\n ? open && {MenuListComp}\n : this.open = false}\n >\n {MenuListComp}\n \n }\n \n )\n }\n}\n\nexport default withStyles(styles)(withWidth()(PopoverMenuItem))","import { alpha, Button, isWidthDown, WithWidth, withWidth } from '@material-ui/core'\nimport IconButton from '@material-ui/core/IconButton'\nimport Menu from '@material-ui/core/Menu'\nimport MenuItem from '@material-ui/core/MenuItem'\nimport { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles'\nimport AccountCircleIcon from '@material-ui/icons/AccountCircle'\nimport ArrowDropDownIcon from '@material-ui/icons/ArrowDropDown'\nimport MenuIcon from '@material-ui/icons/Menu'\nimport { makeObservable, observable } from \"mobx\"\nimport { inject, observer } from \"mobx-react\"\nimport * as React from 'react'\nimport UserStore from \"../../stores/UserStore\"\nimport ControlTower, { Routes } from \"../ControlTower\"\nimport AuthButton from \"../login/AuthButton\"\nimport Tracking, { TrackingCodes } from \"../Tracking\"\nimport PopperMenuItem from './PopperMenuItem'\nimport config from 'react-global-configuration';\nimport classNames from 'classnames'\n\nconst styles = (theme: Theme) => createStyles({\n activeButton: {\n margin: theme.spacing(1),\n fontWeight: 600,\n color: theme.palette.primary.main,\n backgroundColor: alpha(theme.palette.primary.main, 0.1),\n fontSize: 16,\n padding: theme.spacing(2),\n // border: `2px solid ${theme.palette.secondary.main}`,\n // borderRadius: 0,\n },\n button: {\n margin: theme.spacing(1),\n color: theme.palette.primary.main,\n fontWeight: 400,\n fontSize: 16,\n padding: theme.spacing(2)\n },\n emphasizedButton: {\n margin: theme.spacing(1),\n color: theme.palette.common.white,\n backgroundColor: theme.palette.secondary.main, \n fontWeight: 400,\n fontSize: 16,\n paddingTop: theme.spacing(1),\n paddingBottom: theme.spacing(1),\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n boxShadow: 'rgba(0, 0, 0, 0.2) 0px 3px 1px -2px',\n '&:hover': {\n // color: theme.palette.action.hover,\n backgroundColor: theme.palette.secondary.dark\n },\n },\n menuPaper: {\n // width: '100%',\n },\n menuIcon: {\n color: theme.palette.primary.main\n },\n menuItem: { // TODO: Fix pseudo selector styles, note mobile scenarios when testing! \n color: theme.palette.primary.main,\n // '&:hover': {\n // color: theme.palette.primary.contrastText,\n // backgroundColor: theme.palette.action.hover\n // },\n // '&:focus': {\n // color: theme.palette.primary.contrastText,\n // backgroundColor: theme.palette.action.selected\n // },\n // '&:active': {\n // color: theme.palette.primary.contrastText,\n // backgroundColor: theme.palette.action.active\n // }\n },\n activeMenuItem: {\n fontWeight: 900,\n color: theme.palette.text.primary,\n // '&:hover': {\n // color: theme.palette.secondary.main,\n // backgroundColor: theme.palette.action.hover\n // },\n // '&:focus': {\n // color: theme.palette.primary.contrastText,\n // backgroundColor: theme.palette.action.selected\n // },\n // '&:active': {\n // color: theme.palette.primary.contrastText,\n // backgroundColor: theme.palette.action.active\n // }\n },\n spacingLeft: {\n marginLeft: theme.spacing(5)\n }\n})\n\ninterface ISimpleMenuProps {\n userStore?: UserStore\n}\n\n@inject(\"userStore\")\n@observer\nclass SimpleMenu extends React.Component & WithWidth & ISimpleMenuProps> {\n @observable anchorEl: Element | null = null\n @observable showAuth = false\n\n handleClick = (event: any) => {\n this.anchorEl = event.currentTarget\n }\n\n handleClose = () => {\n this.anchorEl = null\n }\n\n onCloseAuth = () => {\n this.showAuth = false\n }\n\n constructor(props: WithStyles & WithWidth & ISimpleMenuProps) {\n super(props);\n makeObservable(this);\n }\n\n /**\n * \n * @param label The text that shows up for the button. \n * @param tracking The analytics tracking code. \n * @param route The route to take the user to when they click on the button. \n * @param otherProps Any other props to pass through to the button. \n * @param renderArrow Show a dropdown arrow. \n * @param isEmphasized Show the button contained and with color, instead of just a text button. \n * @param spacingLeft Put some extra spacing to the left of the button. \n * @returns \n */\n getMenuItemButton = (\n label: string | React.ReactNode, \n tracking: string, \n route: Routes | undefined, \n otherProps: any = {}, \n renderArrow: boolean = false,\n isEmphasized: boolean = false,\n spacingLeft: boolean = false \n ) => {\n const { classes, width } = this.props\n const isXS = isWidthDown('sm', width)\n const currentPath = ControlTower.currentRoute\n const isActive = (\n (route === Routes.home && currentPath === route) // home route special case\n || (route !== Routes.home && route && String(currentPath).includes(route))\n && (route !== Routes.join)\n )\n\n const Comp: any = isWidthDown('sm', width) ? MenuItem : Button\n\n const classname = isActive ? classes.activeButton : isEmphasized && !isXS ? classes.emphasizedButton : classes.button\n const combined = spacingLeft ? classNames(classname, classes.spacingLeft) : classname \n\n return (\n {\n Tracking.event({ category: 'Navigation', action: tracking })\n if (otherProps.onClick) {\n await otherProps.onClick(e)\n }\n if (route) {\n ControlTower.route(route)\n }\n }}\n >\n {label} {renderArrow && }\n \n )\n }\n\n render() {\n const { classes, width, userStore } = this.props\n\n const isSmallScreen = isWidthDown('md', width) // For iPad and smaller. \n\n // buttons\n\n const manageButton = userStore!.isAdminOrAgent ? (\n this.getMenuItemButton('Manage', TrackingCodes.Recruiting, undefined, props, true)}\n menuList={[\n { label: 'Accounts', to: Routes.manageAccounts, tracking: TrackingCodes.RecruitingEmployers },\n { label: 'Applicants', to: Routes.manageApplicants, tracking: TrackingCodes.RecruitingApplicants },\n { label: 'Candidates', to: Routes.manageCandidates, tracking: TrackingCodes.RecruitingCandidates },\n { label: 'People', to: Routes.managePeople, tracking: TrackingCodes.RecruitingPeople },\n ]}\n onClick={async (e) => {\n this.handleClose()\n }}\n />\n ) : null \n \n const accountButton = (\n this.getMenuItemButton('Account', TrackingCodes.Account, undefined, props, true)}\n menuList={[\n { label: 'Settings', to: Routes.accountSettings, tracking: TrackingCodes.AccountSettings },\n { label: \"Agreements\", to: Routes.accountAgreements, tracking: TrackingCodes.AccountAgreements },\n { label: 'People', to: Routes.accountPeople, tracking: TrackingCodes.AccountPeople },\n { label: 'Billing', to: Routes.accountBilling, tracking: TrackingCodes.AccountBilling },\n ]}\n onClick={async (e) => {\n this.handleClose()\n }}\n />\n )\n\n // const contractsButton = this.getMenuItemButton('Contracts', TrackingCodes.Contracts, Routes.contracts)\n const findJobsButton = this.getMenuItemButton('Find Jobs', TrackingCodes.FindJobs, Routes.findJobs)\n const findOpportunityButton = this.getMenuItemButton('Find Opportunity', TrackingCodes.FindOpportunity, Routes.findOpportunity)\n const myJobsButton = this.getMenuItemButton('My Jobs', TrackingCodes.MyJobs, Routes.myJobs)\n const findCandidatesButton = this.getMenuItemButton('Find Talent', TrackingCodes.SearchCandidates, Routes.findTalent)\n const dashboardButton = this.getMenuItemButton(\"Dashboard\", TrackingCodes.Dashboard, Routes.dashboard)\n \n // const serviceRequestsButton = this.getMenuItemButton(\"Service Requests\", TrackingCodes.ServiceRequests, Routes.serviceRequests)\n const serviceRequestsButton = (\n this.getMenuItemButton(\"Service Requests\", TrackingCodes.ServiceRequests, undefined, props, true)}\n menuList={[\n { label: 'See All', to: Routes.serviceRequests, tracking: TrackingCodes.ServiceRequestsList },\n { label: 'Create Request', to: Routes.serviceRequestCreate, tracking: TrackingCodes.ServiceRequestCreate }\n ]}\n onClick={async (e) => {\n this.handleClose()\n }}\n />\n )\n\n // const manageJobsButton = this.getMenuItemButton('Manage Jobs', TrackingCodes.ManageJobs, Routes.manageJobs)\n const manageJobsButton = (\n this.getMenuItemButton(\"Jobs\", TrackingCodes.ManageJobs, undefined, props, true)}\n menuList={[\n { label: 'See All', to: Routes.manageJobs, tracking: TrackingCodes.ManageJobsList },\n { label: 'Create Job Posts', to: Routes.jobPostCreate, tracking: TrackingCodes.JobPostsCreate },\n { label: \"Find Jobs\", to: Routes.findJobs, tracking: TrackingCodes.FindJobs },\n { label: 'Job Groups', to: Routes.jobGroups, tracking: TrackingCodes.RecruitingEmployers }\n ]}\n onClick={async (e) => {\n this.handleClose()\n }}\n />\n )\n\n const profileButton = this.getMenuItemButton('Profile', TrackingCodes.Profile, Routes.profile)\n const userButton = userStore!.isAuthenticated\n ? (\n this.getMenuItemButton(\n isSmallScreen ? 'User' : ,\n TrackingCodes.Account,\n undefined,\n props,\n true\n )}\n menuList={[\n { label: 'Settings', to: Routes.settings, tracking: TrackingCodes.Settings },\n {\n Tracking.event({ category: 'Navigation', action: 'Log Out' })\n this.handleClose()\n // ControlTower.route(`${Routes.home}?logout=true`)\n console.log(\"SimpleMenu sign out\")\n userStore!.signOut()\n .then(() => {\n // Reload without search param\n const homeUrl = config.get(\"homeUrl\")\n ControlTower.route(homeUrl)\n })\n }}>\n Log Out\n ,\n ]}\n onClick={async (e) => {\n this.handleClose()\n }}\n />\n )\n : this.getMenuItemButton('Log In', TrackingCodes.SignIn, undefined, {\n onClick: () => {\n Tracking.event({ category: 'Navigation', action: 'Log In' })\n const currentRoute = ControlTower.currentRoute\n const isLoginPage = currentRoute === Routes.home || currentRoute === Routes.login\n if (!isLoginPage) {\n this.showAuth = true\n }\n this.handleClose()\n }\n }, false, false, isSmallScreen ? false : true) \n\n const joinButton = this.getMenuItemButton('Sign Up', TrackingCodes.Join, Routes.join, undefined, false, true)\n const postJobsButton = this.getMenuItemButton('Post Jobs', TrackingCodes.JobPostsCreate, Routes.jobPostCreate)\n\n // menu item configurations\n let menuItems = []\n if (userStore!.isAdminOrAgent) {\n menuItems = [\n // contractsButton,\n dashboardButton,\n serviceRequestsButton,\n manageJobsButton,\n findCandidatesButton,\n findJobsButton,\n manageButton,\n userButton,\n ]\n } else if (userStore!.isApplicant || userStore!.isCandidate) {\n menuItems = [\n findJobsButton,\n myJobsButton,\n findOpportunityButton,\n profileButton,\n userButton,\n ]\n } else if (userStore!.isEmployer) {\n menuItems = [\n // contractsButton,\n dashboardButton,\n serviceRequestsButton,\n manageJobsButton,\n // postJobsButton,\n findCandidatesButton,\n accountButton,\n userButton,\n ]\n } else {\n // unauthenticated visitor\n menuItems = [\n this.getMenuItemButton('Find Jobs', TrackingCodes.FindJobs, Routes.findJobs),\n this.getMenuItemButton('Find Talent', TrackingCodes.FindTalent, Routes.findTalent),\n findOpportunityButton,\n postJobsButton,\n userButton,\n joinButton,\n ]\n }\n\n return (\n
\n
\n {isSmallScreen\n ? \n \n \n \n \n {menuItems}\n \n \n : menuItems\n }\n
\n\n {!userStore!.isAuthenticated && this.showAuth && (\n \n )}\n
\n );\n }\n\n onAcademy = () => {\n const academyUrl = config.get(\"academyUrl\")\n if (academyUrl) {\n ControlTower.open(academyUrl, \"_self\")\n }\n }\n}\n\nexport default withStyles(styles)(withWidth()(SimpleMenu))\n","import React from \"react\";\nimport { MobXProviderContext } from 'mobx-react'\nimport Confirm from \"../components/confirm/Confirm\";\nimport UserStore from \"./UserStore\";\nimport Notify from \"../components/notify/Notify\";\nimport Alert from \"../components/alert/Alert\";\nimport Progress from \"../components/Progress\";\nimport PrivacyPolicy from \"../components/page/PrivacyPolicy\";\nimport TermsOfUse from \"../components/page/TermsOfUse\";\nimport AccountStore from \"./AccountStore\";\nimport JobStore from \"./JobStore\";\nimport OpportunityStore from \"./OpportunityStore\";\nimport ResourceCache from \"./ResourceCache\";\nimport ProfileStore from \"./ProfileStore\";\n// import DocumentStore from \"./DocumentStore\"\n\n/*\n As a workaround for using MobX with functional components, we can create a hook for those \n components to access what the MobX Provider passes down. \n In the future, we'll probably want to use the React Context API directly, \n instead of MobX's wrapper. \n https://mobx-react.js.org/recipes-migration \n*/ \ninterface IResources {\n confirm: Confirm\n notify: Notify\n alert: Alert\n progress: Progress\n privacyPolicy: PrivacyPolicy\n termsOfUse: TermsOfUse\n accountStore: AccountStore\n jobStore: JobStore\n OpportunityStore: OpportunityStore\n userStore: UserStore\n profileStore: ProfileStore\n resourceCache: ResourceCache\n // documentStore: DocumentStore\n}\n\nexport function useStores(): IResources {\n return React.useContext(MobXProviderContext) as IResources\n}","import React, { useState } from \"react\";\nimport {\n Button,\n ListItemText,\n Menu,\n MenuItem,\n MenuProps,\n} from \"@material-ui/core\";\nimport {withStyles} from \"@material-ui/core/styles\";\nimport ArrowDropDownIcon from '@material-ui/icons/ArrowDropDown';\n\n// This menu approach is based on documentation here: https://v4.mui.com/components/menus/#customized-menus \n\nconst StyledMenu = withStyles({\n paper: {\n border: '1px solid #d3d4d5',\n },\n})((props: MenuProps) => (\n \n));\n\nconst StyledMenuItem = withStyles((theme) => ({\n root: {\n '&:focus': {\n backgroundColor: theme.palette.primary.main,\n '& .MuiListItemIcon-root, & .MuiListItemText-primary': {\n color: theme.palette.common.white,\n },\n },\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n paddingTop: theme.spacing(1),\n paddingBottom: theme.spacing(1)\n },\n}))(MenuItem);\n\nexport interface IMenuItem { \n label: string \n value: any \n selected: boolean \n}\n\nconst MenuButton = ({\n label,\n icon,\n menuItems,\n onClickMenuItem\n}: {\n label?: string\n icon?: React.ReactElement\n menuItems: IMenuItem[]\n onClickMenuItem: (e: any, menuItem: IMenuItem) => void \n}) => {\n const [anchorEl, setAnchorEl] = useState(null);\n \n const handleClick = (event: React.MouseEvent) => {\n setAnchorEl(event.currentTarget);\n };\n\n const handleClose = () => {\n setAnchorEl(null);\n };\n\n const handleMenuItemClick = (e: any, menuItem: IMenuItem) => {\n handleClose() \n onClickMenuItem(e, menuItem)\n }\n\n return (\n
\n \n {label}\n {icon ? icon : }\n \n \n {menuItems.map((menuItem: IMenuItem) => {\n return (\n {\n e.preventDefault()\n handleMenuItemClick(e, menuItem)\n }}\n >\n \n \n )\n })}\n \n
\n );\n}\n\nexport default MenuButton\n","import {useEffect, useState} from \"react\"\nimport {useStores} from \"../../stores/StoreProvider\";\nimport {NAICS} from \"../../model/Industry\";\nimport {Box, Theme, Typography, useMediaQuery} from \"@material-ui/core\";\nimport MenuButton, { IMenuItem } from \"../controls/MenuButton\";\nimport get from \"lodash.get\";\n\nconst IndustryMenu = () => {\n const [industryCode, setIndustryCode] = useState()\n const { userStore, accountStore } = useStores()\n const isXS = useMediaQuery((theme: Theme) => theme.breakpoints.down('xs'))\n\n useEffect(() => {\n setIndustryCode(userStore.industry)\n }, [\n accountStore.account,\n accountStore.account?.industries,\n userStore.user,\n userStore.industry,\n ])\n\n const onClickIndustry = (_e: any, industryCode: string) => {\n // console.debug(`onClickIndustry(${industryCode})`)\n userStore.setIndustry(industryCode)\n setIndustryCode(industryCode)\n }\n\n const buttonLabelForIndustryCode = (industryCode: string | undefined) => {\n let label: string\n switch (industryCode) {\n case NAICS.Construction:\n label = isXS ? \"Construction\" : \"For Construction\"\n break\n case NAICS.InformationTechnology:\n label = isXS ? \"IT\" : \"For Information Technology\"\n break\n case NAICS.SecurityServices: \n label = isXS ? \"Security\" : \"For Physical Security\"\n break \n default:\n label = isXS ? \"Industries\" : \"All Industries\"\n } \n return label \n }\n\n const menuItemLabelForIndustryCode = (industryCode: string | undefined) => {\n let label: string\n switch (industryCode) {\n case NAICS.Construction:\n label = \"For Construction\"\n break\n case NAICS.InformationTechnology:\n label = \"For Information Technology\"\n break\n case NAICS.SecurityServices: \n label = \"For Physical Security\"\n break \n default:\n label = \"All Industries\"\n }\n return label \n }\n\n const renderAsText = (industryCode: string | undefined) => {\n return (\n \n \n {buttonLabelForIndustryCode(industryCode)}\n \n \n )\n }\n\n const menuItemsForIndustries = () => {\n const menuItems: IMenuItem[] = []\n\n let industries\n industries = get(userStore, \"user.profile.industries\")\n\n if (!industries) {\n industries = get(accountStore, \"account.industries\")\n }\n\n if (industries && industries.length > 1) {\n const menuItem: IMenuItem = {\n label: menuItemLabelForIndustryCode(undefined),\n value: undefined,\n selected: industryCode === undefined\n }\n menuItems.push(menuItem)\n\n industries?.forEach(industry => {\n const menuItem: IMenuItem = {\n label: menuItemLabelForIndustryCode(industry),\n value: industry,\n selected: industryCode === industry\n }\n menuItems.push(menuItem)\n })\n } else if (industries && industries.length === 1) {\n const industry = industries[0]\n return [{\n label: menuItemLabelForIndustryCode(industry),\n value: industry,\n selected: industryCode === industry\n }]\n }\n\n if (menuItems.length === 0) {\n menuItems.push(\n {\n label: menuItemLabelForIndustryCode(undefined),\n value: undefined,\n selected: industryCode === undefined\n },\n {\n label: menuItemLabelForIndustryCode(NAICS.Construction),\n value: NAICS.Construction,\n selected: industryCode === NAICS.Construction\n },\n {\n label: menuItemLabelForIndustryCode(NAICS.InformationTechnology),\n value: NAICS.InformationTechnology,\n selected: industryCode === NAICS.InformationTechnology\n },\n {\n label: menuItemLabelForIndustryCode(NAICS.SecurityServices),\n value: NAICS.SecurityServices,\n selected: industryCode === NAICS.SecurityServices\n }\n )\n }\n\n\n // if (userStore.isAuthenticated && userStore.user && userStore.user.profile && userStore.user.profile.industries.length > 1) {\n \n // } else if (userStore.isAuthenticated && accountStore.account && accountStore.account.industries.length <= 1) {\n \n // } else {\n\n // }\n\n return menuItems\n }\n\n // console.debug(\"IndustryMenu\", {\n // user: userStore.user,\n // account: accountStore.account \n // })\n\n const menuItems = menuItemsForIndustries()\n\n if (menuItems.length === 1) {\n return renderAsText(menuItems[0].value)\n } else {\n return (\n {\n onClickIndustry(e, menuItem.value)\n }}\n /> \n )\n }\n\n\n // if (userStore.isAuthenticated && userStore.user && userStore.user.profile && userStore.user.profile.industries.length <= 1) {\n // return renderAsText(industryCode)\n // } else if (userStore.isAuthenticated && accountStore.account && accountStore.account.industries.length <= 1) {\n // return renderAsText(industryCode)\n // } else {\n // return (\n // {\n // onClickIndustry(e, menuItem.value)\n // }}\n // /> \n // )\n // }\n\n}\n\nexport default IndustryMenu","import { Box, LinearProgress, Typography } from \"@material-ui/core\";\nimport AppBar from '@material-ui/core/AppBar';\nimport { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';\nimport Toolbar from '@material-ui/core/Toolbar';\nimport { inject, observer } from \"mobx-react\";\nimport * as React from 'react';\nimport logo from '../../images/header_logo_640x192.png';\nimport UserStore from \"../../stores/UserStore\";\nimport Progress from \"../Progress\";\n// import MarginRow from \"./MarginRow\";\nimport SimpleMenu from \"./SimpleMenu\";\nimport {makeObservable, observable} from \"mobx\";\nimport config from 'react-global-configuration';\nimport IndustryMenu from \"./IndustryMenu\";\n\nconst styles = (theme: Theme) => createStyles({\n appBar: {\n top: 0,\n backgroundColor: theme.palette.primary.contrastText,\n height: 76,\n maxHeight: 76\n },\n toolBar: {\n minHeight: 76,\n height: 76,\n },\n toolBarWrapper: {\n [theme.breakpoints.up('sm')] : {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3)\n },\n [theme.breakpoints.down('sm')] : {\n paddingLeft: theme.spacing(1),\n paddingRight: theme.spacing(1)\n }\n },\n grow: {\n flexGrow: 1,\n },\n linkStyle: {\n marginBottom: '-5px',\n marginLeft: 5\n },\n appLogo: {\n },\n progressWrapper: {\n flexGrow: 1\n },\n progress: {\n height: 3,\n backgroundColor: \"#d72222\" // Logo red\n },\n})\n\ninterface IHeaderProps {\n userStore?: UserStore\n progress?: Progress\n}\n\n@inject(\"userStore\", \"progress\")\n@observer\nclass Header extends React.Component & IHeaderProps> {\n @observable test: boolean = false // Needs this fake observable variable for MobX to not complain. \n\n constructor(props: WithStyles & IHeaderProps) {\n super(props);\n makeObservable(this);\n }\n\n render() {\n const {classes, progress} = this.props\n\n const homeUrl = config.get(\"homeUrl\")\n\n return (\n \n {/* */}\n \n \n \n \"logo\"\n \n \n \n \n \n \n \n \n {/* */}\n
\n {
\n
\n )\n }\n}\n\nexport default withStyles(styles)(Header)","import * as React from 'react';\nimport classNames from 'classnames';\nimport {createStyles, Theme, withStyles, WithStyles} from \"@material-ui/core\";\nimport {inject, observer} from \"mobx-react\";\nimport Notify from \"./Notify\"\nimport CheckCircleIcon from '@material-ui/icons/CheckCircle';\nimport ErrorIcon from '@material-ui/icons/Error';\nimport InfoIcon from '@material-ui/icons/Info';\nimport CloseIcon from '@material-ui/icons/Close';\nimport IconButton from '@material-ui/core/IconButton';\nimport Snackbar from '@material-ui/core/Snackbar';\nimport SnackbarContent from '@material-ui/core/SnackbarContent';\nimport WarningIcon from '@material-ui/icons/Warning';\nimport Slide from \"@material-ui/core/Slide/Slide\";\n\nconst variantIcon = {\n success: CheckCircleIcon,\n warning: WarningIcon,\n error: ErrorIcon,\n info: InfoIcon,\n};\n\nconst variantAutoHideDuration = {\n success: 3000,\n info: undefined,\n warning: undefined,\n error: undefined,\n}\n\nconst styles = (theme: Theme) => createStyles({\n snackBar: {\n [theme.breakpoints.down('sm')]: {\n // top: 57,\n // right: 0,\n width: \"calc(100vw - 12px)\",\n marginTop: 54,\n paddingLeft: 6,\n paddingRight: 8,\n },\n [theme.breakpoints.up('sm')]: {\n // top: 75,\n // right: 7\n marginTop: 39,\n paddingLeft: 0,\n paddingRight: 0,\n },\n flexWrap: \"nowrap\",\n },\n success: {\n color: theme.palette.common.white,\n backgroundColor: theme.palette.success.dark,\n fontWeight: 600,\n padding: \"0 10px 0 10px\"\n },\n info: {\n color: theme.palette.common.white,\n backgroundColor: theme.palette.info.dark,\n fontWeight: 600,\n padding: \"0 10px 0 10px\"\n },\n warning: {\n color: theme.palette.common.white,\n backgroundColor: theme.palette.warning.dark, // amber[700],\n fontWeight: 600,\n padding: \"0 10px 0 10px\"\n },\n error: {\n color: theme.palette.common.white,\n backgroundColor: theme.palette.error.dark,\n fontWeight: 600,\n padding: \"0 10px 0 10px\"\n },\n icon: {\n fontSize: 20,\n },\n iconVariant: {\n opacity: 1.0,\n marginRight: theme.spacing(1)\n },\n message: {\n display: 'flex',\n alignItems: 'flex-start',\n paddingRight: 25,\n lineHeight: 1.3\n },\n closeBtn: {\n color: theme.palette.common.white,\n cursor: 'pointer',\n // [theme.breakpoints.down('sm')]: {\n // padding: \"3px 6px 3px 5px\",\n // },\n // [theme.breakpoints.up('sm')]: {\n // padding: \"3px 8px 3px 10px\",\n // },\n // position: \"absolute\",\n // top: -5,\n // right: 0\n }\n})\n\ninterface INotifyBarProps {\n notify?: Notify\n}\n\nfunction Transition(props: any) {\n const nodeRef = React.createRef();\n\n return ;\n}\n\n@inject(\"notify\")\n@observer\nclass NotifyBar extends React.Component & INotifyBarProps> {\n\n onClose = (event: object, reason?: string) => {\n const {notify} = this.props\n \n if (notify && (!reason || reason !== \"clickaway\")) {\n notify.close()\n }\n }\n\n render() {\n const {notify, classes} = this.props\n const autoHideDuration = variantAutoHideDuration[notify!.variant]\n\n return (\n \n {this.snackBarContent()}\n \n )\n }\n\n snackBarContent = () => {\n const { notify, classes } = this.props;\n\n const Icon = variantIcon[notify!.variant];\n\n return (\n \n \n {notify!.message}\n \n }\n action={[\n \n \n ,\n ]}\n />\n );\n }\n}\n\nexport default withStyles(styles)(NotifyBar)\n","import * as React from 'react';\nimport Dialog from '@material-ui/core/Dialog';\nimport DialogActions from '@material-ui/core/DialogActions';\nimport DialogContent from '@material-ui/core/DialogContent';\nimport DialogContentText from '@material-ui/core/DialogContentText';\nimport DialogTitle from '@material-ui/core/DialogTitle';\nimport { createStyles, withStyles, Theme, WithStyles } from '@material-ui/core/styles'\nimport { RouteComponentProps } from '@reach/router'\nimport DialogButton from '../form/DialogButton'\nimport {inject, observer} from \"mobx-react\";\nimport Confirm from \"./Confirm\";\nimport ProgressButton from '../form/ProgressButton';\n\nconst styles = (theme: Theme) => createStyles({\n dialogActions: {\n justifyContent: \"space-evenly\",\n paddingBottom: \"16px\"\n }\n})\n\ninterface IConfirmDialog {\n confirm?: Confirm\n}\n\n@inject(\"confirm\")\n@observer\nclass ConfirmDialog extends React.Component & RouteComponentProps & IConfirmDialog> {\n\n onCancel = () => {\n if (this.props.confirm) {\n this.props.confirm.cancel();\n }\n };\n\n onSubmit = (event: any) => {\n if (this.props.confirm) {\n this.props.confirm.confirm()\n }\n }\n\n render() {\n const { classes, confirm } = this.props\n\n const title = (confirm && confirm.title) ? confirm.title : \"Confirm\"\n let content\n if (confirm) {\n if (typeof confirm.content === \"string\") {\n content = \n {confirm.content}\n \n } else {\n content = confirm.content\n }\n }\n const confirmLabel = (confirm && confirm.buttons && confirm.buttons[0]) ? confirm.buttons[0] : \"Confirm\"\n const cancelLabel = (confirm && confirm.buttons && confirm.buttons[1]) ? confirm.buttons[1] : \"Cancel\"\n\n let dialog = null\n if (confirm && confirm.open) {\n dialog = \n {title}\n \n {content}\n \n \n {(!confirm.buttons || confirm.buttons[1]) &&\n \n {cancelLabel}\n \n }\n \n {confirmLabel}\n \n \n \n }\n\n return (dialog)\n }\n}\n\nexport default withStyles(styles)(ConfirmDialog)\n","import * as React from 'react';\nimport Dialog from '@material-ui/core/Dialog';\nimport DialogActions from '@material-ui/core/DialogActions';\nimport DialogContent from '@material-ui/core/DialogContent';\nimport DialogContentText from '@material-ui/core/DialogContentText';\nimport DialogTitle from '@material-ui/core/DialogTitle';\nimport { createStyles, withStyles, Theme, WithStyles } from '@material-ui/core/styles'\nimport { RouteComponentProps } from '@reach/router'\nimport DialogButton from '../form/DialogButton'\nimport {inject, observer} from \"mobx-react\";\nimport Alert from \"./Alert\";\n\nconst styles = (theme: Theme) => createStyles({\n dialogActions: {\n justifyContent: \"center\",\n paddingBottom: \"16px\"\n }\n})\n\ninterface IAlertDialog {\n alert?: Alert\n}\n\n@inject(\"alert\")\n@observer\nclass AlertDialog extends React.Component & RouteComponentProps & IAlertDialog> {\n\n onClose = () => {\n if (this.props.alert) {\n this.props.alert.close();\n }\n };\n\n onSubmit = (event: any) => {\n if (this.props.alert) {\n this.props.alert.close()\n }\n }\n\n render() {\n const { classes, alert } = this.props\n\n let dialog = null\n if (alert && alert.open) {\n dialog = \n {alert.title}\n \n \n {alert.message}\n \n \n \n \n Ok\n \n \n \n }\n\n return (dialog)\n }\n}\n\nexport default withStyles(styles)(AlertDialog)\n","\nimport { Box, Container, useTheme } from \"@material-ui/core\"\nimport { ReactNode } from \"react\"\n\nconst MarginRow = ({ \n backgroundColor, \n background, \n children, \n maxWidth \n}: {\n backgroundColor?: string \n background?: string \n children: any\n maxWidth?: 'xs' | 'sm' | 'md' | 'lg' \n}) => {\n const theme = useTheme()\n return (\n \n \n {children}\n \n {/* \n {children}\n */}\n \n )\n // return (\n // \n // \n // {children}\n // \n // \n // )\n}\n\nexport default MarginRow","export default __webpack_public_path__ + \"static/media/logo_wo_tagline_white_640x192.0377ad06.png\";","import { createStyles, Theme, withStyles, WithStyles, withTheme, WithTheme } from '@material-ui/core/styles'\nimport { Link, Typography } from \"@material-ui/core\";\nimport React from \"react\";\nimport Tracking from \"./Tracking\";\nimport ControlTower from './ControlTower';\nimport classNames from 'classnames';\n\nconst styles = (theme: Theme) => createStyles({\n linkStyle: {\n textDecoration: 'none',\n cursor: \"pointer\"\n },\n linkStyleLight: {\n color: theme.palette.common.white,\n }, \n linkStyleDark: {\n color: theme.palette.primary.main,\n },\n linkText: {\n fontWeight: 'bold',\n lineHeight: 1.3\n }\n})\n\ninterface IActionLinkProps {\n text: string\n alignText?: 'center' | 'left' | 'right'\n variation?: 'light' | 'dark'\n tracking: string\n click?: Function\n route?: string\n textStyle?: string\n linkStyle?: string\n}\n\nclass ActionLink extends React.Component & WithTheme & IActionLinkProps> {\n render() {\n const { text, alignText, tracking, click, classes, route, variation, textStyle, linkStyle } = this.props\n let linkStyles = [classes.linkStyle]\n let textStyles = [classes.linkText]\n if (variation) {\n if (variation === 'light') {\n linkStyles.push(classes.linkStyleLight)\n } else if (variation === 'dark') {\n linkStyles.push(classes.linkStyleDark)\n }\n }\n if (textStyle) {\n textStyles.push(textStyle)\n }\n if (linkStyle) {\n linkStyles.push(linkStyle)\n }\n return (\n
\n {\n Tracking.event({\n action: `${tracking}`,\n label: text\n })\n if (route) {\n ControlTower.route(route)\n } else if (click) {\n click() \n }\n }}\n >\n \n {text}​\n \n \n
\n )\n }\n}\n\nexport default withTheme((withStyles(styles)(ActionLink)))\n","import { Divider, Grid, isWidthDown, withWidth, WithWidth } from \"@material-ui/core\";\nimport { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';\nimport { format } from 'date-fns';\nimport { observable, makeObservable } from \"mobx\";\nimport { inject, observer } from \"mobx-react\";\nimport * as React from 'react';\nimport config from 'react-global-configuration';\nimport ControlTower from \"../ControlTower\";\nimport MarginRow from \"../page/MarginRow\";\nimport PrivacyPolicy from \"./PrivacyPolicy\";\nimport TermsOfUse from \"./TermsOfUse\";\nimport logo from '../../images/logo_wo_tagline_white_640x192.png'\nimport ActionLink from \"../ActionLink\";\n\nconst styles = (theme: Theme) => createStyles({\n container: {\n paddingTop: theme.spacing(5),\n paddingBottom: theme.spacing(5),\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n width: '100%',\n color: theme.palette.primary.contrastText,\n backgroundColor: theme.palette.primary[700],\n borderTop: \"2px solid\",\n borderTopColor: theme.palette.divider\n },\n link: {\n textDecoration: 'none',\n \"&:hover\": {\n textDecoration: 'none',\n }\n },\n linkText: {\n color: theme.palette.common.white,\n fontSize: \"18px !important\",\n fontWeight: 400,\n letterSpacing: 0.5,\n textDecoration: 'none',\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n paddingTop: 0,\n },\n divider: {\n backgroundColor: theme.palette.primary[600],\n margin: 8\n }\n})\n\ninterface IFooterProps {\n privacyPolicy?: PrivacyPolicy\n termsOfUse?: TermsOfUse\n}\n\n@inject(\"privacyPolicy\", \"termsOfUse\")\n@observer\nclass Footer extends React.Component & WithWidth & IFooterProps & WithWidth> {\n @observable showPrivacyPolicy: boolean = false\n @observable showTermsOfUse: boolean = false\n\n constructor(props: WithStyles & WithWidth & IFooterProps) {\n super(props);\n makeObservable(this);\n }\n\n render() {\n const { classes, width } = this.props\n const homeUrl = config.get(\"homeUrl\")\n const academyUrl = `${homeUrl}/academy`\n const talentUrl = `${homeUrl}/talent`\n const jobsUrl = `${homeUrl}/jobs`\n const newsUrl = config.get(\"newsUrl\")\n const copyright = new DOMParser().parseFromString(`© ${format(Date.now(), 'yyyy')} GovGig`,\n 'text/html').body.textContent ?? \"\"\n const version = config.get(\"version\")\n\n return (\n
\n \n \n \n \n \"logo\"\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 onClickContact = () => {\n const homeUrl = config.get(\"homeUrl\")\n ControlTower.open(`${homeUrl}/contact`, \"_self\")\n }\n\n onClickPrivacyPolicy = () => {\n const { privacyPolicy } = this.props\n if (privacyPolicy) {\n privacyPolicy.show()\n }\n }\n\n onClickTermsOfUse = () => {\n const { termsOfUse } = this.props\n if (termsOfUse) {\n termsOfUse.show()\n }\n }\n}\n\nexport default withStyles(styles)(withWidth()(Footer))\n","import * as React from 'react'\nimport { createStyles, withStyles, Theme, WithStyles } from '@material-ui/core/styles'\nimport Header from \"./Header\";\nimport NotifyBar from \"../notify/NotifyBar\";\nimport ConfirmDialog from \"../confirm/ConfirmDialog\";\nimport AlertDialog from \"../alert/AlertDialog\";\nimport Footer from \"./Footer\";\nimport { Box } from '@material-ui/core';\n\nconst styles = (theme: Theme) => createStyles({\n rootStyle: {\n flexGrow: 1,\n color: theme.palette.text.primary,\n backgroundColor: theme.palette.background.default,\n justifyContent: 'space-between',\n display: 'flex',\n flexDirection: 'column',\n minHeight: \"100vh\",\n overflow: \"hidden\"\n },\n contentStyle: {\n display: \"flex\",\n flex: \"auto\",\n flexGrow: 1,\n flexDirection: \"column\",\n minHeight: \"100%\",\n overflow: \"hidden\",\n // paddingLeft: theme.spacing(3),\n // paddingRight: theme.spacing(3)\n },\n header: {\n flex: \"none\",\n height: 76\n },\n footer: {\n }\n})\n\ninterface IPageProps {\n hideHeader?: boolean\n hideFooter?: boolean\n title?: string\n}\n\nclass Page extends React.Component & IPageProps> {\n\n componentDidMount() {\n if (this.props.title) {\n document.title = `GovGig - ${this.props.title}`\n } else {\n document.title = \"GovGig\"\n }\n }\n\n\n componentDidUpdate(prevProps: any) {\n if (prevProps.title !== this.props.title) {\n this.componentDidMount()\n }\n }\n\n render() {\n const { classes, hideHeader, hideFooter } = this.props\n\n return (\n
\n { (hideHeader === undefined || hideHeader === false) &&\n
\n
\n
\n }\n \n \n \n \n {this.props.children}\n \n { (hideFooter === undefined || hideFooter === false) &&\n \n
\n \n }\n
\n )\n }\n}\n\nexport default withStyles(styles)(Page)","import * as React from 'react'\nimport Page from '../components/page/Page'\nimport { RouteComponentProps } from '@reach/router'\nimport {createStyles, Theme, withStyles, WithStyles} from '@material-ui/core';\nimport CircularProgress from \"@material-ui/core/CircularProgress/CircularProgress\";\nimport {when} from \"mobx\";\nimport ControlTower, {Routes} from \"../components/ControlTower\";\nimport { inject, observer } from 'mobx-react';\nimport AccountStore from '../stores/AccountStore';\n\nconst styles = (theme: Theme) => createStyles({\n content: {\n display: \"flex\",\n flexGrow: 1,\n flexDirection: \"column\",\n alignItems: \"center\",\n },\n progress: {\n marginTop: \"calc((100vh - 140px)/2)\"\n }\n})\n\ninterface ILoadingPageProps {\n userStore?: any\n accountStore?: AccountStore\n route?: string\n}\n\n@inject(\"userStore\", \"accountStore\")\n@observer\nclass LoadingPage extends React.Component & RouteComponentProps & ILoadingPageProps> {\n\n componentDidMount() {\n const { accountStore, userStore, route } = this.props \n console.log(\"LoadingPage mounting\", route)\n when(\n // once...\n () => {\n const isLoaded = userStore !== undefined\n && accountStore !== undefined \n && userStore.isLoading === false\n && accountStore.isLoading === false \n && route !== undefined;\n console.log('isLoaded:', isLoaded)\n return isLoaded\n },\n // ... then\n () => {\n if (this.props.route) {\n console.log(`LoadingPage routing to ${this.props.route}`)\n ControlTower.route(this.props.route)\n } else {\n console.log(`LoadingPage routing to ${Routes.home}`)\n ControlTower.route(Routes.home)\n }\n }\n )\n }\n\n render() {\n const { classes } = this.props;\n\n return (\n \n
\n \n
\n
\n )\n }\n}\n\nexport default withStyles(styles)(LoadingPage)\n","import * as React from 'react'\nimport Page from '../components/page/Page'\nimport { RouteComponentProps } from '@reach/router'\nimport ControlTower, {Routes} from \"../components/ControlTower\";\nimport { observable, when, makeObservable } from \"mobx\";\nimport Logger from \"../components/Logger\";\nimport {inject, observer} from \"mobx-react\";\nimport UserStore from \"../stores/UserStore\";\nimport AccountStore from \"../stores/AccountStore\";\nimport Progress from \"../components/Progress\";\nimport { Theme, WithStyles, createStyles, withStyles } from '@material-ui/core';\nimport LoginDialog from '../components/login/LoginDialog';\nimport Tracking from '../components/Tracking';\nimport config from \"react-global-configuration\";\nimport PasswordAssistDialog from '../components/login/PasswordAssistDialog';\n\nconst styles = (theme: Theme) => createStyles({\n\n})\n\nenum LoginPageState {\n login = \"login\",\n passwordAssist = \"passwordAssist\"\n}\n\ninterface ILoginPageProps {\n userStore?: UserStore\n accountStore?: AccountStore\n progress?: Progress\n route?: string\n}\n\n@inject(\"userStore\", \"accountStore\", \"progress\")\n@observer\nclass LoginPage extends React.Component & RouteComponentProps & ILoginPageProps> {\n @observable isLoading = true\n\n @observable mode = LoginPageState.login\n\n @observable values = {\n username: \"\",\n password: \"\",\n newPassword: \"\"\n }\n\n @observable message = \"\"\n @observable newPasswordRequired = false\n @observable isProcessing = false\n\n constructor(props: WithStyles & RouteComponentProps & ILoginPageProps) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount(): void {\n const { userStore, accountStore, location, progress } = this.props\n\n // TODO: This can probably be simplified now that authenticated user checking is in App.tsx\n when (\n () => userStore!.isLoading === false && userStore!.isAuthenticated === false,\n async () => {\n console.log(\"LoginPage looking for current authenticated user\")\n // userStore!.isLoading = true\n this.isLoading = true\n const cognitoUser = await userStore!.currentAuthenticatedUser()\n if (cognitoUser) {\n progress!.show(\"LoginPage\")\n console.log(\"initializing current user\")\n // Load and initialize User\n await userStore!.initSession(cognitoUser)\n .then(async (result: any) => {\n console.log(\"Reloaded user from cache\")\n const account = userStore!.user!.account\n if (account) {\n await accountStore!.init(account)\n }\n this.isLoading = false\n progress!.hide(\"HomePage\")\n })\n .catch(async (reason: any) => {\n this.isLoading = false\n console.log(\"Unable to load user from cache\")\n progress!.hide(\"LoginPage\")\n })\n } else {\n console.log(\"No existing authenticated user found\")\n // userStore!.isLoading = false\n this.isLoading = false\n }\n Logger.info(\"App started\")\n }\n )\n\n when(\n () => userStore!.isLoading === false \n && accountStore!.isLoading === false \n && userStore!.isAuthenticated === true,\n async () => {\n console.log(\"LoginPage completed loading user\")\n if (this.props.route) {\n console.log(`LoginPage routing to ${this.props.route}`)\n ControlTower.route(this.props.route)\n } else {\n console.log(\"LoginPage routing to initial page\")\n userStore!.routeInitial()\n }\n \n progress!.hide(\"LoginPage\")\n this.isLoading = false\n }\n )\n }\n\n onLogin = () => {\n const { userStore } = this.props \n \n Tracking.event({category: 'LoginDialog', action: 'Login'})\n \n userStore!.routeInitial()\n }\n\n render() {\n const { classes } = this.props \n return (\n \n { this.mode === LoginPageState.login && \n {\n this.mode = LoginPageState.passwordAssist\n Tracking.pageView(\"PasswordAssistDialogEmbed\")\n }} \n onShowSignUp={() => {\n ControlTower.route(Routes.join)\n }} \n />\n }\n { this.mode === LoginPageState.passwordAssist && \n {\n this.mode = LoginPageState.login\n }}\n onShowLogin={() => {\n this.mode = LoginPageState.login\n }}\n />\n }\n \n )\n }\n}\n\nexport default withStyles(styles)(LoginPage)","import * as React from 'react'\nimport Page from '../components/page/Page'\nimport { RouteComponentProps } from '@reach/router'\nimport MarginRow from '../components/page/MarginRow'\nimport { Grid } from '@material-ui/core';\nimport Typography from '@material-ui/core/Typography'\nimport { createStyles, withStyles, Theme, WithStyles } from '@material-ui/core/styles'\n\nconst styles = (theme: Theme) => createStyles({\n root: {\n justifyContent: \"center\"\n },\n logoImage: {\n height: '25%',\n width: '25%'\n },\n text: {\n paddingTop: 'calc(50vh - 100px)',\n textAlign: 'center',\n [theme.breakpoints.down('sm')]: {\n paddingBottom: 15\n },\n [theme.breakpoints.up('sm')]: {\n paddingBottom: 0\n }\n }\n})\n\nclass NotFoundPage extends React.Component & RouteComponentProps> {\n\n render() {\n\n const { classes } = this.props;\n\n return (\n \n \n \n \n
\n {/**/}\n Sorry, this page doesn't exist or cannot be accessed.\n
\n
\n
\n
\n
\n )\n }\n}\n\nexport default withStyles(styles)(NotFoundPage);","import { navigate, RouteComponentProps } from \"@reach/router\";\nimport { inject } from \"mobx-react\";\nimport * as React from \"react\";\nimport LoadingPage from \"../pages/LoadingPage\";\nimport LoginPage from \"../pages/LoginPage\";\nimport NotFoundPage from \"../pages/NotFoundPage\";\nimport UserStore from \"../stores/UserStore\";\nimport Tracking from \"./Tracking\";\n\nexport enum Routes {\n account = \"/account\",\n accountAgreements = \"/account/agreements\",\n accountBilling = \"/account/billing\",\n accountPending = \"/account-pending\",\n accountPeople = \"/account/people\",\n accountSettings = \"/account/settings\",\n apply = \"/apply\",\n betaSignup = \"/betasignup\",\n // candidates = \"/talent\", // Use /find-talent instead.\n dashboard = \"/dashboard\",\n findJobs = \"/find-jobs\",\n findOpportunity = \"/find-opportunity\",\n findTalent = \"/find-talent\",\n index = \"/index.html\",\n // jobs = \"/jobs\", // Use /find-jobs instead \n job = \"/job\",\n jobGroups = \"/job-groups\",\n jobPostCreate = \"/create-job-posts\",\n jobPostPaymentCart = \"/job-post-payment-cart\",\n join = \"/join\",\n login = \"/login\",\n loading = \"/loading\",\n manage = \"/manage\",\n manageAccounts = \"/manage/accounts\",\n manageApplicants = \"/manage/applicants\",\n manageCandidates = \"/manage/candidates\",\n manageCandidate = \"/manage-candidate\",\n manageJobs = \"/manage-jobs\",\n manageJob = \"/manage-job\",\n managePeople = \"/manage/people\",\n msa = \"/msa\",\n myJobs = \"/my-jobs\",\n msaExclusive = \"/msaExclusive\",\n nda = \"/nda\",\n notFound = \"/404\",\n privacy = \"/privacy\",\n privacyCCPA = \"/privacy/ccpa\",\n profile = \"/profile\",\n register = \"/register\",\n requestMeeting = \"https://meetings.hubspot.com/julia-keys/julia-keys-30-min-meeting-\",\n serviceRequests = \"/serviceRequests\", \n serviceRequestCreate = \"/create-service-request\",\n settings = \"/settings\",\n signup = \"/signup\",\n styleGuide = \"/styleguide\",\n terms = \"/terms\",\n home = \"/\", // Note, \"home\" needs to be last, per Control Tower helper functions. \n}\n\n/**\n * undefined -> allows unauthenticated access\n * isAuthenticated -> requires authentication\n * roles[\"Admin\",\"Agent\",\"Employer\"] -> requires one of the listed roles\n */\nconst RouteRequirements = {\n [Routes.manage]: { isAuthenticated: true, roles: [\"Admin\", \"Agent\"] },\n [Routes.jobGroups]: { isAuthenticated: true, roles: [\"Admin\", \"Agent\", \"Employer\"] },\n [Routes.dashboard] : { isAuthenticated: true, roles: [\"Admin\", \"Agent\", \"Employer\"] },\n [Routes.jobPostPaymentCart]: { isAuthenticated: true, roles: [\"Admin\", \"Agent\", \"Employer\"] },\n [Routes.manageCandidate]: { isAuthenticated: true, roles: [\"Admin\", \"Agent\"] },\n [Routes.manageJob]: { isAuthenticated: true, roles: [\"Admin\", \"Agent\", \"Employer\"] },\n [Routes.manageJobs]: { isAuthenticated: true, roles: [\"Admin\", \"Agent\", \"Employer\"] },\n [Routes.settings]: { isAuthenticated: true, roles: [\"Admin\", \"Agent\", \"Applicant\", \"Candidate\", \"Employer\", \"Student\"] },\n [Routes.serviceRequestCreate]: { isAuthenticated: true, roles: [\"Admin\", \"Agent\", \"Employer\"] },\n [Routes.serviceRequests]: { isAuthenticated: true, roles: [\"Admin\", \"Agent\", \"Employer\"] }\n}\n\ninterface IControlTowerProps {\n userStore?: UserStore\n children?: any\n}\n\n@inject(\"userStore\")\nclass ControlTower extends React.Component {\n\n private lastNavigatedRoute = \"\";\n\n static route = (to: string, options?: any) => {\n console.log(\"ControlTower.route to:\", to)\n if (to.startsWith(\"http\")) {\n window.location.href = to\n } else {\n navigate(to, options)\n }\n }\n\n static back = () => {\n window.history.back()\n }\n\n static open = (to: string, target: string = \"_blank\") => {\n window.open(to, target)\n }\n\n static get currentRoute(): string {\n return window.location.pathname\n }\n\n render() {\n const route = \"/\" + this.props[\"*\"]\n\n const { userStore } = this.props\n\n const search = this.props.location && this.props.location.search ? this.props.location.search : \"\"\n\n console.debug(\"ControlTower\", {\n route, \n search\n })\n\n if (userStore && userStore!.isLoading) {\n console.log(`Routing ${route} to LoadingPage`)\n return \n } else if (userStore && !userStore.isAuthenticated && (this.routeRequiresLogin(route) || route === Routes.login)) {\n console.log(`Routing ${route} to LoginPage for authentication`)\n return \n } else if (userStore && !this.hasRequiredRole(route)) {\n console.log(`Route ${route} requires role`)\n return \n } else if (this.routeExists(route)) {\n console.log(`Routing to ${route}`)\n this.lastNavigatedRoute = route;\n Tracking.pageView(route)\n return ({this.props.children})\n } else {\n console.log(`Route ${route} not found`)\n this.lastNavigatedRoute = Routes.notFound;\n return \n }\n }\n\n private routeExists = (route: string): boolean => {\n const routeMatch = this.findRouteMatch(route)\n if (routeMatch) {\n return true\n }\n\n return false\n }\n\n private routeRequiresLogin = (route: string): boolean => {\n // Check if the route has any requirements\n // const routeMatch = Object.values(Routes).find(value => route.startsWith(value))\n const routeMatch = this.findRouteMatch(route)\n if (routeMatch) {\n const routeRequirements = RouteRequirements[routeMatch]\n if (routeRequirements && routeRequirements.isAuthenticated) {\n // console.log(`${route} requires login`)\n return true\n }\n }\n\n return false\n }\n\n private hasRequiredRole = (route: string): boolean => {\n const { userStore } = this.props\n // Check if the route has any role requirements\n const routeMatch = this.findRouteMatch(route)\n if (routeMatch) {\n const routeRequirements = RouteRequirements[routeMatch]\n console.debug(\"hasRequiredRole\", {\n routeMatch,\n routeRequirements\n })\n if (routeRequirements && routeRequirements.roles) {\n if (userStore!.user) {\n const role = userStore!.user.role\n if (!routeRequirements.roles.find((r: string) => r === role)) {\n return false\n }\n } else {\n // if no user loaded, then assume the requirement isn't met\n return false\n }\n }\n }\n return true\n }\n\n private findRouteMatch = (route: string): Routes | null => {\n const matches: Routes[] = []\n Object.values(Routes).forEach(checkRoute => {\n const cleanPathname = route \n const checkCleanPathname = checkRoute.split(\"/:\")[0] // : undefined // route.path ? route.path.split(\"/\")[1] : \"\"\n if (checkCleanPathname === \"/\" && cleanPathname === \"/\") {\n // Special case \n matches.unshift(checkRoute)\n } else if (checkCleanPathname && checkCleanPathname !== \"/\") {\n if (cleanPathname === checkCleanPathname) {\n matches.unshift(checkRoute)\n } else if (cleanPathname.includes(checkCleanPathname)) {\n matches.push(checkRoute)\n }\n } \n })\n\n console.debug(\"findRouteMatch\", {\n matches \n })\n\n return matches.length > 0 ? matches[0] : null\n }\n}\n\nexport default ControlTower\n","import * as React from 'react';\nimport Dialog from '@material-ui/core/Dialog';\nimport DialogActions from '@material-ui/core/DialogActions';\nimport DialogContent from '@material-ui/core/DialogContent';\nimport DialogTitle from '@material-ui/core/DialogTitle';\nimport { createStyles, withStyles, Theme, WithStyles } from '@material-ui/core/styles'\nimport { RouteComponentProps } from '@reach/router'\nimport DialogButton from './form/DialogButton'\n\n\nconst styles = (theme: Theme) => createStyles({\n dialog: {\n margin: 0\n },\n dialogContent: {\n padding: \"10px 10px\"\n },\n paper: {\n margin: 10\n },\n dialogActions: {\n justifyContent: \"center\",\n paddingTop: 10,\n paddingBottom: 10\n }\n})\n\ninterface IModalDialog {\n open?: boolean\n title?: string\n onClose?: any\n children?: any\n maxWidth?: any\n}\n\nclass ModalDialog extends React.Component & RouteComponentProps & IModalDialog> {\n\n onClose = () => {\n if (this.props.onClose) {\n this.props.onClose()\n }\n };\n\n render() {\n const {classes, title, children} = this.props\n const maxWidth = (this.props.maxWidth !== undefined) ? this.props.maxWidth : \"md\"\n\n return (\n \n {title &&\n {title}\n }\n \n {children}\n \n \n \n Close\n \n \n \n )\n }\n}\n\nexport default withStyles(styles)(ModalDialog)\n","import * as React from 'react'\nimport { Grid } from '@material-ui/core';\nimport PrivacyPolicy from \"./PrivacyPolicy\";\nimport {inject, observer} from \"mobx-react\";\nimport MarginRow from \"./MarginRow\";\nimport ModalDialog from \"../ModalDialog\";\nimport {createStyles, Theme, withStyles, WithStyles} from \"@material-ui/core/styles\";\nimport {Routes} from \"../ControlTower\";\n\nconst styles = (theme: Theme) => createStyles({\n link: {\n textDecoration: 'none',\n color: theme.palette.action.active\n },\n content: {\n height: \"calc(75vh)\",\n width: \"100%\",\n },\n iframe: {\n width: \"100%\",\n height: \"100%\",\n border: \"none\",\n overflowY: \"scroll\"\n }\n})\n\ninterface IPrivacyPolicyDialogProps {\n privacyPolicy?: PrivacyPolicy\n}\n\n@inject(\"privacyPolicy\")\n@observer\nclass PrivacyPolicyDialog extends React.Component & IPrivacyPolicyDialogProps> {\n\n render() {\n const { classes, privacyPolicy } = this.props\n\n return (\n \n \n \n \n \n \n \n \n \n )\n }\n}\n\nexport default withStyles(styles)(PrivacyPolicyDialog)\n","import * as React from 'react'\nimport { Grid } from '@material-ui/core';\nimport TermsOfUse from \"./TermsOfUse\"\nimport {inject, observer} from \"mobx-react\";\nimport PrivacyPolicy from \"./PrivacyPolicy\";\nimport MarginRow from \"./MarginRow\";\nimport ModalDialog from \"../ModalDialog\";\nimport {createStyles, Theme, withStyles, WithStyles} from \"@material-ui/core/styles\";\nimport {Routes} from \"../ControlTower\";\n\nconst styles = (theme: Theme) => createStyles({\n link: {\n textDecoration: 'none',\n color: theme.palette.action.active\n },\n content: {\n height: \"calc(75vh)\",\n width: \"100%\",\n },\n iframe: {\n width: \"100%\",\n height: \"100%\",\n border: \"none\",\n overflowY: \"scroll\"\n }\n})\n\ninterface ITermsOfUseDialogProps {\n termsOfUse?: TermsOfUse\n privacyPolicy?: PrivacyPolicy\n}\n\n@inject(\"termsOfUse\", \"privacyPolicy\")\n@observer\nclass TermsOfUseDialog extends React.Component & ITermsOfUseDialogProps> {\n\n privacyPolicy = (ev: any) => {\n ev.preventDefault()\n this.props.privacyPolicy!.show()\n }\n\n render() {\n const { classes, termsOfUse } = this.props\n\n return (\n \n \n \n \n \n \n \n \n \n )\n }\n}\n\nexport default withStyles(styles)(TermsOfUseDialog)","import { Box, useTheme } from \"@material-ui/core\";\nimport { DraggableProvided, DraggableStateSnapshot } from \"react-beautiful-dnd\";\nimport { IKanbanOptions, IKanbanRow } from \"./KanbanBoard\";\n\nconst KanbanCard = ({\n innerRef,\n row, \n virtualStyle, \n options, \n provided,\n snapshot\n}: {\n innerRef: any \n row: IKanbanRow \n virtualStyle?: any // Optional styling to pass in to the cards. \n options: IKanbanOptions\n provided: DraggableProvided\n snapshot: DraggableStateSnapshot\n}) => {\n const theme = useTheme()\n\n // Create the spacing and other styling of cards on the Kanban board. \n const getStyle = (options: any) => {\n const { draggableStyle, virtualStyle, isDragging } = options \n const combined = {\n ...virtualStyle,\n ...draggableStyle\n };\n\n const grid = theme.spacing(1);\n\n const result = {\n ...combined,\n marginBottom: grid\n };\n\n if (combined.height) {\n result['height'] = isDragging ? combined.height : combined.height - grid\n }\n\n if (combined.left) {\n result['left'] = isDragging ? combined.left : combined.left + grid\n }\n\n if (draggableStyle.width) {\n result['width'] = isDragging ? draggableStyle.width : `calc(${combined.width} - ${grid * 2}px)`\n }\n \n // console.debug(\"KanbanCard\", result)\n\n return result;\n }\n\n return (\n \n \n {options.renderCard(row)}\n \n \n )\n}\n\nexport default KanbanCard\n","import React, { CSSProperties } from \"react\";\nimport { Draggable, DraggableProvided, DraggableRubric, DraggableStateSnapshot } from \"react-beautiful-dnd\";\nimport { IKanbanColumn } from \"./KanbanBoard\";\nimport KanbanCard from \"./KanbanCard\";\n\n// Memoizing row items for even better performance!\nconst KanbanRow = React.memo(({ \n index, \n style, \n data\n}: {\n index: number\n style?: CSSProperties\n data: any \n}) => {\n const { column, options } = data \n const row = (column as IKanbanColumn).rows[index]\n\n // We are rendering an extra item for the placeholder to show a visual gap on drop.\n // Too do this we increased our data set size to include one 'fake' item, so return null for the fake item.\n if (!row) {\n return null \n }\n \n const checkIsDragDisabled = () => {\n let isDragDisabled = false \n \n if (options.isDragDisabled !== undefined) {\n isDragDisabled = options.isDragDisabled!(row)\n } else if (column.isDragDisabled !== undefined) {\n isDragDisabled = column.isDragDisabled!\n } \n\n return isDragDisabled \n }\n\n return (\n \n {(provided: DraggableProvided, snapshot: DraggableStateSnapshot, rubric: DraggableRubric) => {\n return (\n \n )\n }}\n \n );\n})\n// }, areEqual);\n\nexport default KanbanRow \n","import React, { useState } from \"react\";\nimport { Box, createStyles, Grid, makeStyles, Theme, Typography } from \"@material-ui/core\";\nimport { DraggableProvided, DraggableRubric, DraggableStateSnapshot, Droppable, DroppableProvided, DroppableStateSnapshot } from 'react-beautiful-dnd';\nimport { IKanbanColumn, IKanbanOptions } from \"./KanbanBoard\";\nimport KanbanRow from \"./KanbanRow\";\nimport KanbanCard from \"./KanbanCard\";\nimport classNames from \"classnames\";\nimport { useEffect } from \"react\";\nimport { Virtuoso } from 'react-virtuoso'\n\nconst useStyles = makeStyles((theme: Theme) => createStyles({\n column: {\n height: '100%',\n marginRight: theme.spacing(1),\n backgroundColor: theme.palette.grey[500],\n borderRadius: 10\n },\n columnDraggingOver: {\n backgroundColor: \"lightblue\"\n },\n columnDraggingFrom: {\n backgroundColor: \"red\"\n },\n list: {\n transition: 'background-color 0.2s ease'\n },\n columnHeader: {\n padding: theme.spacing(0.5)\n },\n title: {\n paddingLeft: theme.spacing(1),\n },\n count: {\n textAlign: \"right\",\n paddingRight: theme.spacing(1)\n },\n}))\n\ninterface IKanbanColumnProps {\n column: IKanbanColumn\n options: IKanbanOptions\n}\n\nconst HeightPreservingItem = React.memo(({ children, ...props }) => {\n const [size, setSize] = useState(0)\n const knownSize = props['data-known-size']\n useEffect(() => {\n setSize((prevSize) => {\n return knownSize === 0 ? prevSize : knownSize\n })\n }, [knownSize])\n return (\n \n {children}\n \n )\n})\n\nconst KanbanColumn = React.memo(({\n column, \n options\n}: IKanbanColumnProps) => { \n const classes = useStyles({ column, options })\n\n const renderVirtualList = (\n provided: DroppableProvided,\n snapshot: DroppableStateSnapshot\n ) => {\n return (\n {\n return (\n \n )\n }}\n />\n )\n }\n\n return (\n {\n // While the user is dragging an item, we can render a clone of the item. \n // It is required to implement this function for virtual lists. \n const row = column.rows[rubric.source.index]\n return (\n \n )\n }}\n >\n {(\n provided: DroppableProvided,\n snapshot: DroppableStateSnapshot,\n ) => {\n const columnClassNames = [classes.column]\n if (snapshot.isDraggingOver) {\n columnClassNames.push(classes.columnDraggingOver)\n }\n\n return (\n
\n \n \n {column.title}\n \n \n {column.rows.length}\n \n \n \n {renderVirtualList(provided, snapshot)}\n \n {/* {provided.placeholder} // Apparently not used for virtual list approach. */}\n
\n )\n }}\n
\n )\n})\n\nexport default KanbanColumn\n","import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';\nimport * as React from 'react';\nimport { \n DragDropContext, \n DropResult\n} from 'react-beautiful-dnd';\nimport KanbanColumn from \"./KanbanColumn\";\n\nconst styles = (theme: Theme) => createStyles({\n board: {\n display: \"flex\",\n flexDirection: \"row\",\n overflowX: 'scroll' \n }\n})\n\n//FIXME: Will need for reordering cards\n// const reorder = (list: IRow[], startIndex: number, endIndex: number) => {\n// const result = Array.from(list);\n// const [removed] = result.splice(startIndex, 1);\n// result.splice(endIndex, 0, removed);\n\n// return result;\n// };\n\n/**\n * Moves an item from one list to another list.\n */\n// const move = (source: IKanbanRow[], destination: IKanbanRow[], droppableSource: DraggableLocation, droppableDestination: DraggableLocation) => {\n// const sourceClone = Array.from(source);\n// const destClone = Array.from(destination);\n// const [removed] = sourceClone.splice(droppableSource.index, 1);\n\n// destClone.splice(droppableDestination.index, 0, removed);\n\n// const result = {};\n// result[droppableSource.droppableId] = sourceClone;\n// result[droppableDestination.droppableId] = destClone;\n\n// return result;\n// };\n\nexport interface IKanbanColumn {\n id: string\n title: string\n rows: IKanbanRow[]\n isDragDisabled?: boolean\n isDropDisabled?: boolean\n}\n\nexport interface IKanbanRow {\n id: string\n}\n\nexport interface IKanbanOptions {\n columnWidth?: any\n columnHeight: string \n renderCard: (\n row: IKanbanRow\n ) => React.ReactElement\n isDragDisabled?: (row: IKanbanRow) => boolean\n}\n\nexport interface IKanbanBoardProps {\n columns: IKanbanColumn[]\n options: IKanbanOptions\n onDrop: (\n row: IKanbanRow, \n sourceIndex: number, \n sourceColumnId: string, \n destinationIndex: number, \n destinationColumnId: string\n ) => void\n}\n\nclass KanbanBoard extends React.Component & IKanbanBoardProps> {\n onDragEnd = (result: DropResult) => {\n const { \n source, \n destination \n } = result;\n\n // console.debug('onDragEnd', {\n // result: JSON.stringify(result),\n // source: JSON.stringify(source), \n // destination: JSON.stringify(destination)\n // })\n\n // dropped outside the list\n if (!destination) {\n return;\n }\n\n const sourceColumnId = source.droppableId\n const sourceColumn = this.props.columns.find(column => column.id === sourceColumnId)\n const destinationColumnId = destination.droppableId\n const row = sourceColumn!.rows[source.index]\n\n this.props.onDrop(\n row, \n source.index, \n sourceColumnId, \n destination.index, \n destinationColumnId\n )\n }\n\n render() {\n const { classes, columns, options } = this.props\n \n return (\n
\n \n \n { columns.map((column: IKanbanColumn) => {\n return (\n \n )\n })}\n \n
\n )\n }\n}\n\nexport default withStyles(styles)(KanbanBoard)\n","import React from \"react\";\nimport {alpha, Grid, IconButton, Typography} from \"@material-ui/core\";\nimport {createStyles, Theme, WithStyles, WithTheme} from \"@material-ui/core\";\nimport {withStyles, withTheme} from \"@material-ui/core/styles\";\nimport classNames from 'classnames';\n\nconst styles = (theme: Theme) => createStyles({\n editButton: {\n padding: 4,\n color: '#fff',\n boxShadow: 'rgba(0, 0, 0, 0.25) 0px 1px 3px 0px',\n backgroundColor: theme.palette.secondary.light,\n \"&:hover\": {\n backgroundColor: alpha(theme.palette.secondary.light, 0.7),\n },\n \"&:disabled\": {\n backgroundColor: alpha(theme.palette.secondary.light, 0.1),\n }\n },\n})\n\nexport interface IIconicButtonProps {\n className?: string\n onClick?: any\n disabled?: boolean\n label?: string \n color?: 'inherit' | 'primary' | 'secondary'\n labelColor?: 'textPrimary' | 'textSecondary' | 'inherit'\n}\n\nclass IconicButton extends React.Component & WithTheme & IIconicButtonProps> {\n\n render() {\n const { label } = this.props\n \n return (\n \n { label ? this.renderButtonWithLabel() : this.renderButton() }\n \n )\n }\n\n renderButton = () => {\n const { classes, className, color, onClick, disabled } = this.props\n let styles = [classes.editButton]\n if (className) {\n styles.push(className)\n }\n return (\n \n {this.props.children}\n \n )\n }\n\n renderButtonWithLabel = () => {\n const { label, labelColor } = this.props \n return (\n \n \n {this.renderButton()}\n \n \n \n {label}\n \n \n \n )\n }\n}\n\nexport default withTheme((withStyles(styles)(IconicButton)))","import * as React from \"react\";\nimport { createStyles, Theme, WithStyles, withStyles } from '@material-ui/core/styles'\nimport TextField, {TextFieldProps} from \"@material-ui/core/TextField\";\nimport {IFieldValidator} from \"./FormValidator\";\nimport {inject} from \"mobx-react\";\nimport {FormControlProps} from \"@material-ui/core/FormControl\";\nimport {Menu, MenuItem} from \"@material-ui/core\";\n\n\nconst styles = (theme: Theme) => createStyles({\n root: {\n marginBottom: theme.spacing(1)\n }\n})\n\ninterface ITextMenuFieldValidatorProps {\n error?: boolean\n helperText?: React.ReactNode\n label?: React.ReactNode\n required?: boolean\n onBlur?: any // React.EventHandler\n onChange?: any // React.EventHandler\n formvalidator?: any\n validate?: any\n className?: string,\n values: string[]\n}\n\nexport type TextMenuFieldValidatorProps = TextFieldProps & ITextMenuFieldValidatorProps & IFieldValidator\n\n@inject(\"formvalidator\")\nclass TextMenuFieldValidator extends React.Component & TextMenuFieldValidatorProps > {\n\n state = {\n isValid: true,\n errorMessage: \"\",\n anchorEl: null\n }\n\n componentDidMount() {\n const {formvalidator} = this.props as ITextMenuFieldValidatorProps\n if (formvalidator) {\n formvalidator.attachToForm(this)\n }\n }\n\n render() {\n const {\n className,\n error,\n onBlur,\n onChange,\n values,\n ...rest\n } = this.props as ITextMenuFieldValidatorProps;\n\n return (\n // \n\n
\n this.setState({ anchorEl: e.currentTarget})}\n helperText={((!this.state.isValid || this.props.error) && this.state.errorMessage) || this.props.helperText}\n InputLabelProps={{ shrink: typeof this.props.value === 'string' && this.props.value !== \"\" }}\n />\n this.setState({anchorEl: null}) }\n anchorEl={this.state.anchorEl}\n style={{ marginTop: '3rem' }}>\n {values.map((value, i) => {\n return { this.onClickMenuItem(value) }}>\n {value}\n \n })}\n \n
\n )\n }\n\n private onBlur = (event: React.FocusEvent): void => {\n const {value} = event.target;\n const {props} = this\n const {onBlur} = props as FormControlProps\n\n this.validate(value)\n\n if (onBlur) {\n onBlur(event);\n }\n }\n\n private onClickMenuItem(value: string) {\n const { onChange } = this.props\n this.validate(value)\n if (onChange) {\n onChange({target: {name: this.props.name, value: value}} as React.ChangeEvent)\n }\n this.setState({anchorEl: null})\n }\n\n private onChange = (event: React.ChangeEvent): void => {\n const {value} = event.target;\n const {props} = this\n const {onChange} = props as FormControlProps\n\n if (!this.state.isValid) {\n this.validate(value)\n }\n\n if (onChange) {\n onChange(event);\n }\n }\n\n validate = (value: string): boolean => {\n const { required } = this.props\n let isValid = true\n let errorMessage = \"\"\n if (required && value === \"\") {\n isValid = false\n errorMessage = `${this.props.label} is required`\n }\n\n this.setState({isValid, errorMessage})\n\n return isValid\n }\n}\n\nexport default withStyles(styles)(TextMenuFieldValidator)\n\n\n/*\n\n this.certificationType = value}\n onClickCapture={(e) => this.anchorEl = e.currentTarget}\n value={this.certificationType}\n />\n this.anchorEl = null}\n anchorEl={this.anchorEl}\n style={{ marginTop: '3rem' }}>\n {Object.values(Certification.types).map(({ label }, i) => {\n return (\n {\n this.certificationType = label\n this.anchorEl = null\n }}>\n {label}\n \n )\n })}\n \n */","import React from \"react\";\nimport { Button, Typography } from \"@material-ui/core\";\nimport { createStyles, Theme, withStyles, WithStyles, withTheme, WithTheme } from '@material-ui/core/styles';\nimport AddCircleIcon from '@material-ui/icons/AddCircle';\nimport RemoveCircleIcon from '@material-ui/icons/RemoveCircle';\nimport SearchIcon from '@material-ui/icons/Search';\nimport CheckCircleIcon from '@material-ui/icons/CheckCircle';\nimport ArrowDropDownIcon from '@material-ui/icons/ArrowDropDown';\nimport Menu from '@material-ui/core/Menu'\nimport MenuItem from \"@material-ui/core/MenuItem\";\nimport {makeObservable, observable} from \"mobx\";\nimport {observer} from \"mobx-react\";\n\nconst styles = (theme: Theme) => createStyles({\n container: {\n\n },\n button: {\n // backgroundColor: theme.palette.common.white\n // border: 'none',\n boxShadow: 'rgba(0, 0, 0, 0.25) 0px 1px 3px 0px',\n },\n menuPaper: {\n width: '100%',\n },\n})\n\ninterface IAddButtonProps {\n text: string\n tracking?: string\n disabled?: boolean\n buttonColor?: 'inherit' | 'primary' | 'secondary' | 'default'\n buttonSize?: 'small' | 'medium' | 'large'\n buttonVariant?: 'text' | 'outlined' | 'contained'\n click: Function\n icon?: 'add' | 'remove' | 'search' | 'checkmark' | 'downarrow'\n options?: string[]\n getOptionLabel?(option: any): string\n}\n\n@observer\nclass AddButton extends React.Component & WithTheme & IAddButtonProps> {\n @observable anchorEl: Element | null = null\n\n constructor(props: WithStyles & WithTheme & IAddButtonProps) {\n super(props)\n makeObservable(this)\n }\n\n render() {\n const {\n classes,\n disabled = false,\n text,\n // tracking,\n buttonColor,\n buttonSize,\n buttonVariant,\n icon = 'add',\n options\n } = this.props\n\n return (\n
\n ,\n remove: ,\n search: ,\n checkmark: ,\n downarrow: \n }[icon]}\n onClick={this.handleClick}\n {...{ disabled }}\n >\n {text}\n \n {options && this.renderMenu()}\n
\n )\n }\n\n handleClick = (event: any) => {\n const { options, click } = this.props\n // Tracking.event({\n // action: `${tracking}`,\n // label: text\n // })\n if (options) {\n this.anchorEl = event.currentTarget\n } else {\n click()\n }\n }\n\n handleClose = () => {\n this.anchorEl = null\n }\n\n renderMenu = () => {\n const { options, getOptionLabel, click } = this.props\n\n if (options && options.length > 0) {\n return (\n \n {options.map((option, index) => (\n {\n click(option)\n this.handleClose()\n }}\n >\n {getOptionLabel ? getOptionLabel(option) : option}\n \n ))}\n\n \n )\n }\n }\n}\n\nexport default withTheme((withStyles(styles)(AddButton)))\n","import {\n createStyles,\n Dialog,\n DialogActions,\n DialogContent,\n DialogTitle,\n Grid,\n Theme,\n withStyles,\n WithStyles,\n WithTheme,\n withTheme,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport {makeObservable, observable} from \"mobx\";\nimport {inject, observer} from \"mobx-react\";\nimport React from \"react\";\nimport {ProfileStatus, UpdateProfileInput, UpdateUserInput, UserRole, UserStatus} from \"../../API\";\nimport CancelButton from \"../../components/form/CancelButton\";\nimport FormValidator from \"../../components/form/FormValidator\";\nimport ProgressButton from \"../../components/form/ProgressButton\";\nimport TextFieldValidator from \"../../components/form/TextFieldValidator\";\nimport TextMenuFieldValidator from \"../../components/form/TextMenuFieldValidator\";\nimport Profile, {ProfileStatusMessages} from \"../../model/Profile\";\nimport ProfileStore from \"../../stores/ProfileStore\";\nimport UserStore from \"../../stores/UserStore\";\nimport AddButton from \"../AddButton\";\nimport {getErrorMessage} from \"../../stores/StoreUtilities\";\nimport Notify from \"../notify/Notify\";\nimport Confirm from \"../confirm/Confirm\";\nimport JobStore from \"../../stores/JobStore\";\nimport Stack from \"../Stack\";\n\nconst styles = (theme: Theme) => createStyles({\n container: {\n flex: 1\n },\n progressButton: {\n minWidth: 80\n }\n})\n\nexport interface IProfileCandidateStatusDialogProps {\n profile?: Profile\n onChange?: (profile: Profile) => any\n onClose?: () => any\n userStore?: UserStore\n profileStore?: ProfileStore\n jobStore?: JobStore\n notify?: Notify\n confirm?: Confirm\n}\n\nclass ProfileCandidateStatusViewModel {\n @observable profileStatus: ProfileStatus\n @observable statusMessage?: string\n @observable notes?: string\n\n constructor (profile: Profile) {\n makeObservable(this);\n this.profileStatus = profile.profileStatus\n this.statusMessage = profile.statusMessage ?? ProfileStatusMessages[profile.profileStatus]\n this.notes = profile.notes\n }\n}\n\n@inject(\"userStore\", \"profileStore\", \"jobStore\", \"notify\", \"confirm\")\n@observer\nclass ProfileCandidateStatusDialog extends React.Component & WithTheme & WithWidth & IProfileCandidateStatusDialogProps> {\n @observable viewModel?: ProfileCandidateStatusViewModel\n @observable isProcessing = false\n\n constructor(\n props: WithStyles & WithTheme & WithWidth & IProfileCandidateStatusDialogProps\n ) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount() {\n const { profile } = this.props\n if (profile) {\n this.viewModel = new ProfileCandidateStatusViewModel(profile)\n }\n }\n\n componentDidUpdate(prevProps: any) {\n if (prevProps.profile !== this.props.profile) {\n this.componentDidMount()\n }\n }\n\n render() {\n const { profile, userStore, classes } = this.props\n\n if (!this.viewModel || !profile || !profile.user || !userStore!.isAdminOrAgent) {\n return null\n }\n\n const viewModel = this.viewModel!\n\n return (\n \n \n Candidate Status\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Save\n \n \n \n \n \n \n \n )\n }\n\n onClickProfileStatus = async (value: string) => {\n const { profile, profileStore, userStore, onChange } = this.props\n\n const profileStatus = ProfileStatus[value]\n\n // Update profile\n const updateProfileInput: UpdateProfileInput = {\n id: profile!.id,\n profileStatus\n }\n\n let updatedProfile = await profileStore!.updateProfile(updateProfileInput)\n\n if (updatedProfile) {\n // Update user role if needed\n const newRole = updatedProfile.profileStatus === ProfileStatus.Accepted ? UserRole.Candidate : UserRole.Applicant\n\n if (updatedProfile.user && updatedProfile.user!.role !== newRole) {\n console.log(`Updating user role to: ${newRole}`)\n const updateUserInput: UpdateUserInput = {\n id: updatedProfile.user!.id,\n role: newRole\n }\n\n const updatedUser = await userStore!.updateUser(updateUserInput)\n if (updatedUser) {\n updatedProfile.user = updatedUser\n }\n }\n\n if (onChange) {\n onChange(updatedProfile)\n }\n }\n }\n\n handleChange = (event: React.ChangeEvent) => {\n const name = event.target.name\n this.viewModel![name] = event.target.value\n if (name === \"profileStatus\") {\n this.viewModel!.statusMessage = ProfileStatusMessages[event.target.value]\n }\n }\n\n handleClose = () => {\n if (this.props.onClose) {\n this.props.onClose()\n }\n }\n\n handleDelete = async () => {\n const {profileStore, jobStore, userStore, confirm, notify} = this.props\n\n try {\n confirm!.show(\n 'Confirm Delete',\n 'Are you sure that you want to delete this applicant? All applicant data will be lost.',\n ['Delete', 'Cancel'],\n async () => {\n const profile = await profileStore!.getUserProfile(this.props.profile!.userId)\n if (profile) {\n await profileStore!.deleteProfile(profile)\n const jobInterests = await jobStore!.listJobInterestsByUser(profile.userId)\n if (jobInterests.length > 0) {\n await Promise.all((jobInterests).map(({ id }) => jobStore!.deleteJobInterest(id)))\n }\n const jobCandidates = await jobStore!.listJobCandidatesByProfile(profile.id)\n if (jobCandidates.length > 0) {\n await Promise.all((jobCandidates).map(({ id }) => jobStore!.deleteJobCandidate(id)))\n }\n const update: UpdateUserInput = {\n id: profile.userId,\n userStatus: UserStatus.Suspended\n }\n const updatedUser = await userStore!.updateUser(update)\n if (updatedUser) {\n notify!.show('success', 'Candidate deleted')\n this.handleClose()\n if (this.props.onChange) {\n profile.profileStatus = ProfileStatus.Inactive\n this.props.onChange(profile)\n }\n return true\n }\n }\n return false\n })\n } catch (err) {\n notify!.show('error', getErrorMessage(err))\n }\n }\n\n onSubmit = async () => {\n const { profile, profileStore, userStore } = this.props\n const viewModel = this.viewModel!\n\n if (this.props.onChange) {\n this.isProcessing = true\n\n // Update profile\n const updateProfileInput: UpdateProfileInput = {\n id: profile!.id,\n profileStatus: viewModel.profileStatus,\n statusMessage: viewModel.statusMessage,\n notes: viewModel!.notes,\n }\n\n let updatedProfile = await profileStore!.updateProfile(updateProfileInput)\n\n if (updatedProfile) {\n // Update user role if needed\n const newRole = updatedProfile.profileStatus === ProfileStatus.Accepted ? UserRole.Candidate : UserRole.Applicant\n\n if (updatedProfile.user && updatedProfile.user!.role !== newRole) {\n console.log(`Updating user role to: ${newRole}`)\n const updateUserInput: UpdateUserInput = {\n id: updatedProfile.user!.id,\n role: newRole\n }\n\n const updatedUser = await userStore!.updateUser(updateUserInput)\n if (updatedUser) {\n updatedProfile.user = updatedUser\n }\n }\n\n this.props.onChange(updatedProfile)\n this.isProcessing = false\n this.handleClose()\n } else {\n this.isProcessing = false\n }\n }\n }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(ProfileCandidateStatusDialog)))\n","import * as React from \"react\";\n\ninterface ITextBlockProps {\n children: any\n}\n\nclass TextBlock extends React.Component {\n render() {\n const { children } = this.props\n\n if (typeof children === 'string') {\n return children.split('\\n').map((p, idx) =>

{p}

)\n } else {\n return children\n }\n }\n}\n\nexport default TextBlock","import {\n Card,\n CardContent,\n createStyles,\n Grid,\n Theme,\n Typography,\n withStyles,\n WithStyles\n} from \"@material-ui/core\";\nimport { format, isToday, isYesterday } from \"date-fns\";\nimport { inject, observer } from \"mobx-react\";\nimport * as React from \"react\";\nimport Profile from \"../../model/Profile\";\nimport ProfileStore from \"../../stores/ProfileStore\";\nimport { isoToLocalDateTime } from \"../../stores/StoreUtilities\";\nimport ActionLink from \"../../components/ActionLink\";\nimport IconicButton from \"../../components/controls/IconicButton\";\nimport EditIcon from \"@material-ui/icons/Edit\";\nimport User from \"../../model/User\";\nimport {makeObservable, observable} from \"mobx\";\nimport ProfileCandidateStatusDialog from \"../../components/profile/ProfileCandidateStatusDialog\";\nimport TextBlock from \"../../components/TextBlock\";\n\nconst styles = (theme: Theme) => createStyles({\n container: {\n minHeight: \"100%\"\n },\n card: {\n fontSize: 12,\n padding: '8px !important', // overriding CardContent root setting\n },\n icon: {\n fontSize: 45,\n height: 45,\n paddingRight: theme.spacing(2),\n },\n name: {\n fontSize: 15,\n fontWeight: 600,\n paddingBottom: theme.spacing(0)\n },\n title: {\n paddingTop: '3px',\n paddingBottom: '6px',\n },\n label: {\n fontSize: 11,\n fontWeight: 200,\n // marginTop: 4,\n },\n fedExperience: {\n color: theme.palette.secondary.dark\n },\n message: {\n paddingTop: '3px',\n maxHeight: 130,\n overflowY: \"hidden\"\n },\n notes: {\n paddingTop: '3px',\n maxHeight: 130,\n overflowY: \"hidden\"\n },\n body: {\n },\n fields: {\n\n },\n editButton: {\n height: 24,\n width: 24\n },\n editIcon: {\n height: 18,\n width: 18\n }\n})\n\ninterface IApplicantCardProps {\n user: any\n profileStore?: ProfileStore\n onClick?(user: User): void\n onChange?(user: User): void\n}\n\n@inject(\"profileStore\")\n@observer\nclass ApplicantCard extends React.Component & IApplicantCardProps> {\n\n @observable user?: User\n @observable isFormOpen = false\n\n constructor(props: any) {\n super(props)\n makeObservable(this)\n }\n\n componentDidMount() {\n this.user = this.props.user\n }\n\n componentDidUpdate(prevProps: any) {\n if (this.props.user !== prevProps.user) {\n this.componentDidMount()\n }\n }\n\n render() {\n const { classes } = this.props\n const user = this.user\n if (!user) {\n return null\n }\n\n const profile: Profile | undefined = user.profile\n const profileMessage = profile?.statusMessage ?? \"\"\n const profileNotes = profile?.notes ?? \"\"\n const federalExperience = profile?.federalExperience ? `${Math.round(profile!.federalExperience * 100) / 100} years` : ``\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n Updated {this.formatDate(profile?.updatedAt)}\n \n {federalExperience &&\n \n \n {federalExperience} federal experience\n \n \n }\n {profileNotes &&\n \n Notes\n {/*{profileNotes}*/}\n {profileNotes}\n \n }\n {profileMessage &&\n \n Message\n {/*{profileMessage}*/}\n {profileMessage}\n \n }\n \n \n {this.isFormOpen &&\n \n }\n \n )\n }\n\n formatDate(isoDateTime: string | undefined) {\n let result = \"\"\n if (isoDateTime) {\n let date = isoToLocalDateTime(isoDateTime)\n if (isToday(date)) {\n result = format(date, \"h:mm aa\")\n } else if (isYesterday(date)) {\n result = \"Yesterday\"\n } else {\n result = format(date, \"M/d/yy\")\n }\n }\n\n return result\n }\n\n onCardClick = async () => {\n if (this.props.onClick) {\n this.props.onClick(this.user!)\n }\n }\n\n onEdit = () => {\n this.isFormOpen = true\n }\n\n onChange = (profile: Profile) => {\n this.user!.profile = profile\n if (this.props.onChange) {\n this.props.onChange(this.user!)\n }\n this.isFormOpen = false\n }\n\n onClose = () => {\n this.isFormOpen = false\n }\n}\n\nexport default withStyles(styles)(ApplicantCard)","import { Box, Drawer, Grid, LinearProgress, Typography } from \"@material-ui/core\";\nimport AppBar from '@material-ui/core/AppBar';\nimport { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';\nimport Toolbar from '@material-ui/core/Toolbar';\nimport { inject, observer } from \"mobx-react\";\nimport * as React from 'react';\nimport UserStore from \"../../stores/UserStore\";\nimport Progress from \"../Progress\";\nimport {makeObservable, observable} from \"mobx\";\nimport IconicButton from \"../controls/IconicButton\";\nimport CloseIcon from '@material-ui/icons/Close';\n\nconst drawerWidth = 360;\n\nconst styles = (theme: Theme) => createStyles({\n appBar: {\n top: 0,\n backgroundColor: theme.palette.primary.main,\n height: 76,\n maxHeight: 76,\n width: drawerWidth,\n },\n appBarLarge: {\n top: 0,\n backgroundColor: theme.palette.primary.main,\n height: 76,\n maxHeight: 76,\n [theme.breakpoints.down('xs')]: {\n width: 360,\n },\n [theme.breakpoints.up('sm')]: {\n width: \"90%\",\n maxWidth: theme.breakpoints.values.lg\n },\n },\n toolBar: {\n minHeight: 76,\n height: 76\n },\n drawer: {\n width: \"100%\",\n flexShrink: 0,\n },\n drawerPaper: {\n width: drawerWidth,\n backgroundColor: theme.palette.grey[200]\n },\n drawerPaperLarge: {\n [theme.breakpoints.down('xs')]: {\n width: 360,\n },\n [theme.breakpoints.up('sm')]: {\n width: \"90%\",\n maxWidth: theme.breakpoints.values.lg\n },\n backgroundColor: theme.palette.grey[100]\n },\n closeButton: {\n color: theme.palette.common.white \n },\n progressWrapper: {\n flexGrow: 1\n },\n progress: {\n height: 3,\n backgroundColor: \"#d72222\" // Logo red\n },\n})\n\ninterface ISideDrawerProps {\n anchor?: 'right' | 'left' | 'top' | 'bottom'\n title: string \n isOpen: boolean\n onClose(): void\n size: 'large' | 'small' // If set as large, renders an overlay of 90% width of the page and 360px for mobile. Otherwise is small, 360px for all sizes.\n\n userStore?: UserStore\n progress?: Progress\n}\n\n@inject(\"userStore\", \"progress\")\n@observer\nclass SideDrawer extends React.Component & ISideDrawerProps> {\n @observable isOpen: boolean = false // Needs this fake observable variable for MobX to not complain. \n\n constructor(props: WithStyles & ISideDrawerProps) {\n super(props);\n makeObservable(this);\n }\n\n render() {\n const { anchor, classes, isOpen, size, onClose, progress, title } = this.props\n\n return (\n \n \n \n \n \n \n \n {title}\n \n \n \n \n \n \n \n \n \n
\n {
\n
\n \n {React.Children.map(this.props.children, (child: any, index: number) => {\n // TODO: Render children as a grid. \n return child \n })}\n \n
\n
\n )\n }\n}\n\nexport default withStyles(styles)(SideDrawer)\n","import React from \"react\";\nimport {\n alpha,\n Box, \n Button, \n Grid, \n GridDirection, \n GridItemsAlignment, \n Hidden, \n isWidthDown,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport { createStyles, Theme, WithStyles, WithTheme } from \"@material-ui/core\";\nimport { withStyles, withTheme } from \"@material-ui/core/styles\";\nimport FormValidator from \"../form/FormValidator\";\nimport MenuIcon from '@material-ui/icons/Menu';\nimport DialogButton from \"../form/DialogButton\";\nimport SideDrawer from \"../page/SideDrawer\";\nimport Progress from \"../Progress\";\nimport { inject, observer } from \"mobx-react\";\n\nconst styles = (theme: Theme) => createStyles({\n filterBar: {\n height: 56\n },\n filterButtonOff: {\n backgroundColor: theme.palette.secondary.main,\n color: '#fff',\n borderWidth: 0,\n minWidth: 40,\n marginTop: 0,\n marginRight: 8,\n paddingLeft: 0,\n paddingRight: 0,\n boxShadow: 'rgba(0, 0, 0, 0.25) 0px 1px 3px 0px',\n \"&:hover\": {\n borderWidth: 0,\n backgroundColor: alpha(theme.palette.secondary.light, 0.8),\n },\n transform: \"rotate(0)\"\n },\n filterButtonOn: {\n backgroundColor: theme.palette.secondary.main,\n color: '#fff',\n borderWidth: 0,\n minWidth: 40,\n marginTop: 0,\n marginRight: 8,\n paddingLeft: 0,\n paddingRight: 0,\n boxShadow: 'rgba(0, 0, 0, 0.25) 0px 1px 3px 0px',\n \"&:hover\": {\n borderWidth: 0,\n backgroundColor: alpha(theme.palette.secondary.light, 0.8),\n },\n transform: \"rotate(-180deg)\"\n },\n filterField: {\n flexGrow: 1\n },\n drawer: {\n padding: theme.spacing(2) \n }\n})\n\nexport interface IFilterBarProps {\n buttons?: React.ReactNode[]\n searchResultCount?: number \n\n progress?: Progress\n}\n\n@inject(\"progress\")\n@observer\nclass FilterBar extends React.Component & WithTheme & IFilterBarProps & WithWidth> {\n\n state = {\n isFilterOpen: false,\n }\n\n renderDrawer() {\n const { classes, progress, searchResultCount, theme } = this.props \n return (\n {\n this.toggleFilter()\n }} \n >\n \n { this.renderFields(\"column\", \"stretch\") }\n \n {\n this.toggleFilter()\n }}\n disabled={progress!.isVisible || (searchResultCount ? searchResultCount === 0 : true)}\n >\n {`View Results ${searchResultCount ? searchResultCount : 0}`}\n \n \n \n \n )\n }\n\n renderFields(direction: GridDirection, alignItems: GridItemsAlignment) {\n const { classes } = this.props \n return (\n \n {React.Children.map(this.props.children, (child: any, index: number) => {\n if (child !== null) {\n return (\n \n {child}\n \n )\n }\n })}\n \n )\n }\n\n renderButtons() {\n const { buttons, classes, width } = this.props \n const isSmall = isWidthDown('sm', width)\n\n return (\n \n \n \n \n \n \n \n \n {buttons && buttons.map((button: React.ReactNode, index: number) => {\n return (\n \n \n {button}\n \n \n )\n })}\n \n )\n }\n\n render() {\n const { classes } = this.props\n \n return (\n \n \n \n \n \n {this.renderFields(\"row\", \"center\")}\n \n \n \n {this.renderButtons()}\n \n \n { this.renderDrawer() }\n \n \n )\n }\n\n toggleFilter = () => {\n this.setState({isFilterOpen: !this.state.isFilterOpen})\n }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(FilterBar)))","import Service from \"./Service\";\n\n\nexport class ServiceGroup {\n id: string\n createdAt: string\n updatedAt: string\n name: string\n services: Service[]\n industries: string[]\n default: boolean\n\n constructor(data: any) {\n this.id = data.id\n this.createdAt = data.createdAt\n this.updatedAt = data.updatedAt\n this.name = data.name\n this.services = []\n if (data.services && data.services.items) {\n this.loadServices(data.services.items)\n }\n this.industries = data.industries ?? []\n this.default = data.default\n }\n\n loadServices(services: any[]) {\n this.services = services.map((item: any) => {\n const service = new Service(item)\n return service\n })\n }\n}\n\nexport default ServiceGroup","\nclass CertificationType {\n id: string\n createdAt: string\n updatedAt: string\n name: string\n active: boolean\n industries: string[]\n\n constructor(data: any) {\n this.id = data.id\n this.createdAt = data.createdAt\n this.updatedAt = data.updatedAt\n this.name = data.name\n this.active = data.active\n this.industries = data.industries ?? []\n }\n}\n\nexport default CertificationType","export class Agency {\n id: string\n createdAt: string\n agency_display_name: string\n agency_name: string\n cgac_agency_code: string\n order: number\n\n constructor(data: any) {\n this.id = data.Id\n this.createdAt = data.createdAt\n this.agency_display_name = data.agency_display_name\n this.agency_name = data.agency_name\n this.cgac_agency_code = data.cgac_agency_code\n this.order = data.order\n }\n}\n\nexport default Agency","export class Naics {\n id: string\n createdAt: string\n naics_title: string\n naics_code: string\n\n constructor(data: any) {\n this.id = data.Id\n this.createdAt = data.createdAt\n this.naics_title = data.naics_title\n this.naics_code = data.naics_code\n }\n}\n\nexport default Naics","export class PcsCategory {\n id: string\n createdAt: string\n name: string\n psccode: string\n\n constructor(data: any) {\n this.id = data.Id\n this.createdAt = data.createdAt\n this.name = data.name\n this.psccode = data.psccode\n }\n}\n\nexport default PcsCategory","/* eslint-disable @typescript-eslint/no-unused-vars */\nimport GovGigAPI from \"../apis/GovGigAPI\";\nimport OpportunitiesAPI from \"../apis/OpportunitiesAPI\";\nimport Location from \"../model/Location\";\nimport {ServiceGroup} from \"../model/ServiceGroup\";\nimport Service from \"../model/Service\";\nimport Profile from \"../model/Profile\";\nimport ProfileLocation from \"../model/ProfileLocation\";\nimport ProfileService from \"../model/ProfileService\";\nimport Logger from \"../components/Logger\";\nimport {makeObservable, observable} from \"mobx\";\nimport {CreateCertificationTypeInput, CreateLocationInput, CreateServiceInput} from \"../API\";\nimport Geohash from \"latlon-geohash\";\nimport CertificationType from \"../model/CertificationType\";\nimport Agency from \"../model/opportunity/Agency\";\nimport Naics from \"../model/opportunity/Naics\";\nimport PcsCategory from \"../model/opportunity/PcsCategory\";\n\nexport default class ResourceCache {\n @observable isLoading: boolean = false\n govGigAPI: GovGigAPI\n opportunitiesAPI: OpportunitiesAPI\n locations: Location[] = []\n locationMap = {}\n locationOptions: LocationOption[] = []\n serviceGroups: ServiceGroup[] = []\n services: Service[] = []\n serviceMap = {}\n serviceOptions: ServiceOption[] = []\n certificationTypes: CertificationType[] = []\n agencyTypes: Agency[] = []\n naicsTypes: Naics[] = []\n pscCategories: PcsCategory[] = []\n\n constructor(options: any) {\n this.govGigAPI = (options && options.govGigAPI) ? options.govGigAPI : null\n makeObservable(this);\n this.opportunitiesAPI = (options && options.opportunitiesAPI) ? options.opportunitiesAPI : null\n }\n\n async init() {\n if (!this.isLoading) {\n this.isLoading = true\n\n const promises : Promise[] = []\n promises.push(this.listLocations())\n promises.push(this.listServiceGroups())\n await Promise.all(promises)\n this.getLocationOptions()\n this.getServiceOptions()\n this.listCertificationTypes()\n this.isLoading = false\n Logger.debug(\"ResourceCache initialized\")\n }\n }\n\n listLocations = async () => {\n\n if (this.locations.length === 0) {\n let locations: Location[] = []\n let data\n let nextToken: string | undefined\n\n do {\n data = await this.govGigAPI.listLocations(undefined, 1000, nextToken)\n if (data && data.items) {\n data.items.forEach((item: any) => {\n locations.push(new Location(item))\n })\n nextToken = data.nextToken ?? undefined\n }\n } while (data && nextToken)\n this.locations = locations\n \n // Build locationMap\n this.locationMap = {}\n this.loadLocationMap(this.locations)\n }\n\n return this.locations\n }\n\n loadLocationMap = (locations: Location[]) => {\n locations.forEach((location: Location) => {\n this.locationMap[location.id] = location\n })\n }\n\n getLocation = (id: string, create: boolean = false): Location | undefined => {\n let location = this.locationMap[id]\n if (!location && create) {\n // Create a location from the geohash\n const point = Geohash.decode(id)\n location = new Location({\n id: id,\n active: false,\n organizationName: \"Geohash\",\n name: `${point.lat}, ${point.lon}`,\n region: 'Somewhere',\n latitude: point.lat,\n longitude: point.lon\n })\n this.addLocation(location)\n }\n return location\n }\n\n addLocation = (location: Location) => {\n if (!this.locationMap[location.id]) {\n this.locationMap[location.id] = location\n this.locations.push(location)\n } else {\n this.locationMap[location.id] = location\n const index = this.locations.findIndex((l: Location) => l.id === location.id)\n if (index >= 0) {\n this.locations[index] = location\n }\n }\n\n if (!this.getLocationOption(location.id)) {\n // Add Location Option\n const locationOption = new LocationOption(location.id, location.name, location.region ?? location.country)\n this.locationOptions.push(locationOption)\n }\n }\n\n createLocation = async (input: CreateLocationInput) => {\n const data = await this.govGigAPI.createLocation(input)\n if (data) {\n Logger.info(`Created Location: ${input.name}`)\n const location = new Location(data)\n this.addLocation(location)\n return location\n } else {\n return undefined\n }\n }\n\n activateLocation = async (locationId: string | undefined | null) => {\n // This creates an active Location from a temporary (!active) one.\n if (!locationId) {\n return undefined\n }\n const location = this.getLocation(locationId)\n if (location && !location.active) {\n const input: CreateLocationInput = {\n ...location,\n active: true\n }\n return await this.createLocation(input)\n } else {\n return location\n }\n }\n\n\n /**\n * Load the Location objects for each ProfileLocation in the Profile.\n * @param profile The profile object. \n */\n loadLocationsForProfile = (profile: Profile) => {\n if (profile.profileLocations && profile.profileLocations.length > 0) {\n profile.profileLocations.forEach((profileLocation: ProfileLocation) => {\n profileLocation.location = this.locationMap[profileLocation.locationId]\n })\n\n profile!.profileLocations.sort((a: ProfileLocation, b:ProfileLocation) => {\n if (a.location && b.location) {\n const aState = a.location.state ?? a.location.country\n const bState = b.location.state ?? b.location.country\n if (aState !== bState) {\n return aState.localeCompare(bState)\n } else {\n return a.location.name.localeCompare(b.location.name)\n }\n } else {\n return 0\n }\n })\n }\n }\n\n getLocationOptions() {\n if (this.locationOptions.length === 0) {\n const locationOptions: LocationOption[] = []\n\n this.locations.forEach((location: Location) => {\n if (location.active) {\n // const group = location.organizationName === \"Places\" ? \"Places\" : location.state ?? location.country ?? \"\"\n const group = location.state ?? location.country ?? \"\"\n locationOptions.push(new LocationOption(location.id, location.name, group))\n location.aliases.forEach((alias: string) => {\n locationOptions.push(new LocationOption(location.id, alias, group))\n })\n }\n })\n\n locationOptions.sort((a: LocationOption, b: LocationOption) => {\n const groupCompare = a.group.localeCompare(b.group)\n return (groupCompare === 0) ? a.name.localeCompare(b.name) : groupCompare\n })\n\n this.locationOptions = locationOptions\n }\n\n return this.locationOptions\n }\n\n getLocationOption(locationId: string) {\n return this.locationOptions.find((option: LocationOption) => option.id === locationId)\n }\n\n matchLocationOptions(text: string, exact: boolean = false): LocationOption[] {\n let options: LocationOption[] = []\n\n if (text && text.length > 0) {\n const searchFor = text.toLocaleLowerCase()\n\n this.locationOptions.forEach((option: LocationOption) => {\n if (option.name &&\n ((exact && option.name.toLocaleLowerCase() === searchFor) ||\n (!exact && option.name.toLocaleLowerCase().indexOf(searchFor) >= 0))) {\n options.push(option)\n }\n })\n }\n\n return options\n }\n\n // ServiceGroup / Service methods\n\n listServiceGroups = async (): Promise => {\n if (this.serviceGroups.length === 0) {\n const serviceGroupData = await this.govGigAPI.listServiceGroups()\n if (serviceGroupData && serviceGroupData.items) {\n this.serviceGroups = serviceGroupData.items.map((item: any) => new ServiceGroup(item))\n this.serviceGroups.sort((a: ServiceGroup, b: ServiceGroup) => a.name.localeCompare(b.name))\n\n // Build serviceMap\n this.serviceMap = {}\n this.serviceGroups.forEach((group: ServiceGroup) => {\n group.services.forEach((service: Service) => {\n this.serviceMap[service.id] = service\n this.services.push(service)\n })\n group.services.sort((a: Service, b: Service) => a.name.localeCompare(b.name))\n })\n\n this.services.sort((a: Service, b: Service) => a.name.localeCompare(b.name))\n Logger.info(`Loaded ${this.services.length} Services`)\n }\n }\n\n return this.serviceGroups\n }\n\n getServiceGroups = (industry?: string): ServiceGroup[] => {\n if (!industry) {\n return [...this.serviceGroups]\n } else {\n return this.serviceGroups.filter((group: ServiceGroup) => group.industries.indexOf(industry) >= 0)\n }\n }\n\n getServices = (): Service[] => {\n return this.services\n }\n\n getServiceGroup = (id: string): ServiceGroup | undefined => {\n return this.serviceGroups.find((serviceGroup: ServiceGroup) => serviceGroup.id === id)\n }\n\n getService = (id: string): Service | undefined => {\n return this.serviceMap[id]\n }\n \n addService = (service: Service) => {\n if (!service.serviceGroupId) {\n service.serviceGroupId = 'other'\n }\n if (!service.serviceGroup) {\n service.serviceGroup = this.getServiceGroup(service.serviceGroupId) ?? this.getServiceGroup('other')\n }\n\n if (service.serviceGroup && !service.serviceGroup.services.find((s: Service) => s.id === service.id)) {\n // Add the service to the service group\n service.serviceGroup.services.push(service)\n service.serviceGroup.services.sort((a: Service, b: Service) => a.name.localeCompare(b.name))\n }\n\n if (!this.serviceMap[service.id]) {\n this.serviceMap[service.id] = service\n this.services.push(service)\n } else {\n this.serviceMap[service.id] = service\n const index = this.services.findIndex((l: Service) => l.id === service.id)\n if (index >= 0) {\n this.services[index] = service\n }\n }\n\n // Clear ServiceOptions to repopulate when requested next\n this.serviceOptions = []\n this.getServiceOptions()\n\n return service\n }\n\n createService = async (input: CreateServiceInput) => {\n const data = await this.govGigAPI.createService(input)\n if (data) {\n Logger.info(`Created Service: ${input.name}`)\n const service = new Service(data)\n this.addService(service)\n return service\n } else {\n return undefined\n }\n }\n\n activateService = async (serviceId: string | undefined | null) => {\n // This creates an active Service from a temporary (!active) one.\n if (!serviceId) {\n return undefined\n }\n let service = this.getService(serviceId)\n if (service && !service.active) {\n const input: CreateServiceInput = {\n id: service.id,\n name: service.name,\n active: true,\n serviceGroupId: service.serviceGroupId,\n industries: service.industries\n }\n service = await this.createService(input)\n } else {\n return service\n }\n }\n\n /**\n * For a given profile, load the Service object for each ProfileService. \n * @param profile The profile object. \n */\n loadServicesForProfile = (profile: Profile) => {\n if (profile.profileServices && profile.profileServices.length > 0) {\n profile.profileServices.forEach((profileService: ProfileService) => {\n profileService.service = this.serviceMap[profileService.serviceId]\n })\n profile!.profileServices.sort((a: ProfileService, b:ProfileService) => {\n return (a.service && b.service) ? a.service.name!.localeCompare(b.service.name!) : 0\n })\n }\n }\n\n \n getServiceOptions(industry?: string) {\n if (this.serviceOptions.length === 0) {\n const serviceOptions: ServiceOption[] = []\n\n this.serviceGroups.forEach((group: ServiceGroup) => {\n group.services.forEach((service: Service) => {\n serviceOptions.push(new ServiceOption(service.id, service.name, group.name, service.industries))\n })\n })\n\n serviceOptions.sort((a: ServiceOption, b: ServiceOption) => {\n const groupCompare = a.group.localeCompare(b.group)\n return (groupCompare === 0) ? a.name.localeCompare(b.name) : groupCompare\n })\n this.serviceOptions = serviceOptions\n }\n\n if (!industry) {\n return this.serviceOptions\n } else {\n return this.serviceOptions.filter((option: ServiceOption) => option.industries.includes(industry))\n }\n }\n\n getServiceOption(serviceId: string) {\n return this.serviceOptions.find((option: ServiceOption) => option.id === serviceId)\n }\n\n getServiceOptionByName(name: string) {\n const value = name.toLowerCase()\n return this.serviceOptions.find((option: ServiceOption) => option.name.toLowerCase() === value)\n }\n\n getServiceGroupByName(name: string) {\n const value = name.toLowerCase()\n return this.serviceGroups.find((group: ServiceGroup) => group.name.toLowerCase() === value)\n }\n \n // CertificationTypes\n\n listCertificationTypes = async () => {\n if (this.certificationTypes.length === 0) {\n const data = await this.govGigAPI.listCertificationTypes()\n if (data && data.items) {\n this.certificationTypes = data.items.map((item: any) => new CertificationType(item))\n this.certificationTypes.sort((a: CertificationType, b: CertificationType) => a.name.localeCompare(b.name))\n }\n }\n\n return this.certificationTypes\n }\n\n getCertificationTypes(industry?: string) {\n if (!industry) {\n return this.certificationTypes\n } else {\n return this.certificationTypes.filter((option: CertificationType) => option.industries.includes(industry))\n }\n }\n\n getCertificationTypeByName(name: string) {\n return this.certificationTypes.find((item: CertificationType) => item.name === name)\n }\n \n getCertificationType(id: string) {\n return this.certificationTypes.find((item: CertificationType) => item.id === id)\n }\n\n addCertificationType = (certificationType: CertificationType) => {\n const index = this.certificationTypes.findIndex((l: CertificationType) => l.id === certificationType.id)\n if (index >= 0) {\n this.certificationTypes[index] = certificationType\n } else {\n this.certificationTypes.push(certificationType)\n }\n\n return certificationType\n }\n\n createCertificationType = async (input: CreateCertificationTypeInput) => {\n const data = await this.govGigAPI.createCertificationType(input)\n if (data) {\n const certificationType = new CertificationType(data)\n this.addCertificationType(certificationType)\n return certificationType\n } else {\n return undefined\n }\n }\n\n activateCertificationType = async (certificationTypeId: string | undefined | null) => {\n // This creates an active CertificationType from a temporary (!active) one.\n if (!certificationTypeId) {\n return undefined\n }\n let certificationType = this.getCertificationType(certificationTypeId)\n if (certificationType && !certificationType.active) {\n const input: CreateCertificationTypeInput = {\n id: certificationType.id,\n name: certificationType.name,\n active: true,\n industries: certificationType.industries\n }\n certificationType = await this.createCertificationType(input)\n } else {\n return certificationType\n }\n }\n\n listSecurityClearances(): string[] {\n return [\n \"Top Secret/SCI/ESP\",\n \"Top Secret/SCI\",\n \"Top Secret\",\n \"Secret\",\n \"Confidential\",\n \"Public Trust\",\n \"DOE Q or L\"\n ]\n }\n\n // State & Country functions\n\n stateAbbrs = {\"AZ\":\"Arizona\",\"AL\":\"Alabama\",\"AK\":\"Alaska\",\"AR\":\"Arkansas\",\"CA\":\"California\",\"CO\":\"Colorado\",\"CT\":\"Connecticut\",\"DC\":\"District of Columbia\",\"DE\":\"Delaware\",\"FL\":\"Florida\",\"GA\":\"Georgia\",\"HI\":\"Hawaii\",\"ID\":\"Idaho\",\"IL\":\"Illinois\",\"IN\":\"Indiana\",\"IA\":\"Iowa\",\"KS\":\"Kansas\",\"KY\":\"Kentucky\",\"LA\":\"Louisiana\",\"ME\":\"Maine\",\"MD\":\"Maryland\",\"MA\":\"Massachusetts\",\"MI\":\"Michigan\",\"MN\":\"Minnesota\",\"MS\":\"Mississippi\",\"MO\":\"Missouri\",\"MT\":\"Montana\",\"NE\":\"Nebraska\",\"NV\":\"Nevada\",\"NH\":\"New Hampshire\",\"NJ\":\"New Jersey\",\"NM\":\"New Mexico\",\"NY\":\"New York\",\"NC\":\"North Carolina\",\"ND\":\"North Dakota\",\"OH\":\"Ohio\",\"OK\":\"Oklahoma\",\"OR\":\"Oregon\",\"PA\":\"Pennsylvania\",\"RI\":\"Rhode Island\",\"SC\":\"South Carolina\",\"SD\":\"South Dakota\",\"TN\":\"Tennessee\",\"TX\":\"Texas\",\"UT\":\"Utah\",\"VT\":\"Vermont\",\"VA\":\"Virginia\",\"WA\":\"Washington\",\"WV\":\"West Virginia\",\"WI\":\"Wisconsin\",\"WY\":\"Wyoming\",\"AB\":\"Alberta\",\"BC\":\"British Columbia\",\"MB\":\"Manitoba\",\"NB\":\"New Brunswick\",\"NF\":\"Newfoundland\",\"NT\":\"Northwest Territory\",\"NS\":\"Nova Scotia\",\"NU\":\"Nunavut\",\"ON\":\"Ontario\",\"PE\":\"Prince Edward Island\",\"QC\":\"Quebec\",\"SK\":\"Saskatchewan\",\"YT\":\"Yukon\"};\n\n stateNames = {\"arizona\":\"AZ\",\"alabama\":\"AL\",\"alaska\":\"AK\",\"arkansas\":\"AR\",\"california\":\"CA\",\"colorado\":\"CO\",\"connecticut\":\"CT\",\"districtofcolumbia\":\"DC\",\"delaware\":\"DE\",\"florida\":\"FL\",\"georgia\":\"GA\",\"hawaii\":\"HI\",\"idaho\":\"ID\",\"illinois\":\"IL\",\"indiana\":\"IN\",\"iowa\":\"IA\",\"kansas\":\"KS\",\"kentucky\":\"KY\",\"louisiana\":\"LA\",\"maine\":\"ME\",\"maryland\":\"MD\",\"massachusetts\":\"MA\",\"michigan\":\"MI\",\"minnesota\":\"MN\",\"mississippi\":\"MS\",\"missouri\":\"MO\",\"montana\":\"MT\",\"nebraska\":\"NE\",\"nevada\":\"NV\",\"newhampshire\":\"NH\",\"newjersey\":\"NJ\",\"newmexico\":\"NM\",\"newyork\":\"NY\",\"northcarolina\":\"NC\",\"northdakota\":\"ND\",\"ohio\":\"OH\",\"oklahoma\":\"OK\",\"oregon\":\"OR\",\"pennsylvania\":\"PA\",\"rhodeisland\":\"RI\",\"southcarolina\":\"SC\",\"southdakota\":\"SD\",\"tennessee\":\"TN\",\"texas\":\"TX\",\"utah\":\"UT\",\"vermont\":\"VT\",\"virginia\":\"VA\",\"washington\":\"WA\",\"westvirginia\":\"WV\",\"wisconsin\":\"WI\",\"wyoming\":\"WY\",\"alberta\":\"AB\",\"britishcolumbia\":\"BC\",\"manitoba\":\"MB\",\"newbrunswick\":\"NB\",\"newfoundland\":\"NF\",\"northwestterritory\":\"NT\",\"novascotia\":\"NS\",\"nunavut\":\"NU\",\"ontario\":\"ON\",\"princeedwardisland\":\"PE\",\"quebec\":\"QC\",\"saskatchewan\":\"SK\",\"yukon\":\"YT\"}\n \n getStateAbbrFromName(input: string) {\n let foundAbbr\n \n if (input) {\n const strInput = input.trim();\n if (strInput.length === 2) {\n // already abbr, check if it's valid\n const upStrInput = strInput.toUpperCase();\n foundAbbr = this.stateAbbrs[upStrInput] ? upStrInput : undefined;\n } else {\n const strStateToFind = strInput.toLowerCase().replace(/ /g, '');\n foundAbbr = this.stateNames[strStateToFind];\n }\n }\n \n return foundAbbr;\n }\n\n getStateNameFromAbbr(input: string) {\n let foundFullName\n \n if (input) {\n var strInput = input.trim();\n if (strInput.length !== 2) {\n // already full name, return formatted fullname\n foundFullName = this.stateAbbrs[this.getStateAbbrFromName(strInput)];\n } else {\n var strStateToFind = strInput.toLowerCase().replace(/ /g, '');\n foundFullName = this.stateAbbrs[strStateToFind];\n }\n }\n\n return foundFullName ;\n }\n \n countryAbbrs = {\"CA\": \"Canada\", \"US\": \"United States\"}\n \n countryNames = {\"canada\": \"CA\", \"unitedstates\": \"US\", \"usa\": \"US\", \"unitedstatesofamerica\": \"US\"}\n\n getCountryAbbrFromName(input: string) {\n let foundAbbr\n\n if (input) {\n const strInput = input.trim();\n if (strInput.length === 2) {\n // already abbr, check if it's valid\n const upStrInput = strInput.toUpperCase();\n foundAbbr = this.countryAbbrs[upStrInput] ? upStrInput : undefined;\n } else {\n const strCountryToFind = strInput.toLowerCase().replace(/ /g, '');\n foundAbbr = this.countryNames[strCountryToFind];\n }\n }\n\n return foundAbbr;\n }\n\n getCountryNameFromAbbr(input: string) {\n let foundFullName\n\n if (input) {\n var strInput = input.trim();\n if (strInput.length !== 2) {\n // already full name, return formatted fullname\n foundFullName = this.countryAbbrs[this.getCountryAbbrFromName(strInput)];\n } else {\n var strCountryToFind = strInput.toLowerCase().replace(/ /g, '');\n foundFullName = this.countryAbbrs[strCountryToFind];\n }\n }\n\n return foundFullName ;\n }\n \n // for opportunity agency list api\n async getAgencyOptions() {\n if (this.agencyTypes.length === 0) {\n const data:any = await this.opportunitiesAPI.getAgencyLists();\n if(data && data.data) {\n this.agencyTypes = data.data.map((item: any) => new Agency(item))\n this.agencyTypes.sort((a: Agency, b: Agency) => a.agency_display_name.localeCompare(b.agency_display_name))\n }\n }\n return this.agencyTypes;\n }\n\n getAgencyOption(code: string) {\n return this.agencyTypes.find((option: Agency) => option.cgac_agency_code === code)\n }\n\n // for opportunity naics list api\n async getNaicsOptions() {\n if (this.naicsTypes.length === 0) {\n const data:any = await this.opportunitiesAPI.getNaicsCodeLists();\n if(data && data.data) {\n this.naicsTypes = data.data.map((item: any) => new Naics(item))\n this.naicsTypes.sort((a: Naics, b: Naics) => a.naics_title.localeCompare(b.naics_title))\n }\n }\n return this.naicsTypes;\n }\n\n getNaicsOption(code: string) {\n return this.naicsTypes.find((option: Naics) => option.naics_code === code)\n }\n\n\n // for opportunity psc code list api\n async getPscCategories() {\n if (this.pscCategories.length === 0) {\n const data:any = await this.opportunitiesAPI.getPscCategories();\n if(data && data.data) {\n this.pscCategories = data.data.map((item: any) => new PcsCategory(item))\n this.pscCategories.sort((a: PcsCategory, b: PcsCategory) => a.name.localeCompare(b.name))\n }\n }\n return this.pscCategories;\n }\n\n getPscCategoriesInfo(code: string) {\n return this.pscCategories.find((option: PcsCategory) => option.psccode === code)\n }\n\n \n}\n\nexport class LocationOption {\n id: string\n name: string\n group: string\n\nconstructor(id: string, name: string, group: string) {\n this.id = id\n this.name = name\n this.group = group\n }\n}\n\nexport class ServiceOption {\n id: string\n name: string\n group: string\n industries: string[]\n\n constructor(id: string, name: string, group: string, industries: string[]) {\n this.id = id\n this.name = name\n this.group = group\n this.industries = industries\n }\n}\n\n\nexport class SelectOption {\n label: string\n value: string\n\n constructor(label: string, value: string) {\n this.label = label\n this.value = value\n }\n}\n","import React from \"react\";\nimport {\n TextField,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport { createStyles, Theme, WithStyles, WithTheme } from \"@material-ui/core\";\nimport { withStyles, withTheme } from \"@material-ui/core/styles\";\nimport { Autocomplete } from \"@material-ui/lab\";\nimport { makeObservable, observable, when } from \"mobx\";\nimport { inject, observer } from \"mobx-react\";\nimport UserStore from \"../../stores/UserStore\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport Progress from \"../Progress\";\nimport ResourceCache, {ServiceOption} from \"../../stores/ResourceCache\";\nimport {createUUID} from \"../../stores/StoreUtilities\";\nimport Service from \"../../model/Service\";\nimport {NAICS} from \"../../model/Industry\";\nimport TextFieldValidator from \"../form/TextFieldValidator\";\nimport Account from \"../../model/Account\";\n\nconst styles = (theme: Theme) => createStyles({\n filterTextField: {\n // width: 308,\n flexGrow: 1, \n backgroundColor: theme.palette.background.paper,\n borderRadius: 10\n }\n})\n\nexport interface IServiceFilterProps {\n onSelectService: (serviceOption?: ServiceOption) => any\n value?: ServiceOption\n industry?: string\n freeSolo?: boolean\n variant?: 'filled' | 'outlined' | 'standard'\n formvalidator?: any\n required?: boolean\n margin?: 'dense' | 'none' | 'normal'\n helperText?: React.ReactNode\n\n accountStore?: AccountStore\n resourceCache?: ResourceCache\n progress?: Progress\n userStore?: UserStore\n}\n\n@inject(\"accountStore\", \"resourceCache\", \"userStore\", \"progress\", \"formvalidator\")\n@observer\nclass ServiceFilter extends React.Component & WithTheme & IServiceFilterProps & WithWidth> {\n\n @observable isLoading: boolean = true \n @observable serviceFilter?: ServiceOption\n @observable newOptions: ServiceOption[] = []\n @observable isValid: boolean = true\n @observable industry?: string\n\n constructor(props: any) {\n super(props)\n makeObservable(this)\n }\n\n componentDidMount() {\n const { resourceCache, userStore, value, industry, formvalidator } = this.props\n if (formvalidator) {\n formvalidator.attachToForm(this)\n }\n\n when(\n // once...\n () => resourceCache!.isLoading === false,\n // ... then\n async () => {\n this.industry = industry !== undefined ? industry : userStore!.industry\n this.serviceFilter = value\n this.isLoading = false \n }\n )\n }\n\n componentDidUpdate(prevProps: any) {\n const { userStore, value, industry } = this.props\n\n if (prevProps.value !== value) {\n this.serviceFilter = this.props.value\n }\n const newIndustry = industry !== undefined ? industry : userStore!.industry\n if (this.industry !== newIndustry) {\n this.industry = newIndustry\n }\n }\n\n render() {\n const { classes, freeSolo, helperText, required, resourceCache } = this.props\n\n if (this.isLoading === true) {\n return null \n }\n\n const variant = this.props.variant ?? 'outlined'\n const margin = this.props.margin ?? 'none'\n\n return (\n option.group,\n getOptionLabel: (option: ServiceOption) => option?.name ?? option ?? '',\n getOptionSelected: (option: ServiceOption, value: ServiceOption) => value && option.name === value.name,\n onChange: this.onSelectService\n }}\n />\n )\n }\n\n validate = (value: string): boolean => {\n const isRequired = this.props.required ?? true\n this.isValid = !isRequired || (this.serviceFilter !== undefined)\n return this.isValid\n }\n\n onSelectService = (event: any, value: any, reason: string) => {\n const { userStore, resourceCache } = this.props\n\n if (value instanceof ServiceOption) {\n this.serviceFilter = value\n } else if (value) {\n // Search for existing service option\n const serviceOption = resourceCache!.getServiceOptionByName(value)\n if (serviceOption) {\n this.serviceFilter = serviceOption\n } else {\n const industries = userStore!.industry ? [userStore!.industry] : [NAICS.Construction, NAICS.InformationTechnology, NAICS.SecurityServices]\n const service = new Service({\n id: createUUID(),\n name: value,\n active: false,\n // TODO: Does this work for agents and admins?: \n serviceGroupId: userStore!.industry === NAICS.InformationTechnology ? 'it' : userStore!.industry === NAICS.SecurityServices ? \"security-services\" : 'other',\n industries\n })\n resourceCache!.addService(service)\n this.serviceFilter = resourceCache!.getServiceOption(service.id)\n }\n } else {\n this.serviceFilter = undefined\n }\n this.props.onSelectService(this.serviceFilter)\n }\n\n getServiceOption = (option: ServiceOption) => {\n if (option.id === \"new\") {\n // Create a new temporary Service\n option.id = createUUID()\n }\n }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(ServiceFilter)))","import React from \"react\";\nimport {\n TextField,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport { createStyles, Theme, WithStyles, WithTheme } from \"@material-ui/core\";\nimport { withStyles, withTheme } from \"@material-ui/core/styles\";\nimport { Autocomplete } from \"@material-ui/lab\";\nimport { makeObservable, observable, when } from \"mobx\";\nimport { inject, observer } from \"mobx-react\";\nimport UserStore from \"../../stores/UserStore\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport Progress from \"../Progress\";\nimport ResourceCache, {LocationOption} from \"../../stores/ResourceCache\";\n\nconst styles = (theme: Theme) => createStyles({\n filterTextField: {\n // width: 308,\n // width: \"100%\",\n flexGrow: 1, \n backgroundColor: theme.palette.background.paper,\n borderRadius: 10\n }\n})\n\nexport interface ILocationFilterProps {\n onSelectLocation: (locationOption?: LocationOption) => any\n value?: LocationOption\n accountStore?: AccountStore\n progress?: Progress\n userStore?: UserStore\n resourceCache?: ResourceCache\n}\n\n@inject(\"accountStore\", \"userStore\", \"resourceCache\", \"progress\")\n@observer\nclass LocationFilter extends React.Component & WithTheme & ILocationFilterProps & WithWidth> {\n\n @observable isLoading: boolean = true \n @observable locationFilter?: LocationOption\n\n constructor(props: any) {\n super(props)\n makeObservable(this)\n }\n\n componentDidMount() {\n const { resourceCache, value } = this.props\n when(\n // once...\n () => resourceCache!.isLoading === false,\n // ... then\n async () => {\n this.locationFilter = value\n this.isLoading = false\n }\n )\n }\n\n componentDidUpdate(prevProps: any) {\n if (prevProps.value !== this.props.value) {\n this.locationFilter = this.props.value\n }\n }\n\n render() {\n const { classes, resourceCache } = this.props\n\n if (this.isLoading === true) {\n return null \n }\n\n return (\n option.name ?? option}\n getOptionSelected={(option: LocationOption, value: LocationOption) => value && option.name === value.name}\n groupBy={(option: LocationOption) => option.group}\n onChange={this.onSelectLocation}\n value={this.locationFilter ?? null}\n renderInput={(params: any) =>\n
\n \n
\n }\n />\n )\n }\n\n onSelectLocation = (event: any, value: any, reason: string) => {\n if (value) {\n this.locationFilter = value\n } else {\n this.locationFilter = undefined\n }\n this.props.onSelectLocation(this.locationFilter)\n }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(LocationFilter)))","import { createStyles, Paper, Theme, Typography, withStyles, WithStyles, WithTheme, withTheme, withWidth, WithWidth } from \"@material-ui/core\";\nimport React, { ReactNode } from \"react\";\n\nconst styles = (theme: Theme) => createStyles({\n container: {\n paddingTop: theme.spacing(1),\n paddingBottom: theme.spacing(1),\n color: theme.palette.primary.main\n },\n panel: {\n padding: theme.spacing(3)\n },\n titleBar: {\n display: \"flex\",\n flexDirection: \"row\",\n alignItems: \"center\",\n paddingBottom: theme.spacing(2)\n },\n title: {\n flex: 1\n },\n button: {\n flex: 0,\n width: 50,\n textAlign: \"right\"\n }\n})\n\nexport interface IProfileCardProps {\n title: string | ReactNode\n button?: any\n overrides?: any\n}\n\nclass ProfileCard extends React.Component & WithTheme & WithWidth & IProfileCardProps> {\n render() {\n const {\n classes,\n title,\n button,\n overrides\n } = this.props\n\n const containerClassNme = (overrides && overrides.container) ? overrides.container : classes.container\n const titleBarClassName = (overrides && overrides.titleBar) ? overrides.titleBar : classes.titleBar\n\n return (\n
\n \n
\n
\n \n {title}\n \n
\n
\n {button}\n
\n
\n {this.props.children}\n
\n
\n )\n }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(ProfileCard)))\n","import React from 'react';\nimport { Box, Typography, WithTheme, withTheme } from '@material-ui/core';\nimport { Storage } from 'aws-amplify';\nimport { makeObservable, observable, when } from 'mobx';\nimport { inject, observer } from 'mobx-react';\n// import Profile from '../../model/Profile';\nimport { \n IFileStorageLevel, \n // IKeyGetter \n} from './FileDialog';\nimport Stack from '../Stack';\nimport ControlTower from '../ControlTower';\nimport ActionLink from '../ActionLink';\nimport ProfileStore from '../../stores/ProfileStore';\n\nexport interface IFilePreviewProps {\n // onChange?: (profile: Profile) => any\n title?: string \n fileKey: string | null \n emptyLabel?: string\n label?: string\n style?: object\n // profile?: Profile\n level: IFileStorageLevel\n // keyGetter: IKeyGetter\n onClickEmpty(): any \n\n profileStore?: ProfileStore\n}\n\n@inject(\"profileStore\")\n@observer\nclass FilePreview extends React.Component {\n @observable isFetching: boolean = false\n @observable url: string = ''\n @observable error: string = ''\n\n constructor(props: WithTheme & IFilePreviewProps) {\n super(props);\n makeObservable(this);\n }\n\n async componentDidMount() {\n when(\n () => Boolean(this.props.fileKey && !this.url && !this.isFetching),\n async () => {\n const { profileStore } = this.props \n if (!this.props.fileKey) { return }\n try {\n this.error = ''\n // this.url = String(await Storage.get(this.props.fileKey, { level: this.props.level, download: false }))\n this.url = await profileStore!.getFileURL(this.props.fileKey, this.props.level)\n } catch (err: any) {\n this.error = err.message\n }\n }\n )\n }\n\n async componentDidUpdate(prevProps: any) {\n const { profileStore } = this.props \n if (prevProps.fileKey !== this.props.fileKey) {\n if (!this.props.fileKey) {\n this.url = ''\n } else {\n // this.url = String(await Storage.get(this.props.fileKey, { level: this.props.level, download: false }))\n this.url = await profileStore!.getFileURL(this.props.fileKey, this.props.level)\n }\n }\n }\n\n renderPDF = () => {\n const { label, style, theme } = this.props \n return (\n \n {label}\n \n )\n }\n\n renderOtherFile = () => {\n const { emptyLabel } = this.props \n return (\n {emptyLabel}\n )\n }\n\n renderEmpty = () => {\n const { emptyLabel, theme } = this.props\n return (\n \n \n {emptyLabel}\n \n \n )\n }\n\n renderContent = () => {\n const { onClickEmpty } = this.props \n return (\n \n {\n if (this.url) {\n ControlTower.open(this.url)\n } else {\n onClickEmpty()\n }\n }}\n >\n { this.url\n ? \n /\\.pdf/.test(this.url)\n ? \n this.renderPDF() \n : \n this.renderOtherFile() \n : \n this.renderEmpty()\n }\n \n \n )\n }\n\n render() {\n const { title } = this.props \n if (this.error) {\n return (\n \n {this.error}\n \n )\n }\n\n return (\n \n {this.renderContent()}\n \n )\n }\n}\n\nexport default withTheme(FilePreview)\n","import { Paper, RootRef, Theme, Typography, WithStyles, withStyles } from '@material-ui/core';\nimport { amber, blueGrey, orange, yellow } from '@material-ui/core/colors';\nimport { observer } from 'mobx-react';\nimport React from 'react';\nimport Dropzone from 'react-dropzone';\n\nconst styles = (theme: Theme) => ({\n dropzoneRoot: {\n padding: '1rem',\n height: '100%',\n maxHeight: '10rem',\n backgroundColor: amber[50], // 'rgba(0,0,0,0.05)',\n cursor: \"pointer\"\n },\n dropzoneText: {\n color: theme.palette.primary.main // theme.palette.text.secondary,\n },\n})\n\ninterface IFileDropZone {\n classes: object\n text: string\n accept: string[]\n onDrop: (files: File[]) => any\n onFileValidator: (isValid: boolean) => any\n}\n\n@observer\nclass FileDropZone extends React.Component {\n render() {\n const {\n classes,\n text,\n accept,\n onDrop,\n onFileValidator,\n } = this.props\n\n return (\n \n {({ fileRejections, getRootProps, getInputProps }) => {\n const { ref, ...rootProps } = getRootProps();\n\n onFileValidator(fileRejections && fileRejections.length > 0);\n\n return (\n \n \n \n \n {text}\n \n \n \n );\n }}\n \n );\n }\n}\n\nexport default withStyles(styles)(FileDropZone)","import { Box, LinearProgress } from \"@material-ui/core\"\n\nconst DialogLoadingProgress = ({\n isLoading \n}: {\n isLoading: boolean \n}) => {\n return (\n \n { isLoading && \n \n }\n \n )\n}\n\nexport default DialogLoadingProgress\n","import * as React from \"react\";\nimport {Box, createStyles, Grid, isWidthDown, Theme, Typography, withStyles, WithStyles, WithWidth, withWidth} from \"@material-ui/core\";\n\nconst styles = (theme: Theme) => createStyles({\n container: {\n },\n label: {\n fontFamily: [\n 'Roboto',\n 'sans-serif'\n ].join(','),\n fontWeight: 300,\n color: theme.palette.text.secondary,\n fontSize: 15\n },\n value: {\n fontFamily: [\n 'Roboto',\n 'sans-serif'\n ].join(','),\n fontSize: 15,\n fontWeight: 500,\n color: theme.palette.text.primary,\n textOverflow: \"ellipses\"\n }\n})\n\ninterface ICardValueProps {\n icon?: React.ReactNode\n label?: string\n children: any\n labelWidth?: number\n wrapText?: boolean\n maxTextWidth?: number | string\n}\n\nclass CardValue extends React.Component & ICardValueProps & WithWidth> {\n\n render() {\n const { \n classes, \n icon, \n label, \n labelWidth, \n children, \n wrapText, \n maxTextWidth \n } = this.props\n\n let textStyle\n if (maxTextWidth) {\n textStyle = {\n maxWidth: maxTextWidth,\n overflow: 'hidden',\n textOverflow: 'ellipses'\n }\n }\n\n const isExtraSmall = isWidthDown('sm', this.props.width)\n\n return (\n \n \n { icon && \n \n {icon}\n \n }\n { label && \n \n \n \n {label}\n \n \n \n }\n \n \n {children}\n \n \n \n \n )\n\n }\n}\n\nexport default withStyles(styles)(withWidth()(CardValue))\n\n","import {\n Box,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n Grid,\n Typography,\n withStyles,\n WithStyles\n} from '@material-ui/core';\nimport { createStyles, Theme } from '@material-ui/core/styles';\nimport { Storage } from 'aws-amplify';\nimport { makeObservable, observable } from 'mobx';\nimport { inject, observer } from 'mobx-react';\nimport React, { ReactNode } from 'react';\nimport DocumentServiceAPI from '../../apis/DocumentServiceAPI';\nimport AddButton from '../../components/AddButton';\nimport CancelButton from '../../components/form/CancelButton';\nimport ProgressButton from '../../components/form/ProgressButton';\nimport Notify from '../../components/notify/Notify';\nimport Profile from '../../model/Profile';\nimport ProfileStore from '../../stores/ProfileStore';\nimport { getExt } from '../../stores/StoreUtilities';\nimport FileDropZone from './FileDropZone';\nimport Stack from '../../components/Stack';\nimport LoadingPanel from '../panel/LoadingPanel';\nimport DialogLoadingProgress from '../dialog/DialogLoadingProgress';\nimport CardValue from '../CardValue';\nimport IconicButton from '../controls/IconicButton';\nimport { Delete } from '@material-ui/icons';\nimport Confirm from '../confirm/Confirm';\n\nconst styles = (theme: Theme) => createStyles({\n dialogContentRoot: {\n display: 'flex',\n flexDirection: 'column',\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n paddingTop: theme.spacing(2),\n paddingBottom: theme.spacing(2)\n },\n resumeButtons: {\n display: \"flex\",\n flexDirection: \"row\",\n justifyItems: \"space-between\",\n },\n progressButton: {\n minWidth: 80\n },\n dropZone: {\n width: \"100%\",\n marginTop: theme.spacing(3),\n marginBottom: theme.spacing(2),\n border: \"1px #ccc solid\",\n borderRadius: theme.spacing(1),\n padding: theme.spacing(2),\n // paddingRight: theme.spacing(2)\n },\n dialogActionsLeft: {\n display: \"flex\",\n flexDirection: \"row\",\n justifyContent: \"flex-start\",\n textAlign: \"left\",\n },\n dialogActionsRight: {\n display: \"flex\",\n flexDirection: \"row\",\n justifyContent: \"flex-end\",\n }\n});\n\ntype IFileType = 'image/jpeg' | 'image/png' | 'application/pdf' | 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' | 'application/msword'\nexport type IKeyGenerator = (file?: File, ext?: string) => string\nexport type IResourceModificationHandler = (key: string, fileUrl: string) => Promise\nexport type IFileStorageLevel = \"private\" | \"protected\" | \"public\"\n\nexport interface IFileDialogProps {\n fileKey: string | null \n title?: string\n description?: ReactNode\n dropzoneText?: string\n acceptedFileTypes?: IFileType[]\n acceptedFileTypesText?: string \n uploadDisabled?: boolean\n uploadButtonText?: ReactNode\n open: boolean\n isLoading: boolean \n fileUploadOptional?: boolean \n\n level: IFileStorageLevel\n keyGenerator: IKeyGenerator\n fileNameGetter(): string | null \n children?: React.ReactNode\n \n onSaveWithFile: IResourceModificationHandler\n onDeleteFile: IResourceModificationHandler\n \n onSaveDialog(): Promise // Save dialog in the case of no file updates. \n onClose: () => any // (profile?: Profile) => any\n\n profileStore?: ProfileStore\n notify?: Notify\n documentServiceAPI?: DocumentServiceAPI\n confirm?: Confirm\n}\n\n@inject('profileStore', 'notify', 'documentServiceAPI', 'confirm')\n@observer\nclass FileDialog extends React.Component & IFileDialogProps> {\n @observable stagedFile: File | null = null;\n @observable isUploading = false;\n @observable isProcessing = false;\n @observable uploadError = '';\n @observable isInvalidFile = false;\n @observable isRemovingFile: boolean = false\n\n constructor(props: WithStyles & IFileDialogProps) {\n super(props);\n makeObservable(this);\n }\n\n // helpers\n\n _handleSave = async () => {\n const { onSaveDialog, onClose } = this.props \n this.isProcessing = true \n if (this.stagedFile) {\n await this._handleUpload()\n } else {\n await onSaveDialog()\n onClose() \n }\n this.isProcessing = false \n }\n\n _clear = () => {\n this.stagedFile = null\n this.isUploading = false\n this.uploadError = ''\n this.isInvalidFile = false\n }\n\n _handleDrop = (acceptedTypes: string[], files: File[]) => {\n if (files.length > 0) {\n const file = files[0]\n if (acceptedTypes.includes(file.type)) {\n this.stagedFile = file\n } else {\n this.isInvalidFile = true\n }\n }\n }\n\n _handleUpload = async () => {\n const { \n keyGenerator, \n profileStore, \n documentServiceAPI, \n notify, \n onSaveWithFile, \n onClose, \n level \n } = this.props;\n\n let updatedResource\n\n this.isUploading = true\n\n if (!this.stagedFile || !profileStore) {\n // // update\n // const key = keyGenerator()\n // const url = String(await Storage.get(key, { level }))\n // updatedResource = await onSaveWithFile(key, url)\n // if (onClose) { onClose(updatedResource) }\n throw new Error(\"Could not upload file\")\n }\n \n // } else {\n // create\n try {\n let ext = `.${getExt(this.stagedFile.name)}`\n\n // upload file to s3\n let key = keyGenerator(this.stagedFile, ext)\n let url = String(await profileStore.uploadFile(key, level, this.stagedFile))\n\n // TODO: This part only pertains to resume uploads, move it out of the dialog. \n if (/\\.docx|\\.doc/ig.test(ext)) {\n // docx, needs to be converted\n try {\n const pdf = await documentServiceAPI!.convertDocToPDF(key, `${key.replace(ext, '')}.pdf`)\n if (pdf) {\n key = pdf.key\n url = String(await Storage.get(key, { level }))\n }\n } catch (err: any) {\n console.error(err)\n notify!.show('error', `Could not convert resume to pdf: ${err.message}`)\n }\n }\n\n await onSaveWithFile(key, url)\n\n onClose()\n\n this._clear()\n } catch (err: any) {\n this.uploadError = err.message\n }\n // }\n this.isUploading = false\n }\n\n _handleRemoveFile = async () => {\n const { \n profileStore, \n onDeleteFile, \n keyGenerator, \n level, \n onClose \n } = this.props\n\n if (!profileStore) { return }\n\n this.isRemovingFile = true\n try {\n const key = keyGenerator()\n const url = String(await Storage.get(key, { level }))\n\n await profileStore.removeFile(key, level)\n await onDeleteFile(key, url)\n onClose() \n } catch (err) {\n console.error(err)\n throw new Error(\"Could not remove file\")\n }\n this.isRemovingFile = false\n }\n\n renderFileName() {\n const {\n fileNameGetter\n } = this.props \n\n let fileName\n\n if (this.stagedFile) {\n fileName = this.stagedFile.name \n } else if (fileNameGetter) {\n fileName = fileNameGetter()\n }\n\n if (!fileName) {\n return null \n }\n\n return (\n \n {fileName} \n \n )\n }\n\n isSaveDisabled = () => {\n const {\n isLoading,\n uploadDisabled,\n fileKey,\n fileUploadOptional\n } = this.props\n\n if (fileKey) {\n // There's an existing key, no staged file needed. \n return isLoading || this.isProcessing || this.isInvalidFile || uploadDisabled || this.isUploading \n } else {\n if (fileUploadOptional && !this.stagedFile) {\n return isLoading || this.isProcessing || this.isInvalidFile || this.isUploading || uploadDisabled \n } else {\n return isLoading || this.isProcessing || !this.stagedFile || this.isInvalidFile || uploadDisabled || this.isUploading \n }\n }\n }\n\n isSaveProcessing = () => {\n const {\n keyGenerator\n } = this.props \n // uploadDisabled || this.isUploading || (!keyGenerator() && (!this.stagedFile || this.isInvalidFile))\n if (this.stagedFile) {\n return this.isProcessing || this.isUploading || (!keyGenerator() && (!this.stagedFile || this.isInvalidFile))\n } else {\n return this.isProcessing\n }\n\n return false \n }\n\n render() {\n const {\n classes,\n confirm,\n open,\n isLoading,\n keyGenerator,\n onDeleteFile,\n onClose,\n title = 'Add File',\n uploadDisabled, \n uploadButtonText = 'Upload', \n description,\n dropzoneText = 'Click here to browse for a file, or you can drag and drop a file here. Accepted types are JPEG, PNG, and PDF.',\n acceptedFileTypes = ['image/jpeg', 'image/png', 'application/pdf', 'application/msword', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'],\n acceptedFileTypesText = 'Upload file (.jpg, .png or .pdf)',\n children \n } = this.props;\n\n return (\n \n \n {title}\n \n \n \n { description && \n \n {description}\n \n }\n {children}\n
\n \n \n \n {acceptedFileTypesText}:\n \n this.isInvalidFile = valid}\n />\n \n { this.renderFileName() }\n \n
\n {this.uploadError && (\n \n Error: {this.uploadError}\n \n )}\n {this.isInvalidFile && (\n \n Invalid file type.\n \n )}\n
\n \n \n \n {\n confirm!.show(\n \"Delete File\",\n \"Would you like to delete this file (this operation cannot be undone)?\",\n [ \"Delete\", \"Cancel\"],\n () => {\n // TODO: Make the confirm step easier to write. \n return new Promise((resolve, reject) => {\n this._handleRemoveFile().then(() => { \n resolve(true) \n }).catch(() => {\n reject(false)\n })\n })\n }\n )\n }}\n disabled={this.isRemovingFile}\n />\n \n \n \n {\n this._clear()\n onClose()\n }}\n />\n {/* \n {uploadButtonText}\n */}\n \n { this.stagedFile ? \"Upload\" : \"Save\" } \n \n \n \n \n \n
\n );\n }\n}\n\nexport default withStyles(styles)(FileDialog);","import { Box } from \"@material-ui/core\"\nimport FilePreview from \"./FilePreview\"\nimport FileDialog, { IFileDialogProps } from \"./FileDialog\"\nimport { IFilePreviewProps } from \"./FilePreview\"\nimport { useEffect, useState } from \"react\"\nimport IconicButton from \"../controls/IconicButton\"\nimport { Add, Edit } from \"@material-ui/icons\"\nimport Stack from \"../Stack\"\nimport AddButton from \"../AddButton\"\n\nconst FilePreviewWithDialog = ({\n filePreviewProps, \n fileDialogProps, \n buttonText,\n buttonTracking,\n onClickOpenDialog\n}: {\n filePreviewProps: IFilePreviewProps \n fileDialogProps: IFileDialogProps\n buttonText?: string \n buttonTracking?: string \n onClickOpenDialog(): void \n}) => {\n // const [isDialogOpen, setIsDialogOpen] = useState(false)\n\n // useEffect(() => {\n // if (isDialogOpen !== fileDialogProps.open) {\n // setIsDialogOpen(fileDialogProps.open)\n // }\n // }, [\n // fileDialogProps.open\n // ])\n\n const renderFilePreview = () => {\n const {\n onClickEmpty,\n ...rest\n } = filePreviewProps \n return (\n {\n onClickOpenDialog()\n }}\n {...rest}\n />\n )\n }\n\n const renderFileDialog = () => {\n const {\n // open, \n // onSave, \n // onDelete, \n // onClose, \n ...rest\n } = fileDialogProps\n \n return (\n {\n // await onSave(key, fileUrl)\n // }}\n // onDelete={async (key: string, fileUrl: string) => {\n // onDelete && await onDelete(key, fileUrl)\n // }}\n // onClose={(updatedResource?: any) => {\n // setIsDialogOpen(false)\n // }}\n { ...rest }\n />\n )\n }\n\n const renderButton = () => {\n if (buttonText) {\n return (\n {\n // setIsDialogOpen(true)\n onClickOpenDialog()\n }}\n />\n )\n } else {\n return (\n \n {\n // setIsDialogOpen(true)\n // if (onOpen) { onOpen() }\n onClickOpenDialog()\n }}>\n { filePreviewProps.fileKey ? : }\n \n \n )\n }\n }\n\n return (\n \n \n { renderFilePreview() }\n { renderButton() }\n \n { renderFileDialog() }\n \n )\n}\n\nexport default FilePreviewWithDialog ","import {\n Checkbox,\n createStyles,\n FormControlLabel,\n Grid,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n WithTheme,\n withTheme,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport { makeObservable, observable, when } from 'mobx';\nimport { inject, observer } from \"mobx-react\";\nimport React from \"react\";\nimport Notify from \"../../../components/notify/Notify\";\nimport Profile from \"../../../model/Profile\";\nimport ProfileStore from \"../../../stores/ProfileStore\";\nimport { getErrorMessage } from \"../../../stores/StoreUtilities\";\nimport UserStore from \"../../../stores/UserStore\";\nimport FilePreviewWithDialog from \"../../../components/file/FilePreviewWithDialog\";\nimport { IFileStorageLevel } from \"../../../components/file/FileDialog\";\n\nconst styles = (theme: Theme) => createStyles({\n content: {\n display: \"flex\",\n flexDirection: \"row\"\n },\n resumeItem: {\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"flex-end\",\n },\n titleBar: {\n display: \"flex\",\n flexDirection: \"row\",\n paddingRight: 216\n },\n aboutDiv: {\n flexGrow: 1,\n paddingRight: theme.spacing(2)\n },\n resumeDiv: {\n flexGrow: 0,\n width: 200,\n minWidth: 200,\n textAlign: \"right\"\n },\n docPreview: {\n position: \"relative\",\n top: -24\n },\n textarea: {\n fontFamily: [\n 'Roboto',\n 'sans-serif'\n ].join(','),\n minWidth: \"100%\",\n maxWidth: \"100%\",\n padding: 8,\n fontSize: 16\n },\n})\n\nexport interface IUploadResumeDialogProps {\n profile: Profile\n onChange?: (profile: Profile) => any\n // children?: DocPreviewChildren\n buttonText?: string \n buttonTracking?: string \n\n userStore?: UserStore\n profileStore?: ProfileStore\n notify?: Notify\n}\n\n@inject(\"userStore\", \"profileStore\", 'notify')\n@observer\nclass UploadResumeDialog extends React.Component & WithTheme & WithWidth & IUploadResumeDialogProps> {\n\n @observable shouldAutofillProfile: boolean = false\n @observable isDialogOpen: boolean = false \n\n constructor(props: WithStyles & WithTheme & WithWidth & IUploadResumeDialogProps) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount() {\n when(\n () => Boolean(this.props.profileStore && this.props.profile),\n () => {\n this.shouldAutofillProfile = this.props.profile!.isEmpty\n }\n )\n }\n\n _handleSaveResume = async (resumeKey: string) => {\n const { profile, profileStore, onChange, notify } = this.props\n try {\n await this._handleDeleteResume()\n let updatedProfile\n if (this.shouldAutofillProfile) {\n // update profile with resume data\n updatedProfile = await profileStore!.updateProfileForResume(profile!.id, resumeKey)\n } else {\n // just updated the resume key\n updatedProfile = await profileStore!.updateProfile({ id: profile!.id, resumeKey })\n }\n if (onChange && updatedProfile) {\n onChange(updatedProfile)\n }\n } catch (err) {\n notify!.show('error', getErrorMessage(err))\n }\n }\n\n _handleDeleteResume = async (key?: string, fileUrl?: string) => {\n const { profile, notify, onChange } = this.props\n try {\n const updatedProfile = await this.props.userStore!.updateProfile({\n id: profile!.id,\n resumeKey: null,\n })\n if (onChange) {\n onChange(updatedProfile!)\n }\n } catch (err) {\n notify!.show('error', getErrorMessage(err))\n }\n }\n\n fileFolder = () => {\n const { profile } = this.props\n return `users/${profile?.userId}/profile`\n }\n\n render() {\n const { profile, buttonText, buttonTracking } = this.props\n\n if (!profile) {\n return null\n }\n\n const level: IFileStorageLevel = \"public\"\n\n return (\n {\n this.isDialogOpen = true \n }}\n filePreviewProps={{\n level: level,\n fileKey: profile.resumeKey ?? null,\n emptyLabel: \"Add a Resume\", \n label: \"View Resume\",\n onClickEmpty: () => { this.isDialogOpen = true }\n }}\n fileDialogProps={{\n isLoading: false,\n fileKey: profile.resumeKey ?? null, \n title: 'Add Resume',\n uploadButtonText: 'Upload',\n open: this.isDialogOpen,\n onSaveWithFile: this._handleSaveResume,\n onDeleteFile: this._handleDeleteResume,\n onSaveDialog: async () => {\n if (profile.resumeKey) {\n await this._handleSaveResume(profile.resumeKey)\n }\n },\n onClose: () => { this.isDialogOpen = false }, \n keyGenerator: (file?: File, ext?: string) => `${this.fileFolder()}/resume${ext!}`,\n fileNameGetter: () => {\n if (profile.resumeKey) {\n const chunks = profile.resumeKey.split(`${this.fileFolder()}/`)\n return chunks[chunks.length - 1]\n }\n return null \n },\n level: level,\n // description: this.renderFileDialogDescription\n dropzoneText: 'Click here to browse for a Microsoft Doc or PDF, or you can drag and drop it here.',\n acceptedFileTypesText: 'Upload file (.docx or .pdf)', \n children: (\n \n \n \n Check the box labeled \"Autofill profile from resume\" when uploading your resume and the system will attempt fill in the details of your profile. \n \n \n Please manually check for any mistakes, as your resume may not parse completely accurately. \n \n \n \n \n Autofill profile from resume\n {!profile.isEmpty && (profile must be empty)}\n \n )}\n disabled={!profile.isEmpty}\n control={\n this.shouldAutofillProfile = checked}\n />\n }\n />\n \n \n ),\n }}\n />\n )\n }\n\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(UploadResumeDialog)))\n","import {\n Box,\n createStyles,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n Grid,\n isWidthUp,\n TextareaAutosize,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n WithTheme,\n withTheme,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport EditIcon from \"@material-ui/icons/Edit\";\nimport { makeObservable, observable, when } from 'mobx';\nimport { inject, observer } from \"mobx-react\";\nimport React from \"react\";\nimport { UpdateProfileInput } from \"../../API\";\nimport IconicButton from \"../../components/controls/IconicButton\";\nimport DialogButton from \"../../components/form/DialogButton\";\nimport FormValidator from \"../../components/form/FormValidator\";\nimport Notify from \"../../components/notify/Notify\";\nimport TextBlock from \"../../components/TextBlock\";\nimport Profile from \"../../model/Profile\";\nimport ProfileStore from \"../../stores/ProfileStore\";\nimport UserStore from \"../../stores/UserStore\";\nimport ProfileCard from \"./ProfileCard\";\nimport UploadResumeDialog from \"./upload-resume/UploadResumeDialog\";\nimport {grey} from \"@material-ui/core/colors\";\nimport CancelButton from \"../../components/form/CancelButton\";\nimport JobCandidate from \"../../model/JobCandidate\";\nimport Stack from \"../../components/Stack\";\n\nconst styles = (theme: Theme) => createStyles({\n textarea: {\n fontFamily: [\n 'Roboto',\n 'sans-serif'\n ].join(','),\n minWidth: \"100%\",\n maxWidth: \"100%\",\n padding: 8,\n fontSize: 16\n },\n publicNotice: {\n marginTop: theme.spacing(1),\n padding: theme.spacing(1),\n backgroundColor: grey[500],\n color: theme.palette.primary.contrastText,\n borderRadius: 10,\n textAlign: \"center\"\n }\n})\n\nclass ProfileAboutViewModel {\n @observable about: string\n\n constructor(profile: Profile) {\n makeObservable(this);\n this.about = profile!.about ? profile!.about : \"\"\n }\n}\n\nexport interface IProfileAboutProps {\n isOpen?: boolean\n userStore?: UserStore\n notify?: Notify\n profile?: Profile\n jobCandidate?: JobCandidate\n onChange?: (profile: Profile) => any\n onClose?: any\n profileStore?: ProfileStore\n}\n\n@inject(\"userStore\", \"profileStore\", 'notify')\n@observer\nclass ProfileAbout extends React.Component & WithTheme & WithWidth & IProfileAboutProps> {\n\n @observable viewModel?: ProfileAboutViewModel\n @observable isFormOpen: boolean = false\n @observable shouldAutofillProfile: boolean = false\n\n componentDidMount() {\n when(\n () => Boolean(this.props.profileStore && this.props.profile),\n () => {\n this.shouldAutofillProfile = this.props.profile!.isEmpty\n }\n )\n }\n\n constructor(\n props: WithStyles & WithTheme & WithWidth & IProfileAboutProps\n ) {\n super(props);\n makeObservable(this);\n }\n\n componentDidUpdate(prevProps: any) {\n if (prevProps.isOpen !== this.props.isOpen) {\n if (this.props.isOpen) {\n this.handleEdit()\n } else {\n this.isFormOpen = false\n }\n }\n }\n\n render() {\n const { classes, profile, jobCandidate, userStore, onChange, width, theme } = this.props\n\n if (!profile) {\n return null\n }\n\n const isAuthenticated = userStore!.isAuthenticated\n const user = userStore!.user \n const isUnlocked = profile.getIsUnlocked(user, jobCandidate)\n \n let editButton\n if (onChange) {\n editButton =\n \n \n \n }\n\n const about = profile.about ? profile.about :\n (onChange) ? \"Add a brief personal statement describing yourself professionally.\" : \"\"\n\n return (\n \n \n \n \n \n {about}\n \n {editButton}\n \n \n \n \n \n Resume\n {isAuthenticated && isUnlocked &&\n \n }\n {(!isAuthenticated || !isUnlocked) &&\n
\n \n Resume available when this candidate is unlocked.\n \n
\n }\n \n \n
\n
\n\n {this.isFormOpen && this.renderAboutForm()}\n\n \n )\n }\n\n renderAboutForm() {\n const viewModel = this.viewModel!\n const { classes } = this.props\n\n return (\n \n \n \n About\n \n \n \n Edit your personal statement below.\n \n \n \n \n \n \n Save\n \n \n \n \n )\n }\n\n handleEdit = (): void => {\n if (this.props.profile) {\n this.viewModel = new ProfileAboutViewModel(this.props.profile)\n this.isFormOpen = true\n }\n }\n\n handleClose = () => {\n this.isFormOpen = false\n if (this.props.onClose) {\n this.props.onClose()\n }\n }\n\n handleChange = (event: any) => {\n const name = event.target.name\n this.viewModel![name] = event.target.value\n }\n\n onSubmit = async () => {\n const { profile, profileStore } = this.props\n const viewModel = this.viewModel!\n\n if (this.props.onChange) {\n // Update profile\n const updateProfileInput: UpdateProfileInput = {\n id: profile!.id,\n about: viewModel.about\n }\n\n let updatedProfile = await profileStore!.updateProfile(updateProfileInput)\n\n if (updatedProfile) {\n this.props.onChange(updatedProfile)\n this.handleClose()\n }\n }\n }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(ProfileAbout)))\n","import {\n Box,\n createStyles,\n Grid,\n isWidthDown,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n WithTheme,\n withTheme,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport EditIcon from \"@material-ui/icons/Edit\";\nimport {makeObservable, observable} from \"mobx\";\nimport {inject, observer} from \"mobx-react\";\nimport React from \"react\";\nimport {ProfileStatus} from \"../../API\";\nimport CardValue from \"../../components/CardValue\";\nimport IconicButton from \"../../components/controls/IconicButton\";\nimport TextBlock from \"../../components/TextBlock\";\nimport Profile from \"../../model/Profile\";\nimport ProfileStore from \"../../stores/ProfileStore\";\nimport UserStore from \"../../stores/UserStore\";\nimport ProfileCandidateStatusDialog from \"../../components/profile/ProfileCandidateStatusDialog\";\n\nconst styles = (theme: Theme) => createStyles({\n container: {\n flex: 1\n },\n progressButton: {\n minWidth: 80\n }\n})\n\nexport interface IProfileCandidateStatusProps {\n profile?: Profile\n onChange?: (profile: Profile) => any\n userStore?: UserStore\n profileStore?: ProfileStore\n}\n\nclass ProfileCandidateStatusViewModel {\n @observable profileStatus: ProfileStatus\n @observable statusMessage?: string\n @observable notes?: string\n\n constructor (profile: Profile) {\n makeObservable(this);\n this.profileStatus = profile.profileStatus\n this.statusMessage = profile.statusMessage\n this.notes = profile.notes\n }\n}\n\n@inject(\"userStore\", \"profileStore\")\n@observer\nclass ProfileCandidateStatus extends React.Component & WithTheme & WithWidth & IProfileCandidateStatusProps> {\n @observable viewModel?: ProfileCandidateStatusViewModel\n @observable isFormOpen: boolean = false\n @observable isProcessing = false\n\n constructor(\n props: WithStyles & WithTheme & WithWidth & IProfileCandidateStatusProps\n ) {\n super(props);\n makeObservable(this);\n }\n\n render() {\n const { width, onChange, profile, userStore } = this.props\n\n if (!profile || !profile.user || !userStore!.isAdminOrAgent || profile.profileStatus === ProfileStatus.Accepted) {\n return null\n }\n\n let editButton\n if (onChange) {\n editButton =\n \n \n \n }\n const labelWidth = 80 \n\n return (\n \n \n \n Candidate Status\n \n \n \n {editButton}\n \n \n \n \n \n \n \n \n {profile.profileStatus}\n \n \n \n \n {profile.statusMessage}\n \n \n \n \n \n \n {profile.notes}\n \n \n \n {this.isFormOpen &&\n \n }\n \n )\n }\n\n handleUpdate = (profile: Profile) => {\n this.props.onChange!(profile)\n }\n\n handleEdit = (): void => {\n if (this.props.profile) {\n this.isFormOpen = true\n }\n }\n\n handleClose = () => {\n this.isFormOpen = false\n }\n\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(ProfileCandidateStatus)))\n","import * as React from \"react\";\nimport { createStyles, Theme, WithStyles, withStyles } from '@material-ui/core/styles'\nimport {inject} from \"mobx-react\";\nimport {IFieldValidator} from \"./FormValidator\";\nimport {\n KeyboardDatePicker,\n KeyboardDatePickerProps,\n MuiPickersUtilsProvider\n} from \"@material-ui/pickers\";\nimport DateFnsUtils from \"@date-io/date-fns\";\nimport {FormControlProps} from \"@material-ui/core/FormControl\";\nimport {TextField} from \"@material-ui/core\";\n\nconst styles = (theme: Theme) => createStyles({\n\n})\n\n// TODO: When needed\n// interface IDatePickerValidations {\n// required?: boolean\n// minDate?: string\n// maxDate?: string\n// }\n\ninterface IDatePickerValidatorProps {\n error?: boolean\n helperText?: React.ReactNode\n label?: React.ReactNode\n inputRef?: any\n required?: boolean\n // validators?: IDatePickerValidations\n errorMessages?: any\n onBlur?: any // React.EventHandler\n onChange?: any // React.EventHandler\n formvalidator?: any\n validate?: any\n value: string | null\n format: string\n}\n\nexport type DatePickeralidatorProps = KeyboardDatePickerProps & IDatePickerValidatorProps & IFieldValidator\n\n\n@inject(\"formvalidator\")\nclass DatePickerValidator extends React.Component & DatePickeralidatorProps > {\n\n state = {\n isValid: true,\n date: null,\n errorMessage: \"\"\n }\n\n componentDidMount() {\n const {formvalidator} = this.props as IDatePickerValidatorProps\n if (formvalidator) {\n formvalidator.attachToForm(this)\n }\n this.setState({isValid: true, date: null, errorMessage: \"\"})\n }\n\n\n render() {\n const {\n inputRef,\n error,\n onBlur,\n onChange,\n value,\n required,\n ...rest\n } = this.props as IDatePickerValidatorProps;\n\n return (\n \n \n \n )\n }\n\n private onBlur = (event: React.FocusEvent): void => {\n const { value } = event.currentTarget;\n const { props } = this\n const { onBlur } = props as FormControlProps\n\n this.validate(value)\n\n if (onBlur) {\n onBlur(event);\n }\n }\n\n private onChange = (date: any, value: string | null | undefined): void => {\n const { props } = this\n const { onChange } = props // as FormControlProps\n\n console.log(`onChange(${date?.toLocaleString()}, ${value})`)\n\n if (date && !isNaN(date)) {\n this.setState({date: date})\n }\n\n if (!this.state.isValid) {\n this.validate(value)\n }\n\n if (onChange) {\n const event = {\n target: {\n name: props.name,\n value\n }\n }\n onChange(event);\n }\n }\n\n validate = (value: string | null | undefined): boolean => {\n const { required } = this.props\n let isValid = true\n let errorMessage = \"\"\n if (required && value === \"\") {\n isValid = false\n errorMessage = `${this.props.label} is required`\n }\n\n this.setState({isValid, errorMessage})\n\n return isValid\n }\n\n}\n\nexport default withStyles(styles)(DatePickerValidator)","import React from \"react\";\nimport {\n Box,\n TextField,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport { createStyles, Theme, WithStyles, WithTheme } from \"@material-ui/core\";\nimport { withStyles, withTheme } from \"@material-ui/core/styles\";\nimport { Autocomplete } from \"@material-ui/lab\";\nimport { makeObservable, observable, when } from \"mobx\";\nimport { inject, observer } from \"mobx-react\";\nimport UserStore from \"../../stores/UserStore\";\nimport ResourceCache from \"../../stores/ResourceCache\";\nimport CertificationType from \"../../model/CertificationType\";\n\nconst styles = (theme: Theme) => createStyles({\n filterTextField: {\n flexGrow: 1, \n backgroundColor: theme.palette.background.paper,\n borderRadius: 10\n },\n})\n\nexport interface ICertificationFilterProps {\n onSelectCertificationType: (certificationType?: string) => any\n name?: string \n label?: string \n value?: string\n industry?: string\n freeSolo?: boolean\n fullWidth?: boolean\n variant?: 'filled' | 'outlined' | 'standard'\n formvalidator?: any\n required?: boolean\n margin?: 'dense' | 'none' | 'normal'\n helperText?: string\n\n userStore?: UserStore\n resourceCache?: ResourceCache\n}\n\n@inject(\"userStore\", \"resourceCache\", \"formvalidator\")\n@observer\nclass CertificationFilter extends React.Component & WithTheme & ICertificationFilterProps & WithWidth> {\n\n @observable isLoading: boolean = true \n @observable certificationFilter?: string\n @observable isValid: boolean = true\n @observable industry?: string\n @observable certificationTypes: string[] = []\n\n constructor(props: any) {\n super(props)\n makeObservable(this)\n }\n\n componentDidMount() {\n const { resourceCache, userStore, value, industry, formvalidator } = this.props\n if (formvalidator) {\n formvalidator.attachToForm(this)\n }\n\n when(\n // once...\n () => resourceCache!.isLoading === false && userStore!.isLoading === false,\n // ... then\n async () => {\n this.industry = industry !== undefined ? industry : userStore!.industry\n this.certificationFilter = value\n this.certificationTypes = resourceCache!.getCertificationTypes(this.industry).map(({ name }) => name)\n this.isLoading = false \n }\n )\n }\n\n componentDidUpdate(prevProps: any) {\n const { userStore, value, industry } = this.props\n\n if (prevProps.value !== value) {\n this.certificationFilter = this.props.value\n }\n const newIndustry = industry !== undefined ? industry : userStore!.industry\n if (this.industry !== newIndustry) {\n this.industry = newIndustry\n }\n }\n\n render() {\n const { \n classes, \n freeSolo, \n fullWidth,\n required, \n helperText, \n resourceCache \n } = this.props\n\n if (this.isLoading === true) {\n return null \n }\n\n const variant = this.props.variant ?? 'outlined'\n const margin = this.props.margin ?? 'none'\n\n return (\n \n \n
\n \n
\n }\n />\n \n )\n }\n\n validate = (value: string): boolean => {\n const isRequired = this.props.required ?? true\n this.isValid = !isRequired || (this.certificationFilter !== undefined)\n return this.isValid\n }\n\n onSelectCertificationType = (event: any, value: any, reason: string) => {\n this.certificationFilter = value\n this.props.onSelectCertificationType(this.certificationFilter)\n }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(CertificationFilter)))","import { Box, createStyles, Grid, Theme, Typography, withStyles, WithStyles, withTheme, WithTheme, withWidth, WithWidth } from \"@material-ui/core\";\nimport { grey } from \"@material-ui/core/colors\";\nimport AddIcon from '@material-ui/icons/Add';\nimport { format } from 'date-fns';\nimport { makeObservable, observable } from \"mobx\";\nimport { inject, observer } from \"mobx-react\";\nimport React from 'react';\nimport IconicButton from \"../../components/controls/IconicButton\";\nimport DatePickerValidator from \"../../components/form/DatePickerValidator\";\nimport FormValidator from \"../../components/form/FormValidator\";\nimport Notify from \"../../components/notify/Notify\";\nimport Certification from \"../../model/Certification\";\nimport JobCandidate from \"../../model/JobCandidate\";\nimport Profile from \"../../model/Profile\";\nimport ProfileStore from \"../../stores/ProfileStore\";\nimport {\n createUUID,\n getErrorMessage,\n getISODateFromDateString,\n getISODateTimeFromDate,\n isoToLocalDate, isoToLocalDateString\n} from \"../../stores/StoreUtilities\";\nimport UserStore from \"../../stores/UserStore\";\n// import DocPreview from './doc-preview/DocumentPreview';\n// import ProfileFileUploadDialog, { IDialogProps } from './doc-preview/ProfileFileUploadDialog';\nimport ProfileCard from \"./ProfileCard\";\nimport CertificationFilter from \"../../components/filter/CertificationFilter\";\nimport Stack from \"../../components/Stack\";\nimport FileDialog from \"../../components/file/FileDialog\";\nimport FilePreviewWithDialog from \"../../components/file/FilePreviewWithDialog\";\n// import FileDialog from \"../../components/dialog/FileDialog\";\n// import DocumentPreview from \"../../components/DocumentPreview\";\n\nconst styles = (theme: Theme) => createStyles({\n certTile: {\n // maxWidth: '15rem',\n borderColor: grey[300],\n borderWidth: 1,\n borderStyle: 'solid',\n borderRadius: theme.spacing(1),\n paddingTop: theme.spacing(2), \n paddingBottom: theme.spacing(2), \n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n // margin: 0\n // padding: '.5rem',\n // margin: '.25rem',\n },\n publicNotice: {\n // marginTop: theme.spacing(0),\n padding: theme.spacing(1),\n backgroundColor: grey[500],\n color: theme.palette.primary.contrastText,\n borderRadius: 10,\n textAlign: \"center\"\n }\n})\n\nexport interface IProfileCertificationsProps {\n profileStore?: ProfileStore\n userStore?: UserStore\n notify?: Notify\n profile?: Profile\n jobCandidate?: JobCandidate\n onChange?: (profile: Profile) => any\n}\n\n@inject('profileStore', 'userStore', 'notify')\n@observer\nclass ProfileCertifications extends React.Component & WithTheme & WithWidth & IProfileCertificationsProps> {\n @observable isLoading = false \n @observable isAddDialogOpen = false\n @observable isEditDialogOpen = false\n @observable certTypeListOpen = false\n @observable isSavingCert = false\n @observable anchorEl: any\n\n // Other cert related fields\n @observable certificationId = ''\n @observable certificationType = ''\n @observable certificationIssueDate = ''\n @observable certificationExpDate = ''\n\n constructor(\n props: WithStyles & WithTheme & WithWidth & IProfileCertificationsProps\n ) {\n super(props);\n makeObservable(this);\n }\n\n _handleSaveCert = async (key?: string, fileUrl?: string, certificationId?: string) => {\n const { profile, profileStore, notify } = this.props\n if (!profile || !profileStore || !notify) { return }\n try {\n\n this.isSavingCert = true\n let cert = (profile!.certifications || []).find(c => c.id === certificationId)\n const updateInput = {\n userId: profile.userId,\n profileId: profile.id,\n certificateKey: key,\n certificationType: this.certificationType,\n issuedAt: this.certificationIssueDate ? getISODateFromDateString(this.certificationIssueDate) : null,\n expiresAt: this.certificationExpDate ? getISODateFromDateString(this.certificationExpDate) : null,\n updatedAt: getISODateTimeFromDate(new Date()),\n }\n if (cert) {\n // modifiy existing cert\n cert = await profileStore.updateCertification({\n ...updateInput,\n id: cert.id,\n })\n } else {\n // create new cert\n cert = await profileStore.createCertification({\n ...updateInput,\n })\n }\n\n await this._refreshProfileCerts()\n } catch (err) {\n notify.show('error', getErrorMessage(err))\n }\n\n this.isSavingCert = false\n }\n\n _handleAddCert = () => {\n this.certificationId = ''\n this.certificationType = ''\n this.certificationIssueDate = ''\n this.certificationExpDate = ''\n this.isAddDialogOpen = true\n }\n\n _handleOpenEditCert = (certification: Certification) => {\n this.certificationId = certification.id \n this.certificationType = certification.certificationType\n this.certificationIssueDate = certification.issuedAt ? isoToLocalDateString(certification.issuedAt, \"MM/dd/yyyy\") : ''\n this.certificationExpDate = certification.expiresAt ? isoToLocalDateString(certification.expiresAt, \"MM/dd/yyyy\") : ''\n this.isEditDialogOpen = true \n }\n\n _handleRemoveCert = async (certificationId: string) => {\n const { profileStore, notify } = this.props\n if (!profileStore || !notify) { return }\n try {\n await profileStore.deleteCertification(certificationId)\n await this._refreshProfileCerts()\n this._handleClose()\n } catch (err) {\n notify.show('error', getErrorMessage(err))\n }\n }\n\n _refreshProfileCerts = async () => {\n const { profile, profileStore, onChange } = this.props\n if (onChange) {\n const freshProfile = await profileStore!.getProfile(profile!.id)\n onChange(freshProfile!)\n }\n }\n\n _handleClose = (profile?: Profile) => {\n if (this.isAddDialogOpen) { this.isAddDialogOpen = false }\n if (this.isEditDialogOpen) { this.isEditDialogOpen = false }\n \n this.certificationId = ''\n this.certificationType = ''\n this.certificationIssueDate = ''\n this.certificationExpDate = ''\n\n if (profile && this.props.onChange) {\n this.props.onChange(profile)\n }\n }\n\n fileFolder = () => {\n const { profile } = this.props\n return `users/${profile!.userId}/profile/certifications`\n }\n\n renderStaticFields = () => {\n return (\n \n {\n this.certificationType = value!\n }}\n />\n ) => this.certificationIssueDate = value}\n />\n ) => this.certificationExpDate = value}\n />\n \n )\n }\n\n renderAddDialog = () => {\n const { profile } = this.props \n const level = 'public'\n\n return ( \n file ? `${this.fileFolder()}/${createUUID()}-${file.name}` : ''}\n fileNameGetter={() => {\n return null \n }}\n level={level}\n description={this.renderFileDialogDescription()}\n onSaveDialog={async () => {\n // TODO: The dialog should validate requred fields automatically. We could use AppDialog instead. \n if (this.certificationType && this.certificationIssueDate) {\n await this._handleSaveCert()\n }\n }}\n onDeleteFile={async (key: string, fileUrl: string) => {\n // No operation needed here b/c we haven't saved a file yet. \n }}\n >\n { this.renderStaticFields() }\n
\n )\n }\n\n renderFileDialogDescription = () => {\n return (\n <>\n \n Add relevant certifications applicable to your field. You can optionally upload an image or file of your certification. \n \n
    \n
  • \n For the Construction industry, examples include Construction Quality Management (CQM-C) and OSHA 30-Hour.\n
  • \n
  • \n For the Information Technology industry, an example is Certified Information Systems Security Professional (CISSP).\n
  • \n
  • \n For the Physical Security industry, an example is Physical Security Professional (PSP).\n
  • \n
\n \n )\n }\n\n renderFilePreview = (certification: Certification) => {\n const { profile } = this.props \n\n const level = \"public\"\n\n return (\n {\n this._handleOpenEditCert(certification)\n }}\n filePreviewProps={{\n level: level,\n fileKey: certification.certificateKey,\n emptyLabel: \"Add Certification Image or PDF\",\n label: \"View Certification\",\n onClickEmpty: () => { this.isEditDialogOpen = true }\n }}\n fileDialogProps={{\n fileKey: certification.certificateKey ?? null, \n fileUploadOptional: true, \n isLoading: this.isLoading,\n title: 'Edit Certification',\n uploadButtonText: 'Upload',\n uploadDisabled: this.isSavingCert || !this.certificationType || !this.certificationIssueDate,\n open: this.isEditDialogOpen && this.certificationId === certification.id,\n onSaveDialog: async () => { \n if (this.certificationType && this.certificationIssueDate) {\n await this._handleSaveCert(undefined, undefined, certification.id)\n }\n },\n onSaveWithFile: (key: string, fileUrl: string) => this._handleSaveCert(key, fileUrl, certification.id),\n onDeleteFile: () => this._handleRemoveCert(certification.id),\n onClose: () => this._handleClose(), \n keyGenerator: (file?: File) => file ? `${this.fileFolder()}/${createUUID()}-${file.name}` : '',\n fileNameGetter: () => {\n if (certification.certificateKey) {\n const chunks = certification.certificateKey.split(`${this.fileFolder()}/`)\n return chunks[chunks.length - 1]\n }\n return null \n },\n level: level,\n description: this.renderFileDialogDescription(),\n children: this.renderStaticFields()\n }}\n />\n )\n }\n\n renderCertification = (certification: Certification, index: number) => {\n const {\n classes,\n jobCandidate, \n profile, \n userStore\n } = this.props \n\n if (!profile) {\n return null \n }\n\n const user = userStore!.user\n const showPreview = profile.getIsUnlocked(user, jobCandidate)\n\n return (\n \n \n \n \n \n {certification.issuedAt ? format(isoToLocalDate(certification.issuedAt), 'M/d/yy') : ''}\n {certification.expiresAt ? ` - ${format(isoToLocalDate(certification.expiresAt), 'M/d/yy')}` : ''}\n \n \n \n {certification.certificationType}\n \n \n \n { showPreview ? \n this.renderFilePreview(certification)\n : \n \n \n You can view this certificate file when the candidate is unlocked.\n \n \n }\n \n \n \n )\n }\n\n render() {\n const { classes, profile, userStore, onChange } = this.props\n \n if (!profile) {\n return null\n }\n\n const isAuthenticated = userStore!.isAuthenticated\n \n let addButton\n if (onChange) {\n addButton =\n \n \n \n }\n\n const showInstructions = profile!.certifications.length === 0 && onChange \n \n return (\n \n \n { this.renderAddDialog() }\n\n \n {showInstructions &&\n \n \n Add relevant certifications applicable to your field. You can optionally upload an image of your certification. \n \n \n }\n {isAuthenticated && profile!.certifications.map((certification, index) => {\n return this.renderCertification(certification, index)\n })}\n {!isAuthenticated && profile!.certifications.length > 0 &&\n \n \n {profile!.certifications.length} items available when you join or login...\n \n \n }\n \n \n \n )\n }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(ProfileCertifications)))\n","import React from \"react\";\nimport {createStyles, Theme, WithStyles, WithTheme} from \"@material-ui/core\";\nimport {withStyles, withTheme} from \"@material-ui/core/styles\";\n\nconst styles = (theme: Theme) => createStyles({\n formGroupSpacing: {\n flexGrow: 0,\n width: 10,\n }\n})\n\nexport class FormGroupSpacer extends React.Component & WithTheme> {\n\n render() {\n const { classes } = this.props\n return (\n
\n )\n }\n}\n\nexport default withTheme((withStyles(styles)(FormGroupSpacer)))","import * as React from 'react'\n\ninterface IVisibleProps {\n if: boolean\n children?: any\n}\n\nclass Visible extends React.Component {\n\n render() {\n const condition = this.props.if // (this.props.if !== undefined) ? this.props.if : false\n\n if (condition) {\n return (this.props.children)\n } else {\n return null\n }\n }\n}\n\nexport default Visible","import {\n createStyles,\n Dialog,\n DialogActions,\n DialogContent,\n DialogTitle,\n FormGroup,\n Grid,\n isWidthDown, TextareaAutosize,\n Theme, Typography,\n withStyles,\n WithStyles,\n WithTheme,\n withTheme,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport { grey } from \"@material-ui/core/colors\";\nimport AddIcon from \"@material-ui/icons/Add\";\nimport EditIcon from \"@material-ui/icons/Edit\";\nimport { parse } from \"date-fns\";\nimport endOfMonth from 'date-fns/endOfMonth';\nimport { makeObservable, observable } from \"mobx\";\nimport { inject, observer } from \"mobx-react\";\nimport React from \"react\";\nimport { CreateEducationInput, UpdateEducationInput } from \"../../API\";\nimport AddButton from \"../../components/AddButton\";\nimport CardValue from \"../../components/CardValue\";\nimport IconicButton from \"../../components/controls/IconicButton\";\nimport CancelButton from \"../../components/form/CancelButton\";\nimport DatePickerValidator from \"../../components/form/DatePickerValidator\";\nimport FormGroupSpacer from \"../../components/form/FormGroupSpacer\";\nimport FormValidator from \"../../components/form/FormValidator\";\nimport ProgressButton from \"../../components/form/ProgressButton\";\nimport TextFieldValidator from \"../../components/form/TextFieldValidator\";\nimport Notify from \"../../components/notify/Notify\";\nimport TextBlock from \"../../components/TextBlock\";\nimport Visible from \"../../components/Visible\";\nimport Education from \"../../model/Education\";\nimport Profile from \"../../model/Profile\";\nimport ProfileStore from \"../../stores/ProfileStore\";\nimport {\n getErrorMessage,\n isoToLocalDateString\n} from \"../../stores/StoreUtilities\";\nimport UserStore from \"../../stores/UserStore\";\nimport ProfileCard from \"./ProfileCard\";\n\nconst styles = (theme: Theme) => createStyles({\n container: {\n flex: 1\n },\n educationContainer: {\n },\n form: {\n overflowY: \"auto\",\n display: \"flex\",\n flexDirection: \"column\"\n },\n formGroupRow: {\n display: \"flex\",\n justifyContent: \"space-between\",\n flexWrap: \"nowrap\"\n },\n progressButton: {\n minWidth: 80\n },\n schoolTitle: {\n fontFamily: [\n 'Montserrat',\n 'sans-serif'\n ].join(','),\n fontWeight: 800,\n fontSize: 20,\n color: theme.palette.secondary.dark\n },\n label: {\n color: theme.palette.text.secondary,\n fontSize: 12,\n marginTop: theme.spacing(1),\n marginBottom: 4,\n marginLeft: 0,\n },\n textarea: {\n fontFamily: [\n 'Roboto',\n 'sans-serif'\n ].join(','),\n minWidth: \"100%\",\n maxWidth: \"100%\",\n padding: 8,\n fontSize: 16\n },\n publicNotice: {\n marginTop: theme.spacing(1),\n padding: theme.spacing(1),\n backgroundColor: grey[500],\n color: theme.palette.primary.contrastText,\n borderRadius: 10,\n textAlign: \"center\"\n }\n})\n\nexport interface IProfileEducationProps {\n profile?: Profile\n isOpen?: boolean\n onChange?: (profile: Profile) => any\n onClose?: any\n profileStore?: ProfileStore\n userStore?: UserStore\n notify?: Notify\n}\n\nclass ProfileEducationViewModel {\n @observable id: string\n @observable school: string\n @observable degree: string\n @observable field: string\n @observable startDate: string\n @observable endDate: string\n @observable description: string\n\n constructor (e: Education) {\n makeObservable(this);\n this.id = e.id\n this.school = e.school\n this.degree = e.degree\n this.field = e.field\n this.startDate = (e.startDate) ? isoToLocalDateString(e.startDate, \"MM/yyyy\") : \"\"\n this.endDate = (e.endDate) ? isoToLocalDateString(e.endDate, \"MM/yyyy\") : \"\"\n this.description = e.description\n }\n}\n\n@inject(\"userStore\", \"profileStore\", \"notify\")\n@observer\nclass ProfileEducation extends React.Component & WithTheme & WithWidth & IProfileEducationProps> {\n @observable educations: Education[] = []\n @observable viewModel?: ProfileEducationViewModel\n @observable isFormOpen: boolean = false\n @observable isProcessing = false\n\n constructor(\n props: WithStyles & WithTheme & WithWidth & IProfileEducationProps\n ) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount() {\n this.loadEducations()\n }\n\n componentDidUpdate(prevProps: any) {\n if (prevProps.profile !== this.props.profile) {\n this.componentDidMount()\n }\n if (prevProps.isOpen !== this.props.isOpen) {\n if (this.props.isOpen) {\n this.handleAdd()\n } else {\n this.isFormOpen = false\n }\n }\n }\n\n render() {\n const { onChange, profile, width } = this.props\n\n let addButton\n if (onChange) {\n addButton =\n \n \n \n }\n\n if (!profile) {\n return null;\n }\n\n return (\n \n \n {profile &&\n \n {this.renderStaticFields()}\n \n }\n \n {this.isFormOpen && this.renderForm()}\n\n \n )\n }\n\n renderStaticFields() {\n const {width, classes, onChange, userStore} = this.props\n\n // NOTE: The profile is used here rather than the viewModel because we don't want the\n // form changes to affect the static fields until the user presses Save\n\n const isAuthenticated = userStore!.isAuthenticated\n const instructions = this.educations.length === 0 && onChange ? \"Add education.\" : \"\"\n const labelWidth = 120 \n\n return (\n
\n \n {instructions &&\n \n \n {instructions}\n \n \n }\n {isAuthenticated &&\n \n {this.educations.map((e: Education) => {\n return \n {onChange &&\n \n {\n this.handleEdit(e)\n }}>\n \n \n \n }\n {!onChange &&\n  \n }\n \n \n {e.school}\n \n \n \n \n {e.degree}\n \n \n \n {e.field}\n \n \n \n \n {isoToLocalDateString(e.startDate, \"yyyy\")} - {isoToLocalDateString(e.endDate, \"yyyy\")}\n \n \n \n \n \n {e.description}\n \n \n \n })}\n \n }\n {!isAuthenticated && this.educations.length > 0 &&\n \n \n {this.educations.length} items available when you join or login...\n \n \n }\n \n
\n )\n }\n\n renderForm() {\n const { classes } = this.props\n const vm = this.viewModel!\n\n return (\n \n \n Education\n \n \n \n \n \n \n \n \n \n\n
Description
\n \n
\n \n \n \n {vm.id &&\n this.handleDelete(vm.id)}\n />\n }\n \n \n \n \n \n Save\n \n \n \n \n \n
\n \n\n )\n }\n\n handleChange = (event: any) => {\n const name = event.target.name\n this.viewModel![name] = event.target.value\n }\n\n handleAdd = (): void => {\n const { profile } = this.props\n\n if (profile) {\n const education = new Education({\n userId: profile.userId,\n profileId: profile.id,\n school: \"\",\n description: \"\",\n degree: \"\",\n field: \"\",\n startDate: \"\",\n endDate: \"\",\n })\n\n this.viewModel = new ProfileEducationViewModel(education)\n this.isFormOpen = true\n }\n }\n\n handleEdit = (education: Education): void => {\n if (this.props.profile) {\n this.viewModel = new ProfileEducationViewModel(education)\n this.isFormOpen = true\n }\n }\n\n handleDelete = async (educationId: string) => {\n const { profileStore, profile, onChange, notify } = this.props\n\n try {\n await profileStore!.deleteEducation(educationId)\n const index = profile!.education.findIndex((e: Education) => e.id === educationId)\n if (index >= 0) {\n profile!.education.splice(index, 1)\n }\n this.loadEducations()\n if (onChange) {\n onChange(profile!)\n }\n this.isProcessing = false\n this.handleClose()\n } catch (error) {\n notify!.show(\"error\", getErrorMessage(error))\n }\n }\n\n handleClose = () => {\n this.isFormOpen = false\n if (this.props.onClose) {\n this.props.onClose()\n }\n }\n\n onSubmit = async () => {\n const {profile, profileStore, onChange, notify} = this.props\n const vm = this.viewModel!\n\n if (onChange) {\n this.isProcessing = true\n\n try {\n if (!vm.id) {\n const input: CreateEducationInput = {\n userId: profile!.userId,\n profileId: profile!.id,\n degree: vm.degree,\n field: vm.field,\n school: vm.school,\n startDate: vm.startDate ? this.getISODateFromMonthYearString(vm.startDate): null,\n endDate: vm.endDate ? this.getISODateFromMonthYearString(vm.endDate, true) : null,\n description: vm.description,\n }\n\n let education = await profileStore?.createEducation(input)\n\n if (education) {\n profile!.education.push(education)\n this.loadEducations()\n onChange(profile!)\n this.isProcessing = false\n this.handleClose()\n }\n } else {\n const input: UpdateEducationInput = {\n id: vm.id,\n degree: vm.degree,\n field: vm.field,\n school: vm.school,\n startDate: this.getISODateFromMonthYearString(vm.startDate),\n endDate: vm.endDate ? this.getISODateFromMonthYearString(vm.endDate, true) : null,\n description: vm.description,\n }\n\n let education = await profileStore?.updateEducation(input)\n\n if (education) {\n const index = profile!.education.findIndex((e: Education) => e.id === vm.id)\n if (index >= 0) {\n profile!.education[index] = education\n }\n this.loadEducations()\n onChange(profile!)\n this.isProcessing = false\n this.handleClose()\n }\n }\n } catch (error) {\n notify!.show(\"error\", getErrorMessage(error))\n this.isProcessing = false\n }\n\n this.isProcessing = false\n }\n }\n\n loadEducations = () => {\n const { profile } = this.props\n\n if (!profile) {\n return\n }\n\n let educations: Education[] = []\n\n if (profile!.education && profile!.education.length > 0) {\n profile!.education.forEach((education: Education) => {\n educations.push(education)\n })\n // Sort in reverse startDate order\n educations.sort((a: Education, b: Education) => {\n if (b.startDate && !a.startDate){\n return 1\n } else if (!b.startDate && a.startDate) {\n return -1\n } else if (!b.startDate && !a.startDate) {\n return 0\n } else {\n return b.startDate.localeCompare(a.startDate)\n }\n })\n }\n\n this.educations = educations\n }\n\n getISODateFromMonthYearString(input: string | null | undefined, monthEnd: boolean = false) {\n if (input) {\n let date = parse(input, \"MM/yyyy\", new Date())\n if (monthEnd) {\n date = endOfMonth(date)\n date.setMinutes(-date.getTimezoneOffset())\n }\n return date.toISOString().substr(0, 10)\n } else {\n return \"\"\n }\n }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(ProfileEducation)))\n","export default __webpack_public_path__ + \"static/media/Profile_Hero_Image_New.790ee507.jpg\";","import { Theme, createStyles, makeStyles } from \"@material-ui/core\"\nimport IconicButton from \"./IconicButton\"\nimport Edit from \"@material-ui/icons/Edit\"\n\nconst useStyles = makeStyles((theme: Theme) => createStyles({\n editButtonSmall: {\n width: 24,\n height: 24\n },\n editButtonMedium: {\n width: 32,\n height: 32\n },\n editButtonLarge: {\n width: 48,\n height: 48\n },\n}))\n\nconst EditButton = ({\n size,\n onClick\n}: {\n size?: \"small\" | \"medium\" | \"large\"\n onClick: () => void \n}) => {\n const classes = useStyles() \n\n const buttonClass = () => {\n if (size === \"small\") {\n return classes.editButtonSmall\n } else if (size === \"large\") {\n return classes.editButtonLarge \n } else {\n return classes.editButtonMedium \n }\n }\n\n return (\n \n \n \n )\n}\n\nexport default EditButton\n","import { Box, Dialog, DialogActions, DialogContent, DialogTitle, Grid, IconButton, LinearProgress, PropTypes } from \"@material-ui/core\"\nimport CancelButton from \"../form/CancelButton\"\nimport FormValidator from \"../form/FormValidator\"\nimport CloseIcon from '@material-ui/icons/Close';\nimport { useRef, useState } from \"react\";\nimport ProgressButton from \"../form/ProgressButton\";\nimport Logger from \"../Logger\";\nimport DialogLoadingProgress from \"./DialogLoadingProgress\";\n\nconst AppDialog = ({\n title,\n submitLabel, \n secondaryLabel, \n dialogId, \n formId, \n shouldHideActionButtons, \n isLoading, \n isOpen,\n maxWidth, \n scroll, \n secondaryAction,\n secondaryColor,\n secondaryIcon,\n onCancel,\n onSubmit, \n children,\n}: {\n title: string\n submitLabel?: string \n secondaryLabel?: string \n dialogId: string \n formId: string \n shouldHideActionButtons?: boolean \n isLoading: boolean \n isOpen: boolean \n maxWidth?: 'sm' | 'md' | 'lg'\n scroll?: 'body' | 'paper'\n secondaryAction?(): Promise\n secondaryColor?: PropTypes.Color \n secondaryIcon?: React.ReactNode\n onCancel(event?: object, reason?: string): void\n onSubmit(event: React.FormEvent): Promise\n children: React.ReactNode\n}) => {\n const ariaLabel = `${dialogId}-title`\n const formRef = useRef(null)\n const [isProcessing, setIsProcessing] = useState(false)\n const [isProcessingSecondary, setIsProcessingSecondary] = useState(false)\n \n return (\n \n \n {title}\n theme.palette.grey[500],\n // }}\n >\n \n \n \n \n \n ) => {\n setIsProcessing(true)\n onSubmit(e)\n .then(() => {\n setIsProcessing(false)\n })\n .catch((error) => {\n Logger.error('Error on dialog form submit', error)\n setIsProcessing(false)\n })\n }}\n >\n {children}\n \n \n { (shouldHideActionButtons === undefined || shouldHideActionButtons === false) && \n \n \n { secondaryAction && secondaryLabel && \n \n {\n setIsProcessingSecondary(true)\n await secondaryAction() // TODO: Test by deleting a job post. \n setIsProcessingSecondary(false)\n }}\n >\n {secondaryLabel}\n \n \n }\n \n \n \n \n \n \n \n ) => {\n event.preventDefault()\n\n // https://stackoverflow.com/a/69085585/396110\n // https://stackoverflow.com/questions/70666338/react-dynamic-form-input-useref-typeerror\n\n // In order to make the dialog title bar and buttons \n // not scroll with the dialog content,\n // we need to use this workaround to have a hidden button\n // that will trigger the form submit. \n // We then virtually click the hidden button via this DialogButton. \n // The reason we need to do this is because \n // DialogContent needs to be separate element from DialogActions in \n // order for the \"sticky\" header/footer and scrolling to work. \n\n formRef.current!.onSubmit()\n }}\n >\n {submitLabel ?? \"Save\"}\n \n \n \n \n \n \n }\n \n )\n}\n\nexport default AppDialog\n","import { Box, createStyles, makeStyles, Paper, Theme, Typography } from \"@material-ui/core\"\nimport Stack from \"../Stack\"\n\nconst useStyles = makeStyles((theme: Theme) => createStyles({\n panel: {\n backgroundColor: 'hsl(219, 30%, 90%)',\n boxShadow: 'rgba(0, 0, 0, 0.15) 0px 5px 15px 0px'\n },\n title: {\n fontWeight: 'bold'\n }\n}))\n\nconst InstructionsPanel = ({\n text\n}: {\n text: string[]\n}) => {\n const classes = useStyles()\n\n return (\n \n \n Instructions\n \n { text.map((text, index) => {\n return {text}\n })}\n \n \n \n )\n}\n\nexport default InstructionsPanel\n","import { FormEvent, useEffect, useState } from \"react\"\nimport Profile from \"../../model/Profile\"\nimport { useStores } from \"../../stores/StoreProvider\"\nimport { when } from \"mobx\"\nimport { Box, Button, DialogContentText, Typography } from \"@material-ui/core\"\nimport { Add } from \"@material-ui/icons\"\nimport Stack from \"../../components/Stack\"\nimport EditButton from \"../../components/controls/EditButton\"\nimport AppDialog from \"../../components/dialog/AppDialog\"\nimport DialogPanelInstructions from \"../../components/panel/DialogPanelInstructions\"\nimport TextFieldValidator from \"../../components/form/TextFieldValidator\"\nimport InstructionsPanel from \"../../components/page/InstructionsPanel\"\nimport * as APITypes from \"../../API\"\n\nconst ProfileCredentialsView = ({\n profile, \n textVariant,\n textColor,\n onChange\n}: {\n profile?: Profile \n textVariant?: 'h2' | 'h4' | 'body1'\n textColor?: 'primary' | 'secondary' | 'inherit'\n onChange?(updatedProfile: Profile): Promise \n}) => {\n\n const { profileStore, userStore, progress } = useStores()\n\n const title = \"ProfileCredentialsView\"\n const [isProfileEditable, setIsProfileEditable] = useState(false)\n const [showDialog, setShowDialog] = useState(false)\n const [credentials, setCredentials] = useState(null)\n \n useEffect(() => {\n progress.show(title)\n\n when(\n // once...\n () => userStore!.isLoading === false,\n // ... then\n async () => {\n if (profile) {\n const isProfileEditable = userStore!.isProfileEditable(profile)\n setIsProfileEditable(isProfileEditable)\n\n setCredentials(profile?.credentials ?? null)\n }\n progress.hide(title)\n }\n )\n }, [\n profile, \n userStore,\n progress \n ])\n\n const renderString = () => {\n if (!profile) {\n return null \n }\n\n return (\n \n { profile.credentials }\n \n )\n }\n\n const renderEditable = () => {\n if (profile!.credentials) {\n // String w/ edit button \n return (\n \n {renderString()}\n { onChange && \n {\n setShowDialog(true)\n }} \n />\n }\n \n )\n } else {\n // Button \n if (onChange) {\n return (\n \n }\n onClick={() => {\n setShowDialog(true)\n }}\n >\n Credentials\n \n \n )\n } else {\n return null \n }\n }\n }\n\n const renderDialog = () => {\n return (\n {\n setShowDialog(false)\n }} \n onSubmit={async (event: FormEvent) => {\n try {\n const updateProfileInput: APITypes.UpdateProfileInput = {\n id: profile!.id, \n credentials: credentials\n }\n const updatedProfile = await profileStore.updateProfile(updateProfileInput)\n await onChange!(updatedProfile!)\n } catch (error) {\n console.error(\"Could not save profile\", error)\n }\n\n setShowDialog(false)\n }} \n >\n \n \n {\n const { value } = event.target \n if (value.length < 15) {\n setCredentials(value)\n } \n }}\n />\n \n \n )\n }\n\n return (\n \n { isProfileEditable ? \n renderEditable() \n : \n renderString()\n }\n { renderDialog() }\n \n )\n}\n\nexport default ProfileCredentialsView\n","import {\n Avatar,\n Button,\n createStyles,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n Grid,\n Link,\n makeStyles,\n Theme,\n Typography\n} from \"@material-ui/core\"\nimport classnames from \"classnames\"\nimport JobCandidate from \"../../model/JobCandidate\"\nimport Profile from \"../../model/Profile\"\nimport ActionLink from \"../ActionLink\"\nimport LockIcon from '@material-ui/icons/Lock';\nimport React, {useEffect, useState} from \"react\"\nimport {Skeleton} from \"@material-ui/lab\"\nimport Stack from \"../Stack\"\nimport {LockOpen} from \"@material-ui/icons\"\nimport {JobCandidateStatus, UpdateJobCandidateInput, UpdateJobPostInput, UserRole} from \"../../API\"\nimport {useStores} from \"../../stores/StoreProvider\"\nimport {when} from \"mobx\"\nimport FormValidator from \"../form/FormValidator\"\nimport CardValue from \"../CardValue\"\nimport CancelButton from \"../form/CancelButton\"\nimport ProgressButton from \"../form/ProgressButton\"\nimport Answer from \"../../model/Answer\";\nimport ProfileCredentialsView from \"../../views/profiles/ProfileCredentialsView\"\n\nconst useStyles = makeStyles((theme: Theme) => createStyles({\n avatar: {\n backgroundColor: theme.palette.primary.main,\n borderWidth: 2,\n },\n avatarLocked: {\n backgroundColor: theme.palette.grey[300],\n borderWidth: 2,\n },\n avatarTextLarge: {\n fontSize: 24,\n },\n avatarTextSmall: {\n fontSize: 14,\n lineHeight: 21 \n },\n avatarActive: {\n backgroundColor: theme.palette.primary.main,\n color: theme.palette.primary.contrastText\n },\n avatarApplied: {\n backgroundColor: theme.palette.secondary.main,\n color: theme.palette.secondary.contrastText\n },\n avatarHired: {\n backgroundColor: theme.palette.success.dark,\n color: theme.palette.primary.contrastText\n },\n avatarRejected: {\n backgroundColor: theme.palette.error.dark,\n color: theme.palette.error.contrastText\n },\n avatarInactive: {\n backgroundColor: theme.palette.action.disabled,\n color: theme.palette.primary.contrastText\n },\n avatarPending: {\n backgroundColor: theme.palette.warning.main,\n color: theme.palette.primary.contrastText\n },\n large: {\n fontSize: 24,\n width: 60,\n height: 60,\n fontWeight: 'bold',\n },\n small: {\n fontSize: 14,\n width: 34,\n height: 34,\n },\n form: {\n overflowY: \"auto\",\n display: \"flex\",\n flexDirection: \"column\"\n },\n progressButton: {\n minWidth: 80\n },\n error: {\n color: theme.palette.error.main\n },\n}))\n\nconst ProfileNameView = ({\n profile,\n jobCandidate,\n size,\n onClickTitle,\n onUpdateJobCandidate,\n showAvatar,\n showUnlock,\n textColor, \n textVariant,\n onUpdateProfile\n}: {\n profile: Profile\n jobCandidate?: JobCandidate\n size?: 'large' | 'small'\n onClickTitle?(): void\n onUpdateJobCandidate?(jobCandidate: JobCandidate): void \n showAvatar?: boolean \n showUnlock?: boolean \n textColor?: 'primary' | 'secondary' | 'inherit'\n textVariant?: 'h2' | 'h4' | 'body1'\n onUpdateProfile?(updatedProfile: Profile): Promise\n}) => {\n // const theme = useTheme()\n const classes = useStyles()\n const { jobStore, userStore, progress } = useStores()\n\n const [isLoading, setIsLoading] = useState(true)\n const [isProcessing, setIsProcessing] = useState(false)\n const [isUnlocked, setIsUnlocked] = useState(false)\n const [fullName, setFullName] = useState()\n const [initials, setInitials] = useState()\n\n const [isUnlockDialogOpen, setIsUnlockDialogOpen] = useState(false)\n // const [error, setError] = useState(\"\")\n\n useEffect(() => {\n progress.show(\"ProfileName\")\n\n when(\n // once...\n () => !userStore!.isLoading,\n // ... then\n async () => {\n // Load profile\n const isUnlocked = profile.getIsUnlocked(userStore.user, jobCandidate)\n\n let fullName \n\n if (isUnlocked) {\n fullName = profile.user?.fullName ?? profile.nickname\n }\n \n const initials = profile.initials\n \n setFullName(fullName)\n setInitials(initials)\n setIsUnlocked(isUnlocked)\n\n setIsLoading(false)\n progress.hide(\"ProfileName\")\n }\n )\n }, [\n profile, \n jobCandidate,\n userStore,\n progress \n ])\n\n const renderAvatar = () => {\n if (isLoading) {\n const dimension = size && size === 'large' ? 44 : 24\n return (\n \n )\n }\n\n const status = jobCandidate ? jobCandidate.status : JobCandidateStatus.Interested\n\n let statusClassName\n\n if (jobCandidate) {\n if (jobCandidate.status === JobCandidateStatus.Applied && jobCandidate.application) {\n let isApplicant\n if (jobCandidate.profile && jobCandidate.profile.user && jobCandidate.profile.user.role === UserRole.Candidate) {\n isApplicant = false\n } else if (jobCandidate.profile && jobCandidate.profile.profileStatus) {\n isApplicant = jobCandidate.profile.inReview()\n } else {\n isApplicant = jobCandidate.application.find((a: Answer) => a.name === \"GovGig Candidate\" && a.value === \"false\")\n }\n if (isApplicant) {\n statusClassName = classes.avatarPending\n }\n }\n }\n\n if (!statusClassName) {\n switch (status) {\n case JobCandidateStatus.Applied:\n statusClassName = classes.avatarApplied\n break\n case JobCandidateStatus.Accepted:\n case JobCandidateStatus.Reviewing:\n case JobCandidateStatus.Contacted:\n statusClassName = classes.avatarActive\n break\n case JobCandidateStatus.Hired:\n statusClassName = classes.avatarHired\n break\n case JobCandidateStatus.Rejected:\n case JobCandidateStatus.Declined:\n statusClassName = classes.avatarRejected\n break\n default:\n statusClassName = classes.avatarInactive\n break\n }\n }\n\n let classArray = [statusClassName]\n if (size) {\n if (size === 'large') {\n classArray.push(classes.large)\n } else if (size === 'small') {\n classArray.push(classes.small)\n }\n }\n return (\n {\n if (onClickTitle) onClickTitle()\n }}\n style={{\n cursor: onClickTitle ? \"pointer\" : undefined\n }}\n >\n \n { isUnlocked ? \n \n {initials}\n \n : \n \n }\n \n \n )\n }\n\n const renderLink = () => {\n const text = isUnlocked ? fullName! : initials!\n return (\n \n )\n }\n\n const renderName = () => {\n if (isLoading) {\n return (\n \n )\n }\n\n return (\n \n \n { onClickTitle ? \n renderLink()\n : \n \n { isUnlocked ? fullName : initials }\n \n }\n {\n await onUpdateProfile(updatedProfile)\n } : undefined } \n />\n { isUnlocked === false && showUnlock && jobCandidate && \n {\n setIsUnlockDialogOpen(true)\n }}\n startIcon={ }\n >\n Unlock Profile\n \n }\n \n \n \n )\n }\n \n const onSubmitUnlock = async () => {\n setIsProcessing(true)\n\n const input: UpdateJobCandidateInput = {\n id: jobCandidate!.id,\n unlocked: true \n }\n const updatedJobCandidate = await jobStore.updateJobCandidate(input)\n \n const jobPost = updatedJobCandidate!.jobPost\n const unlocksAvailable = jobPost!.unlocksAvailable - 1 \n if (unlocksAvailable < 0) {\n // setError('No more unlocks remaining. Please contact GovGig to request more.')\n throw new Error('No more unlocks')\n }\n\n // TODO: Update Job Post. \n const jobPostInput: UpdateJobPostInput = {\n id: jobCandidate!.jobPostId,\n unlocksAvailable: unlocksAvailable\n }\n const updatedJobPost = await jobStore.updateJobPost(jobPostInput)\n updatedJobCandidate!.jobPost = updatedJobPost\n\n if (onUpdateJobCandidate) {\n onUpdateJobCandidate(updatedJobCandidate!)\n }\n\n setIsProcessing(false)\n setIsUnlockDialogOpen(false)\n }\n\n const renderUnlockDialog = () => {\n if (!isUnlockDialogOpen) {\n return null \n }\n const jobPost = jobCandidate!.jobPost! \n return (\n setIsUnlockDialogOpen(false)}\n fullWidth\n maxWidth=\"sm\"\n scroll=\"paper\"\n >\n \n Unlock Candidate Contact Info\n \n Unlock the Candidate's contact information for this Job Post.\n {`You have ${jobPost.unlocksAvailable} unlocks remaining for this job post.`}\n {/* \n {error}\n */}\n \n \n \n {profile.initials}\n \n \n \n \n {jobPost.title}\n \n \n \n \n {jobPost.location!.name}\n \n \n \n \n \n \n setIsUnlockDialogOpen(false)} />\n \n Unlock \n \n \n \n \n \n )\n }\n \n return (\n \n \n { showAvatar && \n \n { renderAvatar() }\n \n }\n \n { renderName() }\n \n \n { renderUnlockDialog() }\n \n )\n}\n\nexport default ProfileNameView\n","import {\n alpha,\n Box,\n Button,\n createStyles,\n Grid,\n Theme,\n Typography,\n WithStyles,\n withStyles,\n WithTheme,\n withTheme,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport {makeObservable, observable} from \"mobx\";\nimport {inject, observer} from \"mobx-react\";\nimport React from \"react\";\nimport DialogButton from \"../../components/form/DialogButton\";\nimport Notify from \"../../components/notify/Notify\";\nimport ProfileHeroImage from \"../../images/Profile_Hero_Image_New.jpg\";\nimport Profile, {ProfileAvailabilityOptions} from \"../../model/Profile\";\nimport UserStore from \"../../stores/UserStore\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport JobCandidate from \"../../model/JobCandidate\";\nimport JobPost from \"../../model/JobPost\";\nimport Account from \"../../model/Account\";\nimport JobStore from \"../../stores/JobStore\";\nimport ProfileNameView from \"../../components/profile/ProfileNameView\";\nimport Stack from \"../../components/Stack\";\nimport ScheduleIcon from '@material-ui/icons/Schedule';\nimport PersonIcon from '@material-ui/icons/Person';\nimport BusinessIcon from '@material-ui/icons/Business';\nimport LockIcon from '@material-ui/icons/Lock';\nimport ResourceCache from \"../../stores/ResourceCache\";\nimport { Add } from \"@material-ui/icons\";\nimport ProfileCredentialsView from \"../../views/profiles/ProfileCredentialsView\";\n// import JobPickerDialog from \"./job-picker/JobPickerDialog\";\n// import UserActivity, {ActivityType} from \"../../model/UserActivity\";\n// import Logger from \"../../components/Logger\";\n// import JobCandidateInviteDialog from \"../../components/jobPosts/JobCandidateInviteDialog\";\n// import LinkIcon from '@material-ui/icons/Link';\n// import MailOutlineIcon from '@material-ui/icons/MailOutline';\n// import StarBorderIcon from '@material-ui/icons/StarBorder';\n// import StarIcon from '@material-ui/icons/Star';\n// import SendIcon from '@material-ui/icons/Send';\n// import {CopyToClipboard} from 'react-copy-to-clipboard';\n// import {\n// CreateJobCandidateInput,\n// CreateUserActivityInput,\n// JobCandidateStatus,\n// ProfileStatus,\n// SubjectType\n// } from \"../../API\";\n\nconst styles = (theme: Theme) => createStyles({\n panel: {\n paddingTop: theme.spacing(2),\n paddingRight: theme.spacing(3),\n paddingBottom: theme.spacing(3),\n paddingLeft: theme.spacing(3),\n background: `darkblue url(${ProfileHeroImage}) no-repeat center center`,\n backgroundSize: 'cover',\n color: theme.palette.common.white,\n borderRadius: '10px 10px 0px 0px',\n height: \"100%\"\n },\n actionButton: {\n backgroundColor: theme.palette.secondary.main,\n color: theme.palette.secondary.contrastText,\n marginTop: 0,\n marginLeft: 0,\n border: 'none',\n boxShadow: 'rgba(0, 0, 0, 0.25) 0px 1px 3px 0px',\n \"&:hover\": {\n color: theme.palette.secondary.contrastText,\n backgroundColor: theme.palette.secondary.light,\n border: 'none',\n },\n \"&:disabled\": {\n backgroundColor: alpha(theme.palette.secondary.main, 0.5),\n color: alpha(theme.palette.secondary.contrastText, 0.5),\n },\n },\n actionButtonSubmit: {\n minWidth: 80,\n },\n actionButtonShare: {\n // marginLeft: '1rem',\n borderRadius: 50,\n padding: '.5rem',\n minWidth: 'fit-content',\n },\n actionButtonShareIcon: {\n },\n availableNow: {\n color: theme.palette.success.light\n },\n availableSoon: {\n color: theme.palette.warning.main\n },\n availableLater: {\n color: theme.palette.error.main\n },\n unavailable: {\n color: theme.palette.text.secondary\n }\n})\n\nexport interface IProfileHeroProps {\n // isSaved?: boolean\n profile?: Profile\n onChange?: (profile: Profile) => any\n account?: Account\n \n // When shown in context of reviewing the Candidate after Interested or Invite JobCandidate status: \n jobCandidate?: JobCandidate\n // jobCandidateId?: string\n\n // When shown in context of searching for Candidates prior to engaging with them:\n jobPostId?: string\n\n accountStore?: AccountStore\n jobStore?: JobStore\n notify?: Notify\n userStore?: UserStore\n resourceCache?: ResourceCache\n}\n\n@inject(\n \"userStore\", \n \"accountStore\", \n \"jobStore\", \n \"notify\", \n \"resourceCache\"\n)\n@observer\nclass ProfileHero extends React.Component & WithTheme & WithWidth & IProfileHeroProps> {\n\n @observable jobPickerDialogOpen: boolean = false\n @observable invitePending: boolean = false\n @observable inviteDialogOpen: boolean = false\n // @observable jobCandidate?: JobCandidate\n @observable jobPost?: JobPost\n // @observable isSaved: boolean = false\n\n constructor(props: WithStyles & WithTheme & WithWidth & IProfileHeroProps) {\n super(props)\n makeObservable(this)\n }\n\n componentDidMount() {\n // this.isSaved = Boolean(this.props.isSaved || this.props.jobCandidateId)\n // if (this.props.jobCandidateId) {\n // this.loadJobCandidate()\n // }\n }\n\n componentDidUpdate(prevProps: Readonly & WithTheme & WithWidth & IProfileHeroProps>, prevState: Readonly<{}>, snapshot?: any) {\n // this.isSaved = Boolean(this.props.isSaved || this.props.jobCandidateId)\n }\n\n // render\n\n // renderInviteButton() {\n // const { classes, userStore } = this.props\n\n // let actionButton = null\n\n // const sharedProps = {\n // variant: 'secondary',\n // customClassName: `${classes.actionButton} ${classes.actionButtonSubmit}`,\n // }\n\n // if (userStore!.isAdminOrAgent || userStore!.isEmployer) {\n // const disabled = (this.jobCandidate !== undefined && this.jobCandidate.status !== JobCandidateStatus.Interested)\n // actionButton =\n // \n //  {disabled ? \"Invited\" : \"Invite\"}\n // \n // }\n\n // if (actionButton) {\n // return (\n // \n // {actionButton}\n // \n // )\n // } else {\n // return null\n // }\n // }\n\n // renderActionButton() {\n // const { classes, profile, userStore } = this.props\n\n // let actionButton = null\n\n // const sharedProps = {\n // variant: 'secondary',\n // customClassName: `${classes.actionButton} ${classes.actionButtonSubmit}`,\n // }\n\n // if (profile?.profileStatus === ProfileStatus.Accepted && (userStore!.isAdminOrAgent || userStore!.isEmployer)) {\n // if (this.isSaved) {\n // actionButton =\n // \n //  Saved\n // \n // } else {\n // actionButton =\n // \n //  Save\n // \n // }\n // }\n\n // if (actionButton) {\n // return (\n // \n // {actionButton}\n // \n // )\n // } else {\n // return null \n // }\n // }\n\n renderShareButton(IconComp: any, props: object = {}) {\n const { classes } = this.props\n return (\n \n \n \n )\n }\n\n // renderButtons() {\n // return (\n // <>\n // {profile?.alias && userStore!.isAuthenticated && (\n // \n // \n // \n // {this.renderInviteButton()}\n // {this.renderActionButton()}\n // \n // notify!.show('success', 'Copied profile link to clipboard!')}>\n // {this.renderShareButton(LinkIcon)}\n // \n // \n // {userStore!.isAuthenticated &&\n // \n // \n // {this.renderShareButton(MailOutlineIcon)}\n // \n // \n // }\n // \n // \n // \n // )} \n // \n // )\n // }\n\n renderCard(\n icon: React.ReactNode, \n title: string,\n value: string,\n instructions: string, // Future TODO: Could provide helper text in an info popup, with a help (?) button. \n textColor: string \n ) {\n const { theme } = this.props \n return (\n \n \n \n \n \n {icon}\n \n \n {title}\n \n \n \n \n \n \n \n {value}\n \n \n \n \n \n \n )\n }\n\n render() {\n const {\n classes,\n profile,\n jobCandidate,\n onChange,\n userStore,\n theme \n } = this.props\n\n if (!profile) {\n return null\n }\n\n let experience: string | undefined = undefined\n if (profile!.federalExperience && profile!.totalExperience) {\n const federalYears: string = `${Math.round(profile!.federalExperience * 100) / 100} year${profile!.federalExperience >= 2 ? \"s\" : \"\"}`\n const totalYears: string = `${Math.round(profile!.totalExperience * 100) / 100} year${profile!.totalExperience >= 2 ? \"s\" : \"\"}`\n experience = `${federalYears} Federal (${totalYears} total)`\n // experience = federalYears\n }\n\n let availability = profile.availability\n let availabilityTextColor\n if (availability === ProfileAvailabilityOptions[0]) {\n availabilityTextColor = theme.palette.success.light\n } else if (availability === ProfileAvailabilityOptions[4]) {\n availabilityTextColor = theme.palette.error.main\n } else if (availability === ProfileAvailabilityOptions[5]) {\n availabilityTextColor = theme.palette.text.secondary\n } else {\n availabilityTextColor = theme.palette.warning.main\n }\n\n const isProfileEditable = userStore!.isProfileEditable(profile)\n\n let clearance\n if (profile.securityClearance) {\n clearance = profile.securityClearance\n clearance += ` (${profile.securityStatus})`\n } else if (isProfileEditable) {\n clearance = 'None'\n }\n\n return (\n
\n \n \n \n \n \n \n \n \n \n {\n if (onChange) {\n await onChange(updatedProfile)\n }\n }}\n />\n \n {/* \n {\n if (onChange) {\n await onChange(updatedProfile)\n }\n }} \n />\n */}\n \n \n \n \n { availability &&\n \n {this.renderCard(\n ,\n \"Availability\",\n availability,\n isProfileEditable ? \"Edit in personal info section\" : \"\",\n availabilityTextColor\n )}\n \n }\n { experience &&\n \n {this.renderCard(\n ,\n \"Experience\",\n experience,\n \"\",\n \"\"\n )}\n \n }\n { clearance &&\n \n {this.renderCard(\n ,\n \"Security Clearance\",\n clearance,\n \"\",\n \"\"\n )}\n \n }\n \n \n \n
\n )\n }\n\n get profileUrl () {\n const { profile } = this.props\n const url = new URL(window.location.href)\n return `${url.origin}/profile/${profile!.alias}`\n }\n\n // loadJobCandidate = async () => {\n // const { jobCandidateId, jobStore, profile } = this.props\n // if (jobCandidateId) {\n // this.jobCandidate = await jobStore!.getJobCandidate(jobCandidateId)\n // if (this.jobCandidate) {\n // this.jobCandidate.profile = profile\n // if (!this.jobPost) {\n // this.jobPost = await jobStore!.getJobPost(this.jobCandidate.jobPostId)\n // }\n // this.jobCandidate.jobPost = this.jobPost\n // this.isSaved = true\n // }\n // }\n // }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(ProfileHero)))\n","import { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core'\nimport { red } from \"@material-ui/core/colors\"\nimport { makeObservable, observable } from 'mobx'\nimport { inject, observer } from 'mobx-react'\nimport React from 'react'\nimport AddButton from '../../components/AddButton'\nimport Confirm from '../../components/confirm/Confirm'\nimport Notify from '../../components/notify/Notify'\nimport Profile from '../../model/Profile'\nimport ProfileStore from '../../stores/ProfileStore'\nimport UserStore from '../../stores/UserStore'\n\nconst styles = (theme: Theme) => createStyles({\n root: {\n backgroundColor: red[500],\n '&:hover': {\n backgroundColor: red[700],\n },\n },\n})\n\ninterface IProfileClearButton {\n userStore?: UserStore\n profileStore?: ProfileStore\n confirm?: Confirm\n notify?: Notify\n profile: Profile\n onChange?: (profile: Profile) => any\n}\n\n@inject('userStore', 'profileStore', 'notify', 'confirm')\n@observer\nclass ProfileClearButton extends React.Component & IProfileClearButton> {\n\n @observable isClearing: boolean = false\n\n constructor(props: any) {\n super(props)\n makeObservable(this)\n }\n\n // helpers\n\n handleClearProfile = async () => {\n const {\n profile,\n userStore,\n profileStore,\n notify,\n confirm,\n onChange,\n } = this.props\n\n confirm!.show(\n 'Confirm Clear',\n 'Are you sure that you want to clear your profile? All data will be lost.',\n ['Clear', 'Cancel'],\n async () => {\n this.isClearing = true\n try {\n await profileStore!.clearProfile(profile)\n const clearedProfile = await userStore!.getProfile(profile!.id)\n if (onChange) {\n onChange(clearedProfile!)\n }\n return true\n } catch (err: any) {\n notify!.show('error', `Couldn't clear profile: ${err.message}`)\n this.isClearing = false\n return false\n }\n }\n )\n }\n\n\n // render\n\n render() {\n const {\n classes,\n } = this.props\n\n return (\n \n )\n }\n}\n\nexport default withStyles(styles)(ProfileClearButton)","import * as React from \"react\";\nimport {inject} from \"mobx-react\";\nimport Checkbox, {CheckboxProps} from \"@material-ui/core/Checkbox\";\nimport {Box, createStyles, FormControl, FormControlLabel, FormControlLabelProps, FormHelperText, Theme, withStyles, WithStyles} from \"@material-ui/core\";\n\nconst styles = (theme: Theme) => createStyles({\n root: {\n height: 56\n },\n helperText: {\n position: \"relative\",\n top: -8\n },\n checkbox: {\n // marginLeft: theme.spacing(1),\n // textAlign: \"center\"\n }\n})\n\ninterface ICheckboxValidatorProps {\n onChange?: React.EventHandler\n checked?: boolean\n required: boolean\n formvalidator?: any\n label?: string\n labelPlacement?: FormControlLabelProps['labelPlacement']\n}\n\ntype CheckboxValidatorProps = CheckboxProps | ICheckboxValidatorProps\n\n@inject(\"formvalidator\")\nclass CheckboxValidator extends React.Component & CheckboxValidatorProps> {\n\n state = {\n checked: false,\n isValid: true // Start valid until onChange() or validate() event\n }\n\n componentDidMount() {\n const {formvalidator} = this.props as ICheckboxValidatorProps\n if (formvalidator) {\n formvalidator.attachToForm(this)\n }\n this.setState({checked: this.props.checked ?? false})\n }\n\n componentDidUpdate(prevProps: any) {\n if (this.props.checked !== prevProps.checked) {\n this.setState({checked: this.props.checked})\n }\n }\n\n private onChange = (event: React.ChangeEvent): void => {\n const { checked } = event.currentTarget;\n const { props } = this\n const { onChange } = props as ICheckboxValidatorProps\n\n this.setState({checked, isValid: !this.props.required || checked})\n\n if (onChange) {\n onChange(event);\n }\n }\n\n validate = (value: boolean): boolean => {\n // Ignore value because only checked matters\n const isValid = !this.props.required || this.state.checked\n this.setState({isValid: isValid})\n return isValid\n }\n\n render() {\n const {\n onChange,\n checked,\n classes,\n ...rest\n } = this.props\n\n const { label, labelPlacement } = this.props as ICheckboxValidatorProps\n\n return (\n \n \n }\n label={label}\n labelPlacement={labelPlacement}\n />\n\n \n {this.state.isValid ? \"\" : \"Required\"}\n \n \n )\n }\n\n}\n\nexport default withStyles(styles)(CheckboxValidator)","import React from \"react\";\nimport {createStyles, Grid, Theme, Typography, withStyles, WithStyles, withTheme, WithTheme,} from \"@material-ui/core\";\nimport Profile from \"../../model/Profile\";\nimport {observer} from \"mobx-react\";\nimport {makeObservable, observable} from \"mobx\";\n\nconst styles = (theme: Theme) => createStyles({\n container: {\n flex: 1,\n paddingLeft: theme.spacing(3),\n paddingTop: theme.spacing(1),\n paddingBottom: theme.spacing(1),\n },\n IconicButton: {\n padding: theme.spacing(1)\n },\n label: {\n width: 150,\n fontWeight: 'bold',\n color: theme.palette.primary.main\n },\n heading: {\n color: theme.palette.error.dark,\n fontWeight: 'bold'\n }\n})\n\nexport interface IProfileErrorsProps {\n profile?: Profile\n errors?: any\n}\n\n@observer\nclass ProfileErrors extends React.Component & WithTheme & IProfileErrorsProps> {\n @observable errors = []\n\n constructor(props: any) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount() {\n this.errors = this.props.errors ?? []\n }\n\n componentDidUpdate(prevProps: any) {\n if (this.props.errors !== prevProps.errors) {\n this.errors = this.props.errors ?? []\n }\n }\n\n render() {\n const {\n classes,\n profile\n } = this.props\n\n if (!profile || !this.errors || this.errors.length === 0) {\n return null\n }\n\n return (\n
\n Your profile has been saved, but the following information must be completed before it can be submitted for review:\n \n {this.errors.map((error: any, index: number) => {error})}\n \n
\n )\n }\n\n}\n\nexport default withTheme(withStyles(styles)(ProfileErrors))","import {\n Box,\n createStyles,\n alpha,\n FormGroup,\n Grid,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n withTheme,\n WithTheme\n} from \"@material-ui/core\";\nimport {inject, observer} from \"mobx-react\";\nimport React, {ReactElement} from \"react\";\nimport {AgreementType, CreateAgreementInput, ProfileStatus, UpdateAgreementInput} from \"../../API\";\nimport DialogButton from \"../../components/form/DialogButton\";\nimport Notify from \"../../components/notify/Notify\";\nimport Profile from \"../../model/Profile\";\nimport ProfileStore from \"../../stores/ProfileStore\";\nimport UserStore from \"../../stores/UserStore\";\nimport ProfileClearButton from \"./ProfileClearButton\";\nimport UploadResumeDialog from \"./upload-resume/UploadResumeDialog\";\nimport PublishIcon from '@material-ui/icons/Publish';\nimport CheckboxValidator from \"../../components/form/CheckboxValidator\";\nimport FormValidator from \"../../components/form/FormValidator\";\nimport {makeObservable, observable} from \"mobx\";\nimport CardValue from \"../../components/CardValue\";\nimport TextBlock from \"../../components/TextBlock\";\nimport Progress from \"../../components/Progress\";\nimport ProfileErrors from \"./ProfileErrors\";\n\nconst styles = (theme: Theme) => createStyles({\n actionButton: {\n backgroundColor: theme.palette.secondary.main,\n color: theme.palette.secondary.contrastText,\n border: 'none',\n boxShadow: 'rgba(0, 0, 0, 0.25) 0px 1px 3px 0px',\n \"&:hover\": {\n color: theme.palette.secondary.contrastText,\n backgroundColor: theme.palette.secondary.light,\n border: 'none',\n },\n \"&:disabled\": {\n backgroundColor: alpha(theme.palette.secondary.main, 0.5),\n color: alpha(theme.palette.secondary.contrastText, 0.5),\n },\n },\n actionButtonSubmit: {\n minWidth: 80,\n }\n})\n\nexport interface IProfileInstructionsProps {\n profile?: Profile\n errors?: ReactElement[]\n profileStore?: ProfileStore\n userStore?: UserStore\n notify?: Notify\n onSubmit?: any\n onChange?: (profile: Profile) => any\n progress?: Progress\n}\n\n@inject('profileStore', 'userStore', 'notify', 'progress')\n@observer\nclass ProfileInstructions extends React.Component & WithTheme & IProfileInstructionsProps> {\n\n @observable values = {\n eligibleCheckbox: false,\n backgroundCheckbox: false,\n }\n @observable error: string = \"\"\n @observable errors: ReactElement[] = []\n\n constructor(props: any) {\n super(props)\n makeObservable(this)\n }\n\n componentDidMount() {\n const { profile } = this.props\n if (profile && profile!.user) {\n const agreement = profile!.user!.agreements.length > 0 ? profile!.user!.agreements[0] : undefined\n if (agreement) {\n if (agreement.hasAgreementType(AgreementType.BackgroundCheck)) {\n this.values.backgroundCheckbox = true\n }\n if (agreement.hasAgreementType(AgreementType.I9Eligible)) {\n this.values.eligibleCheckbox = true\n }\n }\n }\n this.errors = this.props.errors ?? []\n }\n\n componentDidUpdate(prevProps: any) {\n if (this.props.errors !== prevProps.errors) {\n console.log(`ProfileInstructions.componentDidUpdate: ${this.props.errors?.length}`)\n this.errors = this.props.errors ?? []\n }\n }\n\n render() {\n const {\n profile,\n userStore,\n onChange,\n } = this.props\n\n const user = userStore!.user\n if (!profile || profile.profileStatus === ProfileStatus.Accepted || !profile.user || !(profile.user.isApplicant && user?.id === profile.userId)) {\n return null\n }\n\n let heading = `Profile ${profile.profileStatus}`\n let message = profile.statusMessageOrDefault\n\n return (\n \n \n \n {heading}\n \n \n \n {message}\n \n \n \n {profile.isEmpty ? (\n \n \n \n )\n : ((userStore!.isAdminOrAgent || userStore!.isApplicant) && profile.profileStatus === ProfileStatus.Pending) && (\n \n \n \n \n \n )}\n \n \n \n \n \n {this.renderTermsCheckbox(\"eligibleCheckbox\", I am eligible to work in the United States (Form I-9)., true)}\n {this.renderTermsCheckbox(\"backgroundCheckbox\", \"I am willing and able to pass a criminal background check.\", true)}\n {this.renderActionButton()}\n \n \n { this.error !== \"\" && \n \n \n \n {this.error}\n \n \n \n }\n { this.errors &&\n \n }\n \n \n )\n }\n\n renderTermsCheckbox = (name: string, label: any, required: boolean) => {\n const { profile } = this.props\n\n if (!profile?.canSubmit()) {\n return null \n }\n\n return (\n \n \n \n \n \n \n {label}\n \n \n \n )\n }\n\n renderActionButton() {\n const { classes, profile, userStore } = this.props\n\n let actionButton = null\n\n const sharedProps = {\n variant: 'secondary',\n customClassName: `${classes.actionButton} ${classes.actionButtonSubmit}`,\n }\n\n if (profile && userStore!.isProfileEditable(profile) && userStore!.isApplicant) {\n if (profile?.user) {\n if (profile?.canSubmit()) {\n actionButton = \n  Submit\n \n } else {\n actionButton = {profile?.profileStatus}\n }\n }\n }\n\n if (actionButton) {\n return (\n \n \n {actionButton}\n \n \n )\n } else {\n return null \n }\n }\n\n changeHandler = (event: React.ChangeEvent) => {\n const name = event.target.name\n if (name === \"eligibleCheckbox\" || name === \"backgroundCheckbox\") {\n this.values[name] = event.target.checked\n } \n\n this.error = \"\"\n }\n\n handleSubmit = async () => { \n const { onSubmit, notify, userStore, progress, profile } = this.props\n\n this.error = \"\"\n \n if (this.values.eligibleCheckbox === false || this.values.backgroundCheckbox === false) {\n if (this.values.eligibleCheckbox === false) {\n this.error = \"You must indicate that you are eligible to work in the United States.\" \n }\n \n if (this.values.backgroundCheckbox === false) {\n this.error += \"You must indicate that you are able to pass a criminal background check.\"\n } \n return \n }\n \n const user = profile!.user!\n const agreement = user.agreements.length > 0 ? user.agreements[0] : undefined\n\n progress!.show('UpdateAgreement')\n\n if (agreement) {\n try {\n const agreementInput: UpdateAgreementInput = {\n id: agreement!.id,\n agreementTypes: [\n ...agreement!.agreementTypes\n ]\n }\n\n if (agreementInput.agreementTypes!.includes(AgreementType.BackgroundCheck) === false) {\n agreementInput.agreementTypes!.push(AgreementType.BackgroundCheck)\n }\n if (agreementInput.agreementTypes!.includes(AgreementType.I9Eligible) === false) {\n agreementInput.agreementTypes!.push(AgreementType.I9Eligible)\n }\n\n if (agreementInput.agreementTypes!.length > agreement.agreementTypes.length) {\n const agreementUpdated = await userStore!.updateAgreement(agreementInput)\n if (agreementUpdated) {\n user.agreements[0] = agreementUpdated\n }\n }\n } catch (error) {\n notify!.show('error', \"Error saving agreement\")\n }\n } else {\n try {\n const agreementInput: CreateAgreementInput = {\n userId: user.id,\n accountId: user.accountId,\n agreementTypes: [AgreementType.BackgroundCheck, AgreementType.I9Eligible]\n }\n const agreementCreated = await userStore!.createAgreement(agreementInput)\n if (agreementCreated) {\n user.agreements.push(agreementCreated)\n }\n } catch (error) {\n notify!.show('error', \"Error creating agreement\")\n }\n }\n\n if (onSubmit) {\n onSubmit()\n }\n\n progress!.hide('UpdateAgreement')\n }\n\n}\n\nexport default withTheme(withStyles(styles)(ProfileInstructions))","import React from \"react\";\nimport {\n CircularProgress,\n TextField,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport { createStyles, Theme, WithStyles, WithTheme } from \"@material-ui/core\";\nimport { withStyles, withTheme } from \"@material-ui/core/styles\";\nimport { Autocomplete } from \"@material-ui/lab\";\nimport { makeObservable, observable, when } from \"mobx\";\nimport { inject, observer } from \"mobx-react\";\nimport UserStore from \"../../stores/UserStore\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport Progress from \"../Progress\";\nimport ResourceCache, {LocationOption} from \"../../stores/ResourceCache\";\nimport LocationAPI from \"../../apis/LocationAPI\";\nimport LocationClient, {SearchForSuggestionsResult, SearchForTextResult, Place} from \"aws-sdk/clients/location\";\nimport Location from \"../../model/Location\";\nimport Logger from \"../Logger\";\nimport {AddressType} from \"../../API\";\nimport {IFieldValidator} from \"../form/FormValidator\";\n\nconst styles = (theme: Theme) => createStyles({\n filterTextField: {\n // minWidth: 308,\n // width: \"100%\",\n flexGrow: 1, \n backgroundColor: theme.palette.background.paper,\n borderRadius: 10\n }\n})\n\nexport interface IPlaceFilterProps {\n onSelectLocation?: (locationOption?: LocationOption) => any\n onSelectLocations?: (locationOptions: LocationOption[]) => any\n value?: LocationOption // For single select (!multiple)\n multiple?: boolean\n disabled?: boolean\n defaultOptions?: LocationOption[] // For multiple = true\n accountStore?: AccountStore\n progress?: Progress\n userStore?: UserStore\n resourceCache?: ResourceCache\n locationAPI?: LocationAPI\n formvalidator?: any\n variant?: 'filled' | 'outlined' | 'standard'\n required?: boolean\n error?: boolean\n label?: string\n placeholder?: string\n helperText?: string\n className?: string\n}\n\n@inject(\"accountStore\", \"userStore\", \"resourceCache\", \"progress\", \"locationAPI\")\n@inject((allStores: any) => ({\n formvalidator: allStores.formvalidator ?? undefined\n}))\n@observer\nclass PlaceFilter extends React.Component & WithTheme & IPlaceFilterProps & IFieldValidator & WithWidth> {\n\n @observable isLoading: boolean = true \n @observable isProcessing: boolean = false \n @observable placeOptions: string[] = []\n @observable placeText?: string | undefined = \"\"\n @observable defaultValue: string[] = []\n @observable placeLocationOption?: LocationOption\n @observable isValid = true\n\n private defaultPlaceOptions = []\n\n locationClient?: LocationClient\n\n placesOrgName = \"Places\"\n\n constructor(props: any) {\n super(props)\n makeObservable(this)\n }\n\n componentDidMount() {\n const { resourceCache, value, defaultOptions, formvalidator } = this.props\n\n if (formvalidator) {\n formvalidator.attachToForm(this)\n }\n\n when(\n // once...\n () => resourceCache!.isLoading === false,\n // ... then\n async () => {\n if (this.props.multiple) {\n this.defaultValue = defaultOptions ? defaultOptions.map((option: LocationOption) => option.name) : []\n this.placeOptions = this.defaultPlaceOptions // this.defaultValue\n this.isLoading = false\n } else {\n this.placeLocationOption = value\n this.placeText = value ? value.name : \"\"\n this.placeOptions = this.placeText ? [this.placeText] : this.defaultPlaceOptions\n this.isLoading = false\n }\n }\n )\n }\n\n componentDidUpdate(prevProps: any) {\n const { value } = this.props\n const prevId = prevProps.value ? (prevProps.value as LocationOption).id : null \n const nextId = value ? (value as LocationOption).id : null \n if (prevId !== nextId) {\n this.placeLocationOption = value\n this.placeText = value ? value.name : \"\"\n }\n }\n\n render() {\n const { classes, multiple, required, disabled, label, placeholder, helperText } = this.props\n\n if (this.isLoading === true) {\n return null \n }\n\n const variant = this.props.variant ?? 'outlined'\n const className = this.props.className ?? classes.filterTextField\n\n return (\n \n
\n this.onBlur(event, params.inputProps)}\n error={!this.isValid || this.props.error}\n InputProps={{\n ...params.InputProps,\n endAdornment: (\n \n {this.isProcessing ? : null}\n {params.InputProps.endAdornment}\n \n ),\n }}\n />\n
\n }\n />\n )\n }\n\n searchTimer?: any\n\n onInputChange = (event: any, value: string, reason: string) => {\n const { onSelectLocation } = this.props\n clearTimeout(this.searchTimer)\n\n if (value === \"\") {\n this.placeOptions = this.defaultPlaceOptions\n if (onSelectLocation) {\n onSelectLocation(undefined)\n }\n return\n }\n\n // Wait for a pause before searching\n this.searchTimer = setTimeout(() => {\n this.getLocationSuggestions(value)\n .then((options: string[]) => {\n this.placeOptions = options\n })\n }, 300)\n }\n\n onSelectLocation = async (event: any, value: any, reason: string) => {\n const { multiple, onSelectLocation, onSelectLocations } = this.props\n // console.log(`onSelectLocation(${value}, ${reason}`)\n if (!multiple && onSelectLocation) {\n const locationOption = await this.getLocationOption(value)\n if (locationOption) {\n this.isValid = true\n onSelectLocation(locationOption)\n }\n } else if (Array.isArray(value) && onSelectLocations) {\n const locationOptions: LocationOption[] = []\n const promises: Promise[] = []\n value.forEach((text: string) => {\n promises.push(this.getLocationOption(text)\n .then((locationOption: LocationOption | undefined) => {\n if (locationOption) {\n locationOptions.push(locationOption)\n }\n })\n )\n })\n await Promise.all(promises)\n\n this.isValid = true\n onSelectLocations(locationOptions)\n }\n }\n\n getLocationClient = async () => {\n if (!this.locationClient) {\n this.locationClient = await this.props.locationAPI?.createClient()\n }\n return this.locationClient\n }\n\n getLocationSuggestions = async (text: string): Promise => {\n const { resourceCache } = this.props\n\n if (text.length < 3) {\n return []\n }\n\n const locationOptions = resourceCache!.matchLocationOptions(text)\n let suggestions = locationOptions.filter((option: LocationOption) => option.group !== this.placesOrgName)\n .map((option: LocationOption) => option.name)\n\n const {locationAPI} = this.props\n const client = await this.getLocationClient()\n \n return new Promise((resolve, reject) => {\n if (client) {\n this.isProcessing = true \n const params: LocationClient.Types.SearchPlaceIndexForSuggestionsRequest = {\n IndexName: locationAPI!.placeIndex,\n Text: text\n }\n client.searchPlaceIndexForSuggestions(params, (err: any, data: LocationClient.SearchPlaceIndexForSuggestionsResponse) => {\n this.isProcessing = false \n if (err) {\n reject(err)\n } else {\n const results: string[] = []\n data.Results.forEach((result: SearchForSuggestionsResult) => {\n // Don't include if it is already in the Locations\n if (suggestions.indexOf(result.Text) < 0) {\n results.push(result.Text)\n }\n })\n suggestions = [...suggestions, ...results]\n resolve(suggestions)\n }\n })\n }\n })\n }\n\n getLocationOption = async (text: string): Promise => {\n const {locationAPI, resourceCache} = this.props\n\n if (!text || text.length === 0) {\n return undefined\n }\n\n // Check cached LocationOptions first\n const options = resourceCache!.matchLocationOptions(text, true)\n if (options.length > 0) {\n return options[0]\n }\n\n // Get Location from Place service\n const client = await this.getLocationClient()\n\n return new Promise((resolve, reject) => {\n let locationOption: LocationOption\n\n if (client) {\n const params: LocationClient.Types.SearchPlaceIndexForSuggestionsRequest = {\n IndexName: locationAPI!.placeIndex,\n Text: text,\n MaxResults: 5\n }\n client.searchPlaceIndexForText(params, (err: any, data: LocationClient.SearchPlaceIndexForTextResponse) => {\n if (err) {\n Logger.error(\"searchPlaceIndexForText Error: \", err.message)\n reject(err)\n } else {\n const results = data.Results.map((result: SearchForTextResult) => result.Place)\n if (results.length > 0) {\n // Find the matching name\n let result = results.find((place: Place) => place.Label === text)\n if (!result) {\n result = results[0]\n }\n const point = result.Geometry.Point\n if (point && point.length >= 2) {\n const geoHash = locationAPI?.geoHashEncode(point[1], point[0])\n if (geoHash) {\n let location = resourceCache!.getLocation(geoHash)\n if (!location) {\n // Create new Location\n let addressType\n if (result.AddressNumber && result.Street) {\n addressType = AddressType.Street\n } else if (result.Neighborhood) {\n addressType = AddressType.Neighborhood\n } else if (result.PostalCode && result.Municipality && result.Region) {\n addressType = AddressType.PostalCode\n } else if (result.Municipality && result.Region) {\n addressType = AddressType.City\n } else if (result.SubRegion) {\n addressType = AddressType.County\n } else if (result.Region) {\n addressType = AddressType.State\n } else if (result.Country) {\n addressType = AddressType.Country\n }\n // TODO: Handle mapping all country abbreviations to full names\n // This is for consistency with our standard facility locations\n let country = result.Country\n if (country === \"USA\") {\n country = \"United States\"\n } else if (country === \"CAN\") {\n country = \"Canada\"\n }\n location = new Location({\n id: geoHash,\n active: false, // Indicates this is temporary\n organizationName: this.placesOrgName,\n name: result.Label,\n addressType: addressType,\n address: (result.AddressNumber && result.Street) ? `${result.AddressNumber} ${result.Street}` : undefined,\n city: result.Municipality,\n state: result.Region,\n postalCode: result.PostalCode,\n country: country,\n latitude: point[1],\n longitude: point[0]\n })\n\n resourceCache!.addLocation(location)\n }\n\n locationOption = new LocationOption(geoHash, text, result.Region ?? \"\")\n }\n }\n }\n\n if (!locationOption) {\n Logger.error(\"Location Not Found\", text)\n }\n\n resolve(locationOption)\n }\n })\n }\n })\n }\n\n // For FormValidator use\n validate = (value: any): boolean => {\n this.isValid = !this.props.required || value ? true : false\n\n return (this.isValid)\n }\n\n private onBlur = (event: React.FocusEvent, inputParams?: any): void => {\n const {value} = event.currentTarget;\n\n this.validate(value)\n }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(PlaceFilter)))\n","import React from \"react\";\nimport {\n createStyles, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, Divider,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n withTheme,\n WithTheme,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport {inject, observer} from \"mobx-react\";\nimport {makeObservable, observable} from \"mobx\";\nimport CancelButton from \"../form/CancelButton\";\nimport ProgressButton from \"../form/ProgressButton\";\nimport ResourceCache, {LocationOption} from \"../../stores/ResourceCache\";\nimport Profile from \"../../model/Profile\";\nimport ProfileLocation from \"../../model/ProfileLocation\";\nimport PlaceFilter from \"../filter/PlaceFilter\";\nimport Stack from \"../Stack\";\n\nconst styles = (theme: Theme) => createStyles({\n container: {\n flex: 1\n },\n progressButton: {\n minWidth: 80\n }\n})\n\nexport interface IProfileLocationsDialogProps {\n isDialogOpen: boolean\n profile?: Profile\n onClose: any\n onSubmitSelections: any\n resourceCache?: ResourceCache\n isProcessing: boolean\n}\n\n@inject(\"resourceCache\")\n@observer\nclass ProfileLocationsDialog extends React.Component & WithTheme & WithWidth & IProfileLocationsDialogProps> {\n\n @observable selectedLocations: LocationOption[] = []\n \n constructor(props: WithStyles & WithTheme & WithWidth & IProfileLocationsDialogProps) {\n super(props)\n makeObservable(this);\n }\n \n componentDidMount() {\n const { profile, resourceCache } = this.props\n\n if (profile && profile.profileLocations) {\n profile.profileLocations.forEach((pl: ProfileLocation) => {\n const locationOption = resourceCache!.getLocationOption(pl.locationId)\n if (locationOption) {\n this.selectedLocations.push(locationOption)\n }\n })\n }\n }\n \n render() {\n const { classes, isDialogOpen, onClose } = this.props\n\n const title = \"Job Locations\"\n \n if (!isDialogOpen) {\n return null\n }\n\n return (\n \n \n {title}\n \n \n \n \n \n \n Add multiple locations, cities, states, or countries to be considered for more positions!.\n \n \n You can also specify \"Remote\" if you are looking for a remote or hybrid position. \n \n \n \n \n \n \n \n \n \n Save\n \n \n \n )\n }\n\n onSelectLocations = (locations: LocationOption[]) => {\n this.selectedLocations = [...locations]\n }\n\n handleSubmit = async () => {\n let selectedIds: string[] = this.selectedLocations.map((option: LocationOption) => option.id)\n this.props.onSubmitSelections(selectedIds)\n }\n\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(ProfileLocationsDialog)))","import React from \"react\";\nimport {\n alpha,\n Box,\n Chip,\n createStyles,\n Grid,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n withTheme,\n WithTheme,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport UserStore from \"../../stores/UserStore\";\nimport ProfileStore from \"../../stores/ProfileStore\";\nimport {inject, observer} from \"mobx-react\";\nimport { observable, when, makeObservable } from \"mobx\";\nimport Profile from \"../../model/Profile\";\nimport {CreateProfileLocationInput, UpdateProfileInput, WorkSetting} from \"../../API\";\nimport IconicButton from \"../../components/controls/IconicButton\";\nimport EditIcon from \"@material-ui/icons/Edit\";\nimport AddButton from \"../../components/AddButton\";\nimport Logger from \"../../components/Logger\";\nimport Location from '../../model/Location'\nimport LocationOnIcon from '@material-ui/icons/LocationOn';\nimport ProfileLocation from \"../../model/ProfileLocation\";\nimport Notify from \"../../components/notify/Notify\";\nimport {getErrorMessage} from \"../../stores/StoreUtilities\";\nimport Visible from \"../../components/Visible\";\nimport ChevronLeftIcon from '@material-ui/icons/ChevronLeft';\nimport ChevronRightIcon from '@material-ui/icons/ChevronRight';\nimport ProfileLocationsDialog from \"../../components/selection/ProfileLocationsDialog\";\nimport ResourceCache from \"../../stores/ResourceCache\";\nimport Stack from \"../../components/Stack\";\nimport WifiIcon from '@material-ui/icons/Wifi';\n\nconst styles = (theme: Theme) => createStyles({\n label: {\n width: 150,\n fontWeight: 'bold',\n color: theme.palette.primary.main\n }\n})\n\nexport interface IProfileLocationsProps {\n profile?: Profile\n isOpen?: boolean\n onChange?: any\n onClose?: any\n profileStore?: ProfileStore\n userStore?: UserStore\n resourceCache?: ResourceCache\n notify?: Notify\n}\n\nclass LocationViewModel {\n id: string \n name: string \n constructor(location: Location) {\n this.id = location.id \n this.name = location.name \n }\n}\n\nclass ProfileLocationsViewModel {\n @observable locations: LocationViewModel[] = []\n \n constructor (profileLocations: ProfileLocation[]) {\n makeObservable(this);\n\n profileLocations.forEach(profileLocation => {\n if (profileLocation && profileLocation.location) {\n const viewModel = new LocationViewModel(profileLocation.location)\n this.locations.push(viewModel)\n }\n })\n this.locations.sort((a: LocationViewModel, b: LocationViewModel) => a.name.localeCompare(b.name) )\n }\n}\n\n@inject(\"userStore\", \"profileStore\", \"resourceCache\", \"notify\")\n@observer\nclass ProfileLocations extends React.Component & WithTheme & WithWidth & IProfileLocationsProps> {\n @observable viewModel?: ProfileLocationsViewModel\n @observable isDialogOpen: boolean = false\n @observable isProcessing = false\n state = {\n isListExpanded: false,\n }\n\n constructor(\n props: WithStyles & WithTheme & WithWidth & IProfileLocationsProps\n ) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount() {\n when(\n // once...\n () => this.props.profile !== undefined,\n // ... then\n () => this.loadLocations()\n )\n }\n\n componentDidUpdate(prevProps: any) {\n if (prevProps.isOpen !== this.props.isOpen) {\n this.isDialogOpen = this.props.isOpen ?? false\n }\n }\n\n render() {\n const { \n profile,\n theme,\n userStore\n } = this.props\n\n if (!profile) {\n return null\n }\n\n return (\n \n \n \n \n \n \n \n Locations\n \n \n {this.renderLocationChips()}\n \n {this.renderEditButton()}\n \n \n {(userStore!.isApplicant || userStore!.isCandidate) &&\n \n \n Add multiple locations, cities, states, or countries to be considered for more positions! You can also specify Remote if you are looking for a remote or hybrid position.\n \n \n }\n {this.renderDialog()}\n \n )\n }\n\n loadLocations = async () => {\n let profile = this.props.profile\n if (profile === undefined) {\n Logger.error('Profile not found.')\n return \n }\n\n this.viewModel = new ProfileLocationsViewModel(profile.profileLocations)\n }\n\n renderLocationChips() {\n const viewModel = this.viewModel\n if (!viewModel) {\n return null \n }\n\n const numberToShow = 12\n if (viewModel.locations.length > numberToShow) {\n const visible = viewModel.locations.slice(0, numberToShow)\n const invisible = viewModel.locations.slice(numberToShow)\n return (\n \n { visible.map(location => {\n return (\n \n } label={location.name}/>\n \n )\n })}\n \n { invisible.map(location => {\n return (\n \n } label={location.name}/>\n \n )\n })}\n \n \n {\n this.setState({ isListExpanded: !this.state.isListExpanded })\n }}\n >\n { this.state.isListExpanded ? : }\n \n \n \n )\n } else {\n return (\n viewModel.locations.map(location => {\n return (\n \n : } label={location.name}/>\n \n )\n })\n )\n }\n }\n\n renderEditButton() {\n const { onChange } = this.props \n let editButton\n if (onChange) {\n if (this.viewModel && this.viewModel.locations.length > 0) {\n editButton = \n \n \n } else {\n editButton = \n }\n }\n return (\n
\n {editButton}\n
\n )\n }\n\n renderDialog() {\n const { onChange, profile } = this.props\n if (onChange === undefined) {\n return null \n }\n\n return (\n \n // \n )\n }\n\n handleEdit = (): void => {\n if (this.props.profile) {\n this.isDialogOpen = true\n }\n }\n\n handleClose = () => {\n this.isDialogOpen = false\n if (this.props.onClose) {\n this.props.onClose()\n }\n }\n\n handleSubmitSelections = async (selectedIds: string[]) => {\n const { profile, profileStore, notify } = this.props\n \n if (this.props.onChange) {\n this.isProcessing = true\n\n // Update ProfileLocations\n\n const results = await this.updateLocations(selectedIds)\n .catch((err) => {\n notify!.show(\"error\", getErrorMessage(err))\n })\n\n if (results) {\n let updatedProfile = await profileStore!.getProfile(profile!.id)\n if (updatedProfile) {\n this.viewModel = new ProfileLocationsViewModel(updatedProfile.profileLocations)\n \n let isRemote = false \n let isInPerson = false \n updatedProfile.profileLocations.forEach((profileLocation: ProfileLocation) => {\n if (profileLocation.location!.name === 'Remote') {\n isRemote = true \n } else {\n isInPerson = true \n }\n })\n\n const input: UpdateProfileInput = {\n id: profile!.id \n }\n if (isRemote && isInPerson) {\n input[\"workSettings\"] = [WorkSetting.InPerson, WorkSetting.Remote, WorkSetting.Hybrid]\n } else if (isRemote) {\n input[\"workSettings\"] = [WorkSetting.Remote]\n } else if (isInPerson) {\n input[\"workSettings\"] = [WorkSetting.InPerson]\n } else {\n input[\"workSettings\"] = [WorkSetting.InPerson]\n }\n\n updatedProfile = await profileStore!.updateProfile(input)\n\n this.props.onChange(updatedProfile)\n }\n this.isProcessing = false\n this.handleClose()\n }\n\n this.isProcessing = false\n } else {\n this.isProcessing = false\n }\n }\n\n updateLocations = async (selectedIds: string[]) => {\n const {profile, profileStore} = this.props\n\n const promises: Promise[] = []\n\n // Create new ProfileLocations\n selectedIds.forEach((locationId: string) => {\n let profileLocation = profile!.getProfileLocation(locationId)\n if (!profileLocation) {\n const input: CreateProfileLocationInput = {\n userId: profile!.userId,\n profileId: profile!.id,\n locationId: locationId\n }\n promises.push(profileStore!.createProfileLocation(input))\n }\n })\n\n // Delete unused ProfileLocations\n profile!.profileLocations.forEach((profileLocation: ProfileLocation) => {\n if (selectedIds.indexOf(profileLocation.locationId) < 0) {\n promises.push(profileStore!.deleteProfileLocation(profileLocation.id))\n }\n })\n\n const results = await Promise.all(promises)\n\n return results\n }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(ProfileLocations)))","import {\n createStyles, FormControl, FormHelperText, InputLabel,\n Select,\n Theme, WithStyles,\n withStyles\n} from '@material-ui/core';\nimport { inject } from \"mobx-react\";\nimport * as React from 'react';\n\nexport const usaStates = [\n \"AL\",\n \"AK\",\n \"AZ\",\n \"AR\",\n \"CA\",\n \"CO\",\n \"CT\",\n \"DC\",\n \"DE\",\n \"FL\",\n \"GA\",\n \"HI\",\n \"ID\",\n \"IL\",\n \"IN\",\n \"IA\",\n \"KS\",\n \"KY\",\n \"LA\",\n \"ME\",\n \"MD\",\n \"MA\",\n \"MI\",\n \"MN\",\n \"MS\",\n \"MO\",\n \"MT\",\n \"NE\",\n \"NV\",\n \"NH\",\n \"NJ\",\n \"NM\",\n \"NY\",\n \"NC\",\n \"ND\",\n \"OH\",\n \"OK\",\n \"OR\",\n \"PA\",\n \"PR\",\n \"RI\",\n \"SC\",\n \"SD\",\n \"TN\",\n \"TX\",\n \"UT\",\n \"VT\",\n \"VA\",\n \"WA\",\n \"WV\",\n \"WI\",\n \"WY\",\n];\n\nconst styles = (theme: Theme) => createStyles({\n\n})\n\ninterface IStateSelectorProps {\n formvalidator?: any\n onChange?: any\n value?: string\n className?: string\n isRequired?: boolean\n name?: string\n}\n\n@inject(\"formvalidator\")\nclass StateSelector extends React.Component & IStateSelectorProps> {\n\n state = {\n value: '',\n isValid: true,\n };\n\n componentDidMount() {\n const {formvalidator, value} = this.props as IStateSelectorProps\n if (formvalidator) {\n formvalidator.attachToForm(this)\n }\n\n if (value) {\n this.setState({ value: value })\n }\n }\n\n handleChange = (event: any) => {\n this.setState({ value: event.target.value });\n this.validate(event.target.value)\n if (this.props.onChange) {\n this.props.onChange(event)\n }\n };\n\n validate = (value: string): boolean => {\n const isRequired = this.props.isRequired ?? true\n const isValid = !isRequired || (usaStates.indexOf(value) >= 0)\n this.setState({isValid})\n return isValid\n }\n\n render() {\n const { className } = this.props\n\n return \n State\n \n )}\n \n \n {this.state.isValid ? \"\" : \"Required\"}\n \n \n }\n}\n\nexport default withStyles(styles)(StateSelector)\n","import Dialog from '@material-ui/core/Dialog';\nimport DialogActions from '@material-ui/core/DialogActions';\nimport DialogContent from '@material-ui/core/DialogContent';\nimport DialogContentText from '@material-ui/core/DialogContentText';\nimport DialogTitle from '@material-ui/core/DialogTitle';\nimport { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';\nimport { RouteComponentProps } from '@reach/router';\nimport { Auth } from 'aws-amplify';\nimport { observable, makeObservable } from \"mobx\";\nimport { inject, observer } from \"mobx-react\";\nimport * as React from 'react';\nimport CancelButton from '../../../components/form/CancelButton';\nimport DialogButton from '../../../components/form/DialogButton';\nimport FormValidator from '../../../components/form/FormValidator';\nimport ProgressButton from '../../../components/form/ProgressButton';\nimport TextFieldValidator from '../../../components/form/TextFieldValidator';\nimport Notify from '../../../components/notify/Notify';\nimport Visible from '../../../components/Visible';\nimport AuthAPI from \"../../../apis/AuthAPI\";\n\nconst styles = (theme: Theme) => createStyles({\n submitButton: {\n color: \"#fff\",\n },\n instructions: {\n marginBottom: 0\n }\n\n})\n\ninterface IEmailChangeDialogProps {\n onClose: any\n onChange: any\n oldEmail: string\n notify?: Notify\n authAPI?: AuthAPI\n}\n\n@inject(\"notify\", \"authAPI\")\n@observer\nclass EmailChangeDialog extends React.Component & RouteComponentProps & IEmailChangeDialogProps> {\n @observable values = {\n oldEmail: \"\",\n newEmail: \"\",\n code: \"\"\n }\n\n constructor(\n props: WithStyles & RouteComponentProps & IEmailChangeDialogProps\n ) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount() {\n this.values.oldEmail = this.props.oldEmail\n }\n\n @observable message = \"\"\n @observable confirming: boolean = false\n @observable isProcessing: boolean = false\n\n onClose = () => {\n if (this.props.onClose) {\n this.message = \"\"\n this.props.onClose();\n }\n };\n\n onSubmit = async () => {\n const { notify, authAPI, onChange } = this.props\n\n this.message = \"\"\n\n if (!this.confirming) {\n this.isProcessing = true\n\n const alias = await authAPI?.getAlias(this.values.newEmail)\n .catch(err => {\n this.message = err.message\n })\n\n if (alias && alias.status === \"VERIFIED\") {\n this.message = \"The new email is already in use.\"\n }\n\n if (this.message) {\n this.isProcessing = false\n return\n }\n\n Auth.currentAuthenticatedUser()\n .then(user => {\n Auth.updateUserAttributes(user, { email: this.values.newEmail.toLowerCase() })\n .then(data => {\n this.confirming = true\n this.isProcessing = false\n })\n .catch(err => {\n this.message = err.message\n this.isProcessing = false\n });\n })\n .catch(err => {\n this.message = err.message\n });\n } else {\n this.isProcessing = true\n Auth.verifyCurrentUserAttributeSubmit('email', this.values.code)\n .then(result => {\n this.isProcessing = false\n notify!.show(\"success\", \"Email address updated!\")\n if (onChange) {\n onChange(this.values.newEmail.toLowerCase())\n }\n })\n .catch(err => {\n this.isProcessing = false\n this.message = err.message\n });\n }\n }\n\n onChange = (event: React.ChangeEvent) => {\n const name = event.target.name\n this.values[name] = event.target.value\n }\n\n onResendCode = () => {\n const { notify } = this.props\n this.message = \"\"\n\n Auth.currentAuthenticatedUser()\n .then(user => {\n Auth.verifyCurrentUserAttribute(\"email\")\n .then(data => {\n this.confirming = true\n this.isProcessing = false\n notify!.show(\"success\", \"Confirmation email resent!\")\n })\n .catch(err => {\n this.message = err.message\n this.isProcessing = false\n });\n })\n .catch(err => {\n this.message = err.message\n });\n }\n\n render() {\n const { classes } = this.props\n\n return (\n \n \n Change Email\n \n \n {this.message}\n \n \n \n \n \n Please check your new email for a confirmation code.\n \n \n \n Resend confirmation code\n \n \n \n \n \n \n {this.confirming ? \"Confirm\" : \"Next\"}\n \n \n \n \n );\n }\n}\n\nexport default withStyles(styles)(EmailChangeDialog)","import Dialog from '@material-ui/core/Dialog';\nimport DialogActions from '@material-ui/core/DialogActions';\nimport DialogContent from '@material-ui/core/DialogContent';\nimport DialogContentText from '@material-ui/core/DialogContentText';\nimport DialogTitle from '@material-ui/core/DialogTitle';\nimport { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';\nimport { RouteComponentProps } from '@reach/router';\nimport { Auth } from 'aws-amplify';\nimport { observable, makeObservable } from \"mobx\";\nimport { inject, observer } from \"mobx-react\";\nimport * as React from 'react';\nimport CancelButton from '../../../components/form/CancelButton';\nimport DialogButton from '../../../components/form/DialogButton';\nimport FormValidator from '../../../components/form/FormValidator';\nimport TextFieldValidator from '../../../components/form/TextFieldValidator';\nimport Notify from '../../../components/notify/Notify';\n\nconst styles = (theme: Theme) => createStyles({\n})\n\ninterface IPasswordChangeDialogProps {\n onClose: any\n notify?: Notify\n}\n\n@inject(\"notify\")\n@observer\nclass PasswordChangeDialog extends React.Component & RouteComponentProps & IPasswordChangeDialogProps> {\n @observable values = {\n oldPassword: \"\",\n newPassword: \"\"\n }\n\n @observable message = \"\"\n\n onClose = () => {\n if (this.props.onClose) {\n this.message = \"\"\n this.props.onClose();\n }\n };\n\n onSubmit = () => {\n const { notify } = this.props\n\n this.message = \"\"\n\n Auth.currentAuthenticatedUser()\n .then(user => {\n Auth.changePassword(user, this.values.oldPassword, this.values.newPassword)\n .then(data => {\n notify!.show(\"success\", \"Password changed!\")\n if (this.props.onClose) {\n this.message = \"\"\n this.props.onClose();\n }\n })\n .catch(err => {\n this.message = err.message\n });\n })\n .catch(err => {\n this.message = err.message\n });\n }\n\n onChange = (event: React.ChangeEvent) => {\n const name = event.target.name\n this.values[name] = event.target.value\n }\n\n constructor(\n props: WithStyles & RouteComponentProps & IPasswordChangeDialogProps\n ) {\n super(props);\n makeObservable(this);\n }\n\n render() {\n\n return (\n \n \n Change Password\n \n \n {this.message}\n \n \n \n \n \n \n \n Save\n \n \n \n \n );\n }\n}\n\nexport default withStyles(styles)(PasswordChangeDialog)","import * as React from 'react'\nimport {\n FormControl,\n InputLabel,\n Select,\n Theme,\n createStyles,\n WithStyles,\n withStyles,\n FormHelperText\n} from '@material-ui/core';\nimport { inject } from \"mobx-react\";\nimport { IFieldValidator } from '../form/FormValidator';\n\nconst styles = (theme: Theme) => createStyles({\n formControl: {\n display: \"flex\"\n }\n})\n\ninterface ISimpleSelectProps {\n placeholderText: string\n valueName: string // The name of the value.\n value?: string // The selected value. \n elementId: string // The CSS id for the input. \n selections: string[] // The possible selection values. \n formvalidator?: any\n onChange(event: any): void // The handler called when the value changes. \n className?: string\n disabled?: boolean\n fullWidth?: boolean\n}\n\n@inject(\"formvalidator\")\nclass SimpleSelect extends React.Component & ISimpleSelectProps & IFieldValidator> {\n\n state = {\n value: '',\n isValid: true,\n };\n\n componentDidMount() {\n const { formvalidator, value } = this.props as ISimpleSelectProps\n if (formvalidator) {\n formvalidator.attachToForm(this)\n }\n\n this.setState({ value })\n }\n\n handleChange = (event: any) => {\n this.setState({ value: event.target.value });\n this.validate(event.target.value)\n this.props.onChange(event)\n };\n\n validate = (value: string): boolean => {\n const { selections } = this.props \n const isValid = (selections.indexOf(value) >= 0)\n this.setState({ isValid })\n return isValid\n }\n\n render() {\n const { className, classes, elementId, placeholderText, selections, valueName, disabled, fullWidth } = this.props\n\n return (\n \n {placeholderText}\n \n )}\n \n \n {this.state.isValid ? \"\" : \"Required\"}\n \n \n ) \n }\n}\n\nexport default withStyles(styles)(SimpleSelect)\n","import {\n createStyles,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n FormGroup,\n Grid,\n InputAdornment,\n isWidthDown,\n Theme, Typography,\n withStyles,\n WithStyles,\n withTheme,\n WithTheme,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport EditIcon from \"@material-ui/icons/Edit\";\nimport { observable, makeObservable } from \"mobx\";\nimport { inject, observer } from \"mobx-react\";\nimport React from \"react\";\nimport {UpdateProfileInput, UpdateUserInput} from \"../../API\";\nimport CardValue from \"../../components/CardValue\";\nimport IconicButton from \"../../components/controls/IconicButton\";\nimport FormGroupSpacer from \"../../components/form/FormGroupSpacer\";\nimport FormValidator from \"../../components/form/FormValidator\";\nimport ProgressButton from \"../../components/form/ProgressButton\";\nimport StateSelector from \"../../components/form/StateSelector\";\nimport TextFieldValidator from \"../../components/form/TextFieldValidator\";\nimport Logger from \"../../components/Logger\";\nimport Notify from \"../../components/notify/Notify\";\nimport Profile, {ProfileAvailabilityOptions} from \"../../model/Profile\";\nimport User from \"../../model/User\";\nimport ProfileStore from \"../../stores/ProfileStore\";\nimport {\n phoneToNationalFormat\n} from \"../../stores/StoreUtilities\";\nimport UserStore from \"../../stores/UserStore\";\nimport EmailChangeDialog from \"./change-dialogs/EmailChangeDialog\";\nimport PasswordChangeDialog from \"./change-dialogs/PasswordChangeDialog\";\nimport ProfileCard from \"./ProfileCard\";\nimport Visible from \"../../components/Visible\";\nimport CancelButton from \"../../components/form/CancelButton\";\nimport JobCandidate from \"../../model/JobCandidate\";\nimport SimpleSelect from \"../../components/controls/SimpleSelect\";\n\nconst styles = (theme: Theme) => createStyles({\n container: {\n flex: 1\n },\n IconicButton: {\n padding: theme.spacing(1)\n },\n label: {\n width: 150,\n fontWeight: 'bold',\n color: theme.palette.primary.main\n },\n formDialog: {\n\n },\n formGroupRow: {\n display: \"flex\",\n justifyContent: \"space-between\",\n flexWrap: \"nowrap\"\n },\n formGroupField: {\n flexGrow: 1,\n },\n postalCodeField: {\n flexGrow: 0,\n width: 100\n },\n stateSelector: {\n minWidth: 60\n },\n progressButton: {\n minWidth: 80\n },\n availabilitySelect: {\n width: 480\n }\n})\n\nexport interface IProfilePersonalInfoProps {\n profile?: Profile\n jobCandidate?: JobCandidate\n onChange?: any\n profileStore?: ProfileStore\n userStore?: UserStore\n notify?: Notify\n}\n\nclass ProfilePersonalInfoViewModel {\n @observable firstName: string\n @observable lastName: string\n @observable email: string\n @observable phone: string\n @observable address: string\n @observable city: string\n @observable state: string\n @observable postalCode: string\n @observable country: string\n @observable availability: string\n @observable desiredRate: string\n\n constructor(profile: Profile) {\n makeObservable(this);\n const user = profile.user!\n this.firstName = user!.firstName\n this.lastName = user!.lastName\n this.email = user!.email\n this.phone = user!.phone\n this.address = user!.address\n this.city = user!.city\n this.state = user!.state\n this.country = user!.country ?? \"US\"\n this.postalCode = user!.postalCode\n this.availability = profile!.availability ?? \"\"\n this.desiredRate = profile!.desiredRate ? profile.desiredRate : \"\"\n }\n}\n\n@inject(\"userStore\", \"profileStore\", \"notify\")\n@observer\nclass ProfilePersonalInfo extends React.Component & WithTheme & WithWidth & IProfilePersonalInfoProps> {\n @observable viewModel?: ProfilePersonalInfoViewModel\n @observable open: boolean = true\n @observable isFormOpen: boolean = false\n @observable isProcessing = false\n @observable showEmailChange: boolean = false\n @observable showPasswordChange: boolean = false\n\n instructions = \"Your contact information is only made available to GovGig agents and employers when you apply for specific Job Posts in GovGig.\"\n\n\n private updateEmail = async () => {\n const { userStore, notify } = this.props\n const userId = userStore!.user && userStore!.user.id;\n\n const input: UpdateUserInput = {\n id: userId!,\n email: this.viewModel!.email.toLowerCase(),\n }\n\n await userStore!.updateUser(input)\n .catch((err: Error) => {\n notify!.show(\"error\", \"Unable to update user email\")\n })\n }\n\n onChangeEmailOpen = () => {\n this.showEmailChange = true\n this.open = false\n }\n\n onEmailChange = (newEmail: string) => {\n this.viewModel!.email = newEmail\n this.showEmailChange = false\n this.open = true\n this.updateEmail()\n }\n\n onEmailChangeClose = () => {\n this.showEmailChange = false\n this.open = true\n }\n\n onChangePasswordOpen = () => {\n this.showPasswordChange = true\n this.open = false\n }\n\n onPasswordChangeClose = () => {\n this.showPasswordChange = false\n this.open = true\n }\n\n constructor(\n props: WithStyles & WithTheme & WithWidth & IProfilePersonalInfoProps\n ) {\n super(props);\n makeObservable(this);\n }\n\n render() {\n const { width, profile, jobCandidate, onChange, userStore } = this.props\n\n const user = userStore!.user \n if (!profile || !profile.user || !profile.getIsUnlocked(user, jobCandidate) || !userStore!.isProfileEditable(profile)) {\n return null\n }\n\n let editButton\n if (onChange) {\n editButton = \n }\n\n return (\n \n \n \n \n {this.instructions}\n \n \n \n {this.renderStaticFields()}\n \n \n {this.isFormOpen && this.renderPersonalInfoForm()}\n \n )\n }\n\n renderStaticFields() {\n const { width, profile, userStore } = this.props\n\n // NOTE: The profile is used here rather than the viewModel because we don't want the\n // form changes to affect the static fields until the user presses Save\n\n const isEmployer = userStore!.isEmployer\n const user = profile!.user!\n const labelWidth = 120 \n\n return (\n
\n \n \n \n \n {user.firstName}\n \n \n {user.lastName}\n \n \n {user.email}\n \n \n {phoneToNationalFormat(user.phone)}\n \n \n \n \n \n {profile!.availability ?? \"\"}\n \n \n \n {profile!.desiredRate}\n \n \n {user.address}\n \n \n {user.city}, {user.state} {user.postalCode}\n \n \n \n \n
\n )\n }\n\n renderPersonalInfoForm() {\n const { classes, /* width */ } = this.props\n const viewModel = this.viewModel!\n\n return (\n \n \n \n Personal Information\n \n \n {this.instructions}\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 Save\n \n \n \n \n {this.showEmailChange &&\n \n }\n {this.showPasswordChange &&\n \n }\n \n )\n }\n\n handleChange = (event: React.ChangeEvent) => {\n const name = event.target.name\n this.viewModel![name] = event.target.value\n }\n\n handleEdit = (): void => {\n if (this.props.profile) {\n this.viewModel = new ProfilePersonalInfoViewModel(this.props.profile)\n this.isFormOpen = true\n }\n }\n\n handleClose = () => {\n this.isFormOpen = false\n }\n\n onSubmit = async () => {\n const { notify, profile, profileStore, userStore } = this.props\n const viewModel = this.viewModel!\n\n if (this.props.onChange === undefined) {\n this.handleClose()\n Logger.error(\"No onChange prop present\")\n notify!.show(\"error\", \"Could not update profile personal info\")\n return \n }\n\n this.isProcessing = true\n\n let updatedUser: User | null \n \n try {\n const updateUserInput: UpdateUserInput = {\n id: profile!.user!.id,\n firstName: viewModel.firstName,\n lastName: viewModel.lastName,\n email: viewModel.email,\n address: viewModel.address,\n city: viewModel.city,\n state: viewModel.state,\n postalCode: viewModel.postalCode,\n country: viewModel.country\n }\n updatedUser = await userStore!.updateUser(updateUserInput)\n if (!updatedUser) {\n throw new Error('Could not update user')\n }\n } catch (error) {\n this.isProcessing = false\n this.handleClose()\n const reason = 'Could not update user record'\n Logger.error(reason, error)\n notify!.show(\"error\", reason)\n return \n }\n \n let updatedProfile: Profile | undefined\n\n try {\n // Update profile after updating the user, since some profile fields depend on the user record. \n // For example, the nickname and alias depend on the user's name. \n const updateProfileInput: UpdateProfileInput = {\n id: profile!.id,\n nickname: updatedUser!.nickname,\n alias: profileStore!.generateAlias(updatedUser!),\n availability: viewModel.availability ?? null,\n desiredRate: viewModel.desiredRate,\n city: viewModel.city,\n state: viewModel.state,\n country: viewModel.country\n }\n updatedProfile = await profileStore!.updateProfile(updateProfileInput)\n if (!updatedProfile) {\n throw new Error('Could not update profile')\n }\n } catch (error) {\n this.isProcessing = false\n this.handleClose()\n const reason = 'Could not update profile record'\n Logger.error(reason, error)\n notify!.show(\"error\", reason)\n return \n }\n\n updatedProfile.user = updatedUser\n this.isProcessing = false\n this.handleClose()\n this.props.onChange(updatedProfile)\n }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(ProfilePersonalInfo)))\n","import React from \"react\";\nimport {\n Collapse,\n createStyles,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n Divider,\n IconButton,\n List,\n ListItem,\n ListItemIcon,\n ListItemSecondaryAction,\n ListItemText,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n withTheme,\n WithTheme,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport { observer } from \"mobx-react\";\nimport { autorun, observable, makeObservable } from \"mobx\";\nimport ProgressButton from \"../form/ProgressButton\";\nimport ExpandLess from '@material-ui/icons/ExpandLess';\nimport ExpandMore from '@material-ui/icons/ExpandMore';\nimport Checkbox from '@material-ui/core/Checkbox';\nimport Logger from \"../Logger\";\nimport CancelButton from \"../form/CancelButton\";\n\nconst styles = (theme: Theme) => createStyles({\n container: {\n flex: 1\n },\n listBackground: {\n },\n progressButton: {\n minWidth: 80\n },\n list: {\n backgroundColor: theme.palette.background.paper,\n },\n listItem: {\n paddingRight: 0\n },\n listItemTextHeader: {\n fontWeight: 'bold',\n color: theme.palette.primary.main\n },\n listItemText: {\n fontWeight: 300,\n fontSize: theme.typography.h5.fontSize\n },\n checkboxContainer: {\n minWidth: 0\n },\n checkbox: {\n\n },\n expandButton: {\n \"&:focus,&:hover\": {\n color: theme.palette.common.black\n }\n }\n})\n\nexport interface IListHeaderViewModelOptions {\n id: string\n title: string\n isCheckable: boolean\n isExpandable: boolean\n}\n\nexport class ListHeaderViewModel {\n id: string \n title: string\n isCheckable: boolean\n isExpandable: boolean\n constructor(data: IListHeaderViewModelOptions) {\n this.id = data.id\n this.title = data.title\n this.isCheckable = data.isCheckable\n this.isExpandable = data.isExpandable\n }\n}\n\nexport interface IListItemViewModelOptions {\n id: string\n title: string\n isCheckable: boolean\n isChecked: boolean \n}\n\nexport class ListItemViewModel {\n id: string \n title: string\n isCheckable: boolean\n isChecked: boolean \n constructor(data: IListItemViewModelOptions) {\n this.id = data.id\n this.title = data.title\n this.isCheckable = data.isCheckable\n this.isChecked = data.isChecked\n }\n}\n\nexport interface IListSectionViewModelOptions {\n header: ListHeaderViewModel\n sections?: ListSectionViewModel[]\n items?: ListItemViewModel[]\n}\n\nexport class ListSectionViewModel {\n header: ListHeaderViewModel \n sections?: ListSectionViewModel[]\n items?: ListItemViewModel[]\n constructor(data: IListSectionViewModelOptions) {\n this.header = data.header\n this.items = data.items\n this.sections = data.sections\n }\n}\n\nexport interface ISelectionsDialogViewModelOptions {\n isDialogOpen: boolean\n title: string\n helpText: string\n sections: ListSectionViewModel[]\n}\n\nexport class SelectionsDialogViewModel {\n isDialogOpen: boolean\n title: string\n helpText: string\n sections: ListSectionViewModel[]\n constructor(data: ISelectionsDialogViewModelOptions) {\n this.isDialogOpen = data.isDialogOpen\n this.title = data.title\n this.helpText = data.helpText\n this.sections = data.sections\n }\n}\n\nexport interface ISelectionsDialogProps {\n viewModel: SelectionsDialogViewModel\n onClose: any\n onSubmitSelections?: any\n onSubmitSingleSelection?: any \n isProcessing: boolean\n}\n\nenum HeaderCheckedState {\n Checked,\n Unchecked,\n Indeterminate \n}\n\n@observer\nclass SelectionsDialog extends React.Component & WithTheme & WithWidth & ISelectionsDialogProps> {\n\n @observable viewModel?: SelectionsDialogViewModel\n @observable isHeaderExpanded: Map = new Map()\n @observable isHeaderChecked: Map = new Map()\n @observable isItemChecked: Map = new Map() \n\n constructor(props: any) {\n super(props)\n\n makeObservable(this);\n\n this.initializeValues()\n // this.loadCheckedValues() \n // this.loadExpandedValues()\n }\n\n componentDidMount() {\n autorun(() => {\n if (this.props.viewModel.isDialogOpen === true) {\n this.initializeValues() \n }\n })\n }\n\n render() {\n const {\n classes,\n viewModel\n } = this.props\n\n return (\n \n \n {viewModel.title}\n \n \n \n \n {viewModel.helpText}\n \n {this.renderSelections()}\n \n \n \n \n \n Save\n \n \n \n )\n }\n\n /**\n * Each time the dialog is opened, automatically open sections if any sub-sections or items are checked. \n * Trace through child sections/items and, if any are checked, expand the section. \n */\n initializeValues = () => {\n const { viewModel } = this.props \n viewModel!.sections.forEach(section => {\n const values = this.isCheckedTrace(section)\n this.updateHeaderState(section, values)\n })\n }\n \n updateHeaderState = (section: ListSectionViewModel, values: boolean[]) => {\n const isAllTrue = values.every(value => value === true)\n const isAllFalse = values.every(value => value === false)\n const headerState = isAllTrue ? HeaderCheckedState.Checked : isAllFalse ? HeaderCheckedState.Unchecked : HeaderCheckedState.Indeterminate\n const header = section.header \n \n if (header.isCheckable) {\n this.isHeaderChecked.set(header.id, headerState)\n }\n\n if (header.isExpandable && this.isHeaderExpanded.get(header.id) === undefined) {\n if (isAllTrue || !isAllFalse) {\n this.isHeaderExpanded.set(header.id, true)\n } else {\n this.isHeaderExpanded.set(header.id, false)\n }\n }\n }\n\n isCheckedTrace = (section: ListSectionViewModel): boolean[] => {\n if (section.sections && section.sections.length > 0) {\n let subSectionValues: boolean[] = []\n section.sections.forEach(subSection => {\n const values = this.isCheckedTrace(subSection)\n this.updateHeaderState(subSection, values)\n subSectionValues = subSectionValues.concat(values)\n })\n return subSectionValues\n } else {\n const values = section.items!.map(item => {\n let isChecked = this.isItemChecked.get(item.id)\n if (isChecked === undefined) {\n isChecked = item.isChecked\n this.isItemChecked.set(item.id, isChecked)\n }\n return isChecked\n })\n return values \n }\n }\n\n renderSelections() {\n const {\n classes,\n viewModel\n } = this.props\n\n return (\n
\n {viewModel.sections.map(section => {\n return this.renderSection(section, 0)\n })}\n
\n )\n }\n\n renderSection = (section: ListSectionViewModel, level: number) => {\n const {\n classes \n } = this.props \n\n const isOpen = this.isHeaderExpanded.get(section.header.id) ?? false\n\n return (\n \n {this.renderHeaderItem(section, level)}\n \n { // If a section of sections, render the sub-sections. \n section.sections && section.sections.length > 0 ?\n section.sections.map(subSection => {\n return this.renderSection(subSection, level + 1)\n })\n : \n // Otherwise, if a section containing items, render the items. \n section.items && section.items.length > 0 ?\n section.items.map(item => {\n return this.renderItem(item, section, level + 1)\n })\n : \n null}\n \n \n )\n }\n\n renderHeaderItem = (section: ListSectionViewModel, level: number = 0) => {\n const { classes, theme } = this.props \n const header = section.header\n const labelId = `checkbox-list-label-${header.id}`;\n \n let checkbox = null \n let isChecked = false \n const headerState = this.isHeaderChecked.get(header.id)\n if (header.isCheckable) {\n if (headerState === undefined) {\n Logger.error('SelctionsDialog', 'Undefined header checked state')\n }\n if (headerState === HeaderCheckedState.Checked || headerState === HeaderCheckedState.Indeterminate) {\n isChecked = true \n }\n checkbox = \n \n \n }\n \n let expand = null \n if (header.isExpandable) {\n if (this.isHeaderExpanded.get(header.id) ?? false) {\n expand = \n \n \n } else {\n expand = \n \n \n }\n }\n\n return (\n \n {checkbox}\n {header.title}}\n // primary={`${item.title}`} \n // style={{ fontWeight: 800 }}\n // primaryTypographyProps={{ variant: 'h5' }}\n />\n {expand && \n {expand}\n }\n \n )\n }\n\n renderItem = (item: ListItemViewModel, section: ListSectionViewModel, level: number = 0) => {\n const { classes, theme } = this.props \n const labelId = `checkbox-list-label-${item.id}`;\n\n let checkbox = null \n if (item.isCheckable) {\n let isChecked = this.isItemChecked.get(item.id)\n if (isChecked === undefined) {\n Logger.error('SelctionsDialog', 'Undefined checkbox state')\n }\n checkbox = \n \n \n }\n\n return (\n \n {checkbox}\n {item.title}}\n // primary={`${item.title}`} \n // style={{ fontWeight: 800 }}\n // primaryTypographyProps={{ variant: 'h5' }}\n />\n \n )\n }\n\n handleToggleExpandHeader = (header: ListHeaderViewModel, section: ListSectionViewModel) => () => {\n const isOpen = this.isHeaderExpanded.get(header.id) ?? false \n this.isHeaderExpanded.set(header.id, !isOpen)\n }\n\n handleToggleCheckedHeader = (header: ListHeaderViewModel, section: ListSectionViewModel) => () => {\n let checkedState = this.isHeaderChecked.get(header.id)\n \n if (checkedState === HeaderCheckedState.Checked || checkedState === HeaderCheckedState.Indeterminate) {\n this.isHeaderChecked.set(header.id, HeaderCheckedState.Unchecked)\n section.items?.forEach(item => {\n this.isItemChecked.set(item.id, false)\n })\n } else {\n this.isHeaderChecked.set(header.id, HeaderCheckedState.Checked)\n section.items?.forEach(item => {\n this.isItemChecked.set(item.id, true)\n })\n }\n }\n\n handleToggleChecked = (item: ListItemViewModel, section: ListSectionViewModel) => () => {\n let isChecked = this.isItemChecked.get(item.id)\n if (isChecked === undefined) {\n Logger.error('isChecked undefined!')\n isChecked = item.isChecked \n }\n // Toggle the value. \n isChecked = !isChecked\n this.isItemChecked.set(item.id, isChecked)\n\n const values = this.isCheckedTrace(section)\n this.updateHeaderState(section, values)\n }\n \n handleSubmit = () => {\n let selectedIds: string[] = []\n this.isItemChecked.forEach((value, key)=> {\n if (value === true) {\n selectedIds.push(key)\n }\n })\n this.props.onSubmitSelections(selectedIds)\n }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(SelectionsDialog)))","import React from \"react\";\nimport {\n createStyles,\n Theme,\n withStyles,\n WithStyles,\n withTheme,\n WithTheme,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport { inject, observer } from \"mobx-react\";\nimport ResourceCache from \"../../stores/ResourceCache\";\nimport SelectionsDialog, { ListHeaderViewModel, ListItemViewModel, ListSectionViewModel, SelectionsDialogViewModel } from \"./SelectionsDialog\";\nimport Profile from \"../../model/Profile\";\nimport { observable, reaction, makeObservable } from \"mobx\";\nimport intersection from \"lodash.intersection\"\n\nconst styles = (theme: Theme) => createStyles({\n\n})\n\nexport interface IPositionsDialogProps {\n isDialogOpen: boolean \n profile?: Profile\n onClose: any\n onSubmitSelections: any \n isProcessing: boolean \n resourceCache?: ResourceCache\n}\n\n@inject(\"resourceCache\")\n@observer\nclass PositionsDialog extends React.Component & WithTheme & WithWidth & IPositionsDialogProps> {\n @observable viewModel?: SelectionsDialogViewModel\n\n constructor(\n props: WithStyles & WithTheme & WithWidth & IPositionsDialogProps\n ) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount() {\n reaction(() => this.props.isDialogOpen, this.loadViewModel)\n }\n\n render() {\n if (!this.viewModel) {\n return null \n }\n return (\n \n )\n }\n\n loadViewModel = () => {\n const { resourceCache, profile } = this.props\n let industries: string[] = []\n\n let selectedServiceIds: string[] = []\n if (profile) {\n profile.profileServices.forEach(profileService => {\n if (profileService) {\n selectedServiceIds.push(profileService.serviceId)\n }\n })\n\n if (profile.industries) {\n industries = profile.industries\n }\n }\n\n let sections: ListSectionViewModel[] = []\n\n const serviceGroups = resourceCache!.serviceGroups\n serviceGroups.forEach(serviceGroup => {\n let items: ListItemViewModel[] = []\n serviceGroup.services.forEach(service => {\n // Intersect profile.industries with service.industries\n if (industries.length === 0 || intersection(industries, service.industries).length > 0) {\n const item = new ListItemViewModel({\n id: service.id,\n title: service.name,\n isCheckable: true,\n isChecked: selectedServiceIds.includes(service.id)\n })\n items.push(item)\n } else {\n console.log(`Filtered ${service.name}`)\n }\n })\n\n if (items.length > 0) {\n // Items should already be sorted.\n // items.sort((a: ListItemViewModel, b: ListItemViewModel) => a.title.localeCompare(b.title))\n const section = new ListSectionViewModel({\n header: new ListHeaderViewModel({\n id: serviceGroup.id,\n title: serviceGroup.name,\n isCheckable: false,\n isExpandable: true\n }),\n items\n })\n sections.push(section)\n }\n })\n\n sections.sort((a: ListSectionViewModel, b: ListSectionViewModel) => a.header.title.localeCompare(b.header.title))\n\n this.viewModel = new SelectionsDialogViewModel({\n isDialogOpen: this.props.isDialogOpen,\n title: \"Job Titles\",\n helpText: \"Select the job titles you are seeking below.\",\n sections\n })\n }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(PositionsDialog)))","import React from \"react\";\nimport {\n alpha,\n Box,\n Chip,\n createStyles,\n Grid,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n withTheme,\n WithTheme,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport UserStore from \"../../stores/UserStore\";\nimport ProfileStore from \"../../stores/ProfileStore\";\nimport {inject, observer} from \"mobx-react\";\nimport { observable, when, makeObservable } from \"mobx\";\nimport Profile from \"../../model/Profile\";\nimport IconicButton from \"../../components/controls/IconicButton\";\nimport Service from \"../../model/Service\";\nimport AddButton from \"../../components/AddButton\";\nimport FaceIcon from '@material-ui/icons/Face';\nimport Logger from \"../../components/Logger\";\nimport EditIcon from \"@material-ui/icons/Edit\";\nimport PositionsDialog from \"../../components/selection/PositionsDialog\";\nimport {CreateProfileServiceInput} from \"../../API\";\nimport ProfileService from \"../../model/ProfileService\";\nimport {getErrorMessage} from \"../../stores/StoreUtilities\";\nimport Notify from \"../../components/notify/Notify\";\nimport Visible from \"../../components/Visible\";\nimport ChevronLeftIcon from '@material-ui/icons/ChevronLeft';\nimport ChevronRightIcon from '@material-ui/icons/ChevronRight';\n// import PersonOutlineIcon from '@material-ui/icons/PersonOutline';\nimport Stack from \"../../components/Stack\";\n\nconst styles = (theme: Theme) => createStyles({\n \n})\n\nexport interface IProfilePositionsProps {\n profile?: Profile\n isOpen?: boolean\n onChange?: any\n onClose?: any\n profileStore?: ProfileStore\n userStore?: UserStore\n notify?: Notify\n}\n\nclass ServiceViewModel {\n id: string \n name: string \n constructor(service: Service) {\n this.id = service.id \n this.name = service.name \n }\n}\n\nclass ProfilePositionsViewModel {\n @observable services: ServiceViewModel[] = []\n \n constructor (profileServices: ProfileService[]) {\n makeObservable(this);\n profileServices.forEach(profileService => {\n if (profileService && profileService.service) {\n const viewModel = new ServiceViewModel(profileService.service)\n this.services.push(viewModel)\n }\n })\n }\n}\n\n@inject(\"userStore\", \"profileStore\", \"notify\")\n@observer\nclass ProfilePositions extends React.Component & WithTheme & WithWidth & IProfilePositionsProps> {\n @observable viewModel?: ProfilePositionsViewModel\n @observable isDialogOpen: boolean = false\n @observable isProcessing = false\n state = {\n isListExpanded: false,\n }\n\n constructor(\n props: WithStyles & WithTheme & WithWidth & IProfilePositionsProps\n ) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount() {\n when(\n // once...\n () => this.props.profile !== undefined,\n // ... then\n () => this.loadServices()\n )\n }\n\n componentDidUpdate(prevProps: any) {\n if (prevProps.isOpen !== this.props.isOpen) {\n this.isDialogOpen = this.props.isOpen ?? false\n }\n }\n\n render() {\n const { \n profile,\n theme \n } = this.props\n\n if (!profile) {\n return null\n }\n\n return (\n \n \n \n \n \n \n \n Services\n \n \n {this.renderProfileChips()}\n \n {this.renderEditButton()}\n \n \n {this.renderDialog()}\n \n )\n }\n\n loadServices = async () => {\n let profile = this.props.profile\n if (profile === undefined) {\n Logger.error('Profile not found.')\n return \n }\n\n this.viewModel = new ProfilePositionsViewModel(profile.profileServices)\n }\n\n renderProfileChips() {\n const viewModel = this.viewModel\n if (viewModel === undefined) {\n return null \n }\n\n const numberToShow = 6\n if (viewModel.services.length > numberToShow) {\n const visible = viewModel.services.slice(0, numberToShow)\n const invisible = viewModel.services.slice(numberToShow)\n return (\n \n { visible.map(service => {\n return (\n \n } label={service.name}/>\n \n )\n })}\n \n { invisible.map(service => {\n return (\n \n } label={service.name}/>\n \n )\n })}\n \n \n {\n this.setState({ isListExpanded: !this.state.isListExpanded })\n }}\n >\n { this.state.isListExpanded ? : }\n \n \n \n )\n } else {\n return (\n viewModel.services.map(service => {\n return (\n \n } label={service.name}/>\n \n )\n })\n )\n }\n }\n\n renderEditButton() {\n const { onChange } = this.props \n let editButton\n if (onChange) {\n if (this.viewModel && this.viewModel.services.length > 0) {\n editButton = \n \n \n } else {\n editButton = \n }\n }\n return (\n
\n {editButton}\n
\n )\n }\n\n renderDialog() {\n const { onChange, profile } = this.props\n if (onChange === undefined) {\n return null \n }\n\n return (\n \n )\n }\n\n handleEdit = (): void => {\n if (this.props.profile) {\n this.isDialogOpen = true\n }\n }\n\n handleClose = () => {\n this.isDialogOpen = false\n if (this.props.onClose) {\n this.props.onClose()\n }\n }\n\n handleSubmitSelections = async (selectedIds: string[]) => {\n const { profile, profileStore, notify } = this.props\n \n if (this.props.onChange) {\n this.isProcessing = true\n\n // Update ProfileServices\n\n const results = await this.updateServices(selectedIds)\n .catch((err) => {\n notify!.show(\"error\", getErrorMessage(err))\n })\n\n if (results) {\n const updatedProfile = await profileStore!.getProfile(profile!.id)\n if (updatedProfile) {\n this.viewModel = new ProfilePositionsViewModel(updatedProfile.profileServices)\n this.props.onChange(updatedProfile)\n }\n this.isProcessing = false\n this.handleClose()\n }\n\n this.isProcessing = false\n } else {\n this.isProcessing = false\n }\n }\n\n updateServices = async (selectedIds: string[]) => {\n const {profile, profileStore} = this.props\n\n const promises: Promise[] = []\n\n // Create new ProfileServices\n selectedIds.forEach((serviceId: string) => {\n let profileService = profile!.getProfileService(serviceId)\n if (!profileService) {\n const input: CreateProfileServiceInput = {\n userId: profile!.userId,\n profileId: profile!.id,\n serviceId: serviceId,\n industries: profile!.industries ?? []\n }\n promises.push(profileStore!.createProfileService(input))\n }\n })\n\n // Delete unused ProfileServices\n profile!.profileServices.forEach((profileService: ProfileService) => {\n if (selectedIds.indexOf(profileService.serviceId) < 0) {\n promises.push(profileStore!.deleteProfileService(profileService.id))\n }\n })\n\n return await Promise.all(promises)\n }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(ProfilePositions)))","import Dialog from '@material-ui/core/Dialog';\nimport DialogActions from '@material-ui/core/DialogActions';\nimport DialogContent from '@material-ui/core/DialogContent';\nimport DialogContentText from '@material-ui/core/DialogContentText';\nimport DialogTitle from '@material-ui/core/DialogTitle';\nimport {createStyles, Theme, withStyles, WithStyles} from '@material-ui/core/styles';\nimport {RouteComponentProps} from '@reach/router';\nimport {makeObservable, observable} from \"mobx\";\nimport {inject, observer} from \"mobx-react\";\nimport * as React from 'react';\nimport CancelButton from '../../components/form/CancelButton';\nimport FormValidator from '../../components/form/FormValidator';\nimport ProgressButton from '../../components/form/ProgressButton';\nimport TextFieldValidator from '../../components/form/TextFieldValidator';\nimport Notify from '../../components/notify/Notify';\nimport ProfileStore from \"../../stores/ProfileStore\";\nimport {AgencyType, UpdateExperienceInput} from \"../../API\";\nimport Experience, {FederalAgency} from \"../../model/Experience\";\n\nconst styles = (theme: Theme) => createStyles({\n submitButton: {\n color: \"#fff\",\n },\n instructions: {\n marginBottom: 0\n }\n\n})\n\ninterface IAgencyDialogProps {\n experience: Experience\n agencyType?: AgencyType\n onClose: any\n onChange: any\n profileStore?: ProfileStore\n notify?: Notify\n}\n\n@inject(\"profileStore\", \"notify\")\n@observer\nclass AgencyDialog extends React.Component & RouteComponentProps & IAgencyDialogProps> {\n @observable values = {\n agencyType: \"\",\n agencyName: \"\"\n }\n\n constructor(\n props: WithStyles & RouteComponentProps & IAgencyDialogProps\n ) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount() {\n const {experience, agencyType} = this.props\n if (agencyType) {\n this.values.agencyType = agencyType\n }\n this.values.agencyName = experience.agencyName\n }\n\n @observable message = \"\"\n @observable isProcessing: boolean = false\n\n onClose = () => {\n if (this.props.onClose) {\n this.message = \"\"\n this.props.onClose();\n }\n };\n\n onSubmit = async () => {\n const { experience, profileStore, notify, onChange } = this.props\n\n this.message = \"\"\n this.isProcessing = true\n\n const input: UpdateExperienceInput = {\n id: experience.id,\n agencyType: AgencyType[this.values.agencyType],\n agencyName: this.values.agencyName\n }\n const exp = await profileStore!.updateExperience(input)\n .catch((err: Error) => {\n notify!.show(\"error\", \"Unable to set federal experience\")\n })\n this.isProcessing = false\n\n if (exp && onChange) {\n onChange(exp)\n }\n\n }\n\n handleChange = (event: React.ChangeEvent) => {\n const name = event.target.name\n this.values[name] = event.target.value\n }\n\n render() {\n\n return (\n \n \n Agency\n \n \n {this.message}\n \n {\n this.values.agencyType = value\n }\n }}\n />\n {\n this.values.agencyName = value\n }\n }}\n\n />\n \n \n \n \n Submit\n \n \n \n \n );\n }\n}\n\nexport default withStyles(styles)(AgencyDialog)","import {\n Box,\n Checkbox,\n createStyles,\n Dialog,\n DialogActions,\n DialogContent,\n DialogTitle,\n FormControlLabel,\n FormGroup,\n Grid,\n isWidthDown,\n TextareaAutosize,\n Theme,\n Tooltip,\n Typography,\n WithStyles,\n WithTheme,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport AddIcon from \"@material-ui/icons/Add\";\nimport EditIcon from \"@material-ui/icons/Edit\";\nimport {differenceInDays, parse} from \"date-fns\";\nimport endOfMonth from 'date-fns/endOfMonth';\nimport {makeObservable, observable} from \"mobx\";\nimport {inject, observer} from \"mobx-react\";\nimport React from \"react\";\nimport {AgencyType, CreateExperienceInput, UpdateExperienceInput, UpdateProfileInput} from \"../../API\";\nimport AddButton from \"../../components/AddButton\";\nimport CardValue from \"../../components/CardValue\";\nimport IconicButton from \"../../components/controls/IconicButton\";\nimport DatePickerValidator from \"../../components/form/DatePickerValidator\";\nimport FormGroupSpacer from \"../../components/form/FormGroupSpacer\";\nimport FormValidator from \"../../components/form/FormValidator\";\nimport ProgressButton from \"../../components/form/ProgressButton\";\nimport TextFieldValidator from \"../../components/form/TextFieldValidator\";\nimport Notify from \"../../components/notify/Notify\";\nimport TextBlock from \"../../components/TextBlock\";\nimport Visible from \"../../components/Visible\";\nimport Experience, {FederalAgency} from \"../../model/Experience\";\nimport Profile from \"../../model/Profile\";\nimport ProfileStore from \"../../stores/ProfileStore\";\nimport {\n DateRange,\n getErrorMessage,\n isoToLocalDateString, mergeOverlappingDateRanges,\n moneyToNumberFormat,\n numberToMoneyFormat\n} from \"../../stores/StoreUtilities\";\nimport UserStore from \"../../stores/UserStore\";\nimport ProfileCard from \"./ProfileCard\";\nimport {grey} from \"@material-ui/core/colors\";\nimport ResourceCache from \"../../stores/ResourceCache\";\nimport CancelButton from \"../../components/form/CancelButton\";\nimport {withStyles, withTheme} from \"@material-ui/core/styles\";\nimport AgencyDialog from \"./AgencyDialog.\";\nimport {NAICS} from \"../../model/Industry\";\n\nconst styles = (theme: Theme) => createStyles({\n container: {\n flex: 1\n },\n experienceContainer: {\n },\n editButton: {\n display: \"flex\",\n flexDirection: \"row\",\n justifyContent: \"right\",\n width: 36,\n position: \"relative\",\n top: 0,\n right: -12\n },\n form: {\n overflowY: \"auto\",\n display: \"flex\",\n flexDirection: \"column\"\n },\n formGroupRow: {\n display: \"flex\",\n justifyContent: \"space-between\",\n flexWrap: \"nowrap\"\n },\n formGroupField: {\n flexGrow: 1,\n },\n progressButton: {\n minWidth: 80\n },\n jobTitle: {\n fontFamily: [\n 'Montserrat',\n 'sans-serif'\n ].join(','),\n fontWeight: 800,\n fontSize: 20,\n color: theme.palette.text.secondary\n },\n fedJobTitle: {\n fontFamily: [\n 'Montserrat',\n 'sans-serif'\n ].join(','),\n fontWeight: 800,\n fontSize: 20,\n color: theme.palette.secondary.dark\n },\n fedValue: {\n color: theme.palette.secondary.dark\n },\n fedCheckbox: {\n color: theme.palette.secondary.dark,\n paddingRight: 4,\n paddingTop: 0,\n paddingBottom: 0\n },\n optionalFields: {\n backgroundColor: theme.palette.background.default,\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n paddingBottom: theme.spacing(3)\n },\n fedTotal: {\n fontSize: 18,\n color: theme.palette.secondary.dark\n },\n allTotal: {\n fontSize: 18,\n color: theme.palette.text.secondary\n },\n label: {\n color: theme.palette.text.secondary,\n fontSize: 12,\n marginTop: theme.spacing(1),\n marginBottom: 4,\n marginLeft: 0,\n },\n textarea: {\n fontFamily: [\n 'Roboto',\n 'sans-serif'\n ].join(','),\n minWidth: \"100%\",\n maxWidth: \"100%\",\n padding: 8,\n fontSize: 16\n },\n publicNotice: {\n marginTop: theme.spacing(1),\n padding: theme.spacing(1),\n backgroundColor: grey[500],\n color: theme.palette.primary.contrastText,\n borderRadius: 10,\n textAlign: \"center\"\n }\n})\n\nexport interface IProfileWorkExperienceProps {\n profile?: Profile\n isOpen?: boolean\n onChange?: (profile: Profile) => any\n onClose?: any\n profileStore?: ProfileStore\n resourceCache?: ResourceCache\n userStore?: UserStore\n notify?: Notify\n}\n\nclass ProfileWorkExperienceViewModel {\n @observable id: string\n @observable jobTitle: string\n @observable jobDescription: string\n @observable agencyType: AgencyType\n @observable agencyName: string\n @observable employerName: string\n @observable employerLocation: string\n @observable startDate: string | null\n @observable endDate: string | null\n @observable projectNo: string\n @observable projectName: string\n @observable projectDollarAmount: string\n @observable projectLocation: string\n @observable isProject: boolean\n\n constructor (e: Experience) {\n makeObservable(this);\n this.id = e.id\n this.jobTitle = e.jobTitle\n this.jobDescription = e.jobDescription\n this.agencyType = e.agencyType\n this.agencyName = e.agencyName\n this.projectLocation = e.projectLocation\n this.employerName = e.employerName\n this.employerLocation = e.employerLocation\n this.startDate = (e.startDate) ? isoToLocalDateString(e.startDate, \"MM/yyyy\") : null\n this.endDate = (e.endDate) ? isoToLocalDateString(e.endDate, \"MM/yyyy\") : null\n this.projectNo = e.projectNo\n this.projectName = e.projectName\n this.projectDollarAmount = numberToMoneyFormat(e.projectDollarAmount, 0)\n this.isProject = e.agencyType !== null && e.agencyType !== undefined && e.agencyType !== AgencyType.None\n }\n}\n\n@inject(\"userStore\", \"profileStore\", \"resourceCache\", \"notify\")\n@observer\nclass ProfileWorkExperience extends React.Component & WithTheme & WithWidth & IProfileWorkExperienceProps> {\n @observable experiences: Experience[] = []\n @observable viewModel?: ProfileWorkExperienceViewModel\n @observable isFormOpen: boolean = false\n @observable isProcessing = false\n @observable fedYears = 0\n @observable totalYears = 0\n @observable agencyDialog: any\n @observable isFederalChecked: boolean = false\n @observable isOtherChecked: boolean = false\n // @observable employerOptions: any\n\n constructor(\n props: WithStyles & WithTheme & WithWidth & IProfileWorkExperienceProps\n ) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount() {\n this.loadExperiences()\n }\n\n componentDidUpdate(prevProps: any) {\n if (prevProps.profile !== this.props.profile) {\n this.componentDidMount()\n }\n if (prevProps.isOpen !== this.props.isOpen) {\n if (this.props.isOpen) {\n this.handleAdd()\n } else {\n this.isFormOpen = false\n }\n }\n }\n\n render() {\n const { onChange, profile, width } = this.props\n\n let addButton\n if (onChange) {\n addButton =\n \n \n \n }\n\n if (!profile) {\n return null\n }\n\n return (\n \n \n {profile &&\n \n {this.renderStaticFields()}\n \n }\n \n {this.isFormOpen && this.renderForm()}\n\n \n )\n }\n\n renderStaticFields() {\n const {width, classes, onChange, userStore, profile} = this.props\n\n // NOTE: The profile is used here rather than the viewModel because we don't want the\n // form changes to affect the static fields until the user presses Save\n\n const isAuthenticated = userStore!.isAuthenticated\n const isXS = isWidthDown('xs', width)\n const instructions = this.experiences.length === 0 && onChange ? \"Add government and other related experience for the last 5 or more years.\" : \"\"\n const isConstruction = profile!.industries.includes(NAICS.Construction)\n const labelWidth = 150 \n\n return (\n
\n \n {instructions &&\n \n \n {instructions}\n \n \n }\n {this.totalYears > 0 && (\n \n \n Federal Experience: { `${Math.round(this.fedYears * 100) / 100} years` }\n \n {!isXS &&   /  }\n \n Total Experience: { `${Math.round(this.totalYears * 100) / 100} years` }\n \n \n )}\n {isAuthenticated &&\n \n {this.experiences.map((e: Experience) => (\n \n {onChange &&\n \n {\n this.handleEdit(e)\n }}>\n \n \n \n }\n {!onChange &&\n  \n }\n \n \n {e.jobTitle}\n \n \n \n \n {e.employerName} {e.employerLocation ? ` (${e.employerLocation})` : ''}\n \n \n {isoToLocalDateString(e.startDate, \"MMM yyyy\")} - {e.endDate ? isoToLocalDateString(e.endDate, \"MMM yyyy\") : \"Present\"} ({this.renderDuration(e)})\n \n \n \n {e.agencyName}\n \n {e.projectName &&\n \n \n {e.projectName}\n \n \n }\n {e.projectLocation &&\n \n \n {e.projectLocation}\n \n \n }\n {e.projectDollarAmount > 0 &&\n \n \n {e.projectDollarAmount > 0 ? numberToMoneyFormat(e.projectDollarAmount, 0) : \"\"}\n \n \n }\n \n \n \n \n \n this.handleFederalCheckbox(event, e)}/>\n }\n label={\n {FederalAgency.NAVFAC}\n }\n />\n \n \n this.handleFederalCheckbox(event, e)}/>\n }\n label={\n {FederalAgency.USACE}\n }\n />\n \n \n this.handleFederalCheckbox(event, e)}/>\n }\n label={\n {FederalAgency.AFCEC}\n }\n />\n
\n
\n \n this.handleFederalCheckbox(event, e)}/>\n }\n label={\n Federal\n }\n />\n \n \n this.handleFederalCheckbox(event, e)}/>\n }\n label={\n Other\n }\n />\n \n \n this.handleFederalCheckbox(event, e)}/>\n }\n label={\n None\n }\n />\n \n
\n
\n
\n \n \n {e.jobDescription}\n \n \n
\n ))}\n
\n }\n {!isAuthenticated && this.experiences.length > 0 &&\n \n \n {this.experiences.length} items available when you join or login...\n \n \n }\n \n {this.agencyDialog}\n
\n )\n }\n\n renderDuration(experience: Experience) {\n let result\n const years = experience.years\n\n if (years < (11.5/12)) {\n result = `${Math.round(years * 12)} mo`\n } else if (years < (12.5/12)) {\n result = \"1 yr\"\n } else {\n result = `${Math.round(years * 100) / 100} yr`\n }\n\n return result\n }\n\n handleFederalCheckbox = async (event: any, e: Experience) => {\n const name = event.target.name\n let update\n\n if (name === FederalAgency.NAVFAC) {\n update = {id: e.id, agencyType: AgencyType.Federal, agencyName: name}\n } else if (name === FederalAgency.USACE) {\n update = {id: e.id, agencyType: AgencyType.Federal, agencyName: name}\n } else if (name === FederalAgency.AFCEC) {\n update = {id: e.id, agencyType: AgencyType.Federal, agencyName: name}\n } else if (name === \"isFederal\") {\n this.agencyDialog = {\n this.isFederalChecked = false\n this.agencyDialog = undefined\n }}\n />\n } else if (name === \"isOther\") {\n this.agencyDialog = {\n this.isOtherChecked = false\n this.agencyDialog = undefined\n }}\n />\n } else if (name === \"isNone\") {\n update = {id: e.id, agencyType: AgencyType.None}\n }\n\n if (update) {\n this.updateExperience(update)\n }\n }\n\n updateExperience = async (input: UpdateExperienceInput) => {\n const { profileStore, notify } = this.props\n\n const exp = await profileStore!.updateExperience(input)\n .catch((_err: Error) => {\n notify!.show(\"error\", \"Unable to set federal experience\")\n })\n\n if (exp) {\n this.onChangeAgency(exp)\n }\n }\n\n onChangeAgency = async (experience: Experience) => {\n const {profile, onChange} = this.props\n\n this.agencyDialog = undefined\n this.isProcessing = true\n\n const index = profile!.experiences.findIndex((e: Experience) => e.id === experience.id)\n if (index >= 0) {\n profile!.experiences[index] = experience\n }\n this.loadExperiences()\n const update = await this.updateProfile()\n this.isProcessing = false\n if (onChange) {\n if (update) {\n onChange(update)\n } else {\n onChange(profile!)\n }\n }\n }\n\n renderForm() {\n const { classes } = this.props\n const vm = this.viewModel!\n // let maxDate = new Date()\n // const minDate = addYears(maxDate, -75)\n let today = new Date()\n let maxStartDate = today\n let minStartDate: Date | undefined\n if (vm.endDate) {\n const endDate = this.getDateFromMonthYearString(vm.endDate, true)\n if (endDate && !isNaN(endDate.getTime())) {\n maxStartDate = endDate\n }\n }\n let maxEndDate = today\n let minEndDate: Date | undefined\n if (vm.startDate) {\n const startDate = this.getDateFromMonthYearString(vm.startDate)\n if (startDate && !isNaN(startDate.getTime())) {\n minEndDate = startDate\n }\n }\n console.log(`StartDate: ${minStartDate ? minStartDate.toLocaleDateString() : \"any\"} - ${maxStartDate.toLocaleDateString()}`)\n console.log(`EndDate: ${minEndDate ? minEndDate.toLocaleDateString() : \"any\"} - ${maxEndDate.toLocaleDateString()}`)\n\n return (\n \n \n Work Experience\n \n \n \n \n \n \n \n \n \n\n
Job Description
\n \n \n \n }\n label={\n \n This is work experience related to a Federal or other government agency (e.g. NAVFAC, USACE, SBA, DHS, DOE, etc.)\n \n }\n />\n \n \n
\n {\n vm.agencyType = value\n }\n }}\n />\n {\n vm.agencyName = value\n }\n }}\n />\n \n option && option.name ? option.name : option ? option : \"\",\n // getOptionSelected: (option: LocationOption, value: LocationOption) => option && option.name ? option.name === value.name : option ? option === value : false,\n // groupBy: (option: LocationOption) => option.group,\n // }}\n />\n \n
\n
\n
\n \n \n \n {vm.id &&\n this.handleDelete(vm.id)}\n />\n }\n \n \n \n \n Save\n \n \n \n \n
\n \n\n )\n }\n\n handleChange = (event: any) => {\n const name = event.target.name\n if (name === \"isProject\") {\n this.viewModel![name] = event.target.checked\n if (event.target.checked && (!this.viewModel!.agencyType || this.viewModel!.agencyType === AgencyType.None)) {\n // Default to Federal\n this.viewModel!.agencyType = AgencyType.Federal\n }\n } else {\n this.viewModel![name] = event.target.value\n }\n }\n\n handleAdd = (): void => {\n const { profile } = this.props\n\n if (profile) {\n const experience= new Experience({\n userId: profile.userId,\n profileId: profile.id,\n jobTitle: \"\",\n jobDescription: \"\",\n agencyType: \"None\",\n agencyName: \"\",\n employerName: \"\",\n employerLocation: \"\",\n startDate: \"\",\n endDate: \"\",\n projectNo: \"\",\n projectName: \"\",\n projectLocation: \"\",\n projectDollarAmount: 0,\n })\n\n this.viewModel = new ProfileWorkExperienceViewModel(experience)\n this.isFormOpen = true\n }\n }\n\n handleEdit = (experience: Experience): void => {\n if (this.props.profile) {\n this.viewModel = new ProfileWorkExperienceViewModel(experience)\n this.isFormOpen = true\n }\n }\n\n handleDelete = async (experienceId: string) => {\n const { profileStore, profile, onChange, notify } = this.props\n\n try {\n await profileStore!.deleteExperience(experienceId)\n const index = profile!.experiences.findIndex((e: Experience) => e.id === experienceId)\n if (index >= 0) {\n profile!.experiences.splice(index, 1)\n }\n this.loadExperiences()\n if (onChange) {\n onChange(profile!)\n }\n this.isProcessing = false\n this.handleClose()\n } catch (error) {\n notify!.show(\"error\", getErrorMessage(error))\n }\n }\n\n handleClose = () => {\n this.isFormOpen = false\n if (this.props.onClose) {\n this.props.onClose()\n }\n }\n\n onSubmit = async () => {\n const {profile, profileStore, onChange, notify} = this.props\n const vm = this.viewModel!\n\n if (onChange) {\n this.isProcessing = true\n\n try {\n if (!vm.id) {\n const input: CreateExperienceInput = {\n userId: profile!.userId,\n profileId: profile!.id,\n employerName: vm.employerName,\n employerLocation: vm.employerLocation,\n jobTitle: vm.jobTitle,\n startDate: this.getISODateFromMonthYearString(vm.startDate),\n endDate: vm.endDate ? this.getISODateFromMonthYearString(vm.endDate, true) : null,\n jobDescription: vm.jobDescription,\n agencyType: vm.isProject ? vm.agencyType : AgencyType.None,\n agencyName: vm.isProject ? vm.agencyName : null,\n projectName: vm.isProject ? vm.projectName : null,\n projectLocation: vm.isProject ? vm.projectLocation : null,\n projectDollarAmount: vm.isProject ? moneyToNumberFormat(vm.projectDollarAmount, 0) : 0,\n }\n\n let experience = await profileStore?.createExperience(input)\n\n if (experience) {\n profile!.experiences.push(experience)\n this.loadExperiences()\n const update = await this.updateProfile()\n if (update) {\n onChange(update)\n } else {\n onChange(profile!)\n }\n this.isProcessing = false\n this.handleClose()\n }\n } else {\n const input: UpdateExperienceInput = {\n id: vm.id,\n employerName: vm.employerName,\n employerLocation: vm.employerLocation,\n jobTitle: vm.jobTitle,\n startDate: vm.startDate ? this.getISODateFromMonthYearString(vm.startDate) : null,\n endDate: vm.endDate ? this.getISODateFromMonthYearString(vm.endDate, true) : null,\n jobDescription: vm.jobDescription,\n agencyType: vm.isProject ? vm.agencyType : AgencyType.None,\n agencyName: vm.isProject ? vm.agencyName : null,\n projectName: vm.isProject ? vm.projectName : null,\n projectLocation: vm.isProject ? vm.projectLocation : null,\n projectDollarAmount: vm.isProject ? moneyToNumberFormat(vm.projectDollarAmount, 0) : 0,\n }\n\n let experience = await profileStore?.updateExperience(input)\n\n if (experience) {\n const index = profile!.experiences.findIndex((e: Experience) => e.id === vm.id)\n if (index >= 0) {\n profile!.experiences[index] = experience\n }\n this.loadExperiences()\n const update = await this.updateProfile()\n if (update) {\n onChange(update)\n } else {\n onChange(profile!)\n }\n this.isProcessing = false\n this.handleClose()\n }\n }\n } catch (error) {\n notify!.show(\"error\", getErrorMessage(error))\n this.isProcessing = false\n }\n\n this.isProcessing = false\n }\n }\n\n updateProfile = async () : Promise => {\n const { profile, profileStore } = this.props\n\n // Update profile if federal or total experience changed\n if (profile!.federalExperience !== this.fedYears || profile!.totalExperience !== this.totalYears) {\n const input: UpdateProfileInput = {\n id: profile!.id,\n federalExperience: this.fedYears,\n totalExperience: this.totalYears\n }\n const update = profileStore!.updateProfile(input)\n if (update) {\n return update\n }\n }\n\n return undefined\n }\n\n loadExperiences = () => {\n const { profile } = this.props\n\n if (!profile) {\n return\n }\n\n this.totalYears = 0\n this.fedYears = 0\n // let employers: string[] = []\n\n let experiences: Experience[] = []\n let totalRanges: DateRange[] = []\n let fedRanges: DateRange[] = []\n\n if (profile!.experiences && profile!.experiences.length > 0) {\n profile!.experiences.forEach((experience: Experience) => {\n experiences.push(experience)\n\n const startDate = (experience.startDate) ? new Date(experience.startDate) : null\n const endDate = (experience.endDate) ? new Date(experience.endDate) : new Date()\n if (startDate && !isNaN(startDate.getTime()) && !isNaN(endDate.getTime()) && startDate.getTime() < endDate.getTime()) {\n const dateRange = new DateRange(startDate, endDate)\n totalRanges.push(dateRange)\n if (experience.agencyType === AgencyType.Federal) {\n fedRanges.push(dateRange)\n }\n }\n })\n if (totalRanges.length > 0) {\n const totalMerged = mergeOverlappingDateRanges(totalRanges)\n const totalDays = totalMerged.reduce((acc: number, curr: DateRange): number => acc + differenceInDays(curr.end, curr.start), 0)\n this.totalYears = totalDays / 365.0\n } else {\n this.totalYears = 0\n }\n if (fedRanges.length > 0) {\n const fedMerged = mergeOverlappingDateRanges(fedRanges)\n const fedDays = fedMerged.reduce((acc: number, curr: DateRange): number => acc + differenceInDays(curr.end, curr.start), 0)\n this.fedYears = fedDays / 365.0\n }\n\n // Sort in reverse startDate order\n experiences.sort((a: Experience, b: Experience) => String(b.startDate).localeCompare(String(a.startDate)))\n }\n\n this.experiences = experiences\n }\n\n getISODateFromMonthYearString(input: string | null | undefined, monthEnd: boolean = false) {\n if (input) {\n let date = parse(input, \"MM/yyyy\", new Date())\n if (monthEnd) {\n date = endOfMonth(date)\n date.setMinutes(-date.getTimezoneOffset())\n }\n return date.toISOString().substr(0, 10)\n } else {\n return \"\"\n }\n }\n\n getDateFromMonthYearString(input: string | null | undefined, monthEnd: boolean = false) {\n if (input) {\n let date = parse(input, \"MM/yyyy\", new Date())\n if (monthEnd) {\n date = endOfMonth(date)\n }\n return date\n } else {\n return undefined\n }\n }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(ProfileWorkExperience)))\n","import * as React from \"react\";\nimport {\n Box,\n createStyles,\n alpha,\n Grid,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport {inject, observer} from \"mobx-react\";\nimport DialogButton from \"./form/DialogButton\";\nimport ControlTower, {Routes} from \"./ControlTower\";\nimport {makeObservable, observable} from \"mobx\";\nimport AuthButton from \"./login/AuthButton\";\n\nconst styles = (theme: Theme) => createStyles({\n callToAction: {\n color: theme.palette.primary.contrastText\n },\n join: {\n backgroundColor: theme.palette.secondary.main,\n boxShadow: 'rgba(0, 0, 0, 0.15) 0px 5px 15px 0px',\n \"&:hover\": {\n backgroundColor: alpha(theme.palette.secondary.main, 0.8),\n }\n },\n logIn: {\n backgroundColor: theme.palette.primary[600],\n color: theme.palette.common.white,\n boxShadow: 'rgba(0, 0, 0, 0.15) 0px 5px 15px 0px',\n \"&:hover\": {\n backgroundColor: theme.palette.primary[500],\n }\n }\n})\n\ninterface ICallToActionPanelProps {\n prompt: string\n onLogin?: any\n}\n\n@inject(\"userStore\")\n@observer\nclass CallToActionPanel extends React.Component & ICallToActionPanelProps & WithWidth> {\n\n @observable isAuthVisible: boolean = false\n\n constructor(props: any) {\n super(props)\n makeObservable(this)\n }\n\n render() {\n const { classes, prompt } = this.props\n return (\n \n \n \n \n {prompt}\n \n \n \n \n \n ControlTower.route(Routes.join)} customClassName={ classes.join }>\n Join\n \n \n \n this.isAuthVisible = true} customClassName={ classes.logIn }>\n Log In\n \n \n \n \n \n {this.isAuthVisible &&\n this.isAuthVisible = false} \n />\n }\n \n )\n }\n\n handleOnLogin = () => {\n const { onLogin } = this.props\n this.isAuthVisible = false\n if (onLogin) {\n onLogin()\n }\n }\n}\n\nexport default withStyles(styles)(withWidth()(CallToActionPanel))\n","import {\n Box,\n createStyles,\n Grid,\n isWidthDown,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n withTheme,\n WithTheme, withWidth, WithWidth\n} from \"@material-ui/core\";\nimport {inject, observer} from \"mobx-react\";\nimport React from \"react\";\nimport Profile from \"../../model/Profile\";\nimport UserStore from \"../../stores/UserStore\";\nimport ProfileCard from \"./ProfileCard\";\nimport IconicButton from \"../../components/controls/IconicButton\";\nimport {makeObservable, observable} from \"mobx\";\nimport ExpandMoreIcon from '@material-ui/icons/ExpandMore';\nimport ExpandLessIcon from '@material-ui/icons/ExpandLess';\nimport Visible from \"../../components/Visible\";\n\nconst styles = (theme: Theme) => createStyles({\n container: {\n paddingTop: theme.spacing(0),\n paddingBottom: theme.spacing(2),\n color: theme.palette.primary.main\n },\n list: {\n marginTop: theme.spacing(1),\n fontSize: 15\n },\n})\n\nexport interface IProfileFAQsProps {\n profile?: Profile\n userStore?: UserStore\n}\n\n@inject('userStore')\n@observer\nclass ProfileFAQs extends React.Component & WithTheme & WithWidth & IProfileFAQsProps> {\n\n @observable isExpanded = false\n\n constructor(props: any) {\n super(props)\n makeObservable(this)\n }\n\n renderInstructions = () => {\n const {\n width,\n classes\n } = this.props\n\n return (\n \n \n \n Here are some frequently asked questions and tips about GovGig profiles!\n \n \n \n \n What will employers be able to see about me?\n \n
    \n
  • First and last initial
  • \n
  • Years of experience
    \n (Federal and overall work experience)\n
  • \n
  • Positions that you are applying for and are qualified for
  • \n
  • Locations where you want to work, and/or Remote.
  • \n
  • “About” bio
  • \n
  • Security clearance and clearance status.
  • \n
  • Certifications you have listed and/or uploaded.
  • \n
  • Your resume and contact information are only provided to an employer after you apply to their job post and they request to unlock your profile.
  • \n
\n
\n \n \n Why is “About” Information important?\n \n
    \n
  • “About” information is a summary of your resume.
  • \n
  • “About” information is the first thing a hiring manager reads prior to viewing your resume.
  • \n
  • Providing no “About” information or too little information in your GovGig profile may result in a hiring manager never viewing your resume.
  • \n
\n
\n \n \n How do I improve the visibility of my profile to employers?\n \n
    \n
  • Include all your relevant work experience and dates.
  • \n
      \n
    • Be sure to indicate your federal work experience by setting the Agency Type as Federal.
    • \n
    \n
  • Be Available!
  • \n
      \n
    • Set your Availability in the Personal Information section.
    • \n
    • Indicate more cities where you want work to show up on the map. GovGig searches a radius of about 50 miles for matching profiles.
    • \n
    \n
\n
\n \n \n How do I improve my \"About\" information?\n \n
    \n
  • Your privacy is Important!
  • \n
      \n
    • Please keep your contact information out of your About section for your privacy. Only vetted and approved recruiters and employers can unlock your profile to see your contact info when you apply for a job post.
    • \n
    • Do not include your name or any personal identifiers.
    • \n
    • Do not include the names of past employers or companies.
    • \n
    \n
  • Ideas for what you want to include:
  • \n
      \n
    • State the years of experience you have in federal and/or non-federal work.
    • \n
        \n
      • If making a career transition, identify the role and industry you are currently in and how your skills can support a federal project.
      • \n
      \n
    • State job titles you have held and the types of projects you have been employed on.
    • \n
    • Number of projects you have completed and the estimated value.
    • \n
    • Include project awards or personal professional recognition.
    • \n
    • Identify knowledge of software or other technical skills.
    • \n
    • Identify professional certifications or degrees.
    • \n
    • State if you are willing to travel or relocate for work at the end of the summary.
    • \n
    \n
\n
\n \n )\n }\n\n render() {\n const {\n userStore,\n width,\n classes\n } = this.props\n\n if (!userStore!.isApplicant && !userStore!.isCandidate) {\n return null \n }\n\n const expandButton = \n {this.isExpanded ? : }\n \n\n return (\n \n {this.isExpanded && this.renderInstructions()} \n \n )\n }\n\n onExpand = () => {\n this.isExpanded = !this.isExpanded\n }\n\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(ProfileFAQs)))\n","import { useEffect, useState } from \"react\"\nimport JobCandidate from \"../../model/JobCandidate\"\nimport Profile from \"../../model/Profile\"\nimport { useStores } from \"../../stores/StoreProvider\"\nimport ProfileCard from \"./ProfileCard\"\nimport { observer } from \"mobx-react\"\nimport { DialogContentText, Grid, Typography, useTheme } from \"@material-ui/core\"\nimport IconicButton from \"../../components/controls/IconicButton\"\nimport Logger from \"../../components/Logger\"\nimport { SecurityStatus, UpdateProfileInput } from \"../../API\"\nimport { Autocomplete } from \"@material-ui/lab\"\nimport TextFieldValidator from \"../../components/form/TextFieldValidator\"\nimport { Edit } from \"@material-ui/icons\"\nimport TextMenuFieldValidator from \"../../components/form/TextMenuFieldValidator\"\nimport Stack from \"../../components/Stack\"\nimport AppDialog from \"../../components/dialog/AppDialog\"\nimport RemoveCircleIcon from '@material-ui/icons/RemoveCircle';\n\nconst ProfileSecurityClearance = observer(({\n profile,\n jobCandidate,\n onChange,\n onDelete \n}: {\n profile?: Profile\n jobCandidate?: JobCandidate\n onChange?: (profile: Profile) => any\n onDelete?: (profile: Profile) => any\n}) => {\n const NoClearance = \"None\"\n const [isDialogOpen, setIsDialogOpen] = useState(false)\n const [isProcessing, setIsProcessing] = useState(false)\n const [isDeleting, setIsDeleting] = useState(false)\n const [securityClearance, setSecurityClearance] = useState()\n const [securityStatus, setSecurityStatus] = useState()\n\n const {\n confirm,\n notify,\n userStore,\n profileStore,\n resourceCache\n } = useStores()\n\n const securityClearances = resourceCache.listSecurityClearances()\n\n const theme = useTheme()\n\n useEffect(() => {\n if (profile?.securityClearance) {\n setSecurityClearance(profile.securityClearance)\n } else {\n setSecurityClearance(undefined)\n }\n if (profile?.securityStatus) {\n setSecurityStatus(profile.securityStatus)\n } else {\n setSecurityStatus(undefined)\n }\n }, [\n profile \n // profile?.securityClearance,\n // profile?.securityStatus \n ])\n\n const _handleAddSecurityClearance = () => {\n setIsDialogOpen(true)\n }\n\n const handleClose = () => {\n setIsDialogOpen(false)\n }\n\n const _clear = () => {\n // this.stagedFile = null\n // this.isUploading = false\n // this.uploadError = ''\n // this.isInvalidFile = false\n }\n\n const onSubmit = async () => {\n if (onChange === undefined) {\n handleClose()\n Logger.error(\"No onChange prop present\")\n notify!.show(\"error\", \"Could not update profile security clearance\")\n return \n }\n\n setIsProcessing(true)\n \n let updatedProfile: Profile | undefined\n\n try {\n // Update profile after updating the user, since some profile fields depend on the user record. \n // For example, the nickname and alias depend on the user's name. \n const updateProfileInput: UpdateProfileInput = {\n id: profile!.id,\n securityClearance: securityClearance,\n securityStatus: securityStatus\n }\n updatedProfile = await profileStore!.updateProfile(updateProfileInput)\n if (!updatedProfile) {\n throw new Error('Could not update profile')\n }\n } catch (error) {\n setIsProcessing(false)\n handleClose()\n const reason = 'Could not update profile record'\n Logger.error(reason, error)\n notify!.show(\"error\", reason)\n return \n }\n\n setIsProcessing(false)\n handleClose()\n onChange(updatedProfile)\n }\n\n const handleDelete = async () => {\n if (onDelete === undefined) {\n handleClose()\n Logger.error(\"No onChange prop present\")\n notify!.show(\"error\", \"Could not delete security clearance\")\n return \n }\n\n setIsDeleting(true)\n \n let updatedProfile: Profile | undefined\n\n try {\n // Update profile after updating the user, since some profile fields depend on the user record. \n // For example, the nickname and alias depend on the user's name. \n const updateProfileInput: UpdateProfileInput = {\n id: profile!.id,\n securityClearance: null,\n securityStatus: null\n }\n updatedProfile = await profileStore!.updateProfile(updateProfileInput)\n if (!updatedProfile) {\n throw new Error('Could not update profile')\n }\n } catch (error) {\n setIsDeleting(false)\n handleClose()\n const reason = 'Could not update profile record'\n Logger.error(reason, error)\n notify!.show(\"error\", reason)\n return \n }\n\n setIsDeleting(false)\n handleClose()\n onDelete(updatedProfile)\n }\n\n // const onSelectSecurityClearance = (event: any, value: any, reason: string) => {\n // // const value = event.target.value \n // setSecurityClearance(value)\n // }\n\n const renderSecurityClearanceForm = () => {\n return (\n {\n // Prevent closing on background click\n if (reason !== \"backdropClick\") {\n handleClose()\n }\n }}\n onSubmit={async () => {\n await onSubmit()\n handleClose()\n }}\n secondaryLabel=\"Delete\"\n secondaryColor={\"default\"}\n secondaryIcon={}\n secondaryAction={async () => {\n const content = 'Do you want to delete this security clearance? (The operation cannot be undone.)'\n return new Promise(resolve => {\n confirm.show('Delete', content, ['Delete', 'Cancel'], () => {\n return handleDelete().then(() => {\n resolve() \n return true \n })\n })\n })\n }}\n >\n {/* {children} */}\n\n \n \n \n Please select your U.S. Federal Government security clearance level and if it is active. \n \n \n If your clearance is active or current, select \"Active.\"\n \n \n If you had a job in the past two years that required the use of a security clearance, select \"Inactive.\"\n \n \n \n\n {/* {error && (\n \n Error: {error}\n \n )} */}\n\n {/* */}\n\n {\n setSecurityClearance(value)\n }}\n value={securityClearance ?? null}\n renderInput={(params: any) =>\n
\n \n
\n }\n />\n\n {/* {\n\n }}\n // disabled={isSelf}\n fullWidth={false}\n // className={classes.formGroupField}\n validators={{ required: true }}\n /> */}\n\n {\n const value = event.target.value \n setSecurityStatus(value)\n }}\n fullWidth\n required\n values={Object.values(SecurityStatus)}\n />\n \n )\n }\n\n const renderLocked = () => {\n return (\n Profile must be unlocked to view their security clearance details.\n )\n }\n\n const renderUnlocked = () => {\n const instructions = profile?.securityClearance === undefined && onChange ? \"Edit your security clearance level and status, such as an active Top Secret clearance.\" : undefined\n let clearance \n if (profile?.securityClearance) {\n clearance = profile.securityClearance\n clearance += ` (${profile.securityStatus})`\n }\n return (\n <>\n { instructions &&\n \n \n {instructions}\n \n \n }\n { clearance && \n \n \n {clearance}\n \n \n }\n \n )\n }\n\n if (!profile) {\n return null\n }\n\n const user = userStore.user \n const isUnlocked = profile.getIsUnlocked(user, jobCandidate)\n \n let editButton\n if (onChange) {\n editButton =\n \n \n \n }\n \n return (\n \n { onChange && renderSecurityClearanceForm() }\n\n \n { isUnlocked ? renderUnlocked() : renderLocked() } \n \n \n )\n})\n\nexport default ProfileSecurityClearance\n","import {Box, Paper} from \"@material-ui/core\";\nimport { createStyles, Theme, withStyles, WithStyles, withTheme, WithTheme } from '@material-ui/core/styles';\nimport { RouteComponentProps } from '@reach/router';\nimport {action, makeObservable, observable, when} from \"mobx\";\nimport { inject, observer } from \"mobx-react\";\nimport * as React from 'react';\nimport {CreateProfileInput, ProfileStatus, SubjectType, UpdateProfileInput} from \"../../API\";\nimport Logger from \"../../components/Logger\";\nimport MarginRow from \"../../components/page/MarginRow\";\nimport Page from \"../../components/page/Page\";\nimport Progress from \"../../components/Progress\";\nimport Profile, {ProfileStatusMessages} from \"../../model/Profile\";\nimport User from \"../../model/User\";\nimport ProfileStore from '../../stores/ProfileStore';\nimport { getErrorMessage, isUUID } from \"../../stores/StoreUtilities\";\nimport UserStore from \"../../stores/UserStore\";\nimport ProfileAbout from './ProfileAbout';\nimport ProfileCandidateStatus from './ProfileCandidateStatus';\nimport ProfileCertifications from './ProfileCertifications';\nimport ProfileEducation from './ProfileEducation';\nimport ProfileHero from './ProfileHero';\nimport ProfileInstructions from \"./ProfileInstructions\";\nimport ProfileLocations from './ProfileLocations';\nimport ProfilePersonalInfo from \"./ProfilePersonalInfo\";\nimport ProfilePositions from './ProfilePositions';\nimport ProfileWorkExperience from './ProfileWorkExperience';\nimport CallToActionPanel from \"../../components/CallToActionPanel\";\nimport {ActivityType} from \"../../model/UserActivity\";\nimport AddButton from \"../../components/AddButton\";\nimport {ReactElement} from \"react\";\nimport UploadResumeDialog from \"./upload-resume/UploadResumeDialog\";\nimport Experience from \"../../model/Experience\";\nimport ProfileFAQs from \"./ProfileFAQs\";\nimport JobStore from \"../../stores/JobStore\";\nimport JobCandidate from \"../../model/JobCandidate\";\nimport ProfileSecurityClearance from \"./ProfileSecurityClearance\";\nimport Stack from \"../../components/Stack\";\n\nconst styles = (theme: Theme) => createStyles({\n root: {\n flexGrow: 1,\n justifyContent: 'top',\n alignItems: 'center',\n },\n content: {\n display: 'flex',\n flexGrow: 1,\n width: \"100%\",\n flex: \"auto\",\n overflowY: \"auto\",\n marginTop: theme.spacing(1),\n padding: 0\n },\n instructions: {\n padding: theme.spacing(2)\n }\n})\n\ninterface IProfilePageProps {\n profileId?: string\n onUpdateProfile?(profile: Profile): Promise\n\n // Pass in the JobCandidate when reviewing this Candidate for a specific JobPost. \n embed?: boolean\n jobCandidate?: JobCandidate\n\n userStore?: UserStore\n profileStore?: ProfileStore\n jobStore?: JobStore\n progress?: Progress\n location?: any\n}\n\n@inject(\"userStore\", \"profileStore\", \"jobStore\", \"progress\")\n@observer\nclass ProfilePage extends React.Component & RouteComponentProps & IProfilePageProps & WithTheme> {\n @observable isLoading = true\n @observable profile?: Profile\n @observable isProfilePositionsDialogOpen = false\n @observable isProfileLocationsDialogOpen = false\n @observable isProfileAboutDialogOpen = false\n @observable isProfileWorkExperienceDialogOpen = false\n @observable isProfileEducationDialogOpen = false\n @observable user?: User\n @observable errors: ReactElement[] = []\n\n constructor(\n props: WithStyles & RouteComponentProps & IProfilePageProps & WithTheme\n ) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount() {\n const { userStore, progress } = this.props\n progress!.show(\"Profile\")\n when(\n // once...\n () => !userStore!.isLoading,\n // ... then\n async () => {\n // Load public profile\n await this.loadProfile()\n progress!.hide(\"Profile\")\n this.isLoading = false\n }\n )\n\n // when(\n // // once...\n // () => !userStore!.isLoading && userStore!.user !== undefined,\n // // ... then\n // async () => {\n // // Reload if user is authenticated\n // await this.loadProfile()\n // progress!.hide(\"Profile\")\n // this.isLoading = false\n // }\n // )\n }\n\n render() {\n const { userStore, embed, jobCandidate, theme } = this.props\n const profile = this.profile\n const isProfileEditable = profile && userStore!.isProfileEditable(profile)\n const onChangeProfile = isProfileEditable ? this.onChangeProfile : undefined\n const onSubmit = isProfileEditable && (profile?.canSubmit()) ?\n this.onSubmit : undefined\n const onChangeStatus = userStore!.isAdminOrAgent ? this.onChangeProfile : undefined\n\n let content = !this.isLoading ?\n \n {/* */}\n {!userStore!.isAuthenticated &&\n \n this.loadProfile()}/>\n \n }\n \n \n \n \n \n \n \n \n this.isProfilePositionsDialogOpen = false}\n />\n this.isProfileLocationsDialogOpen = false}\n />\n \n \n \n \n \n this.isProfileAboutDialogOpen = false}\n />\n this.isProfileWorkExperienceDialogOpen = false}\n />\n this.isProfileEducationDialogOpen = false}\n />\n \n \n : null\n\n if (embed) {\n return content\n } else {\n return (\n \n \n {content}\n \n \n )\n }\n\n }\n\n loadProfile = async () => {\n const { userStore, profileStore, location } = this.props\n\n let profile\n const profileId = this.props.profileId ? this.props.profileId : location ? new URLSearchParams(location.search).get(\"profileId\") : undefined\n if (profileId) {\n if (isUUID(profileId)) {\n profile = await profileStore!.getProfile(profileId)\n } else {\n profile = await profileStore!.getAliasProfile(profileId)\n }\n\n } else {\n // Load the profile of the current user.\n const user = userStore!.user\n if (!user) {\n return\n }\n const userId = user.id\n profile = await profileStore!.getUserProfile(userId)\n\n // Create if it doesn't already exist for some reason\n if (!profile) {\n profile = await this.createProfile(userId)\n if (profile) {\n // Reload including User\n profile = await profileStore!.getUserProfile(userId)\n }\n }\n }\n\n if (profile) {\n if (profile.user) {\n // getUserProfile should return the user unless unauthenticated\n this.user = profile.user\n }\n this.profile = profile\n\n if (userStore!.isEmployer) {\n userStore!.logUserActivity(this.profile.userId, SubjectType.Profile, this.profile.id, ActivityType.ProfileViewed,\n `${userStore!.user!.fullName} viewed the profile for '${this.profile.name}'`)\n }\n\n // Sort experiences\n this.profile.experiences.sort((a: Experience, b: Experience) => String(b.startDate).localeCompare(String(a.startDate)))\n } else {\n Logger.error('Could not load profile!')\n }\n\n this.isLoading = false\n }\n\n createProfile = async (userId: string) => {\n const { profileStore } = this.props\n\n const input: CreateProfileInput = {\n active: true,\n userId,\n profileStatus: ProfileStatus.Pending,\n }\n\n const profile = await profileStore!.createProfile(input)\n .catch((error: any) => {\n Logger.debug(\"createProfile error\", getErrorMessage(error))\n });\n\n return profile\n }\n\n @action onChangeProfile = (profile: Profile) => {\n this.isProfilePositionsDialogOpen = false\n this.isProfileLocationsDialogOpen = false\n this.isProfileAboutDialogOpen = false\n this.isProfileWorkExperienceDialogOpen = false\n this.isProfileEducationDialogOpen = false\n\n this.profile = profile\n if (profile.user) {\n this.user = profile.user\n }\n if (this.errors && this.errors.length > 0) {\n this.errors = this.validate(profile)\n }\n\n this.props.onUpdateProfile && this.props.onUpdateProfile(profile)\n }\n\n onSubmit = async () => {\n const { profileStore } = this.props\n\n this.errors = this.validate(this.profile!)\n\n if (this.errors.length > 0) {\n return\n }\n\n // Update profile\n const updateProfileInput: UpdateProfileInput = {\n id: this.profile!.id,\n profileStatus: ProfileStatus.Submitted,\n statusMessage: ProfileStatusMessages[ProfileStatus.Submitted]\n }\n\n let updatedProfile = await profileStore!.updateProfile(updateProfileInput)\n\n if (updatedProfile) {\n this.onChangeProfile(updatedProfile)\n }\n }\n\n validate = (profile: Profile) => {\n let errors = []\n\n if (!profile!.resumeKey) {\n errors.push(\n // • Please add a resume.\n \n )\n }\n\n if (!profile!.profileServices || profile!.profileServices.length === 0) {\n errors.push(\n this.isProfilePositionsDialogOpen = true}\n />\n )\n }\n\n if (!profile!.profileLocations || profile!.profileLocations.length === 0) {\n errors.push(\n this.isProfileLocationsDialogOpen = true}\n />\n )\n }\n\n // if (!this.profile!.availableDate) {\n // errors.push(\n // • Available Date is required.\n // )\n // }\n //\n // if (!this.profile!.desiredRate) {\n // errors.push(\n // • Desired Rate is required.\n // )\n // }\n\n if (!profile!.about) {\n errors.push(\n this.isProfileAboutDialogOpen = true}\n />\n )\n }\n\n if (!profile!.experiences || profile!.experiences.length === 0) {\n errors.push(\n this.isProfileWorkExperienceDialogOpen = true}\n />\n )\n } else {\n // Look for missing agency types\n const found = profile.experiences.find((e: Experience) => !e.agencyType)\n if (found) {\n errors.push( {window.location.href = `#${found.id}`} }\n />)\n }\n }\n\n if (!profile!.education || profile!.education.length === 0) {\n errors.push(\n this.isProfileEducationDialogOpen = true}\n />\n )\n }\n\n\n return errors\n }\n}\n\nexport default withTheme((withStyles(styles)(ProfilePage)))\n","import { Box, createStyles, Grid, Theme } from \"@material-ui/core\";\nimport { withStyles, WithStyles, withTheme, WithTheme } from \"@material-ui/core/styles\";\nimport { RouteComponentProps } from \"@reach/router\";\nimport { formatISO } from 'date-fns';\nimport SearchBar from \"material-ui-search-bar\";\nimport {autorun, makeObservable, observable, when} from \"mobx\";\nimport { inject, observer } from \"mobx-react\";\nimport * as React from 'react';\nimport {ModelUserFilterInput, ProfileStatus, UpdateUserInput, UserRole} from \"../../API\";\nimport TextFieldValidator from \"../../components/form/TextFieldValidator\";\nimport KanbanBoard, { IKanbanColumn, IKanbanRow } from \"../../components/kanban/KanbanBoard\";\nimport Notify from \"../../components/notify/Notify\";\nimport Progress from \"../../components/Progress\";\nimport Location from \"../../model/Location\";\nimport ServiceGroup from \"../../model/ServiceGroup\";\nimport User from \"../../model/User\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport ProfileStore from \"../../stores/ProfileStore\";\nimport UserStore from \"../../stores/UserStore\";\nimport ApplicantCard from './ApplicantCard';\nimport FilterBar from \"../../components/filter/FilterBar\";\nimport ServiceFilter from \"../../components/filter/ServiceFilter\";\nimport LocationFilter from \"../../components/filter/LocationFilter\";\nimport {LocationOption, ServiceOption} from \"../../stores/ResourceCache\";\nimport SideDrawer from \"../../components/page/SideDrawer\";\nimport ProfilePage from \"../profile/ProfilePage\";\nimport * as APITypes from '../../API'\n\nconst styles = (theme: Theme) => createStyles({\n content: {\n flexGrow: 1,\n width: \"100%\",\n },\n searchbar: {\n display: \"flex\",\n flexGrow: 2,\n width: '100%',\n height: 38,\n },\n cardspace: {\n maxHeight: 'calc(100% - 76px)', // accommodate header\n marginTop: theme.spacing(1),\n marginBottom: theme.spacing(1),\n padding: 3, // card shadow was being cut off on left and bottom of cardspace, card size reduced by 3 to accommodate\n },\n card: {\n // minWidth: 567, // removing minWidth allows cards to be squished, if desired\n },\n searchIcon: {\n color: theme.palette.secondary.main\n },\n searchFilter: {\n flexGrow: 1\n },\n filter: {\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"flex-start\",\n alignItems: \"left\",\n },\n filterControl: {\n textAlign: \"left\",\n },\n sortFilter: {\n backgroundColor: theme.palette.background.paper,\n borderRadius: 10,\n width: 200,\n height: 40,\n },\n})\n\nenum Columns {\n Pending,\n Submitted,\n Reviewing,\n Verifying,\n Declined,\n Accepted,\n Academy,\n Future,\n Inactive\n}\n\ninterface IApplicantBoardProps {\n userStore?: UserStore\n accountStore?: AccountStore\n profileStore?: ProfileStore\n progress?: Progress\n notify?: Notify\n}\n\nenum SortOptions {\n Experience = \"Experience\",\n Name = \"Name\",\n Updated = \"Updated\"\n}\n\n@inject(\"userStore\", \"accountStore\", \"profileStore\", \"progress\", \"notify\")\n@observer\nclass ApplicantBoard extends React.Component & RouteComponentProps & IApplicantBoardProps & WithTheme> {\n @observable usersUnfiltered: User[] = []\n @observable users: User[] = []\n @observable serviceGroups?: ServiceGroup[] = []\n @observable locations?: Location[] = []\n search: string = \"\"\n @observable sortBy?: any = { field: \"default\", asc: true }\n @observable sortFilter = SortOptions.Updated\n @observable serviceFilter?: ServiceOption\n @observable locationFilter?: LocationOption\n @observable columns: IKanbanColumn[] = []\n @observable applicant?: User\n @observable industryFilter?: string\n\n constructor(\n props: WithStyles & RouteComponentProps & IApplicantBoardProps & WithTheme\n ) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount() {\n const { accountStore, userStore, progress } = this.props\n\n when(\n // once...\n () => !accountStore!.isLoading && accountStore!.account !== undefined,\n // ... then\n async () => {\n this.industryFilter = userStore!.industry\n progress!.show(\"ApplicantBoard\")\n await this.loadUsers()\n progress!.hide(\"ApplicantBoard\")\n }\n )\n\n autorun(\n async () => {\n if (!userStore!.isLoading && userStore!.industry !== this.industryFilter) {\n progress!.show(\"ApplicantBoard\")\n this.industryFilter = userStore!.industry\n this.filterUsers()\n progress!.hide(\"ApplicantBoard\")\n }\n }\n )\n }\n\n render() {\n const { classes } = this.props\n return (\n \n\n {this.renderFilterBar()}\n\n \n {\n return \n }\n }}\n onDrop={this.handleUpdateUserStatus}\n />\n \n {this.renderDrawer()}\n \n )\n }\n\n renderFilterBar = () => {\n const {classes } = this.props\n\n return (\n \n \n
\n \n
\n\n \n\n \n\n
\n
\n \n
\n
\n \n
\n )\n }\n\n renderDrawer = () => {\n if (!this.applicant || !this.applicant.profile) {\n return null\n }\n\n return (\n {\n this.handleUpdateApplicant(this.applicant!)\n this.applicant = undefined\n }}\n size=\"large\"\n >\n \n \n \n\n \n )\n }\n\n loadUsers = async () => {\n const { accountStore } = this.props\n\n let filter: Array | null = []\n\n filter?.push({\n role: { eq: UserRole.Applicant }\n })\n\n const users = await accountStore!.listApplicantsByAccount(accountStore!.account!.id,\n { and: filter } as ModelUserFilterInput)\n this.sortUsers(users)\n this.usersUnfiltered = users\n this.filterUsers()\n }\n\n handleUpdateUserStatus = async (\n row: IKanbanRow, \n sourceIndex: number, \n sourceColumnId: string, \n destinationIndex: number, \n destinationColumnId: string\n ) => {\n const { userStore } = this.props \n this.props.progress!.show('ApplicantBoard')\n try {\n const sourceColumn: IKanbanColumn = this.columns.find(column => column.id === sourceColumnId)!\n const destinationColumn: IKanbanColumn = this.columns.find(column => column.id === destinationColumnId)!\n\n sourceColumn.rows.splice(sourceIndex, 1);\n destinationColumn.rows.splice(destinationIndex, 0, row);\n\n const currentUser = row as User\n const profileStatus = ProfileStatus[destinationColumn.id]\n if (!profileStatus) {\n throw new Error('Column is not a valid profile status')\n }\n const input: APITypes.UpdateProfileInput = { \n id: currentUser.profile!.id, \n profileStatus \n }\n const updatedProfile = await this.props.profileStore!.updateProfile(input)\n\n if (updatedProfile) {\n // Update user role if needed\n const newRole = updatedProfile.profileStatus === ProfileStatus.Accepted ? UserRole.Candidate : UserRole.Applicant\n \n if (updatedProfile.user && updatedProfile.user!.role !== newRole) {\n console.log(`Updating user role to: ${newRole}`)\n const updateUserInput: UpdateUserInput = {\n id: updatedProfile.user!.id,\n role: newRole\n }\n \n const updatedUser = await userStore!.updateUser(updateUserInput)\n if (updatedUser) {\n updatedProfile.user = updatedUser\n }\n }\n }\n\n const userProfile = this.usersUnfiltered.find(u => u.id === row.id)?.profile\n if (userProfile) {\n userProfile.profileStatus = profileStatus\n userProfile.updatedAt = formatISO(Date.now())\n }\n this.filterUsers()\n } catch (err: any) {\n this.props.notify!.show('error', `Could not update profile status: ${err.message}`)\n }\n this.props.progress!.hide('ApplicantBoard')\n }\n\n handleUpdateApplicant = async (applicant: User) => {\n const { userStore } = this.props\n const index = this.usersUnfiltered.findIndex((user: User) => applicant.id === user.id)\n if (index >= 0) {\n const updatedApplicant = await userStore!.getUserAndProfile(applicant.id)\n if (updatedApplicant) {\n this.usersUnfiltered[index] = updatedApplicant\n this.filterUsers()\n }\n }\n }\n\n onSearchChange = (value: string) => {\n this.search = value\n }\n\n onChangeSort = (event: any) => {\n this.sortFilter = event.target.value\n this.filterUsers()\n }\n\n onSelectService = (value?: ServiceOption) => {\n if (value) {\n this.serviceFilter = value\n } else {\n this.serviceFilter = undefined\n }\n this.filterUsers()\n }\n\n onSelectLocation = (value?: LocationOption) => {\n if (value) {\n this.locationFilter = value\n } else {\n this.locationFilter = undefined\n }\n this.filterUsers()\n }\n\n filterUsers = () => {\n let filteredUsers: User[] = []\n if (this.search === \"\" && !this.serviceFilter && !this.locationFilter) {\n filteredUsers = this.usersUnfiltered\n } else {\n const search = this.search!.toLowerCase().replace(/\\s{2,}/g, \" \")\n this.usersUnfiltered.forEach((user: User) => {\n const profile = user.profile\n if (profile) {\n if ((search === \"\" || this.searchName(user.fullName, search)) &&\n (!this.serviceFilter || profile.hasService(this.serviceFilter.id)) &&\n (!this.locationFilter || profile.hasLocation(this.locationFilter.id))\n ) {\n filteredUsers.push(user)\n }\n }\n })\n }\n\n if (this.industryFilter) {\n filteredUsers = filteredUsers.filter((u: User) => {\n return u.profile && u.profile.industries.indexOf(this.industryFilter!) >= 0\n })\n }\n\n if (this.sortFilter === SortOptions.Updated) {\n filteredUsers.sort((a: User, b: User) => {\n const aa = a.profile ? a.profile.updatedAt : a.updatedAt\n const bb = b.profile ? b.profile.updatedAt : b.updatedAt\n return bb.localeCompare(aa)\n })\n } else if (this.sortFilter === SortOptions.Experience) {\n filteredUsers.sort((a: User, b: User) => {\n const aa = a.profile?.federalExperience ?? 0\n const bb = b.profile?.federalExperience ?? 0\n return bb - aa\n })\n } else {\n filteredUsers.sort((a: User, b: User) => a.fullName.localeCompare(b.fullName))\n }\n\n this.users = filteredUsers\n\n let columns: IKanbanColumn[] = [\n { id: \"Pending\", title: \"Pending\", rows: [] },\n { id: \"Submitted\", title: \"Submitted\", rows: [] },\n { id: \"Reviewing\", title: \"Reviewing\", rows: [] },\n { id: \"Verifying\", title: \"Verifying\", rows: [] },\n { id: \"Declined\", title: \"Declined\", rows: [] },\n { id: \"Accepted\", title: \"Accepted\", rows: [] },\n { id: \"Academy\", title: \"Academy\", rows: [] },\n { id: \"Future\", title: \"Future\", rows: [] },\n { id: \"Inactive\", title: \"Inactive\", rows: [] },\n ]\n\n filteredUsers.forEach((user: User) => {\n const profile = user.profile\n if (profile) {\n const status = profile.profileStatus\n switch (status) {\n case ProfileStatus.Pending:\n columns[Columns.Pending].rows.push(user)\n break\n case ProfileStatus.Submitted:\n columns[Columns.Submitted].rows.push(user)\n break\n case ProfileStatus.Reviewing:\n columns[Columns.Reviewing].rows.push(user)\n break\n case ProfileStatus.Verifying:\n columns[Columns.Verifying].rows.push(user)\n break\n case ProfileStatus.Declined:\n columns[Columns.Declined].rows.push(user)\n break\n case ProfileStatus.Accepted:\n columns[Columns.Accepted].rows.push(user)\n break\n case ProfileStatus.Academy:\n columns[Columns.Academy].rows.push(user)\n break\n case ProfileStatus.Future:\n columns[Columns.Future].rows.push(user)\n break\n case ProfileStatus.Inactive:\n // columns[Columns.Inactive].rows.push(user)\n break\n }\n }\n })\n\n this.columns = columns\n }\n\n searchName = (userFullName: string, search: string) => {\n return (\n userFullName.toLowerCase().indexOf(search) >= 0\n )\n }\n\n sortUsers = (users: User[]) => {\n if (this.sortBy.field === \"default\") {\n if (this.sortBy.asc) {\n users.sort((a: User, b: User) => {\n if (a.lastName === b.lastName) {\n return a.firstName.localeCompare(b.firstName)\n } else {\n return a.lastName.localeCompare(b.lastName)\n }\n })\n } else {\n users.sort((a: User, b: User) => {\n if (a.lastName === b.lastName) {\n return b.firstName.localeCompare(a.firstName)\n } else {\n return b.lastName.localeCompare(a.lastName)\n }\n })\n }\n }\n }\n\n onRequestSearch = () => {\n this.search = this.search ? this.search.trim() : \"\"\n this.filterUsers()\n\n // this.loadUsers() // server-side filtering\n }\n\n onCancelSearch = () => {\n this.search = \"\"\n this.filterUsers()\n\n // this.loadUsers() // server-side filtering\n }\n\n onClickApplicant = (user: User) => {\n this.applicant = user\n // ControlTower.route(`${Routes.profile}/${user.profile?.id}`)\n }\n\n onChangeApplicant = (applicant: User) => {\n const index = this.usersUnfiltered.findIndex((user: User) => applicant.id === user.id)\n if (index >= 0) {\n this.usersUnfiltered[index] = applicant\n this.filterUsers()\n }\n\n }\n}\n\nexport default withTheme((withStyles(styles)(ApplicantBoard)))\n\n\n","\n\nclass InvoiceItem {\n customer: string\n unit_amount: number\n quantity: number\n currency: string\n description: string\n discounts: any[]\n\n constructor (data: any) {\n this.customer = data.customer\n this.unit_amount = data.unit_amount\n this.quantity = data.quantity\n this.currency = data.currency\n this.description = data.description\n this.discounts = data.discounts\n }\n}\n\nexport default InvoiceItem","import InvoiceItem from \"./InvoiceItem\";\n\nexport class CustomField {\n name: string\n value: string\n\n constructor(data: any) {\n this.name = data.name\n this.value = data.value\n }\n}\n\nclass Invoice {\n customer: string\n collection_method: string\n auto_advance: boolean\n custom_fields: CustomField[]\n items: InvoiceItem[]\n discounts: any[]\n\n constructor (data: any) {\n this.customer = data.customer\n this.collection_method = data.collection_method\n this.auto_advance = data.auto_advance\n if (data.custom_field) {\n this.custom_fields = data.custom_fields.map((field: any) => {\n return new CustomField(field)\n })\n } else {\n this.custom_fields = []\n }\n if (data.items) {\n this.items = data.items.map((item: any) => {\n return new InvoiceItem(item)\n })\n } else {\n this.items = []\n }\n this.discounts = data.discounts\n }\n}\n\nexport default Invoice\n","import {timestampToISOString} from \"../../stores/StoreUtilities\";\n\nexport class Charge {\n id: string\n amount: number\n created: string\n receipt_number: string\n receipt_url: string\n description: string\n\n constructor (data: any) {\n this.id = data.id\n this.amount = data.amount / 100.0\n this.created = timestampToISOString(data.created)\n this.receipt_number = data.receipt_number\n this.receipt_url = data.receipt_url\n this.description = data.description\n }\n}\n\nexport default Charge\n","import Price from \"./Price\"\nimport get from 'lodash.get'\n\nclass Product {\n id: string \n name: string \n description: string \n defaultPriceId: string \n prices: Price[] = []\n unitLabel: string \n imageUrls: string[] = []\n features: string[] = []\n\n superTitle?: string\n productLine: string // Ex. \"GovGigJobs\", \"GovGigDocs\"\n productType: string // Ex. \"JobPost\"\n productExpiry: string \n includes: string \n \n metadata: any \n\n constructor(data: any) {\n this.id = data.id \n this.name = data.name \n this.description = data.description \n this.unitLabel = data.unit_label \n this.defaultPriceId = data.default_price\n this.imageUrls = data.images \n\n this.loadFeatures(data) \n \n // Related to features on price list:\n this.superTitle = get(data, 'metadata[superTitle]')\n this.productLine = get(data, 'metadata[productLine]')\n this.productType = get(data, 'metadata[productType]')\n this.productExpiry = get(data, 'metadata[productExpiry]')\n this.includes = get(data, 'metadata[includes]') \n \n this.metadata = data.metadata\n }\n \n // TODO: Looks like there's a features list built in to the product entity in Stripe, need to switch to use that list instead of a metadata list?\n loadFeatures(data: any) {\n for (let x = 1; x <= 3; x++) {\n const feature = get(data, `metadata[feature_${x}]`)\n if (feature) {\n this.features.push(feature)\n }\n }\n }\n\n addPrice(price: Price) {\n this.prices.push(price)\n this.prices.sort((a, b) => a.quantity - b.quantity)\n }\n\n /**\n * Get the unit price for a given quantity of units. \n * \n * @param quantity The quantity of units. \n * @returns A string representing the price, which includes the currency symbol, ex. '$499.00'\n */\n getPriceForQuantity(quantity: number): Price | undefined {\n let price \n\n this.prices.forEach(checkPrice => {\n if (checkPrice.quantity === quantity) {\n price = checkPrice\n } else if (checkPrice.quantity < quantity) {\n price = checkPrice\n }\n })\n\n return price \n }\n}\n\nexport default Product \n\n/*\nExample product listings: \n{\n \"id\": \"prod_MGltVZzjcSC6uM\",\n \"object\": \"product\",\n \"active\": true,\n \"attributes\": [],\n \"created\": 1660850767,\n \"default_price\": \"price_1LYEM0GEKsOeGTHni5yT3Q33\",\n \"description\": \"Utilize GovGig Agents to manage recruiting activity on your behalf for your Job Post(s).\",\n \"images\": [],\n \"livemode\": false,\n \"metadata\": {\n \"jobPostType\": \"RecruitingServices\",\n \"productLine\": \"GovGigJobs\",\n \"productType\": \"JobPost\"\n },\n \"name\": \"Job Post(s) - Recruiting Services\",\n \"package_dimensions\": null,\n \"shippable\": null,\n \"statement_descriptor\": null,\n \"tax_code\": \"txcd_10103001\",\n \"type\": \"service\",\n \"unit_label\": \"Job Post\",\n \"updated\": 1660856619,\n \"url\": null\n},\n{\n \"id\": \"prod_MEUoUp8JZmBHfK\",\n \"object\": \"product\",\n \"active\": true,\n \"attributes\": [],\n \"created\": 1660325957,\n \"default_price\": \"price_1LW1pKGEKsOeGTHnoPyIKVT9\",\n \"description\": \"Publish Job Post(s) to the GovGig Job Board.\",\n \"images\": [],\n \"livemode\": false,\n \"metadata\": {\n \"feature_1\": \"Put your job post(s) in front of our qualified Candidate pool\",\n \"feature_2\": \"Manage Candidate applications to your job post(s)\",\n \"feature_3\": \"Job post(s) show for 30 days (can be renewed as an add-on)\",\n \"jobPostType\": \"SelfService\",\n \"presentationOrder\": \"1\",\n \"productLine\": \"GovGigJobs\",\n \"productType\": \"JobPost\"\n },\n \"name\": \"Job Post(s) - Self-Service\",\n \"package_dimensions\": null,\n \"shippable\": null,\n \"statement_descriptor\": null,\n \"tax_code\": \"txcd_10103001\",\n \"type\": \"service\",\n \"unit_label\": \"Job Post(s)\",\n \"updated\": 1662159513,\n \"url\": null\n},\n*/\n","import get from 'lodash.get'\n\nclass Price {\n id: string \n productId: string \n quantity: number \n unitPrice: number \n frequency: string \n metadata: any \n nickname: string \n\n constructor(data: any) {\n this.id = data.id \n this.productId = data.product \n\n const transformQuantity = get(data, 'transform_quantity.divide_by')\n this.quantity = transformQuantity ? transformQuantity : 1 \n \n const unitAmount = get(data, 'unit_amount')\n this.unitPrice = unitAmount ? unitAmount / 100.00 : 0\n \n this.frequency = data.type === 'recurring' ? \"per month\" : \"per unit\"\n this.metadata = data.metadata\n this.nickname = data.nickname\n }\n}\n\nexport default Price \n\n/*\nExample price listings: \n{\n \"id\": \"price_1LYEM0GEKsOeGTHni5yT3Q33\",\n \"object\": \"price\",\n \"active\": true,\n \"billing_scheme\": \"per_unit\",\n \"created\": 1660850768,\n \"currency\": \"usd\",\n \"custom_unit_amount\": null,\n \"livemode\": false,\n \"lookup_key\": null,\n \"metadata\": {},\n \"nickname\": null,\n \"product\": \"prod_MGltVZzjcSC6uM\",\n \"recurring\": null,\n \"tax_behavior\": \"exclusive\",\n \"tiers_mode\": null,\n \"transform_quantity\": null,\n \"type\": \"one_time\",\n \"unit_amount\": 0,\n \"unit_amount_decimal\": \"0\"\n},\n{\n \"id\": \"price_1LYFrtGEKsOeGTHnfF7msT34\",\n \"object\": \"price\",\n \"active\": true,\n \"billing_scheme\": \"per_unit\",\n \"created\": 1660856589,\n \"currency\": \"usd\",\n \"custom_unit_amount\": null,\n \"livemode\": false,\n \"lookup_key\": null,\n \"metadata\": {},\n \"nickname\": null,\n \"product\": \"prod_MEUoUp8JZmBHfK\",\n \"recurring\": null,\n \"tax_behavior\": \"exclusive\",\n \"tiers_mode\": null,\n \"transform_quantity\": {\n \"divide_by\": 10,\n \"round\": \"up\"\n },\n \"type\": \"one_time\",\n \"unit_amount\": 34900,\n \"unit_amount_decimal\": \"34900\"\n},\n{\n \"id\": \"price_1LYFrgGEKsOeGTHnmqUAgZOH\",\n \"object\": \"price\",\n \"active\": true,\n \"billing_scheme\": \"per_unit\",\n \"created\": 1660856576,\n \"currency\": \"usd\",\n \"custom_unit_amount\": null,\n \"livemode\": false,\n \"lookup_key\": null,\n \"metadata\": {},\n \"nickname\": null,\n \"product\": \"prod_MEUoUp8JZmBHfK\",\n \"recurring\": null,\n \"tax_behavior\": \"exclusive\",\n \"tiers_mode\": null,\n \"transform_quantity\": {\n \"divide_by\": 5,\n \"round\": \"up\"\n },\n \"type\": \"one_time\",\n \"unit_amount\": 39900,\n \"unit_amount_decimal\": \"39900\"\n},\n{\n \"id\": \"price_1LYFrRGEKsOeGTHnX5Lt9xwd\",\n \"object\": \"price\",\n \"active\": true,\n \"billing_scheme\": \"per_unit\",\n \"created\": 1660856561,\n \"currency\": \"usd\",\n \"custom_unit_amount\": null,\n \"livemode\": false,\n \"lookup_key\": null,\n \"metadata\": {},\n \"nickname\": null,\n \"product\": \"prod_MEUoUp8JZmBHfK\",\n \"recurring\": null,\n \"tax_behavior\": \"exclusive\",\n \"tiers_mode\": null,\n \"transform_quantity\": {\n \"divide_by\": 2,\n \"round\": \"up\"\n },\n \"type\": \"one_time\",\n \"unit_amount\": 44900,\n \"unit_amount_decimal\": \"44900\"\n},\n{\n \"id\": \"price_1LW1pKGEKsOeGTHnoPyIKVT9\",\n \"object\": \"price\",\n \"active\": true,\n \"billing_scheme\": \"per_unit\",\n \"created\": 1660325958,\n \"currency\": \"usd\",\n \"custom_unit_amount\": null,\n \"livemode\": false,\n \"lookup_key\": null,\n \"metadata\": {},\n \"nickname\": null,\n \"product\": \"prod_MEUoUp8JZmBHfK\",\n \"recurring\": null,\n \"tax_behavior\": \"exclusive\",\n \"tiers_mode\": null,\n \"transform_quantity\": null,\n \"type\": \"one_time\",\n \"unit_amount\": 49900,\n \"unit_amount_decimal\": \"49900\"\n},\n*/\n","/* eslint-disable @typescript-eslint/no-unused-vars */\nimport { observable, makeObservable } from \"mobx\";\nimport GovGigAPI from \"../apis/GovGigAPI\";\nimport * as APITypes from \"../API\"\nimport Account from \"../model/Account\";\nimport Tracking from \"../components/Tracking\";\nimport User from \"../model/User\";\nimport Logger from \"../components/Logger\";\nimport ResourceCache from \"./ResourceCache\";\nimport {AgreementType, ModelAccountFilterInput, UserRole} from \"../API\";\nimport socioEconomicDesignations from \"../data/socioEconomicDesignations.json\";\nimport Invoice from \"../model/stripe/Invoice\";\nimport BillingAPI from \"../apis/BillingAPI\";\nimport Charge from \"../model/stripe/Charge\";\nimport get from \"lodash.get\";\nimport Product from \"../model/stripe/Product\";\nimport Price from \"../model/stripe/Price\";\nimport StripeOrderItemData from \"../model/stripe/StripeOrderItemData\";\nimport InvoiceItem from \"../model/stripe/InvoiceItem\";\nimport Agreement from \"../model/Agreement\";\n\nexport const AccountStoreConstants = {\n PRIMARY_ACCOUNT_ID: \"primary\"\n}\n\n// TODO: Move to schema? \nexport enum PricingAgreementType {\n Standard = \"Standard\", \n Exclusive = \"Exclusive\"\n}\n\nclass AccountStore {\n govGigAPI: GovGigAPI\n resourceCache: ResourceCache\n billingAPI: BillingAPI\n\n @observable account?: Account\n @observable isLoading = true \n\n constructor(options: any) {\n makeObservable(this);\n this.govGigAPI = (options && options.govGigAPI) ? options.govGigAPI : null\n this.resourceCache = (options && options.resourceCache) ? options.resourceCache : null\n this.billingAPI = (options && options.billingAPI) ? options.billingAPI : null \n }\n\n async init(account?: Account) {\n // this.isLoading = true \n this.account = account\n this.isLoading = false\n console.log(\"Account inited\")\n }\n\n get isPrimary() {\n return this.account && this.account.id === AccountStoreConstants.PRIMARY_ACCOUNT_ID\n }\n\n // Deprecated? \n // async loadAccount(accountId: string) {\n // if (!this.account || this.account.id !== accountId) {\n // console.log(`loadingAccount(${accountId})`)\n // this.isLoading = true\n // const accountData = await this.govGigAPI.getAccount(accountId)\n // .catch((err: Error) => {\n // console.log(`getAccount error: ${err.message}`)\n // ControlTower.route(Routes.notFound)\n // })\n\n // if (accountData) {\n // const account = new Account(accountData)\n // await this.init(account)\n // return account\n // }\n // } else {\n // return this.account\n // }\n // }\n\n listAccounts = async (industry?: string): Promise => {\n let accounts: Account[] = []\n\n let filter: ModelAccountFilterInput | undefined\n\n if (industry) {\n filter = {\n industries: {contains: industry}\n }\n }\n\n const data = await this.govGigAPI.listAccounts(filter)\n if (data && data.items) {\n accounts = data.items.map((item: any) => {\n return new Account(item)\n })\n }\n\n return accounts\n }\n\n getAccount = async (accountId: string): Promise => {\n let account: Account | undefined\n\n if (accountId === this.account!.id) {\n account = this.account\n }\n\n if (!account) {\n const data = await this.govGigAPI.getAccount(accountId)\n if (data) {\n account = new Account(data)\n }\n }\n\n return account\n }\n\n async createAccount(input: APITypes.CreateAccountInput) {\n const account = await this.govGigAPI!.createAccount(input)\n if (account) {\n Tracking.event({action: \"Create Account\"})\n this.isLoading = false\n return new Account(account)\n } else {\n return null\n }\n }\n\n async updateAccount(input: APITypes.UpdateAccountInput) {\n const result = await this.govGigAPI!.updateAccount(input)\n if (result) {\n Tracking.event({action: \"Create Account\"})\n const account = new Account(result)\n if (this.account && this.account.id === account.id) {\n if (!account.users || account.users.length === 0) {\n account.users = this.account!.users\n }\n this.account = account\n }\n return account\n } else {\n return null\n }\n }\n\n listUsers = async (filter?: APITypes.ModelUserFilterInput): Promise => {\n let users: User[] = []\n\n let data\n let nextToken: string | undefined\n\n do {\n data = await this.govGigAPI.listUsers(filter, 1000, nextToken)\n if (data && data.items) {\n data.items.forEach((item: any) => {\n // Filter out Academy Students\n if (item.role !== UserRole.Student) {\n const user = new User(item)\n if (!user.account) {\n Logger.warning(`No account found for user: ${user.email}`)\n } else {\n users.push(user)\n }\n }\n })\n nextToken = data.nextToken ?? undefined\n }\n } while (data && nextToken)\n\n return users\n }\n\n listUsersByAccount = async (accountId: string, filter?: APITypes.ModelUserFilterInput): Promise => {\n let users: User[] = []\n\n let data\n let nextToken: string | undefined\n\n do {\n data = await this.govGigAPI.listUsersByAccount(accountId, filter, 1000, nextToken)\n if (data && data.items) {\n data.items.forEach((item: any) => {\n // Filter out Academy Students\n if (item.role !== UserRole.Student) {\n const user = new User(item)\n if (!user.account) {\n Logger.warning(`No account found for user: ${user.email}`)\n } else {\n users.push(user)\n }\n }\n })\n nextToken = data.nextToken ?? undefined\n }\n } while (data && nextToken)\n\n return users\n }\n\n listApplicantsByAccount = async (accountId: string, filter?: APITypes.ModelUserFilterInput): Promise => {\n let users: User[] = []\n\n let data\n let nextToken: string | undefined\n\n do {\n data = await this.govGigAPI.listApplicantsByAccount(accountId, filter, 1000, nextToken)\n if (data && data.items) {\n data.items.forEach((item: any) => {\n const user = new User(item)\n if (user.profile) {\n user.profile.user = user\n }\n users.push(user)\n })\n nextToken = data.nextToken ?? undefined\n }\n } while (data && nextToken)\n\n return users\n }\n\n listCandidatesByAccount = async (accountId: string, filter?: APITypes.ModelUserFilterInput): Promise => {\n let users: User[] = []\n\n let data\n let nextToken: string | undefined\n\n do {\n data = await this.govGigAPI.listCandidatesByAccount(accountId, filter, 1000, nextToken)\n if (data && data.items) {\n data.items.forEach((item: any) => {\n const user = new User(item)\n if (user.profile) {\n user.profile.user = user\n }\n users.push(user)\n })\n nextToken = data.nextToken ?? undefined\n }\n } while (data && nextToken)\n\n return users\n }\n\n getSocioEconomicDesignationOptions() {\n return socioEconomicDesignations\n }\n \n // Agreement methods\n\n listAgreementsByAccount = async (accountId: string, filter?: APITypes.ModelAgreementFilterInput): Promise => {\n let agreements: Agreement[] = []\n\n const data = await this.govGigAPI.listAgreementsByAccount(accountId, filter)\n if (data && data.items) {\n agreements = data.items.map((item: any) => {\n const agreement = new Agreement(item)\n return agreement\n })\n }\n\n return agreements\n }\n\n getPricingAgreementType = async (accountId: string): Promise => {\n let pricingAgreementType: PricingAgreementType | null = null \n const agreements = await this.listAgreementsByAccount(accountId)\n // setAgreements(agreements)\n\n let hasMasterServicesAgremement = false \n // let hasConfidentialityAgreement = false \n let hasExclusiveAgreement = false \n if (agreements && agreements.length > 0) {\n agreements.forEach((agreement: Agreement) => {\n if (agreement.hasAgreementType(APITypes.AgreementType.MasterServicesAndNonSolicitation)) {\n hasMasterServicesAgremement = true \n } \n // if (agreement.hasAgreementType(APITypes.AgreementType.ConfidentialityAndNonDisclosure)) {\n // hasConfidentialityAgreement = true \n // }\n if (agreement.hasAgreementType(APITypes.AgreementType.ExclusiveRecruitment)) {\n hasExclusiveAgreement = true \n }\n })\n }\n \n if (hasMasterServicesAgremement && !hasExclusiveAgreement) {\n pricingAgreementType = PricingAgreementType.Standard\n } else if (hasMasterServicesAgremement && hasExclusiveAgreement) {\n pricingAgreementType = PricingAgreementType.Exclusive\n } else if (hasExclusiveAgreement) {\n pricingAgreementType = PricingAgreementType.Exclusive\n }\n\n return pricingAgreementType\n }\n\n agreementTypeToString(agreementType: AgreementType): string {\n let typeName = \"\"\n switch (agreementType) {\n case (AgreementType.BackgroundCheck): \n typeName = \"Background Check\"\n break\n case (AgreementType.ConfidentialityAndNonDisclosure): \n typeName = \"Confidentiality & Non-Disclosure Agreement\"\n break\n case (AgreementType.ElectronicCommunication): \n typeName = \"Electronic Communication\"\n break\n case (AgreementType.ExclusiveRecruitment): \n typeName = \"Exclusive Master Services & Non-Solicitation Agreement\"\n break \n case (AgreementType.FederalExperience): \n typeName = \"Federal Experience\"\n break \n case (AgreementType.I9Eligible): \n typeName = \"I-9 Eligible\"\n break \n case (AgreementType.MasterServicesAndNonSolicitation): \n typeName = \"Master Services & Non-Solicitation Agreement\"\n break \n case (AgreementType.PrivacyPolicy): \n typeName = \"Privacy Policy\"\n break \n case (AgreementType.TermsOfUse): \n typeName = \"Terms of Use\"\n break \n case (AgreementType.StaffingAgreement): \n typeName = \"Staffing Agreement\"\n break \n case (AgreementType.ProfessionalServicesAgreement): \n typeName = \"Professional Services Agreement\"\n break \n }\n return typeName \n }\n\n // Billing Related Methods\n\n getCoupon = async (id: string) => {\n const result = await this.billingAPI.getCoupon(id)\n return result\n }\n\n listProducts = async (): Promise => {\n const result = await this.billingAPI.getProducts()\n .catch((err: any) => {\n console.error(\"Error getting Stripe products\", err)\n })\n\n const products = result.data.map((productData: any) => new Product(productData))\n await this.attachPricesToProducts(products)\n return products \n }\n\n /**\n * \n * @param productLine Example: 'GovGigJobs', 'GovGigDocs'\n * @param productType Example: 'JobPost' \n * @returns \n */\n listProductsByProductLineAndProductType = async (productLine: string, productType: string): Promise => {\n const result = await this.billingAPI.getProducts()\n .catch((err: any) => {\n console.error(\"Error getting Stripe products\", err)\n })\n \n const productsData: any[] = [] \n \n result.data.forEach((productData: any) => {\n const isProductLine = get(productData, 'metadata[productLine]') === productLine\n const isProductType = get(productData, 'metadata[productType]') === productType\n if (isProductLine && isProductType) {\n productsData.push(productData)\n }\n })\n \n productsData.sort((a, b) => {\n const orderA = get(a, 'metadata[presentationOrder]')\n const orderB = get(b, 'metadata[presentationOrder]')\n return orderA - orderB \n })\n \n const products = productsData.map(productData => new Product(productData))\n await this.attachPricesToProducts(products)\n return products \n }\n\n attachPricesToProducts = async (products: Product[]) => {\n const result = await this.billingAPI.getPrices()\n .catch((err: any) => {\n console.error(\"Error getting Stripe prices\", err)\n })\n\n result.data.forEach((priceData: any) => {\n const price = new Price(priceData)\n const product = products.find(product => product.id === price.productId)\n if (product) {\n product.addPrice(price)\n }\n })\n }\n\n createInvoice = async (user: User, couponId: string | undefined, orderItemData: StripeOrderItemData[], tokenId: string | undefined) => {\n const items = orderItemData.map(orderItem => {\n return new InvoiceItem({\n customer: this.account!.customerId,\n unit_amount: Math.round(orderItem.unitPrice! * 100),\n quantity: orderItem.quantity,\n currency: \"usd\",\n description: orderItem.description\n })\n })\n const invoice = new Invoice({\n customer: this.account!.customerId,\n collection_method: \"charge_automatically\",\n auto_advance: true,\n items\n })\n\n if (couponId) {\n invoice.discounts = [\n {coupon: couponId}\n ]\n }\n\n const result = await this.billingAPI.createInvoice(user, this.account!, invoice, tokenId)\n\n if (!this.account!.customerId && result && result.customer) {\n const input: APITypes.UpdateAccountInput = {\n id: this.account!.id,\n customerId: result.customer\n }\n const account = await this.updateAccount(input)\n if (account) {\n this.account!.customerId = account.customerId\n }\n }\n // console.log(`createInvoice = ${JSON.stringify(result)}`)\n\n return (result)\n }\n\n getCustomer = async (id: string) => {\n const result = await this.billingAPI.getCustomer(id)\n return result\n }\n\n deleteSource = async (sourceId: string) => {\n if (this.account!.customerId) {\n return await this.billingAPI.deleteSource(this.account!.customerId, sourceId)\n } else {\n return null\n }\n }\n\n // Charges methods\n\n listCharges = async (accountId: string) => {\n let charges: Charge[] = []\n\n const account = await this.getAccount(accountId)\n if (account && account.customerId) {\n const result = await this.billingAPI.getCharges(account.customerId)\n if (result && result.data) {\n charges = result.data.map((item: any) => {\n return new Charge(item)\n })\n }\n }\n\n return charges\n }\n}\n\nexport default AccountStore\n\n","import * as React from \"react\";\nimport {\n Box,\n Card,\n CardContent,\n createStyles, Dialog, DialogActions, DialogContent, DialogTitle, FormGroup,\n Grid,\n Theme,\n withStyles,\n WithStyles\n} from \"@material-ui/core\";\nimport {inject, observer} from \"mobx-react\";\nimport ControlTower, {Routes} from \"../../components/ControlTower\";\nimport Profile, {ProfileAvailabilityOptions} from \"../../model/Profile\";\nimport CardValue from \"../../components/CardValue\";\nimport {getErrorMessage, isoDateToWhen, phoneToNationalFormat} from \"../../stores/StoreUtilities\";\nimport ResourceCache from \"../../stores/ResourceCache\";\nimport IconicButton from \"../../components/controls/IconicButton\";\nimport EditIcon from \"@material-ui/icons/Edit\";\nimport User from \"../../model/User\";\nimport FormValidator from \"../../components/form/FormValidator\";\nimport TextFieldValidator from \"../../components/form/TextFieldValidator\";\nimport FormGroupSpacer from \"../../components/form/FormGroupSpacer\";\nimport StateSelector from \"../../components/form/StateSelector\";\nimport CancelButton from \"../../components/form/CancelButton\";\nimport ProgressButton from \"../../components/form/ProgressButton\";\nimport Logger from \"../../components/Logger\";\nimport {UpdateProfileInput, UpdateUserInput, UserStatus} from \"../../API\";\nimport {makeObservable, observable} from \"mobx\";\nimport Notify from \"../../components/notify/Notify\";\nimport UserStore from \"../../stores/UserStore\";\nimport ProfileStore from \"../../stores/ProfileStore\";\nimport SimpleSelect from \"../../components/controls/SimpleSelect\";\nimport AddButton from \"../../components/AddButton\";\nimport JobStore from \"../../stores/JobStore\";\nimport Confirm from \"../../components/confirm/Confirm\";\nimport ProfileNameView from \"../../components/profile/ProfileNameView\";\nimport Stack from \"../../components/Stack\";\n\nconst styles = (theme: Theme) => createStyles({\n container: {\n minHeight: \"100%\"\n },\n card: {\n fontSize: 12,\n padding: '16px !important', // overriding CardContent root setting\n },\n icon: {\n fontSize: 45,\n height: 45,\n paddingRight: theme.spacing(2),\n },\n name: {\n fontSize: 20,\n fontWeight: 600,\n color: theme.palette.primary.main,\n },\n title: {\n paddingTop: '3px',\n paddingBottom: '6px',\n },\n body: {\n },\n leftFields: {\n paddingRight: theme.spacing(2),\n overflowX: \"hidden\",\n },\n rightFields: {\n // overflowX: \"hidden\",\n whiteSpace: \"nowrap\",\n [theme.breakpoints.down('lg')]: {\n flex: \"0 0 90px\",\n },\n },\n formGroupRow: {\n display: \"flex\",\n justifyContent: \"space-between\",\n flexWrap: \"nowrap\"\n },\n formGroupField: {\n flexGrow: 1,\n },\n postalCodeField: {\n flexGrow: 0,\n width: 100\n },\n stateSelector: {\n minWidth: 60\n },\n progressButton: {\n minWidth: 80\n },\n availabilitySelect: {\n width: 480\n }\n // chip: {\n // margin: 2\n // }\n})\n\nclass CandidateViewModel {\n @observable firstName: string\n @observable lastName: string\n @observable email: string\n @observable phone: string\n @observable address: string\n @observable city: string\n @observable state: string\n @observable postalCode: string\n @observable country: string\n @observable availability: string\n @observable desiredRate: string\n\n constructor(user: User) {\n makeObservable(this);\n this.firstName = user!.firstName\n this.lastName = user!.lastName\n this.email = user!.email\n this.phone = user!.phone\n this.address = user!.address\n this.city = user!.city\n this.state = user!.state\n this.country = user!.country ?? \"US\"\n this.postalCode = user!.postalCode\n this.availability = user.profile!.availability ?? \"\"\n this.desiredRate = user.profile!.desiredRate ? user.profile!.desiredRate : \"\"\n }\n}\n\ninterface ICandidateCardProps {\n user: any\n onCardClick?(user: User): void\n onChange?(user: User): any\n\n resourceCache?: ResourceCache\n notify?: Notify\n confirm?: Confirm\n userStore?: UserStore\n profileStore?: ProfileStore\n jobStore?: JobStore\n}\n\n@inject(\"resourceCache\", \"notify\", \"confirm\", \"userStore\", \"profileStore\", \"jobStore\")\n@observer\nclass CandidateCard extends React.Component & ICandidateCardProps> {\n @observable viewModel?: CandidateViewModel\n @observable isFormOpen: boolean = false\n @observable isProcessing = false\n // @observable services: string[] = []\n\n constructor(props: any) {\n super(props)\n makeObservable(this)\n }\n\n componentDidMount() {\n // const { user } = this.props\n\n // if (user) {\n // this.getServices()\n // }\n }\n\n render() {\n const { classes, user } = this.props\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n { this.renderContent() }\n \n \n \n \n )\n }\n\n renderContent() {\n const { user } = this.props\n const phoneNumber = user.phone ? phoneToNationalFormat(user.phone) : \"\"\n const email = user.email\n const profile: Profile | undefined = user.profile\n const lastActiveAt = isoDateToWhen(user.lastActiveAt)\n\n return (\n \n {/**/}\n {/* {this.services.map((service: string) => {*/}\n {/* return } label={service} className={classes.chip}/>*/}\n {/* })}*/}\n {/**/}\n \n {user.address} {user.address &&
} {user.city}, {user.state} {user.postalCode}\n
\n \n {email}\n \n \n {phoneNumber}\n \n \n {profile!.availability ?? \"\"}\n \n {lastActiveAt &&\n \n {lastActiveAt}\n \n }\n {this.isFormOpen && this.renderForm()}\n
\n )\n }\n\n // getServices = () => {\n // const { user, resourceCache } = this.props\n //\n // if (user && user.profile && user.profile.profileServices) {\n // // Sort and pick off the first 3 services\n // const services = user.profile.profileServices.map((p: ProfileService) => {\n // const service = resourceCache!.getService(p.serviceId)\n // return service?.name\n // })\n // services.sort()\n // this.services = services.slice(0, Math.max(services.length, 3))\n // }\n // }\n\n onCardClick = async () => {\n if (this.props.onCardClick) {\n this.props.onCardClick(this.props.user)\n } else {\n const profile = this.props.user.profile\n let searchParams = new URLSearchParams()\n searchParams.append('profileId', profile.id)\n const route = `${Routes.manageCandidate}/profile?${searchParams.toString()}`\n ControlTower.route(route)\n }\n }\n\n renderForm() {\n const { classes, /* width */ } = this.props\n const viewModel = this.viewModel!\n\n return (\n \n \n \n Candidate Information\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 Save\n \n \n \n \n \n \n \n \n )\n }\n\n handleChange = (event: React.ChangeEvent) => {\n const name = event.target.name\n this.viewModel![name] = event.target.value\n }\n\n handleEdit = (): void => {\n if (this.props.user) {\n this.viewModel = new CandidateViewModel(this.props.user)\n this.isFormOpen = true\n }\n }\n\n handleClose = () => {\n this.isFormOpen = false\n }\n\n handleDelete = async () => {\n const {user, profileStore, jobStore, userStore, confirm, notify} = this.props\n\n try {\n confirm!.show(\n 'Confirm Delete',\n 'Are you sure that you want to delete this candidate? All candidate data will be lost.',\n ['Delete', 'Cancel'],\n async () => {\n const profile = await profileStore!.getUserProfile(user.id)\n if (profile) {\n await profileStore!.deleteProfile(profile)\n const jobInterests = await jobStore!.listJobInterestsByUser(user.id)\n if (jobInterests.length > 0) {\n await Promise.all((jobInterests).map(({ id }) => jobStore!.deleteJobInterest(id)))\n }\n const jobCandidates = await jobStore!.listJobCandidatesByProfile(profile.id)\n if (jobCandidates.length > 0) {\n await Promise.all((jobCandidates).map(({ id }) => jobStore!.deleteJobCandidate(id)))\n }\n const update: UpdateUserInput = {\n id: user.id,\n userStatus: UserStatus.Suspended\n }\n const updatedUser = await userStore!.updateUser(update)\n if (updatedUser) {\n notify!.show('success', 'Candidate deleted')\n this.handleClose()\n if (this.props.onChange) {\n this.props.onChange(updatedUser)\n }\n return true\n }\n } else {\n notify!.show('error', \"Candidate Profile not found\")\n }\n return false\n })\n } catch (err) {\n notify!.show('error', getErrorMessage(err))\n }\n }\n\n\n\n onSubmit = async () => {\n const { notify, user, profileStore, userStore } = this.props\n const viewModel = this.viewModel!\n const profile = user.profile!\n\n this.isProcessing = true\n\n let updatedUser: User | null\n\n try {\n const updateUserInput: UpdateUserInput = {\n id: user!.id,\n firstName: viewModel.firstName,\n lastName: viewModel.lastName,\n email: viewModel.email,\n address: viewModel.address,\n city: viewModel.city,\n state: viewModel.state,\n postalCode: viewModel.postalCode,\n country: viewModel.country\n }\n updatedUser = await userStore!.updateUser(updateUserInput)\n if (!updatedUser) {\n throw new Error('Could not update user')\n }\n } catch (error) {\n this.isProcessing = false\n this.handleClose()\n const reason = 'Could not update user record'\n Logger.error(reason, error)\n notify!.show(\"error\", reason)\n return\n }\n\n let updatedProfile: Profile | undefined\n\n try {\n // Update profile after updating the user, since some profile fields depend on the user record.\n // For example, the nickname and alias depend on the user's name.\n const updateProfileInput: UpdateProfileInput = {\n id: profile!.id,\n nickname: updatedUser!.nickname,\n alias: profileStore!.generateAlias(updatedUser!),\n availability: viewModel.availability ?? null,\n desiredRate: viewModel.desiredRate,\n city: viewModel.city,\n state: viewModel.state,\n country: viewModel.country\n }\n updatedProfile = await profileStore!.updateProfile(updateProfileInput)\n if (!updatedProfile) {\n throw new Error('Could not update profile')\n }\n } catch (error) {\n this.isProcessing = false\n this.handleClose()\n const reason = 'Could not update profile record'\n Logger.error(reason, error)\n notify!.show(\"error\", reason)\n return\n }\n\n updatedUser.profiles[0] = updatedProfile\n this.isProcessing = false\n this.handleClose()\n if (this.props.onChange) {\n this.props.onChange(updatedUser)\n }\n }\n}\n\nexport default withStyles(styles)(CandidateCard)","import * as React from \"react\";\nimport {\n Box,\n Button,\n createStyles,\n Grid,\n Theme,\n withStyles,\n WithStyles,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport {inject, observer} from \"mobx-react\";\nimport {makeObservable, observable} from \"mobx\";\nimport User from \"../../model/User\";\nimport UserStore from \"../../stores/UserStore\";\n// import IconicButton from \"../controls/IconicButton\";\nimport PhoneIcon from '@material-ui/icons/Phone';\nimport CardValue from \"../CardValue\";\nimport { phoneToNationalFormat } from \"../../stores/StoreUtilities\";\nimport ModalDialog from \"../ModalDialog\";\n\nconst styles = (theme: Theme) => createStyles({\n callToAction: {\n color: theme.palette.primary.contrastText\n }\n})\n\ninterface IUserCRMActionsPanelProps {\n user: User\n onClickContact(): void \n\n // TODO: Future... \n // didClickAddNote(): void \n // didClickAddMessage(): void \n\n userStore?: UserStore\n}\n\n@inject(\"userStore\")\n@observer\nclass UserCRMActionsPanel extends React.Component & IUserCRMActionsPanelProps & WithWidth> {\n\n @observable isDialogOpen: boolean = false \n\n constructor(props: any) {\n super(props)\n makeObservable(this)\n }\n\n render() {\n const { classes } = this.props\n return (\n \n \n \n }\n onClick={this.handleClick}\n >\n Contact\n \n {/* \n \n */}\n {/* { isUnlocked === false && \n {\n // await updateStatus(JobCandidateStatus.Rejected)\n // notify.show(\"success\", 'Accepted Candidate Application')\n // send(JobCandidateActions.REJECT)\n }}\n startIcon={ }\n >\n Unlock Profile\n \n } */}\n \n \n {this.renderUserInfoDialog()}\n \n )\n }\n\n handleClick = () => {\n this.isDialogOpen = true \n }\n \n renderUserInfoDialog = () => {\n const { user } = this.props \n return (\n {this.isDialogOpen = false }}\n >\n \n \n {user.email}\n \n \n {phoneToNationalFormat(user.phone)}\n \n \n \n )\n }\n}\n\nexport default withStyles(styles)(withWidth()(UserCRMActionsPanel))\n","import * as React from 'react'\n// UI\nimport {\n Box,\n createStyles, alpha,\n Grid,\n Paper, TextareaAutosize,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n withTheme,\n WithTheme\n} from \"@material-ui/core\";\n// Models\nimport UserActivity, {ActivityType} from '../../model/UserActivity';\nimport { grey } from '@material-ui/core/colors';\nimport {isoDateToWhen, isoToLocalDateString} from '../../stores/StoreUtilities';\nimport {CreateUserActivityInput, SubjectType, UpdateUserActivityInput} from '../../API';\nimport ControlTower, { Routes } from '../../components/ControlTower';\nimport IconicButton from \"../controls/IconicButton\";\nimport LaunchIcon from '@material-ui/icons/Launch';\nimport DoneIcon from '@material-ui/icons/Done';\nimport {makeObservable, observable} from \"mobx\";\nimport {inject, observer} from \"mobx-react\";\nimport UserStore from \"../../stores/UserStore\";\nimport EditIcon from \"@material-ui/icons/Edit\";\n\nconst styles = (theme: Theme) => createStyles({\n border: {\n border: `1px solid ${grey[300]}`\n },\n note: {\n backgroundColor: alpha(theme.palette.secondary.light, 0.1)\n },\n activityDetails: {\n paddingTop: 4\n },\n activityDate: {\n paddingTop: 6\n },\n textarea: {\n fontFamily: [\n 'Roboto',\n 'sans-serif'\n ].join(','),\n minWidth: \"100%\",\n maxWidth: \"100%\",\n padding: 8,\n fontSize: 16,\n borderColor: grey[400],\n },\n\n})\n\ninterface IUserActivityCardProps {\n userActivity: UserActivity\n elevation: number\n onChange?(userActivity: UserActivity): void\n\n userStore?: UserStore\n}\n\n@inject(\"userStore\")\n@observer\nclass UserActivityCard extends React.Component & IUserActivityCardProps & WithTheme> {\n @observable details: string = \"\"\n @observable isUpdated: boolean = false\n @observable isEditing: boolean = false\n\n constructor(\n props: WithStyles & IUserActivityCardProps & WithTheme\n ) {\n super(props);\n makeObservable(this)\n }\n\n componentDidMount() {\n const { userActivity } = this.props\n this.details = userActivity.details\n if (!userActivity.id) {\n this.isEditing = true\n }\n }\n\n render() {\n const { classes, elevation, userActivity } = this.props\n\n const boxClassName = userActivity.activityType === ActivityType.NoteAdded ? classes.note : undefined\n\n const when = isoDateToWhen(userActivity.createdAt)\n let content\n if (userActivity.actorName) {\n if (userActivity.updatedAt > userActivity.createdAt) {\n content =

{userActivity.actorName} - {when} (edited {isoDateToWhen(userActivity.updatedAt)})
{userActivity.details}

\n } else {\n content =

{userActivity.actorName} - {when}
{userActivity.details}

\n }\n } else {\n content =

{when}
{userActivity.details}

\n }\n\n return (\n \n \n \n \n {!this.isEditing &&\n content\n }\n {this.isEditing &&\n \n }\n \n \n {this.renderButton()}\n \n \n \n \n )\n }\n\n // Show a button link to the subject (JobPost, Profile, etc.).\n renderButton = () => {\n const { userActivity } = this.props\n\n let button\n if (this.isEditing) {\n button = \n \n \n } else if (userActivity.activityType === ActivityType.NoteAdded) {\n button = \n \n \n\n } else {\n switch (userActivity.subjectType) {\n case SubjectType.JobCandidate:\n break;\n case SubjectType.JobInterest:\n break;\n case SubjectType.JobPost:\n button = {\n const route = `${Routes.manageJob}/posting?jobPostId=${userActivity.subjectId}`\n ControlTower.open(route, \"_blank\")\n }}>\n break;\n case SubjectType.Profile:\n button = {\n const route = `${Routes.profile}/${userActivity.subjectId}`\n ControlTower.open(route, \"_blank\")\n }}>\n break;\n }\n }\n\n return (\n button\n )\n }\n\n handleChange = (event: any) => {\n this.details = event.target.value\n this.isUpdated = true\n }\n\n handleEdit = () => {\n const index = this.details.indexOf(': ')\n if (index >= 0) {\n this.details = this.details.substring(index + 2)\n }\n this.isEditing = true\n this.isUpdated = false\n }\n\n handleSave = async () => {\n const { userActivity, userStore, onChange } = this.props\n let activity\n if (!userActivity.id) {\n const createInput: CreateUserActivityInput = {\n userId: userActivity.userId,\n subjectType: userActivity.subjectType,\n subjectId: userActivity.subjectId,\n activityType: userActivity.activityType,\n actorId: userActivity.actorId,\n actorName: userStore!.user!.fullName,\n accountId: userActivity.accountId,\n details: this.details\n }\n\n activity = await userStore!.createUserActivity(createInput)\n } else if (!this.details || this.details.length === 0) {\n // Delete note\n activity = await userStore!.deleteUserActivity(userActivity.id)\n } else {\n const updateInput: UpdateUserActivityInput = {\n id: userActivity.id,\n userId: userActivity.userId,\n subjectType: userActivity.subjectType,\n subjectId: userActivity.subjectId,\n activityType: userActivity.activityType,\n actorId: userActivity.actorId,\n actorName: userActivity.actorName,\n accountId: userActivity.accountId,\n details: this.details\n }\n\n activity = await userStore!.updateUserActivity(updateInput)\n }\n\n if (activity && onChange) {\n if (userActivity.id) {\n this.isEditing = false\n } else {\n this.details = \"\"\n }\n this.isUpdated = false\n onChange(activity)\n }\n }\n}\n\nexport default withTheme((withStyles(styles)(UserActivityCard)))\n","import * as React from 'react'\nimport {makeObservable, observable, when} from \"mobx\";\nimport {inject, observer} from \"mobx-react\";\n// Routing \nimport {RouteComponentProps} from \"@reach/router\";\n// UI\nimport {\n Box,\n createStyles,\n Grid,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n withTheme,\n WithTheme\n} from \"@material-ui/core\";\n// Stores\nimport AccountStore from \"../../stores/AccountStore\";\nimport ProfileStore from \"../../stores/ProfileStore\";\nimport UserStore from \"../../stores/UserStore\";\n// Components\nimport Confirm from \"../confirm/Confirm\";\nimport Notify from \"../notify/Notify\";\nimport Progress from \"../Progress\";\n// Models\nimport User from '../../model/User';\nimport Logger from '../Logger';\nimport UserActivity, {ActivityType} from '../../model/UserActivity';\nimport UserActivityCard from './UserActivityCard';\nimport { grey } from '@material-ui/core/colors';\nimport {ModelUserActivityFilterInput, SubjectType} from '../../API';\n\nconst styles = (theme: Theme) => createStyles({\n avatar: {\n backgroundColor: theme.palette.primary.main,\n borderWidth: 2,\n fontSize: 14,\n width: theme.spacing(4),\n height: theme.spacing(4)\n },\n content: {\n overflow: \"hidden\"\n },\n border: {\n border: `1px solid ${grey[300]}`\n },\n tabs: {\n flexGrow: 1\n },\n tab: {\n fontSize: 15,\n fontWeight: 600,\n textTransform: 'capitalize'\n },\n})\n\ninterface IUserActivityListProps {\n // When looking up by user: \n user?: User\n // When looking up by subject: \n subject?: SubjectType\n subjectId?: string\n notesOnly?: boolean\n updatedAt?: string\n\n userStore?: UserStore\n profileStore?: ProfileStore\n accountStore?: AccountStore\n progress?: Progress\n notify?: Notify\n confirm?: Confirm\n}\n\n@inject(\"userStore\", \"profileStore\", \"accountStore\", \"progress\", \"notify\", \"confirm\")\n@observer\nclass UserActivityList extends React.Component & RouteComponentProps & IUserActivityListProps & WithTheme> {\n \n @observable isLoading = true\n @observable userActivity: UserActivity[] = []\n \n constructor(\n props: WithStyles & RouteComponentProps & IUserActivityListProps & WithTheme\n ) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount() {\n const { accountStore, userStore, profileStore, progress } = this.props\n \n progress!.show(\"UserActivityList\")\n when(\n // once\n () => !accountStore!.isLoading && !userStore!.isLoading && !profileStore!.isLoading,\n // then \n async () => {\n await this.loadUserActivity()\n progress!.hide(\"UserActivityList\")\n this.isLoading = false \n }\n )\n }\n\n componentDidUpdate(prevProps: any) {\n if (this.props.updatedAt && this.props.updatedAt !== prevProps.updatedAt) {\n this.loadUserActivity()\n }\n }\n\n render() {\n return (\n \n \n {this.userActivity.length > 0 && \n this.userActivity.map(userActivity => {\n return (\n \n \n \n \n \n )\n }) \n }\n {this.isLoading === false && this.userActivity.length === 0 && \n \n \n \n No activity has been recorded yet.\n \n \n \n }\n \n \n )\n }\n\n // Loading \n\n loadUserActivity = async () => {\n const { notify, subject, subjectId, user, userStore, notesOnly } = this.props\n\n let userActivity \n try {\n let filter: ModelUserActivityFilterInput | undefined\n if (user) {\n if (userStore!.isEmployer) {\n filter = {\n accountId: { eq: userStore!.user!.accountId }\n }\n }\n if (notesOnly) {\n filter = {\n activityType: { eq: ActivityType.NoteAdded }\n }\n } else {\n filter = {\n activityType: { ne: ActivityType.NoteAdded }\n }\n }\n userActivity = await userStore!.listUserActivityByUser(user.id, filter)\n } else if (subject && subjectId) {\n if (notesOnly) {\n filter = {\n activityType: { eq: ActivityType.NoteAdded }\n }\n } else {\n filter = {\n activityType: { ne: ActivityType.NoteAdded }\n }\n }\n userActivity = await userStore!.listUserActivityBySubject(subjectId, filter)\n } else {\n throw new Error('No subject or user specified')\n }\n } catch (error) {\n Logger.error('Could not load user activity', error)\n notify!.show('error', 'Could not load user activity')\n return \n }\n\n this.userActivity = userActivity\n }\n\n onChangeActivity = (userActivity: UserActivity) => {\n // Just reload for simplicity\n this.loadUserActivity()\n }\n}\n\nexport default withTheme((withStyles(styles)(UserActivityList)))\n","import JobPost from \"./JobPost\";\nimport Location from \"./Location\";\n\nclass Contract {\n id: string\n createdAt: string\n updatedAt: string\n accountId: string\n name: string\n number: string\n issuedBy: string\n locationId: string\n location?: Location\n startDate: string\n endDate: string\n perDiem: number\n jobPosts: JobPost[]\n value: string \n category: string \n\n constructor (data: any) {\n this.id = data.id\n this.createdAt = data.createdAt\n this.updatedAt = data.updatedAt\n this.accountId = data.accountId\n this.name = data.name\n this.number = data.number\n this.issuedBy = data.issuedBy\n this.locationId = data.locationId\n this.location = data.location ? new Location(data.location) : undefined\n this.startDate = data.startDate\n this.endDate = data.endDate\n this.perDiem = data.perDiem\n this.jobPosts = []\n if (data.jobPosts && data.jobPosts.items) {\n this.loadJobPosts(data.jobPosts.items)\n }\n this.value = data.value \n this.category = data.category\n }\n\n loadJobPosts(items: any[]) {\n this.jobPosts = items.map((item: any) => new JobPost(item))\n }\n\n isActive(): boolean {\n // TODO: Determine if the contract is still active. \n return true \n }\n}\n\nexport default Contract","\nclass Answer {\n name: string\n type: string\n required: boolean\n value: string\n pass: boolean\n label: string\n\n constructor (data: any) {\n this.name = data.name\n this.type = data.type\n this.required = data.required ?? false\n this.value = data.value\n this.pass = data.pass ?? false\n this.label = data.label\n }\n}\n\nexport default Answer","import {JobInterestStatus} from \"../API\";\nimport JobPost from \"./JobPost\";\nimport {isoToLocalDate} from \"../stores/StoreUtilities\";\nimport {format} from \"date-fns\";\nimport Answer from \"./Answer\";\n\nclass JobInterest {\n id: string\n createdAt: string\n updatedAt: string\n userId: string\n jobPostId: string\n jobPost?: JobPost\n status: JobInterestStatus\n ranking: number\n notes: string\n message: string\n unlocked: boolean\n application: Answer[]\n\n constructor(data: any) {\n this.id = data.id\n this.createdAt = data.createdAt\n this.updatedAt = data.updatedAt\n this.userId = data.userId\n this.jobPostId = data.jobPostId\n this.jobPost = data.jobPost ? new JobPost(data.jobPost) : undefined\n this.status = JobInterestStatus[data.status]\n this.ranking = data.ranking\n this.notes = data.notes\n this.message = data.message\n this.unlocked = data.unlocked ?? false \n this.application = this.loadApplication(data)\n }\n \n loadApplication(data: any) {\n if (data.application) {\n let rawData\n if (Array.isArray(data.application)) {\n // Assume data is JSON, i.e. from DynamoDB via AWS SDK directly. \n rawData = data.application\n } else {\n // Assume typeof data.application === 'string', i.e. from AppSync. \n rawData = JSON.parse(data.application)\n } \n return rawData.map((answerData: any) => new Answer(answerData))\n } else {\n return []\n }\n }\n\n get canApply() : boolean {\n return this.status === JobInterestStatus.Interested || this.status === JobInterestStatus.Invited\n }\n \n get statusText() : string {\n const formattedDate = format(isoToLocalDate(this.updatedAt), \"M/d/yyyy\")\n let text = \"\"\n if (this.status === JobInterestStatus.Interested) {\n text = `Saved on ${formattedDate}`\n } else if (this.status === JobInterestStatus.Invited) {\n text = `Invited to apply on ${formattedDate}`\n } else if (this.status === JobInterestStatus.Applied) {\n text = `Applied on ${formattedDate}`\n } else if (this.status === JobInterestStatus.Accepted) {\n text = `Accepted on ${formattedDate}`\n } else if (this.status === JobInterestStatus.Reviewing) {\n text = `Reviewing on ${formattedDate}`\n } else if (this.status === JobInterestStatus.Rejected) {\n text = `Declined on ${formattedDate}`\n } else if (this.status === JobInterestStatus.Contacted) {\n text = `Considering on ${formattedDate}`\n } else if (this.status === JobInterestStatus.Hired) {\n text = `Hired on ${formattedDate}`\n } else if (this.status === JobInterestStatus.Declined) {\n text = `Declined on ${formattedDate}`\n } else {\n text = String(this.status)\n }\n return text\n }\n}\n\nexport default JobInterest","import JobPost from \"./JobPost\";\nimport Location from \"./Location\";\nimport * as APITypes from \"../API\"\nimport Account from \"./Account\";\n\nexport enum ServiceRequestStatus {\n Draft = \"Draft\",\n Submitted = \"Submitted\",\n MeetingScheduled = \"Meeting Scheduled\", \n AgreementPending = \"Agreement Pending\", \n AgreementSent = \"Agreement Sent\", \n AgreementAccepted = \"Agreement Accepted\", \n RequestApproved = \"Request Approved\",\n RequestDeclined = \"Request Declined\",\n JobsPosted = \"Job(s) Posted\",\n CandidatesApplied = \"Candidate(s) Applied\",\n CandidatesInterviewing = \"Candidate(s) Interviewing\",\n OffersExtended = \"Offer(s) Extended\", \n CandidatesHired = \"Candidate(s) Hired\",\n Closed = \"Closed\"\n}\n\nclass ServiceRequest {\n id: string\n createdAt: string\n updatedAt: string\n accountId: string\n account?: Account \n serviceRequestType: APITypes.ServiceRequestType \n name: string\n status: string \n completedDate: string \n jobPosts: JobPost[]\n\n constructor (data: any) {\n this.id = data.id\n this.createdAt = data.createdAt\n this.updatedAt = data.updatedAt\n this.accountId = data.accountId\n this.account = data.account ? new Account(data.account) : undefined\n this.serviceRequestType = APITypes.ServiceRequestType[data.serviceRequestType]\n this.name = data.name\n this.status = data.status \n this.completedDate = data.completedDate\n this.jobPosts = []\n if (data.jobPosts && data.jobPosts.items) {\n this.loadJobPosts(data.jobPosts.items)\n }\n }\n\n loadJobPosts(items: any[]) {\n this.jobPosts = items.map((item: any) => new JobPost(item))\n }\n\n isActive(): boolean {\n // TODO: Determine if the contract is still active. \n return true \n }\n\n requestTypeToString(): string {\n let typeName = \"\"\n switch (this.serviceRequestType) {\n case (APITypes.ServiceRequestType.RecruitingServices): \n typeName = \"Recruiting Services\"\n break\n case (APITypes.ServiceRequestType.StaffingServices): \n typeName = \"Staffing Services\"\n break\n case (APITypes.ServiceRequestType.ProfessionalServices): \n typeName = \"Professional Services\"\n break\n case (APITypes.ServiceRequestType.SelfService): \n typeName = \"Self-service\"\n break \n }\n return typeName \n }\n}\n\nexport default ServiceRequest","import Contract from \"./Contract\";\nimport Location from \"./Location\";\nimport Service from \"./Service\";\nimport {EmploymentType, JobPostStatus, JobPostType, WorkSetting} from \"../API\";\nimport Account from \"./Account\";\nimport JobCandidate from \"./JobCandidate\";\nimport JobInterest from \"./JobInterest\";\nimport Question from \"./Question\";\nimport {isoDateToPeriod, numberToMoneyFormat} from \"../stores/StoreUtilities\";\nimport ServiceRequest from \"./ServiceRequest\";\n\nclass JobPost {\n id: string\n createdAt: string\n updatedAt: string\n accountId: string\n account?: Account\n contractId: string\n contract?: Contract\n serviceRequestId: string \n serviceRequest?: ServiceRequest\n locationId: string\n location?: Location\n serviceId: string\n service?: Service\n industries: string[]\n title: string\n summary: string\n description: string\n startDate: string\n endDate: string\n openDate: string\n closedDate: string\n employmentType: EmploymentType\n annualSalaryLow: number\n annualSalaryHigh: number\n jobCandidates: JobCandidate[]\n jobInterests: JobInterest[]\n status: JobPostStatus\n openings: number\n invoiceId: string\n jobPostType: JobPostType\n agentId: string\n hiringDate: string\n unlocksAvailable: number\n featured: boolean\n questions: Question[] // TODO: Define type\n workSettings: WorkSetting[]\n securityClearance: string\n\n constructor (data: any) {\n this.id = data.id\n this.createdAt = data.createdAt\n this.updatedAt = data.updatedAt\n this.accountId = data.accountId\n this.account = data.account ? new Account(data.account) : undefined\n this.contractId = data.contractId\n this.contract = data.contract ? new Contract(data.contract) : undefined\n this.serviceRequestId = data.serviceRequestId\n this.serviceRequest = data.serviceRequest ? new ServiceRequest(data.serviceRequest) : undefined \n this.locationId = data.locationId\n this.location = data.location ? new Location(data.location) : undefined\n this.serviceId = data.serviceId\n this.service = data.service ? new Service(data.service) : undefined\n this.industries = data.industries ?? []\n this.title = data.title\n this.summary = data.summary\n this.description = data.description\n this.startDate = data.startDate\n this.endDate = data.endDate\n this.openDate = data.openDate\n this.closedDate = data.closedDate\n this.employmentType = data.employmentType === EmploymentType.Direct ? EmploymentType.FullTime : EmploymentType[data.employmentType]\n this.annualSalaryLow = data.annualSalaryLow\n this.annualSalaryHigh = data.annualSalaryHigh\n this.jobCandidates = []\n if (data.jobCandidates && data.jobCandidates.items) {\n this.loadJobCandidates(data.jobCandidates.items)\n }\n this.jobInterests = []\n if (data.jobInterests && data.jobInterests.items) {\n this.loadJobInterests(data.jobInterests.items)\n }\n this.status = data.status ? JobPostStatus[data.status] : this.convertStatusIdToStatus(data.statusId)\n this.openings = data.openings ?? 1\n this.invoiceId = data.invoiceId\n this.jobPostType = data.jobPostType\n this.agentId = data.agentId\n this.hiringDate = data.hiringDate\n this.unlocksAvailable = data.unlocksAvailable ? data.unlocksAvailable : JobPost.defaultUnlocksAvailable\n this.featured = data.featured\n this.questions = data.questions ? JSON.parse(data.questions) : []\n this.workSettings = data.workSettings ?? [WorkSetting.InPerson]\n this.securityClearance = data.securityClearance\n }\n\n static defaultUnlocksAvailable = 10\n\n // TODO: Remove this after status migration complete\n private convertStatusIdToStatus(statusId?: string) {\n let status : JobPostStatus\n\n if (!statusId) {\n status = JobPostStatus.Draft\n } else {\n switch (statusId) {\n case \"68d794de-7c71-4aa4-835f-dc2e76edef00\":\n status = JobPostStatus.Cart\n break\n case \"59c11e05-71a6-445d-921c-3748615a6f31\":\n status = JobPostStatus.Draft\n break\n case \"09b4b342-777e-4485-8901-fa5a9f21b8a2\":\n status = JobPostStatus.Posted\n break\n case \"d4cb5e37-1724-49cd-afa6-1cb4f58e7fd7\":\n case \"291f3a97-0c8d-4fe9-80c7-7ceb30cd4e4c\":\n case \"3491f5e0-ec03-4952-9271-1d803040cec4\":\n status = JobPostStatus.Pending\n break\n case \"81b8f705-c3a7-4214-bbeb-81b6f2b09da5\":\n status = JobPostStatus.Hired\n break\n case \"b32a68a7-3ed2-4560-b961-3879a65edf0e\":\n status = JobPostStatus.Closed\n break\n default:\n status = JobPostStatus.Draft\n break\n }\n }\n\n return status\n }\n\n // TODO: Remove this after status migration complete\n static convertStatusToStatusId(status: JobPostStatus) {\n let statusId\n switch (status) {\n case JobPostStatus.Cart:\n statusId = \"68d794de-7c71-4aa4-835f-dc2e76edef00\"\n break\n case JobPostStatus.Draft:\n statusId = \"59c11e05-71a6-445d-921c-3748615a6f31\"\n break\n case JobPostStatus.Posted:\n statusId = \"09b4b342-777e-4485-8901-fa5a9f21b8a2\"\n break\n case JobPostStatus.Pending:\n statusId = \"3491f5e0-ec03-4952-9271-1d803040cec4\" // Hiring\n break\n case JobPostStatus.Hired:\n statusId = \"81b8f705-c3a7-4214-bbeb-81b6f2b09da5\"\n break\n case JobPostStatus.Closed:\n statusId = \"b32a68a7-3ed2-4560-b961-3879a65edf0e\"\n break\n default:\n statusId = \"59c11e05-71a6-445d-921c-3748615a6f31\" // Draft\n break\n }\n\n return statusId\n }\n\n get fullName(): string {\n if (this.account && this.contract && this.service) {\n return `${this.account.name}/${this.contract.name}/${this.title ?? this.service.name}`\n } else if (this.account && this.service) {\n return `${this.account.name}/${this.title ?? this.service.name}`\n } else if (this.title) {\n return this.title\n } else if (this.service) {\n return this.service.name\n } else {\n return this.id\n }\n }\n\n get salaryRange(): string {\n let salaryRange = \"\"\n if (this.employmentType === EmploymentType.FullTime) {\n if (this.annualSalaryLow !== undefined) {\n salaryRange = `${numberToMoneyFormat(this.annualSalaryLow, 0)}`\n } else {\n salaryRange = '$0'\n }\n if (this.annualSalaryHigh !== undefined && this.annualSalaryHigh !== null && this.annualSalaryHigh !== 0) {\n salaryRange += ` - ${numberToMoneyFormat(this.annualSalaryHigh, 0)}`\n } else {\n salaryRange += '+'\n }\n }\n\n return salaryRange\n }\n\n get hiringPeriod(): string | null {\n return isoDateToPeriod(this.hiringDate)\n }\n\n get locationDescription(): string {\n let location = \"\"\n if (this.location) {\n if (this.workSettings.includes(WorkSetting.Remote)) {\n if (this.workSettings.includes(WorkSetting.Hybrid)) {\n location = `Remote/Hybrid - `\n } else {\n location = `Remote - `\n }\n } else if (this.workSettings.includes(WorkSetting.Hybrid)) {\n location = `Hybrid - `\n }\n location += this.location.shortName\n }\n\n return location\n }\n\n private loadJobCandidates(items: any[]) {\n this.jobCandidates = items.map((item: any) => new JobCandidate(item))\n this.jobCandidates.sort(JobCandidate.compareFn)\n }\n\n private loadJobInterests(items: any[]) {\n this.jobInterests = items.map((item: any) => new JobInterest(item))\n }\n\n jobPostTypeToString(): string {\n let typeName = \"\"\n switch (this.jobPostType) {\n case (JobPostType.RecruitingServices): \n typeName = \"Recruiting Services\"\n break\n case (JobPostType.StaffingServices): \n typeName = \"Staffing Services\"\n break\n case (JobPostType.SelfService): \n typeName = \"Self-service\"\n break \n }\n return typeName \n }\n}\n\nexport default JobPost","\nexport enum QuestionType {\n CertificationQuestion = \"CertificationQuestion\",\n EducationQuestion = \"EducationQuestion\",\n ExperienceQuestion = \"ExperienceQuestion\",\n LocationQuestion = \"LocationQuestion\",\n SecurityClearanceQuestion = \"SecurityClearanceQuestion\",\n YesNoQuestion = \"YesNoQuestion\"\n}\n\nclass Question {\n name: string\n type: string\n required: boolean\n\n constructor (data: any) {\n this.name = data.name\n this.type = data.type\n this.required = data.required ?? false\n }\n}\n\nexport default Question\n\nexport class EducationQuestion extends Question {\n degree: string\n\n constructor(data: any) {\n super(data)\n this.degree = data.education ?? \"\"\n }\n}\n\nexport class CertificationQuestion extends Question {\n certification: string\n\n constructor(data: any) {\n super(data)\n this.certification = data.certification ?? \"\"\n }\n}\n\nexport class ExperienceQuestion extends Question {\n minYears: number\n jobTitle: string\n\n constructor(data: any) {\n super(data)\n this.minYears = data.minYears ?? 0\n this.jobTitle = data.jobTitle ?? \"\"\n }\n}\n\nexport class LocationQuestion extends Question {\n location: string\n\n constructor(data: any) {\n super(data)\n this.location = data.location ?? \"\"\n }\n}\n\nexport class SecurityClearanceQuestion extends Question {\n clearance: string\n\n constructor(data: any) {\n super(data)\n this.clearance = data.clearance\n }\n}\n\nexport class YesNoQuestion extends Question {\n question: string\n label: string\n\n constructor(data: any) {\n super(data)\n this.question = data.question ?? \"\"\n this.label = data.label ?? \"\"\n }\n}\n","import {JobCandidateStatus, ProfileStatus} from \"../API\";\nimport Account from \"./Account\";\nimport Profile from \"./Profile\";\nimport JobPost from \"./JobPost\";\nimport {format} from \"date-fns\";\nimport {isoToLocalDate} from \"../stores/StoreUtilities\";\nimport Answer from \"./Answer\";\nimport {QuestionType} from \"./Question\";\n\nclass JobCandidate {\n id: string\n createdAt: string\n updatedAt: string\n jobPostId: string\n jobPost?: JobPost\n accountId: string\n account?: Account\n profileId: string\n profile?: Profile\n status: JobCandidateStatus\n ranking: number\n notes: string\n message: string\n unlocked: boolean\n application: Answer[]\n\n constructor(data: any) {\n this.id = data.id\n this.createdAt = data.createdAt ?? \"\"\n this.updatedAt = data.updatedAt ?? \"\"\n this.jobPostId = data.jobPostId\n this.jobPost = data.jobPost ? new JobPost(data.jobPost) : undefined\n this.accountId = data.accountId\n this.account = data.account ? new Account(data.account) : undefined\n this.profileId = data.profileId\n this.profile = data.profile ? new Profile(data.profile) : undefined\n this.status = data.status\n this.ranking = this.computeRanking()\n this.notes = data.notes\n this.message = data.message\n this.unlocked = data.unlocked ?? false \n this.application = this.loadApplication(data)\n }\n \n loadApplication(data: any) {\n let application: Answer[] = []\n if (data.application) {\n let rawData\n if (Array.isArray(data.application)) {\n // Assume data is JSON, i.e. from DynamoDB via AWS SDK directly. \n rawData = data.application\n } else {\n // Assume typeof data.application === 'string', i.e. from AppSync. \n rawData = JSON.parse(data.application)\n }\n application = rawData.map((answerData: any) => new Answer(answerData))\n }\n\n if (this.profile && this.profile.profileStatus !== ProfileStatus.Accepted) {\n // Add - GovGig Candidate answer if profile is not accepted\n const answer = new Answer({\n name: \"GovGig Candidate\",\n type: QuestionType.YesNoQuestion,\n required: false,\n value: \"false\",\n pass: false,\n label: `GovGig Candidate: ${this.profile.profileStatus}`\n })\n return [answer, ...application]\n } else {\n return application\n }\n }\n\n get statusText() : string {\n const formattedDate = format(isoToLocalDate(this.updatedAt), \"M/d/yyyy\")\n let text\n if (this.status === JobCandidateStatus.Interested) {\n text = `Added on ${formattedDate}`\n } else {\n text = `${this.status} on ${formattedDate}`\n }\n return text\n }\n\n static statusRanking: JobCandidateStatus[] = [\n JobCandidateStatus.Declined,\n JobCandidateStatus.Rejected,\n JobCandidateStatus.Interested,\n JobCandidateStatus.Invited,\n JobCandidateStatus.Unlocked,\n JobCandidateStatus.Contacted,\n JobCandidateStatus.Reviewing,\n JobCandidateStatus.Accepted,\n JobCandidateStatus.Applied,\n JobCandidateStatus.Hired,\n ]\n\n computeRanking() {\n return JobCandidate.statusRanking.findIndex((status: JobCandidateStatus) => status === this.status)\n }\n\n static compareFn(a: JobCandidate, b: JobCandidate): number {\n let result = b.ranking - a.ranking\n if (result === 0) {\n result = b.updatedAt.localeCompare(a.updatedAt)\n }\n return result\n }\n}\n\nexport default JobCandidate","import * as React from \"react\";\nimport Answer from \"../../model/Answer\";\nimport {Chip, makeStyles} from \"@material-ui/core\";\nimport PassIcon from '@material-ui/icons/Check';\nimport FailIcon from '@material-ui/icons/Clear';\nimport InfoIcon from '@material-ui/icons/Remove';\n\nconst useStyles = makeStyles((theme) => ({\n pass: {\n color: theme.palette.success.dark,\n borderColor: theme.palette.success.dark,\n paddingTop: 2,\n marginRight:8,\n marginBottom:8\n },\n passIcon: {\n paddingBottom: 2\n },\n fail: {\n color: theme.palette.error.main,\n borderColor: theme.palette.error.main,\n paddingTop: 2,\n marginRight:8,\n marginBottom:8\n },\n failIcon: {\n paddingBottom: 2\n },\n info : {\n color: theme.palette.text.secondary,\n borderColor: theme.palette.text.secondary,\n paddingTop: 2,\n marginRight:8,\n marginBottom:8\n },\n infoIcon: {\n width: 13,\n paddingBottom: 2\n }\n}));\n\ninterface IAnswerChip {\n answer: Answer\n}\n\nconst AnswerChip = (props: IAnswerChip) => {\n const { answer } = props\n\n const classes = useStyles();\n\n let icon\n let classNames\n\n if (answer.pass) {\n icon = \n classNames = {colorPrimary: classes.pass, icon: classes.passIcon}\n } else {\n if (answer.required) {\n icon = \n classNames = {colorPrimary: classes.fail, icon: classes.failIcon}\n } else {\n icon = \n classNames = {colorPrimary: classes.info, icon: classes.infoIcon}\n }\n }\n return (\n \n )\n}\n\nexport default AnswerChip","import * as React from \"react\";\nimport Answer from \"../../model/Answer\";\nimport {Box, Grid} from \"@material-ui/core\";\nimport AnswerChip from \"./AnswerChip\";\n\ninterface IAnswerChipArray {\n answers: Answer[]\n}\n\nconst AnswerChipArray = (props: IAnswerChipArray) => {\n const { answers } = props\n\n return (\n \n \n {answers.map((a: Answer, index: number) => {\n return (\n \n \n \n \n \n )\n })}\n \n \n )\n}\n\nexport default AnswerChipArray","import {Box, IconButton, Typography} from \"@material-ui/core\";\nimport * as React from \"react\";\nimport {useEffect, useState} from \"react\";\nimport DeleteIcon from '@material-ui/icons/DeleteForever';\n// import DeleteIcon from '@material-ui/icons/DeleteForeverOutlined';\n// import DeleteIcon from '@material-ui/icons/DeleteOutlineOutlined';\n\ninterface IQuestionCardProps {\n name: string\n children: any\n onDelete?: any\n}\nconst QuestionCard = (props: IQuestionCardProps) => {\n const { onDelete } = props\n const [name, setName] = useState(\"\")\n\n useEffect(() => {\n setName(props.name)\n }, [props.name])\n \n return (\n \n \n \n {onDelete &&\n onDelete(name)}\n >\n }\n {name}\n \n {props.children}\n \n \n )\n}\n\nexport default QuestionCard","import * as React from \"react\";\nimport {Box} from \"@material-ui/core\";\n\ninterface IAnswerCardProps {\n children: any\n}\n\nconst AnswerCard = (props: IAnswerCardProps) => {\n\n return (\n \n \n {props.children}\n \n \n )\n}\n\nexport default AnswerCard","import * as React from \"react\";\nimport {ExperienceQuestion, QuestionType} from \"../../../model/Question\";\nimport {\n Checkbox,\n FormControl,\n FormControlLabel, Grid, Input, InputAdornment,\n makeStyles,\n Typography\n} from \"@material-ui/core\";\nimport TextFieldValidator from \"../../form/TextFieldValidator\";\nimport {useEffect, useState} from \"react\";\nimport QuestionCard from \"./QuestionCard\";\nimport Answer from \"../../../model/Answer\";\nimport AnswerCard from \"./AnswerCard\";\nimport AnswerChip from \"../../jobCandidates/AnswerChip\";\n\nconst useStyles = makeStyles((theme) => ({\n textField: {\n margin: theme.spacing(1),\n marginTop: theme.spacing(3),\n width: '10ch',\n },\n}));\n\ninterface IExperienceQuestionCardProps {\n question: ExperienceQuestion\n answer?: Answer\n onChange?: any\n onDelete?: any\n onAnswer?: any\n}\nconst ExperienceQuestionCard = (props: IExperienceQuestionCardProps) => {\n const { onChange, onDelete, onAnswer } = props\n const [question, setQuestion] = useState(new ExperienceQuestion({\n name: \"Experience Question\",\n type: QuestionType.ExperienceQuestion,\n required: false,\n minYears: 0,\n jobTitle: \"\"\n }))\n const [answer, setAnswer] = useState(new Answer({\n name: \"\",\n type: \"\",\n required: false,\n value: \"\",\n pass: true,\n label: \"\"\n }))\n\n const classes = useStyles();\n\n useEffect(() => {\n setQuestion(props.question)\n if (props.answer) {\n setAnswer(props.answer)\n } else {\n const change = validateAnswer(onAnswer ? \"\" : props.question.minYears.toString(), props.question)\n setAnswer(change)\n if (onAnswer) {\n onAnswer(change) // Set default answer\n }\n }\n }, [props.question, props.answer, onAnswer])\n \n const handleChange = (event: any) => {\n const { name, value, checked } = event.target\n let change\n if (name === \"required\") {\n change = {...question, [name]: checked}\n } else if (name === \"minYears\") {\n const minYears = parseInt(value)\n change = {...question, [name]: isNaN(minYears) ? \"0\" : minYears.toString()}\n } else {\n change = {...question, [name]: value}\n }\n setQuestion(change)\n validateAnswer(change.minYears.toString(), change)\n onChange(change)\n }\n\n const handleDelete = (name: string) => {\n if (onDelete) {\n onDelete(name)\n }\n }\n\n const handleAnswer = (event: any) => {\n const change = validateAnswer(event.target.value, question)\n if (onAnswer) {\n onAnswer(change)\n }\n }\n\n const validateAnswer = (value: string, question: ExperienceQuestion) => {\n let years = parseInt(value)\n if (isNaN(years)) {\n years = 0\n }\n\n const change = new Answer({\n name: question.name,\n type: question.type,\n required: question.required,\n value: `${years}`,\n pass: (!question.required || years >= question.minYears),\n label: `${question.jobTitle}: ${years} yrs`\n })\n setAnswer(change)\n return change\n }\n\n if (onChange) {\n return (\n \n \n How many years of experience as\n \n {question.jobTitle.length > 0 ? question.jobTitle : \"____________\"}\n \n do you have?\n \n \n \n \n \n \n }\n />\n \n
years.
\n
\n
\n \n {answer.label &&\n \n }\n \n
\n
\n )\n } else if (onAnswer) {\n return (\n \n \n How many years of experience as\n \n {question.jobTitle}\n \n do you have?\n \n \n Years}\n aria-describedby=\"year-helper-text\"\n inputProps={{\n 'aria-label': 'years',\n }}\n />\n \n \n )\n } else {\n return null\n }\n\n}\n\nexport default ExperienceQuestionCard","import * as React from \"react\";\nimport {LocationQuestion, QuestionType} from \"../../../model/Question\";\nimport {\n Checkbox, FormControl,\n FormControlLabel, Grid, Radio, RadioGroup,\n Typography\n} from \"@material-ui/core\";\nimport TextFieldValidator from \"../../form/TextFieldValidator\";\nimport {useEffect, useState} from \"react\";\nimport QuestionCard from \"./QuestionCard\";\nimport Answer from \"../../../model/Answer\";\nimport AnswerCard from \"./AnswerCard\";\nimport AnswerChip from \"../../jobCandidates/AnswerChip\";\n\ninterface ILocationQuestionCardProps {\n question: LocationQuestion\n answer?: Answer\n onChange?: any\n onDelete?: any\n onAnswer?: any\n}\nconst LocationQuestionCard = (props: ILocationQuestionCardProps) => {\n const { onChange, onDelete, onAnswer } = props\n const [question, setQuestion] = useState(new LocationQuestion({\n name: \"Location Question\",\n type: QuestionType.LocationQuestion,\n required: false,\n location: \"\"\n }))\n const [answer, setAnswer] = useState(new Answer({\n name: \"\",\n type: \"\",\n required: false,\n value: \"false\",\n pass: true,\n label: \"\"\n }))\n\n useEffect(() => {\n setQuestion(props.question)\n if (props.answer) {\n setAnswer(props.answer)\n } else {\n const change = validateAnswer(onAnswer ? \"\" : \"true\", props.question)\n setAnswer(change)\n if (onAnswer) {\n onAnswer(change) // Set default answer\n }\n }\n }, [props.question, props.answer, onAnswer])\n \n const handleChange = (event: any) => {\n const { name, value, checked } = event.target\n let change\n if (name === \"required\") {\n change = {...question, [name]: checked}\n } else {\n change = {...question, [name]: value}\n }\n setQuestion(change)\n validateAnswer(\"true\", change)\n onChange(change)\n }\n\n const handleAnswer = (event: any) => {\n const change = validateAnswer(event.target.value, question)\n if (onAnswer) {\n onAnswer(change)\n }\n }\n\n const handleDelete = (name: string) => {\n if (onDelete) {\n onDelete(name)\n }\n }\n\n const validateAnswer = (value: string, question: LocationQuestion) => {\n const change = new Answer({\n name: question.name,\n type: question.type,\n required: question.required,\n value: value,\n pass: value === \"true\",\n label: question.location\n })\n setAnswer(change)\n return change\n }\n\n if (onChange) {\n return (\n \n \n Are you able to work at location:\n \n {question.location.length > 0 ? question.location : \"____________\"}?\n \n \n\n \n \n \n \n }\n />\n \n \n {answer.label &&\n \n }\n \n \n \n )\n } else if (onAnswer) {\n return (\n \n \n Are you able to work at location:\n \n {question.location}?\n \n \n \n \n } label=\"No\" />\n } label=\"Yes\" />\n \n \n \n )\n } else {\n return null\n }\n}\n\nexport default LocationQuestionCard","import * as React from \"react\";\nimport {CertificationQuestion, QuestionType} from \"../../../model/Question\";\nimport {\n Checkbox, FormControl,\n FormControlLabel, Grid, Radio, RadioGroup,\n Typography\n} from \"@material-ui/core\";\nimport TextFieldValidator from \"../../form/TextFieldValidator\";\nimport {useEffect, useState} from \"react\";\nimport QuestionCard from \"./QuestionCard\";\nimport Answer from \"../../../model/Answer\";\nimport AnswerCard from \"./AnswerCard\";\nimport AnswerChip from \"../../jobCandidates/AnswerChip\";\nimport {useStores} from \"../../../stores/StoreProvider\";\nimport CertificationFilter from \"../../../components/filter/CertificationFilter\"\n\ninterface ICertificationQuestionCardProps {\n question: CertificationQuestion\n answer?: Answer\n onChange?: any\n onDelete?: any\n onAnswer?: any\n industry?: string\n}\nconst CertificationQuestionCard = (props: ICertificationQuestionCardProps) => {\n const { onChange, onDelete, onAnswer, industry } = props\n const [question, setQuestion] = useState(new CertificationQuestion({\n name: \"Certification Question\",\n type: QuestionType.CertificationQuestion,\n required: false,\n certification: \"\"\n }))\n const [answer, setAnswer] = useState(new Answer({\n name: \"\",\n type: \"\",\n required: false,\n value: \"None\",\n pass: true,\n label: \"\"\n }))\n\n const { resourceCache } = useStores()\n\n useEffect(() => {\n setQuestion(props.question)\n\n if (props.answer) {\n setAnswer(props.answer)\n } else {\n const change = validateAnswer(onAnswer ? \"\" : \"true\", props.question)\n setAnswer(change)\n if (onAnswer) {\n onAnswer(change) // Set default answer\n }\n }\n }, [props.question, props.answer, onAnswer])\n \n const handleChange = (event: any) => {\n const { name, value, checked } = event.target\n let change\n if (name === \"required\") {\n change = {...question, [name]: checked}\n } else {\n change = {...question, [name]: value}\n }\n setQuestion(change)\n validateAnswer(\"true\", change)\n onChange(change)\n }\n\n const handleAnswer = (event: any) => {\n const change = validateAnswer(event.target.value, question)\n if (onAnswer) {\n onAnswer(change)\n }\n }\n\n const handleDelete = (name: string) => {\n if (onDelete) {\n onDelete(name)\n }\n }\n\n const validateAnswer = (value: string, question: CertificationQuestion) => {\n const change = new Answer({\n name: question.name,\n type: question.type,\n required: question.required,\n value: value,\n pass: value === \"true\",\n label: question.certification\n })\n setAnswer(change)\n return change\n }\n\n if (onChange) {\n return (\n \n \n Do you have a\n \n {question.certification.length > 0 ? question.certification : \"____________\"}\n \n certification?\n \n {\n const change = {...question, certification: value!}\n setQuestion(change)\n validateAnswer(\"true\", change)\n onChange(change)\n }}\n />\n \n \n \n }\n />\n \n \n {answer.label &&\n \n }\n \n \n \n )\n } else if (onAnswer) {\n return (\n \n \n Do you have a\n \n {question.certification}\n \n certification?\n \n \n \n } label=\"No\" />\n } label=\"Yes\" />\n \n \n \n )\n } else {\n return null\n }\n}\n\nexport default CertificationQuestionCard","import * as React from \"react\";\nimport {EducationQuestion, QuestionType} from \"../../../model/Question\";\nimport {\n Checkbox, FormControl,\n FormControlLabel, Grid, Radio, RadioGroup,\n Typography\n} from \"@material-ui/core\";\nimport TextFieldValidator from \"../../form/TextFieldValidator\";\nimport {useEffect, useState} from \"react\";\nimport QuestionCard from \"./QuestionCard\";\nimport Answer from \"../../../model/Answer\";\nimport AnswerCard from \"./AnswerCard\";\nimport AnswerChip from \"../../jobCandidates/AnswerChip\";\n\ninterface IEducationQuestionCardProps {\n question: EducationQuestion\n answer?: Answer\n onChange?: any\n onDelete?: any\n onAnswer?: any\n}\nconst EducationQuestionCard = (props: IEducationQuestionCardProps) => {\n const { onChange, onDelete, onAnswer } = props\n const [question, setQuestion] = useState(new EducationQuestion({\n name: \"Education Question\",\n type: QuestionType.EducationQuestion,\n required: false,\n degree: \"\"\n }))\n const [answer, setAnswer] = useState(new Answer({\n name: \"\",\n type: \"\",\n required: false,\n value: \"false\",\n pass: true,\n label: \"\"\n }))\n\n useEffect(() => {\n setQuestion(props.question)\n if (props.answer) {\n setAnswer(props.answer)\n } else {\n const change = validateAnswer(onAnswer ? \"\" : \"true\", props.question)\n setAnswer(change)\n if (onAnswer) {\n onAnswer(change) // Set default answer\n }\n }\n }, [props.question, props.answer, onAnswer])\n \n const handleChange = (event: any) => {\n const { name, value, checked } = event.target\n let change\n if (name === \"required\") {\n change = {...question, [name]: checked}\n } else {\n change = {...question, [name]: value}\n }\n setQuestion(change)\n validateAnswer(\"true\", change) // Render AnswerChip\n onChange(change)\n }\n\n const handleAnswer = (event: any) => {\n const change = validateAnswer(event.target.value, question)\n if (onAnswer) {\n onAnswer(change)\n }\n }\n\n const handleDelete = (name: string) => {\n if (onDelete) {\n onDelete(name)\n }\n }\n\n const validateAnswer = (value: string, question: EducationQuestion) => {\n const change = new Answer({\n name: question.name,\n type: question.type,\n required: question.required,\n value: value,\n pass: value === \"true\",\n label: question.degree\n })\n setAnswer(change)\n return change\n }\n\n if (onChange) {\n return (\n \n \n Do you have a\n \n {question.degree.length > 0 ? question.degree : \"____________\"}\n ?\n \n\n \n \n \n \n }\n />\n \n \n {answer.label &&\n \n }\n \n \n \n )\n } else if (onAnswer) {\n return (\n \n \n Do you have a\n \n {question.degree}\n ?\n \n \n \n } label=\"No\" />\n } label=\"Yes\" />\n \n \n \n )\n } else {\n return null\n }\n}\n\nexport default EducationQuestionCard","import * as React from \"react\";\nimport {YesNoQuestion, QuestionType} from \"../../../model/Question\";\nimport {\n Checkbox, FormControl,\n FormControlLabel, Grid, Radio, RadioGroup,\n Typography\n} from \"@material-ui/core\";\nimport TextFieldValidator from \"../../form/TextFieldValidator\";\nimport {useEffect, useState} from \"react\";\nimport QuestionCard from \"./QuestionCard\";\nimport Answer from \"../../../model/Answer\";\nimport AnswerCard from \"./AnswerCard\";\nimport AnswerChip from \"../../jobCandidates/AnswerChip\";\n\ninterface IYesNoQuestionCardProps {\n question: YesNoQuestion\n answer?: Answer\n onChange?: any\n onDelete?: any\n onAnswer?: any\n}\nconst YesNoQuestionCard = (props: IYesNoQuestionCardProps) => {\n const { onChange, onDelete, onAnswer } = props\n const [question, setQuestion] = useState(new YesNoQuestion({\n name: \"Yes No Question\",\n type: QuestionType.YesNoQuestion,\n required: false,\n question: \"\"\n }))\n const [answer, setAnswer] = useState(new Answer({\n name: \"\",\n type: \"\",\n required: false,\n value: \"false\",\n pass: true,\n label: \"\"\n }))\n\n useEffect(() => {\n setQuestion(props.question)\n if (props.answer) {\n setAnswer(props.answer)\n } else {\n const change = validateAnswer(onAnswer ? \"\" : \"true\", props.question)\n setAnswer(change)\n if (onAnswer) {\n onAnswer(change) // Set default answer\n }\n }\n }, [props.question, props.answer, onAnswer])\n \n const handleChange = (event: any) => {\n const { name, value, checked } = event.target\n let change\n if (name === \"required\") {\n change = {...question, [name]: checked}\n } else {\n change = {...question, [name]: value}\n }\n setQuestion(change)\n validateAnswer(\"true\", change) // Render AnswerChip\n onChange(change)\n }\n\n const handleAnswer = (event: any) => {\n const change = validateAnswer(event.target.value, question)\n if (onAnswer) {\n onAnswer(change)\n }\n }\n\n const handleDelete = (name: string) => {\n if (onDelete) {\n onDelete(name)\n }\n }\n\n const validateAnswer = (value: string, question: YesNoQuestion) => {\n const change = new Answer({\n name: question.name,\n type: question.type,\n required: question.required,\n value: value,\n pass: value === \"true\",\n label: question.label\n })\n setAnswer(change)\n return change\n }\n\n if (onChange) {\n return (\n \n \n {question.question}\n \n\n \n \n \n \n \n }\n />\n \n \n {answer.label &&\n \n }\n \n \n \n )\n } else if (onAnswer) {\n return (\n \n \n {question.question}\n \n \n \n } label=\"No\" />\n } label=\"Yes\" />\n \n \n \n )\n } else {\n return null\n }\n}\n\nexport default YesNoQuestionCard","export default __webpack_public_path__ + \"static/media/JobSeekerApply_All.3cabfc5e.png\";","export default __webpack_public_path__ + \"static/media/JobSeekerApply_Construction.cd7c956e.png\";","export default __webpack_public_path__ + \"static/media/ForJobSeekersCard.4cfb70fc.png\";","import * as React from \"react\";\nimport {Box, createStyles, Theme, Typography, withStyles, WithStyles} from \"@material-ui/core\";\nimport UserStore from \"../../stores/UserStore\";\nimport { inject, observer } from \"mobx-react\";\nimport { NAICS } from \"../../model/Industry\";\n\nimport banner from \"../../images/JobSeekerApply_All.png\"\nimport constructionBanner from '../../images/JobSeekerApply_Construction.png'\nimport itBanner from '../../images/ForJobSeekersCard.png'\n\nconst styles = (theme: Theme) => createStyles({\n formTitle: {\n [theme.breakpoints.down('xs')]: {\n fontSize: '28px',\n marginBottom: 10\n },\n [theme.breakpoints.up('sm')]: {\n fontSize: '32px',\n marginBottom: 30\n }\n },\n itemHeading: {\n paddingTop: theme.spacing(2),\n paddingBottom: theme.spacing(1),\n fontWeight: 600,\n color: theme.palette.primary.main \n },\n image: {\n width: '70%',\n borderRadius: theme.spacing(2),\n marginBottom: theme.spacing(3),\n },\n});\n\ninterface IApplyPromoProps {\n onJoin?: any\n // promo?: string\n userStore?: UserStore\n}\n\n@inject(\"userStore\")\n@observer\nclass ApplyPromo extends React.Component & IApplyPromoProps> {\n onJoin = () => {\n if (this.props.onJoin) {\n this.props.onJoin()\n }\n }\n\n render() {\n const {classes, userStore} = this.props\n\n return \n \n APPLY TODAY AND CONTROL YOUR OWN DESTINY\n \n \n \n \"\"\n \n\n \n GovGig empowers you to upgrade your career and do it on your own terms. Choose where you work and when you work.\n \n\n \n Showcase Your Accomplishments\n \n \n Show the world you are more than your resume.\n \n \n Work with Humans (Not a Computer):\n \n \n Our knowledgable agents review your profile, and you can reach out with questions in your job search process. \n \n \n Be the First to Know \n \n \n No more chasing jobs. The opportunities come to you.\n \n \n Learn & Grow \n \n \n Stay abreast of career advancement tips, inspiring stories, and the latest industry news.\n \n\n \n How it Works\n \n
    \n
  • \n \n Apply on GovGig. It only takes a few minutes to get started.\n \n
  • \n
  • \n \n Create your professional profile. Upload your resume, certifications and select your location preferences, including remote work.\n \n
  • \n
  • \n \n Submit your profile to be approved as a candidate. \n \n
  • \n
  • \n \n Begin applying for interesting jobs, and get notified when new opportunities are posted. \n \n
  • \n
\n {/* \n 2. CREATE YOUR PROFILE: Upload your resume, certifications and select your location preferences.\n */}\n {/* \n 3. WE'LL BE IN TOUCH: A real person will review your application and get in touch with you to discuss your timeline and goals.\n \n \n 4. STAY TUNED: As opportunities within your criteria become available, you'll be contacted by GovGig or our staffing partners.\n */}\n\n {/*
\n \n TESTIMONIALS\n \n \n Real: \"Watermark placed me on a project in Navy Region Northwest that was a perfect match for my experience. I was able to have an immediate impact within the team, and the client has utmost confidence in my abilities for this role. The compensation package was very well put together. As a career construction professional, I have been working here-and-there as an Independent Contractor on Federal projects and have seen a lot of offers. Watermark has opened doors for me in this department, and I wouldn’t hesitate to work with them again.\" - Joe – Navy Region NW (from Davis)\n \n \n Real: \"I'm getting too old to chase contracts. I'm tired of trying to find who has which contracts. With GovGig, they handled all that for me and I was able to get placed in my current job with no fuss.\" - David Sear in Yakima\n \n \n Real: \"There was a bad family situation and I needed to get out of town. Through GovGig I was placed in a town 3 hours away within minutes.\" - Luke's story\n \n \n Hypothetical example: \"I’m a site-safety officer who was looking for my next gig. I signed up on GovGig thinking it would be like most of the other job sites and I’d never hear back. To my surprise, I got a phone call the next day. Not only that, but they found me a gig within a week! I was shocked, and I’m definitely a big fan now.\" - Candidate X\n */}\n \n }\n}\n\nexport default withStyles(styles)(ApplyPromo)","import * as React from 'react';\nimport { createStyles, Theme, WithStyles, withStyles } from '@material-ui/core/styles'\nimport {Box, Checkbox, FormControlLabel, FormGroup, FormHelperText, Typography} from \"@material-ui/core\";\nimport {NAICS} from \"../../model/Industry\";\nimport {inject} from \"mobx-react\";\nimport {humanizeString} from \"../../stores/StoreUtilities\";\n\nconst styles = (theme: Theme) => createStyles({\n formGroup: {\n marginBottom: 0,\n paddingBottom: 0\n },\n fieldLabel: {\n // fontSize: 12,\n // fontWeight: 400,\n // color: theme.palette.text.secondary,\n paddingTop: 0,\n paddingBottom: 0\n }\n})\n\n\ninterface IIndustrySelectorProps {\n industries?: string[]\n value?: string[]\n required?: boolean\n onChange?(value: string[]): any\n formvalidator?: any\n disabled?: boolean\n}\n\n@inject(\"formvalidator\")\nclass IndustrySelector extends React.Component & IIndustrySelectorProps>{\n\n state = {\n industries: [] as string[],\n value: [] as string[],\n isValid: true,\n };\n\n componentDidMount() {\n const { industries, value, formvalidator } = this.props\n if (formvalidator) {\n formvalidator.attachToForm(this)\n }\n\n this.setState({industries: industries ?? Object.values(NAICS),\n value: value ?? []})\n }\n\n componentDidUpdate(prevProps: any) {\n if (prevProps.industries !== this.props.industries) {\n this.setState({industries: this.props.industries ?? []})\n }\n if (prevProps.value !== this.props.value) {\n this.setState({value: this.props.value ?? []})\n }\n }\n\n validate = (value: string): boolean => {\n const isRequired = this.props.required ?? false\n const isValid = !isRequired || (value.length > 0)\n this.setState({isValid})\n return isValid\n }\n\n render() {\n const { classes, disabled } = this.props\n\n const industries = this.props.industries ?? Object.values(NAICS)\n const textColor = this.state.isValid === false ? \"error\" : undefined\n\n return (\n \n Industries\n \n {industries.map((industry: string) => {\n const key = Object.keys(NAICS)[Object.values(NAICS).indexOf(industry as NAICS)]\n return (\n = 0}\n onClick={this.onClick}/>}\n />\n )\n })}\n \n \n {this.state.isValid ? \"\" : \"Required\"}\n \n \n )\n }\n\n onClick = (event: any) => {\n const {checked, value} = event.target\n let industries: string[] = [...this.state.value]\n if (checked) {\n industries.push(value)\n } else {\n industries.splice(industries.indexOf(value), 1)\n }\n const isValid = !this.props.required || industries.length > 0\n this.setState({value: industries, isValid})\n\n if (this.props.onChange) {\n this.props.onChange(industries)\n }\n }\n}\n\nexport default withStyles(styles)(IndustrySelector)","import {\n Box,\n Button,\n createStyles, Dialog, DialogContent, DialogTitle,\n FormGroup,\n Grid,\n Paper,\n TextField,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n withWidth\n} from '@material-ui/core';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport Hidden from \"@material-ui/core/Hidden\";\nimport { WithWidth } from '@material-ui/core/withWidth';\nimport { RouteComponentProps } from '@reach/router';\nimport { Auth } from \"aws-amplify\";\nimport { observable, makeObservable } from \"mobx\";\nimport { inject, observer } from 'mobx-react';\nimport React from 'react';\nimport {\n AgreementType,\n CreateAgreementInput,\n CreateProfileInput, CreateProfileLocationInput,\n CreateUserInput,\n ProfileStatus,\n UserRole, UserStatus\n} from \"../../API\";\nimport Confirm from \"../../components/confirm/Confirm\";\nimport ControlTower, { Routes } from '../../components/ControlTower';\nimport CheckboxValidator from \"../../components/form/CheckboxValidator\";\nimport DialogButton from \"../../components/form/DialogButton\";\nimport FormValidator from \"../../components/form/FormValidator\";\nimport ProgressButton from \"../../components/form/ProgressButton\";\nimport TextFieldValidator from \"../../components/form/TextFieldValidator\";\nimport Logger from \"../../components/Logger\";\nimport Notify from \"../../components/notify/Notify\";\nimport MarginRow from '../../components/page/MarginRow';\nimport Page from \"../../components/page/Page\";\nimport Tracking from \"../../components/Tracking\";\nimport User from \"../../model/User\";\nimport { AccountStoreConstants } from \"../../stores/AccountStore\";\nimport ProfileStore from '../../stores/ProfileStore';\nimport {createUUID, getErrorMessage, phoneToNationalFormat} from '../../stores/StoreUtilities';\nimport { CognitoAttribute, UserStoreConstants } from \"../../stores/UserStore\";\nimport ApplyPromo from \"./ApplyPromo\";\nimport {isWidthUp} from \"@material-ui/core/withWidth/withWidth\";\nimport Visible from \"../../components/Visible\";\nimport ResourceCache, {LocationOption} from \"../../stores/ResourceCache\";\nimport PlaceFilter from \"../../components/filter/PlaceFilter\";\nimport IndustrySelector from \"../../components/form/IndustrySelector\";\n\nconst styles = (theme: Theme) => createStyles({\n container: {\n fontFamily: theme.typography.body2.fontFamily,\n paddingTop: theme.spacing(2)\n },\n leftPanel: {\n [theme.breakpoints.up('md')]: {\n paddingRight: theme.spacing(2),\n paddingBottom: '25px'\n },\n [theme.breakpoints.down('md')]: {\n paddingLeft: theme.spacing(1),\n paddingRight: theme.spacing(1),\n paddingBottom: '10px'\n },\n },\n rightPanel: {\n [theme.breakpoints.up('md')]: {\n paddingBottom: '25px',\n },\n [theme.breakpoints.down('md')]: {\n paddingLeft: theme.spacing(1),\n paddingRight: theme.spacing(1),\n paddingBottom: '20px'\n },\n [theme.breakpoints.down('xs')]: {\n paddingBottom: 10,\n },\n\n },\n signUpContainer: {\n [theme.breakpoints.down('xs')]: {\n padding: 10,\n },\n [theme.breakpoints.up('sm')]: {\n padding: \"30px 30px 0px 30px\",\n },\n },\n submitButtonContainer: {\n paddingTop: theme.spacing(2),\n },\n submitButton: {\n color: \"#fff\",\n },\n formTitle: {\n [theme.breakpoints.down('xs')]: {\n marginTop: 0,\n marginBottom: 0,\n paddingTop: 0\n },\n [theme.breakpoints.up('sm')]: {\n marginBottom: 0\n }\n },\n formSubTitle: {\n color: '#181818',\n letterSpacing: '0.75px',\n fontWeight: 400,\n [theme.breakpoints.down('xs')]: {\n display: \"none\"\n },\n },\n form: {\n paddingLeft: theme.spacing(1),\n paddingRight: theme.spacing(1),\n [theme.breakpoints.down('md')]: {\n marginBottom: \"50px\"\n },\n [theme.breakpoints.down('xs')]: {\n marginBottom: \"0px\",\n },\n },\n formGroupTerms: {\n display: \"flex\",\n justifyContent: \"flex-start\",\n flexWrap: \"nowrap\",\n margin: 0,\n padding: 0,\n maxHeight: 40,\n },\n termsCheckbox: {\n flex: 0,\n width: 80,\n },\n termsLabel: {\n flex: 1,\n alignSelf: \"center\",\n color: '#252525',\n fontSize: '13px',\n paddingTop: 0,\n lineHeight: 1.2,\n },\n firstName: {\n [theme.breakpoints.up('sm')]: {\n paddingRight: theme.spacing(2)\n }\n },\n formGroupRow: {\n display: \"flex\",\n justifyContent: \"space-between\",\n flexWrap: \"nowrap\"\n },\n formGroupField: {\n flexGrow: 1,\n },\n formGroupSpacing: {\n flexGrow: 0,\n width: 10,\n },\n stateSelectorField: {\n top: 5\n },\n zipCodeField: {\n width: 100\n },\n countryField: {\n width: 100\n },\n link: {\n color: theme.palette.primary.main,\n },\n continueContainer: {\n paddingLeft: theme.spacing(1),\n paddingRight: theme.spacing(1),\n },\n continueButton: {\n marginBottom: 20,\n color: \"#FFF\"\n },\n progressButton: {\n color: theme.palette.primary.main,\n position: 'absolute',\n top: '50%',\n left: '50%',\n marginTop: -12,\n marginLeft: -12,\n },\n instructions: {\n marginTop: 10\n },\n stepContent: {\n paddingLeft: theme.spacing(1),\n paddingRight: theme.spacing(1),\n width: \"100%\"\n },\n terms: {\n height: \"calc(50vh)\",\n width: \"100%\",\n marginBottom: theme.spacing(1)\n },\n iframe: {\n width: \"100%\",\n height: \"100%\",\n border: \"none\",\n overflowY: \"scroll\"\n }\n\n});\n\n\ninterface IApplyPageProps {\n promo?: string\n userStore?: any\n accountStore?: any\n profileStore?: ProfileStore\n govGigAPI?: any\n notify?: Notify\n confirm?: Confirm\n location?: any\n resourceCache?: ResourceCache\n renderAsDialog?: boolean\n onApply?: any\n onClose?: any\n}\n\ninterface ICognitoError {\n __type: string;\n code: string;\n message: string;\n}\n\nenum ApplyStep {\n Promo,\n Application,\n TermsOfUse,\n PrivacyPolicy,\n Verification\n}\n\n@inject(\"userStore\", \"accountStore\", \"profileStore\", \"govGigAPI\", \"notify\", \"confirm\", \"resourceCache\")\n@observer\nclass ApplyPage extends React.Component & RouteComponentProps & IApplyPageProps & WithWidth, {}> {\n private userId = \"\";\n\n @observable step = ApplyStep.Application\n @observable isContinued = false\n @observable showTerms = false\n @observable showPrivacy = false\n @observable isSubmitted = false\n @observable forgotPassword = false\n @observable showTermsOfUse = false\n @observable isProcessing = false\n @observable verifyAttr = CognitoAttribute.EMAIL\n @observable locationOption?: LocationOption\n\n private cognitoUser?: any\n private user?: User\n private disableTextVerification = true\n\n \n constructor(\n props: WithStyles & RouteComponentProps & IApplyPageProps & WithWidth\n ) {\n super(props);\n makeObservable(this);\n }\n \n private _message = \"\"\n set message(msg: string) {\n this._message = msg\n if (msg !== \"\") {\n this.props.notify!.show(\"info\", msg)\n } else {\n this.props.notify!.close()\n }\n }\n get message() {\n return this._message\n }\n\n private _error = \"\"\n set error(err: string) {\n this._error = err\n if (err !== \"\") {\n this.props.notify!.show(\"error\", err)\n } else {\n this.props.notify!.close()\n }\n }\n get error() {\n return this._error\n }\n\n state = {\n user: User,\n termsCheckbox: false,\n privacyCheckbox: false,\n firstName: \"\",\n lastName: \"\",\n email: \"\",\n password: \"\",\n phone: \"\",\n addressLine1: \"\",\n addressCity: \"\",\n addressState: \"\",\n addressPostalCode: \"\",\n addressCountry: \"\",\n industries: [] as string[],\n addressError: false,\n verificationCode: \"\",\n accountId: AccountStoreConstants.PRIMARY_ACCOUNT_ID,\n role: UserRole.Applicant,\n communicationCheckbox: false\n }\n\n render() {\n const { renderAsDialog } = this.props\n if (renderAsDialog) {\n return this.renderAsDialog()\n } else {\n return this.renderAsPage()\n }\n }\n\n renderAsPage() {\n const { classes, width } = this.props;\n\n let promoContent = \n\n return (\n \n \n \n \n \n \n {promoContent}\n \n \n \n \n \n \n \n Apply Now\n \n \n to get hired\n \n \n {this.step === ApplyStep.Application && (\n \n {this.renderSignupForm()}\n \n )\n }\n {this.step === ApplyStep.TermsOfUse && this.renderTermsOfUse()}\n {this.step === ApplyStep.PrivacyPolicy && this.renderPrivacyPolicy()}\n {this.step === ApplyStep.Verification && this.renderVerifyForm()}\n \n \n \n \n \n {!this.isContinued &&\n \n \n {promoContent}\n \n \n \n \n \n }\n {this.isContinued &&\n \n \n \n \n \n \n Apply Now\n \n \n to get hired\n \n \n {this.step === ApplyStep.Application && (\n
\n {this.renderSignupForm()}\n
\n )\n }\n {this.step === ApplyStep.TermsOfUse && this.renderTermsOfUse()}\n {this.step === ApplyStep.PrivacyPolicy && this.renderPrivacyPolicy()}\n {this.step === ApplyStep.Verification && this.renderVerifyForm()}\n
\n
\n
\n
\n }\n
\n \n
\n
\n )\n }\n\n renderAsDialog = () => {\n return (\n \n Sign up for a GovGig Account\n \n {this.step === ApplyStep.Application && this.renderSignupForm() }\n {this.step === ApplyStep.TermsOfUse && this.renderTermsOfUse()}\n {this.step === ApplyStep.PrivacyPolicy && this.renderPrivacyPolicy()}\n {this.step === ApplyStep.Verification && this.renderVerifyForm()}\n \n \n )\n }\n\n renderSignupForm = () => {\n const { classes } = this.props;\n\n return
\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 {this.renderTermsCheckbox(\"communicationCheckbox\", \"I give permission to communicate with me via email, text or phone.\", true)}\n
\n \n Continue\n \n \n
\n \n \n
\n }\n\n renderVerifyForm() {\n const { classes } = this.props;\n\n return (\n
\n \n \n Please check your {this.verifyAttr === CognitoAttribute.EMAIL ? \"email\" : \"phone\"} for the verification code.\n \n \n {(this.verifyAttr === CognitoAttribute.EMAIL) &&\n \n \n Resend email to {this.state.email}\n \n \n }\n {!this.disableTextVerification &&\n \n {this.verifyAttr === CognitoAttribute.EMAIL ?\n `Verify by text message to ${phoneToNationalFormat(this.state.phone)}` :\n `Resend text message to ${phoneToNationalFormat(this.state.phone)}`\n }\n \n }\n
\n \n \n
\n
\n
)\n }\n\n renderTermsOfUse() {\n const { classes } = this.props\n\n return (\n
\n \n \n Please review and accept the GovGig Terms of Use.\n \n
\n \n
\n {this.renderTermsCheckbox(\"termsCheckbox\", \"I accept the GovGig.us Terms of Use.\", true)}\n
\n \n \n
\n
\n
\n )\n }\n\n renderPrivacyPolicy() {\n const { classes } = this.props\n\n return (\n
\n \n \n Please review and accept the GovGig Privacy Policy.\n \n
\n \n
\n {this.renderTermsCheckbox(\"privacyCheckbox\", \"I accept the GovGig.us Privacy Policy.\", true)}\n
\n \n Continue\n \n \n
\n
\n
\n )\n }\n\n renderTermsCheckbox = (name: string, label: any, required: boolean) => {\n const { classes } = this.props\n\n return (\n \n
\n \n
\n
\n {label}\n
\n
\n )\n }\n\n scrollToTop() {\n window.scrollTo({top: 0, behavior: 'smooth'})\n }\n\n handleContinue = () => {\n this.isContinued = true\n this.scrollToTop()\n }\n\n handleSignUp = async () => {\n const values = this.state\n const { userStore } = this.props\n\n this.message = \"\"\n this.error = \"\"\n\n if (!values.communicationCheckbox) {\n this.message = \"You must agree to the terms before applying.\"\n return\n }\n\n this.isProcessing = true\n\n this.userId = createUUID();\n\n // Check for an existing Cognito user by email\n this.cognitoUser = await Auth.signIn(values.email, values.password)\n .catch((err: any) => {\n if (err.code === UserStoreConstants.NOT_AUTHORIZED_EXCEPTION) {\n this.error = \"A user with this email already exists. If you are attempting to signup again, be sure to use the same password.\"\n } else if (err.code !== UserStoreConstants.USER_NOT_FOUND_EXCEPTION && err.message !== UserStoreConstants.USER_NOT_FOUND) {\n this.error = err.message\n Tracking.event({ action: \"SignIn Error\", label: this.error })\n }\n })\n\n if (this.cognitoUser) {\n // The username/password already exists. Verify that the application process was completed.\n const user = await userStore!.getUser(this.cognitoUser.username)\n if (user) {\n this.error = \"You have already signed up. Please login to use GovGig.\"\n Auth.signOut()\n } else {\n // Send to TermsOfService step\n this.userId = this.cognitoUser.username\n this.step = ApplyStep.TermsOfUse\n this.isProcessing = false\n return\n }\n }\n\n if (this.error) {\n this.isProcessing = false\n return\n }\n\n // Sign up and send email verification\n\n this.cognitoUser =\n await userStore!.signUp(this.userId, values.password, values.email, undefined, values.accountId, values.role)\n .catch((result: ICognitoError) => {\n Logger.debug(`ApplyPage.signUp(${this.userId}) error`, result)\n this.error = result.message\n });\n\n this.isProcessing = false\n\n if (!this.error) {\n this.isSubmitted = true\n this.step = ApplyStep.Verification\n this.scrollToTop()\n }\n\n }\n\n handleVerify = async () => {\n const values = this.state\n this.message = \"\"\n this.error = \"\"\n const userStore = this.props.userStore\n\n if (this.forgotPassword) {\n // Handle verification code for password reset\n userStore!.forgotPasswordSubmit(this.state.email, this.state.verificationCode, this.state.password)\n .then((result: any) => {\n Logger.debug(\"forgotPasswordSubmit succeeded\")\n })\n .catch((err: any) => {\n this.error = err.message\n Tracking.event({ action: \"Forgot Password Error\", label: this.error })\n })\n } else if (this.cognitoUser) {\n // Handle verification code for signup\n this.isProcessing = true\n\n if (this.verifyAttr === CognitoAttribute.EMAIL) {\n await userStore!.confirmSignUp(this.userId, values.verificationCode, {forceAliasCreation: false})\n .catch((err: Error) => {\n this.error = getErrorMessage(err)\n this.isProcessing = false\n })\n } else {\n await userStore!.verifyUserAttributeSubmit(this.cognitoUser, this.verifyAttr, values.verificationCode)\n .catch((err: Error) => {\n this.error = getErrorMessage(err)\n this.isProcessing = false\n })\n }\n\n if (this.error) {\n return\n }\n }\n\n await userStore!.signIn(this.userId, this.state.password)\n .catch((error: any) => {\n this.isProcessing = false\n Logger.debug(\"ApplyPage verify signIn error\", error)\n if (error.code === UserStoreConstants.NOT_AUTHORIZED_EXCEPTION && !this.forgotPassword) {\n // Password doesn't match original. Reset password\n userStore!.forgotPassword(this.state.email).then((result: any) => {\n this.forgotPassword = true\n this.state.verificationCode = \"\"\n this.error = \"Password does not match. Please check your email for a password reset verification code\"\n })\n .catch((forgotPasswordErr: any) => {\n this.message = forgotPasswordErr.message\n })\n } else if (error.message !== UserStoreConstants.USER_NOT_FOUND) {\n this.error = error.message\n }\n });\n\n if (this.error) {\n return\n }\n\n this.step = ApplyStep.TermsOfUse\n this.scrollToTop()\n\n this.isProcessing = false\n }\n\n handleTermsOfUse = () => {\n this.step = ApplyStep.PrivacyPolicy\n this.scrollToTop()\n }\n\n handlePrivacyPolicy = async () => {\n await this.createUser()\n }\n\n handleCancel = () => {\n if (this.props.renderAsDialog && this.props.onClose) {\n this.props.onClose()\n } else {\n ControlTower.route(Routes.home)\n }\n }\n\n handleBack = () => {\n // Return to signup form\n this.step = ApplyStep.Application\n }\n\n handleClose = () => {\n if (this.props.onClose) {\n this.props.onClose()\n }\n }\n\n changeHandler = (event: React.ChangeEvent) => {\n const name = event.target.name\n if (name === \"communicationCheckbox\") {\n this.setState({\n [name]: event.target.checked\n })\n } else if (name === \"state\") {\n this.setState({ addressState: event.target.value })\n } else if (name === \"email\") {\n this.setState({\n [name]: event.target.value.toLowerCase()\n });\n } else {\n if (this.state[name] !== undefined) {\n this.setState({\n [name]: event.target.value\n });\n }\n }\n // Clear message\n this.message = \"\"\n this.error = \"\"\n };\n\n handleSelectLocation = async (value?: LocationOption) => {\n const { resourceCache } = this.props\n const location = value ? resourceCache?.getLocation(value!.id) : undefined\n if (location && location.city && location.state && location.country) {\n this.setState({\n addressLine1: location.address,\n addressCity: location.city,\n addressState: resourceCache!.getStateAbbrFromName(location.state),\n addressPostalCode: location.postalCode,\n addressCountry: resourceCache!.getCountryAbbrFromName(location.country),\n addressError: false\n })\n } else {\n this.setState({\n addressLine1: \"\",\n addressCity: \"\",\n addressState: \"\",\n addressPostalCode: \"\",\n addressCountry: \"\",\n addressError: true\n })\n }\n\n this.locationOption = value\n }\n\n handleChangeIndustries = (industries: string[]) => {\n this.setState({industries: industries})\n }\n\n onResendEmailCode = async () => {\n const { userStore } = this.props\n this.message = \"\"\n this.error = \"\"\n const values = this.state\n\n if (this.verifyAttr === CognitoAttribute.EMAIL) {\n userStore!.resendSignUp(this.userId)\n .then((result: any) => {\n this.message = \"Verification email requested\"\n })\n .catch((err: Error) => {\n this.error = err.message\n })\n } else {\n // Create new sign-up without phone number to trigger email verification\n this.cognitoUser =\n await userStore!.signUp(this.userId, values.password, values.email, undefined, values.accountId, values.role)\n .then((result: any) => {\n this.message = \"Verification email requested\"\n this.verifyAttr = CognitoAttribute.EMAIL\n })\n .catch((result: ICognitoError) => {\n Logger.debug(`ApplyPage.signUp(${this.userId}) error`, result)\n this.error = result.message\n });\n }\n }\n\n onSendTextCode = async () => {\n const { userStore } = this.props\n const values = this.state\n\n if (this.verifyAttr === CognitoAttribute.PHONE_NUMBER) {\n Auth.signIn(this.userId, values.password)\n .then(async (congnitoUser: any) => {\n this.cognitoUser = congnitoUser\n await userStore!.verifyUserAttribute(this.cognitoUser, CognitoAttribute.PHONE_NUMBER)\n .then((verify: any) => {\n this.message = \"Verification text requested\"\n Logger.debug(`ApplyPage verifyUserAttribute(PHONE_NUMBER) = ${verify}`)\n })\n .catch((result: ICognitoError) => {\n Logger.debug(`ApplyPage.verify phone number error`, result)\n this.error = result.message\n });\n })\n } else {\n // Create new sign-up to trigger phone verification\n // Note: For phone verification, email is automatically verified in PreSignupLambda\n this.userId = createUUID();\n await userStore!.signUp(this.userId, values.password, values.email, values.phone, values.accountId, values.role)\n .then(async (result: any) => {\n this.verifyAttr = CognitoAttribute.PHONE_NUMBER\n // Call onSendTextCode again to send the verification text\n await this.onSendTextCode()\n })\n .catch((result: ICognitoError) => {\n Logger.debug(`ApplyPage.signUp(${this.userId}) error`, result)\n this.error = result.message\n Auth.signOut()\n });\n }\n }\n\n createUser = async () => {\n const { userStore, accountStore, notify } = this.props\n\n this.isProcessing = true\n\n const input: CreateUserInput = {\n id: this.userId,\n accountId: this.state.accountId,\n active: true,\n userStatus: UserStatus.Registered,\n email: this.state.email,\n firstName: this.state.firstName,\n lastName: this.state.lastName,\n phone: this.state.phone,\n role: this.state.role,\n address: this.state.addressLine1 ?? null,\n city: this.state.addressCity,\n state: this.state.addressState,\n postalCode: this.state.addressPostalCode,\n country: this.state.addressCountry ?? null,\n industry: this.state.industries.length === 1 ? this.state.industries[0] : null\n }\n\n Logger.debug(\"ApplyPage.createUser\", input)\n const user = await userStore!.createUser(input)\n\n if (!user) {\n this.error = \"Error creating user\"\n this.isProcessing = false\n return\n }\n\n accountStore!.init(user.account)\n\n const profile = await this.createProfile()\n\n if (!profile) {\n this.error = \"Error creating profile\"\n this.isProcessing = false\n return\n }\n\n // Record Agreements\n const agreementInput: CreateAgreementInput = {\n userId: user.id,\n accountId: user.accountId,\n agreementTypes: [\n AgreementType.ElectronicCommunication,\n AgreementType.PrivacyPolicy,\n AgreementType.TermsOfUse\n ]\n }\n\n const agreement = await userStore!.createAgreement(agreementInput)\n\n if (!agreement) {\n this.error = \"Error saving agreement\"\n this.isProcessing = false\n return\n }\n\n // Force industry update\n userStore!.getIndustry()\n\n this.isProcessing = false\n\n if (this.props.renderAsDialog && this.props.onApply) {\n this.props.onApply()\n } else {\n notify!.show(\"success\", \"Welcome to GovGig!\")\n ControlTower.route(Routes.profile)\n }\n }\n\n createProfile = async () => {\n const { userStore, profileStore } = this.props\n const user = userStore!.user\n\n if (!user) {\n return\n }\n\n const input: CreateProfileInput = {\n active: true,\n userId: user.id,\n nickname: user.nickname,\n profileStatus: ProfileStatus.Pending,\n alias: profileStore!.generateAlias(user),\n industries: this.state.industries\n }\n\n const profile = await userStore!.createProfile(input)\n .catch((error: any) => {\n Logger.debug(\"ApplyPage.createProfile error\", getErrorMessage(error))\n this.error = getErrorMessage(error)\n });\n\n // Add ProfileLocation\n if (this.locationOption) {\n const profileLocationInput: CreateProfileLocationInput = {\n userId: user.id,\n profileId: profile.id,\n locationId: this.locationOption.id\n }\n\n await profileStore!.createProfileLocation(profileLocationInput)\n }\n\n return profile\n }\n}\n\nexport default withWidth()(withStyles(styles)(ApplyPage));\n","import * as React from \"react\";\nimport {SecurityClearanceQuestion, QuestionType} from \"../../../model/Question\";\nimport {\n Checkbox, FormControl,\n FormControlLabel, Grid, Radio, RadioGroup,\n Typography\n} from \"@material-ui/core\";\nimport TextFieldValidator from \"../../form/TextFieldValidator\";\nimport {useEffect, useState} from \"react\";\nimport QuestionCard from \"./QuestionCard\";\nimport Answer from \"../../../model/Answer\";\nimport AnswerCard from \"./AnswerCard\";\nimport AnswerChip from \"../../jobCandidates/AnswerChip\";\n\ninterface ISecurityClearanceQuestionCardProps {\n question: SecurityClearanceQuestion\n answer?: Answer\n onChange?: any\n onDelete?: any\n onAnswer?: any\n}\nconst SecurityClearanceQuestionCard = (props: ISecurityClearanceQuestionCardProps) => {\n const { onChange, onDelete, onAnswer } = props\n const [question, setQuestion] = useState(new SecurityClearanceQuestion({\n name: \"Security Clearance Question\",\n type: QuestionType.SecurityClearanceQuestion,\n required: false,\n clearance: \"\"\n }))\n const [answer, setAnswer] = useState(new Answer({\n name: \"\",\n type: \"\",\n required: false,\n value: \"false\",\n pass: true,\n label: \"\"\n }))\n\n useEffect(() => {\n setQuestion(props.question)\n if (props.answer) {\n setAnswer(props.answer)\n } else {\n const change = validateAnswer(onAnswer ? \"\" : \"true\", props.question)\n setAnswer(change)\n if (onAnswer) {\n onAnswer(change) // Set default answer\n }\n }\n }, [props.question, props.answer, onAnswer])\n\n const handleChange = (event: any) => {\n const { name, value, checked } = event.target\n let change\n if (name === \"required\") {\n change = {...question, [name]: checked}\n } else {\n change = {...question, [name]: value}\n }\n setQuestion(change)\n validateAnswer(\"true\", change) // Render AnswerChip\n onChange(change)\n }\n\n const handleAnswer = (event: any) => {\n const change = validateAnswer(event.target.value, question)\n if (onAnswer) {\n onAnswer(change)\n }\n }\n\n const handleDelete = (name: string) => {\n if (onDelete) {\n onDelete(name)\n }\n }\n\n const validateAnswer = (value: string, question: SecurityClearanceQuestion) => {\n const change = new Answer({\n name: question.name,\n type: question.type,\n required: question.required,\n value: value,\n pass: value === \"true\",\n label: question.clearance\n })\n setAnswer(change)\n return change\n }\n\n if (onChange) {\n return (\n \n \n Do you have an active or recent (within last 2 years)\n \n {question.clearance.length > 0 ? question.clearance : \"____________\"}\n or greater security clearance?\n \n\n \n \n \n \n }\n />\n \n \n {answer.label &&\n \n }\n \n \n \n )\n } else if (onAnswer) {\n return (\n \n \n Do you have an active or recent (within last 2 years)\n \n {question.clearance}\n or greater security clearance?\n \n \n \n } label=\"No\" />\n } label=\"Yes\" />\n \n \n \n )\n } else {\n return null\n }\n}\n\nexport default SecurityClearanceQuestionCard","import React from \"react\";\nimport {\n Box,\n createStyles,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n Grid,\n Link,\n TextareaAutosize,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n withTheme,\n WithTheme,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport {makeObservable, observable} from \"mobx\";\nimport {inject, observer} from \"mobx-react\";\nimport JobPost from \"../../model/JobPost\";\nimport FormValidator from \"../form/FormValidator\";\nimport CardValue from \"../CardValue\";\nimport ProfileStore from \"../../stores/ProfileStore\";\nimport {durationBetweenISODates, getISODateToday, humanizeString} from \"../../stores/StoreUtilities\";\nimport ProgressButton from \"../form/ProgressButton\";\nimport {\n CreateJobInterestInput,\n JobInterestStatus,\n ProfileStatus,\n UpdateJobInterestInput,\n UpdateProfileInput\n} from \"../../API\";\nimport JobInterest from \"../../model/JobInterest\";\nimport UserStore from \"../../stores/UserStore\";\nimport CancelButton from \"../form/CancelButton\";\nimport ControlTower, {Routes} from \"../ControlTower\";\nimport DialogButton from \"../form/DialogButton\";\nimport Question, {\n CertificationQuestion,\n EducationQuestion,\n ExperienceQuestion,\n LocationQuestion,\n QuestionType, SecurityClearanceQuestion,\n YesNoQuestion\n} from \"../../model/Question\";\nimport ExperienceQuestionCard from \"./screening/ExperienceQuestionCard\";\nimport Answer from \"../../model/Answer\";\nimport LocationQuestionCard from \"./screening/LocationQuestionCard\";\nimport CertificationQuestionCard from \"./screening/CertificationQuestionCard\";\nimport EducationQuestionCard from \"./screening/EducationQuestionCard\";\nimport YesNoQuestionCard from \"./screening/YesNoQuestionCard\";\nimport JobStore from \"../../stores/JobStore\";\nimport Notify, {NotifyVariant} from \"../notify/Notify\";\nimport AuthButton from \"../login/AuthButton\";\nimport ApplyPage from \"../../pages/apply/ApplyPage\";\nimport SecurityClearanceQuestionCard from \"./screening/SecurityClearanceQuestionCard\";\n\nconst styles = (theme: Theme) => createStyles({\n form: {\n overflowY: \"auto\",\n display: \"flex\",\n flexDirection: \"column\"\n },\n progressButton: {\n minWidth: 80\n },\n error: {\n color: theme.palette.error.main\n },\n label: {\n color: theme.palette.text.secondary,\n fontSize: 15,\n marginTop: theme.spacing(1),\n marginBottom: 4,\n marginLeft: 0,\n },\n textarea: {\n fontFamily: [\n 'Roboto',\n 'sans-serif'\n ].join(','),\n minWidth: \"100%\",\n maxWidth: \"100%\",\n padding: 8,\n fontSize: 16\n },\n})\n\nconst SignupQuestion = \"Signup Question\"\n\nexport interface IJobInterestApplyDialogProps {\n jobPost: JobPost\n isOpen: boolean \n onSubmit?(jobPost: JobPost): void\n onClose?(): void\n profileStore?: ProfileStore\n userStore?: UserStore\n jobStore?: JobStore\n notify?: Notify\n}\n\n@inject(\"profileStore\", \"userStore\", \"jobStore\", \"notify\")\n@observer\nclass JobInterestApplyDialog extends React.Component & WithTheme & WithWidth & IJobInterestApplyDialogProps> {\n\n @observable message = \"\"\n @observable error = \"\"\n @observable isProcessing = false\n @observable isCandidate = false\n @observable showSummary = true\n @observable showQuestion = -1\n @observable questions: Question[] = []\n @observable answers: Answer[] = []\n @observable isAuthVisible: boolean = false\n @observable isGovGigApplyVisible: boolean = false\n\n constructor(\n props: WithStyles & WithTheme & WithWidth & IJobInterestApplyDialogProps\n ) {\n super(props);\n makeObservable(this);\n const {userStore} = this.props\n if (userStore!.user && userStore!.user!.isCandidate) {\n this.isCandidate = true\n }\n }\n\n componentDidMount() {\n const { jobPost, userStore } = this.props\n this.message = \"\"\n this.showSummary = true\n this.showQuestion = -1\n if (!userStore!.isAuthenticated) {\n const signupQuestion = new YesNoQuestion({\n type: QuestionType.YesNoQuestion,\n name: SignupQuestion,\n question: \"Have you signed up for a GovGig account?\",\n label: \"GovGig Candidate\"\n })\n this.questions = [signupQuestion, ...jobPost.questions]\n } else {\n this.questions = jobPost.questions\n }\n this.answers = []\n }\n\n componentDidUpdate(prevProps: Readonly & WithTheme & WithWidth & IJobInterestApplyDialogProps>, prevState: Readonly<{}>, snapshot?: any) {\n if (this.props.jobPost.updatedAt !== prevProps.jobPost.updatedAt) {\n this.componentDidMount()\n }\n }\n\n render() {\n const { classes, jobPost, isOpen } = this.props\n\n const hiringPeriod = jobPost.hiringPeriod\n const duration = durationBetweenISODates(jobPost.startDate, jobPost.endDate)\n\n return (\n \n \n Apply for Job\n \n \n {this.error}\n \n \n \n \n {jobPost.title}\n \n \n \n \n {jobPost.location ? jobPost.location.name : \"\"}\n \n \n \n \n {humanizeString(jobPost.employmentType)}\n \n \n {hiringPeriod &&\n \n \n {hiringPeriod}\n \n \n }\n {duration &&\n \n \n {duration}\n \n \n }\n {this.showSummary && this.renderSummary()}\n {this.showQuestion >= 0 && this.renderQuestion()}\n \n \n \n \n {this.renderActionButtons()}\n \n \n \n {this.isAuthVisible &&\n this.isAuthVisible = false} />\n }\n {this.isGovGigApplyVisible &&\n this.isGovGigApplyVisible =false}\n onApply={this.onGovGigApply}\n />\n }\n \n )\n }\n\n renderActionButtons() {\n const {classes, userStore} = this.props\n\n const buttons = []\n buttons.push()\n if (this.showQuestion >= 0) {\n buttons.push(\n \n \n Prev\n \n \n )\n }\n if (this.showQuestion+1 === this.questions.length && userStore!.isAuthenticated) {\n buttons.push(\n \n Apply\n \n )\n } else {\n buttons.push(\n \n Next\n \n )\n }\n\n return buttons\n }\n\n renderSummary() {\n const { classes, jobPost } = this.props\n\n return (\n \n
Job Summary
\n \n {jobPost.summary}\n \n
\n )\n }\n\n renderMessage() {\n const { classes } = this.props\n return (\n \n \n
Message
\n \n
\n {!this.isCandidate &&\n \n \n Pro Tip: Submit your \n ControlTower.route(Routes.profile)}>\n GovGig Profile\n \n  to make your application complete.\n \n \n }\n
\n )\n }\n\n renderQuestion() {\n const { classes } = this.props\n if (this.showQuestion+1 > this.questions.length) {\n return null\n }\n\n let card = null\n const question = this.questions[this.showQuestion]\n const answer = this.showQuestion < this.answers.length ? this.answers[this.showQuestion] : undefined\n switch (question.type) {\n case QuestionType.CertificationQuestion:\n card = \n break\n case QuestionType.EducationQuestion:\n card = \n break\n case QuestionType.ExperienceQuestion:\n card = \n break\n case QuestionType.LocationQuestion:\n card = \n break\n case QuestionType.YesNoQuestion:\n card = \n break\n case QuestionType.SecurityClearanceQuestion:\n card = \n break\n }\n\n return (\n \n
Question {this.showQuestion+1} of {this.questions.length}
\n {card}\n
\n )\n }\n\n isSignupQuestion = () => {\n return (this.showQuestion === 0 && this.questions.length > 0 && this.questions[0].name === SignupQuestion)\n }\n\n onChangeMessage = (event: any) => {\n this.message = event.target.value\n }\n\n onPrev = () => {\n this.showQuestion -= 1\n this.showSummary = this.showQuestion < 0\n }\n\n onNext = () => {\n if (this.isSignupQuestion()) {\n const answer = this.answers[0]\n console.log(`Signup Answer: ${answer.value}`)\n if (answer?.value === \"true\") {\n // Show Login Dialog\n this.isAuthVisible = true\n } else {\n // Show Apply Dialog\n this.isGovGigApplyVisible = true\n }\n } else {\n this.showQuestion += 1\n this.showSummary = false\n }\n }\n\n onAnswer = (answer: Answer) => {\n const index = this.answers.findIndex((a: Answer) => a.name === answer.name)\n if (index >= 0) {\n this.answers[index] = answer\n console.debug(`answer[${index}] = ${JSON.stringify(answer)}`)\n } else {\n this.answers.push(answer)\n console.debug(`answer[${this.answers.length-1}] = ${JSON.stringify(answer)}`)\n }\n }\n\n onLogin = () => {\n this.isAuthVisible = false\n if (this.showQuestion < this.questions.length-1) {\n this.showQuestion += 1\n }\n }\n\n onGovGigApply = () => {\n this.isGovGigApplyVisible = false\n if (this.showQuestion < this.questions.length-1) {\n this.showQuestion += 1\n }\n }\n\n onSubmit = async () => {\n const {onSubmit, jobPost, userStore, jobStore, profileStore, notify} = this.props\n\n this.isProcessing = true\n this.error = \"\"\n\n // Remove Signin Question answer if present\n let answers: Answer[]\n if (this.answers.length > 0 && this.answers['name'] === SignupQuestion) {\n answers = this.answers.slice(1)\n } else {\n answers = this.answers\n }\n\n let jobInterest: JobInterest | undefined | void = jobPost.jobInterests.length > 0 ? jobPost.jobInterests[0] : undefined\n if (!jobInterest) {\n // Create new jobInterest\n const input: CreateJobInterestInput = {\n userId: userStore!.user!.id,\n jobPostId: jobPost.id,\n status: JobInterestStatus.Applied,\n ranking: 0,\n message: this.message,\n application: answers.length > 0 ? JSON.stringify(answers) : null\n }\n\n jobInterest = await jobStore!.createJobInterest(input)\n .catch((err: Error) => {\n this.error = \"Error applying for job.\"\n })\n\n if (jobInterest) {\n jobPost.jobInterests.push(jobInterest)\n }\n } else {\n // Update JobInterest\n const input: UpdateJobInterestInput = {\n id: jobInterest.id,\n status: JobInterestStatus.Applied,\n message: this.message,\n application: answers.length > 0 ? JSON.stringify(answers) : null\n }\n jobInterest = await jobStore!.updateJobInterest(input)\n .catch((err: Error) => {\n this.error = \"Error applying for job.\"\n })\n\n if (jobInterest) {\n jobPost.jobInterests[0] = jobInterest\n }\n\n this.isProcessing = false\n }\n\n if (this.error === \"\" && onSubmit) {\n let variant: NotifyVariant = \"success\"\n if (userStore!.isApplicant) {\n const profile = await profileStore!.getUserProfile(userStore!.user!.id)\n if (profile && profile.profileStatus !== ProfileStatus.Accepted) {\n // Add a note to the profile\n const notes = profile.notes && profile.notes.length > 0 ?\n `${profile.notes} \\n ${getISODateToday()} Applied for ${jobPost.title}` :\n `${getISODateToday()} Applied for ${jobPost.title}`\n const update: UpdateProfileInput = {\n id: profile.id,\n notes: notes\n }\n await profileStore!.updateProfile(update)\n }\n if (profile && profile.profileStatus === ProfileStatus.Pending) {\n variant = \"info\"\n notify!.show(variant, \"Your application has been submitted! Please complete your profile to make your application stand out.\")\n ControlTower.route(Routes.profile)\n return\n }\n }\n\n notify!.show(variant, \"Your application has been submitted!\")\n onSubmit(jobPost)\n }\n }\n\n onClose = () => {\n const { onClose } = this.props\n this.showSummary = true\n this.showQuestion = -1\n\n if (onClose) {\n onClose()\n }\n }\n\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(JobInterestApplyDialog)))","import {createMachine} from 'xstate'\nimport {useMachine} from '@xstate/react';\nimport {CreateUserActivityInput, JobCandidateStatus, SubjectType, UpdateJobCandidateInput} from '../../API'\nimport {useEffect, useState} from 'react';\nimport JobCandidate from '../../model/JobCandidate';\nimport {useStores} from '../../stores/StoreProvider';\nimport {\n Box,\n Button,\n ButtonGroup,\n createStyles,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n Grid,\n Link,\n makeStyles,\n Paper,\n Theme,\n Typography,\n useTheme\n} from '@material-ui/core';\nimport {\n LockOpen,\n Phone,\n ThumbDown,\n ThumbDownOutlined,\n ThumbsUpDown,\n ThumbsUpDownOutlined,\n ThumbUp,\n ThumbUpOutlined\n} from '@material-ui/icons';\nimport {phoneToNationalFormat} from '../../stores/StoreUtilities';\nimport ModalDialog from \"../ModalDialog\";\nimport CardValue from \"../CardValue\";\nimport FormValidator from \"../form/FormValidator\";\nimport CancelButton from \"../form/CancelButton\";\nimport ProgressButton from \"../form/ProgressButton\";\nimport JobInterestApplyDialog from \"../jobPosts/JobInterestApplyDialog\";\nimport {ActivityType} from \"../../model/UserActivity\";\n\nconst useStyles = makeStyles((theme: Theme) => createStyles({\n boxSx: {\n display: \"flex\",\n flexDirection: \"column\",\n alignItems: \"center\"\n },\n buttonStyle: {\n height: 36,\n maxHeight: 36\n },\n iconButtonStyle: {\n height: 36,\n maxHeight: 36,\n paddingRight: 4\n },\n form: {\n overflowY: \"auto\",\n display: \"flex\",\n flexDirection: \"column\"\n },\n progressButton: {\n minWidth: 80\n },\n link: {\n cursor: \"pointer\"\n },\n stepText: {\n fontWeight: 700\n }\n}))\n\nenum JobCandidateActions {\n INTERESTED = 'INTERESTED',\n INVITE = 'INVITE',\n APPLY = 'APPLY',\n REVIEW = 'REVIEW',\n ACCEPT = 'ACCEPT',\n REJECT = 'REJECT',\n UNLOCK = 'UNLOCK',\n CONTACT = 'CONTACT',\n HIRE = 'HIRE',\n DECLINE = 'DECLINE'\n}\n\nconst stateMachine = createMachine({\n id: 'createJobPost',\n initial: 'loading',\n states: {\n loading: {\n on: { \n [JobCandidateActions.INTERESTED]: JobCandidateStatus.Interested,\n [JobCandidateActions.INVITE]: JobCandidateStatus.Invited,\n [JobCandidateActions.APPLY]: JobCandidateStatus.Applied,\n [JobCandidateActions.REVIEW]: JobCandidateStatus.Reviewing,\n [JobCandidateActions.ACCEPT]: JobCandidateStatus.Accepted,\n [JobCandidateActions.REJECT]: JobCandidateStatus.Rejected,\n [JobCandidateActions.UNLOCK]: JobCandidateStatus.Unlocked,\n [JobCandidateActions.CONTACT]: JobCandidateStatus.Contacted,\n [JobCandidateActions.HIRE]: JobCandidateStatus.Hired,\n [JobCandidateActions.DECLINE]: JobCandidateStatus.Declined\n }\n },\n [JobCandidateStatus.Interested]: {\n on: {\n [JobCandidateActions.INVITE]: JobCandidateStatus.Invited\n }\n },\n [JobCandidateStatus.Invited]: {\n on: {\n [JobCandidateActions.APPLY]: JobCandidateStatus.Applied\n }\n },\n [JobCandidateStatus.Applied]: {\n on: {\n [JobCandidateActions.ACCEPT]: JobCandidateStatus.Accepted,\n [JobCandidateActions.REVIEW]: JobCandidateStatus.Reviewing,\n [JobCandidateActions.REJECT]: JobCandidateStatus.Rejected,\n [JobCandidateActions.UNLOCK]: JobCandidateStatus.Unlocked,\n [JobCandidateActions.CONTACT]: JobCandidateStatus.Contacted,\n [JobCandidateActions.HIRE]: JobCandidateStatus.Hired,\n [JobCandidateActions.DECLINE]: JobCandidateStatus.Declined\n }\n },\n [JobCandidateStatus.Accepted]: {\n on: {\n [JobCandidateActions.ACCEPT]: JobCandidateStatus.Accepted,\n [JobCandidateActions.REVIEW]: JobCandidateStatus.Reviewing,\n [JobCandidateActions.REJECT]: JobCandidateStatus.Rejected,\n [JobCandidateActions.UNLOCK]: JobCandidateStatus.Unlocked,\n [JobCandidateActions.CONTACT]: JobCandidateStatus.Contacted,\n [JobCandidateActions.HIRE]: JobCandidateStatus.Hired,\n [JobCandidateActions.DECLINE]: JobCandidateStatus.Declined\n }\n },\n [JobCandidateStatus.Reviewing]: {\n on: {\n [JobCandidateActions.ACCEPT]: JobCandidateStatus.Accepted,\n [JobCandidateActions.REVIEW]: JobCandidateStatus.Reviewing,\n [JobCandidateActions.REJECT]: JobCandidateStatus.Rejected,\n [JobCandidateActions.UNLOCK]: JobCandidateStatus.Unlocked,\n [JobCandidateActions.CONTACT]: JobCandidateStatus.Contacted,\n [JobCandidateActions.HIRE]: JobCandidateStatus.Hired,\n [JobCandidateActions.DECLINE]: JobCandidateStatus.Declined\n }\n },\n [JobCandidateStatus.Rejected]: {\n on: {\n [JobCandidateActions.ACCEPT]: JobCandidateStatus.Accepted,\n [JobCandidateActions.REVIEW]: JobCandidateStatus.Reviewing,\n [JobCandidateActions.REJECT]: JobCandidateStatus.Rejected,\n [JobCandidateActions.DECLINE]: JobCandidateStatus.Declined\n }\n },\n [JobCandidateStatus.Unlocked]: {\n on: {\n [JobCandidateActions.ACCEPT]: JobCandidateStatus.Accepted,\n [JobCandidateActions.REVIEW]: JobCandidateStatus.Reviewing,\n [JobCandidateActions.REJECT]: JobCandidateStatus.Rejected,\n [JobCandidateActions.CONTACT]: JobCandidateStatus.Contacted,\n [JobCandidateActions.HIRE]: JobCandidateStatus.Hired,\n [JobCandidateActions.DECLINE]: JobCandidateStatus.Declined\n }\n },\n [JobCandidateStatus.Contacted]: {\n on: {\n [JobCandidateActions.ACCEPT]: JobCandidateStatus.Accepted,\n [JobCandidateActions.REVIEW]: JobCandidateStatus.Reviewing,\n [JobCandidateActions.REJECT]: JobCandidateStatus.Rejected,\n [JobCandidateActions.CONTACT]: JobCandidateStatus.Contacted,\n [JobCandidateActions.HIRE]: JobCandidateStatus.Hired,\n [JobCandidateActions.DECLINE]: JobCandidateStatus.Declined\n }\n },\n [JobCandidateStatus.Hired]: {\n on: {\n [JobCandidateActions.CONTACT]: JobCandidateStatus.Hired,\n [JobCandidateActions.DECLINE]: JobCandidateStatus.Declined\n }\n },\n [JobCandidateStatus.Declined]: {\n on: {\n }\n }\n }\n})\n\nconst JobCandidateStatusFlow = ({\n jobCandidate,\n onClickProfile,\n onUpdateJobCandidate,\n elevation\n}: {\n jobCandidate: JobCandidate\n onClickProfile?(): void\n onUpdateJobCandidate(jobCandidate: JobCandidate): void\n elevation?: number \n}) => {\n const [isProcessing, setIsProcessing] = useState(false)\n const [isApplyDialogOpen, setIsApplyDialogOpen] = useState(false)\n const [isContactDialogOpen, setIsContactDialogOpen] = useState(false)\n const [isUnlockDialogOpen, setIsUnlockDialogOpen] = useState(false)\n const [statusStep, setStatusStep] = useState(1)\n const [message, setMessage] = useState(\"\")\n const [currentState, send, service] = useMachine(stateMachine)\n const { jobStore, userStore, notify, progress } = useStores()\n const progressName = \"JobCandidateStatusFlow\"\n const theme = useTheme()\n const classes = useStyles()\n\n useEffect(() => {\n const subscription = service.subscribe((state) => {\n // simple state logging\n // console.log(\"Current State: \", JSON.stringify(state.value, null, 2));\n });\n \n return subscription.unsubscribe;\n }, [\n service // note: service should never change\n ]); \n\n useEffect(() => {\n progress.show(progressName)\n\n const status = jobCandidate.status\n switch(status) {\n case JobCandidateStatus.Interested: \n send(JobCandidateActions.INTERESTED)\n break\n case JobCandidateStatus.Invited: \n send(JobCandidateActions.INVITE)\n break\n case JobCandidateStatus.Applied: \n send(JobCandidateActions.APPLY)\n break\n case JobCandidateStatus.Accepted: \n send(JobCandidateActions.ACCEPT)\n break;\n case JobCandidateStatus.Reviewing: \n send(JobCandidateActions.REVIEW)\n break\n case JobCandidateStatus.Rejected: \n send(JobCandidateActions.REJECT)\n break\n case JobCandidateStatus.Unlocked:\n send(JobCandidateActions.UNLOCK)\n break\n case JobCandidateStatus.Contacted:\n send(JobCandidateActions.CONTACT)\n break\n case JobCandidateStatus.Hired:\n send(JobCandidateActions.HIRE)\n break\n case JobCandidateStatus.Declined: \n send(JobCandidateActions.DECLINE)\n break\n }\n\n progress.hide(progressName)\n })\n\n useEffect(() => {\n switch (currentState.value) {\n case JobCandidateStatus.Interested:\n setStatusStep(StatusStep.Initiate)\n if (userStore.isAdminOrAgent) {\n setMessage(Next Step: Invite candidate to apply | Apply for candidate)\n } else {\n setMessage(\"Next Step: Invite candidate to apply.\")\n }\n break\n case JobCandidateStatus.Invited:\n setStatusStep(StatusStep.Review)\n if (userStore.isAdminOrAgent) {\n setMessage(Next Step: Review profile and wait for candidate to apply | Apply for candidate)\n } else {\n setMessage(\"Next Step: Review profile and wait for candidate to apply.\")\n }\n break\n case JobCandidateStatus.Applied:\n setStatusStep(StatusStep.Review)\n setMessage(\"Next Step: Review candidate answers and profile and select thumbs up/down/undecided.\")\n break\n case JobCandidateStatus.Accepted:\n setStatusStep(jobCandidate.unlocked ? StatusStep.Decide : StatusStep.Contact)\n setMessage(\"Next Step: Unlock the candidate to contact and reveal their name and resume.\")\n break\n case JobCandidateStatus.Reviewing:\n setStatusStep(StatusStep.Review)\n setMessage(\"Next Step: Review candidate answers and profile to decide thumbs up or down.\")\n break\n case JobCandidateStatus.Rejected:\n setStatusStep(StatusStep.Decide)\n setMessage(\"Candidate has not been accepted.\")\n break\n case JobCandidateStatus.Unlocked:\n setStatusStep(StatusStep.Contact)\n setMessage(\"Next Step: Contact the client to interview and make a hiring decision.\")\n break\n case JobCandidateStatus.Contacted:\n setStatusStep(StatusStep.Decide)\n setMessage(\"Next Step: Contact the client to interview and make a hiring decision.\")\n break\n case JobCandidateStatus.Hired:\n setStatusStep(StatusStep.Done)\n setMessage(\"Congratulations, this candidate has been hired!\")\n break\n case JobCandidateStatus.Declined:\n setStatusStep(StatusStep.Done)\n setMessage(\"This candidate has been declined for hiring.\")\n break\n default:\n setStatusStep(StatusStep.Done)\n setMessage(\"\")\n break\n }\n }, [currentState.value])\n\n const updateStatus = async (status: JobCandidateStatus) => {\n progress!.show(progressName)\n setIsProcessing(true)\n \n const input: UpdateJobCandidateInput = {\n id: jobCandidate.id,\n status: status\n }\n\n const update = await jobStore!.updateJobCandidate(input)\n .catch ((error: Error) => {\n notify!.show(\"error\", \"Error updating candidate status\")\n })\n\n if (update) {\n const activity: CreateUserActivityInput = {\n userId: userStore.user!.id,\n subjectType: SubjectType.JobCandidate,\n subjectId: jobCandidate.id,\n activityType: ActivityType.JobCandidateStatusUpdated,\n actorId: userStore.user!.id,\n actorName: userStore.user!.fullName,\n accountId: userStore.user!.accountId,\n details: `Status changed to ${status}`\n }\n userStore.createUserActivity(activity)\n onUpdateJobCandidate(update)\n }\n\n progress!.hide(progressName)\n setIsProcessing(false)\n }\n\n const onApply = async () => {\n setIsApplyDialogOpen(true)\n }\n\n const unlockCandidate = async () => {\n progress!.show(progressName)\n setIsProcessing(true)\n\n const update = await jobStore!.unlockJobCandidate(jobCandidate)\n .catch ((error: Error) => {\n notify!.show(\"error\", error.message)\n })\n\n if (update) {\n await updateStatus(JobCandidateStatus.Unlocked)\n send(JobCandidateActions.UNLOCK)\n onUpdateJobCandidate(update)\n setIsUnlockDialogOpen(false)\n }\n\n progress!.hide(progressName)\n setIsProcessing(false)\n }\n\n const isActionDisabled = (action: string) => {\n return (currentState.nextEvents.findIndex((a: string) => a === action) < 0)\n }\n\n const finalStyle = {\n backgroundColor: theme.palette.primary.main,\n color: theme.palette.primary.contrastText\n }\n\n const renderStepNumber = (step: number, active: boolean) => {\n let bgColor = \"text.disabled\"\n if (active) {\n bgColor = \"secondary.main\"\n } else if (step === StatusStep.Decide && statusStep === StatusStep.Done) {\n if (currentState.value === JobCandidateStatus.Declined) {\n bgColor = \"error.dark\"\n } else if (currentState.value === JobCandidateStatus.Hired) {\n bgColor = \"success.dark\"\n }\n }\n return (\n \n {step}\n \n )\n }\n\n const renderInitiateStep = () => {\n // TODO: Should we check to make sure the job post is published first? \n // const isUnpublished = jobStore.isJobPostUnpublished(jobCandidate.jobPost!)\n // const isDisabled = isUnpublished\n if (currentState.matches(JobCandidateStatus.Interested)) {\n return (\n \n {\n await updateStatus(JobCandidateStatus.Invited)\n // notify.show(\"success\", 'Invited Candidate to Apply')\n send(JobCandidateActions.INVITE)\n }}\n // disabled={isDisabled}\n >\n Invite\n \n \n )\n } else if (currentState.matches(JobCandidateStatus.Invited)) {\n return (\n \n { }}\n disabled={true}\n >\n Invited\n \n \n )\n } else {\n // Assume applied?\n return (\n \n { }}\n disabled={true}\n >\n Applied\n \n \n )\n }\n }\n\n const renderReviewStep = () => {\n if (currentState.matches(JobCandidateStatus.Applied) || currentState.matches(JobCandidateStatus.Reviewing)) {\n return (\n \n {\n if (onClickProfile) {\n onClickProfile()\n }\n }}\n >\n Profile\n \n \n )\n } else {\n return (\n \n {\n if (onClickProfile) {\n onClickProfile()\n }\n }}\n disabled={!onClickProfile}\n >\n Profile\n \n \n )\n }\n }\n\n const renderRateStep = () => {\n\n let isAccepted = false\n let isReviewing = false\n let isRejected = false\n\n switch (currentState.value) {\n case JobCandidateStatus.Accepted:\n case JobCandidateStatus.Unlocked:\n case JobCandidateStatus.Contacted:\n case JobCandidateStatus.Hired:\n isAccepted = true\n break\n case JobCandidateStatus.Reviewing:\n isReviewing = true\n break\n case JobCandidateStatus.Rejected:\n case JobCandidateStatus.Declined:\n isRejected = true\n break\n }\n\n return (\n \n {\n await updateStatus(JobCandidateStatus.Accepted)\n send(JobCandidateActions.ACCEPT)\n }}\n startIcon={ isAccepted ? : }\n > \n {\n await updateStatus(JobCandidateStatus.Reviewing)\n send(JobCandidateActions.REVIEW)\n }}\n startIcon={ isReviewing ? : }\n > \n {\n await updateStatus(JobCandidateStatus.Rejected)\n send(JobCandidateActions.REJECT)\n }}\n startIcon={ isRejected ? : }\n > \n \n )\n }\n\n const renderContactStep = () => {\n if (!jobCandidate.unlocked) {\n return (\n \n {\n setIsUnlockDialogOpen(true)\n // await unlockCandidate()\n // await updateStatus(JobCandidateStatus.Contacted)\n // send(JobCandidateActions.UNLOCK)\n }}\n startIcon={}\n >\n Unlock\n \n \n )\n } else {\n return (\n \n {\n if (!currentState.matches(JobCandidateStatus.Contacted) &&\n !currentState.matches(JobCandidateStatus.Hired) &&\n !currentState.matches(JobCandidateStatus.Declined)) {\n await updateStatus(JobCandidateStatus.Contacted)\n send(JobCandidateActions.CONTACT)\n }\n setIsContactDialogOpen(true)\n }}\n startIcon={}\n >\n Contact\n \n \n )\n }\n }\n\n const renderUnlockDialog = () => {\n if (!isUnlockDialogOpen) {\n return null\n }\n const jobPost = jobCandidate!.jobPost!\n return (\n setIsUnlockDialogOpen(false)}\n fullWidth\n maxWidth=\"sm\"\n scroll=\"paper\"\n >\n \n Unlock Candidate Contact Info\n \n Unlock the Candidate's contact information for this Job Post.\n {`You have ${jobPost.unlocksAvailable} unlocks remaining for this job post.`}\n {/* \n {error}\n */}\n \n \n \n {jobCandidate?.profile?.initials}\n \n \n \n \n {jobPost.title}\n \n \n \n \n {jobPost.location!.name}\n \n \n \n \n \n \n setIsUnlockDialogOpen(false)} />\n \n Unlock\n \n \n \n \n \n )\n }\n\n const renderContactDialog = () => {\n if (!jobCandidate.profile || !jobCandidate.profile.user) {\n return null\n }\n\n const user = jobCandidate.profile.user\n\n const labelStyle = { flex: \"0 0 100px\" }\n return (\n setIsContactDialogOpen(false) }\n >\n \n \n {user.email}\n \n \n {phoneToNationalFormat(user.phone)}\n \n \n \n )\n }\n\n const renderDecideStep = () => {\n return (\n \n {\n await updateStatus(JobCandidateStatus.Hired)\n send(JobCandidateActions.HIRE)\n }}\n // startIcon={ isSmall === false && }\n >\n {currentState.matches(JobCandidateStatus.Hired) ? \"Hired\" : \"Hire\"}\n \n {\n await updateStatus(JobCandidateStatus.Declined)\n send(JobCandidateActions.DECLINE)\n }}\n // startIcon={ isSmall === false && }\n >\n {currentState.matches(JobCandidateStatus.Declined) ? \"Declined\" : \"Decline\"}\n \n \n )\n }\n\n const renderApplyDialog = () => {\n const jobPost = jobCandidate!.jobPost!\n return (\n {\n await updateStatus(JobCandidateStatus.Applied)\n send(JobCandidateActions.APPLY)\n setIsApplyDialogOpen(false)\n }}\n onClose={() => {\n setIsApplyDialogOpen(false)\n }}\n />\n )\n }\n\n enum StatusStep {\n Initiate= 1,\n Review,\n Rate,\n Contact,\n Decide,\n Done\n }\n\n // let statusStep: StatusStep\n // let message\n\n\n\n return (\n \n {/* \n { renderContactButton() }\n */}\n \n \n \n \n { renderStepNumber(1, statusStep === StatusStep.Initiate)}\n \n Initiate\n \n { renderInitiateStep() }\n \n \n \n \n { renderStepNumber(2, statusStep === StatusStep.Review)}\n \n Review\n \n { renderReviewStep() }\n \n \n \n \n { renderStepNumber(3, (statusStep === StatusStep.Review && !isActionDisabled(JobCandidateActions.ACCEPT)))}\n \n Rate\n \n { renderRateStep() }\n \n \n \n \n { renderStepNumber(4, statusStep === StatusStep.Contact)}\n \n\n Contact\n \n { renderContactStep() }\n \n \n \n \n { renderStepNumber(5, statusStep === StatusStep.Decide)}\n \n Decide\n \n { renderDecideStep() }\n \n \n \n \n {message}\n \n \n \n \n {isContactDialogOpen && renderContactDialog()}\n {isUnlockDialogOpen && renderUnlockDialog()}\n {isApplyDialogOpen && renderApplyDialog()}\n \n )\n}\n\nexport default JobCandidateStatusFlow\n","import { blueGrey, grey, orange } from \"@material-ui/core/colors\"\nimport { createTheme } from '@material-ui/core/styles'\n\nexport const rawTheme = createTheme({\n palette: {\n type: \"light\",\n background: {\n default: '#E7E9EB', // '#fff', // '#EDEEF2', // '#dedada', // '#fff', // '#E1E3E5', // '#E7E1E1', // '#dedada', // blueGrey[50], // off white\n paper: '#fff' // pure white\n },\n primary: {\n main: '#0d346a', // darkish blue\n 100: '#d4e3f9',\n 200: '#90b8f1',\n 500: '#2e507e',\n 600: '#203857',\n 700: '#152438'\n },\n secondary: {\n main: '#0393ee', // brightish blue\n light: '#29a8fc' //'#5dbdfc' // \n },\n action: {\n active: '#0393ee',\n selected: '#0393ee',\n hover: '#0393ee'\n },\n warning: {\n main: orange[500],\n dark: orange[900],\n light: orange[50]\n },\n divider: grey[200], // '#D72322' // red\n text: {\n primary: '#333',\n secondary: '#777'\n },\n grey: {\n 50: '#f5f7f8',\n 100: '#F3F5F7',\n 200: '#f5f7f9',\n 300: '#e7e9eb',\n 400: '#dbdee1',\n 500: '#c0c5ca'\n }\n },\n typography: {\n // useNextVariants: true,\n button: {\n textTransform: 'initial',\n fontFamily: [\n 'Roboto',\n 'sans-serif'\n ].join(','),\n fontSize: \"16px !important\",\n fontWeight: 400,\n lineHeight: 1.5,\n letterSpacing: \"0.00938em\"\n },\n h1: {\n fontFamily: [\n 'Montserrat',\n 'sans-serif'\n ].join(',')\n },\n h2: {\n fontFamily: [\n 'Montserrat',\n 'sans-serif'\n ].join(',')\n },\n h3: {\n fontFamily: [\n 'Montserrat',\n 'sans-serif'\n ].join(',')\n },\n h4: {\n fontFamily: [\n 'Montserrat',\n 'sans-serif'\n ].join(',')\n },\n h5: {\n fontFamily: [\n 'Montserrat',\n 'sans-serif'\n ].join(',')\n },\n h6: {\n fontFamily: [\n 'Montserrat',\n 'sans-serif'\n ].join(','),\n fontSize: 16\n },\n body1: {\n fontFamily: [\n 'Open Sans',\n 'Roboto',\n 'sans-serif'\n ].join(','),\n fontSize: 16\n },\n body2: {\n fontFamily: [\n 'Open Sans',\n 'Roboto',\n 'sans-serif'\n ].join(','),\n fontSize: 14\n }\n },\n shape: {\n borderRadius: 10\n }\n})\n\nconst theme = {\n ...rawTheme,\n typography: {\n ...rawTheme.typography,\n h1: {\n ...rawTheme.typography.h1,\n fontWeight: 800,\n fontSize: 44,\n [rawTheme.breakpoints.down('sm')]: {\n fontSize: 32\n },\n },\n h2: {\n ...rawTheme.typography.h2,\n fontWeight: 700,\n fontSize: 32,\n [rawTheme.breakpoints.down('sm')]: {\n fontSize: 24\n },\n },\n h3: {\n ...rawTheme.typography.h3,\n fontWeight: 600,\n fontSize: 22,\n [rawTheme.breakpoints.down('sm')]: {\n fontSize: 18\n },\n },\n h4: {\n ...rawTheme.typography.h4,\n fontWeight: 300,\n fontSize: 20,\n [rawTheme.breakpoints.down('sm')]: {\n fontSize: 18\n }\n },\n h5: {\n ...rawTheme.typography.h5,\n fontWeight: 800,\n fontSize: 16,\n [rawTheme.breakpoints.down('sm')]: {\n fontSize: 14\n },\n textTransform: 'uppercase'\n }\n },\n overrides: {\n // How to override the Box background color: \n // MuiCssBaseline: {\n // \"@global\": {\n // \".MuiBox-root\": {\n // backgroundColor: blueGrey[50]\n // }\n // }\n // },\n // How to change the tabs background color: \n // MuiTabs: {\n // root: {\n // backgroundColor: rawTheme.palette.common.white\n // }\n // },\n MuiMenuItem: {\n root: {\n \"&:hover\": {\n backgroundColor: rawTheme.palette.secondary.main\n }\n }\n },\n MuiDialog: {\n paperFullWidth: {\n [rawTheme.breakpoints.down('xs')]: {\n margin: 0,\n width: 'calc(100% - 32px) !important',\n }\n }\n },\n MuiDialogTitle: {\n root: {\n [rawTheme.breakpoints.down('xs')]: {\n paddingLeft: rawTheme.spacing(2),\n },\n [rawTheme.breakpoints.up('sm')]: {\n paddingLeft: rawTheme.spacing(3),\n },\n backgroundColor: rawTheme.palette.primary.main,\n color: rawTheme.palette.common.white\n }\n },\n MuiDialogContent: {\n root: {\n [rawTheme.breakpoints.down('xs')]: {\n paddingLeft: rawTheme.spacing(2),\n paddingRight: rawTheme.spacing(2),\n },\n [rawTheme.breakpoints.up('sm')]: {\n paddingLeft: rawTheme.spacing(3),\n paddingRight: rawTheme.spacing(3),\n },\n }\n },\n MuiDialogActions: {\n root: {\n justifyContent: \"flex-end\",\n alignItems: \"center\",\n [rawTheme.breakpoints.down('xs')]: {\n paddingLeft: rawTheme.spacing(2),\n paddingRight: rawTheme.spacing(2),\n paddingTop: rawTheme.spacing(1),\n paddingBottom: rawTheme.spacing(1),\n },\n [rawTheme.breakpoints.up('sm')]: {\n paddingLeft: rawTheme.spacing(3),\n paddingRight: rawTheme.spacing(3),\n paddingTop: rawTheme.spacing(2),\n paddingBottom: rawTheme.spacing(2),\n },\n backgroundColor: blueGrey[100]\n }\n },\n // MuiButton: {\n // root: {\n // boxShadow: 'rgba(0, 0, 0, 0.25) 0px 5px 7px 0px'\n // }\n // },\n MuiPaper: {\n elevation1: {\n boxShadow: 'rgba(0, 0, 0, 0.15) 0px 5px 10px 0px'\n }, \n elevation2: {\n boxShadow: 'rgba(149, 157, 165, 0.5) 0px 0px 17px'\n }\n // root: {\n\n // }\n },\n MuiTableCell: {\n root: {\n borderBottom: '1px solid #ececec',\n },\n },\n MuiButton: {\n root: {\n fontFamily: [\n 'Open Sans',\n 'Roboto',\n 'sans-serif'\n ].join(','),\n fontSize: 16\n }\n },\n MuiLink: {\n root: {\n fontSize: 16 \n }\n }\n }\n}\n\nexport default theme \n","import React, {useEffect, useRef, useState} from 'react';\nimport {\n alpha,\n Box, Button,\n createStyles, FormControlLabel, FormLabel,\n IconButton,\n makeStyles,\n Paper,\n TextareaAutosize,\n TextField,\n Theme, Typography\n} from \"@material-ui/core\";\nimport JobCandidate from \"../../model/JobCandidate\";\nimport theme from \"../../styles/theme\";\nimport {useStores} from \"../../stores/StoreProvider\";\nimport SendIcon from '@material-ui/icons/Send';\nimport MenuIcon from '@material-ui/icons/MoreVert';\nimport UserActivity, {ActivityType} from \"../../model/UserActivity\";\nimport {\n CreateUserActivityInput,\n ModelSortDirection,\n ModelUserActivityFilterInput,\n SubjectType,\n UpdateUserActivityInput\n} from \"../../API\";\nimport {isoDateToWhen} from \"../../stores/StoreUtilities\";\nimport MenuButton, {IMenuItem} from \"../controls/MenuButton\";\n\nconst useStyles = makeStyles((theme: Theme) => createStyles({\n notesFrame: {\n display: \"flex\",\n flexDirection: \"column\",\n flexGrow: 1,\n height: 120,\n maxHeight: 120,\n backgroundColor: theme.palette.background.paper,\n borderRadius: 10,\n border: `1px solid ${theme.palette.grey[300]}`,\n },\n notesList: {\n display: \"flex\",\n flexDirection: \"column\",\n flexGrow: 1,\n padding: 8,\n overflow: \"scroll\",\n },\n textFrame: {\n display: \"flex\",\n flexDirection: \"row\",\n justifyContent: \"space-between\",\n paddingTop: 0,\n marginTop: theme.spacing(1),\n height: 30,\n maxHeight: 30,\n },\n buttonFrame: {\n display: \"flex\",\n flexDirection: \"row\",\n justifyContent: \"flex-end\",\n alignItems: \"center\",\n paddingTop: 4,\n marginTop: theme.spacing(1),\n height: 30,\n maxHeight: 30,\n },\n noteMenu: {\n display: \"flex\",\n flexGrow: 0,\n alignItems: \"top\",\n alignContent: \"top\",\n width: 20,\n marginRight: 8,\n textAlign: \"right\",\n },\n iconButton: {\n color: alpha(theme.palette.secondary.main, 1),\n marginRight: 6,\n padding: 0,\n width: 16,\n \"&:hover\": {\n color: alpha(theme.palette.secondary.main, 1),\n },\n },\n sendButton: {\n color: theme.palette.secondary.main,\n paddingRight: 4\n },\n fieldLabel: {\n fontSize: 12,\n fontWeight: 400,\n color: theme.palette.text.secondary,\n }\n}))\n\nconst JobCandidateNotes = ({\n jobCandidate,\n elevation\n}: {\n jobCandidate: JobCandidate\n elevation?: number\n}) => {\n const [activityList, setActivityList] = useState([])\n const [text, setText] = useState(\"\")\n const [editId, setEditId] = useState()\n const [editText, setEditText] = useState(\"\")\n const [deleteId, setDeleteId] = useState()\n const [deleteText, setDeleteText] = useState(\"\")\n\n const { userStore, notify } = useStores()\n const classes = useStyles();\n const scrollRef = useRef(null)\n\n useEffect(() => {\n loadActivity()\n }, [jobCandidate])\n\n useEffect(() => {\n if (scrollRef.current) {\n (scrollRef.current as Element).scrollIntoView({ behavior: 'auto', block: 'nearest', inline: 'start' });\n }\n }, [activityList])\n\n const handleAddNote = async () => {\n const input: CreateUserActivityInput = {\n userId: userStore.user!.id,\n subjectType: SubjectType.JobCandidate,\n subjectId: jobCandidate.id,\n activityType: ActivityType.NoteAdded,\n actorId: userStore.user!.id,\n actorName: userStore.user!.fullName,\n accountId: jobCandidate.accountId,\n details: text\n }\n const activity = await userStore!.createUserActivity(input)\n .catch((err: any) => {\n notify.show(\"error\", err.message)\n })\n\n if (activity) {\n setActivityList([...activityList, activity])\n setText(\"\")\n }\n }\n\n const loadActivity = async () => {\n const filter: ModelUserActivityFilterInput = {\n activityType: { eq: ActivityType.NoteAdded }\n }\n\n const activity = await userStore.listUserActivityBySubject(jobCandidate.id, filter, ModelSortDirection.ASC)\n setActivityList(activity)\n }\n\n const renderNote = (a: UserActivity) => {\n const when = isoDateToWhen(a.createdAt)\n let content\n if (a.actorName) {\n if (a.updatedAt > a.createdAt) {\n content =

{a.actorName} - {when} (edited {isoDateToWhen(a.updatedAt)})
{a.details}

\n } else {\n content =

{a.actorName} - {when}
{a.details}

\n }\n } else {\n content =

{when}
{a.details}

\n }\n let menu\n if (a.actorId === userStore!.user!.id) {\n menu = }\n menuItems={[\n {label:\"Edit\", value:a.id, selected:false},\n {label:\"Delete\", value:a.id, selected:false}\n ]}\n onClickMenuItem={onClickMenuItem}\n />\n }\n\n return (\n \n \n {content}\n \n {menu &&\n \n {menu}\n \n }\n \n )\n }\n\n const onClickMenuItem = (e: any, menuItem: IMenuItem) => {\n const note = activityList.find((a: UserActivity) => a.id === menuItem.value)\n if (note) {\n if (menuItem.label === \"Edit\") {\n setEditId(note.id)\n setEditText(note.details)\n } else if (menuItem.label === \"Delete\") {\n setDeleteId(note.id)\n setDeleteText(note.details)\n }\n }\n }\n\n const onCancel = () => {\n console.log(`onCancel`)\n setEditId(undefined)\n setEditText(\"\")\n setDeleteId(undefined)\n setDeleteText(\"\")\n }\n\n const onSave = async () => {\n const index = activityList.findIndex((a: UserActivity) => a.id === editId)\n if (index >= 0) {\n const note = activityList[index]\n const update: UpdateUserActivityInput = {\n id: note.id,\n details: editText\n }\n const activity = await userStore.updateUserActivity(update)\n if (activity) {\n const newList = [...activityList]\n newList.splice(index, 1, activity)\n setActivityList(newList)\n }\n\n setEditId(undefined)\n setEditText(\"\")\n }\n }\n\n const onDelete = async () => {\n const index = activityList.findIndex((a: UserActivity) => a.id === deleteId)\n if (index >= 0) {\n const newList = [...activityList]\n newList.splice(index, 1)\n setActivityList(newList)\n\n setDeleteId(undefined)\n }\n }\n\n if (deleteId) {\n return (\n \n \n Confirm Delete\n {deleteText}\n \n \n \n \n \n \n )\n } else if (editId) {\n return (\n \n \n {\n setEditText(event.target.value)\n }}\n InputProps={{\n disableUnderline: true\n }}\n />\n \n \n \n \n \n \n )\n } else {\n return (\n \n \n \n {activityList.map((a: UserActivity) => renderNote(a))}\n \n \n \n \n \n setText(event.target.value)}\n onKeyPress={(event:any) => {\n if (event.key === 'Enter') {\n event.preventDefault()\n handleAddNote()\n }\n }}\n />\n \n \n handleAddNote()}>\n \n \n \n \n \n )\n }\n\n}\n\nexport default JobCandidateNotes","import React, {useEffect, useRef, useState} from 'react';\nimport {\n Box,\n createStyles,\n makeStyles,\n Theme,\n} from \"@material-ui/core\";\nimport JobCandidate from \"../../model/JobCandidate\";\nimport {useStores} from \"../../stores/StoreProvider\";\nimport UserActivity, {ActivityType} from \"../../model/UserActivity\";\nimport {\n ModelSortDirection,\n ModelUserActivityFilterInput,\n} from \"../../API\";\nimport {isoDateToWhen} from \"../../stores/StoreUtilities\";\n\nconst useStyles = makeStyles((theme: Theme) => createStyles({\n activityFrame: {\n display: \"flex\",\n flexDirection: \"column\",\n flexGrow: 1,\n height: 160,\n maxHeight: 160,\n backgroundColor: theme.palette.background.paper,\n borderRadius: 10,\n border: `1px solid ${theme.palette.grey[300]}`,\n },\n activityList: {\n display: \"flex\",\n flexDirection: \"column\",\n flexGrow: 1,\n padding: 8,\n overflow: \"scroll\",\n }\n}))\n\nconst JobCandidateActivity = ({\n jobCandidate,\n elevation\n}: {\n jobCandidate: JobCandidate\n elevation?: number\n}) => {\n const [activityList, setActivityList] = useState([])\n\n const { userStore, notify } = useStores()\n const classes = useStyles();\n const scrollRef = useRef(null)\n\n useEffect(() => {\n loadActivity()\n }, [jobCandidate])\n\n useEffect(() => {\n if (scrollRef.current) {\n (scrollRef.current as Element).scrollIntoView({ behavior: 'auto', block: 'nearest', inline: 'start' });\n }\n }, [activityList])\n\n const loadActivity = async () => {\n const filter: ModelUserActivityFilterInput = {\n activityType: { ne: ActivityType.NoteAdded }\n }\n\n const activity = await userStore.listUserActivityBySubject(jobCandidate.id, filter, ModelSortDirection.ASC)\n setActivityList(activity)\n }\n\n const renderActivity = (a: UserActivity) => {\n const when = isoDateToWhen(a.createdAt)\n let content\n if (a.actorName) {\n if (a.updatedAt > a.createdAt) {\n content =

{a.actorName} - {when} (edited {isoDateToWhen(a.updatedAt)})
{a.details}

\n } else {\n content =

{a.actorName} - {when}
{a.details}

\n }\n } else {\n content =

{when}
{a.details}

\n }\n\n return (content)\n }\n\n return (\n \n \n \n {activityList.map((a: UserActivity) => renderActivity(a))}\n \n \n \n \n )\n\n}\n\nexport default JobCandidateActivity","import * as React from \"react\";\nimport {\n Box,\n createStyles,\n Grid, Link,\n Paper, \n Theme,\n Typography,\n withStyles,\n WithStyles,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport {inject, observer} from \"mobx-react\";\nimport UserStore from \"../../stores/UserStore\";\nimport JobCandidate from \"../../model/JobCandidate\";\nimport {grey} from \"@material-ui/core/colors\";\nimport JobPost from \"../../model/JobPost\";\nimport Confirm from \"../confirm/Confirm\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport Notify from \"../notify/Notify\";\nimport JobStore from \"../../stores/JobStore\";\nimport AnswerChipArray from \"./AnswerChipArray\";\nimport JobCandidateStatusFlow from \"./JobCandidateStatusFlow\";\nimport ProfileNameView from \"../profile/ProfileNameView\";\nimport Answer from \"../../model/Answer\";\nimport {ProfileStatus, SubjectType} from \"../../API\";\nimport JobCandidateNotes from \"./JobCandidateNotes\";\nimport {makeObservable, observable} from \"mobx\";\nimport UserActivityList from \"../userActivity/UserActivityList\";\nimport theme from \"../../styles/theme\";\nimport JobCandidateActivity from \"./JobCandidateActivity\";\n\nconst styles = (theme: Theme) => createStyles({\n border: {\n border: `1px solid ${grey[300]}`\n },\n tab: {\n color: theme.palette.grey[\"600\"],\n width: 100,\n textAlign: \"center\",\n cursor: \"pointer\"\n },\n activeTab: {\n color: theme.palette.secondary.dark,\n width: 100,\n textAlign: \"center\",\n cursor: \"pointer\"\n },\n tabLabel: {\n fontWeight: 800\n }\n})\n\ninterface IJobCandidateCardProps {\n jobCandidate: JobCandidate\n jobPost?: JobPost\n elevation: number\n onUpdate(jobCandidate: JobCandidate): void\n onDelete(jobCandidate: JobCandidate): void \n onClickTitle?(): void\n \n accountStore?: AccountStore\n jobStore?: JobStore\n confirm?: Confirm\n notify?: Notify\n userStore?: UserStore\n}\n\n@inject('accountStore', 'jobStore', 'confirm', 'userStore')\n@observer\nclass JobCandidateCard extends React.Component & IJobCandidateCardProps & WithWidth> {\n @observable tab = 0\n\n constructor(props: WithStyles & IJobCandidateCardProps & WithWidth) {\n super(props);\n makeObservable(this);\n }\n\n render() {\n const { classes, elevation } = this.props\n return (\n \n \n \n \n { this.renderJobCandidate() }\n \n {/* \n { this.renderStatusArea() }\n */}\n {/**/}\n {/* */}\n {/* */}\n {/* */}\n {/* */}\n {/* /!* Review *!/*/}\n {/* /!* Candidate *!/*/}\n {/* */}\n {/**/}\n \n \n \n )\n }\n\n renderJobCandidate = () => {\n const { \n jobCandidate, \n // userStore, \n onClickTitle,\n classes\n } = this.props\n\n const profile = jobCandidate.profile!\n // const user = profile.user!\n // const name = (userStore!.isAdminOrAgent || jobCandidate.unlocked) ? profile.name : \"\"\n\n return (\n \n \n \n \n \n {jobCandidate.statusText}\n \n \n { this.renderAnswerChips() }\n \n \n \n this.handleTabClick(0)}>\n Status\n \n this.handleTabClick(1)}>\n Notes\n \n this.handleTabClick(2)}>\n Activity\n \n \n {this.tab === 0 &&\n {\n if (this.props.onClickTitle) {\n this.props.onClickTitle()\n }\n }}\n onUpdateJobCandidate={(updatedJobCandidate: JobCandidate) => {\n this.props.onUpdate(updatedJobCandidate)\n }}\n />\n }\n {this.tab === 1 &&\n \n \n \n }\n {this.tab === 2 &&\n \n \n \n }\n \n \n )\n }\n\n renderActivty = () => {\n const { elevation, jobCandidate } = this.props\n\n return (\n \n \n \n \n \n )\n }\n\n handleTabClick = (index: number) => {\n this.tab = index\n }\n\n // renderStatusArea = () => {\n // const { jobCandidate } = this.props\n // return (\n // \n // \n // \n // \n // \n // \n // \n // \n // \n // \n // \n // \n // \n // \n // \n // \n // )\n // }\n\n renderAnswerChips = () => {\n const { jobCandidate } = this.props\n\n if (jobCandidate.application.length > 0) {\n let answers: Answer[] = []\n jobCandidate.application.forEach((a: Answer) => {\n if (a.name === \"Signup Question\") {\n return\n } else if (a.name === \"GovGig Candidate\" && a.value === \"false\" && jobCandidate.profile && jobCandidate.profile.profileStatus === ProfileStatus.Accepted) {\n return\n } else {\n answers.push(a)\n }\n })\n\n if (answers.length > 0) {\n return (\n \n // \n // \n )\n }\n }\n\n return null\n }\n\n // renderActionSelector = () => {\n // return (\n // \n // {/* TODO: Use the split button for actions like inviting a candidate, or making an offer: */}\n // \n // )\n // }\n \n // renderProfileMetadata = () => {\n // const { jobCandidate } = this.props\n // const profile = jobCandidate.profile!\n\n // let location\n // if (profile.city && profile.state) {\n // location = `${profile.city}, ${profile.state}`\n // }\n \n // let availableDate: string | undefined = undefined\n \n // if (profile!.availableDate) {\n // availableDate = format(isoToLocalDate(profile!.availableDate), \"MMM d, yyyy\")\n // }\n // return (\n // \n // \n // { location &&\n // \n // \n // {location}\n // \n // \n // }\n // \n // \n // {availableDate}\n // \n // \n // \n // \n // {profile.desiredRate}\n // \n // \n // \n // \n // {profile.about}\n // \n // \n // \n // \n // )\n // }\n\n // onClickUnfavorite = async () => {\n // const { jobStore, userStore, confirm, jobCandidate, notify, onDelete: onDeleteJobCandidate } = this.props\n\n // // TODO: Should also guard against deletion for other statuses? \n // if (jobCandidate.status === JobCandidateStatus.Hired) {\n // return \n // }\n\n // confirm!.show('Confirm Remove Candidate', \n // `Please confirm you want to remove this candidate from the job post.`,\n // [\"Confirm\",\"Cancel\"], async () => {\n // const deleted = await jobStore!.deleteJobCandidate(jobCandidate.id)\n // .catch((err: Error) => {\n // notify!.show(\"error\", \"Error deleting job candidate\")\n // })\n\n // if (deleted) {\n // if (jobCandidate.profile && jobCandidate.jobPost) {\n // userStore!.logUserActivity(jobCandidate.profile.userId, SubjectType.JobPost, jobCandidate.jobPostId, ActivityType.JobCandidateDeleted,\n // `${userStore!.user!.fullName} deleted '${jobCandidate.profile.name}' from the job post '${jobCandidate.jobPost.fullName}'`)\n // }\n\n // await onDeleteJobCandidate(jobCandidate)\n // }\n // return true \n // }\n // )\n // }\n}\n\nexport default withStyles(styles)(withWidth()(JobCandidateCard))\n","import { Box, Chip, Theme, createStyles, makeStyles } from \"@material-ui/core\"\nimport JobPost from \"../../model/JobPost\"\nimport * as APITypes from \"../../API\"\nimport classNames from \"classnames\"\n\nconst useStyles = makeStyles((theme: Theme) => createStyles({\n chips: {\n color: '#fff',\n fontWeight: 500,\n fontSize: 12, \n // backgroundColor: '#2F733A' // Green?\n // backgroundColor: theme.palette.primary[200]\n // background: 'linear-gradient(to right, hsla(215, 35%, 37%, 1.0) 0%, hsla(215, 50%, 37%, 0.80) 100%)'\n },\n color1: {\n // background: 'linear-gradient(to right, hsla(215, 35%, 37%, 1.0) 0%, hsla(215, 50%, 37%, 0.80) 100%)'\n background: 'linear-gradient(to right, hsl(218, 33%, 27%) 0%, hsl(218, 33%, 47%) 100%)'\n },\n color2: {\n background: 'linear-gradient(to right, hsl(187, 35%, 37%) 0%, hsl(187, 35%, 57%) 100%)'\n },\n color3: {\n background: 'linear-gradient(to right, hsl(238, 37%, 37%) 0%, hsl(238, 37%, 57%) 100%)'\n }\n}))\n\nconst JobPostTypeChip = ({\n jobPost\n}: {\n jobPost: JobPost\n}) => {\n const classes = useStyles() \n if (jobPost.jobPostType === APITypes.JobPostType.RecruitingServices) {\n const combinedClassNames = classNames(classes.chips, classes.color1)\n return (\n \n \n \n )\n } else if (jobPost.jobPostType === APITypes.JobPostType.StaffingServices) {\n const combinedClassNames = classNames(classes.chips, classes.color2)\n return (\n \n \n \n )\n } else if (jobPost.jobPostType === APITypes.JobPostType.SelfService) {\n const combinedClassNames = classNames(classes.chips, classes.color3)\n return (\n \n \n \n )\n } else {\n return null \n }\n}\n\nexport default JobPostTypeChip \n","import * as React from \"react\";\nimport {\n Box,\n createStyles,\n Grid,\n Paper,\n Theme,\n Typography,\n withStyles,\n WithStyles\n} from \"@material-ui/core\";\nimport {\n humanizeString,\n isoToLocalDateString\n} from \"../../stores/StoreUtilities\";\nimport JobPost from \"../../model/JobPost\";\nimport ActionLink from \"../ActionLink\";\nimport {inject, observer} from \"mobx-react\";\nimport UserStore from \"../../stores/UserStore\";\nimport {makeObservable, observable, when} from \"mobx\";\nimport Visible from \"../Visible\";\nimport Notify from \"../notify/Notify\";\nimport Stack from \"../Stack\";\nimport {JobPostStatus} from \"../../API\";\nimport ResourceCache from \"../../stores/ResourceCache\";\nimport BusinessIcon from \"@material-ui/icons/Business\";\nimport LocationOnIcon from \"@material-ui/icons/LocationOn\";\nimport LockIcon from \"@material-ui/icons/Lock\";\nimport ScheduleIcon from \"@material-ui/icons/Schedule\";\nimport FolderOpenIcon from '@material-ui/icons/FolderOpen';\nimport JobPostTypeChip from \"../../views/jobPosts/JobPostTypeChip\";\nimport EditButton from \"../controls/EditButton\";\n\nconst styles = (theme: Theme) => createStyles({\n card: {\n },\n heading: {\n color: theme.palette.primary.main,\n fontWeight: 'bold'\n },\n property: {\n display: \"flex\",\n flexDirection: \"row\",\n paddingBottom: \"3px\"\n },\n propIcon: {\n color: theme.palette.text.secondary,\n width: 18,\n height:18,\n paddingTop: 2,\n marginRight: theme.spacing(1)\n },\n hiringImmediately: {\n color: theme.palette.success.dark,\n fontWeight: 600\n },\n hiringDefault: {\n color: theme.palette.text.primary\n },\n status: {\n fontWeight: 200,\n color: theme.palette.text.secondary,\n maxHeight: 18,\n },\n})\n\ninterface IJobPostMiniCardProps {\n jobPost: JobPost\n onClickTitle?(jobPost: JobPost): void \n elevation?: number\n onEdit?(): void\n children?: React.ReactNode\n \n userStore?: UserStore\n resourceCache?: ResourceCache\n notify?: Notify\n}\n\n@inject('userStore', 'resourceCache', 'notify')\n@observer\nclass JobPostMiniCard extends React.PureComponent & IJobPostMiniCardProps> {\n\n @observable isJobPostEditable: boolean = false \n\n constructor(props: WithStyles & IJobPostMiniCardProps) {\n super(props)\n makeObservable(this)\n }\n\n componentDidMount() {\n const { jobPost, userStore } = this.props \n when(\n // once \n () => userStore!.isLoading === false || userStore!.isPublic === true,\n // then \n () => {\n this.isJobPostEditable = userStore!.isJobPostEditable(jobPost)\n }\n )\n }\n\n render() {\n const { jobPost, elevation, classes } = this.props\n\n return (\n \n \n \n \n \n \n \n { this.renderContent() }\n \n { this.props.children ?\n \n {this.props.children}\n \n : null }\n \n \n \n )\n }\n\n renderContent = () => {\n const {\n classes,\n jobPost,\n userStore,\n resourceCache,\n onClickTitle,\n onEdit\n } = this.props\n\n let statusDate = \"\"\n if (jobPost.status === JobPostStatus.Cart || jobPost.status === JobPostStatus.Draft) {\n statusDate = `Created ${isoToLocalDateString(jobPost.createdAt, \"M/d/yyyy h:mm a\")}`\n } else {\n statusDate = `${jobPost.status} ${isoToLocalDateString(jobPost.updatedAt, \"M/d/yyyy h:mm a\")}`\n }\n\n const securityClearance = jobPost.securityClearance\n const hiringPeriod = jobPost.hiringPeriod\n const hiringClassname = hiringPeriod === \"Immediately\" ? classes.hiringImmediately : classes.hiringDefault\n \n return (\n \n \n \n { onClickTitle ? \n \n \n 1 ? ` [${jobPost.openings}]` : ''}`}\n alignText=\"left\"\n variation=\"dark\"\n tracking=\"JobPost-Title\"\n click={onClickTitle}\n />\n \n { onEdit && \n {\n if (this.isJobPostEditable === false) {\n return \n } else {\n onEdit()\n }\n }}\n /> \n }\n \n :\n \n {jobPost.title}{jobPost.openings > 1 && ` [${jobPost.openings}]`}\n \n }\n \n \n \n \n \n {jobPost.account?.name}\n \n \n \n \n \n \n \n {jobPost.locationDescription}\n \n \n \n {hiringPeriod !== \"Soon\" &&\n \n \n \n {humanizeString(jobPost.employmentType)} Hire {hiringPeriod}\n \n \n }\n {securityClearance &&\n \n \n {securityClearance}\n \n }\n \n \n \n {jobPost.contract?.name}\n \n \n \n \n {statusDate}\n \n \n \n \n )\n }\n}\n\nexport default withStyles(styles)(JobPostMiniCard)\n","import * as React from \"react\";\nimport {\n Box,\n createStyles,\n Grid,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport JobCandidate from \"../../model/JobCandidate\";\nimport JobPost from \"../../model/JobPost\";\nimport JobCandidateCard from \"./JobCandidateCard\";\nimport AddButton from \"../AddButton\";\nimport { inject, observer } from \"mobx-react\";\nimport { makeObservable, observable, reaction, when } from \"mobx\";\nimport UserStore from \"../../stores/UserStore\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport Progress from \"../Progress\";\nimport Notify from \"../notify/Notify\";\nimport Logger from \"../Logger\";\nimport ControlTower, { Routes } from \"../ControlTower\";\nimport Profile from \"../../model/Profile\";\nimport {JobPostStatus, JobPostType, SubjectType} from \"../../API\";\nimport {ActivityType} from \"../../model/UserActivity\";\nimport JobStore from \"../../stores/JobStore\";\nimport JobPostMiniCard from \"../jobPosts/JobPostMiniCard\";\nimport InstructionsPanel from \"../page/InstructionsPanel\";\n\nconst styles = (theme: Theme) => createStyles({\n \n})\n\ninterface IJobCandidateListProps {\n jobPost?: JobPost // Passed in to list job candidate records related to a job post. \n profile?: Profile // Passed in to list job candidate records related to a candidate profile. \n onClickFindTalent?: Function\n onClickFindJobs?: Function \n onClickManageJobs?: Function \n onClickJobCandidate?(jobCandidate: JobCandidate): void\n showInColumns?: boolean\n\n accountStore?: AccountStore\n jobStore?: JobStore\n // confirm?: Confirm\n notify?: Notify\n progress?: Progress\n userStore?: UserStore\n}\n\n@inject('accountStore', 'jobStore', 'userStore', 'notify', 'progress')\n@observer \nclass JobCandidateList extends React.Component & IJobCandidateListProps & WithWidth> {\n\n @observable isLoading: boolean = true \n @observable jobCandidates: JobCandidate[] = []\n\n constructor(props: any) {\n super(props)\n makeObservable(this)\n }\n\n componentDidMount() {\n const { accountStore, userStore, progress } = this.props\n \n progress!.show(\"JobCandidateList\")\n when(\n // once\n () => !accountStore!.isLoading && !userStore!.isLoading,\n // then \n async () => {\n await this.loadJobCandidates()\n progress!.hide(\"JobCandidateList\")\n this.isLoading = false \n }\n )\n\n // When the job candidates are modified outside of this component \n // (for example, in the Find Talent side drawer), we need to react and update this list. \n reaction(() => this.props.jobPost?.jobCandidates, (jobCandidates) => {\n this.loadJobCandidates()\n })\n }\n\n render() {\n const { jobPost, profile } = this.props\n\n if (this.isLoading === true) {\n return null \n }\n\n return (\n \n { jobPost && this.renderJobCandidatesForJobPost() }\n { profile && this.renderJobCandidatesForProfile() }\n \n )\n }\n\n renderJobCandidatesForJobPost() {\n const { onClickJobCandidate, jobPost, userStore } = this.props\n\n let instructions = []\n \n if (jobPost!.jobPostType === JobPostType.SelfService) {\n if (jobPost!.status === JobPostStatus.Draft) {\n instructions.push('Publish your job post by using the \"Publish\" button.')\n }\n instructions.push('To add candidates for a published job post, please click the \"Find Talent\" button.')\n\n } else if (jobPost!.jobPostType === JobPostType.RecruitingServices || jobPost!.jobPostType === JobPostType.StaffingServices) {\n instructions.push(\"For Recruiting or Staffing Services job posts, GovGig will take care of publishing and managing all the details.\")\n instructions.push(\"When GovGig publishes your job post, our Agents will save and invite relevant candidates who will show up here on this candidates list.\")\n }\n\n return (\n \n \n \n \n \n \n \n \n Candidates\n \n \n \n { this.renderFindTalentButton() }\n \n \n \n \n {this.jobCandidates.length === 0 ? \n \n \n No candidates saved or invited to this job post yet.\n \n \n : null}\n {this.jobCandidates.map((jobCandidate: JobCandidate) => {\n return (\n \n {\n if (onClickJobCandidate) {\n onClickJobCandidate(jobCandidate) \n return \n }\n // Show manage candidate page for candidate activity, notes, messages, contact info, etc. \n const profileId = jobCandidate.profileId\n let searchParams = new URLSearchParams()\n searchParams.append('profileId', profileId)\n searchParams.append('jobCandidateId', jobCandidate.id)\n const tab = 'activity'\n const route = `${Routes.manageCandidate}/${tab}?${searchParams.toString()}`\n ControlTower.route(route)\n }}\n />\n \n )\n })}\n \n \n )\n }\n\n renderJobCandidatesForProfile() {\n const { onClickJobCandidate, onClickManageJobs, showInColumns } = this.props \n return (\n \n \n \n \n \n Jobs\n \n \n { onClickManageJobs && \n \n { this.renderManageJobs() }\n \n }\n \n \n \n { this.isLoading === false && this.jobCandidates.length === 0 && \n \n \n To add this candidate to job posts, please click the \"Manage Jobs\" button.\n \n \n }\n {this.jobCandidates.length > 0 && \n this.jobCandidates.map(jobCandidate => {\n return (\n \n {\n if (onClickJobCandidate) {\n onClickJobCandidate(jobCandidate) \n return \n }\n // Show manage job page, which will show activity, messages, etc. related to the job post. \n let searchParams = new URLSearchParams()\n searchParams.append('jobPostId', jobCandidate.jobPostId)\n const route = `${Routes.manageJob}/activity?${searchParams.toString()}`\n ControlTower.route(route)\n }}\n />\n \n )\n }) \n }\n \n \n )\n }\n\n renderFindTalentButton = () => {\n const { \n onClickFindTalent, \n jobPost, \n jobStore, \n // userStore \n } = this.props\n if (!jobPost) {\n return null\n }\n let isDisabled = jobStore!.isJobPostUnpublished(jobPost)\n // TODO: Allow Employers to also manage Recruiting Services invites. \n // https://trello.com/c/xe5HVIVN\n // if (userStore!.isEmployer && jobPost.jobPostType === JobPostType.RecruitingServices) {\n // isDisabled = true \n // }\n return (\n {\n if (onClickFindTalent) {\n onClickFindTalent()\n } \n }} \n disabled={isDisabled}\n />\n )\n }\n\n renderFindJobs = () => {\n const { onClickFindJobs } = this.props \n return (\n {\n if (onClickFindJobs) {\n onClickFindJobs()\n }\n }} \n />\n )\n }\n\n renderManageJobs = () => {\n const { onClickManageJobs } = this.props \n\n return (\n {\n if (onClickManageJobs) {\n onClickManageJobs()\n }\n }} \n />\n )\n }\n\n loadJobCandidates = async () => {\n const { jobStore, jobPost, notify, profile } = this.props\n \n let jobCandidates\n try {\n if (jobPost) {\n jobCandidates = await jobStore!.listJobCandidatesByJobPost(jobPost.id)\n } else if (profile) {\n jobCandidates = await jobStore!.listJobCandidatesByProfile(profile.id)\n }\n\n if (!jobCandidates) {\n throw new Error('Job candidates undefined')\n } else if (jobPost) {\n // Attach JobPost\n jobCandidates.forEach((jobCandidate: JobCandidate) => jobCandidate.jobPost = jobPost)\n }\n\n const sorted = jobCandidates.sort(JobCandidate.compareFn)\n\n this.jobCandidates = sorted \n } catch (error) {\n Logger.error('Could not fetch job candidates', error)\n notify!.show('error', 'Could not fetch job candidates')\n }\n }\n\n handleUpdateJobCandidate = async (jobCandidate: JobCandidate) => {\n const { userStore } = this.props\n\n const index = this.jobCandidates.findIndex(checkJobCandidate => checkJobCandidate.id === jobCandidate.id)\n if (index !== -1) {\n if (jobCandidate.profile && jobCandidate.jobPost) {\n userStore!.logUserActivity(jobCandidate.profile.userId, SubjectType.JobPost, jobCandidate.jobPostId, ActivityType.JobCandidateStatusUpdated,\n `${userStore!.user!.fullName} updated the job post '${jobCandidate.jobPost?.fullName}' status for '${jobCandidate.profile.name}' to ${jobCandidate.status}`)\n }\n\n this.jobCandidates[index] = jobCandidate\n }\n }\n\n handleDeleteJobCandidate = async (jobCandidate: JobCandidate) => {\n const index = this.jobCandidates.findIndex(checkJobCandidate => checkJobCandidate.id === jobCandidate.id)\n if (index !== -1) {\n this.jobCandidates.splice(index, 1)\n }\n }\n}\n\nexport default withStyles(styles)(withWidth()(JobCandidateList))\n","import * as React from \"react\";\nimport {\n Box,\n Button,\n createStyles,\n Dialog,\n DialogActions,\n DialogContent, DialogTitle,\n Grid, TextareaAutosize,\n Theme,\n withStyles,\n WithStyles,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport {inject, observer} from \"mobx-react\";\nimport {makeObservable, observable} from \"mobx\";\nimport User from \"../../model/User\";\nimport UserStore from \"../../stores/UserStore\";\n// import IconicButton from \"../controls/IconicButton\";\nimport NoteIcon from '@material-ui/icons/NoteAddOutlined';\nimport FormValidator from \"../form/FormValidator\";\nimport CancelButton from \"../form/CancelButton\";\nimport ProgressButton from \"../form/ProgressButton\";\nimport {CreateUserActivityInput, SubjectType} from \"../../API\";\nimport UserActivity, {ActivityType} from \"../../model/UserActivity\";\n// import AddButton from \"../AddButton\";\n\nconst styles = (theme: Theme) => createStyles({\n callToAction: {\n color: theme.palette.primary.contrastText\n },\n textarea: {\n fontFamily: [\n 'Roboto',\n 'sans-serif'\n ].join(','),\n minWidth: \"100%\",\n maxWidth: \"100%\",\n marginTop: theme.spacing(1),\n padding: theme.spacing(1),\n fontSize: 16\n },\n progressButton: {\n minWidth: 80\n }\n})\n\ninterface INoteActivityPanelProps {\n subject: SubjectType\n subjectId: string\n user: User\n onAddNote?(note: UserActivity): void\n\n userStore?: UserStore\n}\n\n@inject(\"userStore\")\n@observer\nclass NoteActivityPanel extends React.Component & INoteActivityPanelProps & WithWidth> {\n\n @observable isDialogOpen: boolean = false\n @observable isProcessing = false\n @observable note = \"\"\n\n constructor(props: any) {\n super(props)\n makeObservable(this)\n }\n\n render() {\n const { classes } = this.props\n return (\n \n \n \n }\n onClick={this.handleClick}\n >\n Add Note\n \n {/* \n \n */}\n \n \n {this.renderNoteDialog()}\n \n )\n }\n\n handleClick = () => {\n this.isDialogOpen = true\n }\n\n renderNoteDialog = () => {\n const { classes } = this.props\n\n return (\n {this.isDialogOpen = false }}\n >\n \n Add Note\n \n \n\n \n \n \n \n Save\n \n \n \n \n )\n }\n\n handleChange = (event: any) => {\n const name = event.target.name\n if (name === \"note\") {\n this.note = event.target.value\n }\n }\n\n handleClose = () => {\n this.isDialogOpen = false\n }\n\n handleSubmit = async () => {\n const { userStore, user, subject, subjectId, onAddNote } = this.props\n\n if (this.note.length > 0) {\n const createInput: CreateUserActivityInput = {\n userId: user.id,\n subjectType: subject,\n subjectId: subjectId,\n activityType: ActivityType.NoteAdded,\n actorId: userStore!.user!.id,\n actorName: userStore!.user!.fullName,\n accountId: userStore!.user!.accountId,\n details: this.note\n }\n\n const activity = await userStore!.createUserActivity(createInput)\n\n if (activity && onAddNote) {\n onAddNote(activity)\n }\n\n this.isDialogOpen = false\n }\n\n // this.isDialogOpen = false\n }\n}\n\nexport default withStyles(styles)(withWidth()(NoteActivityPanel))\n","import {\n createStyles,\n Theme,\n withStyles,\n WithStyles,\n withTheme,\n WithTheme,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport { makeObservable, observable, reaction } from \"mobx\";\nimport { inject, observer } from \"mobx-react\";\nimport React from \"react\";\nimport SelectionsDialog, { ListHeaderViewModel, ListItemViewModel, ListSectionViewModel, SelectionsDialogViewModel } from \"../../../components/selection/SelectionsDialog\";\nimport Account from \"../../../model/Account\";\nimport AccountStore from \"../../../stores/AccountStore\";\nimport ResourceCache from \"../../../stores/ResourceCache\";\nimport JobStore from \"../../../stores/JobStore\";\n\nconst styles = (theme: Theme) => createStyles({\n\n})\n\nexport interface IJobPickerDialogProps {\n accountStore?: AccountStore\n jobStore?: JobStore\n resourceCache?: ResourceCache\n isDialogOpen: boolean\n account: Account\n onClose: any\n onSubmitSelections: any\n isProcessing: boolean\n}\n\n@inject(\"accountStore\", \"jobStore\", \"resourceCache\")\n@observer\nclass JobPickerDialog extends React.Component & WithTheme & WithWidth & IJobPickerDialogProps> {\n @observable viewModel?: SelectionsDialogViewModel\n\n constructor(\n props: WithStyles & WithTheme & WithWidth & IJobPickerDialogProps\n ) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount() {\n reaction(() => this.props.isDialogOpen, this.loadViewModel)\n }\n\n render() {\n if (!this.viewModel) {\n return null\n }\n return (\n \n )\n }\n\n loadViewModel = async () => {\n const { accountStore, jobStore, account, resourceCache } = this.props\n\n // let selectedServiceIds: string[] = []\n let sections: ListSectionViewModel[] = []\n\n const contracts = await jobStore!.listContractsByAccount(account.id)\n await Promise.all(contracts.map(async (contract) => {\n let items: ListItemViewModel[] = []\n await Promise.all(contract.jobPosts.map(async (jobPost) => {\n const service = await resourceCache!.getService(jobPost.serviceId)\n if (!service) { return }\n const item = new ListItemViewModel({\n id: jobPost.id,\n title: service.name,\n isCheckable: true,\n isChecked: false,\n // isChecked: selectedServiceIds.includes(service.id)\n })\n items.push(item)\n }))\n items.sort((a: ListItemViewModel, b: ListItemViewModel) => a.title.localeCompare(b.title))\n\n const section = new ListSectionViewModel({\n header: new ListHeaderViewModel({\n id: contract.id,\n title: contract.name,\n isCheckable: false,\n isExpandable: true\n }),\n items\n })\n sections.push(section)\n }))\n\n sections.sort((a: ListSectionViewModel, b: ListSectionViewModel) => a.header.title.localeCompare(b.header.title))\n\n let helpText\n if (contracts.length === 0) {\n if (accountStore?.isPrimary) {\n helpText = \"No contracts found. Please add a contract or select another account.\"\n } else {\n helpText = \"No contracts found. Please add a contract\"\n }\n } else {\n helpText = \"Select a contract and job post for this candidate.\"\n }\n\n this.viewModel = new SelectionsDialogViewModel({\n isDialogOpen: this.props.isDialogOpen,\n title: \"Save Candidate\",\n helpText: helpText,\n sections\n })\n }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(JobPickerDialog)))","import React from \"react\";\nimport {\n createStyles, Dialog, DialogActions, DialogContent, DialogContentText, DialogTitle, Grid, \n Theme, Typography,\n withStyles,\n WithStyles,\n withTheme,\n WithTheme, withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport {makeObservable, observable} from \"mobx\";\nimport { inject, observer } from \"mobx-react\";\nimport JobPost from \"../../model/JobPost\";\nimport FormValidator from \"../form/FormValidator\";\nimport CardValue from \"../CardValue\";\nimport ProfileStore from \"../../stores/ProfileStore\";\nimport {durationBetweenISODates, humanizeString} from \"../../stores/StoreUtilities\";\nimport ProgressButton from \"../form/ProgressButton\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport CancelButton from \"../form/CancelButton\";\nimport JobStore from \"../../stores/JobStore\";\nimport Profile from \"../../model/Profile\";\nimport Stack from \"../Stack\";\n\nconst styles = (theme: Theme) => createStyles({\n form: {\n overflowY: \"auto\",\n display: \"flex\",\n flexDirection: \"column\"\n },\n progressButton: {\n minWidth: 80\n },\n error: {\n color: theme.palette.error.main\n },\n label: {\n color: theme.palette.text.secondary,\n fontSize: 15,\n marginTop: theme.spacing(1),\n marginBottom: 4,\n marginLeft: 0,\n },\n textarea: {\n fontFamily: [\n 'Roboto',\n 'sans-serif'\n ].join(','),\n minWidth: \"100%\",\n maxWidth: \"100%\",\n padding: 8,\n fontSize: 16\n },\n})\n\nexport interface IJobCandidateInviteDialogProps {\n isOpen: boolean \n // jobCandidate: JobCandidate\n jobPost: JobPost\n profile: Profile\n // onSubmit?(jobPost: JobPost, jobCandidate: JobCandidate): void\n onSubmit(): Promise\n onClose?(): void\n\n profileStore?: ProfileStore\n accountStore?: AccountStore\n jobStore?: JobStore\n}\n\n@inject(\"profileStore\", \"accountStore\", \"jobStore\")\n@observer\nclass JobCandidateInviteDialog extends React.Component & WithTheme & WithWidth & IJobCandidateInviteDialogProps> {\n\n @observable message = \"\"\n @observable error = \"\"\n @observable isProcessing = false\n\n constructor(\n props: WithStyles & WithTheme & WithWidth & IJobCandidateInviteDialogProps\n ) {\n super(props);\n makeObservable(this);\n }\n\n render() {\n const { \n classes, \n // jobCandidate, \n jobPost,\n profile, \n isOpen \n } = this.props\n\n return (\n \n \n Invite Job Candidate to Apply\n \n \n {this.error}\n \n \n \n \n {profile.initials}\n \n \n \n \n {jobPost.title}\n \n \n \n \n {jobPost.location!.name}\n \n \n \n \n {durationBetweenISODates(jobPost.startDate, jobPost.endDate)}\n \n \n \n \n {humanizeString(jobPost.employmentType)}\n \n \n \n
Job Summary
\n \n {jobPost.summary}\n \n
\n {/**/}\n {/*
Message
*/}\n {/* */}\n {/*
*/}\n
\n
\n \n \n \n \n Invite\n \n \n \n
\n \n )\n }\n\n onChangeMessage = (event: any) => {\n this.message = event.target.value\n }\n\n onSubmit = async () => {\n const { \n onSubmit, \n // jobPost, \n // jobCandidate, \n // jobStore \n } = this.props\n\n this.isProcessing = true\n this.error = \"\"\n\n await onSubmit()\n\n // const input: UpdateJobCandidateInput = {\n // id: jobCandidate.id,\n // status: JobCandidateStatus.Invited,\n // // message: this.message\n // }\n\n // const updated = await jobStore!.updateJobCandidate(input)\n // .catch((err: Error) => {\n // this.error = \"Error inviting job candidate\"\n // })\n\n this.isProcessing = false\n\n // if (updated) {\n // if (onSubmit) {\n // onSubmit(jobPost, updated)\n // }\n // }\n }\n\n onClose = () => {\n const { onClose } = this.props\n if (onClose) {\n onClose()\n }\n }\n\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(JobCandidateInviteDialog)))\n","import {alpha, Box, createStyles, Grid, makeStyles, Paper, Theme, Typography} from \"@material-ui/core\"\nimport React, { useState } from \"react\"\nimport { CreateJobCandidateInput, CreateUserActivityInput, JobCandidateStatus, ProfileStatus, SubjectType } from \"../../API\"\nimport JobCandidate from \"../../model/JobCandidate\"\nimport JobPost from \"../../model/JobPost\"\nimport Profile from \"../../model/Profile\"\nimport UserActivity, { ActivityType } from \"../../model/UserActivity\"\nimport JobPickerDialog from \"../../pages/profile/job-picker/JobPickerDialog\"\nimport { useStores } from \"../../stores/StoreProvider\"\nimport DialogButton from \"../form/DialogButton\"\nimport JobCandidateInviteDialog from \"../jobPosts/JobCandidateInviteDialog\"\nimport JobPostMiniCard from \"../jobPosts/JobPostMiniCard\"\nimport Logger from \"../Logger\"\nimport Stack from \"../Stack\"\nimport AnswerChipArray from \"./AnswerChipArray\"\nimport JobCandidateStatusFlow from \"./JobCandidateStatusFlow\"\nimport StarBorderIcon from '@material-ui/icons/StarBorder';\nimport StarIcon from '@material-ui/icons/Star';\nimport SendIcon from '@material-ui/icons/Send';\nimport ActionLink from \"../ActionLink\"\nimport ControlTower, { Routes } from \"../ControlTower\"\nimport PublishIcon from \"@material-ui/icons/Publish\";\nimport JobInterestApplyDialog from \"../jobPosts/JobInterestApplyDialog\";\nimport AddButton from \"../AddButton\";\n\nconst useStyles = makeStyles((theme: Theme) => createStyles({\n avatar: {\n backgroundColor: theme.palette.primary.main,\n borderWidth: 2,\n },\n avatarLocked: {\n backgroundColor: theme.palette.grey[300],\n borderWidth: 2,\n },\n avatarTextLarge: {\n fontSize: 24,\n },\n avatarTextSmall: {\n fontSize: 14,\n },\n large: {\n fontSize: 24,\n width: theme.spacing(7),\n height: theme.spacing(7),\n fontWeight: 'bold'\n },\n small: {\n fontSize: 14,\n width: theme.spacing(4),\n height: theme.spacing(4)\n },\n actionButton: {\n backgroundColor: theme.palette.secondary.main,\n color: theme.palette.secondary.contrastText,\n marginTop: 0,\n marginLeft: 0,\n border: 'none',\n boxShadow: 'rgba(0, 0, 0, 0.25) 0px 1px 3px 0px',\n \"&:hover\": {\n color: theme.palette.secondary.contrastText,\n backgroundColor: theme.palette.secondary.light,\n border: 'none',\n },\n \"&:disabled\": {\n backgroundColor: alpha(theme.palette.secondary.main, 0.5),\n color: alpha(theme.palette.secondary.contrastText, 0.5),\n },\n },\n actionButtonSubmit: {\n minWidth: 80,\n },\n actionButtonShare: {\n // marginLeft: '1rem',\n borderRadius: 50,\n padding: '.5rem',\n minWidth: 'fit-content',\n },\n actionButtonShareIcon: {\n },\n}))\n\nconst JobCandidateStatusFlowCard = ({\n dense, \n jobCandidate,\n jobPost, \n profile,\n onUpdateJobCandidate,\n onCreateJobCandidate\n}: {\n dense?: boolean \n jobCandidate?: JobCandidate,\n jobPost?: JobPost\n profile: Profile \n onUpdateJobCandidate(updatedJobCandidate: JobCandidate): void \n onCreateJobCandidate(newJobCandidate: JobCandidate): void \n}) => {\n const [inviteDialogOpen, setInviteDialogOpen] = useState(false)\n const [applyDialogOpen, setApplyDialogOpen] = useState(false)\n const [jobPickerDialogOpen, setJobPickerDialogOpen] = useState(false)\n\n const { jobStore, notify, userStore } = useStores()\n const classes = useStyles()\n\n const onClickInvite = async () => {\n setInviteDialogOpen(true)\n }\n\n const onClickApply = async () => {\n setApplyDialogOpen(true)\n }\n\n const onSave = async () => {\n if (jobPost && !jobCandidate) {\n await createJobCandidateIfNeeded(jobPost.id, JobCandidateStatus.Interested)\n }\n }\n\n const createJobCandidateIfNeeded = async (jobPostId: string, status: JobCandidateStatus) => {\n let foundJobPost\n if (jobPost && jobPostId === jobPost.id) {\n foundJobPost = jobPost \n } else {\n foundJobPost = await jobStore!.getJobPost(jobPostId)\n }\n\n if (!foundJobPost) {\n throw new Error('Could not get job post record')\n }\n\n const accountId: string = foundJobPost.accountId\n\n let foundJobCandidate \n if (jobCandidate && jobCandidate.jobPostId === jobPostId) {\n foundJobCandidate = jobCandidate\n } else {\n foundJobCandidate = await jobStore!.findJobCandidateForJobPost(accountId, jobPostId, profile!.id)\n }\n\n if (foundJobCandidate) {\n Logger.info(\"JobCandidate already exists\")\n return \n }\n\n const newJobCandidate = await createJobCandidate(foundJobPost, status)\n if (newJobCandidate) {\n newJobCandidate.profile = profile\n notify!.show(\"success\", `Job candidate saved to selected job post(s)!`)\n await onCreateJobCandidate(newJobCandidate)\n } else {\n throw new Error('Could not create job candidate record')\n }\n\n const userActivity = await createUserActivity(newJobCandidate, foundJobPost)\n \n if (!userActivity) {\n throw new Error('Could not create user activity record')\n }\n }\n\n const createJobCandidate = async (jobPost: JobPost, status: JobCandidateStatus): Promise => {\n const input: CreateJobCandidateInput = {\n jobPostId: jobPost.id,\n accountId: jobPost.accountId,\n profileId: profile!.id,\n status,\n // ranking: 0\n }\n\n const candidate = await jobStore!.createJobCandidate(input)\n if (candidate) {\n candidate.jobPost = jobPost\n }\n return candidate\n }\n\n const createUserActivity = async (jobCandidate: JobCandidate, jobPost: JobPost): Promise => {\n const input: CreateUserActivityInput = {\n userId: profile.userId,\n subjectType: SubjectType.JobPost, // Should it be SubjectType.JobCandidate instead? \n subjectId: jobCandidate.jobPostId,\n activityType: ActivityType.JobCandidateAdded,\n actorId: userStore!.user!.id,\n actorName: userStore!.user!.fullName,\n accountId: userStore!.user!.accountId,\n details: `Added ${profile!.name} to the job post '${jobPost!.fullName}'`\n }\n\n return await userStore!.createUserActivity(input)\n }\n\n const renderFlow = () => {\n if (!jobCandidate) {\n return null \n }\n\n return (\n {\n onUpdateJobCandidate && onUpdateJobCandidate(updatedJobCandidate)\n }}\n /> \n )\n }\n\n const renderJobPost = () => {\n if (!jobPost) {\n return null \n\n }\n return (\n \n { (dense === undefined || dense === false) &&\n \n \n { jobPost.status && \n \n Status: {jobPost.status}\n \n }\n \n }\n { dense === true && \n \n {jobPost.title}{jobPost.openings > 1 && ` [${jobPost.openings}]`}\n \n }\n \n )\n }\n\n const renderJobCandidate = () => {\n if (!jobCandidate || !jobPost) {\n return null \n }\n return (\n \n Review Candidate for this Job Post: \n \n \n { renderJobPost() }\n \n {jobCandidate.application.length > 0 &&\n \n \n \n }\n \n { renderFlow() }\n \n \n \n )\n }\n\n const renderJobPickerDialog = () => {\n if (jobPost !== undefined || userStore.user === undefined) {\n return null \n }\n const account = userStore.user!.account!\n return (\n {\n setJobPickerDialogOpen(false)\n }}\n onSubmitSelections={async (jobPostIds: string[]) => {\n const promises = jobPostIds.map((jobPostId: string) => {\n // TODO: Allow for Inviting as well here? \n return createJobCandidateIfNeeded(jobPostId, JobCandidateStatus.Interested)\n })\n \n try {\n await Promise.all(promises)\n } catch (error) {\n // TODO: It would be better to show exactly which operation failed. Keeping it simple for now. \n Logger.error('Error adding candidate to job post(s)', error)\n notify!.show('error', 'Could not add candidate to all job post(s)')\n // this.onClose()\n // this.invitePending = false\n return\n }\n }}\n {...{ account }}\n />\n )\n }\n\n const renderJobInviteDialog = () => {\n if (!jobPost) {\n return \n }\n return (\n {\n await createJobCandidateIfNeeded(jobPost.id, JobCandidateStatus.Invited)\n setInviteDialogOpen(false)\n }}\n onClose={() => {\n setInviteDialogOpen(false)\n }}\n />\n )\n }\n\n const renderInviteButton = () => {\n let actionButton = null\n\n const sharedProps = {\n variant: 'secondary',\n customClassName: `${classes.actionButton} ${classes.actionButtonSubmit}`,\n }\n\n if (userStore!.isAdminOrAgent || userStore!.isEmployer) {\n const isDisabled = (jobCandidate !== undefined && jobCandidate.status !== JobCandidateStatus.Interested) ||\n (jobPost && jobStore.isJobPostUnpublished(jobPost)) \n actionButton =\n \n  {isDisabled ? \"Invited to Job Post\" : \"Invite to Job Post\"}\n \n }\n\n if (actionButton) {\n return (\n \n {actionButton}\n \n )\n } else {\n return null\n }\n }\n\n const renderJobApplyDialog = () => {\n if (!jobPost) {\n return\n }\n return (\n {\n await createJobCandidateIfNeeded(jobPost.id, JobCandidateStatus.Applied)\n setApplyDialogOpen(false)\n }}\n onClose={() => {\n setApplyDialogOpen(false)\n }}\n />\n )\n }\n\n const renderApplyButton = () => {\n let actionButton = null\n\n const sharedProps = {\n variant: 'secondary',\n customClassName: `${classes.actionButton} ${classes.actionButtonSubmit}`,\n }\n\n if (userStore!.isAdminOrAgent) {\n const isDisabled = (jobCandidate !== undefined && jobCandidate.status !== JobCandidateStatus.Interested) ||\n (jobPost && jobStore.isJobPostUnpublished(jobPost))\n if (!isDisabled) {\n actionButton =\n \n  Apply to Job Post\n \n }\n }\n\n if (actionButton) {\n return (\n \n {actionButton}\n \n )\n } else {\n return null\n }\n }\n\n const renderActionButton = () => {\n let actionButton = null\n\n const sharedProps = {\n variant: 'secondary',\n customClassName: `${classes.actionButton} ${classes.actionButtonSubmit}`,\n }\n\n const isSaved = jobCandidate !== undefined \n const isDisabled = isSaved || (jobPost && jobStore.isJobPostUnpublished(jobPost))\n\n if (profile?.profileStatus === ProfileStatus.Accepted && \n (userStore!.isAdminOrAgent || userStore!.isEmployer)) {\n if (isSaved) {\n actionButton =\n \n  Saved to Job Post\n \n } else {\n actionButton =\n \n  Save to Job Post\n \n }\n }\n\n if (actionButton) {\n return (\n \n {actionButton}\n \n )\n } else {\n return null \n }\n }\n\n const renderPreJobCandidateButtons = () => {\n if (!jobPost) {\n return null \n }\n const isUnpublished: boolean = (jobPost && jobStore.isJobPostUnpublished(jobPost))\n return (\n \n \n Review this Candidate for Job Post:\n \n {jobPost.title}{jobPost.openings > 1 && ` [${jobPost.openings}]`}\n \n { isUnpublished && \n \n This job post is unpublished. Head over to Manage Jobs to publish this job post before inviting or saving candidates. \n {\n ControlTower.route(Routes.manageJobs)\n }}\n />\n \n }\n Note that you can unlock their profile and contact information after they apply to this job post.\n \n \n { renderInviteButton() }\n { renderApplyButton() }\n { renderActionButton() }\n \n \n )\n }\n\n return (\n \n \n { jobPost && jobCandidate && renderJobCandidate() }\n { jobPost === undefined && \n \n \n Please select a specific job post in order to invite or save a candidate or \n {/*Create a Job Post.*/}\n \n ControlTower.route(Routes.jobPostCreate)}\n icon=\"add\"\n />\n { userStore.isEmployer &&\n After the candidate applies to the job post, you'll be able to unlock their contact info and resume.\n \n }\n \n }\n { jobPost && jobCandidate === undefined && \n renderPreJobCandidateButtons()\n }\n \n { renderJobPickerDialog() }\n { renderJobInviteDialog() }\n { renderJobApplyDialog() }\n \n )\n}\n\nexport default JobCandidateStatusFlowCard\n","import * as React from 'react'\nimport {makeObservable, observable, when} from \"mobx\";\nimport {inject, observer} from \"mobx-react\";\n// Routing \nimport ControlTower, { Routes } from '../../components/ControlTower';\nimport {RouteComponentProps} from \"@reach/router\";\n// UI\nimport {\n Box,\n createStyles,\n Grid,\n Tab,\n Tabs,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n withTheme,\n WithTheme\n} from \"@material-ui/core\";\n// Stores\nimport AccountStore from \"../../stores/AccountStore\";\nimport ProfileStore from \"../../stores/ProfileStore\";\nimport UserStore from \"../../stores/UserStore\";\n// Components\nimport Confirm from \"../../components/confirm/Confirm\";\nimport Notify from \"../../components/notify/Notify\";\nimport Page from '../../components/page/Page'\nimport Progress from \"../../components/Progress\";\n// Models\nimport JobCandidate from '../../model/JobCandidate';\nimport Profile from '../../model/Profile';\nimport User from '../../model/User';\nimport Logger from '../../components/Logger';\nimport MarginRow from '../../components/page/MarginRow';\nimport UserCRMActionsPanel from '../../components/user/UserCRMActionsPanel';\nimport UserActivityList from '../../components/userActivity/UserActivityList';\nimport JobCandidateList from '../../components/jobCandidates/JobCandidateList';\nimport {SubjectType} from \"../../API\";\nimport ProfilePage from \"../profile/ProfilePage\";\nimport NoteActivityPanel from \"../../components/userActivity/NoteActivityPanel\";\nimport {getISODateTime} from \"../../stores/StoreUtilities\";\nimport UserActivity from \"../../model/UserActivity\";\nimport JobStore from \"../../stores/JobStore\";\nimport ProfileNameView from '../../components/profile/ProfileNameView';\nimport JobCandidateStatusFlowCard from '../../components/jobCandidates/JobCandidateStatusFlowCard';\nimport JobCandidateNotes from \"../../components/jobCandidates/JobCandidateNotes\";\n\nconst styles = (theme: Theme) => createStyles({\n avatar: {\n backgroundColor: theme.palette.primary.main,\n borderWidth: 2,\n fontSize: 14,\n width: theme.spacing(4),\n height: theme.spacing(4)\n },\n tabs: {\n flexGrow: 1,\n backgroundColor: theme.palette.common.white\n },\n tab: {\n fontSize: 15,\n fontWeight: 600,\n textTransform: 'capitalize'\n },\n})\n\ninterface IManageCandidatePageProps {\n location?: any \n tab?: string\n embed?: boolean\n profileId?: string\n notesOnly?: boolean\n \n // Pass in JobCandidate when the user is reviewing this Candidate for a specific JobPost. \n jobCandidate?: JobCandidate\n onUpdateJobCandidate?(jobCandidate: JobCandidate): void \n onCreateJobCandidate?(newJobCandidate: JobCandidate): void \n\n userStore?: UserStore\n profileStore?: ProfileStore\n accountStore?: AccountStore\n jobStore?: JobStore\n progress?: Progress\n notify?: Notify\n confirm?: Confirm\n}\n\n@inject(\"userStore\", \"profileStore\", \"accountStore\", \"jobStore\", \"progress\", \"notify\", \"confirm\")\n@observer\nclass ManageCandidatePage extends React.Component & RouteComponentProps & IManageCandidatePageProps & WithTheme> {\n \n @observable isLoading = true\n @observable profile?: Profile\n @observable user?: User\n @observable tab: string = \"activity\"\n @observable notesUpdateAt = getISODateTime()\n \n constructor(\n props: WithStyles & RouteComponentProps & IManageCandidatePageProps & WithTheme\n ) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount() {\n const { accountStore, userStore, profileStore, progress, tab } = this.props\n \n progress!.show(\"ManageCandidatePage\")\n when(\n // once\n () => !accountStore!.isLoading && !userStore!.isLoading && !profileStore!.isLoading,\n // then \n async () => {\n this.tab = tab ?? \"activity\"\n // if (!embed) {\n // const searchParams = new URLSearchParams(this?.props?.location?.search)\n // const jobCandidateId = searchParams.get(\"jobCandidateId\") ?? undefined\n // if (jobCandidateId) {\n // await this.loadJobCandidate(jobCandidateId)\n // }\n // }\n await this.loadProfile()\n progress!.hide(\"ManageCandidatePage\")\n this.isLoading = false \n }\n )\n }\n\n componentDidUpdate(prevProps: any) {\n if (this.props.tab && this.props.tab !== prevProps.tab) {\n this.tab = this.props.tab\n }\n }\n\n render() {\n const { embed } = this.props\n\n const title = \"Manage Candidate\"\n\n const content = this.isLoading === false ? this.renderContent() : null\n\n if (embed) {\n return content\n } else {\n return (\n \n \n \n \n \n {title}\n \n \n \n {content}\n \n \n )\n }\n }\n\n renderContent = () => {\n const { \n classes, \n embed, \n jobCandidate, \n onUpdateJobCandidate,\n onCreateJobCandidate,\n userStore \n } = this.props\n\n let tabNames: string[]\n if (userStore!.isEmployer) {\n tabNames = [\"profile\", \"notes\", \"activity\"]\n } else {\n tabNames = [\"profile\", \"notes\", \"activity\", \"jobs\"]\n }\n const tabName = this.tab !== undefined ? this.tab : tabNames[0]\n let tabValue = tabNames.findIndex(name => tabName === name)\n if (tabValue < 0) {\n tabValue = 0\n }\n\n if (!this.profile || !this.user) {\n return null\n }\n\n return (\n \n \n \n \n \n \n \n \n { (userStore!.isAdminOrAgent || (jobCandidate && jobCandidate.unlocked === true)) &&\n \n {}}\n />\n \n }\n \n \n \n \n \n \n onUpdateJobCandidate && onUpdateJobCandidate(updatedJobCandidate)}\n onCreateJobCandidate={(newJobCandidate: JobCandidate) => onCreateJobCandidate && onCreateJobCandidate(newJobCandidate)}\n />\n \n \n {\n // Navigate to tab to allow a direct url to each tab\n const tabName = tabNames[value]\n if (embed) {\n this.tab = tabName\n } else {\n let searchParams = new URLSearchParams()\n searchParams.append('profileId', this.profile!.id)\n // if (this.jobCandidate) {\n // searchParams.append('jobCandidateId', this.jobCandidate.id)\n // }\n ControlTower.route(`${Routes.manageCandidate}/${tabName}?${searchParams.toString()}`)\n }\n }}\n variant=\"fullWidth\"\n indicatorColor=\"secondary\"\n textColor=\"secondary\"\n className={ classes.tabs }\n >\n {tabNames.map((tabName) => {\n return \n })}\n \n \n \n {tabName === \"profile\" &&\n \n {\n this.profile = updatedProfile\n }}\n />\n \n }\n {tabName === \"notes\" &&\n \n {!jobCandidate &&\n \n }\n {jobCandidate &&\n \n }\n \n }\n {tabName === \"activity\" &&\n \n {!jobCandidate &&\n \n }\n {jobCandidate &&\n \n }\n \n }\n {tabName === \"jobs\" && \n \n { embed ? \n {\n // // TODO: Open a side drawer to find jobs for the candidate. \n // const route = Routes.findJobs\n // ControlTower.route(route)\n // }}\n />\n :\n {\n // // TODO: Open a side drawer to find jobs for the candidate. \n // const route = Routes.findJobs\n // ControlTower.route(route)\n // }}\n onClickManageJobs={() => {\n const route = Routes.manageJobs\n ControlTower.route(route)\n }}\n />\n }\n \n }\n \n \n \n )\n }\n\n // Loading \n \n loadProfile = async () => {\n const { location, profileStore, profileId } = this.props\n let profId\n if (profileId) {\n profId = profileId\n } else if (location) {\n profId = new URLSearchParams(location.search).get(\"profileId\")\n }\n\n if (!profId) {\n const message = 'Could not load user profile.'\n Logger.error(message, new Error(message))\n return \n }\n\n const profile = await profileStore!.getProfile(profId)\n if (profile) {\n this.profile = profile\n if (profile.user) {\n this.user = profile.user\n }\n }\n }\n\n handleAddNote = (note: UserActivity) => {\n this.notesUpdateAt = note.updatedAt\n }\n}\n\nexport default withTheme((withStyles(styles)(ManageCandidatePage)))\n","import * as React from 'react'\nimport {inject, observer} from \"mobx-react\";\nimport {autorun, makeObservable, observable} from \"mobx\";\nimport {Box, createStyles, Grid, Theme, Typography} from \"@material-ui/core\";\nimport AccountStore, {AccountStoreConstants} from \"../../stores/AccountStore\";\nimport {withStyles, WithStyles, withTheme, WithTheme} from \"@material-ui/core/styles\";\nimport {RouteComponentProps} from \"@reach/router\";\nimport User from \"../../model/User\";\nimport * as APITypes from \"../../API\";\nimport SearchBar from \"material-ui-search-bar\";\nimport ProfileStore from \"../../stores/ProfileStore\";\nimport CandidateCard from \"./CandidateCard\";\nimport Progress from \"../../components/Progress\";\nimport FilterBar from \"../../components/filter/FilterBar\";\nimport ServiceFilter from \"../../components/filter/ServiceFilter\";\nimport {LocationOption, ServiceOption} from \"../../stores/ResourceCache\";\nimport SideDrawer from \"../../components/page/SideDrawer\";\nimport ManageCandidatePage from \"../manageCandidates/ManageCandidatePage\";\nimport UserStore from \"../../stores/UserStore\";\nimport AddButton from '../../components/AddButton';\nimport Profile from '../../model/Profile';\nimport Stack from '../../components/Stack';\nimport PlaceFilter from \"../../components/filter/PlaceFilter\";\nimport {UserStatus} from \"../../API\";\n\nconst styles = (theme: Theme) => createStyles({\n content: {\n flexGrow: 1,\n width: \"100%\",\n // padding: 3,\n overflow: 'visible',\n },\n searchbar: {\n display: \"flex\",\n flexGrow: 2,\n width: '100%',\n height: 38\n },\n cardspace: {\n // width: \"100%\",\n overflow: 'visible',\n paddingBottom: theme.spacing(3), // card shadow was being cut off on left and bottom of cardspace, card size reduced by 3 to accommodate\n paddingLeft: theme.spacing(1), \n paddingRight: theme.spacing(1),\n paddingTop: theme.spacing(1)\n },\n card: {\n // minWidth: 567, // removing minWidth allows cards to be squished, if desired\n minHeight: \"100%\"\n },\n searchIcon: {\n color: theme.palette.secondary.main\n },\n searchFilter: {\n flexGrow: 1,\n // width: 294\n },\n filter: {\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"flex-start\",\n alignItems: \"left\"\n },\n filterControl: {\n textAlign: \"left\"\n },\n statusFilter: {\n backgroundColor: theme.palette.background.paper,\n borderRadius: 10,\n },\n locationFilter: {\n backgroundColor: theme.palette.background.paper,\n borderRadius: 10,\n },\n serviceFilter: {\n backgroundColor: theme.palette.background.paper,\n borderRadius: 10,\n },\n numFound: {\n flexGrow: 1,\n width: \"100%\",\n padding: 3,\n color: \"initial\",\n },\n})\n\ninterface ICandidateListProps {\n accountStore?: AccountStore\n userStore?: UserStore\n profileStore?: ProfileStore\n progress?: Progress\n}\n\n@inject(\"accountStore\", \"userStore\", \"profileStore\", \"progress\")\n@observer\nclass CandidateList extends React.Component & RouteComponentProps & ICandidateListProps & WithTheme> {\n @observable users: User[] = []\n @observable search: string = \"\"\n @observable sortBy?: any = {field: \"default\", asc: true}\n @observable serviceFilter?: ServiceOption\n @observable locationFilter?: LocationOption\n @observable candidate?: User\n @observable industryFilter?: string\n\n constructor(\n props: WithStyles & RouteComponentProps & ICandidateListProps & WithTheme\n ) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount() {\n const { userStore } = this.props\n this.industryFilter = userStore!.industry\n\n autorun(\n async () => {\n if (!userStore!.isLoading && userStore!.industry !== this.industryFilter) {\n this.industryFilter = userStore!.industry\n this.onSearch()\n }\n }\n )\n }\n\n render() {\n const { classes, progress } = this.props\n return (\n \n\n {this.renderFilterBar()}\n\n
\n { progress!.isVisible && \"Loading...\"}\n {!progress!.isVisible && `${this.users.length} Candidates found`}\n
\n { this.users.length === 0 && \n \n \n \n Enter a first name or last name or email in the search box above, or select a job title and/or location.
\n Note, name searching is case-sensitive and you can only search for first or last name, but not both.\n
\n Then, press the Search button.\n
\n
\n }\n \n {this.users.map((user: any, index: number) => {\n return (\n \n \n \n )\n })}\n \n {this.renderDrawer()}\n \n )\n }\n\n renderFilterBar = () => {\n const {classes } = this.props\n\n return (\n \n \n
\n \n
\n\n \n\n \n\n \n\n \n
\n )\n }\n\n renderDrawer = () => {\n if (!this.candidate || !this.candidate.profile) {\n return null\n }\n\n return (\n {\n this.onChangeCandidate(this.candidate!)\n this.candidate = undefined\n }}\n size=\"large\"\n >\n \n \n \n \n )\n }\n\n onSearch = async () => {\n const { accountStore, progress, profileStore } = this.props\n\n progress!.show(\"CandidateList\")\n\n let users: User[] = []\n let profiles: Profile[] = []\n\n if (this.locationFilter && this.serviceFilter) {\n profiles = await profileStore!.listProfilesByLocationRadius(this.locationFilter.id, this.serviceFilter.id)\n } else if (this.serviceFilter) {\n profiles = await profileStore!.listProfilesByService(this.serviceFilter.id)\n } else if (this.locationFilter) {\n profiles = await profileStore!.listProfilesByLocationRadius(this.locationFilter.id)\n }\n // else {\n // const filter: ModelProfileFilterInput = {\n // profileStatus: {eq: ProfileStatus.Accepted}\n // }\n // profiles = await profileStore!.listProfiles(filter)\n // }\n\n if (this.industryFilter) {\n // Filter by industry\n profiles = profiles.filter((p: Profile) => p.industries.indexOf(this.industryFilter!) >= 0)\n }\n\n if (this.search === \"\") {\n // Handle search with no search term entered into the search box. \n profiles.forEach(profile => {\n const user = profile.user\n if (user && user.role === APITypes.UserRole.Candidate) {\n user.profile = profile \n users.push(user)\n }\n })\n } else {\n // Handle search with search term entered. \n if (profiles.length > 0) {\n // We have a location and/or service filter applied, get users who match search term. \n profiles.forEach(profile => {\n const user = profile.user\n const search = this.search!.toLowerCase().replace(/\\s{2,}/g, \" \")\n if (user && user.role === APITypes.UserRole.Candidate\n && (this.searchName(user.fullName, search)\n || this.searchEmail(user.email, this.search))) {\n user.profile = profile \n users.push(user)\n }\n })\n } else if (this.search) {\n // No location or service filter, grab users who match the search term. \n const filter: APITypes.ModelUserFilterInput | undefined = {\n and: [\n {\n role: { eq: APITypes.UserRole.Candidate },\n userStatus: { eq: UserStatus.Registered }\n },\n {\n or: [\n {firstName: {beginsWith: this.search}},\n {lastName: {beginsWith: this.search}},\n {email: {beginsWith: this.search.toLowerCase()}}\n ]\n }\n ]\n }\n const accountId = AccountStoreConstants.PRIMARY_ACCOUNT_ID\n users = await accountStore!.listCandidatesByAccount(accountId, filter)\n\n if (this.industryFilter) {\n // Filter by industry\n users = users.filter((u: User) => {\n return u.profile && u.profile.industries.indexOf(this.industryFilter!) >= 0\n })\n }\n }\n }\n\n this.users = users\n if (users.length > 0) {\n this.sortUsers()\n } \n\n progress!.hide(\"CandidateList\")\n }\n\n onSearchChange = (value: string) => {\n this.search = value ? value.trim() : \"\"\n }\n\n onSelectService = (value?: ServiceOption) => {\n if (value) {\n this.serviceFilter = value\n } else {\n this.serviceFilter = undefined\n }\n }\n\n onSelectLocation = (value?: LocationOption) => {\n if (value) {\n this.locationFilter = value\n } else {\n this.locationFilter = undefined\n }\n }\n\n searchName = (userFullName: string, search: string) => {\n const index = userFullName.toLowerCase().indexOf(search.toLowerCase())\n const isFound = index >= 0\n return isFound\n }\n\n searchEmail = (email: string, search:string) => {\n const index = email.toLowerCase().indexOf(search.toLowerCase())\n const isFound = index >= 0\n return isFound\n }\n\n sortUsers = () => {\n if (this.sortBy.field === \"default\") {\n if (this.sortBy.asc) {\n this.users.sort((a: User, b: User) => {\n if (a.lastName === b.lastName) {\n return a.firstName.localeCompare(b.firstName)\n } else {\n return a.lastName.localeCompare(b.lastName)\n }\n })\n } else {\n this.users.sort((a: User, b: User) => {\n if (a.lastName === b.lastName) {\n return b.firstName.localeCompare(a.firstName)\n } else {\n return b.lastName.localeCompare(a.lastName)\n }\n })\n }\n }\n }\n\n onRequestSearch = () => {\n this.search = this.search ? this.search.trim() : \"\"\n this.onSearch()\n }\n\n onCancelSearch = () => {\n this.search = \"\"\n }\n\n onClickCandidate= (user: User) => {\n this.candidate = user\n }\n\n onChangeCandidate = async (user: User) => {\n const {userStore} = this.props\n // Reload user\n const updatedUser = await userStore!.getUserAndProfile(user.id)\n if (updatedUser) {\n const index = this.users.findIndex((u: User) => u.id === user.id)\n if (index >= 0) {\n if (updatedUser.userStatus === UserStatus.Inactive) {\n this.users.splice(index, 1)\n this.users = [...this.users]\n } else {\n this.users[index] = updatedUser\n }\n }\n }\n }\n}\n\nexport default withTheme((withStyles(styles)(CandidateList)))\n\n\n","import * as React from \"react\";\nimport {\n Card,\n CardContent,\n createStyles,\n Grid,\n Theme,\n Typography,\n withStyles,\n WithStyles\n} from \"@material-ui/core\";\nimport CardValue from \"../../components/CardValue\";\nimport { phoneToNationalFormat } from \"../../stores/StoreUtilities\";\nimport { makeObservable, observable } from \"mobx\";\nimport { observer } from \"mobx-react\";\nimport ActionLink from \"../../components/ActionLink\";\nimport Account from \"../../model/Account\";\nimport Stack from \"../../components/Stack\";\n\nconst styles = (theme: Theme) => createStyles({\n container: {\n minHeight: \"100%\"\n },\n card: {\n fontSize: 12,\n padding: '16px !important', // overriding CardContent root setting\n },\n name: {\n fontSize: 20,\n paddingBottom: '6px',\n color: theme.palette.secondary.main,\n fontWeight: \"bold\",\n },\n link: {\n color: theme.palette.secondary.main,\n },\n button: {\n marginLeft: theme.spacing(1)\n }\n})\n\ninterface IAccountCardProps {\n account: any\n onNameClick?: () => void\n}\n\n@observer\nclass AccountCard extends React.Component & IAccountCardProps> {\n @observable isFormOpen: boolean = false\n @observable dataChanged: boolean = false\n\n constructor(props: any) {\n super(props)\n makeObservable(this)\n }\n \n render() {\n const { classes, account, onNameClick } = this.props\n\n const phoneNumber = account.phone ? phoneToNationalFormat(account.phone) : \"\"\n const webUrl = account.webUrl ? this.urlRemoveEndSlash(this.urlRemoveProtocol(account.webUrl)) : \"\"\n\n return (\n \n \n {/* {editButton} */}\n \n \n \n \n \n \n \n \n \n \n \n {account.address}
{account.city}, {account.state} {account.postalCode}\n
\n \n {phoneNumber}\n \n \n {webUrl}\n \n \n {account.accountStatus}\n \n
\n
\n
\n
\n
\n )\n }\n\n urlRemoveProtocol = (webUrl: string) => {\n const L = webUrl.length\n if (webUrl.slice(0, L>=8?8:0) === \"https://\") {\n return webUrl.slice(8)\n } if (webUrl.slice(0, L>=7?7:0) === \"http://\") {\n return webUrl.slice(7)\n }\n return webUrl\n }\n \n urlRemoveEndSlash = (webUrl: string) => {\n return /.*\\/$/.test(webUrl) ? webUrl.slice(0, webUrl.length - 1) : webUrl\n }\n}\n\nexport default withStyles(styles)(AccountCard)","import {\n createStyles,\n Dialog,\n DialogActions,\n DialogContent,\n DialogTitle,\n FormGroup,\n Theme,\n withStyles\n} from '@material-ui/core';\nimport {WithStyles} from '@material-ui/core/styles';\nimport {makeObservable, observable} from 'mobx';\nimport {inject, observer} from 'mobx-react';\nimport React from 'react';\nimport FormValidator from '../../../components/form/FormValidator';\nimport ProgressButton from '../../../components/form/ProgressButton';\nimport StateSelector from '../../../components/form/StateSelector';\nimport TextFieldValidator from '../../../components/form/TextFieldValidator';\nimport {phoneToE164Format, phoneToNationalFormat} from \"../../../stores/StoreUtilities\";\nimport Notify from '../../../components/notify/Notify';\nimport Account from '../../../model/Account';\nimport AccountStore from '../../../stores/AccountStore';\nimport {AccountStatus, SubjectType} from '../../../API';\nimport UserStore from '../../../stores/UserStore';\nimport CancelButton from '../../../components/form/CancelButton';\nimport IndustrySelector from \"../../../components/form/IndustrySelector\";\nimport {ActivityType} from \"../../../model/UserActivity\";\nimport Stack from '../../../components/Stack';\n\nconst styles = (theme: Theme) => createStyles({\n wrapper: {\n maxWidth: theme.breakpoints.values.sm,\n paddingBottom: theme.spacing(3)\n },\n submitButtonContainer: {\n paddingTop: theme.spacing(2),\n },\n submitButton: {\n color: \"#fff\",\n },\n formTitle: {\n color: '#181818',\n [theme.breakpoints.down('xs')]: {\n fontSize: '30px',\n marginTop: 0,\n marginBottom: 0,\n paddingTop: 0\n },\n [theme.breakpoints.up('sm')]: {\n fontSize: '36px',\n marginBottom: 0\n }\n },\n formSubTitle: {\n fontSize: '17px',\n color: '#181818',\n letterSpacing: '0.75px',\n fontWeight: 400,\n [theme.breakpoints.down('xs')]: {\n display: \"none\"\n },\n },\n formGroupRow: {\n display: \"flex\",\n justifyContent: \"space-between\",\n flexWrap: \"nowrap\"\n },\n formGroupField: {\n flexGrow: 1,\n },\n formGroupSpacing: {\n flexGrow: 0,\n width: 10,\n },\n formGroupSpacingSmUp: {\n flexGrow: 0,\n [theme.breakpoints.up('sm')]: {\n width: 10,\n },\n },\n stateSelectorField: {\n top: -3\n },\n zipCodeField: {\n width: 100\n },\n formGroup: {\n marginBottom: 0,\n paddingBottom: 0\n },\n fieldLabel: {\n fontSize: 12,\n fontWeight: 400,\n color: theme.palette.text.secondary,\n paddingTop: theme.spacing(1),\n paddingBottom: 0\n },\n})\n\nclass AccountSettingsViewModel {\n id: string\n @observable accountName: string\n @observable addressLine1: string\n @observable addressCity: string\n @observable addressState: string\n @observable addressPostalCode: string\n // @observable dunsNumber: string\n // @observable fein: string\n @observable accountStatus: AccountStatus\n @observable phone: string\n @observable webUrl: string\n // @observable naicsCode: string\n // @observable sicCode: string\n // @observable cageCode: string\n @observable socioEconomicDesignation: string\n @observable industries: string[]\n\n constructor(account: Account) {\n makeObservable(this)\n this.id = account.id\n this.accountName = account.name\n this.addressLine1 = account.address\n this.addressCity = account.city\n this.addressState = account.state\n this.addressPostalCode = account.postalCode\n // this.dunsNumber = account.dunsNumber\n // this.fein = account.fein\n this.accountStatus = account.accountStatus\n this.phone = phoneToNationalFormat(account.phone)\n this.webUrl = account.webUrl\n // this.naicsCode = account.naicsCode\n // this.sicCode = account.sicCode\n // this.cageCode = account.cageCode\n this.socioEconomicDesignation = account.socioEconomicDesignation\n this.industries = account.industries\n }\n}\n\ninterface IAccountSettingsDialog {\n userStore?: UserStore\n accountStore?: AccountStore\n account?: Account\n notify?: Notify\n open?: boolean\n onClose: () => any\n onCreateAccount(account: Account): Promise \n onUpdateAccount(account: Account): Promise \n}\n\n@inject('userStore', 'accountStore', 'notify')\n@observer\nclass AccountSettingsDialog extends React.Component & IAccountSettingsDialog> {\n\n @observable vm?: AccountSettingsViewModel\n @observable isProcessing: boolean = false\n \n constructor(props: WithStyles & IAccountSettingsDialog) {\n super(props)\n makeObservable(this)\n }\n\n componentDidMount() {\n const { account, userStore } = this.props\n if (account) {\n this.vm = new AccountSettingsViewModel(account)\n } else {\n this.vm = new AccountSettingsViewModel({\n id: \"\",\n name: \"\",\n address: \"\",\n city: \"\",\n state: \"\",\n postalCode: \"\",\n // fein: \"\",\n accountStatus: AccountStatus.Approved,\n phone: \"\",\n webUrl: \"\",\n // naicsCode: \"\",\n // sicCode: \"\",\n // cageCode: \"\",\n socioEconomicDesignation: \"\"\n } as Account)\n }\n }\n\n componentDidUpdate(prevProps: any) {\n if (prevProps.account !== this.props.account) {\n this.componentDidMount()\n }\n }\n\n handleChange = (event: React.ChangeEvent) => {\n const name = event.target.name\n this.vm![name] = event.target.value\n }\n\n handleChangeIndustries = (industries: string[]) => {\n this.vm!.industries =industries\n }\n\n handleSave = async () => {\n const { onCreateAccount, onUpdateAccount: onAccountUpdate, account, userStore } = this.props\n\n if (!this.vm) {\n return\n }\n this.isProcessing = true\n try {\n if (account) {\n const updatedAccount = await this.props.accountStore!.updateAccount({\n id: this.vm.id,\n name: this.vm.accountName,\n address: this.vm.addressLine1,\n city: this.vm.addressCity,\n state: this.vm.addressState,\n postalCode: this.vm.addressPostalCode,\n // dunsNumber: this.vm.dunsNumber,\n // fein: this.vm.fein,\n accountStatus: this.vm.accountStatus,\n phone: phoneToE164Format(this.vm.phone),\n webUrl: this.urlEnsureProtocolFormat(this.vm.webUrl),\n // naicsCode: this.vm.naicsCode,\n // sicCode: this.vm.sicCode,\n // cageCode: this.vm.cageCode,\n socioEconomicDesignation: this.vm.socioEconomicDesignation,\n industries: this.vm.industries\n })\n\n if (updatedAccount) {\n if (updatedAccount.id === this.props.userStore!.user!.account!.id) {\n this.props.userStore!.user!.account = updatedAccount\n this.props.userStore!.getIndustry()\n }\n await onAccountUpdate(updatedAccount)\n }\n } else {\n const newAccount = await this.props.accountStore!.createAccount({\n name: this.vm.accountName,\n address: this.vm.addressLine1,\n city: this.vm.addressCity,\n state: this.vm.addressState,\n postalCode: this.vm.addressPostalCode,\n // dunsNumber: this.vm.dunsNumber,\n // fein: this.vm.fein,\n accountStatus: this.vm.accountStatus,\n phone: phoneToE164Format(this.vm.phone),\n webUrl: this.urlEnsureProtocolFormat(this.vm.webUrl),\n // naicsCode: this.vm.naicsCode,\n // sicCode: this.vm.sicCode,\n // cageCode: this.vm.cageCode,\n socioEconomicDesignation: this.vm.socioEconomicDesignation,\n industries: this.vm.industries\n })\n\n if (newAccount) {\n userStore!.logUserActivity(userStore!.user!.id, SubjectType.Account, newAccount.id, ActivityType.AccountCreated, newAccount.name)\n await onCreateAccount(newAccount)\n }\n }\n\n if (this.props.onClose) {\n this.props.onClose()\n }\n } catch (err: any) {\n this.props.notify!.show('error', err.message)\n }\n this.isProcessing = false\n }\n\n handleCancel = () => {\n if (this.props.onClose) {\n this.props.onClose()\n }\n }\n\n urlEnsureProtocolFormat = (webUrl: string | null | undefined) => {\n if (!webUrl) return null // purposefully also sets \"\" to null\n const L = webUrl.length\n if (webUrl.slice(0, L>=7?7:0) !== \"http://\" && webUrl.slice(0, L>=8?8:0) !== \"https://\") {\n return \"http://\" + webUrl\n }\n return webUrl\n }\n\n urlRemoveProtocol = (webUrl: string | null | undefined) => {\n if (!webUrl) return null\n const L = webUrl.length\n if (webUrl.slice(0, L>=8?8:0) === \"https://\") {\n return webUrl.slice(8)\n } if (webUrl.slice(0, L>=7?7:0) === \"http://\") {\n return webUrl.slice(7)\n }\n return webUrl\n }\n\n render() {\n const { classes, open, userStore, accountStore } = this.props;\n\n if (!this.vm) {\n return null\n }\n\n const isAdminOrAgent = userStore!.isAdminOrAgent\n const isSelf = userStore!.user!.accountId === this.vm.id\n\n return (\n \n Account Settings\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 {isAdminOrAgent &&\n {\n this.vm!.accountStatus = value\n }\n }}\n disabled={isSelf && !userStore!.isAdmin}\n InputLabelProps={{shrink: this.vm.accountStatus ? true : false}}\n />\n }\n \n
\n \n \n \n \n Save\n \n \n \n
\n )\n }\n}\n\nexport default withStyles(styles)(AccountSettingsDialog)","import { Box } from \"@material-ui/core\"\nimport { PropsWithChildren } from \"react\"\n\nconst PageHeadingPanel = ({\n embed,\n children \n}: {\n embed: boolean \n} & PropsWithChildren) => {\n return (\n \n {children}\n \n )\n}\n\nexport default PageHeadingPanel\n","import { Box } from \"@material-ui/core\"\nimport { PropsWithChildren } from \"react\"\n\nconst PageTabsPanel = ({\n embed,\n children \n}: {\n embed: boolean \n} & PropsWithChildren) => {\n return (\n \n {children}\n \n )\n}\n\nexport default PageTabsPanel\n","import { Box } from \"@material-ui/core\"\nimport { PropsWithChildren } from \"react\"\n\nconst PageTabPanel = ({\n embed,\n children \n}: {\n embed: boolean \n} & PropsWithChildren) => {\n return (\n \n \n {children}\n \n \n )\n}\n\nexport default PageTabPanel\n","import { Box, Typography, useMediaQuery, useTheme } from \"@material-ui/core\"\n\nconst PageTitle = ({\n title,\n align, \n variant\n}: {\n title: string \n align?: \"left\" | \"center\" | \"right\"\n variant?: \"h1\" | \"h2\" | \"h3\"\n}) => {\n const theme = useTheme()\n const isSmallScreen = useMediaQuery(theme.breakpoints.down('md'))\n \n return (\n \n \n {title}\n \n \n )\n}\n\nexport default PageTitle \n","import { CircularProgress, Container } from \"@material-ui/core\"\nimport Stack from \"../Stack\"\n\nconst LoadingPanel = () => {\n return (\n \n \n \n \n \n )\n}\n\nexport default LoadingPanel\n","// import { Autocomplete } from \"@material-ui/lab\"\nimport FileDialog from \"../../components/file/FileDialog\"\n// import FilePreviewWithDialog from \"../../components/file/FilePreviewWithDialog\"\nimport { createUUID } from \"../../stores/StoreUtilities\"\nimport TextFieldValidator from \"../../components/form/TextFieldValidator\"\nimport { useStores } from \"../../stores/StoreProvider\"\nimport { AgreementType, CreateAgreementInput, UpdateAgreementInput } from \"../../API\"\nimport { useEffect, useState } from \"react\"\nimport FormValidator from \"../../components/form/FormValidator\"\nimport { when } from \"mobx\"\nimport LoadingPanel from \"../../components/panel/LoadingPanel\"\nimport Agreement from \"../../model/Agreement\"\nimport { onDeleteAgreement } from \"../../graphql/subscriptions\"\n\nconst AgreementDialog = ({\n isOpen,\n accountId,\n agreementId, \n onClose, \n onUpdateAgreement,\n onCreateAgreement, \n onDeleteAgreement\n}: {\n isOpen: boolean \n accountId: string \n agreementId?: string \n onClose: () => void \n onUpdateAgreement(updatedAgreement: Agreement): Promise \n onCreateAgreement(createdAgreement: Agreement): Promise \n onDeleteAgreement(deletedAgreement: Agreement): Promise \n}) => {\n const { accountStore, userStore } = useStores()\n const [isLoading, setIsLoading] = useState(true)\n const [agreementType, setAgreementType] = useState()\n const [agreement, setAgreement] = useState()\n\n const agreementTypes: AgreementType[] = [\n AgreementType.MasterServicesAndNonSolicitation,\n AgreementType.ExclusiveRecruitment,\n AgreementType.StaffingAgreement,\n AgreementType.ProfessionalServicesAgreement,\n AgreementType.ConfidentialityAndNonDisclosure\n ]\n\n useEffect(() => {\n when(\n () => userStore.isLoading === false && accountStore.isLoading === false, \n async () => {\n if (agreementId) {\n const agreement = await userStore.getAgreement(agreementId)\n setAgreement(agreement)\n if (agreement) {\n const agreementType = agreement!.agreementTypes[0]\n setAgreementType(agreementType)\n } else {\n setAgreementType(undefined)\n }\n } else {\n setAgreement(undefined)\n setAgreementType(undefined)\n }\n setIsLoading(false)\n }\n )\n }, [\n accountId, \n agreementId \n ])\n\n const fileFolder = () => {\n return `accounts/${accountId}/agreements`\n }\n\n return (\n file ? `${fileFolder()}/${createUUID()}-${file.name}` : ''}\n fileNameGetter={() => {\n if (agreement?.agreementKey) {\n const chunks = agreement.agreementKey.split(`${fileFolder()}`)\n return chunks[chunks.length - 1]\n }\n return null \n }}\n onSaveDialog={async () => {\n if (agreementId) {\n const input: UpdateAgreementInput = {\n id: agreementId,\n agreementTypes: [agreementType!]\n }\n const agreement = await userStore.updateAgreement(input)\n onUpdateAgreement(agreement!)\n } else {\n const input: CreateAgreementInput = {\n userId: userStore.user!.id, \n accountId: accountId, \n agreementTypes: [agreementType!]\n }\n const agreement = await userStore.createAgreement(input)\n onCreateAgreement(agreement!)\n }\n }}\n onSaveWithFile={async (key: string, fileUrl: string) => {\n if (agreementId) {\n const input: UpdateAgreementInput = {\n id: agreementId,\n agreementTypes: [agreementType!], \n agreementKey: key\n }\n const agreement = await userStore.updateAgreement(input)\n onUpdateAgreement(agreement!)\n } else {\n const input: CreateAgreementInput = {\n userId: userStore.user!.id, \n accountId: accountId, \n agreementTypes: [agreementType!],\n agreementKey: key \n }\n const agreement = await userStore.createAgreement(input)\n onCreateAgreement(agreement!)\n }\n }}\n onDeleteFile={async (key: string, fileUrl: string) => {\n const agreement = await userStore.deleteAgreement(agreementId!)\n await onDeleteAgreement(agreement!)\n }} \n onClose={onClose}\n uploadDisabled={ isLoading || !agreementType }\n uploadButtonText=\"Upload\"\n >\n \n accountStore.agreementTypeToString(option),\n getOptionSelected: (option: AgreementType, value: AgreementType) => option === value,\n onChange: async (event: any, value: any, reason: any) => {\n setAgreementType(value)\n }\n }}\n />\n \n \n )\n}\n\nexport default AgreementDialog\n","import { useEffect, useState } from \"react\"\nimport { when } from \"mobx\"\nimport { useStores } from \"../../stores/StoreProvider\"\nimport Agreement from \"../../model/Agreement\"\nimport Stack from \"../../components/Stack\"\nimport { Box, Button, Card, CardContent, Typography, useTheme } from \"@material-ui/core\"\nimport { OpenInNew, PostAdd } from \"@material-ui/icons\"\nimport { AgreementType, ModelAgreementFilterInput } from \"../../API\"\nimport ControlTower, { Routes } from \"../../components/ControlTower\"\nimport IconicButton from \"../../components/controls/IconicButton\"\nimport LoadingPanel from \"../../components/panel/LoadingPanel\"\nimport AgreementDialog from \"./AgreementDialog\"\nimport FilePreview from \"../../components/file/FilePreview\"\nimport ActionLink from \"../../components/ActionLink\"\nimport { isoToLocalDateString } from \"../../stores/StoreUtilities\"\nimport CardValue from \"../../components/CardValue\"\nimport EditButton from \"../../components/controls/EditButton\"\n\ninterface AgreementInfo {\n id: string \n title: string \n route?: string \n agreementKey?: string,\n updatedDate: string, \n createdDate: string \n}\n\nconst AgreementsList = ({\n accountId \n}: {\n accountId: string \n}) => {\n \n const { accountStore, profileStore, progress, userStore } = useStores()\n const theme = useTheme()\n\n const progressName = \"AgreementsList\"\n const [isLoading, setIsLoading] = useState(true)\n const [agreements, setAgreements] = useState([])\n const [agreementInfo, setAgreementInfo] = useState([])\n const [isAgreementDialogOpen, setIsAgreementDialogOpen] = useState(false)\n const [agreementId, setAgreementId] = useState()\n \n useEffect(() => {\n const loadAgreements = async (accountId: string) => { \n const filter: ModelAgreementFilterInput = {\n or: [\n {agreementTypes: {contains: AgreementType.MasterServicesAndNonSolicitation}},\n {agreementTypes: {contains: AgreementType.ConfidentialityAndNonDisclosure}},\n {agreementTypes: {contains: AgreementType.StaffingAgreement}},\n {agreementTypes: {contains: AgreementType.ProfessionalServicesAgreement}},\n {agreementTypes: {contains: AgreementType.ExclusiveRecruitment}},\n ]\n \n }\n const agreements = await accountStore!.listAgreementsByAccount(accountId, filter)\n setAgreements(agreements)\n }\n\n when(\n () => accountStore.isLoading === false && userStore.isLoading === false, \n async () => {\n progress.show(progressName)\n await loadAgreements(accountId)\n progress.hide(progressName)\n setIsLoading(false)\n }\n )\n }, [\n accountId,\n accountStore, \n userStore \n ])\n\n // const renderAgreementPreview = (agreementInfo?: AgreementInfo) => {\n // if (!agreementInfo?.agreementKey) {\n // return null \n // }\n // return (\n // \n // {\n // setIsAgreementDialogOpen(true)\n // }}\n // />\n // \n // )\n // }\n\n const renderAgreementDialog = (agreementInfo?: AgreementInfo) => {\n let isOpen = false \n if (isAgreementDialogOpen && agreementId && agreementInfo?.id === agreementId) {\n isOpen = true \n } else if (isAgreementDialogOpen) {\n isOpen = true \n }\n\n return (\n {\n setAgreementId(undefined)\n setIsAgreementDialogOpen(false)\n }} \n onUpdateAgreement={async (updatedAgreement: Agreement) => {\n const foundIndex = agreements.findIndex(checkAgreement => checkAgreement.id === updatedAgreement.id)\n if (foundIndex !== -1) {\n const agreementsCopy = Object.assign([], agreements)\n agreementsCopy.splice(foundIndex, 1, updatedAgreement)\n setAgreements(agreementsCopy)\n }\n }} \n onCreateAgreement={async (createdAgreement: Agreement) => {\n const agreementsCopy = Object.assign([], agreements)\n agreementsCopy.push(createdAgreement)\n // TODO: Sort the agreements? \n setAgreements(agreementsCopy)\n }}\n onDeleteAgreement={async (deletedAgreement: Agreement) => {\n const agreementsCopy = Object.assign([], agreements)\n const foundIndex = agreements.findIndex(checkAgreement => checkAgreement.id === deletedAgreement.id)\n if (foundIndex !== -1) {\n agreementsCopy.splice(foundIndex, 1)\n setAgreements(agreementsCopy)\n }\n }} \n />\n )\n }\n\n const handleClickAgreement = async (agreementInfo: AgreementInfo) => {\n let url \n if (agreementInfo.agreementKey) {\n url = await profileStore!.getFileURL(agreementInfo.agreementKey, \"private\")\n } else {\n url = agreementInfo.route\n }\n ControlTower.open(url!)\n }\n\n const renderAgreementCard = (agreementInfo: AgreementInfo) => {\n return (\n \n \n \n \n \n {\n await handleClickAgreement(agreementInfo)\n }}\n />\n \n \n \n { agreementInfo.agreementKey && \n {\n setAgreementId(agreementInfo.id)\n setIsAgreementDialogOpen(true)\n }} \n />\n }\n {\n await handleClickAgreement(agreementInfo)\n }}\n >\n \n \n \n \n \n \n {agreementInfo.updatedDate}\n \n {/* { renderAgreementPreview(agreementInfo) } */}\n { renderAgreementDialog(agreementInfo) }\n \n \n \n )\n }\n\n const renderAgreement = (agreement: Agreement) => {\n if (agreement.agreementKey) {\n const agreementType = agreement.agreementTypes[0]\n const title = accountStore.agreementTypeToString(agreementType)\n return renderAgreementCard({\n id: agreement.id, \n title, \n agreementKey: agreement.agreementKey,\n updatedDate: isoToLocalDateString(agreement.updatedAt),\n createdDate: isoToLocalDateString(agreement.createdAt)\n })\n } else {\n return agreement.agreementTypes.map(agreementType => {\n const title = accountStore.agreementTypeToString(agreementType)\n if (agreementType === AgreementType.ExclusiveRecruitment) {\n return renderAgreementCard({\n id: agreement.id, \n title, \n route: `${Routes.msaExclusive}?accountId=${accountId}`,\n updatedDate: isoToLocalDateString(agreement.updatedAt),\n createdDate: isoToLocalDateString(agreement.createdAt)\n })\n } else if (agreementType === AgreementType.MasterServicesAndNonSolicitation) {\n return renderAgreementCard({\n id: agreement.id, \n title, \n route: `${Routes.msa}?accountId=${accountId}`,\n updatedDate: isoToLocalDateString(agreement.updatedAt),\n createdDate: isoToLocalDateString(agreement.createdAt)\n })\n } else if (agreementType === AgreementType.BackgroundCheck) {\n return renderAgreementCard({\n id: agreement.id, \n title, \n route: `${Routes.nda}?accountId=${accountId}`,\n updatedDate: isoToLocalDateString(agreement.updatedAt),\n createdDate: isoToLocalDateString(agreement.createdAt)\n })\n } else {\n // Unhandled agreement type for now. \n return null \n } \n })\n }\n }\n\n const renderAgreements = () => {\n if (agreements.length === 0) {\n return (\n No agreements found.\n )\n } else {\n return agreements.map(agreement => {\n return renderAgreement(agreement)\n }) \n }\n }\n\n const renderLoading = () => {\n return (\n \n )\n }\n\n return (\n \n \n \n \n Agreements\n \n \n { userStore.isAdminOrAgent && \n }\n onClick={() => {\n setAgreementId(undefined)\n setIsAgreementDialogOpen(true)\n }}\n >\n Upload \n \n }\n \n { isLoading ? renderLoading() : renderAgreements() }\n { renderAgreementDialog() }\n \n )\n}\n\nexport default AgreementsList\n","import {\n createStyles, TextField, Theme, WithStyles, WithTheme, withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport { withStyles, withTheme } from \"@material-ui/core/styles\";\nimport { Autocomplete } from \"@material-ui/lab\";\nimport { makeObservable, observable } from \"mobx\";\nimport { inject, observer } from \"mobx-react\";\nimport React from \"react\";\nimport Account from \"../../model/Account\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport ProfileStore from \"../../stores/ProfileStore\";\nimport UserStore from \"../../stores/UserStore\";\nimport Progress from \"../Progress\";\n\nconst styles = (theme: Theme) => createStyles({\n filterTextField: {\n // width: 308,\n // width: \"100%\",\n flexGrow: 1, \n backgroundColor: theme.palette.background.paper,\n borderRadius: 10\n }\n})\n\nexport interface IAccountFilterProps {\n accounts: Account[]\n value?: Account\n onSelectAccount: (account?: Account) => any \n className?: any\n variant?: 'filled' | 'outlined' | 'standard'\n\n accountStore?: AccountStore\n profileStore?: ProfileStore\n progress?: Progress\n userStore?: UserStore \n}\n\n@inject(\"accountStore\", \"profileStore\", \"userStore\", \"progress\")\n@observer\nclass AccountFilter extends React.Component & WithTheme & IAccountFilterProps & WithWidth> {\n\n @observable accountFilter?: Account\n\n constructor(props: any) {\n super(props)\n makeObservable(this)\n }\n\n componentDidMount() {\n const { value } = this.props\n this.accountFilter = value\n }\n\n componentDidUpdate(prevProps: any) {\n if (prevProps.value !== this.props.value) {\n this.accountFilter = this.props.value\n }\n }\n\n render() {\n const { accounts, classes, className, variant=\"outlined\" } = this.props\n\n return (\n option.name}\n getOptionSelected={(option: Account, value: Account) => option.id === value.id}\n onChange={this.onSelectAccount}\n value={this.accountFilter ?? null}\n renderInput={(params: any) =>\n
\n \n
\n }\n />\n )\n }\n\n onSelectAccount = (event: any, value: any, reason: any) => {\n const account = value as Account \n if (account) {\n this.accountFilter = account \n } else {\n this.accountFilter = undefined\n }\n this.props.onSelectAccount(this.accountFilter)\n }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(AccountFilter)))","import {\n Card,\n CardContent,\n createStyles,\n Grid,\n Theme,\n Typography,\n withStyles,\n WithStyles\n} from \"@material-ui/core\";\nimport EditIcon from \"@material-ui/icons/Edit\";\nimport * as React from \"react\";\nimport CardValue from \"../../components/CardValue\";\nimport IconicButton from \"../../components/controls/IconicButton\";\nimport { phoneToNationalFormat } from \"../../stores/StoreUtilities\";\nimport Stack from \"../../components/Stack\";\n\nconst styles = (theme: Theme) => createStyles({\n container: {\n minHeight: \"100%\"\n },\n card: {\n fontSize: 12,\n padding: '16px !important', // overriding CardContent root setting\n // \"&:hover $button\": {\n // visibility: \"visible\",\n // },\n },\n icon: {\n fontSize: 45,\n height: 45,\n paddingRight: theme.spacing(2),\n },\n name: {\n fontSize: 20,\n fontWeight: 600,\n color: theme.palette.primary.main,\n },\n title: {\n paddingTop: '3px',\n paddingBottom: '6px',\n },\n button: {\n flex: 0,\n height: 0,\n textAlign: \"right\",\n // visibility: \"hidden\",\n },\n})\n\ninterface IPeopleCardProps {\n user: any\n handleEdit: (user: any) => void\n}\n\nclass PeopleCard extends React.Component & IPeopleCardProps> {\n \n render() {\n const { classes, user, handleEdit } = this.props\n const phoneNumber = user.phone ? phoneToNationalFormat(user.phone) : \"\"\n const email = user.email ?? \"\"\n\n let editButton =\n
\n handleEdit(user)}>\n \n \n
\n\n return (\n \n \n {editButton}\n \n {/* \n \n */}\n \n {user.firstName} {user.lastName}​\n {user.account.name}​\n \n \n \n \n \n { user.address && \n \n {user.address}
{user.city}, {user.state} {user.postalCode}\n
\n }\n \n {email}\n \n \n {phoneNumber}\n \n \n {user.role}\n \n \n {user.userStatus}\n \n
\n
\n
\n
\n
\n )\n }\n}\n\nexport default withStyles(styles)(PeopleCard)","import Dialog from '@material-ui/core/Dialog';\nimport DialogActions from '@material-ui/core/DialogActions';\nimport DialogContent from '@material-ui/core/DialogContent';\nimport DialogContentText from '@material-ui/core/DialogContentText';\nimport DialogTitle from '@material-ui/core/DialogTitle';\nimport { createStyles, Theme, withStyles, WithStyles } from '@material-ui/core/styles';\nimport { RouteComponentProps } from '@reach/router';\nimport { Auth } from 'aws-amplify';\nimport { observable, makeObservable } from \"mobx\";\nimport { inject, observer } from \"mobx-react\";\nimport * as React from 'react';\nimport CancelButton from '../../../components/form/CancelButton';\nimport DialogButton from '../../../components/form/DialogButton';\nimport FormValidator from '../../../components/form/FormValidator';\nimport ProgressButton from '../../../components/form/ProgressButton';\nimport TextFieldValidator from '../../../components/form/TextFieldValidator';\nimport Notify from '../../../components/notify/Notify';\nimport Visible from '../../../components/Visible';\nimport {CognitoAttribute} from \"../../../stores/UserStore\";\nimport {phoneToE164Format} from \"../../../stores/StoreUtilities\";\nimport AuthAPI from \"../../../apis/AuthAPI\";\n\nconst styles = (theme: Theme) => createStyles({\n submitButton: {\n color: \"#fff\",\n },\n instructions: {\n marginBottom: 0\n }\n\n})\n\ninterface IPhoneChangeDialogProps {\n onClose: any\n onChange: any\n oldPhone: string\n notify?: Notify\n authAPI?: AuthAPI\n}\n\n@inject(\"notify\", \"authAPI\")\n@observer\nclass PhoneChangeDialog extends React.Component & RouteComponentProps & IPhoneChangeDialogProps> {\n @observable values = {\n oldPhone: \"\",\n newPhone: \"\",\n code: \"\"\n }\n\n constructor(\n props: WithStyles & RouteComponentProps & IPhoneChangeDialogProps\n ) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount() {\n this.values.oldPhone = this.props.oldPhone\n }\n\n @observable message = \"\"\n @observable confirming: boolean = false\n @observable isProcessing: boolean = false\n\n onClose = () => {\n if (this.props.onClose) {\n this.message = \"\"\n this.props.onClose();\n }\n };\n\n onSubmit = async () => {\n const { notify, authAPI, onChange } = this.props\n\n this.message = \"\"\n const newPhone = phoneToE164Format(this.values.newPhone)\n\n if (!this.confirming) {\n this.isProcessing = true\n\n const alias = await authAPI?.getAlias(newPhone!)\n .catch(err => {\n this.message = err.message\n })\n\n if (alias && alias.status === \"VERIFIED\") {\n this.message = \"The new phone number is already in use.\"\n }\n\n if (this.message) {\n this.isProcessing = false\n return\n }\n\n Auth.currentAuthenticatedUser()\n .then(user => {\n Auth.updateUserAttributes(user, { phone_number: newPhone})\n .then(data => {\n this.confirming = true\n this.isProcessing = false\n this.onResendCode() // For some reason, this is necessary to get a code sent\n })\n .catch(err => {\n this.message = err.message\n this.isProcessing = false\n });\n })\n .catch(err => {\n this.message = err.message\n });\n } else {\n this.isProcessing = true\n Auth.verifyCurrentUserAttributeSubmit(CognitoAttribute.PHONE_NUMBER, this.values.code)\n .then(result => {\n this.isProcessing = false\n notify!.show(\"success\", \"Phone number updated!\")\n if (onChange) {\n onChange(newPhone)\n }\n })\n .catch(err => {\n this.isProcessing = false\n this.message = err.message\n });\n }\n }\n\n onChange = (event: React.ChangeEvent) => {\n const name = event.target.name\n this.values[name] = event.target.value\n }\n\n onResendCode = () => {\n this.message = \"\"\n\n Auth.currentAuthenticatedUser()\n .then(user => {\n Auth.verifyCurrentUserAttribute(CognitoAttribute.PHONE_NUMBER)\n .then(data => {\n this.confirming = true\n this.isProcessing = false\n })\n .catch(err => {\n this.message = err.message\n this.isProcessing = false\n });\n })\n .catch(err => {\n this.message = err.message\n });\n }\n\n render() {\n const { classes } = this.props\n\n return (\n \n \n Change Phone Number\n \n \n {this.message}\n \n \n \n \n \n Please check your phone for a confirmation code.\n \n \n \n Resend confirmation code\n \n \n \n \n \n \n {this.confirming ? \"Confirm\" : \"Next\"}\n \n \n \n \n );\n }\n}\n\nexport default withStyles(styles)(PhoneChangeDialog)","import {\n createStyles,\n Dialog,\n DialogActions,\n DialogContent,\n DialogTitle,\n FormGroup,\n InputAdornment,\n Theme,\n withStyles,\n WithStyles\n} from '@material-ui/core';\nimport EditIcon from '@material-ui/icons/Edit';\nimport {computed, makeObservable, observable} from 'mobx';\nimport {inject, observer} from 'mobx-react';\nimport * as React from 'react';\nimport {\n CreateProfileInput,\n CreateUserInput,\n ModelUserFilterInput,\n ProfileStatus,\n UpdateProfileInput,\n UpdateUserInput,\n UserRole,\n UserStatus\n} from '../../../API';\nimport IconicButton from '../../../components/controls/IconicButton';\nimport FormGroupSpacer from '../../../components/form/FormGroupSpacer';\nimport FormValidator from '../../../components/form/FormValidator';\nimport ProgressButton from '../../../components/form/ProgressButton';\nimport StateSelector from '../../../components/form/StateSelector';\nimport TextFieldValidator from '../../../components/form/TextFieldValidator';\nimport Notify from '../../../components/notify/Notify';\nimport User from '../../../model/User';\nimport UserStore from '../../../stores/UserStore';\nimport EmailChangeDialog from '../../profile/change-dialogs/EmailChangeDialog';\nimport PasswordChangeDialog from '../../profile/change-dialogs/PasswordChangeDialog';\nimport SimpleSelect from \"../../../components/controls/SimpleSelect\";\nimport AccountStore, {AccountStoreConstants} from \"../../../stores/AccountStore\";\nimport Account from \"../../../model/Account\";\nimport AccountFilter from \"../../../components/filter/AccountFilter\";\nimport CancelButton from \"../../../components/form/CancelButton\";\nimport {getErrorMessage, phoneToE164Format, phoneToNationalFormat} from \"../../../stores/StoreUtilities\";\nimport DialogButton from \"../../../components/form/DialogButton\";\nimport {CopyToClipboard} from 'react-copy-to-clipboard';\nimport PhoneChangeDialog from \"../../profile/change-dialogs/PhoneChangeDialog\";\nimport Logger from \"../../../components/Logger\";\nimport ProfileStore from \"../../../stores/ProfileStore\";\nimport Visible from \"../../../components/Visible\";\nimport IndustrySelector from \"../../../components/form/IndustrySelector\";\nimport Profile from \"../../../model/Profile\";\nimport isEqual from \"lodash.isequal\";\n\nconst styles = (theme: Theme) => createStyles({\n content: {\n display: \"flex\",\n flexGrow: 1,\n flexDirection: \"column\",\n justifyItems: 'center',\n alignItems: \"center\",\n },\n wrapper: {\n maxWidth: theme.breakpoints.values.sm,\n },\n formGroupRow: {\n display: \"flex\",\n justifyContent: \"space-between\",\n flexWrap: \"nowrap\",\n flexDirection: \"row\"\n },\n formGroupField: {\n flexGrow: 1,\n },\n postalCodeField: {\n flexGrow: 0,\n width: 100\n },\n stateSelector: {\n minWidth: 60\n },\n progressButton: {\n minWidth: 80\n },\n accountFilter: {\n width: \"100%\"\n },\n fieldButton: {\n color: theme.palette.secondary.main,\n paddingLeft: 0,\n paddingTop: 0,\n marginTop: 0,\n marginRight: theme.spacing(2)\n },\n})\n\nclass UserSettingsViewModel {\n @observable id: string = ''\n @observable account?: Account\n @observable firstName: string = ''\n @observable lastName: string = ''\n @observable email: string = ''\n @observable phone: string = ''\n @observable address: string = ''\n @observable city: string = ''\n @observable state: string = ''\n @observable postalCode: string = ''\n @observable role?: UserRole\n @observable userStatus: UserStatus = UserStatus.Invited\n @observable profile?: Profile\n @observable industries: string[] = []\n\n constructor(user?: User) {\n makeObservable(this)\n if (user) {\n this.id = user.id\n this.account = user.account\n this.firstName = user.firstName\n this.lastName = user.lastName\n this.email = user.email\n this.phone = phoneToNationalFormat(user.phone)\n this.address = user.address\n this.city = user.city\n this.state = user.state\n this.postalCode = user.postalCode\n this.role = user.role\n this.userStatus = user.userStatus\n this.profile = user.profile\n this.industries = user.profile ? user.profile.industries : []\n }\n }\n}\n\nexport interface IUserSettingsDialogProps {\n open?: boolean\n user?: User\n accounts?: Account[]\n onClose?(): void\n onCreate?: (user: User) => any\n onUpdate?: (user: User) => any\n\n userStore?: UserStore\n accountStore?: AccountStore\n profileStore?: ProfileStore\n notify?: Notify\n}\n\n@inject('userStore', 'accountStore', \"profileStore\", 'notify')\n@observer\nclass UserSettingsDialog extends React.Component & IUserSettingsDialogProps> {\n @observable openDialog: React.ReactNode = null\n @observable viewModel?: UserSettingsViewModel\n @observable isProcessing: boolean = false\n\n @computed get isUpdating() {\n return Boolean(this.props.user)\n }\n @computed get isCreating() {\n return Boolean(!this.props.user)\n }\n\n constructor(\n props: WithStyles & IUserSettingsDialogProps\n ) {\n super(props);\n makeObservable(this);\n }\n\n async componentDidMount() {\n const { accountStore, accounts, user, profileStore } = this.props\n\n this.viewModel = new UserSettingsViewModel(user)\n if (!this.viewModel.account) {\n if (accounts && accounts.length > 0) {\n this.viewModel.account = accounts[0]\n } else {\n this.viewModel.account = accountStore?.account\n }\n }\n if (!this.viewModel.role) {\n if (this.viewModel.account && this.viewModel.account.id === AccountStoreConstants.PRIMARY_ACCOUNT_ID) {\n this.viewModel.role = UserRole.Agent\n } else {\n this.viewModel.role = UserRole.Employer\n }\n }\n\n if (user && (user.isApplicant || user.isCandidate) && !user.profile) {\n this.viewModel!.profile = await profileStore!.getUserProfile(user.id)\n if (this.viewModel!.profile) {\n this.viewModel.industries = this.viewModel!.profile.industries ?? []\n }\n }\n\n }\n\n handleChange = (event: React.ChangeEvent) => {\n const name = event.target.name\n this.viewModel![name] = event.target.value\n }\n\n handleEmailChange = async (value: any) => {\n const { userStore, notify } = this.props\n\n this.viewModel!.email = value\n\n // Save User.email immediately to keep it in sync with Cognito\n const updateUserInput: UpdateUserInput = {\n id: this.viewModel!.id,\n email: this.viewModel!.email\n }\n const user = await userStore!.updateUser(updateUserInput)\n .catch((error: Error) => {\n notify!.show(\"error\", error.message)\n })\n if (user) {\n this.openDialog = null\n }\n }\n\n handlePhoneChange = async (value: any) => {\n const { userStore, notify } = this.props\n\n this.viewModel!.phone = phoneToNationalFormat(value)\n\n // Save User.phone immediately to keep it in sync with Cognito\n const updateUserInput: UpdateUserInput = {\n id: this.viewModel!.id,\n phone: value\n }\n const user = await userStore!.updateUser(updateUserInput)\n .catch((error: Error) => {\n notify!.show(\"error\", error.message)\n })\n if (user) {\n this.openDialog = null\n }\n }\n\n handleIndustriesChange = (industries: string[]) => {\n this.viewModel!.industries =industries\n }\n\n\n handleDialogClose = () => {\n this.openDialog = null\n }\n\n handleSubmit = async () => {\n this.isProcessing = true\n const { userStore, accountStore, notify, onClose } = this.props\n const createUserInput: CreateUserInput = {\n accountId: this.viewModel!.account!.id,\n firstName: this.viewModel!.firstName,\n lastName: this.viewModel!.lastName,\n email: this.viewModel!.email.toLowerCase(),\n phone: this.viewModel!.phone ? phoneToE164Format(this.viewModel!.phone) : undefined,\n address: this.viewModel!.address,\n city: this.viewModel!.city,\n state: this.viewModel!.state,\n postalCode: this.viewModel!.postalCode,\n role: this.viewModel!.role\n }\n // Don't update userStatus if not set\n if (this.viewModel!.userStatus) {\n createUserInput.userStatus = this.viewModel!.userStatus\n }\n if (this.isUpdating) {\n const updateUserInput: UpdateUserInput = {\n ...createUserInput,\n accountId: undefined,\n id: this.props.user!.id,\n }\n const user = await userStore!.updateUser(updateUserInput)\n if (user) {\n await this.updateRole(user, this.props.user)\n if (this.viewModel!.profile && (user.isApplicant || user.isCandidate)) {\n await this.updateProfile(this.viewModel!.profile)\n }\n this.isProcessing = false\n this.viewModel = undefined\n if (this.props.onUpdate) {\n this.props.onUpdate(user)\n }\n this.props.notify!.show('success', 'Successfully updated user')\n }\n if (onClose) {\n onClose()\n }\n } else if (this.isCreating) {\n // Check for existing user\n const filter: ModelUserFilterInput = {\n email: {eq: createUserInput.email}\n }\n const existingUsers = await accountStore!.listUsers(filter)\n if (existingUsers.length > 0) {\n notify!.show(\"error\", \"A user with this email already exists\")\n this.isProcessing = false\n return\n }\n\n const user = await userStore!.createUser(createUserInput, false)\n if (user) {\n await this.updateRole(user, this.props.user)\n\n if (user.isApplicant || user.isCandidate) {\n await this.createProfile(user)\n }\n\n this.isProcessing = false\n this.viewModel = undefined\n if (this.props.onCreate && user) {\n this.props.onCreate(user)\n }\n this.props.notify!.show('success', 'Successfully created user')\n }\n if (onClose) {\n onClose()\n }\n }\n }\n\n createProfile = async (user: User) => {\n const { profileStore } = this.props\n\n const input: CreateProfileInput = {\n active: true,\n userId: user.id,\n nickname: user.nickname,\n profileStatus: ProfileStatus.Pending,\n alias: profileStore!.generateAlias(user),\n industries: this.viewModel!.industries ?? []\n }\n\n const profile = await profileStore!.createProfile(input)\n .catch((error: any) => {\n Logger.debug(\"createProfile error\", getErrorMessage(error))\n });\n\n return profile\n }\n\n updateRole = async (updatedUser: User, prevUser?: User) => {\n const { userStore } = this.props\n if (updatedUser.role === UserRole.Admin && (!prevUser || prevUser.role !== UserRole.Admin)) {\n await userStore!.addUserToGroup(updatedUser.id, UserRole.Admin)\n } else if (updatedUser.role !== UserRole.Admin && prevUser && prevUser.role === UserRole.Admin ) {\n await userStore!.removeUserFromGroup(updatedUser.id, UserRole.Admin)\n }\n }\n\n onChangeAccount = (account?: Account) => {\n if (account) {\n this.viewModel!.account = account\n }\n }\n\n private async updateProfile(profile: Profile) {\n const { profileStore } = this.props\n\n if (!isEqual(profile.industries, this.viewModel!.industries)) {\n const update: UpdateProfileInput = {\n id: profile.id,\n industries: this.viewModel!.industries\n }\n const updatedProfile = await profileStore!.updateProfile(update)\n return updatedProfile\n }\n\n return undefined\n }\n\n onResendInvite = async () => {\n const { userStore, notify } = this.props\n if (this.viewModel!.userStatus === UserStatus.Registered || this.viewModel!.userStatus === UserStatus.Suspended) {\n return\n }\n\n // Set to Inactive, then Invited to cause resend\n const update: UpdateUserInput = {\n id: this.viewModel!.id,\n userStatus: UserStatus.Inactive,\n }\n\n let user = await userStore!.updateUser(update)\n .catch((err: Error) => {\n notify!.show(\"error\", err.message)\n })\n\n if (user) {\n update.userStatus = UserStatus.Invited\n user = await userStore!.updateUser(update)\n .catch((err: Error) => {\n notify!.show(\"error\", err.message)\n })\n\n if (user) {\n notify!.show(\"success\", \"Email invitation sent!\")\n }\n }\n }\n\n get registerUrl() {\n const { user } = this.props\n if (user) {\n const url = new URL(window.location.href)\n return `${url.origin}/register/${user!.accountId}/${user!.id}/${user!.role}/${user!.email}`\n } else {\n return \"\"\n }\n }\n\n render() {\n const {\n accounts,\n user,\n classes,\n userStore,\n open,\n notify,\n onClose,\n } = this.props;\n const { viewModel } = this\n\n if (!viewModel) {\n return null\n }\n\n const isAdminOrAgent = userStore!.isAdminOrAgent\n\n const addressFieldsRequired = viewModel.role && ![UserRole.Agent, UserRole.Admin, UserRole.Employer].includes(viewModel.role)\n let roles: UserRole[] = []\n if (viewModel.account!.id === AccountStoreConstants.PRIMARY_ACCOUNT_ID) {\n if (userStore!.isAdmin) {\n roles = [UserRole.Admin, UserRole.Agent, UserRole.Applicant, UserRole.Candidate, UserRole.Employer]\n } else if (userStore!.isAgent) {\n roles = [UserRole.Agent, UserRole.Applicant, UserRole.Candidate, UserRole.Employer]\n }else {\n roles = [viewModel.role!]\n }\n } else {\n roles = [viewModel.role!]\n }\n\n let statuses: UserStatus[] = []\n if (!user || user.userStatus === UserStatus.Inactive || user.userStatus === UserStatus.Invited) {\n statuses = [UserStatus.Inactive, UserStatus.Invited]\n } else if (user.userStatus === UserStatus.Registered || user.userStatus === UserStatus.Suspended) {\n statuses = [UserStatus.Registered, UserStatus.Suspended]\n }\n\n const isSelf = this.viewModel && this.viewModel.id === userStore!.user!.id\n\n return (\n
\n \n User Settings\n \n \n
\n {accounts && this.isCreating &&\n \n }\n \n \n \n {\n this.openDialog = (\n \n )\n }}>\n \n \n \n ),\n }\n }\n : { // creating\n onChange: this.handleChange,\n }}\n />\n {this.isUpdating && (viewModel.userStatus === UserStatus.Inactive || viewModel.userStatus === UserStatus.Invited) &&\n \n \n Resend Invitation\n \n notify!.show('success', 'Copied invitation link to clipboard!')}>\n \n Copy Invitation\n \n \n \n }\n {this.isUpdating && viewModel.userStatus !== UserStatus.Invited && (\n \n {\n this.openDialog = \n }}>\n \n \n \n ),\n }\n } : null }\n />\n )}\n \n {\n this.openDialog = (\n \n )\n }}>\n \n \n \n ),\n }\n }\n : { // creating\n onChange: this.handleChange,\n }}\n />\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n \n { if (onClose) { onClose()}}} />\n \n {this.isCreating ? 'Create' : 'Save'}\n \n \n
\n
\n {this.openDialog}\n
\n )\n }\n}\n\nexport default withStyles(styles)(UserSettingsDialog)\n","import {\n Box, createStyles, Grid, isWidthDown, Theme, withWidth, WithWidth\n} from \"@material-ui/core\";\nimport { withStyles, WithStyles, withTheme, WithTheme } from \"@material-ui/core/styles\";\nimport { RouteComponentProps } from \"@reach/router\";\nimport SearchBar from \"material-ui-search-bar\";\nimport { makeObservable, observable, when } from \"mobx\";\nimport { inject, observer } from \"mobx-react\";\nimport * as React from 'react';\nimport {ModelUserFilterInput, UpdateUserInput, UserRole, UserStatus} from \"../../API\";\nimport AccountFilter from \"../../components/filter/AccountFilter\";\nimport FilterBar from \"../../components/filter/FilterBar\";\nimport TextFieldValidator from \"../../components/form/TextFieldValidator\";\nimport Notify from \"../../components/notify/Notify\";\nimport Progress from \"../../components/Progress\";\nimport Account from \"../../model/Account\";\nimport User from \"../../model/User\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport { phoneToNationalFormat } from \"../../stores/StoreUtilities\";\nimport UserStore from \"../../stores/UserStore\";\nimport PeopleCard from './PeopleCard';\nimport UserSettingsDialog from \"../settings/user-settings/UserSettingsDialog\";\nimport AddButton from \"../../components/AddButton\";\n\nconst styles = (theme: Theme) => createStyles({\n content: {\n flexGrow: 1,\n width: \"100%\"\n },\n searchbar: {\n display: \"flex\",\n flexGrow: 2,\n width: '100%',\n height: 38\n },\n cardspace: {\n // width: \"100%\",\n overflowY: \"auto\",\n paddingBottom: theme.spacing(3), // card shadow was being cut off on left and bottom of cardspace, card size reduced by 3 to accommodate\n paddingLeft: theme.spacing(1), \n paddingRight: theme.spacing(1),\n paddingTop: theme.spacing(1)\n },\n searchIcon: {\n color: theme.palette.secondary.main\n },\n searchFilter: {\n flexGrow: 1\n },\n form: {\n overflowY: \"auto\",\n display: \"flex\",\n flexDirection: \"column\",\n },\n name: {\n fontSize: 20,\n fontWeight: 600,\n color: theme.palette.primary.main,\n },\n accountFilter: {\n backgroundColor: theme.palette.background.paper,\n borderRadius: 10,\n },\n roleFilter: {\n backgroundColor: theme.palette.background.paper,\n borderRadius: 10,\n },\n statusFilter: {\n backgroundColor: theme.palette.background.paper,\n borderRadius: 10,\n },\n numFound: {\n flexGrow: 1,\n width: \"100%\",\n padding: 3,\n color: \"initial\",\n },\n})\n\nclass PeopleCardViewModel {\n @observable id: string\n @observable firstName: string\n @observable lastName: string\n @observable address: string\n @observable city: string\n @observable state: string\n @observable postalCode: string\n @observable email: string\n @observable phone: string\n @observable role: string\n @observable userStatus: UserStatus\n\n constructor (u: User) {\n makeObservable(this);\n\n this.id = u.id\n this.firstName = u.firstName\n this.lastName = u.lastName\n this.address = u.address\n this.city = u.city\n this.state = u.state\n this.postalCode = u.postalCode\n this.email = u.email\n this.phone = phoneToNationalFormat(u.phone)\n this.role = u.role.toString()\n this.userStatus = u.userStatus\n }\n}\n\ntype Filter = 'accountFilter' | 'roleFilter' | 'statusFilter'\n\ninterface IPeopleListProps {\n visibleFilters?: Filter[] // TODO: Still needed? \n // onlyMyAccounts?: boolean\n\n accountId?: string \n \n accountStore?: AccountStore\n userStore?: UserStore\n notify?: Notify\n progress?: Progress\n}\n\n@inject(\"accountStore\", \"userStore\", \"notify\", \"progress\")\n@observer\nclass PeopleList extends React.Component & RouteComponentProps & IPeopleListProps & WithTheme & WithWidth> {\n // @observable usersUnfiltered: User[] = []\n @observable users: User[] = []\n @observable search: string = \"\"\n @observable sortBy?: any = {field: \"default\", asc: true}\n @observable accounts: Account[] = []\n @observable accountFilter?: Account\n @observable roleFilter?: string\n @observable statusFilter: UserStatus | null = null\n @observable user?: User\n\n @observable viewModel?: PeopleCardViewModel\n @observable isFormOpen: boolean = false\n @observable isProcessing: boolean = false\n @observable searchTip: string = \"(Enter a case-sensitive search string or other filters)\"\n\n constructor(props: any) {\n super(props)\n makeObservable(this);\n }\n\n componentDidMount() {\n const { accountStore, progress } = this.props\n\n when(\n () => !accountStore!.isLoading && accountStore!.account !== undefined,\n async () => {\n progress!.show(\"PeopleList\")\n await this.loadAccounts()\n progress!.hide(\"PeopleList\")\n }\n )\n }\n\n // async componentDidUpdate(prevProps: any, prevState: any) {\n // const { accountId, progress } = this.props \n // const { prevAccountId } = prevProps \n // if (accountId !== prevAccountId) {\n // if (this.accounts.length === 1 && this.accounts[0].id !== accountId) {\n // progress!.show(\"PeopleList\")\n // await this.loadAccounts()\n // progress!.hide(\"PeopleList\")\n // }\n // }\n // }\n\n render() {\n const {\n accountId, \n classes,\n userStore,\n width\n } = this.props\n\n const isExtraSmall = isWidthDown(\"xs\", width)\n\n return (\n \n {this.renderFilterBar()}\n\n
\n {this.users.length} People found{ this.accountFilter ? `, ${this.accountFilter.name}` : null } {this.searchTip}\n
\n \n {this.users.map((user: any) => {\n return (\n \n \n \n )\n })}\n {this.isFormOpen &&\n \n\n }\n \n
\n )\n }\n\n renderFilterBar = () => {\n const {\n classes,\n visibleFilters = ['accountFilter', 'roleFilter', 'statusFilter'],\n // accountStore,\n accountId,\n userStore\n } = this.props\n\n // const showRoleFilter = !onlyMyAccounts || accountStore!.isPrimary\n\n return (\n \n this.isFormOpen = true}\n key=\"addButton\"\n />\n ]}\n >\n
\n \n
\n\n {visibleFilters.includes('accountFilter') && !accountId && userStore!.isAdminOrAgent && \n \n }\n\n {visibleFilters.includes('roleFilter') && !accountId && userStore!.isAdminOrAgent && (\n
\n \n
\n )}\n\n {visibleFilters.includes('statusFilter') && (\n
\n \n
\n )}\n\n \n\n \n
\n )\n }\n\n statusToString(status: boolean | null) {\n return status === null ? \"All\" : status ? \"Active\" : \"Inactive\"\n }\n\n async loadAccounts () {\n const { accountId, accountStore, userStore } = this.props\n\n let accounts: Account[] = []\n if (accountId) {\n const account = await accountStore!.getAccount(accountId)\n accounts = [account!]\n\n this.accountFilter = account! \n } else {\n if (userStore!.isAdminOrAgent) {\n accounts = await accountStore!.listAccounts()\n accounts.sort((a: Account, b: Account) => a.name.localeCompare(b.name))\n } else if (userStore!.user!.account) {\n // Only allow employers to access their own account\n accounts = [userStore!.user!.account]\n }\n\n if (window.location) {\n const searchParams = new URLSearchParams(window.location?.search)\n const accountId = searchParams.get(\"accountId\")\n if (accountId) {\n this.accountFilter = this.accounts.find(a => a.id === accountId)\n }\n // TODO: Switch to using accountId param\n const defaultAccountFilterName = searchParams.get(\"acctname\")\n if (defaultAccountFilterName) {\n this.accountFilter = this.accounts.find(a => a.name === defaultAccountFilterName)\n }\n }\n }\n\n this.accounts = accounts\n\n if (this.accountFilter) {\n this.onSearch()\n }\n }\n\n onSearch = async () => {\n const { accountStore, progress } = this.props\n\n progress!.show(\"PeopleList\")\n\n this.searchTip = \"\"\n\n let users: User[] = []\n\n let filter: ModelUserFilterInput | undefined = {\n and: []\n }\n\n if (this.search.length > 0) {\n filter.and!.push(\n {or: [\n {firstName: {beginsWith: this.search}},\n {lastName: {beginsWith: this.search}},\n {email: {beginsWith:this.search.toLowerCase()}}\n ]}\n )\n }\n\n if (this.roleFilter) {\n filter.and!.push(\n {role: {eq: UserRole[this.roleFilter]}}\n )\n }\n\n if (this.statusFilter) {\n filter.and!.push(\n {userStatus: {eq: UserStatus[this.statusFilter]}}\n )\n }\n\n if (filter.and!.length === 0) {\n filter = undefined\n } else if (filter.and!.length === 1) {\n filter = filter.and![0]!\n }\n\n if (this.accountFilter) {\n users = await accountStore!.listUsersByAccount(this.accountFilter.id, filter)\n } else if (filter) {\n users = await accountStore!.listUsers(filter)\n } else {\n this.searchTip = \"(Enter a case-sensitive search string or other filters)\"\n }\n\n this.users = users\n if (users.length > 0) {\n this.sortUsers()\n }\n\n progress!.hide(\"PeopleList\")\n }\n\n onSearchChange = (value: string) => {\n this.search = value\n }\n\n onChangeAccount = (account?: Account) => {\n this.accountFilter = account\n }\n\n onSelectRole = (event: any, value: any, reason: string) => {\n this.roleFilter = value\n }\n\n onSelectStatus = (event: any, value: any, reason: string) => {\n this.statusFilter = value\n }\n\n // searchText = (text: string, search: string) => {\n // return (\n // text ? text.toLowerCase().indexOf(search) >= 0 : false\n // )\n // }\n\n sortUsers = () => {\n if (this.sortBy.field === \"default\") {\n if (this.sortBy.asc) {\n this.users.sort((a: User, b: User) => {\n if (a.lastName === b.lastName) {\n return a.firstName.localeCompare(b.firstName)\n } else {\n return a.lastName.localeCompare(b.lastName)\n }\n })\n } else {\n this.users.sort((a: User, b: User) => {\n if (a.lastName === b.lastName) {\n return b.firstName.localeCompare(a.firstName)\n } else {\n return b.lastName.localeCompare(a.lastName)\n }\n })\n }\n }\n }\n\n onRequestSearch = () => {\n this.search = this.search ? this.search.trim() : \"\"\n this.onSearch()\n }\n\n onCancelSearch = () => {\n this.search = \"\"\n }\n\n handleCreate = (user: User) => {\n this.users.push(user)\n this.sortUsers()\n }\n\n handleUpdate = (user: User) => {\n const updatedUserIndex = this.users.findIndex((u: User) => u.id === user.id)\n if (updatedUserIndex >= 0) {\n this.users[updatedUserIndex] = user\n }\n }\n\n handleEdit = (user: any): void => {\n if (user) {\n this.user = user\n this.isFormOpen = true\n }\n }\n\n handleClose = () => {\n this.isFormOpen = false\n this.user = undefined\n }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(PeopleList)))\n\n\n","import * as React from \"react\";\nimport {\n Box,\n Card,\n CardContent,\n createStyles,\n Grid,\n isWidthDown,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n WithWidth,\n withWidth\n} from \"@material-ui/core\";\nimport { observer} from \"mobx-react\";\nimport Charge from \"../../../model/stripe/Charge\";\nimport {isoToLocalDate, numberToMoneyFormat} from \"../../../stores/StoreUtilities\";\nimport {format} from \"date-fns\";\nimport ControlTower from \"../../../components/ControlTower\";\nimport DialogButton from \"../../../components/form/DialogButton\";\n\nconst styles = (theme: Theme) => createStyles({\n card: {\n width: '100%',\n // height: 60,\n // padding: 0\n paddingLeft: theme.spacing(1),\n paddingRight: theme.spacing(1)\n },\n content: {\n color: theme.palette.text.primary,\n backgroundColor: theme.palette.background.paper,\n // padding: \"0px 10px\",\n // display: \"flex\",\n // flexGrow: 1\n },\n label: {\n color: theme.palette.text.secondary,\n fontSize: 12,\n marginTop: theme.spacing(1),\n marginBottom: 0,\n marginLeft: 0,\n },\n value: {\n fontSize: 16,\n fontWeight: 800,\n maxHeight: 26,\n overflow: \"hidden\",\n },\n titleButtons: {\n marginTop: theme.spacing(2),\n // marginTop: 18,\n [theme.breakpoints.up(\"lg\")]: {\n textAlign: \"right\"\n }\n },\n\n})\n\ninterface IAccountChargeCardProps {\n charge: Charge\n}\n\n@observer\nclass AccountChargeCard extends React.Component & IAccountChargeCardProps & WithWidth> {\n\n render() {\n const { classes, charge, width } = this.props\n\n const date = format(isoToLocalDate(charge.created), \"M/d/yyyy\")\n const description = charge.description ?? \"\"\n const amount = numberToMoneyFormat(charge.amount)\n\n const isSmall = isWidthDown(\"sm\", width)\n\n return (\n \n \n \n \n \n Date\n \n \n {date}\n \n \n \n \n Description\n \n \n {description}\n \n \n\n \n \n Amount\n \n \n {amount}\n \n \n\n \n \n Receipt\n \n \n\n \n \n \n )\n }\n\n onView = () => {\n const { charge } = this.props\n ControlTower.open(charge.receipt_url, \"_blank\")\n }\n\n}\n\nexport default withStyles(styles)(withWidth()(AccountChargeCard))\n","import * as React from 'react'\nimport {Box, createStyles, Grid, isWidthDown, Theme, withStyles, WithStyles, withTheme, WithTheme, WithWidth, withWidth} from \"@material-ui/core\";\nimport {inject, observer} from \"mobx-react\";\nimport UserStore from \"../../../stores/UserStore\";\nimport AccountStore from \"../../../stores/AccountStore\";\nimport Account from \"../../../model/Account\"\nimport {makeObservable, observable, when} from \"mobx\";\nimport Progress from \"../../../components/Progress\";\nimport AccountChargeCard from \"./AccountChargeCard\";\nimport Charge from \"../../../model/stripe/Charge\";\nimport {RouteComponentProps} from \"@reach/router\";\n\nconst styles = (theme: Theme) => createStyles({\n cardspace: {\n paddingBottom: theme.spacing(3), \n paddingLeft: theme.spacing(1), \n paddingRight: theme.spacing(1),\n paddingTop: theme.spacing(1)\n },\n card: {\n width: \"100%\",\n paddingTop: theme.spacing(1),\n paddingBottom: theme.spacing(1)\n },\n})\n\ninterface IAccountBillingProps {\n userStore?: UserStore\n accountStore?: AccountStore\n progress?: Progress\n}\n\n@inject(\"userStore\", \"accountStore\", \"progress\")\n@observer\nclass AccountBilling extends React.Component & IAccountBillingProps & WithTheme & WithWidth> {\n\n @observable account?: Account\n @observable charges: Charge[] = []\n @observable isLoading = true\n\n constructor(\n props: WithStyles & RouteComponentProps & IAccountBillingProps & WithTheme & WithWidth\n ) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount () {\n const { progress } = this.props\n this.isLoading = true\n progress!.show(\"AccountBilling\")\n const { userStore, accountStore} = this.props\n when(\n () => !userStore!.isLoading && !accountStore!.isLoading,\n () => {\n this.account = accountStore!.account\n this.loadCharges()\n }\n )\n }\n\n render() {\n const { classes, width } = this.props\n\n if (this.isLoading) {\n return null\n }\n\n const isSmall = isWidthDown('sm', width)\n\n return (\n \n \n {this.charges.map((charge: Charge) => {\n return \n \n \n })}\n \n \n )\n }\n\n private async loadCharges() {\n const { accountStore, progress } = this.props\n\n this.charges = await accountStore!.listCharges(this.account!.id)\n // this.charges.push(new Charge({id: 'charge-1', amount: 10000, created: 1600899319, receipt_number: 'receipt-1'}))\n this.isLoading = false\n progress!.hide(\"AccountBilling\")\n }\n\n\n}\n\nexport default withTheme((withStyles(styles)(withWidth()(AccountBilling))))","import {Box, Button, createStyles, Grid, isWidthDown, Tab, Tabs, Theme, Typography, withStyles, WithStyles, WithWidth, withWidth} from '@material-ui/core';\nimport EditIcon from '@material-ui/icons/Edit';\nimport {NavigateFn, RouteComponentProps, WindowLocation} from '@reach/router';\nimport {makeObservable, observable, when} from 'mobx';\nimport {inject, observer} from 'mobx-react';\nimport * as React from 'react';\nimport CardValue from '../../components/CardValue';\nimport IconicButton from '../../components/controls/IconicButton';\nimport UserStore from '../../stores/UserStore';\nimport ProfileCard from '../profile/ProfileCard';\nimport {phoneToNationalFormat} from \"../../stores/StoreUtilities\";\nimport Agreement from \"../../model/Agreement\";\nimport Account from \"../../model/Account\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport {AgreementType, ModelAgreementFilterInput} from \"../../API\";\nimport ControlTower, {Routes} from \"../../components/ControlTower\";\nimport ActionLink from \"../../components/ActionLink\";\nimport AccountSettingsDialog from '../settings/account-settings/AccountSettingsDialog';\nimport Page from '../../components/page/Page';\nimport MarginRow from '../../components/page/MarginRow';\nimport PageHeadingPanel from '../../components/panel/PageHeadingPanel';\nimport PageTabsPanel from '../../components/panel/PageTabsPanel';\nimport PageTabPanel from '../../components/panel/PageTabPanel';\nimport Notify from '../../components/notify/Notify';\nimport Logger from '../../components/Logger';\nimport PageTitle from '../../components/page/PageTitle';\nimport Stack from '../../components/Stack';\nimport { ListAlt, People, Person } from '@material-ui/icons';\nimport AgreementsList from '../../views/agreements/AgreementsList';\nimport ContractsList from '../contracts/ContractsList';\nimport PeopleList from '../manage/PeopleList';\nimport AccountBilling from '../settings/account-billing/AccountBilling';\nimport Industry, { NAICS } from '../../model/Industry';\nimport { ClassNameMap } from '@material-ui/core/styles/withStyles';\n\nconst styles = (theme: Theme) => createStyles({\n hideOverflow: {\n overflowX: \"hidden\"\n },\n tab: {\n fontSize: 15,\n fontWeight: 600,\n textTransform: 'capitalize'\n },\n})\n\ninterface IAccountPageProps {\n accountId?: string \n embed?: boolean \n location?: any \n onCreateAccount?(account: Account): Promise\n onUpdateAccount?(account: Account): Promise \n\n accountStore?: AccountStore\n notify?: Notify\n userStore?: UserStore\n route?: string\n tab?: string\n}\n\nenum TabNames {\n Settings = \"Settings\",\n Agreements = \"Agreements\",\n Billing = \"Billing\",\n People = \"People\"\n}\n\n@inject('userStore', 'accountStore', 'notify')\n@observer\nclass AccountPage extends React.Component & WithWidth & RouteComponentProps & IAccountPageProps> {\n \n @observable isLoading = true\n @observable accountSettingsOpen = false\n @observable account?: Account\n @observable agreements: Agreement[] = []\n @observable selectedTabIndex: number = 0\n\n tabNames: string[] = [TabNames.Settings, TabNames.Agreements, TabNames.People, TabNames.Billing]\n\n constructor(\n props: WithStyles & WithWidth & RouteComponentProps & IAccountPageProps\n ) {\n super(props)\n makeObservable(this)\n }\n\n componentDidMount() {\n const {userStore, accountStore} = this.props\n\n when(\n // once\n () => accountStore!.isLoading === false \n && userStore!.isLoading === false \n && userStore!.user !== undefined,\n // then\n async () => {\n // this.account = userStore!.user!.account\n await this.loadAccount()\n if (this.account) {\n await this.loadAgreements(this.account.id)\n }\n this.isLoading = false \n }\n )\n }\n\n componentDidUpdate(prevProps: any, prevState: any): void {\n const { tab } = this.props \n const { prevTab } = prevProps\n\n if (tab !== prevTab) {\n if (tab) {\n const tabName = tab.charAt(0).toUpperCase() + tab.slice(1)\n const foundIndex = this.tabNames.findIndex(checkTabName => checkTabName === tabName)\n if (foundIndex !== -1) {\n this.selectedTabIndex = foundIndex\n }\n }\n }\n }\n\n async loadAgreements(accountId: string) {\n const { accountStore } = this.props\n\n const filter: ModelAgreementFilterInput = {\n or: [\n {agreementTypes: {contains: AgreementType.MasterServicesAndNonSolicitation}},\n {agreementTypes: {contains: AgreementType.ConfidentialityAndNonDisclosure}},\n {agreementTypes: {contains: AgreementType.StaffingAgreement}},\n {agreementTypes: {contains: AgreementType.ProfessionalServicesAgreement}},\n {agreementTypes: {contains: AgreementType.ExclusiveRecruitment}},\n ]\n\n }\n this.agreements = await accountStore!.listAgreementsByAccount(accountId, filter)\n }\n\n handleClose = () => {\n this.accountSettingsOpen = false\n }\n\n renderStaticFields() {\n const { classes, width } = this.props\n\n const labelWidth = 170\n const account = this.account\n\n if (!account) {\n return null\n }\n\n return (\n
\n \n \n \n \n {account.name}\n \n \n {account.address}\n \n \n {account.city}, {account.state} {account.postalCode}\n \n \n {phoneToNationalFormat(account.phone)}\n \n {account.webUrl && \n \n {account.webUrl}\n \n }\n \n {account.industries.map((industry) => {\n return Industry.stringForNAICSCode(industry as NAICS)\n }).join(\", \")}\n \n \n \n \n {/**/}\n {/* */}\n {/* {account.dunsNumber}*/}\n {/* */}\n {/* */}\n {/* {account.fein}*/}\n {/* */}\n {/* */}\n {/* {account.naicsCode}*/}\n {/* */}\n {/* */}\n {/* {account.sicCode}*/}\n {/* */}\n {/* */}\n {/* {account.cageCode}*/}\n {/* */}\n {/* */}\n {/* {account.socioEconomicDesignation}*/}\n {/* */}\n {/**/}\n \n \n
\n )\n }\n\n renderSettings = () => {\n const { onCreateAccount, onUpdateAccount } = this.props \n return (\n \n \n this.accountSettingsOpen = true}>\n \n \n }>\n {this.renderStaticFields()}\n \n \n\n {this.account && \n {\n this.account = updatedAccount\n onUpdateAccount && await onUpdateAccount(updatedAccount)\n }}\n onCreateAccount={async (createdAccount: Account) => {\n console.error(\"Created an account when should update\")\n throw new Error(\"Tried to create new account when updating existing account\")\n // this.account = createdAccount \n // await onCreateAccount(createdAccount)\n }}\n />\n }\n \n )\n }\n\n tabIndexMatch = (tabName: TabNames) => {\n return this.selectedTabIndex === this.tabNames.findIndex(checkTabName => checkTabName === tabName)\n }\n\n renderContent() {\n const { accountId, classes, embed, userStore } = this.props\n\n return (\n \n \n \n \n \n {/* }\n >\n People \n */}\n }\n onClick={() => {\n ControlTower.route(`${Routes.manageJobs}?accountId=${this.account!.id}`)\n }}\n >\n Manage Jobs\n \n \n \n \n \n {\n if (embed === undefined || embed === false) {\n const tabName = this.tabNames[value]\n // Navigate to tab to allow a direct url to each tab\n let searchParams = new URLSearchParams()\n searchParams.append('accountId', this.account!.id)\n const route = userStore!.isAdminOrAgent ? `${Routes.account}/${tabName.toLowerCase()}?${searchParams.toString()}` : `${Routes.account}/${tabName.toLowerCase()}`\n ControlTower.route(route)\n } else {\n this.selectedTabIndex = value \n }\n }}\n indicatorColor=\"secondary\"\n textColor=\"secondary\"\n variant=\"scrollable\"\n scrollButtons=\"auto\"\n >\n {this.tabNames.map((tabName) => {\n return \n })}\n \n \n \n { this.tabIndexMatch(TabNames.Settings) && this.renderSettings() }\n { this.tabIndexMatch(TabNames.Agreements) && }\n { this.tabIndexMatch(TabNames.People) && }\n { this.tabIndexMatch(TabNames.Billing) && }\n \n \n )\n }\n\n render() {\n const { embed } = this.props \n const title = \"Account Detail\"\n\n if (embed) {\n return (\n \n {this.isLoading === false ? this.renderContent() : null}\n \n )\n } else {\n return (\n \n \n \n \n \n {title}\n \n \n \n {this.isLoading === false ? this.renderContent() : null}\n \n \n )\n }\n }\n\n loadAccount = async () => {\n const { accountStore, location, notify, userStore } = this.props\n\n let accountId\n if (userStore!.isAdminOrAgent) {\n if (this.props.accountId) {\n accountId = this.props.accountId\n } else {\n accountId = new URLSearchParams(location.search).get(\"accountId\")\n } \n } else {\n accountId = accountStore!.account!.id \n }\n \n if (accountId) {\n const account = await accountStore!.getAccount(accountId)\n\n if (!account) {\n notify!.show('error', 'Could not fetch job post')\n return \n }\n\n this.account = account\n } else {\n const message = 'Could not load job post.'\n Logger.error(message, new Error(message))\n return \n }\n }\n}\n\nexport default withStyles(styles)(withWidth()(AccountPage))\n","import * as React from 'react'\nimport {inject, observer} from \"mobx-react\";\nimport {autorun, makeObservable, observable, when} from \"mobx\";\nimport {\n createStyles,\n Theme,\n Grid,\n Box,\n} from \"@material-ui/core\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport {withStyles, WithStyles, withTheme, WithTheme} from \"@material-ui/core/styles\";\nimport {RouteComponentProps} from \"@reach/router\";\nimport { AccountStatus } from '../../API';\nimport Account from \"../../model/Account\";\nimport AccountCard from './AccountCard';\nimport SearchBar from \"material-ui-search-bar\";\nimport TextFieldValidator from \"../../components/form/TextFieldValidator\";\nimport ControlTower, { Routes } from \"../../components/ControlTower\";\nimport Progress from \"../../components/Progress\";\nimport FilterBar from \"../../components/filter/FilterBar\";\nimport AddButton from \"../../components/AddButton\";\nimport AccountSettingsDialog from \"../settings/account-settings/AccountSettingsDialog\";\nimport UserStore from \"../../stores/UserStore\";\nimport SideDrawer from '../../components/page/SideDrawer';\nimport AccountPage from '../accounts/AccountPage';\n\nconst styles = (theme: Theme) => createStyles({\n content: {\n flexGrow: 1,\n width: \"100%\",\n padding: 3,\n },\n searchbar: {\n display: \"flex\",\n flexGrow: 2,\n width: '100%',\n height: 38\n },\n cardspace: {\n // width: \"100%\",\n overflowY: \"auto\",\n paddingBottom: theme.spacing(3), // card shadow was being cut off on left and bottom of cardspace, card size reduced by 3 to accommodate\n paddingLeft: theme.spacing(1), \n paddingRight: theme.spacing(1),\n paddingTop: theme.spacing(1)\n },\n searchIcon: {\n color: theme.palette.secondary.main,\n fontSize: \"16px\"\n },\n searchFilter: {\n flexGrow: 1\n },\n filterControl: {\n textAlign: \"left\"\n },\n filter: {\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"flex-start\",\n marginRight: theme.spacing(1),\n },\n statusFilter: {\n width: 180,\n backgroundColor: theme.palette.background.paper,\n borderRadius: 10,\n },\n numFound: {\n flexGrow: 1,\n width: \"100%\",\n padding: 3,\n color: \"initial\",\n },\n})\n\ninterface IEmployerListProps {\n accountStore?: AccountStore\n userStore?: UserStore\n progress?: Progress\n}\n\n@inject(\"accountStore\", \"userStore\", \"progress\")\n@observer\nclass EmployerList extends React.Component & RouteComponentProps & IEmployerListProps & WithTheme> {\n @observable accountsUnfiltered: Account[] = []\n @observable accounts: Account[] = []\n @observable search: string = \"\"\n @observable sortBy?: any = {field: \"default\", asc: true}\n @observable statusFilter: AccountStatus | null = null\n @observable isAccountFormOpen = false\n @observable industryFilter?: string\n @observable account?: Account \n\n constructor(props: any) {\n super(props)\n makeObservable(this);\n }\n\n componentDidMount() {\n const { accountStore, userStore, progress } = this.props\n\n when(\n () => !userStore!.isLoading && !accountStore!.isLoading && accountStore!.account !== undefined,\n async () => {\n progress!.show(\"EmployerList\")\n this.industryFilter = userStore!.industry\n await this.loadAccounts()\n progress!.hide(\"EmployerList\")\n }\n )\n\n autorun(\n async () => {\n if (!userStore!.isLoading && userStore!.industry !== this.industryFilter) {\n this.industryFilter = userStore!.industry\n await this.loadAccounts()\n }\n }\n )\n\n }\n\n render() {\n const { classes } = this.props\n\n return (\n \n\n {this.renderFilterBar()}\n {this.renderAccountLargeDrawer()}\n\n
\n {this.accounts.length} Accounts found\n
\n \n {this.accounts.map((account: any) => {\n return (\n \n this.onNameClick(account.id)} \n />\n \n )\n })}\n \n {this.isAccountFormOpen &&\n \n }\n
\n )\n }\n\n renderFilterBar = () => {\n const {classes } = this.props\n\n return (\n \n \n ]}\n >\n
\n \n
\n\n
\n
\n \n
\n
\n \n
\n )\n }\n\n renderAccountLargeDrawer = () => {\n return (\n {\n this.account = undefined\n }} \n >\n {this.account && \n \n }\n \n )\n }\n\n loadAccounts = async () => {\n const { accountStore } = this.props\n this.accountsUnfiltered = await accountStore!.listAccounts(this.industryFilter)\n this.sortAccounts()\n this.filterAccounts()\n }\n\n onSearchChange = (value: string) => {\n this.search = value\n }\n\n onSelectStatus = (event: any, value: any, reason: string) => {\n this.statusFilter = value\n this.filterAccounts()\n }\n\n filterAccounts = () => {\n if (this.search === \"\" && this.statusFilter === null) {\n this.accounts = this.accountsUnfiltered // If no search or filters present\n } else {\n let filteredAccounts: Account[] = []\n const search = this.search!.toLowerCase().replace(/\\s{2,}/g, \" \")\n this.accountsUnfiltered.forEach((account: Account) => {\n if (account) {\n if ((search === \"\" || this.searchText(account.name, search))\n && (this.statusFilter === null || account.accountStatus === this.statusFilter)) {\n filteredAccounts.push(account)\n }\n }\n })\n this.accounts = filteredAccounts\n }\n }\n\n searchText = (text: string, search: string) => {\n return (\n text ? text.toLowerCase().indexOf(search) >= 0 : false\n )\n }\n\n sortAccounts = () => {\n if (this.sortBy.field === \"default\") {\n if (this.sortBy.asc) {\n this.accountsUnfiltered.sort((a: Account, b: Account) => {\n return a.name.localeCompare(b.name)\n })\n } else {\n this.accountsUnfiltered.sort((a: Account, b: Account) => {\n return b.name.localeCompare(a.name)\n })\n }\n }\n }\n\n onRequestSearch = () => {\n this.search = this.search ? this.search.trim() : \"\"\n this.filterAccounts()\n }\n\n onCancelSearch = () => {\n this.search = \"\"\n this.filterAccounts()\n }\n\n onNameClick = (accountId: String) => {\n // ControlTower.route(`${Routes.manage}/people?acctname=${name}`)\n // ControlTower.route(`${Routes.manageJobs}?accountId=${accountId}`)\n const account = this.accounts.find(account => account.id === accountId)\n // console.debug('onNameClick', {\n // account, \n // accountId\n // })\n this.account = account \n }\n\n onAddAccount = () => {\n this.isAccountFormOpen = true\n }\n\n onCloseAccountForm = () => {\n this.isAccountFormOpen = false\n }\n\n onCreateAccount = async (createdAccount: Account) => {\n this.accountsUnfiltered.push(createdAccount)\n this.sortAccounts()\n this.filterAccounts()\n }\n\n onUpdateAccount = async (updatedAccount: Account) => {\n const foundIndex = this.accountsUnfiltered.findIndex(checkAccount => checkAccount.id === updatedAccount.id)\n if (foundIndex !== -1) {\n this.accountsUnfiltered.splice(foundIndex, 1, updatedAccount)\n this.sortAccounts()\n this.filterAccounts()\n }\n }\n}\n\nexport default withTheme((withStyles(styles)(EmployerList)))\n\n\n","import * as React from 'react'\nimport Page from '../../components/page/Page'\nimport {Box, createStyles, Grid, Tab, Tabs, Theme, withStyles, WithStyles, withTheme, WithTheme} from \"@material-ui/core\";\nimport {RouteComponentProps} from \"@reach/router\";\nimport {inject, observer} from \"mobx-react\";\nimport UserStore from \"../../stores/UserStore\";\nimport { observable, when, makeObservable } from \"mobx\";\nimport Progress from \"../../components/Progress\";\nimport ControlTower, {Routes} from \"../../components/ControlTower\";\nimport ApplicantBoard from \"./ApplicantBoard\";\nimport CandidateList from \"./CandidateList\";\nimport EmployerList from \"./EmployerList\";\nimport PeopleList from \"./PeopleList\";\nimport ContractsList from \"../contracts/ContractsList\";\n// import AccountBilling from \"../settings/account-billing/AccountBilling\";\n// import AccountPage from '../accounts/AccountPage';\n\nconst styles = (theme: Theme) => createStyles({\n root: {\n flexGrow: 1,\n width: \"100%\",\n justifyContent: 'top',\n alignItems: 'center',\n overflow: \"hidden\",\n marginTop: theme.spacing(2),\n marginBottom: theme.spacing(2)\n },\n navigation: {\n },\n content: {\n overflow: \"hidden\"\n },\n tabs: {\n flexGrow: 1\n },\n tab: {\n fontSize: 15,\n fontWeight: 600,\n },\n hiddenTab: {\n display: \"none\"\n }\n})\n\ninterface IAdminPageProps {\n userStore?: UserStore\n progress?: Progress\n tab?: string\n}\n\n@inject(\"userStore\", \"progress\")\n@observer\nclass AdminPage extends React.Component & RouteComponentProps & IAdminPageProps & WithTheme> {\n tabNames: string[] = [\n \"accounts\", \n // \"job-groups\", \n \"applicants\", \n \"candidates\", \n \"people\", \n // \"billing\"\n ]\n\n @observable isLoading = true\n\n constructor(\n props: WithStyles & RouteComponentProps & IAdminPageProps & WithTheme\n ) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount () {\n const { userStore, progress } = this.props\n\n this.isLoading = true\n progress!.show(\"AdminPage\")\n when(\n () => !userStore!.isLoading,\n () => {\n this.isLoading = false\n progress!.hide(\"AdminPage\")\n }\n )\n }\n\n render() {\n const { classes, userStore } = this.props\n\n if (this.isLoading) {\n return null\n }\n\n const isAdminOrAgent = userStore!.isAdminOrAgent\n const isEmployer = userStore!.isEmployer\n\n const title = \"Admin\"\n\n const tabName = (this.props.tab !== undefined) ? this.props.tab : this.tabNames[0]\n let tabValue = this.tabNames.findIndex(name => tabName === name)\n if (tabValue < 0) {\n tabValue = 0\n }\n\n return (\n \n \n \n \n \n \n \n {/* */}\n \n \n \n {/* */}\n \n \n \n \n \n {tabValue === 0 && isAdminOrAgent && }\n {/* {tabValue === 1 && } */}\n {tabValue === 1 && }\n {tabValue === 2 && }\n {tabValue === 3 && }\n \n \n \n )\n }\n\n handleChange = (event: any, value: any) => {\n // Navigate to tab to allow a direct url to each tab\n const tabName = this.tabNames[value]\n ControlTower.route(`${Routes.manage}/${tabName}`)\n }\n}\n\nexport default withTheme((withStyles(styles)(AdminPage)))\n","interface ICacheItem {\n item: any\n expires: number\n}\n\ntype CacheResolver = (key: string) => Promise\n\nclass CacheStore {\n\n private _expireSecs: number = 60\n private _resolver?: CacheResolver\n protected _cache = {}\n \n constructor (expireSecs: number, resolver?: CacheResolver) {\n this._expireSecs = expireSecs\n this._resolver = resolver\n }\n \n put = (key: string, item: CacheType) => {\n this._cache[key] = { item, expires: this.getExpires()}\n }\n \n get = async (key: string): Promise => {\n const cacheItem = this._cache[key]\n if (cacheItem && !this.isExpired(cacheItem)) {\n return cacheItem.item\n } else {\n return await this.resolve(key)\n }\n }\n \n resolve = async (key: string): Promise => {\n if (this._resolver) {\n const item = await this._resolver(key)\n if (item) {\n this._cache[key] = {item, expires: this.getExpires()}\n }\n return item\n } else {\n return undefined\n }\n }\n\n remove = (key: string) => {\n if (this._cache[key]) {\n this._cache[key] = undefined\n }\n }\n\n removeAll = () => {\n this._cache = {}\n }\n\n removeExpired = () => {\n // TODO\n }\n\n private getExpires(): number {\n const now = new Date().getTime()\n return now + this._expireSecs * 1000\n }\n\n private isExpired = (cacheItem: ICacheItem) => {\n const now = new Date().getTime()\n return (cacheItem.expires <= now)\n }\n\n}\n\nexport default CacheStore","import {Storage} from \"aws-amplify\";\nimport {endOfMonth, endOfYear} from \"date-fns\";\nimport {makeObservable, observable} from \"mobx\";\nimport * as APITypes from \"../API\";\nimport {AddressType, SecurityStatus, WorkSetting} from \"../API\";\nimport GovGigAPI from \"../apis/GovGigAPI\";\nimport AppConfig from \"../AppConfig\";\nimport degreeOptionData from \"../data/degrees.json\";\nimport Certification from \"../model/Certification\";\nimport Education from \"../model/Education\";\nimport Experience from \"../model/Experience\";\nimport Location from \"../model/Location\";\nimport Profile from \"../model/Profile\";\nimport ProfileLocation from \"../model/ProfileLocation\";\nimport ProfileService from \"../model/ProfileService\";\nimport User from \"../model/User\";\nimport {createUUID, getISODateFromDate, getISODateToday, isoToLocalDate} from './StoreUtilities';\nimport ResourceCache from \"./ResourceCache\";\nimport CacheStore from \"./CacheStore\";\nimport {LngLat, LngLatBounds, LngLatLike} from \"mapbox-gl\";\nimport get from \"lodash.get\";\nimport { IFileStorageLevel } from \"../components/file/FileDialog\";\n\nexport interface IProfileSearchOptions {\n industry?: string\n workSetting?: WorkSetting\n securityClearance?: string\n securityStatus?: SecurityStatus\n certificationType?: string\n}\n\n\nexport default class ProfileStore {\n govGigAPI: GovGigAPI\n resourceCache: ResourceCache\n profileCache?: ProfilesCacheStore\n locationProfilesCache?: LocationProfilesCacheStore\n\n @observable isLoading: boolean = false\n\n constructor(options: any) {\n makeObservable(this);\n this.govGigAPI = (options && options.govGigAPI) ? options.govGigAPI : null\n this.resourceCache = (options && options.resourceCache) ? options.resourceCache : null\n if (this.resourceCache) {\n console.log(`ProfileStore resourceCache initialized`)\n } else {\n console.log(`ProfileStore resourceCache not initialized`)\n }\n this.profileCache = new ProfilesCacheStore(this)\n this.locationProfilesCache = new LocationProfilesCacheStore(this)\n }\n\n // Profile methods\n\n listProfiles = async (filter?: APITypes.ModelProfileFilterInput): Promise => {\n let profiles: Profile[] = []\n\n let data\n let nextToken: string | undefined\n\n do {\n data = await this.govGigAPI.listProfiles(filter, 1000, nextToken)\n if (data && data.items) {\n data.items.forEach((item: any) => {\n const profile = new Profile(item)\n this.resourceCache.loadServicesForProfile(profile)\n this.resourceCache.loadLocationsForProfile(profile)\n profiles.push(profile)\n })\n nextToken = data.nextToken ?? undefined\n }\n } while (data && nextToken)\n\n return profiles\n }\n\n listProfilesByLocation = async (locationId: string, filter?: APITypes.ModelProfileServiceFilterInput): Promise => {\n let profiles: Profile[] = []\n\n const data = await this.govGigAPI.listProfilesByLocation(locationId, filter)\n if (data && data.items) {\n data.items.forEach((item: any) => {\n if (item.profile) {\n const profile = new Profile(item.profile)\n this.resourceCache.loadServicesForProfile(profile)\n this.resourceCache.loadLocationsForProfile(profile)\n profiles.push(profile)\n }\n })\n }\n\n return profiles\n }\n\n\n\n listProfilesByService = async (serviceId: string, filter?: APITypes.ModelProfileServiceFilterInput): Promise => {\n let profiles: Profile[] = []\n\n const data = await this.govGigAPI.listProfilesByService(serviceId, filter)\n if (data && data.items) {\n data.items.forEach((item: any) => {\n if (item.profile) {\n const profile = new Profile(item.profile)\n this.resourceCache.loadServicesForProfile(profile)\n this.resourceCache.loadLocationsForProfile(profile)\n profiles.push(profile)\n }\n })\n }\n\n return profiles\n }\n\n // Find in cache\n findProfilesByService = async (serviceId: string, options: IProfileSearchOptions = {}) => {\n const key = `${serviceId ?? ''}/${options.industry ?? ''}`\n let profiles = await this.profileCache!.get(key) ?? []\n\n if (options.workSetting || options.securityClearance || options.certificationType) {\n profiles = profiles.filter((profile: Profile) => {\n return ((!options.workSetting || profile.workSettings.includes(options.workSetting!)) &&\n (!options.securityClearance || (profile.securityClearance && profile.securityClearance.startsWith(options.securityClearance))) &&\n (!options.certificationType || profile.findCertification(options.certificationType))\n )\n })\n }\n\n return profiles\n }\n\n // Find in cache\n findProfilesByServiceAndLocation = async (serviceId: string, locationId: string) => {\n const profiles = await this.profileCache!.get(serviceId)\n\n if (profiles) {\n return profiles.filter((profile: Profile) => {\n return profile.profileLocations.findIndex((pl: ProfileLocation) => pl.locationId === locationId) >= 0\n })\n } else {\n return []\n }\n }\n\n // 80467.2 is 50 miles in meters \n listProfilesByLocationRadius = async (locationId: string, serviceId?: string, radius: number = 80467.2) => {\n const profiles: Profile[] = []\n\n const location = this.resourceCache.getLocation(locationId, true)\n if (location) {\n let locationProfiles\n if (location.addressType === AddressType.State) {\n locationProfiles = await this.listLocationProfilesByState(location.state, serviceId)\n } else {\n const lngLat: LngLat = new LngLat(location.longitude, location.latitude)\n const bounds: LngLatBounds = lngLat.toBounds(radius)\n\n locationProfiles = await this.listLocationProfilesByBounds(bounds, serviceId)\n }\n locationProfiles.forEach((locationProfiles: LocationProfiles) => {\n // Filter duplicates\n locationProfiles.profiles.forEach((p: Profile) => {\n if (profiles.findIndex((item: Profile) => item.id === p.id) < 0) {\n profiles.push(p)\n }\n })\n })\n }\n\n return profiles\n }\n\n listLocationProfilesByBounds = async (bounds: LngLatBounds, serviceId?: string, options: IProfileSearchOptions = {}) => {\n const locations = this.getLocationsInBounds(bounds)\n\n const locationProfiles: LocationProfiles[] = []\n\n if (serviceId) {\n // Cache profiles for this service (in the ProfileStore)\n const cache = await this.findProfilesByService(serviceId, options)\n\n // Group profiles by location (LocationProfile)\n locations.forEach((location: Location) => {\n const profiles = cache.filter((p: Profile) => {\n return p.profileLocations.findIndex((pl: ProfileLocation) => pl.locationId === location.id) >= 0\n })\n if (profiles.length > 0) {\n locationProfiles.push(new LocationProfiles(location, profiles))\n }\n })\n } else {\n const promises: Promise[] = []\n locations.forEach((location: Location) => {\n const key = location.id\n promises.push(this.locationProfilesCache!.get(key))\n })\n\n const profiles = await Promise.all(promises)\n\n for (let i = 0; i < profiles.length; i++) {\n locationProfiles.push(new LocationProfiles(locations[i], profiles[i] ?? []))\n }\n }\n\n return locationProfiles\n }\n\n getLocationsInBounds = (bounds: LngLatBounds) => {\n const locations: Location[] = []\n\n this.resourceCache!.locations.forEach((location: Location) => {\n const lnglat: LngLatLike = {lng: location.longitude, lat: location.latitude}\n if (bounds.contains(lnglat)) {\n locations.push(location)\n }\n })\n\n return locations\n }\n\n listLocationProfilesByState = async (state: string, serviceId?: string, options: IProfileSearchOptions = {}) => {\n const locations = this.getLocationsInState(state)\n\n const locationProfiles: LocationProfiles[] = []\n\n if (serviceId) {\n // Cache profiles for this service (in the ProfileStore)\n const cache = await this.findProfilesByService(serviceId, options)\n\n // Group profiles by location (LocationProfile)\n locations.forEach((location: Location) => {\n const profiles = cache.filter((p: Profile) => {\n return p.profileLocations.findIndex((pl: ProfileLocation) => pl.locationId === location.id) >= 0\n })\n if (profiles.length > 0) {\n locationProfiles.push(new LocationProfiles(location, profiles))\n }\n })\n } else {\n const promises: Promise[] = []\n locations.forEach((location: Location) => {\n const key = location.id\n promises.push(this.locationProfilesCache!.get(key))\n })\n\n const profiles = await Promise.all(promises)\n\n for (let i = 0; i < profiles.length; i++) {\n locationProfiles.push(new LocationProfiles(locations[i], profiles[i] ?? []))\n }\n }\n\n return locationProfiles\n }\n\n listLocationProfilesByCountry = async (country: string, serviceId?: string, options: IProfileSearchOptions = {}) => {\n const locations = this.getLocationsInCountry(country)\n\n const locationProfiles: LocationProfiles[] = []\n\n if (serviceId) {\n // Cache profiles for this service (in the ProfileStore)\n const cache = await this.findProfilesByService(serviceId, options)\n\n // Group profiles by location (LocationProfile)\n locations.forEach((location: Location) => {\n const profiles = cache.filter((p: Profile) => {\n return p.profileLocations.findIndex((pl: ProfileLocation) => pl.locationId === location.id) >= 0\n })\n if (profiles.length > 0) {\n locationProfiles.push(new LocationProfiles(location, profiles))\n }\n })\n } else {\n const promises: Promise[] = []\n locations.forEach((location: Location) => {\n const key = location.id\n promises.push(this.locationProfilesCache!.get(key))\n })\n\n const profiles = await Promise.all(promises)\n\n for (let i = 0; i < profiles.length; i++) {\n locationProfiles.push(new LocationProfiles(locations[i], profiles[i] ?? []))\n }\n }\n\n return locationProfiles\n }\n\n listLocationProfilesByService = async (serviceId: string, options: IProfileSearchOptions = {}) => {\n const locationProfiles: LocationProfiles[] = []\n\n if (serviceId) {\n // Cache profiles for this service (in the ProfileStore)\n const cache = await this.findProfilesByService(serviceId, options)\n\n // Group profiles by location (LocationProfile)\n cache.forEach((profile: Profile) => {\n profile.profileLocations.forEach((profileLocation: ProfileLocation) => {\n if (profileLocation.location) {\n let locationProfile = locationProfiles.find((locationProfile: LocationProfiles) => locationProfile.location.id === profileLocation.locationId)\n if (!locationProfile) {\n locationProfile = new LocationProfiles(profileLocation.location, [profile])\n locationProfiles.push(locationProfile)\n } else {\n locationProfile.profiles.push(profile)\n }\n }\n })\n })\n }\n\n return locationProfiles\n }\n\n getLocationsInState = (state: string) => {\n // Make sure we have the full/proper state name\n const stateName = this.resourceCache!.getStateNameFromAbbr(state)\n const locations: Location[] = []\n\n this.resourceCache!.locations.forEach((location: Location) => {\n if (location.state === stateName) {\n locations.push(location)\n }\n })\n\n return locations\n }\n\n getLocationsInCountry = (country: string) => {\n // Make sure we have the full/proper state name\n const locations: Location[] = []\n\n this.resourceCache!.locations.forEach((location: Location) => {\n if (location.country === country) {\n locations.push(location)\n }\n })\n\n return locations\n }\n\n // listProfilesByLocationAndService = async (locationId: string, serviceId: string, availableDate?: string): Promise => {\n // let profiles: Profile[] = []\n\n // const data = await this.govGigAPI.listProfilesByLocation(locationId)\n // if (data && data.items) {\n // data.items.forEach((item: any) => {\n // if (item.profile.profileStatus === ProfileStatus.Accepted) {\n // if (!availableDate || !item.profile.availableDate || item.profile.availableDate <= availableDate) {\n // const index = item.profile.profileServices.items.findIndex((svc: any) => svc.serviceId === serviceId)\n // if (index >= 0) {\n // const profile = new Profile(item.profile)\n // this.resourceCache.loadServicesForProfile(profile)\n // this.resourceCache.loadLocationsForProfile(profile)\n // profiles.push(profile)\n // }\n // }\n // }\n // })\n // }\n\n // return profiles\n // }\n\n /**\n * List Profile entries by searching first on locationId, then filtering by serviceId.\n */\n listProfilesByServiceAndLocation = async (serviceId: string, locationId: string, filter?: APITypes.ModelProfileServiceFilterInput): Promise => {\n let profiles: Profile[] = []\n\n const data = await this.govGigAPI.listProfilesByService(serviceId, filter)\n // Filter by locationId\n if (data && data.items) {\n data.items.forEach((item: any) => {\n const foundProfile = get(item, \"profile\")\n const foundProfileLocations = get(item, \"profile.profileLocations.items\")\n if (foundProfile && foundProfileLocations && foundProfile.profileStatus === APITypes.ProfileStatus.Accepted) {\n const index = foundProfileLocations.findIndex((loc: any) => loc.locationId === locationId)\n if (index >= 0) {\n const profile = new Profile(foundProfile)\n this.resourceCache.loadServicesForProfile(profile)\n this.resourceCache.loadLocationsForProfile(profile)\n profiles.push(profile)\n }\n }\n })\n }\n\n return profiles\n }\n\n getUserProfile = async (userId?: string): Promise => {\n if (!userId) {\n return undefined\n }\n\n const data = await this.govGigAPI.listProfilesByUser(userId)\n if (data && data.items && data.items.length > 0) {\n const profile = new Profile(data.items[0])\n this.resourceCache.loadServicesForProfile(profile)\n this.resourceCache.loadLocationsForProfile(profile)\n return profile\n } else {\n return undefined\n }\n }\n\n getAliasProfile = async (alias?: string): Promise => {\n if (!alias) {\n return undefined\n }\n\n const data = await this.govGigAPI.listProfilesByAlias(alias)\n if (data && data.items && data.items.length > 0) {\n const profile = new Profile(data.items[0])\n this.resourceCache.loadServicesForProfile(profile)\n this.resourceCache.loadLocationsForProfile(profile)\n return profile\n } else {\n return undefined\n }\n }\n\n getProfile = async (profileId: string): Promise => {\n const data = await this.govGigAPI.getProfile(profileId)\n if (data) {\n const profile = new Profile(data)\n this.resourceCache.loadServicesForProfile(profile)\n this.resourceCache.loadLocationsForProfile(profile)\n // Get certifications. For some reason getting too many related items in this query causes a timeout.\n const certifications = await this.govGigAPI.listCertificationsByProfile(profileId)\n if (certifications && certifications.items) {\n profile.loadCertifications(certifications.items as any[])\n }\n return profile\n } else {\n return undefined\n }\n }\n\n async createProfile(input: APITypes.CreateProfileInput) {\n const data = await this.govGigAPI!.createProfile(input)\n if (data) {\n const profile = new Profile(data)\n return profile\n } else {\n return undefined\n }\n }\n\n async updateProfile(input: APITypes.UpdateProfileInput) {\n const data = await this.govGigAPI!.updateProfile(input)\n if (data) {\n const profile = new Profile(data)\n this.resourceCache.loadServicesForProfile(profile)\n this.resourceCache.loadLocationsForProfile(profile)\n return profile\n } else {\n return undefined\n }\n }\n\n // TOOD: Move these file functions out of this ProfileStore, as they are not just used for profiles. \n async uploadFile(key: string, level: \"private\" | \"protected\" | \"public\", file: File) {\n await Storage.put(key, file,\n { contentType: file.type, level }\n );\n const url = Storage.get(key, { download: false });\n\n return url;\n }\n\n async removeFile(key: string, level: \"private\" | \"protected\" | \"public\" = 'public') {\n await Storage.remove(key, { level })\n }\n\n async getFileURL(key: string, level: IFileStorageLevel) {\n const url = String(await Storage.get(key, { level: level, download: false }))\n return url \n }\n\n // Experience methods\n\n getExperience = async (experienceId: string): Promise => {\n const data = await this.govGigAPI.getExperience(experienceId)\n if (data) {\n return new Experience(data)\n } else {\n return undefined\n }\n }\n\n async createExperience(input: APITypes.CreateExperienceInput) {\n const data = await this.govGigAPI!.createExperience(input)\n if (data) {\n return new Experience(data)\n } else {\n return undefined\n }\n }\n\n async updateExperience(input: APITypes.UpdateExperienceInput) {\n const data = await this.govGigAPI!.updateExperience(input)\n if (data) {\n const updatedExperience = new Experience(data)\n return updatedExperience\n } else {\n return undefined\n }\n }\n\n deleteExperience = async (experienceId: string): Promise => {\n const data = await this.govGigAPI.deleteExperience(experienceId)\n if (data) {\n return new Experience(data)\n } else {\n return undefined\n }\n }\n\n // Education methods\n\n getEducation = async (educationId: string): Promise => {\n const data = await this.govGigAPI.getEducation(educationId)\n if (data) {\n return new Education(data)\n } else {\n return undefined\n }\n }\n\n async createEducation(input: APITypes.CreateEducationInput) {\n const data = await this.govGigAPI!.createEducation(input)\n if (data) {\n return new Education(data)\n } else {\n return undefined\n }\n }\n\n async updateEducation(input: APITypes.UpdateEducationInput) {\n const data = await this.govGigAPI!.updateEducation(input)\n if (data) {\n const updatedEducation = new Education(data)\n return updatedEducation\n } else {\n return undefined\n }\n }\n\n deleteEducation = async (educationId: string): Promise => {\n const data = await this.govGigAPI.deleteEducation(educationId)\n if (data) {\n return new Education(data)\n } else {\n return undefined\n }\n }\n\n // Certification methods\n\n getCertification = async (certificationId: string): Promise => {\n const data = await this.govGigAPI.getCertification(certificationId)\n if (data) {\n return new Certification(data)\n } else {\n return undefined\n }\n }\n\n async createCertification(input: APITypes.CreateCertificationInput) {\n const data = await this.govGigAPI!.createCertification(input)\n if (data) {\n return new Certification(data)\n } else {\n return undefined\n }\n }\n\n async updateCertification(input: APITypes.UpdateCertificationInput) {\n const data = await this.govGigAPI!.updateCertification(input)\n if (data) {\n const updatedCertification = new Certification(data)\n return updatedCertification\n } else {\n return undefined\n }\n }\n\n async deleteCertification(certId: string) {\n const data = await this.govGigAPI!.deleteCertification(certId)\n if (data) {\n const updatedCertification = new Certification(data)\n return updatedCertification\n } else {\n return undefined\n }\n }\n\n // DegreeOptions methods\n\n getDegreeOptions = () => {\n return degreeOptionData\n }\n\n // ProfileLocation methods\n\n getProfileLocation = async (profileLocationId: string): Promise => {\n const data = await this.govGigAPI.getProfileLocation(profileLocationId)\n if (data) {\n return new ProfileLocation(data)\n } else {\n return undefined\n }\n }\n\n async createProfileLocation(input: APITypes.CreateProfileLocationInput) {\n const data = await this.govGigAPI!.createProfileLocation(input)\n if (data) {\n await this.resourceCache!.activateLocation(input.locationId)\n return new ProfileLocation(data)\n } else {\n return undefined\n }\n }\n\n async updateProfileLocation(input: APITypes.UpdateProfileLocationInput) {\n const data = await this.govGigAPI!.updateProfileLocation(input)\n if (data) {\n await this.resourceCache!.activateLocation(input.locationId)\n const updatedProfileLocation = new ProfileLocation(data)\n return updatedProfileLocation\n } else {\n return undefined\n }\n }\n\n async deleteProfileLocation(id: string) {\n const data = await this.govGigAPI!.deleteProfileLocation(id)\n if (data) {\n const updatedProfileLocation = new ProfileLocation(data)\n return updatedProfileLocation\n } else {\n return undefined\n }\n }\n\n // ProfileService methods\n\n getProfileService = async (profileServiceId: string): Promise => {\n const data = await this.govGigAPI.getProfileService(profileServiceId)\n if (data) {\n return new ProfileService(data)\n } else {\n return undefined\n }\n }\n\n async createProfileService(input: APITypes.CreateProfileServiceInput) {\n if (input.serviceId && !input.title) {\n // Add title\n const service = this.resourceCache.getService(input.serviceId)\n if (service) {\n input.title = service.name\n }\n }\n const data = await this.govGigAPI!.createProfileService(input)\n if (data) {\n return new ProfileService(data)\n } else {\n return undefined\n }\n }\n\n async updateProfileService(input: APITypes.UpdateProfileServiceInput) {\n if (input.serviceId && !input.title) {\n // Add title\n const service = this.resourceCache.getService(input.serviceId)\n if (service) {\n input.title = service.name\n }\n }\n const data = await this.govGigAPI!.updateProfileService(input)\n if (data) {\n const updatedProfileService = new ProfileService(data)\n return updatedProfileService\n } else {\n return undefined\n }\n }\n\n async deleteProfileService(id: string) {\n const data = await this.govGigAPI!.deleteProfileService(id)\n if (data) {\n const updatedProfileService = new ProfileService(data)\n return updatedProfileService\n } else {\n return undefined\n }\n }\n\n generateAlias(user: User) {\n return `${user.firstName}${String(user.lastName).slice(0, 1)}${createUUID().slice(0, 4)}`.replace(/ /g, '').toLowerCase();\n }\n\n async parseResume(resumeKey: string, level: \"private\" | \"protected\" | \"public\" = 'public') {\n if (!/.pdf|.docx/i.test(resumeKey)) {\n console.error('')\n throw new Error('Can only parse .docx or .pdf resumes.')\n }\n const resumeBinary = await Storage.get(resumeKey, { level, download: true }) as any\n // affinda parsing\n const API_URL = 'https://resume-parser.affinda.com/public/api/v1'\n const headers = {\n 'Authorization': `Bearer ${AppConfig.affinda.apiToken}`,\n 'Accept': 'application/json',\n }\n const formData = new FormData()\n formData.append('file', resumeBinary.Body)\n formData.append('fileName', 'resume.pdf')\n let res = await fetch(`${API_URL}/documents`, { method: 'POST', headers, body: formData })\n if (res.status !== 200 && res.status !== 201) {\n throw new Error('Couldn\\'t parse resume.')\n }\n const id = (await res.json()).identifier\n\n // poll API for status of processing\n let fetching = false\n let parsedResume: object | null = null\n const retries = 10\n const everyMs = 1000\n\n let startTime = Date.now()\n let tries = 1;\n\n while (parsedResume == null && tries <= retries) {\n const elaspedMs = (Date.now() - startTime)\n if (!fetching && elaspedMs >= everyMs) {\n startTime = Date.now()\n tries += 1\n fetching = true\n res = await fetch(`${API_URL}/documents/${id}`, { headers })\n if (res.status === 200) {\n const payload = (await res.json()) as any\n if (payload.data) {\n parsedResume = payload.data\n }\n }\n fetching = false\n }\n }\n\n return parsedResume\n }\n\n async updateProfileForResume(profileId: string, resumeKey: string) {\n const profile = await this.getProfile(profileId)\n if (!profile) { throw new Error(`No profile for id ${profileId}`)}\n\n const resume = await this.parseResume(resumeKey) as any\n if (!resume) {\n return\n }\n\n const updatePromises: Promise[] = []\n\n // profile\n updatePromises.push(this.updateProfile({\n id: profileId,\n resumeKey,\n about: profile.about ? undefined : resume.summary,\n }))\n\n // education\n if ((!profile.education || profile.education.length === 0) && resume.education?.length > 0) {\n for (const eRaw of resume.education) {\n updatePromises.push(this.createEducation({\n profileId,\n userId: profile.userId,\n school: eRaw.organization,\n degree: eRaw.accreditation.education,\n ...eRaw.dates && {\n startDate: eRaw.dates.startDate,\n endDate: this.parseEndDate(eRaw.dates.completionDate),\n },\n }))\n }\n }\n\n // work experiences\n if ((!profile.experiences || profile.experiences.length === 0) && resume.workExperience?.length > 0) {\n for (const expRaw of resume.workExperience) {\n console.log(`${expRaw.jobTitle}: ${expRaw.dates?.startDate} - ${expRaw.dates?.endDate} (${this.parseEndDate(expRaw.dates?.endDate)})`)\n updatePromises.push(this.createExperience({\n profileId,\n userId: profile.userId,\n jobTitle: expRaw.jobTitle,\n jobDescription: this.parseText(expRaw.jobDescription),\n employerName: expRaw.organization,\n ...expRaw.location && {\n employerLocation: expRaw.location.formatted,\n },\n ...expRaw.dates && {\n startDate: expRaw.dates.startDate,\n endDate: this.parseEndDate(expRaw.dates?.endDate),\n },\n }))\n }\n }\n\n // certs (DISABLED PENDING FURTHER CONSIDERATION)\n // if ((!profile.certifications || profile.certifications.length === 0) && resume.certifications?.length > 0) {\n // for (const certRaw of resume.certifications) {\n // updatePromises.push(this.createCertification({\n // profileId,\n // userId: profile.userId,\n // certificationType: certRaw,\n // }))\n // }\n // }\n\n // Make most requests at once for max concurrency\n await Promise.all(updatePromises)\n\n return await this.getProfile(profileId)\n }\n\n private parseText(value: string) {\n // Replace linefeeds with double linefeeds\n const regex = /\\n/\n return value.replace(regex, \"\\n\\n\")\n }\n\n private parseEndDate(value: string) {\n if (value) {\n if (value === getISODateToday()) {\n // Leave endDate as null if it is the current date\n return null\n } else {\n const date = isoToLocalDate(value)\n if (date) {\n if (date.getMonth() === 0 && date.getDate() === 1) {\n // Push to end of year\n const endDate = endOfYear(date)\n return getISODateFromDate(endDate)\n } else if (date.getDate() === 1) {\n // Push to end of month\n const endDate = endOfMonth(date)\n return getISODateFromDate(endDate)\n }\n }\n }\n }\n\n return value\n }\n\n // admin only tools\n async clearAbout(profile: Profile) {\n await this.updateProfile({ id: profile.id, about: '', resumeKey: '' })\n }\n\n async clearEducation(profile: Profile) {\n await Promise.all((profile.education || []).map(({ id }) => this.deleteEducation(id)))\n }\n\n async clearExperience(profile: Profile) {\n await Promise.all((profile.experiences || []).map(({ id }) => this.deleteExperience(id)))\n }\n\n async clearCertifications(profile: Profile) {\n await Promise.all((profile.certifications || []).map(({ id }) => this.deleteCertification(id)))\n }\n\n async clearProfile(profile: Profile) {\n await Promise.all([\n this.clearAbout(profile),\n this.clearEducation(profile),\n this.clearExperience(profile),\n this.clearCertifications(profile),\n ] as Promise[])\n\n console.log(`Cleared data for profile: ${profile!.id}`)\n }\n\n async clearProfileLocations(profile: Profile) {\n await Promise.all((profile.profileLocations || []).map(({ id }) => this.deleteProfileLocation(id)))\n }\n\n async clearProfileServices(profile: Profile) {\n await Promise.all((profile.profileServices || []).map(({ id }) => this.deleteProfileService(id)))\n }\n\n async clearProfileStorage(profile: Profile) {\n const promises: Promise[] = []\n const key = `users/${profile.userId}/profile/`\n const list = await Storage.list(key)\n if (list) {\n list.results.forEach((result: any) => {\n if (result.size > 0) {\n promises.push(Storage.remove(result.key))\n }\n })\n }\n await Promise.all(promises)\n }\n\n async deleteProfile(profile: Profile) {\n await Promise.all([\n this.clearAbout(profile),\n this.clearEducation(profile),\n this.clearExperience(profile),\n this.clearCertifications(profile),\n this.clearProfileLocations(profile),\n this.clearProfileServices(profile)\n ] as Promise[])\n\n await this.clearProfileStorage(profile)\n await this.govGigAPI.deleteProfile(profile.id)\n\n console.log(`Deleted profile: ${profile!.id}`)\n }\n}\n\nexport class LocationProfiles {\n location: Location\n profiles: Profile[]\n\n constructor (location: Location, profiles: Profile[]) {\n this.location = location\n this.profiles = profiles\n }\n}\n\nconst CACHE_EXPIRE_SECS = 300\n\n// This caches Profile searches based on serviceId\nclass ProfilesCacheStore extends CacheStore {\n\n constructor (profileStore: ProfileStore) {\n super(CACHE_EXPIRE_SECS, async (key: string): Promise => {\n const parts = key.split('/')\n const serviceId = parts[0]\n const industry = parts[1]\n let filter: APITypes.ModelProfileServiceFilterInput | undefined\n if (industry) {\n filter = {\n industries: {contains: industry}\n }\n }\n const profiles = await profileStore.listProfilesByService(serviceId, filter)\n // Filter out only accepted filters\n const filtered = profiles.filter((profile: Profile) => profile.profileStatus === APITypes.ProfileStatus.Accepted)\n return filtered\n })\n }\n\n removeKey = (key: string) => {\n this.remove(key)\n }\n}\n\n// This caches Profile searches based on locationId\nclass LocationProfilesCacheStore extends CacheStore {\n\n constructor (profileStore: ProfileStore) {\n super(CACHE_EXPIRE_SECS, async (key: string): Promise => {\n // The key here is the locationId.\n // At some point we may want to support a key that contains the locationId and/or serviceId.\n const profiles = await profileStore.listProfilesByLocation(key)\n // Filter out only accepted filters\n const filtered = profiles.filter((profile: Profile) => profile.profileStatus === APITypes.ProfileStatus.Accepted)\n console.debug(`ProfileCacheStore.get(${key}) = ${filtered.length}`)\n return filtered\n })\n }\n\n removeKey = (key: string) => {\n this.remove(key)\n }\n}\n\n\n","import * as React from \"react\";\nimport {\n Box,\n Card, CardActionArea,\n CardContent,\n createStyles,\n Grid,\n Theme,\n Typography,\n withStyles,\n WithStyles\n} from \"@material-ui/core\";\nimport {inject, observer} from \"mobx-react\";\nimport {grey} from \"@material-ui/core/colors\";\nimport UserStore from \"../../stores/UserStore\";\nimport StarIcon from \"@material-ui/icons/Star\";\nimport ResourceCache, {ServiceOption} from \"../../stores/ResourceCache\";\nimport ProfileNameView from \"../../components/profile/ProfileNameView\";\nimport {ProfileAvailabilityOptions} from \"../../model/Profile\";\nimport LockIcon from \"@material-ui/icons/Lock\";\nimport DateRangeIcon from '@material-ui/icons/DateRange';\nimport ScheduleIcon from \"@material-ui/icons/Schedule\";\nimport WorkOutlineIcon from '@material-ui/icons/WorkOutline';\nimport VerifiedUserIcon from '@material-ui/icons/VerifiedUser';\nimport {isoDateToWhen} from \"../../stores/StoreUtilities\";\n\nconst styles = (theme: Theme) => createStyles({\n card: {\n fontSize: 12,\n // padding: '8px !important', // overriding CardContent root setting\n paddingTop: theme.spacing(2),\n paddingLeft: theme.spacing(2),\n paddingBottom: theme.spacing(2),\n paddingRight: theme.spacing(2),\n },\n header: {\n fontWeight: 200,\n color: theme.palette.text.secondary,\n borderBottom: `1px solid ${grey[300]}`,\n paddingBottom: 4,\n marginBottom: 2\n },\n body: {\n },\n property: {\n display: \"flex\",\n flexDirection: \"row\",\n paddingBottom: \"3px\"\n },\n propIcon: {\n color: theme.palette.text.secondary,\n width: 18,\n height:18,\n paddingTop: 2,\n marginRight: theme.spacing(1)\n },\n bold: {\n display: \"flex\",\n flexDirection: \"row\",\n fontWeight: 600,\n padding: \"2px 0\"\n },\n summary: {\n maxHeight: 80,\n overflowY: \"hidden\"\n },\n saved: {\n textAlign: \"right\",\n color: theme.palette.primary.main,\n maxHeight: 18,\n paddingTop: 4\n },\n icon: {\n width: 20,\n height: 20\n },\n availableNow: {\n display: \"flex\",\n flexDirection: \"row\",\n color: theme.palette.success.dark,\n fontWeight: 600\n },\n availableSoon: {\n display: \"flex\",\n flexDirection: \"row\",\n color: theme.palette.warning.main\n },\n availableLater: {\n display: \"flex\",\n flexDirection: \"row\",\n color: theme.palette.error.dark\n },\n unavailable: {\n display: \"flex\",\n flexDirection: \"row\",\n color: theme.palette.text.secondary\n }\n})\n\ninterface IProfileSearchCardProps {\n profile: any\n service?: ServiceOption\n certificationType?: string\n onClick?: any\n isSaved?: boolean\n userStore?: UserStore\n resourceCache?: ResourceCache\n}\n\n@inject(\"userStore\", \"resourceCache\")\n@observer\nclass ProfileSearchCard extends React.Component & IProfileSearchCardProps> {\n\n render() {\n const { classes, profile, isSaved, service, certificationType, resourceCache } = this.props\n\n const title = service?.name\n\n let availability = profile.availability\n let availabilityClassName\n if (availability === ProfileAvailabilityOptions[0]) {\n availabilityClassName = classes.availableNow\n } else if (availability === ProfileAvailabilityOptions[4]) {\n availabilityClassName = classes.availableLater\n } else if (availability === ProfileAvailabilityOptions[5]) {\n availabilityClassName = classes.unavailable\n } else {\n availabilityClassName = classes.availableSoon\n }\n const lastActiveAt = profile.user ? isoDateToWhen(profile.user!.lastActiveAt) : \"\"\n\n let experience: string | undefined = undefined\n if (profile!.totalExperience) {\n experience = `${Math.round(profile!.federalExperience * 100) / 100} yr${profile!.federalExperience !== 1 ? \"s\" : \"\"} federal experience (${Math.round(profile!.totalExperience * 100 / 100)} total)`\n }\n\n const securityClearance = profile.securityClearance\n\n const savedIcon = isSaved ? : null\n let certification\n if (certificationType && profile.findCertification(certificationType)) {\n certification = certificationType\n }\n\n return (\n \n this.props.onClick(profile) : undefined}>\n \n \n \n \n \n \n \n \n {savedIcon}\n \n \n {title}\n \n {experience &&\n \n \n {experience}\n \n }\n {securityClearance &&\n \n \n {securityClearance}\n \n }\n {certification &&\n \n \n {certification}\n \n }\n {availability &&\n \n \n Availability: {availability}\n \n }\n {lastActiveAt &&\n \n \n Last active: {lastActiveAt}\n \n }\n \n {profile.about}\n \n \n \n \n \n\n )\n }\n\n // renderServices = () => {\n // const { profile } = this.props\n //\n // profile.services.sort((a: Service, b: Service) => a.name.localeCompare(b.name))\n //\n // let services = \"\"\n // profile.services.forEach((service: Service) => {\n //\n // })\n // }\n}\n\nexport default withStyles(styles)(ProfileSearchCard)\n","export default __webpack_public_path__ + \"static/media/blue-pin.936f7651.svg\";","export default __webpack_public_path__ + \"static/media/blue-pin-highlighted.f20cf484.svg\";","import * as React from 'react'\nimport {createStyles, isWidthDown, Theme, withStyles, WithStyles, withWidth, WithWidth} from \"@material-ui/core\";\nimport LocationAPI from \"../../apis/LocationAPI\";\nimport ReactMapGL, {Marker, NavigationControl} from \"react-map-gl\"\nimport BluePin from '../../images/map/blue-pin.svg'\nimport BluePinHighlighted from '../../images/map/blue-pin-highlighted.svg'\nimport {inject, observer} from \"mobx-react\";\nimport {makeObservable, observable} from \"mobx\";\nimport {LocationProfiles} from \"../../stores/ProfileStore\";\nimport {MapEvent} from \"react-map-gl/src/components/interactive-map\";\n\nconst styles = (theme: Theme) => createStyles({\n marker: {\n zIndex: 900,\n cursor: \"pointer\"\n },\n markerTop: {\n zIndex: 1000,\n cursor: \"pointer\"\n },\n markerLabel: {\n position: \"absolute\",\n top: \"7%\",\n width: 50,\n fontFamily: [\n 'Roboto',\n 'sans-serif'\n ].join(','),\n fontSize: 24,\n fontWeight: 600,\n color: theme.palette.primary.contrastText,\n textAlign: \"center\"\n },\n markerLabelSm: {\n position: \"absolute\",\n top: \"8%\",\n width: 24,\n fontFamily: [\n 'Roboto',\n 'sans-serif'\n ].join(','),\n fontSize: 11,\n fontWeight: 800,\n color: theme.palette.primary.contrastText,\n textAlign: \"center\"\n }\n})\n\ninterface ICandidateMapProps {\n locationAPI?: LocationAPI,\n viewport: any,\n locationProfiles?: LocationProfiles[]\n selectedLocationId?: string\n height?: any\n onViewportChange(viewport: any, map: any): void\n onClickLocation(locationId?: string): void\n}\n\n@inject(\"locationAPI\")\n@observer\nclass CandidateMap extends React.Component & ICandidateMapProps & WithWidth> {\n\n @observable locationProfiles?: LocationProfiles[] = []\n @observable selectedLocationId?: string\n\n mapRef: any\n\n constructor(props: any) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount() {\n this.locationProfiles = this.props.locationProfiles\n this.selectedLocationId = this.props.selectedLocationId\n }\n\n componentDidUpdate(prevProps: any) {\n if (this.props.locationProfiles !== prevProps.locationProfiles) {\n this.locationProfiles = this.props.locationProfiles\n }\n if (this.props.selectedLocationId !== prevProps.selectedLocationId) {\n this.selectedLocationId = this.props.selectedLocationId\n }\n }\n\n\n render() {\n const { locationAPI, viewport, width } = this.props\n\n const height = this.props.height ? this.props.height :\n (isWidthDown('xs', width)) ? \"calc(100vh - 182px)\" : \"calc(100vh - 210px)\"\n\n if (locationAPI!.credentials) {\n return (\n this.mapRef = map}\n width=\"100%\"\n height={height}\n transformRequest={locationAPI!.transformRequest()}\n mapStyle={locationAPI!.mapName}\n onViewportChange={this.onViewportChange}\n onClick={this.onClick}\n >\n {this.renderMarkers()}\n
\n {/* react-map-gl v5 doesn't support dragging the compass to change bearing */}\n \n
\n \n )\n }\n\n return null\n }\n\n renderMarkers = () => {\n const { classes } = this.props\n\n const markers: any = []\n\n if (this.mapRef) {\n // const map = this.mapRef.getMap()\n // const zoom = map.getZoom()\n\n if (this.locationProfiles && this.locationProfiles.length > 0) {\n this.locationProfiles.forEach((item: LocationProfiles) => {\n const location = item.location\n const count = item.profiles.length\n let marker\n if (this.selectedLocationId === location.id) {\n marker = \n
this.onClickLocation(event, location.id)}>\n \"\"/\n
{count > 0 ? count : \"\"}
\n
\n
\n } else if (count > 0) {\n marker = \n
this.onClickLocation(event, location.id)}>\n \"\"/\n
{count}
\n
\n
\n\n }\n // Check for dups\n if (marker && markers.findIndex((marker: any) => marker.key === location.id) < 0) {\n markers.push(marker)\n }\n })\n }\n }\n\n return markers\n }\n\n onViewportChange = (viewport: any) => {\n // console.log(`onViewportChange: ${JSON.stringify(viewport)}`)\n\n if (this.mapRef) {\n const map = this.mapRef.getMap()\n const bounds = map.getBounds()\n this.props.onViewportChange(viewport, bounds)\n }\n }\n\n onClick = (evt: MapEvent) => {\n if (this.props.onClickLocation) {\n this.props.onClickLocation()\n }\n }\n\n onClickLocation = (event: any, locationId: string) => {\n // console.log(`onClickLocation: ${locationId}`)\n if (this.props.onClickLocation) {\n this.props.onClickLocation(locationId)\n }\n event.stopPropagation()\n }\n\n}\n\nexport default withStyles(styles)(withWidth()(CandidateMap))","import React from \"react\";\nimport {\n TextField,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport { createStyles, Theme, WithStyles, WithTheme } from \"@material-ui/core\";\nimport { withStyles, withTheme } from \"@material-ui/core/styles\";\nimport { Autocomplete } from \"@material-ui/lab\";\nimport ProfileStore from \"../../stores/ProfileStore\";\nimport { makeObservable, observable } from \"mobx\";\nimport { inject, observer } from \"mobx-react\";\nimport UserStore from \"../../stores/UserStore\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport Progress from \"../Progress\";\nimport JobPost from \"../../model/JobPost\";\n\nconst styles = (theme: Theme) => createStyles({\n filterTextField: {\n // width: 308,\n // width: \"100%\",\n flexGrow: 1, \n backgroundColor: theme.palette.background.paper,\n borderRadius: 10\n }\n})\n\nexport interface IJobPostFilterProps {\n jobPosts: JobPost[]\n onSelectJobPost: (jobPost?: JobPost) => any \n value?: JobPost\n accountStore?: AccountStore\n profileStore?: ProfileStore\n progress?: Progress\n userStore?: UserStore \n}\n\n@inject(\"accountStore\", \"profileStore\", \"userStore\", \"progress\")\n@observer\nclass JobPostFilter extends React.Component & WithTheme & IJobPostFilterProps & WithWidth> {\n\n @observable jobPostFilter?: JobPost \n\n constructor(props: any) {\n super(props)\n makeObservable(this)\n }\n\n componentDidMount() {\n const { value } = this.props\n this.jobPostFilter = value\n }\n\n componentDidUpdate(prevProps: any) {\n if (prevProps.value !== this.props.value) {\n this.jobPostFilter = this.props.value\n }\n }\n\n render() {\n const { classes, jobPosts } = this.props\n\n return (\n option?.service?.name ?? \"\"}\n getOptionSelected={(option: JobPost, value: JobPost) => option.id === value.id}\n groupBy={(option: JobPost) => option.contract!.name}\n onChange={this.onSelectJobPost}\n value={this.jobPostFilter ?? null}\n renderInput={(params: any) =>\n
\n \n
\n }\n />\n )\n }\n\n onSelectJobPost = (event: any, value: any, reason: any) => {\n const jobPost = value as JobPost \n if (jobPost) {\n this.jobPostFilter = jobPost \n } else {\n this.jobPostFilter = undefined\n }\n this.props.onSelectJobPost(this.jobPostFilter)\n }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(JobPostFilter)))","import { Box, createStyles, Grid, makeStyles, Theme, Typography, useMediaQuery, useTheme } from \"@material-ui/core\"\nimport React from \"react\"\nimport { Virtuoso } from \"react-virtuoso\"\n\nconst useStyles = makeStyles((theme: Theme) => createStyles({\n column: {\n height: '100%',\n backgroundColor: theme.palette.grey[500],\n borderRadius: 10,\n [theme.breakpoints.up('sm')]: {\n marginRight: theme.spacing(2),\n }\n },\n listContainer: {\n },\n virtualList: {\n marginBottom: theme.spacing(2)\n },\n row: {\n paddingLeft: theme.spacing(1),\n paddingRight: theme.spacing(1),\n paddingBottom: theme.spacing(1),\n },\n columnHeader: {\n padding: theme.spacing(1)\n },\n title: {\n paddingLeft: theme.spacing(1),\n },\n count: {\n textAlign: \"right\",\n paddingRight: theme.spacing(1)\n },\n}))\n\nexport interface IRow {\n id: string \n}\n\nexport interface IColumn {\n id: string\n title: string\n rows: IRow[]\n}\n\nexport interface IColumnOptions {\n columnWidth?: any\n renderCard: (\n row: IRow\n ) => React.ReactElement\n}\n\nconst Column = ({\n column, \n options \n}: {\n column: IColumn \n options: IColumnOptions \n}) => {\n const classes = useStyles(options)\n const theme = useTheme()\n const isSmall = useMediaQuery(theme.breakpoints.down('xs'))\n \n const renderVirtualList = () => {\n return (\n {\n return (\n \n {options.renderCard && options.renderCard(item)}\n \n )\n }}\n />\n )\n }\n\n return (\n \n \n \n {column.title}\n \n \n {column.rows.length}\n \n \n \n {renderVirtualList()}\n \n \n )\n}\n\nexport default Column \n","import React from \"react\";\nimport {\n TextField,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport { createStyles, Theme, WithStyles, WithTheme } from \"@material-ui/core\";\nimport { withStyles, withTheme } from \"@material-ui/core/styles\";\nimport { Autocomplete } from \"@material-ui/lab\";\nimport { makeObservable, observable } from \"mobx\";\nimport ResourceCache from \"../../stores/ResourceCache\";\nimport {inject, observer} from \"mobx-react\";\n\nconst styles = (theme: Theme) => createStyles({\n filterTextField: {\n // maxWidth: 200,\n flexGrow: 1, \n backgroundColor: theme.palette.background.paper,\n borderRadius: 10\n }\n})\n\nexport interface ISecurityClearanceFilterProps {\n onSelectSecurityClearance: (securityClearance?: string) => any\n value?: string\n variant?: 'filled' | 'outlined' | 'standard'\n\n resourceCache?: ResourceCache\n}\n\n@inject(\"resourceCache\")\n@observer\nclass SecurityClearanceFilter extends React.Component & WithTheme & ISecurityClearanceFilterProps & WithWidth> {\n\n @observable securityClearanceFilter?: string\n\n constructor(props: any) {\n super(props)\n makeObservable(this)\n }\n\n componentDidMount() {\n const { value } = this.props\n this.securityClearanceFilter = value\n }\n\n render() {\n const { classes, resourceCache } = this.props\n\n const variant = this.props.variant ?? 'outlined'\n const margin = 'none'\n\n const securityClearances = resourceCache!.listSecurityClearances()\n\n return (\n \n
\n \n
\n }\n />\n )\n }\n\n onSelectSecurityClearance = (event: any, value: any, reason: string) => {\n this.securityClearanceFilter = value\n this.props.onSelectSecurityClearance(this.securityClearanceFilter)\n }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(SecurityClearanceFilter)))","import * as React from 'react'\nimport Page from '../../components/page/Page'\nimport {RouteComponentProps} from \"@reach/router\";\nimport {inject, observer} from \"mobx-react\";\nimport {\n Box,\n createStyles,\n alpha,\n Grid,\n isWidthDown,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n withTheme,\n WithTheme,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport UserStore from \"../../stores/UserStore\";\nimport Progress from \"../../components/Progress\";\nimport {makeObservable, observable, when} from \"mobx\";\nimport ProfileStore, {IProfileSearchOptions, LocationProfiles} from \"../../stores/ProfileStore\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport ProfileSearchCard from \"./ProfileSearchCard\";\nimport Profile from \"../../model/Profile\";\nimport Account from \"../../model/Account\";\nimport JobPost from \"../../model/JobPost\";\nimport Contract from \"../../model/Contract\";\nimport \"react-datepicker/dist/react-datepicker.css\";\nimport LocationAPI from \"../../apis/LocationAPI\";\nimport CandidateMap from \"./CandidateMap\";\nimport {LngLatBounds} from \"mapbox-gl\";\nimport DialogButton from \"../../components/form/DialogButton\";\nimport MapIcon from \"@material-ui/icons/Room\";\nimport ListIcon from '@material-ui/icons/ViewStream';\nimport FilterBar from \"../../components/filter/FilterBar\";\nimport AccountFilter from \"../../components/filter/AccountFilter\";\nimport ServiceFilter from \"../../components/filter/ServiceFilter\";\nimport PlaceFilter from \"../../components/filter/PlaceFilter\";\nimport JobPostFilter from \"../../components/filter/JobPostFilter\";\nimport JobCandidate from \"../../model/JobCandidate\";\nimport ResourceCache, {LocationOption, ServiceOption} from \"../../stores/ResourceCache\";\nimport {ActivityType} from \"../../model/UserActivity\";\nimport {AddressType, SubjectType, WorkSetting} from \"../../API\";\nimport JobStore, {IJobSearchOptions} from \"../../stores/JobStore\";\nimport ProfilePage from '../profile/ProfilePage';\nimport JobCandidateStatusFlowCard from '../../components/jobCandidates/JobCandidateStatusFlowCard';\nimport Logger from '../../components/Logger';\nimport Column, {IRow} from '../../components/panel/Column';\nimport {ReactElement} from \"react\";\nimport ControlTower, {Routes} from \"../../components/ControlTower\";\nimport {NAICS} from \"../../model/Industry\";\nimport Service from \"../../model/Service\";\nimport {createUUID} from \"../../stores/StoreUtilities\";\nimport CertificationFilter from \"../../components/filter/CertificationFilter\";\nimport SecurityClearanceFilter from \"../../components/filter/SecurityClearanceFilter\";\n\nconst styles = (theme: Theme) => createStyles({\n root: {\n flexGrow: 1,\n width: \"100%\",\n justifyContent: 'top',\n alignItems: 'center',\n overflow: \"hidden\"\n },\n title: {\n paddingTop: theme.spacing(0.5),\n paddingLeft: theme.spacing(1)\n },\n filter: {\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"flex-start\",\n alignItems: \"left\",\n width: 308,\n },\n filterControl: {\n paddingTop: 3,\n textAlign: \"left\",\n width: \"100%\"\n },\n availableFilter: {\n width: \"100%\",\n backgroundColor: theme.palette.background.paper,\n borderWidth: 0,\n borderColor: \"#c4c4c4\",\n borderRadius: 10,\n fontSize: 16,\n height: 39,\n padding: \"4px 0 0 15px\"\n },\n filterButton: {\n backgroundColor: theme.palette.secondary.main,\n color: '#fff',\n borderWidth: 0,\n marginTop: 0,\n marginRight: 8,\n paddingLeft: 8,\n boxShadow: 'rgba(0, 0, 0, 0.25) 0px 1px 3px 0px',\n \"&:hover\": {\n borderWidth: 0,\n backgroundColor: alpha(theme.palette.secondary.light,0.8),\n }\n },\n content: {\n display: \"flex\",\n flexDirection:\"row\"\n },\n cardspace: {\n paddingTop: theme.spacing(1),\n paddingBottom: theme.spacing(2) \n },\n cardspaceEmbed: {\n [theme.breakpoints.down('xs')]: {\n height: \"calc(100vh - 156px)\",\n width: \"100%\",\n marginTop: theme.spacing(0),\n },\n [theme.breakpoints.up('sm')]: {\n height: \"calc(100vh - 184px)\",\n marginTop: theme.spacing(1),\n marginRight: theme.spacing(2)\n },\n paddingTop: theme.spacing(1),\n paddingBottom: theme.spacing(2)\n },\n card: {\n width: 308\n },\n profile: {\n flexGrow: 1,\n width: \"100%\",\n padding: 0,\n margin: 0\n },\n map: {\n flexGrow: 0,\n width: \"100%\",\n padding: 0,\n [theme.breakpoints.down('xs')]: {\n height: \"calc(100vh - 182px)\",\n width: \"100%\",\n marginTop: theme.spacing(0),\n },\n [theme.breakpoints.up('sm')]: {\n height: \"calc(100vh - 210px)\",\n width: \"100%\",\n marginTop: theme.spacing(1),\n borderRadius: 10,\n },\n marginBottom: 12,\n overflow: \"hidden\",\n },\n mapEmbed: {\n flexGrow: 0,\n width: \"100%\",\n padding: 0,\n [theme.breakpoints.down('xs')]: {\n height: \"calc(100vh - 156px)\",\n width: 360,\n marginTop: theme.spacing(0),\n },\n [theme.breakpoints.up('sm')]: {\n height: \"calc(100vh - 184px)\",\n width: \"100%\",\n marginTop: theme.spacing(1),\n borderRadius: 10,\n },\n marginBottom: 12,\n overflow: \"hidden\",\n },\n})\n\nenum View {\n Map,\n List,\n Profile\n}\n\ninterface ICandidatesPageProps {\n // The jobPostId is passed in when this page is being embedded, such as on the Manage Jobs and Manage Job pages. \n embed?: boolean\n jobPostId?: string\n\n userStore?: UserStore\n profileStore?: ProfileStore\n resourceCache?: ResourceCache\n accountStore?: AccountStore\n jobStore?: JobStore\n locationAPI?: LocationAPI\n progress?: Progress\n location?: any\n}\n\n@inject(\"userStore\", \"profileStore\", \"resourceCache\", \"accountStore\", \"jobStore\", \"progress\", \"locationAPI\")\n@observer\nclass CandidatesPage extends React.Component & RouteComponentProps & ICandidatesPageProps & WithTheme & WithWidth> {\n @observable accounts: Account[] = []\n @observable accountFilter?: Account\n @observable showAccountFilter = false\n @observable jobPostOptions: JobPost[] = []\n @observable jobPostFilter?: JobPost\n @observable showJobPostFilter = false\n @observable serviceFilter?: ServiceOption\n @observable showServiceFilter = true\n @observable locationFilter?: LocationOption\n @observable availableFilter = \"\" // format(new Date(), \"MM/dd/yyyy\")\n @observable securityClearanceFilter?: string\n @observable showSecurityClearanceFilter = false\n @observable certificationFilter?: string\n @observable showCertificationFilter = false\n @observable profiles: Profile[] = []\n @observable profile?: Profile\n // @observable profileIsSaved = false\n @observable showResults = false\n @observable isMapOn: boolean = false\n @observable isCardspaceOn: boolean = true\n @observable industryFilter?: string\n @observable locationProfiles: LocationProfiles[] = []\n @observable view: View = View.Map\n @observable viewport = {\n // Geographic center of continental US\n latitude: 39.828303,\n longitude: -98.579476,\n zoom: 2,\n }\n @observable bounds: LngLatBounds = new LngLatBounds([-146.4359213125012, 12.365141670254033, -50.72303068749926, 59.525084020223886])\n\n @observable isLoading = true\n\n constructor(\n props: WithStyles & RouteComponentProps & ICandidatesPageProps & WithTheme & WithWidth\n ) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount () {\n const { userStore, resourceCache, jobStore, progress, location, jobPostId } = this.props\n\n const initFilters = async () => {\n this.industryFilter = userStore!.industry\n if (location) {\n if (location.search) {\n\n const searchParams = new URLSearchParams(location.search)\n const jobPostId = searchParams.get(\"jobPostId\")\n if (jobPostId) {\n if (userStore!.isAdminOrAgent) {\n await this.loadAccounts()\n this.showAccountFilter = true\n this.showJobPostFilter = true\n } else if (userStore!.isEmployer) {\n await this.loadJobPostOptions()\n this.showJobPostFilter = true\n }\n this.showServiceFilter = true\n this.jobPostFilter = await jobStore!.getJobPost(jobPostId)\n if (this.jobPostFilter) {\n await this.loadJobPostOptions(this.jobPostFilter.accountId)\n if (userStore!.isAdminOrAgent) {\n this.accountFilter = this.findAccount(this.jobPostFilter.accountId)\n } \n }\n if (this.jobPostFilter) {\n this.serviceFilter = resourceCache!.getServiceOption(this.jobPostFilter.serviceId)\n this.locationFilter = resourceCache!.getLocationOption(this.jobPostFilter.locationId)\n }\n } else {\n const serviceId = searchParams.get(\"serviceId\")\n if (serviceId) {\n this.serviceFilter = resourceCache!.getServiceOption(serviceId)\n }\n const locationId = searchParams.get(\"locationId\")\n if (locationId) {\n this.locationFilter = resourceCache!.getLocationOption(locationId)\n }\n }\n } else {\n // If there's no service or location selected, default to project management.\n if (this.industryFilter === NAICS.Construction) {\n this.serviceFilter = resourceCache!.getServiceOption(\"b9a73bba-9475-40f2-be7d-bb349f34d52f\")\n }\n }\n } else {\n if (userStore!.isAdminOrAgent) {\n await this.loadAccounts()\n this.showAccountFilter = true\n this.showJobPostFilter = true\n } else if (userStore!.isEmployer) {\n await this.loadJobPostOptions()\n this.showJobPostFilter = true\n }\n if (jobPostId) {\n const jobPost = await jobStore!.getJobPost(jobPostId)\n if (jobPost) {\n this.jobPostFilter = jobPost\n await this.loadJobPostOptions(this.jobPostFilter.accountId)\n this.accountFilter = this.jobPostFilter.account\n this.serviceFilter = resourceCache!.getServiceOption(this.jobPostFilter.serviceId)\n this.locationFilter = resourceCache!.getLocationOption(this.jobPostFilter.locationId)\n }\n }\n }\n\n if (userStore!.isAdminOrAgent) {\n this.showSecurityClearanceFilter = true\n this.showCertificationFilter = true\n } else if (userStore!.isEmployer) {\n this.showSecurityClearanceFilter = true\n this.showCertificationFilter = true\n }\n\n }\n\n const initView = async () => {\n this.updateView(View.Map)\n this.isMapOn = false\n if (this.isWidthSM()) {\n this.viewport.zoom = 2\n }\n if (this.locationFilter) {\n this.updateViewport()\n this.refreshMap()\n } else {\n this.refreshMap()\n await this.searchProfiles()\n }\n\n // Wait for map to load\n // TODO: Investigate other options based on map loading status\n setTimeout(() => {this.isMapOn = true}, 500)\n }\n\n when(\n // once\n () => !userStore!.isLoading \n && !jobStore!.isLoading \n && !resourceCache?.isLoading,\n // then \n async () => {\n this.isLoading = true\n progress!.show(\"CandidatesPage\")\n await initFilters() \n await initView() \n this.isLoading = false\n progress!.hide(\"CandidatesPage\")\n }\n )\n\n when(\n () => userStore!.isAuthenticated === true,\n async () => {\n this.isLoading = true\n progress!.show(\"CandidatesPage\")\n await initFilters() \n if (this.profile) {\n await this.onClickProfile(this.profile)\n }\n this.isLoading = false\n progress!.hide(\"CandidatesPage\")\n }\n )\n }\n\n componentDidUpdate(prevProps: any) {\n if (prevProps.width !== this.props.width) {\n if (isWidthDown('xs', this.props.width)) {\n this.isCardspaceOn = !this.isMapOn\n } else {\n this.isCardspaceOn = true\n }\n }\n }\n\n render() {\n const { classes, embed } = this.props\n\n const title = \"Find Talent\"\n\n const cardspaceClassName = embed ? classes.cardspaceEmbed : classes.cardspace\n const mapClassName = embed ? classes.mapEmbed : classes.map\n const mapHeight = embed ? \"calc(100vh - 184px)\" : undefined\n\n const content =\n \n {!embed &&\n
\n \n \n \n Find Talent\n \n \n \n \n Search for candidates available for positions by job title and/or location.\n \n \n \n
\n }\n\n {this.renderFilterBar()}\n\n
\n {this.isCardspaceOn &&\n
\n {this.showResults === true &&\n {\n const isSaved = this.isProfileSaved(row.id)\n return (\n \n )\n }\n }}\n />\n }\n {this.showResults === false &&\n \n \n {this.showJobPostFilter ? \"Select a Job Post or Job Title to view candidates\" :\n \"Select a Job Title to view candidates\"}\n\n \n \n }\n
\n }\n {this.profile &&\n
\n {this.renderProfile()}\n
\n }\n {this.isMapOn &&\n
\n \n
\n }\n
\n
\n\n if (this.props.embed) {\n return (content)\n } else {\n return (\n \n {this.isLoading ? null : content}\n \n )\n }\n }\n\n renderFilterBar = () => {\n const {classes, userStore} = this.props\n\n const buttons: ReactElement[] = []\n buttons.push(\n \n {this.isCardspaceOn &&\n \n   {this.isMapOn ? \"Hide Map\" : \"Show Map\"}\n \n }\n {!this.isCardspaceOn &&\n   Show List\n }\n \n )\n\n return (\n \n \n {userStore!.isAdminOrAgent && this.showAccountFilter &&\n \n }\n {(userStore!.isEmployer || userStore!.isAdminOrAgent) && this.showJobPostFilter &&\n \n }\n {this.showServiceFilter &&\n \n }\n \n {this.showSecurityClearanceFilter &&\n \n }\n {this.showCertificationFilter &&\n \n }\n {/*
*/}\n {/*
*/}\n {/* */}\n {/* 0}>*/}\n {/* Available Date*/}\n {/* */}\n {/* */}\n {/* */}\n {/*
*/}\n {/*
*/}\n\n \n
\n )\n }\n\n renderProfile = () => {\n const { jobStore, userStore } = this.props\n\n if (!this.profile) {\n return null\n }\n\n const profile = this.profile\n\n let jobCandidate\n if (this.jobPostFilter) {\n jobCandidate = this.jobPostFilter.jobCandidates.find((jc: JobCandidate) => jc.profileId === profile.id)\n }\n\n return (\n \n \n { userStore!.isAuthenticated && \n {\n if (this.jobPostFilter) {\n const jobCandidates = await jobStore!.listJobCandidatesByJobPost(this.jobPostFilter.id)\n if (jobCandidates && jobCandidates.length > 0) {\n // this.profileIsSaved = jobCandidates.findIndex((jc: JobCandidate) => jc.profileId === profile.id) >= 0\n this.jobPostFilter.jobCandidates = jobCandidates\n \n this.onClickProfile(profile)\n }\n }\n }}\n onCreateJobCandidate={async (newJobCandidate: JobCandidate) => {\n if (this.jobPostFilter) {\n this.jobPostFilter.jobCandidates.push(newJobCandidate)\n \n // TODO: Find a better way to refresh?\n this.onClickProfile(profile)\n \n // const jobCandidates = this.jobPostFilter.jobCandidates\n // jobCandidates.push(newJobCandidate)\n // this.jobPostFilter.jobCandidates = jobCandidates\n }\n }}\n />\n }\n \n \n \n )\n }\n\n onSelectAccount = (account?: Account): void => {\n\n if (account) {\n this.accountFilter = account\n this.jobPostFilter = undefined\n this.jobPostOptions = []\n this.loadJobPostOptions(account.id)\n this.serviceFilter = undefined\n this.locationFilter = undefined\n } else {\n this.accountFilter = undefined\n this.jobPostFilter = undefined\n this.jobPostOptions = []\n this.serviceFilter = undefined\n this.locationFilter = undefined\n }\n this.searchProfiles()\n }\n\n onSelectJobPost = async (value?: JobPost) => {\n const { jobStore, resourceCache } = this.props\n\n if (value) {\n const jobPost = value as JobPost\n // Load JobCandidates\n if (jobPost.jobCandidates.length === 0) {\n jobPost.jobCandidates = await jobStore!.listJobCandidatesByJobPost(jobPost.id)\n }\n // if (this.profile && jobPost.jobCandidates.length > 0) {\n // this.profileIsSaved = jobPost.jobCandidates.findIndex((jc: JobCandidate) => jc.profileId === this.profile!.id) >= 0\n // } else {\n // this.profileIsSaved = false\n // }\n this.jobPostFilter = jobPost\n this.serviceFilter = resourceCache!.getServiceOption(jobPost.serviceId)\n this.locationFilter = resourceCache!.getLocationOption(jobPost.locationId)\n this.updateViewport()\n this.refreshMap()\n } else {\n this.jobPostFilter = undefined\n this.serviceFilter = undefined\n this.locationFilter = undefined\n // this.profileIsSaved = false\n }\n this.refreshMap()\n }\n\n onSelectService = (value?: ServiceOption) => {\n if (value) {\n this.serviceFilter = value\n } else {\n this.serviceFilter = undefined\n }\n if (this.profile) {\n this.updateView(View.Map)\n }\n this.refreshMap()\n }\n\n refreshMap = () => {\n if (this.bounds) {\n this.onViewportChange(this.viewport, this.bounds)\n }\n }\n\n // onChangeAvailableDate = (value: Date) => {\n // if (value) {\n // this.availableFilter = format(value, \"M/d/yyyy\")\n // } else {\n // this.availableFilter = \"\"\n // }\n // this.refreshMap()\n // }\n\n onSelectLocation = (value?: LocationOption) => {\n // Temporarily hide the map to force a call to onViewportChange\n this.isMapOn = false\n\n if (value) {\n this.locationFilter = value\n this.updateViewport()\n } else {\n this.locationFilter = undefined\n }\n\n this.profiles = []\n this.searchProfiles()\n // TODO: Investigate other options based on map loading status\n setTimeout(() => {this.isMapOn = true}, 200)\n }\n\n onSelectSecurityClearance = (value?: string) => {\n this.securityClearanceFilter = value ?? undefined\n if (this.profile) {\n this.updateView(View.Map)\n }\n this.refreshMap()\n }\n\n onSelectCertificationType = (value?: string) => {\n this.certificationFilter = value ?? undefined\n if (this.profile) {\n this.updateView(View.Map)\n }\n this.refreshMap()\n }\n\n onAddJobPost = () => {\n ControlTower.route(Routes.jobPostCreate)\n }\n\n onSelectMap = () => {\n if (this.profile && this.isWidthSM()) {\n this.updateView(View.List)\n } else {\n this.updateView((this.isMapOn) ? View.List : View.Map)\n }\n }\n\n onViewportChange = async (viewport: any, bounds: LngLatBounds) => {\n const { profileStore, resourceCache } = this.props\n // console.debug(`onViewportChange: (${JSON.stringify(viewport)}) (${JSON.stringify(bounds)})`)\n\n this.viewport = viewport\n this.bounds = bounds\n\n if (!this.isMapOn) {\n // Wait until map is on to search\n return\n }\n\n // Disabled to allow viewing all pins\n if (!this.serviceFilter) {\n this.locationProfiles = []\n this.showResults = false\n return\n }\n\n const serviceId = this.serviceFilter?.id\n // A serviceId is required to search\n if (!serviceId) {\n this.locationProfiles = []\n this.searchProfiles()\n return\n }\n\n let stateSearch\n let countrySearch\n let anywhereSearch\n let remoteSearch\n if (this.locationFilter) {\n const location = resourceCache!.getLocation(this.locationFilter.id)\n if (location?.addressType === AddressType.State) {\n stateSearch = location.state\n } else if (location?.addressType === AddressType.Country) {\n countrySearch = location.country\n } else if (location?.addressType === AddressType.World) {\n if (location.name === 'Remote') {\n remoteSearch = true\n } else {\n anywhereSearch = true\n }\n }\n }\n\n let locationProfiles\n let options: IProfileSearchOptions = {\n industry: this.industryFilter,\n workSetting: remoteSearch ? WorkSetting.Remote : undefined,\n certificationType: this.certificationFilter ?? undefined,\n securityClearance: this.securityClearanceFilter ?? undefined\n }\n if (stateSearch) {\n locationProfiles = await profileStore!.listLocationProfilesByState(stateSearch, serviceId)\n } else if (countrySearch) {\n locationProfiles = await profileStore!.listLocationProfilesByCountry(countrySearch, serviceId)\n } else if (anywhereSearch || remoteSearch) {\n locationProfiles = await profileStore!.listLocationProfilesByService(serviceId, options)\n } else {\n locationProfiles = await profileStore!.listLocationProfilesByBounds(bounds, serviceId, options)\n }\n\n if (this.locationFilter) {\n // Make sure what is currently selected in the location filter is in the search results\n const found = locationProfiles.find((item: LocationProfiles) => item.location.id === this.locationFilter!.id)\n if (!found) {\n let profiles: Profile[]\n profiles = await profileStore!.findProfilesByServiceAndLocation(serviceId, this.locationFilter.id)\n\n const location = resourceCache!.getLocation(this.locationFilter.id)\n if (location) {\n locationProfiles.push(new LocationProfiles(location!, profiles))\n }\n }\n }\n this.locationProfiles = locationProfiles\n\n this.searchProfiles()\n }\n\n isWidthXS = (): boolean => {\n return isWidthDown('xs', this.props.width)\n }\n\n isWidthSM = (): boolean => {\n return isWidthDown('sm', this.props.width)\n }\n\n onClickLocation = (locationId?: string) => {\n const { resourceCache } = this.props\n\n if (locationId && (!this.locationFilter || this.locationFilter!.id !== locationId)) {\n this.locationFilter = resourceCache!.getLocationOption(locationId)\n if (this.isWidthSM()) {\n this.updateView(View.List)\n }\n } else {\n this.locationFilter = undefined\n }\n this.searchProfiles()\n }\n\n updateViewport = () => {\n const { resourceCache } = this.props\n\n if (this.locationFilter) {\n const location = resourceCache!.getLocation(this.locationFilter!.id)\n if (location) {\n this.viewport.latitude = location.latitude\n this.viewport.longitude = location.longitude\n let zoom = 8\n switch (location.addressType) {\n case AddressType.World:\n zoom = 1\n break;\n case AddressType.Country:\n zoom = 3\n break\n case AddressType.State:\n zoom = 5\n break\n case AddressType.County:\n zoom = 7\n break\n case AddressType.City:\n zoom = 8\n break\n default:\n zoom = 9\n break\n }\n this.viewport.zoom = zoom\n }\n }\n }\n\n updateView = (view: View) => {\n if (this.isWidthSM()) {\n if (view === View.Map) {\n this.isCardspaceOn = false\n this.profile = undefined\n this.isMapOn = true\n } else if (view === View.List) {\n this.isMapOn = false\n this.profile = undefined\n this.isCardspaceOn = true\n } else if (view === View.Profile) {\n this.isMapOn = false\n this.isCardspaceOn = false\n }\n } else {\n if (view === View.Map) {\n this.isCardspaceOn = true\n this.profile = undefined\n this.isMapOn = true\n } else if (view === View.List) {\n this.profile = undefined\n this.isMapOn = false\n this.isCardspaceOn = true\n } else if (view === View.Profile) {\n this.isMapOn = false\n this.isCardspaceOn = true\n }\n }\n this.view = view\n }\n\n onClickProfile = async (profile: Profile) => {\n const { profileStore, jobStore, userStore, progress } = this.props\n progress!.show(\"getProfile\")\n this.profile = undefined\n this.profile = await profileStore!.getProfile(profile.id)\n // this.profileIsSaved = false\n\n if (this.profile) {\n this.updateView(View.Profile)\n\n // Check if already saved to current position\n if (this.jobPostFilter) {\n const jobCandidates = await jobStore!.listJobCandidatesByJobPost(this.jobPostFilter.id)\n if (jobCandidates && jobCandidates.length > 0) {\n // this.profileIsSaved = jobCandidates.findIndex((jc: JobCandidate) => jc.profileId === profile.id) >= 0\n this.jobPostFilter.jobCandidates = jobCandidates\n }\n }\n\n if (userStore!.isEmployer) {\n userStore!.logUserActivity(this.profile.userId, SubjectType.Profile, this.profile.id, ActivityType.ProfileViewed,\n `${userStore!.user!.fullName} viewed the profile for '${this.profile.name}'`)\n }\n }\n\n progress!.hide(\"getProfile\")\n }\n\n onChangeProfile = async (profile: Profile) => {\n if (profile) {\n // Update saved indicator\n if (this.jobPostFilter) {\n await this.onClickProfile(profile)\n await this.searchProfiles()\n this.profile = profile\n }\n }\n }\n\n searchProfiles = async () => {\n Logger.debug('CandidatesPage.searchProfiles')\n this.profile = undefined\n this.showResults = false\n\n let locationId = (this.locationFilter) ? this.locationFilter.id : \"\"\n\n let profiles: Profile[] = []\n\n if (this.locationProfiles) {\n if (locationId) {\n const found = this.locationProfiles.find((item: LocationProfiles) => item.location.id === locationId)\n if (found) {\n profiles = found.profiles\n this.showResults = true\n }\n }\n\n if (profiles.length === 0) {\n // Get all unique profiles\n const profileMap = new Map()\n this.locationProfiles.forEach((lp: LocationProfiles) => {\n lp.profiles.forEach((profile: Profile) => {\n profileMap.set(profile.id, profile)\n })\n })\n profileMap.forEach((value: Profile, key: string) => {\n profiles.push(value)\n })\n this.showResults = true\n }\n }\n\n // Sort by experience then name?\n profiles.sort((a: Profile, b: Profile) => {\n if (a.federalExperience !== b.federalExperience) {\n return b.federalExperience - a.federalExperience\n } else if (a.totalExperience !== b.totalExperience) {\n return b.totalExperience - a.totalExperience\n } else {\n return a.name.localeCompare(b.name)\n }\n })\n\n this.profiles = profiles\n }\n\n isProfileSaved = (profileId: string) => {\n if (this.jobPostFilter) {\n const jobCandidate = this.jobPostFilter.jobCandidates.find((jc: JobCandidate) => jc.profileId === profileId)\n if (jobCandidate) {\n return true\n }\n }\n return false\n }\n\n loadJobPostOptions = async (accountId?: string) => {\n const { accountStore, jobStore, userStore } = this.props\n\n if (!userStore!.isEmployer && !userStore!.isAdminOrAgent) {\n return\n }\n\n if (!accountId) {\n if (!accountStore!.account) {\n return\n }\n accountId = accountStore!.account!.id\n }\n\n const contracts = await jobStore!.listContractsByAccount(accountId)\n\n if (contracts) {\n const jobPosts: JobPost[] = []\n contracts.forEach((contract: Contract) => {\n contract.jobPosts.forEach((jobPost: JobPost) => {\n jobPost.contract = contract\n jobPosts.push(jobPost)\n })\n })\n\n this.jobPostOptions = jobPosts\n }\n }\n\n findJobPostOptions = (jobPostId: string) => {\n return this.jobPostOptions.find((jobPost: JobPost) => jobPost.id === jobPostId)\n }\n\n loadAccounts = async () => {\n const { userStore, accountStore } = this.props\n\n if (!userStore!.isAdminOrAgent) {\n return\n }\n\n const accounts = await accountStore!.listAccounts()\n if (accounts) {\n accounts.sort((a: Account, b: Account) => a.name.localeCompare(b.name))\n this.accounts = accounts\n }\n }\n\n findAccount = (accountId: string) => {\n return this.accounts.find((account: Account) => account.id === accountId)\n }\n\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(CandidatesPage)))\n","import * as React from \"react\";\nimport {\n Box,\n createStyles,\n Dialog,\n DialogActions,\n DialogContent,\n DialogContentText,\n DialogTitle,\n FormGroup,\n Grid,\n InputAdornment,\n Theme,\n withStyles,\n WithStyles,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport { durationBetweenISODates, getISODateFromDateString, isoToLocalDateString } from \"../../stores/StoreUtilities\";\nimport Contract from \"../../model/Contract\";\nimport ResourceCache from \"../../stores/ResourceCache\";\nimport FormValidator from \"../../components/form/FormValidator\";\nimport TextFieldValidator from \"../../components/form/TextFieldValidator\";\nimport DatePickerValidator from \"../../components/form/DatePickerValidator\";\nimport FormGroupSpacer from \"../../components/form/FormGroupSpacer\";\nimport DialogButton from \"../../components/form/DialogButton\";\nimport ProgressButton from \"../../components/form/ProgressButton\";\nimport { makeObservable, observable } from \"mobx\";\nimport Confirm from \"../../components/confirm/Confirm\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport Logger from \"../../components/Logger\";\nimport { CreateContractInput, SubjectType, UpdateContractInput } from \"../../API\";\nimport { inject, observer } from \"mobx-react\";\nimport Progress from \"../../components/Progress\";\nimport Account from \"../../model/Account\";\nimport {LocationOption} from \"../../stores/ResourceCache\";\nimport CancelButton from \"../../components/form/CancelButton\";\nimport UserStore from \"../../stores/UserStore\";\nimport { ActivityType } from \"../../model/UserActivity\";\nimport PlaceFilter from \"../../components/filter/PlaceFilter\";\nimport JobStore from \"../../stores/JobStore\";\nimport Stack from \"../../components/Stack\";\n\nconst styles = (theme: Theme) => createStyles({\n progressButton: {\n minWidth: 80\n }\n})\n\nexport class ContractViewModel {\n @observable id: string\n @observable accountId: string\n @observable account?: Account \n @observable name: string\n @observable number: string\n @observable locationId: string\n @observable locationOption?: LocationOption\n @observable startDate: string\n @observable endDate: string\n @observable duration: string\n @observable perDiem: string\n @observable isActive: boolean\n @observable isExpanded: boolean = false\n @observable value: string \n @observable category: string \n\n constructor(contract: Contract) {\n makeObservable(this)\n this.id = contract.id\n this.accountId = contract.accountId\n this.account = undefined\n this.name = contract.name\n this.number = contract.number\n this.locationId = contract.locationId\n this.locationOption = undefined\n this.startDate = isoToLocalDateString(contract.startDate)\n this.endDate = isoToLocalDateString(contract.endDate)\n this.duration = (contract.startDate && contract.endDate) ? durationBetweenISODates(contract.startDate, contract.endDate) : ''\n this.perDiem = contract.perDiem ? contract.perDiem.toString() : ''\n this.isActive = contract.isActive()\n this.value = contract.value \n this.category = contract.category \n }\n}\n\nexport interface IContractFormDelegate {\n didCreate(contract: Contract): Promise\n didDelete(contract: Contract): void \n didEdit(contract: Contract): void \n didClose(): void \n}\n\ninterface IContractFormProps extends IContractFormDelegate {\n accounts?: Account[]\n contract?: Contract\n isFormOpen: boolean\n\n accountStore?: AccountStore\n jobStore?: JobStore\n confirm?: Confirm\n progress?: Progress\n resourceCache?: ResourceCache\n userStore?: UserStore\n}\n\n@inject(\"accountStore\", \"jobStore\", \"resourceCache\", \"progress\", \"confirm\", \"userStore\")\n@observer\nclass ContractForm extends React.Component & IContractFormProps & WithWidth> {\n @observable isProcessing = false\n @observable viewModel?: ContractViewModel\n @observable message = \"\"\n\n constructor(props: any) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount() {\n const { accounts, contract, resourceCache } = this.props\n if (contract) {\n this.viewModel = new ContractViewModel(contract)\n this.viewModel.locationOption = resourceCache!.getLocationOption(this.viewModel.locationId)\n if (accounts) {\n this.viewModel.account = accounts.find(account => account.id === contract.accountId)\n } \n } else {\n this.viewModel = undefined\n }\n }\n\n componentDidUpdate(prevProps: any) {\n if (prevProps.contract !== this.props.contract) {\n this.componentDidMount()\n }\n }\n\n render() {\n const { accounts, classes } = this.props\n\n if (this.viewModel === undefined) {\n return null\n }\n\n const viewModel = this.viewModel\n\n return (\n \n \n Job Group (Contract or Project)\n \n \n Job Groups are used to group related job posts by job type, location, division, department, contract, project, etc.\n \n \n { accounts ? \n option?.name,\n getOptionSelected: (option: Account, value: Account) => option.id === value.id,\n onChange: (event: any, value: Account, reason: any) => {\n if (value) {\n viewModel.account = value\n viewModel.accountId = value.id\n } else {\n viewModel.account = undefined\n viewModel.accountId = ''\n }\n }\n }}\n />\n : null}\n \n {/**/}\n {/*

Optional Details

*/}\n ) => {\n // event.target.name\n const value = event.target.value \n this.viewModel!.category = value \n }}\n fullWidth\n />\n ) => {\n // event.target.name\n const value = event.target.value \n this.viewModel!.value = value \n }}\n fullWidth\n InputProps={{\n startAdornment: $\n }}\n />\n {\n if (value) {\n viewModel.locationOption = value\n viewModel.locationId = value.id\n } else {\n viewModel.locationOption = undefined\n viewModel.locationId = ''\n }\n }}\n />\n \n \n \n \n \n \n \n {/**/}\n
\n \n \n {this.message}\n \n \n
\n \n \n \n {\n const content = 'Do you want to delete this job group? (This will delete all job posts in this group cannot be undone.)'\n this.props.confirm!.show('Delete', content, ['Delete', 'Cancel'], () => {\n this.handleDeleteContract()\n return true\n })\n }}>\n Delete\n \n \n \n \n \n \n \n \n \n Save\n \n \n \n \n \n \n
\n \n )\n }\n\n handleChangeContractFormField = (event: React.ChangeEvent) => {\n const name = event.target.name\n this.viewModel![name] = event.target.value\n }\n\n handleDeleteContract = async () => {\n const { jobStore, didDelete, progress, userStore } = this.props\n\n this.isProcessing = true \n progress!.show('ContractForm')\n this.message = \"\"\n const contractViewModel = this.viewModel!\n\n try {\n let contract = await jobStore!.getContract(contractViewModel.id)\n const promises = contract!.jobPosts.map(jobPost => {\n return jobStore!.deleteJobPost(jobPost.id, userStore!)\n })\n await Promise.all(promises)\n \n await jobStore!.deleteContract(contractViewModel.id)\n\n userStore!.logUserActivity(userStore!.user!.id, SubjectType.Contract, contractViewModel.id, ActivityType.ContractDeleted,\n `${userStore!.user!.fullName} deleted the job group '${contractViewModel.name}'`)\n \n contract!.jobPosts.forEach(jobPost => {\n userStore!.logUserActivity(userStore!.user!.id, SubjectType.JobPost, jobPost.id, ActivityType.JobPostDeleted,\n `${userStore!.user!.fullName} deleted the job post '${jobPost.fullName}'`)\n })\n \n didDelete(contract!)\n this.handleCloseContractForm()\n } catch (error) {\n const message = 'Could not delete the job group.'\n Logger.error(message, error)\n this.message = message\n }\n this.isProcessing = false \n progress!.hide('ContractForm')\n }\n\n handleCloseContractForm = () => {\n this.message = \"\"\n this.props.didClose() \n }\n\n onSubmitContractForm = async () => {\n this.isProcessing = true \n this.props.progress!.show('ContractForm')\n this.message = \"\"\n\n const viewModel = this.viewModel!\n\n if (viewModel.id) {\n await this.editContract()\n } else {\n await this.createContract()\n }\n this.isProcessing = false \n this.props.progress!.hide('ContractForm')\n this.handleCloseContractForm()\n }\n\n editContract = async () => {\n const viewModel = this.viewModel!\n const input: UpdateContractInput = {\n id: viewModel.id, \n accountId: viewModel.accountId, \n name: viewModel.name,\n number: viewModel.number ?? null,\n locationId: viewModel.locationId ?? null,\n startDate: viewModel.startDate ? getISODateFromDateString(viewModel.startDate) : null,\n endDate: viewModel.endDate ? getISODateFromDateString(viewModel.endDate) : null,\n perDiem: viewModel.perDiem ? parseFloat(viewModel.perDiem) : null,\n value: viewModel.value ?? null,\n category: viewModel.category ?? null \n }\n let contract \n try {\n contract = await this.props.jobStore!.updateContract(input)\n if (contract) {\n this.props.didEdit(contract)\n } else {\n throw new Error('Unable to update job group record.')\n }\n } catch (error) {\n const message = 'Could not update the job group.'\n Logger.error(message, error)\n this.message = message\n return \n }\n }\n\n createContract = async () => {\n const { userStore } = this.props\n\n const viewModel = this.viewModel!\n const input: CreateContractInput = {\n accountId: viewModel.accountId, \n name: viewModel.name, \n number: viewModel.number ?? null,\n locationId: viewModel.locationId ?? null,\n startDate: viewModel.startDate ? getISODateFromDateString(viewModel.startDate) : null,\n endDate: viewModel.endDate ? getISODateFromDateString(viewModel.endDate) : null,\n perDiem: viewModel.perDiem ? parseFloat(viewModel.perDiem) : null,\n value: viewModel.value ?? null,\n category: viewModel.category ?? null \n }\n let contract \n try {\n contract = await this.props.jobStore!.createContract(input)\n if (contract) {\n userStore!.logUserActivity(userStore!.user!.id, SubjectType.Contract, contract.id, ActivityType.ContractAdded,\n `${userStore!.user!.fullName} created the job group '${contract.name}'`)\n \n await this.props.didCreate(contract)\n } else {\n throw new Error('Unable to create job group record.')\n }\n } catch (error) {\n const message = 'Could not create the job group.'\n Logger.error(message, error)\n this.message = message\n return \n }\n }\n}\n\nexport default withStyles(styles)(withWidth()(ContractForm))\n","import { createStyles, Theme, withStyles, WithStyles, withTheme, WithTheme } from '@material-ui/core/styles'\nimport { Button, Typography } from \"@material-ui/core\";\nimport React from \"react\";\nimport Tracking from \"../Tracking\";\nimport ArrowForwardIosIcon from '@material-ui/icons/ArrowForwardIos';\n\nconst styles = (theme: Theme) => createStyles({\n mainButton: {\n backgroundColor: theme.palette.secondary.main,\n },\n altButton: {\n backgroundColor: \"white\",\n },\n mainText: {\n color: \"white\",\n },\n altText: {\n color: theme.palette.secondary.main,\n },\n})\n\ninterface IActionButtonProps {\n text: string\n tracking: string\n click: Function\n expanded?: boolean\n color?: \"inherit\" | \"default\" | \"primary\" | \"secondary\"\n size?: \"small\" | \"medium\" | \"large\"\n variant?: 'text' | 'outlined' | 'contained'\n showFowardArrow?: boolean \n}\n\nclass ActionButton extends React.Component & WithTheme & IActionButtonProps> {\n render() {\n const { classes, text, tracking, click, color, expanded, size, variant, showFowardArrow } = this.props\n\n // const textSize = 'body1'\n // if (size) {\n // if (size === 'large') {\n\n // } else if (size === 'small') {\n\n // }\n // }\n return (\n : null }\n onClick={() => {\n Tracking.event({\n action: `${tracking}`,\n label: text\n })\n click()\n }}\n // className={color ? classes.altButton : classes.mainButton}\n >\n \n {text}\n \n \n )\n }\n}\n\nexport default withTheme((withStyles(styles)(ActionButton)))\n","import * as React from 'react'\nimport {inject, observer} from \"mobx-react\";\nimport {makeObservable, observable, when} from \"mobx\";\nimport {Box, createStyles, Grid, Theme, Typography} from \"@material-ui/core\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport {withStyles, WithStyles, withTheme, WithTheme} from \"@material-ui/core/styles\";\nimport {RouteComponentProps} from \"@reach/router\";\nimport Contract from '../../model/Contract';\nimport AddButton from '../../components/AddButton';\nimport UserStore from '../../stores/UserStore';\nimport Progress from '../../components/Progress';\nimport {durationBetweenISODates} from '../../stores/StoreUtilities';\nimport IconicButton from '../../components/controls/IconicButton';\nimport EditIcon from \"@material-ui/icons/Edit\";\nimport Confirm from '../../components/confirm/Confirm';\nimport JobPost from '../../model/JobPost';\nimport ContractForm from './ContractForm';\nimport JobCandidate from \"../../model/JobCandidate\";\n\nimport Notify from \"../../components/notify/Notify\";\nimport ControlTower, {Routes} from \"../../components/ControlTower\";\nimport Account from '../../model/Account'\nimport FilterBar from '../../components/filter/FilterBar';\nimport AccountFilter from '../../components/filter/AccountFilter';\nimport CardValue from '../../components/CardValue';\nimport ActionButton from '../../components/controls/ActionButton';\nimport JobStore from \"../../stores/JobStore\";\n\nconst styles = (theme: Theme) => createStyles({\n\n})\n\ninterface IContractsListProps {\n accountStore?: AccountStore\n jobStore?: JobStore\n userStore?: UserStore\n progress?: Progress\n confirm?: Confirm\n notify?: Notify\n}\n\n@inject(\"accountStore\", \"jobStore\", \"userStore\", \"progress\", \"confirm\", \"notify\")\n@observer\nclass ContractsList extends React.Component & RouteComponentProps & IContractsListProps & WithTheme> {\n @observable isLoading: boolean = true \n @observable isProcessing = false\n \n // Account \n @observable accounts: Account[] = []\n @observable accountFilter?: Account \n\n // Contracts\n @observable contracts: Contract[] = []\n @observable contract?: Contract\n @observable isContractJobListExpanded: Map = new Map()\n @observable isContractFormOpen: boolean = false \n \n // JobPosts\n @observable jobPost?: JobPost\n @observable isJobPostCandidateListExpanded: Map = new Map()\n @observable isJobPostFormOpen: boolean = false \n @observable isJobPostDescriptionExpanded: Map = new Map()\n @observable isJobPostDescriptionFormOpen: boolean = false\n\n // JobCandidates\n @observable jobCandidate?: JobCandidate\n @observable isJobCandidateInviteDialogOpen: boolean = false\n\n constructor(\n props: WithStyles & RouteComponentProps & IContractsListProps & WithTheme\n ) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount() {\n const { userStore, accountStore, progress } = this.props\n progress!.show('ContractsList')\n when(\n // once...\n () => userStore!.isLoading === false &&\n accountStore!.isLoading === false &&\n accountStore!.account !== undefined && \n userStore!.user !== undefined,\n // ... then\n async () => {\n // TODO: Handle deeplink into contracts for an account. \n // if (location && location.search) {\n // const searchParams = new URLSearchParams(location.search)\n // const accountId = searchParams.get(\"accountId\")\n // }\n await this.loadAccounts() \n await this.loadContracts() \n progress!.hide('ContractsList')\n this.isLoading = false \n }\n )\n }\n\n render() {\n const { userStore } = this.props \n\n if (this.isLoading === true) {\n return null \n }\n \n return (\n \n \n \n {this.renderFilterControlsArea()}\n \n \n \n { this.contracts.length === 0 ? \n this.renderInstructions()\n : this.renderContractsList() }\n \n \n \n {\n this.contract = undefined\n this.isContractFormOpen = false \n }}\n didCreate={async (contract: Contract) => {\n // Note that the add contract form has an account selection box (for an admin),\n // and that account could differ for the current account filter. \n if (this.accountFilter && this.accountFilter.id === contract.accountId) {\n this.contracts.push(contract)\n } else {\n await this.loadContracts()\n }\n }}\n didDelete={(contract: Contract) => {\n const index = this.contracts.findIndex(checkContract => checkContract.id === contract.id)\n this.contracts.splice(index, 1)\n }}\n didEdit={(contract: Contract) => {\n if (this.accountFilter && this.accountFilter.id === contract.accountId) {\n const index = this.contracts.findIndex(checkContract => checkContract.id === contract.id)\n if (index !== -1) {\n this.contracts[index] = contract\n }\n } else {\n this.loadContracts()\n }\n }}\n />\n \n )\n }\n\n renderFilterControlsArea = () => {\n const { userStore } = this.props\n return (\n \n ]}\n >\n { userStore!.user?.isAdminOrAgent ?\n {\n this.accountFilter = account\n this.loadContracts() \n }}\n /> \n : null }\n \n )\n }\n\n renderInstructions = () => {\n return (\n \n \n \n Enter and manage your contracts here. You can add a new contract by pressing the \"Add Contract\" button. After you enter details for a contract and save, you will be able to add a list of jobs associated with the contract.\n \n \n \n )\n }\n\n renderContractsList = () => {\n const contractList = this.contracts.map((contract: Contract, index: number, array: Contract[]) => {\n return (\n \n {this.renderContract(contract)}\n \n )\n })\n return contractList\n }\n\n renderContract = (contract: Contract) => {\n return (\n \n \n \n \n \n \n \n \n \n {contract.name} \n \n \n \n \n \n \n {contract.number}\n \n \n \n \n {contract.location?.name}\n \n \n \n \n {durationBetweenISODates(contract.startDate, contract.endDate)}\n \n \n \n \n \n {\n let searchParams = new URLSearchParams()\n searchParams.append('accountId', contract.accountId)\n searchParams.append('contractId', contract.id)\n ControlTower.route(`${Routes.manageJobs}?${searchParams.toString()}`)\n }}\n />\n \n \n \n \n this.handleEditContract(contract)}>\n \n \n \n \n \n \n \n \n )\n }\n\n // Loading\n\n loadAccounts = async () => {\n const { accountStore, userStore } = this.props \n\n if (userStore!.user?.isAdminOrAgent) {\n const accounts: Account[] = await accountStore!.listAccounts()\n const sorted = accounts.sort((a: Account, b: Account) => a.name.localeCompare(b.name))\n this.accounts = sorted \n } \n }\n\n loadContracts = async () => {\n const { jobStore, userStore } = this.props\n \n let accountFilter: Account \n if (userStore!.user?.isAdminOrAgent && this.accountFilter) {\n accountFilter = this.accountFilter\n } else if (userStore!.user?.account) {\n this.accountFilter = userStore!.user.account\n accountFilter = this.accountFilter\n }\n\n // TODO: Ability to filter on completed contracts. \n // let filter: APITypes.ModelContractFilterInput\n // if (contractStatus === 'Completed') {\n // filter = {\n // endDate: {lt: getISODateToday()}\n // }\n // } else {\n // filter = {\n // endDate: {ge: getISODateToday()}\n // }\n // }\n this.props.progress!.show(\"ContractList\")\n const promises: Promise[] = []\n const contracts = await jobStore!.listContractsByAccount(accountFilter!.id)\n // const contracts = await accountStore!.listContractsByAccount(accountId, filter)\n contracts.forEach(contract => {\n contract.jobPosts.forEach((jobPost: JobPost) => {\n promises.push(jobStore!.listJobCandidatesByJobPost(jobPost.id)\n .then((jobCandidates: void | JobCandidate[]) => {\n if (jobCandidates) {\n jobPost.jobCandidates = jobCandidates\n }\n })\n )\n })\n })\n\n await Promise.all(promises)\n this.contracts = contracts\n this.props.progress!.hide(\"ContractList\")\n }\n\n // Contracts Actions \n\n handleAddContract = () => {\n const { userStore } = this.props\n const accountId = this.accountFilter ? this.accountFilter!.id : userStore!.user!.accountId\n const contract = new Contract({\n accountId\n })\n this.contract = contract\n this.isContractFormOpen = true\n }\n\n handleEditContract = (contract: Contract) => {\n this.contract = contract\n this.isContractFormOpen = true \n }\n}\n\nexport default withTheme((withStyles(styles)(ContractsList)))\n\n\n","import * as React from 'react'\nimport Page from '../../components/page/Page'\nimport {Box, createStyles, Theme, Typography, withStyles, WithStyles, withTheme, WithTheme} from \"@material-ui/core\";\nimport {RouteComponentProps} from \"@reach/router\";\nimport MarginRow from \"../../components/page/MarginRow\";\nimport {inject, observer} from \"mobx-react\";\nimport UserStore from \"../../stores/UserStore\";\nimport { observable, when, makeObservable } from \"mobx\";\nimport Progress from \"../../components/Progress\";\nimport ControlTower, {Routes} from \"../../components/ControlTower\";\nimport ContractsList from './ContractsList';\n\nconst styles = (theme: Theme) => createStyles({\n root: {\n flexGrow: 1,\n width: \"100%\",\n justifyContent: 'top',\n alignItems: 'center',\n overflow: \"hidden\"\n },\n navigation: {\n },\n content: {\n overflow: \"hidden\"\n },\n tabs: {\n flexGrow: 1\n },\n tab: {\n fontSize: 15,\n fontWeight: 600,\n },\n hiddenTab: {\n display: \"none\"\n }\n})\n\ninterface IContractsPageProps {\n userStore?: UserStore\n progress?: Progress\n tab?: string\n}\n\n@inject(\"userStore\", \"progress\")\n@observer\nclass ContractsPage extends React.Component & RouteComponentProps & IContractsPageProps & WithTheme> {\n tabNames: string[] = [\"active\", \"completed\"]\n\n @observable isLoading = true\n\n constructor(\n props: WithStyles & RouteComponentProps & IContractsPageProps & WithTheme\n ) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount () {\n const { userStore, progress } = this.props\n\n this.isLoading = true\n progress!.show(\"ContractsPage\")\n when(\n // once\n () => userStore!.isLoading === false,\n // then \n () => {\n this.isLoading = false\n progress!.hide(\"ContractsPage\")\n }\n )\n }\n\n render() {\n const { classes } = this.props\n\n if (this.isLoading) {\n return null\n }\n\n const title = \"Job Groups\"\n\n const tabName = (this.props.tab !== undefined) ? this.props.tab : this.tabNames[0]\n let tabValue = this.tabNames.findIndex(name => tabName === name)\n if (tabValue < 0) {\n tabValue = 0\n }\n\n return (\n \n \n
\n \n \n {title}\n \n \n \n
\n
\n
\n )\n }\n\n handleChange = (event: any, value: any) => {\n // Navigate to tab to allow a direct url to each tab. \n const tabName = this.tabNames[value]\n ControlTower.route(`${Routes.jobGroups}/${tabName}`)\n }\n}\n\nexport default withTheme((withStyles(styles)(ContractsPage)))\n","import * as React from \"react\";\nimport {\n Box,\n DialogContentText,\n Grid,\n Paper,\n Typography\n} from \"@material-ui/core\";\nimport JobPost from \"../../model/JobPost\";\nimport ProfileStore from \"../../stores/ProfileStore\";\nimport FormValidator from \"../../components/form/FormValidator\";\nimport { makeObservable, observable, when } from \"mobx\";\nimport { UpdateJobPostInput } from \"../../API\";\nimport Logger from \"../Logger\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport Confirm from \"../confirm/Confirm\";\nimport { inject, observer } from \"mobx-react\";\nimport Progress from \"../Progress\";\nimport { Editor } from \"@tinymce/tinymce-react\";\nimport config from 'react-global-configuration';\nimport JobStore from \"../../stores/JobStore\";\nimport AppDialog from \"../dialog/AppDialog\";\nimport DialogButton from \"../form/DialogButton\";\n\nexport class JobPostDescriptionViewModel {\n @observable id: string\n @observable description: string\n\n constructor(jobPost: JobPost) {\n makeObservable(this)\n this.id = jobPost.id\n this.description = jobPost.description ?? ''\n }\n}\n\nexport interface IJobPostDescriptionFormDelegate {\n didEdit(jobPost: JobPost): void\n didClose(): void\n didCancel?(): void\n}\n\ninterface IJobPostDescriptionFormProps extends IJobPostDescriptionFormDelegate {\n jobPost: JobPost\n isFormOpen?: boolean\n renderAsDialog: boolean \n\n // Stores: \n accountStore?: AccountStore\n jobStore?: JobStore\n confirm?: Confirm\n progress?: Progress\n profileStore?: ProfileStore\n}\n\n@inject(\"accountStore\", \"jobStore\", \"profileStore\", \"progress\", \"confirm\")\n@observer\nclass JobPostDescriptionForm extends React.Component {\n @observable isProcessing = false\n @observable message = \"\"\n @observable description: string = ''\n @observable viewModel?: JobPostDescriptionViewModel\n\n constructor(props: any) {\n super(props)\n makeObservable(this)\n }\n\n componentDidMount() {\n when(\n // once...\n () => this.props.jobPost !== undefined,\n // ... then\n () => {\n this.viewModel = new JobPostDescriptionViewModel(this.props.jobPost!)\n this.description = this.props.jobPost!.description\n }\n )\n }\n\n componentDidUpdate(prevProps: any) {\n if (prevProps.jobPost !== this.props.jobPost) {\n if (this.props.jobPost) {\n this.viewModel = new JobPostDescriptionViewModel(this.props.jobPost!)\n this.description = this.props.jobPost!.description\n } else {\n this.viewModel = undefined\n this.description = ''\n }\n }\n }\n\n renderFormContent() {\n const viewModel = this.viewModel!\n\n const editorKey = config.get(\"tinymce.apiKey\")\n\n return (\n \n \n \n \n \n )\n }\n\n renderAsDialog() {\n const { isFormOpen } = this.props \n\n return (\n {\n this.handleCloseJobPostDescriptionForm()\n }} \n onSubmit={async () => {\n await this.onSubmitJobPostDescriptionForm()\n this.handleCloseJobPostDescriptionForm()\n }}\n >\n \n Edit the full job description.\n \n \n \n {this.message}\n \n \n {this.renderFormContent()}\n \n )\n }\n\n renderAsForm() {\n return (\n \n \n \n \n {this.message}\n \n \n {\n this.onSubmitJobPostDescriptionForm()\n }} \n autoComplete=\"off\" \n name=\"job-post-description-form\" \n id=\"job-post-description-form\"\n >\n {this.renderFormContent()}\n \n \n \n \n \n Cancel\n \n \n \n \n \n \n Skip for now\n \n \n \n \n \n Next \n \n \n \n \n \n \n \n )\n }\n\n render() {\n const { \n renderAsDialog\n } = this.props\n\n if (this.viewModel === undefined) {\n return null\n }\n\n return (\n \n { renderAsDialog ?\n this.renderAsDialog() \n :\n this.renderAsForm() \n }\n \n )\n }\n\n handleCancelJobPostDescriptionForm = () => {\n if (this.props.didCancel) {\n this.props.didCancel()\n }\n }\n\n handleCloseJobPostDescriptionForm = () => {\n this.message = \"\"\n this.props.didClose()\n }\n\n onEditorChange = (content: any, editor: any) => {\n // Logger.info(content, editor)\n this.description = content \n }\n\n handleChangeJobPostDescriptionFormField = (event: React.ChangeEvent) => {\n const name = event.target.name\n this.viewModel![name] = event.target.value\n }\n\n onSubmitJobPostDescriptionForm = async () => {\n this.isProcessing = true\n this.props.progress!.show('JobPostDescriptionForm')\n this.message = \"\"\n\n await this.saveJobPost()\n \n this.isProcessing = false\n this.props.progress!.hide('JobPostDescriptionForm')\n }\n\n saveJobPost = async () => {\n if (this.viewModel!.id) {\n const input: UpdateJobPostInput = {\n id: this.viewModel!.id,\n description: this.description\n }\n try {\n const jobPost = await this.props.jobStore!.updateJobPost(input)\n this.props.didEdit(jobPost!)\n } catch (error) {\n const message = 'Could not update the job post.'\n Logger.error(message, error)\n this.message = message\n return\n }\n } else {\n this.props.jobPost.description = this.description\n this.props.didEdit(this.props.jobPost)\n }\n }\n}\n\nexport default JobPostDescriptionForm\n","import * as React from \"react\";\nimport {\n Box,\n DialogContentText,\n Grid,\n Paper,\n Typography\n} from \"@material-ui/core\";\nimport JobPost from \"../../model/JobPost\";\nimport ProfileStore from \"../../stores/ProfileStore\";\nimport FormValidator from \"../../components/form/FormValidator\";\nimport { makeObservable, observable, when } from \"mobx\";\nimport {UpdateJobPostInput, WorkSetting} from \"../../API\";\nimport Logger from \"../Logger\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport Confirm from \"../confirm/Confirm\";\nimport { inject, observer } from \"mobx-react\";\nimport Progress from \"../Progress\";\nimport JobStore from \"../../stores/JobStore\";\nimport AppDialog from \"../dialog/AppDialog\";\nimport DialogButton from \"../form/DialogButton\";\nimport Question, {\n CertificationQuestion, EducationQuestion,\n ExperienceQuestion,\n LocationQuestion,\n QuestionType, SecurityClearanceQuestion, YesNoQuestion\n} from \"../../model/Question\";\nimport ExperienceQuestionCard from \"./screening/ExperienceQuestionCard\";\nimport LocationQuestionCard from \"./screening/LocationQuestionCard\";\nimport AddButton from \"../AddButton\";\nimport {humanizeString} from \"../../stores/StoreUtilities\";\nimport CertificationQuestionCard from \"./screening/CertificationQuestionCard\";\nimport EducationQuestionCard from \"./screening/EducationQuestionCard\";\nimport YesNoQuestionCard from \"./screening/YesNoQuestionCard\";\nimport SecurityClearanceQuestionCard from \"./screening/SecurityClearanceQuestionCard\";\nimport ResourceCache from \"../../stores/ResourceCache\";\n\nexport class JobPostQuestionsViewModel {\n @observable id: string\n @observable questions: Question[] = []\n @observable industry?: string\n\n constructor(jobPost: JobPost, resourceCache?: ResourceCache) {\n makeObservable(this)\n this.id = jobPost.id\n if (jobPost.questions.length > 0) {\n this.questions = jobPost.questions\n } else {\n this.questions = this.getDefaultQuestions(jobPost, resourceCache)\n }\n this.industry = jobPost.industries && jobPost.industries.length === 1 ? jobPost.industries[0] : undefined\n }\n\n getDefaultQuestions(jobPost: JobPost, resourceCache?: ResourceCache) {\n const questions: Question[] = [\n new ExperienceQuestion({\n type: QuestionType.ExperienceQuestion,\n name: humanizeString(QuestionType.ExperienceQuestion),\n enabled: false,\n required: false,\n minYears: 0,\n jobTitle: jobPost.service?.name ?? \"\"\n }),\n ]\n\n // if (jobPost.location && jobPost.location.name !== \"Anywhere\") {\n questions.push(new LocationQuestion({\n type: QuestionType.LocationQuestion,\n name: humanizeString(QuestionType.LocationQuestion),\n enabled: false,\n required: false,\n location: jobPost.locationDescription\n }))\n // }\n\n if (jobPost.securityClearance) {\n questions.push(new SecurityClearanceQuestion({\n type: QuestionType.SecurityClearanceQuestion,\n name: humanizeString(QuestionType.SecurityClearanceQuestion),\n enabled: false,\n required: false,\n clearance: jobPost.securityClearance\n }))\n }\n\n return questions\n }\n}\n\nexport interface IJobPostQuestionsFormDelegate {\n didEdit(jobPost: JobPost): void\n didClose(): void\n didCancel?(): void\n}\n\ninterface IJobPostQuestionsFormProps extends IJobPostQuestionsFormDelegate {\n jobPost: JobPost\n isFormOpen?: boolean\n renderAsDialog: boolean \n\n // Stores: \n accountStore?: AccountStore\n jobStore?: JobStore\n confirm?: Confirm\n progress?: Progress\n profileStore?: ProfileStore\n resourceCache?: ResourceCache\n}\n\n@inject(\"accountStore\", \"jobStore\", \"profileStore\", \"resourceCache\", \"progress\", \"confirm\")\n@observer\nclass JobPostQuestionsForm extends React.Component {\n @observable isProcessing = false\n @observable message = \"\"\n @observable questions: any = [\n\n ]\n @observable data: any = {}\n @observable viewModel?: JobPostQuestionsViewModel\n\n constructor(props: any) {\n super(props)\n makeObservable(this)\n }\n\n componentDidMount() {\n const { resourceCache } = this.props\n when(\n // once...\n () => this.props.jobPost !== undefined,\n // ... then\n () => {\n this.viewModel = new JobPostQuestionsViewModel(this.props.jobPost!, resourceCache)\n this.questions = this.props.jobPost!.questions\n }\n )\n }\n\n componentDidUpdate(prevProps: any) {\n const { resourceCache } = this.props\n if (prevProps.jobPost !== this.props.jobPost) {\n if (this.props.jobPost) {\n this.viewModel = new JobPostQuestionsViewModel(this.props.jobPost!, resourceCache)\n this.questions = this.props.jobPost!.questions\n } else {\n this.viewModel = undefined\n this.questions = {}\n }\n }\n }\n\n renderFormContent() {\n return (\n \n {this.renderQuestions()}\n \n )\n }\n\n renderQuestions() {\n const viewModel = this.viewModel!\n\n const cards: JSX.Element[] = []\n\n viewModel.questions.forEach((question: Question) => {\n let card\n switch (question.type) {\n case QuestionType.CertificationQuestion:\n card = \n break;\n case QuestionType.EducationQuestion:\n card = \n break;\n case QuestionType.ExperienceQuestion:\n card = \n break;\n case QuestionType.LocationQuestion:\n card = \n break;\n case QuestionType.YesNoQuestion:\n card = \n break;\n case QuestionType.SecurityClearanceQuestion:\n card = \n break;\n }\n if (card) {\n cards.push(card)\n }\n })\n\n return cards\n }\n\n handleQuestionChange = (question: Question) => {\n const index = this.viewModel!.questions.findIndex((q: Question) => q.name === question.name)\n if (index >= 0) {\n this.viewModel!.questions[index] = question\n } else {\n this.viewModel!.questions.push(question)\n }\n }\n\n onChange = (question: Question) => {\n this.viewModel!.questions[0] = question\n }\n\n renderAsDialog() {\n const { isFormOpen } = this.props \n\n return (\n {\n this.handleCloseJobPostQuestionsForm()\n }} \n onSubmit={async () => {\n await this.onSubmitJobPostQuestionsForm()\n this.handleCloseJobPostQuestionsForm()\n }}\n >\n \n Add screening questions for candidates applying to this job.\n \n \n \n {this.message}\n \n \n {this.renderFormContent()}\n humanizeString(option)}\n click={this.handleAddQuestion}\n />\n \n )\n }\n\n renderAsForm() {\n return (\n \n \n \n Add screening questions for candidates applying to this job.\n \n humanizeString(option)}\n click={this.handleAddQuestion}\n />\n \n \n {this.message}\n \n \n {\n this.onSubmitJobPostQuestionsForm()\n }}\n autoComplete=\"off\" \n name=\"job-post-description-form\" \n id=\"job-post-description-form\"\n >\n {this.renderFormContent()}\n \n \n \n \n \n Cancel\n \n \n \n \n \n \n Skip for now\n \n \n \n \n \n Next \n \n \n \n \n \n \n \n )\n }\n\n render() {\n const { \n renderAsDialog\n } = this.props\n\n if (this.viewModel === undefined) {\n return null\n }\n\n return (\n \n { renderAsDialog ?\n this.renderAsDialog() \n :\n this.renderAsForm() \n }\n \n )\n }\n\n handleCancelJobPostQuestionsForm = () => {\n if (this.props.didCancel) {\n this.props.didCancel()\n }\n }\n\n handleCloseJobPostQuestionsForm = () => {\n this.message = \"\"\n this.props.didClose()\n }\n\n handleAddQuestion = (option: string) => {\n const { jobPost } = this.props\n const matches = this.viewModel!.questions.filter((q: Question) => q.type === option)\n\n let question: Question | undefined\n switch (option) {\n case QuestionType.CertificationQuestion:\n question = new CertificationQuestion({\n type: option,\n name: humanizeString(option),\n enabled: false,\n required: false,\n certification: \"\",\n })\n break\n case QuestionType.EducationQuestion:\n question = new EducationQuestion({\n type: option,\n name: humanizeString(option),\n enabled: false,\n required: false,\n degree: \"\",\n })\n break\n case QuestionType.ExperienceQuestion:\n question = new ExperienceQuestion({\n type: option,\n name: humanizeString(option),\n enabled: false,\n required: false,\n minYears:0,\n jobTitle: jobPost.title\n })\n break\n case QuestionType.LocationQuestion:\n question = new LocationQuestion({\n type: option,\n name: humanizeString(option),\n enabled: false,\n required: false,\n location: jobPost.location && matches.length === 0 ? jobPost.location.name : \"\"\n })\n break\n case QuestionType.YesNoQuestion:\n question = new YesNoQuestion({\n type: option,\n name: humanizeString(option),\n enabled: false,\n required: false,\n question: \"\",\n label: \"\"\n })\n break\n case QuestionType.SecurityClearanceQuestion:\n question = new SecurityClearanceQuestion({\n type: option,\n name: humanizeString(option),\n enabled: false,\n required: false\n })\n break\n }\n\n if (question !== undefined) {\n // Add number to duplicate names\n if (matches.length > 0) {\n question.name = this.generateUniqueName(question.name, matches)\n }\n this.viewModel!.questions.push(question)\n }\n }\n\n generateUniqueName = (name: string, matches: Question[]) => {\n // Add a number to the name based on the highest existing question with the same base name\n // (e.g. Education Question 2)\n matches.sort((a: Question, b: Question) => a.name.localeCompare(b.name))\n const lastQuestion = matches[matches.length-1]\n const result = /([0-9]+)$/g.exec(lastQuestion.name)\n let newName\n if (result) {\n const lastNum = parseInt(result[0])\n newName = `${name} ${lastNum+1}`\n } else {\n newName = `${name} 2`\n }\n return newName\n }\n\n handleDeleteQuestion = (option: string) => {\n const index = this.viewModel!.questions.findIndex((q: Question) => q.name === option)\n if (index >= 0) {\n this.viewModel!.questions.splice(index, 1)\n }\n }\n\n onEditorChange = (content: any, editor: any) => {\n // Logger.info(content, editor)\n this.questions = content\n }\n\n handleChangeJobPostQuestionsFormField = (event: React.ChangeEvent) => {\n const name = event.target.name\n this.viewModel![name] = event.target.value\n }\n\n onSubmitJobPostQuestionsForm = async () => {\n this.isProcessing = true\n this.props.progress!.show('JobPostQuestionsForm')\n this.message = \"\"\n\n await this.saveJobPost()\n \n this.isProcessing = false\n this.props.progress!.hide('JobPostQuestionsForm')\n }\n\n saveJobPost = async () => {\n if (this.viewModel!.id) {\n const input: UpdateJobPostInput = {\n id: this.viewModel!.id,\n questions: JSON.stringify(this.viewModel!.questions)\n }\n try {\n const jobPost = await this.props.jobStore!.updateJobPost(input)\n this.props.didEdit(jobPost!)\n } catch (error) {\n const message = 'Could not update the job post.'\n Logger.error(message, error)\n this.message = message\n return\n }\n } else {\n this.props.jobPost.questions = this.viewModel!.questions\n this.props.didEdit(this.props.jobPost)\n }\n }\n}\n\nexport default JobPostQuestionsForm\n\n\n","import * as React from 'react';\nimport { createStyles, Theme, WithStyles, withStyles } from '@material-ui/core/styles'\nimport {Box, Checkbox, FormControlLabel, FormGroup, FormHelperText, Typography} from \"@material-ui/core\";\nimport {inject} from \"mobx-react\";\nimport {humanizeString} from \"../../stores/StoreUtilities\";\nimport {WorkSetting} from \"../../API\";\n\nconst styles = (theme: Theme) => createStyles({\n formGroup: {\n marginTop: 0,\n paddingTop: 0,\n marginBottom: 0,\n paddingBottom: 0\n },\n fieldLabel: {\n // fontSize: 12,\n // fontWeight: 400,\n // color: theme.palette.text.secondary,\n paddingTop: 0,\n paddingBottom: 0\n },\n helperText: {\n marginTop: 0 \n }\n})\n\n\ninterface IWorkSettingSelectorProps {\n value?: WorkSetting[]\n required?: boolean\n onChange?(value: string[]): any\n formvalidator?: any\n}\n\n@inject(\"formvalidator\")\nclass WorkSettingSelector extends React.Component & IWorkSettingSelectorProps>{\n\n state = {\n value: [] as string[],\n isValid: true,\n };\n\n componentDidMount() {\n const { value, formvalidator } = this.props\n if (formvalidator) {\n formvalidator.attachToForm(this)\n }\n this.setState({value: this.props.value ?? []})\n }\n\n componentDidUpdate(prevProps: any) {\n if (prevProps.value !== this.props.value) {\n this.setState({value: this.props.value ?? []})\n }\n }\n\n validate = (value: string): boolean => {\n const isRequired = this.props.required ?? false\n const isValid = !isRequired || (value.length > 0)\n this.setState({isValid})\n return isValid\n }\n\n render() {\n const { classes } = this.props\n\n const workSettings = Object.values(WorkSetting)\n const textColor = this.state.isValid === false ? \"error\" : undefined\n\n return (\n \n Work Setting Option(s)\n \n {workSettings.map((workSetting: string) => {\n const key = Object.keys(WorkSetting)[Object.values(WorkSetting).indexOf(workSetting as WorkSetting)]\n return (\n = 0}\n onClick={this.onClick}/>}\n />\n )\n })}\n \n \n {this.state.isValid ? \"\" : \"Required\"}\n \n \n )\n }\n\n onClick = (event: any) => {\n const {checked, value} = event.target\n let workSettings: string[] = [...this.state.value]\n if (checked) {\n workSettings.push(value)\n } else {\n workSettings.splice(workSettings.indexOf(value), 1)\n }\n const isValid = !this.props.required || workSettings.length > 0\n this.setState({value: workSettings, isValid})\n\n if (this.props.onChange) {\n this.props.onChange(workSettings)\n }\n }\n}\n\nexport default withStyles(styles)(WorkSettingSelector)","/* eslint-disable @typescript-eslint/no-unused-vars */\nimport * as React from \"react\";\nimport {\n Box,\n Checkbox,\n createStyles,\n DialogContentText,\n FormControlLabel,\n FormGroup,\n Grid,\n IconButton,\n InputAdornment,\n LinearProgress,\n Paper,\n Theme,\n Tooltip,\n Typography,\n withStyles,\n WithStyles,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport {\n DatePeriods,\n durationBetweenISODates,\n getErrorMessage,\n getISODateFromDateString,\n humanizeString,\n isoToLocalDateString,\n moneyToNumberFormat,\n numberToMoneyFormat,\n periodToISODate\n} from \"../../stores/StoreUtilities\";\nimport JobPost from \"../../model/JobPost\";\nimport FormValidator from \"../../components/form/FormValidator\";\nimport TextFieldValidator from \"../../components/form/TextFieldValidator\";\nimport DatePickerValidator from \"../../components/form/DatePickerValidator\";\nimport {makeObservable, observable} from \"mobx\";\nimport {\n AddressType,\n CreateJobPostInput,\n EmploymentType,\n JobPostStatus,\n JobPostType,\n SubjectType,\n UpdateJobPostInput,\n WorkSetting\n} from \"../../API\";\nimport Logger from \"../Logger\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport Confirm from \"../confirm/Confirm\";\nimport {inject, observer} from \"mobx-react\";\nimport Progress from \"../Progress\";\nimport Visible from \"../Visible\";\nimport Contract from \"../../model/Contract\";\nimport Account from \"../../model/Account\";\nimport AddButton from \"../AddButton\";\nimport ResourceCache, {LocationOption, ServiceOption} from \"../../stores/ResourceCache\";\nimport {ActivityType} from \"../../model/UserActivity\";\nimport UserStore from \"../../stores/UserStore\";\nimport PlaceFilter from \"../filter/PlaceFilter\";\nimport JobStore from \"../../stores/JobStore\";\nimport AppDialog from \"../dialog/AppDialog\";\nimport DialogButton from \"../form/DialogButton\";\nimport JobPostDescriptionForm from \"./JobPostDescriptionForm\";\nimport JobPostQuestionsForm from \"./JobPostQuestionsForm\";\nimport Question from \"../../model/Question\";\nimport CancelButton from \"../form/CancelButton\";\nimport ContractForm from \"../../pages/contracts/ContractForm\";\nimport FileCopyIcon from '@material-ui/icons/FileCopy';\nimport Notify from \"../notify/Notify\";\nimport AddIcon from \"@material-ui/icons/Add\";\nimport IndustrySelector from \"../form/IndustrySelector\";\nimport intersection from \"lodash.intersection\";\nimport ServiceFilter from \"../filter/ServiceFilter\";\nimport ServiceGroup from \"../../model/ServiceGroup\";\nimport WorkSettingSelector from \"../form/WorkSettingSelector\";\n\nconst styles = (theme: Theme) => createStyles({\n progressButton: {\n minWidth: 80\n },\n employmentType: {\n minWidth: 273\n },\n securityClearance: {\n\n },\n hiringDate: {\n minWidth: 273\n },\n formGroupRow: {\n display: \"flex\",\n justifyContent: \"space-between\",\n flexWrap: \"nowrap\",\n marginTop: theme.spacing(1)\n },\n copyIcon: {\n float: \"right\",\n padding: 0,\n color: theme.palette.secondary.main\n },\n formGroup: {\n marginBottom: 0,\n paddingBottom: 0\n },\n fieldLabel: {\n fontSize: 12,\n fontWeight: 400,\n color: theme.palette.text.secondary,\n paddingTop: theme.spacing(1),\n paddingBottom: 0\n },\n shaded: {\n backgroundColor: theme.palette.background.default\n },\n placeFilter: {\n flexGrow: 1,\n backgroundColor: theme.palette.background.default,\n borderRadius: 10\n }\n})\n\nexport class JobPostViewModel {\n @observable id: string \n @observable accountId: string\n @observable account?: Account\n @observable contractId: string\n @observable contract?: Contract \n @observable locationId: string\n @observable locationOption?: LocationOption\n @observable serviceId: string\n @observable serviceOption?: ServiceOption\n @observable serviceGroup?: ServiceGroup\n @observable industryOptions?: string[]\n @observable industries?: string[]\n @observable title: string\n @observable summary: string\n @observable description: string\n @observable hiringDate?: string\n @observable hiringPeriod: string | null \n @observable startDate: string\n @observable endDate: string\n @observable duration: string \n @observable openDate: string\n @observable closedDate: string\n @observable employmentType: EmploymentType\n @observable annualSalaryLow: string\n @observable status: JobPostStatus\n @observable annualSalaryHigh: string\n @observable isExpanded: boolean = false\n @observable openings: string\n @observable unlocksAvailable: string\n @observable questions: Question[]\n @observable securityClearance: string\n @observable workSettings?: WorkSetting[]\n\n constructor(jobPost: JobPost) {\n makeObservable(this)\n this.id = jobPost.id\n this.accountId = jobPost.accountId\n this.account = undefined\n this.contractId = jobPost.contractId\n this.contract = undefined \n this.locationId = jobPost.locationId\n this.locationOption = undefined\n this.serviceId = jobPost.serviceId\n this.serviceOption = undefined\n this.serviceGroup = undefined\n this.industryOptions = []\n this.industries = jobPost.industries ?? []\n this.title = jobPost.title\n this.summary = jobPost.summary ? jobPost.summary : ''\n this.description = jobPost.description ?? ''\n this.hiringDate = jobPost.hiringDate\n this.hiringPeriod = jobPost.hiringPeriod\n this.startDate = isoToLocalDateString(jobPost.startDate)\n this.endDate = isoToLocalDateString(jobPost.endDate) \n this.duration = (jobPost.startDate && jobPost.endDate) ? durationBetweenISODates(jobPost.startDate, jobPost.endDate) : ''\n this.openDate = isoToLocalDateString(jobPost.openDate)\n this.closedDate = isoToLocalDateString(jobPost.closedDate)\n this.employmentType = jobPost.employmentType\n this.annualSalaryLow = jobPost.annualSalaryLow ? numberToMoneyFormat(jobPost.annualSalaryLow, 0) : ''\n this.annualSalaryHigh = jobPost.annualSalaryHigh ? numberToMoneyFormat(jobPost.annualSalaryHigh, 0) : ''\n this.status = jobPost.status\n this.openings = String(jobPost.openings)\n this.unlocksAvailable = String(jobPost.unlocksAvailable ?? 0)\n this.questions = jobPost.questions ?? []\n this.securityClearance = jobPost.securityClearance\n this.workSettings = jobPost.workSettings ?? [WorkSetting.InPerson]\n }\n}\n\nexport enum JobPostFormCloseReason {\n SaveJobPost,\n CancelDialog,\n CancelForm,\n DeleteJobPost\n}\n\nexport interface IJobPostFormDelegate {\n didCreate(jobPost: JobPost): void \n didDelete(jobPost: JobPost): void \n didEdit(jobPost: JobPost): Promise \n didClose(reason: JobPostFormCloseReason): void\n}\n\ninterface IJobPostFormProps extends IJobPostFormDelegate {\n jobPost: JobPost\n isFormOpen?: boolean\n renderAsDialog: boolean \n \n // Stores: \n accountStore?: AccountStore\n jobStore?: JobStore\n userStore?: UserStore\n confirm?: Confirm\n notify?: Notify\n progress?: Progress\n resourceCache?: ResourceCache\n}\n\n@inject(\"accountStore\", \"jobStore\", \"userStore\", \"profileStore\", \"resourceCache\", \"progress\", \"confirm\", \"notify\")\n@observer\nclass JobPostForm extends React.Component & IJobPostFormProps & WithWidth> {\n @observable isLoading = true \n @observable isProcessing = false\n @observable accounts: Account[] = []\n @observable contracts: Contract[] = []\n @observable viewModel?: JobPostViewModel\n @observable message = \"\"\n @observable showJobPostDescriptionDialog = false\n @observable showJobPostQuestionsDialog = false\n @observable showContractForm = false \n @observable contract?: Contract\n @observable industryFilter?: string\n\n employmentTypes: EmploymentType[] = [EmploymentType.Contract, EmploymentType.FullTime, EmploymentType.PartTime, EmploymentType.Temporary, EmploymentType.Internship]\n\n constructor(props: WithStyles & IJobPostFormProps & WithWidth) {\n super(props);\n makeObservable(this);\n }\n\n async componentDidMount() {\n const { \n jobPost, \n resourceCache, \n } = this.props\n\n if (jobPost) {\n this.viewModel = new JobPostViewModel(jobPost)\n this.viewModel.locationOption = resourceCache!.getLocationOption(this.viewModel.locationId)\n this.viewModel.serviceOption = resourceCache!.getServiceOption(this.viewModel.serviceId)\n if (this.viewModel.serviceOption) {\n this.viewModel.serviceGroup = resourceCache!.getServiceGroupByName(this.viewModel.serviceOption.group)\n }\n this.handleChangeWorkSettings(this.viewModel.workSettings ?? [])\n\n // Accounts \n await this.loadAccounts() \n this.viewModel.account = this.accounts.find((a: Account) => a.id === this.viewModel!.accountId)\n if (this.viewModel.account) {\n if (this.viewModel.serviceOption) {\n this.viewModel.industryOptions = this.viewModel.serviceOption.industries\n } else {\n this.viewModel.industryOptions = this.viewModel.account.industries\n }\n this.handleChangeIndustries(this.viewModel.industries ?? [])\n }\n \n // Contracts \n await this.loadContracts(this.viewModel.accountId)\n \n // When editing an existing job post, the contract will have already been selected. \n if (this.viewModel.contractId) {\n this.viewModel.contract = this.contracts.find(contract => contract.id === this.viewModel!.contractId)\n }\n } else {\n this.viewModel = undefined\n }\n this.isLoading = false \n }\n\n componentDidUpdate(prevProps: any) {\n if (prevProps.jobPost.id !== this.props.jobPost.id) {\n this.isLoading = true\n this.componentDidMount()\n }\n }\n\n async loadAccounts() {\n const { accountStore, userStore } = this.props\n if (userStore!.user?.isAdminOrAgent) {\n const accounts: Account[] = await accountStore!.listAccounts();\n let filteredAccounts = accounts.filter((account) => {return account.industries.length > 0});\n const sorted = filteredAccounts.sort((a: Account, b: Account) => a.name.localeCompare(b.name))\n this.accounts = sorted \n } else if (accountStore!.account) {\n this.accounts = [accountStore!.account]\n } else if (userStore!.user?.account) {\n this.accounts = [userStore!.user?.account]\n }\n }\n\n async loadContracts(accountId: string) {\n const { jobStore } = this.props\n let contracts: Contract[]\n contracts = await jobStore!.listContractsByAccount(accountId)\n this.contracts = contracts.sort((a: Contract, b: Contract) => a.name.localeCompare(b.name))\n }\n\n renderFormContent() {\n const { \n classes, \n resourceCache, \n userStore,\n jobPost\n } = this.props\n\n const viewModel = this.viewModel!\n const isAdminOrAgent = userStore!.isAdminOrAgent\n let showJobCategory = false\n\n if (viewModel.serviceOption) {\n const service = resourceCache!.getService(viewModel.serviceOption.id)\n if (service && !service.active) {\n showJobCategory = true\n }\n }\n\n return (\n \n \n {isAdminOrAgent &&\n \n option?.name,\n getOptionSelected: (option: Account, value: Account) => option.id === value.id,\n onChange: this.handleChangeAccountSelection\n }}\n />\n \n }\n \n option?.name,\n getOptionSelected: (option: Contract, value: Contract) => option.id === value.id,\n onChange: this.handleChangeContractSelection\n }}\n InputProps={{\n endAdornment: \n {\n const account = viewModel.account!\n const contract = new Contract({\n accountId: account.id\n })\n this.contract = contract\n this.showContractForm = true\n }}>\n \n \n ,\n }}\n />\n \n \n \n \n \n \n \n {\n viewModel.securityClearance = value\n }\n }}\n />\n \n \n \n \n \n \n \n \n group?.name,\n getOptionSelected: (group: ServiceGroup, value: ServiceGroup) => group.name === value.name,\n onChange: (event: any, value: ServiceGroup, reason: any) => {\n if (value) {\n viewModel.serviceGroup = value\n const industries = intersection(value.industries, viewModel.account?.industries)\n viewModel.industryOptions = industries\n viewModel.industries = industries\n // Update temporary Service when the group is changed\n const service = resourceCache!.getService(viewModel.serviceId)\n if (service && service.active === false) {\n service.serviceGroupId = value.id\n service.serviceGroup = value\n service.industries = value.industries\n if (viewModel.serviceOption) {\n viewModel.serviceOption.group = value.name\n viewModel.serviceOption.industries = value.industries\n }\n }\n } else {\n viewModel.serviceGroup = undefined\n }\n }\n }}\n />\n \n \n \n \n \n \n \n \n {\n if (value) {\n viewModel.locationOption = value\n viewModel.locationId = value.id\n } else {\n viewModel.locationOption = undefined\n viewModel.locationId = ''\n }\n }}\n />\n \n \n \n \n option ? humanizeString(option) : null,\n value: viewModel.employmentType ?? null,\n onChange: (event: any, value: EmploymentType, reason: any) => {\n viewModel.employmentType = value\n }\n }}\n />\n \n \n \n \n \n \n \n \n \n \n \n \n {\n viewModel.hiringPeriod = value\n }\n }}\n />\n \n \n \n \n \n \n \n \n \n \n \n { viewModel.id &&\n \n \n \n \n \n \n \n \n \n \n \n }\n {/* { userStore?.isAdminOrAgent &&\n } */}\n {/* TODO: Hide number of openings for now. Circle back after MVP.\n \n \n */}\n \n )\n }\n\n renderOptionalButtons() {\n const viewModel = this.viewModel!\n\n return (\n \n \n \n this.showJobPostDescriptionDialog = true}\n />\n \n \n 0 ? \"outlined\" : \"contained\"}\n icon={viewModel.questions.length > 0 ? \"checkmark\" : \"add\"}\n buttonSize=\"small\"\n click={() => this.showJobPostQuestionsDialog = true}\n />\n \n {/* TODO: Implement add-on options for Job Post: \n \n { }}\n />\n */}\n \n\n \n )\n }\n\n renderAsDialog() {\n const { isFormOpen, userStore, classes } = this.props\n\n const isAdminOrAgent = userStore!.isAdminOrAgent\n\n return (\n {\n // Prevent closing on background click\n if (reason !== \"backdropClick\") {\n this.handleCloseJobPostForm(JobPostFormCloseReason.CancelDialog)\n }\n }}\n onSubmit={async () => {\n await this.onSubmitJobPostForm()\n }}\n secondaryLabel=\"Delete\"\n secondaryAction={async () => {\n const content = 'Do you want to delete this job post? (The operation cannot be undone.)'\n this.props.confirm!.show('Delete', content, ['Delete', 'Cancel'], async () => {\n await this.handleDeleteJobPost()\n return true \n })\n }}\n >\n \n Edit the information about your job post here.\n {isAdminOrAgent && this.viewModel?.id &&\n \n \n \n \n \n }\n \n \n \n {this.message}\n \n \n {this.renderFormContent()}\n {this.renderOptionalButtons()}\n \n )\n }\n\n renderAsForm() {\n return (\n \n \n { this.isLoading && \n \n }\n \n \n \n \n {this.message}\n \n \n {\n this.onSubmitJobPostForm()\n }} \n autoComplete=\"off\" \n name=\"job-post-form\" \n id=\"job-post-form\"\n density=\"normal\"\n >\n {this.renderFormContent()}\n \n \n \n this.handleCloseJobPostForm(JobPostFormCloseReason.CancelForm)}\n >\n Cancel\n \n \n \n \n Next \n \n \n \n \n \n \n \n )\n }\n\n render() {\n const { \n renderAsDialog\n } = this.props\n \n if (this.viewModel === undefined) {\n return null \n }\n\n return (\n \n { renderAsDialog ?\n this.renderAsDialog() \n :\n this.renderAsForm() \n }\n {this.showJobPostDescriptionDialog &&\n {\n this.showJobPostDescriptionDialog = false\n }}\n didEdit={(jobPost: JobPost) => {\n this.viewModel!.description = jobPost.description\n this.showJobPostDescriptionDialog = false\n }}\n />\n }\n {this.showJobPostQuestionsDialog &&\n {\n this.showJobPostQuestionsDialog = false\n }}\n didEdit={(jobPost: JobPost) => {\n this.viewModel!.questions = jobPost.questions\n this.showJobPostQuestionsDialog = false\n }}\n />\n }\n {this.showContractForm && \n {\n // this.stateService.send(ManageJobsActions.CLOSE) \n \n this.showContractForm = false \n }}\n didCreate={async (contract: Contract) => {\n // this.contracts.push(contract)\n // this.contract = contract \n this.isLoading = true \n await this.loadContracts(this.viewModel!.accountId)\n this.handleChangeContractSelection(undefined, contract, undefined)\n this.isLoading = false \n }}\n didDelete={(contract: Contract) => {\n const index = this.contracts.findIndex(checkContract => checkContract.id === contract.id)\n this.contracts.splice(index, 1)\n }}\n didEdit={(contract: Contract) => {\n const index = this.contracts.findIndex(checkContract => checkContract.id === contract.id)\n if (index !== -1) {\n this.contracts[index] = contract\n }\n }}\n />\n }\n \n )\n }\n\n handleCloseJobPostForm = (reason: JobPostFormCloseReason) => {\n this.message = \"\"\n this.props.didClose(reason)\n }\n\n handleCopy = () => {\n const { notify } = this.props\n this.viewModel!.id = \"\"\n this.viewModel!.hiringDate = undefined\n this.viewModel!.hiringPeriod = null \n notify!.show(\"success\", \"Job Post has been duplicated\")\n }\n\n handleChangeJobPostFormField = (event: React.ChangeEvent) => {\n const name = event.target.name\n this.viewModel![name] = event.target.value\n }\n\n handleChangeIndustries = (industries: string[]) => {\n this.viewModel!.industries =industries\n\n if (industries.length === 1) {\n this.industryFilter = industries[0]\n } else if (this.viewModel!.industryOptions?.length === 1) {\n this.industryFilter = this.viewModel!.industryOptions[0]\n } else {\n this.industryFilter = \"\"\n }\n }\n\n handleChangeWorkSettings = (workSettings: WorkSetting[]) => {\n const { jobStore } = this.props\n \n this.viewModel!.workSettings = workSettings\n \n const locationOption: LocationOption | null = jobStore!.getLocationOptionForWorkSettings(workSettings, this.viewModel!.locationId)\n if (locationOption) {\n this.viewModel!.locationId = locationOption.id\n this.viewModel!.locationOption = locationOption\n }\n }\n\n handleChangeAccountSelection = async (event: any, value: any, reason: any) => {\n const viewModel = this.viewModel!\n const account = value as Account\n viewModel.account = account\n if(account) {\n viewModel.accountId = account?.id\n viewModel.contract = undefined\n viewModel.contractId = ''\n if (viewModel.serviceOption) {\n viewModel.industryOptions = intersection(account.industries, viewModel.serviceOption.industries)\n if (viewModel.industryOptions.length === 0) {\n // No overlap of account and service industries\n viewModel.industryOptions = account.industries\n this.handleChangeIndustries(viewModel.industryOptions)\n viewModel.serviceOption = undefined\n } else {\n viewModel.industries = intersection(viewModel.industryOptions, viewModel.industries)\n }\n } else {\n viewModel.industryOptions = account.industries\n viewModel.industries = viewModel.industryOptions\n }\n await this.loadContracts(account?.id)\n } else {\n viewModel.industryOptions = [];\n viewModel.industries = viewModel.industryOptions\n }\n }\n\n handleChangeContractSelection = (event: any, value: any, reason: any) => {\n const { resourceCache } = this.props\n const viewModel = this.viewModel! \n const contract = value as Contract \n if (contract) {\n viewModel.contract = contract \n viewModel.contractId = contract.id\n \n // Populate job post fields with contract info \n if (contract.locationId) {\n viewModel.locationId = contract.locationId\n viewModel.locationOption = resourceCache!.getLocationOption(contract.locationId)\n }\n if (contract.startDate) {\n viewModel.startDate = isoToLocalDateString(contract.startDate)\n }\n if (contract.endDate) {\n viewModel.endDate = isoToLocalDateString(contract.endDate)\n }\n\n } else {\n viewModel.contract = undefined\n viewModel.contractId = ''\n }\n }\n\n handleSelectService = (value?: ServiceOption) => {\n const { resourceCache } = this.props\n const viewModel = this.viewModel!\n if (value) {\n viewModel.serviceOption = value\n viewModel.serviceId = value.id\n if (viewModel.serviceOption) {\n viewModel.serviceGroup = resourceCache!.getServiceGroupByName(viewModel.serviceOption.group)\n }\n const industries = intersection(value.industries, viewModel.account?.industries)\n viewModel.industryOptions = industries\n viewModel.industries = industries\n viewModel.title = value.name\n } else {\n viewModel.serviceOption = undefined\n viewModel.serviceGroup = undefined\n viewModel.serviceId = ''\n viewModel.industryOptions = viewModel.account?.industries\n // this.handleChangeIndustries([])\n }\n }\n\n handleDeleteJobPost = async () => {\n const { jobStore, didDelete, progress, userStore } = this.props\n\n this.isProcessing = true \n progress!.show('JobPostForm')\n this.message = \"\"\n try {\n if (this.viewModel!.id) {\n const jobPost = await jobStore!.deleteJobPost(this.viewModel!.id, userStore!)\n if (jobPost) {\n userStore!.logUserActivity(userStore!.user!.id, SubjectType.JobPost, this.viewModel!.id, ActivityType.JobPostDeleted,\n `${userStore!.user!.fullName} deleted the job post '${jobPost.fullName}'`)\n }\n await didDelete(jobPost!)\n }\n this.handleCloseJobPostForm(JobPostFormCloseReason.DeleteJobPost)\n } catch (error) {\n const message = 'Could not delete the job post.'\n Logger.error(message, error)\n this.message = message\n }\n this.isProcessing = false \n progress!.hide('JobPostForm')\n }\n\n\n onSubmitJobPostForm = async () => {\n this.isProcessing = true\n this.props.progress!.show('JobPostForm') \n this.message = \"\"\n\n let jobPost\n\n if (this.viewModel!.id) {\n jobPost = await this.editJobPost()\n } else {\n jobPost = await this.createJobPost()\n }\n if (jobPost) {\n this.isProcessing = false\n this.props.progress!.hide('JobPostForm')\n this.handleCloseJobPostForm(JobPostFormCloseReason.SaveJobPost)\n }\n }\n\n editJobPost = async () => {\n const { jobPost } = this.props\n const viewModel = this.viewModel!\n\n // let hiringDate\n // if ((!jobPost || jobPost.hiringDate === null || jobPost.hiringDate === undefined) && viewModel.hiringDate) {\n // hiringDate = periodToISODate(viewModel.hiringDate)\n // } else if (viewModel.hiringDate) {\n // hiringDate = getISODateFromDateString(viewModel.hiringDate)\n // } else {\n // hiringDate = null\n // }\n\n const input: UpdateJobPostInput = {\n id: viewModel.id, \n accountId: viewModel.accountId, \n contractId: viewModel.contractId,\n locationId: viewModel.locationId,\n serviceId: viewModel.serviceId,\n industries: viewModel.industries ?? [],\n securityClearance: viewModel.securityClearance,\n workSettings: viewModel.workSettings,\n title: viewModel.title,\n summary: viewModel.summary,\n description: viewModel.description,\n hiringDate: viewModel.hiringPeriod ? periodToISODate(viewModel.hiringPeriod) : null,\n startDate: viewModel.startDate ? getISODateFromDateString(viewModel.startDate) : null,\n endDate: viewModel.endDate ? getISODateFromDateString(viewModel.endDate) : null,\n openDate: viewModel.openDate ? getISODateFromDateString(viewModel.openDate) : null,\n closedDate: viewModel.closedDate ? getISODateFromDateString(viewModel.closedDate) : null,\n employmentType: viewModel.employmentType,\n annualSalaryLow: moneyToNumberFormat(viewModel.annualSalaryLow, 0),\n annualSalaryHigh: moneyToNumberFormat(viewModel.annualSalaryHigh, 0),\n openings: parseInt(viewModel.openings),\n unlocksAvailable: parseInt(viewModel.unlocksAvailable),\n questions: viewModel.questions.length > 0 ? JSON.stringify(viewModel.questions) : null\n }\n try {\n const jobPost = await this.props.jobStore!.updateJobPost(input)\n jobPost!.contract = this.contracts!.find(contract => contract.id === jobPost!.contractId)\n if (this.accounts) {\n jobPost!.account = this.accounts!.find(account => account.id === jobPost!.accountId)\n }\n await this.props.didEdit(jobPost!)\n return jobPost\n } catch (error) {\n const message = 'Could not update the job post.'\n Logger.error(message, error)\n this.message = message\n return \n }\n }\n\n createJobPost = async () => {\n const { userStore, renderAsDialog } = this.props\n const viewModel = this.viewModel!\n\n let status: JobPostStatus\n if (userStore!.isAdminOrAgent && renderAsDialog) {\n status = JobPostStatus.Draft\n } else {\n status = JobPostStatus.Cart\n }\n\n const input: CreateJobPostInput = {\n accountId: viewModel.accountId, \n contractId: viewModel.contractId,\n locationId: viewModel.locationId,\n serviceId: viewModel.serviceId,\n industries: viewModel.industries,\n securityClearance: viewModel.securityClearance,\n workSettings: viewModel.workSettings,\n title: viewModel.title,\n summary: viewModel.summary,\n description: viewModel.description,\n hiringDate: viewModel.hiringPeriod ? periodToISODate(viewModel.hiringPeriod) : null,\n startDate: viewModel.startDate ? getISODateFromDateString(viewModel.startDate) : null,\n endDate: viewModel.endDate ? getISODateFromDateString(viewModel.endDate) : null,\n // We don't want the Job Post to be listed yet, or start out closed. \n // We want the users to use the proper publishing tools in the UI. \n // openDate: viewModel.openDate ? getISODateFromDateString(viewModel.openDate) : null, \n // closedDate: viewModel.closedDate ? getISODateFromDateString(viewModel.closedDate) : null,\n employmentType: viewModel.employmentType,\n annualSalaryLow: moneyToNumberFormat(viewModel.annualSalaryLow, 0),\n annualSalaryHigh: moneyToNumberFormat(viewModel.annualSalaryHigh, 0),\n status,\n unlocksAvailable: parseInt(viewModel.unlocksAvailable),\n questions: viewModel.questions.length > 0 ? JSON.stringify(viewModel.questions) : null\n }\n if (userStore!.isAdminOrAgent) {\n input['jobPostType'] = JobPostType.RecruitingServices\n } else {\n input['jobPostType'] = JobPostType.SelfService\n }\n try {\n const jobPost = await this.props.jobStore!.createJobPost(input)\n jobPost!.contract = this.contracts!.find(contract => contract.id === jobPost!.contractId)\n if (this.accounts) {\n jobPost!.account = this.accounts!.find(account => account.id === jobPost!.accountId)\n }\n if (jobPost) {\n userStore!.logUserActivity(userStore!.user!.id, SubjectType.JobPost, jobPost.id, ActivityType.JobPostCreated,\n `${userStore!.user!.fullName} created job post for '${jobPost.fullName}'`)\n this.props.didCreate(jobPost!)\n return jobPost\n }\n } catch (error) {\n const message = 'Could not create the job post.'\n Logger.error(message, error)\n userStore!.logUserActivity(userStore!.user!.id, SubjectType.JobPost, \"\", ActivityType.Error,\n `${message} '${viewModel.title}'. ${getErrorMessage(error)}`)\n this.message = message\n return \n }\n }\n\n getJobPostFromViewModel = () => {\n const {resourceCache} = this.props\n const vm = this.viewModel!\n const jobPost = new JobPost(\n {\n id: vm.id,\n accountId: vm.accountId,\n contractId: vm.contractId,\n locationId: vm.locationId,\n location: vm.locationId ? resourceCache!.getLocation(vm.locationId) : undefined,\n serviceId: vm.serviceId,\n service: vm.serviceId ? resourceCache!.getService(vm.serviceId) : undefined,\n industries: vm.industries,\n summary: vm.summary,\n description: vm.description,\n startDate: vm.startDate,\n endDate: vm.endDate,\n openDate: vm.openDate,\n closedDate: vm.closedDate,\n employmentType: vm.employmentType,\n annualSalaryLow: moneyToNumberFormat(vm.annualSalaryLow, 0),\n annualSalaryHigh: moneyToNumberFormat(vm.annualSalaryHigh, 0),\n jobCandidates: [],\n jobInterests: [],\n status: vm.status,\n openings: vm.openings,\n questions: JSON.stringify(vm.questions),\n workSettings: vm.workSettings,\n securityClearance: vm.securityClearance\n }\n )\n return (jobPost)\n }\n}\n\nexport default withStyles(styles)(withWidth()(JobPostForm))","import * as React from \"react\";\nimport {\n Box,\n createStyles,\n Grid,\n Paper,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport IconicButton from \"../../components/controls/IconicButton\";\nimport EditIcon from \"@material-ui/icons/Edit\";\nimport JobPost from \"../../model/JobPost\";\nimport parseHTML from 'html-react-parser';\nimport { inject, observer } from \"mobx-react\";\nimport UserStore from \"../../stores/UserStore\";\nimport { makeObservable, observable, when } from \"mobx\";\nimport { grey } from \"@material-ui/core/colors\";\n\nconst styles = (theme: Theme) => createStyles({\n container: {\n },\n heading: {\n color: theme.palette.primary.main, \n fontWeight: 'bold'\n }\n})\n\ninterface IJobPostDescriptionCardProps {\n hideButtons?: boolean \n jobPost: JobPost \n elevation?: number \n onEdit?(): void \n truncate?: boolean // Only show 10 words of the discription, then truncate with ellipses (...). \n\n userStore?: UserStore\n}\n\n@inject('userStore')\n@observer\nclass JobPostDescriptionCard extends React.Component & IJobPostDescriptionCardProps & WithWidth> {\n \n @observable isJobPostEditable: boolean = false\n \n constructor(props: any) {\n super(props)\n makeObservable(this)\n }\n\n componentDidMount() {\n const { jobPost, userStore } = this.props \n when(\n // once \n () => userStore!.isLoading === false || userStore!.isPublic === true,\n // then \n () => {\n this.isJobPostEditable = userStore!.isJobPostEditable(jobPost)\n }\n )\n }\n\n render() {\n const { classes, elevation } = this.props\n return (\n
\n \n \n \n \n { this.renderHeading() }\n \n \n { this.renderBody() }\n \n \n \n \n
\n )\n }\n\n renderHeading = () => {\n const { classes, hideButtons } = this.props\n return (\n \n \n \n Job Description\n \n \n { hideButtons !== true && this.renderEditButton() }\n \n )\n }\n\n renderBody = () => {\n const { jobPost, truncate } = this.props \n\n let editMessage\n if (this.isJobPostEditable === true) {\n editMessage = \n Placeholder for the full description of the job post.\n \n } \n\n let jobDescription\n if (jobPost.description && jobPost.description !== '') {\n let jobDescriptionHTML: string = jobPost.description\n\n if (truncate) {\n const parser = new DOMParser()\n const doc: HTMLDocument = parser.parseFromString(jobDescriptionHTML, 'text/html')\n const element: Element | null = doc!.firstElementChild\n if (element && element.textContent) {\n const wordsToShow = 10 // The number of words to show before we truncate. \n let text = element.textContent.split(\" \").splice(0, wordsToShow).join(\" \")\n text = `${text}...` // Add ellipses to the end. \n \n jobDescription = \n {text}\n \n }\n } else {\n jobDescription = \n { parseHTML(jobDescriptionHTML) }\n \n }\n\n }\n\n return (\n \n \n { jobDescription ? jobDescription : editMessage }\n \n \n )\n }\n\n renderEditButton = () => {\n const { onEdit } = this.props \n\n if (this.isJobPostEditable === false) {\n return null \n }\n\n return (\n \n {\n if (onEdit) {\n onEdit()\n }\n }}>\n \n \n \n )\n }\n}\n\nexport default withStyles(styles)(withWidth()(JobPostDescriptionCard))\n","import * as React from \"react\";\nimport {\n Box,\n createStyles,\n alpha,\n Grid,\n Theme,\n withStyles,\n WithStyles,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport IconicButton from \"../../components/controls/IconicButton\";\nimport EditIcon from \"@material-ui/icons/Edit\";\nimport JobPost from \"../../model/JobPost\";\nimport {inject, observer} from \"mobx-react\";\nimport UserStore from \"../../stores/UserStore\";\nimport {makeObservable, observable, when} from \"mobx\";\nimport {JobInterestStatus} from \"../../API\";\nimport StarBorderIcon from '@material-ui/icons/StarBorder';\nimport StarIcon from '@material-ui/icons/Star';\nimport PublishIcon from '@material-ui/icons/Publish';\nimport MailOutlineIcon from '@material-ui/icons/MailOutline';\nimport LinkIcon from '@material-ui/icons/Link';\nimport DialogButton from \"../form/DialogButton\";\nimport JobInterest from \"../../model/JobInterest\";\nimport {CopyToClipboard} from \"react-copy-to-clipboard\";\nimport Notify from \"../notify/Notify\";\nimport config from \"react-global-configuration\";\nimport slugify from \"slugify\";\n\nconst styles = (theme: Theme) => createStyles({\n container: {\n // px={2} py={1} bgcolor={\"rgba(21, 36, 56, 0.5)\"} boxShadow='rgba(0, 0, 0, 0.25) 0px 1px 3px 0px' borderRadius={10}\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n paddingTop: theme.spacing(1),\n paddingBottom: theme.spacing(1),\n backgroundColor: 'rgba(21, 36, 56, 0.5)',\n boxShadow: 'rgba(0, 0, 0, 0.25) 0px 1px 3px 0px',\n borderRadius: 10\n },\n buttonGroupLabel: {\n color: theme.palette.common.white,\n // fontWeight: 'bold'\n },\n header: {\n fontWeight: 200,\n color: theme.palette.text.secondary,\n maxHeight: 26\n },\n buttons: {\n textAlign: \"right\",\n maxHeight: 26\n },\n heading: {\n color: theme.palette.primary.main,\n fontWeight: 'bold'\n },\n iconButton: {\n backgroundColor: theme.palette.secondary.main,\n color: '#fff',\n // marginLeft: theme.spacing(1),\n boxShadow: 'rgba(0, 0, 0, 0.25) 0px 1px 3px 0px',\n },\n applyButton: {\n backgroundColor: theme.palette.secondary.main,\n color: '#fff',\n borderWidth: 0,\n marginTop: 0,\n // marginLeft: theme.spacing(1),\n boxShadow: 'rgba(0, 0, 0, 0.25) 0px 1px 3px 0px',\n \"&:hover\": {\n borderWidth: 0,\n backgroundColor: alpha(theme.palette.secondary.light, 0.8),\n },\n \"&:disabled\": {\n backgroundColor: alpha(theme.palette.secondary.main, 0.8),\n color: alpha(theme.palette.secondary.contrastText, 0.8),\n },\n },\n\n})\n\ninterface IJobPostButtonsProps {\n jobPost: JobPost\n jobInterest?: JobInterest\n onEdit?(jobPost: JobPost): void\n onApply?(jobPost: JobPost): void\n onSave?(jobPost: JobPost): void\n className?: string\n userStore?: UserStore\n notify?: Notify\n}\n\n@inject('userStore', 'notify')\n@observer\nclass JobPostButtons extends React.Component & IJobPostButtonsProps & WithWidth> {\n\n @observable isJobPostEditable: boolean = false \n\n constructor(props: any) {\n super(props)\n makeObservable(this)\n }\n\n componentDidMount() {\n const { userStore } = this.props \n when(\n // once \n () => userStore!.isLoading === false || userStore!.isPublic === true,\n // then \n () => {\n this.loadJobPostEditable()\n }\n )\n }\n\n render() {\n const { onApply, onSave, onEdit, jobPost, jobInterest, classes, className, userStore, notify } = this.props\n\n const candidateButtons = []\n const shareButtons = []\n const isCandidate = userStore!.isCandidate\n const isApplicant = userStore!.isApplicant\n const isEmployer = userStore!.isEmployer\n const isAdminOrAgent = userStore!.isAdminOrAgent\n\n if (onApply) {\n if (!jobInterest || jobInterest.status === JobInterestStatus.Interested) {\n candidateButtons.push(\n onApply!(jobPost)} customClassName={classes.applyButton}>\n   Apply\n \n )\n } else if (jobInterest && jobInterest.status === JobInterestStatus.Invited) {\n candidateButtons.push(\n onApply!(jobPost)} customClassName={classes.applyButton}>\n   Invited to Apply\n \n )\n } else if (jobInterest && jobInterest.status === JobInterestStatus.Applied) {\n candidateButtons.push(\n onApply!(jobPost)} disabled>\n   Applied\n \n )\n }\n }\n\n if (onSave && (isCandidate || isApplicant)) {\n if (jobInterest !== undefined) {\n candidateButtons.push(\n onSave!(jobPost)} \n className={classes.iconButton} \n // disabled={jobInterest.status !== JobInterestStatus.Interested}\n >\n \n \n )\n } else {\n candidateButtons.push(\n onSave!(jobPost)} className={classes.iconButton}>\n \n \n )\n }\n }\n\n const publicJobLink = `${config.get('homeUrl')}/jobs/${slugify(jobPost.title, {remove: /[*+~.()'\"!:@]/g})}/${jobPost.id}`\n\n // Link button\n shareButtons.push(\n notify!.show('success', 'Copied job link to clipboard!')}\n >\n \n \n \n \n )\n\n const subject = `GovGig ${jobPost.title} Job Post`\n const body = publicJobLink\n\n shareButtons.push(\n \n \n \n \n \n )\n\n return (\n \n \n { (onSave || onApply) ?\n \n \n \n \n \n {candidateButtons.map((candidateButton, index) => {\n return (\n \n {candidateButton}\n \n )\n })}\n \n \n {/* \n \n Engage \n \n */}\n \n \n \n : \n null\n } \n { onEdit && (isEmployer || isAdminOrAgent) && \n \n \n \n \n onEdit!(jobPost)}>\n \n \n \n {/* \n \n Edit\n \n */}\n \n \n \n }\n \n \n \n \n {shareButtons.map((shareButton, index) => {\n return (\n \n {shareButton}\n \n )\n })}\n \n \n {/* \n \n Share \n \n */}\n \n \n \n \n )\n }\n\n loadJobPostEditable = () => {\n const { jobPost, userStore } = this.props\n this.isJobPostEditable = userStore!.isJobPostEditable(jobPost)\n }\n}\n\nexport default withStyles(styles)(withWidth()(JobPostButtons))\n","import * as React from \"react\";\nimport {\n Box,\n createStyles,\n alpha,\n Grid,\n isWidthDown,\n Theme,\n withStyles,\n WithStyles,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport CardValue from \"../../components/CardValue\";\nimport {durationBetweenISODates, humanizeString} from \"../../stores/StoreUtilities\";\nimport JobPost from \"../../model/JobPost\";\nimport {inject, observer} from \"mobx-react\";\nimport UserStore from \"../../stores/UserStore\";\nimport {makeObservable, observable, when} from \"mobx\";\nimport Visible from \"../Visible\";\nimport ResourceCache from \"../../stores/ResourceCache\";\n\nconst styles = (theme: Theme) => createStyles({\n header: {\n fontWeight: 200,\n color: theme.palette.text.secondary,\n maxHeight: 26\n },\n buttons: {\n textAlign: \"right\",\n maxHeight: 26\n },\n heading: {\n color: theme.palette.primary.main,\n fontWeight: 'bold'\n },\n iconButton: {\n marginLeft: theme.spacing(1)\n },\n applyButton: {\n backgroundColor: alpha(theme.palette.secondary.light, 0.3),\n borderWidth: 0,\n marginTop: 0,\n marginLeft: theme.spacing(1),\n \"&:hover\": {\n borderWidth: 0,\n backgroundColor: alpha(theme.palette.secondary.light,0.5),\n },\n \"&:disabled\": {\n backgroundColor: alpha(theme.palette.secondary.main, 0.5),\n color: alpha(theme.palette.secondary.contrastText, 0.5),\n },\n },\n\n})\n\ninterface IJobPostInfoProps {\n jobPost: JobPost\n \n userStore?: UserStore\n resourceCache?: ResourceCache\n}\n\n@inject('userStore', 'resourceCache')\n@observer\nclass JobPostInfo extends React.Component & IJobPostInfoProps & WithWidth> {\n\n @observable isJobPostEditable: boolean = false \n\n constructor(props: any) {\n super(props)\n makeObservable(this)\n }\n\n componentDidMount() {\n const { userStore } = this.props \n when(\n // once \n () => userStore!.isLoading === false || userStore!.isPublic === true,\n // then \n () => {\n // this.loadJobPostEditable()\n }\n )\n }\n\n render() {\n const {\n jobPost,\n width,\n userStore\n } = this.props\n const isSmall = isWidthDown('sm', width)\n const salaryRange = jobPost.salaryRange\n const securityClearance = jobPost.securityClearance\n const hiringPeriod = jobPost.hiringPeriod\n const duration = durationBetweenISODates(jobPost.startDate, jobPost.endDate)\n const labelWidth = 100 \n\n return (\n \n \n \n \n \n \n {jobPost.locationDescription}\n \n \n \n \n {humanizeString(jobPost.employmentType)} Hire {hiringPeriod}\n \n \n \n \n \n {securityClearance}\n \n \n \n \n \n \n {duration}\n \n \n \n \n \n \n {salaryRange}\n \n \n \n \n \n \n {jobPost.account?.name}\n \n \n \n \n \n \n \n {jobPost.summary.toString()}\n \n \n \n \n )\n }\n}\n\nexport default withStyles(styles)(withWidth()(JobPostInfo))\n","import * as React from \"react\";\nimport {\n Box,\n createStyles,\n Grid,\n Paper,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n withTheme,\n WithTheme\n} from \"@material-ui/core\";\nimport { RouteComponentProps } from \"@reach/router\";\nimport JobPost from \"../../model/JobPost\";\nimport ProfileHeroImage from \"../../images/Profile_Hero_Image_New.jpg\";\nimport JobInterest from \"../../model/JobInterest\";\nimport JobPostButtons from \"../../components/jobPosts/JobPostButtons\";\nimport JobPostInfo from \"../../components/jobPosts/JobPostInfo\";\n\nconst styles = (theme: Theme) => createStyles({\n panel: {\n paddingTop: theme.spacing(10),\n paddingBottom: theme.spacing(2),\n background: `darkblue url(${ProfileHeroImage}) no-repeat center center`,\n backgroundSize: 'cover',\n color: theme.palette.common.white,\n borderRadius: '10px 10px 0px 0px',\n [theme.breakpoints.down('xs')]: {\n paddingRight: theme.spacing(2),\n paddingLeft: theme.spacing(2),\n },\n [theme.breakpoints.up('sm')]: {\n paddingRight: theme.spacing(3),\n paddingLeft: theme.spacing(3),\n }\n }\n})\n\ninterface IJobPostHeroProps {\n hideButtons?: boolean \n jobPost: JobPost\n jobInterest?: JobInterest\n onEdit?(jobPost: JobPost): void\n onApply?(jobPost: JobPost): void\n onSave?(jobPost: JobPost): void\n}\n\nclass JobPostHero extends React.Component & RouteComponentProps & IJobPostHeroProps & WithTheme> {\n \n render() {\n const { classes, jobInterest, jobPost, hideButtons } = this.props \n\n return (\n \n
\n \n \n \n \n {jobPost.title}{jobPost.openings > 1 && ` [${jobPost.openings}]`}\n \n \n \n { hideButtons !== true && \n \n \n \n }\n \n
\n \n \n \n
\n )\n }\n}\n\nexport default withTheme(withStyles(styles)(JobPostHero))\n","import * as React from \"react\";\nimport {\n Box,\n createStyles,\n Grid,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n withTheme,\n WithTheme,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport { RouteComponentProps } from \"@reach/router\";\nimport Page from \"../../components/page/Page\";\nimport MarginRow from \"../../components/page/MarginRow\";\nimport { makeObservable, observable, when } from \"mobx\";\nimport { inject, observer } from \"mobx-react\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport Progress from \"../../components/Progress\";\nimport JobPost from \"../../model/JobPost\";\nimport JobPostForm from \"../../components/jobPosts/JobPostForm\";\nimport JobPostDescriptionCard from \"../../components/jobPosts/JobPostDescriptionCard\";\nimport JobPostDescriptionForm from \"../../components/jobPosts/JobPostDescriptionForm\";\nimport UserStore from \"../../stores/UserStore\";\nimport ControlTower, { Routes } from \"../../components/ControlTower\";\nimport Logger from \"../../components/Logger\";\nimport Account from \"../../model/Account\";\nimport Contract from \"../../model/Contract\";\nimport ProfileHeroImage from \"../../images/Profile_Hero_Image_New.jpg\";\nimport Notify from \"../../components/notify/Notify\";\nimport Confirm from \"../../components/confirm/Confirm\";\nimport JobInterest from \"../../model/JobInterest\";\nimport {CreateJobInterestInput, JobInterestStatus, SubjectType} from \"../../API\";\nimport JobInterestApplyDialog from \"../../components/jobPosts/JobInterestApplyDialog\";\nimport JobPostHero from \"../../components/jobPosts/JobPostHero\";\n// import CallToActionPanel from \"../../components/CallToActionPanel\";\nimport {ActivityType} from \"../../model/UserActivity\";\nimport JobStore from \"../../stores/JobStore\";\nimport Stack from \"../../components/Stack\";\nimport ActionButton from \"../../components/controls/ActionButton\";\n\nconst styles = (theme: Theme) => createStyles({\n panel: {\n paddingTop: theme.spacing(7),\n paddingBottom: theme.spacing(2),\n background: `darkblue url(${ProfileHeroImage}) no-repeat center center`,\n backgroundSize: 'cover',\n color: theme.palette.common.white,\n borderRadius: '10px 10px 0px 0px',\n [theme.breakpoints.down('xs')]: {\n paddingRight: theme.spacing(2),\n paddingLeft: theme.spacing(2),\n },\n [theme.breakpoints.up('sm')]: {\n paddingRight: theme.spacing(3),\n paddingLeft: theme.spacing(3),\n }\n },\n card: {\n fontSize: 12,\n padding: '16px !important', // overriding CardContent root setting\n \"&:hover $button\": {\n visibility: \"visible\",\n },\n },\n icon: {\n fontSize: 45,\n height: 45,\n paddingRight: theme.spacing(2),\n },\n name: {\n fontSize: 20,\n color: theme.palette.secondary.main,\n },\n title: {\n paddingTop: '3px',\n paddingBottom: '6px',\n },\n button: {\n flex: 0,\n height: 0,\n textAlign: \"right\",\n visibility: \"hidden\",\n },\n})\n\ninterface IJobPostPageProps {\n hideButtons?: boolean \n embed?: boolean\n jobPostId?: string \n onUpdateJobPost?(jobPost: JobPost): void\n \n accountStore?: AccountStore\n jobStore?: JobStore\n confirm?: Confirm\n location?: any \n notify?: Notify\n userStore?: UserStore\n progress?: Progress\n}\n\n@inject('accountStore', 'jobStore', 'notify', 'progress', 'userStore')\n@observer\nclass JobPostPage extends React.Component & RouteComponentProps & IJobPostPageProps & WithTheme & WithWidth> {\n \n @observable isLoading = true\n @observable jobPost?: JobPost\n @observable jobInterest?: JobInterest\n @observable accounts?: Account[]\n @observable contracts?: Contract[]\n \n @observable isJobPostFormOpen: boolean = false\n @observable isJobPostDescriptionFormOpen: boolean = false \n @observable isJobInterestApplyDialogOpen: boolean = false \n\n constructor(props: any) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount () {\n const { accountStore, jobStore, userStore, progress, location } = this.props\n\n progress!.show(\"JobPostPage\")\n \n when(\n // once\n () => {\n // Logged-in user & account loads.\n const isLoaded = (accountStore!.isLoading === false && \n jobStore!.isLoading === false && userStore!.isLoading === false)\n // Public info loads.\n const isPublic = (userStore!.isPublic === true) \n return isLoaded || isPublic\n },\n // then \n async () => {\n let apply\n if (location) {\n const searchParams = new URLSearchParams(location.search)\n apply = searchParams.get(\"apply\")\n }\n if (userStore!.isPublic === false) {\n await this.loadAccounts()\n }\n await this.loadJobPost()\n this.isJobInterestApplyDialogOpen = apply === \"1\"\n this.isLoading = false\n\n progress!.hide(\"JobPostPage\")\n }\n )\n }\n \n render() {\n const { embed } = this.props \n\n if (embed) {\n return (\n \n {this.isLoading === false ? this.renderContent() : null}\n \n )\n } else {\n return (\n \n \n {this.isLoading === false ? this.renderContent() : null}\n \n \n )\n }\n }\n\n renderContent = () => {\n const { jobStore, userStore, hideButtons } = this.props\n\n // Lock down job posts when un-published and in certain cases. \n let shouldShow = true \n \n let jobPost: JobPost | undefined = undefined\n \n if (this.jobPost) {\n jobPost = this.jobPost \n const isUnpublished = jobStore!.isJobPostUnpublished(jobPost)\n if (isUnpublished) {\n if (userStore!.isCandidate || userStore!.isApplicant) {\n // Don't show unpublished job posts to candidates. \n shouldShow = false \n } else if (userStore!.isEmployer && jobPost.accountId !== userStore!.user!.accountId) {\n // Don't show unpublished job posts to other employers. \n shouldShow = false \n }\n }\n } else {\n shouldShow = false \n }\n\n if (!shouldShow) {\n return (\n \n \n Job Post Unavailable\n Sorry, this job post is not available. Head over to Find Jobs to search for open job posts.\n {\n ControlTower.route(Routes.findJobs)\n }}\n />\n \n \n ) \n }\n\n return (\n \n {/* */}\n \n {/*{!userStore!.isAuthenticated &&*/}\n {/* */}\n {/* */}\n {/* */}\n {/*}*/}\n \n {\n this.isJobPostFormOpen = true\n }}\n />\n \n { jobPost && \n \n {\n this.isJobPostDescriptionFormOpen = true \n }}\n /> \n \n }\n \n {this.isJobPostFormOpen &&\n {\n this.isJobPostFormOpen = false\n }}\n didCreate={(jobPost: JobPost) => {\n // N/A - JobPost is already created when viewing it on this job post page.\n }}\n didDelete={(jobPost: JobPost) => {\n // TODO: Figure out what to do upon delete.\n // Route back to Contract page?\n }}\n didEdit={async (jobPost: JobPost) => {\n const { onUpdateJobPost } = this.props\n this.jobPost = jobPost\n if (onUpdateJobPost) {\n onUpdateJobPost(jobPost)\n }\n }}\n />\n }\n {this.isJobPostDescriptionFormOpen &&\n {\n this.isJobPostDescriptionFormOpen = false\n }}\n didEdit={(jobPost: JobPost) => {\n this.jobPost = jobPost\n }}\n />\n }\n {this.isJobInterestApplyDialogOpen &&\n \n }\n \n )\n }\n\n // Loading \n\n loadAccounts = async () => {\n const { accountStore, userStore } = this.props\n\n if (userStore!.user?.isAdminOrAgent) {\n const accounts: Account[] = await accountStore!.listAccounts()\n const sorted = accounts.sort((a: Account, b: Account) => a.name.localeCompare(b.name))\n this.accounts = sorted \n } \n }\n\n loadJobPost = async () => {\n const { jobStore, userStore, jobPostId } = this.props\n\n try {\n const jobPost = await jobStore!.getJobPost(jobPostId!)\n\n if (jobPost) {\n if (userStore!.isCandidate || userStore!.isApplicant) {\n userStore!.logUserActivity(userStore!.user!.id, SubjectType.JobPost, jobPost.id, ActivityType.JobPostViewed,\n `${userStore!.user!.fullName} viewed the job post '${jobPost.fullName}'`)\n\n if (jobPost.jobInterests.length === 0) {\n // Load JobInterests which are not available by the public getJobPost\n jobPost.jobInterests = await jobStore!.listJobInterestsByJobPost(jobPost.id)\n if (jobPost.jobInterests.length > 0) {\n this.jobInterest = jobPost.jobInterests[0]\n }\n }\n }\n this.jobPost = jobPost\n }\n } catch(error) {\n Logger.error('Could not load job post!', error)\n ControlTower.route(Routes.home)\n }\n }\n\n // Actions \n\n onSave = async (jobPost: JobPost) => {\n const { userStore, jobStore, notify, confirm } = this.props\n\n if (!(userStore?.isCandidate || userStore!.isApplicant)) {\n return\n }\n\n let jobInterest: JobInterest | undefined | void = jobPost.jobInterests.length > 0 ? jobPost.jobInterests[0] : undefined\n if (!jobInterest) {\n // Create new jobInterest\n const input: CreateJobInterestInput = {\n userId: userStore!.user!.id,\n jobPostId: jobPost.id,\n status: JobInterestStatus.Interested,\n ranking: 0\n }\n\n jobInterest = await jobStore!.createJobInterest(input)\n .catch((err: Error) => {\n notify!.show(\"error\", \"Error saving job interest\")\n })\n\n if (jobInterest) {\n jobPost.jobInterests.push(jobInterest)\n this.jobInterest = jobInterest\n }\n } else {\n // Delete JobInterest\n if (jobInterest.status !== JobInterestStatus.Interested) {\n confirm!.show(\"Confirm Remove Job\",\n `Please confirm you want to remove this ${jobInterest.status} status job post from My Jobs.`,\n [\"Confirm\",\"Cancel\"], async () => {\n await this.deleteJobInterest(jobInterest, jobPost);\n return true\n })\n } else {\n await this.deleteJobInterest(jobInterest, jobPost);\n }\n }\n }\n\n private async deleteJobInterest(jobInterest: JobInterest | void, jobPost: JobPost) {\n const { jobStore, notify } = this.props\n\n if (!jobInterest) {\n return\n }\n\n const deleted = await jobStore!.deleteJobInterest(jobInterest.id)\n .catch((err: Error) => {\n notify!.show(\"error\", \"Error deleting job interest\")\n })\n\n if (deleted && jobInterest.id) {\n jobPost.jobInterests = []\n this.jobInterest = undefined\n }\n }\n\n onApply = (jobPost: JobPost) => {\n // const { userStore } = this.props\n\n // if (!(userStore?.isCandidate || userStore?.isApplicant)) {\n // return\n // }\n\n this.isJobInterestApplyDialogOpen = true\n }\n\n onApplySubmit = (jobPost: JobPost) => {\n const { userStore } = this.props\n\n this.jobPost = jobPost\n\n userStore!.logUserActivity(userStore!.user!.id, SubjectType.JobPost, jobPost.id, ActivityType.JobCandidateApplied,\n `${userStore!.user!.fullName} applied to the job post '${jobPost.fullName}'`)\n\n this.jobInterest = jobPost.jobInterests.length > 0 ? jobPost.jobInterests[0] : undefined\n this.isJobInterestApplyDialogOpen = false\n }\n\n onApplyClose = () => {\n this.isJobInterestApplyDialogOpen = false\n }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(JobPostPage)))\n","import * as React from \"react\";\nimport {\n Card,\n CardActionArea,\n CardContent,\n createStyles,\n Grid,\n Theme,\n Typography,\n withStyles,\n WithStyles\n} from \"@material-ui/core\";\nimport {inject, observer} from \"mobx-react\";\nimport {humanizeString, isoToLocalDate} from \"../../stores/StoreUtilities\";\nimport UserStore from \"../../stores/UserStore\";\nimport StarIcon from '@material-ui/icons/Star';\nimport PublishIcon from '@material-ui/icons/Publish';\nimport MailOutlineIcon from '@material-ui/icons/MailOutline';\nimport { RateReviewOutlined, ThumbUp, ThumbUpOutlined, ThumbDown, ThumbDownOutlined, ThumbsUpDownOutlined } from '@material-ui/icons';\nimport Visible from \"../../components/Visible\";\nimport JobPost from \"../../model/JobPost\";\nimport JobInterest from \"../../model/JobInterest\";\nimport {JobInterestStatus, WorkSetting} from \"../../API\";\nimport {format} from \"date-fns\";\nimport ResourceCache from \"../../stores/ResourceCache\";\nimport LocationOnIcon from '@material-ui/icons/LocationOn';\nimport LockIcon from '@material-ui/icons/Lock';\nimport ScheduleIcon from '@material-ui/icons/Schedule';\nimport BusinessIcon from '@material-ui/icons/Business';\n\nconst styles = (theme: Theme) => createStyles({\n card: {\n fontSize: 12,\n // padding: '8px !important', // overriding CardContent root setting\n paddingTop: theme.spacing(1),\n paddingLeft: theme.spacing(2),\n paddingBottom: theme.spacing(1),\n paddingRight: theme.spacing(2),\n },\n status: {\n fontWeight: 200,\n color: theme.palette.text.secondary,\n maxHeight: 18,\n marginTop: theme.spacing(1)\n },\n saved: {\n textAlign: \"right\",\n color: theme.palette.text.secondary,\n maxHeight: 18\n },\n icon: {\n width: 20,\n height: 20\n },\n property: {\n display: \"flex\",\n flexDirection: \"row\",\n paddingBottom: \"3px\"\n },\n propIcon: {\n color: theme.palette.text.secondary,\n width: 18,\n height:18,\n paddingTop: 2,\n marginRight: theme.spacing(1)\n },\n body: {\n },\n title: {\n fontWeight: 600,\n lineHeight: 1.2,\n paddingTop: 4,\n paddingBottom: 4\n },\n account: {\n fontWeight: 600,\n // paddingTop: theme.spacing(0.5),\n // paddingBottom: theme.spacing(0.5)\n },\n summary: {\n maxHeight: 80,\n overflowY: \"hidden\",\n },\n hiringImmediately: {\n color: theme.palette.success.dark,\n fontWeight: 600\n },\n hiringDefault: {\n color: theme.palette.text.primary\n }\n})\n\ninterface IJobBoardSearchCardProps {\n jobPost: JobPost\n jobInterest?: JobInterest\n onClick?: any\n userStore?: UserStore\n resourceCache?: ResourceCache\n}\n\n@inject(\"userStore\", \"resourceCache\")\n@observer\nclass JobBoardSearchCard extends React.Component & IJobBoardSearchCardProps> {\n\n render() {\n const { classes, jobPost, jobInterest, userStore, resourceCache } = this.props\n\n let status\n let statusIcon\n if (jobInterest) {\n if (jobInterest.status === JobInterestStatus.Applied) {\n statusIcon = \n } else if (jobInterest.status === JobInterestStatus.Invited) {\n statusIcon = \n } else if (jobInterest.status === JobInterestStatus.Accepted) {\n statusIcon = \n } else if (jobInterest.status === JobInterestStatus.Reviewing) {\n statusIcon = \n } else if (jobInterest.status === JobInterestStatus.Rejected) {\n statusIcon = \n } else if (jobInterest.status === JobInterestStatus.Contacted) {\n statusIcon = \n } else if (jobInterest.status === JobInterestStatus.Hired) {\n statusIcon = \n } else if (jobInterest.status === JobInterestStatus.Declined) {\n statusIcon = \n } else {\n statusIcon = \n }\n status = jobInterest.statusText\n } else {\n const postDate = isoToLocalDate(jobPost.openDate)\n status = `Posted on ${format(postDate, \"M/d/yyyy\")}`\n // saveIcon = \n }\n\n const securityClearance = jobPost.securityClearance\n const hiringPeriod = jobPost.hiringPeriod\n const hiringClassname = hiringPeriod === \"Immediately\" ? classes.hiringImmediately : classes.hiringDefault\n\n return (\n \n this.props.onClick(jobPost) : undefined}>\n \n \n \n \n {jobPost.title}{jobPost.openings > 1 && ` [${jobPost.openings}]`}\n \n \n \n \n \n {jobPost.account?.name}\n \n \n \n \n \n {jobPost.locationDescription}\n \n \n {securityClearance &&\n \n \n {securityClearance}\n \n }\n \n \n {humanizeString(jobPost.employmentType)} Hire {hiringPeriod}\n \n \n {jobPost.summary}\n \n {status &&\n \n {status}\n \n }\n \n {statusIcon}\n \n \n \n \n \n\n )\n }\n}\n\nexport default withStyles(styles)(JobBoardSearchCard)\n","import * as React from 'react'\nimport {createStyles, isWidthDown, Theme, withStyles, WithStyles, withWidth, WithWidth} from \"@material-ui/core\";\nimport LocationAPI from \"../../apis/LocationAPI\";\nimport ReactMapGL, {Marker, NavigationControl} from \"react-map-gl\"\nimport BluePin from '../../images/map/blue-pin.svg'\nimport BluePinHighlighted from '../../images/map/blue-pin-highlighted.svg'\nimport {inject, observer} from \"mobx-react\";\nimport {makeObservable, observable} from \"mobx\";\nimport {MapEvent} from \"react-map-gl/src/components/interactive-map\";\nimport {LocationJobPosts} from \"../../stores/JobStore\";\n\nconst styles = (theme: Theme) => createStyles({\n marker: {\n zIndex: 900,\n cursor: \"pointer\"\n },\n markerTop: {\n zIndex: 1000,\n cursor: \"pointer\"\n },\n markerLabel: {\n position: \"absolute\",\n top: \"7%\",\n width: 50,\n fontFamily: [\n 'Roboto',\n 'sans-serif'\n ].join(','),\n fontSize: 24,\n fontWeight: 600,\n color: theme.palette.primary.contrastText,\n textAlign: \"center\"\n },\n markerLabelSm: {\n position: \"absolute\",\n top: \"8%\",\n width: 24,\n fontFamily: [\n 'Roboto',\n 'sans-serif'\n ].join(','),\n fontSize: 11,\n fontWeight: 800,\n color: theme.palette.primary.contrastText,\n textAlign: \"center\"\n }\n})\n\ninterface IJobMapProps {\n locationAPI?: LocationAPI,\n viewport: any,\n locationJobPosts?: LocationJobPosts[]\n selectedLocationId?: string\n onViewportChange(viewport: any, map: any): void\n onClickLocation(locationId?: string): void\n}\n\n@inject(\"locationAPI\")\n@observer\nclass JobMap extends React.Component & IJobMapProps & WithWidth> {\n\n @observable locationJobPosts?: LocationJobPosts[] = []\n @observable selectedLocationId?: string\n\n mapRef: any\n\n constructor(props: any) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount() {\n this.locationJobPosts = this.props.locationJobPosts\n this.selectedLocationId = this.props.selectedLocationId\n }\n\n componentDidUpdate(prevProps: any) {\n if (this.props.locationJobPosts !== prevProps.locationJobPosts) {\n this.locationJobPosts = this.props.locationJobPosts\n }\n if (this.props.selectedLocationId !== prevProps.selectedLocationId) {\n this.selectedLocationId = this.props.selectedLocationId\n }\n }\n\n\n render() {\n const { locationAPI, viewport, width } = this.props\n\n const height = (isWidthDown('xs', width)) ? \"calc(100vh - 182px)\" : \"calc(100vh - 210px)\"\n\n if (locationAPI!.credentials) {\n return (\n this.mapRef = map}\n width=\"100%\"\n height={height}\n transformRequest={locationAPI!.transformRequest()}\n mapStyle={locationAPI!.mapName}\n onViewportChange={this.onViewportChange}\n onClick={this.onClick}\n >\n {this.renderMarkers()}\n
\n {/* react-map-gl v5 doesn't support dragging the compass to change bearing */}\n \n
\n \n )\n }\n\n return null\n }\n\n renderMarkers = () => {\n const { classes } = this.props\n\n const markers: any = []\n\n if (this.mapRef) {\n // const map = this.mapRef.getMap()\n // const zoom = map.getZoom()\n\n if (this.locationJobPosts && this.locationJobPosts.length > 0) {\n this.locationJobPosts.forEach((item: LocationJobPosts) => {\n const location = item.location\n const count = item.jobPosts.length\n let marker\n if (this.selectedLocationId === location.id) {\n marker = \n
this.onClickLocation(event, location.id)}>\n \"\"/\n
{count > 0 ? count : \"\"}
\n
\n
\n } else if (count > 0) {\n marker = \n
this.onClickLocation(event, location.id)}>\n \"\"/\n
{count}
\n
\n
\n\n }\n // Check for dups\n if (marker && markers.findIndex((marker: any) => marker.key === location.id) < 0) {\n markers.push(marker)\n }\n })\n }\n }\n\n return markers\n }\n\n onViewportChange = (viewport: any) => {\n if (this.mapRef) {\n const map = this.mapRef.getMap()\n const bounds = map.getBounds()\n this.props.onViewportChange(viewport, bounds)\n }\n }\n\n onClick = (evt: MapEvent) => {\n if (this.props.onClickLocation) {\n this.props.onClickLocation()\n }\n }\n\n onClickLocation = (event: any, locationId: string) => {\n // console.log(`onClickLocation: ${locationId}`)\n if (this.props.onClickLocation) {\n this.props.onClickLocation(locationId)\n }\n event.stopPropagation()\n }\n\n}\n\nexport default withStyles(styles)(withWidth()(JobMap))","export default __webpack_public_path__ + \"static/media/GovGig_Logo_512.2b57a54a.png\";","import * as React from \"react\";\nimport {\n Avatar, Box,\n Card,\n CardActionArea,\n CardContent,\n Grid,\n Typography,\n useTheme\n} from \"@material-ui/core\";\nimport {humanizeString, isoToLocalDate} from \"../../stores/StoreUtilities\";\n// TODO: In the future, highlight featured job posts with a star and background color.\n// import StarIcon from '@mui/icons-material/Star';\nimport JobPost from \"../../model/JobPost\";\nimport CardValue from \"../../components/CardValue\";\nimport { AccountStoreConstants } from \"../../stores/AccountStore\";\nimport GovGigLogo from \"../../images/GovGig_Logo_512.png\"\nimport JobInterest from \"../../model/JobInterest\";\nimport {useStores} from \"../../stores/StoreProvider\";\nimport {format} from \"date-fns\";\n\nconst JobBoardSearchCard = ({\n jobPost,\n jobInterest,\n onClick \n}: {\n jobPost: JobPost\n jobInterest?: JobInterest\n onClick?: () => void\n}) => {\n // const postDate = isoToLocalDate(jobPost.createdAt)\n // TODO: Include post date? May not want to until we reach an amount of job posts. \n // const _heading = `Posted on ${format(postDate, \"M/d/yyyy\")}`\n const theme = useTheme()\n const { resourceCache } = useStores()\n\n const renderLogo = () => {\n const isPrimary = jobPost.account ? jobPost.account.id === AccountStoreConstants.PRIMARY_ACCOUNT_ID : false\n const initial = jobPost.account ? jobPost.account.name.substring(0, 1) : undefined \n return (\n \n { isPrimary ? \n \n : \n \n {initial}\n \n }\n \n )\n }\n\n const renderDetails = () => {\n const securityClearance = jobPost.securityClearance\n const hiringPeriod = jobPost.hiringPeriod\n const postDate = isoToLocalDate(jobPost.openDate)\n const status = `Posted on ${format(postDate, \"M/d/yyyy\")}`\n\n return (\n \n {/* \n {heading}\n */}\n \n \n \n \n {jobPost.title}{jobPost.openings > 1 && ` [${jobPost.openings}]`}\n \n \n \n \n \n \n {jobPost.account &&\n \n \n {jobPost.account?.name}\n \n \n }\n \n \n {jobPost.locationDescription}\n \n {/* {jobPost.location?.shortName} */}\n \n {securityClearance &&\n \n \n {securityClearance}\n \n \n }\n \n \n {humanizeString(jobPost.employmentType)} Hire {hiringPeriod}\n \n \n \n \n {status}\n \n \n \n \n \n \n {jobInterest &&\n \n \n {jobInterest.statusText}\n \n \n }\n \n \n {jobPost.summary}\n \n \n \n \n \n )\n }\n\n return (\n \n \n \n \n \n {renderLogo()}\n \n \n {renderDetails()}\n \n \n \n \n \n\n )\n}\n\nexport default JobBoardSearchCard\n","import * as React from 'react'\nimport {ReactNode} from 'react'\nimport Page from '../../components/page/Page'\nimport {RouteComponentProps} from \"@reach/router\";\nimport {inject, observer} from \"mobx-react\";\nimport {\n Box,\n createStyles,\n alpha,\n Grid,\n Hidden,\n isWidthDown,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n withTheme,\n WithTheme,\n withWidth\n} from \"@material-ui/core\";\nimport UserStore from \"../../stores/UserStore\";\nimport Progress from \"../../components/Progress\";\nimport {autorun, makeObservable, observable, when} from \"mobx\";\nimport ServiceGroup from \"../../model/ServiceGroup\";\nimport ResourceCache, {LocationOption, ServiceOption} from \"../../stores/ResourceCache\";\nimport JobPost from \"../../model/JobPost\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport {AddressType, CreateJobInterestInput, JobInterestStatus, SubjectType, WorkSetting} from \"../../API\";\nimport JobPostSearchCard from \"./JobPostSearchCard\";\nimport JobPostDescriptionCard from \"../../components/jobPosts/JobPostDescriptionCard\";\nimport JobInterest from \"../../model/JobInterest\";\nimport Notify from \"../../components/notify/Notify\";\nimport JobInterestApplyDialog from \"../../components/jobPosts/JobInterestApplyDialog\";\nimport DialogButton from \"../../components/form/DialogButton\";\nimport StarIcon from \"@material-ui/icons/Star\";\nimport RoomIcon from '@material-ui/icons/Room';\nimport Confirm from \"../../components/confirm/Confirm\";\nimport ControlTower, {Routes} from \"../../components/ControlTower\";\nimport JobMap from \"./JobMap\";\nimport {LngLatBounds} from \"mapbox-gl\";\nimport FilterBar from \"../../components/filter/FilterBar\";\nimport ServiceFilter from \"../../components/filter/ServiceFilter\";\nimport PlaceFilter from \"../../components/filter/PlaceFilter\";\nimport {WithWidth} from \"@material-ui/core/withWidth\";\nimport ListIcon from \"@material-ui/icons/ViewStream\";\nimport JobPostHero from '../../components/jobPosts/JobPostHero';\nimport {ActivityType} from \"../../model/UserActivity\";\nimport {grey} from \"@material-ui/core/colors\";\nimport JobStore, {IJobSearchOptions, LocationJobPosts} from \"../../stores/JobStore\";\nimport Visible from \"../../components/Visible\";\nimport JobBoardSearchCard from \"./JobBoardSearchCard\";\nimport {createUUID} from \"../../stores/StoreUtilities\";\nimport SearchIcon from \"@material-ui/icons/Search\";\nimport Column, {IRow} from '../../components/panel/Column';\nimport {matchSorter} from 'match-sorter'\nimport {NAICS} from \"../../model/Industry\";\nimport Service from \"../../model/Service\";\n\nconst styles = (theme: Theme) => createStyles({\n root: {\n flexGrow: 1,\n width: \"100%\",\n justifyContent: 'top',\n alignItems: 'center',\n overflow: \"hidden\"\n },\n title: {\n paddingTop: theme.spacing(0.5),\n paddingLeft: theme.spacing(1)\n },\n filterButtonOff: {\n backgroundColor: grey[400], // alpha(theme.palette.secondary.main, 0.3),\n color: '#fff',\n borderWidth: 0,\n marginTop: 0,\n marginRight: 8,\n paddingLeft: 8,\n boxShadow: 'rgba(0, 0, 0, 0.25) 0px 1px 3px 0px',\n \"&:hover\": {\n borderWidth: 0,\n backgroundColor: alpha(theme.palette.secondary.light, 0.8),\n }\n },\n filterButtonOn: {\n backgroundColor: theme.palette.secondary.main,\n color: '#fff',\n borderWidth: 0,\n marginTop: 0,\n marginRight: 8,\n paddingLeft: 8,\n boxShadow: 'rgba(0, 0, 0, 0.25) 0px 1px 3px 0px',\n \"&:hover\": {\n borderWidth: 0,\n backgroundColor: alpha(theme.palette.secondary.light, 0.8),\n }\n },\n content: {\n display: \"flex\",\n flexDirection:\"row\"\n },\n jobBoard: {\n display: \"flex\",\n flexDirection:\"column\"\n },\n cardspace: {\n paddingTop: theme.spacing(1),\n paddingBottom: theme.spacing(2) \n },\n card: {\n width: 308\n },\n jobPost: {\n flexGrow: 1,\n width: \"100%\"\n },\n noResults: {\n display: \"flex\",\n flexGrow: 0,\n flexDirection: \"row\",\n justifyContent: \"center\",\n color: theme.palette.text.primary,\n width: \"100%\",\n height: \"fit-content\"\n },\n map: {\n flexGrow: 0,\n width: \"100%\",\n padding: 0,\n [theme.breakpoints.down('xs')]: {\n height: \"calc(100vh - 182px)\",\n width: \"100%\",\n marginTop: theme.spacing(0),\n },\n [theme.breakpoints.up('sm')]: {\n height: \"calc(100vh - 210px)\",\n width: \"100%\",\n marginTop: theme.spacing(1),\n borderRadius: 10,\n },\n marginBottom: 12,\n overflow: \"hidden\",\n },\n})\n\nenum View {\n Map,\n List,\n JobPost\n}\n\ninterface IJobsPageProps {\n userStore?: UserStore\n resourceCache?: ResourceCache\n accountStore?: AccountStore\n jobStore?: JobStore\n progress?: Progress\n notify?: Notify\n confirm?: Confirm\n location?: any\n}\n\n@inject(\"userStore\", \"resourceCache\", \"accountStore\", \"jobStore\", \"progress\", \"notify\", \"confirm\")\n@observer\nclass JobsPage extends React.Component & RouteComponentProps & IJobsPageProps & WithTheme & WithWidth> {\n @observable serviceGroups?: ServiceGroup[] = []\n @observable serviceFilter?: ServiceOption\n @observable locationFilter?: LocationOption\n @observable jobPosts: JobPost[] = []\n @observable jobPost?: JobPost\n @observable jobInterests: JobInterest[] = []\n @observable jobInterest?: JobInterest\n @observable showResults = false\n @observable isJobInterestApplyDialogOpen: boolean = false\n @observable myJobsOn: boolean = false\n @observable isMapOn: boolean = false\n @observable isJobBoardOn: boolean = false\n @observable isCardspaceOn: boolean = true\n @observable showMap: boolean = true\n @observable locationJobPosts: LocationJobPosts[] = []\n @observable view: View = View.Map\n @observable viewport = {\n // Geographic center of continental US\n latitude: 39.828303,\n longitude: -98.579476,\n zoom: 2,\n }\n @observable bounds?: LngLatBounds\n @observable industryFilter?: string\n @observable isLoading = true\n\n defaultSearchRadius = 50 * 1609.34 // 50 miles in meters\n\n constructor(\n props: WithStyles & RouteComponentProps & IJobsPageProps & WithTheme & WithWidth\n ) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount () {\n const {userStore, jobStore, resourceCache, progress, location} = this.props\n\n this.isLoading = true\n progress!.show(\"JobsPage\")\n when(\n // once\n () => !userStore!.isLoading && !jobStore!.isLoading && !resourceCache!.isLoading,\n // then \n async () => {\n this.industryFilter = userStore!.industry\n if (location && location.search) {\n const searchParams = new URLSearchParams(location.search)\n const serviceId = searchParams.get(\"serviceId\")\n if (serviceId) {\n this.serviceFilter = resourceCache!.getServiceOption(serviceId)\n }\n const locationId = searchParams.get(\"locationId\")\n if (locationId) {\n this.locationFilter = resourceCache!.getLocationOption(locationId)\n }\n }\n if (location && location.pathname === Routes.myJobs) {\n this.myJobsOn = true\n }\n this.updateView(View.Map)\n this.isMapOn = false\n if (this.isWidthSM()) {\n this.viewport.zoom = 2\n }\n if (this.locationFilter) {\n this.updateViewport()\n } else {\n this.viewport = {\n // Geographic center of continental US\n latitude: 39.828303,\n longitude: -98.579476,\n zoom: 2\n }\n if (this.isWidthSM()) {\n this.viewport.zoom = 2\n }\n }\n await this.loadJobInterests()\n // Wait for map to load\n // TODO: Investigate other options based on map loading status\n setTimeout(() => {\n this.isMapOn = true\n }, 500)\n // await this.searchJobs()\n this.isLoading = false\n progress!.hide(\"JobsPage\")\n }\n )\n\n autorun(\n () => {\n if (!userStore!.isLoading && userStore!.industry !== this.industryFilter) {\n this.industryFilter = userStore!.industry\n this.refreshMap()\n }\n }\n )\n }\n\n componentDidUpdate(prevProps: any) {\n if (prevProps.width !== this.props.width) {\n if (isWidthDown('xs', this.props.width)) {\n this.isCardspaceOn = !this.isMapOn\n } else {\n this.isCardspaceOn = true\n }\n }\n }\n\n render() {\n const { classes } = this.props\n\n const title = this.myJobsOn ? \"My Jobs\" : \"Find Jobs\"\n\n return (\n \n { this.isLoading === false && \n \n
\n \n \n \n {title}\n \n \n \n \n \n {this.myJobsOn ?\n \"Jobs I have saved or have applied for.\" :\n \"Search for jobs available by job title and/or location.\"\n }\n \n \n \n \n
\n\n {this.renderFilterBar()}\n\n {this.isMapOn &&\n this.renderMap()\n }\n {!this.isMapOn && this.isCardspaceOn && !this.jobPost &&\n this.renderCardspace()\n }\n {this.isJobBoardOn && !this.jobPost &&\n this.renderJobBoard()\n }\n {(this.isJobBoardOn || this.isCardspaceOn) && !this.isMapOn && this.jobPost &&\n
\n {this.renderJobPost()}\n
\n }\n {this.jobPost &&\n \n }\n
\n }\n
\n )\n }\n\n renderMap = () => {\n const { classes } = this.props\n\n return (\n
\n {this.isCardspaceOn && this.renderCardspace()}\n {this.jobPost &&\n
\n {this.renderJobPost()}\n
\n }\n {this.showMap &&\n
\n \n
\n }\n
\n )\n }\n\n renderCardspace = () => {\n const {classes} = this.props\n\n return (\n
\n {this.showResults && this.jobPosts.length > 0 &&\n {\n return (\n 0) ? (row as JobPost).jobInterests[0] : undefined}\n onClick={this.onClickJobPost}\n />\n )\n }\n }}\n />\n }\n {this.showResults && this.jobPosts.length === 0 &&\n
\n {this.renderNoResults()}\n
\n }\n
\n )\n }\n\n renderJobBoard = () => {\n const { classes } = this.props\n\n return (\n
\n \n \n { this.jobPosts.map(jobPost => {\n return (\n \n 0 ? jobPost.jobInterests[0] : undefined}\n onClick={() => this.onClickJobPost(jobPost)}\n />\n \n )\n }) }\n \n \n\n
\n )\n }\n\n renderFilterBar = () => {\n const {classes, userStore} = this.props\n /*\n isMapOn JobPost View Button\n ------- ------- ------ -----------\n JobBoard Show Map\n X JobPost Show List\n X List+Map Show List\n X X List+JobPost Show Map\n */\n\n let viewButton\n if ((!this.isMapOn && !this.jobPost) || (this.isMapOn && this.jobPost)) {\n viewButton =\n \n   Show Map\n \n } else {\n viewButton =\n \n   Show List\n \n }\n\n const buttons: [ReactNode] = [viewButton]\n\n if (userStore!.isCandidate || userStore!.isApplicant) {\n buttons.push(\n \n {this.myJobsOn &&\n \n   Find Jobs\n \n }\n {!this.myJobsOn &&\n \n   My Jobs\n \n }\n \n )\n }\n\n return (\n \n \n \n \n \n \n )\n }\n\n renderJobPost = () => {\n const { userStore } = this.props\n if (!this.jobPost) {\n return null\n }\n\n return (\n \n \n \n {/*{!userStore!.isAuthenticated &&*/}\n {/* */}\n {/* */}\n {/* */}\n {/*}*/}\n \n \n \n \n \n \n \n \n \n
\n \n )\n }\n\n renderNoResults = () => {\n const { userStore } = this.props\n\n if (this.locationFilter) {\n return (\n \n \n \n \n Sorry, no job posts matched your search.
Please try a different search.\n
\n
\n {!userStore!.isAuthenticated &&\n [\n \n If you haven't joined GovGig, we encourage you to apply so employers\n can find you!\n \n ,\n \n ControlTower.route(Routes.apply)}>\n Apply\n \n ]\n }\n
\n \n )\n } else {\n return (\n \n \n Select a Job Title and Location to view jobs\n \n \n )\n }\n\n }\n\n onSelectService = (value?: ServiceOption) => {\n if (value) {\n this.serviceFilter = value\n } else {\n this.serviceFilter = undefined\n }\n this.refreshMap()\n }\n\n refreshMap = () => {\n if (this.isMapOn && this.bounds) {\n this.onViewportChange(this.viewport, this.bounds)\n } else {\n this.searchJobBoard()\n }\n }\n\n onSelectLocation = (value?: LocationOption) => {\n // Temporarily hide the map to force a call to onViewportChange\n const restoreMap = this.isMapOn\n this.isMapOn = false\n\n if (value) {\n this.locationFilter = value\n this.updateViewport()\n } else {\n this.locationFilter = undefined\n }\n this.locationJobPosts = []\n // this.searchJobs()\n if (restoreMap) {\n setTimeout(() => {this.updateView(View.Map)}, 200)\n } else {\n this.searchJobBoard()\n }\n }\n\n onSelectMap = () => {\n if (this.jobPost && this.isWidthSM()) {\n this.updateView(View.List)\n } else if (this.isMapOn && this.jobPost) {\n this.updateView(View.Map)\n } else {\n this.updateView((this.isMapOn) ? View.List : View.Map)\n }\n }\n\n onSelectJobBoard = () => {\n this.updateView(View.List)\n }\n\n onSelectMyJobs = () => {\n // this.myJobsOn = !this.myJobsOn\n // this.searchJobs()\n if (this.myJobsOn) {\n ControlTower.route(Routes.findJobs)\n } else {\n ControlTower.route(Routes.myJobs)\n }\n }\n\n onClickJobPost = async (jobPost: JobPost) => {\n const { userStore, jobStore } = this.props\n\n\n this.jobInterest = jobPost.jobInterests.find(jobInterest => jobInterest.jobPostId === jobPost.id)\n // Load full job post\n this.jobPost = await jobStore!.getJobPost(jobPost.id) ?? jobPost\n\n if (userStore!.isCandidate || userStore!.isApplicant) {\n userStore!.logUserActivity(userStore!.user!.id, SubjectType.JobPost, this.jobPost.id, ActivityType.JobPostViewed,\n `${userStore!.user!.fullName} viewed the job post '${this.jobPost.fullName}'`)\n }\n\n this.updateView(View.JobPost)\n }\n\n onClickLocation = (locationId?: string) => {\n const { resourceCache } = this.props\n\n if (locationId) {\n this.locationFilter = resourceCache!.getLocationOption(locationId)\n if (this.isWidthSM()) {\n this.updateView(View.List)\n }\n } else {\n this.locationFilter = undefined\n }\n this.searchJobs()\n }\n\n updateViewport = () => {\n const { resourceCache } = this.props\n if (this.locationFilter) {\n const location = resourceCache!.getLocation(this.locationFilter!.id)\n if (location) {\n let zoom = 8\n switch (location.addressType) {\n case AddressType.World:\n zoom = 1\n break;\n case AddressType.Country:\n zoom = 3\n break\n case AddressType.State:\n zoom = 5\n break\n case AddressType.County:\n zoom = 7\n break\n case AddressType.City:\n zoom = 8\n break\n default:\n zoom = 9\n break\n }\n // console.log(`updateViewport: (${location.latitude}, ${location.longitude}), ${zoom}`)\n this.viewport = {\n latitude: location.latitude,\n longitude: location.longitude,\n zoom: zoom\n }\n }\n }\n }\n\n updateView = (view: View) => {\n if (this.isWidthSM()) {\n if (view === View.Map) {\n this.isCardspaceOn = false\n this.jobPost = undefined\n this.isMapOn = true\n } else if (view === View.List) {\n this.isMapOn = false\n this.jobPost = undefined\n this.isCardspaceOn = true\n this.isJobBoardOn = false\n } else if (view === View.JobPost) {\n this.isMapOn = false\n this.isCardspaceOn = true\n }\n } else {\n if (view === View.Map) {\n this.isCardspaceOn = true\n this.jobPost = undefined\n this.showMap = true\n this.isMapOn = true\n this.isJobBoardOn = false\n } else if (view === View.List) {\n this.jobPost = undefined\n this.showMap = false\n this.isCardspaceOn = false\n this.isMapOn = false\n this.isJobBoardOn = true\n } else if (view === View.JobPost) {\n this.showMap = false\n this.isCardspaceOn = this.isMapOn\n this.isJobBoardOn = !this.isMapOn\n }\n }\n this.view = view\n }\n\n onViewportChange = async (viewport: any, bounds: LngLatBounds) => {\n const { jobStore, resourceCache } = this.props\n\n this.viewport = viewport\n this.bounds = bounds\n\n const serviceId = this.serviceFilter ? this.serviceFilter.id : undefined\n\n let stateSearch\n let countrySearch\n let anywhereSearch\n let remoteSearch\n if (this.locationFilter) {\n const location = resourceCache!.getLocation(this.locationFilter.id)\n if (location?.addressType === AddressType.State) {\n stateSearch = location.state\n } else if (location?.addressType === AddressType.Country) {\n countrySearch = location.country\n } else if (location?.addressType === AddressType.World) {\n if (location.name === 'Remote') {\n remoteSearch = true\n } else {\n anywhereSearch = true\n }\n }\n }\n\n let locationJobPosts\n let options: IJobSearchOptions = {\n industry: this.industryFilter,\n workSetting: remoteSearch ? WorkSetting.Remote : undefined\n }\n if (stateSearch) {\n locationJobPosts = await jobStore!.listLocationJobPostsByState(stateSearch, serviceId, options)\n } else if (countrySearch) {\n locationJobPosts = await jobStore!.listLocationJobPostsByCountry(countrySearch, serviceId, options)\n } else if (anywhereSearch || remoteSearch) {\n locationJobPosts = await jobStore!.listLocationJobPostsAnywhere(serviceId, options)\n } else {\n locationJobPosts = await jobStore!.listLocationJobPostsByBounds(bounds, serviceId, options)\n }\n\n // if (this.locationFilter) {\n // // Make sure what is currently selected in the location filter is in the search results\n // const found = this.locationJobPosts.find((item: LocationJobPosts) => item.location.id === this.locationFilter!.id)\n // if (!found) {\n // // console.log(`onViewPortChange: current location not found`)\n // let jobPosts: JobPost[]\n // const todaysISODate = getISODateToday()\n // const filter: ModelJobPostFilterInput = {\n // and: [\n // {openDate: {le: todaysISODate}},\n // {or: [\n // {closedDate: {attributeType: ModelAttributeTypes._null}},\n // {closedDate: {attributeExists: false}},\n // ]}\n // ]\n // }\n // if (serviceId) {\n // jobPosts = await jobStore!.listJobPostsByServiceAndLocation(serviceId, this.locationFilter.id, filter)\n // } else {\n // jobPosts = await jobStore!.listJobPostsByLocation(this.locationFilter.id, filter)\n // }\n // const location = resourceCache!.getLocation(this.locationFilter.id)\n // if (location) {\n // // console.log(`onViewportChange: Added current location with ${jobPosts.length} job posts`)\n // locationJobPosts.push(new LocationJobPosts(location!, jobPosts))\n // }\n // } else {\n // // console.log(`onViewportChange: current location found with ${found.jobPosts.length} job posts`)\n // }\n // }\n this.locationJobPosts = locationJobPosts\n\n this.searchJobs()\n }\n\n isWidthXS = (): boolean => {\n return isWidthDown('xs', this.props.width)\n }\n\n isWidthSM = (): boolean => {\n return isWidthDown('sm', this.props.width)\n }\n\n searchJobs = async () => {\n const { resourceCache } = this.props\n\n this.jobPost = undefined\n this.showResults = false\n\n let serviceId = (this.serviceFilter) ? this.serviceFilter.id : \"\"\n let locationId = (this.locationFilter) ? this.locationFilter.id : \"\"\n let jobPosts: JobPost[] = []\n\n if (this.myJobsOn) {\n // Search JobInterests\n this.jobInterests.forEach((jobInterest: JobInterest) => {\n const jobPost = jobInterest.jobPost\n if (jobPost) {\n if (!serviceId || serviceId === jobPost.serviceId) {\n if (!locationId || locationId === jobPost.locationId) {\n if (jobPost.jobInterests.length === 0) {\n jobPost.jobInterests.push(jobInterest)\n }\n jobPosts.push(jobPost)\n }\n }\n }\n })\n this.showResults = true\n } else {\n let locationId = (this.locationFilter) ? this.locationFilter.id : \"\"\n\n if (locationId && this.locationJobPosts) {\n let location = resourceCache!.getLocation(locationId)\n if (location?.addressType !== AddressType.State && location?.addressType !== AddressType.Country &&\n location?.addressType !== AddressType.World) {\n const found = this.locationJobPosts.find((item: LocationJobPosts) => item.location.id === locationId)\n if (found) {\n jobPosts = found.jobPosts\n }\n }\n }\n\n if (jobPosts.length === 0) {\n // If no job posts for the selected location, then show all job posts in view\n this.locationJobPosts.forEach((locationJobPosts: LocationJobPosts) => {\n jobPosts = [...jobPosts, ...locationJobPosts.jobPosts]\n })\n }\n\n jobPosts.forEach((jobPost: JobPost) => {\n if (this.jobInterests.length > 0) {\n const jobInterest = this.getJobInterestByJobPostId(jobPost.id)\n if (jobInterest) {\n jobPost.jobInterests.push(jobInterest)\n }\n }\n })\n this.showResults = true\n }\n\n if (!this.myJobsOn) {\n // Sort by title and createdAt\n // matchSorter(jobPosts, )\n\n if (this.serviceFilter) {\n jobPosts = matchSorter(jobPosts, this.serviceFilter.name,\n {keys: ['title'],\n baseSort: (a, b) => b.item.createdAt.localeCompare(a.item.createdAt),\n threshold: matchSorter.rankings.NO_MATCH\n })\n } else {\n jobPosts.sort((a: JobPost, b: JobPost) => {\n if (locationId) {\n if (a.locationId === b.locationId) {\n return b.createdAt.localeCompare(a.createdAt)\n } else if (a.locationId === locationId) {\n return -1\n } else if (b.locationId === locationId) {\n return 1\n } else {\n return 0\n }\n } else {\n return b.createdAt.localeCompare(a.createdAt)\n }\n })\n }\n }\n\n this.jobPosts = jobPosts\n this.showResults = true\n }\n\n searchJobBoard = async () => {\n const {jobStore} = this.props\n\n const locationId = this.locationFilter ? this.locationFilter.id : undefined\n const serviceId = this.serviceFilter ? this.serviceFilter.id : undefined\n const industry = this.industryFilter ? this.industryFilter : undefined\n\n let jobPosts: JobPost[] = []\n\n let options: IJobSearchOptions = {\n industry: industry\n }\n\n this.jobPosts = await jobStore!.findJobPosts(serviceId, locationId, options)\n }\n\n loadJobInterests = async () => {\n const { jobStore, userStore } = this.props\n\n if (userStore!.isCandidate || userStore!.isApplicant) {\n this.jobInterests = await jobStore!.listJobInterestsByUser(userStore!.user!.id)\n // Sort newest created first\n this.jobInterests.sort((a: JobInterest, b: JobInterest) => b.createdAt.localeCompare(a.createdAt))\n\n // Load corresponding JobPosts\n if (this.jobInterests.length > 0) {\n let promises = this.jobInterests.map((jobInterest: JobInterest) => {\n return jobStore!.getJobPost(jobInterest.jobPostId)\n .then((jobPost: JobPost | undefined) => {\n if (jobPost) {\n jobInterest.jobPost = jobPost\n }\n })\n })\n await Promise.all(promises)\n }\n }\n }\n\n getJobInterestByJobPostId = (jobPostId: string) => {\n return this.jobInterests.find((j: JobInterest) => j.jobPostId === jobPostId)\n }\n\n onSave = async (jobPost: JobPost) => {\n const { userStore, jobStore, notify, confirm } = this.props\n\n if (!(userStore?.isCandidate || userStore!.isApplicant)) {\n return\n }\n\n let jobInterest: JobInterest | undefined | void = jobPost.jobInterests.length > 0 ? jobPost.jobInterests[0] : undefined\n if (!jobInterest) {\n // Create new jobInterest\n const input: CreateJobInterestInput = {\n userId: userStore!.user!.id,\n jobPostId: jobPost.id,\n status: JobInterestStatus.Interested,\n ranking: 0\n }\n\n jobInterest = await jobStore!.createJobInterest(input)\n .catch((err: Error) => {\n notify!.show(\"error\", \"Error saving job interest\")\n })\n\n if (jobInterest) {\n this.jobInterests.push(jobInterest)\n jobPost.jobInterests.push(jobInterest)\n this.jobInterest = jobInterest\n }\n } else {\n // Delete JobInterest\n if (jobInterest.status !== JobInterestStatus.Interested) {\n confirm!.show(\"Confirm Remove Job\",\n `Please confirm you want to remove this ${jobInterest.status} status job post from My Jobs.`,\n [\"Confirm\",\"Cancel\"], async () => {\n this.deleteJobInterest(jobInterest, jobPost);\n return true\n })\n } else {\n await this.deleteJobInterest(jobInterest, jobPost);\n }\n }\n }\n\n private async deleteJobInterest(jobInterest: JobInterest | void, jobPost: JobPost) {\n const { jobStore, notify } = this.props\n\n if (!jobInterest) {\n return\n }\n\n const deleted = await jobStore!.deleteJobInterest(jobInterest.id)\n .catch((err: Error) => {\n notify!.show(\"error\", \"Error deleting job interest\")\n })\n\n if (deleted && jobInterest.id) {\n jobPost.jobInterests = []\n const jobInterestId = jobInterest.id\n this.jobInterests.splice(this.jobInterests.findIndex((j: JobInterest) => j.id === jobInterestId), 1)\n this.jobInterest = undefined\n }\n }\n\n onApply = async (jobPost: JobPost) => {\n const { jobStore } = this.props\n\n // if (!(userStore?.isCandidate || userStore!.isApplicant)) {\n // return\n // }\n\n // Get jobPost questions\n const fullJobPost = await jobStore!.getJobPost(jobPost.id)\n if (fullJobPost) {\n this.jobPost!.questions = fullJobPost.questions\n }\n\n this.isJobInterestApplyDialogOpen = true\n }\n\n onApplySubmit = (jobPost: JobPost) => {\n const { userStore } = this.props\n\n this.jobPost = jobPost\n this.jobInterest = jobPost.jobInterests.length > 0 ? jobPost.jobInterests[0] : undefined\n\n userStore!.logUserActivity(userStore!.user!.id, SubjectType.JobPost, jobPost.id, ActivityType.JobCandidateApplied,\n `${userStore!.user!.fullName} applied to the job post '${jobPost.fullName}'`)\n\n this.isJobInterestApplyDialogOpen = false\n }\n\n onApplyClose = () => {\n this.isJobInterestApplyDialogOpen = false\n }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(JobsPage)))\n","export default __webpack_public_path__ + \"static/media/EmployerApply_All.c09041fd.png\";","export default __webpack_public_path__ + \"static/media/academy_govgig_screenshot_2_480x270.801e1d02.jpg\";","export default __webpack_public_path__ + \"static/media/EmployerApply_Construction.d2a43ead.png\";","export default __webpack_public_path__ + \"static/media/ForEmployersCard.c0e58d7d.png\";","import * as React from 'react'\nimport UserStore from \"../../stores/UserStore\";\nimport {inject, observer} from \"mobx-react\";\nimport {RouteComponentProps} from \"@reach/router\";\nimport {createStyles, Theme, WithStyles, WithTheme} from \"@material-ui/core/styles\";\nimport {Box, Grid, Paper, Typography, WithWidth, isWidthDown, withStyles, withTheme, withWidth} from \"@material-ui/core\";\nimport MarginRow from \"../../components/page/MarginRow\";\nimport Page from \"../../components/page/Page\";\n\nimport candidateImage from '../../images/JobSeekerApply_All.png'\nimport employerImage from '../../images/EmployerApply_All.png';\nimport academyImage from '../../images/academy_govgig_screenshot_2_480x270.jpg'\n\nimport constructionCandidateImage from '../../images/JobSeekerApply_Construction.png'\nimport constructionEmployerImage from '../../images/EmployerApply_Construction.png';\n\nimport itCandidateImage from \"../../images/ForJobSeekersCard.png\";\nimport itEmployerImage from \"../../images/ForEmployersCard.png\"\n\nimport ActionButton from \"../../components/controls/ActionButton\";\nimport ControlTower, {Routes} from \"../../components/ControlTower\";\nimport config from \"react-global-configuration\";\nimport { when } from 'mobx';\nimport { NAICS } from '../../model/Industry';\nimport theme from '../../styles/theme';\n\nconst styles = (theme: Theme) => createStyles({\n root: {\n flexGrow: 1,\n justifyContent: 'top',\n alignItems: 'center',\n },\n content: {\n // marginTop: theme.spacing(2),\n // marginLeft: theme.spacing(1),\n // marginBottom: theme.spacing(2)\n },\n panel: {\n marginTop: theme.spacing(3),\n // height: 400,\n paddingTop: theme.spacing(3),\n paddingBottom: theme.spacing(5),\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3)\n },\n image: {\n width: 'auto',\n height: 150,\n // maxWidth: \"100%\",\n marginTop: 7,\n flex: 1,\n borderRadius: theme.spacing(2)\n },\n actionButton: {\n textAlign: \"center\"\n },\n title: {\n fontSize: \"32px\"\n }\n})\n\ninterface IJoinPageProps {\n userStore?: UserStore\n location?: any\n}\n\n@inject(\"userStore\")\n@observer\nclass JoinPage extends React.Component & RouteComponentProps & IJoinPageProps & WithTheme & WithWidth> {\n \n imageForJobSeeker = () => {\n const { userStore } = this.props \n const industry = userStore!.industry\n if (industry === NAICS.Construction) {\n return constructionCandidateImage\n } else if (industry === NAICS.InformationTechnology) {\n return itCandidateImage \n } else {\n return candidateImage\n }\n }\n\n imageForEmployer = () => {\n const { userStore } = this.props \n const industry = userStore!.industry\n if (industry === NAICS.Construction) {\n return constructionEmployerImage\n } else if (industry === NAICS.InformationTechnology) {\n return itEmployerImage \n } else {\n return employerImage\n }\n }\n\n render() {\n const { classes, userStore, width } = this.props\n\n const academySignupRoute = `${config.get(\"academyUrl\")}/signup`\n\n const isXS = isWidthDown('sm', width)\n\n return (\n \n \n \n \n \n \n \n \n GovGig Sign Up\n \n \n \n \n \n \n Sign up to the community of quality candidates and excellent employers, connecting for work on Federal projects.\n \n \n \n \n \n \n \n \n \n For Job Seekers\n \n \n \"GovGig\n \n \n \n \n Are you looking for a role now or for the future?\n \n \n \n \n ControlTower.route(Routes.apply)}\n />\n \n \n \n \n \n \n \n \n For Employers\n \n \n \"GovGig\n \n \n \n \n Are you an employer in need of candidates?\n \n \n \n \n ControlTower.route(Routes.signup)}\n />\n \n \n \n \n \n \n \n \n \n \n \n \n For Training\n \n \n \"GovGig\n \n \n \n \n Are you a looking for federal construction training or to provide training in your company?\n \n \n \n \n ControlTower.route(academySignupRoute)}\n />\n \n \n \n \n \n \n \n \n \n \n \n )\n }\n}\n\nexport default withTheme((withStyles(styles)(withWidth()(JoinPage))))\n\n\n","export default __webpack_public_path__ + \"static/media/header_logo.2f8719fc.png\";","import * as React from 'react'\nimport {createStyles, Theme, withStyles, WithStyles} from \"@material-ui/core/styles\";\nimport ControlTower, {Routes} from \"../../components/ControlTower\";\nimport {Box, Link} from \"@material-ui/core\";\nimport Logo from \"../../images/header_logo.png\";\n\nconst styles = (theme: Theme) => createStyles({\n link: {\n textDecoration: 'none',\n color: theme.palette.action.active,\n cursor: \"pointer\"\n },\n table: {\n borderSpacing: 0,\n borderCollapse: \"collapse\"\n },\n td: {\n borderWidth: 1,\n borderStyle: \"solid\",\n borderColor: theme.palette.text.secondary,\n padding: 4,\n \"&:first-child\": {\n fontWeight: 600,\n whiteSpace: \"nowrap\"\n }\n }\n})\n\nclass PrivacyPolicyUS extends React.Component> {\n\n render() {\n const {classes} = this.props\n\n const backLink = (document.referrer.endsWith(Routes.terms)) ?\n

Back

: null\n\n return (\n
\n {backLink}\n \n \"logo\"/\n \n\n

PRIVACY POLICY

\n\n

Last Updated: March 18, 2022

\n\n

This privacy policy is part of the Terms of Use agreement between you and Watermark Solutions LLC, DBA GovGig (“Company”). It is Company's policy to respect your privacy regarding any information we may collect while operating our website. This Privacy Policy applies to https://www.GovGig.us (hereinafter, \"us\", \"we\", or \"Https://www.GovGig.us\"). We respect your privacy and are committed to protecting personally identifiable information you may provide us through the Website. We have adopted this privacy policy (\"Privacy Policy\") to explain what information may be collected on our Website, how we use this information, and under what circumstances we may disclose the information to third parties. This Privacy Policy applies only to information we collect through the Website and does not apply to our collection of information from other sources.

\n

This Privacy Policy, together with the Terms and conditions posted on our Website, set forth the terms, conditions and policies governing your use of our Website. Depending on your activities when visiting our Website, you may be required to agree to additional terms and conditions.

\n\n

Definitions

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
CompanyWatermark Solutions LLC, DBA GovGig and its wholly owned subsidiaries
Non-Personal DataData that is not considered personal data under applicable law. Company reserves the right to treat data as Personal Data or Non-Personal Data based on applicable law, the data and the data subject.
Personal DataAny information or data that identifies you or could reasonably be used to identify you or your computing device(s) either directly or indirectly.
Sensitive Personal DataData about you that discloses race or ethnic origin, religion, beliefs, genetic or biometric data, union membership, health data, sexual identity, sexual orientation
SiteThe GovGig.us website
\n\n

Data We Collect

\n

As permitted by law, Company may collect, use, store and transfer personal data about you:

\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
Identifying Dataname, resume, user name or other identifier
Contact Dataaddress, email address, phone number or other contact information
Financial Datacredit, debit or payment service data, which is collected by Company’s payment service providers. Company does not directly collect Financial Data
Transaction Datainformation about payments made, goods and services subscriptions.
Access Datadevice identifiers, login data, dates and times of Site access, browser type and version, operating system type and version, cookie data, time zone and location, other technology on the device(s) you use to access the Site, and how you use the Site.
Account Datayour username and password, orders placed, preferences, searches, feedback, survey responses, job applications.
\n\n

Non-Personal Data

\n

Company collects, stores and uses aggregated data that may be derived from your Personal Data but is not considered Personal Data because it does not directly or indirectly disclose your identity.

\n\n

Required Personal Data

\n

Where required by law or under the terms of an agreement between you and Company, you may be asked to provide Personal Data. You agree that where such Personal Data is reasonably required by your agreement with Company for the fulfilment of the services provided by Company, or required by law, Company may limit or terminate services on Site if you do not provide such required Personal Data.

\n\n

Sensitive Personal Data

\n

Company does not require or ask you to provide Sensitive Personal Data. You are responsible for any Sensitive Personal Data you include in resumes or other information you post on the Site, and you agree that Company shall have no liability for any Sensitive Personal Data you provide.

\n\n

Sources of Personal Data

\n

Personal Data includes data that you provide directly to Company when you create or update an account or use the services of the Site. It also includes data that you provide indirectly, such as your activity on the Site. We also receive data from third parties such as analytics or advertising providers that can be Personal Data.

\n\n

How Your Data is Used

\n

Non-Personal Data

\n

We may use your non-Personal data for any purpose not prohibited by law or where inconsistent with the Terms of Use, Privacy Policy, and any jurisdictionally specific privacy policies of Company.

\n\n

Personal Data

\n

We will only use your Personal Data to provide services to you by Company or its affiliates, except as otherwise described herein, or as permitted by your consent.

\n\n

Who We Share Your Data With

\n

Company shares Personal Data only to those that need to know that information in order to process it on Company’s behalf or to provide services available from the Site. Third parties receiving your Personal Data are authorized to only use such data for the designated purpose and are not authorized to share your data with other third parties. Company may share Personal Data with third parties including:

\n
    \n
  • External third parties in order to provide services to you, such as identify verification, IT services, payment platforms, communication services, and security.
  • \n
  • Professional advisors such as lawyers, bankers, insurers and financial services in the operation of its business.
  • \n
  • Taxing authorities, where reporting of processing activities is required.
  • \n
  • Fraud protection services where disclosure is reasonably necessary to protect the interests or safety of Company, its customers or others.
  • \n
  • In connection with proposed or actual financing, merger, sale, purchase or transfer of the Company. In the event of a merger, sale or reorganization, the users of the Site will be one of the assets transferred. The terms of this Privacy Policy shall be binding on successors to Company.
  • \n
  • Third parties, where you have consented to disclosure of your Personal Data, including when you post your resume or apply for a posted job.
  • \n
  • Law enforcement agencies, courts, and other third parties to the extent required by law or required to comply with the legal obligations of Company.
  • \n
  • Where required to enforce the Terms of Use and other agreements, to protect the rights of Company, customers and other third parties, or where required to investigate or act on suspected or actual unlawful acts.
  • \n
  • When you apply for a job, Company will share your Personal Data with the prospective employer or its agent.
  • \n
  • When you post your resume, Company will share your Personal Data with prospective employers and/or their agents. When you remove your resume, Company will stop sharing your resume, however employers or their agents who were provided access to your Personal Data prior to you removing your resume will continue to have your Personal Data.
  • \n
\n\n

Company does not sell your information to third parties.

\n\n

Where your Data is Stored

\n

Retention of your Personal Data depends on the purpose of the data, legal or accounting requirements associated with the data, and any regulatory requirements such as financial or tax reporting, any requests made by you concerning the retention of your Personal Data, and where retaining the data is necessary to the rights of Company (such as defense of claims). Company may anonymize your Personal Data so it can no longer be associated to you and may use that anonymized data without further notice.

\n\n

Data Subject Rights

\n

Depending on applicable law, you may have rights concerning your Personal Data

\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
Informationthe right to know what personal data Company has about you and how it is used
Accessthe right to a copy of your Personal Data, subject to restrictions
Rectificationthe right to require Company to correct incomplete or inaccurate Personal Data
Withdrawalthe right to withdraw your consent for Company to process to your Personal Data. Withdrawal of consent will not affect the lawfulness of any processing performed prior to your withdrawal of consent. Withdrawal of your consent may result in termination of services on the Site.
\n\n

Exercising Data Subject Rights

\n

Requests to exercise your data subject rights can be made by email to dsar@govgig.us. You must provide your account identifier. You will be asked to provide additional information from which Company can verify your request. No fees for exercising data subject rights are ordinarily required, however Company may charge a reasonable fee if your request is excessive, repetitive or unfounded.

\n\n

Time to Respond to Data Subject Requests

\n

Company will endeavor to respond to all legitimate requests within the time limits required by applicable law. In the event of a delay, you will be notified with the reason of such delay.

\n\n

Marketing

\n

Company may use your Personal Data to send you marketing emails with information about the services provided by Company and will obtain consent to do so where required by law. You may unsubscribe to such marketing by choosing the option to unsubscribe included in such marketing emails.

\n\n

Cookies

\n

Company and third parties may use cookies or similar tracking technologies to analyze trends, operate the Site, track user activities on the Site and to gather demographic data. You may elect to disable cookies using your browser settings; however, some features of the Site may not be available when cookies are disabled. Your use of the Site without changing your browser settings indicates your acceptance of Company’s use of cookies and similar tracking technologies.

\n\n

Data Security

\n

Company uses appropriate organizational and technical measures to protect Personal Data. No transmission or storage of data can be guaranteed to be 100% secure. You acknowledge that there are security and privacy limitations of the Internet that are beyond Company’s control. The security, integrity and privacy of data exchanged between you and Company cannot be guaranteed.

\n\n

Links to Third Party Sites

\n

The Site may contain links to external sites that are not operated by us. If you click on a third-party link, you will be directed to that third party's site. Company strongly advises you to review the Privacy Policy and terms and conditions of every site you visit.

\n

Company has no control over, and assume no responsibility for, the content, privacy policies or practices of any third-party sites, products or services.

\n\n

Minors and Children

\n

The services of Company and the Site are not intended for use by persons under the age of eighteen years. Company does not knowingly collect or solicit for Personal Data from anyone under the age of 13 or knowingly allow such persons to register to use the Site. In the event that you believe Company might have Personal Data from or about a child under 13, contact dsar@govgig.us. We will delete that data to the extent required by law as quickly as possible

\n\n

Changes to Privacy Policy

\n

Company reserves the right to change this Privacy Policy at any time. You will be notified of material changes by Company posting notice on the Site or issuing email to registered users of the Site prior to such changes. Company will update the effective date of such changes on the Site. You acknowledge that you are responsible for maintaining a current email with your account on Site and to review this Privacy Policy on the site periodically. If you object to any changes to the Privacy Policy or any terms of service, you can stop using the Site and delete your account. Your continued use of the site indicates your acceptance of any changes to this Privacy Policy.

\n\n

Residents of California

\n

Residents of California have specific rights under the California Consumer Privacy Act. Company’s Privacy Notice for residents of California is at {Routes.privacyCCPA} and is hereby incorporated into this Privacy Policy.

\n\n
\n )\n }\n}\n\nexport default withStyles(styles)(PrivacyPolicyUS)","import * as React from 'react'\nimport {createStyles, Theme, withStyles, WithStyles} from \"@material-ui/core/styles\";\nimport ControlTower, {Routes} from \"../../components/ControlTower\";\nimport {Link} from \"@material-ui/core\";\n\nconst styles = (theme: Theme) => createStyles({\n link: {\n textDecoration: 'none',\n color: theme.palette.action.active,\n cursor: \"pointer\"\n },\n})\n\nclass PrivacyPolicyCCPA extends React.Component> {\n\n render() {\n const {classes} = this.props\n\n const backLink = (document.referrer.endsWith(Routes.privacy)) ?\n

Back

: null\n\n return (\n
\n {backLink}\n

GovGig.us California Privacy Notice

\n

Last Updated: March 18, 2022

\n\n

This California Privacy Notice is part of the Terms of Use agreement between you and Watermark Solutions LLC, DBA GovGig (“Company”). This privacy notice supplements the information contained in Company’s Privacy Policy and applies solely to residents of the State of California using the Site. Company adopts this policy to comply with the California Consumer Privacy Act.

\n\n

Information we collect

\n

Personal information

\n

Company may collect:

\n
    \n
  • Identifiers such as name, alias, email address, phone number, username, unique personal identifier, IP address, device id, account name and similar identifiers.
  • \n
  • Personal information categories such as name, address, phone number, education, employment, employment history, financial information (credit card, debit card, bank account information).
  • \n
  • Commercial information, including services on the Site you view or purchase, and details of services to which you subscribe.
  • \n
  • Internet data including login history, search history, browsing activity, browser type and version, device information, cookie data, browser plugin types and version, and operating system of your device.
  • \n
  • Geolocation data including time zone, and location (latitude/longitude).
  • \n
  • Employment information including job searches, job applications, information provided in your resume or job seeker profile including work history and education.
  • \n
  • Inferences drawn from your personal information and activity on the Site that reflect your preferences.
  • \n
\n\n

Non-personal information

\n

Company may collect, use and share data or aggregated data that has all personally identifying information removed. Such de-identified or aggregated data may be derived from your personal data but is not considered personal information under CCPA because it does not directly or indirectly disclose your identity.

\n\n

Information we do not collect

\n

Company does not ask you for protected classifications under California or federal law. Protected classifications of data include age (40+ years), race, color, ancestry, national origin, citizenship, religion, creed, marital status, disability (physical or mental), gender identity, gender expression, pregnancy or childbirth, sexual orientation, genetic information, and veteran or military status. You are responsible for assessing information you provide in your profile or resume that are protected and are not necessary for your application or search.

\n

Company does not collect biometric information, sensory information or non-public education information.

\n\n

Sources of Personal Data

\n

Personal Data includes data that you provide directly to Company when you create or update an account or use the services of the Site. It also includes data that you provide indirectly, such as your activity on the Site. We also receive data from third parties such as analytics or advertising providers that can be Personal Data.

\n\n

Sale of Personal Data

\n

Company does not sell your information to third parties. Company provides your information to its affiliates on your behalf when you apply for a job or post your information on the Site. Company does not receive payment for providing your information to affiliates. Company receives payment when a job seeker is placed with an affiliate as an employee or contractor. This may constitute a “sale” of personal information under the CCPA.

\n\n

Your rights under the CCPA

\n

The CCPA provides California residents with specific rights concerning personal information.

\n\n

Access to information about you and its use by Compan

\n

If you are a California resident and the CCPA does not recognize an exception to you or your personal information, you may request that Company provide to you information about Personal Data that Company has and how it is used. Company will provide to you, after it has received and verified your request, (a) the categories of information Company collects about you (b) the categories of sources of that information (c) the purpose for collecting the data (d) the categories of third parties the data has been shared with, (e) the specific data collected (f) the personal information categories for which your information was sold or disclosed to third parties.

\n\n

Deleting your personal information

\n

If you are a California resident and the CCPA does not recognize an exception to you or your personal information, you may request that Company delete your personal information. When Company receives and validates your request, your account on the Site will be deleted and your data deleted unless an exception applies.\n Your request may be denied under certain circumstances, including but not limited to when it is necessary to Company or a Company affiliate to complete the transaction for which your information was collected, or is necessary to Company to comply with law or court order.\n Anonymized and aggregated data are not considered personal information under CCPA.\n

\n\n

Exercising your rights

\n

Company will acknowledge your request within 10 business days and will provide information about how your request will be processed. Requests will ordinarily be fulfilled within forty-five (45) days. If more time is required, you will be notified in writing. Any disclosure requests will only cover the 12-month period preceding the date of your request. Company will provide notice of reasons it cannot comply with your request, if applicable.

\n\n

Opting out from the sale of Personal Information

\n

Requests to opt out of the sale of personal information can be made by email to ccpa@govgig.us. You are not required to create an account to exercise your right to opt out. We will only use personal information you provide with such requests to review and respond to such requests. The services of the Site cannot be performed without providing your Personal Data to affiliates of Company; therefore, when you request to opt out, your account and all personal data will be deleted.

\n\n

Non-Discrimination

\n

Company will not discriminate against you for exercising any of your CCPA rights, including denial of service, different pricing or discounts, or quality of goods or services.

\n\n

Affiliates

\n

Where Company has provided your personal information on your behalf to an affiliate, and you seek to access or delete your personal information, Company will provide affiliate contact information so that you may directly contact them.

\n\n

Changes to Privacy Notice

\n

Company reserves the right to change this Privacy Notice at any time. You will be notified of material changes by Company posting notice on the Site or issuing email to registered users of the Site prior to such changes. Company will update the effective date of such changes on the Site. You acknowledge that you are responsible for maintaining a current email with your account on Site and to review this Privacy Notice on the Site periodically. If you object to any changes to the Privacy Notice or any terms of service, you can stop using the Site and delete your account. Your continued use of the site indicates your acceptance of any changes to this Privacy Notice.

\n\n

Contact Information

\n

ccpa@govgig.us

\n\n

Mailing address:

\n

\n Watermark Solutions LLC, DBA GovGig
\n 19255 Powder Hill Pl NE, Suite 102
\n Poulsbo, WA 98370
\n USA\n

\n

Attn: CCPA

\n
\n )\n }\n}\n\nexport default withStyles(styles)(PrivacyPolicyCCPA)","import * as React from 'react'\nimport {createStyles, Theme, withStyles, WithStyles, withTheme, WithTheme} from \"@material-ui/core/styles\";\nimport {RouteComponentProps} from \"@reach/router\";\nimport Page from \"../../components/page/Page\";\nimport MarginRow from \"../../components/page/MarginRow\";\nimport PrivacyPolicyUS from \"./PrivacyPolicyUS\";\nimport PrivacyPolicyCCPA from \"./PrivacyPolicyCCPA\";\n\nconst styles = (theme: Theme) => createStyles({\n\n})\n\ninterface IPrivacyPolicyPageProps {\n option?: string\n}\n\nclass PrivacyPolicyPage extends React.Component & RouteComponentProps & WithTheme & IPrivacyPolicyPageProps> {\n\n componentDidMount() {\n window.addEventListener('scroll', this.handleScroll)\n }\n componentWillUnmount() {\n window.removeEventListener('scroll', this.handleScroll)\n }\n\n handleScroll = (event: any) => {\n const bottom = Math.ceil(window.innerHeight + window.scrollY) >= document.documentElement.scrollHeight\n\n if (bottom) {\n if (window.location !== window.parent.location) {\n // In iframe\n window.parent.postMessage(\"at-bottom\", '*');\n }\n }\n }\n\n render() {\n const { option } = this.props\n\n return (\n \n \n {option === undefined &&\n \n }\n {option === \"ccpa\" &&\n \n }\n \n \n )\n }\n}\n\nexport default withTheme((withStyles(styles)(PrivacyPolicyPage)))\n\n","import * as React from 'react'\nimport {createStyles, Theme, withStyles, WithStyles} from \"@material-ui/core/styles\";\nimport {Routes} from \"../../components/ControlTower\";\nimport {Box} from \"@material-ui/core\";\nimport Logo from \"../../images/header_logo.png\";\n\nconst styles = (theme: Theme) => createStyles({\n link: {\n textDecoration: 'none',\n color: theme.palette.action.active\n },\n})\n\nclass TermsOfUseUS extends React.Component> {\n\n render() {\n\n return (\n
\n \n \"logo\"/\n \n\n

TERMS OF USE

\n\n

Last Updated: March 18, 2022

\n\n

These Terms of Use for the GovGig.us site (hereafter “Site”) establish a binding agreement between you and Watermark Solutions LLC, DBA GovGig, a Washington limited liability company (hereafter “Company”). Your use of the GovGig.us site manifests your acceptance of these Terms of Use and Privacy Policy.

\n

The following terminology applies to these Terms of Use (the “Agreement”), Privacy Policy and where applicable Privacy Notice: \"Client\", \"You\" and \"Your\" refers to you, the person accessing this website and accepting the Company's terms and conditions. \"The Company\", \"Ourselves\", \"We\", \"Our\" and \"Us\", refers to Company. \"Party\", \"Parties\", or \"Us\", refers to both the Client and Company, or either the Client or Company. Any use of the above terminology or other words in the singular, plural, capitalization and/or he/she or they, are taken as interchangeable and therefore as referring to same.

\n\n

Consent to receive electronic communications

\n

By providing your email to Company, you consent to receiving communications by email. By providing your telephone number to Company, you consent to receiving messages via SMS. You may revoke your consent to electronic communications at any time from your Site settings.

\n\n

Eligibility

\n

You must be at least eighteen (18) years of age or the age of majority in the jurisdiction where you reside to use the Site. You may not use the Site if your use of the Site has been previously terminated or suspended by Company.

\n\n

Privacy Notice

\n

Please refer to the GovGig.us privacy policy which also governs your use of the Site.

\n\n

Cookies

\n

We employ the use of cookies. By using the Site you consent to the use of cookies in accordance with GovGig.us's privacy policy. Most of the modern-day interactive web sites use cookies to enable us to retrieve user details for each visit. Cookies are used in some areas of our site to enable the functionality of this area and ease of use for those people visiting. Some of our affiliate / advertising partners may also use cookies.

\n\n

License

\n

Subject to your compliance with these Terms of Use, applicable Terms of Service and your payment of any fees, Company grants you a limited, non-exclusive, non-transferrable, non-sublicenseable license to access and make personal and non-commercial use of the Site. This license transfers no ownership or intellectual property interest or title in the services or materials used in connection with the Site.

\n

All content available through the Site such as text, graphics, logos, button icons, images, digital downloads and software is property of Company or licensed to Company and is protected by US and international copyright law. The compilation of all content included in or made available through the service is the exclusive property of Company and protected by US and international copyright law.

\n

Graphics, logos, scripts, icons and service names on the Site are trademarks or trade dress of Company in the US. Company trademarks and trade dress may not be used in connection with any product or service that is not Company’s in any manner that is likely to cause confusion among customers or in any manner that disparages or discredits Company or GovGig.us. All other trademarks not owned by Company that appear on the Site are the property of their respective owners, who may or may not be affiliated with, connected to or sponsored by Company.

\n

Your license does not grant any license for resale or commercial use of the GovGig.us service, any use of bots, scraping, data mining or similar data gathering tools.

\n

All rights not explicitly granted to you are reserved to Company.

\n\n

You may view and/or print pages from the Site for your own personal use subject to restrictions set in these terms and conditions. You agree that you will not:

\n
    \n
  1. Republish material from the Site
  2. \n
  3. Sell, rent or sub-license material from the Site
  4. \n
  5. Reproduce, duplicate or copy material from the Site
  6. \n
  7. Redistribute content from the Site (unless content is specifically made for redistribution).
  8. \n
\n\n

Hyperlinking to our Content

\n
    \n
  1. The following organizations may link to our Web site without prior written approval:
  2. \n
      \n
    1. Government agencies;
    2. \n
    3. Search engines;
    4. \n
    5. News organizations;
    6. \n
    7. Online directory distributors when they list us in the directory may link to our Web site in the same manner as they hyperlink to the Web sites of other listed businesses; and
    8. \n
    9. Systemwide Accredited Businesses except soliciting non-profit organizations, charity shopping malls, and charity fundraising groups which may not hyperlink to our Web site.
    10. \n
    \n
  3. These organizations may link to our home page, to publications or to other Web site information so long as the link: (a) is not in any way misleading; (b) does not falsely imply sponsorship, endorsement or approval of the linking party and its products or services; and (c) fits within the context of the linking party's site.
  4. \n
  5. We may consider and approve in our sole discretion other link requests from the following types of organizations:
  6. \n
      \n
    1. commonly known consumer and/or business information sources such as Chambers of Commerce, American Automobile Association, AARP and Consumers Union;
    2. \n
    3. dot.com community sites;
    4. \n
    5. associations or other groups representing charities, including charity giving sites,
    6. \n
    7. online directory distributors;
    8. \n
    9. internet portals;
    10. \n
    11. accounting, law and consulting firms whose primary clients are businesses; and
    12. \n
    13. educational institutions and trade associations.
    14. \n
    \n
\n\n

We will approve link requests from these organizations if we determine that: (a) the link would not reflect unfavorably on us or our accredited businesses (for example, trade associations or other organizations representing inherently suspect types of business, such as work-at-home opportunities, shall not be allowed to link); (b)the organization does not have an unsatisfactory record with us; (c) the benefit to us from the visibility associated with the hyperlink outweighs the absence of GovGig.us; and (d) where the link is in the context of general resource information or is otherwise consistent with editorial content in a newsletter or similar product furthering the mission of the organization.

\n

These organizations may link to our home page, to publications or to other Web site information so long as the link: (a) is not in any way misleading; (b) does not falsely imply sponsorship, endorsement or approval of the linking party and its products or services; and (c) fits within the context of the linking party's site.

\n

If you are among the organizations listed in paragraph 2 above and are interested in linking to our website, you must notify us by sending an e-mail to info@GovGig.us. Please include your name, your organization name, contact information (such as a phone number and/or e-mail address) as well as the URL of your site, a list of any URLs from which you intend to link to our Web site, and a list of the URL(s) on our site to which you would like to link. Allow 2-3 weeks for a response.

\n\n

Approved organizations may hyperlink to our Web site as follows:

\n
    \n
  1. By use of our corporate name; or
  2. \n
  3. By use of the uniform resource locator (Web address) being linked to; or
  4. \n
  5. By use of any other description of our Web site or material being linked to that makes sense within the context and format of content on the linking party's site.
  6. \n
\n\n

No use of GovGig.us's logo or other artwork will be allowed for linking absent a trademark license agreement.

\n

Company reserves the right at any time and in its sole discretion to request that you remove all links or any particular link to the Site. You agree to immediately remove all links to the Site upon such request.

\n\n

Iframes

\n

Without prior approval and express written permission from the Company, you may not create frames around our Web pages or use other techniques that alter in any way the visual presentation or appearance of our Web site.

\n\n

Removal of links from our website

\n

If you find any link on our Web site or any linked web site objectionable for any reason, you may contact us about this. We will consider requests to remove links but will have no obligation to do so or to respond directly to you.\n Whilst we endeavor to ensure that the information on this website is correct, we do not warrant its completeness or accuracy; nor do we commit to ensuring that the website remains available or that the material on the website is kept up to date.\n

\n

Company has no responsibility or liability for any content you post on the Site. You agree to indemnify and defend us against all claims arising out of or based upon content you post on the Site. No link(s) may appear on any content you post or within any context containing content or materials that may be interpreted as libelous, obscene or criminal, or which infringes, otherwise violates, or advocates the infringement or other violation of, any third party rights.

\n\n

No Refunds for Paid Services

\n

You may cancel your subscription to paid services at any time. You accept that you will not receive a refund of prepaid fees upon such cancellation. In the event that Company suspends, terminates or limits your access to the Site, you agree that you will receive no refund of prepaid subscription fees.

\n\n

Claims of Copyright Infringement and Related Issues

\n

We respect the intellectual property rights of others. Anyone who believes their work has been reproduced in a way that constitutes copyright infringement may notify our agent by providing the following information:

\n
    \n
  1. Identification of the copyrighted work that you claim has been infringed, or, if multiple copyrighted works at a single online site are covered by a single notification, a representative list of such works at the site;
  2. \n
  3. Identification of the material that you claim is infringing and needs to be removed, including a description of where it is located so that the copyright agent can locate it;
  4. \n
  5. Your address, telephone number, and, if available, e-mail address, so that the copyright agent may contact you about your complaint;
  6. \n
  7. A signed statement that the above information is accurate; that you have a good faith belief that the identified use of the material is not authorized by the copyright owner, its agents, or the law; and, under penalty of perjury, that you are the copyright owner or are authorized to act on the copyright owner’s behalf in this situation.
  8. \n
\n\n

Upon obtaining such knowledge we will act expeditiously to remove, or disable access to, the material. Please be aware that there are substantial penalties for false claims. If a notice of copyright infringement has been wrongly filed against you, you may submit a counter notification to our agent. A valid counter notification is written communication that incorporates the following elements:

\n
    \n
  1. A physical or electronic signature of the poster;
  2. \n
  3. Identification of the material that has been removed or to which access has been disabled and the location at which the material appeared before it was removed or access to it was disabled;
  4. \n
  5. A statement under penalty of perjury that you have a good faith belief that the material was removed or disabled as a result of mistake or misidentification;
  6. \n
  7. Your name, address, and telephone number; a statement that you consent to the jurisdiction of federal district court for the judicial district in which your address is located, or if your address is located outside of the U.S., for any judicial district in which the service provider (Company) may be found; and that you will accept service of process from the complainant.
  8. \n
\n\n

Notices of the foregoing copyright issues should be sent as follows:

\n

By mail:

\n

\n Watermark Solutions LLC, DBA GovGig
\n 19255 Powder Hill Pl NE, Suite 102
\n Poulsbo, WA 98370
\n USA\n

\n

Attn: DMCA Agent

\n

By email:

\n

dmca@govgig.us

\n\n

If you give notice of copyright infringement by e-mail, an agent may begin investigating the alleged copyright infringement; however, we must receive your signed statement by mail or as an attachment to your e-mail before we are required to take any action.

\n

This information should not be construed as legal advice. We recommend you seek independent legal counsel before filing a notification or counter-notification. For further information about the DMCA, please visit the website of the United States Copyright Office at: http://www.copyright.gov.

\n\n

Third Party Links and Services

\n

The Site may contain links to third-party websites, advertisers, products, or services that are not owned nor controlled by Company. Company does not endorse or assume any responsibility for such third-party sites, information, materials, products or services. If you access a third-party website from the Site or use a third-party service, you do so at your own risk and you agree that that this Agreement and Privacy Policy do not apply to your use of such third-party websites. You relieve Company from any and all liability from your use of third-party websites, services or content, and agree that Company shall not be responsible for any loss or data relating to your use of such third-party websites, services or content.

\n\n

Site Policies, Modification, Severability

\n

We reserve the right to make changes to the GovGig.us site, Privacy Policies and these Terms of Use at any time. If any of these terms or conditions is deemed invalid, void or otherwise unenforceable, that condition shall be severable and shall not affect the validity and enforceability of any other terms or conditions.

\n\n

Indemnity

\n

To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Company and its subsidiaries and their respective directors, officers, board members, employees, agents, successors and assigns, from and against any and all claims, damages, obligations, losses, liabilities, costs and expenses (including but not limited to all legal fees and expenses) arising from your use of the Site and GovGig.us services, your violation of any term of this Agreement or any other agreement you have with Company, your violation of any third-party rights, including without limitation any right of privacy or intellectual property rights, your violation of any applicable law, rule or regulation, any other party’s access and use of the Site using your account or log-in information, or your intentional or willful misconduct, or negligence.

\n\n

Disclaimer of Warranty

\n

YOU EXPRESSLY ACKNOWLEDGE AND AGREE THAT USE OF THE GOVGIG.US SITE IS AT YOUR SOLE RISK AND THAT THE ENTIRE RISK AS TO SATISFACTORY QUALITY, PERFORMANCE, ACCURACY AND EFFORT IS WITH YOU. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE GOVGIG.US SITE IS PROVIDED “AS IS,” WITH ALL FAULTS AND WITHOUT WARRANTY OF ANY KIND, AND COMPANY AND COMPANY'S SUBSIDIARIES AND AFFILIATES (COLLECTIVELY REFERRED TO AS “COMPANY” FOR THE PURPOSES OF THIS AGREEMENT) HEREBY DISCLAIM ALL WARRANTIES AND CONDITIONS WITH RESPECT TO THE GOVGIG.US SITE, EITHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES AND/OR CONDITIONS OF MERCHANTABILITY, OF SATISFACTORY QUALITY, OF FITNESS FOR A PARTICULAR PURPOSE, OF ACCURACY, OF QUIET ENJOYMENT, AND NON-INFRINGEMENT OF THIRD PARTY RIGHTS. COMPANY DOES NOT GUARANTEE ANY RESULTS FROM USING THE SITE OR ITS SERVICES. COMPANY DOES NOT WARRANT AGAINST INTERFERENCE WITH YOUR ENJOYMENT OF THE GOVGIG.US SITE, THAT THE FUNCTIONS CONTAINED IN THE GOVGIG.US SITE WILL MEET YOUR REQUIREMENTS, THAT THE OPERATION OF THE GOVGIG.US SITE WILL BE UNINTERRUPTED OR ERROR-FREE, OR THAT DEFECTS IN THE GOVGIG.US SITE WILL BE CORRECTED. NO ORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY COMPANY OR A COMPANY AUTHORIZED REPRESENTATIVE SHALL CREATE A WARRANTY. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES OR LIMITATION ON APPLICABLE STATUTORY RIGHTS OF A CONSUMER, SO THE ABOVE EXCLUSION AND LIMITATIONS MAY NOT APPLY TO YOU.

\n\n

Limitation of Liability

\n

TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL COMPANY, ITS AFFILIATES OR LICENSEES, BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT, OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR ANY OTHER PECUNIARY LOSS) ARISING OUT OF THE USE OF OR INABILITY TO USE THE GOVGIG.US SITE OR THE PROVISION OF OR FAILURE TO PROVIDE SUPPORT SERVICES, EVEN IF COMPANY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IF ANY SUCH WARRANTY OR GUARANTEE CANNOT BE EXCLUDED BY LAW, THEN TO THE EXTENT PERMITTED BY LAW, COMPANY’S LIABILITY FOR BREACH OF ANY SUCH WARRANTY OR GUARANTEE IS LIMITED, AT COMPANY’S OPTION, TO THE RESUPPLY OF SERVICES OR PAYMENT OF THE COST OF RESUPPLY OF THE SERVICES. BECAUSE SOME STATES AND JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY, THE ABOVE LIMITATION MAY NOT APPLY TO YOU.

\n\n

Governing Law and Forum

\n

These Terms of Use and Privacy Policy shall be governed by and construed in accordance with the laws of the State of Washington, without respect to its conflict-of-law principles, as applied to such agreements between Washington residents made and to be performed entirely within the State of Washington. Each of the parties hereto (i) irrevocably consents to the exclusive jurisdiction and venue of any court within King County, State of Washington, in connection with any matter based upon or arising out of this Agreement, and (ii) agrees that process may be served upon them in any manner authorized by the laws of the State of Washington for such persons, and (iii) waives any right to, and covenants not to assert or plead, any objection which they might otherwise have to such jurisdiction, venue or process.

\n\n

Assignment

\n

This Agreement is personal to you and you may not transfer, assign, lease, sublet or delegate your rights and obligations without the written consent of Company. Company may assign this Agreement or delegate its obligations without restrictions provided that any such successor shall be bound by the terms of this Agreement.

\n\n

Relationship of the Parties

\n

Nothing in this agreement shall be construed as making either party the partner, joint venturer, employer, contractor or employee of the other. Neither party shall hold itself out to any third party as having any authority to make statements, representations or commitments of any kind, or take any action, that shall be binding on the other, except as provided in this Agreement or authorized in writing by the partner to be so bound.

\n\n

Entire Agreement

\n

This agreement, together with the Privacy Policy, and any amendments shall constitute the entire agreement between you and Company. You acknowledge that you have not relied on any statement, promise or representation made or given by or on behalf of Company that is not set out in this Agreement or document expressly referred to in this Agreement.

\n\n

No Waiver

\n

No failure by Company to exercise or delay exercise any rights herein shall operate as a waiver of such rights, nor shall any partial exercise of any right by Company preclude any future exercise of that right or any other right.

\n\n

Severability

\n

If you have any queries regarding any of our terms, please contact us at info@govgig.us or via post at:\n

\n

\n Watermark Solutions LLC, DBA GovGig
\n 19255 Powder Hill Pl NE, Suite 102
\n Poulsbo, WA 98370
\n USA\n

\n
\n )\n }\n}\n\nexport default withStyles(styles)(TermsOfUseUS)\n","import * as React from 'react'\nimport {createStyles, Theme, withStyles, WithStyles, withTheme, WithTheme} from \"@material-ui/core/styles\";\nimport {RouteComponentProps} from \"@reach/router\";\nimport Page from \"../../components/page/Page\";\nimport MarginRow from \"../../components/page/MarginRow\";\nimport TermsOfUseUS from \"./TermsOfUseUS\";\n\nconst styles = (theme: Theme) => createStyles({\n\n})\n\nclass TermsOfUsePage extends React.Component & RouteComponentProps & WithTheme> {\n\n componentDidMount() {\n window.addEventListener('scroll', this.handleScroll)\n }\n componentWillUnmount() {\n window.removeEventListener('scroll', this.handleScroll)\n }\n\n handleScroll = (event: any) => {\n const bottom = Math.ceil(window.innerHeight + window.scrollY) >= document.documentElement.scrollHeight\n\n if (bottom) {\n if (window.location !== window.parent.location) {\n // In iframe\n window.parent.postMessage(\"at-bottom\", '*');\n }\n }\n }\n\n render() {\n return (\n \n \n \n \n \n )\n }\n}\n\nexport default withTheme((withStyles(styles)(TermsOfUsePage)))\n\n","import * as React from 'react'\nimport {createStyles, Theme, withStyles, WithStyles} from \"@material-ui/core/styles\";\nimport Logo from \"../../images/header_logo.png\"\nimport {Box} from \"@material-ui/core\";\nimport CheckBoxIcon from \"@material-ui/icons/CheckBox\";\n\nconst styles = (theme: Theme) => createStyles({\n background: {\n backgroundColor: theme.palette.background.paper,\n padding: theme.spacing(1)\n },\n link: {\n textDecoration: 'none',\n color: theme.palette.action.active\n },\n})\n\ninterface IMasterServiceAgreement20230814Props {\n accountName: string\n acceptedBy?: string\n acceptedOn?: string\n}\n\nclass MasterServiceAgreement20230814 extends React.Component & IMasterServiceAgreement20230814Props> {\n\n render() {\n const {accountName, acceptedBy, acceptedOn, classes} = this.props\n \n return (\n \n \n \"logo\"/\n \n\n

MASTER SERVICES & NON-SOLICITATION AGREEMENT

\n\n

\n CAREFULLY READ THIS SCROLLWRAP AGREEMENT. BY CLICKING ON THE “I ACCEPT” CHECKBOX, YOU ARE CONSENTING TO BIND CLIENT AS A PARTY TO ALL TERMS OF THIS AGREEMENT. FURTHER, YOU REPRESENT BEING DULY AUTHORIZED TO BIND CLIENT TO THE AGREEMENT AND TO ACCEPT THE AGREEMENT ON CLIENT’S BEHALF.\n

\n\n

Updated: August 14, 2023

\n\n

This General Master Services Agreement (“Agreement”) is made between Watermark Solutions, LLC dba GovGig located at 19255 Powder Hill Pl NE, Suite 102, Poulsbo, WA 98370 (hereinafter “GovGig”) and {`${accountName}`}, together with Your affiliates and subsidiaries (hereinafter “You,” “Your,” or “Client”) (each a “Party,” and collectively, the “Parties”).

\n\n
    \n
  1. Relationship of the Parties.\n Each Party shall act as an independent contractor and not as an agent for, partner of or joint venture with the other Party hereto. Neither Party hereto shall have any authority to create any obligation for the other except to the extent set forth herein and in duly executed written supplements hereto.\n
  2. \n
  3. Scope of Services Provided.\n GovGig will, at Client’s request, provide direct hire placement options of personnel in support of Client operations. Personnel provided by GovGig will meet the requirements of the request, including any due diligence, qualifications, and background checks, as specified by the Parties. A “Contract Resource” shall mean a GovGig derived candidate provided to Client by GovGig for the purposes of direct employment with Client. This Agreement is non-exclusive in nature insofar as it does not imply, state, or otherwise suggest that Client must use GovGig, and only GovGig, as its sole outside agency/resource for purposes of personnel acquisition, staffing, and/or hiring. Client is not obligated to request any services from GovGig, and GovGig is not obligated to accept any request for services from Client.\n
  4. \n
  5. Non-Solicitation.\n The services offered by GovGig include providing access to professionals who may not be direct employees of GovGig and who could be solicited individually by any member of the public for those services. The list of professionals and the services each is willing to offer is proprietary information, the disclosure of which could fiscally and professionally injure GovGig. In return for being made privy to the details of the identities of the individuals, Client agrees it will not disclose to any individual or entity the contents of the list and services available which will be disclosed by GovGig. Client acknowledges the individuals who have agreed to offer services through GovGig and who are part of the list to be disclosed are under obligation to not accept direct employment with Client within two years of the signing of this document by Client. Individual(s) may, however, accept such employment with Client if expressly authorized in writing by GovGig prior to such acceptance of employment. Client therefore agrees to honor that commitment by refraining from soliciting any of the individuals to provide any of the services that are offered through GovGig during that two-year time period.\n
  6. \n
  7. Term; Termination.\n This Agreement will remain in effect until terminated by either Party: (i) upon ten (10) business days’ written notice, or (ii) immediately upon written notice if the other Party breaches any of its obligations under this Agreement; provided, that the breaching Party will have ten (10) business days to cure the breach.\n
  8. \n
  9. Requests for Contract Resources.\n Client may authorize GovGig to provide a Contract Resource by email, and Client’s assignment of work to any provided Contract Resource shall be deemed to be Client’s confirmation and approval of GovGig’s tender of such Contract Resource, even if a written order for such employee was not provided by Client. The assignment of a Contract Resource will commence on the date indicated by Client, or the date that Client assigns work to such Contract Resource, whichever is earlier. Such assignment shall be confirmed in a Rate Sheet or other written document delivered by GovGig to Client. If a Contract Resource continues to render services after the expiration date of the assignment term, that event will be deemed an extension of the original term of service. Client may request the removal of any Contract Resource at any time without incurring any subsequent liability or costs.\n
  10. \n
  11. Contract Resource Selection.\n Contract Resources shall be selected by GovGig in its judgment based on its diligent and reasonable understanding of Client’s technical requirements as specified in the Order. Because these requirements are subject to interpretation, final acceptance of any Contract Resource shall be Client’s responsibility. Unless otherwise specified, Client will furnish all materials, supplies, facilities, space, and equipment that may be required for personnel to perform their assigned duties.\n
  12. \n
  13. Labor Rates.\n Labor rates will be established and negotiated between GovGig and Client on a per proposal basis. These rates will be based on geographical location, labor category, industry market rates, and any applicable contract rates. Labor rates indicated on proposals will be all inclusive insofar as they include all GovGig personnel wages, burden, taxes, and fees.\n
      \n
    1. Per diem for personnel operating primarily remotely will only apply when working on the project site. This cost will be a separate line item on invoices and will be specifically annotated as to which day(s) the individual(s) was/were on site. Parking will be available on site or at the job trailer for personnel. Lodging expenses will be addressed on a case-by-case basis and will likewise be a separate line item on invoices. All travel expenses will be in accordance with the cost allowability guidelines in FAR 31.205-46.
    2. \n
    3. Total duration (weeks/months) of services and support will (1) be evaluated biweekly (every 2 weeks) to determine a sufficient level of response, and (2) require no less than 20 hours per week for each staffing position requested.
    4. \n
    5. Specific requirements when additional duties, outside the typical/normal scope of responsibilities for on-site project staff, are to be performed by a single individual (i.e., “dual-hat”, “triple-hat”, or other duties as required by project specifications), discussions and negotiations will be conducted prior to issuance of a final proposal and commencement of work.
    6. \n
    \n
  14. \n
  15. Billing and Payment.\n For each Contract Resource placed by GovGig, Client will pay GovGig a recruitment fee in the amount of fifteen (15) percent of either the Contract Resource’s equivalent salary based on 2,080 hours per calendar year at the individual’s hourly rate as reflected in a GovGig Rate Sheet, or other finalized employment agreement document between Client and Contract Resource. Client shall pay all invoices within thirty (30) calendar days after the date of each invoice in U.S. Dollars. Late payments shall bear interest at 1.5% per month. GovGig reserves the right immediately to withdraw any and all Contract Resources and to cease providing services if any invoice is not paid when due. Recruiting fee example: $120,000 base annual salary x 15% fee = $18,000.00.\n
  16. \n
  17. Warranties by GovGig.\n If Contract Resource is a direct hire by Client, and the Contract Resource resigns or is terminated for performance, GovGig will, at the discretion and request of Client, provide up to three (3) Contract Resource replacement options, within six (6) months of the initial direct hire, at no additional charge. If Client does not desire to replace the original Contract Resource, Client may suspend services for that particular placement/instance/project at its discretion without incurring any additional costs, fees, or penalties. This singular suspension of services will not affect other services being provided under the terms of this Agreement. As a follow-on to the example given in Section 8, GovGig will prorate the 15% fee over the 6-month warranty period such that the $18,000.00 fee will be payable in 6 monthly installments of $3,000.00 each. As such, if a Contract Resource is employed by Client and resigns or is terminated for performance within the 6-month warranty period, GovGig will not invoice Client until a suitable replacement Contract Resource has been hired by Client. Other than as expressly set forth herein, GovGig makes no representations or warranties of any kind, either express or implied. Client understands and agrees that GovGig does not guarantee to provide Client any specific deliverable, result, or outcome.\n
  18. \n
  19. Taxes.\n Each Party shall be responsible for its respective present and future taxes, duties, tariffs, fees, imports, and other charges, including, but not limited to, income, excise, import, purchase, sales, use, turnover, added value, gross receipts, gross wages, and similar assessments imposed upon such party by any taxing authority as a result of the performance of the Party's duties and responsibilities hereunder.\n
  20. \n
  21. Proprietary Information.\n The Non‐Disclosure Agreement entered into by the Parties (“NDA”) is incorporated herein by reference as Exhibit A. In addition to any obligations under the NDA, any Contract Resource resumes provided by GovGig to Client will be deemed to be the confidential and/or proprietary information of GovGig and not subject to disclosure to any third party without GovGig’s prior, written consent. Notwithstanding any other provision of this Agreement, the non‐disclosure obligations of the receiving party shall survive expiration and/or termination of this Agreement for the period specifically set forth in the NDA, and any other inconsistency between this Agreement and the NDA shall be resolved by giving precedence to the terms of this Agreement.\n
  22. \n
  23. Dispute Resolution.\n In the event of any dispute between GovGig and Client arising out of or in connection with this Agreement, the Parties agree to first make a good faith effort to resolve the dispute informally. Negotiations shall take place between the designated principals of each Party. If GovGig and Client are unable to resolve the dispute through negotiations within forty-five (45) calendar days, then either Party may give written notice within ten (10) business days thereafter that it elects to proceed with non-binding mediation pursuant to the commercial mediation rules of the American Arbitration Association. In the event that mediation is not invoked by the parties or that the mediation is unsuccessful in resolving the dispute, then GovGig and Client agree to arbitrate in accordance with commercial arbitration rules of the American Arbitration Association (provided, however that only one arbitrator shall preside). Venue for any mediation or arbitration shall exclusively reside in the State of Washington. The award rendered by the arbitrator shall be final and judgment may be entered upon it in accordance with the applicable law of any court having jurisdiction. The prevailing party shall be entitled to its reasonable costs, expenses, and attorneys’ fees incurred in the course of any dispute, claim, or legal proceeding.\n
  24. \n
  25. No Third-Party Beneficiaries.\n This Agreement has been entered into solely for the benefit of the Parties and is not intended to create any legal, equitable, or beneficial interest in any third party.\n
  26. \n
  27. Modifications and Waivers.\n This Agreement shall not be amended or modified, nor shall any waiver of any right under this Agreement be effective, unless it is set forth in a document executed by duly authorized representatives of both GovGig and Client. Any forbearance or delay on the part of either Party in enforcing any provision of this Agreement or any of its rights hereunder will not be construed as a waiver of such provision. The waiver of any breach of any term, covenant, or condition in this Agreement shall not be deemed to be a waiver of such term, covenant, or condition or any subsequent breach of the same.\n
  28. \n
  29. Trademark and Logo Usage.\n Client hereby grants to GovGig the express right to use Client's company logo in marketing, sales, public relations, and other communications, whether printed or electronic, in order to identify Client as the recipient of GovGig’s professional services. GovGig hereby grants to Client the express right to likewise use GovGig's logo to identify GovGig as a provider of services to Client. Other than as expressly stated herein, neither Party shall use the other Party's marks, logos, drawings, or specifications without the prior written permission of the other Party. These mutual permissions shall remain in effect unless and until 1) revoked by either Party by means of a thirty (30) day written notice whereupon those permissions shall be considered revoked at the end of said thirty (30) days, or 2) this Agreement is wholly terminated in accordance with the above terms and conditions.\n
  30. \n
  31. Severability.\n If any provision of this Agreement is held unenforceable for any reason, such provision will be reformed only to the extent necessary to make it enforceable, and such holding will not impair the validity, legality, or enforceability of the remaining provisions.\n
  32. \n
  33. Applicable Law.\n This Agreement will be governed by the laws of the State of Washington without regard to conflict of law principles which might require the application of the laws of another jurisdiction.\n
  34. \n
  35. Notice.\n All notices and other communications in connection with this Agreement will be in writing sent to the Parties’ addresses set forth above (or to such other address such Party specifies) and shall be deemed to have been sufficiently given when personally delivered or mailed, first class, postage prepaid to said address and to the attention of the undersigned.\n
  36. \n
  37. Entire Agreement.\n This Agreement, including any Orders: (i) constitutes the entire agreement between the Parties with respect to the subject matter hereof and supersedes any previous or contemporaneous agreements, arrangements, or understandings, whether oral or written, and (ii) may be signed in counterparts.\n
  38. \n
  39. Acceptance.\n GovGig and Client desire to conduct business electronically. As such, this Agreement is executed using scrollwrap procedures. BY CLICKING ON THE “I ACCEPT” CHECKBOX, YOU ARE CONSENTING TO BIND CLIENT AS A PARTY TO ALL TERMS OF THIS AGREEMENT. FURTHER, YOU REPRESENT BEING DULY AUTHORIZED TO BIND CLIENT TO THE AGREEMENT AND TO ACCEPT THE AGREEMENT ON CLIENT’S BEHALF.\n
  40. \n
\n\n {acceptedBy && acceptedOn &&\n \n  

I, {acceptedBy} accept this agreement on {acceptedOn}

\n
\n }\n\n
\n )\n }\n}\n\nexport default withStyles(styles)(MasterServiceAgreement20230814)\n","import * as React from 'react'\nimport {createStyles, Theme, withStyles, WithStyles} from \"@material-ui/core/styles\";\nimport Logo from \"../../images/header_logo.png\"\nimport {Box} from \"@material-ui/core\";\nimport CheckBoxIcon from '@material-ui/icons/CheckBox';\n\nconst styles = (theme: Theme) => createStyles({\n background: {\n backgroundColor: theme.palette.background.paper,\n padding: theme.spacing(1)\n },\n link: {\n textDecoration: 'none',\n color: theme.palette.action.active\n },\n})\n\ninterface IMasterServiceAgreement20230824Props {\n accountName: string\n acceptedBy?: string\n acceptedOn?: string\n}\n\nclass MasterServiceAgreement20230824 extends React.Component & IMasterServiceAgreement20230824Props> {\n\n render() {\n const {accountName, acceptedBy, acceptedOn, classes} = this.props\n\n return (\n \n \n \"logo\"/\n \n\n

MASTER SERVICES & NON-SOLICITATION AGREEMENT

\n\n

\n CAREFULLY READ THIS SCROLLWRAP AGREEMENT. BY CLICKING ON THE “I ACCEPT” CHECKBOX, YOU ARE CONSENTING TO BIND CLIENT AS A PARTY TO ALL TERMS OF THIS AGREEMENT. FURTHER, YOU REPRESENT BEING DULY AUTHORIZED TO BIND CLIENT TO THE AGREEMENT AND TO ACCEPT THE AGREEMENT ON CLIENT’S BEHALF.\n

\n\n

Updated: August 24, 2023

\n\n

This General Master Services Agreement (“Agreement”) is made between Watermark Solutions, LLC dba GovGig located at 19255 Powder Hill Pl NE, Suite 102, Poulsbo, WA 98370 (hereinafter “GovGig”) and {`${accountName}`}, together with Your affiliates and subsidiaries (hereinafter “You,” “Your,” or “Client”) (each a “Party,” and collectively, the “Parties”).

\n\n
    \n
  1. Relationship of the Parties.\n Each Party shall act as an independent contractor and not as an agent for, partner of or joint venture with the other Party hereto. Neither Party hereto shall have any authority to create any obligation for the other except to the extent set forth herein and in duly executed written supplements hereto.\n
  2. \n
  3. Scope of Services Provided.\n GovGig will, at Client’s request, provide direct hire placement options of personnel in support of Client operations. Personnel provided by GovGig will meet the requirements of the request, including any due diligence, qualifications, and background checks, as specified by the Parties. A “Contract Resource” shall mean a GovGig derived candidate provided to Client by GovGig for the purposes of direct employment with Client. This Agreement is non-exclusive in nature insofar as it does not imply, state, or otherwise suggest that Client must use GovGig, and only GovGig, as its sole outside agency/resource for purposes of personnel acquisition, staffing, and/or hiring. Client is not obligated to request any services from GovGig, and GovGig is not obligated to accept any request for services from Client.\n
  4. \n
  5. Non-Solicitation.\n The services offered by GovGig include providing access to professionals who may not be direct employees of GovGig and who could be solicited individually by any member of the public for those services. The list of professionals and the services each is willing to offer is proprietary information, the disclosure of which could fiscally and professionally injure GovGig. In return for being made privy to the details of the identities of the individuals, Client agrees it will not disclose to any individual or entity the contents of the list and services available which will be disclosed by GovGig. Client acknowledges the individuals who have agreed to offer services through GovGig and who are part of the list to be disclosed are under obligation to not accept direct employment with Client within two years of the signing of this document by Client. Individual(s) may, however, accept such employment with Client if expressly authorized in writing by GovGig prior to such acceptance of employment. Client therefore agrees to honor that commitment by refraining from soliciting any of the individuals to provide any of the services that are offered through GovGig during that two-year time period.\n
  6. \n
  7. Term; Termination.\n This Agreement will remain in effect until terminated by either Party: (i) upon ten (10) business days’ written notice, or (ii) immediately upon written notice if the other Party breaches any of its obligations under this Agreement; provided, that the breaching Party will have ten (10) business days to cure the breach.\n
  8. \n
  9. Requests for Contract Resources.\n Client may authorize GovGig to provide a Contract Resource by email, and Client’s assignment of work to any provided Contract Resource shall be deemed to be Client’s confirmation and approval of GovGig’s tender of such Contract Resource, even if a written order for such employee was not provided by Client. The assignment of a Contract Resource will commence on the date indicated by Client, or the date that Client assigns work to such Contract Resource, whichever is earlier. Such assignment shall be confirmed in a Rate Sheet or other written document delivered by GovGig to Client. If a Contract Resource continues to render services after the expiration date of the assignment term, that event will be deemed an extension of the original term of service. Client may request the removal of any Contract Resource at any time without incurring any subsequent liability or costs.\n
  10. \n
  11. Contract Resource Selection.\n Contract Resources shall be selected by GovGig in its judgment based on its diligent and reasonable understanding of Client’s technical requirements as specified in the Order. Because these requirements are subject to interpretation, final acceptance of any Contract Resource shall be Client’s responsibility. Unless otherwise specified, Client will furnish all materials, supplies, facilities, space, and equipment that may be required for personnel to perform their assigned duties.\n
  12. \n
  13. Labor Rates.\n Labor rates will be established and negotiated between GovGig and Client on a per proposal basis. These rates will be based on geographical location, labor category, industry market rates, and any applicable contract rates. Labor rates indicated on proposals will be all inclusive insofar as they include all GovGig personnel wages, burden, taxes, and fees.\n
  14. \n
      \n
    1. Per diem for personnel operating primarily remotely will only apply when working on the project site. This cost will be a separate line item on invoices and will be specifically annotated as to which day(s) the individual(s) was/were on site. Parking will be available on site or at the job trailer for personnel. Lodging expenses will be addressed on a case-by-case basis and will likewise be a separate line item on invoices. All travel expenses will be in accordance with the cost allowability guidelines in FAR 31.205-46.
    2. \n
    3. Total duration (weeks/months) of services and support will (1) be evaluated biweekly (every 2 weeks) to determine a sufficient level of response, and (2) require no less than 20 hours per week for each staffing position requested.
    4. \n
    5. Specific requirements when additional duties, outside the typical/normal scope of responsibilities for on-site project staff, are to be performed by a single individual (i.e., “dual-hat”, “triple-hat”, or other duties as required by project specifications), discussions and negotiations will be conducted prior to issuance of a final proposal and commencement of work.
    6. \n
    \n
  15. Billing and Payment.\n For each Contract Resource placed by GovGig, Client will pay GovGig a recruitment fee in the amount of twenty (20) percent of either the Contract Resource’s equivalent salary based on 2,080 hours per calendar year at the individual’s hourly rate as reflected in a GovGig Rate Sheet, or other finalized employment agreement document between Client and Contract Resource. Client shall pay all invoices within thirty (30) calendar days after the date of each invoice in U.S. Dollars. Late payments shall bear interest at 1.5% per month. GovGig reserves the right immediately to withdraw any and all Contract Resources and to cease providing services if any invoice is not paid when due. Recruiting fee example: $120,000 base annual salary x 20% fee = $24,000.00.\n
  16. \n
  17. Warranties by GovGig.\n If Contract Resource is a direct hire by Client, and the Contract Resource resigns or is terminated for performance, GovGig will, at the discretion and request of Client, provide up to three (3) Contract Resource replacement options, within six (6) months of the initial direct hire, at no additional charge. If Client does not desire to replace the original Contract Resource, Client may suspend services for that particular placement/instance/project at its discretion without incurring any additional costs, fees, or penalties. This singular suspension of services will not affect other services being provided under the terms of this Agreement. As a follow-on to the example given in Section 8, GovGig will prorate the 20% fee over the 6-month warranty period such that the $24,000.00 fee will be payable in 6 monthly installments of $4,000.00 each. As such, if a Contract Resource is employed by Client and resigns or is terminated for performance within the 6-month warranty period, GovGig will not invoice Client until a suitable replacement Contract Resource has been hired by Client. Other than as expressly set forth herein, GovGig makes no representations or warranties of any kind, either express or implied. Client understands and agrees that GovGig does not guarantee to provide Client any specific deliverable, result, or outcome.\n
  18. \n
  19. Taxes.\n Each Party shall be responsible for its respective present and future taxes, duties, tariffs, fees, imports, and other charges, including, but not limited to, income, excise, import, purchase, sales, use, turnover, added value, gross receipts, gross wages, and similar assessments imposed upon such party by any taxing authority as a result of the performance of the Party's duties and responsibilities hereunder.\n
  20. \n
  21. Proprietary Information.\n The Non‐Disclosure Agreement entered into by the Parties (“NDA”) is incorporated herein by reference as Exhibit A. In addition to any obligations under the NDA, any Contract Resource resumes provided by GovGig to Client will be deemed to be the confidential and/or proprietary information of GovGig and not subject to disclosure to any third party without GovGig’s prior, written consent. Notwithstanding any other provision of this Agreement, the non‐disclosure obligations of the receiving party shall survive expiration and/or termination of this Agreement for the period specifically set forth in the NDA, and any other inconsistency between this Agreement and the NDA shall be resolved by giving precedence to the terms of this Agreement.\n
  22. \n
  23. Dispute Resolution.\n In the event of any dispute between GovGig and Client arising out of or in connection with this Agreement, the Parties agree to first make a good faith effort to resolve the dispute informally. Negotiations shall take place between the designated principals of each Party. If GovGig and Client are unable to resolve the dispute through negotiations within forty-five (45) calendar days, then either Party may give written notice within ten (10) business days thereafter that it elects to proceed with non-binding mediation pursuant to the commercial mediation rules of the American Arbitration Association. In the event that mediation is not invoked by the parties or that the mediation is unsuccessful in resolving the dispute, then GovGig and Client agree to arbitrate in accordance with commercial arbitration rules of the American Arbitration Association (provided, however that only one arbitrator shall preside). Venue for any mediation or arbitration shall exclusively reside in the State of Washington. The award rendered by the arbitrator shall be final and judgment may be entered upon it in accordance with the applicable law of any court having jurisdiction. The prevailing party shall be entitled to its reasonable costs, expenses, and attorneys’ fees incurred in the course of any dispute, claim, or legal proceeding.\n
  24. \n
  25. No Third-Party Beneficiaries.\n This Agreement has been entered into solely for the benefit of the Parties and is not intended to create any legal, equitable, or beneficial interest in any third party.\n
  26. \n
  27. Modifications and Waivers.\n This Agreement shall not be amended or modified, nor shall any waiver of any right under this Agreement be effective, unless it is set forth in a document executed by duly authorized representatives of both GovGig and Client. Any forbearance or delay on the part of either Party in enforcing any provision of this Agreement or any of its rights hereunder will not be construed as a waiver of such provision. The waiver of any breach of any term, covenant, or condition in this Agreement shall not be deemed to be a waiver of such term, covenant, or condition or any subsequent breach of the same.\n
  28. \n
  29. Trademark and Logo Usage.\n Client hereby grants to GovGig the express right to use Client's company logo in marketing, sales, public relations, and other communications, whether printed or electronic, in order to identify Client as the recipient of GovGig’s professional services. GovGig hereby grants to Client the express right to likewise use GovGig's logo to identify GovGig as a provider of services to Client. Other than as expressly stated herein, neither Party shall use the other Party's marks, logos, drawings, or specifications without the prior written permission of the other Party. These mutual permissions shall remain in effect unless and until 1) revoked by either Party by means of a thirty (30) day written notice whereupon those permissions shall be considered revoked at the end of said thirty (30) days, or 2) this Agreement is wholly terminated in accordance with the above terms and conditions.\n
  30. \n
  31. Severability.\n If any provision of this Agreement is held unenforceable for any reason, such provision will be reformed only to the extent necessary to make it enforceable, and such holding will not impair the validity, legality, or enforceability of the remaining provisions.\n
  32. \n
  33. Applicable Law.\n This Agreement will be governed by the laws of the State of Washington without regard to conflict of law principles which might require the application of the laws of another jurisdiction.\n
  34. \n
  35. Notice.\n All notices and other communications in connection with this Agreement will be in writing sent to the Parties’ addresses set forth above (or to such other address such Party specifies) and shall be deemed to have been sufficiently given when personally delivered or mailed, first class, postage prepaid to said address and to the attention of the undersigned.\n
  36. \n
  37. Entire Agreement.\n This Agreement, including any Orders: (i) constitutes the entire agreement between the Parties with respect to the subject matter hereof and supersedes any previous or contemporaneous agreements, arrangements, or understandings, whether oral or written, and (ii) may be signed in counterparts.\n
  38. \n
  39. Acceptance.\n GovGig and Client desire to conduct business electronically. As such, this Agreement is executed using scrollwrap procedures. BY CLICKING ON THE “I ACCEPT” CHECKBOX, YOU ARE CONSENTING TO BIND CLIENT AS A PARTY TO ALL TERMS OF THIS AGREEMENT. FURTHER, YOU REPRESENT BEING DULY AUTHORIZED TO BIND CLIENT TO THE AGREEMENT AND TO ACCEPT THE AGREEMENT ON CLIENT’S BEHALF.\n
  40. \n
\n\n {acceptedBy && acceptedOn &&\n \n  

I, {acceptedBy} accept this agreement on {acceptedOn}

\n
\n }\n\n
\n )\n }\n}\n\nexport default withStyles(styles)(MasterServiceAgreement20230824)\n","import * as React from 'react'\nimport {createStyles, Theme, withStyles, WithStyles} from \"@material-ui/core/styles\";\nimport Logo from \"../../images/header_logo.png\"\nimport {Box} from \"@material-ui/core\";\nimport CheckBoxIcon from '@material-ui/icons/CheckBox';\n\nconst styles = (theme: Theme) => createStyles({\n background: {\n backgroundColor: theme.palette.background.paper,\n padding: theme.spacing(1)\n },\n link: {\n textDecoration: 'none',\n color: theme.palette.action.active\n },\n})\n\ninterface IMasterServiceAgreement20231012Props {\n accountName: string\n acceptedBy?: string\n acceptedOn?: string\n}\n\nclass MasterServiceAgreement20231012 extends React.Component & IMasterServiceAgreement20231012Props> {\n\n render() {\n const {accountName, acceptedBy, acceptedOn, classes} = this.props\n\n return (\n \n \n \"logo\"/\n \n\n

MASTER SERVICES & NON-SOLICITATION AGREEMENT

\n\n

\n CAREFULLY READ THIS SCROLLWRAP AGREEMENT. BY CLICKING ON THE “I ACCEPT” CHECKBOX, YOU ARE CONSENTING TO BIND CLIENT AS A PARTY TO ALL TERMS OF THIS AGREEMENT. FURTHER, YOU REPRESENT BEING DULY AUTHORIZED TO BIND CLIENT TO THE AGREEMENT AND TO ACCEPT THE AGREEMENT ON CLIENT’S BEHALF.\n

\n\n

Updated: October 12, 2023

\n\n

This General Master Services Agreement (“Agreement”) is made between Watermark Solutions, LLC dba GovGig located at 19255 Powder Hill Pl NE, Suite 102, Poulsbo, WA 98370 (hereinafter “GovGig”) and You, together with Your affiliates and subsidiaries (hereinafter “You,” “Your,” or “Client”) (each a “Party,” and collectively, the “Parties”).

\n\n
    \n
  1. Relationship of the Parties.\n Each Party shall act as an independent contractor and not as an agent for, partner of or joint venture with the other Party hereto. Neither Party hereto shall have any authority to create any obligation for the other except to the extent set forth herein and in duly executed written supplements hereto.\n
  2. \n
  3. Scope of Services Provided.\n GovGig will, at Client’s request, provide direct hire placement options of personnel in support of Client operations. Personnel provided by GovGig will meet the requirements of the request, including any due diligence, qualifications, and background checks, as specified by the Parties. A “Contract Resource” shall mean a GovGig derived candidate provided to Client by GovGig for the purposes of direct employment with Client. This Agreement is non-exclusive in nature insofar as it does not imply, state, or otherwise suggest that Client must use GovGig, and only GovGig, as its sole outside agency/resource for purposes of personnel acquisition, staffing, and/or hiring. Client is not obligated to request any services from GovGig, and GovGig is not obligated to accept any request for services from Client. \n
  4. \n
  5. Non-Solicitation.\n The services offered by GovGig include providing access to professionals who may not be direct employees of GovGig and who could be solicited individually by any member of the public for those services. The list of professionals and the services each is willing to offer is proprietary information, the disclosure of which could fiscally and professionally injure GovGig. In return for being made privy to the details of the identities of the individuals, Client agrees it will not disclose to any individual or entity the contents of the list and services available which will be disclosed by GovGig. Client acknowledges the individuals who have agreed to offer services through GovGig and who are part of the list to be disclosed are under obligation to not accept direct employment with Client within two years of the signing of this document by Client. Individual(s) may, however, accept such employment with Client if expressly authorized in writing by GovGig prior to such acceptance of employment. Client therefore agrees to honor that commitment by refraining from soliciting any of the individuals to provide any of the services that are offered through GovGig during that two-year time period.\n
  6. \n
  7. Term; Termination.\n This Agreement will remain in effect until terminated by either Party: (i) upon ten (10) business days’ written notice, or (ii) immediately upon written notice if the other Party breaches any of its obligations under this Agreement; provided, that the breaching Party will have ten (10) business days to cure the breach. \n
  8. \n
  9. Requests for Contract Resources.\n Client may authorize GovGig to provide a Contract Resource by email, and Client’s assignment of work to any provided Contract Resource shall be deemed to be Client’s confirmation and approval of GovGig’s tender of such Contract Resource, even if a written order for such employee was not provided by Client. The assignment of a Contract Resource will commence on the date indicated by Client, or the date that Client assigns work to such Contract Resource, whichever is earlier. Such assignment shall be confirmed in a Rate Sheet or other written document delivered by GovGig to Client. If a Contract Resource continues to render services after the expiration date of the assignment term, that event will be deemed an extension of the original term of service. Client may request the removal of any Contract Resource at any time without incurring any subsequent liability or costs. \n
  10. \n
  11. Contract Resource Selection.\n Contract Resources shall be selected by GovGig in its judgment based on its diligent and reasonable understanding of Client’s technical requirements as specified in the Order. Because these requirements are subject to interpretation, final acceptance of any Contract Resource shall be Client’s responsibility. Unless otherwise specified, Client will furnish all materials, supplies, facilities, space, and equipment that may be required for personnel to perform their assigned duties. \n
  12. \n
  13. Labor Rates.\n Labor rates will be established and negotiated between GovGig and Client on a per proposal basis. These rates will be based on geographical location, labor category, industry market rates, and any applicable contract rates. Labor rates indicated on proposals will be all inclusive insofar as they include all GovGig personnel wages, burden, taxes, and fees.\n
  14. \n
      \n
    1. Per diem for personnel operating primarily remotely will only apply when working on the project site. This cost will be a separate line item on invoices and will be specifically annotated as to which day(s) the individual(s) was/were on site. Parking will be available on site or at the job trailer for personnel. Lodging expenses will be addressed on a case-by-case basis and will likewise be a separate line item on invoices. All travel expenses will be in accordance with the cost allowability guidelines in FAR 31.205-46.
    2. \n
    3. Total duration (weeks/months) of services and support will (1) be evaluated biweekly (every 2 weeks) to determine a sufficient level of response, and (2) require no less than 20 hours per week for each staffing position requested.
    4. \n
    5. Specific requirements when additional duties, outside the typical/normal scope of responsibilities for on-site project staff, are to be performed by a single individual (i.e., “dual-hat”, “triple-hat”, or other duties as required by project specifications), discussions and negotiations will be conducted prior to issuance of a final proposal and commencement of work.
    6. \n
    \n
  15. Billing and Payment.\n For each Contract Resource placed by GovGig, Client will pay GovGig a recruitment fee in the amount of twenty (20) percent of either the Contract Resource’s equivalent salary based on 2,080 hours per calendar year at the individual’s hourly rate, or other finalized employment agreement document between Client and Contract Resource. Client shall pay all invoices within thirty (30) calendar days after the date of each invoice in U.S. Dollars. Late payments shall bear interest at 1.5% per month. GovGig reserves the right immediately to withdraw any and all Contract Resources and to cease providing services if any invoice is not paid when due. Recruiting fee example: $120,000 base annual salary x 20% fee = $24,000.00.\n
  16. \n
  17. Warranties by GovGig.\n If Contract Resource is a direct hire by Client, and the Contract Resource resigns or is terminated for performance, GovGig will, at the discretion and request of Client, provide up to three (3) Contract Resource replacement options, within four (4) months of the initial direct hire, at no additional charge. If Client does not desire to replace the original Contract Resource, Client may suspend services for that particular placement/instance/project at its discretion without incurring any additional costs, fees, or penalties. This singular suspension of services will not affect other services being provided under the terms of this Agreement. As a follow-on to the example given in the previous section, GovGig will prorate the 20% fee over the 4-month warranty period such that the $24,000.00 fee will be payable in 4 monthly installments of $6,000.00 each. As such, if a Contract Resource is employed by Client and resigns or is terminated for performance within the 4-month warranty period, GovGig will not invoice Client until a suitable replacement Contract Resource has been hired by Client. Other than as expressly set forth herein, GovGig makes no representations or warranties of any kind, either express or implied. Client understands and agrees that GovGig does not guarantee to provide Client any specific deliverable, result, or outcome.\n
  18. \n
  19. Taxes.\n Each Party shall be responsible for its respective present and future taxes, duties, tariffs, fees, imports, and other charges, including, but not limited to, income, excise, import, purchase, sales, use, turnover, added value, gross receipts, gross wages, and similar assessments imposed upon such party by any taxing authority as a result of the performance of the Party's duties and responsibilities hereunder.\n
  20. \n
  21. Proprietary Information.\n The Non‐Disclosure Agreement entered into by the Parties (“NDA”) is included with this Agreement. In addition to any obligations under the NDA, any Contract Resource resumes provided by GovGig to Client will be deemed to be the confidential and/or proprietary information of GovGig and not subject to disclosure to any third party without GovGig’s prior, written consent. The only exceptions to such disclosure are resumes and associated qualification and certification documents of Contract Resources presented to Client with the express intent to submit such documents to the Federal Government for purposes of executing a Federal contract. Notwithstanding any other provision of this Agreement, the non‐disclosure obligations of the receiving party shall survive expiration and/or termination of this Agreement for the period specifically set forth in the NDA, and any other inconsistency between this Agreement and the NDA shall be resolved by giving precedence to the terms of this Agreement.\n
  22. \n
  23. Dispute Resolution.\n In the event of any dispute between GovGig and Client arising out of or in connection with this Agreement, the Parties agree to first make a good faith effort to resolve the dispute informally. Negotiations shall take place between the designated principals of each Party. If GovGig and Client are unable to resolve the dispute through negotiations within forty-five (45) calendar days, then either Party may give written notice within ten (10) business days thereafter that it elects to proceed with non-binding mediation pursuant to the commercial mediation rules of the American Arbitration Association. In the event that mediation is not invoked by the parties or that the mediation is unsuccessful in resolving the dispute, then GovGig and Client agree to arbitrate in accordance with commercial arbitration rules of the American Arbitration Association (provided, however that only one arbitrator shall preside). Venue for any mediation or arbitration shall exclusively reside in the State of Washington. The award rendered by the arbitrator shall be final and judgment may be entered upon it in accordance with the applicable law of any court having jurisdiction. The prevailing party shall be entitled to its reasonable costs, expenses, and attorneys’ fees incurred in the course of any dispute, claim, or legal proceeding. \n
  24. \n
  25. No Third-Party Beneficiaries.\n This Agreement has been entered into solely for the benefit of the Parties and is not intended to create any legal, equitable, or beneficial interest in any third party.\n
  26. \n
  27. Modifications and Waivers.\n This Agreement shall not be amended or modified, nor shall any waiver of any right under this Agreement be effective, unless it is set forth in a document executed by duly authorized representatives of both GovGig and Client. Any forbearance or delay on the part of either Party in enforcing any provision of this Agreement or any of its rights hereunder will not be construed as a waiver of such provision. The waiver of any breach of any term, covenant, or condition in this Agreement shall not be deemed to be a waiver of such term, covenant, or condition or any subsequent breach of the same.\n
  28. \n
  29. Trademark and Logo Usage.\n Client hereby grants to GovGig the express right to use Client's company logo in marketing, sales, public relations, and other communications, whether printed or electronic, in order to identify Client as the recipient of GovGig’s professional services. GovGig hereby grants to Client the express right to likewise use GovGig's logo to identify GovGig as a provider of services to Client. Other than as expressly stated herein, neither Party shall use the other Party's marks, logos, drawings, or specifications without the prior written permission of the other Party. These mutual permissions shall remain in effect unless and until 1) revoked by either Party by means of a thirty (30) day written notice whereupon those permissions shall be considered revoked at the end of said thirty (30) days, or 2) this Agreement is wholly terminated in accordance with the above terms and conditions.\n
  30. \n
  31. Severability.\n If any provision of this Agreement is held unenforceable for any reason, such provision will be reformed only to the extent necessary to make it enforceable, and such holding will not impair the validity, legality, or enforceability of the remaining provisions. \n
  32. \n
  33. Applicable Law.\n This Agreement will be governed by the laws of the State of Washington without regard to conflict of law principles which might require the application of the laws of another jurisdiction.\n
  34. \n
  35. Notice.\n All notices and other communications in connection with this Agreement will be in writing sent to the Parties’ addresses set forth above (or to such other address such Party specifies) and shall be deemed to have been sufficiently given when personally delivered or mailed, first class, postage prepaid to said address and to the attention of the undersigned.\n
  36. \n
  37. Entire Agreement.\n This Agreement, including any Orders: (i) constitutes the entire agreement between the Parties with respect to the subject matter hereof and supersedes any previous or contemporaneous agreements, arrangements, or understandings, whether oral or written, and (ii) may be signed in counterparts.\n
  38. \n
  39. Acceptance.\n GovGig and Client desire to conduct business electronically. As such, this Agreement is executed using scrollwrap procedures. BY CLICKING ON THE “I ACCEPT” CHECKBOX, YOU ARE CONSENTING TO BIND CLIENT AS A PARTY TO ALL TERMS OF THIS AGREEMENT. FURTHER, YOU REPRESENT BEING DULY AUTHORIZED TO BIND CLIENT TO THE AGREEMENT AND TO ACCEPT THE AGREEMENT ON CLIENT’S BEHALF.\n
  40. \n
\n\n {acceptedBy && acceptedOn &&\n \n  

I, {acceptedBy} accept this agreement on {acceptedOn}

\n
\n }\n\n
\n )\n }\n}\n\nexport default withStyles(styles)(MasterServiceAgreement20231012)\n","import * as React from 'react'\nimport {createStyles, Theme, withStyles, WithStyles} from \"@material-ui/core/styles\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport UserStore from \"../../stores/UserStore\";\nimport {inject, observer} from \"mobx-react\";\nimport {makeObservable, observable} from \"mobx\";\nimport Agreement from \"../../model/Agreement\";\nimport Account from \"../../model/Account\";\nimport User from \"../../model/User\";\nimport {AgreementType, ModelAgreementFilterInput} from \"../../API\";\nimport {getISODateToday, isoToLocalDate} from \"../../stores/StoreUtilities\";\nimport {format} from \"date-fns\";\nimport MasterServiceAgreement20230814 from \"./MasterServiceAgreement20230814\";\nimport MasterServiceAgreement20230824 from \"./MasterServiceAgreement20230824\";\nimport MasterServiceAgreement20231012 from './MasterServiceAgreement20231012';\n\nconst styles = (theme: Theme) => createStyles({\n})\n\ninterface IMasterServiceAgreementProps {\n accountId?: string\n accountStore?: AccountStore\n userStore?: UserStore\n}\n\n@inject(\"userStore\", \"accountStore\")\n@observer\nclass MasterServiceAgreement extends React.Component & IMasterServiceAgreementProps> {\n\n @observable agreement?: Agreement\n @observable account?: Account\n @observable user?: User\n\n constructor(props: any) {\n super(props)\n makeObservable(this);\n }\n\n async componentDidMount() {\n const {accountStore, userStore} = this.props\n\n let accountId = this.props.accountId\n if (!accountId && accountStore!.account) {\n accountId = accountStore!.account.id\n }\n\n if (accountId && accountStore) {\n const filter: ModelAgreementFilterInput = {\n agreementTypes: {contains: AgreementType.MasterServicesAndNonSolicitation}\n }\n const agreements = await accountStore.listAgreementsByAccount(accountId, filter)\n if (agreements.length > 0) {\n this.agreement = agreements[0]\n }\n if (this.agreement) {\n this.account = await accountStore.getAccount(this.agreement.accountId)\n this.user = await userStore!.getUser(this.agreement.userId)\n }\n }\n }\n\n componentDidUpdate(prevProps: any) {\n if (this.props.accountId !== prevProps.accountId) {\n this.componentDidMount()\n }\n }\n\n render() {\n\n const accountName = this.account ? this.account.name : \"You\"\n const updatedOn = this.agreement ? this.agreement.updatedAt.substring(0, 10) : getISODateToday()\n const acceptedBy = this.user ? this.user.fullName : undefined\n const acceptedOn = this.agreement ? format(isoToLocalDate(this.agreement.updatedAt), \"MMMM d, yyyy\") : undefined\n\n if (updatedOn >= \"2023-10-12\") {\n return \n } else if (updatedOn >= \"2023-08-24\") {\n return \n } else if (updatedOn >= \"2023-08-14\") {\n return \n } else {\n return null\n }\n }\n}\n\nexport default withStyles(styles)(MasterServiceAgreement)\n","import * as React from 'react'\nimport {createStyles, Theme, withStyles, WithStyles, withTheme, WithTheme} from \"@material-ui/core/styles\";\nimport {RouteComponentProps} from \"@reach/router\";\nimport Page from \"../../components/page/Page\";\nimport MarginRow from \"../../components/page/MarginRow\";\nimport MasterServiceAgreement from \"./MasterServiceAgreement\";\nimport {observer} from \"mobx-react\";\nimport {makeObservable, observable} from \"mobx\";\n\nconst styles = (theme: Theme) => createStyles({\n\n})\n\ninterface IMasterServiceAgreementPageProps {\n location?: any\n}\n\n@observer\nclass MasterServiceAgreementPage extends React.Component & RouteComponentProps & WithTheme & IMasterServiceAgreementPageProps> {\n @observable accountId?: string\n\n constructor(props: any) {\n super(props)\n makeObservable(this);\n }\n\n componentDidMount() {\n const { location } = this.props\n window.addEventListener('scroll', this.handleScroll)\n\n if (location) {\n const searchParams = new URLSearchParams(location.search)\n this.accountId = searchParams.get(\"accountId\") ?? undefined\n }\n }\n componentWillUnmount() {\n window.removeEventListener('scroll', this.handleScroll)\n }\n\n handleScroll = (event: any) => {\n const bottom = Math.ceil(window.innerHeight + window.scrollY) >= document.documentElement.scrollHeight\n\n if (bottom) {\n if (window.location !== window.parent.location) {\n // In iframe\n window.parent.postMessage(\"at-bottom\", '*');\n }\n }\n }\n\n render() {\n return (\n \n \n \n \n \n )\n }\n}\n\nexport default withTheme((withStyles(styles)(MasterServiceAgreementPage)))\n\n","import * as React from 'react'\nimport {\n Theme,\n createStyles,\n WithStyles,\n withStyles\n} from '@material-ui/core';\nimport { inject, observer } from \"mobx-react\";\nimport {JobPostStatus, SubjectType, UpdateJobPostInput} from '../../API';\nimport { makeObservable, observable } from 'mobx';\nimport UserStore from '../../stores/UserStore';\nimport Notify from '../notify/Notify';\nimport Progress from '../Progress';\nimport JobPost from '../../model/JobPost';\nimport {ActivityType} from \"../../model/UserActivity\";\nimport JobStore from \"../../stores/JobStore\";\nimport {getISODateTodayAddDays} from '../../stores/StoreUtilities';\nimport AddButton from \"../AddButton\";\n\nconst styles = (theme: Theme) => createStyles({\n simpleSelect: {\n width: 120\n }\n})\n\ninterface IJobPostStatusSelectorProps {\n jobPost: JobPost\n onChange(jobPost: JobPost): void\n\n jobStore?: JobStore\n notify?: Notify\n progress?: Progress\n userStore?: UserStore\n}\n\n@inject(\"accountStore\", 'jobStore', \"notify\", \"progress\", \"userStore\")\n@observer\nclass JobPostStatusSelector extends React.Component & IJobPostStatusSelectorProps> {\n\n @observable selection?: JobPostStatus\n\n constructor(props: any) {\n super(props)\n makeObservable(this)\n }\n\n render() {\n const {jobPost } = this.props\n return (\n option}\n click={this.onChange}\n />\n )\n }\n\n // render() {\n // const { jobStore, jobPost, classes } = this.props\n // return (\n // \n // \n // \n // \n // \n // )\n // }\n\n onChange = async (statusName: string) => {\n const { userStore, jobStore, jobPost, notify, progress } = this.props\n\n progress!.show('JobPostStatusSelector')\n\n let update \n\n try {\n const input: UpdateJobPostInput = {\n id: jobPost.id,\n status: JobPostStatus[statusName]\n }\n\n if (input.status === JobPostStatus.Closed || input.status === JobPostStatus.Hired) {\n // Note, set it to yesterday so that it will not be picked up on the job board.\n input['closedDate'] = getISODateTodayAddDays(-1)\n } else {\n input['closedDate'] = null\n }\n if (input.status === JobPostStatus.Draft) {\n input['openDate'] = null\n }\n \n update = await jobStore!.updateJobPost(input)\n } catch (error) {\n notify!.show(\"error\", \"Error updating job post status\")\n }\n\n if (update) {\n userStore!.logUserActivity(userStore!.user!.id, SubjectType.JobPost, jobPost.id, ActivityType.JobPostStatusUpdated,\n `${userStore!.user!.fullName} updated the job post '${jobPost.fullName}' status to '${statusName}'`)\n\n this.props.onChange(update)\n }\n\n progress!.hide('JobPostStatusSelector')\n }\n}\n\nexport default withStyles(styles)(JobPostStatusSelector)\n","// import { Box, Typography, useTheme } from \"@material-ui/core\"\n// import { useState } from \"react\"\nimport JobPost from \"../../model/JobPost\"\nimport JobPostPage from \"../../pages/jobPost/JobPostPage\"\nimport AppDialog from \"../dialog/AppDialog\"\nimport InstructionsPanel from \"../page/InstructionsPanel\"\nimport * as APITypes from '../../API'\nimport { useStores } from \"../../stores/StoreProvider\"\nimport { getISODateToday, getISODateTodayAddDays } from \"../../stores/StoreUtilities\"\nimport { Box, Button, CircularProgress } from \"@material-ui/core\"\nimport React, { useEffect, useState } from \"react\"\nimport PublishIcon from '@material-ui/icons/Publish';\nimport {JobPostType} from \"../../API\";\n\nconst JobPostPublish = ({\n jobPost,\n isOpen, \n onClickPublish,\n onUpdateJobPost,\n onCancel\n}: {\n jobPost?: JobPost\n isOpen: boolean \n onClickPublish(): void \n onUpdateJobPost(jobPost: JobPost): Promise\n onCancel(): void\n}) => {\n // const theme = useTheme()\n const { \n // accountStore, \n jobStore,\n userStore \n } = useStores()\n\n const [showPublishButton, setShowPublishButton] = useState(false)\n\n useEffect(() => {\n const update = async () => {\n let showPublishButton = false \n if (jobPost && jobPost.status === APITypes.JobPostStatus.Draft) {\n if (userStore!.isAdminOrAgent) {\n // Show publish button always for Admin/Agent. \n showPublishButton = true \n } else if (jobPost.jobPostType === APITypes.JobPostType.SelfService) {\n // Show the publish button to the Employer if not a Recruiting Service job post. \n showPublishButton = true \n }\n }\n setShowPublishButton(showPublishButton)\n }\n\n update() \n }, \n [\n jobPost,\n jobStore,\n userStore\n ])\n\n const handlePublish = async () => {\n const status = APITypes.JobPostStatus.Posted\n\n // TODO: Populate open/closed date: \n const input: APITypes.UpdateJobPostInput = {\n id: jobPost!.id,\n status: status,\n openDate: getISODateToday(),\n closedDate: (jobPost!.jobPostType === JobPostType.RecruitingServices || jobPost!.jobPostType === JobPostType.StaffingServices) ? null : getISODateTodayAddDays(30)\n }\n\n const updatedJobPost = await jobStore.updateJobPost(input)\n await onUpdateJobPost(updatedJobPost!)\n }\n\n if (showPublishButton === false) {\n return null \n }\n\n return (\n \n {\n onClickPublish()\n }}\n startIcon={ }\n >\n Publish \n \n {\n await handlePublish()\n }}\n >\n \n { jobPost ? \n \n :\n \n \n \n }\n \n \n )\n}\n\nexport default JobPostPublish","import * as React from 'react'\nimport {makeObservable, observable, reaction, when} from \"mobx\";\nimport {inject, observer} from \"mobx-react\";\n// Routing \nimport ControlTower, { Routes } from '../../components/ControlTower';\nimport { RouteComponentProps } from \"@reach/router\";\n// UI\nimport {\n Box,\n createStyles,\n Grid,\n Tab,\n Tabs,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n withTheme,\n WithTheme\n} from \"@material-ui/core\";\n// Stores\nimport AccountStore from \"../../stores/AccountStore\";\nimport UserStore from \"../../stores/UserStore\";\n// Components\nimport Confirm from \"../../components/confirm/Confirm\";\nimport Notify from \"../../components/notify/Notify\";\nimport Page from '../../components/page/Page'\nimport Progress from \"../../components/Progress\";\nimport MarginRow from '../../components/page/MarginRow';\nimport Logger from '../../components/Logger';\nimport UserActivityList from '../../components/userActivity/UserActivityList';\nimport JobCandidateList from '../../components/jobCandidates/JobCandidateList';\nimport JobPostMiniCard from '../../components/jobPosts/JobPostMiniCard';\nimport JobPostStatusSelector from '../../components/jobPosts/JobPostStatusSelector';\n// Models\nimport JobPost from '../../model/JobPost';\nimport {JobPostStatus, SubjectType} from '../../API';\nimport JobPostPage from '../jobPost/JobPostPage';\nimport SideDrawer from '../../components/page/SideDrawer';\nimport CandidatesPage from '../candidates/FindTalentPage';\nimport NoteActivityPanel from \"../../components/userActivity/NoteActivityPanel\";\nimport UserActivity from \"../../model/UserActivity\";\nimport {getISODateTime} from \"../../stores/StoreUtilities\";\nimport JobStore from \"../../stores/JobStore\";\nimport JobCandidate from '../../model/JobCandidate';\nimport JobPostPublish from '../../components/jobPosts/JobPostPublish';\nimport Stack from '../../components/Stack';\nimport JobPostButtons from \"../../components/jobPosts/JobPostButtons\";\nimport PageHeadingPanel from '../../components/panel/PageHeadingPanel';\nimport PageTabsPanel from '../../components/panel/PageTabsPanel';\nimport PageTabPanel from '../../components/panel/PageTabPanel';\n\nconst styles = (theme: Theme) => createStyles({\n jobPostButtons: {\n padding: 2\n },\n tabs: {\n // flexGrow: 1,\n // backgroundColor: theme.palette.grey[100]\n },\n tab: {\n fontSize: 15,\n fontWeight: 600,\n textTransform: 'capitalize'\n },\n})\n\ninterface IManageJobPageProps {\n location?: any \n tab?: string\n embed?: boolean \n jobPostId?: string\n onClickJobCandidate?(jobCandidate: JobCandidate): void \n onUpdateJobPost?(jobPost: JobPost): void \n\n userStore?: UserStore\n accountStore?: AccountStore\n jobStore?: JobStore\n progress?: Progress\n notify?: Notify\n confirm?: Confirm\n}\n\n@inject(\"userStore\", \"accountStore\", \"jobStore\", \"progress\", \"notify\", \"confirm\")\n@observer\nclass ManageJobPage extends React.Component & RouteComponentProps & IManageJobPageProps & WithTheme> {\n \n @observable isLoading = true\n @observable jobPost?: JobPost\n @observable isFindTalentOpen: boolean = false\n @observable notesUpdateAt = getISODateTime()\n @observable selectedTabIndex: number = 0 \n @observable isJobPostPublishDialogOpen: boolean = false \n\n tabNames: string[] = [\"candidates\", \"activity\", \"notes\", \"posting\"] // TODO: messages, notes\n\n constructor(\n props: WithStyles & RouteComponentProps & IManageJobPageProps & WithTheme\n ) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount() {\n const { accountStore, userStore, progress } = this.props\n \n progress!.show(\"ManageJobPage\")\n when(\n // once\n () => !accountStore!.isLoading && !userStore!.isLoading,\n // then \n async () => {\n await this.loadJobPost()\n this.loadSelectedTab()\n progress!.hide(\"ManageJobPage\")\n this.isLoading = false \n }\n )\n\n reaction(() => this.props.jobPostId, async (jobPostId) => {\n await this.loadJobPost()\n })\n }\n\n componentDidUpdate(prevProps: any) {\n if (prevProps.tab !== this.props.tab) {\n this.loadSelectedTab()\n }\n }\n\n render() {\n const { embed } = this.props \n const title = \"Manage Job\"\n\n if (embed) {\n return (\n \n {this.isLoading === false ? this.renderContent() : null}\n \n )\n } else {\n return (\n \n \n \n \n \n {title}\n \n \n \n {this.isLoading === false ? this.renderContent() : null}\n \n \n )\n }\n }\n\n renderContent = () => {\n const { classes, embed, onUpdateJobPost, userStore } = this.props\n\n if (this.jobPost === undefined) {\n return null \n }\n\n const jobPost = this.jobPost! \n const tabName = this.tabNames[this.selectedTabIndex]\n const isAdminOrAgent = userStore!.isAdminOrAgent\n\n return (\n \n \n \n \n \n \n \n \n \n { isAdminOrAgent && jobPost.status !== JobPostStatus.Draft &&\n \n {\n this.jobPost = jobPost\n onUpdateJobPost && onUpdateJobPost(jobPost)\n }}\n />\n \n }\n {\n this.isJobPostPublishDialogOpen = true \n }}\n onUpdateJobPost={async (jobPost: JobPost) => {\n this.jobPost = jobPost \n // await this.populateJobPost(this.jobPost!)\n onUpdateJobPost && await onUpdateJobPost(jobPost)\n this.isJobPostPublishDialogOpen = false \n }}\n onCancel={() => {\n this.isJobPostPublishDialogOpen = false \n }}\n />\n \n \n \n \n \n \n {\n if (embed === undefined || embed === false) {\n const tabName = this.tabNames[value]\n // Navigate to tab to allow a direct url to each tab\n let searchParams = new URLSearchParams()\n searchParams.append('jobPostId', this.jobPost!.id)\n ControlTower.route(`${Routes.manageJob}/${tabName}?${searchParams.toString()}`)\n } else {\n this.selectedTabIndex = value \n }\n }}\n indicatorColor=\"secondary\"\n textColor=\"secondary\"\n className={ classes.tabs }\n variant=\"scrollable\"\n scrollButtons=\"auto\"\n >\n {this.tabNames.map((tabName) => {\n return \n })}\n \n \n \n {tabName === 'candidates' && \n {\n this.isFindTalentOpen = true \n }}\n onClickJobCandidate={this.props.onClickJobCandidate}\n />\n }\n {tabName === 'activity' && \n \n }\n {tabName === 'notes' &&\n \n }\n {tabName === 'posting' &&\n {\n this.jobPost = jobPost\n onUpdateJobPost && onUpdateJobPost(jobPost)\n }}\n />\n }\n \n { this.renderFindTalent() }\n \n )\n }\n\n renderFindTalent = () => {\n if (this.jobPost === undefined) {\n return null\n }\n\n if (!this.isFindTalentOpen) {\n return null \n }\n\n return (\n \n {\n // Update JobPost\n await this.populateJobPost(this.jobPost!)\n this.isFindTalentOpen = false\n }}\n size=\"large\" \n >\n \n \n \n \n \n )\n }\n\n // Loading \n\n loadSelectedTab = () => {\n const { embed, tab } = this.props \n if (embed === undefined || embed === false) {\n const tabName = tab !== undefined ? tab : this.tabNames[0]\n let tabIndex = this.tabNames.findIndex(name => tabName === name)\n if (tabIndex < 0) {\n tabIndex = 0\n }\n this.selectedTabIndex = tabIndex\n }\n }\n\n loadJobPost = async () => {\n const { jobStore, location, notify } = this.props\n\n let jobPostId\n if (this.props.jobPostId) {\n jobPostId = this.props.jobPostId\n } else {\n jobPostId = new URLSearchParams(location.search).get(\"jobPostId\")\n }\n\n if (jobPostId) {\n const jobPost = await jobStore!.getJobPost(jobPostId)\n\n if (!jobPost) {\n notify!.show('error', 'Could not fetch job post')\n return \n }\n\n await this.populateJobPost(jobPost)\n\n this.jobPost = jobPost\n } else {\n const message = 'Could not load job post.'\n Logger.error(message, new Error(message))\n return \n }\n }\n\n populateJobPosts = async (jobPosts: JobPost[]) => {\n const promises = jobPosts.map(jobPost => {\n return this.populateJobPost(jobPost) \n })\n\n await Promise.all(promises)\n }\n\n populateJobPost = async (jobPost: JobPost) => {\n const { jobStore } = this.props\n\n // Need to fetch candidates to get the related profile/user info.\n const jobCandidates = await jobStore!.listJobCandidatesByJobPost(jobPost.id)\n\n if (jobCandidates && jobCandidates.length > 0) {\n jobCandidates.forEach((jobCandidate: JobCandidate) => {\n jobCandidate.jobPost = jobPost\n })\n jobPost.jobCandidates = jobCandidates.sort(JobCandidate.compareFn)\n }\n }\n\n handleAddNote = (note: UserActivity) => {\n this.notesUpdateAt = note.updatedAt\n }\n\n}\n\nexport default withTheme((withStyles(styles)(ManageJobPage)))\n","import * as React from \"react\";\nimport {Avatar, makeStyles} from \"@material-ui/core\";\nimport JobCandidate from \"../../model/JobCandidate\";\nimport {JobCandidateStatus, UserRole} from \"../../API\";\nimport classnames from \"classnames\";\nimport Answer from \"../../model/Answer\";\n\nconst useStyles = makeStyles((theme) => ({\n avatar: {\n borderWidth: 2,\n fontSize: 14,\n width: 34,\n height: 34\n },\n avatarActive: {\n backgroundColor: theme.palette.primary.main,\n },\n avatarApplied: {\n backgroundColor: theme.palette.secondary.main,\n },\n avatarHired: {\n backgroundColor: theme.palette.success.dark,\n },\n avatarRejected: {\n backgroundColor: theme.palette.error.dark,\n },\n avatarInactive: {\n backgroundColor: theme.palette.action.disabled,\n },\n avatarPending: {\n backgroundColor: theme.palette.warning.main,\n color: theme.palette.primary.contrastText\n }\n}));\n\ninterface IJobCandidateAvatar {\n jobCandidate: JobCandidate\n}\n\nconst JobCandidateAvatar = (props: IJobCandidateAvatar) => {\n const { jobCandidate } = props\n const classes = useStyles()\n\n let className\n if (jobCandidate.status === JobCandidateStatus.Applied && jobCandidate.application) {\n let isApplicant\n if (jobCandidate.profile && jobCandidate.profile.user && jobCandidate.profile.user.role === UserRole.Candidate) {\n isApplicant = false\n } else if (jobCandidate.profile && jobCandidate.profile.profileStatus) {\n isApplicant = jobCandidate.profile.inReview()\n } else {\n isApplicant = jobCandidate.application.find((a: Answer) => a.name === \"GovGig Candidate\" && a.value === \"false\")\n }\n if (isApplicant) {\n className = classes.avatarPending\n }\n }\n\n if (!className) {\n switch (jobCandidate.status) {\n case JobCandidateStatus.Applied:\n className = classes.avatarApplied\n break\n case JobCandidateStatus.Accepted:\n case JobCandidateStatus.Reviewing:\n case JobCandidateStatus.Contacted:\n className = classes.avatarActive\n break\n case JobCandidateStatus.Hired:\n className = classes.avatarHired\n break\n case JobCandidateStatus.Rejected:\n case JobCandidateStatus.Declined:\n className = classes.avatarRejected\n break\n default:\n className = classes.avatarInactive\n break\n }\n }\n\n // console.debug(\"JobCandidateAvatar\", {\n // key: jobCandidate.id\n // })\n\n return (\n \n {jobCandidate.profile?.initials}\n \n )\n\n}\n\nexport default JobCandidateAvatar","import React from \"react\";\nimport {\n TextField,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport { createStyles, Theme, WithStyles, WithTheme } from \"@material-ui/core\";\nimport { withStyles, withTheme } from \"@material-ui/core/styles\";\nimport { Autocomplete } from \"@material-ui/lab\";\nimport ProfileStore from \"../../stores/ProfileStore\";\nimport { makeObservable, observable } from \"mobx\";\nimport { inject, observer } from \"mobx-react\";\nimport Account from \"../../model/Account\";\nimport UserStore from \"../../stores/UserStore\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport Progress from \"../Progress\";\nimport Contract from \"../../model/Contract\";\n\nconst styles = (theme: Theme) => createStyles({\n filterTextField: {\n // width: 308,\n // width: \"100%\",\n flexGrow: 1, \n backgroundColor: theme.palette.background.paper,\n borderRadius: 10\n }\n})\n\nexport interface IContractFilterProps {\n accounts?: Account[]\n contracts: Contract[]\n onSelectContract: (contract?: Contract) => any \n value?: Contract \n\n accountStore?: AccountStore\n profileStore?: ProfileStore\n progress?: Progress\n userStore?: UserStore \n}\n\n@inject(\"accountStore\", \"profileStore\", \"userStore\", \"progress\")\n@observer\nclass ContractFilter extends React.Component & WithTheme & IContractFilterProps & WithWidth> {\n\n @observable contractFilter?: Contract \n\n constructor(props: any) {\n super(props)\n makeObservable(this)\n }\n\n componentDidMount() {\n const { value } = this.props \n if (value) {\n this.contractFilter = value \n }\n }\n\n componentDidUpdate(prevProps: any) {\n if (prevProps.value !== this.props.value) {\n this.contractFilter = this.props.value\n }\n }\n\n\n render() {\n const { accounts, classes, contracts } = this.props\n\n return (\n option.name}\n getOptionSelected={(option: Contract, value: Contract) => option.id === value.id}\n groupBy={accounts ? (option: Contract) => { \n const account = accounts.find(account => account.id === option.accountId)\n return account!.name \n } : undefined}\n onChange={this.onSelectContract}\n value={this.contractFilter ?? null}\n renderInput={(params: any) =>\n
\n \n
\n }\n />\n )\n }\n\n onSelectContract = (event: any, value: any, reason: any) => {\n const contract = value as Contract \n if (contract) {\n this.contractFilter = contract \n } else {\n this.contractFilter = undefined\n }\n this.props.onSelectContract(this.contractFilter)\n }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(ContractFilter)))","import React from \"react\";\nimport {\n TextField,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport { createStyles, Theme, WithStyles, WithTheme } from \"@material-ui/core\";\nimport { withStyles, withTheme } from \"@material-ui/core/styles\";\nimport { Autocomplete } from \"@material-ui/lab\";\nimport ProfileStore from \"../../stores/ProfileStore\";\nimport { makeObservable, observable } from \"mobx\";\nimport { inject, observer } from \"mobx-react\";\nimport UserStore from \"../../stores/UserStore\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport Progress from \"../Progress\";\nimport { JobPostType } from \"../../API\";\n\nconst styles = (theme: Theme) => createStyles({\n filterTextField: {\n // width: 308,\n // width: \"100%\",\n flexGrow: 1, \n // flex: 1, \n backgroundColor: theme.palette.background.paper,\n borderRadius: 10\n }\n})\n\nexport interface IJobPostTypeFilterProps {\n jobPostTypes: JobPostType[]\n onSelectJobPostType: (jobPostType?: JobPostType) => any \n value?: JobPostType\n accountStore?: AccountStore\n profileStore?: ProfileStore\n progress?: Progress\n userStore?: UserStore \n}\n\n@inject(\"accountStore\", \"profileStore\", \"userStore\", \"progress\")\n@observer\nclass JobPostTypeFilter extends React.Component & WithTheme & IJobPostTypeFilterProps & WithWidth> {\n\n @observable jobPostTypeFilter?: JobPostType \n\n constructor(props: WithStyles & WithTheme & IJobPostTypeFilterProps & WithWidth) {\n super(props)\n makeObservable(this)\n }\n\n componentDidMount() {\n const { value } = this.props\n this.jobPostTypeFilter = value\n }\n\n componentDidUpdate(prevProps: any) {\n if (prevProps.value !== this.props.value) {\n this.jobPostTypeFilter = this.props.value\n }\n }\n\n render() {\n const { classes, jobPostTypes } = this.props\n\n return (\n {\n if (option === JobPostType.RecruitingServices) {\n return \"Recruiting Services\"\n } else if (option === JobPostType.SelfService) {\n return \"Self Service\"\n } else if (option === JobPostType.StaffingServices) {\n return \"Staffing Services\"\n } else {\n return \"\"\n }\n }}\n getOptionSelected={(option: JobPostType, value: JobPostType) => option === value}\n onChange={this.onSelectJobPostType}\n value={this.jobPostTypeFilter ?? null}\n renderInput={(params: any) =>\n
\n \n
\n }\n />\n )\n }\n\n onSelectJobPostType = (event: any, value: any, reason: any) => {\n const jobPostType = value as JobPostType \n if (jobPostType) {\n this.jobPostTypeFilter = jobPostType \n } else {\n this.jobPostTypeFilter = undefined\n }\n this.props.onSelectJobPostType(this.jobPostTypeFilter)\n }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(JobPostTypeFilter)))","import * as React from 'react'\nimport {autorun, makeObservable, observable, toJS, when} from \"mobx\";\nimport {inject, observer} from \"mobx-react\";\nimport {createMachine, interpret} from 'xstate'\nimport {addDays} from \"date-fns\";\n// Routing\nimport ControlTower, {Routes} from '../../components/ControlTower';\nimport {RouteComponentProps} from \"@reach/router\";\n// UI\nimport {\n Box,\n Button,\n createStyles,\n Grid,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n withTheme,\n WithTheme\n} from \"@material-ui/core\";\nimport {AvatarGroup} from '@material-ui/lab';\n// Stores\nimport {getISODateFromDate, getISODateTodayAddDays, isoToLocalDate} from '../../stores/StoreUtilities';\nimport AccountStore from \"../../stores/AccountStore\";\nimport ProfileStore from \"../../stores/ProfileStore\";\nimport UserStore from \"../../stores/UserStore\";\nimport JobStore from \"../../stores/JobStore\";\n// Components\nimport AddButton from '../../components/AddButton';\nimport Confirm from \"../../components/confirm/Confirm\";\nimport JobPostForm from '../../components/jobPosts/JobPostForm';\nimport JobPostMiniCard from '../../components/jobPosts/JobPostMiniCard';\nimport KanbanBoard, {IKanbanColumn, IKanbanRow} from '../../components/kanban/KanbanBoard';\nimport Notify from \"../../components/notify/Notify\";\nimport Page from '../../components/page/Page'\nimport Progress from \"../../components/Progress\";\nimport SideDrawer from '../../components/page/SideDrawer';\nimport ManageJobPage from './ManageJobPage';\nimport ManageCandidatePage from \"../manageCandidates/ManageCandidatePage\";\nimport CandidatesPage from \"../candidates/FindTalentPage\";\nimport JobPostPublish from '../../components/jobPosts/JobPostPublish';\nimport JobCandidateAvatar from '../../components/jobCandidates/JobCandidateAvatar';\n// FilterBar\nimport FilterBar from '../../components/filter/FilterBar';\nimport ContractFilter from '../../components/filter/ContractFilter';\nimport AccountFilter from '../../components/filter/AccountFilter';\nimport LocationFilter from '../../components/filter/LocationFilter';\nimport ServiceFilter from '../../components/filter/ServiceFilter';\nimport JobPostTypeFilter from '../../components/filter/JobPostTypeFilter';\nimport ShoppingCartIcon from '@material-ui/icons/ShoppingCart';\n// Models\nimport * as APITypes from '../../API'\nimport JobPost from \"../../model/JobPost\";\nimport Account from '../../model/Account';\nimport Contract from '../../model/Contract';\nimport JobCandidate from '../../model/JobCandidate';\nimport ResourceCache, {LocationOption, ServiceOption} from \"../../stores/ResourceCache\";\nimport {ActivityType} from \"../../model/UserActivity\";\n\nconst styles = (theme: Theme) => createStyles({\n\n})\n\ninterface IManageJobsPageProps {\n userStore?: UserStore\n profileStore?: ProfileStore\n accountStore?: AccountStore\n jobStore?: JobStore\n resourceCache?: ResourceCache\n progress?: Progress\n notify?: Notify\n confirm?: Confirm\n location?: any\n}\n\nenum ManageJobsStates {\n loading = 'loading',\n idle = 'idle',\n addJobPost = 'addJobPost',\n viewJobPostLargeDrawer = 'viewJobPostLargeDrawer',\n editJobPost = 'editJobPost',\n findTalent = 'findTalent',\n manageCandidate = 'manageCandidate',\n publishJobPost = 'publishJobPost'\n}\n\nenum ManageJobsActions {\n ADD_JOB_POST = 'ADD_JOB_POST',\n EDIT_JOB_POST = 'EDIT_JOB_POST',\n VIEW_JOB_POST_LARGE_DRAWER = 'VIEW_JOB_POST_LARGE_DRAWER',\n PUBLISH_JOB_POST = 'PUBLISH_JOB_POST',\n MANAGE_CANDIDATE = 'MANAGE_CANDIDATE',\n CLOSE = 'CLOSE'\n}\n\nconst stateMachine = createMachine({\n id: 'manageJobs',\n initial: 'loading',\n states: {\n loading: { \n on: { \n LOADED: ManageJobsStates.idle \n }\n },\n idle: { \n on: { \n [ManageJobsActions.ADD_JOB_POST]: ManageJobsStates.addJobPost, \n [ManageJobsActions.VIEW_JOB_POST_LARGE_DRAWER]: ManageJobsStates.viewJobPostLargeDrawer,\n [ManageJobsActions.PUBLISH_JOB_POST]: ManageJobsStates.publishJobPost,\n [ManageJobsActions.EDIT_JOB_POST]: ManageJobsStates.editJobPost \n }\n },\n [ManageJobsStates.addJobPost]: { \n on: {\n CLOSE: ManageJobsStates.idle\n }\n },\n [ManageJobsStates.publishJobPost]: {\n on: {\n [ManageJobsActions.CLOSE]: ManageJobsStates.idle\n }\n },\n [ManageJobsStates.editJobPost]: {\n on: {\n CLOSE: ManageJobsStates.idle\n }\n },\n [ManageJobsStates.viewJobPostLargeDrawer]: {\n initial: 'view', \n states: {\n view: {\n on: {\n [ManageJobsActions.MANAGE_CANDIDATE]: ManageJobsStates.manageCandidate\n }\n },\n [ManageJobsStates.manageCandidate]: {\n on: {\n [ManageJobsActions.CLOSE]: 'view'\n }\n }\n },\n on: {\n [ManageJobsActions.CLOSE]: ManageJobsStates.idle\n }\n }\n }\n})\n\n@inject(\"userStore\", \"profileStore\", \"accountStore\", \"jobStore\", \"resourceCache\", \"progress\", \"notify\", \"confirm\")\n@observer\nclass ManageJobsPage extends React.Component & RouteComponentProps & IManageJobsPageProps & WithTheme> {\n \n @observable currentState = stateMachine.initialState\n stateService = interpret(stateMachine).onTransition((state) => {\n this.currentState = state\n })\n\n // Filter Bar \n @observable accountFilter?: Account \n @observable contractFilter?: Contract\n @observable serviceFilter?: ServiceOption\n @observable locationFilter?: LocationOption\n @observable jobPostTypeFilter?: APITypes.JobPostType\n \n // Columns and Jobs on the Board \n @observable columns: IKanbanColumn[] = []\n @observable jobPosts: JobPost[] = []\n @observable jobPostsFiltered: JobPost[] = []\n @observable jobPostCartCount: number = 0 \n \n // Contract and Job Post Creation \n @observable accounts?: Account[]\n @observable contracts: Contract[] = [] \n @observable contract?: Contract\n @observable jobPost?: JobPost\n @observable jobCandidate?: JobCandidate\n @observable industryFilter?: string\n \n constructor(\n props: WithStyles & RouteComponentProps & IManageJobsPageProps & WithTheme\n ) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount() {\n const { accountStore, location, userStore, progress } = this.props\n \n this.stateService.start();\n const { send } = this.stateService\n\n progress!.show(\"ManageJobsPage\")\n when(\n // once\n () => !accountStore!.isLoading && userStore!.user !== undefined,\n // then \n async () => {\n this.industryFilter = userStore!.industry\n await this.loadAccounts()\n await this.loadColumns()\n await this.loadJobPosts()\n const searchParams = new URLSearchParams(location.search)\n const accountId = searchParams.get(\"accountId\")\n if (accountId && this.accounts) {\n this.accountFilter = this.accounts.find((account: Account) => account.id === accountId)\n }\n await this.loadContracts()\n const contractId = searchParams.get(\"contractId\")\n if (contractId) {\n this.contractFilter = this.contracts.find(checkContract => checkContract.id === contractId)\n }\n this.filterJobPosts()\n this.loadJobPostCartCount()\n this.populateColumns()\n send('LOADED')\n progress!.hide(\"ManageJobsPage\")\n }\n )\n\n autorun(\n async () => {\n if (!userStore!.isLoading && userStore!.industry !== this.industryFilter) {\n progress!.show(\"ManageJobsPage\")\n console.log(`Industry changed`)\n this.industryFilter = userStore!.industry\n await this.loadJobPosts()\n this.filterJobPosts()\n this.populateColumns()\n send('LOADED')\n progress!.hide(\"ManageJobsPage\")\n }\n }\n )\n }\n\n componentWillUnmount() {\n this.stateService.stop() \n }\n\n render() {\n const title = \"Manage Jobs\"\n\n return (\n \n \n \n \n {title}\n \n \n {this.renderFilterBar()}\n {this.renderKanbanBoard()}\n {this.renderJobPostForm()}\n {this.renderJobPostLargeDrawer()}\n {this.renderFindTalentDrawer()}\n {this.renderManageCandidateDrawer()}\n \n \n )\n }\n\n renderFilterBar = () => {\n const { userStore, location } = this.props\n\n if (this.currentState.matches(ManageJobsStates.loading)) {\n return null \n }\n\n const buttons = [\n \n ]\n\n if (this.jobPostCartCount > 0 || userStore!.user?.isAdminOrAgent) {\n const infoString = this.jobPostCartCount > 0 ? `(${this.jobPostCartCount})` : \"\"\n buttons.push(\n {\n const route = (this.accountFilter) ? `${Routes.jobPostPaymentCart}?accountId=${this.accountFilter!.id}` : Routes.jobPostPaymentCart\n ControlTower.route(route)\n }}\n startIcon={ }\n >\n {`Job Cart ${infoString}`}\n \n )\n }\n\n return (\n \n \n { userStore!.user?.isAdminOrAgent ?\n {\n const searchParams = new URLSearchParams(location.search)\n if (searchParams.get(\"accountId\")) {\n ControlTower.route(account ? `${Routes.manageJobs}?accountId=${account.id}` : Routes.manageJobs)\n }\n this.accountFilter = account\n this.contractFilter = undefined\n this.contracts = []\n this.loadContracts()\n this.filterJobPosts()\n this.populateColumns()\n this.loadJobPostCartCount()\n }}\n /> \n : null }\n {\n this.contractFilter = contract \n this.filterJobPosts()\n this.populateColumns() \n }}\n />\n {\n if (value) {\n this.serviceFilter = value\n } else {\n this.serviceFilter = undefined\n }\n this.filterJobPosts()\n this.populateColumns()\n }}\n />\n {\n if (value) {\n this.locationFilter = value\n } else {\n this.locationFilter = undefined\n }\n this.filterJobPosts()\n this.populateColumns()\n }}\n /> \n { userStore!.user?.isAdminOrAgent &&\n APITypes.JobPostType[type])}\n onSelectJobPostType={(value?: APITypes.JobPostType) => {\n if (value) {\n this.jobPostTypeFilter = value \n } else {\n this.jobPostTypeFilter = undefined \n }\n this.filterJobPosts() \n this.populateColumns() \n }}\n />\n }\n \n \n )\n }\n\n renderKanbanBoard = () => {\n if (this.currentState.matches(ManageJobsStates.loading)) {\n return null \n }\n\n return (\n \n \n \n \n \n )\n }\n\n showJobPostPublishButton = (jobPost: JobPost): boolean => {\n const { userStore } = this.props \n let showPublishButton = false \n if (jobPost && jobPost.status === APITypes.JobPostStatus.Draft) {\n if (userStore!.isAdminOrAgent) {\n // Show publish button always for Admin/Agent. \n showPublishButton = true \n } else if (jobPost.jobPostType === APITypes.JobPostType.SelfService) {\n // Show the publish button to the Employer if not a Recruiting Service job post. \n showPublishButton = true \n }\n }\n return showPublishButton \n }\n\n renderJobPostCard = (row: IKanbanRow) => {\n const jobPost = row as JobPost\n\n return (\n {\n this.jobPost = jobPost\n // Send action to open the drawer: \n this.stateService.send(ManageJobsActions.VIEW_JOB_POST_LARGE_DRAWER)\n // ControlTower.route(`${Routes.manageJob}?jobPostId=${jobPost.id}`)\n }}\n onEdit={() => {\n this.jobPost = jobPost\n this.stateService.send(ManageJobsActions.EDIT_JOB_POST)\n }}\n >\n 0 ? 1 : 0} \n >\n \n {jobPost.jobCandidates.map((jobCandidate: JobCandidate) => {\n return (\n this.getJobCandidateAvatar(jobCandidate)\n )\n })}\n \n \n \n {\n this.jobPost = jobPost \n this.stateService.send(ManageJobsActions.PUBLISH_JOB_POST)\n }}\n onUpdateJobPost={async (jobPost: JobPost) => {\n await this.handleUpdateJobPost(jobPost)\n if (this.currentState.matches(ManageJobsStates.publishJobPost)) {\n this.stateService.send(ManageJobsActions.CLOSE) \n }\n }}\n onCancel={() => {\n this.stateService.send(ManageJobsActions.CLOSE) \n }}\n />\n \n \n )\n }\n\n getJobCandidateAvatar = (jobCandidate: JobCandidate) => {\n let avatar\n\n switch (jobCandidate.status) {\n case APITypes.JobCandidateStatus.Applied:\n case APITypes.JobCandidateStatus.Accepted:\n case APITypes.JobCandidateStatus.Reviewing:\n case APITypes.JobCandidateStatus.Contacted:\n case APITypes.JobCandidateStatus.Hired:\n avatar = \n break\n default:\n avatar = null\n break\n }\n\n return avatar\n }\n\n isDragDisabled = (row: IKanbanRow) => {\n const { userStore } = this.props\n\n const jobPost = row as JobPost\n if (jobPost.status === APITypes.JobPostStatus.Cart || jobPost.status === APITypes.JobPostStatus.Draft) {\n return true \n } else if (userStore!.isEmployer === false || jobPost.jobPostType === APITypes.JobPostType.SelfService) {\n return false \n } else {\n return true \n }\n }\n\n renderJobPostForm = () => {\n if (!this.jobPost) {\n return null\n }\n\n let isOpen: boolean = this.currentState.matches(ManageJobsStates.addJobPost) \n || this.currentState.matches(ManageJobsStates.editJobPost)\n\n if (isOpen === false) {\n return null \n }\n \n return (\n {\n this.stateService.send(ManageJobsActions.CLOSE) \n }}\n didCreate={(jobPost: JobPost) => {\n if (this.contracts && this.contracts.length > 0) {\n const contract = this.contracts.find(contract => contract.id === jobPost.contractId)\n if (contract) {\n contract!.jobPosts.push(jobPost)\n jobPost.contract = contract!\n }\n }\n this.jobPosts.push(jobPost)\n this.filterJobPosts() \n this.populateColumns()\n }}\n didDelete={(jobPost: JobPost) => {\n const contract = this.contracts.find(contract => contract.id === jobPost.contractId)\n if (contract) {\n const index = contract!.jobPosts.findIndex(checkJobPost => checkJobPost.id === jobPost.id)\n contract!.jobPosts.splice(index, 1)\n }\n const jobPostIndex = this.jobPosts.findIndex(checkJobPost => checkJobPost.id === jobPost.id)\n if (jobPostIndex >= 0) {\n this.jobPosts.splice(jobPostIndex, 1)\n }\n this.filterJobPosts()\n this.populateColumns()\n }}\n didEdit={async (jobPost: JobPost) => {\n await this.handleUpdateJobPost(jobPost)\n }}\n />\n )\n }\n\n renderJobPostLargeDrawer = () => {\n if (this.jobPost === undefined) {\n return null \n }\n \n const isOpen = this.currentState.matches(ManageJobsStates.viewJobPostLargeDrawer)\n \n // if (!isOpen) {\n // return null \n // }\n\n return (\n {\n this.stateService.send(ManageJobsActions.CLOSE)\n }} \n >\n {this.jobPost && \n {\n this.jobCandidate = jobCandidate \n this.stateService.send(ManageJobsActions.MANAGE_CANDIDATE)\n }}\n onUpdateJobPost={async (jobPost: JobPost) => {\n await this.handleUpdateJobPost(jobPost)\n }}\n /> \n }\n \n )\n }\n\n renderFindTalentDrawer = () => {\n if (this.jobPost === undefined) {\n return null\n }\n\n const isOpen = this.currentState.matches({\n viewJobPostDrawer: ManageJobsStates.findTalent\n })\n\n if (!isOpen) {\n return null \n }\n\n return (\n \n {\n // Update JobPost\n await this.populateJobPost(this.jobPost!)\n this.stateService.send(ManageJobsActions.CLOSE)\n }}\n size=\"large\"\n >\n \n \n \n \n \n )\n }\n\n renderManageCandidateDrawer = () => {\n if (this.jobCandidate === undefined) {\n return null\n }\n\n const isOpen = this.currentState.matches({[ManageJobsStates.viewJobPostLargeDrawer]: ManageJobsStates.manageCandidate})\n\n if (!isOpen) {\n return null \n }\n\n return (\n \n {\n // Update JobPost\n this.jobCandidate = undefined \n this.stateService.send(ManageJobsActions.CLOSE)\n }}\n size=\"large\"\n >\n \n { this.jobCandidate && \n {\n this.jobCandidate = updatedJobCandidate\n const jobCandidateIndex = this.jobPost!.jobCandidates.findIndex(checkJobCandidate => checkJobCandidate.id === updatedJobCandidate.id)\n if (jobCandidateIndex > -1) {\n this.jobPost!.jobCandidates[jobCandidateIndex] = updatedJobCandidate\n }\n }}\n />\n }\n \n \n \n )\n }\n\n // Loading\n\n loadAccounts = async () => {\n const { accountStore, userStore } = this.props \n\n if (userStore!.user?.isAdminOrAgent) {\n const accounts: Account[] = await accountStore!.listAccounts()\n const sorted = accounts.sort((a: Account, b: Account) => a.name.localeCompare(b.name))\n this.accounts = sorted \n } \n }\n\n loadContracts = async () => {\n const { jobStore, progress, userStore } = this.props\n \n progress!.show(\"ManageJobsPage\")\n\n // TODO: Ability to filter on completed contracts. \n // let filter: APITypes.ModelContractFilterInput\n // if (contractStatus === 'Completed') {\n // filter = {\n // endDate: {lt: getISODateToday()}\n // }\n // } else {\n // filter = {\n // endDate: {ge: getISODateToday()}\n // }\n // }\n // const contracts = await accountStore!.listContractsByAccount(accountId, filter) \n\n let contracts: Contract[] = []\n\n let account: Account | undefined\n\n if (userStore!.user?.isAdminOrAgent) {\n if (this.accountFilter) {\n account = this.accountFilter\n }\n } else {\n account = userStore!.user!.account\n }\n\n if (account) {\n contracts = await jobStore!.listContractsByAccount(account!.id)\n }\n\n this.contracts = contracts.sort((a: Contract, b: Contract) => a.name.localeCompare(b.name))\n\n progress!.hide(\"ManageJobsPage\")\n }\n\n loadColumns = async () => {\n const { jobStore } = this.props\n const statuses = await jobStore!.getJobPostStatusOptions()\n let columns: IKanbanColumn[] = []\n statuses!.forEach(status => {\n const column: IKanbanColumn = {\n id: status,\n title: status,\n rows: [],\n isDragDisabled: status === \"Cart\" || status === \"Draft\",\n isDropDisabled: status === \"Cart\" || status === \"Draft\"\n }\n if (status !== APITypes.JobPostStatus.Cart.toString()) {\n columns.push(column)\n }\n })\n this.columns = columns \n }\n\n loadJobPosts = async () => {\n const { jobStore, userStore } = this.props\n\n if (!userStore!.user) {\n this.jobPosts = []\n this.jobPostsFiltered = []\n return\n }\n\n let jobPosts: JobPost[]\n const isAdminOrAgent = userStore!.user!.isAdminOrAgent\n \n // If we want to hide Closed JobPost records: \n // Perhaps add the ability to load/show Closed column with a checkbox. \n // const filter: ModelJobPostFilterInput = {\n // or: [\n // {closedDate: {attributeExists: false}},\n // {closedDate: {attributeType: ModelAttributeTypes._null}}\n // ]\n // }\n\n // const filter: ModelJobPostFilterInput = {\n // or: [\n // {or: [\n // {closedDate: {attributeExists: false}},\n // {closedDate: {attributeType: ModelAttributeTypes._null}}\n // ]},\n // {endDate: { gt: getISODateToday()} }\n // ]\n // }\n\n if (isAdminOrAgent) {\n if (this.accountFilter) {\n // Only load job posts for the selected account. \n jobPosts = await jobStore!.listJobPostsAndCandidatesByAccount(this.accountFilter!.id)\n } else {\n // Load all.\n jobPosts = await jobStore!.listJobPostsAndCandidates(this.industryFilter)\n }\n } else {\n this.accountFilter = userStore!.user!.account\n jobPosts = await jobStore!.listJobPostsAndCandidatesByAccount(this.accountFilter!.id)\n }\n\n if(userStore!.user!.isEmployer) {\n jobPosts.forEach((job: any) => {\n if(job?.jobCandidates.length > 0) {\n let getOption:any = job?.jobCandidates?.filter((p: { profile: { profileStatus: APITypes.ProfileStatus; }; }) => p.profile.profileStatus !== APITypes.ProfileStatus.Pending);\n job.jobCandidates = getOption; \n }\n });\n }\n\n // await this.populateJobPosts(jobPosts)\n this.jobPosts = jobPosts\n this.jobPostsFiltered = jobPosts \n }\n\n populateJobPosts = async (jobPosts: JobPost[]) => {\n const promises = jobPosts.map(jobPost => {\n return this.populateJobPost(jobPost) \n })\n\n await Promise.all(promises)\n }\n\n populateJobPost = async (jobPost: JobPost) => {\n const { jobStore } = this.props\n\n // Need to fetch candidates to get the related profile/user info.\n const jobCandidates = await jobStore!.listJobCandidatesByJobPost(jobPost.id)\n\n if (jobCandidates && jobCandidates.length > 0) {\n jobPost.jobCandidates = jobCandidates.sort(JobCandidate.compareFn)\n }\n }\n\n loadJobPostCartCount = () => {\n const { userStore } = this.props\n if (userStore!.isEmployer) {\n const inCart = this.jobPosts.filter(jobPost => jobPost.status === APITypes.JobPostStatus.Cart)\n this.jobPostCartCount = inCart.length\n } else if (userStore!.isAdminOrAgent && this.accountFilter) {\n const inCart = this.jobPosts.filter(jobPost => jobPost.accountId === this.accountFilter!.id && jobPost.status === APITypes.JobPostStatus.Cart)\n this.jobPostCartCount = inCart.length\n } else {\n this.jobPostCartCount = 0\n }\n }\n\n // Filtering \n\n filterJobPosts = async () => {\n let accountId = (this.accountFilter) ? this.accountFilter.id : \"\"\n let contractId = (this.contractFilter) ? this.contractFilter.id : \"\"\n let serviceId = (this.serviceFilter) ? this.serviceFilter.id : \"\"\n let locationId = (this.locationFilter) ? this.locationFilter.id : \"\"\n let jobPostType = (this.jobPostTypeFilter) ? this.jobPostTypeFilter : \"\"\n const jobPosts: JobPost[] = []\n \n this.jobPosts.forEach((jobPost: JobPost) => {\n if (accountId !== \"\" && jobPost.accountId !== accountId) {\n return \n }\n if (contractId !== \"\" && jobPost.contractId !== contractId) {\n return \n }\n if (serviceId !== \"\" && jobPost.serviceId !== serviceId) {\n return \n }\n if (locationId !== \"\" && jobPost.locationId !== locationId) {\n return \n }\n if (jobPostType !== \"\" && jobPost.jobPostType !== jobPostType) {\n return \n }\n jobPosts.push(jobPost)\n })\n\n this.jobPostsFiltered = jobPosts\n }\n\n populateColumns = () => {\n const columns = toJS(this.columns)\n columns.forEach((column: IKanbanColumn) => {\n column.rows = []\n })\n const jobPosts = toJS(this.jobPostsFiltered)\n jobPosts.forEach((jobPost: JobPost) => {\n const column: IKanbanColumn | undefined = columns.find(column => column.id === jobPost.status)\n if (column) {\n column!.rows.push(jobPost)\n }\n })\n\n columns.forEach((column: IKanbanColumn) => {\n const jobPosts = column.rows as JobPost[]\n const sorted = jobPosts.sort((a: JobPost, b: JobPost) => {\n // return String(a.service?.name).localeCompare(String(b.service?.name))\n \n // Order by most recently updated first. \n return b.updatedAt.localeCompare(a.updatedAt)\n })\n column.rows = sorted\n })\n\n this.columns = columns \n }\n\n // JobPosts Actions \n\n handleUpdateJobPostStatus = async (\n row: IKanbanRow,\n sourceIndex: number, \n sourceColumnId: string, \n destinationIndex: number, \n destinationColumnId: string\n ) => {\n const { jobStore, userStore } = this.props\n const isAdminOrAgent = userStore!.isAdminOrAgent\n\n this.props.progress!.show('ManageJobs-UpdateJobPostStatus')\n try {\n if (sourceColumnId === destinationColumnId) {\n // We don't currently handle re-ordering job posts within a column, \n // as they are sorted by date updated. \n return \n }\n // const row = this.jobPostsFiltered.find(jobPost => jobPost.id === rowId)\n const sourceColumn: IKanbanColumn = this.columns.find(column => column.id === sourceColumnId)!\n const destinationColumn: IKanbanColumn = this.columns.find(column => column.id === destinationColumnId)!\n \n sourceColumn.rows.splice(sourceIndex, 1);\n destinationColumn.rows.splice(destinationIndex, 0, row);\n\n const currentPost = row as JobPost\n const status = destinationColumn.id\n if (!status) {\n throw new Error('Column is not a valid job post status')\n }\n if (!isAdminOrAgent && status === \"Draft\") {\n throw new Error('Cannot set a published job back to draft status')\n }\n\n const input: APITypes.UpdateJobPostInput = { \n id: currentPost.id, \n status: APITypes.JobPostStatus[status]\n }\n\n if (input.status === APITypes.JobPostStatus.Closed || input.status === APITypes.JobPostStatus.Hired) {\n // Note, set it to yesterday so that it will not be picked up on the job board.\n input['closedDate'] = getISODateTodayAddDays(-1)\n } else if (isAdminOrAgent) {\n // Only admins and agents can unclose a job post\n input['closedDate'] = null\n }\n // Handle re-opening a job\n if ((input.status === APITypes.JobPostStatus.Posted || input.status === APITypes.JobPostStatus.Pending) &&\n (currentPost.status === APITypes.JobPostStatus.Hired || currentPost.status === APITypes.JobPostStatus.Closed)) {\n // Reset closedDate to +30 days\n // TODO: Handle charging for this if necessary\n if (currentPost.openDate) {\n const closedDate = addDays(isoToLocalDate(currentPost.openDate), 30)\n input['closedDate'] = getISODateFromDate(closedDate)\n }\n }\n\n const jobPost = await jobStore!.updateJobPost(input)\n if (jobPost) {\n await this.populateJobPost(jobPost)\n jobPost.account = currentPost.account\n jobPost.contract = currentPost.contract\n\n userStore!.logUserActivity(userStore!.user!.id, APITypes.SubjectType.JobPost, jobPost.id, ActivityType.JobPostStatusUpdated,\n `${userStore!.user!.fullName} updated the job post '${jobPost.fullName}' status to '${destinationColumn.title}'`)\n\n const index = this.jobPosts.findIndex(checkJobPost => checkJobPost.id === jobPost.id)\n if (index >= 0) {\n this.jobPosts[index] = jobPost\n }\n\n const indexFiltered = this.jobPostsFiltered.findIndex(checkJobPost => checkJobPost.id === jobPost.id)\n if (indexFiltered >= 0) {\n this.jobPostsFiltered[indexFiltered] = jobPost\n }\n // Repopulate to show updated post\n this.populateColumns()\n }\n } catch (err: any) {\n this.props.notify!.show('error', `Could not update job post status: ${err.message}`)\n } finally {\n this.props.progress!.hide('ManageJobs-UpdateJobPostStatus')\n }\n }\n\n handleAddJobPost = () => {\n const { userStore } = this.props \n\n if (userStore!.isEmployer) {\n ControlTower.route(Routes.jobPostCreate)\n } else {\n // For Agents to add job posts. \n const { send } = this.stateService\n const jobPost = new JobPost({\n accountId: this.accountFilter ? this.accountFilter!.id : userStore!.user!.accountId,\n industries: this.accountFilter ? this.accountFilter.industries : [userStore!.industry]\n })\n this.jobPost = jobPost\n send(ManageJobsActions.ADD_JOB_POST)\n }\n\n }\n\n handleUpdateJobPost = async (jobPost: JobPost) => {\n await this.populateJobPost(jobPost)\n if (this.contracts && this.contracts.length > 0) {\n const contract = this.contracts.find(contract => contract.id === jobPost.contractId)\n if (contract) {\n const index = contract.jobPosts.findIndex(checkJobPost => checkJobPost.id === jobPost.id)\n if (index >= 0) {\n contract!.jobPosts[index] = jobPost\n }\n }\n }\n const jobPostIndex = this.jobPosts.findIndex(checkJobPost => checkJobPost.id === jobPost.id)\n this.jobPosts[jobPostIndex] = jobPost \n this.filterJobPosts() \n this.populateColumns() \n }\n}\n\nexport default withTheme((withStyles(styles)(ManageJobsPage)))","import { createStyles, Grid, isWidthDown, Theme, withStyles, WithStyles, WithWidth, withWidth } from '@material-ui/core';\nimport EditIcon from '@material-ui/icons/Edit';\nimport { RouteComponentProps } from '@reach/router';\nimport { makeObservable, observable } from 'mobx';\nimport { inject, observer } from 'mobx-react';\nimport * as React from 'react';\nimport CardValue from '../../../components/CardValue';\nimport IconicButton from '../../../components/controls/IconicButton';\nimport { phoneToNationalFormat } from '../../../stores/StoreUtilities';\nimport UserStore from '../../../stores/UserStore';\nimport ProfileCard from '../../profile/ProfileCard';\nimport UserSettingsDialog from './UserSettingsDialog';\nimport User from \"../../../model/User\";\n\nconst styles = (theme: Theme) => createStyles({\n})\n\ninterface IUserSettingsProps {\n user: User\n userStore?: UserStore\n route?: string\n}\n\n@inject('userStore')\n@observer\nclass UserSettings extends React.Component & WithWidth & RouteComponentProps & IUserSettingsProps> {\n @observable userSettingsOpen = false\n\n constructor(\n props: WithStyles & WithWidth & RouteComponentProps & IUserSettingsProps\n ) {\n super(props)\n makeObservable(this)\n }\n\n handleClose = () => {\n this.userSettingsOpen = false\n }\n\n renderStaticFields() {\n const { width, userStore } = this.props\n\n const labelStyle = { flex: \"0 0 100px\" }\n const user = userStore!.user!\n\n if (!user) {\n return null\n }\n\n return (\n
\n \n \n \n \n {user.firstName}\n \n \n {user.lastName}\n \n \n {user.email}\n \n \n {phoneToNationalFormat(user.phone)}\n \n \n \n \n \n {user.address}\n \n \n {user.city}, {user.state} {user.postalCode}\n \n \n \n
\n )\n }\n\n render() {\n const { user } = this.props\n\n return (\n \n \n this.userSettingsOpen = true}>\n \n \n }>\n {this.renderStaticFields()}\n \n \n\n {this.userSettingsOpen &&\n \n }\n \n )\n }\n}\n\nexport default withStyles(styles)(withWidth()(UserSettings))\n","import {\n Box,\n createStyles,\n Grid,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n WithWidth,\n withWidth\n} from '@material-ui/core';\nimport { RouteComponentProps } from '@reach/router';\nimport { makeObservable, observable } from 'mobx';\nimport { inject, observer } from 'mobx-react';\nimport * as React from 'react';\nimport MarginRow from \"../../components/page/MarginRow\";\nimport Page from '../../components/page/Page';\nimport UserStore from '../../stores/UserStore';\nimport UserSettings from './user-settings/UserSettings';\n\nconst styles = (theme: Theme) => createStyles({\n content: {\n display: \"flex\",\n flexGrow: 1,\n flexDirection: \"column\",\n alignItems: \"center\",\n },\n})\n\ninterface ISettingsPageProps {\n userStore?: UserStore\n}\n\n@inject('userStore')\n@observer\nclass SettingsPage extends React.Component & WithWidth & RouteComponentProps & ISettingsPageProps> {\n\n @observable isAddUserOpen: boolean = false\n\n constructor(props: WithStyles & WithWidth & RouteComponentProps & ISettingsPageProps) {\n super(props)\n makeObservable(this)\n }\n\n render() {\n const { userStore } = this.props\n\n const user = userStore!.user!\n\n if (!user) {\n return null\n }\n\n return (\n \n \n \n \n Settings\n \n \n \n \n \n \n \n )\n }\n}\n\nexport default withStyles(styles)(withWidth()(SettingsPage))\n","export default __webpack_public_path__ + \"static/media/flag.482eb72f.jpg\";","import * as React from 'react'\nimport Page from '../../components/page/Page'\nimport {RouteComponentProps} from \"@reach/router\";\nimport MarginRow from \"../../components/page/MarginRow\";\nimport {inject, observer} from \"mobx-react\";\nimport {\n Box,\n createStyles,\n Grid,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n withTheme,\n WithTheme,\n withWidth,\n WithWidth\n} from \"@material-ui/core\";\nimport UserStore from \"../../stores/UserStore\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport {makeObservable, observable, when} from \"mobx\";\nimport Progress from \"../../components/Progress\";\nimport flag from '../../images/flag.jpg'\n\nconst styles = (theme: Theme) => createStyles({\n root: {\n width: '100%',\n color: theme.palette.common.white,\n backgroundColor: theme.palette.primary.main,\n backgroundImage: `linear-gradient(145deg, rgba(25,53,106,0.95) 0%, rgba(215,35,34,0.95) 100%), url(${flag})`,\n backgroundSize: 'cover',\n },\n marginRow: {\n height: '100%'\n },\n content: {\n flexGrow: 1,\n justifyContent: 'space-around',\n alignItems: 'center',\n overflow: \"hidden\",\n [theme.breakpoints.down('xs')]: {\n paddingTop: theme.spacing(5),\n },\n [theme.breakpoints.up('sm')]: {\n height: \"100%\",\n },\n width: '100%',\n },\n\n})\n\ninterface IAccountPendingPageProps {\n userStore?: UserStore\n accountStore?: AccountStore\n progress?: Progress\n}\n\n@inject(\"userStore\", \"accountStore\", \"progress\")\n@observer\nclass AccountPendingPage extends React.Component & RouteComponentProps & IAccountPendingPageProps & WithTheme & WithWidth> {\n\n @observable isLoading = true\n\n constructor(\n props: WithStyles & RouteComponentProps & IAccountPendingPageProps & WithTheme & WithWidth\n ) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount () {\n const { userStore, progress } = this.props\n\n this.isLoading = true\n progress!.show(\"FindJobs\")\n when(\n // once\n () => !userStore!.isLoading,\n // then\n async () => {\n this.isLoading = false\n progress!.hide(\"FindJobs\")\n }\n )\n }\n\n\n render() {\n const { classes } = this.props\n\n return (\n \n \n \n \n \n \n \n \n Welcome to GovGig!\n \n \n \n \n For security, all new accounts must be reviewed. You will be contacted soon regarding activation.\n \n \n \n \n If you have any questions, please email staffing@govgig.us.\n \n \n \n \n \n \n \n \n )\n }\n}\n\nexport default withTheme((withStyles(styles)(withWidth()(AccountPendingPage))))\n\n","import * as React from \"react\";\nimport {Box, createStyles, Theme, Typography, withStyles, WithStyles} from \"@material-ui/core\";\nimport UserStore from \"../../stores/UserStore\";\nimport { inject, observer } from \"mobx-react\";\nimport { NAICS } from \"../../model/Industry\";\n\nimport constructionBanner from '../../images/EmployerApply_Construction.png';\nimport itBanner from '../../images/ForEmployersCard.png'\nimport banner from \"../../images/EmployerApply_All.png\"\n\nimport { autorun, makeObservable, observable, when } from \"mobx\";\n\nconst styles = (theme: Theme) => createStyles({\n formTitle: {\n [theme.breakpoints.down('xs')]: {\n fontSize: '28px',\n marginBottom: 10\n },\n [theme.breakpoints.up('sm')]: {\n fontSize: '32px',\n marginBottom: 30\n }\n },\n itemHeading: {\n paddingTop: theme.spacing(2),\n paddingBottom: theme.spacing(1),\n fontWeight: 600,\n color: theme.palette.primary.main \n },\n image: {\n width: '70%',\n borderRadius: theme.spacing(2),\n marginBottom: theme.spacing(3),\n },\n});\n\ninterface ISignupPromoProps {\n onJoin?: any\n // promo?: string\n userStore?: UserStore\n}\n\n@inject(\"userStore\")\n@observer\nclass SignupPromo extends React.Component & ISignupPromoProps> {\n\n @observable industry?: string \n\n constructor(props: WithStyles & ISignupPromoProps) {\n super(props)\n makeObservable(this)\n }\n\n componentDidMount(): void {\n const { userStore } = this.props \n\n const init = () => {\n const industry = userStore!.getIndustry()\n // console.debug(\"SignupPromo.componentDidMount when\", industry)\n this.industry = industry \n }\n\n when(\n () => userStore!.isLoading === false, \n () => {\n init() \n }\n )\n\n autorun(\n () => {\n if (this.industry !== userStore!.industry) {\n init() \n }\n }\n )\n }\n\n onJoin = () => {\n if (this.props.onJoin) {\n this.props.onJoin()\n }\n }\n\n render() {\n const {classes, userStore} = this.props\n\n let title\n if (this.industry === NAICS.Construction) {\n title = \"Find Qualified Construction Talent, Fast\"\n } else if (this.industry === NAICS.InformationTechnology) {\n title = \"Find Qualified IT Talent, Fast\"\n } else {\n title = \"Find Qualified Talent, Fast\"\n }\n\n return (\n \n \n {title}\n \n \n \"\"\n \n \n { this.industry === \"\" && // The All insdustries case. \n \"GovGig currently offers talent acquisition and professional services for Federal contractors in the construction and IT industry. Be on the lookout for new verticals soon!\"\n }\n { this.industry === NAICS.Construction && \n \"GovGig offers talent acquisition and professional services for Federal construction projects across the country. Our founder has 15+ years’ experience with a particular specialty in electrical grid distribution and substations. We are specially qualified to meet your project needs to help you succeed.\"\n }\n { this.industry === NAICS.InformationTechnology && \n \"GovGig now offers talent acquisition and professional services for Federal contractors in the information technology industry. Our nation is a the cutting edge, and GovGig is here to quickly fill roles with qualified, cleared professionals so you can keep driving innovation.\"\n }\n \n \n Focused\n \n \n GovGig is 100% focused on government-related work - we're professionals in the space.\n \n \n Fast\n \n { this.industry === \"\" && \n \n Whether you need a Safety Officer in San Diego or a remote Cloud Architect, GovGig can fill your needs with qualified, hand-select personnel. Our thousands of candidates are pre-vetted and eager to work, so we can get boots on the ground as quickly as possible.\n \n }\n { this.industry === NAICS.Construction && \n \n Need a Safety Officer in San Diego tomorrow? Your job can't wait. Fill emergency positions, fast.\n \n }\n { this.industry === NAICS.InformationTechnology && \n \n Need a Cloud Architect yesterday? Your project can't wait. GovGig can mine its extensive candidate pool to find you qualified candidates, ready to work today.\n \n }\n \n Flexible Search \n \n \n Simple, powerful search - search by geography, qualification, position, and other criteria.\n \n \n Follow and Track \n \n \n Save & track interesting candidates - manage them in one place.\n \n\n \n How it Works \n \n
    \n
  • \n \n Create your account - takes just a few minutes. \n \n
  • \n
  • \n \n Select your industry, such as Construction or Information Technology, or multiple options. \n \n
  • \n
  • \n \n Choose to post jobs yourself with our Self-service option. Or, get some help with our Recruiting Services options. \n \n
  • \n
  • \n \n When we activate your account, you'll be up and running and hiring in no time! \n \n
  • \n
  • \n \n We offer other professional services beyond hiring, such as help with in the world Federal contracting, such as Requests for Equitable Adjustment (REA).\n \n
  • \n
  • \n \n Work with our agents for anything you need to make your recruiting process as smooth as possible! \n \n
  • \n
\n \n )\n }\n}\n\nexport default withStyles(styles)(SignupPromo)","import * as React from 'react'\nimport {\n Box,\n Button,\n createStyles,\n FormGroup,\n Grid,\n Paper,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n withWidth\n} from '@material-ui/core';\nimport {RouteComponentProps} from '@reach/router';\nimport StateSelector from '../../components/form/StateSelector';\nimport {inject, observer} from 'mobx-react';\nimport {WithWidth} from '@material-ui/core/withWidth';\nimport {\n AccountStatus,\n AgreementType,\n CreateAccountInput,\n CreateAgreementInput,\n CreateContractInput,\n CreateUserInput,\n SubjectType,\n UserRole,\n UserStatus\n} from \"../../API\";\nimport MarginRow from '../../components/page/MarginRow'\nimport {createUUID, getErrorMessage, phoneToE164Format} from '../../stores/StoreUtilities'\nimport {makeObservable, observable} from \"mobx\";\nimport DialogButton from \"../../components/form/DialogButton\";\nimport User from \"../../model/User\";\nimport ControlTower, {Routes} from \"../../components/ControlTower\";\nimport TextFieldValidator from \"../../components/form/TextFieldValidator\";\nimport FormValidator from \"../../components/form/FormValidator\";\nimport {CognitoAttribute, UserStoreConstants} from \"../../stores/UserStore\";\nimport CheckboxValidator from \"../../components/form/CheckboxValidator\";\nimport Logger from \"../../components/Logger\";\nimport TermsOfUse from \"../../components/page/TermsOfUse\";\nimport PrivacyPolicy from \"../../components/page/PrivacyPolicy\";\nimport Notify from \"../../components/notify/Notify\";\nimport Confirm from \"../../components/confirm/Confirm\";\nimport Tracking from \"../../components/Tracking\";\nimport Hidden from \"@material-ui/core/Hidden\";\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport {Auth} from \"aws-amplify\";\nimport ProgressButton from \"../../components/form/ProgressButton\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport Page from \"../../components/page/Page\";\nimport SignupPromo from \"./SignupPromo\";\nimport Visible from \"../../components/Visible\";\nimport {isWidthUp} from \"@material-ui/core/withWidth/withWidth\";\nimport Account from \"../../model/Account\";\nimport JobStore from \"../../stores/JobStore\";\nimport IndustrySelector from \"../../components/form/IndustrySelector\";\nimport {ActivityType} from \"../../model/UserActivity\";\n\nconst styles = (theme: Theme) => createStyles({\n container: {\n fontFamily: theme.typography.body2.fontFamily,\n paddingTop: theme.spacing(2)\n },\n leftPanel: {\n [theme.breakpoints.up('md')]: {\n paddingRight: theme.spacing(2),\n paddingBottom: '25px',\n },\n [theme.breakpoints.down('md')]: {\n paddingLeft: theme.spacing(1),\n paddingRight: theme.spacing(1),\n paddingBottom: '10px'\n },\n },\n rightPanel: {\n [theme.breakpoints.up('md')]: {\n paddingBottom: '25px',\n },\n [theme.breakpoints.down('md')]: {\n paddingLeft: theme.spacing(1),\n paddingRight: theme.spacing(1),\n paddingBottom: '20px'\n },\n [theme.breakpoints.down('xs')]: {\n paddingBottom: 10,\n },\n\n },\n signUpContainer: {\n [theme.breakpoints.down('xs')]: {\n padding: 10,\n },\n [theme.breakpoints.up('sm')]: {\n padding: \"30px 30px 0px 30px\",\n },\n },\n submitButtonContainer: {\n paddingTop: theme.spacing(2),\n },\n submitButton: {\n color: \"#fff\",\n },\n formTitle: {\n [theme.breakpoints.down('xs')]: {\n marginTop: 0,\n marginBottom: 0,\n paddingTop: 0\n },\n [theme.breakpoints.up('sm')]: {\n marginBottom: 0\n }\n },\n formSubTitle: {\n color: '#181818',\n letterSpacing: '0.75px',\n fontWeight: 400,\n [theme.breakpoints.down('xs')]: {\n display: \"none\"\n },\n },\n form: {\n paddingLeft: theme.spacing(1),\n paddingRight: theme.spacing(1),\n [theme.breakpoints.down('md')]: {\n marginBottom: \"50px\"\n },\n [theme.breakpoints.down('xs')]: {\n marginBottom: \"0px\"\n },\n },\n formGroupTerms: {\n display: \"flex\",\n justifyContent: \"flex-start\",\n flexWrap: \"nowrap\",\n margin: 0,\n padding: 0,\n maxHeight: 40,\n },\n termsCheckbox: {\n flex: 0,\n width: 32,\n maxWidth: 32\n },\n termsLabel: {\n flex: 1,\n alignSelf: \"center\",\n color: '#252525',\n fontSize: '13px',\n paddingTop: 0,\n lineHeight: 1.2,\n },\n termsOfUse: {\n paddingTop: '16px'\n },\n termsOfUseText: {\n color: '#252525',\n fontSize: '13px',\n [theme.breakpoints.up('md')]: {\n paddingLeft: 36,\n },\n [theme.breakpoints.down('md')]: {\n paddingLeft: 22,\n },\n [theme.breakpoints.down('sm')]: {\n paddingLeft: 36,\n },\n [theme.breakpoints.down('xs')]: {\n paddingLeft: 40,\n },\n },\n firstName: {\n [theme.breakpoints.up('sm')]: {\n paddingRight: theme.spacing(2)\n }\n },\n formGroupRow: {\n display: \"flex\",\n justifyContent: \"space-between\",\n flexWrap: \"nowrap\"\n },\n formGroupField: {\n flexGrow: 1,\n },\n formGroupSpacing: {\n flexGrow: 0,\n width: 10,\n },\n formGroupSpacingSmUp: {\n flexGrow: 0,\n [theme.breakpoints.up('sm')]: {\n width: 10,\n },\n },\n stateSelectorField: {\n top: 5\n },\n zipCodeField: {\n width: 100\n },\n link: {\n textDecoration: 'none',\n color: theme.palette.primary.main\n },\n continueContainer: {\n paddingLeft: theme.spacing(1),\n paddingRight: theme.spacing(1),\n },\n continueButton: {\n marginBottom: 20,\n color: \"#FFF\"\n },\n progressButton: {\n color: theme.palette.primary.main,\n position: 'absolute',\n top: '50%',\n left: '50%',\n marginTop: -12,\n marginLeft: -12,\n },\n resendContent: {\n display: \"flex\",\n justifyContent: \"flex-start\",\n margin: 20\n },\n verifyText: {\n marginTop: 10\n },\n attrControlLabel: {\n },\n attrCheckbox: {\n paddingTop: 2,\n paddingBottom: 2\n },\n instructions: {\n marginTop: 10\n },\n stepContent: {\n paddingLeft: theme.spacing(1),\n paddingRight: theme.spacing(1),\n width: \"100%\"\n },\n terms: {\n height: \"calc(50vh)\",\n width: \"100%\",\n marginBottom: theme.spacing(1)\n },\n iframe: {\n width: \"100%\",\n height: \"100%\",\n border: \"none\",\n overflowY: \"scroll\"\n }\n\n});\n\n\ninterface ISignupPageProps {\n promo?: string\n userStore?: any;\n accountStore?: AccountStore\n jobStore?: JobStore\n govGigAPI?: any\n notify?: Notify\n confirm?: Confirm\n termsOfUse?: TermsOfUse\n privacyPolicy?: PrivacyPolicy\n location?: any\n}\n\ninterface ICognitoError {\n __type: string;\n code: string;\n message: string;\n}\n\nenum SignupStep {\n Promo,\n Application,\n Verification,\n TermsOfUse,\n PrivacyPolicy,\n MasterServiceAgreement,\n ConfidentialityAgreement\n}\n\n@inject(\"userStore\", \"accountStore\", \"jobStore\", \"govGigAPI\", \"notify\", \"confirm\", \"termsOfUse\", \"privacyPolicy\")\n@observer\nclass SignupPage extends React.Component & RouteComponentProps & ISignupPageProps & WithWidth, {}> {\n private userId = \"\";\n\n @observable step = SignupStep.Application\n @observable isContinued = false\n @observable showTerms = false\n @observable showPrivacy = false\n @observable isSubmitted = false\n @observable forgotPassword = false\n @observable showTermsOfUse = false\n @observable isProcessing = false\n @observable verifyAttr = CognitoAttribute.PHONE_NUMBER\n @observable atBottom = false\n @observable completedAgreementTypes: AgreementType[] = []\n\n private cognitoUser?: any\n private user?: User\n\n private _message = \"\"\n\n constructor(\n props: WithStyles & RouteComponentProps & ISignupPageProps & WithWidth\n ) {\n super(props);\n makeObservable(this);\n }\n\n set message(msg: string) {\n this._message = msg\n if (msg !== \"\") {\n this.props.notify!.show(\"info\", msg)\n } else {\n this.props.notify!.close()\n }\n }\n get message() {\n return this._message\n }\n\n private _error = \"\"\n set error(err: string) {\n this._error = err\n if (err !== \"\") {\n this.props.notify!.show(\"error\", err)\n } else {\n this.props.notify!.close()\n }\n }\n get error() {\n return this._error\n }\n\n state = {\n user: User,\n termsCheckbox: false,\n privacyCheckbox: false,\n msaCheckbox: false,\n accountName: \"\",\n firstName: \"\",\n lastName: \"\",\n email: \"\",\n password: \"\",\n phone: \"\",\n addressLine1: \"\",\n addressCity: \"\",\n addressState: \"\",\n addressPostalCode: \"\",\n accountPhone: \"\",\n accountWebUrl: \"\",\n verificationCode: \"\",\n accountId: createUUID(),\n role: UserRole.Employer,\n // dunsNumber: \"\",\n // fein: \"\",\n // naicsCode: \"\",\n // sicCode: \"\",\n // cageCode: \"\",\n socioEconomicDesignation: \"\",\n industries: []\n }\n\n componentDidMount() {\n window.addEventListener('message', this.handleAtBottom)\n }\n\n componentWillUnmount() {\n window.removeEventListener('message', this.handleAtBottom)\n }\n\n handleAtBottom = (event: any) => {\n if (event?.data === 'at-bottom') {\n console.log(`Signup atBottom = true`)\n this.atBottom = true\n }\n }\n\n render() {\n const { classes, width } = this.props;\n\n let promoContent = \n\n return (\n \n \n \n \n \n \n {promoContent}\n \n \n \n \n \n \n \n Employer Sign Up\n \n \n to find talent\n \n \n {this.step === SignupStep.Application && (\n \n {this.renderSignupForm()}\n \n )\n }\n {this.step === SignupStep.TermsOfUse && this.renderTermsOfUse()}\n {this.step === SignupStep.PrivacyPolicy && this.renderPrivacyPolicy()}\n {this.step === SignupStep.MasterServiceAgreement && this.renderMasterServiceAgreement()}\n {this.step === SignupStep.ConfidentialityAgreement && this.renderConfidentialityAgreement()}\n {this.step === SignupStep.Verification && this.renderVerifyForm()}\n \n \n \n \n \n {!this.isContinued &&\n \n \n {promoContent}\n \n \n \n \n \n }\n {this.isContinued &&\n \n \n \n \n \n \n Apply Now\n \n \n to get hired\n \n \n {this.step === SignupStep.Application && (\n
\n {this.renderSignupForm()}\n
\n )\n }\n {this.step === SignupStep.TermsOfUse && this.renderTermsOfUse()}\n {this.step === SignupStep.PrivacyPolicy && this.renderPrivacyPolicy()}\n {this.step === SignupStep.MasterServiceAgreement && this.renderMasterServiceAgreement()}\n {this.step === SignupStep.ConfidentialityAgreement && this.renderConfidentialityAgreement()}\n {this.step === SignupStep.Verification && this.renderVerifyForm()}\n
\n
\n
\n
\n }\n
\n \n
\n
\n )\n }\n\n renderSignupForm = () => {\n const { classes, accountStore } = this.props;\n\n return
\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 Continue\n \n \n
\n \n \n
\n }\n\n renderVerifyForm() {\n const { classes } = this.props;\n\n return (\n
\n \n \n {`Please check your ${this.state.email} email for the verification code.`}\n \n \n \n Resend verification email code\n \n
\n \n \n
\n \n
)\n }\n\n renderTermsOfUse() {\n const { classes } = this.props\n\n return (\n
\n \n \n Please review and accept the GovGig Terms of Use.
\n You must review the entire document.\n
\n
\n \n
\n \n \n {this.renderTermsCheckbox(\"termsCheckbox\", \"I ACCEPT the GovGig Terms of Use. (You must scroll to the bottom)\", true)}\n \n \n \n \n \n
\n \n \n
\n \n
\n )\n }\n\n renderPrivacyPolicy() {\n const { classes } = this.props\n\n return (\n
\n \n \n Please review and accept the GovGig Privacy Policy.
\n You must review the entire document.\n
\n
\n \n
\n \n \n {this.renderTermsCheckbox(\"privacyCheckbox\", \"I ACCEPT the GovGig Privacy Policy. (You must scroll to the bottom)\", true)}\n \n \n \n \n \n
\n \n Continue\n \n \n
\n \n
\n )\n }\n\n renderMasterServiceAgreement() {\n const { classes } = this.props\n\n return (\n
\n \n \n Please review and accept the GovGig Master Services & Non-Solicitation Agreement.
\n You may press Skip, if you are only planning to create self-service job posts or are not able to complete this agreement on behalf of the company.\n
\n
\n \n
\n \n \n {this.renderTermsCheckbox(\"msaCheckbox\",

I ACCEPT the GovGig Master Services & Non-Solicitation Agreement.
(You must scroll to the bottom)

, true)}\n
\n \n \n \n
\n
\n \n Continue\n \n \n \n \n \n
\n \n
\n )\n }\n\n renderConfidentialityAgreement() {\n const { classes } = this.props\n\n return (\n
\n \n \n Please review and accept the GovGig Confidentiality and Non-Disclosure Agreement.
\n You may press Skip, if you are only planning to create self-service job posts or are not able to complete this agreement on behalf of the company.\n
\n
\n \n
\n \n \n {this.renderTermsCheckbox(\"confidentialityCheckbox\",

I ACCEPT the GovGig Confidentiality and Non-Disclosure Agreement.
(You must scroll to the bottom)

, true)}\n
\n \n \n \n
\n
\n \n Continue\n \n \n \n \n \n
\n \n
\n )\n }\n\n renderTermsCheckbox = (name: string, label: any, required: boolean) => {\n const { classes } = this.props\n\n return (\n \n
\n \n
\n
\n {label}\n
\n
\n )\n }\n\n printFrame = (id: string) => {\n const frame = window.frames[id]\n if (frame) {\n const contentWindow = frame.contentWindow\n if (contentWindow) {\n contentWindow.focus();\n contentWindow.print();\n }\n }\n\n return false;\n };\n\n scrollToTop() {\n window.scrollTo({top: 0, behavior: 'smooth'})\n this.atBottom = false\n }\n\n handleContinue = () => {\n this.isContinued = true\n this.scrollToTop()\n }\n\n handleSignUp = async () => {\n const values = this.state\n const { userStore } = this.props\n\n this.message = \"\"\n this.error = \"\"\n\n this.isProcessing = true\n\n this.userId = createUUID();\n\n // Check for an existing Cognito user by email\n this.cognitoUser = await Auth.signIn(values.email, values.password)\n .catch((err: any) => {\n if (err.code === UserStoreConstants.NOT_AUTHORIZED_EXCEPTION) {\n this.error = \"A user with this email already exists. If you are upgrading from a customer account, be sure to use the same password.\"\n } else if (err.code !== UserStoreConstants.USER_NOT_FOUND_EXCEPTION && err.message !== UserStoreConstants.USER_NOT_FOUND) {\n this.error = err.message\n Tracking.event({action: \"SignIn Error\", label: this.error})\n }\n })\n\n if (this.cognitoUser) {\n // The username/password already exists. Verify that the application process was completed.\n const user = await userStore!.getUser(this.cognitoUser.username)\n if (user) {\n this.error = \"You have already signed up. Please login to use GovGig.\"\n Auth.signOut()\n } else {\n // Send to TermsOfService step\n this.userId = this.cognitoUser.username\n this.step = SignupStep.TermsOfUse\n this.isProcessing = false\n return\n }\n }\n\n if (this.error) {\n this.isProcessing = false\n return\n }\n\n // Sign up and send email verification\n\n this.cognitoUser =\n await userStore.signUp(this.userId, values.password, values.email, undefined, values.accountId, values.role)\n .catch((result: ICognitoError) => {\n // Handle updating an existing customer to provider\n Logger.debug(`SignUp.signUp(${this.userId}) error`, result)\n this.error = result.message\n });\n\n this.isProcessing = false\n\n if (!this.error) {\n this.isSubmitted = true\n this.step = SignupStep.Verification\n this.scrollToTop()\n }\n\n }\n\n handleVerify = async () => {\n const values = this.state\n this.message = \"\"\n this.error = \"\"\n const userStore = this.props.userStore\n\n if (this.forgotPassword) {\n // Handle verification code for password reset\n userStore!.forgotPasswordSubmit(this.state.email, this.state.verificationCode, this.state.password)\n .then((_result: any) => {\n Logger.debug(\"forgotPasswordSubmit succeeded\")\n })\n .catch((err: any) => {\n this.error = err.message\n Tracking.event({ action: \"Forgot Password Error\", label: this.error })\n })\n } else if (this.cognitoUser) {\n // Handle verification code for signup\n this.isProcessing = true\n\n await userStore!.confirmSignUp(this.userId, values.verificationCode)\n .catch((err: Error) => {\n this.error = getErrorMessage(err)\n this.isProcessing = false\n })\n\n if (this.error) {\n return\n }\n }\n\n Logger.debug(\"signInUser\")\n await userStore!.signIn(this.userId, this.state.password)\n .then((cognitoUser: any) => {\n this.cognitoUser = cognitoUser\n })\n .catch((error: any) => {\n this.isProcessing = false\n Logger.debug(\"SignupPage.handleVerify signIn error\", error)\n if (error.code === UserStoreConstants.NOT_AUTHORIZED_EXCEPTION && !this.forgotPassword) {\n // Password doesn't match original. Reset password\n userStore!.forgotPassword(this.state.email).then((_result: any) => {\n this.forgotPassword = true\n this.state.verificationCode = \"\"\n this.error = \"Password does not match. Please check your email for a password reset verification code\"\n })\n .catch((forgotPasswordErr: any) => {\n this.message = forgotPasswordErr.message\n })\n } else if (error.message !== UserStoreConstants.USER_NOT_FOUND) {\n this.error = error.message\n }\n });\n\n if (this.error) {\n return\n }\n\n this.step = SignupStep.TermsOfUse\n this.scrollToTop()\n\n this.isProcessing = false\n }\n\n handleTermsOfUse = () => {\n this.completedAgreementTypes.push(AgreementType.TermsOfUse)\n this.step = SignupStep.PrivacyPolicy\n this.scrollToTop()\n }\n\n handlePrivacyPolicy = async () => {\n this.completedAgreementTypes.push(AgreementType.PrivacyPolicy)\n this.step = SignupStep.MasterServiceAgreement\n this.scrollToTop()\n }\n\n handleMasterServiceAgreement = async () => {\n this.completedAgreementTypes.push(AgreementType.MasterServicesAndNonSolicitation)\n this.step = SignupStep.ConfidentialityAgreement\n this.scrollToTop()\n }\n\n handleSkipMasterServiceAgreement = () => {\n this.step = SignupStep.ConfidentialityAgreement\n this.scrollToTop()\n }\n\n handleConfidentialityAgreement = async () => {\n this.completedAgreementTypes.push(AgreementType.ConfidentialityAndNonDisclosure)\n this.completeSignup()\n }\n\n handleSkipConfidentialityAgreement = async () => {\n this.completeSignup()\n }\n\n completeSignup = async () => {\n const { accountStore, userStore, notify } = this.props\n\n const user = await this.createUser()\n if (user) {\n const account = await this.createAccount()\n\n if (account) {\n accountStore?.init(account)\n await this.createDefaultJobGroup(account)\n\n this.isProcessing = false\n if (account.accountStatus === AccountStatus.Pending) {\n userStore!.signOut()\n ControlTower.route(Routes.accountPending)\n } else {\n notify!.show(\"success\", \"Welcome to GovGig!\")\n ControlTower.route(Routes.dashboard)\n }\n }\n }\n\n }\n\n handleCancel = () => {\n ControlTower.route(Routes.home)\n }\n\n changeHandler = (event: React.ChangeEvent) => {\n const name = event.target.name\n if (name === \"state\") {\n this.setState({addressState: event.target.value})\n } else if (name === \"email\") {\n this.setState({\n [name]: event.target.value.toLowerCase()\n });\n } else {\n if (this.state[name] !== undefined) {\n this.setState({\n [name]: event.target.value\n });\n }\n }\n // Clear message\n this.message = \"\"\n this.error = \"\"\n };\n\n handleChangeIndustries = (industries: string[]) => {\n this.setState({industries: industries})\n }\n\n onResendCode = () => {\n const {userStore} = this.props\n this.message = \"\"\n this.error = \"\"\n\n userStore!.resendSignUp(this.userId)\n .then((_result: any) => {\n this.message = \"Verification email requested\"\n })\n .catch((err: Error) => {\n this.error = err.message\n })\n }\n\n createUser = async () => {\n const { userStore } = this.props\n\n this.isProcessing = true\n\n let accountId = this.state.accountId\n\n if (this.cognitoUser) {\n // Get the account attribute to make sure we use the correct id\n const accountValue = await userStore!.getUserAttribute(this.cognitoUser, CognitoAttribute.ACCOUNT)\n if (accountValue) {\n accountId = accountValue\n this.setState({accountId: accountValue})\n }\n }\n\n const input: CreateUserInput = {\n id: this.userId,\n accountId: accountId,\n active: true,\n userStatus: UserStatus.Registered,\n email: this.state.email,\n firstName: this.state.firstName,\n lastName: this.state.lastName,\n phone: phoneToE164Format(this.state.phone),\n role: this.state.role,\n address: this.state.addressLine1,\n city: this.state.addressCity,\n state: this.state.addressState,\n postalCode: this.state.addressPostalCode,\n country: \"US\",\n }\n\n Logger.debug(\"SignUp.createUser\", input)\n const user = await userStore!.createUser(input)\n\n if (!user) {\n this.error = \"Error creating user\"\n this.isProcessing = false\n return\n }\n\n // Record Agreements\n const agreementInput: CreateAgreementInput = {\n userId: user.id,\n accountId: user.accountId,\n agreementTypes: this.completedAgreementTypes\n }\n\n const agreement = await userStore!.createAgreement(agreementInput)\n\n if (!agreement) {\n this.error = \"Error saving agreement\"\n this.isProcessing = false\n return\n }\n\n return user\n }\n\n createAccount = async () => {\n const {userStore, accountStore, notify} = this.props\n\n let user = userStore!.user\n\n if (!user) {\n return\n }\n\n const createAccountInput: CreateAccountInput = {\n id: user.accountId,\n ownerId: user.id,\n name: this.state.accountName,\n address: this.state.addressLine1,\n city: this.state.addressCity,\n state: this.state.addressState,\n postalCode: this.state.addressPostalCode,\n country: \"US\",\n phone: phoneToE164Format(this.state.accountPhone),\n webUrl: this.state.accountWebUrl,\n active: true,\n // dunsNumber: this.state.dunsNumber,\n // cageCode: this.state.cageCode,\n // naicsCode: this.state.naicsCode,\n // sicCode: this.state.sicCode,\n socioEconomicDesignation: this.state.socioEconomicDesignation,\n industries: this.state.industries,\n // fein: this.state.fein,\n accountStatus: AccountStatus.Approved\n }\n\n const account = await accountStore!.createAccount(createAccountInput)\n .catch((err: Error) => {\n notify!.show(\"error\", \"Unable to create account\")\n Tracking.event({action: 'SignupError', label: `Unable to create account: ${err.message}`})\n this.isProcessing = false\n })\n\n if (account && account.accountStatus === AccountStatus.Approved) {\n await userStore!.logUserActivity(user.id, SubjectType.Account, account.id, ActivityType.AccountCreated, account.name)\n user = await userStore!.signIn(this.state.email.toLowerCase(), this.state.password)\n .catch((err: Error) => {\n notify!.show(\"error\", \"Unable to sign in new user\")\n Tracking.event({action: 'SignupError', label: `Unable to sign in new user: ${err.message}`})\n this.isProcessing = false\n })\n }\n\n return account\n }\n\n createDefaultJobGroup = async (account: Account) => {\n const { jobStore } = this.props\n\n const input: CreateContractInput = {\n accountId: account.id,\n name: \"General\"\n }\n const jobGroup = await jobStore!.createContract(input)\n return jobGroup\n }\n\n}\n\nexport default withWidth()(withStyles(styles)(SignupPage));\n","import * as React from 'react';\nimport Dialog from '@material-ui/core/Dialog';\nimport DialogActions from '@material-ui/core/DialogActions';\nimport DialogContent from '@material-ui/core/DialogContent';\nimport DialogContentText from '@material-ui/core/DialogContentText';\nimport DialogTitle from '@material-ui/core/DialogTitle';\nimport { createStyles, withStyles, Theme, WithStyles } from '@material-ui/core/styles'\nimport { RouteComponentProps } from '@reach/router'\nimport {inject, observer} from \"mobx-react\";\nimport { observable, makeObservable } from \"mobx\";\nimport FormValidator from \"../../components/form/FormValidator\";\nimport TextFieldValidator from \"../../components/form/TextFieldValidator\";\nimport DialogButton from \"../../components/form/DialogButton\";\nimport {Grid, Typography} from \"@material-ui/core\";\nimport Confirm from \"../../components/confirm/Confirm\";\nimport CancelButton from '../../components/form/CancelButton';\n\nconst styles = (theme: Theme) => createStyles({\n message: {\n color: 'red',\n marginTop: 10\n },\n dialogPaper: {\n margin: 10\n },\n dialogContent: {\n padding: \"0 20px 10px 20px\",\n },\n dialogActions: {\n justifyContent: \"flex-start\",\n paddingBottom: 0,\n paddingLeft: 20\n },\n dialogTitle: {\n paddingLeft: 20,\n paddingRight: 20,\n paddingTop: theme.spacing(1),\n paddingBottom: theme.spacing(1)\n },\n signUp: {\n fontWeight: \"bold\"\n }\n})\n\ninterface IStyleDialogProps {\n onLogin?: any,\n onClose?: any,\n onShowPasswordAssist?: any\n onShowSignUp?: any\n userStore?: any\n confirm?: Confirm\n}\n\n@inject()\n@observer\nclass StyleDialog extends React.Component & RouteComponentProps & IStyleDialogProps> {\n @observable values = {\n username: \"\",\n password: \"\",\n newPassword: \"\",\n userId: \"\",\n phone: \"\",\n code: \"\"\n }\n @observable message = \"\"\n\n constructor(props: WithStyles & RouteComponentProps & IStyleDialogProps) {\n super(props);\n makeObservable(this);\n }\n\n render() {\n const { classes } = this.props\n\n return (\n \n \n \n \n \n Log In\n \n \n \n Customer Sign Up?\n \n \n \n \n \n \n \n \n {this.message}\n \n \n \n \n Log In\n \n \n \n \n \n Forgot Password?\n \n \n \n \n )\n }\n\n onChange = (event: React.ChangeEvent) => {\n const name = event.target.name\n this.values[name] = event.target.value\n }\n\n onEvent = (event: React.ChangeEvent) => {\n // Ignore\n }\n\n onClose = () => {\n if (this.props.onClose) {\n this.props.onClose()\n }\n };\n}\n\nexport default withStyles(styles)(StyleDialog)\n","import * as React from \"react\";\nimport {Card, CardContent, CardHeader, createStyles, Theme, withStyles, WithStyles, withTheme} from \"@material-ui/core\";\nimport CardValue from \"../../components/CardValue\";\n\nconst styles = (theme: Theme) => createStyles({\n card: {\n width: '100%',\n height: 145,\n padding: 0\n },\n content: {\n padding: \"5px 15px\",\n display: \"flex\"\n },\n left: {\n flexGrow: 1\n },\n right: {\n flexShrink: 0,\n alignSelf: \"center\",\n paddingTop: 10\n },\n header: {\n padding: theme.spacing(2),\n paddingBottom: 0\n },\n title: {\n color: theme.palette.primary.main,\n fontSize: 16,\n fontWeight: 700\n }\n\n})\n\ninterface IStyleCardProps {\n\n}\n\nclass StyleCard extends React.Component & IStyleCardProps> {\n\n onClickCard = (event: any) => {\n event.stopPropagation()\n }\n\n render() {\n const { classes } = this.props\n const labelWidth = 120\n\n return (\n \n \n \n
\n \n Heroic Development LLC\n \n \n Brett Eddy\n \n \n brett.eddy@heroicdevelopment.com\n \n \n 360-555-1212\n \n
\n
\n
\n
\n
\n )\n }\n}\n\nexport default withTheme((withStyles(styles)(StyleCard)))","import * as React from 'react'\nimport { RouteComponentProps } from '@reach/router'\nimport {createStyles, withStyles, Theme, WithStyles, withTheme, WithTheme} from '@material-ui/core/styles'\nimport MarginRow from \"../../components/page/MarginRow\";\nimport Page from \"../../components/page/Page\";\nimport Progress from \"../../components/Progress\";\nimport {Box, Button, Grid, Typography} from \"@material-ui/core\";\nimport StyleDialog from \"./StyleDialog\";\nimport {observer} from \"mobx-react\";\nimport { observable, makeObservable } from \"mobx\";\nimport StyleCard from \"./StyleCard\";\n\nconst styles = (theme: Theme) => createStyles({\n root: {\n flexGrow: 1,\n justifyContent: 'top',\n alignItems: 'center',\n },\n content: {\n display: 'flex',\n flexGrow: 1,\n width: \"100%\",\n flex: \"auto\",\n overflowY: \"auto\",\n },\n item: {\n justifyContent: 'top',\n alignItems: 'center'\n },\n title: {\n marginTop: theme.spacing(2),\n marginBottom: theme.spacing(2)\n },\n section: {\n marginBottom: theme.spacing(2)\n }\n})\n\ninterface IStyleGuideProps {\n progress?: Progress\n route?: string\n}\n\n@observer\nclass StyleGuide extends React.Component & RouteComponentProps & IStyleGuideProps & WithTheme> {\n @observable isStyleDialogOpen = false\n\n constructor(\n props: WithStyles & RouteComponentProps & IStyleGuideProps & WithTheme\n ) {\n super(props);\n makeObservable(this);\n }\n\n render() {\n const { classes } = this.props\n const title = \"Style Guide\"\n\n return (\n \n \n \n \n Style Guide\n \n \n\n
\n Palette\n
\n \n \n \n primary.dark\n \n \n \n \n primary.main\n \n \n \n \n primary.light\n \n \n\n \n \n secondary.dark\n \n \n \n \n secondary.main\n \n \n \n \n secondary.light\n \n \n\n \n \n error.main\n \n \n \n \n warning.main\n \n \n \n \n info.main\n \n \n \n \n success.main\n \n \n\n \n \n background.default\n \n \n \n \n background.paper\n \n \n\n \n \n text.primary\n \n \n \n \n text.secondary\n \n \n \n \n text.disabled\n \n \n \n
\n\n
\n Typography\n
\n \n \n Heading 1\n Heading 2\n Heading 3\n \n \n Heading 4\n Heading 5\n Heading 6\n Subtitle 1\n Subtitle 2\n Body 1\n Body 2\n Button
\n Caption
\n Overline\n
\n
\n
\n\n
\n Components\n
\n \n \n \n {this.isStyleDialogOpen &&\n \n }\n \n \n \n \n \n
\n
\n
\n )\n\n }\n\n showStyleDialog = () => {\n this.isStyleDialogOpen = true\n }\n\n onCloseStyleDialog = () => {\n this.isStyleDialogOpen = false\n }\n}\n\nexport default withTheme((withStyles(styles)(StyleGuide)))","import {\n Box,\n Button,\n createStyles,\n DialogContent,\n DialogContentText,\n DialogTitle,\n FormGroup,\n Grid,\n Paper,\n TextField,\n Theme,\n Typography,\n withStyles,\n WithStyles,\n withWidth\n} from '@material-ui/core';\nimport CircularProgress from '@material-ui/core/CircularProgress';\nimport { WithWidth } from '@material-ui/core/withWidth';\nimport { RouteComponentProps } from '@reach/router';\nimport { Auth } from \"aws-amplify\";\nimport { observable, makeObservable, computed } from \"mobx\";\nimport { inject, observer } from 'mobx-react';\nimport React from 'react';\nimport {\n AgreementType,\n CreateAgreementInput, SubjectType,\n UpdateUserInput,\n UserRole, UserStatus\n} from \"../../API\";\nimport Confirm from \"../../components/confirm/Confirm\";\nimport ControlTower, { Routes } from '../../components/ControlTower';\nimport CheckboxValidator from \"../../components/form/CheckboxValidator\";\nimport DialogButton from \"../../components/form/DialogButton\";\nimport FormValidator from \"../../components/form/FormValidator\";\nimport ProgressButton from \"../../components/form/ProgressButton\";\nimport TextFieldValidator from \"../../components/form/TextFieldValidator\";\nimport Logger from \"../../components/Logger\";\nimport Notify from \"../../components/notify/Notify\";\nimport MarginRow from '../../components/page/MarginRow';\nimport Page from \"../../components/page/Page\";\nimport Tracking from \"../../components/Tracking\";\nimport {getErrorMessage, getISODateTime, phoneToE164Format} from '../../stores/StoreUtilities';\nimport UserStore, { CognitoAttribute, UserStoreConstants } from \"../../stores/UserStore\";\nimport {ActivityType} from \"../../model/UserActivity\";\nimport AccountStore from '../../stores/AccountStore';\n\nconst styles = (theme: Theme) => createStyles({\n submitButtonContainer: {\n paddingTop: theme.spacing(2),\n },\n submitButton: {\n color: \"#fff\",\n },\n formGroupTerms: {\n display: \"flex\",\n justifyContent: \"flex-start\",\n flexWrap: \"nowrap\",\n margin: 0,\n padding: 0,\n maxHeight: 40,\n },\n termsCheckbox: {\n flex: 0,\n width: 80,\n },\n termsLabel: {\n flex: 1,\n alignSelf: \"center\",\n color: '#252525',\n fontSize: '13px',\n paddingTop: 0,\n lineHeight: 1.2,\n },\n firstName: {\n [theme.breakpoints.up('sm')]: {\n paddingRight: theme.spacing(2)\n }\n },\n formGroupRow: {\n display: \"flex\",\n justifyContent: \"space-between\",\n flexWrap: \"nowrap\"\n },\n formGroupField: {\n flexGrow: 1,\n },\n formGroupSpacing: {\n flexGrow: 0,\n width: 10,\n },\n link: {\n color: theme.palette.primary.main,\n },\n continueButton: {\n marginBottom: 20,\n color: \"#FFF\"\n },\n progressButton: {\n color: theme.palette.primary.main,\n position: 'absolute',\n top: '50%',\n left: '50%',\n marginTop: -12,\n marginLeft: -12,\n },\n instructions: {\n marginTop: 10\n },\n stepContent: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n width: \"100%\"\n },\n terms: {\n height: \"calc(50vh)\",\n width: \"100%\",\n marginBottom: theme.spacing(1)\n },\n iframe: {\n width: \"100%\",\n height: \"100%\",\n border: \"none\",\n overflowY: \"scroll\"\n },\n dialogTitle: {\n padding: theme.spacing(2), \n borderRadius: \"10px 10px 0px 0px\"\n },\n message: {\n color: theme.palette.error.main,\n fontSize: 18,\n marginTop: 10\n },\n});\n\n\ninterface IRegisterPageProps {\n accountId?: string\n userId?: string\n role?: UserRole \n email?: string\n userStore?: UserStore\n accountStore?: AccountStore\n govGigAPI?: any\n notify?: Notify\n confirm?: Confirm\n}\n\ninterface ICognitoError {\n __type: string;\n code: string;\n message: string;\n}\n\nenum ApplyStep {\n Promo,\n Application,\n TermsOfUse,\n PrivacyPolicy,\n Verification\n}\n\n@inject(\"accountStore\", \"userStore\", \"profileStore\", \"govGigAPI\", \"notify\", \"confirm\")\n@observer\nclass RegisterPage extends React.Component & RouteComponentProps & IRegisterPageProps & WithWidth, {}> {\n @observable accountId?: string\n @observable userId?: string\n @observable role?: UserRole \n @observable email?: string \n\n @observable step = ApplyStep.Application\n @observable showTerms = false\n @observable showPrivacy = false\n @observable isSubmitted = false\n @observable forgotPassword = false\n @observable showTermsOfUse = false\n @observable isProcessing = false\n @observable verifyAttr = CognitoAttribute.EMAIL\n\n private cognitoUser?: any\n \n private _message = \"\"\n\n constructor(\n props: WithStyles & RouteComponentProps & IRegisterPageProps & WithWidth\n ) {\n super(props);\n makeObservable(this);\n }\n\n componentDidMount () {\n const { accountId, userId, role, email } = this.props\n if (accountId && userId && role && email) {\n this.accountId = accountId\n this.userId = userId\n this.role = role \n this.email = email\n } else {\n this.error = \"Invalid registration link\"\n }\n }\n\n set message(msg: string) {\n this._message = msg\n if (msg !== \"\") {\n this.props.notify!.show(\"info\", msg)\n } else {\n this.props.notify!.close()\n }\n }\n\n get message() {\n return this._message\n }\n\n private _error = \"\"\n set error(err: string) {\n this._error = err\n if (err !== \"\") {\n this.props.notify!.show(\"error\", err)\n } else {\n this.props.notify!.close()\n }\n }\n get error() {\n return this._error\n }\n\n state = {\n termsCheckbox: false,\n privacyCheckbox: false,\n firstName: \"\",\n lastName: \"\",\n password: \"\",\n phone: \"\",\n verificationCode: \"\"\n }\n\n @computed \n get validInfo(): boolean {\n return this.accountId !== undefined\n && this.userId !== undefined\n && this.email !== undefined\n && this.role !== undefined\n }\n\n render() {\n\n return (\n \n \n \n \n \n { this.validInfo ?\n this.renderForms() : \n this.renderWarning()\n }\n \n \n \n \n \n )\n }\n\n renderForms = () => {\n const { classes } = this.props;\n return (\n \n \n \n \n Complete GovGig Registration\n \n \n {this.step === ApplyStep.Application && this.renderSignupForm()}\n {this.step === ApplyStep.TermsOfUse && this.renderTermsOfUse()}\n {this.step === ApplyStep.PrivacyPolicy && this.renderPrivacyPolicy()}\n {this.step === ApplyStep.Verification && this.renderVerifyForm()}\n \n \n )\n }\n\n renderWarning = () => {\n const { classes } = this.props\n\n return (\n \n \n Complete GovGig Registration\n \n \n \n \n {\"Invalid registration link\"}\n \n \n If you were invited to join GovGig, please click on the invitation link you should have received via email.\n \n \n If you did not receive an invite, or have another issue, please contact GovGig.\n \n \n \n \n )\n }\n\n renderSignupForm = () => {\n const { classes } = this.props;\n\n return (\n
\n \n \n \n
\n \n \n \n \n \n
\n \n Continue\n \n \n
\n \n
\n )\n }\n\n renderVerifyForm() {\n const { classes } = this.props;\n\n return (\n
\n \n \n Please check your email for the verification code.\n \n \n \n Resend verification code\n \n
\n \n \n
\n
\n
)\n }\n\n renderTermsOfUse() {\n const { classes } = this.props\n\n return (\n
\n \n \n Please review and accept the GovGig Terms of Use.\n \n
\n \n
\n {this.renderTermsCheckbox(\"termsCheckbox\", \"I accept the GovGig.us Terms of Use.\", true)}\n
\n \n \n
\n
\n
\n )\n }\n\n renderPrivacyPolicy() {\n const { classes } = this.props\n\n return (\n
\n \n \n Please review and accept the GovGig Privacy Policy.\n \n
\n \n
\n {this.renderTermsCheckbox(\"privacyCheckbox\", \"I accept the GovGig.us Privacy Policy.\", true)}\n
\n \n Continue\n \n \n
\n
\n
\n )\n }\n\n renderTermsCheckbox = (name: string, label: any, required: boolean) => {\n const { classes } = this.props\n\n return (\n \n
\n \n
\n
\n {label}\n
\n
\n )\n }\n\n scrollToTop() {\n window.scrollTo({top: 0, behavior: 'smooth'})\n }\n\n handleSignUp = async () => {\n const values = this.state\n const { userStore } = this.props\n\n this.message = \"\"\n this.error = \"\"\n\n this.isProcessing = true\n\n // Check for an existing Cognito user by email\n this.cognitoUser = await Auth.signIn(this.email!, values.password)\n .catch((err: any) => {\n if (err.code === UserStoreConstants.NOT_AUTHORIZED_EXCEPTION) {\n this.error = \"A user with this email already exists. If you are attempting to register again, be sure to use the same password.\"\n } else if (err.code !== UserStoreConstants.USER_NOT_FOUND_EXCEPTION && err.message !== UserStoreConstants.USER_NOT_FOUND) {\n this.error = err.message\n Tracking.event({ action: \"SignIn Error\", label: this.error })\n }\n })\n\n if (this.cognitoUser) {\n // The username/password already exists. Verify that the registration process was completed.\n const user = await userStore!.getUser(this.cognitoUser.username)\n if (user) {\n // TODO: Check for necessary agreements\n if (user.agreements && user.agreements.length >= 2) {\n this.error = \"You have already registered. Please login to use GovGig.\"\n Auth.signOut()\n this.isProcessing = false \n return\n }\n }\n\n // Send to TermsOfService step\n this.userId = this.cognitoUser.username\n this.step = ApplyStep.TermsOfUse\n this.isProcessing = false\n return\n }\n\n if (this.error) {\n this.isProcessing = false\n return\n }\n\n // Sign up and send email verification\n\n this.cognitoUser =\n await userStore!.signUp(this.userId!, values.password, this.email!, undefined, this.accountId, this.role!)\n .catch(async (result: ICognitoError) => {\n Logger.debug(`SignUp.signUp(${this.userId}) error`, result)\n if (result.message === UserStoreConstants.USER_ALREADY_EXISTS) {\n // Try completing verification\n await userStore!.resendSignUp(this.userId!)\n .catch((error: ICognitoError) => {\n this.error = result.message\n })\n } else {\n this.error = result.message\n }\n });\n\n this.isProcessing = false\n\n if (!this.error) {\n this.isSubmitted = true\n this.step = ApplyStep.Verification\n this.scrollToTop()\n }\n\n }\n\n handleVerify = async () => {\n const values = this.state\n this.message = \"\"\n this.error = \"\"\n const { accountStore, userStore } = this.props\n\n if (this.forgotPassword) {\n // Handle verification code for password reset\n userStore!.forgotPasswordSubmit(this.email!, this.state.verificationCode, this.state.password)\n .then((result: any) => {\n Logger.debug(\"forgotPasswordSubmit succeeded\")\n })\n .catch((err: any) => {\n this.error = err.message\n Tracking.event({ action: \"Forgot Password Error\", label: this.error })\n })\n } else {\n // Handle verification code for signup\n this.isProcessing = true\n\n await userStore!.confirmSignUp(this.userId!, values.verificationCode)\n .catch((err: Error) => {\n this.error = getErrorMessage(err)\n this.isProcessing = false\n })\n\n if (this.error) {\n return\n }\n }\n\n Logger.debug(\"signInUser\")\n await userStore!.signIn(this.userId!, this.state.password)\n .catch((error: any) => {\n this.isProcessing = false\n Logger.debug(\"RegisterPage.handleVerify signIn error\", error)\n if (error.code === UserStoreConstants.NOT_AUTHORIZED_EXCEPTION && !this.forgotPassword) {\n // Password doesn't match original. Reset password\n userStore!.forgotPassword(this.email!).then((result: any) => {\n this.forgotPassword = true\n this.state.verificationCode = \"\"\n this.error = \"Password does not match. Please check your email for a password reset verification code\"\n })\n .catch((forgotPasswordErr: any) => {\n this.message = forgotPasswordErr.message\n })\n } else if (error.message !== UserStoreConstants.USER_NOT_FOUND) {\n this.error = error.message\n }\n });\n\n if (this.error) {\n return\n }\n\n const user = userStore!.user! \n let account = user.account\n if (!account) {\n account = await accountStore!.getAccount(user.accountId)\n }\n accountStore!.init(account)\n\n this.step = ApplyStep.TermsOfUse\n this.scrollToTop()\n\n this.isProcessing = false\n }\n\n handleTermsOfUse = () => {\n this.step = ApplyStep.PrivacyPolicy\n this.scrollToTop()\n }\n\n handlePrivacyPolicy = async () => {\n await this.updateUser()\n }\n\n handleCancel = () => {\n ControlTower.route(Routes.home)\n }\n\n changeHandler = (event: React.ChangeEvent) => {\n const name = event.target.name\n if (name === \"eligibleCheckbox\" || name === \"backgroundCheckbox\" ||\n name === \"experienceCheckbox\" || name === \"communicationCheckbox\") {\n this.setState({\n [name]: event.target.checked\n })\n } else if (name === \"state\") {\n this.setState({ addressState: event.target.value })\n } else if (name === \"email\") {\n this.setState({\n [name]: event.target.value.toLowerCase()\n });\n } else {\n if (this.state[name] !== undefined) {\n this.setState({\n [name]: event.target.value\n });\n }\n }\n // Clear message\n this.message = \"\"\n this.error = \"\"\n };\n\n onResendCode = () => {\n const { userStore } = this.props\n this.message = \"\"\n this.error = \"\"\n\n userStore!.resendSignUp(this.userId!)\n .then((result: any) => {\n this.message = \"Verification code requested\"\n })\n .catch((err: Error) => {\n this.error = err.message\n })\n }\n\n updateUser = async () => {\n const { userStore, notify } = this.props\n\n this.isProcessing = true\n\n const input: UpdateUserInput = {\n id: this.userId!,\n active: true,\n userStatus: UserStatus.Registered,\n firstName: this.state.firstName,\n lastName: this.state.lastName,\n phone: phoneToE164Format(this.state.phone),\n country: \"US\",\n lastActiveAt: getISODateTime()\n }\n\n Logger.debug(\"RegisterPage.updateUser\", input)\n const user = await userStore!.updateUser(input)\n\n if (!user) {\n this.error = \"Error updating user\"\n this.isProcessing = false\n return\n }\n\n // Record Agreements\n const agreementInput: CreateAgreementInput = {\n userId: user.id,\n accountId: user.accountId,\n agreementTypes: [\n AgreementType.PrivacyPolicy,\n AgreementType.TermsOfUse\n ]\n }\n const agreement = await userStore!.createAgreement(agreementInput)\n\n if (!agreement) {\n this.error = \"Error saving agreement\"\n this.isProcessing = false\n return\n }\n\n userStore!.logUserActivity(user.id, SubjectType.User, user.id, ActivityType.UserRegistered, user.email)\n\n this.isProcessing = false\n notify!.show(\"success\", \"Welcome to GovGig!\")\n userStore!.routeInitial()\n }\n\n}\n\nexport default withWidth()(withStyles(styles)(RegisterPage));\n","import { \n Box, \n // Stack, \n // ToggleButton, \n // ToggleButtonGroup, \n Typography, \n // useTheme \n} from \"@material-ui/core\";\nimport { \n ToggleButton,\n ToggleButtonGroup \n} from \"@material-ui/lab\";\nimport React from \"react\";\nimport Product from \"../../../model/stripe/Product\";\nimport Price from \"../../../model/stripe/Price\";\nimport { numberToMoneyFormat } from \"../../../stores/StoreUtilities\";\nimport Stack from \"../../Stack\";\n\nconst PricingToggle = ({ \n product \n}: {\n product: Product\n}) => {\n console.log(product)\n const price = product.prices.find(price => price.id === product.defaultPriceId)\n const [selectedPrice, setSelectedPrice] = React.useState(price ?? null)\n\n // const theme = useTheme()\n\n const handleSelectPrice = (\n event: React.MouseEvent,\n newPriceId: string | null,\n ) => {\n const price = product.prices.find(price => price.id === newPriceId)\n setSelectedPrice(price ?? null);\n };\n\n const renderToggleGroup = () => {\n return (\n \n {product.prices.map((price: Price) => {\n return (\n \n {price.quantity}\n \n )\n })}\n \n )\n }\n\n return (\n \n \n \n {product.unitLabel}\n \n \n { product.prices.length > 1 ? \n renderToggleGroup() \n :\n \n \n 1 or more\n \n \n }\n \n { product.productExpiry && \n \n ({product.productExpiry})\n \n }\n \n \n { selectedPrice && selectedPrice.unitPrice > 0 ? \n \n \n { numberToMoneyFormat(selectedPrice.unitPrice) }\n \n \n {selectedPrice.frequency}\n \n \n :\n null \n }\n \n \n )\n}\n\nexport default PricingToggle\n","import React from \"react\"\nimport { \n Box, \n createStyles,\n Divider, \n makeStyles, \n Paper, \n Theme, \n // Stack, \n Typography,\n useMediaQuery,\n useTheme, \n // useTheme \n} from \"@material-ui/core\"\nimport Product from \"../../../model/stripe/Product\"\nimport ActionButton from \"../../controls/ActionButton\"\n// import RoutesConfig from \"../../../RoutesConfig\"\nimport { Check } from '@material-ui/icons';\nimport PricingToggle from \"./PricingToggle\"\nimport ControlTower from \"../../ControlTower\";\nimport config from 'react-global-configuration';\nimport Stack from \"../../Stack\";\n\n\nconst useStyles = makeStyles((theme: Theme) => createStyles({\n title: {\n fontWeight: 'bold',\n fontSize: '20px'\n },\n titleBox0: {\n backgroundColor: 'hsla(220, 37%, 27%, 1.0)'\n },\n titleBox1: {\n backgroundColor: 'hsla(240, 37%, 27%, 1.0)'\n }\n}))\n\nexport interface IPricingCardProps {\n product: Product\n index: number\n dense?: boolean\n children: React.ReactNode \n}\n\nconst PricingCard = ({ \n product,\n index,\n dense,\n children \n}: IPricingCardProps) => {\n // const theme = useTheme()\n // const gradient = 'linear-gradient(to bottom, hsla(218,81%,100%,1.0) 77%, hsla(218,17%,93%,1.0) 100%)'\n // const gradientFeature = 'linear-gradient(to bottom, hsla(218,71%,99%,1.0) 77%, hsla(218,77%,93%,1.0) 100%)'\n const classes = useStyles()\n const theme = useTheme()\n const isSmall = useMediaQuery(theme.breakpoints.down('sm'))\n\n const renderProductDescription = () => {\n return (\n \n { product.superTitle && \n \n {product.superTitle}\n \n }\n \n \n {product.name}\n \n \n \n \n {product.description}\n \n \n \n )\n }\n\n const renderPricingOptions = () => {\n return (\n \n \n {/* */}\n \n )\n }\n\n const renderCustomPricingOption = () => {\n return (\n \n \n {product.name} \n \n \n \n Custom\n \n \n \n {\n const homeUrl = config.get(\"homeUrl\")\n ControlTower.open(`${homeUrl}/contact`, \"_self\")\n }}\n // route={{\n // title: \"Contact Us\", \n // pathname: RoutesConfig.contact.pathname\n // }}\n />\n \n \n )\n }\n\n const renderFeatures = () => {\n return (\n \n { product.includes && \n \n {product.includes}:\n \n }\n {product.features.length > 0 && \n \n {product.features.map((feature, index) => {\n return (\n \n \n \n \n \n \n \n {feature}\n \n \n \n )\n })}\n \n }\n \n )\n }\n\n return (\n \n { renderProductDescription() }\n {product.prices.length > 0 && \n renderPricingOptions() \n }\n {product.imageUrls.length > 0 && \n renderCustomPricingOption()\n }\n { renderFeatures() }\n { children }\n \n )\n}\n\nexport default PricingCard\n","import { useEffect, useState } from \"react\";\nimport { Box, Button, Grid } from \"@material-ui/core\"\nimport Product from \"../../../model/stripe/Product\"\nimport Stack from \"../../Stack\"\nimport PricingCard from \"./PricingCard\"\nimport CheckIcon from '@material-ui/icons/Check';\nimport get from \"lodash.get\";\nimport * as APITypes from \"../../../API\"\n\nconst PricingList = ({ \n products, \n dense,\n onSelectProduct \n}: {\n products: Product[]\n dense?: boolean\n onSelectProduct?(product: Product): void \n}) => {\n const [selectedProduct, setSelectedProduct] = useState()\n\n useEffect(() => {\n const selfService = products.find(product => get(product.metadata, 'jobPostType') === APITypes.JobPostType.SelfService)\n if (selfService) {\n setSelectedProduct(selfService)\n if (onSelectProduct) {\n onSelectProduct(selfService)\n }\n }\n }, [\n products \n ])\n\n return (\n \n \n {products.map((product: Product, index: number) => {\n return (\n \n \n \n \n : null }\n variant=\"contained\"\n color=\"secondary\"\n onClick={() => {\n setSelectedProduct(product)\n if (onSelectProduct) {\n onSelectProduct(product)\n }\n }}\n >\n { selectedProduct && selectedProduct.id === product.id ? \"Selected\" : \"Select\"} \n \n \n \n \n \n )\n })}\n \n \n )\n}\n\nexport default PricingList\n","import { \n Box, \n Button, \n Grid, \n // Paper, \n // Typography \n} from \"@material-ui/core\"\nimport get from \"lodash.get\"\nimport { useEffect, useState } from \"react\"\nimport Product from \"../../model/stripe/Product\"\nimport JobPost from \"../../model/JobPost\"\nimport { useStores } from \"../../stores/StoreProvider\"\nimport * as APITypes from '../../API'\nimport AddButton from \"../../components/AddButton\"\nimport PricingList from \"../../components/marketing/pricing/PricingList\"\n\nconst JobPostSelectProductOptions = ({\n jobPost,\n onContinue,\n onAddJobPost \n}: {\n jobPost: JobPost\n onContinue(): void \n onAddJobPost(): void \n}) => {\n const [selectedProduct, setSelectedProduct] = useState()\n const [products, setProducts] = useState([])\n\n const { accountStore, userStore, jobStore } = useStores()\n\n useEffect(() => {\n const loadProducts = async (): Promise => {\n const products: Product[] = await accountStore.listProductsByProductLineAndProductType('GovGigJobs', 'JobPost')\n return products \n }\n\n const init = async () => {\n if (accountStore.isLoading === false && userStore.isLoading === false) {\n const products = await loadProducts()\n setProducts(products)\n }\n }\n\n init() \n }, [\n accountStore, \n accountStore.isLoading,\n userStore, \n userStore.isLoading\n ])\n\n const handleSelectProduct = (product: Product) => {\n setSelectedProduct(product)\n }\n \n const handleContinue = async () => {\n const updatedJobPost = await updateJobPost()\n if (updatedJobPost) {\n onContinue()\n }\n }\n\n const handleAddAnotherJobPost = async () => {\n const updatedJobPost = await updateJobPost()\n if (updatedJobPost) {\n onAddJobPost() \n }\n }\n\n const updateJobPost = async (): Promise => {\n if (!selectedProduct) return \n\n const jobPostType = get(selectedProduct.metadata, 'jobPostType')\n\n // TODO: Also indicate selected add-ons. \n const input: APITypes.UpdateJobPostInput = {\n id: jobPost.id,\n jobPostType\n }\n const updatedJobPost = await jobStore.updateJobPost(input)\n return updatedJobPost\n }\n\n // TODO: Implement add-ons: \n // const renderAddOns = () => {\n // return (\n // \n // \n // Select Add-ons\n // List add-ons and allow user to select them here.\n // \n // \n // )\n // }\n\n return (\n \n \n \n \n \n \n \n {/* TODO: Render the add-ons when we're ready to include them: \n \n { renderAddOns() }\n \n */}\n \n \n Continue to Checkout\n \n \n \n \n \n \n \n )\n}\n\nexport default JobPostSelectProductOptions\n","import { Box, Grid, Typography, useMediaQuery, useTheme } from \"@material-ui/core\"\n\nconst TwoPanelSectionContainer = ({\n title,\n note, \n children,\n rightPanel \n}: {\n title: string \n note?: string \n children: React.ReactNode\n rightPanel?: React.ReactNode \n}) => {\n const theme = useTheme()\n const isMedium = useMediaQuery(theme.breakpoints.down('md'))\n return (\n \n \n \n \n { title }\n { note && \n \n { note }\n \n }\n { children }\n \n \n { rightPanel && \n \n \n { rightPanel }\n \n \n } \n \n \n )\n}\n\nexport default TwoPanelSectionContainer\n","import { Box } from \"@material-ui/core\"\nimport { ReactNode } from \"react\"\nimport MarginRow from \"../../page/MarginRow\"\n\nexport const SectionBackgroundColors = {\n 0: '#FFF',\n 50: '#FCFCFD',\n 100: '#F9F9FB',\n 200: '#F3F3F7',\n 300: '#EDEDF3',\n 400: '#dbdee1',\n 500: '#c0c5ca',\n 600: 'hsl(210, 9%, 67%)',\n 700: 'hsl(210, 9%, 57%)'\n}\n\ninterface ISection {\n backgroundColor?: string \n background?: string \n children: ReactNode\n}\n\nconst Section = ({ backgroundColor, background, children }: ISection) => {\n return (\n \n \n {children}\n \n \n )\n}\n\nexport default Section ","import { Box, Grid, Typography, useMediaQuery, useTheme } from \"@material-ui/core\"\nimport { blueGrey } from \"@material-ui/core/colors\"\nimport { ReactNode } from \"react\"\nimport Stack from \"../Stack\"\n\nconst ImageGroup = ({\n imageSrc,\n imageTitle,\n alignment, \n children \n}: {\n imageSrc?: string \n imageTitle: string \n alignment: 'imageLeft' | 'imageRight'\n children: ReactNode\n}) => {\n const theme = useTheme();\n const isExtraSmall = useMediaQuery(theme.breakpoints.down('sm'));\n return (\n \n \n \n {children}\n \n \n \n \n { imageSrc ? \n {\n : \n \n \n \n {imageTitle}\n \n \n \n }\n \n \n \n )\n}\n\nexport default ImageGroup\n","import { \n Box,\n Grid, \n Typography, \n useMediaQuery,\n useTheme\n} from \"@material-ui/core\"\nimport { IRouteData } from \"../../RoutesConfig\"\nimport Stack from \"../Stack\"\nimport ActionButton from \"../controls/ActionButton\"\nimport ControlTower from \"../ControlTower\"\n\nconst TitleGroup = ({\n superTitle,\n title, \n subtitle,\n body, \n alignment,\n titleVariant,\n primaryRoute,\n primaryRouteTarget,\n secondaryRoute,\n children \n}: {\n superTitle?: string \n title: string \n subtitle?: string \n body?: string \n alignment?: 'left' | 'center' \n titleVariant?: 'h1' | 'h2' | 'h3'\n primaryRoute?: IRouteData\n primaryRouteTarget?: React.HTMLAttributeAnchorTarget\n secondaryRoute?: IRouteData \n children?: React.ReactNode \n}) => {\n const theme = useTheme();\n const isSmall = useMediaQuery(theme.breakpoints.down('md'));\n\n const renderRoutes = () => {\n return (\n \n { primaryRoute && \n \n {\n ControlTower.route((primaryRoute.pathname ?? primaryRoute.href)!)\n }}\n />\n \n }\n { secondaryRoute && \n \n {\n ControlTower.route((secondaryRoute.pathname ?? secondaryRoute.href)!)\n }}\n />\n \n }\n \n )\n }\n\n return (\n \n {superTitle && \n \n \n {superTitle}\n \n \n }\n \n \n \n {title}\n \n \n \n {subtitle && \n \n \n {subtitle}\n \n \n }\n {body && \n \n \n {body}\n \n \n }\n { (primaryRoute || secondaryRoute) && \n \n { renderRoutes() }\n \n }\n {children && \n \n {children}\n \n }\n \n )\n}\n\nexport default TitleGroup\n","export default __webpack_public_path__ + \"static/media/MapCandidates.4c10d5e6.png\";","import { \n Box,\n Grid, useMediaQuery, useTheme\n} from '@material-ui/core'\nimport Section from './Section'\nimport TitleGroup from '../TitleGroup'\n\nconst TitleSection = ({\n superTitle,\n title, \n subtitle,\n body, \n titleAlignment,\n backgroundColor,\n background,\n children\n}: {\n superTitle?: string \n title: string \n subtitle?: string \n body?: string \n titleAlignment?: 'left' | 'center' | 'right' \n backgroundColor?: string \n background?: string \n children: React.ReactNode \n}) => {\n const theme = useTheme();\n const isExtraSmall = useMediaQuery(theme.breakpoints.down('sm'));\n\n const directionForAlignment = () => {\n if (titleAlignment === 'left') {\n return 'row'\n } else if (titleAlignment === 'right') {\n return 'row-reverse'\n }\n \n return 'column'\n }\n \n const direction = isExtraSmall ? 'column' : directionForAlignment() \n return (\n \n \n \n \n \n \n {children}\n \n \n \n )\n}\n\nexport default TitleSection\n","import { IRouteData } from \"../../RoutesConfig\"\nimport { \n Box,\n Paper, \n // Stack, \n Typography,\n useMediaQuery,\n useTheme\n} from \"@material-ui/core\"\nimport { blueGrey } from \"@material-ui/core/colors\"\nimport ActionButton from \"../controls/ActionButton\"\nimport Stack from \"../Stack\"\n\nexport interface IIndustry {\n name: string \n // description: string \n route?: IRouteData\n icon: React.ReactNode\n // imageSrc: string | StaticImageData\n}\n\nconst IndustryCard = (industry: IIndustry) => {\n const { \n name, \n // description, \n route,\n icon \n // imageSrc \n } = industry \n\n const theme = useTheme()\n const isExtraSmall = useMediaQuery(theme.breakpoints.down('sm'))\n\n return (\n \n \n theme.palette.primary.main,\n // backgroundColor: blueGrey[100],\n // borderTopLeftRadius: theme => theme.spacing(1),\n // borderBottomLeftRadius: theme => theme.spacing(1)\n // }}\n bgcolor={blueGrey[100]}\n borderRadius={10}\n >\n {icon}\n \n \n {/* */}\n \n {name}\n \n {/* \n {description}\n */}\n { route && \n \n {\n\n }}\n /> \n \n }\n \n\n \n \n )\n}\n\nexport default IndustryCard\n","import { \n Container,\n // Stack, \n} from \"@material-ui/core\"\nimport IndustryCard, { IIndustry } from \"./IndustryCard\";\nimport Stack from \"../Stack\";\n\nconst IndustryList = ({\n industries\n}: {\n industries: IIndustry[]\n}) => {\n return (\n \n \n { industries.map((industry, index) => {\n return (\n \n )\n })}\n \n \n )\n}\n\nexport default IndustryList\n","import HardwareIcon from '@material-ui/icons/Gavel';\nimport ComputerIcon from '@material-ui/icons/Computer';\nimport IndustryList from '../../components/marketing/IndustryList';\n\nconst GovGigIndustryList = () => {\n return (\n \n },\n {\n name: 'Information Technology',\n // route: {\n // title: \"Learn More\",\n // pathname: \"/industries/information-technology\"\n // },\n icon: \n },\n ]}\n />\n )\n}\n\nexport default GovGigIndustryList\n","export default __webpack_public_path__ + \"static/media/PostJobs.1748571a.png\";","export default __webpack_public_path__ + \"static/media/InviteCandidate.dbd8fd8b.png\";","export default __webpack_public_path__ + \"static/media/ReviewCandidatesAndHire.0d71c6dc.png\";","// import BulletItem from \"../../components/marketing/BulletItem\"\nimport ImageGroup from \"../../../components/marketing/ImageGroup\"\nimport TitleGroup from \"../../../components/marketing/TitleGroup\"\nimport TitleSection from \"../../../components/marketing/sections/TitleSection\"\n// import { FlashOn, People } from \"@material-ui/icons\"\n\nimport PostJobs from \"../../../images/PostJobs.png\"\nimport InviteCandidate from \"../../../images/InviteCandidate.png\"\nimport ReviewCandidatesAndHire from \"../../../images/ReviewCandidatesAndHire.png\"\n\nimport { \n // Avatar, \n // Box, \n // Grid, \n // Stack, \n // Typography, \n useTheme \n} from \"@material-ui/core\"\n// import { blueGrey } from \"@material-ui/core/colors\"\nimport Stack from \"../../../components/Stack\"\n\nconst EmployerHowGovGigWorksSection = () => {\n const theme = useTheme()\n\n // Older version of this content, for reference. \n // const renderV1 = () => {\n // return (\n // \n // \n // \n // How GovGig Works \n // \n // \n // GovGig is the place for employers, contractors, and recruiters to display and promote your job openings to qualified and pre-vetted Federal construction candidates who are looking for work. We have a couple of options, depending on your needs: \n // \n // \n // \n // \n // \n // \n // \n // \n // \n // Self-Service Job Posts \n // \n // \n // Take control to easily add job posts to the GovGig Job Board and manage your candidate flow. \n // \n // \n // \n // \n // \n // When you choose the Self-Service option, you manage your job posts. The GovGig Job Board is different from other job boards because it:\n // \n // \n // \n // \n // \n // \n // \n // \n // \n // \n // \n // \n // Recruiting Services \n // \n // \n // If you need a viable candidate fast, consider GovGig’s Recruiting Services, where we manage the recruiting process on your behalf.\n // \n // \n // \n // \n // \n // When you choose the Recruiting Services option, the GovGig recruiting team helps to:\n // \n // \n // \n // \n // \n // \n // \n // )\n // }\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n}\n\nexport default EmployerHowGovGigWorksSection\n","import { \n Box, \n Grid, \n // Stack, \n Typography \n} from \"@material-ui/core\"\nimport { Cancel, CheckCircle } from \"@material-ui/icons\"\nimport { IRouteData } from \"../../RoutesConfig\"\nimport ActionLink from \"../ActionLink\"\nimport React from \"react\"\nimport Stack from \"../Stack\"\n\ninterface IBulletItem {\n text: string\n icon: 'Cancel' | 'Check'\n route?: IRouteData\n}\n\nconst BulletItem = (props: IBulletItem) => {\n return (\n \n \n \n {props.icon === 'Check' && \n \n \n \n }\n {props.icon === 'Cancel' && \n \n \n \n }\n \n \n \n \n {props.text}\n \n { props.route && \n \n  \n \n\n \n }\n \n \n \n \n )\n}\n\nexport default BulletItem","import Stack from \"../../../components/Stack\"\nimport BulletItem from \"../../../components/marketing/BulletItem\"\nimport { SectionBackgroundColors } from \"../../../components/marketing/sections/Section\"\nimport TitleGroup from \"../../../components/marketing/TitleGroup\"\nimport TitleSection from \"../../../components/marketing/sections/TitleSection\"\nimport { \n Box, \n Grid, \n Paper, \n useMediaQuery, \n // Stack, \n useTheme \n} from \"@material-ui/core\"\n\n\nconst BulletsCard = ({\n title, \n body, \n bulletPoints\n}: {\n title: string, \n body: string, \n bulletPoints: string[]\n}) => {\n const theme = useTheme()\n const isExtraSmall = useMediaQuery(theme.breakpoints.down('sm'))\n return (\n \n \n \n \n \n { bulletPoints.map((bulletPoint, index) => {\n return (\n \n )\n })}\n \n \n )\n}\n\nconst EmployerOptionsSection = () => {\n const theme = useTheme()\n const isExtraSmall = useMediaQuery(theme.breakpoints.down('sm'))\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n}\n\nexport default EmployerOptionsSection\n","import { Box, Container, useMediaQuery, useTheme } from \"@material-ui/core\"\n// import Script from \"next/script\"\nimport IframeResizer from 'iframe-resizer-react'\n\nconst Testimonials = () => {\n const theme = useTheme()\n const isSmall = useMediaQuery(theme.breakpoints.down('md'))\n return (\n \n {/* \n To show only 1 testimonial, use this code: \n (For more, we can show the \"wall of love,\" see block of code below.) \n */}\n {/* */}\n\n {/* As we have more reviews, we can show a \"wall of love\": \n Docs: https://help.testimonial.to/en/articles/6223121-embed-a-wall-of-love \n */}\n \n \n )\n}\n\nexport default Testimonials\n","import { SectionBackgroundColors } from \"../../../components/marketing/sections/Section\"\nimport Testimonials from \"../../../components/marketing/Testimonials\"\nimport TitleSection from \"../../../components/marketing/sections/TitleSection\"\n\nconst EmployerTestimonialsSection = () => {\n return (\n \n \n \n )\n}\n\nexport default EmployerTestimonialsSection\n","import { SectionBackgroundColors } from '../../../components/marketing/sections/Section'\nimport TitleSection from '../../../components/marketing/sections/TitleSection'\nimport { \n Box, \n Container, \n // Stack, \n Typography, \n useTheme\n} from '@material-ui/core'\nimport Stack from '../../../components/Stack'\n\nconst QandA = ({\n question, \n answer \n}: {\n question: string, \n answer: string | React.ReactNode\n}) => {\n return (\n \n \n {`Q: ${question}`}\n \n { typeof answer === 'string' ? \n \n {`A: ${answer}`}\n \n :\n \n A:\n \n {answer}\n \n \n }\n \n )\n}\n\nconst EmployerFAQ = () => {\n const theme = useTheme()\n return (\n \n \n \n \n \n
  • Register with GovGig to see the full details of the talent available to you.
  • \n
  • Select the Talent Categories you are looking and zoom into a specific location (map).
  • \n
  • Browse the profiles, view the credentials, read the history and scan the certifications for the qualified professionals.
  • \n
  • Choose your compensation plan for the Candidates you are interested in.
  • \n
  • Make connections to the Candidate and sell them on your opportunity.
  • \n
  • Hire them and get your project onto the fast track of success and profitability!
  • \n \n }\n />\n \n \n
    \n \n \n \n )\n}\n\nexport default EmployerFAQ\n","import React from \"react\";\nimport { Avatar, Box, createStyles, Grid, isWidthDown, Theme, Typography, withStyles, WithStyles, WithTheme, withTheme, withWidth, WithWidth } from \"@material-ui/core\";\nimport { blueGrey, green } from \"@material-ui/core/colors\";\nimport classnames from 'classnames'\nimport PlayArrowIcon from '@material-ui/icons/PlayArrow';\nimport { v4 as uuid } from 'uuid';\n\nconst styles = (theme: Theme) => createStyles({\n avatar: {\n width: theme.spacing(7),\n height: theme.spacing(7),\n boxShadow: '0px 1px 12px rgba(0, 0, 0, 0.25)'\n },\n darkGrey: {\n backgroundColor: blueGrey[700]\n },\n primary: {\n backgroundColor: theme.palette.primary.main \n },\n secondary: {\n backgroundColor: theme.palette.secondary.main \n },\n green: {\n backgroundColor: green[700]\n },\n heading: {\n fontWeight: 'bold'\n },\n arrow: {\n height: '47px', \n width: 'auto',\n color: theme.palette.primary.main,\n [theme.breakpoints.down('sm')]: {\n transform: 'rotate(90deg)'\n }\n }\n})\n\nexport interface IExplainerStep {\n avatarIcon: any\n avatarColor: 'primary' | 'secondary' | 'darkGrey' | 'green'\n heading?: string \n text: string \n}\n\ninterface IExplainerStepsListProps {\n steps: IExplainerStep[] \n title?: string \n subtitle?: string\n}\n\nclass ExplainerStepsList extends React.Component & IExplainerStepsListProps & WithTheme & WithWidth> {\n\n render() {\n const { classes, steps, title, subtitle, width } = this.props \n const isSmall = isWidthDown('sm', width)\n return (\n \n \n \n {title}\n \n { subtitle && \n \n {subtitle}\n \n }\n \n \n {steps.map((step, index, steps) => {\n return (\n \n {this.renderStep(step)}\n {index < steps.length - 1 && \n \n \n \n \n \n }\n \n )\n })}\n \n {this.props.children}\n \n )\n }\n\n renderStep = (step: IExplainerStep) => {\n const { classes } = this.props \n\n return (\n \n \n \n \n \n { step.avatarIcon }\n \n \n \n { step.heading && \n \n { step.heading }\n \n }\n \n \n \n \n { step.text }\n \n \n \n \n \n \n ) \n }\n\n avatarClasses(step: IExplainerStep): any {\n const { classes } = this.props \n let customColorClass = classes.darkGrey\n switch(step.avatarColor) {\n case 'primary': \n customColorClass = classes.primary\n break \n case 'secondary': \n customColorClass = classes.secondary \n break \n case 'green': \n customColorClass = classes.green\n }\n return classnames(classes.avatar, customColorClass)\n }\n}\n\nexport default withTheme(withStyles(styles)(withWidth()(ExplainerStepsList)))\n","// import RoutesConfig from \"@/RoutesConfig\"\n// import ActionButton from \"@/components/controls/ActionButton\"\n// import ExplainerStepsList from \"@/components/marketing/ExplainerStepsList\"\n// import Section from \"@/components/marketing/Section\"\nimport { AssignmentInd, HowToReg, PostAdd } from \"@material-ui/icons\"\nimport { Box } from \"@material-ui/core\"\nimport Section from \"../../../components/marketing/sections/Section\"\nimport ExplainerStepsList from \"../../../components/marketing/ExplainerStepsList\"\nimport ActionButton from \"../../../components/controls/ActionButton\"\nimport ControlTower, { Routes } from \"../../../components/ControlTower\"\n\nconst EmployerProcessSection = () => {\n return (\n \n ,\n avatarColor: 'primary',\n heading: \"Sign Up\",\n text: \"Join GovGig with our quick sign-up process.\"\n }, \n {\n avatarIcon: ,\n avatarColor: 'secondary',\n heading: \"Post Jobs\",\n text: \"Post your open roles to our job board.\"\n }, \n {\n avatarIcon: ,\n avatarColor: 'green',\n heading: \"Invite & Hire\",\n text: \"Invite candidates to apply, review them and hire!\"\n }\n // {\n // avatarIcon: ,\n // avatarColor: 'primary',\n // heading: \"2. Connect\",\n // text: \"Talk to an agent, so we learn about your staffing goals.\"\n // }, \n // {\n // avatarIcon: ,\n // avatarColor: 'green',\n // heading: \"3. Post Jobs & Hire\",\n // text: \"Post your open jobs, invite candidates, and hire!\"\n // }\n ]}\n >\n \n {\n ControlTower.route(Routes.signup)\n }}\n showFowardArrow\n size=\"large\"\n />\n \n \n \n )\n}\n\nexport default EmployerProcessSection\n","import config from 'react-global-configuration';\nimport ActionLink from \"../../../components/ActionLink\"\nimport ControlTower, { Routes } from \"../../../components/ControlTower\"\nimport Section, { SectionBackgroundColors } from \"../../../components/marketing/sections/Section\"\nimport TitleGroup from \"../../../components/marketing/TitleGroup\"\n\nconst EmployerContactUsSection = () => {\n return (\n \n \n {\n const homeUrl = config.get(\"homeUrl\")\n ControlTower.open(`${homeUrl}/contact`, \"_self\")\n }}\n />\n \n \n )\n}\n\nexport default EmployerContactUsSection\n","import React, { useEffect, useState } from \"react\"\nimport { RouteComponentProps, useLocation } from \"@reach/router\"\nimport Page from \"../../components/page/Page\"\nimport PageTitle from \"../../components/page/PageTitle\"\nimport { createMachine } from 'xstate'\nimport { \n Box, \n Button, \n CircularProgress, \n createStyles, \n Divider, \n Grid, \n makeStyles, \n Paper, \n Theme, \n Typography\n} from \"@material-ui/core\"\nimport ActionButton from \"../../components/controls/ActionButton\"\nimport ControlTower, { Routes } from \"../../components/ControlTower\"\nimport AuthButton from \"../../components/login/AuthButton\"\nimport { useStores } from \"../../stores/StoreProvider\"\nimport { useMachine } from '@xstate/react';\nimport JobPostForm, { JobPostFormCloseReason } from \"../../components/jobPosts/JobPostForm\"\nimport JobPost from \"../../model/JobPost\"\nimport { getISODateToday } from \"../../stores/StoreUtilities\"\nimport JobPostDescriptionForm from \"../../components/jobPosts/JobPostDescriptionForm\"\nimport JobPostSelectProductOptions from \"./JobPostSelectProductOptions\"\nimport JobPostPage from \"../jobPost/JobPostPage\"\nimport TwoPanelSectionContainer from \"../../components/page/TwoPanelSectionContainer\"\nimport JobPostQuestionsForm from \"../../components/jobPosts/JobPostQuestionsForm\";\nimport Logger from \"../../components/Logger\";\nimport {JobPostStatus} from \"../../API\";\nimport config from 'react-global-configuration';\nimport parseHTML from \"html-react-parser\";\nimport Stack from \"../../components/Stack\"\n// import Hero from \"../../views/marketing/Hero\"\n// import MarginRow from \"../../components/page/MarginRow\"\n// import ForEmployers from \"../../views/marketing/Employers/ForEmployers\"\nimport Section, { SectionBackgroundColors } from \"../../components/marketing/sections/Section\"\nimport ImageGroup from \"../../components/marketing/ImageGroup\"\nimport TitleGroup from \"../../components/marketing/TitleGroup\"\nimport MapCandidates from '../../images/MapCandidates.png'\n// import WhatIsGovGig from \"../../views/marketing/WhatIsGovGig\"\nimport TitleSection from \"../../components/marketing/sections/TitleSection\"\nimport GovGigIndustryList from \"../../views/marketing/GovGigIndustryList\"\nimport EmployerHowGovGigWorksSection from \"../../views/marketing/Employers/EmployerHowGovGigWorksSection\"\nimport EmployerOptionsSection from \"../../views/marketing/Employers/EmployerOptionsSection\"\nimport EmployerTestimonialsSection from \"../../views/marketing/Employers/EmployerTestimonialsSection\"\nimport EmployerFAQ from \"../../views/marketing/Employers/EmployerFAQ\"\nimport EmployerProcessSection from \"../../views/marketing/Employers/EmployerProcessSection\"\nimport EmployerContactUsSection from \"../../views/marketing/Employers/EmployerContactUsSection\"\n\nenum CreateJobPostStates {\n loading = 'loading',\n logInOrSignUp = 'logInOrSignUp',\n jobPostInfo = 'jobPostInfo',\n jobPostDescription = 'jobPostDescription',\n jobPostQuestions = 'jobPostQuestions',\n priceSelect = 'priceSelect'\n}\n\nenum CreateJobPostActions {\n NEEDS_LOGIN_OR_SIGNUP = 'NEEDS_LOGIN_OR_SIGNUP',\n ADD_JOB_POST_INFO = 'ADD_JOB_POST_INFO',\n SAVE_JOB_POST_INFO = 'SAVE_JOB_POST_INFO',\n SAVE_JOB_POST_DESCRIPTION = 'SAVE_JOB_POST_DESCRIPTION',\n SKIP_JOB_POST_DESCRIPTION = 'SKIP_JOB_POST_DESCRIPTION',\n SAVE_JOB_POST_QUESTIONS = 'SAVE_JOB_POST_QUESTIONS',\n SKIP_JOB_POST_QUESTIONS = 'SKIP_JOB_POST_QUESTIONS',\n SELECT_PRICE = 'SELECT_PRICE'\n}\n\nconst stateMachine = createMachine({\n id: 'createJobPost',\n initial: CreateJobPostStates.loading,\n states: {\n [CreateJobPostStates.loading]: {\n on: { \n [CreateJobPostActions.ADD_JOB_POST_INFO]: CreateJobPostStates.jobPostInfo, \n [CreateJobPostActions.NEEDS_LOGIN_OR_SIGNUP]: CreateJobPostStates.logInOrSignUp,\n [CreateJobPostActions.SELECT_PRICE]: CreateJobPostStates.priceSelect \n }\n },\n [CreateJobPostStates.logInOrSignUp]: {\n on: {\n [CreateJobPostActions.ADD_JOB_POST_INFO]: CreateJobPostStates.jobPostInfo\n }\n },\n [CreateJobPostStates.jobPostInfo]: {\n on: {\n [CreateJobPostActions.SAVE_JOB_POST_INFO]: CreateJobPostStates.jobPostDescription\n }\n },\n [CreateJobPostStates.jobPostDescription]: {\n on: {\n [CreateJobPostActions.SAVE_JOB_POST_DESCRIPTION]: CreateJobPostStates.jobPostQuestions,\n [CreateJobPostActions.SKIP_JOB_POST_DESCRIPTION]: CreateJobPostStates.jobPostQuestions\n }\n },\n [CreateJobPostStates.jobPostQuestions]: {\n on: {\n [CreateJobPostActions.SAVE_JOB_POST_QUESTIONS]: CreateJobPostStates.priceSelect,\n [CreateJobPostActions.SKIP_JOB_POST_QUESTIONS]: CreateJobPostStates.priceSelect\n }\n },\n [CreateJobPostStates.priceSelect]: {\n on: {\n [CreateJobPostActions.ADD_JOB_POST_INFO]: CreateJobPostStates.jobPostInfo, \n }\n }\n }\n})\n\nconst useStyles = makeStyles((theme: Theme) => createStyles({\n progress: {\n backgroundColor: theme.palette.common.white, // \"#d72222\",\n border: 0,\n borderRadius: 3,\n boxShadow: '0 3px 5px 2px rgba(0, 0, 0, 0.05)',\n height: 3,\n padding: '0 30px',\n },\n panel: {\n padding: theme.spacing(2)\n },\n promo: {\n backgroundColor: 'hsl(219, 97%, 87%)'\n },\n divider: {\n backgroundColor: \"#ccc\"\n }\n}));\n\ninterface IJobPostCreatePageProps {\n jobPostId?: string // Passed via the router, if included in the URL. \n}\n\nconst JobPostCreatePage: React.FC = ({ \n jobPostId \n}) => {\n const title = \"Create Self-Service Job Post(s)\"\n const progressName = \"CreateJobPost\"\n \n // TODO: Implement Stepper to show user where they are at in the process. \n // const [jobPostCreationProgress, setJobPostCreationProgress] = useState(50)\n\n const [isAuthVisible, setIsAuthVisible] = useState(false)\n const { accountStore, jobStore, progress, userStore } = useStores()\n const [jobPost, setJobPost] = useState() // Current working job post.\n \n const classes = useStyles()\n const location = useLocation()\n const [currentState, send, service] = useMachine(stateMachine)\n \n useEffect(() => {\n const subscription = service.subscribe((state) => {\n // simple state logging\n console.log(\"Current State: \", JSON.stringify(state.value, null, 2));\n });\n \n return subscription.unsubscribe;\n }, [\n service // note: service should never change\n ]); \n\n useEffect(() => {\n progress.show(progressName)\n\n // Loading\n\n const createJobPost = (): JobPost => {\n const status = JobPostStatus.Cart\n const jobPost = new JobPost({\n accountId: userStore.user!.accountId,\n industries: userStore.user!.account?.industries,\n status\n })\n return jobPost\n }\n\n const loadJobPost = async (): Promise => {\n // If a jobPostId is passed in via the URL, then load it. \n if (jobPostId) {\n // TODO: Check to make sure the user has permission to edit the job post. \n const jobPost = await jobStore.getJobPost(jobPostId)\n return jobPost!\n } else {\n return createJobPost()\n }\n }\n\n const init = async () => {\n if (jobStore.isLoading === true && userStore.isLoading === true) {\n return \n }\n\n if (userStore.user === undefined) {\n progress.hide(progressName)\n send(CreateJobPostActions.NEEDS_LOGIN_OR_SIGNUP)\n } else {\n const jobPost = await loadJobPost()\n setJobPost(jobPost)\n \n const search = new URLSearchParams(location.search)\n let step = search.get('step')\n if (step === CreateJobPostStates.priceSelect) {\n send(CreateJobPostActions.SELECT_PRICE)\n } else {\n send(CreateJobPostActions.ADD_JOB_POST_INFO)\n }\n progress.hide(progressName)\n \n // TODO: Future, handle any step? \n // if (step) {\n // url += `?step=${step}`\n // } else {\n // url += `?step=${CreateJobPostStates.jobPostInfo}`\n // }\n // ControlTower.route(url)\n }\n }\n \n init() \n }, [\n accountStore, \n accountStore.isLoading,\n jobStore,\n jobStore.isLoading,\n jobPostId,\n progress, \n send, \n userStore,\n userStore.isLoading, \n userStore.isAuthenticated,\n location.search,\n isAuthVisible\n ])\n\n const handleDeleteJobPost = async () => {\n progress!.show('JobPostCreatePage')\n\n try {\n if (jobPost && jobPost.id) {\n await jobStore!.deleteJobPost(jobPost.id, userStore)\n }\n ControlTower.route(Routes.manageJobs)\n } catch (error) {\n const message = 'Could not delete the job post.'\n Logger.error(message, error)\n }\n progress!.hide('JobPostCreatePage')\n }\n\n const renderLoading = () => {\n return (\n \n )\n }\n\n const renderActionButtons = () => {\n return (\n \n To get started:\n \n \n {\n // setIsAuthVisible(true)\n ControlTower.route(Routes.signup)\n }}\n />\n \n \n {\n setIsAuthVisible(true)\n // ControlTower.route(Routes.login)\n }}\n />\n \n \n {isAuthVisible &&\n {\n setIsAuthVisible(false)\n }}\n onClose={() => {\n setIsAuthVisible(false)\n }} \n />\n }\n \n )\n }\n\n const renderLogInOrSignUp = () => {\n return (\n \n {/* */}\n \n \n \n { renderActionButtons() }\n \n \n \n \n \n \n \n \n \n \n \n \n {/* */}\n \n )\n // return (\n // \n // \n // \n // \n // \n // \n // \n // To get started:\n // \n // \n // {\n // setIsAuthVisible(true)\n // // ControlTower.route(Routes.login)\n // }}\n // />\n // \n // \n // Or\n // \n // \n // {\n // // setIsAuthVisible(true)\n // ControlTower.route(Routes.signup)\n // }}\n // />\n // \n // \n // \n // \n // \n // \n // {isAuthVisible &&\n // {\n // setIsAuthVisible(false)\n // }}\n // onClose={() => {\n // setIsAuthVisible(false)\n // }} \n // />\n // }\n // \n // )\n }\n\n const renderJobPostForm = () => {\n return (\n \n \n \n {\n if (reason === JobPostFormCloseReason.CancelForm) {\n ControlTower.route(Routes.manageJobs)\n }\n }}\n didCreate={(jobPost: JobPost) => {\n setJobPost(jobPost)\n send(CreateJobPostActions.SAVE_JOB_POST_INFO)\n }} \n didDelete={(jobPost: JobPost) => {\n // For now they can delete it in the cart checkout page. \n }} \n didEdit={async (jobPost: JobPost) => {\n setJobPost(jobPost)\n send(CreateJobPostActions.SAVE_JOB_POST_INFO)\n }}\n />\n \n \n \n )\n }\n\n const renderInstructions = () => {\n return (\n \n Enter the details for your self-service job post to put on the GovGig job board.\n After you purchase and check out, you can publish the job post to make it go live.\n When a job post is live, you can then invite candidates to apply.\n \n \n \n \n \n If you would rather have GovGig handle posting your jobs and finding candidates on your behalf, feel free to use our Recruiting & Staffing Services instead.\n \n \n \n )\n }\n\n const renderJobPostPreview = () => {\n if (!(jobPost && jobPost.id)) {\n return null \n }\n return (\n \n { jobPost && jobPost.id && \n \n Job Post Preview\n \n \n }\n \n )\n }\n\n const renderJobPostDescriptionForm = () => {\n return (\n \n {\n handleDeleteJobPost()\n }}\n didClose={() => {\n send(CreateJobPostActions.SKIP_JOB_POST_DESCRIPTION)\n }}\n didEdit={async (jobPost: JobPost) => {\n setJobPost(jobPost)\n send(CreateJobPostActions.SAVE_JOB_POST_DESCRIPTION)\n }}\n />\n \n )\n }\n\n const renderJobPostQuestionsForm = () => {\n return (\n \n {\n handleDeleteJobPost()\n }}\n didClose={() => {\n send(CreateJobPostActions.SKIP_JOB_POST_QUESTIONS)\n }}\n didEdit={(jobPost: JobPost) => {\n setJobPost(jobPost)\n send(CreateJobPostActions.SAVE_JOB_POST_QUESTIONS)\n }}\n />\n \n )\n }\n\n const renderProductOptions = () => {\n const couponPromo = config.get(\"couponPromo\")\n\n return (\n \n \n {couponPromo &&\n \n \n \n {parseHTML(couponPromo)}\n \n \n \n }\n \n { jobPost && \n {\n const accountId = jobPost.accountId // Assume the account in the flow is the same as the account for the job post. \n ControlTower.route(`${Routes.jobPostPaymentCart}/?accountId=${accountId}`)\n }}\n onAddJobPost={() => {\n const status = JobPostStatus.Cart\n const jobPost = new JobPost({\n accountId: userStore.user!.accountId, \n openDate: getISODateToday(),\n status // Cart status\n })\n setJobPost(jobPost)\n send(CreateJobPostActions.ADD_JOB_POST_INFO)\n }}\n />\n }\n \n \n \n )\n }\n\n return (\n \n \n \n \n {/* TODO: Use Stepper to show user where they are at in the process: \n \n \n */}\n { currentState.matches(CreateJobPostStates.loading) && \n renderLoading() \n }\n { currentState.matches(CreateJobPostStates.logInOrSignUp) && \n renderLogInOrSignUp() \n }\n { currentState.matches(CreateJobPostStates.jobPostInfo) && \n renderJobPostForm() \n }\n { currentState.matches(CreateJobPostStates.jobPostDescription) &&\n renderJobPostDescriptionForm() \n }\n { currentState.matches(CreateJobPostStates.jobPostQuestions) &&\n renderJobPostQuestionsForm()\n }\n { currentState.matches(CreateJobPostStates.priceSelect) && \n renderProductOptions() \n }\n \n \n \n )\n}\n\nexport default JobPostCreatePage \n","import Big, { RoundingMode } from 'big.js'\nimport cc from 'currency-codes'\n\ntype NumberInput = number | string | Big\ntype Factor = number | Big\n\ntype Tags = {\n includesVat: boolean\n isVat: boolean\n [key: string]: any\n}\n\nexport type AdditionalOptions = {\n decimals?: number\n roundingMode?: RoundingMode\n tags?: Partial\n}\n\nexport type MoneyInputData = {\n amount: NumberInput\n currency: string\n decimals?: number\n roundingMode?: RoundingMode\n tags?: Partial\n}\n\ntype MoneyData = {\n amount: Big\n currency: string\n decimals?: number\n roundingMode?: RoundingMode\n tags: Tags\n}\n\nconst DEFAULT_DECIMALS_PRICE = 10\n\n/**\n * Get number of decimals for a type of currency. \n * \n * @param currency Ex. 'USD', 'GBP'\n * @returns The typical number of decimals displayed for a given currency. \n */\nconst currencyToDecimals = (currency: string): number => {\n const decimals = cc.code(currency)?.digits\n if (decimals === undefined) {\n if (currency === 'UNKNOWN') {\n return 2\n }\n throw new Error(`Currency ${currency} is not supported`)\n }\n return decimals\n}\n\nconst percentToMultiplier = (percent: Factor): Big => Big(percent).add(100).div(100)\nconst percentToRate = (percent: Factor): Big => Big(percent).div(100)\n\n//eslint-disable-next-line\nconst escapeRegex = (str: string) => str.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&')\n\nclass Money {\n private readonly _data: MoneyData\n\n constructor(data: MoneyInputData) {\n if (data.amount === undefined) {\n throw new Error('Amount is undefined. Needs to be number, string, or Big')\n }\n\n const currency = data.currency\n const decimals = data.decimals ?? currencyToDecimals(currency)\n const amount = new Big(data.amount)\n\n this._data = {\n amount: amount.round(decimals, data.roundingMode),\n currency,\n decimals: data.decimals,\n roundingMode: data.roundingMode,\n tags: {\n includesVat: false,\n isPrice: false,\n isVat: false,\n ...data.tags\n }\n }\n\n Object.freeze(this)\n Object.freeze(this._data)\n }\n\n /**\n * Create a money object.\n *\n * Amount can be any of number, string, or Big\n * currency is the 3-character currency code (ISO 4217)\n * currency can also be set to UNKNOWN, which gives a precision of 2 decimals.\n *\n * With options you can specify\n * - decimals\n * - roundingMode\n * - tags\n */\n static of(amount: NumberInput, currency: string, options?: AdditionalOptions): Money {\n return new Money({ amount, currency, ...options })\n }\n\n /**\n * Instantiate from a string formatted in a certain locale.\n *\n * Examples:\n * no-NB: 11 111,11\n * en-GB: 11,111.11\n * de-DE: 11.111,11\n *\n * Before parsing, non-numeric characters are removed, and the decimal sign is normalized.\n *\n * Locales with unicode numbers are NOT SUPPORTED\n * Example of formats NOT SUPPORTED:\n * ar: ١١٬١١١٫١١\n */\n static fromLocaleString(str: string, currency: string, locale?: string, options?: AdditionalOptions): Money {\n const parts = Intl.NumberFormat(locale).formatToParts(11111.11)\n const decimalSign = parts.find(p => p.type === 'decimal')?.value ?? '.'\n\n str = str\n .replace(new RegExp(`[^-\\\\d${escapeRegex(decimalSign)}]`, 'g'), '')\n .replace(decimalSign, '.')\n\n return Money.of(str, currency, options)\n }\n\n /**\n * Instantiate from a whole number of minor units of the currency (e.g. whole number of cents)\n *\n * Example:\n * Money.fromFractionlessAmount(1000, 'NOK') => 10.00 NOK\n */\n static fromFractionlessAmount(amount: number, currency: string, options?: AdditionalOptions): Money {\n return Money.of(amount, currency, options).divide(10**currencyToDecimals(currency))\n }\n\n /**\n * A price has arbitrary precision.\n * This method creates a Money instance with 10 decimals of precision by default.\n * Remember to call .resetDecimals() when you want to go back to a proper Money value.\n */\n static fromPrice(price: NumberInput, currency: string, options?: AdditionalOptions): Money {\n return Money.of(price, currency, { decimals: DEFAULT_DECIMALS_PRICE, ...options })\n }\n\n /**\n * Calculate total money according to a price and quantity.\n * Default precision is 10 decimals.\n */\n static fromPriceAndQuantity(price: NumberInput, quantity: Factor, currency: string, options?: AdditionalOptions): Money {\n return Money.fromPrice(price, currency, options)\n .multiply(quantity)\n .resetDecimals()\n }\n\n /**\n * Sum an array of moneys.\n *\n * If the array is empty, a currency must be specified so that 0 can be returned in that currency.\n *\n * The precision, rounding mode, etc, is based on the first item in the array.\n * If the array is empty, the options object will be used instead.\n */\n static sum(moneys: Money[], currency?: string, options?: AdditionalOptions): Money {\n if (moneys.length === 0 && currency === undefined) {\n throw new Error('Currency must be set when summing an empty list of money\\'s')\n }\n\n currency = currency ?? moneys[0].currency()\n\n if (moneys.length === 0) {\n return Money.of(0, currency, options)\n }\n\n return moneys.slice(1).reduce((sum, money) => sum.add(money), moneys[0])\n }\n\n static max(moneys: Money[]): Money {\n if (moneys.length === 0) {\n throw new Error('Need at least one money for comparison')\n }\n return moneys.reduce((max, money) => money.greaterThan(max) ? money : max, moneys[0])\n }\n\n static min(moneys: Money[]): Money {\n if (moneys.length === 0) {\n throw new Error('Need at least one money for comparison')\n }\n return moneys.reduce((min, money) => money.lessThan(min) ? money : min, moneys[0])\n }\n\n /**\n * Compare two money objects.\n *\n * 1 if money1 is greater than money2\n * 0 if equal\n * -1 if money1 is less than money2\n *\n * This can be plugged directly into array.sort(),\n * and it will cause the array to be sorted in ascending order.\n */\n static compare(money1: Money, money2: Money): number {\n money1.assertSameCurrency(money2)\n return money1.amount().cmp(money2.amount())\n }\n\n merge = (data: Partial): Money => {\n return new Money({ ...this._data, ...data })\n }\n\n /**\n * Tags allow you to communicate more about what the money represents.\n * You can later assert on a tag to make sure you're using the right amount for the right purpose.\n */\n getTags = () => {\n return this._data.tags\n }\n\n getTag = (tagName: Name, defaultValue?: Value): Value | undefined => {\n return this._data.tags?.[tagName] ?? defaultValue\n }\n\n setTag = (tagName: Name, value: any): Money => {\n return new Money({ ...this._data, tags: { ...this._data.tags, [tagName]: value } })\n }\n\n assertTag = (tagName: Name, value: any, cmp = (actual: any, value: any) => actual === value): Money => {\n const actualValue = this.getTag(tagName, undefined)\n if (!cmp(actualValue, value)) {\n throw new Error(`Tag assertion failed. ${tagName} should be ${value} but was ${actualValue}`)\n }\n return this\n }\n\n assertSameCurrency = (money: Money): Money => {\n if (money.currency() !== this.currency()) {\n throw new Error('Currencies must be the same')\n }\n return this\n }\n\n amount = (): Big => {\n return this._data.amount\n }\n\n currency = (): string => {\n return this._data.currency\n }\n\n /**\n * Converts the money amount into a whole number given in the minor unit of the currency\n */\n toFractionlessAmount = (): number => {\n return this\n .multiply(10**currencyToDecimals(this.currency()))\n .round(0)\n .toNumber()\n }\n\n /**\n * Converts to a regular javascript number.\n * Throws an error if it's not possible to do keep full precision.\n */\n toNumber = (): number => {\n // Don't use big.js toNumber because it sometimes returns -0.\n const str = this.toString()\n const num = Number(str)\n\n if (str !== this.merge({ amount: num }).toString()) {\n throw new Error('Converting to number was imprecise')\n }\n\n return num\n }\n\n toString = (): string => {\n return this._data.amount.toFixed(this.getDecimals())\n }\n\n toLocaleString = (locale?: string): string => {\n const decimals = this.getDecimals()\n return Intl.NumberFormat(locale, {\n minimumFractionDigits: decimals,\n maximumFractionDigits: decimals\n }).format(this.toNumber())\n }\n\n toJSON = (): number => {\n return this.toNumber()\n }\n\n /**\n * Gets the current precision in use.\n */\n getDecimals = (): number => {\n return this._data.decimals ?? currencyToDecimals(this.currency())\n }\n\n /**\n * Override the default precision of the currency.\n * Useful if you're working with a price.\n */\n setDecimals = (decimals: number): Money => {\n return this.merge({ decimals })\n }\n\n /**\n * Reset precision back to that of the currency.\n * Useful for converting from a price to the final monetary amount.\n */\n resetDecimals = (): Money => {\n return this.merge({ decimals: undefined })\n }\n\n /**\n * Converts to a different currency using a currency rate.\n * Sometimes (rarely) the rate is given multiplied by a certain unit amount which has to be divided away.\n */\n toCurrency = (currency: string, currencyRate: Factor = 1, currencyUnit: Factor = 1): Money => {\n // Convert currency outside of Money to avoid wrong precision for the new currency.\n const amount = this.amount().mul(currencyRate).div(currencyUnit)\n return new Money({ ...this._data, amount, currency })\n }\n\n round = (decimals: number, roundingMode?: RoundingMode): Money => {\n const amount = this.amount().round(decimals, roundingMode ?? this._data.roundingMode)\n return this.merge({ amount })\n }\n\n multiply = (factor: Factor): Money => {\n const amount = this.amount().mul(factor)\n return this.merge({ amount })\n }\n\n /**\n * Note that dividing a monetary amount cannot be exact in all cases.\n * E.g. 10 NOK / 3 = 3.33 NOK\n * Use `distribute` or `distributeBy` if you need an exact distribution.\n *\n * The division is performed with a precision of 20 decimals before\n * rounding back to the monetary amount. (See https://mikemcl.github.io/big.js/#dp)\n */\n divide = (divisor: Factor): Money => {\n return this.merge({ amount: this.amount().div(divisor) })\n }\n\n add = (money: Money): Money => {\n this.assertSameCurrency(money)\n return this.merge({ amount: this.amount().plus(money.amount()) })\n }\n\n subtract = (money: Money): Money => {\n this.assertSameCurrency(money)\n return this.merge({ amount: this.amount().minus(money.amount()) })\n }\n\n abs = (): Money => {\n return this.merge({ amount: this.amount().abs() })\n }\n\n equals = (money: Money): boolean => {\n return this._data.currency === money._data.currency && this.amount().eq(money.amount())\n }\n\n greaterThan = (money: Money): boolean => {\n this.assertSameCurrency(money)\n return this.amount().gt(money.amount())\n }\n\n greaterThanOrEqual = (money: Money): boolean => {\n this.assertSameCurrency(money)\n return this.amount().gte(money.amount())\n }\n\n lessThan = (money: Money): boolean => {\n this.assertSameCurrency(money)\n return this.amount().lt(money.amount())\n }\n\n lessThanOrEqual = (money: Money): boolean => {\n this.assertSameCurrency(money)\n return this.amount().lte(money.amount())\n }\n\n isZero = (): boolean => {\n return this.amount().eq(0)\n }\n\n /**\n * Positive and not 0\n */\n isPositive = (): boolean => {\n return this.amount().gt(0)\n }\n\n /**\n * Negative and not 0\n */\n isNegative = (): boolean => {\n return this.amount().lt(0)\n }\n\n /**\n * Divides money into n parts.\n *\n * Example:\n * Money.of(10, 'NOK').distribute(3) => [3.34, 3.33, 3.33]\n *\n * Distributes any rest amount equally across the parts\n */\n distribute = (nParts: number): Money[] => {\n if (nParts !== Math.round(nParts)) {\n throw new Error('Number of parts must be a whole number')\n }\n\n return this.distributeBy(Array(nParts).fill(1))\n }\n\n /**\n * Divides money into parts, each defined by a weight.\n *\n * Each weight must be >= 0\n * Total of weights must be > 0\n *\n * Example:\n * Money.of(10, 'NOK').distributeBy([1, 1, 1]) => [3.34, 3.33, 3.33]\n *\n * Distributes any rest amount equally across the parts\n */\n distributeBy = (inputWeights: Factor[]): Money[] => {\n const weights = inputWeights.map(w => Big(w))\n if (weights.some(w => w.lt(0))) {\n throw new Error('Cannot distribute by negative weights')\n }\n\n const totalWeight = weights.reduce((a, b) => a.add(b), new Big(0))\n if (totalWeight.lte(0)) {\n throw new Error('Total weight must be greater than 0')\n }\n\n const parts = weights.map(weight => this.multiply(weight.div(totalWeight)))\n let rest = this.subtract(Money.sum(parts, this.currency()))\n\n const smallestUnit = this.merge({ amount: 1 }).divide(10**this.getDecimals())\n .multiply(rest.isPositive() ? 1 : -1)\n\n let i = 0\n while (!rest.isZero()) {\n parts[i] = parts[i].add(smallestUnit)\n rest = rest.subtract(smallestUnit)\n i++\n }\n\n /*\n * Given that we add the smallest possible unit to parts each time,\n * is it enough to go through the parts array just once?\n * Some napkin math:\n *\n * Part = round(Amount / N, Decimals)\n * Rest = Amount - Part * N\n * SmallestUnit = +/- 1/(10^Decimals)\n *\n * The question can then be phrased:\n * Rest <= N * SmallestUnit\n *\n * Let's expand:\n *\n * Amount - round(Amount / N, Decimals) * N <= +/- N / (10^Decimals)\n *\n * Express worst case error from rounding (even assuming ceil or floor):\n * round(Amount / N, Decimals) => (Amount / N) +/- 1/(10^Decimals)\n *\n * Plug back in:\n *\n * Amount - ((Amount / N) +/- 1/(10^Decimals)) * N <= +/- N / (10^Decimals)\n *\n * Reduce:\n * +/- N/(10^Decimals) <= +/- N/(10^Decimals)\n *\n * So we see that it will be enough we just one iteration through parts.\n */\n\n return parts\n }\n\n addVat = (vatPercentage: Factor): Money => {\n return this.multiply(percentToMultiplier(vatPercentage)).setTag('includesVat', true)\n }\n\n removeVat = (vatPercentage: Factor): Money => {\n return this.divide(percentToMultiplier(vatPercentage)).setTag('includesVat', false)\n }\n\n getVat = (vatPercentage: Factor, includesVat?: boolean): Money => {\n const withoutVat = (includesVat ?? this.getTag('includesVat', false))\n ? this.removeVat(vatPercentage)\n : this\n return withoutVat.multiply(percentToRate(vatPercentage)).setTag('isVat', true)\n }\n}\n\nexport default Money \n","import React from 'react';\nimport {Elements, StripeProvider} from \"react-stripe-elements\";\nimport config from \"react-global-configuration\";\n\n// TODO: Use new Stripe SDK: \n// import {Elements} from '@stripe/react-stripe-js';\n// import {Appearance, loadStripe, StripeElementsOptions} from '@stripe/stripe-js';\n// Make sure to call `loadStripe` outside of a component’s render to avoid\n// recreating the `Stripe` object on every render.\n// const stripePromise = loadStripe('pk_test_51K1bRpGEKsOeGTHntvBbIn5a8nmgJdIGJncIv68hAjPweAtFgRMWa9NPDd6CcJdU5eotg16M1iGQrLOagHojKZi600rfXIOK3q');\n\nconst StripeElementProvider: React.FC = ({children}) => {\n // const [clientSecret, setClientSecret] = useState(\"\");\n \n // TODO: Fetch or create a PaymentIntent in order to save the customer's payment info. \n // useEffect(() => {\n // // Create PaymentIntent as soon as the page loads\n // fetch(\"/create-payment-intent\", {\n // method: \"POST\",\n // headers: { \"Content-Type\": \"application/json\" },\n // body: JSON.stringify({ items: [{ id: \"xl-tshirt\" }] }),\n // })\n // .then((res) => res.json())\n // .then((data) => setClientSecret(data.clientSecret));\n // }, []);\n\n // const appearance: Appearance = {\n // theme: \"stripe\"\n // };\n\n // const options: StripeElementsOptions = {\n // // clientSecret,\n // appearance\n // };\n \n return (\n \n \n \n {children}\n \n \n {/* \n {children}\n */}\n {/* { clientSecret && \n \n {children}\n \n } */}\n \n )\n}\n\nexport default StripeElementProvider\n","import { \n Box, \n Grid, \n Paper, \n Table, \n TableBody, \n TableCell, \n TableContainer, \n TableHead, \n TableRow, \n Typography, \n useTheme\n} from \"@material-ui/core\"\nimport { Skeleton } from \"@material-ui/lab\"\nimport React from \"react\";\nimport CardValue from \"../../components/CardValue\";\nimport ControlTower from \"../../components/ControlTower\";\nimport Price from \"../../model/stripe/Price\";\nimport { numberToMoneyFormatOrLoading } from \"../../stores/StoreUtilities\";\nimport { StripeOrderItem } from \"./StripePaymentCart\"\nimport AddButton from \"../../components/AddButton\";\n\nconst StripeOrderItems = ({\n isLoading,\n orderItems,\n onDelete\n}: {\n isLoading: boolean \n orderItems: StripeOrderItem[]\n onDelete(orderItem: StripeOrderItem): void\n}) => {\n const theme = useTheme()\n\n const renderView = (orderItem: StripeOrderItem) => {\n const { data, view } = orderItem\n return (\n \n \n \n \n \n {view}\n \n { data.product && \n \n \n {data.product.name}\n \n \n }\n {/* { data.price && \n \n \n {data.price.unitPrice}\n \n \n } */}\n { (data.product === undefined || data.price === undefined) &&\n \n \n Please press the \"+ Price\" button to select a product/price in order to purchase and be able to publish this Job Post.\n \n \n }\n \n \n \n \n \n { onDelete(orderItem) }}\n />\n \n { (data.product === undefined || data.price === undefined) &&\n \n {\n ControlTower.route(data.editRoute)\n }}\n />\n \n }\n {/* {*/}\n {/* ControlTower.route(data.editRoute)*/}\n {/* }}*/}\n {/*>*/}\n {/* Edit*/}\n {/**/}\n \n \n \n \n )\n }\n\n const renderOrderItems = () => {\n return (\n \n \n \n \n \n Item \n \n \n Unit Price \n \n \n Quantity \n \n \n Total \n \n \n \n \n { orderItems && orderItems.map((orderItem: StripeOrderItem, index: number) => {\n const { data } = orderItem\n const { product, quantity } = data \n let baseUnitPrice\n if (product) {\n const price: Price | undefined = product.getPriceForQuantity(quantity)\n if (price) {\n baseUnitPrice = price.unitPrice\n }\n }\n const unitPrice = data.unitPrice\n return (\n \n \n {renderView(orderItem)}\n \n \n { baseUnitPrice && unitPrice && (baseUnitPrice - unitPrice) > 0 && \n \n {numberToMoneyFormatOrLoading(baseUnitPrice)}\n \n }\n \n {numberToMoneyFormatOrLoading(data.unitPrice)}\n \n \n \n {data.quantity} \n \n \n {numberToMoneyFormatOrLoading(data.amountDue)}\n \n \n )\n })\n }\n \n
    \n
    \n )\n }\n\n return (\n \n \n \n Order Item(s)\n \n { isLoading ? \n \n \n \n \n \n : \n renderOrderItems()\n }\n \n \n \n )\n}\n\nexport default StripeOrderItems\n","import { \n Box, \n Divider, \n Grid, \n Paper, \n Typography \n} from \"@material-ui/core\"\nimport { Skeleton } from \"@material-ui/lab\"\nimport React from \"react\"\nimport { numberToMoneyFormatOrLoading } from \"../../stores/StoreUtilities\"\n\nconst LineItem = ({ \n label, \n value \n}: { \n label: string\n value: string\n}) => {\n return (\n \n \n \n {label}\n \n \n \n \n {value}\n \n \n \n )\n}\n\nconst StripeOrderSummary = ({\n isLoading, \n subtotal,\n couponDiscountAmount,\n amountDue,\n children \n}: {\n isLoading: boolean \n subtotal?: number \n couponDiscountAmount?: number \n amountDue?: number \n children?: React.ReactNode\n}) => {\n\n const renderOrderDetails = () => {\n return (\n \n \n \n \n \n \n \n { children && \n \n { children }\n \n }\n { (amountDue && amountDue > 0) ?\n \n \n \n : \n null \n }\n \n \n \n \n \n \n \n )\n }\n\n return (\n \n \n \n Order Summary\n \n { isLoading ? \n \n \n \n \n \n : \n renderOrderDetails()\n }\n \n \n \n )\n}\n\nexport default StripeOrderSummary\n","/* eslint-disable @typescript-eslint/no-unused-vars */\nimport {\n Box,\n createStyles,\n Grid, \n Paper,\n Theme, \n Typography,\n WithStyles, \n withStyles\n} from \"@material-ui/core\";\nimport ProgressButton from \"../../components/form/ProgressButton\";\nimport {getErrorMessage, numberToMoneyFormat} from \"../../stores/StoreUtilities\";\nimport { \n CardNumberElement,\n CardExpiryElement,\n CardCVCElement,\n injectStripe, \n ReactStripeElements\n} from 'react-stripe-elements'\nimport React from \"react\";\nimport {inject} from \"mobx-react\";\nimport Alert from \"../../components/alert/Alert\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport UserStore from \"../../stores/UserStore\";\nimport {SubjectType} from \"../../API\";\nimport {ActivityType} from \"../../model/UserActivity\";\n\nconst styles = (theme: Theme) => createStyles({\n content: {\n width: '100%'\n },\n subtitle: {\n paddingBottom: 10,\n },\n textField: {\n // color: theme.palette.text.primary,\n width: '100%',\n border: 'none',\n borderBottomWidth: 1,\n borderBottomStyle: \"solid\",\n borderBottomColor: theme.palette.text.secondary,\n fontSize: '18px',\n padding: 5\n // backgroundColor: \"transparent\"\n },\n paymentField: {\n // color: theme.palette.text.primary,\n // fontSize: 16,\n // fontWeight: 400,\n // borderBottom: '1px solid rgba(0,0,0,0.54)',\n borderBottomWidth: 1,\n borderBottomStyle: \"solid\",\n borderBottomColor: theme.palette.text.secondary,\n padding: 5\n },\n fieldLabel: {\n fontSize: 12,\n fontWeight: 400,\n // fontFamily: theme.typography.fontFamily,\n color: theme.palette.text.secondary\n },\n label: {\n color: theme.palette.text.secondary,\n marginTop: theme.spacing(1),\n marginBottom: theme.spacing(1)\n },\n fieldSet: {\n // paddingTop: theme.spacing(1),\n // paddingBottom: theme.spacing(1)\n },\n fieldCheckbox: {\n // paddingTop: theme.spacing(1),\n paddingBottom: theme.spacing(2)\n },\n buttonSet: {\n justifyContent: \"center\",\n width: \"100%\",\n padding: \"20px 0 0 0\",\n marginTop: 5,\n height: 49,\n textAlign: \"center\"\n },\n progressButton: {\n color: theme.palette.primary.main,\n position: 'absolute',\n top: '50%',\n left: '50%',\n marginTop: -12,\n marginLeft: -12,\n },\n dialogActions: {\n justifyContent: \"center\",\n },\n\n})\n\n// const CARD_OPTIONS = {\n// iconStyle: 'solid',\n// style: {\n// base: {\n// iconColor: '#c4f0ff',\n// color: '#fff',\n// fontWeight: 500,\n// fontFamily: 'Roboto, Open Sans, Segoe UI, sans-serif',\n// fontSize: '16px',\n// fontSmoothing: 'antialiased',\n// ':-webkit-autofill': {\n// color: '#fce883',\n// },\n// '::placeholder': {\n// color: '#87BBFD',\n// },\n// },\n// invalid: {\n// iconColor: '#FFC7EE',\n// color: '#FFC7EE',\n// },\n// },\n// };\n\ninterface IPaymentForm {\n stripe?: any \n amountDue?: number\n source?: any\n isLoading: boolean \n confirmSubmit?(): boolean\n onPayment?(token: any): void\n onCancel?(): void\n\n alert?: Alert\n accountStore?: AccountStore\n userStore?: UserStore\n}\n\n@inject(\"alert\", \"accountStore\", \"userStore\")\nclass StripePaymentForm extends React.Component & IPaymentForm & ReactStripeElements.InjectedStripeProps> {\n \n state = {\n name: undefined,\n source: undefined,\n useSource: \"new\",\n isPaying: false\n }\n\n componentDidMount() {\n const {\n amountDue, \n source\n } = this.props \n\n if (amountDue === undefined || amountDue === 0) {\n this.setState({useSource: \"none\"})\n } else if (source) {\n this.setState({source: source, useSource: \"existing\"})\n }\n }\n\n componentDidUpdate(prevProps: any) {\n const { source, amountDue } = this.props\n\n if (amountDue !== prevProps.amountDue) {\n if (amountDue === undefined || amountDue === 0) {\n this.setState({useSource: \"none\"})\n } else if (source) {\n this.setState({source: source, useSource: \"existing\"})\n } else {\n this.setState({useSource: \"new\"})\n }\n }\n }\n\n handleSubmit = async (ev: any) => {\n const { userStore } = this.props\n ev.preventDefault();\n \n this.setState({isPaying: true})\n \n if (this.state.useSource === \"new\") {\n // Within the context of `Elements`, this call to createToken knows which Element to\n // tokenize, since there's only one in this group.\n try {\n this.props.stripe.createToken({name: this.state.name}).then(async (response: any) => {\n // console.log('stripe.createToken response:', response);\n if (response.token) {\n if (this.props.onPayment) {\n await this.props.onPayment(response.token)\n this.setState({isPaying: false})\n }\n } else if (response.error) {\n this.setState({isPaying: false})\n this.props.alert!.show(\"Error\", response.error.message)\n userStore!.logUserActivity(userStore!.user!.id, SubjectType.Invoice, \"NA\", ActivityType.Error,\n `Create token error: ${response.error.message}`)\n }\n });\n } catch (err) {\n userStore!.logUserActivity(userStore!.user!.id, SubjectType.Invoice, \"NA\", ActivityType.Error,\n `Create token error: ${getErrorMessage(err)}`)\n this.setState({isPaying: false})\n }\n } else {\n // Pay with card on file or none due\n if (this.props.onPayment) {\n await this.props.onPayment(null)\n this.setState({isPaying: false})\n }\n }\n };\n\n handleChange = (event: React.ChangeEvent) => {\n const name = event.target.name\n this.setState({\n [name]: event.target.value\n })\n };\n\n onCancel = (event: any) => {\n if (this.props.onCancel) {\n this.props.onCancel()\n }\n }\n\n renderCreditCardForm() {\n const { classes, stripe } = this.props\n\n return (\n \n \n Enter Your Payment Info\n
    \n {/* */}\n {/* */}\n {/* */}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {`Purchase for ${ this.props.amountDue ? numberToMoneyFormat(this.props.amountDue) : '...' }`} \n \n \n \n \n \n \n
    \n
    \n )\n }\n\n renderNoAmountDue() {\n const { stripe } = this.props \n\n return (\n \n \n Complete Checkout\n No payment due. Press \"Finish\" below to complete the process.\n \n {\n // this.setState({isPaying: true})\n // if (this.props.onPayment) {\n // await this.props.onPayment(undefined)\n // }\n // this.setState({isPaying: false})\n // }\n >\n Finish \n \n \n \n \n )\n }\n\n render() {\n const { amountDue } = this.props \n\n if (amountDue === undefined) {\n return null \n }\n return (\n \n { amountDue === 0 ? \n this.renderNoAmountDue()\n :\n this.renderCreditCardForm() \n }\n \n )\n }\n}\n\nexport default withStyles(styles)(injectStripe(StripePaymentForm));\n","/* eslint-disable @typescript-eslint/no-unused-vars */\nimport { \n Button, \n Grid, \n Typography\n} from \"@material-ui/core\"\nimport get from \"lodash.get\"\nimport React, { useEffect, useState } from \"react\"\nimport FormValidator from \"../../components/form/FormValidator\"\nimport TextFieldValidator from \"../../components/form/TextFieldValidator\"\nimport Logger from \"../../components/Logger\"\nimport TwoPanelSectionContainer from \"../../components/page/TwoPanelSectionContainer\"\nimport Money from \"../../model/Money\"\nimport StripeOrderItemData from \"../../model/stripe/StripeOrderItemData\"\nimport { useStores } from \"../../stores/StoreProvider\"\nimport StripeElementProvider from \"./StripeElementProvider\"\nimport StripeOrderItems from \"./StripeOrderItems\"\nimport StripeOrderSummary from \"./StripeOrderSummary\"\nimport StripePaymentForm from \"./StripePaymentForm\"\nimport config from 'react-global-configuration';\nimport parseHTML from \"html-react-parser\";\nimport {SubjectType} from \"../../API\";\nimport {ActivityType} from \"../../model/UserActivity\";\n\nexport interface StripeOrderItem {\n data: StripeOrderItemData\n view: React.ReactNode\n}\n\nconst progressName = 'StripePaymentCart'\n\nconst StripePaymentCart = ({\n isLoading,\n title, \n note, \n orderItems,\n children, \n didCreateInvoice,\n didDeleteItem\n}: {\n isLoading: boolean\n title: string \n note?: string \n orderItems: StripeOrderItem[]\n children: React.ReactNode\n didCreateInvoice(invoiceResult: any): void\n didDeleteItem(orderItem: StripeOrderItem): void\n}) => {\n const [amountDue, setAmountDue] = useState()\n const [subtotal, setSubtotal] = useState()\n\n const [coupon, setCoupon] = useState() \n const [couponCode, setCouponCode] = useState()\n const [couponDiscountAmount, setCouponDiscountAmount] = useState(0)\n\n const { accountStore, notify, progress, userStore } = useStores()\n\n useEffect(() => {\n progress.show(progressName)\n\n const checkIsReadyForPayment = () => {\n let isReady = true \n \n if (orderItems.length === 0) {\n isReady = false \n }\n \n orderItems.forEach(orderItem => {\n const { data } = orderItem\n if (data.unitPrice === undefined) {\n isReady = false \n }\n })\n\n return isReady\n }\n\n const loadSummary = () => {\n const isReady = checkIsReadyForPayment()\n if (!isReady) {\n return \n }\n\n let runningTotal: Money = Money.of(0, 'USD')\n \n orderItems.forEach(orderItem => {\n const { data } = orderItem\n const { quantity, unitPrice } = data \n\n // Calculate the amount due for the unit. \n const unitPriceMoney = Money.of(unitPrice!, 'USD') \n const amountDue = unitPriceMoney.multiply(quantity)\n\n runningTotal = runningTotal.add(amountDue)\n data.amountDue = amountDue.toNumber()\n })\n\n setSubtotal(runningTotal.toNumber())\n \n if (coupon) {\n const amountOff = get(coupon, 'amount_off')\n const percentOff = get(coupon, 'percent_off')\n if (amountOff) {\n let discount = Money.of(amountOff, 'USD')\n discount = discount.divide(100)\n if (discount.greaterThanOrEqual(runningTotal)) {\n runningTotal = Money.of(0, 'USD')\n setCouponDiscountAmount(runningTotal.toNumber())\n } else {\n runningTotal = runningTotal.subtract(discount)\n setCouponDiscountAmount(discount.toNumber())\n }\n } else if (percentOff) {\n let discountPercentage = percentOff / 100.0 \n const discount = runningTotal.multiply(discountPercentage)\n setCouponDiscountAmount(discount.toNumber())\n runningTotal = runningTotal.subtract(discount)\n }\n }\n\n setAmountDue(runningTotal.toNumber())\n }\n\n const init = async () => {\n if (accountStore.isLoading === false && userStore.isLoading === false) {\n try {\n await loadSummary()\n } catch (error) {\n Logger.error('error', JSON.stringify(error))\n }\n progress.hide(progressName)\n }\n }\n\n init() \n },[\n accountStore,\n accountStore.isLoading,\n coupon,\n orderItems, \n progress,\n userStore,\n userStore.isLoading\n ])\n\n const onSubmitCouponCode = async () => {\n if (couponCode) {\n const coupon = await accountStore.getCoupon(couponCode)\n .catch((err: any) => {\n notify!.show(\"error\", \"Error getting coupon\")\n })\n \n if (coupon) {\n if (coupon.max_redemptions && coupon.times_redeemed >= coupon.max_redemptions) {\n // notify!.show(\"error\", \"This coupon is used up and cannot be applied\")\n notify!.show(\"error\", \"Invalid Coupon: Coupon has previously been redeemed.\")\n setCouponCode(undefined)\n } else if (coupon.redeem_by) {\n const now = new Date()\n if (now.getTime() / 1000 > coupon.redeem_by) {\n // notify!.show(\"error\", \"This coupon has expired and cannot be applied\")\n notify!.show(\"error\", \"Invalid Coupon: Coupon has expired.\")\n setCouponCode(undefined)\n } else {\n setCoupon(coupon)\n notify!.show(\"success\", `${coupon.name} coupon applied!`)\n }\n } else {\n setCoupon(coupon)\n notify!.show(\"success\", `${coupon.name} coupon applied!`)\n }\n } else {\n notify!.show(\"warning\", \"This coupon code is not available\")\n }\n }\n }\n\n const onChangeCouponCode = (event: any) => {\n const value = event.target.value\n setCouponCode(value)\n }\n\n const onPayment = async (token: any) => {\n const tokenId = token ? token.id : null\n const user = userStore.user!\n const orderItemData = orderItems.map(orderItem => orderItem.data)\n\n notify!.close()\n\n if (amountDue !== undefined) {\n let invoiceResult = await accountStore!.createInvoice(user, couponCode, orderItemData, tokenId)\n .catch((err: Error) => {\n notify!.show(\"error\", err.message)\n userStore!.logUserActivity(userStore!.user!.id, SubjectType.Invoice, \"NA\", ActivityType.Error,\n `Create invoice error: ${err.message}`)\n })\n\n if (invoiceResult) {\n didCreateInvoice(invoiceResult)\n userStore!.logUserActivity(userStore!.user!.id, SubjectType.Invoice, invoiceResult?.id, ActivityType.InvoiceCreated,\n `Job Post invoice created.`)\n }\n } \n }\n \n const renderOrderItemsPanel = () => {\n return (\n \n )\n }\n\n const renderPaymentForm = () => {\n return (\n \n )\n }\n\n const renderCouponForm = () => {\n const couponPromo = config.get(\"couponPromo\")\n\n return (\n \n {couponPromo &&\n {parseHTML(couponPromo)}\n }\n \n \n \n \n \n \n Apply \n \n \n \n
    \n )\n }\n\n const renderOrderSummaryPanel = () => {\n return (\n \n \n \n { (amountDue && amountDue > 0) ? renderCouponForm() : null }\n \n \n \n { renderPaymentForm() }\n \n \n )\n }\n\n return (\n \n \n { children }\n { renderOrderItemsPanel() }\n \n \n )\n}\n\nexport default StripePaymentCart\n","import { \n Box, \n Grid, \n Typography \n} from \"@material-ui/core\"\nimport get from \"lodash.get\"\nimport { useEffect, useState } from \"react\"\nimport Page from \"../../components/page/Page\"\nimport TwoPanelSectionContainer from \"../../components/page/TwoPanelSectionContainer\"\nimport JobPost from \"../../model/JobPost\"\nimport Price from \"../../model/stripe/Price\"\nimport Product from \"../../model/stripe/Product\"\nimport { useStores } from \"../../stores/StoreProvider\"\nimport StripePaymentCart, { StripeOrderItem } from \"./StripePaymentCart\"\nimport * as APITypes from '../../API'\nimport { RouteComponentProps, useLocation } from \"@reach/router\"\nimport React from \"react\"\nimport PageTitle from \"../../components/page/PageTitle\"\nimport ControlTower, { Routes } from \"../../components/ControlTower\"\nimport Logger from \"../../components/Logger\"\nimport {durationBetweenISODates, getISODateToday, humanizeString} from \"../../stores/StoreUtilities\"\nimport LocationOnIcon from '@material-ui/icons/LocationOn';\nimport ActionButton from \"../../components/controls/ActionButton\"\nimport AddButton from \"../../components/AddButton\"\nimport CardValue from \"../../components/CardValue\"\nimport StripeOrderItemData from \"../../model/stripe/StripeOrderItemData\"\nimport FilterBar from \"../../components/filter/FilterBar\"\nimport AccountFilter from \"../../components/filter/AccountFilter\"\nimport ContractFilter from \"../../components/filter/ContractFilter\"\nimport Account from \"../../model/Account\"\nimport Contract from \"../../model/Contract\"\nimport {JobPostStatus} from \"../../API\";\nimport { ServiceRequestStatus } from \"../../model/ServiceRequest\"\nimport { when } from \"mobx\"\nimport { observer } from \"mobx-react\"\n\nconst progressName = 'JobPostPaymentCart'\n\nconst title = \"Job Post(s) Cart\"\n\nconst JobPostPaymentCartPage: React.FC = observer(() => {\n const [isLoading, setIsLoading] = useState(true)\n \n const [accountFilter, setAccountFilter] = useState()\n const [accountId, setAccountId] = useState()\n const [accounts, setAccounts] = useState()\n const [contractFilter, setContractFilter] = useState()\n const [contracts, setContracts] = useState()\n\n const [jobPosts, setJobPosts] = useState([]) // List of all Cart job posts. \n const [products, setProducts] = useState([]) \n \n const [isPaid, setIsPaid] = useState(false)\n\n const { accountStore, progress, userStore, jobStore } = useStores()\n const location = useLocation()\n\n useEffect(() => {\n progress.show(progressName)\n\n const loadAccounts = async (): Promise => {\n if (userStore.user!.isAdminOrAgent) {\n const accounts: Account[] = await accountStore.listAccounts()\n const sorted = accounts.sort((a: Account, b: Account) => a.name.localeCompare(b.name))\n return sorted \n } else {\n return []\n }\n }\n\n const loadContracts = async (accountId: string) => {\n const contracts = await jobStore.listContractsByAccount(accountId)\n \n const sorted = contracts\n .sort((a: Contract, b: Contract) => {\n if (accounts) {\n // Order the contracts by alphabetical account name.\n const accountA = accounts.find(account => account.id === a.accountId)\n const accountB = accounts.find(account => account.id === b.accountId)\n return accountA!.name.localeCompare(accountB!.name)\n } else {\n return a.accountId.localeCompare(b.accountId)\n }\n })\n \n return sorted \n }\n\n const loadAccountId = (): string => {\n let accountId \n\n if (userStore.isAdminOrAgent) {\n const searchParams = new URLSearchParams(location.search)\n const searchAccountId = searchParams.get(\"accountId\")\n if (accountFilter) {\n accountId = accountFilter.id \n } else if (searchAccountId) {\n accountId = searchAccountId\n } else {\n accountId = userStore.user!.accountId \n }\n } else {\n accountId = userStore.user!.accountId\n }\n\n return accountId \n }\n\n const loadProducts = async (): Promise => {\n const products: Product[] = await accountStore.listProductsByProductLineAndProductType('GovGigJobs', 'JobPost')\n return products \n }\n\n const loadJobPosts = async (accountId: string): Promise => {\n let jobPosts: JobPost[]\n \n const status = JobPostStatus.Cart\n\n let filter: APITypes.ModelJobPostFilterInput\n \n if (contractFilter) {\n filter = {\n and: [\n {\n status: {\n eq: status\n }\n },\n {\n contractId: {\n eq: contractFilter.id \n }\n }\n ]\n }\n } else {\n filter = {\n and: [\n {\n status: {\n eq: status\n }\n }\n ]\n }\n }\n\n\n jobPosts = await jobStore.listJobPostsByAccount(accountId, filter)\n\n return jobPosts\n }\n\n const init = async () => {\n try {\n if (!userStore!.isEmployer && !userStore!.isAdminOrAgent) {\n return\n }\n Logger.info(\"Loading account\")\n const accountId = await loadAccountId()\n setAccountId(accountId)\n\n if (userStore.isAdminOrAgent) {\n if (!accounts) {\n const accounts = await loadAccounts()\n setAccounts(accounts)\n }\n const account = accounts && accounts.find(account => account.id === accountId)\n setAccountFilter(account)\n\n const contracts = await loadContracts(accountId)\n setContracts(contracts)\n }\n\n if (products.length === 0) {\n const products = await loadProducts()\n setProducts(products)\n }\n\n const jobPosts = await loadJobPosts(accountId)\n setJobPosts(jobPosts)\n\n setIsLoading(false)\n } catch (error) {\n Logger.error('error', JSON.stringify(error))\n }\n progress.hide(progressName)\n }\n\n when(\n () => accountStore.isLoading === false && jobStore.isLoading === false && userStore.isLoading === false,\n () => {\n init() \n }\n )\n }, [\n accounts,\n accountFilter,\n accountStore, \n contractFilter,\n isPaid, \n jobStore,\n location.search,\n products,\n progress, \n userStore\n ])\n\n const updateJobPostToPaid = async (jobPost: JobPost, invoiceResult: any, serviceRequestId: string): Promise => {\n const status = JobPostStatus.Draft\n\n const input: APITypes.UpdateJobPostInput = {\n id: jobPost.id, \n status, // Move to Draft status (user still needs to publish when ready)\n invoiceId: invoiceResult.id, // Record the Stripe invoice id \n serviceRequestId\n }\n\n const updatedJobPost = await jobStore.updateJobPost(input)\n\n return updatedJobPost!\n }\n\n const handleDeleteItem = async (orderItem: StripeOrderItem) => {\n const index = jobPosts.findIndex((jobPost: JobPost) => jobPost.id === orderItem.data.id)\n if (index >= 0) {\n const jobPost = jobPosts[index]\n await jobStore.deleteJobPost(jobPost.id, userStore)\n jobPosts.splice(index, 1)\n setJobPosts([...jobPosts])\n }\n }\n\n const handleInvoice = async (invoiceResult: any) => {\n\n const date = getISODateToday()\n\n const createServiceRequestInput: APITypes.CreateServiceRequestInput = {\n accountId: accountId!, \n serviceRequestType: APITypes.ServiceRequestType.SelfService,\n name: `Self-service Job Post(s) ${date}`,\n status: ServiceRequestStatus.Submitted\n }\n\n const createdServiceRequest = await jobStore.createServiceRequest(createServiceRequestInput)\n\n const promises = jobPosts.map(jobPost => {\n return updateJobPostToPaid(jobPost, invoiceResult, createdServiceRequest!.id)\n })\n\n const updatedJobPosts = await Promise.all(promises)\n setJobPosts(updatedJobPosts)\n\n setIsPaid(true)\n }\n\n const renderJobPost = (jobPost: JobPost) => {\n return (\n \n \n \n \n {jobPost.title}\n \n \n \n \n \n \n \n \n \n \n \n {jobPost.location!.name}\n \n \n \n \n \n \n {durationBetweenISODates(jobPost.startDate, jobPost.endDate)}\n \n \n \n \n {humanizeString(jobPost.employmentType)} Hire\n \n \n \n \n )\n }\n\n const productForJobPostType = (jobPostType: string): Product | undefined => {\n let product \n products.forEach(checkProduct => {\n const checkJobPostType = get(checkProduct.metadata, 'jobPostType')\n if (checkJobPostType === jobPostType) {\n product = checkProduct\n }\n })\n return product \n }\n\n const priceForJobPost = (product: Product, jobPost: JobPost): Price | undefined => {\n let price \n\n // Note that if there's no jobPostType, then we don't know the price yet. \n // It's possible the user did not select a product for this JobPost before. \n // So we'll need to direct them to select a product for this JobPost. \n const jobPostType = jobPost.jobPostType\n\n // Note that this filter should be very quick for now. \n // But if the user is adding a ton of job posts at once, \n // we'll want a different method of figuring out how many are self-service. \n const selfServiceJobPosts = jobPosts.filter(checkJobPost => checkJobPost.jobPostType === 'SelfService')\n\n if (jobPostType === 'SelfService') {\n // The price may be different for 1, 2, 5, 10 units, etc. \n price = product.getPriceForQuantity(selfServiceJobPosts.length)\n } else if (jobPostType === 'RecruitingServices') {\n price = product.getPriceForQuantity(1)\n }\n \n return price \n }\n\n const renderOrderItems = (): StripeOrderItem[] => {\n const orderItems: StripeOrderItem[] = []\n\n jobPosts.forEach((jobPost) => {\n const jobPostType = jobPost.jobPostType\n\n const product = productForJobPostType(jobPostType)\n let price: Price | undefined\n if (product) {\n price = priceForJobPost(product, jobPost)\n }\n\n const name = jobPost.title\n let description = name \n if (product) {\n description += `, ${product?.name}`\n }\n\n let editRoute = `${Routes.jobPostCreate}/${jobPost.id}`\n\n if (!jobPost.jobPostType) {\n editRoute += '?step=priceSelect'\n }\n\n const orderItemData: StripeOrderItemData = {\n id: jobPost.id,\n name,\n description,\n editRoute,\n quantity: 1,\n unitPrice: price?.unitPrice, \n amountDue: price?.unitPrice,\n product, \n price\n }\n\n const orderItem: StripeOrderItem = {\n data: orderItemData,\n view: renderJobPost(jobPost)\n }\n\n orderItems.push(orderItem)\n })\n\n return orderItems\n }\n\n const renderEmptyCart = () => {\n return (\n \n \n \n {/* \n Head over to Manage Jobs to publish and track your Job Posts.\n */}\n \n \n \n {\n ControlTower.route(Routes.manageJobs)\n }}\n />\n \n \n {\n ControlTower.route(Routes.jobPostCreate)\n }}\n />\n \n \n \n \n \n \n )\n }\n\n const renderCart = () => {\n return (\n \n \n \n \n {\n ControlTower.route(Routes.jobPostCreate)\n }}\n icon=\"add\"\n />\n \n \n \n \n )\n }\n\n const renderSuccess = () => {\n return (\n \n \n \n \n Head over to Manage Jobs to publish and track your Job Posts.\n \n \n \n \n {\n ControlTower.route(Routes.manageJobs)\n }}\n />\n \n \n \n \n \n \n )\n }\n\n const renderFilterArea = () => {\n if (!userStore.user?.isAdminOrAgent) {\n return null \n }\n return (\n \n \n {\n setAccountFilter(account)\n }}\n /> \n {\n setContractFilter(contract) \n }}\n />\n \n \n )\n }\n\n return (\n \n \n \n { renderFilterArea() }\n { isLoading === false && isPaid === false && jobPosts.length === 0 && \n renderEmptyCart() \n }\n { isLoading === false && isPaid === false && jobPosts.length > 0 && \n renderCart()\n }\n { isLoading === false && isPaid === true && \n renderSuccess()\n }\n \n \n )\n})\n\nexport default JobPostPaymentCartPage\n","import * as React from 'react'\nimport {createStyles, Theme, withStyles, WithStyles} from \"@material-ui/core/styles\";\nimport Logo from \"../../images/header_logo.png\"\nimport {Box} from \"@material-ui/core\";\nimport CheckBoxIcon from \"@material-ui/icons/CheckBox\";\n\nconst styles = (theme: Theme) => createStyles({\n background: {\n backgroundColor: theme.palette.background.paper,\n padding: theme.spacing(1)\n },\n link: {\n textDecoration: 'none',\n color: theme.palette.action.active\n },\n})\n\ninterface IConfidentialityAgreement20230814Props {\n accountName: string\n acceptedBy?: string\n acceptedOn?: string\n}\n\nclass ConfidentialityAgreement20230814 extends React.Component & IConfidentialityAgreement20230814Props> {\n\n render() {\n const {accountName, acceptedBy, acceptedOn, classes} = this.props\n\n return (\n \n \n \"logo\"/\n \n\n

    CONFIDENTIALITY AND NON-DISCLOSURE AGREEMENT

    \n\n

    \n CAREFULLY READ THIS SCROLLWRAP AGREEMENT. BY CLICKING ON THE “I ACCEPT” CHECKBOX, YOU ARE CONSENTING TO BIND CLIENT AS A PARTY TO ALL TERMS OF THIS AGREEMENT. FURTHER, YOU REPRESENT BEING DULY AUTHORIZED TO BIND CLIENT TO THE AGREEMENT AND TO ACCEPT THE AGREEMENT ON CLIENT’S BEHALF.\n

    \n\n

    Updated: August 14, 2023

    \n\n

    This Confidentiality and Non-Disclosure Agreement (“NDA”) is made and entered into by and between {`${accountName}`}, together with Your affiliates and subsidiaries (hereinafter “You,” “Your,” or “Client”) and Watermark Solutions, LLC dba GovGig, a Washington limited liability company, having its principal place of business at 19255 Powder Hill Pl NE, Suite 102, Poulsbo, WA 98370 (hereinafter “GovGig” or “Receiving Party”) (each a “Party,” and collectively, the “Parties”).

    \n\n

    WHEREAS, in the course of or in furtherance of a business relationship where GovGig will, at Client’s request, provide a GovGig employee or subcontractor (“Contract Employee”) to perform work for Client under the guidance and direction of Client at Client’s designated facility and it may be necessary for one Party (the “Disclosing Party”) to release Confidential Information (as defined below) to the other Party (the “Receiving Party”); and

    \n\n

    WHEREAS, the Disclosing Party and the Receiving Party wish to define the agreed upon terms and conditions governing the confidentiality of certain confidential and proprietary information, data, concepts, and ideas to be furnished by the Disclosing Party to the Receiving Party in connection with the contemplation of a business relationship (referred to hereafter generally as the “Business Relationship”); and

    \n\n

    NOW, THEREFORE, in consideration of the mutual promises contained herein, the Parties agree to the following:

    \n\n
      \n
    1. Disclosure and Obligations. Nothing contained in this NDA shall be construed as obligating the Disclosing Party to disclose any particular information to the Receiving Party. Neither the Receiving Party nor any affiliate thereof is obligated to participate in or even consider the Business Relationship.
    2. \n\n
    3. Confidential Information.
    4. \n
        \n
      1. Confidential Information. The term “Confidential Information” shall include all material, information, data, correspondence, narratives, processes, trade secrets, drawings, designs, blueprints, written specifications, intellectual property, results of research, financial information, and other business and technical information in oral, visual, written, electronic, or other tangible or intangible form which the Disclosing Party discloses to Receiving Party in connection with their discussions and/or communications, whether or not marked or designated as “Confidential” when it is delivered to Receiving Party, including any information learned by Receiving Party during any visit to the Disclosing Party’s facilities. The Receiving Party agrees to maintain the confidentiality of the Confidential Information and agrees to use the Confidential Information solely in connection with the Business Relationship.
      2. \n
      3. Receiving Party. The term “Receiving Party” shall include GovGig and its directors, officers, employees, contractors, agents, or representatives.
      4. \n
      5. Disclosure. From time to time, the Disclosing Party may disclose Confidential Information to the Receiving Party. The Receiving Party will: (a) limit disclosure of any Confidential Information to its directors, officers, employees, contractors, agents, or representatives (“Representatives”) who have a need to know such Confidential Information in connection with the current or contemplated business relationship between the Parties to which this NDA relates, and only for that purpose; (b) advise its Representatives of the proprietary nature of the Confidential Information and of the obligations set forth in this NDA, require such Representatives to be bound by written confidentiality restrictions no less stringent than those contained herein, and assume full liability for acts or omissions by its Representatives that are inconsistent with its obligations under this NDA; (c) keep all Confidential Information strictly confidential by using a reasonable degree of care, but not less than the degree of care used by it in safeguarding its own confidential information; and (d) not disclose any Confidential Information received by it to any third parties (except as otherwise provided for herein). The Receiving Party shall not disclose Confidential Information to any third Person, provided that the foregoing does not prevent or restrict disclosure (i) on a “need to know” basis, of information to the Receiving Party’s attorney provided that the Receiving Party undertakes to keep the information confidential, and if requested by the Disclosing Party, provides the Disclosing Party with a written agreement or undertaking to that effect in a form acceptable to the Disclosing Party, acting reasonably, (ii) of information that is, or becomes, in the public domain through no fault of Receiving Party, (iii) that is required to be disclosed by Law that is binding upon the Receiving Party, or (iv) to which the Disclosing Party gives its prior written consent.
      6. \n
      \n\n
    5. Return of Information. Confidential Information is hereby acknowledged by the Receiving Party to be the sole property of the Disclosing Party and shall be returned to the Disclosing Party within ten (10) calendar days after receipt by the Receiving Party of a written request from the Disclosing Party.
    6. \n\n
    7. Term. This NDA shall become effective upon acceptance and shall remain in effect until terminated in writing by either Party. Notwithstanding any such termination, the rights and obligations with respect to the disclosure of Confidential Information set forth herein shall survive the termination of this NDA.
    8. \n\n
    9. Publicity. Neither Party shall, without the written consent of the other, publish or disclose to any third Person its engagement under this NDA or its involvement with the Business Relationship for promotional or other purposes except as may be required under applicable State or Federal law. The Receiving Party shall cause its attorney, representatives, and agents to comply with this subsection.
    10. \n\n
    11. General
    12. \n
        \n
      1. Assignment. This NDA shall not be assigned by either Party without the written consent of the other except in connection with the transfer of all, or substantially all, of the assets or business of such Party. Subject to the foregoing, this NDA shall inure to the benefit of and be binding upon the successors and permitted assigns of the Parties.
      2. \n
      3. Governing Law and Venue. The laws of the State of Washington shall govern this NDA without regard to its conflicts of laws principles. The venue of any action brought to enjoin any violation of this NDA will be Kitsap County Superior Court or the United States District Court for the Western District of Washington, at the Disclosing Party’s sole discretion. By signing this NDA both Parties consent to the personal jurisdiction of such courts.
      4. \n
      5. Waiver, Alteration, Cancellation, or Breach. No term or provision of this NDA shall be deemed waived, altered, or cancelled, and no breach excused, unless such waiver or consent shall be in writing and accepted by the Party claimed to have waived or consented. Any consent by any Party to, or waiver of, a breach by the other, whether express or implied, shall not constitute a consent to waiver of, or be cause for, any other different or subsequent breach.
      6. \n
      7. Invalid or Unenforceable Provisions. If any portion of this NDA is held to be invalid or unenforceable by a court or arbitrator of competent jurisdiction, the remaining provisions of this NDA shall remain in full force and effect without the invalid or unenforceable provision(s).
      8. \n
      9. Notices. All notices must be in writing and addressed to the relevant Party at its address set forth in the preamble (or to such other address such Party specifies). Such notices shall be given (i) by delivery in person (ii) by a nationally recognized next day courier service, (iii) by first class, registered or certified mail, postage prepaid, (iv) by facsimile, or (v) by electronic mail to the address of the party specified in this NDA or such other address as either Party may specify in writing. Notices so given shall be effective upon (i) receipt by the Party to which notice is given, or (ii) on the fifth (5th) day following mailing, whichever occurs first.
      10. \n
      \n\n
    13. Limitation on Damages. The Parties acknowledge that the rights being protected by the terms of this NDA are of a special, unique, unusual, and extraordinary character, which gives them a particular value, and that the breach of any provision of this NDA shall cause irreparable injury and damage to the nonbreaching Party. In that event, the nonbreaching Party shall be entitled to require specific performance of all of the acts and the undertakings required of the breaching Party under this NDA, and to obtain injunctive and other equitable relief in any court of competent jurisdiction to prevent the violation or threatened violation of any of the provisions of this NDA. Neither this provision nor any exercise by the nonbreaching Party of its right to equitable relief or specific performance constitutes a waiver by the nonbreaching Party of any other right, which it may have to damages or other relief, including without limitation, injunctive relief, reasonable attorneys’ fees, and court costs.
    14. \n\n
    15. Entire Agreement. This NDA supersedes all prior oral or written NDAs entered into by and between the Parties hereto which were in existence on or before the date that this NDA was entered into. No Party has made any representations, warranties, covenants, or promises relating to the subject matter of this NDA except as set forth herein, and any prior NDAs or understandings relating to such subject matter and not specifically set forth herein shall be of no force or effect. This NDA constitutes the concurrence of the Parties relative to the subject matter hereof.
    16. \n\n
    17. Acceptance.GovGig and Client desire to conduct business electronically. As such, this Agreement is executed using scrollwrap procedures. BY CLICKING ON THE “I ACCEPT” BUTTON, YOU ARE CONSENTING TO BIND CLIENT AS A PARTY TO ALL TERMS OF THIS AGREEMENT. FURTHER, YOU REPRESENT BEING DULY AUTHORIZED TO BIND CLIENT TO THE AGREEMENT AND TO ACCEPT THE AGREEMENT ON CLIENT’S BEHALF.
    18. \n
    \n\n {acceptedBy && acceptedOn &&\n \n  

    I, {acceptedBy} accept this agreement on {acceptedOn}

    \n
    \n }\n\n
    \n )\n }\n}\n\nexport default withStyles(styles)(ConfidentialityAgreement20230814)\n","import * as React from 'react'\nimport {createStyles, Theme, withStyles, WithStyles} from \"@material-ui/core/styles\";\nimport AccountStore from \"../../stores/AccountStore\";\nimport UserStore from \"../../stores/UserStore\";\nimport {inject, observer} from \"mobx-react\";\nimport {makeObservable, observable} from \"mobx\";\nimport Agreement from \"../../model/Agreement\";\nimport Account from \"../../model/Account\";\nimport User from \"../../model/User\";\nimport {AgreementType, ModelAgreementFilterInput} from \"../../API\";\nimport {getISODateToday, isoToLocalDate} from \"../../stores/StoreUtilities\";\nimport {format} from \"date-fns\";\nimport ConfidentialityAgreement20230814 from \"./ConfidentialityAgreement20230814\";\n\nconst styles = (theme: Theme) => createStyles({\n})\n\ninterface IConfidentialityAgreementProps {\n accountId?: string\n accountStore?: AccountStore\n userStore?: UserStore\n}\n\n@inject(\"userStore\", \"accountStore\")\n@observer\nclass ConfidentialityAgreement extends React.Component & IConfidentialityAgreementProps> {\n\n @observable agreement?: Agreement\n @observable account?: Account\n @observable user?: User\n\n constructor(props: any) {\n super(props)\n makeObservable(this);\n }\n\n async componentDidMount() {\n const {accountStore, userStore} = this.props\n\n let accountId = this.props.accountId\n if (!accountId && accountStore!.account) {\n accountId = accountStore!.account.id\n }\n\n if (accountId && accountStore) {\n const filter: ModelAgreementFilterInput = {\n agreementTypes: {contains: AgreementType.ConfidentialityAndNonDisclosure}\n }\n const agreements = await accountStore.listAgreementsByAccount(accountId, filter)\n if (agreements.length > 0) {\n this.agreement = agreements[0]\n }\n if (this.agreement) {\n this.account = await accountStore.getAccount(this.agreement.accountId)\n this.user = await userStore!.getUser(this.agreement.userId)\n }\n }\n }\n\n componentDidUpdate(prevProps: any) {\n if (this.props.accountId !== prevProps.accountId) {\n this.componentDidMount()\n }\n }\n\n render() {\n const accountName = this.account ? this.account.name : \"You\"\n const updatedOn = this.agreement ? this.agreement.updatedAt.substring(0, 10) : getISODateToday()\n const acceptedBy = this.user ? this.user.fullName : undefined\n const acceptedOn = this.agreement ? format(isoToLocalDate(this.agreement.updatedAt), \"MMMM d, yyyy\") : undefined\n\n if (updatedOn >= \"2023-08-14\") {\n return \n } else {\n return null\n }\n }\n}\n\nexport default withStyles(styles)(ConfidentialityAgreement)\n","import * as React from 'react'\nimport {createStyles, Theme, withStyles, WithStyles, withTheme, WithTheme} from \"@material-ui/core/styles\";\nimport {RouteComponentProps} from \"@reach/router\";\nimport Page from \"../../components/page/Page\";\nimport MarginRow from \"../../components/page/MarginRow\";\nimport ConfidentialityAgreement from \"./ConfidentialityAgreement\";\nimport {observer} from \"mobx-react\";\nimport {makeObservable, observable} from \"mobx\";\n\nconst styles = (theme: Theme) => createStyles({\n\n})\n\ninterface IConfidentialityAgreementPageProps {\n location?: any\n\n}\n\n@observer\nclass ConfidentialityAgreementPage extends React.Component & RouteComponentProps & WithTheme & IConfidentialityAgreementPageProps> {\n @observable accountId?: string\n\n constructor(props: any) {\n super(props)\n makeObservable(this);\n }\n\n componentDidMount() {\n const { location } = this.props\n window.addEventListener('scroll', this.handleScroll)\n\n if (location) {\n const searchParams = new URLSearchParams(location.search)\n this.accountId = searchParams.get(\"accountId\") ?? undefined\n }\n }\n componentWillUnmount() {\n window.removeEventListener('scroll', this.handleScroll)\n }\n\n handleScroll = (event: any) => {\n const bottom = Math.ceil(window.innerHeight + window.scrollY) >= document.documentElement.scrollHeight\n\n if (bottom) {\n if (window.location !== window.parent.location) {\n // In iframe\n window.parent.postMessage(\"at-bottom\", '*');\n }\n }\n }\n\n render() {\n return (\n \n \n \n \n \n )\n }\n}\n\nexport default withTheme((withStyles(styles)(ConfidentialityAgreementPage)))\n\n","import { Box, Button, IconButton, Paper, Theme, Typography, createStyles, makeStyles, useTheme } from \"@material-ui/core\"\nimport Stack from \"../Stack\"\nimport ArrowForwardIos from \"@material-ui/icons/ArrowForwardIos\"\n\nconst useStyles = makeStyles((theme: Theme) => createStyles({\n root: {\n width: \"100%\",\n // maxWidth: \"100vw\"\n }\n}))\n\nconst DashboardPanel = ({\n title, \n showNavButton,\n handleNavButton, \n elevation, \n backgroundColor, \n children \n}: {\n title: string \n showNavButton?: boolean \n handleNavButton?: () => void \n elevation?: number \n backgroundColor?: string \n children: React.ReactNode\n}) => {\n const theme = useTheme()\n const classes = useStyles() \n return (\n \n \n \n \n \n \n {title}\n \n \n { showNavButton && \n \n }\n >\n See All \n \n \n }\n \n \n {children}\n \n \n \n \n )\n}\n\nexport default DashboardPanel\n","export default __webpack_public_path__ + \"static/media/FindTalentMap.2781ac17.png\";","import { Box, Button, Card, CardActionArea, CardActions, CardContent, CardMedia, Divider, Grid, Theme, Typography, createStyles, makeStyles, useMediaQuery, useTheme } from \"@material-ui/core\"\nimport Stack from \"../../components/Stack\"\nimport DashboardPanel from \"../../components/panel/DashboardPanel\"\nimport { Note, People } from \"@material-ui/icons\"\nimport { blueGrey } from \"@material-ui/core/colors\"\nimport ControlTower, {Routes} from \"../../components/ControlTower\"\nimport FindTalentMapImage from \"../../images/FindTalentMap.png\"\n\ninterface ServiceOption {\n title: string \n description: string \n actionButtonTitle: string \n icon: React.ReactNode\n color: string,\n route: Routes\n}\n\ninterface ServiceSection {\n title: string\n options: ServiceOption[] \n}\n\nconst useStyles = makeStyles((theme: Theme) => createStyles({\n card: {\n height: \"100%\"\n },\n thumbnail: {\n width: \"100%\",\n height: 125\n },\n description: {\n // minHeight: 75 \n }\n}))\n\nconst AvailableServices = () => {\n const theme = useTheme() \n const classes = useStyles()\n const isMedium = useMediaQuery(theme.breakpoints.down('md'))\n \n const selfServiceOptions: ServiceOption[] = [\n {\n title: \"Self-service Job Posts\",\n description: \"Post jobs to the GovGig job board and find candidates.\",\n actionButtonTitle: \"Post Jobs\",\n icon: ,\n color: \"hsl(238, 37%, 26%)\",\n route: Routes.jobPostCreate\n }\n ]\n \n const agentServiceOptions: ServiceOption[] = [\n {\n title: \"Recruiting or Staffing Services Request\",\n description: \"GovGig posts your open roles on your behalf and finds you candidates quickly.\",\n actionButtonTitle: \"Create Request\",\n icon: ,\n color: \"hsl(222, 33%, 27%)\",\n route: Routes.serviceRequestCreate\n }\n ]\n\n const sections: ServiceSection[] = [\n {\n title: \"Self-service\",\n options: [...selfServiceOptions]\n },\n {\n title: \"Agent Services\",\n options: [...agentServiceOptions]\n }\n ]\n\n const renderOptions = (options: ServiceOption[]) => {\n return options.map(option => {\n return (\n \n \n \n \n \n \n {option.icon}\n \n \n {option.title}\n \n \n \n \n \n \n \n {option.description}\n \n \n \n \n \n {\n ControlTower.route(option.route)\n }}\n >\n {option.actionButtonTitle}\n \n \n \n \n \n \n )\n })\n } \n\n // const renderOptionsSection = (section: ServiceSection) => {\n // const {\n // title, \n // options \n // } = section \n // return (\n // \n // {/* {title} */}\n // { renderOptions(options) }\n // \n // )\n // }\n\n const renderFindTalentCard = () => {\n return (\n \n \n \n \n {/* Find Talent */}\n \n Search our growing talent map of over 8,000 pre-vetted, pre-qualified personnel.\n \n \n \n \n {\n ControlTower.route(Routes.findTalent)\n }}\n >\n Find Talent \n \n \n \n \n \n )\n }\n\n return (\n \n \n { sections.map(section => {\n return renderOptions(section.options)\n }) }\n { renderFindTalentCard() }\n \n \n )\n}\n\nexport default AvailableServices \n","import { Box, Chip, Theme, createStyles, makeStyles } from \"@material-ui/core\"\nimport * as APITypes from \"../../API\"\nimport classNames from \"classnames\"\n\nconst useStyles = makeStyles((theme: Theme) => createStyles({\n chips: {\n color: '#fff',\n fontWeight: 500,\n fontSize: 12, \n // backgroundColor: '#2F733A' // Green?\n // backgroundColor: theme.palette.primary[200]\n },\n color1: {\n // background: 'linear-gradient(to right, hsla(215, 35%, 37%, 1.0) 0%, hsla(215, 50%, 37%, 0.80) 100%)'\n background: 'linear-gradient(to right, hsl(218, 33%, 27%) 0%, hsl(218, 33%, 47%) 100%)'\n },\n color2: {\n background: 'linear-gradient(to right, hsl(187, 35%, 37%) 0%, hsl(187, 35%, 57%) 100%)'\n },\n color3: {\n background: 'linear-gradient(to right, hsl(238, 37%, 37%) 0%, hsl(238, 37%, 57%) 100%)'\n }\n}))\n\nconst ServiceRequestTypeChip = ({\n serviceRequestType\n}: {\n serviceRequestType: APITypes.ServiceRequestType\n}) => {\n const classes = useStyles() \n if (serviceRequestType === APITypes.ServiceRequestType.RecruitingServices) {\n const combinedClassNames = classNames(classes.chips, classes.color1)\n return (\n \n \n \n )\n } else if (serviceRequestType === APITypes.ServiceRequestType.StaffingServices) {\n const combinedClassNames = classNames(classes.chips, classes.color2)\n return (\n \n \n \n )\n } else if (serviceRequestType === APITypes.ServiceRequestType.SelfService) {\n const combinedClassNames = classNames(classes.chips, classes.color3)\n return (\n \n \n \n ) \n } else {\n return null \n }\n}\n\nexport default ServiceRequestTypeChip \n","import { Box, Grid } from \"@material-ui/core\"\nimport ServiceRequest from \"../../model/ServiceRequest\"\nimport JobPostMiniCard from \"../../components/jobPosts/JobPostMiniCard\"\nimport JobPost from \"../../model/JobPost\"\n\nconst ServiceRequestJobList = ({\n serviceRequest,\n onClickEditJobPost\n}: {\n serviceRequest: ServiceRequest\n onClickEditJobPost: (jobPostId: string) => void \n}) => {\n const jobPosts = serviceRequest.jobPosts\n return (\n \n \n { jobPosts.map((jobPost: JobPost) => {\n return (\n \n {\n onClickEditJobPost(jobPost.id)\n }}\n onClickTitle={() => {\n onClickEditJobPost(jobPost.id)\n }}\n />\n \n )\n })}\n \n \n )\n}\n\nexport default ServiceRequestJobList \n","import { Autocomplete } from \"@material-ui/lab\"\nimport { useEffect, useState } from \"react\"\nimport ServiceRequest, { ServiceRequestStatus } from \"../../model/ServiceRequest\"\nimport { Box, TextField, Theme, createStyles, makeStyles } from \"@material-ui/core\"\nimport Stack from \"../../components/Stack\"\nimport ProgressButton from \"../../components/form/ProgressButton\"\nimport CancelButton from \"../../components/form/CancelButton\"\nimport { useStores } from \"../../stores/StoreProvider\"\nimport * as APITypes from \"../../API\"\n\nconst useStyles = makeStyles((theme: Theme) => createStyles({\n filterTextField: {\n flexGrow: 1, \n backgroundColor: theme.palette.background.paper,\n borderRadius: 10\n },\n}))\n\nconst ServiceRequestStatusSelector = ({\n fullWidth,\n helperText,\n margin, \n required, \n variant,\n serviceRequest,\n onUpdateServiceRequest\n}: {\n fullWidth?: boolean \n helperText?: string \n margin?: 'dense' | 'none' | 'normal'\n required?: boolean\n variant?: 'filled' | 'outlined' | 'standard',\n serviceRequest: ServiceRequest,\n onUpdateServiceRequest: (updatedServiceRequest: ServiceRequest) => Promise\n}) => {\n const classes = useStyles()\n const { jobStore } = useStores()\n\n const [isProcessing, setIsProcessing] = useState(false)\n const [serviceRequestStatus, setServiceRequestStatus] = useState()\n const [inputValue, setInputValue] = useState(\"\");\n const [isEditing, setIsEditing] = useState(false)\n\n useEffect(() => {\n console.debug(\"init\")\n setServiceRequestStatus(serviceRequest.status)\n setIsEditing(false)\n }, [\n serviceRequest\n ])\n\n return (\n \n \n \n
    \n \n
    \n } \n onChange={(event: any, newValue: ServiceRequestStatus | string | null) => {\n console.debug(\"onChange\", newValue)\n setServiceRequestStatus(newValue ?? \"\");\n setIsEditing(true)\n }}\n inputValue={inputValue}\n onInputChange={(event, newInputValue) => {\n console.debug(\"onInputChange\", newInputValue, event)\n if (event && event.type) {\n if (event.type === \"click\" || event.type === \"change\") {\n if (newInputValue === serviceRequest.status) {\n setIsEditing(false)\n } else {\n setIsEditing(true)\n }\n setInputValue(newInputValue);\n }\n } else {\n setInputValue(newInputValue);\n }\n }}\n />\n \n { isEditing && \n \n {\n setIsProcessing(true)\n\n const input: APITypes.UpdateServiceRequestInput = {\n id: serviceRequest.id, \n status: serviceRequestStatus\n }\n\n const updatedServiceRequest = await jobStore.updateServiceRequest(input)\n await onUpdateServiceRequest(updatedServiceRequest!)\n\n setIsProcessing(false)\n setIsEditing(false)\n }}\n >\n Save\n \n {\n setServiceRequestStatus(serviceRequest.status)\n // setInputValue(\"\")\n setIsEditing(false)\n }} \n />\n \n }\n \n )\n}\n\nexport default ServiceRequestStatusSelector \n","import { Box, Grid, useTheme } from \"@material-ui/core\"\nimport Page from \"../../components/page/Page\"\nimport PageTitle from \"../../components/page/PageTitle\"\nimport ServiceRequest from \"../../model/ServiceRequest\"\nimport JobPost from \"../../model/JobPost\"\nimport ServiceRequestTypeChip from \"../../views/serviceRequests/ServiceRequestTypeChip\"\nimport MarginRow from \"../../components/page/MarginRow\"\nimport Stack from \"../../components/Stack\"\nimport CardValue from \"../../components/CardValue\"\nimport { isoToLocalDateString } from \"../../stores/StoreUtilities\"\nimport ServiceRequestJobList from \"../../views/serviceRequests/ServiceRequestJobList\"\nimport ServiceRequestStatusSelector from \"../../views/serviceRequests/ServiceRequestStatusSelector\"\nimport { useStores } from \"../../stores/StoreProvider\"\n\nconst ManageServiceRequestPage = ({\n embed,\n serviceRequest,\n onClickJobPost,\n onUpdateServiceRequest\n}: {\n embed?: boolean\n serviceRequest: ServiceRequest\n onClickJobPost: (jobPost: JobPost) => void \n onUpdateServiceRequest: (serviceRequest: ServiceRequest) => Promise \n}) => {\n const theme = useTheme()\n const { userStore } = useStores()\n\n const renderContent = () => {\n return (\n \n \n \n \n \n \n \n { isoToLocalDateString(serviceRequest.createdAt) }\n { isoToLocalDateString(serviceRequest.updatedAt) }\n { serviceRequest.status }\n \n \n { userStore.isAdminOrAgent && \n \n \n \n \n \n }\n \n \n \n {\n const jobPost = serviceRequest.jobPosts.find(jobPost => jobPost.id === jobPostId)\n onClickJobPost(jobPost!)\n }} \n />\n \n \n )\n }\n\n if (embed) {\n return renderContent() \n }\n return (\n \n {renderContent()}\n \n )\n}\n\nexport default ManageServiceRequestPage\n","import { useEffect, useState } from \"react\"\nimport ControlTower, { Routes } from \"../../components/ControlTower\"\nimport DashboardPanel from \"../../components/panel/DashboardPanel\"\nimport ServiceRequest, { ServiceRequestStatus } from \"../../model/ServiceRequest\"\nimport { useStores } from \"../../stores/StoreProvider\"\nimport { when } from \"mobx\"\nimport * as APITypes from \"../../API\"\nimport { ServiceRequestResult } from \"../../stores/JobStore\"\nimport { DataGrid, GridRowData, GridRowsProp, GridColDef, GridRowParams, MuiEvent, GridOverlay, GridRenderCellParams } from '@mui/x-data-grid';\nimport { Box, Theme, Typography, createStyles, makeStyles } from \"@material-ui/core\"\nimport ServiceRequestTypeChip from \"./ServiceRequestTypeChip\"\nimport LoadingPanel from \"../../components/panel/LoadingPanel\"\nimport SideDrawer from \"../../components/page/SideDrawer\"\nimport JobPost from \"../../model/JobPost\"\nimport JobCandidate from \"../../model/JobCandidate\"\nimport ManageServiceRequestPage from \"../../pages/serviceRequests/ManageServiceRequestPage\"\nimport ManageJobPage from \"../../pages/manageJobs/ManageJobPage\"\n\ninterface IRowViewModel {\n id: string \n name: string \n serviceRequestTypeString: string \n serviceRequestType: string \n company?: string \n // project?: string \n // location?: string \n createdAt: string \n updatedAt: string \n status: string \n}\n\nconst useStyles = makeStyles((theme: Theme) => createStyles({\n dataGrid: {\n border: \"1px solid rgba(224, 224, 224, 1)\",\n \"& .MuiDataGrid-columnsContainer\": {\n borderBottom: \"1px solid rgba(224, 224, 224, 1)\",\n },\n \"& .MuiDataGrid-cell\": {\n borderBottom: \"1px solid rgba(224, 224, 224, 1)\",\n },\n \"& .MuiDataGrid-iconSeparator\": {\n color: \"1px solid rgba(224, 224, 224, 1)\"\n }\n }\n}))\n\n\nconst ServiceRequestsList = ({\n compact, \n limit,\n showNavButton,\n handleNavButton \n}: {\n compact?: boolean \n limit?: number // Show only the top X listings \n showNavButton?: boolean \n handleNavButton?: () => void \n}) => {\n const { accountStore, jobStore, progress, userStore } = useStores()\n const classes = useStyles()\n \n const progressName = \"ServiceRequestsList\"\n const [isLoading, setIsLoading] = useState(true)\n const [serviceRequests, setServiceRequests] = useState([])\n // const [serviceRequestsVisible, setServiceRequestsVisible] = useState([])\n // const [rows, setRows] = useState([])\n // const [columns, setColumns] = useState([])\n // const [nextToken, setNextToken] = useState()\n const [serviceRequest, setServiceRequest] = useState()\n const [jobPost, setJobPost] = useState()\n\n useEffect(() => {\n progress.show(progressName) \n const fetchServiceRequests = async (): Promise => {\n // const todaysISODate = getISODateToday()\n const filter: APITypes.ModelServiceRequestFilterInput = {\n \n }\n \n let result: ServiceRequestResult | null \n let nextToken: string | undefined\n let serviceRequests: ServiceRequest[] = []\n let hasReachedLimit = false \n do {\n if (userStore.isAdminOrAgent) {\n result = await jobStore.listServiceRequests(filter, limit, nextToken)\n } else if (accountStore.account) {\n const accountId = accountStore.account.id \n result = await jobStore.listServiceRequestsByAccount(accountId, filter, limit, nextToken)\n } else {\n result = null \n }\n if (result?.serviceRequests) {\n serviceRequests.push(...result!.serviceRequests)\n }\n nextToken = result?.nextToken ?? undefined\n if (limit && serviceRequests.length >= limit) {\n hasReachedLimit = true \n }\n } while (result && nextToken && hasReachedLimit === false)\n return serviceRequests\n }\n\n const init = async () => {\n const serviceRequests = await fetchServiceRequests()\n console.debug('serviceRequests', serviceRequests.length)\n serviceRequests.sort((a: ServiceRequest, b: ServiceRequest) => {\n return b.updatedAt.localeCompare(a.updatedAt)\n })\n setServiceRequests(serviceRequests)\n\n setIsLoading(false)\n progress.hide(progressName)\n }\n\n when(\n () => accountStore.isLoading === false \n && jobStore.isLoading === false\n && userStore.isLoading === false, \n () => {\n init() \n }\n )\n }, [\n accountStore, \n jobStore, \n progress, \n userStore\n ])\n\n const renderServiceRequestLargeDrawer = () => {\n return (\n {\n setServiceRequest(undefined)\n }} \n >\n {serviceRequest && \n {\n setJobPost(jobPost)\n }}\n onUpdateServiceRequest={async (serviceRequest: ServiceRequest) => {\n // await this.handleUpdateServiceRequest(serviceRequest)\n const serviceRequestsCopy: ServiceRequest[] = Object.assign([], serviceRequests)\n const index: number = serviceRequestsCopy.findIndex((checkServiceRequest: ServiceRequest) => checkServiceRequest.id === serviceRequest.id)\n if (index !== -1) {\n serviceRequestsCopy[index] = serviceRequest \n setServiceRequests(serviceRequestsCopy)\n }\n setServiceRequest(serviceRequest)\n }}\n /> \n }\n { serviceRequest && renderJobPostLargeDrawer() }\n \n )\n }\n\n const renderJobPostLargeDrawer = () => {\n return (\n {\n setJobPost(undefined)\n }} \n >\n {jobPost && \n {\n // setJobCandidate(jobCandidate)\n }}\n onUpdateJobPost={async (jobPost: JobPost) => {\n // await this.handleUpdateJobPost(jobPost)\n // const jobPostsCopy: JobPost[] = Object.assign([], jobPosts)\n // const index: number = jobPostsCopy.findIndex((checkJobPost: JobPost) => checkJobPost.id === jobPost.id)\n // if (index !== -1) {\n // jobPostsCopy[index] = jobPost \n // setJobPosts(jobPostsCopy)\n // }\n }}\n /> \n }\n \n )\n }\n\n const renderServiceRequestType = (params: GridRenderCellParams) => {\n const serviceRequestType = params.row[\"serviceRequestType\"] as APITypes.ServiceRequestType\n return (\n \n )\n }\n\n const makeColumns = () => {\n let columns: GridColDef[] = []\n columns.push({\n field: \"name\",\n headerName: \"Title\",\n width: 325\n })\n columns.push({\n field: \"serviceRequestTypeString\",\n headerName: \"Type\",\n width: 200,\n renderCell: renderServiceRequestType\n })\n if (userStore.isAdminOrAgent) {\n columns.push({\n field: \"company\",\n headerName: \"Company\",\n width: 250\n })\n }\n // columns.push({\n // field: \"project\",\n // headerName: \"Project/Contract\",\n // width: 250\n // })\n // columns.push({\n // field: \"location\",\n // headerName: \"Location\",\n // width: 200\n // })\n columns.push({\n field: \"createdAt\",\n headerName: \"Created\",\n type: \"date\",\n width: 150,\n valueGetter: ({ value }) => value && new Date(value as string),\n })\n columns.push({\n field: \"updatedAt\",\n headerName: \"Updated\",\n type: \"date\",\n width: 150,\n valueGetter: ({ value }) => value && new Date(value as string),\n })\n columns.push({\n field: \"status\",\n headerName: \"Status\",\n // type: \"date\",\n width: 200,\n // valueGetter: ({ value }) => value && new Date(value as string),\n })\n\n // setColumns(columns)\n return columns \n }\n\n const makeRows = () => {\n const rows: GridRowData[] = serviceRequests.map((serviceRequest: ServiceRequest) => {\n const row: IRowViewModel = {\n id: serviceRequest.id,\n name: serviceRequest.name,\n serviceRequestTypeString: serviceRequest.requestTypeToString(),\n serviceRequestType: serviceRequest.serviceRequestType,\n // project: \"\", // TODO: Add project name \n // location: serviceRequest.location?.name,\n createdAt: serviceRequest.createdAt,\n updatedAt: serviceRequest.updatedAt,\n status: serviceRequest.status\n }\n if (userStore.isAdminOrAgent) {\n row[\"company\"] = serviceRequest.account?.name\n }\n return row \n })\n\n // setRows(rows)\n return rows \n }\n\n return (\n \n \n , details?: any) => {\n const { id } = params \n const serviceRequest = serviceRequests.find(serviceRequest => serviceRequest.id === id)\n if (serviceRequest!.status === ServiceRequestStatus.Draft) {\n const pathname = `${Routes.serviceRequestCreate}?serviceRequestId=${id}`\n ControlTower.route(pathname)\n } else {\n setServiceRequest(serviceRequest!) \n }\n }}\n components={{\n NoRowsOverlay: () => {\n return (\n \n No service requests. Please use the Create Request button to start a new service request.\n \n )\n },\n LoadingOverlay: () => {\n return (\n \n \n \n )\n } \n }}\n className={classes.dataGrid}\n />\n \n { renderServiceRequestLargeDrawer() }\n \n )\n}\n\nexport default ServiceRequestsList\n","import { \n Paper,\n // Paper, \n Table, \n TableBody, \n TableCell, \n TableContainer, \n TableHead, \n // TableProps, \n TableRow, \n TableRowProps, \n Theme, \n createStyles, \n makeStyles, \n // alpha, \n styled, \n // tableCellClasses, // Only MUI 5\n // tableRowClasses, // Only MUI 5\n useTheme \n} from \"@material-ui/core\";\n\nconst TableRowStyled = styled((props: TableRowProps) => {\n return (\n \n )\n})(({ theme }) => ({\n ['&:hover td, &:hover th']: {\n // backgroundColor: alpha(theme.palette.primary.main, 0.75),\n backgroundColor: theme.palette.grey[200],\n // color: theme.palette.common.white,\n // borderBottom: \"1px solid blue \"\n // fontWeight: \"bold\"\n // color: theme.palette.common.white,\n cursor: \"pointer\"\n },\n ['&:last-child td, &:last-child th']: { \n border: 0 \n } \n}))\n\nconst useStyles = makeStyles((theme: Theme) => createStyles({\n tableContainer: {\n overflowX: 'auto',\n width: \"100%\",\n // maxWidth: \"calc(100vw - 96px)\"\n maxWidth: \"100%\",\n borderRadius: \"4px\",\n border: \"1px solid hsl(0, 0%, 88%)\",\n overflow: \"hidden\"\n },\n table: {\n // width: \"100%\",\n minWidth: 650,\n },\n headTableCell: {\n fontWeight: \"bold\"\n },\n tableBody: {\n backgroundColor: theme.palette.common.white\n },\n}))\n\nexport interface ITableRow {\n id: string \n name: string \n cells: (string | React.ReactNode)[]\n}\n\nconst SimpleTable = ({\n head, \n data,\n onClickRow\n}: {\n head: ITableRow\n data: ITableRow[]\n onClickRow(row: ITableRow): void \n}) => {\n const theme = useTheme()\n const classes = useStyles()\n\n const renderHead = () => {\n return (\n \n \n \n {head.name}\n \n { head.cells.map((cell, index) => {\n return (\n \n {cell}\n \n )\n }) }\n {/* Dessert (100g serving)\n Calories\n Fat (g)\n Carbs (g)\n Protein (g) */}\n \n \n )\n }\n\n const renderBody = () => {\n return (\n \n {data.map((row, index) => (\n {\n onClickRow(row)\n }}\n >\n \n {row.name}\n \n { row.cells.map((cell, index) => {\n return (\n \n {cell}\n \n )\n }) }\n {/* {row.calories}\n {row.fat}\n {row.carbs}\n {row.protein} */}\n \n ))}\n \n )\n }\n\n return (\n \n \n { renderHead() }\n { renderBody() }\n
    \n
    \n );\n}\n\nexport default SimpleTable\n","import { useEffect, useState } from \"react\"\nimport SimpleTable, { ITableRow } from \"../../components/page/SimpleTable\"\nimport DashboardPanel from \"../../components/panel/DashboardPanel\"\nimport JobPost from \"../../model/JobPost\"\nimport { useStores } from \"../../stores/StoreProvider\"\nimport { when } from \"mobx\"\nimport * as APITypes from \"../../API\"\nimport { getISODateToday, humanizeString, isoToLocalDateString } from \"../../stores/StoreUtilities\"\nimport { Box, Grid } from \"@material-ui/core\"\nimport JobPostTypeChip from \"./JobPostTypeChip\"\nimport SideDrawer from \"../../components/page/SideDrawer\"\nimport ManageJobPage from \"../../pages/manageJobs/ManageJobPage\"\nimport JobCandidate from \"../../model/JobCandidate\"\nimport ManageCandidatePage from \"../../pages/manageCandidates/ManageCandidatePage\"\n\nconst JobPostsList = ({\n showNavButton,\n handleNavButton \n}: {\n showNavButton?: boolean \n handleNavButton?: () => void \n}) => {\n // const router = useRouter()\n const { accountStore, jobStore, progress, userStore } = useStores()\n\n const progressName = \"JobPostsList\"\n const [jobPosts, setJobPosts] = useState()\n const [showDialog, setShowDialog] = useState(false)\n const [jobPost, setJobPost] = useState()\n const [jobCandidate, setJobCandidate] = useState()\n\n useEffect(() => {\n progress.show(progressName) \n const init = async () => {\n let accountId \n let jobPosts: JobPost[] = []\n const todaysISODate = getISODateToday()\n const filter: APITypes.ModelJobPostFilterInput = {\n or: [\n { status: {eq: APITypes.JobPostStatus.Draft} },\n { and: [\n {openDate: {le: todaysISODate}},\n { or: [\n {closedDate: {attributeExists: false}},\n {closedDate: {ge: todaysISODate}}\n ]},\n { status: {ne: APITypes.JobPostStatus.Closed} }\n ]}\n ]\n }\n if (userStore.isAdminOrAgent) {\n jobPosts = await jobStore.listJobPosts(filter, 100)\n } else if (accountStore.account) {\n accountId = accountStore.account.id \n jobPosts = await jobStore.listJobPostsByAccount(accountId, filter)\n }\n console.debug('jobposts', jobPosts.length)\n jobPosts.sort((a: JobPost, b: JobPost) => {\n return b.updatedAt.localeCompare(a.updatedAt)\n })\n setJobPosts(jobPosts.slice(0, 5))\n progress.hide(progressName)\n }\n\n when(\n () => accountStore.isLoading === false \n && jobStore.isLoading === false\n && userStore.isLoading === false, \n () => {\n init() \n }\n )\n }, [\n accountStore, \n jobStore, \n progress, \n userStore\n ])\n \n const renderTable = () => {\n let columns\n if (userStore.isAdminOrAgent) {\n columns = [\n \"Type\",\n \"Company\",\n \"Location\",\n \"Employment Type\",\n \"Urgency\",\n \"Service Request\",\n \"Status\"\n ]\n } else {\n columns = [\n \"Type\",\n \"Location\",\n \"Employment Type\",\n \"Urgency\",\n \"Service Request\",\n \"Status\"\n ]\n }\n return (\n {\n const {\n title, \n location,\n employmentType,\n serviceRequest,\n // status,\n account\n } = jobPost\n const hiringPeriod = jobPost.hiringPeriod\n let statusDate = \"\"\n if (jobPost.status === APITypes.JobPostStatus.Cart) {\n statusDate = `Cart ${isoToLocalDateString(jobPost.createdAt, \"M/d/yyyy h:mm a\")}`\n } else if (jobPost.status === APITypes.JobPostStatus.Draft) {\n statusDate = `Draft ${isoToLocalDateString(jobPost.updatedAt, \"M/d/yyyy h:mm a\")}`\n } else {\n statusDate = `${jobPost.status} ${isoToLocalDateString(jobPost.updatedAt, \"M/d/yyyy h:mm a\")}`\n }\n let dataColumns \n if (userStore.isAdminOrAgent) {\n dataColumns = [\n ,\n account!.name, \n location!.name, \n humanizeString(employmentType),\n hiringPeriod,\n serviceRequest?.name ?? \"\",\n statusDate\n ]\n } else {\n dataColumns = [\n ,\n location!.name, \n humanizeString(employmentType),\n hiringPeriod,\n serviceRequest?.name ?? \"\",\n statusDate\n ]\n }\n const jobPostData = {\n id: jobPost.id,\n name: title,\n cells: dataColumns\n }\n return jobPostData\n }): []\n }\n onClickRow={(row: ITableRow) => {\n // const contentBlock = contentBlocks?.find(checkContentBlock => checkContentBlock.id === row.id)\n // if (onClickContentBlock) {\n // onClickContentBlock(contentBlock!)\n // } else {\n // const url = `${RoutesConfig.contentBlock.pathname!}/${contentBlock!.id}`\n // router.push(url)\n // }\n const jobPostId = row.id\n const jobPost = jobPosts?.find(jobPost => jobPost.id === jobPostId)\n setJobPost(jobPost)\n }}\n \n />\n )\n }\n\n const renderJobPostLargeDrawer = () => {\n return (\n {\n setJobPost(undefined)\n }} \n >\n {jobPost && \n {\n setJobCandidate(jobCandidate)\n }}\n onUpdateJobPost={async (jobPost: JobPost) => {\n // await this.handleUpdateJobPost(jobPost)\n const jobPostsCopy: JobPost[] = Object.assign([], jobPosts)\n const index: number = jobPostsCopy.findIndex((checkJobPost: JobPost) => checkJobPost.id === jobPost.id)\n if (index !== -1) {\n jobPostsCopy[index] = jobPost \n setJobPosts(jobPostsCopy)\n }\n }}\n /> \n }\n \n )\n }\n\n const renderManageCandidateDrawer = () => {\n if (jobCandidate === undefined) {\n return null\n }\n\n return (\n {\n setJobCandidate(undefined) \n }}\n size=\"large\"\n >\n \n { jobCandidate && \n {\n setJobCandidate(updatedJobCandidate)\n const jobPostCopy = Object.assign({}, jobPost)\n const jobCandidateIndex = jobPostCopy.jobCandidates.findIndex(checkJobCandidate => checkJobCandidate.id === updatedJobCandidate.id)\n if (jobCandidateIndex > -1) {\n jobPostCopy.jobCandidates[jobCandidateIndex] = updatedJobCandidate\n setJobPost(jobPostCopy)\n }\n }}\n />\n }\n \n \n )\n }\n\n return (\n \n { renderTable() }\n { renderJobPostLargeDrawer() }\n { renderManageCandidateDrawer() }\n \n )\n}\n\nexport default JobPostsList\n","import { RouteComponentProps } from \"@reach/router\"\nimport Page from \"../../components/page/Page\"\nimport PageTitle from \"../../components/page/PageTitle\"\nimport { useEffect, useState } from \"react\"\nimport { Box, Grid, Typography, useMediaQuery, useTheme } from \"@material-ui/core\"\nimport { when } from \"mobx\"\nimport { useStores } from \"../../stores/StoreProvider\"\nimport LoadingPanel from \"../../components/panel/LoadingPanel\"\nimport User from \"../../model/User\"\nimport AvailableServices from \"../../views/employers/AvailableServices\"\nimport ServiceRequestsList from \"../../views/serviceRequests/ServiceRequestsList\"\nimport ControlTower, { Routes } from \"../../components/ControlTower\"\nimport JobPostsList from \"../../views/jobPosts/JobPostsList\"\n\nconst DashboardPage = ({\n\n}: RouteComponentProps) => {\n const title = \"Dashboard\"\n const [isLoading, setIsLoading] = useState(true)\n const { accountStore, userStore } = useStores()\n const [user, setUser] = useState()\n const theme = useTheme()\n const isSmallScreen = useMediaQuery(theme.breakpoints.down('md'))\n\n useEffect(() => {\n when(\n () => accountStore.isLoading === false && userStore.isLoading === false, \n () => {\n setUser(userStore.user!)\n setIsLoading(false)\n }\n )\n }, [\n\n ])\n\n const renderContent = () => {\n return (\n \n \n \n Welcome, {user?.firstName}!\n \n \n \n \n \n {\n ControlTower.route(Routes.serviceRequests)\n }}\n />\n \n \n {\n ControlTower.route(Routes.manageJobs)\n }}\n />\n \n \n \n )\n }\n\n const renderLoading = () => {\n return (\n \n )\n }\n\n return (\n \n \n { isLoading ? renderLoading() : renderContent() }\n \n )\n}\n\nexport default DashboardPage\n","import { RouteComponentProps } from \"@reach/router\"\nimport Page from \"../../components/page/Page\"\nimport { useEffect, useState } from \"react\"\nimport { useStores } from \"../../stores/StoreProvider\"\nimport User from \"../../model/User\"\nimport { when } from \"mobx\"\nimport { Box, useMediaQuery, useTheme } from \"@material-ui/core\"\nimport Stack from \"../../components/Stack\"\nimport AvailableServices from \"../../views/employers/AvailableServices\"\nimport ServiceRequestsList from \"../../views/serviceRequests/ServiceRequestsList\"\nimport LoadingPanel from \"../../components/panel/LoadingPanel\"\nimport PageTitle from \"../../components/page/PageTitle\"\n\nconst ServiceRequestsPage = ({\n\n}: RouteComponentProps) => {\n const title = \"Service Requests\"\n const [isLoading, setIsLoading] = useState(true)\n const { accountStore, userStore } = useStores()\n const [user, setUser] = useState()\n const theme = useTheme()\n const isSmallScreen = useMediaQuery(theme.breakpoints.down('md'))\n\n useEffect(() => {\n when(\n () => accountStore.isLoading === false && userStore.isLoading === false, \n () => {\n setUser(userStore.user!)\n setIsLoading(false)\n }\n )\n }, [\n\n ])\n\n const renderContent = () => {\n return (\n \n \n \n \n \n \n )\n }\n\n const renderLoading = () => {\n return (\n \n )\n }\n\n return (\n \n \n { isLoading ? renderLoading() : renderContent() }\n \n )\n}\n\nexport default ServiceRequestsPage \n","import { Box, Paper, Theme, createStyles, makeStyles, useMediaQuery, useTheme } from \"@material-ui/core\"\nimport Stack from \"../Stack\"\n\nconst useStyles = makeStyles((theme: Theme) => createStyles({\n root: {\n overflow: \"hidden\"\n }\n}))\n\nconst DialogPanel = ({\n elevation, \n backgroundColor, \n children \n}: {\n elevation?: number \n backgroundColor?: string \n children: React.ReactNode \n}) => {\n const classes = useStyles()\n const theme = useTheme()\n const isSmallScreen = useMediaQuery(theme.breakpoints.down('md'))\n return (\n \n \n \n {children}\n \n \n \n )\n}\n\nexport default DialogPanel \n","import { Box, Button, Grid, List, ListItem, Paper, Theme, Typography, createStyles, makeStyles, useTheme } from \"@material-ui/core\"\nimport { useState } from \"react\"\nimport Stack from \"../Stack\"\nimport { Check } from \"@material-ui/icons\"\n\nconst useStyles = makeStyles((theme: Theme) => createStyles({ \n root: {\n height: \"100%\"\n },\n container: {\n // paddingTop: theme.spacing(3), \n paddingBottom: theme.spacing(3), \n // paddingLeft: theme.spacing(3), \n // paddingRight: theme.spacing(3), \n height: \"100%\"\n },\n list: {\n // paddingTop: theme.spacing(2), \n // paddingBottom: theme.spacing(2), \n paddingLeft: theme.spacing(5), \n paddingRight: theme.spacing(3), \n listStyleType: 'disc',\n [theme.breakpoints.up(\"md\")]: {\n minHeight: \"200px\"\n }\n // listStylePosition: 'inside',\n // ['& .MuiListItem-root']: {\n // display: 'list-item'\n // },\n },\n listItem: {\n display: 'list-item',\n marginBottom: 0 \n }\n}))\n\nconst SelectionCard = ({\n title,\n titleColor, \n titleBackgroundColor,\n features,\n buttonTitle, \n backgroundColor,\n selected, \n disabled, \n onButtonClick,\n onLearnMoreClick,\n}: {\n title: string\n titleColor?: string \n titleBackgroundColor?: string \n features: string[] \n buttonTitle: string \n backgroundColor?: string \n selected: boolean \n disabled?: boolean \n onButtonClick: () => void \n onLearnMoreClick: () => void \n}) => {\n const classes = useStyles()\n const theme = useTheme()\n return (\n \n \n \n \n \n \n \n {title}\n \n \n \n \n \n { features.map((feature, index) => {\n return(\n \n \n {feature}\n \n \n )\n }) }\n \n \n \n \n \n \n {\n onButtonClick()\n }}\n startIcon={ selected && }\n >\n {buttonTitle}\n \n {/* TODO: Add content for Learn More\n \n Learn More \n */}\n \n \n \n \n )\n}\n\nexport default SelectionCard\n","import { Typography, useTheme } from \"@material-ui/core\"\nimport Stack from \"../Stack\"\n\nconst DialogPanelInstructions = ({\n title, \n instructions, \n}: {\n title: string \n instructions: string[]\n}) => {\n const theme = useTheme()\n return (\n \n {title}\n { instructions.map((instruction, index) => {\n return (\n \n {instruction}\n \n )\n })}\n \n )\n}\n\nexport default DialogPanelInstructions\n","import { Button } from \"@material-ui/core\"\nimport Stack from \"../Stack\"\nimport ProgressButton from \"../form/ProgressButton\"\n\nconst DialogPanelButtons = ({\n buttonTitle, \n buttonDisabled,\n backButtonTitle, \n isProcessing,\n onClickNext, \n onClickBack,\n onClickSkip\n}: {\n buttonTitle?: string \n buttonDisabled: boolean \n backButtonTitle?: string \n isProcessing: boolean \n onClickNext?: () => Promise\n onClickBack?: () => void\n onClickSkip?: () => void \n}) => {\n return (\n \n { onClickBack && \n \n { backButtonTitle ?? \"Back\" }\n \n }\n \n { onClickSkip && \n \n Skip \n \n }\n \n { buttonTitle ?? \"Next\" }\n \n \n \n )\n}\n\nexport default DialogPanelButtons\n","import { Box, Container } from \"@material-ui/core\"\nimport FormValidator from \"./FormValidator\"\nimport ProgressButton from \"./ProgressButton\"\nimport Stack from \"../Stack\"\nimport DialogPanelButtons from \"../panel/DialogPanelButtons\"\n\nconst SimpleForm = ({\n formId, \n onSubmit, \n children,\n buttonArea \n}: {\n formId: string \n onSubmit: () => Promise \n children?: React.ReactNode\n buttonArea: React.ReactNode \n}) => {\n return (\n \n \n \n {children}\n \n \n { buttonArea }\n \n )\n}\n\nexport default SimpleForm\n","import { useEffect, useState } from \"react\"\nimport TextFieldValidator from \"../../components/form/TextFieldValidator\"\nimport Contract from \"../../model/Contract\"\nimport { Box, IconButton, InputAdornment } from \"@material-ui/core\"\nimport Account from \"../../model/Account\"\nimport ContractForm from \"../../pages/contracts/ContractForm\"\nimport Add from \"@material-ui/icons/Add\"\nimport { useStores } from \"../../stores/StoreProvider\"\nimport { when } from \"mobx\"\n\nconst ContractField = ({\n value,\n account,\n required, \n onSelectContract, \n}: {\n value: Contract | undefined \n account: Account\n required: boolean \n onSelectContract: (contract: Contract) => void \n}) => {\n const { accountStore, jobStore, userStore } = useStores()\n \n const [isLoading, setIsLoading] = useState(true)\n const [contracts, setContracts] = useState([])\n const [contract, setContract] = useState()\n const [showContractForm, setShowContractForm] = useState(false)\n\n useEffect(() => {\n const init = async () => {\n const contracts = await jobStore.listContractsByAccount(account.id)\n setContracts(contracts)\n setIsLoading(false)\n }\n\n when(\n () => accountStore.isLoading === false \n && jobStore.isLoading === false \n && userStore.isLoading === false, \n () => {\n init() \n }\n )\n }, [\n accountStore, \n jobStore, \n userStore,\n ])\n\n const handleChangeContractSelection = (event: any, value: any, reason: any) => {\n const selection = value as Contract\n onSelectContract(selection)\n }\n\n return (\n \n option?.name,\n getOptionSelected: (option: Contract, value: Contract) => option.id === value.id,\n onChange: handleChangeContractSelection\n }}\n InputProps={{\n endAdornment: \n \n {\n const contract = new Contract({\n accountId: account.id\n })\n setContract(contract)\n setShowContractForm(true)\n }}>\n \n \n ,\n }}\n />\n {\n setShowContractForm(false)\n }}\n didCreate={async (contract: Contract) => {\n // this.contracts.push(contract)\n // this.contract = contract \n setIsLoading(true)\n const contractsCopy = Object.assign([], contracts)\n contractsCopy.push(contract)\n setContracts(contractsCopy)\n // await this.loadContracts(this.viewModel!.accountId)\n handleChangeContractSelection(undefined, contract, undefined)\n setIsLoading(false) \n }}\n didDelete={(contract: Contract) => {\n const index = contracts.findIndex(checkContract => checkContract.id === contract.id)\n if (index !== -1) {\n const contractsCopy = Object.assign([], contracts)\n contractsCopy.splice(index, 1)\n setContracts(contractsCopy)\n }\n }}\n didEdit={(contract: Contract) => {\n const index = contracts.findIndex(checkContract => checkContract.id === contract.id)\n if (index !== -1) {\n const contractsCopy: Contract[] = Object.assign([], contracts)\n contractsCopy[index] = contract\n setContracts(contractsCopy)\n }\n }}\n />\n \n )\n}\n\nexport default ContractField","import ControlTower, { Routes } from '../ControlTower'\nimport ActionButton from './ActionButton'\n\nconst RequestMeetingButton = (props: any) => {\n return (\n {\n ControlTower.open(Routes.requestMeeting)\n }}\n />\n )\n}\n\nexport default RequestMeetingButton\n","import { Box, Button, Divider, Typography, useTheme } from \"@material-ui/core\"\nimport Stack from \"../../Stack\"\nimport RequestMeetingButton from \"../../controls/RequestMeetingButton\"\n\nconst RequestMeetingSection = () => {\n const theme = useTheme()\n\n return (\n \n \n Do you have questions and want to talk to a live person?\n \n \n \n \n \n )\n}\n\nexport default RequestMeetingSection\n","import { Box, Grid, InputAdornment, Typography, useTheme } from \"@material-ui/core\"\nimport SimpleForm from \"../../components/form/SimpleForm\"\nimport DialogPanelButtons from \"../../components/panel/DialogPanelButtons\"\nimport DatePickerValidator from \"../../components/form/DatePickerValidator\"\nimport { useEffect, useState } from \"react\"\nimport IndustrySelector from \"../../components/form/IndustrySelector\"\nimport TextFieldValidator from \"../../components/form/TextFieldValidator\"\nimport { useStores } from \"../../stores/StoreProvider\"\nimport ServiceFilter from \"../../components/filter/ServiceFilter\"\nimport { LocationOption, ServiceOption } from \"../../stores/ResourceCache\"\nimport WorkSettingSelector from \"../../components/form/WorkSettingSelector\"\nimport PlaceFilter from \"../../components/filter/PlaceFilter\"\nimport { DatePeriods, getISODateFromDateString, humanizeString, isoToLocalDateString, moneyToNumberFormat, numberToMoneyFormat, periodToISODate } from \"../../stores/StoreUtilities\"\nimport Stack from \"../../components/Stack\"\nimport JobPost from \"../../model/JobPost\"\nimport ServiceRequest from \"../../model/ServiceRequest\"\nimport { CreateJobPostInput, EmploymentType, JobPostStatus, JobPostType, ServiceRequestType, UpdateJobPostInput, WorkSetting } from \"../../API\"\nimport { when } from \"mobx\"\nimport ContractField from \"../../views/contracts/ContractField\"\nimport Contract from \"../../model/Contract\"\nimport Account from \"../../model/Account\"\nimport * as APITypes from \"../../API\"\nimport DialogPanel from \"../../components/panel/DialogPanel\"\nimport DialogPanelInstructions from \"../../components/panel/DialogPanelInstructions\"\nimport LoadingPanel from \"../../components/panel/LoadingPanel\"\nimport RequestMeetingSection from \"../../components/marketing/sections/RequestMeetingSection\"\n\nconst ServiceRequestJobForm = ({\n serviceRequest,\n jobPostId, \n account, \n onClickBack,\n onUpdateJobPost,\n onCreateJobPost\n}: {\n serviceRequest: ServiceRequest\n jobPostId?: string \n account: Account\n onClickBack: () => void \n onUpdateJobPost: (jobPost: JobPost) => void \n onCreateJobPost: (jobPost: JobPost) => void \n}) => {\n const [isLoading, setIsLoading] = useState(true)\n const [isProcessing, setIsProcessing] = useState(false)\n const { resourceCache } = useStores()\n const employmentTypes: EmploymentType[] = [EmploymentType.Contract, EmploymentType.FullTime, EmploymentType.PartTime, EmploymentType.Temporary, EmploymentType.Internship]\n const [message, setMessage] = useState()\n const theme = useTheme()\n const { accountStore, jobStore, userStore } = useStores()\n\n const [jobPost, setJobPost] = useState()\n const [industryOptions, setIndustryOptions] = useState()\n const [industryFilter, setIndustryFilter] = useState() \n \n // Job post details: \n const [contract, setContract] = useState()\n const [serviceOption, setServiceOption] = useState() \n const [locationOption, setLocationOption] = useState()\n const [workSettings, setWorkSettings] = useState([])\n const [industries, setIndustries] = useState([])\n const [securityClearance, setSecurityClearance] = useState()\n const [employmentType, setEmploymentType] = useState()\n const [annualSalaryLow, setAnnualSalaryLow] = useState()\n const [annualSalaryHigh, setAnnualSalaryHigh] = useState()\n const [hiringPeriod, setHiringPeriod] = useState()\n const [startDate, setStartDate] = useState()\n const [endDate, setEndDate] = useState()\n const [summary, setSummary] = useState() \n\n useEffect(() => {\n const init = async () => {\n if (jobPostId) {\n const jobPost = await jobStore.getJobPost(jobPostId)\n setJobPost(jobPost)\n\n setContract(jobPost!.contract)\n if (jobPost!.serviceId) {\n setServiceOption(resourceCache.getServiceOption(jobPost!.serviceId))\n }\n if (jobPost!.locationId) {\n setLocationOption(resourceCache.getLocationOption(jobPost!.locationId))\n }\n setWorkSettings(jobPost!.workSettings)\n setIndustries(jobPost!.industries)\n setSecurityClearance(jobPost!.securityClearance)\n setEmploymentType(jobPost!.employmentType)\n setAnnualSalaryLow(jobPost!.annualSalaryLow ? numberToMoneyFormat(jobPost!.annualSalaryLow) : \"\")\n setAnnualSalaryHigh(jobPost!.annualSalaryHigh ? numberToMoneyFormat(jobPost!.annualSalaryHigh) : \"\")\n setHiringPeriod(jobPost!.hiringPeriod)\n setStartDate(isoToLocalDateString(jobPost!.startDate))\n setEndDate(isoToLocalDateString(jobPost!.endDate))\n setSummary(jobPost!.summary)\n }\n\n const industryOptions = account.industries\n if (industryOptions.length === 1) {\n // If an account only has one industry, set that industry automatically and only show positions relevant to that industry.\n setIndustries(industryOptions)\n setIndustryFilter(industryOptions[0])\n }\n setIndustryOptions(industryOptions)\n \n setIsLoading(false)\n }\n\n when(\n () => accountStore.isLoading === false \n && jobStore.isLoading === false \n && userStore.isLoading === false, \n () => {\n init() \n }\n )\n }, [\n accountStore, \n jobStore, \n userStore, \n jobPostId\n ])\n\n const renderContent = () => {\n return (\n {\n // setStep(RequestStep.EnterJob)\n // }} \n onClickBack={onClickBack} \n />\n } \n formId={\"jobForm\"} \n onSubmit={async () => {\n setIsProcessing(true)\n // setStep(RequestStep.EnterJob)\n const fields = {\n accountId: serviceRequest.accountId,\n serviceRequestId: serviceRequest.id,\n contractId: contract ? contract.id : null, \n serviceId: serviceOption!.id,\n workSettings: workSettings,\n locationId: locationOption!.id, \n employmentType: employmentType!,\n annualSalaryLow: moneyToNumberFormat(annualSalaryLow!, 0),\n annualSalaryHigh: moneyToNumberFormat(annualSalaryHigh!, 0),\n securityClearance: securityClearance,\n summary: summary ?? \"\", \n industries: industries,\n hiringDate: periodToISODate(hiringPeriod!),\n startDate: startDate ? getISODateFromDateString(startDate) : null,\n endDate: endDate ? getISODateFromDateString(endDate) : null,\n jobPostType: serviceRequest.serviceRequestType === ServiceRequestType.RecruitingServices ? JobPostType.RecruitingServices : JobPostType.StaffingServices,\n status: JobPostStatus.Draft\n }\n if (jobPost) {\n const input: UpdateJobPostInput = {\n id: jobPost.id, \n ...fields \n }\n\n const updatedJobPost = await jobStore.updateJobPost(input)\n \n setJobPost(updatedJobPost)\n setIsProcessing(false)\n onUpdateJobPost(updatedJobPost!)\n } else {\n const input: CreateJobPostInput = {\n ...fields \n }\n\n const createdJobPost = await jobStore.createJobPost(input)\n setJobPost(createdJobPost)\n setIsProcessing(false)\n onCreateJobPost(createdJobPost!)\n }\n }} \n >\n {\n setContract(contract)\n\n if (contract) {\n // Populate job post fields with contract info \n if (contract.locationId) {\n const locationOption = resourceCache.getLocationOption(contract.locationId) \n setLocationOption(locationOption)\n }\n if (contract.startDate) {\n const startDate = isoToLocalDateString(contract.startDate)\n setStartDate(startDate)\n }\n if (contract.endDate) {\n const endDate = isoToLocalDateString(contract.endDate)\n setEndDate(endDate)\n }\n }\n }} \n />\n { industryOptions && industryOptions.length > 1 && \n \n {\n setIndustries(industries)\n\n if (industries.length === 1) {\n setIndustryFilter(industries[0])\n } else if (industryOptions?.length === 1) {\n setIndustryFilter(industryOptions[0])\n } else {\n setIndustryFilter(\"\")\n }\n \n }} \n />\n \n }\n {\n setServiceOption(serviceOption)\n }}\n helperText=\"Select a job title\"\n />\n \n \n {\n setWorkSettings(values as WorkSetting[])\n\n const anywhereLocationOption: LocationOption | null = jobStore!.getLocationOptionForWorkSettings(values as WorkSetting[], locationOption?.id)\n if (anywhereLocationOption) {\n setLocationOption(anywhereLocationOption)\n }\n }} \n required\n />\n {\n if (value) {\n setLocationOption(value)\n } else {\n setLocationOption(undefined)\n }\n }}\n />\n \n \n option ? humanizeString(option) : null,\n value: employmentType ?? null,\n onChange: (event: any, value: EmploymentType, reason: any) => {\n setEmploymentType(value)\n }\n }}\n />\n { employmentType === EmploymentType.FullTime && serviceRequest.serviceRequestType !== APITypes.ServiceRequestType.StaffingServices && \n \n \n ) => {\n const value = event.target.value \n setAnnualSalaryLow(value)\n }}\n // InputLabelProps={{ shrink: true }}\n InputProps={{\n startAdornment: $\n }}\n />\n \n \n ) => {\n const value = event.target.value \n setAnnualSalaryHigh(value)\n }}\n // InputLabelProps={{ shrink: true }}\n InputProps={{\n startAdornment: $\n }}\n />\n \n \n }\n {\n setSecurityClearance(value)\n }\n }}\n />\n ) => {\n const value = event.target.value\n setSummary(value)\n }}\n fullWidth\n multiline\n minRows={4}\n variant=\"outlined\"\n />\n \n \n {\n setHiringPeriod(value) \n }\n }}\n />\n \n \n ) => {\n const value = event.target.value\n setStartDate(value)\n }}\n />\n \n \n ) => {\n const value = event.target.value\n setEndDate(value)\n }}\n />\n \n \n \n )\n }\n\n return (\n \n \n { message && \n \n \n {message}\n \n \n }\n { isLoading ? : renderContent() }\n \n \n )\n}\n\nexport default ServiceRequestJobForm \n","import { Box, Paper, Theme, Typography, createStyles, makeStyles, useTheme } from \"@material-ui/core\"\nimport Stack from \"../Stack\"\n\nconst useStyles = makeStyles((theme: Theme) => createStyles({\n root: {\n width: \"100%\",\n // maxWidth: \"100vw\"\n }\n}))\n\nconst SectionPanel = ({\n title, \n elevation, \n backgroundColor, \n button, \n children \n}: {\n title: string \n elevation?: number \n backgroundColor?: string \n button?: React.ReactNode\n children: React.ReactNode\n}) => {\n const theme = useTheme()\n const classes = useStyles() \n return (\n \n \n \n \n \n \n {title}\n \n \n { button && \n \n {button} \n \n }\n \n \n {children}\n \n \n \n \n )\n}\n\nexport default SectionPanel\n","import { useState } from \"react\"\nimport SimpleForm from \"../../components/form/SimpleForm\"\nimport DialogPanel from \"../../components/panel/DialogPanel\"\nimport DialogPanelButtons from \"../../components/panel/DialogPanelButtons\"\nimport ServiceRequest from \"../../model/ServiceRequest\"\nimport SectionPanel from \"../../components/panel/SectionPanel\"\nimport DialogPanelInstructions from \"../../components/panel/DialogPanelInstructions\"\nimport { Box, Button, Grid } from \"@material-ui/core\"\nimport Add from \"@material-ui/icons/Add\"\nimport JobPostMiniCard from \"../../components/jobPosts/JobPostMiniCard\"\nimport ServiceRequestJobList from \"../../views/serviceRequests/ServiceRequestJobList\"\nimport RequestMeetingSection from \"../../components/marketing/sections/RequestMeetingSection\"\n\nconst ServiceRequestJobsListForm = ({\n serviceRequest,\n onClickBack,\n onClickAddJob,\n onEditJobPost,\n onClickNext\n}: {\n serviceRequest: ServiceRequest\n onClickBack: () => void \n onClickAddJob: () => void \n onEditJobPost: (jobPostId: string) => void \n onClickNext: () => Promise\n}) => {\n const [isProcessing, setIsProcessing] = useState(false)\n \n const renderJobPostsSection = () => {\n return (\n }\n >\n Add Job\n \n }\n >\n \n \n )\n }\n\n return (\n \n \n { renderJobPostsSection() }\n {\n // setStep(RequestStep.EnterJob)\n // }} \n onClickBack={onClickBack} \n onClickNext={async () => {\n setIsProcessing(true)\n onClickNext()\n }}\n />\n \n \n )\n}\n\nexport default ServiceRequestJobsListForm \n","import { Box, Paper, Typography, useTheme } from \"@material-ui/core\"\nimport { useStores } from \"../../stores/StoreProvider\"\nimport { useEffect, useState } from \"react\"\nimport Agreement from \"../../model/Agreement\"\nimport * as APITypes from \"../../API\"\nimport ControlTower, { Routes } from \"../../components/ControlTower\"\nimport Stack from \"../../components/Stack\"\nimport ActionLink from \"../../components/ActionLink\"\nimport { when } from \"mobx\"\nimport LoadingPanel from \"../../components/panel/LoadingPanel\"\nimport { PricingAgreementType } from \"../../stores/AccountStore\"\nimport ServiceRequest from \"../../model/ServiceRequest\"\n\nconst ServiceRequestPricing = ({\n accountId, \n serviceRequest \n}: {\n accountId: string \n serviceRequest: ServiceRequest\n\n}) => {\n // const theme = useTheme() \n const { accountStore, userStore } = useStores()\n\n const [isLoading, setIsLoading] = useState(true)\n const [agreements, setAgreements] = useState()\n const [pricingAgreementType, setPricingAgreementType] = useState()\n\n useEffect(() => {\n const init = async () => {\n // setIsLoading(true)\n const agreements = await accountStore.listAgreementsByAccount(accountId)\n setAgreements(agreements)\n\n const pricingAgreementType = await accountStore.getPricingAgreementType(accountId)\n setPricingAgreementType(pricingAgreementType)\n\n // let hasMasterServicesAgremement = false \n // // let hasConfidentialityAgreement = false \n // let hasExclusiveAgreement = false \n // if (agreements && agreements.length > 0) {\n // agreements.forEach((agreement: Agreement) => {\n // if (agreement.hasAgreementType(APITypes.AgreementType.MasterServicesAndNonSolicitation)) {\n // hasMasterServicesAgremement = true \n // } \n // // if (agreement.hasAgreementType(APITypes.AgreementType.ConfidentialityAndNonDisclosure)) {\n // // hasConfidentialityAgreement = true \n // // }\n // if (agreement.hasAgreementType(APITypes.AgreementType.ExclusiveRecruitment)) {\n // hasExclusiveAgreement = true \n // }\n // })\n // }\n \n // if (hasMasterServicesAgremement && !hasExclusiveAgreement) {\n // setPricingAgreementType(PricingAgreementType.Standard)\n // } else if (hasMasterServicesAgremement && hasExclusiveAgreement) {\n // setPricingAgreementType(PricingAgreementType.Exclusive)\n // }\n\n setIsLoading(false)\n }\n\n when(\n () => accountStore.isLoading === false, \n () => {\n init() \n }\n )\n\n }, [\n accountStore,\n accountId\n ])\n \n const renderSelectionTitle = () => {\n if (serviceRequest.serviceRequestType === APITypes.ServiceRequestType.StaffingServices) {\n return \"Staffing Services Agreement Pending\"\n } else if (pricingAgreementType === PricingAgreementType.Exclusive) {\n return \"Exclusive Agreement\"\n } else if (pricingAgreementType === PricingAgreementType.Standard) {\n return \"Standard Agreement\"\n } else {\n return \"\"\n }\n }\n\n const renderConfidentialityAgreement = () => {\n let ndaRoute: string | undefined = undefined\n const accountId = accountStore.account!.id\n if (agreements && agreements.length > 0) {\n const nda = agreements.find((a: Agreement) => a.agreementTypes.includes(APITypes.AgreementType.ConfidentialityAndNonDisclosure))\n if (nda) {\n ndaRoute = `${Routes.nda}?accountId=${accountId}`\n }\n }\n\n if (ndaRoute) {\n return (\n \n Confidentiality And Non-Disclosure Agreement\n \n Existing Confidentiality agreement in place:\n {\n ControlTower.open(ndaRoute!, \"nda\")\n }}\n />\n \n \n )\n } else {\n return (\n \n Confidentiality And Non-Disclosure Agreement\n Note there is no Confidentiality And Non-Disclosure Agreement in place.\n \n )\n }\n }\n\n const renderPricingAgreement = () => {\n let exclusiveRoute: string | undefined = undefined\n let msaRoute: string | undefined = undefined\n const accountId = accountStore.account!.id\n if (agreements && agreements.length > 0) {\n const exclusive = agreements.find((a: Agreement) => a.agreementTypes.includes(APITypes.AgreementType.ExclusiveRecruitment))\n if (exclusive) {\n exclusiveRoute = `${Routes.msaExclusive}?accountId=${accountId}`\n } \n const msa = agreements.find((a: Agreement) => a.agreementTypes.includes(APITypes.AgreementType.MasterServicesAndNonSolicitation))\n if (msa) {\n msaRoute = `${Routes.msa}?accountId=${accountId}`\n }\n }\n\n if (userStore.isAdminOrAgent && serviceRequest.serviceRequestType === APITypes.ServiceRequestType.StaffingServices) {\n return (\n \n Since this is a staffing services request, GovGig will work on an agreement proposal for this request.\n \n )\n } else if (userStore.isAdminOrAgent && !pricingAgreementType) {\n return (\n \n There is no pricing agreement in place yet for this account.\n \n )\n } else if (serviceRequest.serviceRequestType === APITypes.ServiceRequestType.StaffingServices) {\n return (\n \n When you complete and send your request, we will work on an agreement proposal for staffing services.\n \n )\n } else if (pricingAgreementType === PricingAgreementType.Exclusive && exclusiveRoute) {\n return (\n \n Existing agreement in place:\n {\n ControlTower.open(exclusiveRoute!, \"msnsa\")\n }}\n />\n \n )\n } else if (pricingAgreementType === PricingAgreementType.Standard && msaRoute) {\n return (\n \n Existing agreement in place:\n {\n ControlTower.open(msaRoute!, \"msnsaExclusive\")\n }}\n />\n \n )\n }\n }\n \n const renderSelectionInfo = () => {\n \n return (\n \n {renderSelectionTitle()}\n { renderPricingAgreement() }\n { renderConfidentialityAgreement() }\n \n )\n }\n\n const renderLoading = () => {\n return (\n \n \n \n )\n }\n\n return (\n \n { isLoading === true ? renderLoading() : renderSelectionInfo() }\n \n )\n}\n\nexport default ServiceRequestPricing\n","import { Box, Grid, Paper, Typography, useTheme } from \"@material-ui/core\"\nimport DialogPanel from \"../../components/panel/DialogPanel\"\nimport DialogPanelInstructions from \"../../components/panel/DialogPanelInstructions\"\nimport SelectionCard from \"../../components/marketing/SelectionCard\"\nimport { useEffect, useState } from \"react\"\nimport DialogPanelButtons from \"../../components/panel/DialogPanelButtons\"\nimport Stack from \"../../components/Stack\"\nimport { useStores } from \"../../stores/StoreProvider\"\nimport RequestMeetingSection from \"../../components/marketing/sections/RequestMeetingSection\"\nimport { when } from \"mobx\"\nimport LoadingPanel from \"../../components/panel/LoadingPanel\"\nimport ServiceRequestPricing from \"../../views/serviceRequests/ServiceRequestPricing\"\nimport { PricingAgreementType } from \"../../stores/AccountStore\"\nimport Agreement from \"../../model/Agreement\"\nimport * as APITypes from \"../../API\"\nimport ServiceRequest from \"../../model/ServiceRequest\"\n\nconst ServiceRequestPricingForm = ({\n accountId, \n serviceRequest, \n onSelectPricingAgreement, \n onClickBack, \n onClickNext\n}: {\n accountId: string\n serviceRequest: ServiceRequest\n onSelectPricingAgreement: (pricingAgreementType: PricingAgreementType) => void \n onClickBack: () => void \n onClickNext: () => Promise\n}) => {\n const theme = useTheme() \n const { accountStore } = useStores()\n \n const [isLoading, setIsLoading] = useState(true)\n const [isProcessing, setIsProcessing] = useState(false)\n const [pricingAgreementType, setPricingAgreementType] = useState()\n const [isAgreementInPlace, setIsAgreementInPlace] = useState(false)\n\n useEffect(() => {\n const init = async () => {\n const pricingAgreementType = await accountStore.getPricingAgreementType(accountId)\n setPricingAgreementType(pricingAgreementType)\n if (pricingAgreementType) {\n setIsAgreementInPlace(true)\n }\n\n setIsLoading(false)\n }\n\n when(\n () => accountStore.isLoading === false, \n () => {\n init() \n }\n )\n\n }, [\n accountStore,\n accountId\n ])\n\n const agreementTypeForPricingAgreementType = (pricingAgreementType: PricingAgreementType) => {\n if (pricingAgreementType === PricingAgreementType.Standard) {\n return APITypes.AgreementType.MasterServicesAndNonSolicitation\n } else if (pricingAgreementType === PricingAgreementType.Exclusive) {\n return APITypes.AgreementType.ExclusiveRecruitment\n } else {\n return null \n }\n }\n\n const handleSelectPricingAgreementType = async (pricingAgreementType: PricingAgreementType) => {\n setIsProcessing(true)\n\n const agreements = await accountStore.listAgreementsByAccount(accountId)\n const agreementType = agreementTypeForPricingAgreementType(pricingAgreementType)\n const hasAgreement = agreements.find((a: Agreement) => a.agreementTypes.includes(agreementType!))\n\n setIsAgreementInPlace(hasAgreement !== undefined)\n \n onSelectPricingAgreement(pricingAgreementType)\n setPricingAgreementType(pricingAgreementType)\n\n setIsProcessing(false)\n }\n\n const renderMessage = () => {\n if (serviceRequest.serviceRequestType === APITypes.ServiceRequestType.StaffingServices) {\n return (\n \n \n When you complete and send your request, we will work on an agreement proposal for staffing services.\n \n \n )\n } else if (pricingAgreementType === PricingAgreementType.Exclusive) {\n return (\n \n \n On the next screen, you'll have the opportunity to accept our exclusive master services and non-solicitation (MS&NSA) agreement. The content is exactly the same as our regular agreement, but states that all your out-of-house recruiting will go through GovGig first. Feel free to review that agreement and accept to claim your special 15% rate.\n \n \n )\n } else if (pricingAgreementType === PricingAgreementType.Standard) {\n return (\n \n \n On the next screen, you'll have the opportunity to accept our master services and non-solicitation (MS&NSA) agreement.\n \n \n )\n }\n }\n\n const renderNextStep = () => {\n return (\n \n { isAgreementInPlace ? \n \n : \n renderMessage()\n }\n \n )\n }\n\n const renderContent = () => {\n return (\n \n \n \n {\n handleSelectPricingAgreementType(PricingAgreementType.Standard)\n }}\n onLearnMoreClick={() => {\n\n }}\n />\n \n \n {\n handleSelectPricingAgreementType(PricingAgreementType.Exclusive)\n }}\n onLearnMoreClick={() => {\n\n }}\n />\n \n \n { renderNextStep() }\n {\n setIsProcessing(true)\n onClickNext()\n }} \n onClickBack={onClickBack}\n />\n \n )\n }\n\n return (\n \n \n { isLoading === true ? : renderContent() }\n \n \n )\n}\n\nexport default ServiceRequestPricingForm\n","import { Box, Typography, useTheme } from \"@material-ui/core\"\nimport Stack from \"../../components/Stack\"\nimport ServiceRequest from \"../../model/ServiceRequest\"\nimport ServiceRequestTypeChip from \"./ServiceRequestTypeChip\"\nimport CardValue from \"../../components/CardValue\"\nimport LocationOn from \"@material-ui/icons/LocationOn\"\nimport { durationBetweenISODates } from \"../../stores/StoreUtilities\"\nimport Schedule from \"@material-ui/icons/Schedule\"\nimport JobPost from \"../../model/JobPost\"\nimport Contract from \"../../model/Contract\"\nimport { useEffect, useState } from \"react\"\nimport { when } from \"mobx\"\nimport { useStores } from \"../../stores/StoreProvider\"\n\nconst ServiceRequestCard = ({\n serviceRequest\n}: {\n serviceRequest: ServiceRequest\n}) => {\n const theme = useTheme()\n const { jobStore } = useStores()\n\n const [contracts, setContracts] = useState([])\n\n useEffect(() => {\n const init = async () => {\n const contracts: Contract[] = []\n serviceRequest.jobPosts.forEach(jobPost => {\n const found = contracts.find(checkContract => checkContract.id === jobPost.contractId)\n if (!found) {\n contracts.push(jobPost.contract!)\n } \n })\n setContracts(contracts)\n }\n\n when(\n () => jobStore.isLoading === false, \n () => {\n init() \n }\n )\n }, [\n\n ])\n \n const renderContract = (contract: Contract) => {\n const duration = durationBetweenISODates(contract.startDate, contract.endDate)\n return (\n \n \n Job Group (Contract or Project)\n { duration && }>{duration} }\n { contract.location && }>{contract.location!.name} }\n { contract.name === \"\" || !contract.name ? \"Not set\" : contract.name }\n { contract.category === \"\" || !contract.category ? \"Not set\" : contract.category }\n { contract.value === \"\" || !contract.value ? \"Not set\" : contract.value }\n \n \n )\n }\n\n const renderContracts = () => {\n return (\n \n { contracts.map((contract: Contract) => {\n return (\n \n { renderContract(contract) }\n \n )\n }) }\n \n )\n }\n\n return (\n \n {serviceRequest.name}\n \n { renderContracts() }\n \n )\n}\n\nexport default ServiceRequestCard \n","import { useEffect, useState } from \"react\"\nimport SimpleForm from \"../form/SimpleForm\"\nimport DialogPanel from \"./DialogPanel\"\nimport DialogPanelButtons from \"./DialogPanelButtons\"\nimport DialogPanelInstructions from \"./DialogPanelInstructions\"\nimport { Box, Button, FormGroup, Theme, Typography, createStyles, makeStyles, useTheme } from \"@material-ui/core\"\nimport CheckboxValidator from \"../form/CheckboxValidator\"\nimport { Routes } from \"../ControlTower\"\nimport Stack from \"../Stack\"\nimport * as APITypes from \"../../API\"\nimport { useStores } from \"../../stores/StoreProvider\"\nimport RequestMeetingSection from \"../marketing/sections/RequestMeetingSection\"\n\nconst useStyles = makeStyles((theme: Theme) => createStyles({\n formGroupTerms: {\n display: \"flex\",\n justifyContent: \"flex-start\",\n flexWrap: \"nowrap\",\n margin: 0,\n padding: 0,\n maxHeight: 40,\n },\n termsCheckbox: {\n flex: 0,\n width: 32,\n maxWidth: 32\n },\n termsLabel: {\n flex: 1,\n alignSelf: \"center\",\n color: '#252525',\n fontSize: '13px',\n paddingTop: 0,\n lineHeight: 1.2,\n },\n terms: {\n height: \"calc(50vh)\",\n width: \"100%\",\n marginBottom: theme.spacing(1)\n },\n iframe: {\n width: \"100%\",\n height: \"100%\",\n // border: \"none\",\n overflowY: \"scroll\",\n border: \"1px solid #eee\",\n borderRadius: theme.spacing(1)\n }\n}))\n\nconst DialogAgreementPanel = ({\n formId, \n checkboxId, \n agreementId, \n agreementTitle, \n agreementRoute, \n agreementType, \n instructions, \n onClickBack,\n onClickNext, \n onClickSkip\n}: {\n formId: string \n checkboxId: string \n agreementId: string \n agreementTitle: string \n agreementType: APITypes.AgreementType, \n agreementRoute: Routes\n instructions: string[]\n onClickBack: () => void \n onClickNext: () => Promise\n onClickSkip?: () => void \n}) => {\n const classes = useStyles() \n const { accountStore, userStore } = useStores()\n const theme = useTheme()\n \n const [isProcessing, setIsProcessing] = useState(false)\n const [isChecked, setIsChecked] = useState(false)\n const [atBottom, setAtBottom] = useState(false)\n\n useEffect(() => {\n const handleAtBottom = (event: any) => {\n if (event?.data === 'at-bottom') {\n console.log(`Signup atBottom = true`)\n setAtBottom(true)\n }\n }\n\n window.addEventListener('message', handleAtBottom)\n\n return () => window.removeEventListener('message', handleAtBottom)\n }, [\n\n ])\n \n const renderTermsCheckbox = (name: string, label: any, required: boolean) => {\n return (\n \n ) => {\n const checked = event.target.checked \n console.debug(\"renderTermsCheckbox\", checked)\n setIsChecked(checked)\n }} \n />\n \n {label}\n \n \n )\n }\n\n const printFrame = (id: string) => {\n const frame = window.frames[id]\n if (frame) {\n const contentWindow = frame.contentWindow\n if (contentWindow) {\n contentWindow.focus();\n contentWindow.print();\n }\n }\n\n return false;\n };\n \n return (\n \n \n {\n setIsProcessing(true)\n\n const user = userStore.user! \n const agreement = user.agreements.length > 0 ? user.agreements[0] : undefined\n\n if (agreement) {\n const input: APITypes.UpdateAgreementInput = {\n id: agreement.id,\n agreementTypes: [\n agreementType,\n ...agreement.agreementTypes\n ]\n }\n const updatedAgreement = await userStore.updateAgreement(input)\n user.agreement = updatedAgreement\n } else {\n const input: APITypes.CreateAgreementInput = {\n userId: user.id, \n accountId: accountStore.account!.id, \n agreementTypes: [\n agreementType\n ]\n }\n const createdAgreement = await userStore.createAgreement(input)\n user.agreement = createdAgreement\n }\n\n await onClickNext() \n\n setIsProcessing(false)\n }} \n buttonArea={\n {\n // setStep(RequestStep.EnterJob)\n // }} \n onClickBack={onClickBack} \n onClickSkip={onClickSkip}\n />\n }\n >\n
    \n