{"version":3,"sources":["./src/app/features/homepage/components/annonymous-home-view/annonymous-home-view.component.ts","./src/app/features/homepage/components/annonymous-home-view/annonymous-home-view.component.html","./src/app/features/plan-of-action/actions/add-required-acs-codes-action.service.ts","./src/app/features/financials/grid-actions/grid-return-to-financials/grid-return-to-financials-action.service.ts","./src/app/features/shared/components/duration-display-control/duration-display-control.component.ts","./src/app/app-devware-config-provider.service.ts","./src/app/features/shared/pages/home/home.component.ts","./src/app/features/shared/pages/home/home.component.html","./src/app/features/z-devware/visualizations/models/dw-chart-colors.model.ts","./src/app/features/plan-of-action/components/plan-of-action-execute/plan-of-action-execute.component.ts","./src/app/features/plan-of-action/components/plan-of-action-execute/plan-of-action-execute.component.html","./src/app/features/plan-of-action/components/poa-print-options-modal/poa-print-options-modal.component.ts","./src/app/features/plan-of-action/components/poa-print-options-modal/poa-print-options-modal.component.html","./src/app/features/booking/data-sources/check-ride-from-data-source.service.ts","./src/app/features/examiner/components/examiner-financial-snapshot/examiner-financial-snapshot.component.ts","./src/app/features/plan-of-action/components/plan-of-action-section/plan-of-action-section.component.ts","./src/app/features/plan-of-action/components/plan-of-action-section/plan-of-action-section.component.html","./src/app/features/plan-of-action/actions/checkride-create-poa-action.service.ts","./src/app/features/financials/components/financial-dashboard/financial-dashboard.component.ts","./src/app/features/financials/components/financial-dashboard/financial-dashboard.component.html","./src/app/features/shared/models/pilexos-user.model.ts","./src/app/pages/app/app.component.ts","./src/app/pages/app/app.component.html","./src/app/features/applicant/components/applicant-check-ride-util/applicant-check-ride-util.component.ts","./src/app/features/financials/services/financials-repository.service.ts","./src/app/meta-data/app-meta-data.service.ts","./src/app/features/plan-of-action/components/plan-of-action-sections/plan-of-action-sections.component.ts","./src/app/features/plan-of-action/components/plan-of-action-sections/plan-of-action-sections.component.html","./src/app/features/booking/components/schedule-selector/schedule-selector.component.ts","./src/app/features/booking/components/schedule-selector/schedule-selector.component.html","./src/app/features/shared/contexts/current-pilot-examiner/current-pilot-examiner.service.ts","./src/app/features/plan-of-action/components/generate-questions-modal/generate-questions-modal.component.ts","./src/app/features/plan-of-action/components/generate-questions-modal/generate-questions-modal.component.html","./src/app/features/calendar/services/calendar-repository.service.ts","./src/app/features/plan-of-action/actions/poa-complete-checkride-action.service.ts","./src/environments/environment.ts","./src/app/features/plan-of-action/data-source/acs-code-lookup-data-source.service.ts","./src/app/features/calendar/components/calendar-weekday/calendar-weekday.component.ts","./src/app/features/calendar/components/calendar-weekday/calendar-weekday.component.html","./src/app/features/examiner/components/examiner-calendar-check-util/examiner-calendar-check.component.ts","./src/app/features/examiner/components/examiner-calendar-check-util/examiner-calendar-check.component.html","./src/app/features/examiner/services/examiner-task.service.ts","./src/app/features/examiner/components/examiner-check-ride-util/examiner-check-ride-util.component.ts","./src/app/features/plan-of-action/actions/poa-print-action.service.ts","./src/app/features/payments/services/payment-repository.service.ts","./src/app/features/homepage/components/authenticated-home-view/authenticated-home-view.component.ts","./src/app/features/homepage/components/authenticated-home-view/authenticated-home-view.component.html","./src/app/features/financials/components/admin-financials/admin-financials.component.ts","./src/app/features/homepage/services/pilexos-home-page-repository.service.ts","./src/app/features/plan-of-action/components/select-acs-codes-modal/select-acs-codes-modal.component.ts","./src/app/features/plan-of-action/components/select-acs-codes-modal/select-acs-codes-modal.component.html","./src/app/features/z-devware/visualizations/components/dw-mini-tile/dw-mini-tile.component.ts","./src/app/features/z-devware/visualizations/components/dw-mini-tile/dw-mini-tile.component.html","./src/app/features/examiner/components/examiner-dashboard/examiner-dashboard.component.ts","./src/app/features/examiner/components/examiner-dashboard/examiner-dashboard.component.html","./src/app/features/plan-of-action/components/select-sections/select-sections.component.ts","./src/app/features/plan-of-action/components/select-sections/select-sections.component.html","./src/app/features/booking/components/examiner-booking-search-results/examiner-booking-search-results.component.ts","./src/app/features/booking/components/examiner-booking-search-results/examiner-booking-search-results.component.html","./src/app/features/payments/components/checkride-payment-util-examiner/checkride-payment-util-examiner.component.ts","./src/app/features/shared/components/duration-control/duration-control.component.ts","./src/app/features/calendar/components/google-calendar-consent/google-calendar-consent.component.ts","./src/app/features/calendar/components/google-calendar-consent/google-calendar-consent.component.html","./src/app/features/shared/components/usre-avatar/usre-avatar.component.ts","./src/app/features/shared/components/usre-avatar/usre-avatar.component.html","./src/app/features/plan-of-action/actions/poa-start-complete-checkride-action.service.ts","./src/app/features/payments/components/checkride-payment-util/checkride-payment-util.component.ts","./src/app/features/plan-of-action/components/generate-sections-modal/generate-sections-modal.component.ts","./src/app/features/plan-of-action/components/generate-sections-modal/generate-sections-modal.component.html","./src/app/features/plan-of-action/actions/add-missed-acs-codes-action.service.ts","./src/app/features/booking/components/examiner-booking-search-result/examiner-booking-search-result.component.ts","./src/app/features/booking/components/examiner-booking-search-result/examiner-booking-search-result.component.html","./src/app/features/examiner/components/examiner-location-util/examiner-location-util.component.ts","./src/app/features/plan-of-action/actions/poa-save-and-execute-action.service.ts","./src/app/features/z-devware/tasks/components/dw-task-container/dw-task-container.component.ts","./src/app/features/z-devware/tasks/components/dw-task-container/dw-task-container.component.html","./src/app/features/plan-of-action/data-source/plan-of-action-data-source.service.ts","./src/app/features/calendar/services/calendar-auth-consent.service.ts","./src/app/features/booking/actions/rebook-examiner-checkride/rebook-examiner-checkride-action.service.ts","./src/app/features/examiner/components/examiner-booking-calendar/examiner-booking-calendar.component.ts","./src/app/features/examiner/components/examiner-booking-calendar/examiner-booking-calendar.component.html","./node_modules/moment/locale sync ^\\.\\/.*$","./src/app/features/plan-of-action/actions/checkride-save-and-open-poa-action.service.ts","./src/app/features/z-devware/visualizations/services/dw-chart-builder.service.ts","./src/app/features/booking/components/examiner-booking-assigned/examiner-booking-assigned.component.ts","./src/app/features/booking/components/examiner-booking-assigned/examiner-booking-assigned.component.html","./src/app/features/payments/components/payment-info/payment-info.component.ts","./src/app/features/payments/components/payment-info/payment-info.component.html","./src/app/features/shared/contexts/current-student-context/current-student-context.service.ts","./src/app/features/shared/util/date-time-util.service.ts","./src/app/features/plan-of-action/components/required-acs-codes-grid/required-acs-codes-grid.component.ts","./src/app/features/plan-of-action/components/required-acs-codes-grid/required-acs-codes-grid.component.html","./src/app/features/plan-of-action/components/select-acs-codes/select-acs-codes.component.ts","./src/app/features/plan-of-action/components/select-acs-codes/select-acs-codes.component.html","./src/app/features/homepage/components/home-page/home-page.component.ts","./src/app/features/homepage/components/home-page/home-page.component.html","./src/app/app.module.ts","./src/app/features/plan-of-action/components/plan-of-action-execute-question/plan-of-action-execute-question.component.ts","./src/app/features/plan-of-action/components/plan-of-action-execute-question/plan-of-action-execute-question.component.html","./src/app/features/financials/models/checkride-financial-fields.model.ts","./src/app/features/z-devware/visualizations/components/dw-chart-tile/dw-chart-tile.component.ts","./src/app/features/z-devware/visualizations/components/dw-chart-tile/dw-chart-tile.component.html","./src/app/features/plan-of-action/actions/generate-questions-action.service.ts","./src/app/features/homepage/components/menu-item-card/menu-item-card.component.ts","./src/app/features/homepage/components/menu-item-card/menu-item-card.component.html","./src/app/features/financials/components/examiner-financials/examiner-financials.component.ts","./src/app/features/booking/actions/rebook-applicant-checkride/rebook-applicant-checkride-action.service.ts","./src/app/features/plan-of-action/actions/generate-sections-action.service.ts","./src/app/features/plan-of-action/components/checkride-plan-of-action-util/checkride-plan-of-action-util.component.ts","./src/app/features/plan-of-action/services/plan-of-action-modal.service.ts","./src/app/features/applicant/services/applicant-repository.service.ts","./src/app/features/shared/components/email-dispaly/email-dispaly.component.ts","./src/app/features/shared/components/date-time-display-control/date-time-display-control.component.ts","./src/app/features/booking/actions/accept-proposed-date/accept-proposed-date-action.service.ts","./src/app/features/shared/models/pilexos-user-type.enum.ts","./src/app/features/plan-of-action/components/question-edit-control/question-edit-control.component.ts","./src/app/features/plan-of-action/components/question-edit-control/question-edit-control.component.html","./src/app/features/applicant/components/applicant-dashboard/applicant-dashboard.component.ts","./src/app/features/applicant/components/applicant-dashboard/applicant-dashboard.component.html","./src/app/features/homepage/components/user-registration/user-registration.component.ts","./src/app/features/homepage/components/user-registration/user-registration.component.html","./src/app/features/calendar/models/calendar-event.model.ts","./src/app/features/plan-of-action/services/plan-of-action-generator.service.ts","./src/app/features/examiner/services/examiner-repository.service.ts","./src/app/features/homepage/components/additional-content/additional-content.component.ts","./src/app/features/payments/actions/checkride-payment-refund-action.service.ts","./src/app/features/financials/components/financial-dashboard-filters/financial-dashboard-filters.component.ts","./src/app/features/financials/components/financial-dashboard-filters/financial-dashboard-filters.component.html","./src/app/meta-data/app-permissions.enum.ts","./src/app/features/payments/components/payment-modal/payment-modal.component.ts","./src/app/features/payments/components/payment-modal/payment-modal.component.html","./src/app/features/examiner/components/examiner-public-profile/examiner-public-profile.component.ts","./src/app/features/examiner/components/examiner-public-profile/examiner-public-profile.component.html","./src/app/features/financials/models/chart-data-request.model.ts","./src/app/features/plan-of-action/components/plan-of-action-execute-section/plan-of-action-execute-section.component.ts","./src/app/features/plan-of-action/components/plan-of-action-execute-section/plan-of-action-execute-section.component.html","./src/app/features/plan-of-action/contexts/acs-written-data-context.service.ts","./src/app/features/z-devware/visualizations/models/dw-chart-preferences.model.ts","./src/app/features/booking/filters/examiner-task-filter/examiner-task-filter.component.ts","./src/app/features/plan-of-action/services/plan-of-action-util.service.ts","./src/app/features/plan-of-action/components/plan-of-action-section-edit/plan-of-action-section-edit.component.ts","./src/app/features/plan-of-action/components/plan-of-action-section-edit/plan-of-action-section-edit.component.html","./src/app/app-routing.module.ts","./src/app/features/plan-of-action/components/plan-of-action-question/plan-of-action-question.component.ts","./src/app/features/plan-of-action/components/plan-of-action-question/plan-of-action-question.component.html","./src/app/features/calendar/models/calendar-click-event.model.ts","./src/app/features/plan-of-action/services/plan-of-action-repository.service.ts","./src/app/features/booking/components/schedule-detail/schedule-detail.component.ts","./src/app/features/booking/components/schedule-detail/schedule-detail.component.html","./src/main.ts","./$_lazy_route_resource lazy namespace object"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA0D;AAGyC;AACsC;;;;;;;;;QCSzH,wEAC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ACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;A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;;;gBAFE,0DACJ;gBADI,yGACJ;;;;;;;;;;;;;;;;;;ACNJ;AAAA;AAAA;AAAA;AAAA;AAA+C;AAIU;;;AAEzD,IAAI,qEAAW,CAAC,UAAU,EAAE;IAC1B,oEAAc,EAAE,CAAC;CAClB;AAED,2EAAwB,CAAC,eAAe,CAAC,yDAAD,CAAW;KAChD,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;;;;;;;;;;;;;ACXpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE;AACF;AACA,4CAA4C,WAAW;AACvD;AACA;AACA,qC","file":"main.fd9582a99da4ae41f7fc.js","sourcesContent":["import { Component, Inject, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { MenuItemCardData } from '../../models/menu-item-card-data.model';\r\nimport { PilexosUserType, PilexosUserTypeIds} from '../../../shared/models/pilexos-user-type.enum';\r\nimport { DwSecurityOrchestrationService, DwSecurityRepositoryService, DwSecurityRepositoryServiceToken } from '@devwareapps/devware-cap';\r\nimport { PilexosHomePageRepository } from '../../services/pilexos-home-page-repository.service';\r\nimport { DwUserTypePilexosEntity } from '../../../../meta-data/extensions/dw-user-type-entity.model';\r\n\r\n@Component({\r\n selector: 'app-annonymous-home-view',\r\n templateUrl: './annonymous-home-view.component.html',\r\n styleUrls: ['./annonymous-home-view.component.scss']\r\n})\r\nexport class AnnonymousHomeViewComponent implements OnInit {\r\n\r\n\r\n constructor(private router: Router,\r\n private dwSecurityOrchestrationService: DwSecurityOrchestrationService,\r\n @Inject(DwSecurityRepositoryServiceToken) private dwSecurityRepositoryService: DwSecurityRepositoryService,\r\n private homePageRepository: PilexosHomePageRepository\r\n\r\n ) { }\r\n\r\n topCards: MenuItemCardData[] = [];\r\n\r\n ngOnInit(): void {\r\n \r\n\r\n this.homePageRepository.getUserTypes()\r\n .subscribe(userTypes => {\r\n this.buildAnonymousCards(userTypes);\r\n })\r\n }\r\n buildAnonymousCards(userTypes: DwUserTypePilexosEntity[]) {\r\n this.topCards = [];\r\n\r\n for(const userType of userTypes) {\r\n const card = this.buildUserTypeCard(userType);\r\n\r\n if (card) {\r\n this.topCards.push(card);\r\n }\r\n }\r\n\r\n }\r\n\r\n buildUserTypeCard(userType: DwUserTypePilexosEntity) {\r\n if (!userType.ShowOnRegistration) {\r\n return null;\r\n }\r\n const card : MenuItemCardData ={\r\n iconClass: this.getDefaultIcon(userType),\r\n iconBackgroundClass: 'dw-blue-bg',\r\n iconText: userType.UserTypeDisplay,\r\n buttonClass: 'btn btn-primary',\r\n buttonText: 'SIGN UP',\r\n contentHtml: userType.UserTypeDisplay,\r\n clickFunc: () => { this.register(userType.UserTypeId as any) }\r\n }\r\n\r\n if (userType.UserTypeClasses) {\r\n card.iconClass = userType.UserTypeClasses;\r\n }\r\n\r\n return card;\r\n }\r\n\r\n private getDefaultIcon(userType: DwUserTypePilexosEntity) {\r\n switch (userType.UserTypeId) {\r\n case PilexosUserTypeIds.pilotExaminer:\r\n return 'fa fa-clipboard-list-check';\r\n case PilexosUserTypeIds.studentApplicant:\r\n return 'fa fa-user-circle';\r\n case PilexosUserTypeIds.flightSchool:\r\n return 'fa fa-users';\r\n }\r\n }\r\n\r\n\r\n private buildAnonymousCardsOld() {\r\n this.topCards = [];\r\n\r\n \r\n this.topCards.push({\r\n iconClass: 'fa fa-clipboard-list-check',\r\n iconBackgroundClass: 'dw-blue-bg',\r\n iconText: 'Pilot Examiners',\r\n buttonClass: 'btn btn-primary',\r\n buttonText: 'SIGN UP',\r\n contentHtml: 'Pilot Examiners',\r\n clickFunc: () => { this.register(PilexosUserType.pilotExaminer) }\r\n });\r\n\r\n this.topCards.push({\r\n iconClass: 'fa fa-user-circle',\r\n iconBackgroundClass: 'dw-blue-bg',\r\n \r\n buttonClass: 'btn btn-primary',\r\n buttonText: 'SIGN UP',\r\n contentHtml: 'Student Pilots',\r\n clickFunc: () => { this.register(PilexosUserType.studentApplicant) }\r\n });\r\n\r\n \r\n this.topCards.push({\r\n iconClass: 'fa fa-users',\r\n iconBackgroundClass: 'dw-blue-bg',\r\n \r\n buttonClass: 'btn btn-primary',\r\n buttonText: 'SIGN UP',\r\n contentHtml: 'Flight Schools',\r\n clickFunc: () => { this.register(PilexosUserType.flightInstructor) }\r\n });\r\n }\r\n\r\n login() {\r\n this.router.navigateByUrl(\"/login\");\r\n }\r\n\r\n register(userType: PilexosUserType) {\r\n this.router.navigateByUrl(`/register?type=${userType}`);\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n Welcome to Pilexos\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Injectable } from \"@angular/core\";\r\nimport { DwAction, DwActionHandler, DwActionResult, DwActionType, DwMdFormActionState, DwMdFormContextInfo, DwMessageSeverity, DwModalButtonStandardConfigs, DwModalConfig, DwModalService, DwModalSize } from \"@devwareapps/devware-cap\";\r\nimport { Observable, of } from \"rxjs\";\r\nimport { AcsCodeLookupRequestEntity, ApplicantAcsWrittenResultEntity, AppMetaDataItemNames, CheckRideRequestEntity, PlanOfActionEntity, PlanOfActionSectionEntity } from \"../../../meta-data/app-meta-data.service\";\r\nimport { PlanOfActionRepositoryService } from \"../services/plan-of-action-repository.service\";\r\nimport { GenerateSectionsModalComponent } from \"../../plan-of-action/components/generate-sections-modal/generate-sections-modal.component\";\r\nimport { map, tap } from \"rxjs/operators\";\r\nimport { PlanOfActionGeneratorService } from \"../services/plan-of-action-generator.service\";\r\nimport { GenerateQuestionsModalComponent } from \"../../plan-of-action/components/generate-questions-modal/generate-questions-modal.component\";\r\nimport { AcsCodeSelectionModalOptions, AcsCodeSelectionModalResult } from \"../models/acs-code-selection-modal-options.model\";\r\nimport { AcsCodeStatuses } from \"../models/acs-code-items.model\";\r\n\r\n@DwAction({\r\n keyName: 'add-required-acs-codes-action',\r\n display: 'Add Missed ACS Codes',\r\n actionType: DwActionType.formAction,\r\n isGlobal: false,\r\n parentItemName: [AppMetaDataItemNames.PlanOfAction, AppMetaDataItemNames.ApplicantAcsWrittenResult],\r\n allowOnce: true,\r\n defaultButtonConfig: {\r\n useButtonDefaults: false,\r\n buttonClass: 'btn btn-warning mr-1 mt-1',\r\n buttonText: 'Add ACS Codes',\r\n iconClass: 'fa fa-tasks-alt'\r\n },\r\n configData: {\r\n requireValidation: false,\r\n redirectAfter: false,\r\n actionMessage: '',\r\n }\r\n})\r\n@Injectable()\r\nexport class AddRequiredAcsCodesActionService implements DwActionHandler {\r\n\r\n constructor(private planOfActionRepositoryService: PlanOfActionRepositoryService,\r\n private planofActionGeneratorService: PlanOfActionGeneratorService,\r\n private dwModalService: DwModalService\r\n\r\n ) { }\r\n\r\n handleAction(actionState: DwMdFormActionState): Observable {\r\n\r\n const result = new DwActionResult();\r\n\r\n switch (actionState.formApi.item) {\r\n case AppMetaDataItemNames.PlanOfAction:\r\n const planOfAction = actionState.formApi.getFormData();\r\n\r\n return this.showPlanOfActionAcsSelectionModal(actionState, planOfAction);\r\n case AppMetaDataItemNames.CheckRideRequest:\r\n const checkRideRequest = actionState.formApi.getFormData();\r\n\r\n return this.showCheckrideAcsSelectionModal(actionState, checkRideRequest);\r\n case AppMetaDataItemNames.AcsCodeLookupRequest:\r\n const lookupRequest = actionState.formApi.getFormData();\r\n\r\n return this.showCheckrideAcsSelectionModal(actionState, lookupRequest, 30);\r\n }\r\n }\r\n\r\n showCheckrideAcsSelectionModal(actionState: DwMdFormActionState, checkRideRequest: CheckRideRequestEntity | AcsCodeLookupRequestEntity, limitCodeCount?: number): Observable {\r\n\r\n return this.showSelectAcsModal(actionState, checkRideRequest.ApplicantAcsWrittenResult)\r\n .pipe(map(result => {\r\n if (!result.cancelled) {\r\n if (limitCodeCount) {\r\n if (checkRideRequest.ApplicantAcsWrittenResult.ApplicantAcsWrittenResultMissedCode.length > limitCodeCount) {\r\n //actionState.formApi.setFormMessage({ messageBody: `You can add a maximum of ${limitCodeCount}`, severity: DwMessageSeverity.error });\r\n\r\n result.message = { messageBody: `You can add a maximum of ${limitCodeCount}, some codes were not added!`, severity: DwMessageSeverity.warning }\r\n checkRideRequest.ApplicantAcsWrittenResult.ApplicantAcsWrittenResultMissedCode.length = limitCodeCount;\r\n }\r\n }\r\n\r\n actionState.formApi.patchContextData(DwMdFormContextInfo.DATA_CONTEXT_NAME, checkRideRequest);\r\n actionState.formApi.formGroup.patchValue(checkRideRequest);\r\n actionState.formApi.setFormData(checkRideRequest);\r\n\r\n return result;\r\n }\r\n }));\r\n\r\n }\r\n\r\n showPlanOfActionAcsSelectionModal(actionState: DwMdFormActionState, planOfAction: PlanOfActionEntity): Observable {\r\n\r\n if (!planOfAction.ApplicantAcsWrittenResult?.AcsTestId) {\r\n planOfAction.ApplicantAcsWrittenResult.AcsTestId = planOfAction.AcsTestId;\r\n }\r\n\r\n const acsCodeStatuses = this.planOfActionRepositoryService.getAcsCodeStatus(planOfAction);\r\n\r\n return this.showSelectAcsModal(actionState, planOfAction.ApplicantAcsWrittenResult, acsCodeStatuses)\r\n .pipe(tap(result => {\r\n if (!result.cancelled) {\r\n // Plan of action's reference is updated so we can just use that\r\n actionState.formApi.patchContextData(DwMdFormContextInfo.DATA_CONTEXT_NAME, planOfAction);\r\n actionState.formApi.formGroup.patchValue(planOfAction);\r\n actionState.formApi.setFormData(planOfAction);\r\n }\r\n }))\r\n\r\n }\r\n\r\n showSelectAcsModal(actionState: DwMdFormActionState, applicantWritten: ApplicantAcsWrittenResultEntity, acsCodeStatuses?: AcsCodeStatuses): Observable {\r\n let modalConfig = new DwModalConfig();\r\n\r\n modalConfig.buttons = DwModalButtonStandardConfigs.instance.okAndClose;\r\n\r\n modalConfig.allowFullScreen = true;\r\n modalConfig.modalSize = DwModalSize.large;\r\n\r\n modalConfig.component = GenerateQuestionsModalComponent;\r\n\r\n modalConfig.title = 'Add ACS Codes';\r\n modalConfig.data = {\r\n allowQuestionSelect: false,\r\n acsTestId: applicantWritten.AcsTestId,\r\n acsCodeStatuses: acsCodeStatuses\r\n //planOfAction: planOfAction,\r\n };\r\n\r\n return this.dwModalService.showModal(modalConfig)\r\n .pipe(map(modalResult => {\r\n const result = new DwActionResult();\r\n\r\n if (result.cancelled) {\r\n result.cancelled = true;\r\n\r\n return result;\r\n }\r\n\r\n if (modalResult.data) {\r\n if (modalResult.data.GenerateCodesOptions.acsCodes?.length > 0) {\r\n this.planofActionGeneratorService.addRequiredAcsCodes(applicantWritten, modalResult.data.GenerateCodesOptions);\r\n }\r\n\r\n // // Plan of action's reference is updated so we can just use that\r\n // actionState.formApi.patchContextData(DwMdFormContextInfo.DATA_CONTEXT_NAME, planOfAction); \r\n // actionState.formApi.formGroup.patchValue(planOfAction);\r\n // actionState.formApi.setFormData(planOfAction);\r\n }\r\n\r\n return result;\r\n }));\r\n }\r\n\r\n\r\n // showPlanOfActionModal(actionState: DwMdFormActionState, planOfAction: PlanOfActionEntity): Observable {\r\n // let modalConfig = new DwModalConfig();\r\n\r\n // modalConfig.buttons = DwModalButtonStandardConfigs.instance.okAndClose;\r\n\r\n // modalConfig.allowFullScreen = true;\r\n // modalConfig.modalSize = DwModalSize.large;\r\n\r\n // modalConfig.component = GenerateQuestionsModalComponent;\r\n\r\n // modalConfig.title = 'Add Missed AcsCodes';\r\n // modalConfig.data = {\r\n // allowQuestionSelect: false,\r\n // acsTestId: planOfAction.AcsTestId,\r\n // acsCodeStatuses: this.planOfActionRepositoryService.getAcsCodeStatus(planOfAction),\r\n // //planOfAction: planOfAction,\r\n // };\r\n\r\n // return this.dwModalService.showModal(modalConfig)\r\n // .pipe(map(modalResult => {\r\n // const result = new DwActionResult();\r\n\r\n // if (result.cancelled) {\r\n // result.cancelled = true;\r\n\r\n // return result;\r\n // }\r\n\r\n // if (modalResult.data) {\r\n // if (modalResult.data.GenerateCodesOptions.acsCodes?.length > 0) {\r\n // this.planofActionGeneratorService.addRequiredAcsCodes(planOfAction, modalResult.data.GenerateCodesOptions);\r\n // }\r\n\r\n // // Plan of action's reference is updated so we can just use that\r\n // actionState.formApi.patchContextData(DwMdFormContextInfo.DATA_CONTEXT_NAME, planOfAction);\r\n // actionState.formApi.formGroup.patchValue(planOfAction);\r\n // actionState.formApi.setFormData(planOfAction);\r\n // }\r\n\r\n // return result;\r\n // }));\r\n // }\r\n}","import { Injectable } from \"@angular/core\";\r\nimport { DwAction, DwGridActionConfig, DwGridActionKeys, DwActionType, DwButtonType, DwActionHandler, DwMetaDataGridNavigationService, DwMetaDataGridActionState, DwActionResult } from \"@devwareapps/devware-cap\";\r\nimport { Observable, of } from \"rxjs\";\r\nimport { AppMetaDataItemNames } from \"../../../../meta-data/app-meta-data.service\";\r\nimport { FinancialsRepositoryService } from \"../../services/financials-repository.service\";\r\n\r\n@DwAction({\r\n keyName: 'grid-return-to-financials',\r\n display: 'Return to Charts',\r\n actionType: DwActionType.gridAction,\r\n isGlobal: false,\r\n parentItemName: AppMetaDataItemNames.CheckRideRequest,\r\n allowOnce: true,\r\n defaultButtonConfig: {\r\n useParentDisplay: true,\r\n buttonText: '',\r\n buttonClass: 'btn btn-warning',\r\n iconClass: 'fa fa-chart-bar',\r\n command: 'return',\r\n buttonType: DwButtonType.standard,\r\n \r\n },\r\n})\r\n@Injectable()\r\nexport class GridReturnToFinancialsActionService implements DwActionHandler {\r\n\r\n constructor(private metaDataGridNavigationService: DwMetaDataGridNavigationService,\r\n private financialsRepositoryService: FinancialsRepositoryService\r\n \r\n ) { }\r\n\r\n handleAction(actionState: DwMetaDataGridActionState): Observable {\r\n\r\n this.financialsRepositoryService.closeGrid();\r\n\r\n return of({\r\n success: true,\r\n });\r\n }\r\n}\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { FormControl, FormGroup, AbstractControl } from '@angular/forms';\r\nimport { DwComponent, DwComponentType, DwContext, DwFormControl, DwFormControlInit, DwFormFieldConfig, DwLookupInfo, DwMetaDataService, DwMetaDataServiceToken, getMomentValue } from '@devwareapps/devware-cap';\r\nimport { AirportEntity, AirportWithAddressInfoQueryEntity, AppMetaDataLookups } from '../../../../meta-data/app-meta-data.service';\r\nimport { ExaminerRepositoryService } from '../../../examiner/services/examiner-repository.service';\r\nimport { Observable } from 'rxjs';\r\nimport { DateTimeUtilService } from '../../util/date-time-util.service';\r\n\r\n@DwComponent({\r\n key: 'pilexos-duration-display',\r\n name: 'Duration Display',\r\n componentType: DwComponentType.formControl,\r\n isGlobal: true\r\n})\r\n@Component({\r\n selector: 'app-duration-display-control',\r\n template: `\r\n
{{ formattedDuration}}
\r\n `\r\n})\r\nexport class DurationDisplayControlComponent implements DwFormControl , DwFormControlInit{\r\n fieldDef: DwFormFieldConfig;\r\n formGroup: FormGroup;\r\n context: DwContext;\r\n useDisplayField?: boolean;\r\n \r\n formattedDuration: string;\r\n\r\n constructor(@Inject(DwMetaDataServiceToken) private dwMetaDataService: DwMetaDataService,\r\n private examinerRepositoryService: ExaminerRepositoryService,\r\n private dateTimeUtilService: DateTimeUtilService\r\n ) { }\r\n\r\n\r\n initControl(): void {\r\n\r\n }\r\n\r\n ngOnInit() {\r\n this.updateValue();\r\n\r\n this.control.valueChanges.subscribe(value => {\r\n this.updateValue();\r\n });\r\n }\r\n\r\n\r\n private updateValue() {\r\n this.formattedDuration = this.dateTimeUtilService.formatDuration2(this.control.value * 60);\r\n \r\n }\r\n\r\n /*\r\n * Returns the rating Form Control to get or set it's value\r\n */\r\n get control(): AbstractControl {\r\n return this.formGroup.get(this.fieldDef.attrName);\r\n }\r\n\r\n\r\n}\r\n\r\n","// tslint:disable-next-line: max-line-length\r\nimport { Injectable } from '@angular/core';\r\nimport { DwCoreConfig, DwAuthGuardService, DwConfig, DwUIMetaDataConfigDefaults, DwConfigServiceToken, DwUIConfig, DwAgGridComponent, DwUIMetaDataConfig, DwConfigProviderBase, DwUiConfigName, DwCoreConfigDefaults, DwAttributeType, DwControlType, DwMediaConfigName, DwMediaConfig, DwFormDebugService, DwLogSeverity } from '@devwareapps/devware-cap';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@DwConfig()\r\n@Injectable()\r\nexport class AppDevwareConfigProviderService extends DwConfigProviderBase {\r\n configureCoreConfig(dwCoreConfig: DwCoreConfig) {\r\n // Set Core configuration values\r\n dwCoreConfig.baseTitle = environment.baseTitle;\r\n dwCoreConfig.apiRoot = environment.apiRoot;\r\n dwCoreConfig.alternateApiRoots = (environment as any).alternateApiRoots as any;\r\n dwCoreConfig.tenantKey = (environment as any).tenantKey;\r\n\r\n if (environment.environmentMessage == 'Dev') {\r\n DwFormDebugService.showAllMessages = false;\r\n DwFormDebugService.componentNameList = ['Training', 'DwContextConfigurationBase', 'DwMetadataFormBuilderService'];\r\n DwFormDebugService.componentNameList = [];\r\n DwFormDebugService.disableLogging = true;\r\n }\r\n\r\n // configure logging\r\n dwCoreConfig.loggingConfig.writeAllToConsole = (environment as any).enableConsoleLogging;\r\n\r\n dwCoreConfig.loggingConfig.serverMessagePrefix = 'Pilexos Angular';\r\n dwCoreConfig.loggingConfig.writeToServerLevels = [DwLogSeverity.error];\r\n\r\n // Override the default CanActivate guard\r\n dwCoreConfig.routingConfig.defaultCanActivateGuards = [DwAuthGuardService];\r\n dwCoreConfig.routingConfig.googleAnalyticsTrackingToken = environment.googleAnalyticsTrackingToken;\r\n\r\n // Setup security anomymous access\r\n dwCoreConfig.securityConfig.allowAnonymousAccess = true;\r\n dwCoreConfig.securityConfig.securityTokenTimeoutMinutes = 5;\r\n\r\n dwCoreConfig.securityConfig.autoLoginAfterRegistration = true;\r\n\r\n dwCoreConfig.routingConfig.defaultRouteUrl = '';;\r\n\r\n dwCoreConfig.autoUpdateConfig.updateMessageTooltip = 'Refresh your browser to get the latest version of the app';\r\n\r\n //dwCoreConfig.autoUpdateConfig.updateMessage = 30;\r\n \r\n if (!environment.disabledUserInactvityTimeout) {\r\n dwCoreConfig.securityConfig.userInactivitiy = {\r\n warningTimeoutMinutes: 30,\r\n warningMessage: 'You will be logged out in 5 minutes due to inactivity.',\r\n logoutTimeoutMinutes: 5,\r\n logoutMessage: 'You have been logged out due to inactivity.', \r\n };\r\n }\r\n }\r\n\r\n configureAdditionalConfig(configName: string, config: any, dwCoreConfig: DwCoreConfig) {\r\n switch (configName) {\r\n case DwUiConfigName:\r\n this.configureUIConfig(config, dwCoreConfig);\r\n break;\r\n\r\n case DwUIMetaDataConfigDefaults.configName:\r\n this.configureUIMetaDataConfig(config);\r\n break;\r\n\r\n case DwMediaConfigName:\r\n this.configureMediaConfig(config, dwCoreConfig);\r\n }\r\n }\r\n\r\n\r\n private configureUIConfig(dwUiConfig: DwUIConfig, dwCoreConfig: DwCoreConfig) {\r\n // Setup Contact us menu\r\n dwUiConfig.showContactUs = environment.showContactUs;\r\n dwUiConfig.contactUsEMail = environment.contactUsEmail;\r\n\r\n dwUiConfig.gridComponent = DwAgGridComponent;\r\n dwUiConfig.pageFooterHeight = 0;\r\n dwUiConfig.showFooter = false;\r\n\r\n dwUiConfig.allowConfiguration = environment.allowConfiguration;\r\n\r\n dwCoreConfig.globals.apiRoot = dwCoreConfig.apiRoot;\r\n dwCoreConfig.globals.defaultAvatar = dwUiConfig.defaultAvatarImageUrl;\r\n\r\n dwUiConfig.defaultBackgroundImageUrl = 'assets/pilexos/default_banner.png';\r\n dwUiConfig.emailValidationRegEx = /^\\w+([\\.-]?\\w+)*@\\w+([\\.-]?\\w+)*(\\.\\w{2,50})+$/;\r\n \r\n // Customize the registration process\r\n dwUiConfig.registrationConfig = {\r\n registerTitle: 'Sign up for an account',\r\n registerButtonText: 'Sign up',\r\n registrationComponentKey: 'pilexos-user-registration-extension',\r\n useFloatLabelOnRegistration: true,\r\n useFloatLabelOnLogin: true,\r\n registrationHideUserName: true,\r\n }\r\n\r\n\r\n // Setup custom colors\r\n\r\n dwUiConfig.styleConfig.standardColors = [\r\n ...dwUiConfig.styleConfig.standardColors,\r\n {\r\n name: 'Pilexos Burgundy',\r\n display: 'Pilexos Burgundy',\r\n foregroundClass: 'pilexos-burgandy',\r\n backgroundClass: 'pilexos-burgandy-bg'\r\n }\r\n ]\r\n\r\n dwUiConfig.enableThemes = true;\r\n }\r\n\r\n private configureUIMetaDataConfig(dwUiMetaDataConfig: DwUIMetaDataConfig) {\r\n // Default date/time configuration\r\n dwUiMetaDataConfig.useGmtDateTime = true;\r\n dwUiMetaDataConfig.use24HourTime = false;\r\n dwUiMetaDataConfig.pdfRenderWaitTimeMs = 1200;\r\n dwUiMetaDataConfig.emailValidationRegEx = /^\\w+([\\.-]?\\w+)*@\\w+([\\.-]?\\w+)*(\\.\\w{2,50})+$/;;\r\n\r\n dwUiMetaDataConfig.gridDefaultPreferences.rowHeight = 25;\r\n\r\n dwUiMetaDataConfig.userContextExtendedAttributes = [\r\n { name: 'UserTypeId', display: 'User Type', attrType: DwAttributeType.Integer, controlType: DwControlType.DropDownList, lookupId: 301 }\r\n ];\r\n }\r\n\r\n configureMediaConfig(config: DwMediaConfig, dwCoreConfig: DwCoreConfig) {\r\n config.defaultMaxFileSizeMb = 10;\r\n }\r\n}\r\n\r\n\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { DwComponent, DwComponentType, DwControlType } from '@devwareapps/devware-cap';\r\n\r\n\r\n@DwComponent({\r\n name:'Home',\r\n key: 'home',\r\n componentType: DwComponentType.pageComponent,\r\n isGlobal: true\r\n})\r\n@Component({\r\n selector: 'app-home',\r\n templateUrl: './home.component.html',\r\n styleUrls: ['./home.component.scss']\r\n})\r\nexport class HomeComponent{\r\n textboxControlType : DwControlType = DwControlType.Textbox;\r\n}\r\n ","\r\n

\r\n \r\n Welcome to Pilexos!\r\n \r\n

\r\n\r\n \r\n You can change the text here by right clicking and select edit.\r\n \r\n\r\n \r\n
","export const DwChartColors = [\r\n '#519DE9',\r\n '#7CC674',\r\n '#F0AB00',\r\n '#C9190B',\r\n \r\n '#06C',\r\n '#38812F',\r\n '#8481DD',\r\n //'#EF9234',\r\n '#EC7A08',\r\n '#009596',\r\n\r\n //'#F0AB00'\r\n\r\n\r\n \r\n// '#846a6a', '#008f3c', '#aba361', '#5e239d', '#bccce0',\r\n\r\n// '#00876c',\r\n// '#44946d',\r\n// '#68a071',\r\n// '#88ac77',\r\n// '#a5b781',\r\n// '#c1c38e',\r\n// '#dccf9e',\r\n// '#dabb84',\r\n// '#daa66d',\r\n// '#da905c',\r\n// '#da7752',\r\n// '#d95c4e',\r\n// '#d43d51'\r\n\r\n]\r\n\r\n\r\n\r\nexport const DwChartColors2 = [\r\n '#20a4f3ff',\r\n '#f18f01ff',\r\n '#80ff72ff',\r\n // '#941c2fff',\r\n '#d43d51',\r\n '#3d315bff',\r\n\r\n \r\n'#846a6a', '#008f3c', '#aba361', '#5e239d', '#bccce0',\r\n\r\n '#00876c',\r\n '#44946d',\r\n '#68a071',\r\n '#88ac77',\r\n '#a5b781',\r\n '#c1c38e',\r\n '#dccf9e',\r\n '#dabb84',\r\n '#daa66d',\r\n '#da905c',\r\n '#da7752',\r\n '#d95c4e',\r\n '#d43d51']\r\n\r\n\r\n\r\nexport const DwChartColors3 = [\r\n \r\n '#00876c',\r\n '#44946d',\r\n '#68a071',\r\n '#88ac77',\r\n '#a5b781',\r\n '#c1c38e',\r\n '#dccf9e',\r\n '#dabb84',\r\n '#daa66d',\r\n '#da905c',\r\n '#da7752',\r\n '#d95c4e',\r\n '#d43d51']\r\n\r\n\r\n \r\n\r\n\r\n// --carrot-orange: #f18f01ff;\r\n// --celestial-blue: #20a4f3ff;\r\n// --screamin-green: #80ff72ff;\r\n// --burgundy: #941c2fff;\r\n// --space-cadet: #3d315bff;","import { Component, Inject, OnInit } from '@angular/core';\nimport { DwComponent, DwComponentType, DwContainerOptions, DwExpressionService, DwFormContextMode, DwFormPrintConfig, DwLookupInfo, DwMessageSeverity, DwMetaDataFormApi, DwMetaDataFormStateService, DwMetaDataService, DwMetaDataServiceToken, DwSectionBaseComponent, DwUiConfigRegistryService, DwUIMetaDataConfig, DwUIMetaDataConfigToken } from '@devwareapps/devware-cap';\nimport { AcsCodesLookupQueryEntity, AcsTestPortionEntity, AppMetaDataItemNames, AppMetaDataLookups, PlanOfActionEntity, PlanOfActionQuestionResultEntity, PlanOfActionSectionEntity, PlanOfActionSectionTypeAllItems, PlanOfActionSectionTypeEntity, PlanOfActionStatusAllItems } from '../../../../meta-data/app-meta-data.service';\nimport { AcsCodesStorageItem, AcsCodeStatuses } from '../../models/acs-code-items.model';\nimport { GenerateQuestionsActionService } from '../../actions/generate-questions-action.service';\nimport { PlanOfActionGeneratorService } from '../../services/plan-of-action-generator.service';\nimport { PlanOfActionRepositoryService } from '../../services/plan-of-action-repository.service';\nimport { PlanOfActionExecuteVariables } from '../../models/plan-of-action-execute-variables.model';\nimport { AcsTestPortionResult, PlanOfActionUtilService } from '../../services/plan-of-action-util.service';\n\n@DwComponent({\n key: 'plan-of-action-execute',\n name: 'Plan of Action Execute',\n componentType: DwComponentType.formSection,\n parentItemName: AppMetaDataItemNames.PlanOfAction\n})\n@Component({\n selector: 'app-plan-of-action-execute',\n templateUrl: './plan-of-action-execute.component.html',\n styleUrls: ['./plan-of-action-execute.component.scss']\n})\nexport class PlanOfActionExecuteComponent extends DwSectionBaseComponent {\n static expandedSections: { [prop: number]: boolean } = {};\n\n static printCurrentAcsTestPortions: number[];\n\n formApi: DwMetaDataFormApi;\n planOfAction: PlanOfActionEntity;\n planOfActionSections: PlanOfActionSectionEntity[];\n\n rootFormGroup: any;\n //sectionTypes: PlanOfActionSectionTypeEntity[];\n sectionIndex: number;\n planOfActionQuestionResults: PlanOfActionQuestionResultEntity[];\n currentSection: PlanOfActionSectionEntity;\n sectionTypes: PlanOfActionSectionTypeEntity[];\n hasPrevious: boolean;\n hasNext: boolean;\n selectedSectionId: number;\n\n inPrintMode: boolean = false;\n currentTestSections: PlanOfActionSectionEntity[] = [];\n\n sectionList: DwLookupInfo[] = [];\n acsTestPortions: AcsTestPortionEntity[];\n\n currentAcsTestPortion: AcsTestPortionResult;\n acsCodeStatuses: AcsCodeStatuses;\n\n showAllSections: boolean = true;\n showAllSectionsToggle: boolean = true;\n acsTestDetails: AcsTestPortionResult[];\n acsTestPortionContainer: DwContainerOptions;\n\n acsTestSelectionContainer = {\n useContainerStyling: true,\n //styleName: 'TITLE_ONLY_LINE',\n // expandCollapseStyle: DwExpandCollapseStyle.chevron,\n // expandCollpaseLocation: DwExpandCollapseLocation.left,\n containerAllowCollapse: false,\n //containerCollapseDefault: true,\n // containerHeaderBackgroundColor: this.currentAcsTestPortion.acsTestPortion.HeaderClass,\n // containerHeaderIcon: this.currentAcsTestPortion.acsTestPortion.IconClass,\n showTitle: false,\n }\n exporting: boolean;\n exportingTestPortionId: number;\n printSections: AcsTestPortionResult[];\n printDetails: any;\n printTestDetails: AcsTestPortionResult[];\n\n constructor(\n dwExpressionService: DwExpressionService,\n dwUiConfigRegistryService: DwUiConfigRegistryService,\n @Inject(DwUIMetaDataConfigToken) uiMetaDataConfig: DwUIMetaDataConfig,\n @Inject(DwMetaDataServiceToken) dwMetaDataService: DwMetaDataService,\n private dwMetaDataFormStateService: DwMetaDataFormStateService,\n private planOfActionRepositoryService: PlanOfActionRepositoryService,\n private generateQuestionsActionService: GenerateQuestionsActionService,\n private planofActionGeneratorService: PlanOfActionGeneratorService,\n private planOfActionUtilService: PlanOfActionUtilService\n ) {\n super(dwExpressionService, dwUiConfigRegistryService, uiMetaDataConfig, dwMetaDataService);\n\n this.formApi = this.dwMetaDataFormStateService.state.formApi;\n }\n\n\n resultsToSave: PlanOfActionQuestionResultEntity[] = [];\n\n resultsToSaveMap: { [prop: number]: PlanOfActionQuestionResultEntity } = {};\n\n goToAcsTestPortion(acsPortion: AcsTestPortionResult) {\n this.currentAcsTestPortion = acsPortion;\n\n this.updateVariables();\n\n this.setupAcsTestPortion();\n }\n\n private updateVariables() {\n this.formApi.patchVariableContext({ ExecutingTest: !!this.currentAcsTestPortion })\n }\n\n print(acsTestPortion: AcsTestPortionResult) {\n PlanOfActionExecuteComponent.printCurrentAcsTestPortions = [acsTestPortion.acsTestPortion.AcsTestPortionId];\n\n const formPrintConfig: DwFormPrintConfig = {\n actionMessage: `Exporting ${acsTestPortion.acsTestPortion.AcsTestPortion} to PDF...`,\n exportPDFFileName: `PlanOfAction ${acsTestPortion.acsTestPortion.AcsTestPortion}.pdf`,\n redirectAfter: false,\n renderMultiplePage: true,\n //printConfigKeyOverride: 'dep-admin-execute-print',\n }\n this.exportingTestPortionId = acsTestPortion.acsTestPortion.AcsTestPortionId;\n this.exporting = true;\n\n this.formApi.print(formPrintConfig).subscribe(() => {\n this.exporting = false;\n });\n\n }\n\n setupAcsTestPortion() {\n this.currentTestSections = this.currentAcsTestPortion.sections;\n\n this.sectionIndex = 0;\n\n this.setupSectionList();\n\n this.setupCurrentSection();\n\n this.acsTestPortionContainer = {\n useContainerStyling: true,\n //styleName: 'TITLE_ONLY_LINE',\n // expandCollapseStyle: DwExpandCollapseStyle.chevron,\n // expandCollpaseLocation: DwExpandCollapseLocation.left,\n containerAllowCollapse: false,\n //containerCollapseDefault: true,\n containerHeaderBackgroundColor: this.currentAcsTestPortion.acsTestPortion.HeaderClass,\n containerHeaderIcon: this.currentAcsTestPortion.acsTestPortion.IconClass,\n showTitle: true,\n }\n\n }\n\n ngOnInit(): void {\n this.loadReferenceData();\n this.setupDataWatch();\n }\n\n gotoAcsPortion(acsPortion: number) {\n\n }\n\n resultChange(result: PlanOfActionQuestionResultEntity) {\n if (!result.PlanOfActionResultId) {\n result.PlanOfActionResultId = this.planOfAction.PlanOfActionResultId;\n }\n this.resultsToSaveMap[result.PlanOfActionSectionQuestionId] = result;\n\n const resultArray: PlanOfActionQuestionResultEntity[] = [];\n\n for (const key in this.resultsToSaveMap) {\n if (this.resultsToSaveMap.hasOwnProperty(key)) {\n resultArray.push(this.resultsToSaveMap[key]);\n }\n }\n\n this.resultsToSave = resultArray;\n }\n\n goToSection() {\n if (!this.selectedSectionId) {\n return;\n }\n\n this.sectionIndex = this.currentTestSections.findIndex(x => x.PlanOfActionSectionId == this.selectedSectionId);\n\n this.setupSection();\n }\n\n saveCurrent() {\n if (this.resultsToSave.length == 0) {\n return;\n }\n\n this.planOfActionRepositoryService.savePlanOfActionQuestionResults(this.resultsToSave)\n .subscribe(results => {\n this.resultsToSave = [];\n this.resultsToSaveMap = {};\n\n for (var result of results) {\n const existingResult = this.planOfActionQuestionResults.find(x => x.PlanOfActionSectionQuestionId == result.PlanOfActionSectionQuestionId);\n\n if (existingResult) {\n const index = this.planOfActionQuestionResults.indexOf(existingResult);\n\n this.planOfActionQuestionResults[index] = result;\n } else {\n this.planOfActionQuestionResults.push(result);\n }\n }\n\n //this.currentAcsTestPortion = null;\n this.updateVariables();\n\n this.buildAcsTestDetails();\n });\n }\n\n\n loadReferenceData() {\n this.planOfActionRepositoryService.getAcsTestPortions()\n .subscribe(acsTestPortions => {\n this.acsTestPortions = acsTestPortions;\n\n this.buildAcsTestDetails();\n });\n\n this.planOfActionRepositoryService.getPlanOfActionSectionTypes()\n .subscribe(sectionTypes => {\n this.sectionTypes = sectionTypes;\n this.buildAcsTestDetails();\n });\n }\n\n setupDataWatch() {\n this.formApi.getFormDataChanges(100)\n .subscribe(dataChange => {\n if (this.formApi.isDataLoadComplete) {\n this.checkForDataChange();\n }\n });\n\n if (this.formApi.isDataLoadComplete) {\n this.checkForDataChange();\n }\n }\n\n\n buildAcsTestDetails() {\n if (!this.planOfAction || !this.acsTestPortions || !this.planOfActionSections || !this.planOfActionQuestionResults) {\n return;\n }\n\n this.acsTestDetails = this.planOfActionUtilService.buildAcsTestDetails(this.planOfAction, this.planOfActionSections, this.planOfActionQuestionResults, this.acsTestPortions);\n\n if (this.acsTestDetails.length ==0) {\n this.formApi.setFormMessage({ messageBody: 'No Sections have been created. Return to edit and add sections & qestions.', severity: DwMessageSeverity.error });\n }\n }\n\n initComplete = false;\n\n private checkForDataChange() {\n this.planOfAction = this.formApi.getFormData();\n\n this.acsCodeStatuses = this.planOfActionRepositoryService.getAcsCodeStatus(this.planOfAction);\n\n if (this.initComplete) {\n return;\n }\n\n this.initComplete = true;\n\n if (!this.planOfAction.PlanOfActionResultId) {\n this.planOfActionRepositoryService.createPlanOfActionResult(this.planOfAction)\n .subscribe(planOfAction => {\n this.planOfAction = planOfAction;\n\n this.formApi.setFormData(planOfAction);\n\n this.loadPlanOfActionQuestionResults();\n });\n } else {\n this.loadPlanOfActionQuestionResults();\n }\n\n this.loadPlanOfActionSections();\n }\n\n private loadPlanOfActionSections() {\n this.planOfActionRepositoryService.loadPlanOfActionSections(this.planOfAction.PlanOfActionId)\n .subscribe(planOfActionSections => {\n this.planOfActionSections = planOfActionSections;\n\n this.buildAcsTestDetails();\n\n this.setupPrint();\n });\n }\n\n private setupPrint() {\n\n if (this.formApi.formMode == DwFormContextMode.print) {\n this.inPrintMode = true;\n\n const printPortions = PlanOfActionExecuteComponent.printCurrentAcsTestPortions;\n\n const printTestDetails = this.acsTestDetails.filter(x => printPortions == null || printPortions.find(acsTestPortionId => acsTestPortionId == x.acsTestPortion.AcsTestPortionId));\n\n this.printTestDetails = printTestDetails;\n\n // this.printSections = this.acsTestDetails.filter(x => printPortions == null || printPortions.find(acsTestPortionId => acsTestPortionId == x.acsTestPortion.AcsTestPortionId));\n\n\n\n // this.goToAcsTestPortion(this.printSections[0]);\n\n }\n\n\n\n }\n\n\n private setupSectionList() {\n const sections = this.currentTestSections.map(x => {\n return {\n Id: x.PlanOfActionSectionId.toString(),\n Display: this.getSectionDisplay(x)\n };\n })\n\n this.sectionList = [{ Id: '0', Display: ' ' }, ...sections];\n }\n\n private getSectionDisplay(planOfActionSection: PlanOfActionSectionEntity): any {\n switch (planOfActionSection.PlanOfActionSectionTypeId) {\n case PlanOfActionSectionTypeAllItems.AreaOfOperation:\n return `${planOfActionSection.AcsAreaOfOperationIdDisplay}`;\n\n case PlanOfActionSectionTypeAllItems.Task:\n return `${planOfActionSection.AcsAreaOfOperationIdDisplay} - ${planOfActionSection.AcsAreaOfOperationTaskIdDisplay}`;\n\n default:\n return planOfActionSection.SectionName;\n }\n }\n\n private loadPlanOfActionQuestionResults() {\n if (!this.planOfAction.PlanOfActionResultId) {\n return;\n }\n\n this.planOfActionRepositoryService.loadPlanOfActionQuestionResults(this.planOfAction.PlanOfActionResultId)\n .subscribe(planOfActionQuestionResults => {\n this.planOfActionQuestionResults = planOfActionQuestionResults;\n this.buildAcsTestDetails();\n });\n }\n\n setupCurrentSection() {\n if (!this.currentTestSections) {\n return;\n }\n\n this.sectionIndex = 0;\n\n this.setupSection();\n\n this.currentSection = this.currentTestSections[this.sectionIndex];\n }\n\n nextSection() {\n this.sectionIndex++;\n\n if (this.sectionIndex > this.currentTestSections.length) {\n this.sectionIndex = this.currentTestSections.length;\n }\n\n this.setupSection();\n }\n\n previousSection() {\n this.sectionIndex--;\n\n if (this.sectionIndex < 0) {\n this.sectionIndex = 0;\n }\n\n this.setupSection();\n }\n\n complete() {\n\n // this.formApi.patchFormData({ PlanOfActionStatusId: PlanOfActionStatusAllItems.Complete})\n\n this.stop();\n }\n\n stop() {\n this.saveCurrent();\n\n this.currentAcsTestPortion = null;\n this.updateVariables();\n\n this.formApi.patchVariableContext({ ShowPlan: false });\n }\n\n setupSection() {\n // Always save first\n this.saveCurrent();\n\n this.currentSection = this.currentTestSections[this.sectionIndex];\n\n this.hasPrevious = this.sectionIndex > 0;\n this.hasNext = this.sectionIndex < this.currentTestSections.length - 1;\n }\n\n}\n","
\n 0\">\n
\n
\n
\n\n
\n
\n % Complete\n
\n
\n Sections\n
\n
\n Questions\n
\n
\n\n
\n
\n
\n
\n \n\n {{acsTestDetail.acsTestPortion.AcsTestPortion}}\n
\n
\n {{acsTestDetail.percentComplete}}%\n
\n
\n {{acsTestDetail.sectionCount}}\n
\n
\n {{acsTestDetail.questionsCompleted}} / {{acsTestDetail.questionCount}}\n
\n
\n \n \n \n
\n
\n
\n\n \n
\n\n \n \n {{currentAcsTestPortion.acsTestPortion.AcsTestPortion}}\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 Go to\n Section\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

{{printTestDetail.acsTestPortion.AcsTestPortion}}

\n\n \n
\n
\n \n
\n
\n
\n
\n
\n
\n\n\n
\n \n \n
\n
","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-poa-print-options-modal',\n templateUrl: './poa-print-options-modal.component.html',\n styleUrls: ['./poa-print-options-modal.component.scss']\n})\nexport class PoaPrintOptionsModalComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n}\n","

poa-print-options-modal works!

\n","import { Inject, Injectable } from \"@angular/core\";\r\nimport { DwDataItemKeyValues, DwDataRequest, DwDatasource, DwMetaDataService, DwMetaDataServiceToken, DwOrmDataService, DwOrmDataServiceToken, DwOrmDataSource, DwQuery, DwSecurityUserService } from \"@devwareapps/devware-cap\";\r\nimport { AppMetaData, AppMetaDataItemNames } from \"../../../meta-data/app-meta-data.service\";\r\nimport { Observable } from \"rxjs\";\r\n\r\n@DwDatasource({\r\n keyName: 'CheckRideFormDataSource',\r\n display: 'Checkride Form data Source',\r\n itemName: AppMetaDataItemNames.CheckRideRequest,\r\n})\r\n@Injectable()\r\nexport class CheckrideFormDataSourceService extends DwOrmDataSource {\r\n\r\n constructor(\r\n @Inject(DwOrmDataServiceToken) private dwOrmDataService: DwOrmDataService,\r\n @Inject(DwMetaDataServiceToken) metaDataService: DwMetaDataService,\r\n private securityUserService: DwSecurityUserService,\r\n ) {\r\n super(dwOrmDataService, metaDataService, AppMetaDataItemNames.PlanOfAction);\r\n }\r\n\r\n initDataSource() {\r\n \r\n }\r\n \r\n loadItemFromQuery(query: DwQuery, keyValues: DwDataItemKeyValues | number): Observable {\r\n\r\n const checkrideQuery = AppMetaData.CheckRideRequest.CreateQueryBuilder(query);\r\n\r\n const acsWrittenResultQuery = AppMetaData.ApplicantAcsWrittenResult.CreateQueryBuilder();\r\n\r\n acsWrittenResultQuery.addPrefetch(r => r.ApplicantAcsWrittenResultMissedCode);\r\n\r\n let prefetchWrittenResult = query.Prefetch.find(p => p.RelationName === AppMetaData.CheckRideRequest.Relations.ApplicantAcsWrittenResult.relationName);\r\n\r\n if (!prefetchWrittenResult) {\r\n checkrideQuery.addPrefetch(r => r.ApplicantAcsWrittenResult, acsWrittenResultQuery.query);\r\n\r\n prefetchWrittenResult = query.Prefetch.find(p => p.RelationName === AppMetaData.CheckRideRequest.Relations.ApplicantAcsWrittenResult.relationName);\r\n }\r\n\r\n prefetchWrittenResult.Query = acsWrittenResultQuery.query;\r\n\r\n\r\n return super.loadItemFromQuery(checkrideQuery.query, keyValues);\r\n }\r\n\r\n \r\n // prepareRequestQuery(request: DwDataRequest): DwQuery {\r\n // const baseQuery = super.prepareRequestQuery(request);\r\n\r\n // }\r\n\r\n}","import { Component, OnInit } from '@angular/core';\r\nimport { DwChartColors } from '../../../z-devware/visualizations/models/dw-chart-colors.model';\r\n\r\n@Component({\r\n selector: 'app-examiner-financial-snapshot',\r\n templateUrl: './examiner-financial-snapshot.component.html',\r\n styleUrls: ['./examiner-financial-snapshot.component.scss']\r\n})\r\nexport class ExaminerFinancialSnapshotComponent implements OnInit {\r\n\r\n constructor() { }\r\n \r\n colors = DwChartColors;\r\n\r\n checkrideTypeData = {\r\n labels: ['ASEL', 'ASES', 'AMEL', 'AMES', 'Helicopter', 'Glider', 'Balloon', 'Gyroplane', 'Powered Lift', 'Airship', 'Weight Shift Control', 'Powered Parachute'],\r\n datasets: [\r\n {\r\n data: [5, 3, 4, 2, 1, 2, 3, 4, 5, 6, 7, 8],\r\n }]\r\n };\r\n\r\n \r\n checkrideOutcomeData = {\r\n labels: ['Certificate Issued', 'Disapproved', 'Discontinued'],\r\n datasets: [\r\n {\r\n data: [15, 3, 5],\r\n backgroundColor: [this.colors[0], this.colors[this.colors.length-1], this.colors[8]]\r\n }]\r\n };\r\n\r\n checkrideTypeOptions = {\r\n title: {\r\n display: true,\r\n text: 'Checkride Types',\r\n color: '#ffffff',\r\n fontSize: 18,\r\n position: 'top'\r\n },\r\n legend: {\r\n display: false,\r\n position: 'bottom'\r\n }\r\n };\r\n\r\n checkrideOutcomeOptions = {\r\n title: {\r\n display: true,\r\n text: 'Checkride Outcomes',\r\n fontSize: 18,\r\n color:'white',\r\n position: 'top'\r\n },\r\n legend: {\r\n display: true,\r\n position: 'bottom'\r\n }\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","import { Component, EventEmitter, Inject, Input, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { DwSectionBaseComponent, DwMetaDataFormApi, DwExpressionService, DwUiConfigRegistryService, DwUIMetaDataConfigToken, DwUIMetaDataConfig, DwMetaDataServiceToken, DwMetaDataService, DwMetaDataFormStateService, DwComponent, DwComponentType, DwLookupInfo, DwContainerOptions, DwExpandCollapseStyle, DwExpandCollapseLocation, sortArrayByField, isFirstChange } from '@devwareapps/devware-cap';\r\nimport { PlanOfActionEntity, PlanOfActionSectionEntity, PlanOfActionSectionQuestionEntity, AcsCodesLookupQueryEntity, AppMetaDataItemNames, AppMetaDataLookups, PlanOfActionSectionTypeAllItems, PlanOfActionSectionTypeEntity, AcsTestEntity, AcsTestPortionEntity } from '../../../../meta-data/app-meta-data.service';\r\nimport { AcsCodesStorageItem, AcsCodeStatuses } from '../../../plan-of-action/models/acs-code-items.model';\r\nimport { PlanOfActionRepositoryService } from '../../../plan-of-action/services/plan-of-action-repository.service';\r\nimport { FormControl } from '@angular/forms';\r\nimport { GenerateQuestionsActionService } from '../../../plan-of-action/actions/generate-questions-action.service';\r\nimport { PlanOfActionGeneratorService } from '../../../plan-of-action/services/plan-of-action-generator.service';\r\nimport { AcsReferenceInfo } from '../../models/acs-reference-info.model';\r\nimport { PlanOfActionUtilService } from '../../services/plan-of-action-util.service';\r\n\r\n@DwComponent({\r\n key: 'plan-of-action-section',\r\n name: 'Plan of Action Section',\r\n componentType: DwComponentType.formSection,\r\n parentItemName: AppMetaDataItemNames.PlanOfActionSection,\r\n isGlobal: false\r\n})\r\n@Component({\r\n selector: 'app-plan-of-action-section',\r\n templateUrl: './plan-of-action-section.component.html',\r\n styleUrls: ['./plan-of-action-section.component.scss']\r\n})\r\nexport class PlanOfActionSectionComponent extends DwSectionBaseComponent {\r\n static expandedSections: { [prop: number]: boolean } = {};\r\n \r\n formApi: DwMetaDataFormApi;\r\n\r\n @Input() planOfAction: PlanOfActionEntity;\r\n @Input() planOfActionSection: PlanOfActionSectionEntity;\r\n @Input() acsReferenceInfo: AcsReferenceInfo;\r\n @Input() acsCodeStatuses: AcsCodeStatuses;\r\n @Input() acsTestPortion: AcsTestPortionEntity;\r\n\r\n @Output() planOfActionSectionChange = new EventEmitter();\r\n\r\n @Input() directMode: boolean = false;\r\n\r\n acsCodes: AcsCodesStorageItem;\r\n @Input() collapsed: boolean = true;\r\n @Output() collapsedChange = new EventEmitter();\r\n\r\n \r\n\r\n showAcsCode: boolean = true;\r\n showQuestion: boolean = true;\r\n\r\n @Input() optionsShowQuestionForAcsCode: boolean;\r\n\r\n\r\n rootFormGroup: any;\r\n hideLabels: boolean = false;\r\n allowTitleEdit: boolean = false;\r\n editingTitle: boolean = false;\r\n\r\n planOfActionSectionQuestionFC: FormControl;\r\n\r\n planOfActionSectionQuestions: PlanOfActionSectionQuestionEntity[] = [];\r\n\r\n currentQuestions: PlanOfActionSectionQuestionEntity[] = [];\r\n\r\n containerOptions: DwContainerOptions;\r\n //sectionTypes: PlanOfActionSectionTypeEntity[];\r\n sectionTitle: string;\r\n currentAcsCodes: AcsCodesLookupQueryEntity[];\r\n \r\n sectionType: PlanOfActionSectionTypeEntity;\r\n missingAcsCodeImageUrl: string;\r\n\r\n // @Input() acsTest: AcsTestEntity;\r\n\r\n constructor(\r\n dwExpressionService: DwExpressionService,\r\n dwUiConfigRegistryService: DwUiConfigRegistryService,\r\n @Inject(DwUIMetaDataConfigToken) uiMetaDataConfig: DwUIMetaDataConfig,\r\n @Inject(DwMetaDataServiceToken) dwMetaDataService: DwMetaDataService,\r\n private dwMetaDataFormStateService: DwMetaDataFormStateService,\r\n private planOfActionRepositoryService: PlanOfActionRepositoryService,\r\n private generateQuestionsActionService: GenerateQuestionsActionService,\r\n private planofActionGeneratorService: PlanOfActionGeneratorService,\r\n private planofActionUtilService: PlanOfActionUtilService\r\n ) {\r\n super(dwExpressionService, dwUiConfigRegistryService, uiMetaDataConfig, dwMetaDataService);\r\n\r\n this.formApi = this.dwMetaDataFormStateService.state.formApi;\r\n this.missingAcsCodeImageUrl = this.planofActionUtilService.getMissedAcsCodeImageUrl();\r\n }\r\n\r\n\r\n ngOnInit(): void {\r\n // this.loadReferenceData();\r\n this.setupDataWatch();\r\n }\r\n\r\n ngOnChanges(simpleChanges: SimpleChanges) {\r\n if (!isFirstChange(simpleChanges)) {\r\n this.checkForDataChange();\r\n }\r\n }\r\n\r\n collapsedChanged(collapsed: boolean) {\r\n this.collapsedChange.emit(collapsed);\r\n }\r\n\r\n editSectionTitle() {\r\n this.editingTitle = true;\r\n }\r\n\r\n onSectionTitleChange() {\r\n this.planOfActionSection.SectionName = this.sectionTitle;\r\n this.editingTitle = true;\r\n }\r\n\r\n addQuestion() {\r\n this.planOfActionSectionQuestions.push({\r\n _itemName: AppMetaDataItemNames.PlanOfActionSectionQuestion,\r\n PlanOfActionSectionQuestionId: this.getNextQuestionId(),\r\n });\r\n\r\n this.onQuestionsReorder();\r\n\r\n this.setupCurrentQuesitons();\r\n }\r\n\r\n nextKeyValue = 0;\r\n\r\n getNextQuestionId(): number {\r\n // Need to determine what keys values have been used\r\n if (this.planOfActionSectionQuestions.length == 0) {\r\n this.nextKeyValue--;\r\n\r\n return this.nextKeyValue;\r\n }\r\n\r\n let minKeyValue = 0;\r\n\r\n for (let question of this.planOfActionSectionQuestions) {\r\n const keyValue = question.PlanOfActionSectionQuestionId;\r\n\r\n if (keyValue < minKeyValue) {\r\n minKeyValue = keyValue;\r\n }\r\n };\r\n\r\n this.nextKeyValue = minKeyValue - 1;\r\n\r\n return this.nextKeyValue;\r\n }\r\n\r\n addAcsCodes() {\r\n this.generateQuestionsActionService.showAcsCodeSelectionModal(this.planOfAction, this.planOfActionSection)\r\n .subscribe(modalResult => {\r\n if (modalResult.cancelled) {\r\n modalResult.cancelled = true;\r\n\r\n return;\r\n }\r\n\r\n if (modalResult.data) {\r\n this.planofActionGeneratorService.generateQuestions(this.planOfActionSection, this.planOfActionSectionQuestions, modalResult.data.GenerateCodesOptions);\r\n\r\n\r\n\r\n this.setupCurrentQuesitons();\r\n this.onQuestionsReorder();\r\n }\r\n });\r\n }\r\n\r\n onQuestionChange(question: PlanOfActionSectionQuestionEntity) {\r\n this.onQuestionsReorder();\r\n //this.planOfActionSectionQuestionFC.setValue(this.planOfActionSectionQuestions);\r\n }\r\n\r\n onQuestionRemoved(question: PlanOfActionSectionQuestionEntity) {\r\n question._isDeleted = true;\r\n \r\n this.planOfActionSectionChange.emit(this.planOfActionSection);\r\n }\r\n\r\n onQuestionsReorder() {\r\n let i = 0;\r\n\r\n for(let question of this.currentQuestions) {\r\n if (question._isDeleted) {\r\n continue;\r\n }\r\n i++;\r\n question.QuestionOrder = i;\r\n }\r\n\r\n this.setupCurrentQuesitons();\r\n\r\n if (this.planOfActionSectionQuestionFC) {\r\n this.planOfActionSectionQuestionFC.setValue(this.planOfActionSectionQuestions);\r\n }\r\n\r\n this.planOfActionSectionChange.emit(this.planOfActionSection);\r\n }\r\n\r\n setupCurrentQuesitons() {\r\n this.currentQuestions = sortArrayByField(this.planOfActionSectionQuestions.filter(x => !x._isDeleted).map(q => this.mapQuestionOrder(q)), 'QuestionOrder');\r\n }\r\n\r\n mapQuestionOrder(question: PlanOfActionSectionQuestionEntity): any {\r\n if(question.QuestionOrder == null) {\r\n question.QuestionOrder = 9999;\r\n }\r\n\r\n return question;\r\n }\r\n\r\n setupDataWatch() {\r\n if (this.directMode) {\r\n this.checkForDataChange();\r\n return;\r\n }\r\n\r\n this.formApi.getFormDataChanges(100)\r\n .subscribe(dataChange => {\r\n if (this.formApi.isDataLoadComplete) {\r\n this.checkForDataChange();\r\n }\r\n });\r\n\r\n if (this.formApi.isDataLoadComplete) {\r\n this.checkForDataChange();\r\n }\r\n }\r\n\r\n private checkForDataChange() {\r\n if (!this.directMode) {\r\n this.planOfAction = this.formApi.getFormData();\r\n\r\n const planOfActionSection = this.formGroup.getRawValue();\r\n this.planOfActionSection = this.planOfAction.PlanOfActionSection.find(x => x.PlanOfActionSectionId == planOfActionSection.PlanOfActionSectionId);\r\n }\r\n\r\n if (!this.planOfAction || !this.planOfActionSection) {\r\n return;\r\n }\r\n\r\n this.setupSection();\r\n\r\n this.setupAcsCodes();\r\n this.setupContainer();\r\n }\r\n\r\n setupSection() {\r\n if (this.planOfActionSectionQuestionFC) {\r\n return;\r\n }\r\n\r\n this.planOfActionSectionQuestions = sortArrayByField(this.planOfActionSection.PlanOfActionSectionQuestion || [], 'QuestionOrder');\r\n\r\n this.setupCurrentQuesitons();\r\n\r\n if (!this.directMode) {\r\n this.planOfActionSectionQuestionFC = new FormControl(this.planOfActionSectionQuestions);\r\n\r\n this.formGroup.addControl('PlanOfActionSectionQuestion', this.planOfActionSectionQuestionFC);\r\n }\r\n }\r\n\r\n private setupContainer() {\r\n this.sectionType = this.acsReferenceInfo?.sectionTypes?.find(x => x.PlanOfActionSectionTypeId == this.planOfActionSection?.PlanOfActionSectionTypeId);\r\n\r\n if (!this.sectionType) {\r\n return;\r\n }\r\n\r\n this.showQuestion = this.planOfAction.OptionsShowQuestionForAcsCode;\r\n\r\n this.sectionTitle = this.planOfActionRepositoryService.getSectionTitle(this.planOfActionSection, this.acsReferenceInfo);\r\n\r\n switch (this.planOfActionSection.PlanOfActionSectionTypeId) {\r\n case PlanOfActionSectionTypeAllItems.Manual:\r\n this.allowTitleEdit = true;\r\n this.sectionTitle = this.planOfActionSection.SectionName;\r\n this.showAcsCode = false;\r\n this.showQuestion = true;\r\n break;\r\n default:\r\n this.showAcsCode = true;\r\n }\r\n\r\n this.containerOptions = {\r\n useContainerStyling: true,\r\n styleName: 'TITLE_ONLY_LINE',\r\n // expandCollapseStyle: DwExpandCollapseStyle.chevron,\r\n // expandCollpaseLocation: DwExpandCollapseLocation.left,\r\n containerAllowCollapse: true,\r\n //containerCollapseDefault: true,\r\n containerHeaderForegroundColor: this.acsTestPortion?.HeaderClass || this.sectionType.AcsTestPortion.HeaderClass,\r\n containerHeaderIcon: this.acsTestPortion?.IconClass || this.sectionType.AcsTestPortion.IconClass,\r\n showTitle: true,\r\n }\r\n }\r\n\r\n\r\n private setupAcsCodes() {\r\n if (!this.planOfAction || !this.planOfActionSection) {\r\n return;\r\n }\r\n\r\n if (this.acsCodes) {\r\n return;\r\n }\r\n\r\n if (!this.planOfActionSection.AcsAreaOfOperationId) {\r\n return;\r\n }\r\n\r\n this.acsCodes = this.planOfActionRepositoryService.getAcsCodesFromreference(this.acsReferenceInfo, this.planOfActionSection.AcsAreaOfOperationId, this.planOfActionSection.AcsAreaOfOperationTaskId);\r\n\r\n const blankCode: AcsCodesLookupQueryEntity = {\r\n _itemName: '',\r\n AcsCodeId: null,\r\n AcsCode: ' ',\r\n };\r\n\r\n this.currentAcsCodes = [blankCode, ...this.acsCodes?.acsCodes || []];\r\n\r\n this.setupContainer();\r\n }\r\n\r\n}\r\n"," \r\n \r\n {{sectionTitle}}\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n\r\n
\r\n Missed ACS Codes\r\n
\r\n
\r\n
\r\n No items have been added to this section.\r\n
\r\n\r\n 0\">\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n","import { Injectable } from \"@angular/core\";\r\nimport { DwAction, DwActionHandler, DwActionResult, DwActionType, DwMdFormActionState, DwMdFormContextInfo, DwModalButtonStandardConfigs, DwModalConfig, DwModalService, DwModalSize, DwRoutingService } from \"@devwareapps/devware-cap\";\r\nimport { Observable, of } from \"rxjs\";\r\nimport { ApplicantAcsWrittenResultEntity, AppMetaDataItemNames, CheckRideRequestEntity, PlanOfActionEntity, PlanOfActionSectionEntity } from \"../../../meta-data/app-meta-data.service\";\r\nimport { PlanOfActionRepositoryService } from \"../services/plan-of-action-repository.service\";\r\nimport { GenerateSectionsModalComponent } from \"../../plan-of-action/components/generate-sections-modal/generate-sections-modal.component\";\r\nimport { map, tap } from \"rxjs/operators\";\r\nimport { PlanOfActionGeneratorService } from \"../services/plan-of-action-generator.service\";\r\nimport { GenerateQuestionsModalComponent } from \"../../plan-of-action/components/generate-questions-modal/generate-questions-modal.component\";\r\nimport { AcsCodeSelectionModalOptions, AcsCodeSelectionModalResult } from \"../models/acs-code-selection-modal-options.model\";\r\nimport { AcsCodeStatuses } from \"../models/acs-code-items.model\";\r\n\r\n@DwAction({\r\n keyName: 'checkride-create-poa-action',\r\n display: 'Generate Plan Of Action',\r\n actionType: DwActionType.formAction,\r\n isGlobal: false,\r\n parentItemName: [AppMetaDataItemNames.CheckRideRequest, AppMetaDataItemNames.ApplicantAcsWrittenResult, AppMetaDataItemNames.PlanOfAction],\r\n allowOnce: true,\r\n defaultButtonConfig: {\r\n useButtonDefaults: false,\r\n useParentDisplay: true,\r\n buttonClass: 'btn btn-warning mr-1 mt-1',\r\n iconClass: 'fa fa-map'\r\n },\r\n configData: {\r\n requireValidation: false,\r\n redirectAfter: false,\r\n actionMessage: '',\r\n }\r\n})\r\n@Injectable()\r\nexport class CheckrideCreatePOAActionService implements DwActionHandler {\r\n\r\n constructor(private planOfActionRepositoryService: PlanOfActionRepositoryService,\r\n private planofActionGeneratorService: PlanOfActionGeneratorService,\r\n private dwModalService: DwModalService,\r\n private dwRoutingService: DwRoutingService\r\n\r\n ) { }\r\n\r\n handleAction(actionState: DwMdFormActionState): Observable {\r\n const checkride = actionState.formApi.getFormData();\r\n\r\n return actionState.formApi.saveData(true)\r\n .pipe(map((result) => {\r\n\r\n if (result.cancelled || !result.success) {\r\n actionState.formApi.showAbortMessage(result.message);\r\n return result;\r\n }\r\n\r\n const url = `/plan-of-action/plans/add?CheckRideRequestId=${checkride.CheckRideRequestId}&AcsTestId=${checkride.ApplicantAcsWrittenResult.AcsTestId}`;\r\n \r\n this.dwRoutingService.navigateToUrl(url, null);\r\n \r\n return { success: true };\r\n }));\r\n }\r\n\r\n}","import { Component, EventEmitter, Input, OnInit, Output, OnChanges, SimpleChanges } from '@angular/core';\r\nimport { FinancialDashboardConfig, FinancialDashboardGroup } from '../../models/financial-dashboard-config.model';\r\nimport { FinancialsRepositoryService } from '../../services/financials-repository.service';\r\nimport { DwComponent, DwComponentType, DwContainerOptions, DwControlType, DwQuery, deepCopy, fieldSelectorType } from '@devwareapps/devware-cap';\r\nimport { ChartFilters } from '../../models/chart-filters.model';\r\nimport { DwChartPreferences } from '../../../z-devware/visualizations/models/dw-chart-preferences.model';\r\nimport { Observable, combineLatest, of } from 'rxjs';\r\nimport { DateTimeUtilService } from '../../../shared/util/date-time-util.service';\r\nimport { DwChartDataSelectedEvent } from '../../../z-devware/visualizations/models/dw-chart-data-selected-event.model';\r\nimport { CheckrideRequestAggregateBaseQueryMetaDataAttributes } from '../../../../meta-data/app-meta-data.service';\r\nimport { map } from 'rxjs/operators';\r\nimport { ChartDataRequest } from '../../models/chart-data-request.model';\r\nimport { ChartDataQueryResult } from '../../models/chart-data-result.model';\r\nimport { DwTileConfig } from '../../../z-devware/visualizations/models/dw-tile-config.model';\r\nimport { DwChartColors, DwChartColors2 } from '../../../z-devware/visualizations/models/dw-chart-colors.model';\r\nimport { DataQueryResult } from '../../models/data-query-result.model';\r\n\r\n@Component({\r\n selector: 'app-financial-dashboard',\r\n templateUrl: './financial-dashboard.component.html',\r\n styleUrls: ['./financial-dashboard.component.scss']\r\n})\r\nexport class FinancialDashboardComponent implements OnInit, OnChanges {\r\n @Input() financialDashboardConfig: FinancialDashboardConfig;\r\n textboxControlType: DwControlType = DwControlType.Textbox;\r\n\r\n chartFilters: ChartFilters = {};\r\n previousChartFilters: ChartFilters = {};\r\n currentDashboardGroup: FinancialDashboardGroup;\r\n currentChartResults: ChartDataQueryResult[];\r\n currentGroup: string;\r\n\r\n @Output() currentGroupChanged = new EventEmitter();\r\n\r\n allChartResults: {\r\n chartResults: ChartDataQueryResult[],\r\n tileConfigs: DwTileConfig[]\r\n }[] = [];\r\n\r\n selectedInfo: { event: DwChartDataSelectedEvent; chartResult: ChartDataQueryResult; label: string; };\r\n currentMonth: number;\r\n\r\n showGrid: boolean;\r\n gridFilters?: any;\r\n\r\n gridContainerOptions: DwContainerOptions = {\r\n showTitle: true,\r\n useContainerStyling: true,\r\n containerHeaderBackgroundColor: 'blue'\r\n }\r\n summaryData: DataQueryResult;\r\n tileConfigs: DwTileConfig[];\r\n currentYear: number;\r\n\r\n constructor(private financialRepositoryService: FinancialsRepositoryService, private dateTimeUtilService: DateTimeUtilService) { }\r\n \r\n\r\n ngOnInit(): void {\r\n this.initDashboard();\r\n }\r\n ngOnChanges(changes: SimpleChanges): void {\r\n if (changes.financialDashboardConfig?.firstChange==false) {\r\n \r\n this.currentDashboardGroup = this.financialDashboardConfig.groups.find(g => g.groupName === this.currentGroup);\r\n\r\n this.loadFinancialSummary(true);\r\n\r\n this.setupDashboard(true);\r\n }\r\n }\r\n\r\n private initDashboard() {\r\n \r\n this.currentMonth = this.currentMonth || this.dateTimeUtilService.getCurrentMonth();\r\n this.currentYear = this.currentYear || this.dateTimeUtilService.getCurrentYear();\r\n \r\n this.currentDashboardGroup = this.currentDashboardGroup || this.financialDashboardConfig.groups[0];\r\n\r\n // Setup any static filters\r\n if (this.financialDashboardConfig.staticFilter) {\r\n this.chartFilters = this.financialDashboardConfig.staticFilter;\r\n }\r\n\r\n // Init year on first load\r\n this.chartFilters.year = this.chartFilters.year || this.currentYear;\r\n\r\n this.financialRepositoryService.getCloseGridObservable().subscribe(() => {\r\n this.toggleShowGrid();\r\n });\r\n\r\n this.loadFinancialSummary();\r\n \r\n this.setupDashboard();\r\n }\r\n\r\n dataSelected(event: DwChartDataSelectedEvent, chartResult: ChartDataQueryResult) {\r\n const fields = this.financialRepositoryService.getFinancialFields();\r\n\r\n \r\n this.selectedInfo = {\r\n event: event,\r\n chartResult: chartResult,\r\n label: `${chartResult.chartDataRequest.title} - ${event.category}`,\r\n };\r\n \r\n this.gridFilters = this.financialRepositoryService.buildGridFilters(event, chartResult, this.chartFilters)\r\n \r\n const monthValue = event.data[fields.month];\r\n const yearValue = event.data[fields.year];\r\n if (monthValue) {\r\n this.currentMonth = event.data[fields.month];\r\n this.currentYear = event.data[fields.year];\r\n }\r\n\r\n if (event?.browserEvent?.ctrlKey) {\r\n this.toggleShowGrid();\r\n }\r\n\r\n this.setupTiles();\r\n }\r\n\r\n onFilterChange() {\r\n\r\n if (this.chartFilters?.year) {\r\n this.currentYear=this.chartFilters.year;\r\n }\r\n\r\n this.loadFinancialSummary();\r\n\r\n this.loadDashboardGroup();\r\n }\r\n\r\n toggleShowGrid() {\r\n this.showGrid = !this.showGrid;\r\n }\r\n\r\n setGroup(groupName: string) {\r\n this.currentDashboardGroup = this.financialDashboardConfig.groups.find(g => g.groupName === groupName);\r\n\r\n this.currentGroupChanged.emit(groupName);\r\n\r\n this.setupDashboard();\r\n\r\n this.showGrid = false;\r\n }\r\n\r\n \r\n private loadFinancialSummary(forceRefresh: boolean = false) {\r\n if (!forceRefresh && this.summaryData && this.previousChartFilters?.pilotExaminerId == this.chartFilters?.pilotExaminerId) {\r\n return;\r\n }\r\n\r\n this.previousChartFilters = deepCopy(this.chartFilters);\r\n\r\n this.financialRepositoryService.getFinancialSummary(this.chartFilters, this.currentDashboardGroup?.summaryAdditionalFilterOptions)\r\n .subscribe(summaryData => {\r\n this.summaryData = summaryData;\r\n\r\n this.setupTiles();\r\n });\r\n }\r\n\r\n private setupDashboard(forceRefresh: boolean = false) {\r\n this.currentGroup = this.currentDashboardGroup.groupName;\r\n this.currentGroupChanged.emit(this.currentGroup);\r\n\r\n const index = this.financialDashboardConfig.groups.findIndex(g => g.groupName === this.currentGroup);\r\n\r\n const results = this.allChartResults[index];\r\n\r\n if (results && !forceRefresh) {\r\n this.currentChartResults = results.chartResults;\r\n this.tileConfigs = results.tileConfigs;\r\n\r\n this.setupTiles();\r\n return;\r\n }\r\n\r\n // if (this.currentDashboardGroup.filterOptions?.showYear) {\r\n // this.chartFilters.year = this.chartFilters.year || this.dateTimeUtilService.getCurrentYear();\r\n // }\r\n\r\n this.loadDashboardGroup();\r\n }\r\n\r\n private loadDashboardGroup() {\r\n this.financialRepositoryService.setupCharts(this.currentDashboardGroup.charts, this.chartFilters)\r\n .subscribe((chartDataQueryResults: ChartDataQueryResult[]) => {\r\n\r\n const index = this.financialDashboardConfig.groups.findIndex(g => g.groupName === this.currentGroup);\r\n // store results\r\n \r\n this.currentChartResults = chartDataQueryResults;\r\n \r\n var tiles = this.setupTiles();\r\n this.allChartResults[index] = { chartResults: chartDataQueryResults, tileConfigs: tiles };\r\n });\r\n }\r\n\r\n private setupTiles() {\r\n this.tileConfigs = this.financialRepositoryService.setupTiles(this.currentDashboardGroup.tiles, this.currentChartResults, this.summaryData?.data, {year: this.currentYear, month: this.currentMonth });\r\n\r\n return this.tileConfigs;\r\n }\r\n\r\n colors = DwChartColors;\r\n colors2 = DwChartColors2;\r\n}\r\n","\r\n \r\n \r\n

\r\n \r\n Financials\r\n \r\n

\r\n \r\n Here are all of your financials\r\n \r\n \r\n
\r\n\r\n \r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n {{selectedInfo?.label}}\r\n
\r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
Colors:
\r\n
\r\n
\r\n

\r\n
\r\n

Colors2:
\r\n
\r\n
\r\n
","import { DwUser } from \"@devwareapps/devware-cap\";\r\nimport { PilexosUserTypeIds } from \"./pilexos-user-type.enum\";\r\n\r\nexport class PilexosUser\r\n{\r\n user: DwUser;\r\n\r\n UserTypeId: PilexosUserTypeIds;\r\n\r\n\r\n constructor(user: DwUser) {\r\n \r\n\r\n this.setupUser(user);\r\n }\r\n\r\n private setupUser(user: DwUser) {\r\n \r\n this.user = user;\r\n\r\n const attr = this.user.ExtendedAttributes.find(a => a.AttrName=='UserTypeId');\r\n\r\n if (attr) {\r\n this.UserTypeId = parseInt(attr.AttrValue);\r\n }\r\n }\r\n\r\n}","import { Component, Inject } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { DwMenuHelperService, DwMenuService, DwMenuServiceState, DwSecurityUserService } from '@devwareapps/devware-cap';\r\nimport { environment } from 'src/environments/environment';\r\nimport { AppPermissions } from '../../meta-data/app-permissions.enum';\r\nimport { PilexosUser } from '../../features/shared/models/pilexos-user.model';\r\nimport { PilexosUserTypeIds } from '../../features/shared/models/pilexos-user-type.enum';\r\nimport { ExaminerRepositoryService } from '../../features/examiner/services/examiner-repository.service';\r\nimport { PilotExaminerStatusAllItems } from '../../meta-data/app-meta-data.service';\r\n\r\n@Component({\r\n selector: 'app-root',\r\n templateUrl: './app.component.html',\r\n styleUrls: ['./app.component.scss']\r\n})\r\nexport class AppComponent {\r\n showLayout: boolean = true;\r\n\r\n showSlashScreen: boolean = true;\r\n environmentMessage: string;\r\n scrolled = false;\r\n\r\n themeClasses: string;\r\n lastExaminer: import(\"c:/Projects/DevwareGit/Pilexos/PilexosCAPAngular/src/app/meta-data/app-meta-data.service\").PilotExaminerEntity;\r\n\r\n constructor(\r\n private router: Router,\r\n private menuService: DwMenuService,\r\n private menuHelperService: DwMenuHelperService,\r\n private dwSecurityUserService: DwSecurityUserService,\r\n private examinerRepository: ExaminerRepositoryService\r\n ) {\r\n this.environmentMessage = environment.environmentMessage;\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n setTimeout(() => {\r\n this.showSlashScreen = false;\r\n }, 200);\r\n\r\n document.addEventListener(\"scroll\", (ev) => {\r\n let document = ev.target as any;\r\n if (document.scrollingElement.scrollTop > 50) {\r\n if (!this.scrolled) {\r\n this.scrolled = true;\r\n this.setTheme(this.menuService.menuState);\r\n }\r\n }\r\n else {\r\n if (this.scrolled) {\r\n this.scrolled = false;\r\n this.setTheme(this.menuService.menuState);\r\n }\r\n }\r\n });\r\n\r\n \r\n\r\n this.menuService.menuStateObservable\r\n .subscribe(menuState => {\r\n this.setTheme(menuState);\r\n })\r\n\r\n this.setTheme(this.menuService.menuState);\r\n }\r\n\r\n\r\n private checkPilotExaminerSecurity(menuState: DwMenuServiceState) {\r\n if (!(menuState?.currentMenu?.url?.indexOf('/settings')>=0)) {\r\n return;\r\n }\r\n\r\n const user = this.dwSecurityUserService.securityContext?.ApplicationUser;\r\n \r\n if (!user) {\r\n return;\r\n }\r\n \r\n if (this.dwSecurityUserService.hasPermission(AppPermissions.pilexosUserTypeLimitedMenusCanSeeAll)) {\r\n return;\r\n }\r\n \r\n console.log('Checking security for pilot examiner');\r\n\r\n var pilexosUser = new PilexosUser(user);\r\n\r\n if (pilexosUser.UserTypeId != PilexosUserTypeIds.pilotExaminer) {\r\n this.router.navigate(['/']);\r\n }\r\n\r\n const menu = this.menuService.menuState.currentMenu;\r\n\r\n console.log('Current Menu', menu);\r\n\r\n if (!menu) {\r\n console.log('menu not found');\r\n }\r\n\r\n if (!this.menuHelperService.canAccessMenu(menu)) {\r\n this.router.navigate(['/']);\r\n }\r\n\r\n if (!menu.data.visibleRuleResult) {\r\n this.router.navigate(['/']);\r\n }\r\n\r\n if (this.lastExaminer?.UserId == user?.UserId) {\r\n if ((this.lastExaminer.PilotExaminerStatusId == PilotExaminerStatusAllItems.VerifiedLive) || (this.lastExaminer.PilotExaminerStatusId == PilotExaminerStatusAllItems.Inactive)) {\r\n return;\r\n }\r\n this.router.navigate(['/']);\r\n\r\n return;\r\n }\r\n\r\n this.examinerRepository.getCurrentPilotExaminer()\r\n .subscribe(examiner => {\r\n\r\n this.lastExaminer = examiner;\r\n \r\n if ((examiner.PilotExaminerStatusId == PilotExaminerStatusAllItems.VerifiedLive) || (examiner.PilotExaminerStatusId == PilotExaminerStatusAllItems.Inactive)) {\r\n return;\r\n }\r\n this.router.navigate(['/']);\r\n })\r\n \r\n }\r\n\r\n private setTheme(menuState: DwMenuServiceState) {\r\n this.checkPilotExaminerSecurity(menuState);\r\n \r\n // deselect text\r\n\r\n const currentMenu = menuState.currentMenu;\r\n\r\n let themeClass = Themes.home;\r\n\r\n if (!currentMenu) {\r\n this.themeClasses = themeClass;\r\n\r\n if (this.scrolled) {\r\n this.themeClasses += ',scrolled';\r\n }\r\n\r\n return;\r\n }\r\n\r\n themeClass = Themes.main;\r\n\r\n if (currentMenu.url?.indexOf('admin') >= 0) {\r\n themeClass = Themes.admin;\r\n }\r\n\r\n if (currentMenu.data?.referenceKey == 'home') {\r\n themeClass = Themes.home;\r\n }\r\n\r\n this.themeClasses = themeClass;\r\n\r\n if (this.scrolled) {\r\n this.themeClasses += ',scrolled';\r\n }\r\n\r\n //this.deselectText();\r\n }\r\n\r\n private deselectText() {\r\n try {\r\n if (window.getSelection) { \r\n window.getSelection().removeAllRanges(); \r\n }\r\n else \r\n if ((document as any).selection) { \r\n (document as any).selection.empty(); \r\n }\r\n }\r\n catch(e) {\r\n\r\n }\r\n }\r\n\r\n ngOnDestroy(): void {\r\n document.removeEventListener(\"scroll\", (ev) => { });\r\n }\r\n}\r\n\r\n\r\nenum Themes {\r\n home = 'home-theme',\r\n main = 'main-theme',\r\n admin = 'admin-theme'\r\n}\r\n","\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n {{environmentMessage}}\r\n
\r\n
\r\n
\r\n
","import { Component, EventEmitter, Inject, OnInit, SimpleChanges } from '@angular/core';\r\nimport { FormGroup, FormControl } from '@angular/forms';\r\nimport { DwComponent, DwComponentType, DwContainerOptions, DwContext, DwExpressionService, DwFormActionInterceptResult, DwFormActionInterceptor, DwFormActionKeys, DwFormContextMode, DwMessage, DwMessageSeverity, DwMetaDataFormApi, DwMetaDataFormConfig, DwMetaDataFormStateService, DwMetaDataService, DwMetaDataServiceToken, DwSectionBaseComponent, DwSectionBasePreference, DwUIMetaDataConfig, DwUIMetaDataConfigToken, DwUiConfigRegistryService, deepCopy, formatDateTimeFromLocal } from '@devwareapps/devware-cap';\r\nimport { Observable, Subscription, of } from 'rxjs';\r\n\r\nimport { AppMetaData, AppMetaDataItemNames, ApplicantAcsWrittenResultEntity, ApplicantPlaceholderEntity, CheckRideOutcomeAllItems, CheckRideRequestEntity, CheckRideRequestSubStatusAllItems, CheckRideResultEntity, CheckRideScenarioEntity, PilotExaminerLocationEntity, PilotExaminerSearchQueryEntity, StudentApplicantEntity } from '../../../../meta-data/app-meta-data.service';\r\nimport { ExaminerRepositoryService } from '../../../examiner/services/examiner-repository.service';\r\nimport { ApplicantCheckrideVariables } from '../../models/applicant-checkride-variables.model';\r\nimport { ApplicantRepositoryService } from '../../services/applicant-repository.service';\r\nimport { CheckCalendarAvailabilityRequestDTO } from '../../../examiner/models/check-calendar-availability-request.model';\r\nimport { DateTimeUtilService } from '../../../shared/util/date-time-util.service';\r\nimport { CurrentStudentContext } from 'src/app/features/shared/contexts/current-student-context/current-student-context.service';\r\nimport { CheckCalendarAvailabilityResultDTO } from '../../../examiner/models/check-calendar-availability-result.model';\r\nimport { map, mergeMap } from 'rxjs/operators';\r\nimport { CheckrideValidationResult } from '../../models/checkride-validation-result.model';\r\nimport { PlanOfActionRepositoryService } from '../../../plan-of-action/services/plan-of-action-repository.service';\r\n\r\n@DwComponent({\r\n key: 'applicant-check-ride-util',\r\n name: ' Applicant Check Ride Util',\r\n componentType: DwComponentType.formSection,\r\n parentItemName: AppMetaDataItemNames.CheckRideRequest,\r\n isGlobal: false\r\n})\r\n@Component({\r\n selector: 'app-applicant-check-ride-util',\r\n template: `\r\n `\r\n})\r\nexport class ApplicantCheckRideUtilComponent extends DwSectionBaseComponent {\r\n checkRideRequest: CheckRideRequestEntity;\r\n\r\n originalCheckRideRequest: CheckRideRequestEntity;\r\n\r\n rebookSetupComplete = false;\r\n formApi: DwMetaDataFormApi;\r\n applicantDataUpdated: boolean;\r\n applicantCheckride: CheckRideRequestEntity;\r\n examinerScheduleRechecked: boolean;\r\n activeCheckrideChecked: boolean;\r\n lastCheckRideRequest: CheckRideRequestEntity;\r\n\r\n constructor(\r\n dwExpressionService: DwExpressionService,\r\n dwUiConfigRegistryService: DwUiConfigRegistryService,\r\n @Inject(DwUIMetaDataConfigToken) uiMetaDataConfig: DwUIMetaDataConfig,\r\n @Inject(DwMetaDataServiceToken) dwMetaDataService: DwMetaDataService,\r\n private dwMetaDataFormStateService: DwMetaDataFormStateService,\r\n private examinerRepositoryService: ExaminerRepositoryService,\r\n private applicantRepositoryService: ApplicantRepositoryService,\r\n private dateTimeUtilService: DateTimeUtilService,\r\n private planOfActionRepositoryService: PlanOfActionRepositoryService\r\n ) {\r\n super(dwExpressionService, dwUiConfigRegistryService, uiMetaDataConfig, dwMetaDataService);\r\n\r\n this.formApi = this.dwMetaDataFormStateService.state.formApi;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.setupDataWatch();\r\n\r\n this.setupFormActionInterceptor()\r\n }\r\n\r\n formActionInterceptor: DwFormActionInterceptor\r\n\r\n setupFormActionInterceptor() {\r\n this.formActionInterceptor = {\r\n interceptorName: 'applicantCheckRideUtil',\r\n order: 1,\r\n onBeforeActionWait: true,\r\n onBeforeAction: (actionPref, actionConfig) => {\r\n\r\n // Note: Payment Util form inteceptor runs after this and handles the payment validation (it also saves the checkride before showing the payment modal)\r\n const result: DwFormActionInterceptResult = {\r\n abort: false\r\n }\r\n\r\n if (actionPref.actionKey != DwFormActionKeys.formWorkflow) {\r\n return of(result);\r\n }\r\n\r\n const validationResult = this.dwMetaDataFormStateService.state.formApi.validateForm();\r\n\r\n if (!validationResult.isValid) {\r\n result.abort = true;\r\n result.message = this.dwMetaDataFormStateService.state.formApi.createValidationMessage(validationResult);\r\n\r\n return of(result);\r\n }\r\n\r\n // Moved to payment util\r\n return this.validateCheckride()\r\n .pipe(mergeMap(validationResult => {\r\n\r\n if (!validationResult.IsSuccess) {\r\n result.abort = true;\r\n result.message = validationResult.Message;\r\n\r\n return of(result);\r\n }\r\n\r\n return this.validateScheduleOnSave();\r\n }));\r\n }\r\n }\r\n\r\n // Register the action interceptor with the form\r\n this.dwMetaDataFormStateService.addActionInterceptor(this.formActionInterceptor);\r\n }\r\n\r\n validateCheckride(): Observable {\r\n return this.applicantRepositoryService.validateActiveCheckrides(this.checkRideRequest);\r\n }\r\n\r\n validateScheduleOnSave(): Observable {\r\n const result: DwFormActionInterceptResult = {\r\n abort: false,\r\n }\r\n if (!this.originalCheckRideRequest) {\r\n\r\n return of(result);\r\n }\r\n\r\n if (this.formApi.getFormConfig().formMode != DwFormContextMode.edit) {\r\n return of(result);\r\n }\r\n\r\n if (this.originalCheckRideRequest?.CheckRideRequestSubStatusId != CheckRideRequestSubStatusAllItems.Draft &&\r\n this.originalCheckRideRequest?.CheckRideRequestSubStatusId != CheckRideRequestSubStatusAllItems.PendingPayment &&\r\n this.originalCheckRideRequest?.CheckRideRequestSubStatusId != CheckRideRequestSubStatusAllItems.Rejected\r\n ) {\r\n return of(result);\r\n }\r\n\r\n return this.checkCalendarAvailability()\r\n .pipe(map(availability => {\r\n if (availability.HasConflicts) {\r\n result.abort = true;\r\n result.message = 'The scheduled date/time is no longer available on the Examiners calendar. Please select a new date/time.';\r\n\r\n // Recheck the schedule since it's now no longer avaialble\r\n setTimeout(() => {\r\n this.examinerScheduleRechecked = false;\r\n this.recheckExaminerSchedule();\r\n }, 200);\r\n }\r\n\r\n return result;\r\n }));\r\n }\r\n\r\n setupDataWatch() {\r\n this.formApi.getFormDataChanges(100)\r\n .subscribe(dataChange => {\r\n if (this.formApi.isDataLoadComplete) {\r\n this.checkForDataChange();\r\n }\r\n });\r\n\r\n if (this.formApi.isDataLoadComplete) {\r\n this.checkForDataChange();\r\n }\r\n }\r\n\r\n private checkForDataChange() {\r\n\r\n const checkRideRequest = this.formApi.getFormData();\r\n\r\n this.checkRideRequest = checkRideRequest;\r\n\r\n if (!this.originalCheckRideRequest) {\r\n this.originalCheckRideRequest = checkRideRequest;\r\n }\r\n\r\n this.fillInMissingDefaults();\r\n\r\n this.recheckExaminerSchedule();\r\n\r\n this.checkForActiveCheckrides();\r\n\r\n this.setupRebook();\r\n\r\n this.lastCheckRideRequest = checkRideRequest;\r\n }\r\n\r\n fillInMissingDefaults() {\r\n if (!this.checkRideRequest.StudentApplicantId) {\r\n console.log('Missing Student Application Id, populating');\r\n\r\n const studentContext = this.context[CurrentStudentContext]?.value as StudentApplicantEntity;\r\n\r\n if (studentContext?.StudentApplicantId) {\r\n const checkrideRequest: Partial = {\r\n StudentApplicantId: studentContext?.StudentApplicantId,\r\n AviationAuthorityId: studentContext?.AviationAuthorityId\r\n };\r\n\r\n this.formApi.patchFormData(checkrideRequest);\r\n }\r\n }\r\n\r\n this.setAcsTest();\r\n }\r\n\r\n setAcsTest() {\r\n if (!this.checkRideRequest?.CheckRideTypeId) {\r\n return;\r\n }\r\n\r\n\r\n if (this.checkRideRequest?.ApplicantAcsWrittenResult?.AcsTestId && this.lastCheckRideRequest?.CheckRideTypeId == this.checkRideRequest.CheckRideTypeId) {\r\n return;\r\n }\r\n\r\n console.log('Setting Acs Test from Checkride Type Id - ', this.checkRideRequest.CheckRideTypeId);\r\n\r\n this.planOfActionRepositoryService.getAcsTestByCheckRideType(this.checkRideRequest?.CheckRideTypeId)\r\n .subscribe(acsTestCheckRideType => {\r\n\r\n const checkrideRequest = this.formApi.getFormData();\r\n\r\n if (acsTestCheckRideType?.AcsTestId) {\r\n if (checkrideRequest.ApplicantAcsWrittenResult?.AcsTestId == acsTestCheckRideType.AcsTestId) {\r\n return;\r\n }\r\n\r\n if (checkrideRequest.ApplicantAcsWrittenResult == null) {\r\n checkrideRequest.ApplicantAcsWrittenResult = AppMetaData.ApplicantAcsWrittenResult.CreateEntity();\r\n }\r\n\r\n const checkrideRequestUpdate: Partial = {\r\n ApplicantAcsWrittenResult: deepCopy(this.checkRideRequest.ApplicantAcsWrittenResult)\r\n };\r\n\r\n checkrideRequestUpdate.ApplicantAcsWrittenResult.AcsTestId = acsTestCheckRideType.AcsTestId;\r\n\r\n this.formApi.patchFormData(checkrideRequestUpdate);\r\n }\r\n });\r\n }\r\n\r\n checkForActiveCheckrides() {\r\n if (this.activeCheckrideChecked || !this.checkRideRequest) {\r\n return;\r\n }\r\n\r\n this.activeCheckrideChecked = true;\r\n\r\n if (this.dwMetaDataFormStateService.state.formContext.contextMode != DwFormContextMode.add) {\r\n return;\r\n }\r\n\r\n //if (!this.checkRideRequest.CheckRideRequestId)\r\n\r\n this.applicantRepositoryService.getActiveCheckrides(this.checkRideRequest.CheckRideRequestId)\r\n .subscribe(activeCheckrides => {\r\n const variables: ApplicantCheckrideVariables = {};\r\n\r\n variables.Active_Checkrides_Exists = activeCheckrides.length > 0;\r\n\r\n this.formApi.patchVariableContext(variables);\r\n });\r\n }\r\n\r\n recheckExaminerSchedule() {\r\n if (this.examinerScheduleRechecked || !this.checkRideRequest) {\r\n return;\r\n }\r\n\r\n this.examinerScheduleRechecked = true;\r\n\r\n\r\n if (this.formApi.getFormConfig().formMode != DwFormContextMode.edit) {\r\n return;\r\n }\r\n\r\n if (this.checkRideRequest?.CheckRideRequestSubStatusId == CheckRideRequestSubStatusAllItems.Draft ||\r\n this.checkRideRequest?.CheckRideRequestSubStatusId == CheckRideRequestSubStatusAllItems.PendingPayment ||\r\n this.checkRideRequest?.CheckRideRequestSubStatusId == CheckRideRequestSubStatusAllItems.Rejected\r\n ) {\r\n\r\n this.checkCalendarAvailability()\r\n .subscribe(availability => {\r\n if (availability.HasConflicts) {\r\n const checkrideRequest: Partial = {\r\n PreferredDateTime: this.dateTimeUtilService.getCurrentDateTime(),\r\n };\r\n\r\n this.formApi.patchFormData(checkrideRequest);\r\n\r\n const variables = this.formApi.getVariableContextValue();\r\n\r\n if (this.checkRideRequest?.CheckRideRequestSubStatusId != CheckRideRequestSubStatusAllItems.Rejected) {\r\n variables.Show_Search = true;\r\n variables.Preferred_Pilot_Examiner_Id = this.checkRideRequest.ScheduledPilotExaminerId;\r\n }\r\n\r\n variables.Checkride_Date_No_Longer_Valid = true;\r\n\r\n this.formApi.patchVariableContext(variables);\r\n }\r\n });\r\n }\r\n }\r\n\r\n checkCalendarAvailability(): Observable {\r\n if (!this.checkRideRequest) {\r\n return of(null);\r\n }\r\n\r\n //this.examinerScheduleRechecked = true;\r\n\r\n const request: CheckCalendarAvailabilityRequestDTO = {\r\n CheckRideDateTime: this.checkRideRequest.ScheduledDateTime,\r\n DurationMinutes: this.checkRideRequest.ScheduledTimeMinutes,\r\n PilotExaminerId: this.checkRideRequest.ScheduledPilotExaminerId,\r\n CheckRideRequestId: this.checkRideRequest.CheckRideRequestId\r\n };\r\n\r\n return this.examinerRepositoryService.checkCalendarAvailability(request);\r\n\r\n // .subscribe(availability => {\r\n // if (availability.HasConflicts) {\r\n // const checkrideRequest: Partial = {\r\n // PreferredDateTime : this.dateTimeUtilService.getCurrentDateTime(),\r\n // };\r\n\r\n // this.formApi.patchFormData(checkrideRequest);\r\n\r\n // const variables = this.formApi.getVariableContextValue();\r\n\r\n // if (this.checkRideRequest?.CheckRideRequestSubStatusId != CheckRideRequestSubStatusAllItems.Rejected) {\r\n // variables.Show_Search = true;\r\n // variables.Preferred_Pilot_Examiner_Id = this.checkRideRequest.ScheduledPilotExaminerId;\r\n // }\r\n\r\n // variables.Checkride_Date_No_Longer_Valid = true;\r\n\r\n // this.formApi.patchVariableContext(variables);\r\n // }\r\n // });\r\n\r\n }\r\n\r\n setupRebook() {\r\n // We want to wait until the defaults have been loaded\r\n if (!this.dwMetaDataFormStateService.state.formContext.defaultsProcessed) {\r\n return;\r\n }\r\n\r\n const variables = this.formApi.getVariableContextValue();\r\n\r\n if (!variables?.RebookCheckrideId) {\r\n return;\r\n }\r\n\r\n if (!variables.Rebook_Pilot_Examiner_Id) {\r\n this.rebookSetupComplete = false;\r\n }\r\n\r\n if (this.rebookSetupComplete) {\r\n return;\r\n }\r\n\r\n this.rebookSetupComplete = true;\r\n\r\n // Use the loaded checkride if it is already loaded\r\n let ob = of(this.applicantCheckride);\r\n\r\n if (!this.applicantCheckride) {\r\n ob = this.applicantRepositoryService.getApplicantCheckrideRequest(variables.RebookCheckrideId)\r\n }\r\n\r\n ob.subscribe(checkride => {\r\n this.applicantCheckride = checkride;\r\n // Wait a half second to make sure the form is loaded\r\n setTimeout(() => {\r\n this.updateCheckride(checkride);\r\n });\r\n });\r\n }\r\n\r\n updateCheckride(checkride: CheckRideRequestEntity) {\r\n if (!checkride) {\r\n return;\r\n }\r\n\r\n const updatedCheckride = this.examinerRepositoryService.prepareCheckrideForCopy(checkride);\r\n\r\n let waivePayment = this.examinerRepositoryService.getWaiveCheckridePaymentOnRebook(checkride);\r\n\r\n // Set the preferred pilot examiner to the same as before\r\n const variables: ApplicantCheckrideVariables = {\r\n Preferred_Pilot_Examiner_Id: checkride.ScheduledPilotExaminerId,\r\n Pilexos_Payment_Waived: waivePayment,\r\n Examiner_Rebook_Cost: checkride.CheckRideResult?.RetestCost,\r\n Rebook_Pilot_Examiner_Id: checkride.ScheduledPilotExaminerId,\r\n Show_Search: true\r\n };\r\n\r\n this.formApi.patchVariableContext(variables);\r\n\r\n updatedCheckride.PilexosBookingPaymentAdded = waivePayment;\r\n\r\n // Clear scheduled fields\r\n updatedCheckride.ScheduledDateTime = null;\r\n updatedCheckride.ScheduledPilotExaminerId = null;\r\n updatedCheckride.ExaminerBookingCost = checkride.ExaminerBookingCost;\r\n\r\n this.formApi.patchFormData(updatedCheckride);\r\n }\r\n\r\n}\r\n\r\n","import { Inject, Injectable } from \"@angular/core\";\r\nimport { ChartFilters } from \"../models/chart-filters.model\";\r\nimport { Observable, Subject, combineLatest } from \"rxjs\";\r\nimport { AppMetaData, CheckRideRequestEntity, CheckRideRequestQueryBuilder, CheckRideRequestStatusAllItems, CheckRideRequestSubStatusAllItems, CheckrideRequestAggregateBaseQueryBuilder, CheckrideRequestAggregateBaseQueryMetaDataAttributes } from \"../../../meta-data/app-meta-data.service\";\r\nimport { DwField, DwFieldAggregate, DwFieldType, DwItemAttribute, DwMetaDataService, DwMetaDataServiceToken, DwOrmDataService, DwOrmDataServiceToken, DwQuery, DwQueryBuilderGen, DwQueryFilterGroup, DwQueryHelper, DwQueryMetaData, DwTemplateUtilService, deepCopy, fieldSelectorType } from \"@devwareapps/devware-cap\";\r\nimport { CheckrideFinancialFields } from \"../models/checkride-financial-fields.model\";\r\nimport { map, mergeMap } from \"rxjs/operators\";\r\nimport { DataQueryResult } from \"../models/data-query-result.model\";\r\nimport { BaseQueryResult } from \"../models/base-query-result.model\";\r\nimport { filterFieldSelectorType } from \"@devwareapps/devware-cap/devware-orm/query/builders/dw-query-filter-builder-generic.model\";\r\nimport { DwChartPreferences, DwChartSeries, DwChartTypes } from \"../../z-devware/visualizations/models/dw-chart-preferences.model\";\r\nimport { ChartDataRequest, ChartDataRequestSeries, isChartOrderbyField } from \"../models/chart-data-request.model\";\r\nimport { ChartDataQueryResult } from \"../models/chart-data-result.model\";\r\nimport { DwChartDataSelectedEvent } from \"../../z-devware/visualizations/models/dw-chart-data-selected-event.model\";\r\nimport { DwChartColors } from \"../../z-devware/visualizations/models/dw-chart-colors.model\";\r\nimport { FinancialTileRequest } from \"../models/financial-dashboard-config.model\";\r\nimport { DwTileConfig } from \"../../z-devware/visualizations/models/dw-tile-config.model\";\r\nimport { DwMdTemplateService } from \"@devwareapps/devware-cap/devware-ui-metadata/controls/templates-controls/services/dw-md-template-service\";\r\nimport { ChartAdditionalFilterOptions } from \"../models/chart-additional-filter.options.model\";\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class FinancialsRepositoryService {\r\n\r\n\r\n static closeGridSubject = new Subject();\r\n\r\n constructor(@Inject(DwOrmDataServiceToken) private dwOrmDataService: DwOrmDataService,\r\n @Inject(DwMetaDataServiceToken) private dwMetaDataService: DwMetaDataService,\r\n private dwTemplateUtil: DwTemplateUtilService,\r\n ) {\r\n\r\n }\r\n\r\n closeGrid() {\r\n FinancialsRepositoryService.closeGridSubject.next();\r\n }\r\n\r\n getCloseGridObservable(): Observable {\r\n return FinancialsRepositoryService.closeGridSubject.asObservable();\r\n }\r\n\r\n buildGridFilters(event: DwChartDataSelectedEvent, chartDataQueryResult: ChartDataQueryResult, chartFilters: ChartFilters): any {\r\n const filter: any = {\r\n groupChartFilters: chartDataQueryResult.query.Filter\r\n };\r\n\r\n filter.groupChartFilters.Op = 'AND';\r\n\r\n const categoryField = this.getFieldName(chartDataQueryResult.chartDataRequest.categoryField, true);\r\n\r\n filter[categoryField] = event.categoryValue;\r\n\r\n if (chartDataQueryResult.chartDataRequest.chartType != DwChartTypes.pie && chartDataQueryResult.chartDataRequest.series?.length > 1) {\r\n const series = this.findSeries(event, chartDataQueryResult);\r\n\r\n if (series) {\r\n const dataFieldName = this.getFieldName(series.dataField, true);\r\n\r\n // Find aggregate Field in query\r\n const aggrField = chartDataQueryResult.query.FieldSettings.IncludeFields.find(f => f.FieldAlias == dataFieldName);\r\n\r\n if (aggrField?.FullFieldName) {\r\n filter[aggrField.FullFieldName] = {\r\n greaterThan: 0\r\n }\r\n }\r\n\r\n //filter[dataFieldName] = event.dataValue;\r\n }\r\n }\r\n\r\n return filter;\r\n }\r\n\r\n private findSeries(event: DwChartDataSelectedEvent, chartDataQueryResult: ChartDataQueryResult): ChartDataRequestSeries {\r\n const index = chartDataQueryResult.chartPreferences.series?.findIndex(s => s.dataField == event.series?.dataField);\r\n\r\n if (index >= 0) {\r\n const series = chartDataQueryResult.chartDataRequest.series[index];\r\n\r\n return series;\r\n }\r\n\r\n return null;\r\n }\r\n\r\n\r\n getFinancials(filters: ChartFilters, additionalFilterOptions: ChartAdditionalFilterOptions): Observable {\r\n return this.getFinancialsQuery(filters, additionalFilterOptions)\r\n .pipe(mergeMap(query => {\r\n return this.executeQueryData(query, null);\r\n }));\r\n }\r\n\r\n getFinancialSummary(filters: ChartFilters, additionalFilterOptions: ChartAdditionalFilterOptions): Observable {\r\n\r\n const newFilters = { ...filters };\r\n\r\n // Remove any year/month filters since we want a multi-year summary here\r\n newFilters.year = null;\r\n newFilters.month = null;\r\n\r\n return this.getFinancialSummaryQuery(newFilters, additionalFilterOptions)\r\n .pipe(mergeMap(query => {\r\n return this.executeQueryData(query, null);\r\n }));\r\n }\r\n\r\n setupCharts(chartDataRequest: ChartDataRequest[], chartFilters: ChartFilters): Observable {\r\n const chartRequestObs: Observable[] = [];\r\n\r\n for (let chartRequest of chartDataRequest) {\r\n chartRequestObs.push(this.setupChart(chartRequest, chartFilters));\r\n }\r\n\r\n return combineLatest(chartRequestObs)\r\n .pipe(map(results => {\r\n return results;\r\n }));\r\n }\r\n\r\n setupChart(chartDataRequest: ChartDataRequest, chartFilters: ChartFilters): Observable {\r\n return this.getChartData(chartDataRequest, chartFilters)\r\n .pipe(map(result => {\r\n return {\r\n data: result.data,\r\n query: result.query,\r\n queryMetaData: result.queryMetaData,\r\n chartPreferences: this.buildChartPreferences(result, chartDataRequest),\r\n chartDataRequest: chartDataRequest\r\n } as ChartDataQueryResult;\r\n\r\n }));\r\n }\r\n\r\n setupTiles(tileRequests: FinancialTileRequest[], chartDataQueryResults: ChartDataQueryResult[], summaryData: any[], chartFilters: ChartFilters): DwTileConfig[] {\r\n\r\n if (!tileRequests || tileRequests.length == 0 || !chartDataQueryResults || !summaryData) {\r\n return [];\r\n }\r\n\r\n const tileConfigs: DwTileConfig[] = [];\r\n\r\n for (let tileRequest of tileRequests) {\r\n const tileConfig = this.setupTile(tileRequest, chartDataQueryResults, summaryData, chartFilters);\r\n\r\n if (tileConfig) {\r\n tileConfigs.push(tileConfig);\r\n }\r\n }\r\n\r\n return tileConfigs;\r\n }\r\n\r\n setupTile(tileRequest: FinancialTileRequest, chartDataQueryResults: ChartDataQueryResult[], summaryData: any[], chartFilters: ChartFilters): DwTileConfig {\r\n const tileData = this.getTileData(tileRequest, chartDataQueryResults, summaryData, chartFilters);\r\n\r\n if (!tileData) {\r\n return \r\n }\r\n\r\n let valueData = tileData[tileRequest.dataField];\r\n let formatedValueData = valueData;\r\n\r\n if (valueData == null) {\r\n if (tileRequest.hideIfNull) return;\r\n\r\n valueData = 0;\r\n }\r\n\r\n if (tileRequest.isCurrency) {\r\n formatedValueData = this.formatNumeric(valueData || 0, 0, true, false);\r\n }\r\n\r\n const monthDisplay = tileData[this.getFinancialFields().monthDisplay] || chartFilters.month;\r\n \r\n const templateData = { year: chartFilters.year || 'All', month: chartFilters.month, monthDisplay: monthDisplay, ...tileData};\r\n\r\n const containerTile = this.dwTemplateUtil.processTemplate(tileRequest.headerTemplate, templateData);\r\n const tileConfig: DwTileConfig = {\r\n containerTitle: containerTile,\r\n showContainerTitle: true,\r\n headerColor: tileRequest.headerColor,\r\n additionalText: tileRequest.additionalText,\r\n iconClass: tileRequest.iconClass,\r\n tileText: formatedValueData,\r\n toolTip: tileRequest.toolTip\r\n };\r\n\r\n return tileConfig;\r\n }\r\n\r\n private getTileData(tileRequest: FinancialTileRequest, chartDataQueryResults: ChartDataQueryResult[], summaryData: any[], chartFilters: ChartFilters): any {\r\n const fields = this.getFinancialFields();\r\n let data: any;\r\n switch (tileRequest.type) {\r\n case 'year':\r\n data = summaryData?.find(d => d[fields.year] === chartFilters.year);\r\n\r\n break;\r\n case \"month\":\r\n const dataQueryResult = chartDataQueryResults[tileRequest.chartDataIndex || 0];\r\n data = dataQueryResult?.data.find(d => d[fields.month] === chartFilters.month && d[fields.year] === chartFilters.year);\r\n\r\n if (!data && dataQueryResult?.data?.length > 0) {\r\n // Use the first row of data if we can't find the month/year\r\n data = dataQueryResult?.data[0];\r\n }\r\n }\r\n\r\n return data;\r\n }\r\n\r\n private processTemplate(tileRequest: FinancialTileRequest, chartDataQueryResults: ChartDataQueryResult[], summaryData: any[], chartFilters: ChartFilters): any {\r\n const fields = this.getFinancialFields();\r\n let data: any;\r\n switch (tileRequest.type) {\r\n case 'year':\r\n data = summaryData?.find(d => d[fields.year] === chartFilters.year);\r\n\r\n break;\r\n case \"month\":\r\n const dataQueryResult = chartDataQueryResults[tileRequest.chartDataIndex || 0];\r\n data = dataQueryResult?.data.find(d => d[fields.month] === chartFilters.month && d[fields.year] === chartFilters.year);\r\n\r\n if (!data && dataQueryResult?.data?.length > 0) {\r\n // Use the first row of data if we can't find the month/year\r\n data = dataQueryResult?.data[0];\r\n }\r\n }\r\n\r\n return data;\r\n }\r\n\r\n setupPieChart(filters: ChartFilters, additionalFilterOptions: ChartAdditionalFilterOptions, title: string, categoryField: fieldSelectorType, dataFieldName: string, categoryDisplayField?: string, hideLegend?: boolean): Observable {\r\n const categoryFieldName = this.getFieldName(categoryField, false);\r\n\r\n return this.getPieChartData(filters, additionalFilterOptions, categoryFieldName)\r\n .pipe(map(result => {\r\n const attr = result.queryMetaData.Attributes.find(a => a.AttributeName == categoryFieldName);\r\n\r\n return {\r\n data: result.data,\r\n query: result.query,\r\n queryMetaData: result.queryMetaData,\r\n chartPreferences: this.buildPieChartPreferences(result, title, categoryDisplayField || attr?.DisplayAttributeName || categoryFieldName, dataFieldName, hideLegend)\r\n } as ChartDataQueryResult;\r\n }));\r\n }\r\n\r\n getChartData(chartDataRequest: ChartDataRequest, chartFilters: ChartFilters): Observable {\r\n // Merge Filters\r\n const finalFilters = { ...chartDataRequest.filters, ...chartFilters };\r\n\r\n const categoryFieldName = this.getFieldName(chartDataRequest.categoryField, true);\r\n\r\n // Remove any year/month filters since we want a multi-year summary here\r\n // finalFilters.month = null;\r\n\r\n return this.buildCheckRideBaseQuery(finalFilters, chartDataRequest.additionalFilterOptions)\r\n .pipe(mergeMap(result => {\r\n const query = result.queryBuilder;\r\n\r\n query.addField(f => categoryFieldName);\r\n\r\n for (const groupField of chartDataRequest.additionalGroupingFields || []) {\r\n query.addField(f => this.getFieldName(groupField, true));\r\n }\r\n\r\n if (!chartDataRequest.includeBlank) {\r\n query.addFilterAnd(f => f.IsNotBlank(a => categoryFieldName, null));\r\n }\r\n\r\n for (const orderField of chartDataRequest.orderByFields || []) {\r\n let descending = false;\r\n let fieldName = \"\";\r\n\r\n if (isChartOrderbyField(orderField)) {\r\n fieldName = this.getFieldName(orderField.field, true);\r\n descending = orderField.isDescending\r\n } else {\r\n fieldName = this.getFieldName(orderField, true);\r\n }\r\n\r\n if (descending) {\r\n query.addOrderByDesc(f => fieldName);\r\n } else {\r\n query.addOrderBy(f => fieldName);\r\n }\r\n }\r\n\r\n return this.executeQueryData(query.query, result.queryMetaData);\r\n }));\r\n }\r\n\r\n private buildChartPreferences(dataQueryResult: DataQueryResult, chartDataRequest: ChartDataRequest): DwChartPreferences {\r\n let hideLegend = chartDataRequest.hideLegend || false;\r\n\r\n if (!hideLegend && chartDataRequest.chartType == DwChartTypes.pie) {\r\n hideLegend = dataQueryResult.data.length > (chartDataRequest.maxLegendItems || 5);\r\n }\r\n\r\n const categoryFieldName = this.getFieldName(chartDataRequest.categoryField, false);\r\n const categoryDisplayFieldName = this.getFieldName(chartDataRequest.categoryDisplayField, false);\r\n\r\n const attr = dataQueryResult.queryMetaData.Attributes.find(a => a.AttributeName == categoryFieldName);\r\n\r\n const finalCategoryFieldName = categoryDisplayFieldName || attr?.DisplayAttributeName || categoryFieldName;\r\n\r\n const categoryValueFieldName = attr?.AttributeName || categoryFieldName || categoryDisplayFieldName;\r\n\r\n const prefs: DwChartPreferences = {\r\n chartType: chartDataRequest.chartType,\r\n containerTitle: `${chartDataRequest.title}`,\r\n showContainerTitle: true,\r\n categoryField: finalCategoryFieldName,\r\n categoryValueField: categoryValueFieldName,\r\n categoryDisplay: chartDataRequest.categoryDisplayOverride || attr?.AttributeDisplay,\r\n gridPreferences: {\r\n showGrid: true,\r\n categoryColumnWidth: 300,\r\n },\r\n hideLegend: hideLegend,\r\n series: []\r\n };\r\n\r\n const series = chartDataRequest.series || [];\r\n\r\n if (series.length == 0) {\r\n if (!chartDataRequest.dataField) {\r\n throw new Error('Data field is required when series is not specified');\r\n }\r\n prefs.series.push({\r\n chartType: chartDataRequest.chartType,\r\n dataField: this.getFieldName(chartDataRequest.dataField, false),\r\n borderColor: 'white',\r\n alternateColors: true,\r\n alternateColorStart: 4,\r\n });\r\n } else {\r\n for (let seriesItem of chartDataRequest.series) {\r\n const index = chartDataRequest.series.indexOf(seriesItem);\r\n const chartType = seriesItem.chartType || chartDataRequest.chartType;\r\n const series: DwChartSeries = {\r\n chartType: chartType,\r\n dataField: this.getFieldName(seriesItem.dataField, false),\r\n legendDisplay: seriesItem.legendDisplay,\r\n borderColor: 'white',\r\n alternateColors: chartType == DwChartTypes.pie,\r\n alternateColorStart: 4,\r\n axis: seriesItem.axis\r\n };\r\n\r\n switch (chartType) {\r\n case DwChartTypes.pie:\r\n series.alternateColors = true;\r\n series.alternateColorStart = index;\r\n break;\r\n case DwChartTypes.line:\r\n series.borderColor = seriesItem.color || this.colors[index];\r\n break;\r\n case DwChartTypes.bar:\r\n case DwChartTypes.column:\r\n series.backgroundColor = seriesItem.color || this.colors[index];\r\n break;\r\n }\r\n\r\n prefs.series.push(series);\r\n }\r\n }\r\n\r\n return prefs;\r\n }\r\n\r\n private buildPieChartPreferences(dataQueryResult: DataQueryResult, title: string, categoryField: string, dataFieldName: string, hideLegend?: boolean): DwChartPreferences {\r\n\r\n if (hideLegend == null) {\r\n hideLegend = dataQueryResult.data.length > 5;\r\n }\r\n\r\n const prefs: DwChartPreferences = {\r\n chartType: DwChartTypes.pie,\r\n containerTitle: `${title}`,\r\n showContainerTitle: true,\r\n categoryField: categoryField,\r\n //categoryDisplay: 'Checkride Type',\r\n gridPreferences: {\r\n showGrid: true,\r\n categoryColumnWidth: 300,\r\n },\r\n hideLegend: hideLegend,\r\n series: [\r\n {\r\n chartType: DwChartTypes.pie,\r\n dataField: dataFieldName,\r\n borderColor: 'white',\r\n alternateColors: true,\r\n alternateColorStart: 4,\r\n }\r\n ]\r\n };\r\n\r\n return prefs;\r\n }\r\n\r\n getPieChartData(filters: ChartFilters, additionalFilterOptions: ChartAdditionalFilterOptions, categoryField: string, includeBlank: boolean = false): Observable {\r\n const newFilters = { ...filters };\r\n\r\n // Remove any year/month filters since we want a multi-year summary here\r\n newFilters.month = null;\r\n\r\n return this.buildCheckRideBaseQuery(filters, additionalFilterOptions)\r\n .pipe(mergeMap(result => {\r\n const query = result.queryBuilder;\r\n\r\n query.addField(f => categoryField);\r\n\r\n\r\n if (!includeBlank) {\r\n query.addFilterAnd(f => f.IsNotBlank(a => categoryField, null));\r\n }\r\n\r\n // const attribute = result.queryMetaData.Attributes.find(a => a.AttributeName == field || a.AttributeName == (field as DwItemAttribute)?.fieldName);\r\n\r\n return this.executeQueryData(query.query, result.queryMetaData);\r\n }));\r\n }\r\n\r\n private getFieldName(fieldSelector: fieldSelectorType | string, includeItemName: boolean = true): string {\r\n const fields = new CheckrideRequestAggregateBaseQueryMetaDataAttributes();\r\n\r\n if (!fieldSelector) {\r\n return '';\r\n }\r\n\r\n if (typeof fieldSelector == 'string') {\r\n return fieldSelector;\r\n }\r\n\r\n const field = fieldSelector(fields);\r\n\r\n if (typeof field == 'string') {\r\n return field;\r\n }\r\n\r\n if (field instanceof DwItemAttribute) {\r\n\r\n return includeItemName ? field.fieldNameWithItemPrefix : field.fieldName;\r\n }\r\n\r\n return includeItemName ? field.FullFieldName : field.FieldName;\r\n }\r\n\r\n private executeQueryData(query: DwQuery, queryMetaData: DwQueryMetaData): Observable {\r\n return this.dwOrmDataService.executeQuery(query)\r\n .pipe(map(data => {\r\n return {\r\n data: data,\r\n query: query,\r\n queryMetaData: queryMetaData\r\n };\r\n }));\r\n }\r\n\r\n private getFinancialsQuery(filters: ChartFilters, additionalFilterOptions: ChartAdditionalFilterOptions): Observable {\r\n\r\n return this.buildCheckRideBaseQuery(filters,additionalFilterOptions)\r\n .pipe(map(result => {\r\n const query = result.queryBuilder;\r\n query.addField(f => f.AggrScheduledDateTimeMonthDisplay);\r\n query.addField(f => f.AggrScheduledDateTimeMonth);\r\n query.addField(f => f.AggrScheduledDateTimeYear);\r\n\r\n query.addOrderBy(f => f.AggrScheduledDateTimeYear);\r\n query.addOrderBy(f => f.AggrScheduledDateTimeMonth);\r\n\r\n return query.query;\r\n }));\r\n }\r\n\r\n private getFinancialSummaryQuery(filters: ChartFilters, additionalFilterOptions: ChartAdditionalFilterOptions): Observable {\r\n return this.buildCheckRideBaseQuery(filters, additionalFilterOptions)\r\n .pipe(map(result => {\r\n const query = result.queryBuilder;\r\n\r\n query.query.FieldSettings.AggregateQueryWithRollup = true;\r\n\r\n query.addField(f => f.AggrScheduledDateTimeYear);\r\n\r\n query.addOrderBy(f => f.AggrScheduledDateTimeYear);\r\n\r\n return query.query;\r\n }));\r\n }\r\n\r\n private buildCheckRideBaseQuery(filters?: ChartFilters, additionalFilterOptions?: ChartAdditionalFilterOptions): Observable> {\r\n\r\n return AppMetaData.Queries.CheckrideRequestAggregateBase.CreateQueryBuilderWithMetaData(this.dwMetaDataService)\r\n .pipe(map(qmd => {\r\n return {\r\n queryBuilder: this.setupCheckrideBaseQuery(qmd.queryBuilder, filters, additionalFilterOptions),\r\n queryMetaData: qmd.queryMetaData\r\n }\r\n }));\r\n }\r\n\r\n\r\n private setupCheckrideBaseQuery(query: CheckrideRequestAggregateBaseQueryBuilder, filters?: ChartFilters, additionalFilterOptions?: ChartAdditionalFilterOptions): CheckrideRequestAggregateBaseQueryBuilder {\r\n query.query = Object.assign(new DwQuery(query.query.RootTable), deepCopy(query.query));\r\n\r\n query.query.FieldSettings.AggregateQuery = true;\r\n\r\n const qh = new DwQueryHelper();\r\n\r\n // Clear all fields so we can create a clean aggregate query\r\n qh.clearAllFields(query.query);\r\n \r\n query.query.Order = [];\r\n\r\n if (additionalFilterOptions?.includeStatuses) {\r\n query.addFilterAnd(f => f.InList(a => a.CheckRideRequestSubStatusId, additionalFilterOptions?.includeStatuses)); \r\n } \r\n else {\r\n // If not include statuses, we use the passed in exclude filters or the defaults\r\n let excludeStatues = additionalFilterOptions?.excludeStatuses || [CheckRideRequestSubStatusAllItems.Cancelled, CheckRideRequestSubStatusAllItems.Rejected, CheckRideRequestSubStatusAllItems.Deleted, CheckRideRequestSubStatusAllItems.Draft];\r\n\r\n query.addFilterAnd(f => f.NotInList(a => a.CheckRideRequestSubStatusId, excludeStatues));\r\n }\r\n\r\n if (additionalFilterOptions?.includeProgramTypes) {\r\n query.addFilterAnd(f => f.InList(a => a.AvaiationTrainingProgramId, additionalFilterOptions.includeProgramTypes));\r\n }\r\n\r\n query.addFilterAnd(f => f.IsNotBlank(a => a.ScheduledDateTime, null));\r\n\r\n if (filters?.pilotExaminerId) {\r\n query.addFilterAnd(f => f.Equal(a => a.ScheduledPilotExaminerId, filters.pilotExaminerId));\r\n }\r\n\r\n if (filters?.year) {\r\n query.addFilterAnd(f => f.Equal(a => a.AggrScheduledDateTimeYear, filters.year));\r\n }\r\n\r\n if (filters?.month) {\r\n query.addFilterAnd(f => f.Equal(a => a.AggrScheduledDateTimeMonth, filters.month));\r\n }\r\n\r\n const fields = this.getFinancialFields();\r\n const attrs = AppMetaData.Queries.CheckrideRequestAggregateBase.Attributes;\r\n\r\n query.query.AddField({\r\n FieldType: DwFieldType.Aggregate,\r\n AggregateFunction: DwFieldAggregate.Count,\r\n FieldAlias: fields.checkrideCount\r\n });\r\n\r\n query.query.AddField({\r\n FieldType: DwFieldType.Aggregate,\r\n AggregateFunction: DwFieldAggregate.Sum,\r\n FieldAlias: fields.requestedCount,\r\n FullFieldName: attrs.AggrOutcomeIsRequested.fieldNameWithItemPrefix,\r\n });\r\n\r\n query.query.AddField({\r\n FieldType: DwFieldType.Aggregate,\r\n AggregateFunction: DwFieldAggregate.Sum,\r\n FieldAlias: fields.requestedRevenue,\r\n FullFieldName: attrs.AggrRevenueIsRequested.fieldNameWithItemPrefix,\r\n });\r\n\r\n query.query.AddField({\r\n FieldType: DwFieldType.Aggregate,\r\n AggregateFunction: DwFieldAggregate.Sum,\r\n FieldAlias: fields.bookedCount,\r\n FullFieldName: attrs.AggrOutcomeIsBooked.fieldNameWithItemPrefix,\r\n });\r\n\r\n query.query.AddField({\r\n FieldType: DwFieldType.Aggregate,\r\n AggregateFunction: DwFieldAggregate.Sum,\r\n FieldAlias: fields.bookedRevenue,\r\n FullFieldName: attrs.AggrRevenueIsBooked.fieldNameWithItemPrefix,\r\n });\r\n\r\n query.query.AddField({\r\n FieldType: DwFieldType.Aggregate,\r\n AggregateFunction: DwFieldAggregate.Sum,\r\n FieldAlias: fields.completedCount,\r\n FullFieldName: attrs.AggrOutcomeIsComplete.fieldNameWithItemPrefix,\r\n });\r\n\r\n query.query.AddField({\r\n FieldType: DwFieldType.Aggregate,\r\n AggregateFunction: DwFieldAggregate.Sum,\r\n FieldAlias: fields.completedRevenue,\r\n FullFieldName: attrs.AggrRevenueIsComplete.fieldNameWithItemPrefix,\r\n });\r\n\r\n query.query.AddField({\r\n FieldType: DwFieldType.Aggregate,\r\n AggregateFunction: DwFieldAggregate.Sum,\r\n FieldAlias: fields.paidRevenue,\r\n FullFieldName: attrs.AggrCheckridePaymentTotal.fieldNameWithItemPrefix,\r\n });\r\n\r\n query.query.AddField({\r\n FieldType: DwFieldType.Aggregate,\r\n AggregateFunction: DwFieldAggregate.Sum,\r\n FieldAlias: fields.pilexosRevenue,\r\n FullFieldName: attrs.PilexosBookingCost.fieldNameWithItemPrefix,\r\n });\r\n\r\n query.query.AddField({\r\n FieldType: DwFieldType.Aggregate,\r\n AggregateFunction: DwFieldAggregate.Sum,\r\n FieldAlias: fields.pilexosPaidRevenue,\r\n FullFieldName: attrs.AggrPilexosPaymentTotal.fieldNameWithItemPrefix,\r\n });\r\n\r\n return query;\r\n }\r\n\r\n getFinancialFields(): CheckrideFinancialFields {\r\n const attrs = AppMetaData.Queries.CheckrideRequestAggregateBase.Attributes;\r\n\r\n const fields = new CheckrideFinancialFields();\r\n\r\n fields.month = attrs.AggrScheduledDateTimeMonth.fieldName;\r\n //fields.monthDisplay = attrs.AggrScheduledDateTimeMonthDisplay.fieldName;\r\n fields.monthDisplay = attrs.AggrScheduledDateTimeMonthYearDisplay.fieldName;\r\n fields.year = attrs.AggrScheduledDateTimeYear.fieldName;\r\n\r\n fields.checkrideType = attrs.AggrCheckRideTypeDisplay.fieldName;\r\n\r\n // fields.checkrideOutcome = attrs.AdditionalTravelCost\r\n\r\n // 'CheckRideResultCheckRideOutcomeIdDisplay';\r\n\r\n return fields;\r\n }\r\n\r\n formatNumeric(value: any, decimals: number, money: boolean, excludeLocalNumericFormatting: boolean): string {\r\n const numberValue = parseFloat(value);\r\n\r\n if (isNaN(numberValue)) {\r\n return null;\r\n }\r\n\r\n let formattedValue = numberValue.toFixed(decimals);\r\n\r\n if (!excludeLocalNumericFormatting) {\r\n formattedValue = numberValue.toLocaleString('en-us', { maximumFractionDigits: decimals, minimumFractionDigits: decimals });\r\n }\r\n\r\n if (money) {\r\n formattedValue = `$${formattedValue}`;\r\n }\r\n\r\n return formattedValue;\r\n }\r\n\r\n colors = DwChartColors;\r\n} \r\n","// tslint:disable\r\nimport { Injectable } from '@angular/core';\r\n\r\nimport { DwQuery, DwQueryBuilderGen, DwItem2, DwItemAttributeCollection, DwItemAttribute, DwItemRelationshipCollection, DwItemRelationship, DwItemDetail2, DwOrmData } from '@devwareapps/devware-cap';\r\nimport * as EnterpriseMetaData from '@devwareapps/devware-cap';\r\nimport { Observable } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\n\r\n/************************************************\r\n Generated with the Devware CAP CLI 4.4.47\r\n Code Gen Name App\r\n API Url https://pilexos-test-api.azurewebsites.net\r\n\r\n Generated By DEVWARE/Anthony.Monsees\r\n Generate On 3/8/2025 10:26:22 AM\r\n************************************************/\r\n\r\nexport enum AppMetaDataItemNames {\r\n AcsAreaOfOperation = 'AcsAreaOfOperation',\r\n AcsAreaOfOperationTask = 'AcsAreaOfOperationTask',\r\n AcsCode = 'AcsCode',\r\n AcsCodeLookupRequest = 'AcsCodeLookupRequest',\r\n AcsCodeSelectionMode = 'AcsCodeSelectionMode',\r\n AcsCodeType = 'AcsCodeType',\r\n AcsTest = 'AcsTest',\r\n AcsTestCheckRideType = 'AcsTestCheckRideType',\r\n AcsTestPortion = 'AcsTestPortion',\r\n AcsTestStatus = 'AcsTestStatus',\r\n Address = 'Address',\r\n Airport = 'Airport',\r\n ApplicantAcsWrittenResult = 'ApplicantAcsWrittenResult',\r\n ApplicantAcsWrittenResultMissedCode = 'ApplicantAcsWrittenResultMissedCode',\r\n ApplicantPlaceholder = 'ApplicantPlaceholder',\r\n ApplicantPlaceholderStatus = 'ApplicantPlaceholderStatus',\r\n AviationAuthority = 'AviationAuthority',\r\n AviationAuthorityDistrictOffice = 'AviationAuthorityDistrictOffice',\r\n AviationTrainingProgram = 'AviationTrainingProgram',\r\n CalendarEventReference = 'CalendarEventReference',\r\n CalendarReference = 'CalendarReference',\r\n CalendarReferenceLog = 'CalendarReferenceLog',\r\n CalendarReferenceType = 'CalendarReferenceType',\r\n CheckRideApplicantType = 'CheckRideApplicantType',\r\n CheckRideCancellationType = 'CheckRideCancellationType',\r\n CheckRideGroup = 'CheckRideGroup',\r\n CheckRideOutcome = 'CheckRideOutcome',\r\n CheckRidePayment = 'CheckRidePayment',\r\n CheckRideRequest = 'CheckRideRequest',\r\n CheckRideRequestPaymentParty = 'CheckRideRequestPaymentParty',\r\n CheckRideRequestStatus = 'CheckRideRequestStatus',\r\n CheckRideRequestSubStatus = 'CheckRideRequestSubStatus',\r\n CheckRideResult = 'CheckRideResult',\r\n CheckRideScenario = 'CheckRideScenario',\r\n CheckRideScenarioTypeMap = 'CheckRideScenarioTypeMap',\r\n CheckRideStatusLevel = 'CheckRideStatusLevel',\r\n CheckRideTestType = 'CheckRideTestType',\r\n CheckRideType = 'CheckRideType',\r\n Country = 'Country',\r\n Duration = 'Duration',\r\n DwMediaGroup = 'dw_MediaGroup',\r\n DwRoMedia = 'dw_roMedia',\r\n DwUser = 'dw_User',\r\n DwUserType = 'dw_UserType',\r\n FlightSchool = 'FlightSchool',\r\n PaymentCustomerReference = 'PaymentCustomerReference',\r\n PaymentDiscountCode = 'PaymentDiscountCode',\r\n PaymentMethod = 'PaymentMethod',\r\n PaymentProvider = 'PaymentProvider',\r\n PaymentReference = 'PaymentReference',\r\n PaymentReferenceCardType = 'PaymentReferenceCardType',\r\n PaymentReferenceHistory = 'PaymentReferenceHistory',\r\n PaymentReferenceStatus = 'PaymentReferenceStatus',\r\n PaymentType = 'PaymentType',\r\n PilotCertificateType = 'PilotCertificateType',\r\n PilotExaminer = 'PilotExaminer',\r\n PilotExaminerLocation = 'PilotExaminerLocation',\r\n PilotExaminerLocationAirport = 'PilotExaminerLocationAirport',\r\n PilotExaminerLocationState = 'PilotExaminerLocationState',\r\n PilotExaminerLocationType = 'PilotExaminerLocationType',\r\n PilotExaminerStatus = 'PilotExaminerStatus',\r\n PlanOfAction = 'PlanOfAction',\r\n PlanOfActionQuestionResult = 'PlanOfActionQuestionResult',\r\n PlanOfActionRequiredAcsCode = 'PlanOfActionRequiredAcsCode',\r\n PlanOfActionResult = 'PlanOfActionResult',\r\n PlanOfActionSection = 'PlanOfActionSection',\r\n PlanOfActionSectionQuestion = 'PlanOfActionSectionQuestion',\r\n PlanOfActionSectionType = 'PlanOfActionSectionType',\r\n PlanOfActionStatus = 'PlanOfActionStatus',\r\n PlanOfActionStatusType = 'PlanOfActionStatusType',\r\n PostalCode = 'PostalCode',\r\n QuestionBank = 'QuestionBank',\r\n QuestionOutcome = 'QuestionOutcome',\r\n RoAirportDistances = 'roAirportDistances',\r\n RoCheckrideAggregateUtil = 'roCheckrideAggregateUtil',\r\n RoCheckrideApplicantFinalName = 'roCheckrideApplicantFinalName',\r\n RoCheckRidePaymentAggregate = 'roCheckRidePaymentAggregate',\r\n RoCheckrideRequestScheduleDateInfo = 'roCheckrideRequestScheduleDateInfo',\r\n RoPilotExaminerLocationCurrent = 'roPilotExaminerLocationCurrent',\r\n RoPilotExaminerLocationDistances = 'roPilotExaminerLocationDistances',\r\n RoPilotExaminerScenario = 'roPilotExaminerScenario',\r\n RoPlanOfActionDetails = 'roPlanOfActionDetails',\r\n Schedule = 'Schedule',\r\n ScheduleDayOfWeek = 'ScheduleDayOfWeek',\r\n ScheduleDetail = 'ScheduleDetail',\r\n StateProvince = 'StateProvince',\r\n StudentApplicant = 'StudentApplicant',\r\n TimeZone = 'TimeZone',\r\n}\r\n\r\nexport enum AppMetaDataLookups {\r\n AcsAreaOfOperationByAcsTest = 371,\r\n AcsAreaOfOperationAllItems = 353,\r\n AcsAreaOfOperationTaskAllItems = 354,\r\n AcsAreaOfOperationTaskByAreaOfOperation = 372,\r\n AcsCodeAllItems = 352,\r\n AcsCodeLookupRequestAllItems = 396,\r\n AcsCodesByAcsTest = 378,\r\n AcsCodeSelectionModeAllItems = 370,\r\n AcsCodeTypeAllItems = 351,\r\n ACSTestActiveOnly = 395,\r\n ACSTestByGrade = 394,\r\n AcsTestAllItems = 348,\r\n AcsTestCheckRideTypeAllItems = 409,\r\n AcsTestPortionAllItems = 377,\r\n AcsTestStatusAllItems = 369,\r\n AddressAllItems = 273,\r\n AirportAllItems = 297,\r\n AirportWithDetail = 300,\r\n ApplicantAcsWrittenResultAllItems = 386,\r\n ApplicantAcsWrittenResultMissedCodeAllItems = 387,\r\n ApplicantPlaceholderAllItems = 344,\r\n ApplicantPlaceholderStatusAllItems = 343,\r\n AviationAuthorityAllItems = 275,\r\n AviationAuthorityDistrictOfficeAllItems = 341,\r\n AviationTrainingProgramAllItems = 327,\r\n CalendarEventReferenceAllItems = 314,\r\n CalendarReferenceAllItems = 312,\r\n CalendarReferenceLogAllItems = 315,\r\n CalendarReferenceTypeAllItems = 313,\r\n CheckRideApplicantTypeAllItems = 329,\r\n CheckRideGroupAllItems = 276,\r\n CheckRideOutcomeAllItems = 279,\r\n CheckRidePaymentAllItems = 280,\r\n CheckRideRequestByExaminer = 385,\r\n CheckRideRequestAllItems = 281,\r\n CheckRideRequestCancelTypeAllItems = 338,\r\n CheckRideRequestPaymentPartyAllItems = 340,\r\n CheckRideRequestStatusAllItems = 293,\r\n CheckRideRequestSubStatusExaminerManualWF = 332,\r\n CheckRideRequestSubStatusStudent = 311,\r\n CheckRideRequestSubStatusAllItems = 294,\r\n CheckRideRequestSubStatusFullStatusDesc = 309,\r\n CheckRideResultAllItems = 292,\r\n CheckRideScenarioByExaminer = 342,\r\n CheckRideScenarioAllItems = 288,\r\n CheckRideScenarioTypeMapAllItems = 289,\r\n CheckRideStatusLevelAllItems = 328,\r\n CheckRideTestTypeAllItems = 295,\r\n CheckRideTypeWithGrade = 316,\r\n CheckRideTypeAllItems = 277,\r\n CheckRideTypeByGroup = 304,\r\n CountryAllItems = 272,\r\n DurationAllItems = 333,\r\n FlightSchoolAllItems = 345,\r\n MediaGroupAllItems = 201,\r\n PaymentCustomerReferenceAllItems = 319,\r\n PaymentDiscountCodeAllItems = 326,\r\n PaymentMethodAllItems = 290,\r\n PaymentProviderAllItems = 323,\r\n PaymentReferenceAllItems = 320,\r\n PaymentReferenceCardTypeAllItems = 321,\r\n PaymentReferenceHistoryAllItems = 324,\r\n PaymentReferenceStatusAllItems = 322,\r\n PaymentTypeAllItems = 291,\r\n PilotCertificateTypeAllItems = 346,\r\n PIlotExaminerActive = 339,\r\n PilotExaminerAllItems = 286,\r\n PilotExaminerLocationAllItems = 287,\r\n PilotExaminerLocationAirportAllItems = 298,\r\n PilotExaminerLocationStateAllItems = 308,\r\n PilotExaminerLocationTypeAllItems = 381,\r\n PilotExaminerStatusAllItems = 285,\r\n PlanOfActionTemplateByExaminer = 397,\r\n PlanOfActionTemplatesByAcsTest = 376,\r\n PlanOfActionAllItems = 368,\r\n PlanOfActionQuestionResultAllItems = 383,\r\n PlanOfActionRequiredAcsCodeAllItems = 379,\r\n PlanOfActionResultAllItems = 382,\r\n PlanOfActionSectionAllItems = 365,\r\n PlanOfActionSectionQuestionAllItems = 366,\r\n PlanOfActionSectionTypeAllItems = 364,\r\n PlanOfActionStatusTemplate = 375,\r\n PlanOfActionStatusPlan = 373,\r\n PlanOfActionStatusAllItems = 363,\r\n PlanOfActionStatusTypeAllItems = 374,\r\n PostalCodeAllItems = 271,\r\n QuestionBankAllItems = 367,\r\n QuestionOutcomeAllItems = 384,\r\n RoAirportDistancesAllItems = 347,\r\n RoCheckrideAggregateUtilAllItems = 336,\r\n RoCheckrideApplicantFinalNameAllItems = 334,\r\n RoCheckRidePaymentAggregateAllItems = 337,\r\n RoCheckrideRequestScheduleDateInfoAllItems = 335,\r\n RoMediaAllItems = 214,\r\n RoPilotExaminerLocationCurrentAllItems = 307,\r\n RoPilotExaminerLocationDistancesAllItems = 305,\r\n RoPilotExaminerScenarioAllItems = 306,\r\n RoPlanOfActionDetailsAllItems = 388,\r\n ScheduleAllItems = 283,\r\n ScheduleDayOfWeekAllItems = 282,\r\n ScheduleDetailAllItems = 284,\r\n SchedulesByUser = 325,\r\n StateProvinceAllItems = 274,\r\n StateProvinceByCountry = 299,\r\n StateProvinceShortName = 303,\r\n StudentApplicantAllItems = 278,\r\n TimeZoneUSOnlyLongDescription = 317,\r\n TimeZoneAllItems = 296,\r\n UserAllItems = 189,\r\n UserTypeAllItems = 302,\r\n}\r\n\r\n\r\n// Generated Classes for MetaData service\r\nexport class AcsAreaOfOperationMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1202;\r\n this.ItemDetail.itemName='AcsAreaOfOperation';\r\n this.ItemDetail.keyName='AcsAreaOfOperationId';\r\n }\r\n\r\n CreateEntity(): AcsAreaOfOperationEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): AcsAreaOfOperationQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new AcsAreaOfOperationMetaDataAttributes();\r\n Relations = new AcsAreaOfOperationMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type AcsAreaOfOperationQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class AcsAreaOfOperationMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'AcsAreaOfOperation';\r\n // Attributes\r\n AcsAreaOfOperationId = new DwItemAttribute(this.i, 'AcsAreaOfOperationId');\r\n AcsTestId = new DwItemAttribute(this.i, 'AcsTestId');\r\n AreaOfOperationName = new DwItemAttribute(this.i, 'AreaOfOperationName');\r\n AreaOfOperationOrder = new DwItemAttribute(this.i, 'AreaOfOperationOrder');\r\n AreaOfOperationCode = new DwItemAttribute(this.i, 'AreaOfOperationCode');\r\n AcsTestPortionId = new DwItemAttribute(this.i, 'AcsTestPortionId');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n}\r\n\r\nclass AcsAreaOfOperationMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: ACS Test */\r\n AcsTest = new DwItemRelationship('AcsTest|AreaOfOperation|AcsTestId', 'AcsTest', 'AcsTest');\r\n /** Relation: Acs Test Portion */\r\n AcsTestPortion = new DwItemRelationship('AcsTestPortion|AcsAreaOfOperation|AcsTestPortionId', 'AcsTestPortion', 'AcsTestPortion');\r\n /** Relation: Acs Area Of Operation Task */\r\n AcsAreaOfOperationTask = new DwItemRelationship('AcsAreaOfOperation|AcsAreaOfOperationTask|AcsAreaOfOperationId', 'AcsAreaOfOperationTask', 'AcsAreaOfOperationTask');\r\n /** Relation: Plan Of Action Section */\r\n PlanOfActionSection = new DwItemRelationship('AcsAreaOfOperation|PlanOfActionSection|AcsAreaOfOperationId', 'PlanOfActionSection', 'PlanOfActionSection');\r\n };\r\nexport class AcsAreaOfOperationTaskMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1203;\r\n this.ItemDetail.itemName='AcsAreaOfOperationTask';\r\n this.ItemDetail.keyName='AcsAreaOfOperationTaskId';\r\n }\r\n\r\n CreateEntity(): AcsAreaOfOperationTaskEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): AcsAreaOfOperationTaskQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new AcsAreaOfOperationTaskMetaDataAttributes();\r\n Relations = new AcsAreaOfOperationTaskMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type AcsAreaOfOperationTaskQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class AcsAreaOfOperationTaskMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'AcsAreaOfOperationTask';\r\n // Attributes\r\n AcsAreaOfOperationTaskId = new DwItemAttribute(this.i, 'AcsAreaOfOperationTaskId');\r\n AcsAreaOfOperationId = new DwItemAttribute(this.i, 'AcsAreaOfOperationId');\r\n TaskName = new DwItemAttribute(this.i, 'TaskName');\r\n TaskOrder = new DwItemAttribute(this.i, 'TaskOrder');\r\n TaskCode = new DwItemAttribute(this.i, 'TaskCode');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n}\r\n\r\nclass AcsAreaOfOperationTaskMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Acs Area Of Operation */\r\n AcsAreaOfOperation = new DwItemRelationship('AcsAreaOfOperation|AcsAreaOfOperationTask|AcsAreaOfOperationId', 'AcsAreaOfOperation', 'AcsAreaOfOperation');\r\n /** Relation: ACS Code */\r\n AcsCode = new DwItemRelationship('AcsAreaOfOperationTask|AcsCode|AcsAreaOfOperationTaskId', 'AcsCode', 'AcsCode');\r\n /** Relation: Plan Of Action Section */\r\n PlanOfActionSection = new DwItemRelationship('AcsAreaOfOperationTask|PlanOfActionSection|AcsAreaOfOperationTaskId', 'PlanOfActionSection', 'PlanOfActionSection');\r\n };\r\nexport class AcsCodeMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1201;\r\n this.ItemDetail.itemName='AcsCode';\r\n this.ItemDetail.keyName='AcsCodeId';\r\n }\r\n\r\n CreateEntity(): AcsCodeEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): AcsCodeQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new AcsCodeMetaDataAttributes();\r\n Relations = new AcsCodeMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type AcsCodeQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class AcsCodeMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'AcsCode';\r\n // Attributes\r\n AcsCodeId = new DwItemAttribute(this.i, 'AcsCodeId');\r\n AscCodeTypeId = new DwItemAttribute(this.i, 'AscCodeTypeId');\r\n AcsCode = new DwItemAttribute(this.i, 'AcsCode');\r\n AcsCodeOrder = new DwItemAttribute(this.i, 'AcsCodeOrder');\r\n AcsAreaOfOperationTaskId = new DwItemAttribute(this.i, 'AcsAreaOfOperationTaskId');\r\n AscCodeDescription = new DwItemAttribute(this.i, 'AscCodeDescription');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n}\r\n\r\nclass AcsCodeMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Acs Area Of Operation Task */\r\n AcsAreaOfOperationTask = new DwItemRelationship('AcsAreaOfOperationTask|AcsCode|AcsAreaOfOperationTaskId', 'AcsAreaOfOperationTask', 'AcsAreaOfOperationTask');\r\n /** Relation: Acs Code Type - Code Type */\r\n AcsCodeTypeByAscCodeTypeId = new DwItemRelationship('AcsCodeType|AcsCode|AscCodeTypeId', 'AscCodeTypeIdAcsCodeType', 'AscCodeTypeIdAcsCodeType');\r\n /** Relation: Applicant Acs Written Result Missed Code */\r\n ApplicantAcsWrittenResultMissedCode = new DwItemRelationship('AcsCode|ApplicantAcsWrittenResultMissedCode|AcsCodeId', 'ApplicantAcsWrittenResultMissedCode', 'ApplicantAcsWrittenResultMissedCode');\r\n /** Relation: Plan Of Action Required Acs Code */\r\n PlanOfActionRequiredAcsCode = new DwItemRelationship('AcsCode|PlanOfActionRequiredAcsCode|AscCodeId', 'PlanOfActionRequiredAcsCode', 'PlanOfActionRequiredAcsCode');\r\n /** Relation: Plan Of Action Section Question */\r\n PlanOfActionSectionQuestion = new DwItemRelationship('AcsCode|PlanOfActionSectionQuestion|AcsCodeId', 'PlanOfActionSectionQuestion', 'PlanOfActionSectionQuestion');\r\n /** Relation: Question Bank */\r\n QuestionBank = new DwItemRelationship('AcsCode|QuestionBank|AcsCodeId', 'QuestionBank', 'QuestionBank');\r\n };\r\nexport class AcsCodeLookupRequestMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1236;\r\n this.ItemDetail.itemName='AcsCodeLookupRequest';\r\n this.ItemDetail.keyName='AcsCodeLookupRequestId';\r\n }\r\n\r\n CreateEntity(): AcsCodeLookupRequestEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): AcsCodeLookupRequestQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new AcsCodeLookupRequestMetaDataAttributes();\r\n Relations = new AcsCodeLookupRequestMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type AcsCodeLookupRequestQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class AcsCodeLookupRequestMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'AcsCodeLookupRequest';\r\n // Attributes\r\n AcsCodeLookupRequestId = new DwItemAttribute(this.i, 'AcsCodeLookupRequestId');\r\n EmailAddress = new DwItemAttribute(this.i, 'EmailAddress');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ApplicantAcsWrittenResultId = new DwItemAttribute(this.i, 'ApplicantAcsWrittenResultId');\r\n EmailNotes = new DwItemAttribute(this.i, 'EmailNotes');\r\n}\r\n\r\nclass AcsCodeLookupRequestMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Applicant Acs Written Result */\r\n ApplicantAcsWrittenResult = new DwItemRelationship('ApplicantAcsWrittenResult|AcsCodeLookupRequest|ApplicantAcsWrittenResultId', 'ApplicantAcsWrittenResult', 'ApplicantAcsWrittenResult');\r\n };\r\nexport class AcsCodeSelectionModeMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1219;\r\n this.ItemDetail.itemName='AcsCodeSelectionMode';\r\n this.ItemDetail.keyName='AcsCodeSelectionModeId';\r\n }\r\n\r\n CreateEntity(): AcsCodeSelectionModeEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): AcsCodeSelectionModeQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new AcsCodeSelectionModeMetaDataAttributes();\r\n Relations = new AcsCodeSelectionModeMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type AcsCodeSelectionModeQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class AcsCodeSelectionModeMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'AcsCodeSelectionMode';\r\n // Attributes\r\n AcsCodeSelectionModeId = new DwItemAttribute(this.i, 'AcsCodeSelectionModeId');\r\n AcsCodeSelectionMode = new DwItemAttribute(this.i, 'AcsCodeSelectionMode');\r\n}\r\n\r\nclass AcsCodeSelectionModeMetaDataRelations implements DwItemRelationshipCollection {\r\n };\r\nexport class AcsCodeTypeMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1200;\r\n this.ItemDetail.itemName='AcsCodeType';\r\n this.ItemDetail.keyName='AcsCodeTypeId';\r\n }\r\n\r\n CreateEntity(): AcsCodeTypeEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): AcsCodeTypeQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new AcsCodeTypeMetaDataAttributes();\r\n Relations = new AcsCodeTypeMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type AcsCodeTypeQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class AcsCodeTypeMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'AcsCodeType';\r\n // Attributes\r\n AcsCodeTypeId = new DwItemAttribute(this.i, 'AcsCodeTypeId');\r\n AcsCodeTypeName = new DwItemAttribute(this.i, 'AcsCodeTypeName');\r\n AcsCodeTypeShortName = new DwItemAttribute(this.i, 'AcsCodeTypeShortName');\r\n}\r\n\r\nclass AcsCodeTypeMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: ACS Code - Asc Code Type - Many */\r\n AcsCodeByAscCodeTypeId = new DwItemRelationship('AcsCodeType|AcsCode|AscCodeTypeId', 'AscCodeTypeIdAcsCode', 'AscCodeTypeIdAcsCode');\r\n };\r\nexport class AcsTestMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1197;\r\n this.ItemDetail.itemName='AcsTest';\r\n this.ItemDetail.keyName='AcsTestId';\r\n }\r\n\r\n CreateEntity(): AcsTestEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): AcsTestQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new AcsTestMetaDataAttributes();\r\n Relations = new AcsTestMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type AcsTestQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class AcsTestMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'AcsTest';\r\n // Attributes\r\n AcsTestId = new DwItemAttribute(this.i, 'AcsTestId');\r\n TestName = new DwItemAttribute(this.i, 'TestName');\r\n TestDescription = new DwItemAttribute(this.i, 'TestDescription');\r\n CheckRideGroupId = new DwItemAttribute(this.i, 'CheckRideGroupId');\r\n TestCode = new DwItemAttribute(this.i, 'TestCode');\r\n TestExpirationDate = new DwItemAttribute(this.i, 'TestExpirationDate');\r\n AcsTestStatusId = new DwItemAttribute(this.i, 'AcsTestStatusId');\r\n AcsTestPdfMediaId = new DwItemAttribute(this.i, 'AcsTestPdfMediaId');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n}\r\n\r\nclass AcsTestMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Acs Test Status */\r\n AcsTestStatus = new DwItemRelationship('AcsTestStatus|AcsTest|AcsTestStatusId', 'AcsTestStatus', 'AcsTestStatus');\r\n /** Relation: Checkride Group */\r\n CheckRideGroup = new DwItemRelationship('CheckRideGroup|AcsTest|CheckRideGroupId', 'CheckRideGroup', 'CheckRideGroup');\r\n /** Relation: Acs Area Of Operation */\r\n AcsAreaOfOperation = new DwItemRelationship('AcsTest|AreaOfOperation|AcsTestId', 'AcsAreaOfOperation', 'AcsAreaOfOperation');\r\n /** Relation: Acs Test Check Ride Type */\r\n AcsTestCheckRideType = new DwItemRelationship('AcsTest|AcsTestCheckRideType|AcsTestId', 'AcsTestCheckRideType', 'AcsTestCheckRideType');\r\n /** Relation: Applicant Acs Written Result */\r\n ApplicantAcsWrittenResult = new DwItemRelationship('AcsTest|ApplicantAcsWrittenResult|AcsTestId', 'ApplicantAcsWrittenResult', 'ApplicantAcsWrittenResult');\r\n /** Relation: Plan Of Action */\r\n PlanOfAction = new DwItemRelationship('AcsTest|PlanOfAction|AcsTestId', 'PlanOfAction', 'PlanOfAction');\r\n /** Relation: Question Bank */\r\n QuestionBank = new DwItemRelationship('AcsTest|QuestionBank|AcsTestId', 'QuestionBank', 'QuestionBank');\r\n };\r\nexport class AcsTestCheckRideTypeMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1243;\r\n this.ItemDetail.itemName='AcsTestCheckRideType';\r\n this.ItemDetail.keyName='AcsTestCheckRideTypeId';\r\n }\r\n\r\n CreateEntity(): AcsTestCheckRideTypeEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): AcsTestCheckRideTypeQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new AcsTestCheckRideTypeMetaDataAttributes();\r\n Relations = new AcsTestCheckRideTypeMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type AcsTestCheckRideTypeQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class AcsTestCheckRideTypeMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'AcsTestCheckRideType';\r\n // Attributes\r\n AcsTestCheckRideTypeId = new DwItemAttribute(this.i, 'AcsTestCheckRideTypeId');\r\n AcsTestId = new DwItemAttribute(this.i, 'AcsTestId');\r\n CheckRideTypeId = new DwItemAttribute(this.i, 'CheckRideTypeId');\r\n}\r\n\r\nclass AcsTestCheckRideTypeMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: ACS Test */\r\n AcsTest = new DwItemRelationship('AcsTest|AcsTestCheckRideType|AcsTestId', 'AcsTest', 'AcsTest');\r\n /** Relation: Checkride Type */\r\n CheckRideType = new DwItemRelationship('CheckRideType|AcsTestCheckRideType|CheckRideTypeId', 'CheckRideType', 'CheckRideType');\r\n };\r\nexport class AcsTestPortionMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1221;\r\n this.ItemDetail.itemName='AcsTestPortion';\r\n this.ItemDetail.keyName='AcsTestPortionId';\r\n }\r\n\r\n CreateEntity(): AcsTestPortionEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): AcsTestPortionQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new AcsTestPortionMetaDataAttributes();\r\n Relations = new AcsTestPortionMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type AcsTestPortionQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class AcsTestPortionMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'AcsTestPortion';\r\n // Attributes\r\n AcsTestPortionId = new DwItemAttribute(this.i, 'AcsTestPortionId');\r\n AcsTestPortion = new DwItemAttribute(this.i, 'AcsTestPortion');\r\n HeaderClass = new DwItemAttribute(this.i, 'HeaderClass');\r\n IconClass = new DwItemAttribute(this.i, 'IconClass');\r\n AcsTestPortionOrder = new DwItemAttribute(this.i, 'AcsTestPortionOrder');\r\n AllowAcsSections = new DwItemAttribute(this.i, 'AllowAcsSections');\r\n}\r\n\r\nclass AcsTestPortionMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Acs Area Of Operation */\r\n AcsAreaOfOperation = new DwItemRelationship('AcsTestPortion|AcsAreaOfOperation|AcsTestPortionId', 'AcsAreaOfOperation', 'AcsAreaOfOperation');\r\n /** Relation: Plan Of Action Section */\r\n PlanOfActionSection = new DwItemRelationship('AcsTestPortion|PlanOfActionSection|AcsTestPortionId', 'PlanOfActionSection', 'PlanOfActionSection');\r\n /** Relation: Plan Of Action Section Type */\r\n PlanOfActionSectionType = new DwItemRelationship('AcsTestPortion|PlanOfActionSectionType|AcsTestPortionId', 'PlanOfActionSectionType', 'PlanOfActionSectionType');\r\n };\r\nexport class AcsTestStatusMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1218;\r\n this.ItemDetail.itemName='AcsTestStatus';\r\n this.ItemDetail.keyName='AcsTestStatusId';\r\n }\r\n\r\n CreateEntity(): AcsTestStatusEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): AcsTestStatusQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new AcsTestStatusMetaDataAttributes();\r\n Relations = new AcsTestStatusMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type AcsTestStatusQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class AcsTestStatusMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'AcsTestStatus';\r\n // Attributes\r\n AcsTestStatusId = new DwItemAttribute(this.i, 'AcsTestStatusId');\r\n AcsTestStatus = new DwItemAttribute(this.i, 'AcsTestStatus');\r\n}\r\n\r\nclass AcsTestStatusMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: ACS Test */\r\n AcsTest = new DwItemRelationship('AcsTestStatus|AcsTest|AcsTestStatusId', 'AcsTest', 'AcsTest');\r\n };\r\nexport class AddressMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1157;\r\n this.ItemDetail.itemName='Address';\r\n this.ItemDetail.keyName='AddressId';\r\n }\r\n\r\n CreateEntity(): AddressEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): AddressQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new AddressMetaDataAttributes();\r\n Relations = new AddressMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type AddressQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class AddressMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'Address';\r\n // Attributes\r\n AddressId = new DwItemAttribute(this.i, 'AddressId');\r\n StreetAddress1 = new DwItemAttribute(this.i, 'StreetAddress1');\r\n StreetAddress2 = new DwItemAttribute(this.i, 'StreetAddress2');\r\n City = new DwItemAttribute(this.i, 'City');\r\n StateProvinceId = new DwItemAttribute(this.i, 'StateProvinceId');\r\n CountryId = new DwItemAttribute(this.i, 'CountryId');\r\n CountyName = new DwItemAttribute(this.i, 'CountyName');\r\n PostalCode = new DwItemAttribute(this.i, 'PostalCode');\r\n PostalCodePlus4 = new DwItemAttribute(this.i, 'PostalCodePlus4');\r\n Phone = new DwItemAttribute(this.i, 'Phone');\r\n Fax = new DwItemAttribute(this.i, 'Fax');\r\n Latitude = new DwItemAttribute(this.i, 'Latitude');\r\n Longitude = new DwItemAttribute(this.i, 'Longitude');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n TimezoneId = new DwItemAttribute(this.i, 'TimezoneId');\r\n ObservesDst = new DwItemAttribute(this.i, 'ObservesDst');\r\n}\r\n\r\nclass AddressMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Country */\r\n Country = new DwItemRelationship('Country|Address|CountryId', 'Country', 'Country');\r\n /** Relation: State Province */\r\n StateProvince = new DwItemRelationship('StateProvince|Address|StateProvinceId', 'StateProvince', 'StateProvince');\r\n /** Relation: Time Zone */\r\n TimeZone = new DwItemRelationship('TimeZone|Address|TimezoneId', 'TimeZone', 'TimeZone');\r\n /** Relation: Airport - Airport - Many */\r\n AirportByAirportAddressId = new DwItemRelationship('Address|Airport|AirportAddressId', 'AirportAirport', 'AirportAirport');\r\n /** Relation: Student Applicant - Applicant - Many */\r\n StudentApplicantByApplicantAddressId = new DwItemRelationship('Address|StudentApplicant|ApplicantAddressId', 'ApplicantStudentApplicant', 'ApplicantStudentApplicant');\r\n };\r\nexport class AirportMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1159;\r\n this.ItemDetail.itemName='Airport';\r\n this.ItemDetail.keyName='AirportId';\r\n }\r\n\r\n CreateEntity(): AirportEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): AirportQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new AirportMetaDataAttributes();\r\n Relations = new AirportMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type AirportQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class AirportMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'Airport';\r\n // Attributes\r\n AirportId = new DwItemAttribute(this.i, 'AirportId');\r\n AviationAuthorityId = new DwItemAttribute(this.i, 'AviationAuthorityId');\r\n AirportName = new DwItemAttribute(this.i, 'AirportName');\r\n AirportCode = new DwItemAttribute(this.i, 'AirportCode');\r\n AirportAddressId = new DwItemAttribute(this.i, 'AirportAddressId');\r\n Elevation = new DwItemAttribute(this.i, 'Elevation');\r\n OwnershipCode = new DwItemAttribute(this.i, 'OwnershipCode');\r\n IsActive = new DwItemAttribute(this.i, 'IsActive');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n}\r\n\r\nclass AirportMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Address - Airport Address */\r\n AddressByAirportAddressId = new DwItemRelationship('Address|Airport|AirportAddressId', 'AirportAddress', 'AirportAddress');\r\n /** Relation: Aviation Authority */\r\n AviationAuthority = new DwItemRelationship('AviationAuthority|Airport|AviationAuthorityId', 'AviationAuthority', 'AviationAuthority');\r\n /** Relation: Applicant Wait List - Preferred - Many */\r\n ApplicantPlaceholderByPreferredAirportId = new DwItemRelationship('Airport|ApplicantPlaceholder|PreferredAirportId', 'PreferredApplicantPlaceholder', 'PreferredApplicantPlaceholder');\r\n /** Relation: Checkride Request - Scheduled - Many */\r\n CheckRideRequestByScheduledAirportId = new DwItemRelationship('Airport|CheckRideRequest|ScheduledAirportId', 'ScheduledCheckRideRequest', 'ScheduledCheckRideRequest');\r\n /** Relation: Checkride Request - Preferred - Many */\r\n CheckRideRequestByPreferredAirportId = new DwItemRelationship('Airport|CheckRideRequest|PreferredAirportId', 'PreferredCheckRideRequest', 'PreferredCheckRideRequest');\r\n /** Relation: Checkride Request - Proposed - Many */\r\n CheckRideRequestByProposedAirportId = new DwItemRelationship('Airport|CheckRideRequest|ProposedAirportId', 'ProposedCheckRideRequest', 'ProposedCheckRideRequest');\r\n /** Relation: Pilot Examiner Location Airport */\r\n PilotExaminerLocationAirport = new DwItemRelationship('Airport|PilotExaminerLocationAirport|AirportId', 'PilotExaminerLocationAirport', 'PilotExaminerLocationAirport');\r\n /** Relation: Plan Of Action - Check Ride - Many */\r\n PlanOfActionByCheckRideAirportId = new DwItemRelationship('Airport|PlanOfAction|CheckRideAirportId', 'CheckRidePlanOfAction', 'CheckRidePlanOfAction');\r\n /** Relation: Ro Pilot Examiner Location Distances */\r\n RoPilotExaminerLocationDistances = new DwItemRelationship('RoPilotExaminerLocationDistances|Airport|AirportId', 'RoPilotExaminerLocationDistances', 'RoPilotExaminerLocationDistances');\r\n /** Relation: Student Applicant - Main - Many */\r\n StudentApplicantByMainAirportId = new DwItemRelationship('Airport|StudentApplicant|MainAirportId', 'MainStudentApplicant', 'MainStudentApplicant');\r\n };\r\nexport class ApplicantAcsWrittenResultMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1228;\r\n this.ItemDetail.itemName='ApplicantAcsWrittenResult';\r\n this.ItemDetail.keyName='ApplicantAcsWrittenResultId';\r\n }\r\n\r\n CreateEntity(): ApplicantAcsWrittenResultEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): ApplicantAcsWrittenResultQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new ApplicantAcsWrittenResultMetaDataAttributes();\r\n Relations = new ApplicantAcsWrittenResultMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type ApplicantAcsWrittenResultQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class ApplicantAcsWrittenResultMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'ApplicantAcsWrittenResult';\r\n // Attributes\r\n ApplicantAcsWrittenResultId = new DwItemAttribute(this.i, 'ApplicantAcsWrittenResultId');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n AcsTestId = new DwItemAttribute(this.i, 'AcsTestId');\r\n}\r\n\r\nclass ApplicantAcsWrittenResultMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: ACS Test */\r\n AcsTest = new DwItemRelationship('AcsTest|ApplicantAcsWrittenResult|AcsTestId', 'AcsTest', 'AcsTest');\r\n /** Relation: Acs Code Lookup Request */\r\n AcsCodeLookupRequest = new DwItemRelationship('ApplicantAcsWrittenResult|AcsCodeLookupRequest|ApplicantAcsWrittenResultId', 'AcsCodeLookupRequest', 'AcsCodeLookupRequest');\r\n /** Relation: Applicant Acs Written Result Missed Code */\r\n ApplicantAcsWrittenResultMissedCode = new DwItemRelationship('ApplicantAcsWrittenResult|ApplicantAcsWrittenResultMissedCode|ApplicantAcsWrittenResultId', 'ApplicantAcsWrittenResultMissedCode', 'ApplicantAcsWrittenResultMissedCode');\r\n /** Relation: Checkride Request */\r\n CheckRideRequest = new DwItemRelationship('ApplicantAcsWrittenResult|CheckRideRequest|ApplicantAcsWrittenResultId', 'CheckRideRequest', 'CheckRideRequest');\r\n /** Relation: Plan Of Action */\r\n PlanOfAction = new DwItemRelationship('ApplicantAcsWrittenResult|PlanOfAction|ApplicantAcsWrittenResultId', 'PlanOfAction', 'PlanOfAction');\r\n };\r\nexport class ApplicantAcsWrittenResultMissedCodeMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1229;\r\n this.ItemDetail.itemName='ApplicantAcsWrittenResultMissedCode';\r\n this.ItemDetail.keyName='ApplicantAcsWrittenResultMissedCodeId';\r\n }\r\n\r\n CreateEntity(): ApplicantAcsWrittenResultMissedCodeEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): ApplicantAcsWrittenResultMissedCodeQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new ApplicantAcsWrittenResultMissedCodeMetaDataAttributes();\r\n Relations = new ApplicantAcsWrittenResultMissedCodeMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type ApplicantAcsWrittenResultMissedCodeQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class ApplicantAcsWrittenResultMissedCodeMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'ApplicantAcsWrittenResultMissedCode';\r\n // Attributes\r\n ApplicantAcsWrittenResultMissedCodeId = new DwItemAttribute(this.i, 'ApplicantAcsWrittenResultMissedCodeId');\r\n ApplicantAcsWrittenResultId = new DwItemAttribute(this.i, 'ApplicantAcsWrittenResultId');\r\n AcsCodeId = new DwItemAttribute(this.i, 'AcsCodeId');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n}\r\n\r\nclass ApplicantAcsWrittenResultMissedCodeMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: ACS Code */\r\n AcsCode = new DwItemRelationship('AcsCode|ApplicantAcsWrittenResultMissedCode|AcsCodeId', 'AcsCode', 'AcsCode');\r\n /** Relation: Applicant Acs Written Result */\r\n ApplicantAcsWrittenResult = new DwItemRelationship('ApplicantAcsWrittenResult|ApplicantAcsWrittenResultMissedCode|ApplicantAcsWrittenResultId', 'ApplicantAcsWrittenResult', 'ApplicantAcsWrittenResult');\r\n };\r\nexport class ApplicantPlaceholderMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1193;\r\n this.ItemDetail.itemName='ApplicantPlaceholder';\r\n this.ItemDetail.keyName='ApplicantPlaceholderId';\r\n }\r\n\r\n CreateEntity(): ApplicantPlaceholderEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): ApplicantPlaceholderQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new ApplicantPlaceholderMetaDataAttributes();\r\n Relations = new ApplicantPlaceholderMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type ApplicantPlaceholderQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class ApplicantPlaceholderMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'ApplicantPlaceholder';\r\n // Attributes\r\n ApplicantPlaceholderId = new DwItemAttribute(this.i, 'ApplicantPlaceholderId');\r\n ApplicantPlaceholderStatusId = new DwItemAttribute(this.i, 'ApplicantPlaceholderStatusId');\r\n PilotExaminerId = new DwItemAttribute(this.i, 'PilotExaminerId');\r\n StudentApplicantId = new DwItemAttribute(this.i, 'StudentApplicantId');\r\n CheckRideApplicantTypeId = new DwItemAttribute(this.i, 'CheckRideApplicantTypeId');\r\n StudentApplicantNameManual = new DwItemAttribute(this.i, 'StudentApplicantNameManual');\r\n StudentApplicantEmailManual = new DwItemAttribute(this.i, 'StudentApplicantEmailManual');\r\n StudentApplicantPhoneManual = new DwItemAttribute(this.i, 'StudentApplicantPhoneManual');\r\n AviationAuthorityId = new DwItemAttribute(this.i, 'AviationAuthorityId');\r\n CheckRideGroupId = new DwItemAttribute(this.i, 'CheckRideGroupId');\r\n CheckRideTypeId = new DwItemAttribute(this.i, 'CheckRideTypeId');\r\n PreferredAirportId = new DwItemAttribute(this.i, 'PreferredAirportId');\r\n PreferredDateTime = new DwItemAttribute(this.i, 'PreferredDateTime');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n PilotCertificateNumber = new DwItemAttribute(this.i, 'PilotCertificateNumber');\r\n FlightSchoolName = new DwItemAttribute(this.i, 'FlightSchoolName');\r\n FlightInstructorName = new DwItemAttribute(this.i, 'FlightInstructorName');\r\n PrivateNotes = new DwItemAttribute(this.i, 'PrivateNotes');\r\n CheckRideTestTypeId = new DwItemAttribute(this.i, 'CheckRideTestTypeId');\r\n FlightSchoolId = new DwItemAttribute(this.i, 'FlightSchoolId');\r\n FlightSchoolNameOther = new DwItemAttribute(this.i, 'FlightSchoolNameOther');\r\n AuthorityPreCheckRideNumber = new DwItemAttribute(this.i, 'AuthorityPreCheckRideNumber');\r\n StudentApplicantCitizenshipCountyId = new DwItemAttribute(this.i, 'StudentApplicantCitizenshipCountyId');\r\n AviationTrainingProgramId = new DwItemAttribute(this.i, 'AviationTrainingProgramId');\r\n OriginalCheckRideRequestId = new DwItemAttribute(this.i, 'OriginalCheckRideRequestId');\r\n FlightInstructorEmail = new DwItemAttribute(this.i, 'FlightInstructorEmail');\r\n FlightInstructorPhone = new DwItemAttribute(this.i, 'FlightInstructorPhone');\r\n LastContactDateTime = new DwItemAttribute(this.i, 'LastContactDateTime');\r\n RankingDateTime = new DwItemAttribute(this.i, 'RankingDateTime');\r\n}\r\n\r\nclass ApplicantPlaceholderMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Airport - Preferred Airport */\r\n AirportByPreferredAirportId = new DwItemRelationship('Airport|ApplicantPlaceholder|PreferredAirportId', 'PreferredAirport', 'PreferredAirport');\r\n /** Relation: Applicant Placeholder Status */\r\n ApplicantPlaceholderStatus = new DwItemRelationship('ApplicantPlaceholderStatus|ApplicantPlaceholder|ApplicantPlaceholderStatusId', 'ApplicantPlaceholderStatus', 'ApplicantPlaceholderStatus');\r\n /** Relation: Aviation Authority */\r\n AviationAuthority = new DwItemRelationship('AviationAuthority|ApplicantPlaceholder|AviationAuthorityId', 'AviationAuthority', 'AviationAuthority');\r\n /** Relation: Aviation Training Program */\r\n AviationTrainingProgram = new DwItemRelationship('AviationTrainingProgram|ApplicantPlaceholder|AviationTrainingProgramId', 'AviationTrainingProgram', 'AviationTrainingProgram');\r\n /** Relation: Check Ride Applicant Type */\r\n CheckRideApplicantType = new DwItemRelationship('CheckRideApplicantType|ApplicantPlaceholder|CheckRideApplicantTypeId', 'CheckRideApplicantType', 'CheckRideApplicantType');\r\n /** Relation: Checkride Group */\r\n CheckRideGroup = new DwItemRelationship('CheckRideGroup|ApplicantPlaceholder|CheckRideGroupId', 'CheckRideGroup', 'CheckRideGroup');\r\n /** Relation: Checkride Test Type */\r\n CheckRideTestType = new DwItemRelationship('CheckRideTestType|ApplicantPlaceholder|CheckRideTtestTypeId', 'CheckRideTestType', 'CheckRideTestType');\r\n /** Relation: Checkride Type */\r\n CheckRideType = new DwItemRelationship('CheckRideType|ApplicantPlaceholder|CheckRideTypeId', 'CheckRideType', 'CheckRideType');\r\n /** Relation: Country - Applicant Citizenship */\r\n CountryByStudentApplicantCitizenshipCountyId = new DwItemRelationship('Country|ApplicantPlaceholder|StudentApplicantCitizenshipCountyId', 'StudentApplicantCitizenshipCountyIdCountry', 'StudentApplicantCitizenshipCountyIdCountry');\r\n /** Relation: Flight School */\r\n FlightSchool = new DwItemRelationship('FlightSchool|ApplicantPlaceholder|FlightSchoolId', 'FlightSchool', 'FlightSchool');\r\n /** Relation: Pilot Examiner */\r\n PilotExaminer = new DwItemRelationship('PilotExaminer|ApplicantPlaceholder|PilotExaminerId', 'PilotExaminer', 'PilotExaminer');\r\n /** Relation: Student Applicant */\r\n StudentApplicant = new DwItemRelationship('StudentApplicant|ApplicantPlaceholder|StudentApplicantId', 'StudentApplicant', 'StudentApplicant');\r\n /** Relation: Checkride Request */\r\n CheckRideRequest = new DwItemRelationship('ApplicantPlaceholder|CheckRideRequest|ApplicantPlaceholderId', 'CheckRideRequest', 'CheckRideRequest');\r\n };\r\nexport class ApplicantPlaceholderStatusMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1192;\r\n this.ItemDetail.itemName='ApplicantPlaceholderStatus';\r\n this.ItemDetail.keyName='ApplicantPlaceholderStatusId';\r\n }\r\n\r\n CreateEntity(): ApplicantPlaceholderStatusEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): ApplicantPlaceholderStatusQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new ApplicantPlaceholderStatusMetaDataAttributes();\r\n Relations = new ApplicantPlaceholderStatusMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type ApplicantPlaceholderStatusQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class ApplicantPlaceholderStatusMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'ApplicantPlaceholderStatus';\r\n // Attributes\r\n ApplicantPlaceholderStatusId = new DwItemAttribute(this.i, 'ApplicantPlaceholderStatusId');\r\n ApplicantPlaceholderStatus = new DwItemAttribute(this.i, 'ApplicantPlaceholderStatus');\r\n}\r\n\r\nclass ApplicantPlaceholderStatusMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Applicant Wait List */\r\n ApplicantPlaceholder = new DwItemRelationship('ApplicantPlaceholderStatus|ApplicantPlaceholder|ApplicantPlaceholderStatusId', 'ApplicantPlaceholder', 'ApplicantPlaceholder');\r\n };\r\nexport class AviationAuthorityMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1133;\r\n this.ItemDetail.itemName='AviationAuthority';\r\n this.ItemDetail.keyName='AviationAuthorityId';\r\n }\r\n\r\n CreateEntity(): AviationAuthorityEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): AviationAuthorityQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new AviationAuthorityMetaDataAttributes();\r\n Relations = new AviationAuthorityMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type AviationAuthorityQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class AviationAuthorityMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'AviationAuthority';\r\n // Attributes\r\n AviationAuthorityId = new DwItemAttribute(this.i, 'AviationAuthorityId');\r\n AuthorityName = new DwItemAttribute(this.i, 'AuthorityName');\r\n}\r\n\r\nclass AviationAuthorityMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Airport */\r\n Airport = new DwItemRelationship('AviationAuthority|Airport|AviationAuthorityId', 'Airport', 'Airport');\r\n /** Relation: Applicant Wait List */\r\n ApplicantPlaceholder = new DwItemRelationship('AviationAuthority|ApplicantPlaceholder|AviationAuthorityId', 'ApplicantPlaceholder', 'ApplicantPlaceholder');\r\n /** Relation: FSDO */\r\n AviationAuthorityDistrictOffice = new DwItemRelationship('AviationAuthority|AviationAuthorityDistrictOffice|AviationAuthorityId', 'AviationAuthorityDistrictOffice', 'AviationAuthorityDistrictOffice');\r\n /** Relation: Aviation Training Program */\r\n AviationTrainingProgram = new DwItemRelationship('AviationAuthority|AviationTrainingProgram|AviationAuthorityId', 'AviationTrainingProgram', 'AviationTrainingProgram');\r\n /** Relation: Checkride Group */\r\n CheckRideGroup = new DwItemRelationship('AviationAuthority|CheckRideGroup|AviationAuthorityId', 'CheckRideGroup', 'CheckRideGroup');\r\n /** Relation: Checkride Request */\r\n CheckRideRequest = new DwItemRelationship('AviationAuthority|CheckRideRequest|AviationAuthorityId', 'CheckRideRequest', 'CheckRideRequest');\r\n /** Relation: Pilot Examiner */\r\n PilotExaminer = new DwItemRelationship('AviationAuthority|PilotExaminer|AviationAuthorityId', 'PilotExaminer', 'PilotExaminer');\r\n /** Relation: Plan Of Action */\r\n PlanOfAction = new DwItemRelationship('AviationAuthority|PlanOfAction|AviationAuthorityId', 'PlanOfAction', 'PlanOfAction');\r\n /** Relation: Student Applicant */\r\n StudentApplicant = new DwItemRelationship('AviationAuthority|StudentApplicant|AviationAuthorityId', 'StudentApplicant', 'StudentApplicant');\r\n };\r\nexport class AviationAuthorityDistrictOfficeMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1191;\r\n this.ItemDetail.itemName='AviationAuthorityDistrictOffice';\r\n this.ItemDetail.keyName='AviationAuthorityDistrictOfficeId';\r\n }\r\n\r\n CreateEntity(): AviationAuthorityDistrictOfficeEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): AviationAuthorityDistrictOfficeQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new AviationAuthorityDistrictOfficeMetaDataAttributes();\r\n Relations = new AviationAuthorityDistrictOfficeMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type AviationAuthorityDistrictOfficeQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class AviationAuthorityDistrictOfficeMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'AviationAuthorityDistrictOffice';\r\n // Attributes\r\n AviationAuthorityDistrictOfficeId = new DwItemAttribute(this.i, 'AviationAuthorityDistrictOfficeId');\r\n AviationAuthorityId = new DwItemAttribute(this.i, 'AviationAuthorityId');\r\n DistictOfficeName = new DwItemAttribute(this.i, 'DistictOfficeName');\r\n PhoneNumber = new DwItemAttribute(this.i, 'PhoneNumber');\r\n}\r\n\r\nclass AviationAuthorityDistrictOfficeMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Aviation Authority */\r\n AviationAuthority = new DwItemRelationship('AviationAuthority|AviationAuthorityDistrictOffice|AviationAuthorityId', 'AviationAuthority', 'AviationAuthority');\r\n /** Relation: Pilot Examiner */\r\n PilotExaminer = new DwItemRelationship('AviationAuthorityDistrictOffice|PilotExaminer|AviationAuthorityDistrictOfficeId', 'PilotExaminer', 'PilotExaminer');\r\n };\r\nexport class AviationTrainingProgramMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1181;\r\n this.ItemDetail.itemName='AviationTrainingProgram';\r\n this.ItemDetail.keyName='AviationTrainingProgramId';\r\n }\r\n\r\n CreateEntity(): AviationTrainingProgramEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): AviationTrainingProgramQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new AviationTrainingProgramMetaDataAttributes();\r\n Relations = new AviationTrainingProgramMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type AviationTrainingProgramQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class AviationTrainingProgramMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'AviationTrainingProgram';\r\n // Attributes\r\n AviationTrainingProgramId = new DwItemAttribute(this.i, 'AviationTrainingProgramId');\r\n AviationAuthorityId = new DwItemAttribute(this.i, 'AviationAuthorityId');\r\n TrainingProgramName = new DwItemAttribute(this.i, 'TrainingProgramName');\r\n TrainingProgramShortName = new DwItemAttribute(this.i, 'TrainingProgramShortName');\r\n}\r\n\r\nclass AviationTrainingProgramMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Aviation Authority */\r\n AviationAuthority = new DwItemRelationship('AviationAuthority|AviationTrainingProgram|AviationAuthorityId', 'AviationAuthority', 'AviationAuthority');\r\n /** Relation: Applicant Wait List */\r\n ApplicantPlaceholder = new DwItemRelationship('AviationTrainingProgram|ApplicantPlaceholder|AviationTrainingProgramId', 'ApplicantPlaceholder', 'ApplicantPlaceholder');\r\n /** Relation: Checkride Request - Avaiation Training Program - Many */\r\n CheckRideRequestByAvaiationTrainingProgramId = new DwItemRelationship('AviationTrainingProgram|CheckRideRequest|AvaiationTrainingProgramId', 'AvaiationTrainingProgramIdCheckRideRequest', 'AvaiationTrainingProgramIdCheckRideRequest');\r\n /** Relation: Student Applicant */\r\n StudentApplicant = new DwItemRelationship('AviationTrainingProgram|StudentApplicant|AviationTrainingProgramId', 'StudentApplicant', 'StudentApplicant');\r\n };\r\nexport class CalendarEventReferenceMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1171;\r\n this.ItemDetail.itemName='CalendarEventReference';\r\n this.ItemDetail.keyName='CalendarEventReferenceId';\r\n }\r\n\r\n CreateEntity(): CalendarEventReferenceEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): CalendarEventReferenceQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new CalendarEventReferenceMetaDataAttributes();\r\n Relations = new CalendarEventReferenceMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type CalendarEventReferenceQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class CalendarEventReferenceMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'CalendarEventReference';\r\n // Attributes\r\n CalendarEventReferenceId = new DwItemAttribute(this.i, 'CalendarEventReferenceId');\r\n CalendarReferenceId = new DwItemAttribute(this.i, 'CalendarReferenceId');\r\n EventReferenceKey = new DwItemAttribute(this.i, 'EventReferenceKey');\r\n CalendarKey = new DwItemAttribute(this.i, 'CalendarKey');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n IsCancelled = new DwItemAttribute(this.i, 'IsCancelled');\r\n}\r\n\r\nclass CalendarEventReferenceMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Calendar Reference */\r\n CalendarReference = new DwItemRelationship('CalendarReference|CalendarEventReference|CalendarReferenceId', 'CalendarReference', 'CalendarReference');\r\n /** Relation: Calendar Reference Log - Calendar Reference Event - Many */\r\n CalendarReferenceLogByCalendarReferenceEventId = new DwItemRelationship('CalendarEventReference|CalendarReferenceLog|CalendarReferenceEventId', 'CalendarReferenceEventIdCalendarReferenceLog', 'CalendarReferenceEventIdCalendarReferenceLog');\r\n /** Relation: Checkride Request - Scheduled - Many */\r\n CheckRideRequestByScheduledCalendarEventReferenceId = new DwItemRelationship('CalendarEventReference|CheckRideRequest|ScheduledCalendarEventReferenceId', 'ScheduledCheckRideRequest', 'ScheduledCheckRideRequest');\r\n };\r\nexport class CalendarReferenceMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1169;\r\n this.ItemDetail.itemName='CalendarReference';\r\n this.ItemDetail.keyName='CalendarReferenceId';\r\n }\r\n\r\n CreateEntity(): CalendarReferenceEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): CalendarReferenceQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new CalendarReferenceMetaDataAttributes();\r\n Relations = new CalendarReferenceMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type CalendarReferenceQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class CalendarReferenceMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'CalendarReference';\r\n // Attributes\r\n CalendarReferenceId = new DwItemAttribute(this.i, 'CalendarReferenceId');\r\n CalendarReferenceTypeId = new DwItemAttribute(this.i, 'CalendarReferenceTypeId');\r\n MainCalendarKey = new DwItemAttribute(this.i, 'MainCalendarKey');\r\n RefreshSecretKey = new DwItemAttribute(this.i, 'RefreshSecretKey');\r\n InitialSecretKey = new DwItemAttribute(this.i, 'InitialSecretKey');\r\n CalendarConfigJSON = new DwItemAttribute(this.i, 'CalendarConfigJSON');\r\n CalendarIsSetup = new DwItemAttribute(this.i, 'CalendarIsSetup');\r\n RefreshCount = new DwItemAttribute(this.i, 'RefreshCount');\r\n LastRefreshDateTime = new DwItemAttribute(this.i, 'LastRefreshDateTime');\r\n CalendarHasErrors = new DwItemAttribute(this.i, 'CalendarHasErrors');\r\n LastCalendarErrorDateTime = new DwItemAttribute(this.i, 'LastCalendarErrorDateTime');\r\n MainCalendarTimezone = new DwItemAttribute(this.i, 'MainCalendarTimezone');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n}\r\n\r\nclass CalendarReferenceMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Calendar Reference Type */\r\n CalendarReferenceType = new DwItemRelationship('CalendarReferenceType|CalendarReference|CalendarReferenceTypeId', 'CalendarReferenceType', 'CalendarReferenceType');\r\n /** Relation: Calendar Event Reference */\r\n CalendarEventReference = new DwItemRelationship('CalendarReference|CalendarEventReference|CalendarReferenceId', 'CalendarEventReference', 'CalendarEventReference');\r\n /** Relation: Calendar Reference Log */\r\n CalendarReferenceLog = new DwItemRelationship('CalendarReference|CalendarReferenceLog|CalendarReferenceId', 'CalendarReferenceLog', 'CalendarReferenceLog');\r\n /** Relation: Pilot Examiner */\r\n PilotExaminer = new DwItemRelationship('CalendarReference|PilotExaminer|CalendarReferenceId', 'PilotExaminer', 'PilotExaminer');\r\n };\r\nexport class CalendarReferenceLogMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1172;\r\n this.ItemDetail.itemName='CalendarReferenceLog';\r\n this.ItemDetail.keyName='CalendarReferenceLogId';\r\n }\r\n\r\n CreateEntity(): CalendarReferenceLogEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): CalendarReferenceLogQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new CalendarReferenceLogMetaDataAttributes();\r\n Relations = new CalendarReferenceLogMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type CalendarReferenceLogQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class CalendarReferenceLogMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'CalendarReferenceLog';\r\n // Attributes\r\n CalendarReferenceLogId = new DwItemAttribute(this.i, 'CalendarReferenceLogId');\r\n CalendarReferenceId = new DwItemAttribute(this.i, 'CalendarReferenceId');\r\n LogId = new DwItemAttribute(this.i, 'LogId');\r\n CalendarReferenceEventId = new DwItemAttribute(this.i, 'CalendarReferenceEventId');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n}\r\n\r\nclass CalendarReferenceLogMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Calendar Event Reference - Calendar Reference Event */\r\n CalendarEventReferenceByCalendarReferenceEventId = new DwItemRelationship('CalendarEventReference|CalendarReferenceLog|CalendarReferenceEventId', 'CalendarReferenceEventIdCalendarEventReference', 'CalendarReferenceEventIdCalendarEventReference');\r\n /** Relation: Calendar Reference */\r\n CalendarReference = new DwItemRelationship('CalendarReference|CalendarReferenceLog|CalendarReferenceId', 'CalendarReference', 'CalendarReference');\r\n };\r\nexport class CalendarReferenceTypeMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1170;\r\n this.ItemDetail.itemName='CalendarReferenceType';\r\n this.ItemDetail.keyName='CalendarReferenceTypeId';\r\n }\r\n\r\n CreateEntity(): CalendarReferenceTypeEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): CalendarReferenceTypeQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new CalendarReferenceTypeMetaDataAttributes();\r\n Relations = new CalendarReferenceTypeMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type CalendarReferenceTypeQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class CalendarReferenceTypeMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'CalendarReferenceType';\r\n // Attributes\r\n CalendarReferenceTypeId = new DwItemAttribute(this.i, 'CalendarReferenceTypeId');\r\n CalendarReferenceTypeDisplay = new DwItemAttribute(this.i, 'CalendarReferenceTypeDisplay');\r\n CalendarReferenceTypeMeaning = new DwItemAttribute(this.i, 'CalendarReferenceTypeMeaning');\r\n}\r\n\r\nclass CalendarReferenceTypeMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Calendar Reference */\r\n CalendarReference = new DwItemRelationship('CalendarReferenceType|CalendarReference|CalendarReferenceTypeId', 'CalendarReference', 'CalendarReference');\r\n };\r\nexport class CheckRideApplicantTypeMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1183;\r\n this.ItemDetail.itemName='CheckRideApplicantType';\r\n this.ItemDetail.keyName='CheckRideApplicantTypeId';\r\n }\r\n\r\n CreateEntity(): CheckRideApplicantTypeEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): CheckRideApplicantTypeQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new CheckRideApplicantTypeMetaDataAttributes();\r\n Relations = new CheckRideApplicantTypeMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type CheckRideApplicantTypeQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class CheckRideApplicantTypeMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'CheckRideApplicantType';\r\n // Attributes\r\n CheckRideApplicantTypeId = new DwItemAttribute(this.i, 'CheckRideApplicantTypeId');\r\n ApplicantType = new DwItemAttribute(this.i, 'ApplicantType');\r\n}\r\n\r\nclass CheckRideApplicantTypeMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Applicant Wait List */\r\n ApplicantPlaceholder = new DwItemRelationship('CheckRideApplicantType|ApplicantPlaceholder|CheckRideApplicantTypeId', 'ApplicantPlaceholder', 'ApplicantPlaceholder');\r\n /** Relation: Checkride Request */\r\n CheckRideRequest = new DwItemRelationship('CheckRideApplicantType|CheckRideRequest|CheckRideApplicantTypeId', 'CheckRideRequest', 'CheckRideRequest');\r\n };\r\nexport class CheckRideCancellationTypeMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1189;\r\n this.ItemDetail.itemName='CheckRideCancellationType';\r\n this.ItemDetail.keyName='CheckRideCancellationTypeId';\r\n }\r\n\r\n CreateEntity(): CheckRideCancellationTypeEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): CheckRideCancellationTypeQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new CheckRideCancellationTypeMetaDataAttributes();\r\n Relations = new CheckRideCancellationTypeMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type CheckRideCancellationTypeQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class CheckRideCancellationTypeMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'CheckRideCancellationType';\r\n // Attributes\r\n CheckRideCancellationTypeId = new DwItemAttribute(this.i, 'CheckRideCancellationTypeId');\r\n CancellationTypeDisplay = new DwItemAttribute(this.i, 'CancellationTypeDisplay');\r\n CancelOrder = new DwItemAttribute(this.i, 'CancelOrder');\r\n}\r\n\r\nclass CheckRideCancellationTypeMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Checkride Request */\r\n CheckRideRequest = new DwItemRelationship('CheckRideRequestCancelType|CheckRideRequest|CheckRideCancellationTypeId', 'CheckRideRequest', 'CheckRideRequest');\r\n };\r\nexport class CheckRideGroupMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1134;\r\n this.ItemDetail.itemName='CheckRideGroup';\r\n this.ItemDetail.keyName='CheckRideGroupId';\r\n }\r\n\r\n CreateEntity(): CheckRideGroupEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): CheckRideGroupQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new CheckRideGroupMetaDataAttributes();\r\n Relations = new CheckRideGroupMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type CheckRideGroupQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class CheckRideGroupMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'CheckRideGroup';\r\n // Attributes\r\n CheckRideGroupId = new DwItemAttribute(this.i, 'CheckRideGroupId');\r\n AviationAuthorityId = new DwItemAttribute(this.i, 'AviationAuthorityId');\r\n CheckRideGroup = new DwItemAttribute(this.i, 'CheckRideGroup');\r\n GroupOrder = new DwItemAttribute(this.i, 'GroupOrder');\r\n}\r\n\r\nclass CheckRideGroupMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Aviation Authority */\r\n AviationAuthority = new DwItemRelationship('AviationAuthority|CheckRideGroup|AviationAuthorityId', 'AviationAuthority', 'AviationAuthority');\r\n /** Relation: ACS Test */\r\n AcsTest = new DwItemRelationship('CheckRideGroup|AcsTest|CheckRideGroupId', 'AcsTest', 'AcsTest');\r\n /** Relation: Applicant Wait List */\r\n ApplicantPlaceholder = new DwItemRelationship('CheckRideGroup|ApplicantPlaceholder|CheckRideGroupId', 'ApplicantPlaceholder', 'ApplicantPlaceholder');\r\n /** Relation: Checkride Request */\r\n CheckRideRequest = new DwItemRelationship('CheckRideGroup|CheckRideRequest|CheckRideGroupId', 'CheckRideRequest', 'CheckRideRequest');\r\n /** Relation: Exam Type */\r\n CheckRideScenario = new DwItemRelationship('CheckRideGroup|CheckRideScenario|CheckRideGroupId', 'CheckRideScenario', 'CheckRideScenario');\r\n /** Relation: Checkride Type */\r\n CheckRideType = new DwItemRelationship('CheckRideGroup|CheckRideType|CheckRideGroupId', 'CheckRideType', 'CheckRideType');\r\n /** Relation: Plan Of Action */\r\n PlanOfAction = new DwItemRelationship('CheckRideGroup|PlanOfAction|CheckRideGroupId', 'PlanOfAction', 'PlanOfAction');\r\n };\r\nexport class CheckRideOutcomeMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1148;\r\n this.ItemDetail.itemName='CheckRideOutcome';\r\n this.ItemDetail.keyName='CheckRideOutcomeId';\r\n }\r\n\r\n CreateEntity(): CheckRideOutcomeEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): CheckRideOutcomeQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new CheckRideOutcomeMetaDataAttributes();\r\n Relations = new CheckRideOutcomeMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type CheckRideOutcomeQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class CheckRideOutcomeMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'CheckRideOutcome';\r\n // Attributes\r\n CheckRideOutcomeId = new DwItemAttribute(this.i, 'CheckRideOutcomeId');\r\n CheckRideOutcome = new DwItemAttribute(this.i, 'CheckRideOutcome');\r\n AllowRetest = new DwItemAttribute(this.i, 'AllowRetest');\r\n FlagStudentApplication = new DwItemAttribute(this.i, 'FlagStudentApplication');\r\n FlagStudentNotes = new DwItemAttribute(this.i, 'FlagStudentNotes');\r\n}\r\n\r\nclass CheckRideOutcomeMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Checkride Result */\r\n CheckRideResult = new DwItemRelationship('CheckRideOutcome|CheckRideResult|CheckRideOutcomeId', 'CheckRideResult', 'CheckRideResult');\r\n /** Relation: Plan Of Action Result */\r\n PlanOfActionResult = new DwItemRelationship('CheckRideOutcome|PlanOfActionResult|CheckRideOutcomeId', 'PlanOfActionResult', 'PlanOfActionResult');\r\n };\r\nexport class CheckRidePaymentMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1152;\r\n this.ItemDetail.itemName='CheckRidePayment';\r\n this.ItemDetail.keyName='CheckRidePaymentId';\r\n }\r\n\r\n CreateEntity(): CheckRidePaymentEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): CheckRidePaymentQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new CheckRidePaymentMetaDataAttributes();\r\n Relations = new CheckRidePaymentMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type CheckRidePaymentQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class CheckRidePaymentMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'CheckRidePayment';\r\n // Attributes\r\n CheckRidePaymentId = new DwItemAttribute(this.i, 'CheckRidePaymentId');\r\n PaymentTypeId = new DwItemAttribute(this.i, 'PaymentTypeId');\r\n PaymentMethodId = new DwItemAttribute(this.i, 'PaymentMethodId');\r\n PaymentDateTime = new DwItemAttribute(this.i, 'PaymentDateTime');\r\n PaymentAmount = new DwItemAttribute(this.i, 'PaymentAmount');\r\n CheckRideRequestId = new DwItemAttribute(this.i, 'CheckRideRequestId');\r\n PaymentReferenceId = new DwItemAttribute(this.i, 'PaymentReferenceId');\r\n PaymentReferenceText = new DwItemAttribute(this.i, 'PaymentReferenceText');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n PaymentDiscountid = new DwItemAttribute(this.i, 'PaymentDiscountid');\r\n PaymentPartyId = new DwItemAttribute(this.i, 'PaymentPartyId');\r\n EmailCCReceipt = new DwItemAttribute(this.i, 'EmailCCReceipt');\r\n}\r\n\r\nclass CheckRidePaymentMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Checkride Request */\r\n CheckRideRequest = new DwItemRelationship('CheckRideRequest|CheckRidePayment|CheckRideRequestId', 'CheckRideRequest', 'CheckRideRequest');\r\n /** Relation: Check Ride Request Payment Party - Payment Party */\r\n CheckRideRequestPaymentPartyByPaymentPartyId = new DwItemRelationship('CheckRideRequestPaymentParty|CheckRidePayment|PaymentPartyId', 'PaymentPartyIdCheckRideRequestPaymentParty', 'PaymentPartyIdCheckRideRequestPaymentParty');\r\n /** Relation: Payment Discount Code - Payment Discount */\r\n PaymentDiscountCodeByPaymentDiscountid = new DwItemRelationship('PaymentDiscountCode|CheckRidePayment|PaymentDiscountid', 'PaymentDiscountidPaymentDiscountCode', 'PaymentDiscountidPaymentDiscountCode');\r\n /** Relation: Payment Method */\r\n PaymentMethod = new DwItemRelationship('PaymentMethod|CheckRidePayment|PaymentMethodId', 'PaymentMethod', 'PaymentMethod');\r\n /** Relation: Payment Reference */\r\n PaymentReference = new DwItemRelationship('PaymentReference|CheckRidePayment|PaymentReferenceId', 'PaymentReference', 'PaymentReference');\r\n /** Relation: Payment Type */\r\n PaymentType = new DwItemRelationship('PaymentType|CheckRidePayment|PaymentTypeId', 'PaymentType', 'PaymentType');\r\n /** Relation: Checkride Request - Checkride Payment Id - Many */\r\n CheckRideRequestByPilexosBookingCheckRidePaymentId = new DwItemRelationship('CheckRidePayment|CheckRideRequest|PilexosBookingCheckRidePaymentId', 'PilexosBookingCheckRideRequest', 'PilexosBookingCheckRideRequest');\r\n };\r\nexport class CheckRideRequestMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1153;\r\n this.ItemDetail.itemName='CheckRideRequest';\r\n this.ItemDetail.keyName='CheckRideRequestId';\r\n }\r\n\r\n CreateEntity(): CheckRideRequestEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): CheckRideRequestQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new CheckRideRequestMetaDataAttributes();\r\n Relations = new CheckRideRequestMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type CheckRideRequestQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class CheckRideRequestMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'CheckRideRequest';\r\n // Attributes\r\n CheckRideRequestId = new DwItemAttribute(this.i, 'CheckRideRequestId');\r\n StudentApplicantId = new DwItemAttribute(this.i, 'StudentApplicantId');\r\n AviationAuthorityId = new DwItemAttribute(this.i, 'AviationAuthorityId');\r\n CheckRideTypeId = new DwItemAttribute(this.i, 'CheckRideTypeId');\r\n CheckRideTestTypeId = new DwItemAttribute(this.i, 'CheckRideTestTypeId');\r\n PilotCertificateNumber = new DwItemAttribute(this.i, 'PilotCertificateNumber');\r\n CheckRideRequestSubStatusId = new DwItemAttribute(this.i, 'CheckRideRequestSubStatusId');\r\n PreferredDateTime = new DwItemAttribute(this.i, 'PreferredDateTime');\r\n ScheduledTimeMinutes = new DwItemAttribute(this.i, 'ScheduledTimeMinutes');\r\n ScheduledPilotExaminerId = new DwItemAttribute(this.i, 'ScheduledPilotExaminerId');\r\n ScheduledPreTimeMinutes = new DwItemAttribute(this.i, 'ScheduledPreTimeMinutes');\r\n ScheduledPostTimeMinutes = new DwItemAttribute(this.i, 'ScheduledPostTimeMinutes');\r\n AuthorityPreCheckRideNumber = new DwItemAttribute(this.i, 'AuthorityPreCheckRideNumber');\r\n AirplaneMakeModel = new DwItemAttribute(this.i, 'AirplaneMakeModel');\r\n AirplaneNNumber = new DwItemAttribute(this.i, 'AirplaneNNumber');\r\n DocumentsMediaGroupId = new DwItemAttribute(this.i, 'DocumentsMediaGroupId');\r\n AuthorityPreapprovalCode = new DwItemAttribute(this.i, 'AuthorityPreapprovalCode');\r\n CheckRideGroupId = new DwItemAttribute(this.i, 'CheckRideGroupId');\r\n CancellationNotes = new DwItemAttribute(this.i, 'CancellationNotes');\r\n PreferredAirportId = new DwItemAttribute(this.i, 'PreferredAirportId');\r\n ScheduledAirportId = new DwItemAttribute(this.i, 'ScheduledAirportId');\r\n ScheduledDateTime = new DwItemAttribute(this.i, 'ScheduledDateTime');\r\n ScheduledCheckRideScenarioId = new DwItemAttribute(this.i, 'ScheduledCheckRideScenarioId');\r\n MedicalCertificateMediaId = new DwItemAttribute(this.i, 'MedicalCertificateMediaId');\r\n LogBookMediaId = new DwItemAttribute(this.i, 'LogBookMediaId');\r\n AdditionalDocumentationNotes = new DwItemAttribute(this.i, 'AdditionalDocumentationNotes');\r\n TrainingMediaId = new DwItemAttribute(this.i, 'TrainingMediaId');\r\n ScheduledCalendarEventReferenceId = new DwItemAttribute(this.i, 'ScheduledCalendarEventReferenceId');\r\n EndorsedAndCheckRideReady = new DwItemAttribute(this.i, 'EndorsedAndCheckRideReady');\r\n ScheduledPilotExaminerLocationId = new DwItemAttribute(this.i, 'ScheduledPilotExaminerLocationId');\r\n ProposedDateTime = new DwItemAttribute(this.i, 'ProposedDateTime');\r\n ProposedAirportId = new DwItemAttribute(this.i, 'ProposedAirportId');\r\n ProposedTimeMinutes = new DwItemAttribute(this.i, 'ProposedTimeMinutes');\r\n ProposedCalendarEventReferenceId = new DwItemAttribute(this.i, 'ProposedCalendarEventReferenceId');\r\n ScheduledCheckRideCost = new DwItemAttribute(this.i, 'ScheduledCheckRideCost');\r\n AdditionalTravelCost = new DwItemAttribute(this.i, 'AdditionalTravelCost');\r\n PilexosBookingCost = new DwItemAttribute(this.i, 'PilexosBookingCost');\r\n ExaminerBookingCost = new DwItemAttribute(this.i, 'ExaminerBookingCost');\r\n RejectedNotes = new DwItemAttribute(this.i, 'RejectedNotes');\r\n MoreInfoRequestedNotes = new DwItemAttribute(this.i, 'MoreInfoRequestedNotes');\r\n PilexosBookingPaymentAdded = new DwItemAttribute(this.i, 'PilexosBookingPaymentAdded');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n AvaiationTrainingProgramId = new DwItemAttribute(this.i, 'AvaiationTrainingProgramId');\r\n CheckRideApplicantTypeId = new DwItemAttribute(this.i, 'CheckRideApplicantTypeId');\r\n StudentApplicantNameManual = new DwItemAttribute(this.i, 'StudentApplicantNameManual');\r\n StudentApplicantEmailManual = new DwItemAttribute(this.i, 'StudentApplicantEmailManual');\r\n StudentApplicantPhoneManual = new DwItemAttribute(this.i, 'StudentApplicantPhoneManual');\r\n ExaminerPrivateNotes = new DwItemAttribute(this.i, 'ExaminerPrivateNotes');\r\n ExaminerToApplicantNotes = new DwItemAttribute(this.i, 'ExaminerToApplicantNotes');\r\n ExaminerToApplicantMediaGroupId = new DwItemAttribute(this.i, 'ExaminerToApplicantMediaGroupId');\r\n IsAirplaneAirworthy = new DwItemAttribute(this.i, 'IsAirplaneAirworthy');\r\n EmailApplicantReceipt = new DwItemAttribute(this.i, 'EmailApplicantReceipt');\r\n CheckRideCancellationTypeId = new DwItemAttribute(this.i, 'CheckRideCancellationTypeId');\r\n CheckRideCancellationTypeOther = new DwItemAttribute(this.i, 'CheckRideCancellationTypeOther');\r\n PilexosBookingCostPaymentPartyId = new DwItemAttribute(this.i, 'PilexosBookingCostPaymentPartyId');\r\n FlightSchoolName = new DwItemAttribute(this.i, 'FlightSchoolName');\r\n EmailCCReceipt = new DwItemAttribute(this.i, 'EmailCCReceipt');\r\n CancelledRequestBookingFeeRefund = new DwItemAttribute(this.i, 'CancelledRequestBookingFeeRefund');\r\n PilexosBookingCheckRidePaymentId = new DwItemAttribute(this.i, 'PilexosBookingCheckRidePaymentId');\r\n ScheduleAirportLocationNotes = new DwItemAttribute(this.i, 'ScheduleAirportLocationNotes');\r\n AuthorityApprovalCode = new DwItemAttribute(this.i, 'AuthorityApprovalCode');\r\n FlightInstructorName = new DwItemAttribute(this.i, 'FlightInstructorName');\r\n ApplicantPlaceholderId = new DwItemAttribute(this.i, 'ApplicantPlaceholderId');\r\n AddToWaitlist = new DwItemAttribute(this.i, 'AddToWaitlist');\r\n FlightSchoolId = new DwItemAttribute(this.i, 'FlightSchoolId');\r\n FlightSchoolNameOther = new DwItemAttribute(this.i, 'FlightSchoolNameOther');\r\n StudentApplicantCitizenshipCountyId = new DwItemAttribute(this.i, 'StudentApplicantCitizenshipCountyId');\r\n AirmanKnowledgeTestScore = new DwItemAttribute(this.i, 'AirmanKnowledgeTestScore');\r\n FlightInstructorCertificateNumber = new DwItemAttribute(this.i, 'FlightInstructorCertificateNumber');\r\n CurrentPilotCertifiateTypeId = new DwItemAttribute(this.i, 'CurrentPilotCertifiateTypeId');\r\n FlightInstructorEmail = new DwItemAttribute(this.i, 'FlightInstructorEmail');\r\n FlightInstructorPhone = new DwItemAttribute(this.i, 'FlightInstructorPhone');\r\n ApplicantAcsWrittenResultId = new DwItemAttribute(this.i, 'ApplicantAcsWrittenResultId');\r\n AirmanKnowledgeTestDate = new DwItemAttribute(this.i, 'AirmanKnowledgeTestDate');\r\n AirmanKnowledgeTestPDFMediaId = new DwItemAttribute(this.i, 'AirmanKnowledgeTestPDFMediaId');\r\n ExamScenarioNotes = new DwItemAttribute(this.i, 'ExamScenarioNotes');\r\n FlightSchoolCertificateNumber = new DwItemAttribute(this.i, 'FlightSchoolCertificateNumber');\r\n}\r\n\r\nclass CheckRideRequestMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Airport - Checkride Airport */\r\n AirportByScheduledAirportId = new DwItemRelationship('Airport|CheckRideRequest|ScheduledAirportId', 'ScheduledAirport', 'ScheduledAirport');\r\n /** Relation: Airport - Preferred Airport */\r\n AirportByPreferredAirportId = new DwItemRelationship('Airport|CheckRideRequest|PreferredAirportId', 'PreferredAirport', 'PreferredAirport');\r\n /** Relation: Airport - Proposed Airport */\r\n AirportByProposedAirportId = new DwItemRelationship('Airport|CheckRideRequest|ProposedAirportId', 'ProposedAirport', 'ProposedAirport');\r\n /** Relation: Applicant Acs Written Result */\r\n ApplicantAcsWrittenResult = new DwItemRelationship('ApplicantAcsWrittenResult|CheckRideRequest|ApplicantAcsWrittenResultId', 'ApplicantAcsWrittenResult', 'ApplicantAcsWrittenResult');\r\n /** Relation: Applicant Wait List */\r\n ApplicantPlaceholder = new DwItemRelationship('ApplicantPlaceholder|CheckRideRequest|ApplicantPlaceholderId', 'ApplicantPlaceholder', 'ApplicantPlaceholder');\r\n /** Relation: Aviation Authority */\r\n AviationAuthority = new DwItemRelationship('AviationAuthority|CheckRideRequest|AviationAuthorityId', 'AviationAuthority', 'AviationAuthority');\r\n /** Relation: Aviation Training Program - Program Type */\r\n AviationTrainingProgramByAvaiationTrainingProgramId = new DwItemRelationship('AviationTrainingProgram|CheckRideRequest|AvaiationTrainingProgramId', 'AvaiationTrainingProgramIdAviationTrainingProgram', 'AvaiationTrainingProgramIdAviationTrainingProgram');\r\n /** Relation: Calendar Event Reference - Calendar Event Reference */\r\n CalendarEventReferenceByScheduledCalendarEventReferenceId = new DwItemRelationship('CalendarEventReference|CheckRideRequest|ScheduledCalendarEventReferenceId', 'ScheduledCalendarEventReference', 'ScheduledCalendarEventReference');\r\n /** Relation: Check Ride Applicant Type */\r\n CheckRideApplicantType = new DwItemRelationship('CheckRideApplicantType|CheckRideRequest|CheckRideApplicantTypeId', 'CheckRideApplicantType', 'CheckRideApplicantType');\r\n /** Relation: Check Ride Cancellation Type */\r\n CheckRideCancellationType = new DwItemRelationship('CheckRideRequestCancelType|CheckRideRequest|CheckRideCancellationTypeId', 'CheckRideCancellationType', 'CheckRideCancellationType');\r\n /** Relation: Checkride Group */\r\n CheckRideGroup = new DwItemRelationship('CheckRideGroup|CheckRideRequest|CheckRideGroupId', 'CheckRideGroup', 'CheckRideGroup');\r\n /** Relation: Checkride Payment - Pilexos Booking Check Ride Payment */\r\n CheckRidePaymentByPilexosBookingCheckRidePaymentId = new DwItemRelationship('CheckRidePayment|CheckRideRequest|PilexosBookingCheckRidePaymentId', 'PilexosBookingCheckRidePayment', 'PilexosBookingCheckRidePayment');\r\n /** Relation: Check Ride Request Payment Party - Pilexos Booking Cost Responsible Party */\r\n CheckRideRequestPaymentPartyByPilexosBookingCostPaymentPartyId = new DwItemRelationship('CheckRideRequestPaymentParty|CheckRideRequest|PilexosBookingCostPaymentPartyId', 'PilexosBookingCostPaymentPartyIdCheckRideRequestPaymentParty', 'PilexosBookingCostPaymentPartyIdCheckRideRequestPaymentParty');\r\n /** Relation: Checkride Request Sub Status */\r\n CheckRideRequestSubStatus = new DwItemRelationship('CheckRideRequestSubStatus|CheckRideRequest|CheckRideRequestSubStatusId', 'CheckRideRequestSubStatus', 'CheckRideRequestSubStatus');\r\n /** Relation: Exam Type - Checkride Exam Type */\r\n CheckRideScenarioByScheduledCheckRideScenarioId = new DwItemRelationship('CheckRideScenario|CheckRideRequest|ScheduledCheckRideScenarioId', 'ScheduledCheckRideScenario', 'ScheduledCheckRideScenario');\r\n /** Relation: Checkride Test Type */\r\n CheckRideTestType = new DwItemRelationship('CheckRideTestType|CheckRideRequest|CheckRideTestTypeId', 'CheckRideTestType', 'CheckRideTestType');\r\n /** Relation: Checkride Type */\r\n CheckRideType = new DwItemRelationship('CheckRideType|CheckRideRequest|CheckRideTypeId', 'CheckRideType', 'CheckRideType');\r\n /** Relation: Country - Applicant Citizenship */\r\n CountryByStudentApplicantCitizenshipCountyId = new DwItemRelationship('Country|CheckRideRequest|StudentApplicantCitizenshipCountyId', 'StudentApplicantCitizenshipCountyIdCountry', 'StudentApplicantCitizenshipCountyIdCountry');\r\n /** Relation: Flight School */\r\n FlightSchool = new DwItemRelationship('FlightSchool|CheckRideRequest|FlightSchoolId', 'FlightSchool', 'FlightSchool');\r\n /** Relation: Media Group - Documents Media Group */\r\n DwMediaGroupByDocumentsMediaGroupId = new DwItemRelationship('dw_MediaGroup|CheckRideRequest|DocumentsMediaGroupId', 'DocumentsDwMediaGroup', 'DocumentsDwMediaGroup');\r\n /** Relation: Pilot Certificate Type - Current Pilot Certifiate Type */\r\n PilotCertificateTypeByCurrentPilotCertifiateTypeId = new DwItemRelationship('PilotCertificateType|CheckRideRequest|CurrentPilotCertifiateTypeId', 'CurrentPilotCertifiateTypeIdPilotCertificateType', 'CurrentPilotCertifiateTypeIdPilotCertificateType');\r\n /** Relation: Pilot Examiner - Assigned Pilot Examiner */\r\n PilotExaminerByScheduledPilotExaminerId = new DwItemRelationship('PilotExaminer|CheckRideRequest|ScheduledPilotExaminerId', 'ScheduledPilotExaminer', 'ScheduledPilotExaminer');\r\n /** Relation: Pilot Examiner Location - Assigned Pilot Examiner Location */\r\n PilotExaminerLocationByScheduledPilotExaminerLocationId = new DwItemRelationship('PilotExaminerLocation|CheckRideRequest|ScheduledPilotExaminerLocationId', 'ScheduledPilotExaminerLocation', 'ScheduledPilotExaminerLocation');\r\n /** Relation: Student Applicant */\r\n StudentApplicant = new DwItemRelationship('StudentApplicant|CheckRideRequest|StudentApplicantId', 'StudentApplicant', 'StudentApplicant');\r\n /** Relation: Checkride Payment */\r\n CheckRidePayment = new DwItemRelationship('CheckRideRequest|CheckRidePayment|CheckRideRequestId', 'CheckRidePayment', 'CheckRidePayment');\r\n /** Relation: Checkride Result */\r\n CheckRideResult = new DwItemRelationship('CheckRideRequest|CheckRideResult|CheckRideRequestId', 'CheckRideResult', 'CheckRideResult');\r\n /** Relation: Plan Of Action */\r\n PlanOfAction = new DwItemRelationship('CheckRideRequest|PlanOfAction|CheckRideRequestId', 'PlanOfAction', 'PlanOfAction');\r\n /** Relation: Ro Checkride Aggregate Util - Checkride Request Id */\r\n RoCheckrideAggregateUtilByCheckrideRequestId = new DwItemRelationship('CheckRideRequest|roCheckRideAggregateUtil|CheckRideRequestId', 'CheckrideRequestIdRoCheckrideAggregateUtil', 'CheckrideRequestIdRoCheckrideAggregateUtil');\r\n /** Relation: Ro Checkride Applicant Final Name */\r\n RoCheckrideApplicantFinalName = new DwItemRelationship('CheckRideRequest|roCheckRideApplicanetFinalName|CheckRideRequestId', 'RoCheckrideApplicantFinalName', 'RoCheckrideApplicantFinalName');\r\n /** Relation: Ro Checkride Request Schedule Date Info - Checkride Request Id */\r\n RoCheckrideRequestScheduleDateInfoByCheckrideRequestId = new DwItemRelationship('CheckrideRequest|roCheckrideRequestScheduleDateInfo|CheckRideRequestId', 'CheckrideRequestIdRoCheckrideRequestScheduleDateInfo', 'CheckrideRequestIdRoCheckrideRequestScheduleDateInfo');\r\n };\r\nexport class CheckRideRequestPaymentPartyMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1190;\r\n this.ItemDetail.itemName='CheckRideRequestPaymentParty';\r\n this.ItemDetail.keyName='CheckRideRequestPaymentPartyId';\r\n }\r\n\r\n CreateEntity(): CheckRideRequestPaymentPartyEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): CheckRideRequestPaymentPartyQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new CheckRideRequestPaymentPartyMetaDataAttributes();\r\n Relations = new CheckRideRequestPaymentPartyMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type CheckRideRequestPaymentPartyQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class CheckRideRequestPaymentPartyMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'CheckRideRequestPaymentParty';\r\n // Attributes\r\n CheckRideRequestPaymentPartyId = new DwItemAttribute(this.i, 'CheckRideRequestPaymentPartyId');\r\n PaymentPartyDisplay = new DwItemAttribute(this.i, 'PaymentPartyDisplay');\r\n IsActive = new DwItemAttribute(this.i, 'IsActive');\r\n PaymentPartyDescription = new DwItemAttribute(this.i, 'PaymentPartyDescription');\r\n PilexosBookingCost = new DwItemAttribute(this.i, 'PilexosBookingCost');\r\n PilexosBookingRetestCost = new DwItemAttribute(this.i, 'PilexosBookingRetestCost');\r\n}\r\n\r\nclass CheckRideRequestPaymentPartyMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Checkride Payment - Payment Party - Many */\r\n CheckRidePaymentByPaymentPartyId = new DwItemRelationship('CheckRideRequestPaymentParty|CheckRidePayment|PaymentPartyId', 'PaymentPartyIdCheckRidePayment', 'PaymentPartyIdCheckRidePayment');\r\n /** Relation: Checkride Request - Pilexos Booking Cost Payment Party - Many */\r\n CheckRideRequestByPilexosBookingCostPaymentPartyId = new DwItemRelationship('CheckRideRequestPaymentParty|CheckRideRequest|PilexosBookingCostPaymentPartyId', 'PilexosBookingCostPaymentPartyIdCheckRideRequest', 'PilexosBookingCostPaymentPartyIdCheckRideRequest');\r\n };\r\nexport class CheckRideRequestStatusMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1145;\r\n this.ItemDetail.itemName='CheckRideRequestStatus';\r\n this.ItemDetail.keyName='CheckRideRequestStatusId';\r\n }\r\n\r\n CreateEntity(): CheckRideRequestStatusEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): CheckRideRequestStatusQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new CheckRideRequestStatusMetaDataAttributes();\r\n Relations = new CheckRideRequestStatusMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type CheckRideRequestStatusQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class CheckRideRequestStatusMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'CheckRideRequestStatus';\r\n // Attributes\r\n CheckRideRequestStatusId = new DwItemAttribute(this.i, 'CheckRideRequestStatusId');\r\n CheckRideRequestStatus = new DwItemAttribute(this.i, 'CheckRideRequestStatus');\r\n}\r\n\r\nclass CheckRideRequestStatusMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Checkride Request Sub Status */\r\n CheckRideRequestSubStatus = new DwItemRelationship('CheckRideRequestStatus|CheckRideRequestSubStatus|CheckRideRequestStatusId', 'CheckRideRequestSubStatus', 'CheckRideRequestSubStatus');\r\n };\r\nexport class CheckRideRequestSubStatusMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1146;\r\n this.ItemDetail.itemName='CheckRideRequestSubStatus';\r\n this.ItemDetail.keyName='CheckRideRequestSubStatusId';\r\n }\r\n\r\n CreateEntity(): CheckRideRequestSubStatusEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): CheckRideRequestSubStatusQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new CheckRideRequestSubStatusMetaDataAttributes();\r\n Relations = new CheckRideRequestSubStatusMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type CheckRideRequestSubStatusQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class CheckRideRequestSubStatusMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'CheckRideRequestSubStatus';\r\n // Attributes\r\n CheckRideRequestSubStatusId = new DwItemAttribute(this.i, 'CheckRideRequestSubStatusId');\r\n CheckRideRequestStatusId = new DwItemAttribute(this.i, 'CheckRideRequestStatusId');\r\n CheckRideRequestSubStatus = new DwItemAttribute(this.i, 'CheckRideRequestSubStatus');\r\n WorkflowStatusDetailId = new DwItemAttribute(this.i, 'WorkflowStatusDetailId');\r\n ApplicantNotes = new DwItemAttribute(this.i, 'ApplicantNotes');\r\n ExaminerNotes = new DwItemAttribute(this.i, 'ExaminerNotes');\r\n ApplicantStatusLevelId = new DwItemAttribute(this.i, 'ApplicantStatusLevelId');\r\n ExaminerStatusLevelId = new DwItemAttribute(this.i, 'ExaminerStatusLevelId');\r\n ApplicantAllowEdit = new DwItemAttribute(this.i, 'ApplicantAllowEdit');\r\n ApplicantAllowExaminerChange = new DwItemAttribute(this.i, 'ApplicantAllowExaminerChange');\r\n ExaminerAllowEdit = new DwItemAttribute(this.i, 'ExaminerAllowEdit');\r\n OutcomeIsRequested = new DwItemAttribute(this.i, 'OutcomeIsRequested');\r\n OutcomeIsCancelled = new DwItemAttribute(this.i, 'OutcomeIsCancelled');\r\n OutcomeIsBooked = new DwItemAttribute(this.i, 'OutcomeIsBooked');\r\n OutcomeIsComplete = new DwItemAttribute(this.i, 'OutcomeIsComplete');\r\n}\r\n\r\nclass CheckRideRequestSubStatusMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Checkride State */\r\n CheckRideRequestStatus = new DwItemRelationship('CheckRideRequestStatus|CheckRideRequestSubStatus|CheckRideRequestStatusId', 'CheckRideRequestStatus', 'CheckRideRequestStatus');\r\n /** Relation: Check Ride Status Level - Applicant Status Level */\r\n CheckRideStatusLevelByApplicantStatusLevelId = new DwItemRelationship('CheckRideStatusLevel|CheckRideRequestSubStatus|ApplicantStatusLevelId', 'ApplicantStatusLevelIdCheckRideStatusLevel', 'ApplicantStatusLevelIdCheckRideStatusLevel');\r\n /** Relation: Check Ride Status Level - Examiner Status Level */\r\n CheckRideStatusLevelByExaminerStatusLevelId = new DwItemRelationship('CheckRideStatusLevel|CheckRideRequestSubStatus|ExaminerStatusLevelId', 'ExaminerStatusLevelIdCheckRideStatusLevel', 'ExaminerStatusLevelIdCheckRideStatusLevel');\r\n /** Relation: Checkride Request */\r\n CheckRideRequest = new DwItemRelationship('CheckRideRequestSubStatus|CheckRideRequest|CheckRideRequestSubStatusId', 'CheckRideRequest', 'CheckRideRequest');\r\n };\r\nexport class CheckRideResultMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1151;\r\n this.ItemDetail.itemName='CheckRideResult';\r\n this.ItemDetail.keyName='CheckRideResultId';\r\n }\r\n\r\n CreateEntity(): CheckRideResultEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): CheckRideResultQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new CheckRideResultMetaDataAttributes();\r\n Relations = new CheckRideResultMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type CheckRideResultQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class CheckRideResultMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'CheckRideResult';\r\n // Attributes\r\n CheckRideResultId = new DwItemAttribute(this.i, 'CheckRideResultId');\r\n CheckRideRequestId = new DwItemAttribute(this.i, 'CheckRideRequestId');\r\n CheckRideDateTime = new DwItemAttribute(this.i, 'CheckRideDateTime');\r\n CheckRideOutcomeId = new DwItemAttribute(this.i, 'CheckRideOutcomeId');\r\n AllowRetest = new DwItemAttribute(this.i, 'AllowRetest');\r\n AllowRetestReason = new DwItemAttribute(this.i, 'AllowRetestReason');\r\n RetestCost = new DwItemAttribute(this.i, 'RetestCost');\r\n FlagApplicant = new DwItemAttribute(this.i, 'FlagApplicant');\r\n FlagApplicantNotes = new DwItemAttribute(this.i, 'FlagApplicantNotes');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n AddToWaitlist = new DwItemAttribute(this.i, 'AddToWaitlist');\r\n GroundPortionComplete = new DwItemAttribute(this.i, 'GroundPortionComplete');\r\n}\r\n\r\nclass CheckRideResultMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Checkride Outcome */\r\n CheckRideOutcome = new DwItemRelationship('CheckRideOutcome|CheckRideResult|CheckRideOutcomeId', 'CheckRideOutcome', 'CheckRideOutcome');\r\n /** Relation: Checkride Request */\r\n CheckRideRequest = new DwItemRelationship('CheckRideRequest|CheckRideResult|CheckRideRequestId', 'CheckRideRequest', 'CheckRideRequest');\r\n };\r\nexport class CheckRideScenarioMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1142;\r\n this.ItemDetail.itemName='CheckRideScenario';\r\n this.ItemDetail.keyName='CheckRideScenarioId';\r\n }\r\n\r\n CreateEntity(): CheckRideScenarioEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): CheckRideScenarioQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new CheckRideScenarioMetaDataAttributes();\r\n Relations = new CheckRideScenarioMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type CheckRideScenarioQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class CheckRideScenarioMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'CheckRideScenario';\r\n // Attributes\r\n CheckRideScenarioId = new DwItemAttribute(this.i, 'CheckRideScenarioId');\r\n PilotExaminerId = new DwItemAttribute(this.i, 'PilotExaminerId');\r\n ScenarioName = new DwItemAttribute(this.i, 'ScenarioName');\r\n TimeRequiredHours = new DwItemAttribute(this.i, 'TimeRequiredHours');\r\n PreTimeMinutes = new DwItemAttribute(this.i, 'PreTimeMinutes');\r\n PostTimeMinutes = new DwItemAttribute(this.i, 'PostTimeMinutes');\r\n CheckRideCost = new DwItemAttribute(this.i, 'CheckRideCost');\r\n RetestCost = new DwItemAttribute(this.i, 'RetestCost');\r\n DiscontinuedRetestCost = new DwItemAttribute(this.i, 'DiscontinuedRetestCost');\r\n DocumentsMediaGroupId = new DwItemAttribute(this.i, 'DocumentsMediaGroupId');\r\n RequiredDocumentNotes = new DwItemAttribute(this.i, 'RequiredDocumentNotes');\r\n BookingCost = new DwItemAttribute(this.i, 'BookingCost');\r\n CheckRideGroupId = new DwItemAttribute(this.i, 'CheckRideGroupId');\r\n IsActive = new DwItemAttribute(this.i, 'IsActive');\r\n TravelCost = new DwItemAttribute(this.i, 'TravelCost');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n TimeRequiredMinutes = new DwItemAttribute(this.i, 'TimeRequiredMinutes');\r\n RetestFlightOnlyCost = new DwItemAttribute(this.i, 'RetestFlightOnlyCost');\r\n DiscontinuedRetestFlightOnlyCost = new DwItemAttribute(this.i, 'DiscontinuedRetestFlightOnlyCost');\r\n RetestFlightOnlyTimeReqirementMinutes = new DwItemAttribute(this.i, 'RetestFlightOnlyTimeReqirementMinutes');\r\n RetestTimeRequiredMinutes = new DwItemAttribute(this.i, 'RetestTimeRequiredMinutes');\r\n RetestFlightOnlyTimeRequiredMinutes = new DwItemAttribute(this.i, 'RetestFlightOnlyTimeRequiredMinutes');\r\n DiscontinuedTimeRequiredMinutes = new DwItemAttribute(this.i, 'DiscontinuedTimeRequiredMinutes');\r\n DiscontinuedFlightOnlyTimeRequiredMinutes = new DwItemAttribute(this.i, 'DiscontinuedFlightOnlyTimeRequiredMinutes');\r\n}\r\n\r\nclass CheckRideScenarioMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Checkride Group */\r\n CheckRideGroup = new DwItemRelationship('CheckRideGroup|CheckRideScenario|CheckRideGroupId', 'CheckRideGroup', 'CheckRideGroup');\r\n /** Relation: Pilot Examiner */\r\n PilotExaminer = new DwItemRelationship('PilotExaminer|CheckRideScenario|PilotExaminerId', 'PilotExaminer', 'PilotExaminer');\r\n /** Relation: Checkride Request - Checkride Type Id - Many */\r\n CheckRideRequestByScheduledCheckRideScenarioId = new DwItemRelationship('CheckRideScenario|CheckRideRequest|ScheduledCheckRideScenarioId', 'ScheduledCheckRideRequest', 'ScheduledCheckRideRequest');\r\n /** Relation: Checkride Scenario Type Map */\r\n CheckRideScenarioTypeMap = new DwItemRelationship('CheckRideScenario|CheckRideScenarioTypeMap|CheckRideScenarioId', 'CheckRideScenarioTypeMap', 'CheckRideScenarioTypeMap');\r\n /** Relation: Ro Pilot Examiner Scenario */\r\n RoPilotExaminerScenario = new DwItemRelationship('CheckRideScenario|roPilotExaminerScenario', 'RoPilotExaminerScenario', 'RoPilotExaminerScenario');\r\n };\r\nexport class CheckRideScenarioTypeMapMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1143;\r\n this.ItemDetail.itemName='CheckRideScenarioTypeMap';\r\n this.ItemDetail.keyName='CheckRideScenarioTypeMapId';\r\n }\r\n\r\n CreateEntity(): CheckRideScenarioTypeMapEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): CheckRideScenarioTypeMapQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new CheckRideScenarioTypeMapMetaDataAttributes();\r\n Relations = new CheckRideScenarioTypeMapMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type CheckRideScenarioTypeMapQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class CheckRideScenarioTypeMapMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'CheckRideScenarioTypeMap';\r\n // Attributes\r\n CheckRideScenarioTypeMapId = new DwItemAttribute(this.i, 'CheckRideScenarioTypeMapId');\r\n CheckRideScenarioId = new DwItemAttribute(this.i, 'CheckRideScenarioId');\r\n CheckRideTypeId = new DwItemAttribute(this.i, 'CheckRideTypeId');\r\n}\r\n\r\nclass CheckRideScenarioTypeMapMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Exam Type */\r\n CheckRideScenario = new DwItemRelationship('CheckRideScenario|CheckRideScenarioTypeMap|CheckRideScenarioId', 'CheckRideScenario', 'CheckRideScenario');\r\n /** Relation: Checkride Type */\r\n CheckRideType = new DwItemRelationship('CheckRideType|CheckRideScenarioTypeMap|CheckRideTypeId', 'CheckRideType', 'CheckRideType');\r\n };\r\nexport class CheckRideStatusLevelMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1182;\r\n this.ItemDetail.itemName='CheckRideStatusLevel';\r\n this.ItemDetail.keyName='CheckRideStatusLevelId';\r\n }\r\n\r\n CreateEntity(): CheckRideStatusLevelEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): CheckRideStatusLevelQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new CheckRideStatusLevelMetaDataAttributes();\r\n Relations = new CheckRideStatusLevelMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type CheckRideStatusLevelQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class CheckRideStatusLevelMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'CheckRideStatusLevel';\r\n // Attributes\r\n CheckRideStatusLevelId = new DwItemAttribute(this.i, 'CheckRideStatusLevelId');\r\n StatusLevelDisplay = new DwItemAttribute(this.i, 'StatusLevelDisplay');\r\n}\r\n\r\nclass CheckRideStatusLevelMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Checkride Request Sub Status - Applicant Status Level - Many */\r\n CheckRideRequestSubStatusByApplicantStatusLevelId = new DwItemRelationship('CheckRideStatusLevel|CheckRideRequestSubStatus|ApplicantStatusLevelId', 'ApplicantStatusLevelIdCheckRideRequestSubStatus', 'ApplicantStatusLevelIdCheckRideRequestSubStatus');\r\n /** Relation: Checkride Request Sub Status - Examiner Status Level - Many */\r\n CheckRideRequestSubStatusByExaminerStatusLevelId = new DwItemRelationship('CheckRideStatusLevel|CheckRideRequestSubStatus|ExaminerStatusLevelId', 'ExaminerStatusLevelIdCheckRideRequestSubStatus', 'ExaminerStatusLevelIdCheckRideRequestSubStatus');\r\n };\r\nexport class CheckRideTestTypeMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1147;\r\n this.ItemDetail.itemName='CheckRideTestType';\r\n this.ItemDetail.keyName='CheckRideTestTypeId';\r\n }\r\n\r\n CreateEntity(): CheckRideTestTypeEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): CheckRideTestTypeQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new CheckRideTestTypeMetaDataAttributes();\r\n Relations = new CheckRideTestTypeMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type CheckRideTestTypeQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class CheckRideTestTypeMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'CheckRideTestType';\r\n // Attributes\r\n CheckRideTestTypeId = new DwItemAttribute(this.i, 'CheckRideTestTypeId');\r\n TestType = new DwItemAttribute(this.i, 'TestType');\r\n}\r\n\r\nclass CheckRideTestTypeMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Applicant Wait List */\r\n ApplicantPlaceholder = new DwItemRelationship('CheckRideTestType|ApplicantPlaceholder|CheckRideTtestTypeId', 'ApplicantPlaceholder', 'ApplicantPlaceholder');\r\n /** Relation: Checkride Request */\r\n CheckRideRequest = new DwItemRelationship('CheckRideTestType|CheckRideRequest|CheckRideTestTypeId', 'CheckRideRequest', 'CheckRideRequest');\r\n /** Relation: Plan Of Action */\r\n PlanOfAction = new DwItemRelationship('CheckRideTestType|PlanOfAction|CheckRideTestTypeId', 'PlanOfAction', 'PlanOfAction');\r\n };\r\nexport class CheckRideTypeMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1135;\r\n this.ItemDetail.itemName='CheckRideType';\r\n this.ItemDetail.keyName='CheckRideTypeId';\r\n }\r\n\r\n CreateEntity(): CheckRideTypeEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): CheckRideTypeQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new CheckRideTypeMetaDataAttributes();\r\n Relations = new CheckRideTypeMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type CheckRideTypeQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class CheckRideTypeMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'CheckRideType';\r\n // Attributes\r\n CheckRideTypeId = new DwItemAttribute(this.i, 'CheckRideTypeId');\r\n CheckRideGroupId = new DwItemAttribute(this.i, 'CheckRideGroupId');\r\n CheckRideType = new DwItemAttribute(this.i, 'CheckRideType');\r\n CheckRideDesignation = new DwItemAttribute(this.i, 'CheckRideDesignation');\r\n TypeOrder = new DwItemAttribute(this.i, 'TypeOrder');\r\n}\r\n\r\nclass CheckRideTypeMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Checkride Group */\r\n CheckRideGroup = new DwItemRelationship('CheckRideGroup|CheckRideType|CheckRideGroupId', 'CheckRideGroup', 'CheckRideGroup');\r\n /** Relation: Acs Test Check Ride Type */\r\n AcsTestCheckRideType = new DwItemRelationship('CheckRideType|AcsTestCheckRideType|CheckRideTypeId', 'AcsTestCheckRideType', 'AcsTestCheckRideType');\r\n /** Relation: Applicant Wait List */\r\n ApplicantPlaceholder = new DwItemRelationship('CheckRideType|ApplicantPlaceholder|CheckRideTypeId', 'ApplicantPlaceholder', 'ApplicantPlaceholder');\r\n /** Relation: Checkride Request */\r\n CheckRideRequest = new DwItemRelationship('CheckRideType|CheckRideRequest|CheckRideTypeId', 'CheckRideRequest', 'CheckRideRequest');\r\n /** Relation: Checkride Scenario Type Map */\r\n CheckRideScenarioTypeMap = new DwItemRelationship('CheckRideType|CheckRideScenarioTypeMap|CheckRideTypeId', 'CheckRideScenarioTypeMap', 'CheckRideScenarioTypeMap');\r\n /** Relation: Plan Of Action */\r\n PlanOfAction = new DwItemRelationship('CheckRideType|PlanOfAction|CheckRideTypeId', 'PlanOfAction', 'PlanOfAction');\r\n };\r\nexport class CountryMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1156;\r\n this.ItemDetail.itemName='Country';\r\n this.ItemDetail.keyName='CountryId';\r\n }\r\n\r\n CreateEntity(): CountryEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): CountryQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new CountryMetaDataAttributes();\r\n Relations = new CountryMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type CountryQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class CountryMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'Country';\r\n // Attributes\r\n CountryId = new DwItemAttribute(this.i, 'CountryId');\r\n CountryName = new DwItemAttribute(this.i, 'CountryName');\r\n CountryShortName = new DwItemAttribute(this.i, 'CountryShortName');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n}\r\n\r\nclass CountryMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Address */\r\n Address = new DwItemRelationship('Country|Address|CountryId', 'Address', 'Address');\r\n /** Relation: Applicant Wait List - Student Applicant Citizenship County - Many */\r\n ApplicantPlaceholderByStudentApplicantCitizenshipCountyId = new DwItemRelationship('Country|ApplicantPlaceholder|StudentApplicantCitizenshipCountyId', 'StudentApplicantCitizenshipCountyIdApplicantPlaceholder', 'StudentApplicantCitizenshipCountyIdApplicantPlaceholder');\r\n /** Relation: Checkride Request - Student Applicant Citizenship County - Many */\r\n CheckRideRequestByStudentApplicantCitizenshipCountyId = new DwItemRelationship('Country|CheckRideRequest|StudentApplicantCitizenshipCountyId', 'StudentApplicantCitizenshipCountyIdCheckRideRequest', 'StudentApplicantCitizenshipCountyIdCheckRideRequest');\r\n /** Relation: Plan Of Action - Student Applicant Citizenship - Many */\r\n PlanOfActionByStudentApplicantCitizenshipCountryId = new DwItemRelationship('Country|PlanOfAction|StudentApplicantCitizenshipCountryId', 'StudentApplicantCitizenshipPlanOfAction', 'StudentApplicantCitizenshipPlanOfAction');\r\n /** Relation: State Province */\r\n StateProvince = new DwItemRelationship('Country|StateProvince|CountryId', 'StateProvince', 'StateProvince');\r\n /** Relation: Student Applicant - Citzenship County - Many */\r\n StudentApplicantByCitzenshipCountyId = new DwItemRelationship('Country|StudentApplicant|CitzenshipCountyId', 'CitzenshipCountyIdStudentApplicant', 'CitzenshipCountyIdStudentApplicant');\r\n };\r\nexport class DurationMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1185;\r\n this.ItemDetail.itemName='Duration';\r\n this.ItemDetail.keyName='DurationId';\r\n }\r\n\r\n CreateEntity(): DurationEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): DurationQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new DurationMetaDataAttributes();\r\n Relations = new DurationMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type DurationQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class DurationMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'Duration';\r\n // Attributes\r\n DurationId = new DwItemAttribute(this.i, 'DurationId');\r\n DurationMinutes = new DwItemAttribute(this.i, 'DurationMinutes');\r\n DurationDisplay = new DwItemAttribute(this.i, 'DurationDisplay');\r\n}\r\n\r\nclass DurationMetaDataRelations implements DwItemRelationshipCollection {\r\n };\r\nexport class FlightSchoolMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1194;\r\n this.ItemDetail.itemName='FlightSchool';\r\n this.ItemDetail.keyName='FlightSchoolId';\r\n }\r\n\r\n CreateEntity(): FlightSchoolEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): FlightSchoolQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new FlightSchoolMetaDataAttributes();\r\n Relations = new FlightSchoolMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type FlightSchoolQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class FlightSchoolMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'FlightSchool';\r\n // Attributes\r\n FlightSchoolId = new DwItemAttribute(this.i, 'FlightSchoolId');\r\n FlightSchoolName = new DwItemAttribute(this.i, 'FlightSchoolName');\r\n IsOther = new DwItemAttribute(this.i, 'IsOther');\r\n}\r\n\r\nclass FlightSchoolMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Applicant Wait List */\r\n ApplicantPlaceholder = new DwItemRelationship('FlightSchool|ApplicantPlaceholder|FlightSchoolId', 'ApplicantPlaceholder', 'ApplicantPlaceholder');\r\n /** Relation: Checkride Request */\r\n CheckRideRequest = new DwItemRelationship('FlightSchool|CheckRideRequest|FlightSchoolId', 'CheckRideRequest', 'CheckRideRequest');\r\n };\r\nexport class DwMediaGroupMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=188;\r\n this.ItemDetail.itemName='dw_MediaGroup';\r\n this.ItemDetail.keyName='MediaGroupId';\r\n }\r\n\r\n CreateEntity(): DwMediaGroupEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): DwMediaGroupQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new DwMediaGroupMetaDataAttributes();\r\n Relations = new DwMediaGroupMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type DwMediaGroupQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class DwMediaGroupMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'dw_MediaGroup';\r\n // Attributes\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n GroupName = new DwItemAttribute(this.i, 'GroupName');\r\n IsGlobalGroup = new DwItemAttribute(this.i, 'IsGlobalGroup');\r\n IsSecure = new DwItemAttribute(this.i, 'IsSecure');\r\n MediaGroupId = new DwItemAttribute(this.i, 'MediaGroupId');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n PartyReferenceId = new DwItemAttribute(this.i, 'PartyReferenceId');\r\n}\r\n\r\nclass DwMediaGroupMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Checkride Request - Documents - Many */\r\n CheckRideRequestByDocumentsMediaGroupId = new DwItemRelationship('dw_MediaGroup|CheckRideRequest|DocumentsMediaGroupId', 'DocumentsCheckRideRequest', 'DocumentsCheckRideRequest');\r\n /** Relation: Ro Media */\r\n DwRoMedia = new DwItemRelationship('MediaGroup_roMedia', 'DwroMedia', 'DwroMedia');\r\n };\r\nexport class PaymentCustomerReferenceMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1174;\r\n this.ItemDetail.itemName='PaymentCustomerReference';\r\n this.ItemDetail.keyName='PaymentCustomerReferenceId';\r\n }\r\n\r\n CreateEntity(): PaymentCustomerReferenceEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): PaymentCustomerReferenceQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new PaymentCustomerReferenceMetaDataAttributes();\r\n Relations = new PaymentCustomerReferenceMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PaymentCustomerReferenceQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PaymentCustomerReferenceMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PaymentCustomerReference';\r\n // Attributes\r\n PaymentCustomerReferenceId = new DwItemAttribute(this.i, 'PaymentCustomerReferenceId');\r\n UserId = new DwItemAttribute(this.i, 'UserId');\r\n CustomerReferenceKey = new DwItemAttribute(this.i, 'CustomerReferenceKey');\r\n PaymentProviderId = new DwItemAttribute(this.i, 'PaymentProviderId');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n}\r\n\r\nclass PaymentCustomerReferenceMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Payment Provider */\r\n PaymentProvider = new DwItemRelationship('PaymentProvider|PaymentCustomerReference|PaymentProviderId', 'PaymentProvider', 'PaymentProvider');\r\n /** Relation: User */\r\n DwUser = new DwItemRelationship('dw_User|PaymentCustomerReference|UserId', 'DwUser', 'DwUser');\r\n /** Relation: Payment Reference */\r\n PaymentReference = new DwItemRelationship('PaymentCustomerReference|PaymentReference|PaymentCustomerReferenceId', 'PaymentReference', 'PaymentReference');\r\n };\r\nexport class PaymentDiscountCodeMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1180;\r\n this.ItemDetail.itemName='PaymentDiscountCode';\r\n this.ItemDetail.keyName='PaymentDiscountCodeId';\r\n }\r\n\r\n CreateEntity(): PaymentDiscountCodeEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): PaymentDiscountCodeQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new PaymentDiscountCodeMetaDataAttributes();\r\n Relations = new PaymentDiscountCodeMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PaymentDiscountCodeQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PaymentDiscountCodeMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PaymentDiscountCode';\r\n // Attributes\r\n PaymentDiscountCodeId = new DwItemAttribute(this.i, 'PaymentDiscountCodeId');\r\n DiscountName = new DwItemAttribute(this.i, 'DiscountName');\r\n DiscountCode = new DwItemAttribute(this.i, 'DiscountCode');\r\n StartDate = new DwItemAttribute(this.i, 'StartDate');\r\n EndDate = new DwItemAttribute(this.i, 'EndDate');\r\n AllowedUses = new DwItemAttribute(this.i, 'AllowedUses');\r\n IsActive = new DwItemAttribute(this.i, 'IsActive');\r\n LimitToUserId = new DwItemAttribute(this.i, 'LimitToUserId');\r\n DiscountAmount = new DwItemAttribute(this.i, 'DiscountAmount');\r\n CurrentUses = new DwItemAttribute(this.i, 'CurrentUses');\r\n DiscountPercent = new DwItemAttribute(this.i, 'DiscountPercent');\r\n}\r\n\r\nclass PaymentDiscountCodeMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: User - Limit To User */\r\n DwUserByLimitToUserId = new DwItemRelationship('dw_User|PaymentDiscountCode|LimitToUserId', 'LimitToDwUser', 'LimitToDwUser');\r\n /** Relation: Checkride Payment - Payment Discountid - Many */\r\n CheckRidePaymentByPaymentDiscountid = new DwItemRelationship('PaymentDiscountCode|CheckRidePayment|PaymentDiscountid', 'PaymentDiscountidCheckRidePayment', 'PaymentDiscountidCheckRidePayment');\r\n };\r\nexport class PaymentMethodMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1149;\r\n this.ItemDetail.itemName='PaymentMethod';\r\n this.ItemDetail.keyName='PaymentMethodId';\r\n }\r\n\r\n CreateEntity(): PaymentMethodEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): PaymentMethodQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new PaymentMethodMetaDataAttributes();\r\n Relations = new PaymentMethodMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PaymentMethodQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PaymentMethodMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PaymentMethod';\r\n // Attributes\r\n PaymentMethodId = new DwItemAttribute(this.i, 'PaymentMethodId');\r\n PaymentMethod = new DwItemAttribute(this.i, 'PaymentMethod');\r\n}\r\n\r\nclass PaymentMethodMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Checkride Payment */\r\n CheckRidePayment = new DwItemRelationship('PaymentMethod|CheckRidePayment|PaymentMethodId', 'CheckRidePayment', 'CheckRidePayment');\r\n };\r\nexport class PaymentProviderMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1178;\r\n this.ItemDetail.itemName='PaymentProvider';\r\n this.ItemDetail.keyName='PaymentProviderId';\r\n }\r\n\r\n CreateEntity(): PaymentProviderEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): PaymentProviderQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new PaymentProviderMetaDataAttributes();\r\n Relations = new PaymentProviderMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PaymentProviderQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PaymentProviderMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PaymentProvider';\r\n // Attributes\r\n PaymentProviderId = new DwItemAttribute(this.i, 'PaymentProviderId');\r\n PaymentProviderDisplay = new DwItemAttribute(this.i, 'PaymentProviderDisplay');\r\n PaymentProviderMeaning = new DwItemAttribute(this.i, 'PaymentProviderMeaning');\r\n}\r\n\r\nclass PaymentProviderMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Payment Customer Reference */\r\n PaymentCustomerReference = new DwItemRelationship('PaymentProvider|PaymentCustomerReference|PaymentProviderId', 'PaymentCustomerReference', 'PaymentCustomerReference');\r\n };\r\nexport class PaymentReferenceMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1175;\r\n this.ItemDetail.itemName='PaymentReference';\r\n this.ItemDetail.keyName='PaymentReferenceId';\r\n }\r\n\r\n CreateEntity(): PaymentReferenceEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): PaymentReferenceQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new PaymentReferenceMetaDataAttributes();\r\n Relations = new PaymentReferenceMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PaymentReferenceQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PaymentReferenceMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PaymentReference';\r\n // Attributes\r\n PaymentReferenceId = new DwItemAttribute(this.i, 'PaymentReferenceId');\r\n PaymentCustomerReferenceId = new DwItemAttribute(this.i, 'PaymentCustomerReferenceId');\r\n PaymentReferenceKey = new DwItemAttribute(this.i, 'PaymentReferenceKey');\r\n PaymentReferenceCardTypeId = new DwItemAttribute(this.i, 'PaymentReferenceCardTypeId');\r\n PaymentReference = new DwItemAttribute(this.i, 'PaymentReference');\r\n PaymentReferenceStatusId = new DwItemAttribute(this.i, 'PaymentReferenceStatusId');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n PaymentAmount = new DwItemAttribute(this.i, 'PaymentAmount');\r\n CardHolderName = new DwItemAttribute(this.i, 'CardHolderName');\r\n}\r\n\r\nclass PaymentReferenceMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Payment Customer Reference */\r\n PaymentCustomerReference = new DwItemRelationship('PaymentCustomerReference|PaymentReference|PaymentCustomerReferenceId', 'PaymentCustomerReference', 'PaymentCustomerReference');\r\n /** Relation: Payment Reference Card Type */\r\n PaymentReferenceCardType = new DwItemRelationship('PaymentReferenceCardType|PaymentReference|PaymentReferenceCardTypeId', 'PaymentReferenceCardType', 'PaymentReferenceCardType');\r\n /** Relation: Payment Reference Status */\r\n PaymentReferenceStatus = new DwItemRelationship('PaymentReferenceStatus|PaymentReference|PaymentReferenceStatusId', 'PaymentReferenceStatus', 'PaymentReferenceStatus');\r\n /** Relation: Checkride Payment */\r\n CheckRidePayment = new DwItemRelationship('PaymentReference|CheckRidePayment|PaymentReferenceId', 'CheckRidePayment', 'CheckRidePayment');\r\n /** Relation: Payment Reference History */\r\n PaymentReferenceHistory = new DwItemRelationship('PaymentReference|PaymentReferenceHistory|PaymentReferenceId', 'PaymentReferenceHistory', 'PaymentReferenceHistory');\r\n };\r\nexport class PaymentReferenceCardTypeMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1176;\r\n this.ItemDetail.itemName='PaymentReferenceCardType';\r\n this.ItemDetail.keyName='PaymentReferenceCardTypeId';\r\n }\r\n\r\n CreateEntity(): PaymentReferenceCardTypeEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): PaymentReferenceCardTypeQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new PaymentReferenceCardTypeMetaDataAttributes();\r\n Relations = new PaymentReferenceCardTypeMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PaymentReferenceCardTypeQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PaymentReferenceCardTypeMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PaymentReferenceCardType';\r\n // Attributes\r\n PaymentReferenceCardTypeId = new DwItemAttribute(this.i, 'PaymentReferenceCardTypeId');\r\n CardTypeDisplay = new DwItemAttribute(this.i, 'CardTypeDisplay');\r\n CardTypeMeaning = new DwItemAttribute(this.i, 'CardTypeMeaning');\r\n}\r\n\r\nclass PaymentReferenceCardTypeMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Payment Reference */\r\n PaymentReference = new DwItemRelationship('PaymentReferenceCardType|PaymentReference|PaymentReferenceCardTypeId', 'PaymentReference', 'PaymentReference');\r\n };\r\nexport class PaymentReferenceHistoryMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1179;\r\n this.ItemDetail.itemName='PaymentReferenceHistory';\r\n this.ItemDetail.keyName='PaymentReferenceHistoryId';\r\n }\r\n\r\n CreateEntity(): PaymentReferenceHistoryEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): PaymentReferenceHistoryQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new PaymentReferenceHistoryMetaDataAttributes();\r\n Relations = new PaymentReferenceHistoryMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PaymentReferenceHistoryQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PaymentReferenceHistoryMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PaymentReferenceHistory';\r\n // Attributes\r\n PaymentReferenceHistoryId = new DwItemAttribute(this.i, 'PaymentReferenceHistoryId');\r\n PaymentReferenceId = new DwItemAttribute(this.i, 'PaymentReferenceId');\r\n PaymentReferenceStatusId = new DwItemAttribute(this.i, 'PaymentReferenceStatusId');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n}\r\n\r\nclass PaymentReferenceHistoryMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Payment Reference */\r\n PaymentReference = new DwItemRelationship('PaymentReference|PaymentReferenceHistory|PaymentReferenceId', 'PaymentReference', 'PaymentReference');\r\n /** Relation: Payment Reference Status */\r\n PaymentReferenceStatus = new DwItemRelationship('PaymentReferenceStatus|PaymentReferenceHistory|PaymentReferenceStatusId', 'PaymentReferenceStatus', 'PaymentReferenceStatus');\r\n };\r\nexport class PaymentReferenceStatusMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1177;\r\n this.ItemDetail.itemName='PaymentReferenceStatus';\r\n this.ItemDetail.keyName='PaymentReferenceStatusId';\r\n }\r\n\r\n CreateEntity(): PaymentReferenceStatusEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): PaymentReferenceStatusQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new PaymentReferenceStatusMetaDataAttributes();\r\n Relations = new PaymentReferenceStatusMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PaymentReferenceStatusQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PaymentReferenceStatusMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PaymentReferenceStatus';\r\n // Attributes\r\n PaymentReferenceStatusId = new DwItemAttribute(this.i, 'PaymentReferenceStatusId');\r\n PaymentReferenceStatus = new DwItemAttribute(this.i, 'PaymentReferenceStatus');\r\n}\r\n\r\nclass PaymentReferenceStatusMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Payment Reference */\r\n PaymentReference = new DwItemRelationship('PaymentReferenceStatus|PaymentReference|PaymentReferenceStatusId', 'PaymentReference', 'PaymentReference');\r\n /** Relation: Payment Reference History */\r\n PaymentReferenceHistory = new DwItemRelationship('PaymentReferenceStatus|PaymentReferenceHistory|PaymentReferenceStatusId', 'PaymentReferenceHistory', 'PaymentReferenceHistory');\r\n };\r\nexport class PaymentTypeMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1150;\r\n this.ItemDetail.itemName='PaymentType';\r\n this.ItemDetail.keyName='PaymentTypeId';\r\n }\r\n\r\n CreateEntity(): PaymentTypeEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): PaymentTypeQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new PaymentTypeMetaDataAttributes();\r\n Relations = new PaymentTypeMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PaymentTypeQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PaymentTypeMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PaymentType';\r\n // Attributes\r\n PaymentTypeId = new DwItemAttribute(this.i, 'PaymentTypeId');\r\n PaymentType = new DwItemAttribute(this.i, 'PaymentType');\r\n}\r\n\r\nclass PaymentTypeMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Checkride Payment */\r\n CheckRidePayment = new DwItemRelationship('PaymentType|CheckRidePayment|PaymentTypeId', 'CheckRidePayment', 'CheckRidePayment');\r\n };\r\nexport class PilotCertificateTypeMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1195;\r\n this.ItemDetail.itemName='PilotCertificateType';\r\n this.ItemDetail.keyName='PilotCertificateTypeId';\r\n }\r\n\r\n CreateEntity(): PilotCertificateTypeEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): PilotCertificateTypeQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new PilotCertificateTypeMetaDataAttributes();\r\n Relations = new PilotCertificateTypeMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PilotCertificateTypeQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PilotCertificateTypeMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PilotCertificateType';\r\n // Attributes\r\n PilotCertificateTypeId = new DwItemAttribute(this.i, 'PilotCertificateTypeId');\r\n PilotCertiicateTypeId = new DwItemAttribute(this.i, 'PilotCertiicateTypeId');\r\n}\r\n\r\nclass PilotCertificateTypeMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Checkride Request - Current Pilot Certifiate Type - Many */\r\n CheckRideRequestByCurrentPilotCertifiateTypeId = new DwItemRelationship('PilotCertificateType|CheckRideRequest|CurrentPilotCertifiateTypeId', 'CurrentPilotCertifiateTypeIdCheckRideRequest', 'CurrentPilotCertifiateTypeIdCheckRideRequest');\r\n /** Relation: Student Applicant - Current Pilot Certifiate Type - Many */\r\n StudentApplicantByCurrentPilotCertifiateTypeId = new DwItemRelationship('PilotCertificateType|StudentApplicant|CurrentPilotCertifiateTypeId', 'CurrentPilotCertifiateTypeIdStudentApplicant', 'CurrentPilotCertifiateTypeIdStudentApplicant');\r\n };\r\nexport class PilotExaminerMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1137;\r\n this.ItemDetail.itemName='PilotExaminer';\r\n this.ItemDetail.keyName='PilotExaminerId';\r\n }\r\n\r\n CreateEntity(): PilotExaminerEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): PilotExaminerQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new PilotExaminerMetaDataAttributes();\r\n Relations = new PilotExaminerMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PilotExaminerQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PilotExaminerMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PilotExaminer';\r\n // Attributes\r\n PilotExaminerId = new DwItemAttribute(this.i, 'PilotExaminerId');\r\n UserId = new DwItemAttribute(this.i, 'UserId');\r\n PilotExaminerStatusId = new DwItemAttribute(this.i, 'PilotExaminerStatusId');\r\n Description = new DwItemAttribute(this.i, 'Description');\r\n AviationAuthorityId = new DwItemAttribute(this.i, 'AviationAuthorityId');\r\n DefaultPreTimeMinutes = new DwItemAttribute(this.i, 'DefaultPreTimeMinutes');\r\n DefaultPostTimeMinutes = new DwItemAttribute(this.i, 'DefaultPostTimeMinutes');\r\n TravelRadiusMiles = new DwItemAttribute(this.i, 'TravelRadiusMiles');\r\n AuthorityExaminerNumber = new DwItemAttribute(this.i, 'AuthorityExaminerNumber');\r\n CalendarIsLinked = new DwItemAttribute(this.i, 'CalendarIsLinked');\r\n CalendarReferenceId = new DwItemAttribute(this.i, 'CalendarReferenceId');\r\n RequireAuthorityPreCheckRideNumber = new DwItemAttribute(this.i, 'RequireAuthorityPreCheckRideNumber');\r\n PublicProfileIsActive = new DwItemAttribute(this.i, 'PublicProfileIsActive');\r\n PublicProfileSlug = new DwItemAttribute(this.i, 'PublicProfileSlug');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n CheckRideRequestLeadTimeDays = new DwItemAttribute(this.i, 'CheckRideRequestLeadTimeDays');\r\n CheckRideRequestBookingMaxWeeksOut = new DwItemAttribute(this.i, 'CheckRideRequestBookingMaxWeeksOut');\r\n AviationAuthorityDistrictOfficeId = new DwItemAttribute(this.i, 'AviationAuthorityDistrictOfficeId');\r\n DailyTravelRadiusLockMiles = new DwItemAttribute(this.i, 'DailyTravelRadiusLockMiles');\r\n}\r\n\r\nclass PilotExaminerMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Aviation Authority */\r\n AviationAuthority = new DwItemRelationship('AviationAuthority|PilotExaminer|AviationAuthorityId', 'AviationAuthority', 'AviationAuthority');\r\n /** Relation: FSDO */\r\n AviationAuthorityDistrictOffice = new DwItemRelationship('AviationAuthorityDistrictOffice|PilotExaminer|AviationAuthorityDistrictOfficeId', 'AviationAuthorityDistrictOffice', 'AviationAuthorityDistrictOffice');\r\n /** Relation: Calendar Reference */\r\n CalendarReference = new DwItemRelationship('CalendarReference|PilotExaminer|CalendarReferenceId', 'CalendarReference', 'CalendarReference');\r\n /** Relation: Pilot Examiner Status */\r\n PilotExaminerStatus = new DwItemRelationship('PilotExaminerStatus|PilotExaminer|PilotExaminerStatusId', 'PilotExaminerStatus', 'PilotExaminerStatus');\r\n /** Relation: User */\r\n DwUser = new DwItemRelationship('dw_User|PilotExaminer|UserId', 'DwUser', 'DwUser');\r\n /** Relation: Applicant Wait List */\r\n ApplicantPlaceholder = new DwItemRelationship('PilotExaminer|ApplicantPlaceholder|PilotExaminerId', 'ApplicantPlaceholder', 'ApplicantPlaceholder');\r\n /** Relation: Checkride Request - Scheduled - Many */\r\n CheckRideRequestByScheduledPilotExaminerId = new DwItemRelationship('PilotExaminer|CheckRideRequest|ScheduledPilotExaminerId', 'ScheduledCheckRideRequest', 'ScheduledCheckRideRequest');\r\n /** Relation: Exam Type */\r\n CheckRideScenario = new DwItemRelationship('PilotExaminer|CheckRideScenario|PilotExaminerId', 'CheckRideScenario', 'CheckRideScenario');\r\n /** Relation: Pilot Examiner Location */\r\n PilotExaminerLocation = new DwItemRelationship('PilotExaminer|PilotExaminerLocation|PilotExaminerId', 'PilotExaminerLocation', 'PilotExaminerLocation');\r\n /** Relation: Plan Of Action */\r\n PlanOfAction = new DwItemRelationship('PilotExaminer|PlanOfAction|PilotExaminerId', 'PlanOfAction', 'PlanOfAction');\r\n /** Relation: Ro Pilot Examiner Location Distances */\r\n RoPilotExaminerLocationDistances = new DwItemRelationship('PilotExaminer|RoPilotExaminerLocation', 'RoPilotExaminerLocationDistances', 'RoPilotExaminerLocationDistances');\r\n /** Relation: Ro Pilot Examiner Scenario */\r\n RoPilotExaminerScenario = new DwItemRelationship('PIlotExaminer|RoPilotExaminerScenario', 'RoPilotExaminerScenario', 'RoPilotExaminerScenario');\r\n /** Relation: Student Applicant - Referred - Many */\r\n StudentApplicantByReferredPilotExaminerId = new DwItemRelationship('PilotExaminer|StudentApplicant|ReferredPilotExaminerId', 'ReferredStudentApplicant', 'ReferredStudentApplicant');\r\n };\r\nexport class PilotExaminerLocationMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1141;\r\n this.ItemDetail.itemName='PilotExaminerLocation';\r\n this.ItemDetail.keyName='PilotExaminerLocationId';\r\n }\r\n\r\n CreateEntity(): PilotExaminerLocationEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): PilotExaminerLocationQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new PilotExaminerLocationMetaDataAttributes();\r\n Relations = new PilotExaminerLocationMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PilotExaminerLocationQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PilotExaminerLocationMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PilotExaminerLocation';\r\n // Attributes\r\n PilotExaminerLocationId = new DwItemAttribute(this.i, 'PilotExaminerLocationId');\r\n PilotExaminerId = new DwItemAttribute(this.i, 'PilotExaminerId');\r\n LocationName = new DwItemAttribute(this.i, 'LocationName');\r\n SchedulingStartDate = new DwItemAttribute(this.i, 'SchedulingStartDate');\r\n SchedulingEndDate = new DwItemAttribute(this.i, 'SchedulingEndDate');\r\n TravelRadiusMile = new DwItemAttribute(this.i, 'TravelRadiusMile');\r\n BookingScheduleId = new DwItemAttribute(this.i, 'BookingScheduleId');\r\n TravelCost = new DwItemAttribute(this.i, 'TravelCost');\r\n IsDefaultLocation = new DwItemAttribute(this.i, 'IsDefaultLocation');\r\n IsActive = new DwItemAttribute(this.i, 'IsActive');\r\n AdditionalLocationCost = new DwItemAttribute(this.i, 'AdditionalLocationCost');\r\n BookingScheduleTimeZoneId = new DwItemAttribute(this.i, 'BookingScheduleTimeZoneId');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n ShowMetar = new DwItemAttribute(this.i, 'ShowMetar');\r\n PilotExaminerLocationTypeId = new DwItemAttribute(this.i, 'PilotExaminerLocationTypeId');\r\n}\r\n\r\nclass PilotExaminerLocationMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Pilot Examiner */\r\n PilotExaminer = new DwItemRelationship('PilotExaminer|PilotExaminerLocation|PilotExaminerId', 'PilotExaminer', 'PilotExaminer');\r\n /** Relation: Pilot Examiner Location Type */\r\n PilotExaminerLocationType = new DwItemRelationship('PilotExaminerLocationType|PilotExaminerLocation|PilotExaminerLocationTypeId', 'PilotExaminerLocationType', 'PilotExaminerLocationType');\r\n /** Relation: Custom Calendar - Booking Days */\r\n ScheduleByBookingScheduleId = new DwItemRelationship('Schedule|PilotExaminerLocation|BookingScheduleId', 'BookingSchedule', 'BookingSchedule');\r\n /** Relation: Time Zone - Booking Timezone */\r\n TimeZoneByBookingScheduleTimeZoneId = new DwItemRelationship('TimeZone|PilotExaminerLocation|BookingScheduleTimeZoneId', 'BookingScheduleTimeZoneIdTimeZone', 'BookingScheduleTimeZoneIdTimeZone');\r\n /** Relation: Checkride Request - Scheduled - Many */\r\n CheckRideRequestByScheduledPilotExaminerLocationId = new DwItemRelationship('PilotExaminerLocation|CheckRideRequest|ScheduledPilotExaminerLocationId', 'ScheduledCheckRideRequest', 'ScheduledCheckRideRequest');\r\n /** Relation: Pilot Examiner Location Airport */\r\n PilotExaminerLocationAirport = new DwItemRelationship('PilotExaminerLocation|PilotExaminerLocationAirport|PilotExaminerLocationId', 'PilotExaminerLocationAirport', 'PilotExaminerLocationAirport');\r\n /** Relation: Ro Pilot Examiner Location Current */\r\n RoPilotExaminerLocationCurrent = new DwItemRelationship('PilotExaminerLocation|roPilotExaminerLocationCurrent', 'RoPilotExaminerLocationCurrent', 'RoPilotExaminerLocationCurrent');\r\n /** Relation: Ro Pilot Examiner Location Distances */\r\n RoPilotExaminerLocationDistances = new DwItemRelationship('PIlotExaminerLocation|RoPilotExaminerLocation', 'RoPilotExaminerLocationDistances', 'RoPilotExaminerLocationDistances');\r\n };\r\nexport class PilotExaminerLocationAirportMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1160;\r\n this.ItemDetail.itemName='PilotExaminerLocationAirport';\r\n this.ItemDetail.keyName='PilotExaminerLocationAirportId';\r\n }\r\n\r\n CreateEntity(): PilotExaminerLocationAirportEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): PilotExaminerLocationAirportQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new PilotExaminerLocationAirportMetaDataAttributes();\r\n Relations = new PilotExaminerLocationAirportMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PilotExaminerLocationAirportQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PilotExaminerLocationAirportMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PilotExaminerLocationAirport';\r\n // Attributes\r\n PilotExaminerLocationAirportId = new DwItemAttribute(this.i, 'PilotExaminerLocationAirportId');\r\n PilotExaminerLocationId = new DwItemAttribute(this.i, 'PilotExaminerLocationId');\r\n AirportId = new DwItemAttribute(this.i, 'AirportId');\r\n}\r\n\r\nclass PilotExaminerLocationAirportMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Airport */\r\n Airport = new DwItemRelationship('Airport|PilotExaminerLocationAirport|AirportId', 'Airport', 'Airport');\r\n /** Relation: Pilot Examiner Location */\r\n PilotExaminerLocation = new DwItemRelationship('PilotExaminerLocation|PilotExaminerLocationAirport|PilotExaminerLocationId', 'PilotExaminerLocation', 'PilotExaminerLocation');\r\n };\r\nexport class PilotExaminerLocationStateMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1168;\r\n this.ItemDetail.itemName='PilotExaminerLocationState';\r\n this.ItemDetail.keyName='PilotExaminerLocationStateId';\r\n }\r\n\r\n CreateEntity(): PilotExaminerLocationStateEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): PilotExaminerLocationStateQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new PilotExaminerLocationStateMetaDataAttributes();\r\n Relations = new PilotExaminerLocationStateMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PilotExaminerLocationStateQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PilotExaminerLocationStateMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PilotExaminerLocationState';\r\n // Attributes\r\n PilotExaminerLocationStateId = new DwItemAttribute(this.i, 'PilotExaminerLocationStateId');\r\n StateMeaning = new DwItemAttribute(this.i, 'StateMeaning');\r\n StateDisplay = new DwItemAttribute(this.i, 'StateDisplay');\r\n}\r\n\r\nclass PilotExaminerLocationStateMetaDataRelations implements DwItemRelationshipCollection {\r\n };\r\nexport class PilotExaminerLocationTypeMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1224;\r\n this.ItemDetail.itemName='PilotExaminerLocationType';\r\n this.ItemDetail.keyName='PilotExaminerLocationTypeId';\r\n }\r\n\r\n CreateEntity(): PilotExaminerLocationTypeEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): PilotExaminerLocationTypeQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new PilotExaminerLocationTypeMetaDataAttributes();\r\n Relations = new PilotExaminerLocationTypeMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PilotExaminerLocationTypeQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PilotExaminerLocationTypeMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PilotExaminerLocationType';\r\n // Attributes\r\n PilotExaminerLocationTypeId = new DwItemAttribute(this.i, 'PilotExaminerLocationTypeId');\r\n PilotExaminerLocationType = new DwItemAttribute(this.i, 'PilotExaminerLocationType');\r\n}\r\n\r\nclass PilotExaminerLocationTypeMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Pilot Examiner Location */\r\n PilotExaminerLocation = new DwItemRelationship('PilotExaminerLocationType|PilotExaminerLocation|PilotExaminerLocationTypeId', 'PilotExaminerLocation', 'PilotExaminerLocation');\r\n };\r\nexport class PilotExaminerStatusMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1136;\r\n this.ItemDetail.itemName='PilotExaminerStatus';\r\n this.ItemDetail.keyName='PilotExaminerStatusId';\r\n }\r\n\r\n CreateEntity(): PilotExaminerStatusEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): PilotExaminerStatusQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new PilotExaminerStatusMetaDataAttributes();\r\n Relations = new PilotExaminerStatusMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PilotExaminerStatusQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PilotExaminerStatusMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PilotExaminerStatus';\r\n // Attributes\r\n PilotExaminerStatusId = new DwItemAttribute(this.i, 'PilotExaminerStatusId');\r\n PilotExaminerStatus = new DwItemAttribute(this.i, 'PilotExaminerStatus');\r\n WorkflowStatusDetailId = new DwItemAttribute(this.i, 'WorkflowStatusDetailId');\r\n}\r\n\r\nclass PilotExaminerStatusMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Pilot Examiner */\r\n PilotExaminer = new DwItemRelationship('PilotExaminerStatus|PilotExaminer|PilotExaminerStatusId', 'PilotExaminer', 'PilotExaminer');\r\n };\r\nexport class PlanOfActionMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1217;\r\n this.ItemDetail.itemName='PlanOfAction';\r\n this.ItemDetail.keyName='PlanOfActionId';\r\n }\r\n\r\n CreateEntity(): PlanOfActionEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): PlanOfActionQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new PlanOfActionMetaDataAttributes();\r\n Relations = new PlanOfActionMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PlanOfActionQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PlanOfActionMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PlanOfAction';\r\n // Attributes\r\n PlanOfActionId = new DwItemAttribute(this.i, 'PlanOfActionId');\r\n PlanOfActionName = new DwItemAttribute(this.i, 'PlanOfActionName');\r\n PlanOfActionStatusId = new DwItemAttribute(this.i, 'PlanOfActionStatusId');\r\n AviationAuthorityId = new DwItemAttribute(this.i, 'AviationAuthorityId');\r\n AcsTestId = new DwItemAttribute(this.i, 'AcsTestId');\r\n PilotExaminerId = new DwItemAttribute(this.i, 'PilotExaminerId');\r\n CheckRideRequestId = new DwItemAttribute(this.i, 'CheckRideRequestId');\r\n CheckrideDateTime = new DwItemAttribute(this.i, 'CheckrideDateTime');\r\n StudentApplicantNameManual = new DwItemAttribute(this.i, 'StudentApplicantNameManual');\r\n StudentApplicantEmailManual = new DwItemAttribute(this.i, 'StudentApplicantEmailManual');\r\n StudentApplicantPhoneManual = new DwItemAttribute(this.i, 'StudentApplicantPhoneManual');\r\n StudentApplicantCitizenshipCountryId = new DwItemAttribute(this.i, 'StudentApplicantCitizenshipCountryId');\r\n AuthorityPreCheckRideNumber = new DwItemAttribute(this.i, 'AuthorityPreCheckRideNumber');\r\n PilotCertificateNumber = new DwItemAttribute(this.i, 'PilotCertificateNumber');\r\n AirplaneNNumber = new DwItemAttribute(this.i, 'AirplaneNNumber');\r\n AuthorityPreapprovalCode = new DwItemAttribute(this.i, 'AuthorityPreapprovalCode');\r\n AuthorityApprovalCode = new DwItemAttribute(this.i, 'Authority Approval Code');\r\n ApplicationPaperworkCorrect = new DwItemAttribute(this.i, 'ApplicationPaperworkCorrect');\r\n EndorsementsPaperworkCorrect = new DwItemAttribute(this.i, 'EndorsementsPaperworkCorrect');\r\n OptionsShowQuestionForAcsCode = new DwItemAttribute(this.i, 'OptionsShowQuestionForAcsCode');\r\n IsTemplate = new DwItemAttribute(this.i, 'IsTemplate');\r\n IsSharedTemplate = new DwItemAttribute(this.i, 'IsSharedTemplate');\r\n TemplatePlanOfActionId = new DwItemAttribute(this.i, 'TemplatePlanOfActionId');\r\n IsBuiltIn = new DwItemAttribute(this.i, 'IsBuiltIn');\r\n OwnerUserId = new DwItemAttribute(this.i, 'OwnerUserId');\r\n PlanOfActionResultId = new DwItemAttribute(this.i, 'PlanOfActionResultId');\r\n LinkToCheckride = new DwItemAttribute(this.i, 'LinkToCheckride');\r\n ApplicantAcsWrittenResultId = new DwItemAttribute(this.i, 'ApplicantAcsWrittenResultId');\r\n CheckRideAirportId = new DwItemAttribute(this.i, 'CheckRideAirportId');\r\n CheckRideGroupId = new DwItemAttribute(this.i, 'CheckRideGroupId');\r\n CheckRideTypeId = new DwItemAttribute(this.i, 'CheckRideTypeId');\r\n CheckRideTestTypeId = new DwItemAttribute(this.i, 'CheckRideTestTypeId');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n}\r\n\r\nclass PlanOfActionMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: ACS Test */\r\n AcsTest = new DwItemRelationship('AcsTest|PlanOfAction|AcsTestId', 'AcsTest', 'AcsTest');\r\n /** Relation: Airport - Check Ride Airport */\r\n AirportByCheckRideAirportId = new DwItemRelationship('Airport|PlanOfAction|CheckRideAirportId', 'CheckRideAirport', 'CheckRideAirport');\r\n /** Relation: Applicant Acs Written Result */\r\n ApplicantAcsWrittenResult = new DwItemRelationship('ApplicantAcsWrittenResult|PlanOfAction|ApplicantAcsWrittenResultId', 'ApplicantAcsWrittenResult', 'ApplicantAcsWrittenResult');\r\n /** Relation: Aviation Authority */\r\n AviationAuthority = new DwItemRelationship('AviationAuthority|PlanOfAction|AviationAuthorityId', 'AviationAuthority', 'AviationAuthority');\r\n /** Relation: Checkride Group */\r\n CheckRideGroup = new DwItemRelationship('CheckRideGroup|PlanOfAction|CheckRideGroupId', 'CheckRideGroup', 'CheckRideGroup');\r\n /** Relation: Checkride Request */\r\n CheckRideRequest = new DwItemRelationship('CheckRideRequest|PlanOfAction|CheckRideRequestId', 'CheckRideRequest', 'CheckRideRequest');\r\n /** Relation: Checkride Test Type */\r\n CheckRideTestType = new DwItemRelationship('CheckRideTestType|PlanOfAction|CheckRideTestTypeId', 'CheckRideTestType', 'CheckRideTestType');\r\n /** Relation: Checkride Type */\r\n CheckRideType = new DwItemRelationship('CheckRideType|PlanOfAction|CheckRideTypeId', 'CheckRideType', 'CheckRideType');\r\n /** Relation: Country - Student Applicant Citizenship Country */\r\n CountryByStudentApplicantCitizenshipCountryId = new DwItemRelationship('Country|PlanOfAction|StudentApplicantCitizenshipCountryId', 'StudentApplicantCitizenshipCountry', 'StudentApplicantCitizenshipCountry');\r\n /** Relation: Pilot Examiner */\r\n PilotExaminer = new DwItemRelationship('PilotExaminer|PlanOfAction|PilotExaminerId', 'PilotExaminer', 'PilotExaminer');\r\n /** Relation: Plan Of Action Result */\r\n PlanOfActionResult = new DwItemRelationship('PlanOfActionResult|PlanOfAction|PlanOfActionResultId', 'PlanOfActionResult', 'PlanOfActionResult');\r\n /** Relation: Plan Of Action Status */\r\n PlanOfActionStatus = new DwItemRelationship('PlanOfActionStatus|PlanOfAction|PlanOfActionStatusId', 'PlanOfActionStatus', 'PlanOfActionStatus');\r\n /** Relation: Plan Of Action - Template Plan Of Action - One */\r\n PlanOfActionByTemplatePlanOfActionId = new DwItemRelationship('PlanOfAction|PlanOfAction|TemplatePlanOfActionId', 'TemplatePlanOfAction', 'TemplatePlanOfAction');\r\n /** Relation: Plan Of Action Required Acs Code */\r\n PlanOfActionRequiredAcsCode = new DwItemRelationship('PlanOfAction|PlanOfActionRequiredAcsCode|PlanOfActionId', 'PlanOfActionRequiredAcsCode', 'PlanOfActionRequiredAcsCode');\r\n /** Relation: Plan Of Action Section */\r\n PlanOfActionSection = new DwItemRelationship('PlanOfAction|PlanOfActionSection|PlanOfActionId', 'PlanOfActionSection', 'PlanOfActionSection');\r\n /** Relation: Ro Plan Of Action Details */\r\n RoPlanOfActionDetails = new DwItemRelationship('PlanOfAction|roPlanOfActionDetails|PlanOfActionId', 'RoPlanOfActionDetails', 'RoPlanOfActionDetails');\r\n };\r\nexport class PlanOfActionQuestionResultMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1226;\r\n this.ItemDetail.itemName='PlanOfActionQuestionResult';\r\n this.ItemDetail.keyName='PlanOfActionQuestionResultId';\r\n }\r\n\r\n CreateEntity(): PlanOfActionQuestionResultEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): PlanOfActionQuestionResultQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new PlanOfActionQuestionResultMetaDataAttributes();\r\n Relations = new PlanOfActionQuestionResultMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PlanOfActionQuestionResultQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PlanOfActionQuestionResultMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PlanOfActionQuestionResult';\r\n // Attributes\r\n PlanOfActionQuestionResultId = new DwItemAttribute(this.i, 'PlanOfActionQuestionResultId');\r\n PlanOfActionResultId = new DwItemAttribute(this.i, 'PlanOfActionResultId');\r\n PlanOfActionSectionQuestionId = new DwItemAttribute(this.i, 'PlanOfActionSectionQuestionId');\r\n QuestionOutcomeId = new DwItemAttribute(this.i, 'QuestionOutcomeId');\r\n DiscussQuestion = new DwItemAttribute(this.i, 'DiscussQuestion');\r\n Notes = new DwItemAttribute(this.i, 'Notes');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n}\r\n\r\nclass PlanOfActionQuestionResultMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Plan Of Action Result */\r\n PlanOfActionResult = new DwItemRelationship('PlanOfActionResult|PlanOfActionQuestionResult|PlanOfActionResultId', 'PlanOfActionResult', 'PlanOfActionResult');\r\n /** Relation: Plan Of Action Section Question */\r\n PlanOfActionSectionQuestion = new DwItemRelationship('PlanOfActionSectionQuestion|PlanOfActionQuestionResult|PlanOfActionSectionQuestionId', 'PlanOfActionSectionQuestion', 'PlanOfActionSectionQuestion');\r\n /** Relation: Question Outcome */\r\n QuestionOutcome = new DwItemRelationship('QuestionOutcome|PlanOfActionQuestionResult|QuestionOutcomeId', 'QuestionOutcome', 'QuestionOutcome');\r\n };\r\nexport class PlanOfActionRequiredAcsCodeMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1222;\r\n this.ItemDetail.itemName='PlanOfActionRequiredAcsCode';\r\n this.ItemDetail.keyName='PlanOfActionRequiredAcsCodeId';\r\n }\r\n\r\n CreateEntity(): PlanOfActionRequiredAcsCodeEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): PlanOfActionRequiredAcsCodeQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new PlanOfActionRequiredAcsCodeMetaDataAttributes();\r\n Relations = new PlanOfActionRequiredAcsCodeMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PlanOfActionRequiredAcsCodeQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PlanOfActionRequiredAcsCodeMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PlanOfActionRequiredAcsCode';\r\n // Attributes\r\n PlanOfActionRequiredAcsCodeId = new DwItemAttribute(this.i, 'PlanOfActionRequiredAcsCodeId');\r\n PlanOfActionId = new DwItemAttribute(this.i, 'PlanOfActionId');\r\n AcsCodeId = new DwItemAttribute(this.i, 'AcsCodeId');\r\n}\r\n\r\nclass PlanOfActionRequiredAcsCodeMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: ACS Code */\r\n AcsCode = new DwItemRelationship('AcsCode|PlanOfActionRequiredAcsCode|AscCodeId', 'AcsCode', 'AcsCode');\r\n /** Relation: Plan Of Action */\r\n PlanOfAction = new DwItemRelationship('PlanOfAction|PlanOfActionRequiredAcsCode|PlanOfActionId', 'PlanOfAction', 'PlanOfAction');\r\n };\r\nexport class PlanOfActionResultMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1225;\r\n this.ItemDetail.itemName='PlanOfActionResult';\r\n this.ItemDetail.keyName='PlanOfActionResultId';\r\n }\r\n\r\n CreateEntity(): PlanOfActionResultEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): PlanOfActionResultQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new PlanOfActionResultMetaDataAttributes();\r\n Relations = new PlanOfActionResultMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PlanOfActionResultQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PlanOfActionResultMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PlanOfActionResult';\r\n // Attributes\r\n PlanOfActionResultId = new DwItemAttribute(this.i, 'PlanOfActionResultId');\r\n CheckRideStartDateTime = new DwItemAttribute(this.i, 'CheckRideStartDateTime');\r\n CheckRideEndDateTime = new DwItemAttribute(this.i, 'CheckRideEndDateTime');\r\n TotalTimeGroundMinutes = new DwItemAttribute(this.i, 'TotalTimeGroundMinutes');\r\n TotalTimeFlightMinute = new DwItemAttribute(this.i, 'TotalTimeFlightMinute');\r\n CheckRideOutcomeId = new DwItemAttribute(this.i, 'CheckRideOutcomeId');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n}\r\n\r\nclass PlanOfActionResultMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Checkride Outcome */\r\n CheckRideOutcome = new DwItemRelationship('CheckRideOutcome|PlanOfActionResult|CheckRideOutcomeId', 'CheckRideOutcome', 'CheckRideOutcome');\r\n /** Relation: Plan Of Action */\r\n PlanOfAction = new DwItemRelationship('PlanOfActionResult|PlanOfAction|PlanOfActionResultId', 'PlanOfAction', 'PlanOfAction');\r\n /** Relation: Plan Of Action Question Result */\r\n PlanOfActionQuestionResult = new DwItemRelationship('PlanOfActionResult|PlanOfActionQuestionResult|PlanOfActionResultId', 'PlanOfActionQuestionResult', 'PlanOfActionQuestionResult');\r\n };\r\nexport class PlanOfActionSectionMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1214;\r\n this.ItemDetail.itemName='PlanOfActionSection';\r\n this.ItemDetail.keyName='PlanOfActionSectionId';\r\n }\r\n\r\n CreateEntity(): PlanOfActionSectionEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): PlanOfActionSectionQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new PlanOfActionSectionMetaDataAttributes();\r\n Relations = new PlanOfActionSectionMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PlanOfActionSectionQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PlanOfActionSectionMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PlanOfActionSection';\r\n // Attributes\r\n PlanOfActionSectionId = new DwItemAttribute(this.i, 'PlanOfActionSectionId');\r\n PlanOfActionId = new DwItemAttribute(this.i, 'PlanOfActionId');\r\n SectionName = new DwItemAttribute(this.i, 'SectionName');\r\n PlanOfActionSectionTypeId = new DwItemAttribute(this.i, 'PlanOfActionSectionTypeId');\r\n AcsAreaOfOperationId = new DwItemAttribute(this.i, 'AcsAreaOfOperationId');\r\n AcsAreaOfOperationTaskId = new DwItemAttribute(this.i, 'AcsAreaOfOperationTaskId');\r\n SectionOrder = new DwItemAttribute(this.i, 'SectionOrder');\r\n AcsTestPortionId = new DwItemAttribute(this.i, 'AcsTestPortionId');\r\n}\r\n\r\nclass PlanOfActionSectionMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Acs Area Of Operation */\r\n AcsAreaOfOperation = new DwItemRelationship('AcsAreaOfOperation|PlanOfActionSection|AcsAreaOfOperationId', 'AcsAreaOfOperation', 'AcsAreaOfOperation');\r\n /** Relation: Acs Area Of Operation Task */\r\n AcsAreaOfOperationTask = new DwItemRelationship('AcsAreaOfOperationTask|PlanOfActionSection|AcsAreaOfOperationTaskId', 'AcsAreaOfOperationTask', 'AcsAreaOfOperationTask');\r\n /** Relation: Acs Test Portion */\r\n AcsTestPortion = new DwItemRelationship('AcsTestPortion|PlanOfActionSection|AcsTestPortionId', 'AcsTestPortion', 'AcsTestPortion');\r\n /** Relation: Plan Of Action */\r\n PlanOfAction = new DwItemRelationship('PlanOfAction|PlanOfActionSection|PlanOfActionId', 'PlanOfAction', 'PlanOfAction');\r\n /** Relation: Plan Of Action Section Type */\r\n PlanOfActionSectionType = new DwItemRelationship('PlanOfActionSectionType|PlanOfActionSection|PlanOfActionSectionTypeId', 'PlanOfActionSectionType', 'PlanOfActionSectionType');\r\n /** Relation: Plan Of Action Section Question */\r\n PlanOfActionSectionQuestion = new DwItemRelationship('PlanOfActionSection|PlanOfActionSectionQuestion|PlanOfActionSectionId', 'PlanOfActionSectionQuestion', 'PlanOfActionSectionQuestion');\r\n };\r\nexport class PlanOfActionSectionQuestionMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1215;\r\n this.ItemDetail.itemName='PlanOfActionSectionQuestion';\r\n this.ItemDetail.keyName='PlanOfActionSectionQuestionId';\r\n }\r\n\r\n CreateEntity(): PlanOfActionSectionQuestionEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): PlanOfActionSectionQuestionQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new PlanOfActionSectionQuestionMetaDataAttributes();\r\n Relations = new PlanOfActionSectionQuestionMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PlanOfActionSectionQuestionQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PlanOfActionSectionQuestionMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PlanOfActionSectionQuestion';\r\n // Attributes\r\n PlanOfActionSectionQuestionId = new DwItemAttribute(this.i, 'PlanOfActionSectionQuestionId');\r\n PlanOfActionSectionId = new DwItemAttribute(this.i, 'PlanOfActionSectionId');\r\n AcsCodeId = new DwItemAttribute(this.i, 'AcsCodeId');\r\n QuestionHtml = new DwItemAttribute(this.i, 'QuestionHtml');\r\n QuestionOrder = new DwItemAttribute(this.i, 'QuestionOrder');\r\n ShowNotes = new DwItemAttribute(this.i, 'ShowNotes');\r\n}\r\n\r\nclass PlanOfActionSectionQuestionMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: ACS Code */\r\n AcsCode = new DwItemRelationship('AcsCode|PlanOfActionSectionQuestion|AcsCodeId', 'AcsCode', 'AcsCode');\r\n /** Relation: Plan Of Action Section */\r\n PlanOfActionSection = new DwItemRelationship('PlanOfActionSection|PlanOfActionSectionQuestion|PlanOfActionSectionId', 'PlanOfActionSection', 'PlanOfActionSection');\r\n /** Relation: Plan Of Action Question Result */\r\n PlanOfActionQuestionResult = new DwItemRelationship('PlanOfActionSectionQuestion|PlanOfActionQuestionResult|PlanOfActionSectionQuestionId', 'PlanOfActionQuestionResult', 'PlanOfActionQuestionResult');\r\n };\r\nexport class PlanOfActionSectionTypeMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1213;\r\n this.ItemDetail.itemName='PlanOfActionSectionType';\r\n this.ItemDetail.keyName='PlanOfActionSectionTypeId';\r\n }\r\n\r\n CreateEntity(): PlanOfActionSectionTypeEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): PlanOfActionSectionTypeQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new PlanOfActionSectionTypeMetaDataAttributes();\r\n Relations = new PlanOfActionSectionTypeMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PlanOfActionSectionTypeQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PlanOfActionSectionTypeMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PlanOfActionSectionType';\r\n // Attributes\r\n PlanOfActionSectionTypeId = new DwItemAttribute(this.i, 'PlanOfActionSectionTypeId');\r\n PlanOfActionSectionType = new DwItemAttribute(this.i, 'PlanOfActionSectionType');\r\n HasAreaOfOperation = new DwItemAttribute(this.i, 'HasAreaOfOperation');\r\n HasAreaOfOperationTask = new DwItemAttribute(this.i, 'HasAreaOfOperationTask');\r\n ShowSkillsOnly = new DwItemAttribute(this.i, 'ShowSkillsOnly');\r\n AcsTestPortionId = new DwItemAttribute(this.i, 'AcsTestPortionId');\r\n}\r\n\r\nclass PlanOfActionSectionTypeMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Acs Test Portion */\r\n AcsTestPortion = new DwItemRelationship('AcsTestPortion|PlanOfActionSectionType|AcsTestPortionId', 'AcsTestPortion', 'AcsTestPortion');\r\n /** Relation: Plan Of Action Section */\r\n PlanOfActionSection = new DwItemRelationship('PlanOfActionSectionType|PlanOfActionSection|PlanOfActionSectionTypeId', 'PlanOfActionSection', 'PlanOfActionSection');\r\n };\r\nexport class PlanOfActionStatusMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1212;\r\n this.ItemDetail.itemName='PlanOfActionStatus';\r\n this.ItemDetail.keyName='PlanOfActionStatusId';\r\n }\r\n\r\n CreateEntity(): PlanOfActionStatusEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): PlanOfActionStatusQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new PlanOfActionStatusMetaDataAttributes();\r\n Relations = new PlanOfActionStatusMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PlanOfActionStatusQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PlanOfActionStatusMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PlanOfActionStatus';\r\n // Attributes\r\n PlanOfActionStatusId = new DwItemAttribute(this.i, 'PlanOfActionStatusId');\r\n PlanOfActionStatus = new DwItemAttribute(this.i, 'PlanOfActionStatus');\r\n PlanOfActionStatusTypeId = new DwItemAttribute(this.i, 'PlanOfActionStatusTypeId');\r\n}\r\n\r\nclass PlanOfActionStatusMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Plan Of Action Status Type */\r\n PlanOfActionStatusType = new DwItemRelationship('PlanOfActionStatusType|PlanOfActionStatus|PlanOfActionStatusTypeId', 'PlanOfActionStatusType', 'PlanOfActionStatusType');\r\n /** Relation: Plan Of Action */\r\n PlanOfAction = new DwItemRelationship('PlanOfActionStatus|PlanOfAction|PlanOfActionStatusId', 'PlanOfAction', 'PlanOfAction');\r\n };\r\nexport class PlanOfActionStatusTypeMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1220;\r\n this.ItemDetail.itemName='PlanOfActionStatusType';\r\n this.ItemDetail.keyName='PlanOfActionStatusTypeId';\r\n }\r\n\r\n CreateEntity(): PlanOfActionStatusTypeEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): PlanOfActionStatusTypeQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new PlanOfActionStatusTypeMetaDataAttributes();\r\n Relations = new PlanOfActionStatusTypeMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PlanOfActionStatusTypeQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PlanOfActionStatusTypeMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PlanOfActionStatusType';\r\n // Attributes\r\n PlanOfActionStatusTypeId = new DwItemAttribute(this.i, 'PlanOfActionStatusTypeId');\r\n PlanOfActionStatusType = new DwItemAttribute(this.i, 'PlanOfActionStatusType');\r\n}\r\n\r\nclass PlanOfActionStatusTypeMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Plan Of Action Status */\r\n PlanOfActionStatus = new DwItemRelationship('PlanOfActionStatusType|PlanOfActionStatus|PlanOfActionStatusTypeId', 'PlanOfActionStatus', 'PlanOfActionStatus');\r\n };\r\nexport class PostalCodeMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1131;\r\n this.ItemDetail.itemName='PostalCode';\r\n this.ItemDetail.keyName='PostalCodeId';\r\n }\r\n\r\n CreateEntity(): PostalCodeEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): PostalCodeQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new PostalCodeMetaDataAttributes();\r\n Relations = new PostalCodeMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PostalCodeQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PostalCodeMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PostalCode';\r\n // Attributes\r\n PostalCodeId = new DwItemAttribute(this.i, 'PostalCodeId');\r\n StateProvinceId = new DwItemAttribute(this.i, 'StateProvinceId');\r\n PostalCode = new DwItemAttribute(this.i, 'PostalCode');\r\n Plus4 = new DwItemAttribute(this.i, 'Plus4');\r\n City = new DwItemAttribute(this.i, 'City');\r\n County = new DwItemAttribute(this.i, 'County');\r\n AreaCode = new DwItemAttribute(this.i, 'AreaCode');\r\n Latitude = new DwItemAttribute(this.i, 'Latitude');\r\n Longitude = new DwItemAttribute(this.i, 'Longitude');\r\n GmtOffset = new DwItemAttribute(this.i, 'GmtOffset');\r\n ObservesDst = new DwItemAttribute(this.i, 'ObservesDst');\r\n IsMetropolitanArea = new DwItemAttribute(this.i, 'IsMetropolitanArea');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n TimeZoneId = new DwItemAttribute(this.i, 'TimeZoneId');\r\n}\r\n\r\nclass PostalCodeMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: State Province */\r\n StateProvince = new DwItemRelationship('StateProvince|PostalCode|StateProvinceId', 'StateProvince', 'StateProvince');\r\n /** Relation: Time Zone - Timezone */\r\n TimeZoneByTimeZoneId = new DwItemRelationship('TimeZone|PostalCode|TimeZoneId', 'TimeZoneIdTimeZone', 'TimeZoneIdTimeZone');\r\n };\r\nexport class QuestionBankMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1216;\r\n this.ItemDetail.itemName='QuestionBank';\r\n this.ItemDetail.keyName='QuestionBankId';\r\n }\r\n\r\n CreateEntity(): QuestionBankEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): QuestionBankQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new QuestionBankMetaDataAttributes();\r\n Relations = new QuestionBankMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type QuestionBankQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class QuestionBankMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'QuestionBank';\r\n // Attributes\r\n QuestionBankId = new DwItemAttribute(this.i, 'QuestionBankId');\r\n OwnerUserId = new DwItemAttribute(this.i, 'OwnerUserId');\r\n AcsTestId = new DwItemAttribute(this.i, 'AcsTestId');\r\n AcsCodeId = new DwItemAttribute(this.i, 'AcsCodeId');\r\n QuestionHtml = new DwItemAttribute(this.i, 'QuestionHtml');\r\n IsBuiltIn = new DwItemAttribute(this.i, 'IsBuiltIn');\r\n IsShared = new DwItemAttribute(this.i, 'IsShared');\r\n QuestionShortName = new DwItemAttribute(this.i, 'QuestionShortName');\r\n}\r\n\r\nclass QuestionBankMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: ACS Code */\r\n AcsCode = new DwItemRelationship('AcsCode|QuestionBank|AcsCodeId', 'AcsCode', 'AcsCode');\r\n /** Relation: ACS Test */\r\n AcsTest = new DwItemRelationship('AcsTest|QuestionBank|AcsTestId', 'AcsTest', 'AcsTest');\r\n };\r\nexport class QuestionOutcomeMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1227;\r\n this.ItemDetail.itemName='QuestionOutcome';\r\n this.ItemDetail.keyName='QuestionOutcomeId';\r\n }\r\n\r\n CreateEntity(): QuestionOutcomeEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): QuestionOutcomeQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new QuestionOutcomeMetaDataAttributes();\r\n Relations = new QuestionOutcomeMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type QuestionOutcomeQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class QuestionOutcomeMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'QuestionOutcome';\r\n // Attributes\r\n QuestionOutcomeId = new DwItemAttribute(this.i, 'QuestionOutcomeId');\r\n QuestionOutcome = new DwItemAttribute(this.i, 'QuestionOutcome');\r\n OutcomeOrder = new DwItemAttribute(this.i, 'OutcomeOrder');\r\n}\r\n\r\nclass QuestionOutcomeMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Plan Of Action Question Result */\r\n PlanOfActionQuestionResult = new DwItemRelationship('QuestionOutcome|PlanOfActionQuestionResult|QuestionOutcomeId', 'PlanOfActionQuestionResult', 'PlanOfActionQuestionResult');\r\n };\r\nexport class RoAirportDistancesMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1196;\r\n this.ItemDetail.itemName='roAirportDistances';\r\n this.ItemDetail.keyName='';\r\n }\r\n\r\n CreateEntity(): RoAirportDistancesEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): RoAirportDistancesQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new RoAirportDistancesMetaDataAttributes();\r\n Relations = new RoAirportDistancesMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type RoAirportDistancesQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class RoAirportDistancesMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'roAirportDistances';\r\n // Attributes\r\n AirportId = new DwItemAttribute(this.i, 'AirportId');\r\n AirportName = new DwItemAttribute(this.i, 'AirportName');\r\n Airportcode = new DwItemAttribute(this.i, 'airportcode');\r\n ReferenceAirportName = new DwItemAttribute(this.i, 'ReferenceAirportName');\r\n ReferenceAirportCode = new DwItemAttribute(this.i, 'ReferenceAirportCode');\r\n Distance = new DwItemAttribute(this.i, 'Distance');\r\n ReferenceAirportId = new DwItemAttribute(this.i, 'ReferenceAirportId');\r\n}\r\n\r\nclass RoAirportDistancesMetaDataRelations implements DwItemRelationshipCollection {\r\n };\r\nexport class RoCheckrideAggregateUtilMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1187;\r\n this.ItemDetail.itemName='roCheckrideAggregateUtil';\r\n this.ItemDetail.keyName='CheckrideRequestId';\r\n }\r\n\r\n CreateEntity(): RoCheckrideAggregateUtilEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): RoCheckrideAggregateUtilQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new RoCheckrideAggregateUtilMetaDataAttributes();\r\n Relations = new RoCheckrideAggregateUtilMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type RoCheckrideAggregateUtilQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class RoCheckrideAggregateUtilMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'roCheckrideAggregateUtil';\r\n // Attributes\r\n CheckrideRequestId = new DwItemAttribute(this.i, 'CheckrideRequestId');\r\n ScheduledDateTime = new DwItemAttribute(this.i, 'ScheduledDateTime');\r\n ScheduledDateTimeYear = new DwItemAttribute(this.i, 'ScheduledDateTimeYear');\r\n ScheduledDateTimeMonth = new DwItemAttribute(this.i, 'ScheduledDateTimeMonth');\r\n ScheduledDateTimeMonthDisplay = new DwItemAttribute(this.i, 'ScheduledDateTimeMonthDisplay');\r\n CheckRideRequestStatusId = new DwItemAttribute(this.i, 'CheckRideRequestStatusId');\r\n CheckRideRequestStatus = new DwItemAttribute(this.i, 'CheckRideRequestStatus');\r\n PilexosPaymentDateTimeYear = new DwItemAttribute(this.i, 'PilexosPaymentDateTimeYear');\r\n PilexosPaymentDateTimeMonth = new DwItemAttribute(this.i, 'PilexosPaymentDateTimeMonth');\r\n PilexosPaymentTotal = new DwItemAttribute(this.i, 'PilexosPaymentTotal');\r\n CheckridePaymentDateTimeYear = new DwItemAttribute(this.i, 'CheckridePaymentDateTimeYear');\r\n CheckridePaymentDateTimeMonth = new DwItemAttribute(this.i, 'CheckridePaymentDateTimeMonth');\r\n CheckridePaymentTotal = new DwItemAttribute(this.i, 'CheckridePaymentTotal');\r\n OutcomeIsRequested = new DwItemAttribute(this.i, 'OutcomeIsRequested');\r\n OutcomeIsBooked = new DwItemAttribute(this.i, 'OutcomeIsBooked');\r\n OutcomeIsComplete = new DwItemAttribute(this.i, 'OutcomeIsComplete');\r\n OutcomeIsCancelled = new DwItemAttribute(this.i, 'OutcomeIsCancelled');\r\n RevenueIsRequested = new DwItemAttribute(this.i, 'RevenueIsRequested');\r\n RevenueIsBooked = new DwItemAttribute(this.i, 'RevenueIsBooked');\r\n RevenueIsComplete = new DwItemAttribute(this.i, 'RevenueIsComplete');\r\n RevenueIsCancelled = new DwItemAttribute(this.i, 'RevenueIsCancelled');\r\n CheckRideTypeDisplay = new DwItemAttribute(this.i, 'CheckRideTypeDisplay');\r\n ScheduledDateTimeMonthYearDisplay = new DwItemAttribute(this.i, 'ScheduledDateTimeMonthYearDisplay');\r\n}\r\n\r\nclass RoCheckrideAggregateUtilMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Checkride Request - Check Re Request */\r\n CheckRideRequestByCheckrideRequestId = new DwItemRelationship('CheckRideRequest|roCheckRideAggregateUtil|CheckRideRequestId', 'CheckrideRequestIdCheckRideRequest', 'CheckrideRequestIdCheckRideRequest');\r\n };\r\nexport class RoCheckrideApplicantFinalNameMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1184;\r\n this.ItemDetail.itemName='roCheckrideApplicantFinalName';\r\n this.ItemDetail.keyName='';\r\n }\r\n\r\n CreateEntity(): RoCheckrideApplicantFinalNameEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): RoCheckrideApplicantFinalNameQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new RoCheckrideApplicantFinalNameMetaDataAttributes();\r\n Relations = new RoCheckrideApplicantFinalNameMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type RoCheckrideApplicantFinalNameQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class RoCheckrideApplicantFinalNameMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'roCheckrideApplicantFinalName';\r\n // Attributes\r\n CheckRideRequestId = new DwItemAttribute(this.i, 'CheckRideRequestId');\r\n StudentApplicantNameManual = new DwItemAttribute(this.i, 'StudentApplicantNameManual');\r\n StudentProfileName = new DwItemAttribute(this.i, 'StudentProfileName');\r\n ApplicantFinalName = new DwItemAttribute(this.i, 'ApplicantFinalName');\r\n CheckRideApplicantTypeId = new DwItemAttribute(this.i, 'CheckRideApplicantTypeId');\r\n ApplicantFinalEmail = new DwItemAttribute(this.i, 'ApplicantFinalEmail');\r\n ApplicantFinalPhone = new DwItemAttribute(this.i, 'ApplicantFinalPhone');\r\n FlightSchoolFinalName = new DwItemAttribute(this.i, 'FlightSchoolFinalName');\r\n}\r\n\r\nclass RoCheckrideApplicantFinalNameMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Checkride Request */\r\n CheckRideRequest = new DwItemRelationship('CheckRideRequest|roCheckRideApplicanetFinalName|CheckRideRequestId', 'CheckRideRequest', 'CheckRideRequest');\r\n };\r\nexport class RoCheckRidePaymentAggregateMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1188;\r\n this.ItemDetail.itemName='roCheckRidePaymentAggregate';\r\n this.ItemDetail.keyName='CheckrideRequestId';\r\n }\r\n\r\n CreateEntity(): RoCheckRidePaymentAggregateEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): RoCheckRidePaymentAggregateQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new RoCheckRidePaymentAggregateMetaDataAttributes();\r\n Relations = new RoCheckRidePaymentAggregateMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type RoCheckRidePaymentAggregateQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class RoCheckRidePaymentAggregateMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'roCheckRidePaymentAggregate';\r\n // Attributes\r\n CheckrideRequestId = new DwItemAttribute(this.i, 'CheckrideRequestId');\r\n PaymentDateTimeYear = new DwItemAttribute(this.i, 'PaymentDateTimeYear');\r\n PaymentDateTimeMonth = new DwItemAttribute(this.i, 'PaymentDateTimeMonth');\r\n IsCheckridePayment = new DwItemAttribute(this.i, 'IsCheckridePayment');\r\n Count = new DwItemAttribute(this.i, 'Count');\r\n PaymentTotal = new DwItemAttribute(this.i, 'PaymentTotal');\r\n}\r\n\r\nclass RoCheckRidePaymentAggregateMetaDataRelations implements DwItemRelationshipCollection {\r\n };\r\nexport class RoCheckrideRequestScheduleDateInfoMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1186;\r\n this.ItemDetail.itemName='roCheckrideRequestScheduleDateInfo';\r\n this.ItemDetail.keyName='CheckrideRequestId';\r\n }\r\n\r\n CreateEntity(): RoCheckrideRequestScheduleDateInfoEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): RoCheckrideRequestScheduleDateInfoQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new RoCheckrideRequestScheduleDateInfoMetaDataAttributes();\r\n Relations = new RoCheckrideRequestScheduleDateInfoMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type RoCheckrideRequestScheduleDateInfoQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class RoCheckrideRequestScheduleDateInfoMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'roCheckrideRequestScheduleDateInfo';\r\n // Attributes\r\n ScheduledDateTime = new DwItemAttribute(this.i, 'ScheduledDateTime');\r\n ScheduledDateTimeYear = new DwItemAttribute(this.i, 'ScheduledDateTimeYear');\r\n ScheduledDateTimeMonth = new DwItemAttribute(this.i, 'ScheduledDateTimeMonth');\r\n CheckrideRequestId = new DwItemAttribute(this.i, 'CheckrideRequestId');\r\n ScheduledDateTimeMonthDisplay = new DwItemAttribute(this.i, 'ScheduledDateTimeMonthDisplay');\r\n}\r\n\r\nclass RoCheckrideRequestScheduleDateInfoMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Checkride Request - Check Re Request */\r\n CheckRideRequestByCheckrideRequestId = new DwItemRelationship('CheckrideRequest|roCheckrideRequestScheduleDateInfo|CheckRideRequestId', 'CheckrideRequestIdCheckRideRequest', 'CheckrideRequestIdCheckRideRequest');\r\n };\r\nexport class DwRoMediaMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=201;\r\n this.ItemDetail.itemName='dw_roMedia';\r\n this.ItemDetail.keyName='';\r\n }\r\n\r\n CreateEntity(): DwRoMediaEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): DwRoMediaQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new DwRoMediaMetaDataAttributes();\r\n Relations = new DwRoMediaMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type DwRoMediaQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class DwRoMediaMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'dw_roMedia';\r\n // Attributes\r\n ContainerName = new DwItemAttribute(this.i, 'ContainerName');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n FileName = new DwItemAttribute(this.i, 'FileName');\r\n ImageHeight = new DwItemAttribute(this.i, 'ImageHeight');\r\n ImageWidth = new DwItemAttribute(this.i, 'ImageWidth');\r\n IsDeleted = new DwItemAttribute(this.i, 'IsDeleted');\r\n IsSecure = new DwItemAttribute(this.i, 'IsSecure');\r\n MediaDetailKey = new DwItemAttribute(this.i, 'MediaDetailKey');\r\n MediaFolderId = new DwItemAttribute(this.i, 'MediaFolderId');\r\n MediaGroupId = new DwItemAttribute(this.i, 'MediaGroupId');\r\n MediaId = new DwItemAttribute(this.i, 'MediaId');\r\n MediaName = new DwItemAttribute(this.i, 'MediaName');\r\n MediaPath = new DwItemAttribute(this.i, 'MediaPath');\r\n MediaSizeType = new DwItemAttribute(this.i, 'MediaSizeType');\r\n MediaSizeTypeId = new DwItemAttribute(this.i, 'MediaSizeTypeId');\r\n MediaTypeId = new DwItemAttribute(this.i, 'MediaTypeId');\r\n SizeInBytes = new DwItemAttribute(this.i, 'SizeInBytes');\r\n Version = new DwItemAttribute(this.i, 'Version');\r\n}\r\n\r\nclass DwRoMediaMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Media Group */\r\n DwMediaGroup = new DwItemRelationship('MediaGroup_roMedia', 'DwMediaGroup', 'DwMediaGroup');\r\n /** Relation: User - Media */\r\n DwUserByUserPictureMediaId = new DwItemRelationship('roMedia|User|UserPictureMediaId', 'UserPictureDwUser', 'UserPictureDwUser');\r\n };\r\nexport class RoPilotExaminerLocationCurrentMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1167;\r\n this.ItemDetail.itemName='roPilotExaminerLocationCurrent';\r\n this.ItemDetail.keyName='PilotExaminerLocationId';\r\n }\r\n\r\n CreateEntity(): RoPilotExaminerLocationCurrentEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): RoPilotExaminerLocationCurrentQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new RoPilotExaminerLocationCurrentMetaDataAttributes();\r\n Relations = new RoPilotExaminerLocationCurrentMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type RoPilotExaminerLocationCurrentQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class RoPilotExaminerLocationCurrentMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'roPilotExaminerLocationCurrent';\r\n // Attributes\r\n PilotExaminerLocationId = new DwItemAttribute(this.i, 'PilotExaminerLocationId');\r\n PilotExaminerLocationStateId = new DwItemAttribute(this.i, 'PilotExaminerLocationStateId');\r\n}\r\n\r\nclass RoPilotExaminerLocationCurrentMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Pilot Examiner Location */\r\n PilotExaminerLocation = new DwItemRelationship('PilotExaminerLocation|roPilotExaminerLocationCurrent', 'PilotExaminerLocation', 'PilotExaminerLocation');\r\n };\r\nexport class RoPilotExaminerLocationDistancesMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1165;\r\n this.ItemDetail.itemName='roPilotExaminerLocationDistances';\r\n this.ItemDetail.keyName='';\r\n }\r\n\r\n CreateEntity(): RoPilotExaminerLocationDistancesEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): RoPilotExaminerLocationDistancesQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new RoPilotExaminerLocationDistancesMetaDataAttributes();\r\n Relations = new RoPilotExaminerLocationDistancesMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type RoPilotExaminerLocationDistancesQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class RoPilotExaminerLocationDistancesMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'roPilotExaminerLocationDistances';\r\n // Attributes\r\n ReferenceAirportId = new DwItemAttribute(this.i, 'ReferenceAirportId');\r\n ReferenceAirportName = new DwItemAttribute(this.i, 'ReferenceAirportName');\r\n ReferenceAirportLatitude = new DwItemAttribute(this.i, 'ReferenceAirportLatitude');\r\n ReferenceAirportLongitude = new DwItemAttribute(this.i, 'ReferenceAirportLongitude');\r\n AirportId = new DwItemAttribute(this.i, 'AirportId');\r\n AirportName = new DwItemAttribute(this.i, 'AirportName');\r\n Latitude = new DwItemAttribute(this.i, 'Latitude');\r\n Longitude = new DwItemAttribute(this.i, 'Longitude');\r\n Distance = new DwItemAttribute(this.i, 'Distance');\r\n PilotExaminerLocationId = new DwItemAttribute(this.i, 'PilotExaminerLocationId');\r\n PilotExaminerId = new DwItemAttribute(this.i, 'PilotExaminerId');\r\n WithinTravelRadius = new DwItemAttribute(this.i, 'WithinTravelRadius');\r\n TravelRadiusMile = new DwItemAttribute(this.i, 'TravelRadiusMile');\r\n}\r\n\r\nclass RoPilotExaminerLocationDistancesMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Airport */\r\n Airport = new DwItemRelationship('RoPilotExaminerLocationDistances|Airport|AirportId', 'Airport', 'Airport');\r\n /** Relation: Pilot Examiner */\r\n PilotExaminer = new DwItemRelationship('PilotExaminer|RoPilotExaminerLocation', 'PilotExaminer', 'PilotExaminer');\r\n /** Relation: Pilot Examiner Location */\r\n PilotExaminerLocation = new DwItemRelationship('PIlotExaminerLocation|RoPilotExaminerLocation', 'PilotExaminerLocation', 'PilotExaminerLocation');\r\n };\r\nexport class RoPilotExaminerScenarioMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1166;\r\n this.ItemDetail.itemName='roPilotExaminerScenario';\r\n this.ItemDetail.keyName='CheckRideScenarioTypeMapId';\r\n }\r\n\r\n CreateEntity(): RoPilotExaminerScenarioEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): RoPilotExaminerScenarioQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new RoPilotExaminerScenarioMetaDataAttributes();\r\n Relations = new RoPilotExaminerScenarioMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type RoPilotExaminerScenarioQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class RoPilotExaminerScenarioMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'roPilotExaminerScenario';\r\n // Attributes\r\n PilotExaminerId = new DwItemAttribute(this.i, 'PilotExaminerId');\r\n UserId = new DwItemAttribute(this.i, 'userId');\r\n PilotExaminerStatusId = new DwItemAttribute(this.i, 'PilotExaminerStatusId');\r\n AviationAuthorityId = new DwItemAttribute(this.i, 'AviationAuthorityId');\r\n CheckRideScenarioId = new DwItemAttribute(this.i, 'CheckRideScenarioId');\r\n CheckRideGroupId = new DwItemAttribute(this.i, 'CheckRideGroupId');\r\n PreTimeMinutes = new DwItemAttribute(this.i, 'PreTimeMinutes');\r\n PostTimeMinutes = new DwItemAttribute(this.i, 'PostTimeMinutes');\r\n IsActive = new DwItemAttribute(this.i, 'IsActive');\r\n TimeRequiredHours = new DwItemAttribute(this.i, 'TimeRequiredHours');\r\n CheckRideTypeId = new DwItemAttribute(this.i, 'CheckRideTypeId');\r\n CheckRideGroup = new DwItemAttribute(this.i, 'CheckRideGroup');\r\n CheckRideType = new DwItemAttribute(this.i, 'CheckRideType');\r\n CheckRideScenarioTypeMapId = new DwItemAttribute(this.i, 'CheckRideScenarioTypeMapId');\r\n}\r\n\r\nclass RoPilotExaminerScenarioMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Exam Type */\r\n CheckRideScenario = new DwItemRelationship('CheckRideScenario|roPilotExaminerScenario', 'CheckRideScenario', 'CheckRideScenario');\r\n /** Relation: Pilot Examiner */\r\n PilotExaminer = new DwItemRelationship('PIlotExaminer|RoPilotExaminerScenario', 'PilotExaminer', 'PilotExaminer');\r\n /** Relation: User - Examiner Name */\r\n DwUserByuserId = new DwItemRelationship('User|RoPilotExaminer|UserId', 'UserIdDwUser', 'UserIdDwUser');\r\n };\r\nexport class RoPlanOfActionDetailsMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1230;\r\n this.ItemDetail.itemName='roPlanOfActionDetails';\r\n this.ItemDetail.keyName='PlanOfActionId';\r\n }\r\n\r\n CreateEntity(): RoPlanOfActionDetailsEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): RoPlanOfActionDetailsQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new RoPlanOfActionDetailsMetaDataAttributes();\r\n Relations = new RoPlanOfActionDetailsMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type RoPlanOfActionDetailsQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class RoPlanOfActionDetailsMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'roPlanOfActionDetails';\r\n // Attributes\r\n PlanOfActionId = new DwItemAttribute(this.i, 'PlanOfActionId');\r\n PlanOfActionName = new DwItemAttribute(this.i, 'PlanOfActionName');\r\n ApplicantFinalName = new DwItemAttribute(this.i, 'ApplicantFinalName');\r\n ApplicantFinalEmail = new DwItemAttribute(this.i, 'ApplicantFinalEmail');\r\n ApplicationFinalPhone = new DwItemAttribute(this.i, 'ApplicationFinalPhone');\r\n CheckRideFinalDateTime = new DwItemAttribute(this.i, 'CheckRideFinalDateTime');\r\n CheckRideFinalAirportId = new DwItemAttribute(this.i, 'CheckRideFinalAirportId');\r\n CheckRideFinalGroupId = new DwItemAttribute(this.i, 'CheckRideFinalGroupId');\r\n CheckRideFInalTypeId = new DwItemAttribute(this.i, 'CheckRideFInalTypeId');\r\n CheckRideFinalTestTypeId = new DwItemAttribute(this.i, 'CheckRideFinalTestTypeId');\r\n}\r\n\r\nclass RoPlanOfActionDetailsMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Plan Of Action */\r\n PlanOfAction = new DwItemRelationship('PlanOfAction|roPlanOfActionDetails|PlanOfActionId', 'PlanOfAction', 'PlanOfAction');\r\n };\r\nexport class ScheduleMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1139;\r\n this.ItemDetail.itemName='Schedule';\r\n this.ItemDetail.keyName='ScheduleId';\r\n }\r\n\r\n CreateEntity(): ScheduleEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): ScheduleQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new ScheduleMetaDataAttributes();\r\n Relations = new ScheduleMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type ScheduleQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class ScheduleMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'Schedule';\r\n // Attributes\r\n ScheduleId = new DwItemAttribute(this.i, 'ScheduleId');\r\n ScheduleName = new DwItemAttribute(this.i, 'ScheduleName');\r\n DefaultStartTime = new DwItemAttribute(this.i, 'DefaultStartTime');\r\n DefaultEndTime = new DwItemAttribute(this.i, 'DefaultEndTime');\r\n WeekDaysOnly = new DwItemAttribute(this.i, 'WeekDaysOnly');\r\n UseCustomDays = new DwItemAttribute(this.i, 'UseCustomDays');\r\n ScheduleOwnerUserId = new DwItemAttribute(this.i, 'ScheduleOwnerUserId');\r\n IsBuiltInSchedule = new DwItemAttribute(this.i, 'IsBuiltInSchedule');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n}\r\n\r\nclass ScheduleMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: User - Calendar Owner User */\r\n DwUserByScheduleOwnerUserId = new DwItemRelationship('dw_User|Schedule|ScheduleOwnerUserId', 'ScheduleOwnerDwUser', 'ScheduleOwnerDwUser');\r\n /** Relation: Pilot Examiner Location - Calendar Id - Many */\r\n PilotExaminerLocationByBookingScheduleId = new DwItemRelationship('Schedule|PilotExaminerLocation|BookingScheduleId', 'BookingPilotExaminerLocation', 'BookingPilotExaminerLocation');\r\n /** Relation: Calendar Detail */\r\n ScheduleDetail = new DwItemRelationship('Schedule|ScheduleDetail|ScheduleId', 'ScheduleDetail', 'ScheduleDetail');\r\n };\r\nexport class ScheduleDayOfWeekMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1138;\r\n this.ItemDetail.itemName='ScheduleDayOfWeek';\r\n this.ItemDetail.keyName='ScheduleDayOfWeekId';\r\n }\r\n\r\n CreateEntity(): ScheduleDayOfWeekEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): ScheduleDayOfWeekQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new ScheduleDayOfWeekMetaDataAttributes();\r\n Relations = new ScheduleDayOfWeekMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type ScheduleDayOfWeekQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class ScheduleDayOfWeekMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'ScheduleDayOfWeek';\r\n // Attributes\r\n ScheduleDayOfWeekId = new DwItemAttribute(this.i, 'ScheduleDayOfWeekId');\r\n DayOfWeek = new DwItemAttribute(this.i, 'DayOfWeek');\r\n DayOfWeekOrder = new DwItemAttribute(this.i, 'DayOfWeekOrder');\r\n}\r\n\r\nclass ScheduleDayOfWeekMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Calendar Detail */\r\n ScheduleDetail = new DwItemRelationship('ScheduleDayOfWeek|ScheduleDetail|ScheduleDayOfWeekId', 'ScheduleDetail', 'ScheduleDetail');\r\n };\r\nexport class ScheduleDetailMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1140;\r\n this.ItemDetail.itemName='ScheduleDetail';\r\n this.ItemDetail.keyName='ScheduleDetailId';\r\n }\r\n\r\n CreateEntity(): ScheduleDetailEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): ScheduleDetailQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new ScheduleDetailMetaDataAttributes();\r\n Relations = new ScheduleDetailMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type ScheduleDetailQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class ScheduleDetailMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'ScheduleDetail';\r\n // Attributes\r\n ScheduleDetailId = new DwItemAttribute(this.i, 'ScheduleDetailId');\r\n ScheduleId = new DwItemAttribute(this.i, 'ScheduleId');\r\n ScheduleDayOfWeekId = new DwItemAttribute(this.i, 'ScheduleDayOfWeekId');\r\n StartTime = new DwItemAttribute(this.i, 'StartTime');\r\n EndTime = new DwItemAttribute(this.i, 'EndTime');\r\n}\r\n\r\nclass ScheduleDetailMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Custom Calendar */\r\n Schedule = new DwItemRelationship('Schedule|ScheduleDetail|ScheduleId', 'Schedule', 'Schedule');\r\n /** Relation: Calendar Day Of Week */\r\n ScheduleDayOfWeek = new DwItemRelationship('ScheduleDayOfWeek|ScheduleDetail|ScheduleDayOfWeekId', 'ScheduleDayOfWeek', 'ScheduleDayOfWeek');\r\n };\r\nexport class StateProvinceMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1158;\r\n this.ItemDetail.itemName='StateProvince';\r\n this.ItemDetail.keyName='StateProvinceId';\r\n }\r\n\r\n CreateEntity(): StateProvinceEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): StateProvinceQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new StateProvinceMetaDataAttributes();\r\n Relations = new StateProvinceMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type StateProvinceQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class StateProvinceMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'StateProvince';\r\n // Attributes\r\n StateProvinceId = new DwItemAttribute(this.i, 'StateProvinceId');\r\n CountryId = new DwItemAttribute(this.i, 'CountryId');\r\n StateProvinceName = new DwItemAttribute(this.i, 'StateProvinceName');\r\n StateProvinceShortName = new DwItemAttribute(this.i, 'StateProvinceShortName');\r\n StateCode = new DwItemAttribute(this.i, 'StateCode');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n}\r\n\r\nclass StateProvinceMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Country */\r\n Country = new DwItemRelationship('Country|StateProvince|CountryId', 'Country', 'Country');\r\n /** Relation: Address */\r\n Address = new DwItemRelationship('StateProvince|Address|StateProvinceId', 'Address', 'Address');\r\n /** Relation: Postal Code */\r\n PostalCode = new DwItemRelationship('StateProvince|PostalCode|StateProvinceId', 'PostalCode', 'PostalCode');\r\n };\r\nexport class StudentApplicantMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1144;\r\n this.ItemDetail.itemName='StudentApplicant';\r\n this.ItemDetail.keyName='StudentApplicantId';\r\n }\r\n\r\n CreateEntity(): StudentApplicantEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): StudentApplicantQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new StudentApplicantMetaDataAttributes();\r\n Relations = new StudentApplicantMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type StudentApplicantQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class StudentApplicantMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'StudentApplicant';\r\n // Attributes\r\n StudentApplicantId = new DwItemAttribute(this.i, 'StudentApplicantId');\r\n UserId = new DwItemAttribute(this.i, 'UserId');\r\n ApplicationDescription = new DwItemAttribute(this.i, 'ApplicationDescription');\r\n AviationAuthorityId = new DwItemAttribute(this.i, 'AviationAuthorityId');\r\n PilotCertificateNumber = new DwItemAttribute(this.i, 'PilotCertificateNumber');\r\n TravelRadiusMiles = new DwItemAttribute(this.i, 'TravelRadiusMiles');\r\n Citizenship = new DwItemAttribute(this.i, 'Citizenship');\r\n ApplicantAddressId = new DwItemAttribute(this.i, 'ApplicantAddressId');\r\n MainAirportId = new DwItemAttribute(this.i, 'MainAirportId');\r\n MainAircraft = new DwItemAttribute(this.i, 'MainAircraft');\r\n ReferredPilotExaminerId = new DwItemAttribute(this.i, 'ReferredPilotExaminerId');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n AviationTrainingProgramId = new DwItemAttribute(this.i, 'AviationTrainingProgramId');\r\n CitzenshipCountyId = new DwItemAttribute(this.i, 'CitzenshipCountyId');\r\n}\r\n\r\nclass StudentApplicantMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Address - Applicant Address */\r\n AddressByApplicantAddressId = new DwItemRelationship('Address|StudentApplicant|ApplicantAddressId', 'ApplicantAddress', 'ApplicantAddress');\r\n /** Relation: Airport - Main Airport */\r\n AirportByMainAirportId = new DwItemRelationship('Airport|StudentApplicant|MainAirportId', 'MainAirport', 'MainAirport');\r\n /** Relation: Aviation Authority */\r\n AviationAuthority = new DwItemRelationship('AviationAuthority|StudentApplicant|AviationAuthorityId', 'AviationAuthority', 'AviationAuthority');\r\n /** Relation: Aviation Training Program */\r\n AviationTrainingProgram = new DwItemRelationship('AviationTrainingProgram|StudentApplicant|AviationTrainingProgramId', 'AviationTrainingProgram', 'AviationTrainingProgram');\r\n /** Relation: Country - Citzenship */\r\n CountryByCitzenshipCountyId = new DwItemRelationship('Country|StudentApplicant|CitzenshipCountyId', 'CitzenshipCountyIdCountry', 'CitzenshipCountyIdCountry');\r\n /** Relation: Pilot Certificate Type - CurrentPilotCertifiateTypeId */\r\n PilotCertificateTypeByCurrentPilotCertifiateTypeId = new DwItemRelationship('PilotCertificateType|StudentApplicant|CurrentPilotCertifiateTypeId', 'CurrentPilotCertifiateTypeIdPilotCertificateType', 'CurrentPilotCertifiateTypeIdPilotCertificateType');\r\n /** Relation: Pilot Examiner - Referred Pilot Examiner */\r\n PilotExaminerByReferredPilotExaminerId = new DwItemRelationship('PilotExaminer|StudentApplicant|ReferredPilotExaminerId', 'ReferredPilotExaminer', 'ReferredPilotExaminer');\r\n /** Relation: User */\r\n DwUser = new DwItemRelationship('dw_User|StudentApplicant|UserId', 'DwUser', 'DwUser');\r\n /** Relation: Applicant Wait List */\r\n ApplicantPlaceholder = new DwItemRelationship('StudentApplicant|ApplicantPlaceholder|StudentApplicantId', 'ApplicantPlaceholder', 'ApplicantPlaceholder');\r\n /** Relation: Checkride Request */\r\n CheckRideRequest = new DwItemRelationship('StudentApplicant|CheckRideRequest|StudentApplicantId', 'CheckRideRequest', 'CheckRideRequest');\r\n };\r\nexport class TimeZoneMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1132;\r\n this.ItemDetail.itemName='TimeZone';\r\n this.ItemDetail.keyName='TimezoneId';\r\n }\r\n\r\n CreateEntity(): TimeZoneEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): TimeZoneQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new TimeZoneMetaDataAttributes();\r\n Relations = new TimeZoneMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type TimeZoneQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class TimeZoneMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'TimeZone';\r\n // Attributes\r\n TimezoneId = new DwItemAttribute(this.i, 'TimezoneId');\r\n TimezoneName = new DwItemAttribute(this.i, 'TimezoneName');\r\n TimezoneShortName = new DwItemAttribute(this.i, 'TimezoneShortName');\r\n GmtOffSet = new DwItemAttribute(this.i, 'GmtOffSet');\r\n TimeZoneDescription = new DwItemAttribute(this.i, 'TimeZoneDescription');\r\n IANAIdentifier = new DwItemAttribute(this.i, 'IANAIdentifier');\r\n DotNetBCLIdentifier = new DwItemAttribute(this.i, 'DotNetBCLIdentifier');\r\n}\r\n\r\nclass TimeZoneMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Address */\r\n Address = new DwItemRelationship('TimeZone|Address|TimezoneId', 'Address', 'Address');\r\n /** Relation: Pilot Examiner Location - Booking Schedule - Many */\r\n PilotExaminerLocationByBookingScheduleTimeZoneId = new DwItemRelationship('TimeZone|PilotExaminerLocation|BookingScheduleTimeZoneId', 'BookingScheduleTimeZoneIdPilotExaminerLocation', 'BookingScheduleTimeZoneIdPilotExaminerLocation');\r\n /** Relation: Postal Code - Many */\r\n PostalCodeByTimeZoneId = new DwItemRelationship('TimeZone|PostalCode|TimeZoneId', 'TimeZoneIdPostalCode', 'TimeZoneIdPostalCode');\r\n };\r\nexport class DwUserMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=176;\r\n this.ItemDetail.itemName='dw_User';\r\n this.ItemDetail.keyName='UserId';\r\n }\r\n\r\n CreateEntity(): DwUserEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): DwUserQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new DwUserMetaDataAttributes();\r\n Relations = new DwUserMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type DwUserQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class DwUserMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'dw_User';\r\n // Attributes\r\n AlternateName = new DwItemAttribute(this.i, 'AlternateName');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n Email = new DwItemAttribute(this.i, 'Email');\r\n FirstName = new DwItemAttribute(this.i, 'FirstName');\r\n ForcePasswordChange = new DwItemAttribute(this.i, 'ForcePasswordChange');\r\n IsActive = new DwItemAttribute(this.i, 'IsActive');\r\n IsEmailVerified = new DwItemAttribute(this.i, 'IsEmailVerified');\r\n IsTwoFactorAuthenticationEnabled = new DwItemAttribute(this.i, 'IsTwoFactorAuthenticationEnabled');\r\n LastLoginDateTime = new DwItemAttribute(this.i, 'LastLoginDateTime');\r\n LastName = new DwItemAttribute(this.i, 'LastName');\r\n LastPasswordChangeDateTime = new DwItemAttribute(this.i, 'LastPasswordChangeDateTime');\r\n MobilePhone = new DwItemAttribute(this.i, 'MobilePhone');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n OrganizationId = new DwItemAttribute(this.i, 'OrganizationId');\r\n PartyReferenceId = new DwItemAttribute(this.i, 'PartyReferenceId');\r\n TwoFactorAuthenticationTypeId = new DwItemAttribute(this.i, 'TwoFactorAuthenticationTypeId');\r\n UserBackgroundMediaId = new DwItemAttribute(this.i, 'UserBackgroundMediaId');\r\n UserId = new DwItemAttribute(this.i, 'UserId');\r\n UserKey = new DwItemAttribute(this.i, 'UserKey');\r\n UserName = new DwItemAttribute(this.i, 'UserName');\r\n UserPictureMediaId = new DwItemAttribute(this.i, 'UserPictureMediaId');\r\n UserTypeId = new DwItemAttribute(this.i, 'UserTypeId');\r\n Password = new DwItemAttribute(this.i, 'Password');\r\n}\r\n\r\nclass DwUserMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: Ro Media - User Picture Media */\r\n DwRoMediaByUserPictureMediaId = new DwItemRelationship('roMedia|User|UserPictureMediaId', 'UserPictureDwroMedia', 'UserPictureDwroMedia');\r\n /** Relation: User Type */\r\n DwUserType = new DwItemRelationship('dw_UserType|dw_User|UserTypeId', 'DwUserType', 'DwUserType');\r\n /** Relation: Payment Customer Reference */\r\n PaymentCustomerReference = new DwItemRelationship('dw_User|PaymentCustomerReference|UserId', 'PaymentCustomerReference', 'PaymentCustomerReference');\r\n /** Relation: Payment Discount Code - Limit To - Many */\r\n PaymentDiscountCodeByLimitToUserId = new DwItemRelationship('dw_User|PaymentDiscountCode|LimitToUserId', 'LimitToPaymentDiscountCode', 'LimitToPaymentDiscountCode');\r\n /** Relation: Pilot Examiner */\r\n PilotExaminer = new DwItemRelationship('dw_User|PilotExaminer|UserId', 'PilotExaminer', 'PilotExaminer');\r\n /** Relation: Ro Pilot Examiner Scenario - User - Many */\r\n RoPilotExaminerScenarioByuserId = new DwItemRelationship('User|RoPilotExaminer|UserId', 'UserIdRoPilotExaminerScenario', 'UserIdRoPilotExaminerScenario');\r\n /** Relation: Custom Calendar - Schedule Owner - Many */\r\n ScheduleByScheduleOwnerUserId = new DwItemRelationship('dw_User|Schedule|ScheduleOwnerUserId', 'ScheduleOwnerSchedule', 'ScheduleOwnerSchedule');\r\n /** Relation: Student Applicant */\r\n StudentApplicant = new DwItemRelationship('dw_User|StudentApplicant|UserId', 'StudentApplicant', 'StudentApplicant');\r\n };\r\nexport class DwUserTypeMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1162;\r\n this.ItemDetail.itemName='dw_UserType';\r\n this.ItemDetail.keyName='UserTypeId';\r\n }\r\n\r\n CreateEntity(): DwUserTypeEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilder(query ?: DwQuery): DwUserTypeQueryBuilder {\r\n if (!query)\r\n {\r\n query = new DwQuery(this.ItemDetail.itemName);\r\n }\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n Attributes = new DwUserTypeMetaDataAttributes();\r\n Relations = new DwUserTypeMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type DwUserTypeQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class DwUserTypeMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'dw_UserType';\r\n // Attributes\r\n UserTypeId = new DwItemAttribute(this.i, 'UserTypeId');\r\n UserTypeDisplay = new DwItemAttribute(this.i, 'UserTypeDisplay');\r\n UserTypeDescription = new DwItemAttribute(this.i, 'UserTypeDescription');\r\n UserTypeClasses = new DwItemAttribute(this.i, 'UserTypeClasses');\r\n ShowOnRegistration = new DwItemAttribute(this.i, 'ShowOnRegistration');\r\n UserTypeOrder = new DwItemAttribute(this.i, 'UserTypeOrder');\r\n}\r\n\r\nclass DwUserTypeMetaDataRelations implements DwItemRelationshipCollection {\r\n /** Relation: User */\r\n DwUser = new DwItemRelationship('dw_UserType|dw_User|UserTypeId', 'DwUser', 'DwUser');\r\n };\r\n// Generated Query Classes for MetaData Service\r\nexport class PilotExaminerSearchQueryMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n QueryMeaning = 'Pilot_Examiner_Search';\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1137;\r\n this.ItemDetail.itemName='PilotExaminer';\r\n this.ItemDetail.keyName='PilotExaminerId';\r\n }\r\n\r\n CreateEntity(): PilotExaminerSearchQueryEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilderFromQuery(query: DwQuery): PilotExaminerSearchQueryBuilder {\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n\r\n CreateQueryBuilder(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable {\r\n return this.CreateQueryBuilderWithMetaData(dwMetaDataService).pipe(map(result => result.queryBuilder));\r\n }\r\n\r\n CreateQueryBuilderWithMetaData(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable<{queryMetaData: EnterpriseMetaData.DwQueryMetaData, queryBuilder: PilotExaminerSearchQueryBuilder}> {\r\n return dwMetaDataService.getSavedQueryMetaData(this.ItemDetail.itemName, null, this.QueryMeaning).pipe(map(queryMetaData =>\r\n {\r\n return { queryMetaData: queryMetaData, queryBuilder: new DwQueryBuilderGen(queryMetaData.DataQuery, this) };\r\n }));\r\n }\r\n Attributes = new PilotExaminerSearchQueryMetaDataAttributes();\r\n Relations = new PilotExaminerMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PilotExaminerSearchQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PilotExaminerSearchQueryMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PilotExaminer';\r\n // Attributes\r\n PilotExaminerId = new DwItemAttribute(this.i, 'PilotExaminerId');\r\n UserId = new DwItemAttribute(this.i, 'UserId');\r\n PilotExaminerStatusId = new DwItemAttribute(this.i, 'PilotExaminerStatusId');\r\n Description = new DwItemAttribute(this.i, 'Description');\r\n AviationAuthorityId = new DwItemAttribute(this.i, 'AviationAuthorityId');\r\n DefaultPreTimeMinutes = new DwItemAttribute(this.i, 'DefaultPreTimeMinutes');\r\n DefaultPostTimeMinutes = new DwItemAttribute(this.i, 'DefaultPostTimeMinutes');\r\n TravelRadiusMiles = new DwItemAttribute(this.i, 'TravelRadiusMiles');\r\n AuthorityExaminerNumber = new DwItemAttribute(this.i, 'AuthorityExaminerNumber');\r\n CalendarIsLinked = new DwItemAttribute(this.i, 'CalendarIsLinked');\r\n CalendarReferenceId = new DwItemAttribute(this.i, 'CalendarReferenceId');\r\n RequireAuthorityPreCheckRideNumber = new DwItemAttribute(this.i, 'RequireAuthorityPreCheckRideNumber');\r\n PublicProfileIsActive = new DwItemAttribute(this.i, 'PublicProfileIsActive');\r\n PublicProfileSlug = new DwItemAttribute(this.i, 'PublicProfileSlug');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n CheckRideRequestLeadTimeDays = new DwItemAttribute(this.i, 'CheckRideRequestLeadTimeDays');\r\n CheckRideRequestBookingMaxWeeksOut = new DwItemAttribute(this.i, 'CheckRideRequestBookingMaxWeeksOut');\r\n AviationAuthorityDistrictOfficeId = new DwItemAttribute(this.i, 'AviationAuthorityDistrictOfficeId');\r\n DailyTravelRadiusLockMiles = new DwItemAttribute(this.i, 'DailyTravelRadiusLockMiles');\r\n ScenarioCheckRideScenarioId = new DwItemAttribute('roPilotExaminerScenario', 'ScenarioCheckRideScenarioId');\r\n ScenarioPreTimeMinutes = new DwItemAttribute('roPilotExaminerScenario', 'ScenarioPreTimeMinutes');\r\n ScenarioPostTimeMinutes = new DwItemAttribute('roPilotExaminerScenario', 'ScenarioPostTimeMinutes');\r\n ScenarioIsActive = new DwItemAttribute('roPilotExaminerScenario', 'ScenarioIsActive');\r\n ScenarioTimeRequiredHours = new DwItemAttribute('roPilotExaminerScenario', 'ScenarioTimeRequiredHours');\r\n ScenarioCheckRideGroupId = new DwItemAttribute('roPilotExaminerScenario', 'ScenarioCheckRideGroupId');\r\n ScenarioCheckRideTypeId = new DwItemAttribute('roPilotExaminerScenario', 'ScenarioCheckRideTypeId');\r\n CheckRideScenarioCheckRideCost = new DwItemAttribute('CheckRideScenario', 'CheckRideScenarioCheckRideCost');\r\n CheckRideScenarioRetestCost = new DwItemAttribute('CheckRideScenario', 'CheckRideScenarioRetestCost');\r\n CheckRideScenarioDiscontinuedRetestCost = new DwItemAttribute('CheckRideScenario', 'CheckRideScenarioDiscontinuedRetestCost');\r\n CheckRideScenarioBookingCost = new DwItemAttribute('CheckRideScenario', 'CheckRideScenarioBookingCost');\r\n CheckRideScenarioDiscontinuedRetestFlightOnlyCost = new DwItemAttribute('CheckRideScenario', 'CheckRideScenarioDiscontinuedRetestFlightOnlyCost');\r\n CheckRideScenarioRetestFlightOnlyCost = new DwItemAttribute('CheckRideScenario', 'CheckRideScenarioRetestFlightOnlyCost');\r\n CheckRideScenarioTravelCost = new DwItemAttribute('CheckRideScenario', 'CheckRideScenarioTravelCost');\r\n CheckRideScenarioTimeRequiredMinutes = new DwItemAttribute('CheckRideScenario', 'CheckRideScenarioTimeRequiredMinutes');\r\n CheckRideScenarioRequiredDocumentNotes = new DwItemAttribute('CheckRideScenario', 'CheckRideScenarioRequiredDocumentNotes');\r\n CheckRideScenarioRetestTimeRequiredMinutes = new DwItemAttribute('CheckRideScenario', 'CheckRideScenarioRetestTimeRequiredMinutes');\r\n CheckRideScenarioRetestFlightOnlyTimeRequiredMinutes = new DwItemAttribute('CheckRideScenario', 'CheckRideScenarioRetestFlightOnlyTimeRequiredMinutes');\r\n CheckRideScenarioDiscontinuedTimeRequiredMinutes = new DwItemAttribute('CheckRideScenario', 'CheckRideScenarioDiscontinuedTimeRequiredMinutes');\r\n CheckRideScenarioDiscontinuedFlightOnlyTimeRequiredMinutes = new DwItemAttribute('CheckRideScenario', 'CheckRideScenarioDiscontinuedFlightOnlyTimeRequiredMinutes');\r\n LocationDistancesPilotExaminerLocationId = new DwItemAttribute('roPilotExaminerLocationDistances', 'LocationDistancesPilotExaminerLocationId');\r\n LocationDistancesAirportId = new DwItemAttribute('roPilotExaminerLocationDistances', 'LocationDistancesAirportId');\r\n LocationDistancesDistance = new DwItemAttribute('roPilotExaminerLocationDistances', 'LocationDistancesDistance');\r\n LocationDistancesReferenceAirportId = new DwItemAttribute('roPilotExaminerLocationDistances', 'LocationDistancesReferenceAirportId');\r\n LocationDistancesWithinTravelRadius = new DwItemAttribute('roPilotExaminerLocationDistances', 'LocationDistancesWithinTravelRadius');\r\n PilotExaminerLocationSchedulingStartDate = new DwItemAttribute('PilotExaminerLocation', 'PilotExaminerLocationSchedulingStartDate');\r\n PilotExaminerLocationSchedulingEndDate = new DwItemAttribute('PilotExaminerLocation', 'PilotExaminerLocationSchedulingEndDate');\r\n PilotExaminerLocationTravelRadiusMile = new DwItemAttribute('PilotExaminerLocation', 'PilotExaminerLocationTravelRadiusMile');\r\n PilotExaminerLocationBookingScheduleId = new DwItemAttribute('PilotExaminerLocation', 'PilotExaminerLocationBookingScheduleId');\r\n PilotExaminerLocationIsActive = new DwItemAttribute('PilotExaminerLocation', 'PilotExaminerLocationIsActive');\r\n PilotExaminerLocationTravelCost = new DwItemAttribute('PilotExaminerLocation', 'PilotExaminerLocationTravelCost');\r\n PilotExaminerLocationAdditionalLocationCost = new DwItemAttribute('PilotExaminerLocation', 'PilotExaminerLocationAdditionalLocationCost');\r\n PilotExaminerLocationBookingScheduleTimeZoneId = new DwItemAttribute('PilotExaminerLocation', 'PilotExaminerLocationBookingScheduleTimeZoneId');\r\n PilotExaminerLocationPilotExaminerLocationId = new DwItemAttribute('PilotExaminerLocation', 'PilotExaminerLocationPilotExaminerLocationId');\r\n PilotExaminerLocationLocationName = new DwItemAttribute('PilotExaminerLocation', 'PilotExaminerLocationLocationName');\r\n PilotExaminerLocationPilotExaminerLocationTypeId = new DwItemAttribute('PilotExaminerLocation', 'PilotExaminerLocationPilotExaminerLocationTypeId');\r\n RoPilotExaminerLocationCurrentPilotExaminerLocationStateId = new DwItemAttribute('roPilotExaminerLocationCurrent', 'RoPilotExaminerLocationCurrentPilotExaminerLocationStateId');\r\n AirportAddressTimezoneId = new DwItemAttribute('Address', 'AirportAddressTimezoneId');\r\n AirportAddressObservesDst = new DwItemAttribute('Address', 'AirportAddressObservesDst');\r\n DwUserFirstName = new DwItemAttribute('dw_User', 'DwUserFirstName');\r\n DwUserLastName = new DwItemAttribute('dw_User', 'DwUserLastName');\r\n DwUserUserPictureMediaId = new DwItemAttribute('dw_User', 'DwUserUserPictureMediaId');\r\n DwUserUserBackgroundMediaId = new DwItemAttribute('dw_User', 'DwUserUserBackgroundMediaId');\r\n UserPictureDwroMediaMediaPath = new DwItemAttribute('dw_roMedia', 'UserPictureDwroMediaMediaPath');\r\n UserPictureDwroMediaImageWidth = new DwItemAttribute('dw_roMedia', 'UserPictureDwroMediaImageWidth');\r\n UserPictureDwroMediaImageHeight = new DwItemAttribute('dw_roMedia', 'UserPictureDwroMediaImageHeight');\r\n}\r\nexport class PilotExaminerCalendarReferenceQueryMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n QueryMeaning = 'Pilot_Examiner_Calendar_Reference';\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1137;\r\n this.ItemDetail.itemName='PilotExaminer';\r\n this.ItemDetail.keyName='PilotExaminerId';\r\n }\r\n\r\n CreateEntity(): PilotExaminerCalendarReferenceQueryEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilderFromQuery(query: DwQuery): PilotExaminerCalendarReferenceQueryBuilder {\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n\r\n CreateQueryBuilder(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable {\r\n return this.CreateQueryBuilderWithMetaData(dwMetaDataService).pipe(map(result => result.queryBuilder));\r\n }\r\n\r\n CreateQueryBuilderWithMetaData(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable<{queryMetaData: EnterpriseMetaData.DwQueryMetaData, queryBuilder: PilotExaminerCalendarReferenceQueryBuilder}> {\r\n return dwMetaDataService.getSavedQueryMetaData(this.ItemDetail.itemName, null, this.QueryMeaning).pipe(map(queryMetaData =>\r\n {\r\n return { queryMetaData: queryMetaData, queryBuilder: new DwQueryBuilderGen(queryMetaData.DataQuery, this) };\r\n }));\r\n }\r\n Attributes = new PilotExaminerCalendarReferenceQueryMetaDataAttributes();\r\n Relations = new PilotExaminerMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PilotExaminerCalendarReferenceQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PilotExaminerCalendarReferenceQueryMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PilotExaminer';\r\n // Attributes\r\n PilotExaminerId = new DwItemAttribute(this.i, 'PilotExaminerId');\r\n UserId = new DwItemAttribute(this.i, 'UserId');\r\n PilotExaminerStatusId = new DwItemAttribute(this.i, 'PilotExaminerStatusId');\r\n CalendarReferenceCalendarReferenceId = new DwItemAttribute('CalendarReference', 'CalendarReferenceCalendarReferenceId');\r\n CalendarReferenceCalendarReferenceTypeId = new DwItemAttribute('CalendarReference', 'CalendarReferenceCalendarReferenceTypeId');\r\n CalendarReferenceMainCalendarKey = new DwItemAttribute('CalendarReference', 'CalendarReferenceMainCalendarKey');\r\n CalendarReferenceCalendarConfigJSON = new DwItemAttribute('CalendarReference', 'CalendarReferenceCalendarConfigJSON');\r\n DwUserUserId = new DwItemAttribute('dw_User', 'DwUserUserId');\r\n DwUserUserName = new DwItemAttribute('dw_User', 'DwUserUserName');\r\n DwUserUserTypeId = new DwItemAttribute('dw_User', 'DwUserUserTypeId');\r\n DwUserEmail = new DwItemAttribute('dw_User', 'DwUserEmail');\r\n DwUserFirstName = new DwItemAttribute('dw_User', 'DwUserFirstName');\r\n DwUserLastName = new DwItemAttribute('dw_User', 'DwUserLastName');\r\n DwUserLastLoginDateTime = new DwItemAttribute('dw_User', 'DwUserLastLoginDateTime');\r\n}\r\nexport class CheckRideRequestCalendarQueryMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n QueryMeaning = 'Check_Ride_Request-Calendar';\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1153;\r\n this.ItemDetail.itemName='CheckRideRequest';\r\n this.ItemDetail.keyName='CheckRideRequestId';\r\n }\r\n\r\n CreateEntity(): CheckRideRequestCalendarQueryEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilderFromQuery(query: DwQuery): CheckRideRequestCalendarQueryBuilder {\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n\r\n CreateQueryBuilder(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable {\r\n return this.CreateQueryBuilderWithMetaData(dwMetaDataService).pipe(map(result => result.queryBuilder));\r\n }\r\n\r\n CreateQueryBuilderWithMetaData(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable<{queryMetaData: EnterpriseMetaData.DwQueryMetaData, queryBuilder: CheckRideRequestCalendarQueryBuilder}> {\r\n return dwMetaDataService.getSavedQueryMetaData(this.ItemDetail.itemName, null, this.QueryMeaning).pipe(map(queryMetaData =>\r\n {\r\n return { queryMetaData: queryMetaData, queryBuilder: new DwQueryBuilderGen(queryMetaData.DataQuery, this) };\r\n }));\r\n }\r\n Attributes = new CheckRideRequestCalendarQueryMetaDataAttributes();\r\n Relations = new CheckRideRequestMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type CheckRideRequestCalendarQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class CheckRideRequestCalendarQueryMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'CheckRideRequest';\r\n // Attributes\r\n CheckRideRequestId = new DwItemAttribute(this.i, 'CheckRideRequestId');\r\n CheckRideTypeId = new DwItemAttribute(this.i, 'CheckRideTypeId');\r\n CheckRideGroupId = new DwItemAttribute(this.i, 'CheckRideGroupId');\r\n CheckRideTestTypeId = new DwItemAttribute(this.i, 'CheckRideTestTypeId');\r\n PilotCertificateNumber = new DwItemAttribute(this.i, 'PilotCertificateNumber');\r\n CheckRideRequestSubStatusId = new DwItemAttribute(this.i, 'CheckRideRequestSubStatusId');\r\n ScheduledDateTime = new DwItemAttribute(this.i, 'ScheduledDateTime');\r\n ScheduledTimeMinutes = new DwItemAttribute(this.i, 'ScheduledTimeMinutes');\r\n ProposedDateTime = new DwItemAttribute(this.i, 'ProposedDateTime');\r\n ScheduledAirportId = new DwItemAttribute(this.i, 'ScheduledAirportId');\r\n AuthorityPreapprovalCode = new DwItemAttribute(this.i, 'AuthorityPreapprovalCode');\r\n AuthorityApprovalCode = new DwItemAttribute(this.i, 'AuthorityApprovalCode');\r\n ProposedAirportId = new DwItemAttribute(this.i, 'ProposedAirportId');\r\n ProposedTimeMinutes = new DwItemAttribute(this.i, 'ProposedTimeMinutes');\r\n AuthorityPreCheckRideNumber = new DwItemAttribute(this.i, 'AuthorityPreCheckRideNumber');\r\n CheckRideRequestSubStatusCheckRideRequestStatusId = new DwItemAttribute('CheckRideRequestSubStatus', 'CheckRideRequestSubStatusCheckRideRequestStatusId');\r\n CheckRideResultCheckRideRequestId = new DwItemAttribute('CheckRideResult', 'CheckRideResultCheckRideRequestId');\r\n CheckRideResultCheckRideDateTime = new DwItemAttribute('CheckRideResult', 'CheckRideResultCheckRideDateTime');\r\n CheckRideResultCheckRideOutcomeId = new DwItemAttribute('CheckRideResult', 'CheckRideResultCheckRideOutcomeId');\r\n CheckRideResultAllowRetest = new DwItemAttribute('CheckRideResult', 'CheckRideResultAllowRetest');\r\n CheckRideResultAllowRetestReason = new DwItemAttribute('CheckRideResult', 'CheckRideResultAllowRetestReason');\r\n CheckRideResultRetestCost = new DwItemAttribute('CheckRideResult', 'CheckRideResultRetestCost');\r\n AirportAirportName = new DwItemAttribute('Airport', 'AirportAirportName');\r\n AirportAirportCode = new DwItemAttribute('Airport', 'AirportAirportCode');\r\n AirportAddressCity = new DwItemAttribute('Address', 'AirportAddressCity');\r\n AirportAddressStateProvinceId = new DwItemAttribute('Address', 'AirportAddressStateProvinceId');\r\n AirportAddressPostalCode = new DwItemAttribute('Address', 'AirportAddressPostalCode');\r\n AirportAddressCountryId = new DwItemAttribute('Address', 'AirportAddressCountryId');\r\n AirportAddressLatitude = new DwItemAttribute('Address', 'AirportAddressLatitude');\r\n AirportAddressLongitude = new DwItemAttribute('Address', 'AirportAddressLongitude');\r\n AirportAddressTimezoneId = new DwItemAttribute('Address', 'AirportAddressTimezoneId');\r\n AirportAddressObservesDst = new DwItemAttribute('Address', 'AirportAddressObservesDst');\r\n ScheduledPilotExaminerUserId = new DwItemAttribute('PilotExaminer', 'ScheduledPilotExaminerUserId');\r\n CalendarEventReferenceKey = new DwItemAttribute('CalendarEventReference', 'CalendarEventReferenceKey');\r\n ApplicantNameApplicantFinalEmail = new DwItemAttribute('roCheckrideApplicantFinalName', 'ApplicantNameApplicantFinalEmail');\r\n ApplicantNameApplicantFinalName = new DwItemAttribute('roCheckrideApplicantFinalName', 'ApplicantNameApplicantFinalName');\r\n ApplicantNameApplicantFinalPhone = new DwItemAttribute('roCheckrideApplicantFinalName', 'ApplicantNameApplicantFinalPhone');\r\n ApplicantNameFlightSchoolFinalName = new DwItemAttribute('roCheckrideApplicantFinalName', 'ApplicantNameFlightSchoolFinalName');\r\n ApplicantNameCheckRideApplicantTypeId = new DwItemAttribute('roCheckrideApplicantFinalName', 'ApplicantNameCheckRideApplicantTypeId');\r\n}\r\nexport class PilotExaminerCurrentAirportsQueryMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n QueryMeaning = 'Pilot_Examiner_Current_Airports';\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1159;\r\n this.ItemDetail.itemName='Airport';\r\n this.ItemDetail.keyName='AirportId';\r\n }\r\n\r\n CreateEntity(): PilotExaminerCurrentAirportsQueryEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilderFromQuery(query: DwQuery): PilotExaminerCurrentAirportsQueryBuilder {\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n\r\n CreateQueryBuilder(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable {\r\n return this.CreateQueryBuilderWithMetaData(dwMetaDataService).pipe(map(result => result.queryBuilder));\r\n }\r\n\r\n CreateQueryBuilderWithMetaData(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable<{queryMetaData: EnterpriseMetaData.DwQueryMetaData, queryBuilder: PilotExaminerCurrentAirportsQueryBuilder}> {\r\n return dwMetaDataService.getSavedQueryMetaData(this.ItemDetail.itemName, null, this.QueryMeaning).pipe(map(queryMetaData =>\r\n {\r\n return { queryMetaData: queryMetaData, queryBuilder: new DwQueryBuilderGen(queryMetaData.DataQuery, this) };\r\n }));\r\n }\r\n Attributes = new PilotExaminerCurrentAirportsQueryMetaDataAttributes();\r\n Relations = new AirportMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PilotExaminerCurrentAirportsQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PilotExaminerCurrentAirportsQueryMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'Airport';\r\n // Attributes\r\n AirportId = new DwItemAttribute(this.i, 'AirportId');\r\n AviationAuthorityId = new DwItemAttribute(this.i, 'AviationAuthorityId');\r\n AirportName = new DwItemAttribute(this.i, 'AirportName');\r\n AirportCode = new DwItemAttribute(this.i, 'AirportCode');\r\n AirportAddressId = new DwItemAttribute(this.i, 'AirportAddressId');\r\n Elevation = new DwItemAttribute(this.i, 'Elevation');\r\n OwnershipCode = new DwItemAttribute(this.i, 'OwnershipCode');\r\n IsActive = new DwItemAttribute(this.i, 'IsActive');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n PilotExaminerLocationPilotExaminerId = new DwItemAttribute('PilotExaminerLocation', 'PilotExaminerLocationPilotExaminerId');\r\n PilotExaminerLocationShowMetar = new DwItemAttribute('PilotExaminerLocation', 'PilotExaminerLocationShowMetar');\r\n RoPilotExaminerLocationCurrentPilotExaminerLocationStateId = new DwItemAttribute('roPilotExaminerLocationCurrent', 'RoPilotExaminerLocationCurrentPilotExaminerLocationStateId');\r\n}\r\nexport class PilotExaminerPublicProfileQueryMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n QueryMeaning = 'Pilot_Examiner_Public_Profile';\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1137;\r\n this.ItemDetail.itemName='PilotExaminer';\r\n this.ItemDetail.keyName='PilotExaminerId';\r\n }\r\n\r\n CreateEntity(): PilotExaminerPublicProfileQueryEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilderFromQuery(query: DwQuery): PilotExaminerPublicProfileQueryBuilder {\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n\r\n CreateQueryBuilder(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable {\r\n return this.CreateQueryBuilderWithMetaData(dwMetaDataService).pipe(map(result => result.queryBuilder));\r\n }\r\n\r\n CreateQueryBuilderWithMetaData(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable<{queryMetaData: EnterpriseMetaData.DwQueryMetaData, queryBuilder: PilotExaminerPublicProfileQueryBuilder}> {\r\n return dwMetaDataService.getSavedQueryMetaData(this.ItemDetail.itemName, null, this.QueryMeaning).pipe(map(queryMetaData =>\r\n {\r\n return { queryMetaData: queryMetaData, queryBuilder: new DwQueryBuilderGen(queryMetaData.DataQuery, this) };\r\n }));\r\n }\r\n Attributes = new PilotExaminerPublicProfileQueryMetaDataAttributes();\r\n Relations = new PilotExaminerMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PilotExaminerPublicProfileQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PilotExaminerPublicProfileQueryMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'PilotExaminer';\r\n // Attributes\r\n PilotExaminerId = new DwItemAttribute(this.i, 'PilotExaminerId');\r\n UserId = new DwItemAttribute(this.i, 'UserId');\r\n Description = new DwItemAttribute(this.i, 'Description');\r\n AviationAuthorityId = new DwItemAttribute(this.i, 'AviationAuthorityId');\r\n AuthorityExaminerNumber = new DwItemAttribute(this.i, 'AuthorityExaminerNumber');\r\n PublicProfileIsActive = new DwItemAttribute(this.i, 'PublicProfileIsActive');\r\n PublicProfileSlug = new DwItemAttribute(this.i, 'PublicProfileSlug');\r\n DwUserUserBackgroundMediaId = new DwItemAttribute('dw_User', 'DwUserUserBackgroundMediaId');\r\n DwUserUserPictureMediaId = new DwItemAttribute('dw_User', 'DwUserUserPictureMediaId');\r\n}\r\nexport class StudentApplicantWithDetailQueryMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n QueryMeaning = 'Student_Applicant_with_detail';\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1144;\r\n this.ItemDetail.itemName='StudentApplicant';\r\n this.ItemDetail.keyName='StudentApplicantId';\r\n }\r\n\r\n CreateEntity(): StudentApplicantWithDetailQueryEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilderFromQuery(query: DwQuery): StudentApplicantWithDetailQueryBuilder {\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n\r\n CreateQueryBuilder(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable {\r\n return this.CreateQueryBuilderWithMetaData(dwMetaDataService).pipe(map(result => result.queryBuilder));\r\n }\r\n\r\n CreateQueryBuilderWithMetaData(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable<{queryMetaData: EnterpriseMetaData.DwQueryMetaData, queryBuilder: StudentApplicantWithDetailQueryBuilder}> {\r\n return dwMetaDataService.getSavedQueryMetaData(this.ItemDetail.itemName, null, this.QueryMeaning).pipe(map(queryMetaData =>\r\n {\r\n return { queryMetaData: queryMetaData, queryBuilder: new DwQueryBuilderGen(queryMetaData.DataQuery, this) };\r\n }));\r\n }\r\n Attributes = new StudentApplicantWithDetailQueryMetaDataAttributes();\r\n Relations = new StudentApplicantMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type StudentApplicantWithDetailQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class StudentApplicantWithDetailQueryMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'StudentApplicant';\r\n // Attributes\r\n StudentApplicantId = new DwItemAttribute(this.i, 'StudentApplicantId');\r\n UserId = new DwItemAttribute(this.i, 'UserId');\r\n ApplicationDescription = new DwItemAttribute(this.i, 'ApplicationDescription');\r\n AviationAuthorityId = new DwItemAttribute(this.i, 'AviationAuthorityId');\r\n PilotCertificateNumber = new DwItemAttribute(this.i, 'PilotCertificateNumber');\r\n TravelRadiusMiles = new DwItemAttribute(this.i, 'TravelRadiusMiles');\r\n Citizenship = new DwItemAttribute(this.i, 'Citizenship');\r\n ApplicantAddressId = new DwItemAttribute(this.i, 'ApplicantAddressId');\r\n MainAirportId = new DwItemAttribute(this.i, 'MainAirportId');\r\n MainAircraft = new DwItemAttribute(this.i, 'MainAircraft');\r\n ReferredPilotExaminerId = new DwItemAttribute(this.i, 'ReferredPilotExaminerId');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n AviationTrainingProgramId = new DwItemAttribute(this.i, 'AviationTrainingProgramId');\r\n CitzenshipCountyId = new DwItemAttribute(this.i, 'CitzenshipCountyId');\r\n DwUserFirstName = new DwItemAttribute('dw_User', 'DwUserFirstName');\r\n DwUserLastName = new DwItemAttribute('dw_User', 'DwUserLastName');\r\n DwUserEmail = new DwItemAttribute('dw_User', 'DwUserEmail');\r\n DwUserUserBackgroundMediaId = new DwItemAttribute('dw_User', 'DwUserUserBackgroundMediaId');\r\n DwUserUserPictureMediaId = new DwItemAttribute('dw_User', 'DwUserUserPictureMediaId');\r\n DwUserMobilePhone = new DwItemAttribute('dw_User', 'DwUserMobilePhone');\r\n ApplicantAddressStreetAddress1 = new DwItemAttribute('Address', 'ApplicantAddressStreetAddress1');\r\n ApplicantAddressStreetAddress2 = new DwItemAttribute('Address', 'ApplicantAddressStreetAddress2');\r\n ApplicantAddressCity = new DwItemAttribute('Address', 'ApplicantAddressCity');\r\n ApplicantAddressStateProvinceId = new DwItemAttribute('Address', 'ApplicantAddressStateProvinceId');\r\n ApplicantAddressCountryId = new DwItemAttribute('Address', 'ApplicantAddressCountryId');\r\n ApplicantAddressPostalCode = new DwItemAttribute('Address', 'ApplicantAddressPostalCode');\r\n ApplicantAddressLatitude = new DwItemAttribute('Address', 'ApplicantAddressLatitude');\r\n ApplicantAddressLongitude = new DwItemAttribute('Address', 'ApplicantAddressLongitude');\r\n}\r\nexport class AirportWithAddressInfoQueryMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n QueryMeaning = 'Airport_with_Address_info';\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1159;\r\n this.ItemDetail.itemName='Airport';\r\n this.ItemDetail.keyName='AirportId';\r\n }\r\n\r\n CreateEntity(): AirportWithAddressInfoQueryEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilderFromQuery(query: DwQuery): AirportWithAddressInfoQueryBuilder {\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n\r\n CreateQueryBuilder(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable {\r\n return this.CreateQueryBuilderWithMetaData(dwMetaDataService).pipe(map(result => result.queryBuilder));\r\n }\r\n\r\n CreateQueryBuilderWithMetaData(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable<{queryMetaData: EnterpriseMetaData.DwQueryMetaData, queryBuilder: AirportWithAddressInfoQueryBuilder}> {\r\n return dwMetaDataService.getSavedQueryMetaData(this.ItemDetail.itemName, null, this.QueryMeaning).pipe(map(queryMetaData =>\r\n {\r\n return { queryMetaData: queryMetaData, queryBuilder: new DwQueryBuilderGen(queryMetaData.DataQuery, this) };\r\n }));\r\n }\r\n Attributes = new AirportWithAddressInfoQueryMetaDataAttributes();\r\n Relations = new AirportMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type AirportWithAddressInfoQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class AirportWithAddressInfoQueryMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'Airport';\r\n // Attributes\r\n AirportId = new DwItemAttribute(this.i, 'AirportId');\r\n AviationAuthorityId = new DwItemAttribute(this.i, 'AviationAuthorityId');\r\n AirportName = new DwItemAttribute(this.i, 'AirportName');\r\n AirportCode = new DwItemAttribute(this.i, 'AirportCode');\r\n AirportAddressId = new DwItemAttribute(this.i, 'AirportAddressId');\r\n Elevation = new DwItemAttribute(this.i, 'Elevation');\r\n OwnershipCode = new DwItemAttribute(this.i, 'OwnershipCode');\r\n IsActive = new DwItemAttribute(this.i, 'IsActive');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n AirportAddressCity = new DwItemAttribute('Address', 'AirportAddressCity');\r\n AirportAddressStateProvinceId = new DwItemAttribute('Address', 'AirportAddressStateProvinceId');\r\n AirportAddressPostalCode = new DwItemAttribute('Address', 'AirportAddressPostalCode');\r\n AirportAddressCountyName = new DwItemAttribute('Address', 'AirportAddressCountyName');\r\n AirportAddressTimezoneId = new DwItemAttribute('Address', 'AirportAddressTimezoneId');\r\n AirportAddressObservesDst = new DwItemAttribute('Address', 'AirportAddressObservesDst');\r\n AirportAddressLatitude = new DwItemAttribute('Address', 'AirportAddressLatitude');\r\n AirportAddressLongitude = new DwItemAttribute('Address', 'AirportAddressLongitude');\r\n}\r\nexport class CheckrideRequestAggregateBaseQueryMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n QueryMeaning = 'Checkride_Request-Aggregate_Base';\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1153;\r\n this.ItemDetail.itemName='CheckRideRequest';\r\n this.ItemDetail.keyName='CheckRideRequestId';\r\n }\r\n\r\n CreateEntity(): CheckrideRequestAggregateBaseQueryEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilderFromQuery(query: DwQuery): CheckrideRequestAggregateBaseQueryBuilder {\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n\r\n CreateQueryBuilder(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable {\r\n return this.CreateQueryBuilderWithMetaData(dwMetaDataService).pipe(map(result => result.queryBuilder));\r\n }\r\n\r\n CreateQueryBuilderWithMetaData(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable<{queryMetaData: EnterpriseMetaData.DwQueryMetaData, queryBuilder: CheckrideRequestAggregateBaseQueryBuilder}> {\r\n return dwMetaDataService.getSavedQueryMetaData(this.ItemDetail.itemName, null, this.QueryMeaning).pipe(map(queryMetaData =>\r\n {\r\n return { queryMetaData: queryMetaData, queryBuilder: new DwQueryBuilderGen(queryMetaData.DataQuery, this) };\r\n }));\r\n }\r\n Attributes = new CheckrideRequestAggregateBaseQueryMetaDataAttributes();\r\n Relations = new CheckRideRequestMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type CheckrideRequestAggregateBaseQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class CheckrideRequestAggregateBaseQueryMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'CheckRideRequest';\r\n // Attributes\r\n CheckRideRequestId = new DwItemAttribute(this.i, 'CheckRideRequestId');\r\n CheckRideGroupId = new DwItemAttribute(this.i, 'CheckRideGroupId');\r\n CheckRideTypeId = new DwItemAttribute(this.i, 'CheckRideTypeId');\r\n CheckRideTestTypeId = new DwItemAttribute(this.i, 'CheckRideTestTypeId');\r\n CheckRideRequestSubStatusId = new DwItemAttribute(this.i, 'CheckRideRequestSubStatusId');\r\n CheckRideApplicantTypeId = new DwItemAttribute(this.i, 'CheckRideApplicantTypeId');\r\n AvaiationTrainingProgramId = new DwItemAttribute(this.i, 'AvaiationTrainingProgramId');\r\n ScheduledDateTime = new DwItemAttribute(this.i, 'ScheduledDateTime');\r\n ScheduledAirportId = new DwItemAttribute(this.i, 'ScheduledAirportId');\r\n ScheduledCheckRideCost = new DwItemAttribute(this.i, 'ScheduledCheckRideCost');\r\n PilexosBookingCost = new DwItemAttribute(this.i, 'PilexosBookingCost');\r\n ExaminerBookingCost = new DwItemAttribute(this.i, 'ExaminerBookingCost');\r\n AdditionalTravelCost = new DwItemAttribute(this.i, 'AdditionalTravelCost');\r\n ScheduledPilotExaminerId = new DwItemAttribute(this.i, 'ScheduledPilotExaminerId');\r\n CheckRideCancellationTypeId = new DwItemAttribute(this.i, 'CheckRideCancellationTypeId');\r\n CheckRideCancellationTypeOther = new DwItemAttribute(this.i, 'CheckRideCancellationTypeOther');\r\n PilexosBookingCostPaymentPartyId = new DwItemAttribute(this.i, 'PilexosBookingCostPaymentPartyId');\r\n StudentApplicantCitizenshipCountyId = new DwItemAttribute(this.i, 'StudentApplicantCitizenshipCountyId');\r\n FlightSchoolId = new DwItemAttribute(this.i, 'FlightSchoolId');\r\n FlightSchoolNameOther = new DwItemAttribute(this.i, 'FlightSchoolNameOther');\r\n AggrScheduledDateTime = new DwItemAttribute('roCheckrideAggregateUtil', 'AggrScheduledDateTime');\r\n AggrScheduledDateTimeYear = new DwItemAttribute('roCheckrideAggregateUtil', 'AggrScheduledDateTimeYear');\r\n AggrScheduledDateTimeMonth = new DwItemAttribute('roCheckrideAggregateUtil', 'AggrScheduledDateTimeMonth');\r\n AggrScheduledDateTimeMonthDisplay = new DwItemAttribute('roCheckrideAggregateUtil', 'AggrScheduledDateTimeMonthDisplay');\r\n AggrScheduledDateTimeMonthYearDisplay = new DwItemAttribute('roCheckrideAggregateUtil', 'AggrScheduledDateTimeMonthYearDisplay');\r\n AggrCheckRideRequestStatusId = new DwItemAttribute('roCheckrideAggregateUtil', 'AggrCheckRideRequestStatusId');\r\n AggrCheckRideRequestStatus = new DwItemAttribute('roCheckrideAggregateUtil', 'AggrCheckRideRequestStatus');\r\n AggrPilexosPaymentDateTimeYear = new DwItemAttribute('roCheckrideAggregateUtil', 'AggrPilexosPaymentDateTimeYear');\r\n AggrPilexosPaymentDateTimeMonth = new DwItemAttribute('roCheckrideAggregateUtil', 'AggrPilexosPaymentDateTimeMonth');\r\n AggrPilexosPaymentTotal = new DwItemAttribute('roCheckrideAggregateUtil', 'AggrPilexosPaymentTotal');\r\n AggrCheckridePaymentDateTimeYear = new DwItemAttribute('roCheckrideAggregateUtil', 'AggrCheckridePaymentDateTimeYear');\r\n AggrCheckridePaymentDateTimeMonth = new DwItemAttribute('roCheckrideAggregateUtil', 'AggrCheckridePaymentDateTimeMonth');\r\n AggrCheckridePaymentTotal = new DwItemAttribute('roCheckrideAggregateUtil', 'AggrCheckridePaymentTotal');\r\n AggrOutcomeIsRequested = new DwItemAttribute('roCheckrideAggregateUtil', 'AggrOutcomeIsRequested');\r\n AggrOutcomeIsBooked = new DwItemAttribute('roCheckrideAggregateUtil', 'AggrOutcomeIsBooked');\r\n AggrOutcomeIsComplete = new DwItemAttribute('roCheckrideAggregateUtil', 'AggrOutcomeIsComplete');\r\n AggrOutcomeIsCancelled = new DwItemAttribute('roCheckrideAggregateUtil', 'AggrOutcomeIsCancelled');\r\n AggrRevenueIsRequested = new DwItemAttribute('roCheckrideAggregateUtil', 'AggrRevenueIsRequested');\r\n AggrRevenueIsBooked = new DwItemAttribute('roCheckrideAggregateUtil', 'AggrRevenueIsBooked');\r\n AggrRevenueIsComplete = new DwItemAttribute('roCheckrideAggregateUtil', 'AggrRevenueIsComplete');\r\n AggrRevenueIsCancelled = new DwItemAttribute('roCheckrideAggregateUtil', 'AggrRevenueIsCancelled');\r\n AggrCheckRideTypeDisplay = new DwItemAttribute('roCheckrideAggregateUtil', 'AggrCheckRideTypeDisplay');\r\n CheckRideResultCheckRideOutcomeId = new DwItemAttribute('CheckRideResult', 'CheckRideResultCheckRideOutcomeId');\r\n AirportAirportCode = new DwItemAttribute('Airport', 'AirportAirportCode');\r\n RoCheckrideApplicantInfoFlightSchoolFinalName = new DwItemAttribute('roCheckrideApplicantFinalName', 'RoCheckrideApplicantInfoFlightSchoolFinalName');\r\n}\r\nexport class CheckrideActiveApplicantCheckridesQueryMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n QueryMeaning = 'Checkride-Active_Applicant_Checkrides';\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1153;\r\n this.ItemDetail.itemName='CheckRideRequest';\r\n this.ItemDetail.keyName='CheckRideRequestId';\r\n }\r\n\r\n CreateEntity(): CheckrideActiveApplicantCheckridesQueryEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilderFromQuery(query: DwQuery): CheckrideActiveApplicantCheckridesQueryBuilder {\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n\r\n CreateQueryBuilder(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable {\r\n return this.CreateQueryBuilderWithMetaData(dwMetaDataService).pipe(map(result => result.queryBuilder));\r\n }\r\n\r\n CreateQueryBuilderWithMetaData(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable<{queryMetaData: EnterpriseMetaData.DwQueryMetaData, queryBuilder: CheckrideActiveApplicantCheckridesQueryBuilder}> {\r\n return dwMetaDataService.getSavedQueryMetaData(this.ItemDetail.itemName, null, this.QueryMeaning).pipe(map(queryMetaData =>\r\n {\r\n return { queryMetaData: queryMetaData, queryBuilder: new DwQueryBuilderGen(queryMetaData.DataQuery, this) };\r\n }));\r\n }\r\n Attributes = new CheckrideActiveApplicantCheckridesQueryMetaDataAttributes();\r\n Relations = new CheckRideRequestMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type CheckrideActiveApplicantCheckridesQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class CheckrideActiveApplicantCheckridesQueryMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'CheckRideRequest';\r\n // Attributes\r\n CheckRideRequestId = new DwItemAttribute(this.i, 'CheckRideRequestId');\r\n StudentApplicantId = new DwItemAttribute(this.i, 'StudentApplicantId');\r\n AviationAuthorityId = new DwItemAttribute(this.i, 'AviationAuthorityId');\r\n CheckRideRequestSubStatusId = new DwItemAttribute(this.i, 'CheckRideRequestSubStatusId');\r\n ScheduledDateTime = new DwItemAttribute(this.i, 'ScheduledDateTime');\r\n CheckRideTypeId = new DwItemAttribute(this.i, 'CheckRideTypeId');\r\n CheckRideGroupId = new DwItemAttribute(this.i, 'CheckRideGroupId');\r\n AuthorityPreCheckRideNumber = new DwItemAttribute(this.i, 'AuthorityPreCheckRideNumber');\r\n StudentApplicantStudentApplicantId = new DwItemAttribute('StudentApplicant', 'StudentApplicantStudentApplicantId');\r\n StudentApplicantUserId = new DwItemAttribute('StudentApplicant', 'StudentApplicantUserId');\r\n DwUserUserId = new DwItemAttribute('dw_User', 'DwUserUserId');\r\n DwUserEmail = new DwItemAttribute('dw_User', 'DwUserEmail');\r\n DwUserFirstName = new DwItemAttribute('dw_User', 'DwUserFirstName');\r\n DwUserLastName = new DwItemAttribute('dw_User', 'DwUserLastName');\r\n}\r\nexport class AcsCodesLookupQueryMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n QueryMeaning = 'Acs_Codes-Lookup';\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1201;\r\n this.ItemDetail.itemName='AcsCode';\r\n this.ItemDetail.keyName='AcsCodeId';\r\n }\r\n\r\n CreateEntity(): AcsCodesLookupQueryEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilderFromQuery(query: DwQuery): AcsCodesLookupQueryBuilder {\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n\r\n CreateQueryBuilder(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable {\r\n return this.CreateQueryBuilderWithMetaData(dwMetaDataService).pipe(map(result => result.queryBuilder));\r\n }\r\n\r\n CreateQueryBuilderWithMetaData(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable<{queryMetaData: EnterpriseMetaData.DwQueryMetaData, queryBuilder: AcsCodesLookupQueryBuilder}> {\r\n return dwMetaDataService.getSavedQueryMetaData(this.ItemDetail.itemName, null, this.QueryMeaning).pipe(map(queryMetaData =>\r\n {\r\n return { queryMetaData: queryMetaData, queryBuilder: new DwQueryBuilderGen(queryMetaData.DataQuery, this) };\r\n }));\r\n }\r\n Attributes = new AcsCodesLookupQueryMetaDataAttributes();\r\n Relations = new AcsCodeMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type AcsCodesLookupQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class AcsCodesLookupQueryMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'AcsCode';\r\n // Attributes\r\n AcsCodeId = new DwItemAttribute(this.i, 'AcsCodeId');\r\n AscCodeTypeId = new DwItemAttribute(this.i, 'AscCodeTypeId');\r\n AcsCode = new DwItemAttribute(this.i, 'AcsCode');\r\n AcsCodeOrder = new DwItemAttribute(this.i, 'AcsCodeOrder');\r\n AcsAreaOfOperationTaskId = new DwItemAttribute(this.i, 'AcsAreaOfOperationTaskId');\r\n AscCodeDescription = new DwItemAttribute(this.i, 'AscCodeDescription');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n TaskTaskName = new DwItemAttribute('AcsAreaOfOperationTask', 'TaskTaskName');\r\n TaskTaskOrder = new DwItemAttribute('AcsAreaOfOperationTask', 'TaskTaskOrder');\r\n TaskTaskCode = new DwItemAttribute('AcsAreaOfOperationTask', 'TaskTaskCode');\r\n TaskAcsAreaOfOperationTaskId = new DwItemAttribute('AcsAreaOfOperationTask', 'TaskAcsAreaOfOperationTaskId');\r\n AcsAreaOfOperationAcsAreaOfOperationId = new DwItemAttribute('AcsAreaOfOperation', 'AcsAreaOfOperationAcsAreaOfOperationId');\r\n AcsAreaOfOperationAreaOfOperationName = new DwItemAttribute('AcsAreaOfOperation', 'AcsAreaOfOperationAreaOfOperationName');\r\n AcsAreaOfOperationAreaOfOperationOrder = new DwItemAttribute('AcsAreaOfOperation', 'AcsAreaOfOperationAreaOfOperationOrder');\r\n AcsAreaOfOperationAreaOfOperationCode = new DwItemAttribute('AcsAreaOfOperation', 'AcsAreaOfOperationAreaOfOperationCode');\r\n AcsTestTestName = new DwItemAttribute('AcsTest', 'AcsTestTestName');\r\n AcsTestTestDescription = new DwItemAttribute('AcsTest', 'AcsTestTestDescription');\r\n AcsTestCheckRideGroupId = new DwItemAttribute('AcsTest', 'AcsTestCheckRideGroupId');\r\n AcsTestTestCode = new DwItemAttribute('AcsTest', 'AcsTestTestCode');\r\n AcsTestAcsTestId = new DwItemAttribute('AcsTest', 'AcsTestAcsTestId');\r\n AcsTestAcsTestStatusId = new DwItemAttribute('AcsTest', 'AcsTestAcsTestStatusId');\r\n}\r\nexport class AcsCodesGridQueryMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n QueryMeaning = 'Acs_Codes-Grid';\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1201;\r\n this.ItemDetail.itemName='AcsCode';\r\n this.ItemDetail.keyName='AcsCodeId';\r\n }\r\n\r\n CreateEntity(): AcsCodesGridQueryEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilderFromQuery(query: DwQuery): AcsCodesGridQueryBuilder {\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n\r\n CreateQueryBuilder(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable {\r\n return this.CreateQueryBuilderWithMetaData(dwMetaDataService).pipe(map(result => result.queryBuilder));\r\n }\r\n\r\n CreateQueryBuilderWithMetaData(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable<{queryMetaData: EnterpriseMetaData.DwQueryMetaData, queryBuilder: AcsCodesGridQueryBuilder}> {\r\n return dwMetaDataService.getSavedQueryMetaData(this.ItemDetail.itemName, null, this.QueryMeaning).pipe(map(queryMetaData =>\r\n {\r\n return { queryMetaData: queryMetaData, queryBuilder: new DwQueryBuilderGen(queryMetaData.DataQuery, this) };\r\n }));\r\n }\r\n Attributes = new AcsCodesGridQueryMetaDataAttributes();\r\n Relations = new AcsCodeMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type AcsCodesGridQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class AcsCodesGridQueryMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'AcsCode';\r\n // Attributes\r\n AcsCodeId = new DwItemAttribute(this.i, 'AcsCodeId');\r\n AscCodeTypeId = new DwItemAttribute(this.i, 'AscCodeTypeId');\r\n AcsCode = new DwItemAttribute(this.i, 'AcsCode');\r\n AcsCodeOrder = new DwItemAttribute(this.i, 'AcsCodeOrder');\r\n AcsAreaOfOperationTaskId = new DwItemAttribute(this.i, 'AcsAreaOfOperationTaskId');\r\n AscCodeDescription = new DwItemAttribute(this.i, 'AscCodeDescription');\r\n CreatedBy = new DwItemAttribute(this.i, 'CreatedBy');\r\n CreatedDateTime = new DwItemAttribute(this.i, 'CreatedDateTime');\r\n ModifiedBy = new DwItemAttribute(this.i, 'ModifiedBy');\r\n ModifiedDateTime = new DwItemAttribute(this.i, 'ModifiedDateTime');\r\n TaskTaskName = new DwItemAttribute('AcsAreaOfOperationTask', 'TaskTaskName');\r\n TaskTaskOrder = new DwItemAttribute('AcsAreaOfOperationTask', 'TaskTaskOrder');\r\n TaskTaskCode = new DwItemAttribute('AcsAreaOfOperationTask', 'TaskTaskCode');\r\n TaskAcsAreaOfOperationId = new DwItemAttribute('AcsAreaOfOperationTask', 'TaskAcsAreaOfOperationId');\r\n AcsAreaOfOperationAreaOfOperationName = new DwItemAttribute('AcsAreaOfOperation', 'AcsAreaOfOperationAreaOfOperationName');\r\n AcsAreaOfOperationAreaOfOperationOrder = new DwItemAttribute('AcsAreaOfOperation', 'AcsAreaOfOperationAreaOfOperationOrder');\r\n AcsAreaOfOperationAreaOfOperationCode = new DwItemAttribute('AcsAreaOfOperation', 'AcsAreaOfOperationAreaOfOperationCode');\r\n AcsAreaOfOperationAcsTestId = new DwItemAttribute('AcsAreaOfOperation', 'AcsAreaOfOperationAcsTestId');\r\n AcsTestTestName = new DwItemAttribute('AcsTest', 'AcsTestTestName');\r\n AcsTestTestDescription = new DwItemAttribute('AcsTest', 'AcsTestTestDescription');\r\n AcsTestCheckRideGroupId = new DwItemAttribute('AcsTest', 'AcsTestCheckRideGroupId');\r\n AcsTestTestCode = new DwItemAttribute('AcsTest', 'AcsTestTestCode');\r\n}\r\nexport class AcsCodesWithQuestionsQueryMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n QueryMeaning = 'Acs_Codes_With_Questions';\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1201;\r\n this.ItemDetail.itemName='AcsCode';\r\n this.ItemDetail.keyName='AcsCodeId';\r\n }\r\n\r\n CreateEntity(): AcsCodesWithQuestionsQueryEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilderFromQuery(query: DwQuery): AcsCodesWithQuestionsQueryBuilder {\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n\r\n CreateQueryBuilder(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable {\r\n return this.CreateQueryBuilderWithMetaData(dwMetaDataService).pipe(map(result => result.queryBuilder));\r\n }\r\n\r\n CreateQueryBuilderWithMetaData(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable<{queryMetaData: EnterpriseMetaData.DwQueryMetaData, queryBuilder: AcsCodesWithQuestionsQueryBuilder}> {\r\n return dwMetaDataService.getSavedQueryMetaData(this.ItemDetail.itemName, null, this.QueryMeaning).pipe(map(queryMetaData =>\r\n {\r\n return { queryMetaData: queryMetaData, queryBuilder: new DwQueryBuilderGen(queryMetaData.DataQuery, this) };\r\n }));\r\n }\r\n Attributes = new AcsCodesWithQuestionsQueryMetaDataAttributes();\r\n Relations = new AcsCodeMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type AcsCodesWithQuestionsQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class AcsCodesWithQuestionsQueryMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'AcsCode';\r\n // Attributes\r\n AcsCodeId = new DwItemAttribute(this.i, 'AcsCodeId');\r\n AscCodeTypeId = new DwItemAttribute(this.i, 'AscCodeTypeId');\r\n AcsCode = new DwItemAttribute(this.i, 'AcsCode');\r\n AcsCodeOrder = new DwItemAttribute(this.i, 'AcsCodeOrder');\r\n AcsAreaOfOperationTaskId = new DwItemAttribute(this.i, 'AcsAreaOfOperationTaskId');\r\n AscCodeDescription = new DwItemAttribute(this.i, 'AscCodeDescription');\r\n AcsAreaOfOperationTaskAcsAreaOfOperationTaskId = new DwItemAttribute('AcsAreaOfOperationTask', 'AcsAreaOfOperationTaskAcsAreaOfOperationTaskId');\r\n AcsAreaOfOperationTaskAcsAreaOfOperationId = new DwItemAttribute('AcsAreaOfOperationTask', 'AcsAreaOfOperationTaskAcsAreaOfOperationId');\r\n AcsAreaOfOperationTaskTaskName = new DwItemAttribute('AcsAreaOfOperationTask', 'AcsAreaOfOperationTaskTaskName');\r\n AcsAreaOfOperationTaskTaskOrder = new DwItemAttribute('AcsAreaOfOperationTask', 'AcsAreaOfOperationTaskTaskOrder');\r\n AcsAreaOfOperationTaskTaskCode = new DwItemAttribute('AcsAreaOfOperationTask', 'AcsAreaOfOperationTaskTaskCode');\r\n AcsAreaOfOperationAcsTestId = new DwItemAttribute('AcsAreaOfOperation', 'AcsAreaOfOperationAcsTestId');\r\n AcsAreaOfOperationAreaOfOperationName = new DwItemAttribute('AcsAreaOfOperation', 'AcsAreaOfOperationAreaOfOperationName');\r\n AcsAreaOfOperationAreaOfOperationOrder = new DwItemAttribute('AcsAreaOfOperation', 'AcsAreaOfOperationAreaOfOperationOrder');\r\n AcsAreaOfOperationAreaOfOperationCode = new DwItemAttribute('AcsAreaOfOperation', 'AcsAreaOfOperationAreaOfOperationCode');\r\n AcsAreaOfOperationAcsAreaOfOperationId = new DwItemAttribute('AcsAreaOfOperation', 'AcsAreaOfOperationAcsAreaOfOperationId');\r\n QuestionBankQuestionBankId = new DwItemAttribute('QuestionBank', 'QuestionBankQuestionBankId');\r\n QuestionBankIsBuiltIn = new DwItemAttribute('QuestionBank', 'QuestionBankIsBuiltIn');\r\n QuestionBankIsShared = new DwItemAttribute('QuestionBank', 'QuestionBankIsShared');\r\n QuestionBankOwnerUserId = new DwItemAttribute('QuestionBank', 'QuestionBankOwnerUserId');\r\n QuestionBankAcsTestId = new DwItemAttribute('QuestionBank', 'QuestionBankAcsTestId');\r\n QuestionBankAcsCodeId = new DwItemAttribute('QuestionBank', 'QuestionBankAcsCodeId');\r\n QuestionBankQuestionHtml = new DwItemAttribute('QuestionBank', 'QuestionBankQuestionHtml');\r\n QuestionBankQuestionShortName = new DwItemAttribute('QuestionBank', 'QuestionBankQuestionShortName');\r\n}\r\nexport class CheckrideGroupACSTestQueryMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n QueryMeaning = 'Checkride_Group_ACS_Test';\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1134;\r\n this.ItemDetail.itemName='CheckRideGroup';\r\n this.ItemDetail.keyName='CheckRideGroupId';\r\n }\r\n\r\n CreateEntity(): CheckrideGroupACSTestQueryEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilderFromQuery(query: DwQuery): CheckrideGroupACSTestQueryBuilder {\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n\r\n CreateQueryBuilder(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable {\r\n return this.CreateQueryBuilderWithMetaData(dwMetaDataService).pipe(map(result => result.queryBuilder));\r\n }\r\n\r\n CreateQueryBuilderWithMetaData(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable<{queryMetaData: EnterpriseMetaData.DwQueryMetaData, queryBuilder: CheckrideGroupACSTestQueryBuilder}> {\r\n return dwMetaDataService.getSavedQueryMetaData(this.ItemDetail.itemName, null, this.QueryMeaning).pipe(map(queryMetaData =>\r\n {\r\n return { queryMetaData: queryMetaData, queryBuilder: new DwQueryBuilderGen(queryMetaData.DataQuery, this) };\r\n }));\r\n }\r\n Attributes = new CheckrideGroupACSTestQueryMetaDataAttributes();\r\n Relations = new CheckRideGroupMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type CheckrideGroupACSTestQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class CheckrideGroupACSTestQueryMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'CheckRideGroup';\r\n // Attributes\r\n CheckRideGroupId = new DwItemAttribute(this.i, 'CheckRideGroupId');\r\n AviationAuthorityId = new DwItemAttribute(this.i, 'AviationAuthorityId');\r\n CheckRideGroup = new DwItemAttribute(this.i, 'CheckRideGroup');\r\n GroupOrder = new DwItemAttribute(this.i, 'GroupOrder');\r\n AcsTestAcsTestId = new DwItemAttribute('AcsTest', 'AcsTestAcsTestId');\r\n AcsTestAcsTestStatusId = new DwItemAttribute('AcsTest', 'AcsTestAcsTestStatusId');\r\n AcsTestCheckRideGroupId = new DwItemAttribute('AcsTest', 'AcsTestCheckRideGroupId');\r\n AcsTestTestCode = new DwItemAttribute('AcsTest', 'AcsTestTestCode');\r\n AcsTestTestDescription = new DwItemAttribute('AcsTest', 'AcsTestTestDescription');\r\n AcsTestTestExpirationDate = new DwItemAttribute('AcsTest', 'AcsTestTestExpirationDate');\r\n AcsTestTestName = new DwItemAttribute('AcsTest', 'AcsTestTestName');\r\n}\r\nexport class PlanOfActionDetailsQueryMetaData implements DwItem2 {\r\n ItemDetail: DwItemDetail2 = new DwItemDetail2();\r\n QueryMeaning = 'Plan_of_Action_Details';\r\n\r\n constructor() {\r\n this.ItemDetail.itemId=1230;\r\n this.ItemDetail.itemName='roPlanOfActionDetails';\r\n this.ItemDetail.keyName='PlanOfActionId';\r\n }\r\n\r\n CreateEntity(): PlanOfActionDetailsQueryEntity {\r\n return {\r\n _itemName: this.ItemDetail.itemName,\r\n _keyName: this.ItemDetail.keyName\r\n };\r\n }\r\n\r\n CreateQueryBuilderFromQuery(query: DwQuery): PlanOfActionDetailsQueryBuilder {\r\n return new DwQueryBuilderGen(query, this);\r\n }\r\n\r\n CreateQueryBuilder(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable {\r\n return this.CreateQueryBuilderWithMetaData(dwMetaDataService).pipe(map(result => result.queryBuilder));\r\n }\r\n\r\n CreateQueryBuilderWithMetaData(dwMetaDataService: EnterpriseMetaData.DwMetaDataService): Observable<{queryMetaData: EnterpriseMetaData.DwQueryMetaData, queryBuilder: PlanOfActionDetailsQueryBuilder}> {\r\n return dwMetaDataService.getSavedQueryMetaData(this.ItemDetail.itemName, null, this.QueryMeaning).pipe(map(queryMetaData =>\r\n {\r\n return { queryMetaData: queryMetaData, queryBuilder: new DwQueryBuilderGen(queryMetaData.DataQuery, this) };\r\n }));\r\n }\r\n Attributes = new PlanOfActionDetailsQueryMetaDataAttributes();\r\n Relations = new RoPlanOfActionDetailsMetaDataRelations();\r\n\r\n}\r\n\r\n\r\nexport type PlanOfActionDetailsQueryBuilder = DwQueryBuilderGen\r\n\r\n\r\nexport class PlanOfActionDetailsQueryMetaDataAttributes implements DwItemAttributeCollection {\r\n //shortcut to item name - to reduce file size\r\n private i : string = 'roPlanOfActionDetails';\r\n // Attributes\r\n PlanOfActionId = new DwItemAttribute(this.i, 'PlanOfActionId');\r\n PlanOfActionName = new DwItemAttribute(this.i, 'PlanOfActionName');\r\n ApplicantFinalName = new DwItemAttribute(this.i, 'ApplicantFinalName');\r\n ApplicantFinalEmail = new DwItemAttribute(this.i, 'ApplicantFinalEmail');\r\n ApplicationFinalPhone = new DwItemAttribute(this.i, 'ApplicationFinalPhone');\r\n CheckRideFinalDateTime = new DwItemAttribute(this.i, 'CheckRideFinalDateTime');\r\n CheckRideFinalAirportId = new DwItemAttribute(this.i, 'CheckRideFinalAirportId');\r\n CheckRideFinalGroupId = new DwItemAttribute(this.i, 'CheckRideFinalGroupId');\r\n CheckRideFInalTypeId = new DwItemAttribute(this.i, 'CheckRideFInalTypeId');\r\n CheckRideFinalTestTypeId = new DwItemAttribute(this.i, 'CheckRideFinalTestTypeId');\r\n}\r\n\r\n\r\n// Generated Query Classes for MetaData Service\r\n\r\nclass MetaDataQueries {\r\n PilotExaminerSearch : PilotExaminerSearchQueryMetaData = new PilotExaminerSearchQueryMetaData();\r\n PilotExaminerCalendarReference : PilotExaminerCalendarReferenceQueryMetaData = new PilotExaminerCalendarReferenceQueryMetaData();\r\n CheckRideRequestCalendar : CheckRideRequestCalendarQueryMetaData = new CheckRideRequestCalendarQueryMetaData();\r\n PilotExaminerCurrentAirports : PilotExaminerCurrentAirportsQueryMetaData = new PilotExaminerCurrentAirportsQueryMetaData();\r\n PilotExaminerPublicProfile : PilotExaminerPublicProfileQueryMetaData = new PilotExaminerPublicProfileQueryMetaData();\r\n StudentApplicantWithDetail : StudentApplicantWithDetailQueryMetaData = new StudentApplicantWithDetailQueryMetaData();\r\n AirportWithAddressInfo : AirportWithAddressInfoQueryMetaData = new AirportWithAddressInfoQueryMetaData();\r\n CheckrideRequestAggregateBase : CheckrideRequestAggregateBaseQueryMetaData = new CheckrideRequestAggregateBaseQueryMetaData();\r\n CheckrideActiveApplicantCheckrides : CheckrideActiveApplicantCheckridesQueryMetaData = new CheckrideActiveApplicantCheckridesQueryMetaData();\r\n AcsCodesLookup : AcsCodesLookupQueryMetaData = new AcsCodesLookupQueryMetaData();\r\n AcsCodesGrid : AcsCodesGridQueryMetaData = new AcsCodesGridQueryMetaData();\r\n AcsCodesWithQuestions : AcsCodesWithQuestionsQueryMetaData = new AcsCodesWithQuestionsQueryMetaData();\r\n CheckrideGroupACSTest : CheckrideGroupACSTestQueryMetaData = new CheckrideGroupACSTestQueryMetaData();\r\n PlanOfActionDetails : PlanOfActionDetailsQueryMetaData = new PlanOfActionDetailsQueryMetaData();\r\n}\r\n\r\nexport class AppMetaData {\r\n\r\n static AcsAreaOfOperation : AcsAreaOfOperationMetaData = new AcsAreaOfOperationMetaData();\r\n static AcsAreaOfOperationTask : AcsAreaOfOperationTaskMetaData = new AcsAreaOfOperationTaskMetaData();\r\n static AcsCode : AcsCodeMetaData = new AcsCodeMetaData();\r\n static AcsCodeLookupRequest : AcsCodeLookupRequestMetaData = new AcsCodeLookupRequestMetaData();\r\n static AcsCodeSelectionMode : AcsCodeSelectionModeMetaData = new AcsCodeSelectionModeMetaData();\r\n static AcsCodeType : AcsCodeTypeMetaData = new AcsCodeTypeMetaData();\r\n static AcsTest : AcsTestMetaData = new AcsTestMetaData();\r\n static AcsTestCheckRideType : AcsTestCheckRideTypeMetaData = new AcsTestCheckRideTypeMetaData();\r\n static AcsTestPortion : AcsTestPortionMetaData = new AcsTestPortionMetaData();\r\n static AcsTestStatus : AcsTestStatusMetaData = new AcsTestStatusMetaData();\r\n static Address : AddressMetaData = new AddressMetaData();\r\n static Airport : AirportMetaData = new AirportMetaData();\r\n static ApplicantAcsWrittenResult : ApplicantAcsWrittenResultMetaData = new ApplicantAcsWrittenResultMetaData();\r\n static ApplicantAcsWrittenResultMissedCode : ApplicantAcsWrittenResultMissedCodeMetaData = new ApplicantAcsWrittenResultMissedCodeMetaData();\r\n static ApplicantPlaceholder : ApplicantPlaceholderMetaData = new ApplicantPlaceholderMetaData();\r\n static ApplicantPlaceholderStatus : ApplicantPlaceholderStatusMetaData = new ApplicantPlaceholderStatusMetaData();\r\n static AviationAuthority : AviationAuthorityMetaData = new AviationAuthorityMetaData();\r\n static AviationAuthorityDistrictOffice : AviationAuthorityDistrictOfficeMetaData = new AviationAuthorityDistrictOfficeMetaData();\r\n static AviationTrainingProgram : AviationTrainingProgramMetaData = new AviationTrainingProgramMetaData();\r\n static CalendarEventReference : CalendarEventReferenceMetaData = new CalendarEventReferenceMetaData();\r\n static CalendarReference : CalendarReferenceMetaData = new CalendarReferenceMetaData();\r\n static CalendarReferenceLog : CalendarReferenceLogMetaData = new CalendarReferenceLogMetaData();\r\n static CalendarReferenceType : CalendarReferenceTypeMetaData = new CalendarReferenceTypeMetaData();\r\n static CheckRideApplicantType : CheckRideApplicantTypeMetaData = new CheckRideApplicantTypeMetaData();\r\n static CheckRideCancellationType : CheckRideCancellationTypeMetaData = new CheckRideCancellationTypeMetaData();\r\n static CheckRideGroup : CheckRideGroupMetaData = new CheckRideGroupMetaData();\r\n static CheckRideOutcome : CheckRideOutcomeMetaData = new CheckRideOutcomeMetaData();\r\n static CheckRidePayment : CheckRidePaymentMetaData = new CheckRidePaymentMetaData();\r\n static CheckRideRequest : CheckRideRequestMetaData = new CheckRideRequestMetaData();\r\n static CheckRideRequestPaymentParty : CheckRideRequestPaymentPartyMetaData = new CheckRideRequestPaymentPartyMetaData();\r\n static CheckRideRequestStatus : CheckRideRequestStatusMetaData = new CheckRideRequestStatusMetaData();\r\n static CheckRideRequestSubStatus : CheckRideRequestSubStatusMetaData = new CheckRideRequestSubStatusMetaData();\r\n static CheckRideResult : CheckRideResultMetaData = new CheckRideResultMetaData();\r\n static CheckRideScenario : CheckRideScenarioMetaData = new CheckRideScenarioMetaData();\r\n static CheckRideScenarioTypeMap : CheckRideScenarioTypeMapMetaData = new CheckRideScenarioTypeMapMetaData();\r\n static CheckRideStatusLevel : CheckRideStatusLevelMetaData = new CheckRideStatusLevelMetaData();\r\n static CheckRideTestType : CheckRideTestTypeMetaData = new CheckRideTestTypeMetaData();\r\n static CheckRideType : CheckRideTypeMetaData = new CheckRideTypeMetaData();\r\n static Country : CountryMetaData = new CountryMetaData();\r\n static Duration : DurationMetaData = new DurationMetaData();\r\n static FlightSchool : FlightSchoolMetaData = new FlightSchoolMetaData();\r\n static DwMediaGroup : DwMediaGroupMetaData = new DwMediaGroupMetaData();\r\n static PaymentCustomerReference : PaymentCustomerReferenceMetaData = new PaymentCustomerReferenceMetaData();\r\n static PaymentDiscountCode : PaymentDiscountCodeMetaData = new PaymentDiscountCodeMetaData();\r\n static PaymentMethod : PaymentMethodMetaData = new PaymentMethodMetaData();\r\n static PaymentProvider : PaymentProviderMetaData = new PaymentProviderMetaData();\r\n static PaymentReference : PaymentReferenceMetaData = new PaymentReferenceMetaData();\r\n static PaymentReferenceCardType : PaymentReferenceCardTypeMetaData = new PaymentReferenceCardTypeMetaData();\r\n static PaymentReferenceHistory : PaymentReferenceHistoryMetaData = new PaymentReferenceHistoryMetaData();\r\n static PaymentReferenceStatus : PaymentReferenceStatusMetaData = new PaymentReferenceStatusMetaData();\r\n static PaymentType : PaymentTypeMetaData = new PaymentTypeMetaData();\r\n static PilotCertificateType : PilotCertificateTypeMetaData = new PilotCertificateTypeMetaData();\r\n static PilotExaminer : PilotExaminerMetaData = new PilotExaminerMetaData();\r\n static PilotExaminerLocation : PilotExaminerLocationMetaData = new PilotExaminerLocationMetaData();\r\n static PilotExaminerLocationAirport : PilotExaminerLocationAirportMetaData = new PilotExaminerLocationAirportMetaData();\r\n static PilotExaminerLocationState : PilotExaminerLocationStateMetaData = new PilotExaminerLocationStateMetaData();\r\n static PilotExaminerLocationType : PilotExaminerLocationTypeMetaData = new PilotExaminerLocationTypeMetaData();\r\n static PilotExaminerStatus : PilotExaminerStatusMetaData = new PilotExaminerStatusMetaData();\r\n static PlanOfAction : PlanOfActionMetaData = new PlanOfActionMetaData();\r\n static PlanOfActionQuestionResult : PlanOfActionQuestionResultMetaData = new PlanOfActionQuestionResultMetaData();\r\n static PlanOfActionRequiredAcsCode : PlanOfActionRequiredAcsCodeMetaData = new PlanOfActionRequiredAcsCodeMetaData();\r\n static PlanOfActionResult : PlanOfActionResultMetaData = new PlanOfActionResultMetaData();\r\n static PlanOfActionSection : PlanOfActionSectionMetaData = new PlanOfActionSectionMetaData();\r\n static PlanOfActionSectionQuestion : PlanOfActionSectionQuestionMetaData = new PlanOfActionSectionQuestionMetaData();\r\n static PlanOfActionSectionType : PlanOfActionSectionTypeMetaData = new PlanOfActionSectionTypeMetaData();\r\n static PlanOfActionStatus : PlanOfActionStatusMetaData = new PlanOfActionStatusMetaData();\r\n static PlanOfActionStatusType : PlanOfActionStatusTypeMetaData = new PlanOfActionStatusTypeMetaData();\r\n static PostalCode : PostalCodeMetaData = new PostalCodeMetaData();\r\n static QuestionBank : QuestionBankMetaData = new QuestionBankMetaData();\r\n static QuestionOutcome : QuestionOutcomeMetaData = new QuestionOutcomeMetaData();\r\n static RoAirportDistances : RoAirportDistancesMetaData = new RoAirportDistancesMetaData();\r\n static RoCheckrideAggregateUtil : RoCheckrideAggregateUtilMetaData = new RoCheckrideAggregateUtilMetaData();\r\n static RoCheckrideApplicantFinalName : RoCheckrideApplicantFinalNameMetaData = new RoCheckrideApplicantFinalNameMetaData();\r\n static RoCheckRidePaymentAggregate : RoCheckRidePaymentAggregateMetaData = new RoCheckRidePaymentAggregateMetaData();\r\n static RoCheckrideRequestScheduleDateInfo : RoCheckrideRequestScheduleDateInfoMetaData = new RoCheckrideRequestScheduleDateInfoMetaData();\r\n static DwRoMedia : DwRoMediaMetaData = new DwRoMediaMetaData();\r\n static RoPilotExaminerLocationCurrent : RoPilotExaminerLocationCurrentMetaData = new RoPilotExaminerLocationCurrentMetaData();\r\n static RoPilotExaminerLocationDistances : RoPilotExaminerLocationDistancesMetaData = new RoPilotExaminerLocationDistancesMetaData();\r\n static RoPilotExaminerScenario : RoPilotExaminerScenarioMetaData = new RoPilotExaminerScenarioMetaData();\r\n static RoPlanOfActionDetails : RoPlanOfActionDetailsMetaData = new RoPlanOfActionDetailsMetaData();\r\n static Schedule : ScheduleMetaData = new ScheduleMetaData();\r\n static ScheduleDayOfWeek : ScheduleDayOfWeekMetaData = new ScheduleDayOfWeekMetaData();\r\n static ScheduleDetail : ScheduleDetailMetaData = new ScheduleDetailMetaData();\r\n static StateProvince : StateProvinceMetaData = new StateProvinceMetaData();\r\n static StudentApplicant : StudentApplicantMetaData = new StudentApplicantMetaData();\r\n static TimeZone : TimeZoneMetaData = new TimeZoneMetaData();\r\n static DwUser : DwUserMetaData = new DwUserMetaData();\r\n static DwUserType : DwUserTypeMetaData = new DwUserTypeMetaData();\r\n static Queries = new MetaDataQueries();\r\n}\r\n// Generated Entity Interfaces\r\nexport interface AcsAreaOfOperationEntity extends DwOrmData {\r\n // Attributes\r\n AcsAreaOfOperationId?: number;\r\n AcsTestId?: number;\r\n AreaOfOperationName?: string;\r\n AreaOfOperationOrder?: number;\r\n AreaOfOperationCode?: string;\r\n AcsTestPortionId?: number;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n\r\n // Display Attributes\r\n AcsTestIdDisplay?: string;\r\n AcsTestPortionIdDisplay?: string;\r\n\r\n // Relations\r\n AcsTest? : AcsTestEntity;\r\n AcsTestPortion? : AcsTestPortionEntity;\r\n AcsAreaOfOperationTask? : AcsAreaOfOperationTaskEntity[];\r\n PlanOfActionSection? : PlanOfActionSectionEntity[];\r\n}\r\n\r\nexport interface AcsAreaOfOperationTaskEntity extends DwOrmData {\r\n // Attributes\r\n AcsAreaOfOperationTaskId?: number;\r\n AcsAreaOfOperationId?: number;\r\n TaskName?: string;\r\n TaskOrder?: number;\r\n TaskCode?: string;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n\r\n // Display Attributes\r\n AcsAreaOfOperationIdDisplay?: string;\r\n\r\n // Relations\r\n AcsAreaOfOperation? : AcsAreaOfOperationEntity;\r\n AcsCode? : AcsCodeEntity[];\r\n PlanOfActionSection? : PlanOfActionSectionEntity[];\r\n}\r\n\r\nexport interface AcsCodeEntity extends DwOrmData {\r\n // Attributes\r\n AcsCodeId?: number;\r\n AscCodeTypeId?: number;\r\n AcsCode?: string;\r\n AcsCodeOrder?: number;\r\n AcsAreaOfOperationTaskId?: number;\r\n AscCodeDescription?: string;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n\r\n // Display Attributes\r\n AscCodeTypeIdDisplay?: string;\r\n AcsAreaOfOperationTaskIdDisplay?: string;\r\n\r\n // Relations\r\n AcsAreaOfOperationTask? : AcsAreaOfOperationTaskEntity;\r\n AscCodeTypeIdAcsCodeType? : AcsCodeTypeEntity;\r\n ApplicantAcsWrittenResultMissedCode? : ApplicantAcsWrittenResultMissedCodeEntity[];\r\n PlanOfActionRequiredAcsCode? : PlanOfActionRequiredAcsCodeEntity[];\r\n PlanOfActionSectionQuestion? : PlanOfActionSectionQuestionEntity[];\r\n QuestionBank? : QuestionBankEntity[];\r\n}\r\n\r\nexport interface AcsCodeLookupRequestEntity extends DwOrmData {\r\n // Attributes\r\n AcsCodeLookupRequestId?: number;\r\n EmailAddress?: string;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ApplicantAcsWrittenResultId?: number;\r\n EmailNotes?: string;\r\n\r\n // Display Attributes\r\n ApplicantAcsWrittenResultIdDisplay?: string;\r\n\r\n // Relations\r\n ApplicantAcsWrittenResult? : ApplicantAcsWrittenResultEntity;\r\n}\r\n\r\nexport interface AcsCodeSelectionModeEntity extends DwOrmData {\r\n // Attributes\r\n AcsCodeSelectionModeId?: number;\r\n AcsCodeSelectionMode?: string;\r\n\r\n\r\n // Relations\r\n}\r\n\r\nexport interface AcsCodeTypeEntity extends DwOrmData {\r\n // Attributes\r\n AcsCodeTypeId?: number;\r\n AcsCodeTypeName?: string;\r\n AcsCodeTypeShortName?: string;\r\n\r\n\r\n // Relations\r\n AscCodeTypeIdAcsCode? : AcsCodeEntity[];\r\n}\r\n\r\nexport interface AcsTestEntity extends DwOrmData {\r\n // Attributes\r\n AcsTestId?: number;\r\n TestName?: string;\r\n TestDescription?: string;\r\n CheckRideGroupId?: number;\r\n TestCode?: string;\r\n TestExpirationDate?: string;\r\n AcsTestStatusId?: number;\r\n AcsTestPdfMediaId?: number;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n\r\n // Display Attributes\r\n CheckRideGroupIdDisplay?: string;\r\n AcsTestStatusIdDisplay?: string;\r\n\r\n // Relations\r\n AcsTestStatus? : AcsTestStatusEntity;\r\n CheckRideGroup? : CheckRideGroupEntity;\r\n AcsAreaOfOperation? : AcsAreaOfOperationEntity[];\r\n AcsTestCheckRideType? : AcsTestCheckRideTypeEntity[];\r\n ApplicantAcsWrittenResult? : ApplicantAcsWrittenResultEntity[];\r\n PlanOfAction? : PlanOfActionEntity[];\r\n QuestionBank? : QuestionBankEntity[];\r\n}\r\n\r\nexport interface AcsTestCheckRideTypeEntity extends DwOrmData {\r\n // Attributes\r\n AcsTestCheckRideTypeId?: number;\r\n AcsTestId?: number;\r\n CheckRideTypeId?: number;\r\n\r\n // Display Attributes\r\n AcsTestIdDisplay?: string;\r\n CheckRideTypeIdDisplay?: string;\r\n\r\n // Relations\r\n AcsTest? : AcsTestEntity;\r\n CheckRideType? : CheckRideTypeEntity;\r\n}\r\n\r\nexport interface AcsTestPortionEntity extends DwOrmData {\r\n // Attributes\r\n AcsTestPortionId?: number;\r\n AcsTestPortion?: string;\r\n HeaderClass?: string;\r\n IconClass?: string;\r\n AcsTestPortionOrder?: number;\r\n AllowAcsSections?: boolean;\r\n\r\n\r\n // Relations\r\n AcsAreaOfOperation? : AcsAreaOfOperationEntity[];\r\n PlanOfActionSection? : PlanOfActionSectionEntity[];\r\n PlanOfActionSectionType? : PlanOfActionSectionTypeEntity[];\r\n}\r\n\r\nexport interface AcsTestStatusEntity extends DwOrmData {\r\n // Attributes\r\n AcsTestStatusId?: number;\r\n AcsTestStatus?: string;\r\n\r\n\r\n // Relations\r\n AcsTest? : AcsTestEntity[];\r\n}\r\n\r\nexport interface AddressEntity extends DwOrmData {\r\n // Attributes\r\n AddressId?: number;\r\n StreetAddress1?: string;\r\n StreetAddress2?: string;\r\n City?: string;\r\n StateProvinceId?: number;\r\n CountryId?: number;\r\n CountyName?: string;\r\n PostalCode?: string;\r\n PostalCodePlus4?: string;\r\n Phone?: string;\r\n Fax?: string;\r\n Latitude?: number;\r\n Longitude?: number;\r\n CreatedDateTime?: string;\r\n CreatedBy?: number;\r\n ModifiedDateTime?: string;\r\n ModifiedBy?: number;\r\n TimezoneId?: number;\r\n ObservesDst?: boolean;\r\n\r\n // Display Attributes\r\n StateProvinceIdDisplay?: string;\r\n CountryIdDisplay?: string;\r\n TimezoneIdDisplay?: string;\r\n\r\n // Relations\r\n Country? : CountryEntity;\r\n StateProvince? : StateProvinceEntity;\r\n TimeZone? : TimeZoneEntity;\r\n AirportAirport? : AirportEntity[];\r\n ApplicantStudentApplicant? : StudentApplicantEntity[];\r\n}\r\n\r\nexport interface AirportEntity extends DwOrmData {\r\n // Attributes\r\n AirportId?: number;\r\n AviationAuthorityId?: number;\r\n AirportName?: string;\r\n AirportCode?: string;\r\n AirportAddressId?: number;\r\n Elevation?: number;\r\n OwnershipCode?: string;\r\n IsActive?: boolean;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n\r\n // Display Attributes\r\n AviationAuthorityIdDisplay?: string;\r\n AirportAddressIdDisplay?: string;\r\n\r\n // Relations\r\n AirportAddress? : AddressEntity;\r\n AviationAuthority? : AviationAuthorityEntity;\r\n PreferredApplicantPlaceholder? : ApplicantPlaceholderEntity[];\r\n ScheduledCheckRideRequest? : CheckRideRequestEntity[];\r\n PreferredCheckRideRequest? : CheckRideRequestEntity[];\r\n ProposedCheckRideRequest? : CheckRideRequestEntity[];\r\n PilotExaminerLocationAirport? : PilotExaminerLocationAirportEntity[];\r\n CheckRidePlanOfAction? : PlanOfActionEntity[];\r\n RoPilotExaminerLocationDistances? : RoPilotExaminerLocationDistancesEntity[];\r\n MainStudentApplicant? : StudentApplicantEntity[];\r\n}\r\n\r\nexport interface ApplicantAcsWrittenResultEntity extends DwOrmData {\r\n // Attributes\r\n ApplicantAcsWrittenResultId?: number;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n AcsTestId?: number;\r\n\r\n // Display Attributes\r\n AcsTestIdDisplay?: string;\r\n\r\n // Relations\r\n AcsTest? : AcsTestEntity;\r\n AcsCodeLookupRequest? : AcsCodeLookupRequestEntity[];\r\n ApplicantAcsWrittenResultMissedCode? : ApplicantAcsWrittenResultMissedCodeEntity[];\r\n CheckRideRequest? : CheckRideRequestEntity[];\r\n PlanOfAction? : PlanOfActionEntity[];\r\n}\r\n\r\nexport interface ApplicantAcsWrittenResultMissedCodeEntity extends DwOrmData {\r\n // Attributes\r\n ApplicantAcsWrittenResultMissedCodeId?: number;\r\n ApplicantAcsWrittenResultId?: number;\r\n AcsCodeId?: number;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n\r\n // Display Attributes\r\n ApplicantAcsWrittenResultIdDisplay?: string;\r\n AcsCodeIdDisplay?: string;\r\n\r\n // Relations\r\n AcsCode? : AcsCodeEntity;\r\n ApplicantAcsWrittenResult? : ApplicantAcsWrittenResultEntity;\r\n}\r\n\r\nexport interface ApplicantPlaceholderEntity extends DwOrmData {\r\n // Attributes\r\n ApplicantPlaceholderId?: number;\r\n ApplicantPlaceholderStatusId?: number;\r\n PilotExaminerId?: number;\r\n StudentApplicantId?: number;\r\n CheckRideApplicantTypeId?: number;\r\n StudentApplicantNameManual?: string;\r\n StudentApplicantEmailManual?: string;\r\n StudentApplicantPhoneManual?: string;\r\n AviationAuthorityId?: number;\r\n CheckRideGroupId?: number;\r\n CheckRideTypeId?: number;\r\n PreferredAirportId?: number;\r\n PreferredDateTime?: string;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n PilotCertificateNumber?: string;\r\n FlightSchoolName?: string;\r\n FlightInstructorName?: string;\r\n PrivateNotes?: string;\r\n CheckRideTestTypeId?: number;\r\n FlightSchoolId?: number;\r\n FlightSchoolNameOther?: string;\r\n AuthorityPreCheckRideNumber?: string;\r\n StudentApplicantCitizenshipCountyId?: number;\r\n AviationTrainingProgramId?: number;\r\n OriginalCheckRideRequestId?: number;\r\n FlightInstructorEmail?: string;\r\n FlightInstructorPhone?: string;\r\n LastContactDateTime?: string;\r\n RankingDateTime?: string;\r\n\r\n // Display Attributes\r\n ApplicantPlaceholderStatusIdDisplay?: string;\r\n PilotExaminerIdDisplay?: string;\r\n StudentApplicantIdDisplay?: string;\r\n CheckRideApplicantTypeIdDisplay?: string;\r\n AviationAuthorityIdDisplay?: string;\r\n CheckRideGroupIdDisplay?: string;\r\n CheckRideTypeIdDisplay?: string;\r\n PreferredAirportIdDisplay?: string;\r\n CreatedByDisplay?: string;\r\n CheckRideTestTypeIdDisplay?: string;\r\n FlightSchoolIdDisplay?: string;\r\n StudentApplicantCitizenshipCountyIdDisplay?: string;\r\n AviationTrainingProgramIdDisplay?: string;\r\n\r\n // Relations\r\n PreferredAirport? : AirportEntity;\r\n ApplicantPlaceholderStatus? : ApplicantPlaceholderStatusEntity;\r\n AviationAuthority? : AviationAuthorityEntity;\r\n AviationTrainingProgram? : AviationTrainingProgramEntity;\r\n CheckRideApplicantType? : CheckRideApplicantTypeEntity;\r\n CheckRideGroup? : CheckRideGroupEntity;\r\n CheckRideTestType? : CheckRideTestTypeEntity;\r\n CheckRideType? : CheckRideTypeEntity;\r\n StudentApplicantCitizenshipCountyIdCountry? : CountryEntity;\r\n FlightSchool? : FlightSchoolEntity;\r\n PilotExaminer? : PilotExaminerEntity;\r\n StudentApplicant? : StudentApplicantEntity;\r\n CheckRideRequest? : CheckRideRequestEntity[];\r\n}\r\n\r\nexport interface ApplicantPlaceholderStatusEntity extends DwOrmData {\r\n // Attributes\r\n ApplicantPlaceholderStatusId?: number;\r\n ApplicantPlaceholderStatus?: string;\r\n\r\n\r\n // Relations\r\n ApplicantPlaceholder? : ApplicantPlaceholderEntity[];\r\n}\r\n\r\nexport interface AviationAuthorityEntity extends DwOrmData {\r\n // Attributes\r\n AviationAuthorityId?: number;\r\n AuthorityName?: string;\r\n\r\n\r\n // Relations\r\n Airport? : AirportEntity[];\r\n ApplicantPlaceholder? : ApplicantPlaceholderEntity[];\r\n AviationAuthorityDistrictOffice? : AviationAuthorityDistrictOfficeEntity[];\r\n AviationTrainingProgram? : AviationTrainingProgramEntity[];\r\n CheckRideGroup? : CheckRideGroupEntity[];\r\n CheckRideRequest? : CheckRideRequestEntity[];\r\n PilotExaminer? : PilotExaminerEntity[];\r\n PlanOfAction? : PlanOfActionEntity[];\r\n StudentApplicant? : StudentApplicantEntity[];\r\n}\r\n\r\nexport interface AviationAuthorityDistrictOfficeEntity extends DwOrmData {\r\n // Attributes\r\n AviationAuthorityDistrictOfficeId?: number;\r\n AviationAuthorityId?: number;\r\n DistictOfficeName?: string;\r\n PhoneNumber?: string;\r\n\r\n // Display Attributes\r\n AviationAuthorityIdDisplay?: string;\r\n\r\n // Relations\r\n AviationAuthority? : AviationAuthorityEntity;\r\n PilotExaminer? : PilotExaminerEntity[];\r\n}\r\n\r\nexport interface AviationTrainingProgramEntity extends DwOrmData {\r\n // Attributes\r\n AviationTrainingProgramId?: number;\r\n AviationAuthorityId?: number;\r\n TrainingProgramName?: string;\r\n TrainingProgramShortName?: string;\r\n\r\n // Display Attributes\r\n AviationAuthorityIdDisplay?: string;\r\n\r\n // Relations\r\n AviationAuthority? : AviationAuthorityEntity;\r\n ApplicantPlaceholder? : ApplicantPlaceholderEntity[];\r\n AvaiationTrainingProgramIdCheckRideRequest? : CheckRideRequestEntity[];\r\n StudentApplicant? : StudentApplicantEntity[];\r\n}\r\n\r\nexport interface CalendarEventReferenceEntity extends DwOrmData {\r\n // Attributes\r\n CalendarEventReferenceId?: number;\r\n CalendarReferenceId?: number;\r\n EventReferenceKey?: string;\r\n CalendarKey?: string;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n IsCancelled?: boolean;\r\n\r\n // Display Attributes\r\n CalendarReferenceIdDisplay?: string;\r\n\r\n // Relations\r\n CalendarReference? : CalendarReferenceEntity;\r\n CalendarReferenceEventIdCalendarReferenceLog? : CalendarReferenceLogEntity[];\r\n ScheduledCheckRideRequest? : CheckRideRequestEntity[];\r\n}\r\n\r\nexport interface CalendarReferenceEntity extends DwOrmData {\r\n // Attributes\r\n CalendarReferenceId?: number;\r\n CalendarReferenceTypeId?: number;\r\n MainCalendarKey?: string;\r\n RefreshSecretKey?: string;\r\n InitialSecretKey?: string;\r\n CalendarConfigJSON?: string;\r\n CalendarIsSetup?: boolean;\r\n RefreshCount?: number;\r\n LastRefreshDateTime?: string;\r\n CalendarHasErrors?: boolean;\r\n LastCalendarErrorDateTime?: string;\r\n MainCalendarTimezone?: string;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n\r\n // Display Attributes\r\n CalendarReferenceTypeIdDisplay?: string;\r\n\r\n // Relations\r\n CalendarReferenceType? : CalendarReferenceTypeEntity;\r\n CalendarEventReference? : CalendarEventReferenceEntity[];\r\n CalendarReferenceLog? : CalendarReferenceLogEntity[];\r\n PilotExaminer? : PilotExaminerEntity[];\r\n}\r\n\r\nexport interface CalendarReferenceLogEntity extends DwOrmData {\r\n // Attributes\r\n CalendarReferenceLogId?: number;\r\n CalendarReferenceId?: number;\r\n LogId?: number;\r\n CalendarReferenceEventId?: number;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n\r\n // Display Attributes\r\n CalendarReferenceIdDisplay?: string;\r\n LogIdDisplay?: string;\r\n CalendarReferenceEventIdDisplay?: string;\r\n\r\n // Relations\r\n CalendarReferenceEventIdCalendarEventReference? : CalendarEventReferenceEntity;\r\n CalendarReference? : CalendarReferenceEntity;\r\n}\r\n\r\nexport interface CalendarReferenceTypeEntity extends DwOrmData {\r\n // Attributes\r\n CalendarReferenceTypeId?: number;\r\n CalendarReferenceTypeDisplay?: string;\r\n CalendarReferenceTypeMeaning?: string;\r\n\r\n\r\n // Relations\r\n CalendarReference? : CalendarReferenceEntity[];\r\n}\r\n\r\nexport interface CheckRideApplicantTypeEntity extends DwOrmData {\r\n // Attributes\r\n CheckRideApplicantTypeId?: number;\r\n ApplicantType?: string;\r\n\r\n\r\n // Relations\r\n ApplicantPlaceholder? : ApplicantPlaceholderEntity[];\r\n CheckRideRequest? : CheckRideRequestEntity[];\r\n}\r\n\r\nexport interface CheckRideCancellationTypeEntity extends DwOrmData {\r\n // Attributes\r\n CheckRideCancellationTypeId?: number;\r\n CancellationTypeDisplay?: string;\r\n CancelOrder?: number;\r\n\r\n\r\n // Relations\r\n CheckRideRequest? : CheckRideRequestEntity[];\r\n}\r\n\r\nexport interface CheckRideGroupEntity extends DwOrmData {\r\n // Attributes\r\n CheckRideGroupId?: number;\r\n AviationAuthorityId?: number;\r\n CheckRideGroup?: string;\r\n GroupOrder?: number;\r\n\r\n // Display Attributes\r\n AviationAuthorityIdDisplay?: string;\r\n\r\n // Relations\r\n AviationAuthority? : AviationAuthorityEntity;\r\n AcsTest? : AcsTestEntity[];\r\n ApplicantPlaceholder? : ApplicantPlaceholderEntity[];\r\n CheckRideRequest? : CheckRideRequestEntity[];\r\n CheckRideScenario? : CheckRideScenarioEntity[];\r\n CheckRideType? : CheckRideTypeEntity[];\r\n PlanOfAction? : PlanOfActionEntity[];\r\n}\r\n\r\nexport interface CheckRideOutcomeEntity extends DwOrmData {\r\n // Attributes\r\n CheckRideOutcomeId?: number;\r\n CheckRideOutcome?: string;\r\n AllowRetest?: boolean;\r\n FlagStudentApplication?: boolean;\r\n FlagStudentNotes?: string;\r\n\r\n\r\n // Relations\r\n CheckRideResult? : CheckRideResultEntity[];\r\n PlanOfActionResult? : PlanOfActionResultEntity[];\r\n}\r\n\r\nexport interface CheckRidePaymentEntity extends DwOrmData {\r\n // Attributes\r\n CheckRidePaymentId?: number;\r\n PaymentTypeId?: number;\r\n PaymentMethodId?: number;\r\n PaymentDateTime?: string;\r\n PaymentAmount?: number;\r\n CheckRideRequestId?: number;\r\n PaymentReferenceId?: number;\r\n PaymentReferenceText?: string;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n PaymentDiscountid?: number;\r\n PaymentPartyId?: number;\r\n EmailCCReceipt?: string;\r\n\r\n // Display Attributes\r\n PaymentTypeIdDisplay?: string;\r\n PaymentMethodIdDisplay?: string;\r\n CheckRideRequestIdDisplay?: string;\r\n PaymentReferenceIdDisplay?: string;\r\n CreatedByDisplay?: string;\r\n ModifiedByDisplay?: string;\r\n PaymentDiscountidDisplay?: string;\r\n PaymentPartyIdDisplay?: string;\r\n\r\n // Relations\r\n CheckRideRequest? : CheckRideRequestEntity;\r\n PaymentPartyIdCheckRideRequestPaymentParty? : CheckRideRequestPaymentPartyEntity;\r\n PaymentDiscountidPaymentDiscountCode? : PaymentDiscountCodeEntity;\r\n PaymentMethod? : PaymentMethodEntity;\r\n PaymentReference? : PaymentReferenceEntity;\r\n PaymentType? : PaymentTypeEntity;\r\n PilexosBookingCheckRideRequest? : CheckRideRequestEntity[];\r\n}\r\n\r\nexport interface CheckRideRequestEntity extends DwOrmData {\r\n // Attributes\r\n CheckRideRequestId?: number;\r\n StudentApplicantId?: number;\r\n AviationAuthorityId?: number;\r\n CheckRideTypeId?: number;\r\n CheckRideTestTypeId?: number;\r\n PilotCertificateNumber?: string;\r\n CheckRideRequestSubStatusId?: number;\r\n PreferredDateTime?: string;\r\n ScheduledTimeMinutes?: number;\r\n ScheduledPilotExaminerId?: number;\r\n ScheduledPreTimeMinutes?: number;\r\n ScheduledPostTimeMinutes?: number;\r\n AuthorityPreCheckRideNumber?: string;\r\n AirplaneMakeModel?: string;\r\n AirplaneNNumber?: string;\r\n DocumentsMediaGroupId?: number;\r\n AuthorityPreapprovalCode?: string;\r\n CheckRideGroupId?: number;\r\n CancellationNotes?: string;\r\n PreferredAirportId?: number;\r\n ScheduledAirportId?: number;\r\n ScheduledDateTime?: string;\r\n ScheduledCheckRideScenarioId?: number;\r\n MedicalCertificateMediaId?: number;\r\n LogBookMediaId?: number;\r\n AdditionalDocumentationNotes?: string;\r\n TrainingMediaId?: number;\r\n ScheduledCalendarEventReferenceId?: number;\r\n EndorsedAndCheckRideReady?: boolean;\r\n ScheduledPilotExaminerLocationId?: number;\r\n ProposedDateTime?: string;\r\n ProposedAirportId?: number;\r\n ProposedTimeMinutes?: number;\r\n ProposedCalendarEventReferenceId?: number;\r\n ScheduledCheckRideCost?: number;\r\n AdditionalTravelCost?: number;\r\n PilexosBookingCost?: number;\r\n ExaminerBookingCost?: number;\r\n RejectedNotes?: string;\r\n MoreInfoRequestedNotes?: string;\r\n PilexosBookingPaymentAdded?: boolean;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n AvaiationTrainingProgramId?: number;\r\n CheckRideApplicantTypeId?: number;\r\n StudentApplicantNameManual?: string;\r\n StudentApplicantEmailManual?: string;\r\n StudentApplicantPhoneManual?: string;\r\n ExaminerPrivateNotes?: string;\r\n ExaminerToApplicantNotes?: string;\r\n ExaminerToApplicantMediaGroupId?: number;\r\n IsAirplaneAirworthy?: boolean;\r\n EmailApplicantReceipt?: boolean;\r\n CheckRideCancellationTypeId?: number;\r\n CheckRideCancellationTypeOther?: string;\r\n PilexosBookingCostPaymentPartyId?: number;\r\n FlightSchoolName?: string;\r\n EmailCCReceipt?: string;\r\n CancelledRequestBookingFeeRefund?: boolean;\r\n PilexosBookingCheckRidePaymentId?: number;\r\n ScheduleAirportLocationNotes?: string;\r\n AuthorityApprovalCode?: string;\r\n FlightInstructorName?: string;\r\n ApplicantPlaceholderId?: number;\r\n AddToWaitlist?: boolean;\r\n FlightSchoolId?: number;\r\n FlightSchoolNameOther?: string;\r\n StudentApplicantCitizenshipCountyId?: number;\r\n AirmanKnowledgeTestScore?: number;\r\n FlightInstructorCertificateNumber?: string;\r\n CurrentPilotCertifiateTypeId?: number;\r\n FlightInstructorEmail?: string;\r\n FlightInstructorPhone?: string;\r\n ApplicantAcsWrittenResultId?: number;\r\n AirmanKnowledgeTestDate?: string;\r\n AirmanKnowledgeTestPDFMediaId?: number;\r\n ExamScenarioNotes?: string;\r\n FlightSchoolCertificateNumber?: string;\r\n\r\n // Display Attributes\r\n StudentApplicantIdDisplay?: string;\r\n AviationAuthorityIdDisplay?: string;\r\n CheckRideTypeIdDisplay?: string;\r\n CheckRideTestTypeIdDisplay?: string;\r\n CheckRideRequestSubStatusIdDisplay?: string;\r\n ScheduledTimeMinutesDisplay?: string;\r\n ScheduledPilotExaminerIdDisplay?: string;\r\n DocumentsMediaGroupIdDisplay?: string;\r\n CheckRideGroupIdDisplay?: string;\r\n PreferredAirportIdDisplay?: string;\r\n ScheduledAirportIdDisplay?: string;\r\n ScheduledCheckRideScenarioIdDisplay?: string;\r\n MedicalCertificateMediaIdDisplay?: string;\r\n LogBookMediaIdDisplay?: string;\r\n ScheduledPilotExaminerLocationIdDisplay?: string;\r\n ProposedAirportIdDisplay?: string;\r\n ProposedTimeMinutesDisplay?: string;\r\n CreatedByDisplay?: string;\r\n ModifiedByDisplay?: string;\r\n AvaiationTrainingProgramIdDisplay?: string;\r\n CheckRideApplicantTypeIdDisplay?: string;\r\n CheckRideCancellationTypeIdDisplay?: string;\r\n PilexosBookingCostPaymentPartyIdDisplay?: string;\r\n PilexosBookingCheckRidePaymentIdDisplay?: string;\r\n ApplicantPlaceholderIdDisplay?: string;\r\n FlightSchoolIdDisplay?: string;\r\n StudentApplicantCitizenshipCountyIdDisplay?: string;\r\n CurrentPilotCertifiateTypeIdDisplay?: string;\r\n ApplicantAcsWrittenResultIdDisplay?: string;\r\n AirmanKnowledgeTestPDFMediaIdDisplay?: string;\r\n\r\n // Relations\r\n ScheduledAirport? : AirportEntity;\r\n PreferredAirport? : AirportEntity;\r\n ProposedAirport? : AirportEntity;\r\n ApplicantAcsWrittenResult? : ApplicantAcsWrittenResultEntity;\r\n ApplicantPlaceholder? : ApplicantPlaceholderEntity;\r\n AviationAuthority? : AviationAuthorityEntity;\r\n AvaiationTrainingProgramIdAviationTrainingProgram? : AviationTrainingProgramEntity;\r\n ScheduledCalendarEventReference? : CalendarEventReferenceEntity;\r\n CheckRideApplicantType? : CheckRideApplicantTypeEntity;\r\n CheckRideCancellationType? : CheckRideCancellationTypeEntity;\r\n CheckRideGroup? : CheckRideGroupEntity;\r\n PilexosBookingCheckRidePayment? : CheckRidePaymentEntity;\r\n PilexosBookingCostPaymentPartyIdCheckRideRequestPaymentParty? : CheckRideRequestPaymentPartyEntity;\r\n CheckRideRequestSubStatus? : CheckRideRequestSubStatusEntity;\r\n ScheduledCheckRideScenario? : CheckRideScenarioEntity;\r\n CheckRideTestType? : CheckRideTestTypeEntity;\r\n CheckRideType? : CheckRideTypeEntity;\r\n StudentApplicantCitizenshipCountyIdCountry? : CountryEntity;\r\n FlightSchool? : FlightSchoolEntity;\r\n DocumentsDwMediaGroup? : DwMediaGroupEntity;\r\n CurrentPilotCertifiateTypeIdPilotCertificateType? : PilotCertificateTypeEntity;\r\n ScheduledPilotExaminer? : PilotExaminerEntity;\r\n ScheduledPilotExaminerLocation? : PilotExaminerLocationEntity;\r\n StudentApplicant? : StudentApplicantEntity;\r\n CheckRidePayment? : CheckRidePaymentEntity[];\r\n CheckRideResult? : CheckRideResultEntity;\r\n PlanOfAction? : PlanOfActionEntity;\r\n CheckrideRequestIdRoCheckrideAggregateUtil? : RoCheckrideAggregateUtilEntity;\r\n RoCheckrideApplicantFinalName? : RoCheckrideApplicantFinalNameEntity;\r\n CheckrideRequestIdRoCheckrideRequestScheduleDateInfo? : RoCheckrideRequestScheduleDateInfoEntity;\r\n}\r\n\r\nexport interface CheckRideRequestPaymentPartyEntity extends DwOrmData {\r\n // Attributes\r\n CheckRideRequestPaymentPartyId?: number;\r\n PaymentPartyDisplay?: string;\r\n IsActive?: boolean;\r\n PaymentPartyDescription?: string;\r\n PilexosBookingCost?: number;\r\n PilexosBookingRetestCost?: number;\r\n\r\n\r\n // Relations\r\n PaymentPartyIdCheckRidePayment? : CheckRidePaymentEntity[];\r\n PilexosBookingCostPaymentPartyIdCheckRideRequest? : CheckRideRequestEntity[];\r\n}\r\n\r\nexport interface CheckRideRequestStatusEntity extends DwOrmData {\r\n // Attributes\r\n CheckRideRequestStatusId?: number;\r\n CheckRideRequestStatus?: string;\r\n\r\n\r\n // Relations\r\n CheckRideRequestSubStatus? : CheckRideRequestSubStatusEntity[];\r\n}\r\n\r\nexport interface CheckRideRequestSubStatusEntity extends DwOrmData {\r\n // Attributes\r\n CheckRideRequestSubStatusId?: number;\r\n CheckRideRequestStatusId?: number;\r\n CheckRideRequestSubStatus?: string;\r\n WorkflowStatusDetailId?: number;\r\n ApplicantNotes?: string;\r\n ExaminerNotes?: string;\r\n ApplicantStatusLevelId?: number;\r\n ExaminerStatusLevelId?: number;\r\n ApplicantAllowEdit?: boolean;\r\n ApplicantAllowExaminerChange?: boolean;\r\n ExaminerAllowEdit?: boolean;\r\n OutcomeIsRequested?: number;\r\n OutcomeIsCancelled?: number;\r\n OutcomeIsBooked?: number;\r\n OutcomeIsComplete?: number;\r\n\r\n // Display Attributes\r\n CheckRideRequestStatusIdDisplay?: string;\r\n WorkflowStatusDetailIdDisplay?: string;\r\n ApplicantStatusLevelIdDisplay?: string;\r\n ExaminerStatusLevelIdDisplay?: string;\r\n\r\n // Relations\r\n CheckRideRequestStatus? : CheckRideRequestStatusEntity;\r\n ApplicantStatusLevelIdCheckRideStatusLevel? : CheckRideStatusLevelEntity;\r\n ExaminerStatusLevelIdCheckRideStatusLevel? : CheckRideStatusLevelEntity;\r\n CheckRideRequest? : CheckRideRequestEntity[];\r\n}\r\n\r\nexport interface CheckRideResultEntity extends DwOrmData {\r\n // Attributes\r\n CheckRideResultId?: number;\r\n CheckRideRequestId?: number;\r\n CheckRideDateTime?: string;\r\n CheckRideOutcomeId?: number;\r\n AllowRetest?: boolean;\r\n AllowRetestReason?: string;\r\n RetestCost?: number;\r\n FlagApplicant?: boolean;\r\n FlagApplicantNotes?: string;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n AddToWaitlist?: boolean;\r\n GroundPortionComplete?: boolean;\r\n\r\n // Display Attributes\r\n CheckRideOutcomeIdDisplay?: string;\r\n\r\n // Relations\r\n CheckRideOutcome? : CheckRideOutcomeEntity;\r\n CheckRideRequest? : CheckRideRequestEntity;\r\n}\r\n\r\nexport interface CheckRideScenarioEntity extends DwOrmData {\r\n // Attributes\r\n CheckRideScenarioId?: number;\r\n PilotExaminerId?: number;\r\n ScenarioName?: string;\r\n TimeRequiredHours?: number;\r\n PreTimeMinutes?: number;\r\n PostTimeMinutes?: number;\r\n CheckRideCost?: number;\r\n RetestCost?: number;\r\n DiscontinuedRetestCost?: number;\r\n DocumentsMediaGroupId?: number;\r\n RequiredDocumentNotes?: string;\r\n BookingCost?: number;\r\n CheckRideGroupId?: number;\r\n IsActive?: boolean;\r\n TravelCost?: number;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n TimeRequiredMinutes?: number;\r\n RetestFlightOnlyCost?: number;\r\n DiscontinuedRetestFlightOnlyCost?: number;\r\n RetestFlightOnlyTimeReqirementMinutes?: number;\r\n RetestTimeRequiredMinutes?: number;\r\n RetestFlightOnlyTimeRequiredMinutes?: number;\r\n DiscontinuedTimeRequiredMinutes?: number;\r\n DiscontinuedFlightOnlyTimeRequiredMinutes?: number;\r\n\r\n // Display Attributes\r\n PilotExaminerIdDisplay?: string;\r\n CheckRideGroupIdDisplay?: string;\r\n TimeRequiredMinutesDisplay?: string;\r\n RetestFlightOnlyTimeReqirementMinutesDisplay?: string;\r\n RetestTimeRequiredMinutesDisplay?: string;\r\n RetestFlightOnlyTimeRequiredMinutesDisplay?: string;\r\n DiscontinuedTimeRequiredMinutesDisplay?: string;\r\n DiscontinuedFlightOnlyTimeRequiredMinutesDisplay?: string;\r\n\r\n // Relations\r\n CheckRideGroup? : CheckRideGroupEntity;\r\n PilotExaminer? : PilotExaminerEntity;\r\n ScheduledCheckRideRequest? : CheckRideRequestEntity[];\r\n CheckRideScenarioTypeMap? : CheckRideScenarioTypeMapEntity[];\r\n RoPilotExaminerScenario? : RoPilotExaminerScenarioEntity[];\r\n}\r\n\r\nexport interface CheckRideScenarioTypeMapEntity extends DwOrmData {\r\n // Attributes\r\n CheckRideScenarioTypeMapId?: number;\r\n CheckRideScenarioId?: number;\r\n CheckRideTypeId?: number;\r\n\r\n // Display Attributes\r\n CheckRideScenarioIdDisplay?: string;\r\n CheckRideTypeIdDisplay?: string;\r\n\r\n // Relations\r\n CheckRideScenario? : CheckRideScenarioEntity;\r\n CheckRideType? : CheckRideTypeEntity;\r\n}\r\n\r\nexport interface CheckRideStatusLevelEntity extends DwOrmData {\r\n // Attributes\r\n CheckRideStatusLevelId?: number;\r\n StatusLevelDisplay?: string;\r\n\r\n\r\n // Relations\r\n ApplicantStatusLevelIdCheckRideRequestSubStatus? : CheckRideRequestSubStatusEntity[];\r\n ExaminerStatusLevelIdCheckRideRequestSubStatus? : CheckRideRequestSubStatusEntity[];\r\n}\r\n\r\nexport interface CheckRideTestTypeEntity extends DwOrmData {\r\n // Attributes\r\n CheckRideTestTypeId?: number;\r\n TestType?: string;\r\n\r\n\r\n // Relations\r\n ApplicantPlaceholder? : ApplicantPlaceholderEntity[];\r\n CheckRideRequest? : CheckRideRequestEntity[];\r\n PlanOfAction? : PlanOfActionEntity[];\r\n}\r\n\r\nexport interface CheckRideTypeEntity extends DwOrmData {\r\n // Attributes\r\n CheckRideTypeId?: number;\r\n CheckRideGroupId?: number;\r\n CheckRideType?: string;\r\n CheckRideDesignation?: string;\r\n TypeOrder?: number;\r\n\r\n // Display Attributes\r\n CheckRideGroupIdDisplay?: string;\r\n\r\n // Relations\r\n CheckRideGroup? : CheckRideGroupEntity;\r\n AcsTestCheckRideType? : AcsTestCheckRideTypeEntity[];\r\n ApplicantPlaceholder? : ApplicantPlaceholderEntity[];\r\n CheckRideRequest? : CheckRideRequestEntity[];\r\n CheckRideScenarioTypeMap? : CheckRideScenarioTypeMapEntity[];\r\n PlanOfAction? : PlanOfActionEntity[];\r\n}\r\n\r\nexport interface CountryEntity extends DwOrmData {\r\n // Attributes\r\n CountryId?: number;\r\n CountryName?: string;\r\n CountryShortName?: string;\r\n CreatedDateTime?: string;\r\n CreatedBy?: number;\r\n ModifiedDateTime?: string;\r\n ModifiedBy?: number;\r\n\r\n\r\n // Relations\r\n Address? : AddressEntity[];\r\n StudentApplicantCitizenshipCountyIdApplicantPlaceholder? : ApplicantPlaceholderEntity[];\r\n StudentApplicantCitizenshipCountyIdCheckRideRequest? : CheckRideRequestEntity[];\r\n StudentApplicantCitizenshipPlanOfAction? : PlanOfActionEntity[];\r\n StateProvince? : StateProvinceEntity[];\r\n CitzenshipCountyIdStudentApplicant? : StudentApplicantEntity[];\r\n}\r\n\r\nexport interface DurationEntity extends DwOrmData {\r\n // Attributes\r\n DurationId?: number;\r\n DurationMinutes?: number;\r\n DurationDisplay?: string;\r\n\r\n\r\n // Relations\r\n}\r\n\r\nexport interface FlightSchoolEntity extends DwOrmData {\r\n // Attributes\r\n FlightSchoolId?: number;\r\n FlightSchoolName?: string;\r\n IsOther?: boolean;\r\n\r\n\r\n // Relations\r\n ApplicantPlaceholder? : ApplicantPlaceholderEntity[];\r\n CheckRideRequest? : CheckRideRequestEntity[];\r\n}\r\n\r\nexport interface DwMediaGroupEntity extends DwOrmData {\r\n // Attributes\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n GroupName?: string;\r\n IsGlobalGroup?: boolean;\r\n IsSecure?: boolean;\r\n MediaGroupId?: number;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n PartyReferenceId?: number;\r\n\r\n // Display Attributes\r\n CreatedByDisplay?: string;\r\n ModifiedByDisplay?: string;\r\n PartyReferenceIdDisplay?: string;\r\n\r\n // Relations\r\n DocumentsCheckRideRequest? : CheckRideRequestEntity[];\r\n DwroMedia? : DwRoMediaEntity[];\r\n}\r\n\r\nexport interface PaymentCustomerReferenceEntity extends DwOrmData {\r\n // Attributes\r\n PaymentCustomerReferenceId?: number;\r\n UserId?: number;\r\n CustomerReferenceKey?: string;\r\n PaymentProviderId?: number;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n\r\n // Display Attributes\r\n UserIdDisplay?: string;\r\n PaymentProviderIdDisplay?: string;\r\n\r\n // Relations\r\n PaymentProvider? : PaymentProviderEntity;\r\n DwUser? : DwUserEntity;\r\n PaymentReference? : PaymentReferenceEntity[];\r\n}\r\n\r\nexport interface PaymentDiscountCodeEntity extends DwOrmData {\r\n // Attributes\r\n PaymentDiscountCodeId?: number;\r\n DiscountName?: string;\r\n DiscountCode?: string;\r\n StartDate?: string;\r\n EndDate?: string;\r\n AllowedUses?: number;\r\n IsActive?: boolean;\r\n LimitToUserId?: number;\r\n DiscountAmount?: number;\r\n CurrentUses?: number;\r\n DiscountPercent?: number;\r\n\r\n // Display Attributes\r\n LimitToUserIdDisplay?: string;\r\n\r\n // Relations\r\n LimitToDwUser? : DwUserEntity;\r\n PaymentDiscountidCheckRidePayment? : CheckRidePaymentEntity[];\r\n}\r\n\r\nexport interface PaymentMethodEntity extends DwOrmData {\r\n // Attributes\r\n PaymentMethodId?: number;\r\n PaymentMethod?: string;\r\n\r\n\r\n // Relations\r\n CheckRidePayment? : CheckRidePaymentEntity[];\r\n}\r\n\r\nexport interface PaymentProviderEntity extends DwOrmData {\r\n // Attributes\r\n PaymentProviderId?: number;\r\n PaymentProviderDisplay?: string;\r\n PaymentProviderMeaning?: string;\r\n\r\n\r\n // Relations\r\n PaymentCustomerReference? : PaymentCustomerReferenceEntity[];\r\n}\r\n\r\nexport interface PaymentReferenceEntity extends DwOrmData {\r\n // Attributes\r\n PaymentReferenceId?: number;\r\n PaymentCustomerReferenceId?: number;\r\n PaymentReferenceKey?: string;\r\n PaymentReferenceCardTypeId?: number;\r\n PaymentReference?: string;\r\n PaymentReferenceStatusId?: number;\r\n CreatedDateTime?: string;\r\n CreatedBy?: number;\r\n ModifiedDateTime?: string;\r\n ModifiedBy?: number;\r\n PaymentAmount?: number;\r\n CardHolderName?: string;\r\n\r\n // Display Attributes\r\n PaymentCustomerReferenceIdDisplay?: string;\r\n PaymentReferenceCardTypeIdDisplay?: string;\r\n PaymentReferenceStatusIdDisplay?: string;\r\n\r\n // Relations\r\n PaymentCustomerReference? : PaymentCustomerReferenceEntity;\r\n PaymentReferenceCardType? : PaymentReferenceCardTypeEntity;\r\n PaymentReferenceStatus? : PaymentReferenceStatusEntity;\r\n CheckRidePayment? : CheckRidePaymentEntity[];\r\n PaymentReferenceHistory? : PaymentReferenceHistoryEntity[];\r\n}\r\n\r\nexport interface PaymentReferenceCardTypeEntity extends DwOrmData {\r\n // Attributes\r\n PaymentReferenceCardTypeId?: number;\r\n CardTypeDisplay?: string;\r\n CardTypeMeaning?: string;\r\n\r\n\r\n // Relations\r\n PaymentReference? : PaymentReferenceEntity[];\r\n}\r\n\r\nexport interface PaymentReferenceHistoryEntity extends DwOrmData {\r\n // Attributes\r\n PaymentReferenceHistoryId?: number;\r\n PaymentReferenceId?: number;\r\n PaymentReferenceStatusId?: number;\r\n CreatedDateTime?: string;\r\n\r\n // Display Attributes\r\n PaymentReferenceIdDisplay?: string;\r\n PaymentReferenceStatusIdDisplay?: string;\r\n\r\n // Relations\r\n PaymentReference? : PaymentReferenceEntity;\r\n PaymentReferenceStatus? : PaymentReferenceStatusEntity;\r\n}\r\n\r\nexport interface PaymentReferenceStatusEntity extends DwOrmData {\r\n // Attributes\r\n PaymentReferenceStatusId?: number;\r\n PaymentReferenceStatus?: string;\r\n\r\n\r\n // Relations\r\n PaymentReference? : PaymentReferenceEntity[];\r\n PaymentReferenceHistory? : PaymentReferenceHistoryEntity[];\r\n}\r\n\r\nexport interface PaymentTypeEntity extends DwOrmData {\r\n // Attributes\r\n PaymentTypeId?: number;\r\n PaymentType?: string;\r\n\r\n\r\n // Relations\r\n CheckRidePayment? : CheckRidePaymentEntity[];\r\n}\r\n\r\nexport interface PilotCertificateTypeEntity extends DwOrmData {\r\n // Attributes\r\n PilotCertificateTypeId?: number;\r\n PilotCertiicateTypeId?: string;\r\n\r\n\r\n // Relations\r\n CurrentPilotCertifiateTypeIdCheckRideRequest? : CheckRideRequestEntity[];\r\n CurrentPilotCertifiateTypeIdStudentApplicant? : StudentApplicantEntity[];\r\n}\r\n\r\nexport interface PilotExaminerEntity extends DwOrmData {\r\n // Attributes\r\n PilotExaminerId?: number;\r\n UserId?: number;\r\n PilotExaminerStatusId?: number;\r\n Description?: string;\r\n AviationAuthorityId?: number;\r\n DefaultPreTimeMinutes?: number;\r\n DefaultPostTimeMinutes?: number;\r\n TravelRadiusMiles?: number;\r\n AuthorityExaminerNumber?: string;\r\n CalendarIsLinked?: boolean;\r\n CalendarReferenceId?: number;\r\n RequireAuthorityPreCheckRideNumber?: boolean;\r\n PublicProfileIsActive?: boolean;\r\n PublicProfileSlug?: string;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n CheckRideRequestLeadTimeDays?: number;\r\n CheckRideRequestBookingMaxWeeksOut?: number;\r\n AviationAuthorityDistrictOfficeId?: number;\r\n DailyTravelRadiusLockMiles?: number;\r\n\r\n // Display Attributes\r\n UserIdDisplay?: string;\r\n PilotExaminerStatusIdDisplay?: string;\r\n AviationAuthorityIdDisplay?: string;\r\n CalendarReferenceIdDisplay?: string;\r\n AviationAuthorityDistrictOfficeIdDisplay?: string;\r\n\r\n // Relations\r\n AviationAuthority? : AviationAuthorityEntity;\r\n AviationAuthorityDistrictOffice? : AviationAuthorityDistrictOfficeEntity;\r\n CalendarReference? : CalendarReferenceEntity;\r\n PilotExaminerStatus? : PilotExaminerStatusEntity;\r\n DwUser? : DwUserEntity;\r\n ApplicantPlaceholder? : ApplicantPlaceholderEntity[];\r\n ScheduledCheckRideRequest? : CheckRideRequestEntity[];\r\n CheckRideScenario? : CheckRideScenarioEntity[];\r\n PilotExaminerLocation? : PilotExaminerLocationEntity[];\r\n PlanOfAction? : PlanOfActionEntity[];\r\n RoPilotExaminerLocationDistances? : RoPilotExaminerLocationDistancesEntity[];\r\n RoPilotExaminerScenario? : RoPilotExaminerScenarioEntity[];\r\n ReferredStudentApplicant? : StudentApplicantEntity[];\r\n}\r\n\r\nexport interface PilotExaminerLocationEntity extends DwOrmData {\r\n // Attributes\r\n PilotExaminerLocationId?: number;\r\n PilotExaminerId?: number;\r\n LocationName?: string;\r\n SchedulingStartDate?: string;\r\n SchedulingEndDate?: string;\r\n TravelRadiusMile?: number;\r\n BookingScheduleId?: number;\r\n TravelCost?: number;\r\n IsDefaultLocation?: boolean;\r\n IsActive?: boolean;\r\n AdditionalLocationCost?: number;\r\n BookingScheduleTimeZoneId?: number;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n ShowMetar?: boolean;\r\n PilotExaminerLocationTypeId?: number;\r\n\r\n // Display Attributes\r\n PilotExaminerIdDisplay?: string;\r\n BookingScheduleIdDisplay?: string;\r\n BookingScheduleTimeZoneIdDisplay?: string;\r\n PilotExaminerLocationTypeIdDisplay?: string;\r\n\r\n // Relations\r\n PilotExaminer? : PilotExaminerEntity;\r\n PilotExaminerLocationType? : PilotExaminerLocationTypeEntity;\r\n BookingSchedule? : ScheduleEntity;\r\n BookingScheduleTimeZoneIdTimeZone? : TimeZoneEntity;\r\n ScheduledCheckRideRequest? : CheckRideRequestEntity[];\r\n PilotExaminerLocationAirport? : PilotExaminerLocationAirportEntity[];\r\n RoPilotExaminerLocationCurrent? : RoPilotExaminerLocationCurrentEntity;\r\n RoPilotExaminerLocationDistances? : RoPilotExaminerLocationDistancesEntity[];\r\n}\r\n\r\nexport interface PilotExaminerLocationAirportEntity extends DwOrmData {\r\n // Attributes\r\n PilotExaminerLocationAirportId?: number;\r\n PilotExaminerLocationId?: number;\r\n AirportId?: number;\r\n\r\n // Display Attributes\r\n PilotExaminerLocationAirportIdDisplay?: string;\r\n PilotExaminerLocationIdDisplay?: string;\r\n AirportIdDisplay?: string;\r\n\r\n // Relations\r\n Airport? : AirportEntity;\r\n PilotExaminerLocation? : PilotExaminerLocationEntity;\r\n}\r\n\r\nexport interface PilotExaminerLocationStateEntity extends DwOrmData {\r\n // Attributes\r\n PilotExaminerLocationStateId?: number;\r\n StateMeaning?: string;\r\n StateDisplay?: string;\r\n\r\n\r\n // Relations\r\n}\r\n\r\nexport interface PilotExaminerLocationTypeEntity extends DwOrmData {\r\n // Attributes\r\n PilotExaminerLocationTypeId?: number;\r\n PilotExaminerLocationType?: string;\r\n\r\n\r\n // Relations\r\n PilotExaminerLocation? : PilotExaminerLocationEntity[];\r\n}\r\n\r\nexport interface PilotExaminerStatusEntity extends DwOrmData {\r\n // Attributes\r\n PilotExaminerStatusId?: number;\r\n PilotExaminerStatus?: string;\r\n WorkflowStatusDetailId?: number;\r\n\r\n // Display Attributes\r\n WorkflowStatusDetailIdDisplay?: string;\r\n\r\n // Relations\r\n PilotExaminer? : PilotExaminerEntity[];\r\n}\r\n\r\nexport interface PlanOfActionEntity extends DwOrmData {\r\n // Attributes\r\n PlanOfActionId?: number;\r\n PlanOfActionName?: string;\r\n PlanOfActionStatusId?: number;\r\n AviationAuthorityId?: number;\r\n AcsTestId?: number;\r\n PilotExaminerId?: number;\r\n CheckRideRequestId?: number;\r\n CheckrideDateTime?: string;\r\n StudentApplicantNameManual?: string;\r\n StudentApplicantEmailManual?: string;\r\n StudentApplicantPhoneManual?: string;\r\n StudentApplicantCitizenshipCountryId?: number;\r\n AuthorityPreCheckRideNumber?: string;\r\n PilotCertificateNumber?: string;\r\n AirplaneNNumber?: string;\r\n AuthorityPreapprovalCode?: string;\r\n // Attribute Authority Approval Code has invalid characters and can't be included\r\n ApplicationPaperworkCorrect?: boolean;\r\n EndorsementsPaperworkCorrect?: boolean;\r\n OptionsShowQuestionForAcsCode?: boolean;\r\n IsTemplate?: boolean;\r\n IsSharedTemplate?: boolean;\r\n TemplatePlanOfActionId?: number;\r\n IsBuiltIn?: boolean;\r\n OwnerUserId?: number;\r\n PlanOfActionResultId?: number;\r\n LinkToCheckride?: boolean;\r\n ApplicantAcsWrittenResultId?: number;\r\n CheckRideAirportId?: number;\r\n CheckRideGroupId?: number;\r\n CheckRideTypeId?: number;\r\n CheckRideTestTypeId?: number;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n\r\n // Display Attributes\r\n PlanOfActionStatusIdDisplay?: string;\r\n AviationAuthorityIdDisplay?: string;\r\n AcsTestIdDisplay?: string;\r\n PilotExaminerIdDisplay?: string;\r\n CheckRideRequestIdDisplay?: string;\r\n StudentApplicantCitizenshipCountryIdDisplay?: string;\r\n TemplatePlanOfActionIdDisplay?: string;\r\n PlanOfActionResultIdDisplay?: string;\r\n ApplicantAcsWrittenResultIdDisplay?: string;\r\n CheckRideAirportIdDisplay?: string;\r\n CheckRideGroupIdDisplay?: string;\r\n CheckRideTypeIdDisplay?: string;\r\n CheckRideTestTypeIdDisplay?: string;\r\n\r\n // Relations\r\n AcsTest? : AcsTestEntity;\r\n CheckRideAirport? : AirportEntity;\r\n ApplicantAcsWrittenResult? : ApplicantAcsWrittenResultEntity;\r\n AviationAuthority? : AviationAuthorityEntity;\r\n CheckRideGroup? : CheckRideGroupEntity;\r\n CheckRideRequest? : CheckRideRequestEntity;\r\n CheckRideTestType? : CheckRideTestTypeEntity;\r\n CheckRideType? : CheckRideTypeEntity;\r\n StudentApplicantCitizenshipCountry? : CountryEntity;\r\n PilotExaminer? : PilotExaminerEntity;\r\n PlanOfActionResult? : PlanOfActionResultEntity;\r\n PlanOfActionStatus? : PlanOfActionStatusEntity;\r\n TemplatePlanOfAction? : PlanOfActionEntity;\r\n PlanOfActionRequiredAcsCode? : PlanOfActionRequiredAcsCodeEntity[];\r\n PlanOfActionSection? : PlanOfActionSectionEntity[];\r\n RoPlanOfActionDetails? : RoPlanOfActionDetailsEntity;\r\n // Duplicate property excluded\r\n // TemplatePlanOfAction : PlanOfActionEntity[];\r\n}\r\n\r\nexport interface PlanOfActionQuestionResultEntity extends DwOrmData {\r\n // Attributes\r\n PlanOfActionQuestionResultId?: number;\r\n PlanOfActionResultId?: number;\r\n PlanOfActionSectionQuestionId?: number;\r\n QuestionOutcomeId?: number;\r\n DiscussQuestion?: boolean;\r\n Notes?: string;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n\r\n // Display Attributes\r\n PlanOfActionResultIdDisplay?: string;\r\n PlanOfActionSectionQuestionIdDisplay?: string;\r\n QuestionOutcomeIdDisplay?: string;\r\n\r\n // Relations\r\n PlanOfActionResult? : PlanOfActionResultEntity;\r\n PlanOfActionSectionQuestion? : PlanOfActionSectionQuestionEntity;\r\n QuestionOutcome? : QuestionOutcomeEntity;\r\n}\r\n\r\nexport interface PlanOfActionRequiredAcsCodeEntity extends DwOrmData {\r\n // Attributes\r\n PlanOfActionRequiredAcsCodeId?: number;\r\n PlanOfActionId?: number;\r\n AcsCodeId?: number;\r\n\r\n // Display Attributes\r\n PlanOfActionIdDisplay?: string;\r\n AcsCodeIdDisplay?: string;\r\n\r\n // Relations\r\n AcsCode? : AcsCodeEntity;\r\n PlanOfAction? : PlanOfActionEntity;\r\n}\r\n\r\nexport interface PlanOfActionResultEntity extends DwOrmData {\r\n // Attributes\r\n PlanOfActionResultId?: number;\r\n CheckRideStartDateTime?: string;\r\n CheckRideEndDateTime?: string;\r\n TotalTimeGroundMinutes?: number;\r\n TotalTimeFlightMinute?: number;\r\n CheckRideOutcomeId?: number;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n\r\n // Display Attributes\r\n CheckRideOutcomeIdDisplay?: string;\r\n\r\n // Relations\r\n CheckRideOutcome? : CheckRideOutcomeEntity;\r\n PlanOfAction? : PlanOfActionEntity[];\r\n PlanOfActionQuestionResult? : PlanOfActionQuestionResultEntity[];\r\n}\r\n\r\nexport interface PlanOfActionSectionEntity extends DwOrmData {\r\n // Attributes\r\n PlanOfActionSectionId?: number;\r\n PlanOfActionId?: number;\r\n SectionName?: string;\r\n PlanOfActionSectionTypeId?: number;\r\n AcsAreaOfOperationId?: number;\r\n AcsAreaOfOperationTaskId?: number;\r\n SectionOrder?: number;\r\n AcsTestPortionId?: number;\r\n\r\n // Display Attributes\r\n PlanOfActionIdDisplay?: string;\r\n PlanOfActionSectionTypeIdDisplay?: string;\r\n AcsAreaOfOperationIdDisplay?: string;\r\n AcsAreaOfOperationTaskIdDisplay?: string;\r\n AcsTestPortionIdDisplay?: string;\r\n\r\n // Relations\r\n AcsAreaOfOperation? : AcsAreaOfOperationEntity;\r\n AcsAreaOfOperationTask? : AcsAreaOfOperationTaskEntity;\r\n AcsTestPortion? : AcsTestPortionEntity;\r\n PlanOfAction? : PlanOfActionEntity;\r\n PlanOfActionSectionType? : PlanOfActionSectionTypeEntity;\r\n PlanOfActionSectionQuestion? : PlanOfActionSectionQuestionEntity[];\r\n}\r\n\r\nexport interface PlanOfActionSectionQuestionEntity extends DwOrmData {\r\n // Attributes\r\n PlanOfActionSectionQuestionId?: number;\r\n PlanOfActionSectionId?: number;\r\n AcsCodeId?: number;\r\n QuestionHtml?: string;\r\n QuestionOrder?: number;\r\n ShowNotes?: boolean;\r\n\r\n // Display Attributes\r\n PlanOfActionSectionIdDisplay?: string;\r\n AcsCodeIdDisplay?: string;\r\n\r\n // Relations\r\n AcsCode? : AcsCodeEntity;\r\n PlanOfActionSection? : PlanOfActionSectionEntity;\r\n PlanOfActionQuestionResult? : PlanOfActionQuestionResultEntity[];\r\n}\r\n\r\nexport interface PlanOfActionSectionTypeEntity extends DwOrmData {\r\n // Attributes\r\n PlanOfActionSectionTypeId?: number;\r\n PlanOfActionSectionType?: string;\r\n HasAreaOfOperation?: boolean;\r\n HasAreaOfOperationTask?: boolean;\r\n ShowSkillsOnly?: boolean;\r\n AcsTestPortionId?: number;\r\n\r\n // Display Attributes\r\n AcsTestPortionIdDisplay?: string;\r\n\r\n // Relations\r\n AcsTestPortion? : AcsTestPortionEntity;\r\n PlanOfActionSection? : PlanOfActionSectionEntity[];\r\n}\r\n\r\nexport interface PlanOfActionStatusEntity extends DwOrmData {\r\n // Attributes\r\n PlanOfActionStatusId?: number;\r\n PlanOfActionStatus?: string;\r\n PlanOfActionStatusTypeId?: number;\r\n\r\n // Display Attributes\r\n PlanOfActionStatusTypeIdDisplay?: string;\r\n\r\n // Relations\r\n PlanOfActionStatusType? : PlanOfActionStatusTypeEntity;\r\n PlanOfAction? : PlanOfActionEntity[];\r\n}\r\n\r\nexport interface PlanOfActionStatusTypeEntity extends DwOrmData {\r\n // Attributes\r\n PlanOfActionStatusTypeId?: number;\r\n PlanOfActionStatusType?: string;\r\n\r\n\r\n // Relations\r\n PlanOfActionStatus? : PlanOfActionStatusEntity[];\r\n}\r\n\r\nexport interface PostalCodeEntity extends DwOrmData {\r\n // Attributes\r\n PostalCodeId?: number;\r\n StateProvinceId?: number;\r\n PostalCode?: string;\r\n Plus4?: string;\r\n City?: string;\r\n County?: string;\r\n AreaCode?: string;\r\n Latitude?: number;\r\n Longitude?: number;\r\n GmtOffset?: number;\r\n ObservesDst?: boolean;\r\n IsMetropolitanArea?: boolean;\r\n CreatedDateTime?: string;\r\n CreatedBy?: number;\r\n ModifiedDateTime?: string;\r\n ModifiedBy?: number;\r\n TimeZoneId?: number;\r\n\r\n // Display Attributes\r\n StateProvinceIdDisplay?: string;\r\n TimeZoneIdDisplay?: string;\r\n\r\n // Relations\r\n StateProvince? : StateProvinceEntity;\r\n TimeZoneIdTimeZone? : TimeZoneEntity;\r\n}\r\n\r\nexport interface QuestionBankEntity extends DwOrmData {\r\n // Attributes\r\n QuestionBankId?: number;\r\n OwnerUserId?: number;\r\n AcsTestId?: number;\r\n AcsCodeId?: number;\r\n QuestionHtml?: string;\r\n IsBuiltIn?: boolean;\r\n IsShared?: boolean;\r\n QuestionShortName?: string;\r\n\r\n // Display Attributes\r\n AcsTestIdDisplay?: string;\r\n AcsCodeIdDisplay?: string;\r\n\r\n // Relations\r\n AcsCode? : AcsCodeEntity;\r\n AcsTest? : AcsTestEntity;\r\n}\r\n\r\nexport interface QuestionOutcomeEntity extends DwOrmData {\r\n // Attributes\r\n QuestionOutcomeId?: number;\r\n QuestionOutcome?: string;\r\n OutcomeOrder?: number;\r\n\r\n\r\n // Relations\r\n PlanOfActionQuestionResult? : PlanOfActionQuestionResultEntity[];\r\n}\r\n\r\nexport interface RoAirportDistancesEntity extends DwOrmData {\r\n // Attributes\r\n AirportId?: number;\r\n AirportName?: string;\r\n airportcode?: string;\r\n ReferenceAirportName?: string;\r\n ReferenceAirportCode?: string;\r\n Distance?: number;\r\n ReferenceAirportId?: number;\r\n\r\n\r\n // Relations\r\n}\r\n\r\nexport interface RoCheckrideAggregateUtilEntity extends DwOrmData {\r\n // Attributes\r\n CheckrideRequestId?: number;\r\n ScheduledDateTime?: string;\r\n ScheduledDateTimeYear?: number;\r\n ScheduledDateTimeMonth?: number;\r\n ScheduledDateTimeMonthDisplay?: string;\r\n CheckRideRequestStatusId?: number;\r\n CheckRideRequestStatus?: string;\r\n PilexosPaymentDateTimeYear?: number;\r\n PilexosPaymentDateTimeMonth?: number;\r\n PilexosPaymentTotal?: number;\r\n CheckridePaymentDateTimeYear?: number;\r\n CheckridePaymentDateTimeMonth?: number;\r\n CheckridePaymentTotal?: number;\r\n OutcomeIsRequested?: number;\r\n OutcomeIsBooked?: number;\r\n OutcomeIsComplete?: number;\r\n OutcomeIsCancelled?: number;\r\n RevenueIsRequested?: number;\r\n RevenueIsBooked?: number;\r\n RevenueIsComplete?: number;\r\n RevenueIsCancelled?: number;\r\n CheckRideTypeDisplay?: string;\r\n ScheduledDateTimeMonthYearDisplay?: string;\r\n\r\n // Display Attributes\r\n CheckrideRequestIdDisplay?: string;\r\n\r\n // Relations\r\n CheckrideRequestIdCheckRideRequest? : CheckRideRequestEntity;\r\n}\r\n\r\nexport interface RoCheckrideApplicantFinalNameEntity extends DwOrmData {\r\n // Attributes\r\n CheckRideRequestId?: number;\r\n StudentApplicantNameManual?: string;\r\n StudentProfileName?: string;\r\n ApplicantFinalName?: string;\r\n CheckRideApplicantTypeId?: number;\r\n ApplicantFinalEmail?: string;\r\n ApplicantFinalPhone?: string;\r\n FlightSchoolFinalName?: string;\r\n\r\n // Display Attributes\r\n CheckRideRequestIdDisplay?: string;\r\n\r\n // Relations\r\n CheckRideRequest? : CheckRideRequestEntity;\r\n}\r\n\r\nexport interface RoCheckRidePaymentAggregateEntity extends DwOrmData {\r\n // Attributes\r\n CheckrideRequestId?: number;\r\n PaymentDateTimeYear?: number;\r\n PaymentDateTimeMonth?: number;\r\n IsCheckridePayment?: number;\r\n Count?: number;\r\n PaymentTotal?: number;\r\n\r\n\r\n // Relations\r\n}\r\n\r\nexport interface RoCheckrideRequestScheduleDateInfoEntity extends DwOrmData {\r\n // Attributes\r\n ScheduledDateTime?: string;\r\n ScheduledDateTimeYear?: number;\r\n ScheduledDateTimeMonth?: number;\r\n CheckrideRequestId?: number;\r\n ScheduledDateTimeMonthDisplay?: string;\r\n\r\n // Display Attributes\r\n CheckrideRequestIdDisplay?: string;\r\n\r\n // Relations\r\n CheckrideRequestIdCheckRideRequest? : CheckRideRequestEntity;\r\n}\r\n\r\nexport interface DwRoMediaEntity extends DwOrmData {\r\n // Attributes\r\n ContainerName?: string;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n FileName?: string;\r\n ImageHeight?: number;\r\n ImageWidth?: number;\r\n IsDeleted?: boolean;\r\n IsSecure?: boolean;\r\n MediaDetailKey?: string;\r\n MediaFolderId?: number;\r\n MediaGroupId?: number;\r\n MediaId?: number;\r\n MediaName?: string;\r\n MediaPath?: string;\r\n MediaSizeType?: string;\r\n MediaSizeTypeId?: number;\r\n MediaTypeId?: number;\r\n SizeInBytes?: number;\r\n Version?: number;\r\n\r\n // Display Attributes\r\n CreatedByDisplay?: string;\r\n MediaGroupIdDisplay?: string;\r\n MediaIdDisplay?: string;\r\n\r\n // Relations\r\n DwMediaGroup? : DwMediaGroupEntity;\r\n UserPictureDwUser? : DwUserEntity;\r\n}\r\n\r\nexport interface RoPilotExaminerLocationCurrentEntity extends DwOrmData {\r\n // Attributes\r\n PilotExaminerLocationId?: number;\r\n PilotExaminerLocationStateId?: number;\r\n\r\n // Display Attributes\r\n PilotExaminerLocationIdDisplay?: string;\r\n PilotExaminerLocationStateIdDisplay?: string;\r\n\r\n // Relations\r\n PilotExaminerLocation? : PilotExaminerLocationEntity;\r\n}\r\n\r\nexport interface RoPilotExaminerLocationDistancesEntity extends DwOrmData {\r\n // Attributes\r\n ReferenceAirportId?: number;\r\n ReferenceAirportName?: string;\r\n ReferenceAirportLatitude?: number;\r\n ReferenceAirportLongitude?: number;\r\n AirportId?: number;\r\n AirportName?: string;\r\n Latitude?: number;\r\n Longitude?: number;\r\n Distance?: number;\r\n PilotExaminerLocationId?: number;\r\n PilotExaminerId?: number;\r\n WithinTravelRadius?: boolean;\r\n TravelRadiusMile?: number;\r\n\r\n // Display Attributes\r\n ReferenceAirportIdDisplay?: string;\r\n AirportIdDisplay?: string;\r\n PilotExaminerLocationIdDisplay?: string;\r\n PilotExaminerIdDisplay?: string;\r\n\r\n // Relations\r\n Airport? : AirportEntity;\r\n PilotExaminer? : PilotExaminerEntity;\r\n PilotExaminerLocation? : PilotExaminerLocationEntity;\r\n}\r\n\r\nexport interface RoPilotExaminerScenarioEntity extends DwOrmData {\r\n // Attributes\r\n PilotExaminerId?: number;\r\n userId?: number;\r\n PilotExaminerStatusId?: number;\r\n AviationAuthorityId?: number;\r\n CheckRideScenarioId?: number;\r\n CheckRideGroupId?: number;\r\n PreTimeMinutes?: number;\r\n PostTimeMinutes?: number;\r\n IsActive?: boolean;\r\n TimeRequiredHours?: number;\r\n CheckRideTypeId?: number;\r\n CheckRideGroup?: string;\r\n CheckRideType?: string;\r\n CheckRideScenarioTypeMapId?: number;\r\n\r\n // Display Attributes\r\n PilotExaminerIdDisplay?: string;\r\n userIdDisplay?: string;\r\n CheckRideScenarioIdDisplay?: string;\r\n\r\n // Relations\r\n CheckRideScenario? : CheckRideScenarioEntity;\r\n PilotExaminer? : PilotExaminerEntity;\r\n UserIdDwUser? : DwUserEntity;\r\n}\r\n\r\nexport interface RoPlanOfActionDetailsEntity extends DwOrmData {\r\n // Attributes\r\n PlanOfActionId?: number;\r\n PlanOfActionName?: string;\r\n ApplicantFinalName?: string;\r\n ApplicantFinalEmail?: string;\r\n ApplicationFinalPhone?: string;\r\n CheckRideFinalDateTime?: string;\r\n CheckRideFinalAirportId?: number;\r\n CheckRideFinalGroupId?: number;\r\n CheckRideFInalTypeId?: number;\r\n CheckRideFinalTestTypeId?: number;\r\n\r\n // Display Attributes\r\n PlanOfActionIdDisplay?: string;\r\n CheckRideFinalAirportIdDisplay?: string;\r\n CheckRideFinalGroupIdDisplay?: string;\r\n CheckRideFInalTypeIdDisplay?: string;\r\n CheckRideFinalTestTypeIdDisplay?: string;\r\n\r\n // Relations\r\n PlanOfAction? : PlanOfActionEntity;\r\n}\r\n\r\nexport interface ScheduleEntity extends DwOrmData {\r\n // Attributes\r\n ScheduleId?: number;\r\n ScheduleName?: string;\r\n DefaultStartTime?: string;\r\n DefaultEndTime?: string;\r\n WeekDaysOnly?: boolean;\r\n UseCustomDays?: boolean;\r\n ScheduleOwnerUserId?: number;\r\n IsBuiltInSchedule?: boolean;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n\r\n // Display Attributes\r\n ScheduleOwnerUserIdDisplay?: string;\r\n\r\n // Relations\r\n ScheduleOwnerDwUser? : DwUserEntity;\r\n BookingPilotExaminerLocation? : PilotExaminerLocationEntity[];\r\n ScheduleDetail? : ScheduleDetailEntity[];\r\n}\r\n\r\nexport interface ScheduleDayOfWeekEntity extends DwOrmData {\r\n // Attributes\r\n ScheduleDayOfWeekId?: number;\r\n DayOfWeek?: string;\r\n DayOfWeekOrder?: number;\r\n\r\n\r\n // Relations\r\n ScheduleDetail? : ScheduleDetailEntity[];\r\n}\r\n\r\nexport interface ScheduleDetailEntity extends DwOrmData {\r\n // Attributes\r\n ScheduleDetailId?: number;\r\n ScheduleId?: number;\r\n ScheduleDayOfWeekId?: number;\r\n StartTime?: string;\r\n EndTime?: string;\r\n\r\n // Display Attributes\r\n ScheduleIdDisplay?: string;\r\n ScheduleDayOfWeekIdDisplay?: string;\r\n\r\n // Relations\r\n Schedule? : ScheduleEntity;\r\n ScheduleDayOfWeek? : ScheduleDayOfWeekEntity;\r\n}\r\n\r\nexport interface StateProvinceEntity extends DwOrmData {\r\n // Attributes\r\n StateProvinceId?: number;\r\n CountryId?: number;\r\n StateProvinceName?: string;\r\n StateProvinceShortName?: string;\r\n StateCode?: string;\r\n CreatedDateTime?: string;\r\n CreatedBy?: number;\r\n ModifiedDateTime?: string;\r\n ModifiedBy?: number;\r\n\r\n // Display Attributes\r\n CountryIdDisplay?: string;\r\n\r\n // Relations\r\n Country? : CountryEntity;\r\n Address? : AddressEntity[];\r\n PostalCode? : PostalCodeEntity[];\r\n}\r\n\r\nexport interface StudentApplicantEntity extends DwOrmData {\r\n // Attributes\r\n StudentApplicantId?: number;\r\n UserId?: number;\r\n ApplicationDescription?: string;\r\n AviationAuthorityId?: number;\r\n PilotCertificateNumber?: string;\r\n TravelRadiusMiles?: number;\r\n Citizenship?: string;\r\n ApplicantAddressId?: number;\r\n MainAirportId?: number;\r\n MainAircraft?: string;\r\n ReferredPilotExaminerId?: number;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n AviationTrainingProgramId?: number;\r\n CitzenshipCountyId?: number;\r\n\r\n // Display Attributes\r\n UserIdDisplay?: string;\r\n AviationAuthorityIdDisplay?: string;\r\n ApplicantAddressIdDisplay?: string;\r\n MainAirportIdDisplay?: string;\r\n ReferredPilotExaminerIdDisplay?: string;\r\n AviationTrainingProgramIdDisplay?: string;\r\n CitzenshipCountyIdDisplay?: string;\r\n\r\n // Relations\r\n ApplicantAddress? : AddressEntity;\r\n MainAirport? : AirportEntity;\r\n AviationAuthority? : AviationAuthorityEntity;\r\n AviationTrainingProgram? : AviationTrainingProgramEntity;\r\n CitzenshipCountyIdCountry? : CountryEntity;\r\n CurrentPilotCertifiateTypeIdPilotCertificateType? : PilotCertificateTypeEntity;\r\n ReferredPilotExaminer? : PilotExaminerEntity;\r\n DwUser? : DwUserEntity;\r\n ApplicantPlaceholder? : ApplicantPlaceholderEntity[];\r\n CheckRideRequest? : CheckRideRequestEntity[];\r\n}\r\n\r\nexport interface TimeZoneEntity extends DwOrmData {\r\n // Attributes\r\n TimezoneId?: number;\r\n TimezoneName?: string;\r\n TimezoneShortName?: string;\r\n GmtOffSet?: number;\r\n TimeZoneDescription?: string;\r\n IANAIdentifier?: string;\r\n DotNetBCLIdentifier?: string;\r\n\r\n\r\n // Relations\r\n Address? : AddressEntity[];\r\n BookingScheduleTimeZoneIdPilotExaminerLocation? : PilotExaminerLocationEntity[];\r\n TimeZoneIdPostalCode? : PostalCodeEntity[];\r\n}\r\n\r\nexport interface DwUserEntity extends DwOrmData {\r\n // Attributes\r\n AlternateName?: string;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n Email?: string;\r\n FirstName?: string;\r\n ForcePasswordChange?: boolean;\r\n IsActive?: boolean;\r\n IsEmailVerified?: boolean;\r\n IsTwoFactorAuthenticationEnabled?: boolean;\r\n LastLoginDateTime?: string;\r\n LastName?: string;\r\n LastPasswordChangeDateTime?: string;\r\n MobilePhone?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n OrganizationId?: number;\r\n PartyReferenceId?: number;\r\n TwoFactorAuthenticationTypeId?: number;\r\n UserBackgroundMediaId?: number;\r\n UserId?: number;\r\n UserKey?: string;\r\n UserName?: string;\r\n UserPictureMediaId?: number;\r\n UserTypeId?: number;\r\n Password?: number;\r\n\r\n // Display Attributes\r\n AlternateNameDisplay?: string;\r\n CreatedByDisplay?: string;\r\n ModifiedByDisplay?: string;\r\n OrganizationIdDisplay?: string;\r\n PartyReferenceIdDisplay?: string;\r\n TwoFactorAuthenticationTypeIdDisplay?: string;\r\n UserBackgroundMediaIdDisplay?: string;\r\n UserPictureMediaIdDisplay?: string;\r\n UserTypeIdDisplay?: string;\r\n\r\n // Relations\r\n UserPictureDwroMedia? : DwRoMediaEntity;\r\n DwUserType? : DwUserTypeEntity;\r\n PaymentCustomerReference? : PaymentCustomerReferenceEntity[];\r\n LimitToPaymentDiscountCode? : PaymentDiscountCodeEntity[];\r\n PilotExaminer? : PilotExaminerEntity;\r\n UserIdRoPilotExaminerScenario? : RoPilotExaminerScenarioEntity[];\r\n ScheduleOwnerSchedule? : ScheduleEntity[];\r\n StudentApplicant? : StudentApplicantEntity;\r\n}\r\n\r\nexport interface DwUserTypeEntity extends DwOrmData {\r\n // Attributes\r\n UserTypeId?: number;\r\n UserTypeDisplay?: string;\r\n UserTypeDescription?: string;\r\n UserTypeClasses?: string;\r\n ShowOnRegistration?: boolean;\r\n UserTypeOrder?: number;\r\n\r\n\r\n // Relations\r\n DwUser? : DwUserEntity[];\r\n}\r\n\r\n// Generated Query Interfaces\r\n/** Entity for Query Meaning Pilot_Examiner_Search */\r\nexport interface PilotExaminerSearchQueryEntity extends DwOrmData {\r\n // Attributes\r\n PilotExaminerId?: number;\r\n UserId?: number;\r\n UserIdDisplay?: string;\r\n PilotExaminerStatusId?: number;\r\n PilotExaminerStatusIdDisplay?: string;\r\n Description?: string;\r\n AviationAuthorityId?: number;\r\n AviationAuthorityIdDisplay?: string;\r\n DefaultPreTimeMinutes?: number;\r\n DefaultPostTimeMinutes?: number;\r\n TravelRadiusMiles?: number;\r\n AuthorityExaminerNumber?: string;\r\n CalendarIsLinked?: boolean;\r\n CalendarReferenceId?: number;\r\n CalendarReferenceIdDisplay?: string;\r\n RequireAuthorityPreCheckRideNumber?: boolean;\r\n PublicProfileIsActive?: boolean;\r\n PublicProfileSlug?: string;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n CheckRideRequestLeadTimeDays?: number;\r\n CheckRideRequestBookingMaxWeeksOut?: number;\r\n AviationAuthorityDistrictOfficeId?: number;\r\n AviationAuthorityDistrictOfficeIdDisplay?: string;\r\n DailyTravelRadiusLockMiles?: number;\r\n ScenarioCheckRideScenarioId?: number;\r\n ScenarioCheckRideScenarioIdDisplay?: string;\r\n ScenarioPreTimeMinutes?: number;\r\n ScenarioPostTimeMinutes?: number;\r\n ScenarioIsActive?: boolean;\r\n ScenarioTimeRequiredHours?: number;\r\n ScenarioCheckRideGroupId?: number;\r\n ScenarioCheckRideTypeId?: number;\r\n CheckRideScenarioCheckRideCost?: number;\r\n CheckRideScenarioRetestCost?: number;\r\n CheckRideScenarioDiscontinuedRetestCost?: number;\r\n CheckRideScenarioBookingCost?: number;\r\n CheckRideScenarioDiscontinuedRetestFlightOnlyCost?: number;\r\n CheckRideScenarioRetestFlightOnlyCost?: number;\r\n CheckRideScenarioTravelCost?: number;\r\n CheckRideScenarioTimeRequiredMinutes?: number;\r\n CheckRideScenarioTimeRequiredMinutesDisplay?: string;\r\n CheckRideScenarioRequiredDocumentNotes?: string;\r\n CheckRideScenarioRetestTimeRequiredMinutes?: number;\r\n CheckRideScenarioRetestTimeRequiredMinutesDisplay?: string;\r\n CheckRideScenarioRetestFlightOnlyTimeRequiredMinutes?: number;\r\n CheckRideScenarioRetestFlightOnlyTimeRequiredMinutesDisplay?: string;\r\n CheckRideScenarioDiscontinuedTimeRequiredMinutes?: number;\r\n CheckRideScenarioDiscontinuedTimeRequiredMinutesDisplay?: string;\r\n CheckRideScenarioDiscontinuedFlightOnlyTimeRequiredMinutes?: number;\r\n CheckRideScenarioDiscontinuedFlightOnlyTimeRequiredMinutesDisplay?: string;\r\n LocationDistancesPilotExaminerLocationId?: number;\r\n LocationDistancesPilotExaminerLocationIdDisplay?: string;\r\n LocationDistancesAirportId?: number;\r\n LocationDistancesAirportIdDisplay?: string;\r\n LocationDistancesDistance?: number;\r\n LocationDistancesReferenceAirportId?: number;\r\n LocationDistancesReferenceAirportIdDisplay?: string;\r\n LocationDistancesWithinTravelRadius?: boolean;\r\n PilotExaminerLocationSchedulingStartDate?: string;\r\n PilotExaminerLocationSchedulingEndDate?: string;\r\n PilotExaminerLocationTravelRadiusMile?: number;\r\n PilotExaminerLocationBookingScheduleId?: number;\r\n PilotExaminerLocationBookingScheduleIdDisplay?: string;\r\n PilotExaminerLocationIsActive?: boolean;\r\n PilotExaminerLocationTravelCost?: number;\r\n PilotExaminerLocationAdditionalLocationCost?: number;\r\n PilotExaminerLocationBookingScheduleTimeZoneId?: number;\r\n PilotExaminerLocationBookingScheduleTimeZoneIdDisplay?: string;\r\n PilotExaminerLocationPilotExaminerLocationId?: number;\r\n PilotExaminerLocationLocationName?: string;\r\n PilotExaminerLocationPilotExaminerLocationTypeId?: number;\r\n PilotExaminerLocationPilotExaminerLocationTypeIdDisplay?: string;\r\n RoPilotExaminerLocationCurrentPilotExaminerLocationStateId?: number;\r\n RoPilotExaminerLocationCurrentPilotExaminerLocationStateIdDisplay?: string;\r\n AirportAddressTimezoneId?: number;\r\n AirportAddressTimezoneIdDisplay?: string;\r\n AirportAddressObservesDst?: boolean;\r\n DwUserFirstName?: string;\r\n DwUserLastName?: string;\r\n DwUserUserPictureMediaId?: number;\r\n DwUserUserPictureMediaIdDisplay?: string;\r\n DwUserUserBackgroundMediaId?: number;\r\n DwUserUserBackgroundMediaIdDisplay?: string;\r\n UserPictureDwroMediaMediaPath?: string;\r\n UserPictureDwroMediaImageWidth?: number;\r\n UserPictureDwroMediaImageHeight?: number;\r\n\r\n // Relations\r\n AviationAuthority? : AviationAuthorityEntity;\r\n AviationAuthorityDistrictOffice? : AviationAuthorityDistrictOfficeEntity;\r\n CalendarReference? : CalendarReferenceEntity;\r\n PilotExaminerStatus? : PilotExaminerStatusEntity;\r\n DwUser? : DwUserEntity;\r\n ApplicantPlaceholder? : ApplicantPlaceholderEntity[];\r\n ScheduledCheckRideRequest? : CheckRideRequestEntity[];\r\n CheckRideScenario? : CheckRideScenarioEntity[];\r\n PilotExaminerLocation? : PilotExaminerLocationEntity[];\r\n PlanOfAction? : PlanOfActionEntity[];\r\n RoPilotExaminerLocationDistances? : RoPilotExaminerLocationDistancesEntity[];\r\n RoPilotExaminerScenario? : RoPilotExaminerScenarioEntity[];\r\n ReferredStudentApplicant? : StudentApplicantEntity[];\r\n}\r\n\r\n/** Entity for Query Meaning Pilot_Examiner_Calendar_Reference */\r\nexport interface PilotExaminerCalendarReferenceQueryEntity extends DwOrmData {\r\n // Attributes\r\n PilotExaminerId?: number;\r\n UserId?: number;\r\n PilotExaminerStatusId?: number;\r\n CalendarReferenceCalendarReferenceId?: number;\r\n CalendarReferenceCalendarReferenceTypeId?: number;\r\n CalendarReferenceMainCalendarKey?: string;\r\n CalendarReferenceCalendarConfigJSON?: string;\r\n DwUserUserId?: number;\r\n DwUserUserName?: string;\r\n DwUserUserTypeId?: number;\r\n DwUserEmail?: string;\r\n DwUserFirstName?: string;\r\n DwUserLastName?: string;\r\n DwUserLastLoginDateTime?: string;\r\n\r\n // Relations\r\n AviationAuthority? : AviationAuthorityEntity;\r\n AviationAuthorityDistrictOffice? : AviationAuthorityDistrictOfficeEntity;\r\n CalendarReference? : CalendarReferenceEntity;\r\n PilotExaminerStatus? : PilotExaminerStatusEntity;\r\n DwUser? : DwUserEntity;\r\n ApplicantPlaceholder? : ApplicantPlaceholderEntity[];\r\n ScheduledCheckRideRequest? : CheckRideRequestEntity[];\r\n CheckRideScenario? : CheckRideScenarioEntity[];\r\n PilotExaminerLocation? : PilotExaminerLocationEntity[];\r\n PlanOfAction? : PlanOfActionEntity[];\r\n RoPilotExaminerLocationDistances? : RoPilotExaminerLocationDistancesEntity[];\r\n RoPilotExaminerScenario? : RoPilotExaminerScenarioEntity[];\r\n ReferredStudentApplicant? : StudentApplicantEntity[];\r\n}\r\n\r\n/** Entity for Query Meaning Check_Ride_Request-Calendar */\r\nexport interface CheckRideRequestCalendarQueryEntity extends DwOrmData {\r\n // Attributes\r\n CheckRideRequestId?: number;\r\n CheckRideTypeId?: number;\r\n CheckRideTypeIdDisplay?: string;\r\n CheckRideGroupId?: number;\r\n CheckRideGroupIdDisplay?: string;\r\n CheckRideTestTypeId?: number;\r\n CheckRideTestTypeIdDisplay?: string;\r\n PilotCertificateNumber?: string;\r\n CheckRideRequestSubStatusId?: number;\r\n CheckRideRequestSubStatusIdDisplay?: string;\r\n ScheduledDateTime?: string;\r\n ScheduledTimeMinutes?: number;\r\n ScheduledTimeMinutesDisplay?: string;\r\n ProposedDateTime?: string;\r\n ScheduledAirportId?: number;\r\n ScheduledAirportIdDisplay?: string;\r\n AuthorityPreapprovalCode?: string;\r\n AuthorityApprovalCode?: string;\r\n ProposedAirportId?: number;\r\n ProposedAirportIdDisplay?: string;\r\n ProposedTimeMinutes?: number;\r\n ProposedTimeMinutesDisplay?: string;\r\n AuthorityPreCheckRideNumber?: string;\r\n CheckRideRequestSubStatusCheckRideRequestStatusId?: number;\r\n CheckRideRequestSubStatusCheckRideRequestStatusIdDisplay?: string;\r\n CheckRideResultCheckRideRequestId?: number;\r\n CheckRideResultCheckRideDateTime?: string;\r\n CheckRideResultCheckRideOutcomeId?: number;\r\n CheckRideResultCheckRideOutcomeIdDisplay?: string;\r\n CheckRideResultAllowRetest?: boolean;\r\n CheckRideResultAllowRetestReason?: string;\r\n CheckRideResultRetestCost?: number;\r\n AirportAirportName?: string;\r\n AirportAirportCode?: string;\r\n AirportAddressCity?: string;\r\n AirportAddressStateProvinceId?: number;\r\n AirportAddressStateProvinceIdDisplay?: string;\r\n AirportAddressPostalCode?: string;\r\n AirportAddressCountryId?: number;\r\n AirportAddressCountryIdDisplay?: string;\r\n AirportAddressLatitude?: number;\r\n AirportAddressLongitude?: number;\r\n AirportAddressTimezoneId?: number;\r\n AirportAddressTimezoneIdDisplay?: string;\r\n AirportAddressObservesDst?: boolean;\r\n ScheduledPilotExaminerUserId?: number;\r\n ScheduledPilotExaminerUserIdDisplay?: string;\r\n CalendarEventReferenceKey?: string;\r\n ApplicantNameApplicantFinalEmail?: string;\r\n ApplicantNameApplicantFinalName?: string;\r\n ApplicantNameApplicantFinalPhone?: string;\r\n ApplicantNameFlightSchoolFinalName?: string;\r\n ApplicantNameCheckRideApplicantTypeId?: number;\r\n\r\n // Relations\r\n ScheduledAirport? : AirportEntity;\r\n PreferredAirport? : AirportEntity;\r\n ProposedAirport? : AirportEntity;\r\n ApplicantAcsWrittenResult? : ApplicantAcsWrittenResultEntity;\r\n ApplicantPlaceholder? : ApplicantPlaceholderEntity;\r\n AviationAuthority? : AviationAuthorityEntity;\r\n AvaiationTrainingProgramIdAviationTrainingProgram? : AviationTrainingProgramEntity;\r\n ScheduledCalendarEventReference? : CalendarEventReferenceEntity;\r\n CheckRideApplicantType? : CheckRideApplicantTypeEntity;\r\n CheckRideCancellationType? : CheckRideCancellationTypeEntity;\r\n CheckRideGroup? : CheckRideGroupEntity;\r\n PilexosBookingCheckRidePayment? : CheckRidePaymentEntity;\r\n PilexosBookingCostPaymentPartyIdCheckRideRequestPaymentParty? : CheckRideRequestPaymentPartyEntity;\r\n CheckRideRequestSubStatus? : CheckRideRequestSubStatusEntity;\r\n ScheduledCheckRideScenario? : CheckRideScenarioEntity;\r\n CheckRideTestType? : CheckRideTestTypeEntity;\r\n CheckRideType? : CheckRideTypeEntity;\r\n StudentApplicantCitizenshipCountyIdCountry? : CountryEntity;\r\n FlightSchool? : FlightSchoolEntity;\r\n DocumentsDwMediaGroup? : DwMediaGroupEntity;\r\n CurrentPilotCertifiateTypeIdPilotCertificateType? : PilotCertificateTypeEntity;\r\n ScheduledPilotExaminer? : PilotExaminerEntity;\r\n ScheduledPilotExaminerLocation? : PilotExaminerLocationEntity;\r\n StudentApplicant? : StudentApplicantEntity;\r\n CheckRidePayment? : CheckRidePaymentEntity[];\r\n CheckRideResult? : CheckRideResultEntity;\r\n PlanOfAction? : PlanOfActionEntity;\r\n CheckrideRequestIdRoCheckrideAggregateUtil? : RoCheckrideAggregateUtilEntity;\r\n RoCheckrideApplicantFinalName? : RoCheckrideApplicantFinalNameEntity;\r\n CheckrideRequestIdRoCheckrideRequestScheduleDateInfo? : RoCheckrideRequestScheduleDateInfoEntity;\r\n}\r\n\r\n/** Entity for Query Meaning Pilot_Examiner_Current_Airports */\r\nexport interface PilotExaminerCurrentAirportsQueryEntity extends DwOrmData {\r\n // Attributes\r\n AirportId?: number;\r\n AviationAuthorityId?: number;\r\n AviationAuthorityIdDisplay?: string;\r\n AirportName?: string;\r\n AirportCode?: string;\r\n AirportAddressId?: number;\r\n AirportAddressIdDisplay?: string;\r\n Elevation?: number;\r\n OwnershipCode?: string;\r\n IsActive?: boolean;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n PilotExaminerLocationPilotExaminerId?: number;\r\n PilotExaminerLocationPilotExaminerIdDisplay?: string;\r\n PilotExaminerLocationShowMetar?: boolean;\r\n RoPilotExaminerLocationCurrentPilotExaminerLocationStateId?: number;\r\n RoPilotExaminerLocationCurrentPilotExaminerLocationStateIdDisplay?: string;\r\n\r\n // Relations\r\n AirportAddress? : AddressEntity;\r\n AviationAuthority? : AviationAuthorityEntity;\r\n PreferredApplicantPlaceholder? : ApplicantPlaceholderEntity[];\r\n ScheduledCheckRideRequest? : CheckRideRequestEntity[];\r\n PreferredCheckRideRequest? : CheckRideRequestEntity[];\r\n ProposedCheckRideRequest? : CheckRideRequestEntity[];\r\n PilotExaminerLocationAirport? : PilotExaminerLocationAirportEntity[];\r\n CheckRidePlanOfAction? : PlanOfActionEntity[];\r\n RoPilotExaminerLocationDistances? : RoPilotExaminerLocationDistancesEntity[];\r\n MainStudentApplicant? : StudentApplicantEntity[];\r\n}\r\n\r\n/** Entity for Query Meaning Pilot_Examiner_Public_Profile */\r\nexport interface PilotExaminerPublicProfileQueryEntity extends DwOrmData {\r\n // Attributes\r\n PilotExaminerId?: number;\r\n UserId?: number;\r\n Description?: string;\r\n AviationAuthorityId?: number;\r\n AuthorityExaminerNumber?: string;\r\n PublicProfileIsActive?: boolean;\r\n PublicProfileSlug?: string;\r\n DwUserUserBackgroundMediaId?: number;\r\n DwUserUserPictureMediaId?: number;\r\n\r\n // Relations\r\n AviationAuthority? : AviationAuthorityEntity;\r\n AviationAuthorityDistrictOffice? : AviationAuthorityDistrictOfficeEntity;\r\n CalendarReference? : CalendarReferenceEntity;\r\n PilotExaminerStatus? : PilotExaminerStatusEntity;\r\n DwUser? : DwUserEntity;\r\n ApplicantPlaceholder? : ApplicantPlaceholderEntity[];\r\n ScheduledCheckRideRequest? : CheckRideRequestEntity[];\r\n CheckRideScenario? : CheckRideScenarioEntity[];\r\n PilotExaminerLocation? : PilotExaminerLocationEntity[];\r\n PlanOfAction? : PlanOfActionEntity[];\r\n RoPilotExaminerLocationDistances? : RoPilotExaminerLocationDistancesEntity[];\r\n RoPilotExaminerScenario? : RoPilotExaminerScenarioEntity[];\r\n ReferredStudentApplicant? : StudentApplicantEntity[];\r\n}\r\n\r\n/** Entity for Query Meaning Student_Applicant_with_detail */\r\nexport interface StudentApplicantWithDetailQueryEntity extends DwOrmData {\r\n // Attributes\r\n StudentApplicantId?: number;\r\n UserId?: number;\r\n UserIdDisplay?: string;\r\n ApplicationDescription?: string;\r\n AviationAuthorityId?: number;\r\n AviationAuthorityIdDisplay?: string;\r\n PilotCertificateNumber?: string;\r\n TravelRadiusMiles?: number;\r\n Citizenship?: string;\r\n ApplicantAddressId?: number;\r\n ApplicantAddressIdDisplay?: string;\r\n MainAirportId?: number;\r\n MainAirportIdDisplay?: string;\r\n MainAircraft?: string;\r\n ReferredPilotExaminerId?: number;\r\n ReferredPilotExaminerIdDisplay?: string;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n AviationTrainingProgramId?: number;\r\n AviationTrainingProgramIdDisplay?: string;\r\n CitzenshipCountyId?: number;\r\n CitzenshipCountyIdDisplay?: string;\r\n DwUserFirstName?: string;\r\n DwUserLastName?: string;\r\n DwUserEmail?: string;\r\n DwUserUserBackgroundMediaId?: number;\r\n DwUserUserBackgroundMediaIdDisplay?: string;\r\n DwUserUserPictureMediaId?: number;\r\n DwUserUserPictureMediaIdDisplay?: string;\r\n DwUserMobilePhone?: string;\r\n ApplicantAddressStreetAddress1?: string;\r\n ApplicantAddressStreetAddress2?: string;\r\n ApplicantAddressCity?: string;\r\n ApplicantAddressStateProvinceId?: number;\r\n ApplicantAddressStateProvinceIdDisplay?: string;\r\n ApplicantAddressCountryId?: number;\r\n ApplicantAddressCountryIdDisplay?: string;\r\n ApplicantAddressPostalCode?: string;\r\n ApplicantAddressLatitude?: number;\r\n ApplicantAddressLongitude?: number;\r\n\r\n // Relations\r\n ApplicantAddress? : AddressEntity;\r\n MainAirport? : AirportEntity;\r\n AviationAuthority? : AviationAuthorityEntity;\r\n AviationTrainingProgram? : AviationTrainingProgramEntity;\r\n CitzenshipCountyIdCountry? : CountryEntity;\r\n CurrentPilotCertifiateTypeIdPilotCertificateType? : PilotCertificateTypeEntity;\r\n ReferredPilotExaminer? : PilotExaminerEntity;\r\n DwUser? : DwUserEntity;\r\n ApplicantPlaceholder? : ApplicantPlaceholderEntity[];\r\n CheckRideRequest? : CheckRideRequestEntity[];\r\n}\r\n\r\n/** Entity for Query Meaning Airport_with_Address_info */\r\nexport interface AirportWithAddressInfoQueryEntity extends DwOrmData {\r\n // Attributes\r\n AirportId?: number;\r\n AviationAuthorityId?: number;\r\n AviationAuthorityIdDisplay?: string;\r\n AirportName?: string;\r\n AirportCode?: string;\r\n AirportAddressId?: number;\r\n AirportAddressIdDisplay?: string;\r\n Elevation?: number;\r\n OwnershipCode?: string;\r\n IsActive?: boolean;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n AirportAddressCity?: string;\r\n AirportAddressStateProvinceId?: number;\r\n AirportAddressStateProvinceIdDisplay?: string;\r\n AirportAddressPostalCode?: string;\r\n AirportAddressCountyName?: string;\r\n AirportAddressTimezoneId?: number;\r\n AirportAddressTimezoneIdDisplay?: string;\r\n AirportAddressObservesDst?: boolean;\r\n AirportAddressLatitude?: number;\r\n AirportAddressLongitude?: number;\r\n\r\n // Relations\r\n AirportAddress? : AddressEntity;\r\n AviationAuthority? : AviationAuthorityEntity;\r\n PreferredApplicantPlaceholder? : ApplicantPlaceholderEntity[];\r\n ScheduledCheckRideRequest? : CheckRideRequestEntity[];\r\n PreferredCheckRideRequest? : CheckRideRequestEntity[];\r\n ProposedCheckRideRequest? : CheckRideRequestEntity[];\r\n PilotExaminerLocationAirport? : PilotExaminerLocationAirportEntity[];\r\n CheckRidePlanOfAction? : PlanOfActionEntity[];\r\n RoPilotExaminerLocationDistances? : RoPilotExaminerLocationDistancesEntity[];\r\n MainStudentApplicant? : StudentApplicantEntity[];\r\n}\r\n\r\n/** Entity for Query Meaning Checkride_Request-Aggregate_Base */\r\nexport interface CheckrideRequestAggregateBaseQueryEntity extends DwOrmData {\r\n // Attributes\r\n CheckRideRequestId?: number;\r\n CheckRideGroupId?: number;\r\n CheckRideGroupIdDisplay?: string;\r\n CheckRideTypeId?: number;\r\n CheckRideTypeIdDisplay?: string;\r\n CheckRideTestTypeId?: number;\r\n CheckRideTestTypeIdDisplay?: string;\r\n CheckRideRequestSubStatusId?: number;\r\n CheckRideRequestSubStatusIdDisplay?: string;\r\n CheckRideApplicantTypeId?: number;\r\n CheckRideApplicantTypeIdDisplay?: string;\r\n AvaiationTrainingProgramId?: number;\r\n AvaiationTrainingProgramIdDisplay?: string;\r\n ScheduledDateTime?: string;\r\n ScheduledAirportId?: number;\r\n ScheduledAirportIdDisplay?: string;\r\n ScheduledCheckRideCost?: number;\r\n PilexosBookingCost?: number;\r\n ExaminerBookingCost?: number;\r\n AdditionalTravelCost?: number;\r\n ScheduledPilotExaminerId?: number;\r\n ScheduledPilotExaminerIdDisplay?: string;\r\n CheckRideCancellationTypeId?: number;\r\n CheckRideCancellationTypeIdDisplay?: string;\r\n CheckRideCancellationTypeOther?: string;\r\n PilexosBookingCostPaymentPartyId?: number;\r\n PilexosBookingCostPaymentPartyIdDisplay?: string;\r\n StudentApplicantCitizenshipCountyId?: number;\r\n StudentApplicantCitizenshipCountyIdDisplay?: string;\r\n FlightSchoolId?: number;\r\n FlightSchoolIdDisplay?: string;\r\n FlightSchoolNameOther?: string;\r\n AggrScheduledDateTime?: string;\r\n AggrScheduledDateTimeYear?: number;\r\n AggrScheduledDateTimeMonth?: number;\r\n AggrScheduledDateTimeMonthDisplay?: string;\r\n AggrScheduledDateTimeMonthYearDisplay?: string;\r\n AggrCheckRideRequestStatusId?: number;\r\n AggrCheckRideRequestStatus?: string;\r\n AggrPilexosPaymentDateTimeYear?: number;\r\n AggrPilexosPaymentDateTimeMonth?: number;\r\n AggrPilexosPaymentTotal?: number;\r\n AggrCheckridePaymentDateTimeYear?: number;\r\n AggrCheckridePaymentDateTimeMonth?: number;\r\n AggrCheckridePaymentTotal?: number;\r\n AggrOutcomeIsRequested?: number;\r\n AggrOutcomeIsBooked?: number;\r\n AggrOutcomeIsComplete?: number;\r\n AggrOutcomeIsCancelled?: number;\r\n AggrRevenueIsRequested?: number;\r\n AggrRevenueIsBooked?: number;\r\n AggrRevenueIsComplete?: number;\r\n AggrRevenueIsCancelled?: number;\r\n AggrCheckRideTypeDisplay?: string;\r\n CheckRideResultCheckRideOutcomeId?: number;\r\n CheckRideResultCheckRideOutcomeIdDisplay?: string;\r\n AirportAirportCode?: string;\r\n RoCheckrideApplicantInfoFlightSchoolFinalName?: string;\r\n\r\n // Relations\r\n ScheduledAirport? : AirportEntity;\r\n PreferredAirport? : AirportEntity;\r\n ProposedAirport? : AirportEntity;\r\n ApplicantAcsWrittenResult? : ApplicantAcsWrittenResultEntity;\r\n ApplicantPlaceholder? : ApplicantPlaceholderEntity;\r\n AviationAuthority? : AviationAuthorityEntity;\r\n AvaiationTrainingProgramIdAviationTrainingProgram? : AviationTrainingProgramEntity;\r\n ScheduledCalendarEventReference? : CalendarEventReferenceEntity;\r\n CheckRideApplicantType? : CheckRideApplicantTypeEntity;\r\n CheckRideCancellationType? : CheckRideCancellationTypeEntity;\r\n CheckRideGroup? : CheckRideGroupEntity;\r\n PilexosBookingCheckRidePayment? : CheckRidePaymentEntity;\r\n PilexosBookingCostPaymentPartyIdCheckRideRequestPaymentParty? : CheckRideRequestPaymentPartyEntity;\r\n CheckRideRequestSubStatus? : CheckRideRequestSubStatusEntity;\r\n ScheduledCheckRideScenario? : CheckRideScenarioEntity;\r\n CheckRideTestType? : CheckRideTestTypeEntity;\r\n CheckRideType? : CheckRideTypeEntity;\r\n StudentApplicantCitizenshipCountyIdCountry? : CountryEntity;\r\n FlightSchool? : FlightSchoolEntity;\r\n DocumentsDwMediaGroup? : DwMediaGroupEntity;\r\n CurrentPilotCertifiateTypeIdPilotCertificateType? : PilotCertificateTypeEntity;\r\n ScheduledPilotExaminer? : PilotExaminerEntity;\r\n ScheduledPilotExaminerLocation? : PilotExaminerLocationEntity;\r\n StudentApplicant? : StudentApplicantEntity;\r\n CheckRidePayment? : CheckRidePaymentEntity[];\r\n CheckRideResult? : CheckRideResultEntity;\r\n PlanOfAction? : PlanOfActionEntity;\r\n CheckrideRequestIdRoCheckrideAggregateUtil? : RoCheckrideAggregateUtilEntity;\r\n RoCheckrideApplicantFinalName? : RoCheckrideApplicantFinalNameEntity;\r\n CheckrideRequestIdRoCheckrideRequestScheduleDateInfo? : RoCheckrideRequestScheduleDateInfoEntity;\r\n}\r\n\r\n/** Entity for Query Meaning Checkride-Active_Applicant_Checkrides */\r\nexport interface CheckrideActiveApplicantCheckridesQueryEntity extends DwOrmData {\r\n // Attributes\r\n CheckRideRequestId?: number;\r\n StudentApplicantId?: number;\r\n StudentApplicantIdDisplay?: string;\r\n AviationAuthorityId?: number;\r\n AviationAuthorityIdDisplay?: string;\r\n CheckRideRequestSubStatusId?: number;\r\n CheckRideRequestSubStatusIdDisplay?: string;\r\n ScheduledDateTime?: string;\r\n CheckRideTypeId?: number;\r\n CheckRideTypeIdDisplay?: string;\r\n CheckRideGroupId?: number;\r\n CheckRideGroupIdDisplay?: string;\r\n AuthorityPreCheckRideNumber?: string;\r\n StudentApplicantStudentApplicantId?: number;\r\n StudentApplicantUserId?: number;\r\n StudentApplicantUserIdDisplay?: string;\r\n DwUserUserId?: number;\r\n DwUserEmail?: string;\r\n DwUserFirstName?: string;\r\n DwUserLastName?: string;\r\n\r\n // Relations\r\n ScheduledAirport? : AirportEntity;\r\n PreferredAirport? : AirportEntity;\r\n ProposedAirport? : AirportEntity;\r\n ApplicantAcsWrittenResult? : ApplicantAcsWrittenResultEntity;\r\n ApplicantPlaceholder? : ApplicantPlaceholderEntity;\r\n AviationAuthority? : AviationAuthorityEntity;\r\n AvaiationTrainingProgramIdAviationTrainingProgram? : AviationTrainingProgramEntity;\r\n ScheduledCalendarEventReference? : CalendarEventReferenceEntity;\r\n CheckRideApplicantType? : CheckRideApplicantTypeEntity;\r\n CheckRideCancellationType? : CheckRideCancellationTypeEntity;\r\n CheckRideGroup? : CheckRideGroupEntity;\r\n PilexosBookingCheckRidePayment? : CheckRidePaymentEntity;\r\n PilexosBookingCostPaymentPartyIdCheckRideRequestPaymentParty? : CheckRideRequestPaymentPartyEntity;\r\n CheckRideRequestSubStatus? : CheckRideRequestSubStatusEntity;\r\n ScheduledCheckRideScenario? : CheckRideScenarioEntity;\r\n CheckRideTestType? : CheckRideTestTypeEntity;\r\n CheckRideType? : CheckRideTypeEntity;\r\n StudentApplicantCitizenshipCountyIdCountry? : CountryEntity;\r\n FlightSchool? : FlightSchoolEntity;\r\n DocumentsDwMediaGroup? : DwMediaGroupEntity;\r\n CurrentPilotCertifiateTypeIdPilotCertificateType? : PilotCertificateTypeEntity;\r\n ScheduledPilotExaminer? : PilotExaminerEntity;\r\n ScheduledPilotExaminerLocation? : PilotExaminerLocationEntity;\r\n StudentApplicant? : StudentApplicantEntity;\r\n CheckRidePayment? : CheckRidePaymentEntity[];\r\n CheckRideResult? : CheckRideResultEntity;\r\n PlanOfAction? : PlanOfActionEntity;\r\n CheckrideRequestIdRoCheckrideAggregateUtil? : RoCheckrideAggregateUtilEntity;\r\n RoCheckrideApplicantFinalName? : RoCheckrideApplicantFinalNameEntity;\r\n CheckrideRequestIdRoCheckrideRequestScheduleDateInfo? : RoCheckrideRequestScheduleDateInfoEntity;\r\n}\r\n\r\n/** Entity for Query Meaning Acs_Codes-Lookup */\r\nexport interface AcsCodesLookupQueryEntity extends DwOrmData {\r\n // Attributes\r\n AcsCodeId?: number;\r\n AscCodeTypeId?: number;\r\n AscCodeTypeIdDisplay?: string;\r\n AcsCode?: string;\r\n AcsCodeOrder?: number;\r\n AcsAreaOfOperationTaskId?: number;\r\n AcsAreaOfOperationTaskIdDisplay?: string;\r\n AscCodeDescription?: string;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n TaskTaskName?: string;\r\n TaskTaskOrder?: number;\r\n TaskTaskCode?: string;\r\n TaskAcsAreaOfOperationTaskId?: number;\r\n AcsAreaOfOperationAcsAreaOfOperationId?: number;\r\n AcsAreaOfOperationAreaOfOperationName?: string;\r\n AcsAreaOfOperationAreaOfOperationOrder?: number;\r\n AcsAreaOfOperationAreaOfOperationCode?: string;\r\n AcsTestTestName?: string;\r\n AcsTestTestDescription?: string;\r\n AcsTestCheckRideGroupId?: number;\r\n AcsTestCheckRideGroupIdDisplay?: string;\r\n AcsTestTestCode?: string;\r\n AcsTestAcsTestId?: number;\r\n AcsTestAcsTestStatusId?: number;\r\n AcsTestAcsTestStatusIdDisplay?: string;\r\n\r\n // Relations\r\n AcsAreaOfOperationTask? : AcsAreaOfOperationTaskEntity;\r\n AscCodeTypeIdAcsCodeType? : AcsCodeTypeEntity;\r\n ApplicantAcsWrittenResultMissedCode? : ApplicantAcsWrittenResultMissedCodeEntity[];\r\n PlanOfActionRequiredAcsCode? : PlanOfActionRequiredAcsCodeEntity[];\r\n PlanOfActionSectionQuestion? : PlanOfActionSectionQuestionEntity[];\r\n QuestionBank? : QuestionBankEntity[];\r\n}\r\n\r\n/** Entity for Query Meaning Acs_Codes-Grid */\r\nexport interface AcsCodesGridQueryEntity extends DwOrmData {\r\n // Attributes\r\n AcsCodeId?: number;\r\n AscCodeTypeId?: number;\r\n AscCodeTypeIdDisplay?: string;\r\n AcsCode?: string;\r\n AcsCodeOrder?: number;\r\n AcsAreaOfOperationTaskId?: number;\r\n AcsAreaOfOperationTaskIdDisplay?: string;\r\n AscCodeDescription?: string;\r\n CreatedBy?: number;\r\n CreatedDateTime?: string;\r\n ModifiedBy?: number;\r\n ModifiedDateTime?: string;\r\n TaskTaskName?: string;\r\n TaskTaskOrder?: number;\r\n TaskTaskCode?: string;\r\n TaskAcsAreaOfOperationId?: number;\r\n TaskAcsAreaOfOperationIdDisplay?: string;\r\n AcsAreaOfOperationAreaOfOperationName?: string;\r\n AcsAreaOfOperationAreaOfOperationOrder?: number;\r\n AcsAreaOfOperationAreaOfOperationCode?: string;\r\n AcsAreaOfOperationAcsTestId?: number;\r\n AcsAreaOfOperationAcsTestIdDisplay?: string;\r\n AcsTestTestName?: string;\r\n AcsTestTestDescription?: string;\r\n AcsTestCheckRideGroupId?: number;\r\n AcsTestCheckRideGroupIdDisplay?: string;\r\n AcsTestTestCode?: string;\r\n\r\n // Relations\r\n AcsAreaOfOperationTask? : AcsAreaOfOperationTaskEntity;\r\n AscCodeTypeIdAcsCodeType? : AcsCodeTypeEntity;\r\n ApplicantAcsWrittenResultMissedCode? : ApplicantAcsWrittenResultMissedCodeEntity[];\r\n PlanOfActionRequiredAcsCode? : PlanOfActionRequiredAcsCodeEntity[];\r\n PlanOfActionSectionQuestion? : PlanOfActionSectionQuestionEntity[];\r\n QuestionBank? : QuestionBankEntity[];\r\n}\r\n\r\n/** Entity for Query Meaning Acs_Codes_With_Questions */\r\nexport interface AcsCodesWithQuestionsQueryEntity extends DwOrmData {\r\n // Attributes\r\n AcsCodeId?: number;\r\n AscCodeTypeId?: number;\r\n AscCodeTypeIdDisplay?: string;\r\n AcsCode?: string;\r\n AcsCodeOrder?: number;\r\n AcsAreaOfOperationTaskId?: number;\r\n AcsAreaOfOperationTaskIdDisplay?: string;\r\n AscCodeDescription?: string;\r\n AcsAreaOfOperationTaskAcsAreaOfOperationTaskId?: number;\r\n AcsAreaOfOperationTaskAcsAreaOfOperationId?: number;\r\n AcsAreaOfOperationTaskAcsAreaOfOperationIdDisplay?: string;\r\n AcsAreaOfOperationTaskTaskName?: string;\r\n AcsAreaOfOperationTaskTaskOrder?: number;\r\n AcsAreaOfOperationTaskTaskCode?: string;\r\n AcsAreaOfOperationAcsTestId?: number;\r\n AcsAreaOfOperationAcsTestIdDisplay?: string;\r\n AcsAreaOfOperationAreaOfOperationName?: string;\r\n AcsAreaOfOperationAreaOfOperationOrder?: number;\r\n AcsAreaOfOperationAreaOfOperationCode?: string;\r\n AcsAreaOfOperationAcsAreaOfOperationId?: number;\r\n QuestionBankQuestionBankId?: number;\r\n QuestionBankIsBuiltIn?: boolean;\r\n QuestionBankIsShared?: boolean;\r\n QuestionBankOwnerUserId?: number;\r\n QuestionBankAcsTestId?: number;\r\n QuestionBankAcsTestIdDisplay?: string;\r\n QuestionBankAcsCodeId?: number;\r\n QuestionBankAcsCodeIdDisplay?: string;\r\n QuestionBankQuestionHtml?: string;\r\n QuestionBankQuestionShortName?: string;\r\n\r\n // Relations\r\n AcsAreaOfOperationTask? : AcsAreaOfOperationTaskEntity;\r\n AscCodeTypeIdAcsCodeType? : AcsCodeTypeEntity;\r\n ApplicantAcsWrittenResultMissedCode? : ApplicantAcsWrittenResultMissedCodeEntity[];\r\n PlanOfActionRequiredAcsCode? : PlanOfActionRequiredAcsCodeEntity[];\r\n PlanOfActionSectionQuestion? : PlanOfActionSectionQuestionEntity[];\r\n QuestionBank? : QuestionBankEntity[];\r\n}\r\n\r\n/** Entity for Query Meaning Checkride_Group_ACS_Test */\r\nexport interface CheckrideGroupACSTestQueryEntity extends DwOrmData {\r\n // Attributes\r\n CheckRideGroupId?: number;\r\n AviationAuthorityId?: number;\r\n AviationAuthorityIdDisplay?: string;\r\n CheckRideGroup?: string;\r\n GroupOrder?: number;\r\n AcsTestAcsTestId?: number;\r\n AcsTestAcsTestStatusId?: number;\r\n AcsTestAcsTestStatusIdDisplay?: string;\r\n AcsTestCheckRideGroupId?: number;\r\n AcsTestCheckRideGroupIdDisplay?: string;\r\n AcsTestTestCode?: string;\r\n AcsTestTestDescription?: string;\r\n AcsTestTestExpirationDate?: string;\r\n AcsTestTestName?: string;\r\n\r\n // Relations\r\n AviationAuthority? : AviationAuthorityEntity;\r\n AcsTest? : AcsTestEntity[];\r\n ApplicantPlaceholder? : ApplicantPlaceholderEntity[];\r\n CheckRideRequest? : CheckRideRequestEntity[];\r\n CheckRideScenario? : CheckRideScenarioEntity[];\r\n CheckRideType? : CheckRideTypeEntity[];\r\n PlanOfAction? : PlanOfActionEntity[];\r\n}\r\n\r\n/** Entity for Query Meaning Plan_of_Action_Details */\r\nexport interface PlanOfActionDetailsQueryEntity extends DwOrmData {\r\n // Attributes\r\n PlanOfActionId?: number;\r\n PlanOfActionName?: string;\r\n ApplicantFinalName?: string;\r\n ApplicantFinalEmail?: string;\r\n ApplicationFinalPhone?: string;\r\n CheckRideFinalDateTime?: string;\r\n CheckRideFinalAirportId?: number;\r\n CheckRideFinalAirportIdDisplay?: string;\r\n CheckRideFinalGroupId?: number;\r\n CheckRideFinalGroupIdDisplay?: string;\r\n CheckRideFInalTypeId?: number;\r\n CheckRideFInalTypeIdDisplay?: string;\r\n CheckRideFinalTestTypeId?: number;\r\n CheckRideFinalTestTypeIdDisplay?: string;\r\n\r\n // Relations\r\n PlanOfAction? : PlanOfActionEntity;\r\n}\r\n\r\n // Lookup Value Enums {\r\nexport enum PilotExaminerStatusAllItems {\r\n Pending = 1,\r\n Submitted = 2,\r\n Rejected = 3,\r\n VerifiedLive = 4,\r\n Inactive = 1001,\r\n }\r\n\r\nexport enum CheckRideRequestStatusAllItems {\r\n Requested = 1,\r\n Booked = 2,\r\n Cancelled = 3,\r\n PostCheckride = 4,\r\n Complete = 5,\r\n }\r\n\r\nexport enum CheckRideRequestSubStatusAllItems {\r\n PendingApproval = 1,\r\n Cancelled = 3,\r\n NewDateProposedByExaminer = 4,\r\n Accepted = 5,\r\n RequiresAdditionalInfo = 6,\r\n AllDetailsComplete = 7,\r\n Rejected = 8,\r\n PendingOutcome = 9,\r\n Completed = 10,\r\n Deleted = 11,\r\n Draft = 12,\r\n PendingPayment = 14,\r\n AdditionalInformationNeeded = 15,\r\n AcceptedPendingPayment = 16,\r\n PendingReschedule = 17,\r\n }\r\n\r\nexport enum CheckRideRequestSubStatusFullStatusDesc {\r\n RequestedPendingApproval = 1,\r\n CancelledCancelled = 3,\r\n RequestedNewDateProposedByExaminer = 4,\r\n BookedAccepted = 5,\r\n BookedRequiresAdditionalInfo = 6,\r\n BookedAllDetailsComplete = 7,\r\n RequestedRejected = 8,\r\n PostCheckridePendingOutcome = 9,\r\n CompleteCompleted = 10,\r\n CompleteDeleted = 11,\r\n RequestedDraft = 12,\r\n RequestedPendingPayment = 14,\r\n RequestedAdditionalInformationNeeded = 15,\r\n BookedAcceptedPendingPayment = 16,\r\n PostCheckridePendingReschedule = 17,\r\n }\r\n\r\nexport enum CheckRideRequestSubStatusStudent {\r\n PendingApproval = 1,\r\n Cancelled = 3,\r\n NewDateProposedByExaminer = 4,\r\n Accepted = 5,\r\n RequiresAdditionalInfo = 6,\r\n AllDetailsComplete = 7,\r\n Rejected = 8,\r\n PendingOutcome = 9,\r\n Completed = 10,\r\n Deleted = 11,\r\n Draft = 12,\r\n PendingPayment = 14,\r\n AdditionalInformationNeeded = 15,\r\n AcceptedPendingPayment = 16,\r\n PendingReschedule = 17,\r\n }\r\n\r\nexport enum PaymentReferenceStatusAllItems {\r\n Pending = 1,\r\n Charged = 2,\r\n Refunded = 3,\r\n Cancelled = 4,\r\n }\r\n\r\nexport enum CheckRideStatusLevelAllItems {\r\n AllGoodGreen = 1,\r\n WarningOrange = 2,\r\n DangerRed = 3,\r\n }\r\n\r\nexport enum CheckRideRequestSubStatusExaminerManualWF {\r\n PendingApproval = 1,\r\n Cancelled = 3,\r\n NewDateProposedByExaminer = 4,\r\n Accepted = 5,\r\n RequiresAdditionalInfo = 6,\r\n AllDetailsComplete = 7,\r\n Rejected = 8,\r\n PendingOutcome = 9,\r\n Completed = 10,\r\n Deleted = 11,\r\n Draft = 12,\r\n PendingPayment = 14,\r\n AdditionalInformationNeeded = 15,\r\n AcceptedPendingPayment = 16,\r\n PendingReschedule = 17,\r\n }\r\n\r\nexport enum ApplicantPlaceholderStatusAllItems {\r\n Requested = 1,\r\n Booked = 2,\r\n Cancelled = 3,\r\n Complete = 4,\r\n Deleted = 5,\r\n }\r\n\r\nexport enum PlanOfActionStatusAllItems {\r\n Draft = 1,\r\n Active = 2,\r\n Complete = 3,\r\n Cancelled = 4,\r\n Deleted = 5,\r\n Inactive = 6,\r\n }\r\n\r\nexport enum AcsTestStatusAllItems {\r\n Active = 1,\r\n Expired = 2,\r\n Deleted = 3,\r\n }\r\n\r\nexport enum PlanOfActionStatusPlan {\r\n Draft = 1,\r\n Active = 2,\r\n Complete = 3,\r\n Cancelled = 4,\r\n Deleted = 5,\r\n }\r\n\r\nexport enum PlanOfActionStatusTypeAllItems {\r\n Shared = 1,\r\n PlanStatus = 2,\r\n TemplateStatus = 3,\r\n }\r\n\r\nexport enum PlanOfActionStatusTemplate {\r\n Active = 2,\r\n Deleted = 5,\r\n Inactive = 6,\r\n }\r\n\r\n// Excluding lookup MediaGroup All Items because it contains 116 items which exceeds the max item setting of 100. Override in cli config for code gen using ExcludeLookupsMaxCount\r\nexport enum CheckRideGroupAllItems {\r\n Private = 1,\r\n Instrument = 2,\r\n Commercial = 3,\r\n CFI = 4,\r\n AirlineTransportPilot = 8,\r\n SportPilot = 9,\r\n AddOn = 10,\r\n Administrative = 11,\r\n }\r\n\r\nexport enum CheckRideTypeByGroup {\r\n }\r\n\r\nexport enum CheckRideTypeAllItems {\r\n AirplaneSingleEngineLand = 1,\r\n AirplaneSingleEngineSea = 2,\r\n AirplaneMultiEngineLand = 3,\r\n AirplaneMultiEngineSea = 4,\r\n LighterThanAirBalloon = 5,\r\n PoweredChuteLand = 6,\r\n GliderLand = 7,\r\n // Duplicate property Name found\r\n AirplaneSingleEngineLand_8 = 8,\r\n // Duplicate property Name found\r\n AirplaneSingleEngineSea_9 = 9,\r\n // Duplicate property Name found\r\n AirplaneMultiEngineLand_10 = 10,\r\n // Duplicate property Name found\r\n AirplaneMultiEngineSea_11 = 11,\r\n RotorcraftHelicopter = 12,\r\n RotorcraftGyroplane = 13,\r\n // Duplicate property Name found\r\n AirplaneSingleEngineLand_14 = 14,\r\n // Duplicate property Name found\r\n RotorcraftHelicopter_15 = 15,\r\n // Duplicate property Name found\r\n RotorcraftGyroplane_16 = 16,\r\n // Duplicate property Name found\r\n GliderLand_17 = 17,\r\n // Duplicate property Name found\r\n PoweredChuteLand_18 = 18,\r\n // Duplicate property Name found\r\n LighterThanAirBalloon_19 = 19,\r\n // Duplicate property Name found\r\n AirplaneSingleEngineLand_20 = 20,\r\n // Duplicate property Name found\r\n AirplaneMultiEngineLand_21 = 21,\r\n // Duplicate property Name found\r\n RotorcraftHelicopter_22 = 22,\r\n AirplaneSingleEngine = 25,\r\n LighterThanAirAirship = 26,\r\n AirplaneMultiEngine = 27,\r\n RotorcraftHelicopterSingleEngine = 28,\r\n AirplaneInstrumentInstructorAddOn = 29,\r\n AirplaneMultiEngineInstructorAddOn = 30,\r\n // Duplicate property Name found\r\n AirplaneSingleEngineSea_31 = 31,\r\n // Duplicate property Name found\r\n AirplaneSingleEngineLand_32 = 32,\r\n // Duplicate property Name found\r\n AirplaneSingleEngineSea_33 = 33,\r\n // Duplicate property Name found\r\n AirplaneMultiEngineLand_34 = 34,\r\n // Duplicate property Name found\r\n AirplaneMultiEngineSea_35 = 35,\r\n // Duplicate property Name found\r\n RotorcraftHelicopterSingleEngine_36 = 36,\r\n RotorcraftHelicopterMultiEngine = 37,\r\n // Duplicate property Name found\r\n RotorcraftHelicopterMultiEngine_38 = 38,\r\n PoweredChuteSea = 39,\r\n // Duplicate property Name found\r\n PoweredChuteSea_40 = 40,\r\n SportSingleEngineLand = 41,\r\n SportSingleEngineSea = 42,\r\n InstrumentSingleEngine = 43,\r\n CommercialSingleEngineLand = 44,\r\n SeaplaneSingleEngine = 45,\r\n SeaplaneMultiEngine = 46,\r\n Glider = 47,\r\n LighterThanAir = 48,\r\n RotorcraftSingleEngine = 49,\r\n RotorcraftMultiEngine = 50,\r\n CommercialMultiEngine = 51,\r\n TurbopropSingleEngine = 52,\r\n TurbopropMultiEngine = 53,\r\n TurbojetSingleEngine = 54,\r\n TurbojetMultiEngine = 55,\r\n ReciprocatingSingleEngine = 56,\r\n ReciprocatingMultiEngine = 57,\r\n ForeignPilotExaminerFPE = 58,\r\n MilitaryCompetencyExaminerMCE = 59,\r\n GroundInstructorExaminerGIE = 60,\r\n FlightInstructorRenewalExaminerFIRE = 61,\r\n RemotePilotExaminerRPE = 62,\r\n AirmanCert141ACR141 = 63,\r\n AirmanCertFlightInstructorRefresherCourseACRFIRC = 64,\r\n InstrumentMultiEngine = 1001,\r\n }\r\n\r\n// Excluding lookup CheckRideScenarioTypeMap All Items because it contains 131 items which exceeds the max item setting of 100. Override in cli config for code gen using ExcludeLookupsMaxCount\r\nexport enum PaymentTypeAllItems {\r\n PilExOSFee = 1,\r\n CheckridePayment = 2,\r\n CheckrideRefund = 3,\r\n ExaminerFee = 4,\r\n }\r\n\r\nexport enum CheckRideTestTypeAllItems {\r\n InitialTest = 1,\r\n Retest = 2,\r\n Continuance = 3,\r\n RetestFlightOnly = 4,\r\n ContinuanceFlightOnly = 5,\r\n Admin = 6,\r\n }\r\n\r\nexport enum UserTypeAllItems {\r\n PIlotExaminer = 1,\r\n FlightSchoolInstructor = 2,\r\n StudentApplicant = 3,\r\n PilexosAdmin = 4,\r\n }\r\n\r\nexport enum CalendarReferenceTypeAllItems {\r\n GoogleCalendar = 1,\r\n }\r\n\r\nexport enum CheckRideTypeWithGrade {\r\n CFIAirplaneSingleEngineLand = 1,\r\n CFIAirplaneSingleEngineSea = 2,\r\n CFIAirplaneMultiEngineLand = 3,\r\n CFIAirplaneMultiEngineSea = 4,\r\n CFILighterThanAirBalloon = 5,\r\n CFIPoweredChuteLand = 6,\r\n CFIGliderLand = 7,\r\n PrivateAirplaneSingleEngineLand = 8,\r\n PrivateAirplaneSingleEngineSea = 9,\r\n PrivateAirplaneMultiEngineLand = 10,\r\n PrivateAirplaneMultiEngineSea = 11,\r\n CFIRotorcraftHelicopter = 12,\r\n CFIRotorcraftGyroplane = 13,\r\n InstrumentAirplaneSingleEngineLand = 14,\r\n PrivateRotorcraftHelicopter = 15,\r\n PrivateRotorcraftGyroplane = 16,\r\n PrivateGliderLand = 17,\r\n SportPilotPoweredChuteLand = 18,\r\n PrivateLighterThanAirBalloon = 19,\r\n SportPilotAirplaneSingleEngineLand = 20,\r\n InstrumentAirplaneMultiEngineLand = 21,\r\n InstrumentRotorcraftHelicopter = 22,\r\n CommercialAirplaneSingleEngine = 25,\r\n CFILighterThanAirAirship = 26,\r\n CommercialAirplaneMultiEngine = 27,\r\n CommercialRotorcraftHelicopterSingleEngine = 28,\r\n CFIAirplaneInstrumentInstructorAddOn = 29,\r\n CFIAirplaneMultiEngineInstructorAddOn = 30,\r\n SportPilotAirplaneSingleEngineSea = 31,\r\n AirlineTransportPilotAirplaneSingleEngineLand = 32,\r\n AirlineTransportPilotAirplaneSingleEngineSea = 33,\r\n AirlineTransportPilotAirplaneMultiEngineLand = 34,\r\n AirlineTransportPilotAirplaneMultiEngineSea = 35,\r\n AirlineTransportPilotRotorcraftHelicopterSingleEngine = 36,\r\n AirlineTransportPilotRotorcraftHelicopterMultiEngine = 37,\r\n CommercialRotorcraftHelicopterMultiEngine = 38,\r\n CFIPoweredChuteSea = 39,\r\n SportPilotPoweredChuteSea = 40,\r\n CFISportSingleEngineLand = 41,\r\n CFISportSingleEngineSea = 42,\r\n AddOnInstrumentSingleEngine = 43,\r\n AddOnCommercialSingleEngineLand = 44,\r\n AddOnSeaplaneSingleEngine = 45,\r\n AddOnSeaplaneMultiEngine = 46,\r\n AddOnGlider = 47,\r\n AddOnLighterThanAir = 48,\r\n AddOnRotorcraftSingleEngine = 49,\r\n AddOnRotorcraftMultiEngine = 50,\r\n AddOnCommercialMultiEngine = 51,\r\n AddOnTurbopropSingleEngine = 52,\r\n AddOnTurbopropMultiEngine = 53,\r\n AddOnTurbojetSingleEngine = 54,\r\n AddOnTurbojetMultiEngine = 55,\r\n AddOnReciprocatingSingleEngine = 56,\r\n AddOnReciprocatingMultiEngine = 57,\r\n AdministrativeForeignPilotExaminerFPE = 58,\r\n AdministrativeMilitaryCompetencyExaminerMCE = 59,\r\n AdministrativeGroundInstructorExaminerGIE = 60,\r\n AdministrativeFlightInstructorRenewalExaminerFIRE = 61,\r\n AdministrativeRemotePilotExaminerRPE = 62,\r\n AdministrativeAirmanCert141ACR141 = 63,\r\n AdministrativeAirmanCertFlightInstructorRefresherCourseACRFIRC = 64,\r\n AddOnInstrumentMultiEngine = 1001,\r\n }\r\n\r\nexport enum PaymentReferenceCardTypeAllItems {\r\n Visa = 1,\r\n Matsercard = 2,\r\n AmericanExpress = 3,\r\n Discover = 4,\r\n Unknown = 5,\r\n }\r\n\r\nexport enum CheckRideApplicantTypeAllItems {\r\n StudentAccount = 1,\r\n ManualEntry = 2,\r\n }\r\n\r\nexport enum CheckRideRequestCancelTypeAllItems {\r\n ApplicantNoShow = 1,\r\n ApplicantNotReady = 2,\r\n Mechanical = 3,\r\n Weather = 4,\r\n Other = 5,\r\n }\r\n\r\nexport enum PilotCertificateTypeAllItems {\r\n Student = 1,\r\n Private = 2,\r\n Commercial = 3,\r\n ATP = 4,\r\n }\r\n\r\nexport enum AcsCodeTypeAllItems {\r\n Knowledge = 1,\r\n RiskManagement = 2,\r\n Skills = 3,\r\n }\r\n\r\nexport enum PlanOfActionSectionTypeAllItems {\r\n Manual = 1,\r\n AreaOfOperation = 2,\r\n Task = 3,\r\n }\r\n\r\nexport enum PilotExaminerLocationTypeAllItems {\r\n Home = 1,\r\n Travel = 2,\r\n }\r\n\r\nexport enum AcsTestCheckRideTypeAllItems {\r\n AcsTestCheckRideTypeId1 = 1,\r\n AcsTestCheckRideTypeId2 = 2,\r\n AcsTestCheckRideTypeId3 = 3,\r\n AcsTestCheckRideTypeId4 = 4,\r\n AcsTestCheckRideTypeId5 = 5,\r\n AcsTestCheckRideTypeId6 = 6,\r\n AcsTestCheckRideTypeId7 = 7,\r\n AcsTestCheckRideTypeId8 = 8,\r\n AcsTestCheckRideTypeId9 = 9,\r\n AcsTestCheckRideTypeId10 = 10,\r\n AcsTestCheckRideTypeId11 = 11,\r\n AcsTestCheckRideTypeId12 = 12,\r\n }\r\n\r\nexport enum CheckRideOutcomeAllItems {\r\n CertificateIssued = 1,\r\n Disapproved = 2,\r\n Discontinued = 3,\r\n }\r\n\r\nexport enum CheckRideRequestPaymentPartyAllItems {\r\n PilotExaminer = 1,\r\n Applicant = 2,\r\n }\r\n\r\nexport enum AviationTrainingProgramAllItems {\r\n Part61 = 1,\r\n Part141 = 2,\r\n }\r\n\r\nexport enum AcsTestPortionAllItems {\r\n PreTestBrief = 1,\r\n Ground = 2,\r\n Flight = 3,\r\n PostFlightBrief = 4,\r\n PreFlightBrief = 5,\r\n }\r\n\r\n\r\n\r\n\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { DwSectionBaseComponent, DwMetaDataFormApi, DwExpressionService, DwUiConfigRegistryService, DwUIMetaDataConfigToken, DwUIMetaDataConfig, DwMetaDataServiceToken, DwMetaDataService, DwMetaDataFormStateService, DwComponent, DwComponentType, DwLookupInfo, DwContainerOptions, DwExpandCollapseStyle, DwExpandCollapseLocation, sortArrayByField, DwMdFormContextInfo } from '@devwareapps/devware-cap';\r\nimport { PlanOfActionEntity, PlanOfActionSectionEntity, PlanOfActionSectionQuestionEntity, AcsCodesLookupQueryEntity, AppMetaDataItemNames, AppMetaDataLookups, PlanOfActionSectionTypeAllItems, PlanOfActionSectionTypeEntity, AcsTestPortionAllItems, AcsTestEntity, AppMetaData, AcsTestPortionEntity } from '../../../../meta-data/app-meta-data.service';\r\nimport { AcsCodesStorageItem, AcsCodeStatuses } from '../../../plan-of-action/models/acs-code-items.model';\r\nimport { PlanOfActionRepositoryService } from '../../../plan-of-action/services/plan-of-action-repository.service';\r\nimport { AbstractControl, FormControl } from '@angular/forms';\r\nimport { GenerateQuestionsActionService } from '../../../plan-of-action/actions/generate-questions-action.service';\r\nimport { PlanOfActionGeneratorService } from '../../../plan-of-action/services/plan-of-action-generator.service';\r\nimport { PlanOfActionModalService } from '../../services/plan-of-action-modal.service';\r\nimport { AcsReferenceInfo } from '../../models/acs-reference-info.model';\r\n\r\n@DwComponent({\r\n key: 'plan-of-action-sections',\r\n name: 'Plan of Action Sections',\r\n componentType: DwComponentType.formSection,\r\n parentItemName: AppMetaDataItemNames.PlanOfAction,\r\n isGlobal: false\r\n})\r\n@Component({\r\n selector: 'app-plan-of-action-sections',\r\n templateUrl: './plan-of-action-sections.component.html',\r\n styleUrls: ['./plan-of-action-sections.component.scss']\r\n})\r\nexport class PlanOfActionSectionsComponent extends DwSectionBaseComponent {\r\n static expandedSections: { [prop: number]: boolean } = {};\r\n\r\n formApi: DwMetaDataFormApi;\r\n planOfAction: PlanOfActionEntity;\r\n lastPlanOfAction: PlanOfActionEntity;\r\n originalPlanOfAction: PlanOfActionEntity;\r\n acsTest: AcsTestEntity;\r\n\r\n planOfActionSectionsFC: AbstractControl;\r\n currentSections: PlanOfActionSectionEntity[];\r\n\r\n selectedSectionIndex: number = 0;\r\n\r\n //acsTestPortionId: number; // = AcsTestPortionAllItems.PreQualifications;\r\n\r\n //containerOptions: DwContainerOptions;\r\n activeTabIndex: number = 0;\r\n manageSections: boolean = false;\r\n acsReferenceInfo: AcsReferenceInfo;\r\n acsTestPortions: AcsTestPortionEntity[];\r\n\r\n\r\n currentAcsTestPortion: AcsTestPortionEntity;\r\n acsCodeStatuses: AcsCodeStatuses;\r\n\r\n\r\n // sectionTypes: PlanOfActionSectionTypeEntity[];\r\n\r\n onSectionCollapsedChange(collapsed: boolean, index: number) {\r\n //console.log('Section collapsed change', collapsed, index);\r\n if (collapsed) {\r\n if (this.selectedSectionIndex == index) {\r\n this.selectedSectionIndex = -1;\r\n }\r\n } else {\r\n this.selectedSectionIndex = index;\r\n }\r\n }\r\n\r\n constructor(\r\n dwExpressionService: DwExpressionService,\r\n dwUiConfigRegistryService: DwUiConfigRegistryService,\r\n @Inject(DwUIMetaDataConfigToken) uiMetaDataConfig: DwUIMetaDataConfig,\r\n @Inject(DwMetaDataServiceToken) dwMetaDataService: DwMetaDataService,\r\n private dwMetaDataFormStateService: DwMetaDataFormStateService,\r\n private planOfActionRepositoryService: PlanOfActionRepositoryService,\r\n private generateQuestionsActionService: GenerateQuestionsActionService,\r\n private planofActionGeneratorService: PlanOfActionGeneratorService,\r\n private planOfActionModalService: PlanOfActionModalService\r\n ) {\r\n super(dwExpressionService, dwUiConfigRegistryService, uiMetaDataConfig, dwMetaDataService);\r\n\r\n this.formApi = this.dwMetaDataFormStateService.state.formApi;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadReferenceData();\r\n this.setupDataWatch();\r\n\r\n //console.log('Section created');\r\n }\r\n\r\n onSectionsReorder(sections: PlanOfActionSectionEntity[]) {\r\n\r\n let order = 1;\r\n for(const section of sections) {\r\n\r\n section.SectionOrder = order;\r\n order++;\r\n }\r\n // this.planOfAction.PlanOfActionSection = sections;\r\n\r\n // this.planOfActionSectionsFC.setValue(sections);\r\n }\r\n\r\n onSectionRemoved(section: PlanOfActionSectionEntity) {\r\n section._isDeleted = true;\r\n }\r\n\r\n startManageSections() {\r\n this.manageSections = true;\r\n }\r\n\r\n completeManageSections() {\r\n this.manageSections = false;\r\n }\r\n\r\n manageSectionsChange() {\r\n if (!this.manageSections) {\r\n this.selectedSectionIndex = 0;\r\n this.setupSections();\r\n }\r\n }\r\n\r\n\r\n planOfActionSectionChange(section: PlanOfActionSectionEntity) {\r\n\r\n this.updateSections(this.planOfAction.PlanOfActionSection);\r\n // this.planOfActionRepositoryService.savePlanOfActionSection(section);\r\n }\r\n\r\n handleTabChange(index: number) {\r\n this.currentAcsTestPortion = this.acsTestPortions[index];\r\n //const acsTestPortionId = this.acsTestPortions[index]?.Id;\r\n\r\n this.setAcsTestPortion(this.currentAcsTestPortion);\r\n }\r\n\r\n addSections() {\r\n this.planOfActionModalService.showGenerateSectionsModal(this.planOfAction, this.currentAcsTestPortion?.AcsTestPortionId)\r\n .subscribe(result => {\r\n if (result.cancelled) {\r\n return;\r\n }\r\n\r\n this.updateSections(result.data.PlanOfActionSection);\r\n });\r\n }\r\n\r\n addManualSection() {\r\n const section: PlanOfActionSectionEntity = {\r\n _itemName: AppMetaDataItemNames.PlanOfActionSection,\r\n PlanOfActionSectionId: this.getNextSectionId(),\r\n PlanOfActionId: this.planOfAction.PlanOfActionId,\r\n PlanOfActionSectionTypeId: PlanOfActionSectionTypeAllItems.Manual,\r\n AcsTestPortionId: this.currentAcsTestPortion?.AcsTestPortionId,\r\n SectionName: 'New Section',\r\n PlanOfActionSectionQuestion: [],\r\n// SectionOrder: this.currentSections.length + 1 // Handled in reorder\r\n };\r\n\r\n this.onSectionsReorder(this.currentSections);\r\n\r\n this.planOfAction.PlanOfActionSection.push(section);\r\n\r\n this.updateSections(this.planOfAction.PlanOfActionSection);\r\n }\r\n\r\n private nextKeyValue: number = 0;\r\n\r\n getNextSectionId(): number {\r\n // Need to determine what keys values have been used\r\n if (this.planOfAction.PlanOfActionSection.length == 0) {\r\n this.nextKeyValue--;\r\n\r\n return this.nextKeyValue;\r\n }\r\n\r\n let minKeyValue = 0;\r\n\r\n for (let section of this.planOfAction.PlanOfActionSection) {\r\n const keyValue = section.PlanOfActionSectionId;\r\n\r\n if (keyValue < minKeyValue) {\r\n minKeyValue = keyValue;\r\n }\r\n };\r\n\r\n this.nextKeyValue = minKeyValue - 1;\r\n\r\n return this.nextKeyValue;\r\n }\r\n\r\n private updateSections(planOfActionSections: PlanOfActionSectionEntity[]) {\r\n this.planOfAction.PlanOfActionSection = planOfActionSections;\r\n\r\n this.planOfActionSectionsFC.setValue(this.planOfAction.PlanOfActionSection);\r\n\r\n this.setupSections();\r\n }\r\n\r\n setAcsTestPortion(acsTestPortion : AcsTestPortionEntity) {\r\n this.currentAcsTestPortion = acsTestPortion;\r\n\r\n this.setupSections();\r\n\r\n //this.manageSections = (this.currentSections.length == 0)\r\n }\r\n\r\n loadReferenceData() {\r\n this.planOfActionRepositoryService.getAcsTestPortions()\r\n .subscribe(acsTestPortions => {\r\n this.acsTestPortions = acsTestPortions;\r\n\r\n this.currentAcsTestPortion =this.acsTestPortions[0];\r\n });\r\n // this.dwMetaDataService.getLookup(AppMetaDataLookups.AcsTestPortionAllItems)\r\n // .subscribe(acsTestPortions => {\r\n // this.acsTestPortions = acsTestPortions;\r\n // });\r\n }\r\n\r\n setupDataWatch() {\r\n this.formApi.getFormDataChanges(100)\r\n .subscribe(dataChange => {\r\n if (this.formApi.isDataLoadComplete) {\r\n this.checkForDataChange();\r\n }\r\n });\r\n\r\n if (this.formApi.isDataLoadComplete) {\r\n this.checkForDataChange();\r\n }\r\n }\r\n\r\n private checkForDataChange() {\r\n this.planOfAction = this.formApi.getFormData();\r\n\r\n if (!this.planOfActionSectionsFC) {\r\n this.planOfActionSectionsFC = this.formGroup[\"PlanOfActionSection\"];\r\n\r\n if (!this.planOfActionSectionsFC) {\r\n this.planOfActionSectionsFC = new FormControl([]);\r\n this.formGroup.addControl(\"PlanOfActionSection\", this.planOfActionSectionsFC);\r\n }\r\n\r\n this.planOfActionSectionsFC.setValue(this.planOfAction.PlanOfActionSection);\r\n }\r\n\r\n // Link written ACS code if it exists\r\n this.checkWrittenInfo();\r\n\r\n this.setupSections();\r\n }\r\n\r\n private checkWrittenInfo() {\r\n if (!this.planOfAction.ApplicantAcsWrittenResultId || (this.lastPlanOfAction && this.lastPlanOfAction?.CheckRideRequestId != this.planOfAction.CheckRideRequestId)) {\r\n this.updateWrittenInfo();\r\n }\r\n\r\n this.lastPlanOfAction = this.planOfAction;\r\n\r\n if (!this.originalPlanOfAction) {\r\n this.originalPlanOfAction = this.planOfAction;\r\n }\r\n }\r\n\r\n updateWrittenInfo() {\r\n if (!this.planOfAction.CheckRideRequestId) {\r\n if (!this.originalPlanOfAction) {\r\n return;\r\n }\r\n\r\n if(this.originalPlanOfAction.CheckRideRequestId) {\r\n // We need to clear the written result\r\n this.planOfAction.ApplicantAcsWrittenResultId = -1;\r\n this.planOfAction.ApplicantAcsWrittenResult = AppMetaData.ApplicantAcsWrittenResult.CreateEntity();\r\n this.planOfAction.ApplicantAcsWrittenResult.ApplicantAcsWrittenResultMissedCode = [];\r\n\r\n this.updatePlanofActionForm();\r\n }\r\n\r\n\r\n return;\r\n }\r\n\r\n this.planOfActionRepositoryService.loadCheckrideAndAcsTestResult(this.planOfAction.CheckRideRequestId)\r\n .subscribe(checkRideRequest => {\r\n // If no written result, then we don't do anything\r\n if (!checkRideRequest.ApplicantAcsWrittenResultId) {\r\n return;\r\n }\r\n\r\n this.planOfAction.ApplicantAcsWrittenResultId = checkRideRequest.ApplicantAcsWrittenResultId;\r\n this.planOfAction.ApplicantAcsWrittenResult = checkRideRequest.ApplicantAcsWrittenResult;\r\n\r\n this.updatePlanofActionForm();\r\n });\r\n }\r\n\r\n private updatePlanofActionForm() {\r\n this.formApi.patchContextData(DwMdFormContextInfo.DATA_CONTEXT_NAME, this.planOfAction);\r\n this.formApi.formGroup.patchValue(this.planOfAction);\r\n this.formApi.setFormData(this.planOfAction);\r\n }\r\n\r\n firstTime = true;\r\n setupSections() {\r\n if (!this.planOfAction || !this.acsTestPortions) {\r\n return;\r\n }\r\n\r\n if (this.acsTest == null) {\r\n this.loadAcsTest();\r\n }\r\n\r\n this.acsCodeStatuses = this.planOfActionRepositoryService.getAcsCodeStatus(this.planOfAction);\r\n\r\n if (!this.currentAcsTestPortion?.AcsTestPortionId) {\r\n const acsTestPortion = this.acsTestPortions[0]\r\n this.setAcsTestPortion(acsTestPortion);\r\n }\r\n\r\n this.currentSections = this.planOfAction?.PlanOfActionSection.filter(x => !x._isDeleted && x.AcsTestPortionId == this.currentAcsTestPortion?.AcsTestPortionId);\r\n\r\n if (this.currentSections.length == 0 && this.firstTime) {\r\n this.firstTime = false;\r\n this.startManageSections();\r\n }\r\n\r\n this.onSectionsReorder(this.currentSections);\r\n }\r\n\r\n loadAcsTest() {\r\n this.planOfActionRepositoryService.getAcsReference(this.planOfAction.AcsTestId)\r\n .subscribe(acsReferenceInfo => {\r\n this.acsReferenceInfo = acsReferenceInfo;\r\n });\r\n }\r\n\r\n}\r\n\r\n","
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n 0\">\r\n \r\n \r\n \r\n \r\n\r\n \r\n No sections have been added.\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n No sections have been added. Switch to Manage sections to add some\r\n \r\n \r\n
\r\n
","import { AfterViewInit, Component, ElementRef, EventEmitter, HostListener, Inject, Input, OnChanges, OnInit, Output, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { PilotExaminerLocationEntity, PilotExaminerSearchQueryEntity } from '../../../../meta-data/app-meta-data.service';\r\nimport { DwUIConfigToken, DwUIConfig, DwConfigServiceToken, DwConfigService, DwInputConverter, DwMessage, DwMessageSeverity } from '@devwareapps/devware-cap';\r\nimport { ExaminerTimeSlotGrouping, ExaminterTimeSlotItem } from '../../../examiner/models/examiner-time-slot-grouping.model';\r\nimport { ExaminerLocationSelection } from '../../../examiner/models/exminer-location-selection.model';\r\nimport { ExaminerTimeSlotEntityExt, PilotExaminerSearchQueryEntityExt } from '../../../../meta-data/extensions/pilot-examiner-search-query-ext.model';\r\n\r\n\r\n@Component({\r\n selector: 'app-schedule-selector',\r\n templateUrl: './schedule-selector.component.html',\r\n styleUrls: ['./schedule-selector.component.scss']\r\n})\r\nexport class ScheduleSelectorComponent implements OnInit, AfterViewInit {\r\n @Input() searchResult: PilotExaminerSearchQueryEntityExt;\r\n\r\n @Input() isContainerSelected: boolean;\r\n\r\n @Input() selectedDateTime: string;\r\n @Output() selectedDateTimeChange = new EventEmitter();\r\n\r\n @ViewChild(\"container\") containerElement: ElementRef;\r\n visibleTimeslotGroupings: ExaminerTimeSlotGrouping[] = [];\r\n\r\n timeSlotsToShow = 12; \r\n timeSlotIncrement = 12;\r\n hasMoreTimeslots: boolean;\r\n controlWidth: any;\r\n constructor() { }\r\n\r\n noAvailabilityMessage: DwMessage;;\r\n\r\n ngAfterViewInit(): void {\r\n this.setControlSize();\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n if (this.searchResult.AvailableTimeSlots.length == 0) {\r\n this.setupNoAvailabilityMessage();\r\n\r\n }\r\n\r\n this.setupVisibleTimeslowGroupings();\r\n\r\n this.setControlSize();\r\n\r\n //this.setupDefaultTimeslot();\r\n }\r\n\r\n private setupNoAvailabilityMessage() {\r\n const weeksOut = this.searchResult.CheckRideRequestBookingMaxWeeksOut ? this.searchResult.CheckRideRequestBookingMaxWeeksOut : 8;\r\n\r\n \r\n let message = `No availability found for the selected date and up to ${weeksOut} weeks out`;\r\n\r\n if (weeksOut == 1) {\r\n message = `No availability found for the selected date and up to a week out`;\r\n }\r\n\r\n this.noAvailabilityMessage = {\r\n messageBody: message,\r\n severity: DwMessageSeverity.warning\r\n }\r\n\r\n\r\n }\r\n \r\n @HostListener('window:resize', ['$event.target'])\r\n public onResize(target) {\r\n this.setControlSize();\r\n }\r\n\r\n private setControlSize() {\r\n const width = this.containerElement?.nativeElement?.offsetWidth;\r\n \r\n this.controlWidth = width;\r\n \r\n if (this.controlWidth < 200) {\r\n this.timeSlotIncrement = 2;\r\n } else if (this.controlWidth < 400) {\r\n this.timeSlotIncrement = 4;\r\n } else if (this.controlWidth < 600) {\r\n this.timeSlotIncrement = 8;\r\n } else {\r\n this.timeSlotIncrement = 12;\r\n }\r\n\r\n this.timeSlotsToShow = this.timeSlotIncrement;\r\n\r\n this.setupVisibleTimeslowGroupings();\r\n }\r\n \r\n showMore() {\r\n this.timeSlotsToShow += this.timeSlotIncrement;\r\n\r\n this.setupVisibleTimeslowGroupings();\r\n }\r\n private setupVisibleTimeslowGroupings() {\r\n if (!this.searchResult.AvailableTimeSlots) {\r\n this.visibleTimeslotGroupings = this.buildSampleTimeslots();\r\n return;\r\n }\r\n\r\n const timeSlots = [...this.searchResult.AvailableTimeSlots];\r\n\r\n if (this.timeSlotsToShow < timeSlots.length) {\r\n timeSlots.length = this.timeSlotsToShow;\r\n this.hasMoreTimeslots = true;\r\n } else {\r\n this.hasMoreTimeslots = false;\r\n }\r\n\r\n this.visibleTimeslotGroupings = this.mapTimeslotData(timeSlots);\r\n }\r\n\r\n setupDefaultTimeslot() {\r\n if (this.isContainerSelected) {\r\n if (!this.selectedDateTime) {\r\n if (this.visibleTimeslotGroupings?.length > 0) {\r\n this.setSelectedTimeslot(this.visibleTimeslotGroupings[0].timeslots[0]);\r\n }\r\n }\r\n }\r\n }\r\n\r\n getDateContainer(group: ExaminerTimeSlotGrouping): string {\r\n if (group.timeslots.length >= 2 && group.timeslots.length <= 5) {\r\n return `date-container-${group.timeslots.length}`;\r\n }\r\n\r\n if (group.timeslots.length > 5) {\r\n return 'date-container-full';\r\n }\r\n\r\n return '';\r\n }\r\n\r\n setSelectedTimeslot(selectedTimeSlot: ExaminterTimeSlotItem) {\r\n\r\n this.selectedDateTime = selectedTimeSlot.fullDateTime;\r\n\r\n this.selectedDateTimeChange.emit(this.selectedDateTime);\r\n }\r\n\r\n\r\n isTimeslotSelected(timeSlot: ExaminterTimeSlotItem) {\r\n if (this.isContainerSelected) {\r\n return this.selectedDateTime == timeSlot.fullDateTime;\r\n }\r\n return false;\r\n }\r\n \r\n private mapTimeslotData(timeslots: ExaminerTimeSlotEntityExt[]): ExaminerTimeSlotGrouping[] {\r\n const timeSlotGroupings: ExaminerTimeSlotGrouping[] = [];\r\n\r\n let timeSlotGroup: ExaminerTimeSlotGrouping;\r\n\r\n for (const timeSlot of timeslots) {\r\n\r\n if (timeSlotGroup?.dateDisplay !== timeSlot.Date) {\r\n timeSlotGroup = {\r\n dateDisplay: timeSlot.Date,\r\n timeslots: []\r\n };\r\n\r\n timeSlotGroupings.push(timeSlotGroup);\r\n }\r\n\r\n timeSlotGroup.timeslots.push({\r\n timeRangeDisplay: timeSlot.TimeRange,\r\n fullDateTime: timeSlot.StartDateTimeUtc\r\n });\r\n }\r\n\r\n return timeSlotGroupings;\r\n }\r\n\r\n\r\n private buildSampleTimeslots() {\r\n const timeslotGroupings: ExaminerTimeSlotGrouping[] = [];\r\n\r\n\r\n timeslotGroupings.push({\r\n dateDisplay: '9/1/2023',\r\n timeslots: [\r\n { timeRangeDisplay: '8am - 1pm', fullDateTime: '9/1/2023 8am' },\r\n { timeRangeDisplay: '1pm - 6pm', fullDateTime: '9/1/2023 1pm' }\r\n ]\r\n });\r\n\r\n timeslotGroupings.push({\r\n dateDisplay: '9/4/2023',\r\n timeslots: [\r\n { timeRangeDisplay: '8am - 1pm', fullDateTime: '9/4/2023 8am' },\r\n { timeRangeDisplay: '1pm - 6pm', fullDateTime: '9/4/2023 1pm' }\r\n ]\r\n })\r\n\r\n timeslotGroupings.push({\r\n dateDisplay: '9/9/2023',\r\n timeslots: [\r\n { timeRangeDisplay: '8am - 1pm', fullDateTime: '9/9/2023 8am' },\r\n { timeRangeDisplay: '1pm - 6pm', fullDateTime: '9/9/2023 1pm' }\r\n ]\r\n })\r\n\r\n timeslotGroupings.push({\r\n dateDisplay: '9/14/2023',\r\n timeslots: [\r\n { timeRangeDisplay: '8am - 1pm', fullDateTime: '9/14/2023 8am' },\r\n { timeRangeDisplay: '1pm - 6pm', fullDateTime: '9/14/2023 1pm' }\r\n ]\r\n })\r\n\r\n timeslotGroupings.push({\r\n dateDisplay: '9/23/2023',\r\n timeslots: [\r\n { timeRangeDisplay: '8am - 1pm', fullDateTime: '9/23/2023 8am' },\r\n { timeRangeDisplay: '1pm - 6pm', fullDateTime: '9/23/2023 1pm' }\r\n ]\r\n })\r\n\r\n return timeslotGroupings;\r\n }\r\n\r\n}\r\n","
\r\n\r\n 0\">\r\n
\r\n
{{group.dateDisplay}}
\r\n
\r\n \r\n
\r\n {{slot.timeRangeDisplay}}\r\n
\r\n
\r\n
\r\n
\r\n\r\n
Show More
\r\n
\r\n
\r\n

\r\n \r\n \r\n
\r\n
","import { Injectable } from '@angular/core';\r\nimport { DevwareMetaData, DwAppPermissionEntity, DwAppPermissionMetaData, DwContextDefinition, DwCustomContextBase, DwCustomContextDefinition, DwOrmDataService, DwQuery, DwQueryHelper, DwSecurityTopics, DwSecurityUserService } from '@devwareapps/devware-cap';\r\nimport { AppMetaData, AppMetaDataItemNames } from '../../../../meta-data/app-meta-data.service';\r\n\r\n\r\n\r\nexport const CurrentPilotExaminerContext= 'currentPilotExaminerContext';\r\n@DwCustomContextDefinition({\r\n keyName: CurrentPilotExaminerContext,\r\n display: 'Current Pilot Examiner Context',\r\n isGlobal: true,\r\n})\r\n@Injectable()\r\nexport class CurrentPilotExaminerContextService extends DwCustomContextBase {\r\n\r\n constructor(private dwSecurityUserService: DwSecurityUserService,\r\n \r\n ) {\r\n super();\r\n }\r\n\r\n setupContextDefinition(contextDef: DwContextDefinition) {\r\n contextDef.buildQueryFunction = (context) => this.buildQuery(context);\r\n\r\n contextDef.item = AppMetaDataItemNames.PilotExaminer;\r\n //contextDef.metaDataQueryId = 1019;\r\n\r\n contextDef.cacheInvalidationTopics = [DwSecurityTopics.SECURITY_CHANGED];\r\n\r\n contextDef.cacheInvalidationTopics.push(DwOrmDataService.ORM_EVENT_TOPICS.ItemChangedTopic(AppMetaData.PilotExaminer.ItemDetail.itemName));\r\n contextDef.cacheInvalidationTopics.push(DwOrmDataService.ORM_EVENT_TOPICS.ItemChangedTopic(AppMetaData.DwUser.ItemDetail.itemName));\r\n }\r\n\r\n buildQuery(resolvedContext: any): DwQuery {\r\n const query = AppMetaData.PilotExaminer.CreateQueryBuilder();\r\n\r\n if (!this.dwSecurityUserService.securityContext?.ApplicationUser) {\r\n return null;\r\n }\r\n \r\n query.query.FieldSettings.LoadAllLookupDisplayFields = true;\r\n \r\n const user = this.dwSecurityUserService.securityContext.ApplicationUser;\r\n\r\n query.addFilterAnd(filters => filters.Equal(f => f.UserId, user?.UserId || -1));\r\n\r\n return query.query;\r\n\r\n }\r\n\r\n\r\n}\r\n","import { Component, EventEmitter, OnInit } from '@angular/core';\r\nimport { DwButtonCommand, DwButtonConfig, DwComponent, DwComponentType, DwGridHeightMode, DwMessage, DwMessageSeverity, DwMetaDataGridPreferences, DwMetaDataGridViewPreference, DwModalConfig, DwModalHandler, DwModalResult } from '@devwareapps/devware-cap';\r\nimport { Observable, of } from 'rxjs';\r\nimport { mergeMap } from 'rxjs/operators';\r\nimport { map } from 'underscore';\r\nimport { AppMetaDataLookups, AppMetaDataItemNames, PlanOfActionEntity, PilotExaminerEntity, AcsTestEntity, PlanOfActionSectionEntity } from '../../../../meta-data/app-meta-data.service';\r\nimport { PlanOfActionRepositoryService } from '../../../plan-of-action/services/plan-of-action-repository.service';\r\nimport { GenerateSectionsOptions } from '../../../plan-of-action/models/generate-sections-options.model';\r\nimport { PlanOfActionGeneratorService } from '../../../plan-of-action/services/plan-of-action-generator.service';\r\nimport { AcsCodeStorage, AcsCodesStorageItem } from '../../../plan-of-action/models/acs-code-items.model';\r\nimport { GenerateCodesOptions } from '../../../plan-of-action/models/generate-codes-options.model';\r\nimport { AcsCodeSelectionModalOptions, AcsCodeSelectionModalResult } from '../../../plan-of-action/models/acs-code-selection-modal-options.model';\r\n\r\n@Component({\r\n selector: 'app-generate-questions-modal',\r\n templateUrl: './generate-questions-modal.component.html',\r\n styleUrls: ['./generate-questions-modal.component.scss']\r\n})\r\nexport class GenerateQuestionsModalComponent implements OnInit, DwModalHandler {\r\n\r\n modalConfig: DwModalConfig;\r\n closeModal = new EventEmitter>();\r\n \r\n // planOfAction: PlanOfActionEntity;\r\n // planOfActionSection: PlanOfActionSectionEntity;\r\n message: DwMessage;\r\n \r\n options: GenerateCodesOptions;\r\n // constructor(private planOfActionRespository: PlanOfActionRepositoryService,\r\n // private planOfActionGeneratorSection: PlanOfActionGeneratorService\r\n\r\n // ) { }\r\n\r\n ngOnInit(): void {\r\n // this.planOfAction = this.modalConfig.data.planOfAction;\r\n // this.planOfActionSection = this.modalConfig.data.planOfActionSection;\r\n\r\n // this.options = {\r\n // acsCodes:[],\r\n // questions:[],\r\n // allowQuestionSelect: this.modalConfig.data.allowQuestionSelect,\r\n // useQuestionBank: false,\r\n // acsCodeStatuses: this.planOfActionRespository.getAcsCodeStatus(this.planOfAction),\r\n // acsTestId: this.planOfAction.AcsTestId,\r\n // acsAreaOfOperationId: this.planOfActionSection.AcsAreaOfOperationId,\r\n // acsTaskId: this.planOfActionSection.AcsAreaOfOperationTaskId\r\n // }\r\n \r\n \r\n this.options = {\r\n acsCodes:[],\r\n questions:[],\r\n allowQuestionSelect: this.modalConfig.data.allowQuestionSelect,\r\n useQuestionBank: false,\r\n acsCodeStatuses: this.modalConfig.data.acsCodeStatuses, // this.planOfActionRespository.getAcsCodeStatus(this.planOfAction),\r\n\r\n acsTestId: this.modalConfig.data.acsTestId,\r\n acsAreaOfOperationId: this.modalConfig.data.acsAreaOfOperationId,\r\n acsTaskId: this.modalConfig.data.acsTaskId\r\n }\r\n\r\n }\r\n\r\n buttonClick(buttonConfig: DwButtonConfig): Observable> {\r\n let result = new DwModalResult();\r\n\r\n result.cancelled = false;\r\n\r\n switch (buttonConfig.command) {\r\n case DwButtonCommand.ok:\r\n case DwButtonCommand.saveAndClose:\r\n case DwButtonCommand.save:\r\n // moved to service to this modal can be reused\r\n //this.generateQuestions();\r\n\r\n result.data = {\r\n GenerateCodesOptions: this.options,\r\n };\r\n\r\n result.closeModal = true;\r\n break;\r\n case DwButtonCommand.cancel:\r\n result.closeModal = true;\r\n result.cancelled = true;\r\n }\r\n\r\n return of(result);\r\n }\r\n\r\n // generateQuestions() {\r\n // this.planOfActionGeneratorSection.generateQuestions(this.planOfActionSection, this.planOfActionSection.PlanOfActionSectionQuestion, this.options);\r\n // }\r\n\r\n setMessage(message: string, severity: DwMessageSeverity = DwMessageSeverity.error) {\r\n this.message = {\r\n messageBody: message,\r\n severity: severity\r\n };\r\n }\r\n\r\n clearMessage() {\r\n this.message = null;\r\n }\r\n\r\n}\r\n\r\n\r\n","\r\n","import { Inject, Injectable } from \"@angular/core\";\r\nimport { Observable } from \"rxjs\";\r\nimport { filter, map, mergeMap } from 'rxjs/operators'\r\nimport { AppMetaData, CalendarReferenceEntity, CheckRideGroupAllItems, CheckRideTypeAllItems, PilotExaminerEntity, PilotExaminerLocationEntity, PilotExaminerSearchQueryEntity, PilotExaminerStatusAllItems } from \"../../../meta-data/app-meta-data.service\";\r\nimport { DwMetaDataServiceToken, DwMetaDataService, DwOrmDataService, DwOrmDataServiceToken, DwQuery, deepCopy, DwConfigService, DwConfigServiceToken, DwLookupInfo, SuppressErrorMessagesHeader, sortArrayByField } from \"@devwareapps/devware-cap\";\r\nimport { ExaminerLocationSearchRequest } from \"../../examiner/models/examiner-location-search-request.model\";\r\nimport { HttpClient, HttpHeaders } from \"@angular/common/http\";\r\nimport { CalendarDTO } from \"../models/calendar.model\";\r\nimport { CalendarEventDTO } from \"../models/calendar-event.model\";\r\nimport { EventSearchRequestDTO } from \"../models/event-search-request.model\";\r\nimport { CalendarDelegationSetupResponseDTO } from \"../models/calendar-delegation-setup-response.model\";\r\nimport { CalendarDelegationRevokeResponseDTO } from \"../models/calendar-delegation-revoke-response.model\";\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class CalendarRepositoryService {\r\n apiRoot: string;\r\n\r\n constructor(\r\n private http: HttpClient,\r\n @Inject(DwOrmDataServiceToken) private dwOrmDataService: DwOrmDataService,\r\n @Inject(DwMetaDataServiceToken) private dwMetaDataService: DwMetaDataService,\r\n @Inject(DwConfigServiceToken) configService: DwConfigService,\r\n ) {\r\n this.apiRoot = configService.coreConfig.apiRoot;\r\n }\r\n\r\n getCalendars(): Observable {\r\n let url = `${this.apiRoot}/pilexos/calendars/list`;\r\n\r\n let headers = new HttpHeaders();\r\n\r\n headers = headers.append(SuppressErrorMessagesHeader, 'true');\r\n\r\n return this.http.get(url, { headers: headers })\r\n .pipe(\r\n map(calendars => {\r\n var sorted = sortArrayByField(calendars, 'IsPrimary', 'IsReadOnly', true);\r\n\r\n var filtered = sorted.filter(c => !c.IsReadOnly);\r\n\r\n return filtered;\r\n }));\r\n }\r\n\r\n getCalendarRef(calendarRefId: number): Observable {\r\n var query = AppMetaData.CalendarReference.CreateQueryBuilder();\r\n\r\n query.addFilterAnd(f => f.Equal(a => a.CalendarReferenceId, calendarRefId));\r\n\r\n return this.dwOrmDataService.executeQuerySingle(query);\r\n }\r\n\r\n saveCalendarRef(calendarReference: CalendarReferenceEntity): Observable {\r\n return this.dwOrmDataService.saveEntity(calendarReference, false);\r\n }\r\n\r\n getEvents(request: EventSearchRequestDTO): Observable {\r\n let url = `${this.apiRoot}/pilexos/calendars/events/list`;\r\n\r\n let headers = new HttpHeaders();\r\n\r\n headers = headers.append(SuppressErrorMessagesHeader, 'true');\r\n\r\n return this.http.post(url, request, { headers: headers });\r\n }\r\n\r\n getOAuthRedirectUri() {\r\n let redirectUri = `${location.origin}/assets/oauth/google-oauth-consent.html`;\r\n\r\n return redirectUri;\r\n }\r\n\r\n getOAuthConsentUrl(redirectUri: string, calendarTypeMeaning: string = 'GOOGLE'): Observable {\r\n //redirectUri = 'https://localhost:4204/assets/oauth/google-oauth-consent.html'\r\n\r\n let url = `${this.apiRoot}/pilexos/calendars/consentUrl?calendarTypeMeaning=${calendarTypeMeaning}&redirectUri=${redirectUri}`;\r\n\r\n let headers = new HttpHeaders();\r\n\r\n headers = headers.append(SuppressErrorMessagesHeader, 'true');\r\n\r\n return this.http.get(url, { headers: headers });\r\n }\r\n\r\n setupCalendarDelegation(code: string, redirectUrl: string, calendarTypeMeaning: string = 'GOOGLE'):Observable {\r\n let url = `${this.apiRoot}/pilexos/calendars/setup`;\r\n\r\n let headers = new HttpHeaders();\r\n\r\n headers = headers.append(SuppressErrorMessagesHeader, 'true');\r\n\r\n var request = {\r\n DelegationCode: code,\r\n OriginalRedirectUrl: redirectUrl,\r\n CalendarTypeMeaning: calendarTypeMeaning\r\n }\r\n\r\n return this.http.post(url, request, { headers: headers });\r\n }\r\n\r\n revokeCalendarDelegation(): Observable {\r\n\r\n let url = `${this.apiRoot}/pilexos/calendars/revoke`;\r\n\r\n let headers = new HttpHeaders();\r\n headers = headers.append(SuppressErrorMessagesHeader, 'true');\r\n\r\n return this.http.post(url, {}, { headers: headers });\r\n }\r\n\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { deepCopy, DwAction, DwActionHandler, DwActionResult, DwActionType, DwMdFormActionState, DwMdFormContextInfo, DwModalButtonStandardConfigs, DwModalConfig, DwModalService, DwModalSize, DwRoutingService } from \"@devwareapps/devware-cap\";\r\nimport { Observable, of } from \"rxjs\";\r\nimport { ApplicantAcsWrittenResultEntity, AppMetaData, AppMetaDataItemNames, CheckRideRequestEntity, CheckRideRequestStatusAllItems, CheckRideRequestSubStatusAllItems, PlanOfActionDetailsQueryEntity, PlanOfActionEntity, PlanOfActionSectionEntity, PlanOfActionSectionTypeAllItems, PlanOfActionStatusAllItems } from \"../../../meta-data/app-meta-data.service\";\r\nimport { PlanOfActionRepositoryService } from \"../services/plan-of-action-repository.service\";\r\nimport { GenerateSectionsModalComponent } from \"../components/generate-sections-modal/generate-sections-modal.component\";\r\nimport { map, mergeMap, tap } from \"rxjs/operators\";\r\nimport { PlanOfActionGeneratorService } from \"../services/plan-of-action-generator.service\";\r\nimport { GenerateQuestionsModalComponent } from \"../components/generate-questions-modal/generate-questions-modal.component\";\r\nimport { AcsCodeSelectionModalOptions, AcsCodeSelectionModalResult } from \"../models/acs-code-selection-modal-options.model\";\r\nimport { AcsCodeStatuses } from \"../models/acs-code-items.model\";\r\n\r\n@DwAction({\r\n keyName: 'poa-complete-checkride-action',\r\n display: 'Complete Plan of Action Checkride',\r\n actionType: DwActionType.formAction,\r\n isGlobal: false,\r\n parentItemName: [AppMetaDataItemNames.PlanOfAction],\r\n allowOnce: true,\r\n defaultButtonConfig: {\r\n useButtonDefaults: false,\r\n useParentDisplay: false,\r\n buttonText: 'Complete Checkride',\r\n buttonClass: 'btn btn-success mr-1 mt-1',\r\n iconClass: 'fa fa-save'\r\n },\r\n configData: {\r\n requireValidation: true,\r\n redirectAfter: true,\r\n actionMessage: 'Saving...',\r\n }\r\n})\r\n@Injectable()\r\nexport class POACompleteCheckrideActionService implements DwActionHandler {\r\n\r\n constructor(private dwRoutingService: DwRoutingService, private poaRepository: PlanOfActionRepositoryService) { }\r\n\r\n handleAction(actionState: DwMdFormActionState): Observable {\r\n const variables: { RemoveAllQuestions: boolean } = actionState.formApi.getVariableContextValue();\r\n const planOfAction = deepCopy(actionState.formApi.getFormData());\r\n\r\n const checkRide = deepCopy(planOfAction.CheckRideRequest);\r\n\r\n // Make so it doesn't save\r\n planOfAction.CheckRideRequest = AppMetaData.CheckRideRequest.CreateEntity();\r\n\r\n planOfAction.CheckRideRequest._isDeleted = true;\r\n planOfAction.CheckRideRequest.CheckRideRequestId = null;\r\n\r\n if (planOfAction.CheckRideRequest?.CheckRideRequestId) {\r\n planOfAction.CheckRideRequest.CheckRideResult.CheckRideDateTime = planOfAction.PlanOfActionResult.CheckRideStartDateTime;\r\n } else {\r\n // Don't save the checkride request if it doesn't exist\r\n planOfAction.CheckRideRequest._isDeleted = true;\r\n }\r\n\r\n let ob = of(null);\r\n\r\n if (variables.RemoveAllQuestions) {\r\n ob = this.removeAllQuestions(planOfAction);\r\n }\r\n\r\n return ob.pipe(mergeMap(() => {\r\n return this.updateFormAndSavePOA(actionState, planOfAction, checkRide);\r\n }));\r\n }\r\n\r\n private updateFormAndSavePOA(actionState: DwMdFormActionState, planOfAction: PlanOfActionEntity, checkRide: CheckRideRequestEntity): Observable {\r\n actionState.formApi.patchContextData(DwMdFormContextInfo.DATA_CONTEXT_NAME, planOfAction);\r\n actionState.formApi.formGroup.patchValue(planOfAction);\r\n actionState.formApi.setFormData(planOfAction);\r\n\r\n return actionState.formApi.saveData(true)\r\n .pipe(mergeMap(saveResult => {\r\n\r\n if (saveResult.cancelled == true || saveResult.success == false) {\r\n return of(saveResult);\r\n }\r\n\r\n if (checkRide?.CheckRideRequestId) {\r\n return this.completeCheckRide(checkRide)\r\n .pipe(map(() => saveResult));\r\n }\r\n\r\n return of(saveResult);\r\n }));\r\n }\r\n\r\n completeCheckRide(checkRide: CheckRideRequestEntity): Observable {\r\n const checkrideToSave = AppMetaData.CheckRideRequest.CreateEntity();\r\n\r\n checkrideToSave.CheckRideRequestId = checkRide.CheckRideRequestId;\r\n checkrideToSave.CheckRideResult = checkRide.CheckRideResult;\r\n checkrideToSave.CheckRideRequestSubStatusId = CheckRideRequestSubStatusAllItems.Completed;\r\n\r\n return this.poaRepository.saveCheckRideRequest(checkrideToSave);\r\n }\r\n\r\n removeAllQuestions(planOfAction: PlanOfActionEntity): Observable {\r\n\r\n return this.poaRepository.loadPlanOfActionQuestionResults(planOfAction.PlanOfActionResult.PlanOfActionResultId)\r\n .pipe(tap(questionResults => {\r\n\r\n planOfAction.PlanOfActionResult.PlanOfActionQuestionResult = questionResults;\r\n for (const questionResult of planOfAction.PlanOfActionResult.PlanOfActionQuestionResult) {\r\n questionResult._isDeleted = true;\r\n }\r\n\r\n for (let section of planOfAction.PlanOfActionSection) {\r\n // In the future, we might leave the manual sections\r\n // if (section.PlanOfActionSectionTypeId == PlanOfActionSectionTypeAllItems.Manual) {\r\n // continue;\r\n // }\r\n\r\n section._isDeleted = true;\r\n\r\n for (let question of section.PlanOfActionSectionQuestion) {\r\n question._isDeleted = true;\r\n }\r\n }\r\n }));\r\n\r\n\r\n\r\n // const questionResults = this.poaRepository.loadPlanOfActionQuestionResults(planOfAction.PlanOfActionResult.PlanOfActionResultId);\r\n\r\n // planOfAction.PlanOfActionResult.PlanOfActionQuestionResult = questionResults;\r\n // for(const questionResult of planOfAction.PlanOfActionResult.PlanOfActionQuestionResult) {\r\n // questionResult._isDeleted = true;\r\n // }\r\n\r\n // for(let section of planOfAction.PlanOfActionSection) {\r\n // section._isDeleted = true;\r\n\r\n // for(let question of section.PlanOfActionSectionQuestion) {\r\n // question._isDeleted = true;\r\n // }\r\n // }\r\n }\r\n\r\n redirectToExecute(planOfAction: PlanOfActionEntity): void {\r\n const url = `/plan-of-action/plans/edit/${planOfAction.PlanOfActionId}/execute`;\r\n\r\n this.dwRoutingService.navigateToUrl(url, null);\r\n }\r\n\r\n}","export const environment = {\r\n production: true,\r\n baseTitle: 'Pilexos',\r\n environmentMessage: '',\r\n //apiRoot: \"https://localhost:44368/api/v1\",\r\n //apiRoot: \"https://localhost:44370/api/v1\",\r\n \r\n apiRoot: \"https://pilexos-prod-api2.azurewebsites.net/api/v1\",\r\n alternateApiRoots : {\r\n 'reporting': 'https://shared-api.devwareapps.com/api/v1'\r\n },\r\n \r\n tenantKey: '16970b66-9788-4e12-aeb3-36bda56bd32f',\r\n \r\n allowConfiguration: true,\r\n enabledConsoleLogging: false,\r\n \r\n googleAnalyticsTrackingToken: null,\r\n showContactUs: true,\r\n contactUsEmail: 'support@pilexos.com',\r\n disabledUserInactvityTimeout: true\r\n };\r\n ","import { Inject, Injectable } from \"@angular/core\";\r\nimport { DwDataItemKeyValues, DwDataRequest, DwDatasource, DwItemType, DwMetaDataService, DwMetaDataServiceToken, DwOrmDataHierarchy, DwOrmDataService, DwOrmDataServiceToken, DwOrmDataSource, DwQuery, DwQueryPrefetchPath, DwSecurityUserService } from \"@devwareapps/devware-cap\";\r\nimport { AppMetaData, AppMetaDataItemNames } from \"../../../meta-data/app-meta-data.service\";\r\nimport { Observable } from \"rxjs\";\r\n\r\n@DwDatasource({\r\n keyName: 'AcsCodeLookupDataSource',\r\n display: 'Acs Code Lookup Data Source',\r\n itemName: AppMetaDataItemNames.AcsCodeLookupRequest,\r\n})\r\n@Injectable()\r\nexport class AcsCodeLookupDataSourceService extends DwOrmDataSource {\r\n\r\n constructor(\r\n @Inject(DwOrmDataServiceToken) private dwOrmDataService: DwOrmDataService,\r\n @Inject(DwMetaDataServiceToken) metaDataService: DwMetaDataService,\r\n private securityUserService: DwSecurityUserService,\r\n ) {\r\n super(dwOrmDataService, metaDataService, AppMetaDataItemNames.PlanOfAction);\r\n }\r\n\r\n initDataSource() {\r\n this.setupOrmDataHierarchyFromQuery(this.item, this.ormDataHierarchy);\r\n }\r\n\r\n private setupOrmDataHierarchyFromQuery(item: DwItemType | DwQuery, ormDataHierarchy?: DwOrmDataHierarchy[]) {\r\n const acsWrittenHierarchy: DwOrmDataHierarchy = {\r\n itemName: AppMetaData.ApplicantAcsWrittenResult.ItemDetail.itemName,\r\n propertyName: AppMetaData.AcsCodeLookupRequest.Relations.ApplicantAcsWrittenResult.propertyName,\r\n children: [{\r\n itemName: AppMetaData.ApplicantAcsWrittenResultMissedCode.ItemDetail.itemName,\r\n propertyName: AppMetaData.ApplicantAcsWrittenResult.Relations.ApplicantAcsWrittenResultMissedCode.propertyName,\r\n }]\r\n };\r\n\r\n ormDataHierarchy.push(acsWrittenHierarchy);\r\n }\r\n\r\n loadItemFromQuery(query: DwQuery, keyValues: DwDataItemKeyValues | number): Observable {\r\n const updatedQuery = this.buildFinalQuery(query);\r\n\r\n return super.loadItemFromQuery(updatedQuery, keyValues);\r\n }\r\n\r\n private buildFinalQuery(query: DwQuery): DwQuery {\r\n const acsCodeLookupQuery = AppMetaData.AcsCodeLookupRequest.CreateQueryBuilder(query);\r\n\r\n let acsWrittenResultQuery = AppMetaData.ApplicantAcsWrittenResult.CreateQueryBuilder();\r\n\r\n\r\n acsWrittenResultQuery.addPrefetch(r => r.ApplicantAcsWrittenResultMissedCode);\r\n\r\n let acsWrittePrefetch = acsCodeLookupQuery.query.Prefetch.find(p => p.RelationName == AppMetaData.AcsCodeLookupRequest.Relations.ApplicantAcsWrittenResult.relationName);\r\n\r\n if (acsWrittePrefetch) {\r\n acsWrittePrefetch.Query = acsWrittenResultQuery.query;\r\n } else {\r\n acsCodeLookupQuery.addPrefetch(r => r.ApplicantAcsWrittenResult, acsWrittenResultQuery.query);\r\n }\r\n\r\n return acsCodeLookupQuery.query;\r\n }\r\n\r\n\r\n\r\n}","import { Component, Input, ViewChild, AfterViewInit, OnInit, Output, EventEmitter, ElementRef, HostListener, OnDestroy } from \"@angular/core\";\r\nimport { DayPilot, DayPilotCalendarComponent } from \"daypilot-pro-angular\";\r\nimport { CalendarOptions } from \"../../models/calendar-options.model\";\r\nimport { CalendarWeekDayEvent } from \"../../models/calendar-weekday-event.model\";\r\nimport { DateTimeModel, convertToIsoDateTime, formatDateTime, getMomentValue } from \"@devwareapps/devware-cap\";\r\nimport { NgbDateStruct, NgbDatepicker } from \"@ng-bootstrap/ng-bootstrap\";\r\n\r\nimport * as moment_ from 'moment';\r\nimport { EventDateTimeDTO } from '../../../calendar/models/event-data-time.model';\r\nimport { CalendarClickEvent, CalendarClickEventType } from \"../../models/calendar-click-event.model\";\r\nconst moment = moment_;\r\n\r\n@Component({\r\n selector: 'app-calendar-weekday',\r\n templateUrl: './calendar-weekday.component.html',\r\n styleUrls: ['./calendar-weekday.component.scss']\r\n})\r\nexport class CalendarWeekdayComponent implements OnInit, AfterViewInit, OnDestroy {\r\n\r\n @Input() options: CalendarOptions;\r\n @Input() events: CalendarWeekDayEvent[];\r\n @Input() compactView: boolean = false;\r\n\r\n @ViewChild(\"calendar\", { static: false }) calendar: DayPilotCalendarComponent;\r\n\r\n @ViewChild(\"calendarBody\") calendarBodyElement: ElementRef;\r\n\r\n @ViewChild(NgbDatepicker, { static: false }) private dp: NgbDatepicker;\r\n\r\n @Output() dateChange = new EventEmitter();\r\n\r\n @Output() eventClick = new EventEmitter();\r\n\r\n @Output() gotoCalendarClick = new EventEmitter();\r\n\r\n hideCalendar = false;\r\n\r\n datetime: DateTimeModel;\r\n view: 'Day' | 'Week' | 'WorkWeek' | 'Days' | 'Resources' = 'WorkWeek';\r\n previousViewType: 'Day' | 'Week' | 'WorkWeek' | 'Days' | 'Resources';\r\n\r\n dateDisplay = 'September 2023';\r\n\r\n firstDayOfWeek = 0;\r\n\r\n config: DayPilot.CalendarConfig;\r\n calendarWidth: any;\r\n mobileView: boolean = false;\r\n interval: any;\r\n\r\n onDateSelection(date) {\r\n var dateModel = DateTimeModel.fromNgcDate(date, false);\r\n\r\n dateModel.timeZoneOffset = 0;\r\n //dateModel. = 'UTC';\r\n\r\n let isoDate = this.convertDateModelToISO(dateModel);\r\n\r\n isoDate = dateModel.toString(false);\r\n\r\n this.setStartDate(isoDate);\r\n }\r\n\r\n\r\n private convertDateModelToISO(dateModel: DateTimeModel): string {\r\n\r\n if (this.isInteger(dateModel.year) && this.isInteger(dateModel.month) && this.isInteger(dateModel.day)) {\r\n const year = dateModel.year.toString().padStart(2, '0');\r\n const month = dateModel.month.toString().padStart(2, '0');\r\n const day = dateModel.day.toString().padStart(2, '0');\r\n\r\n if (!dateModel.hour) {\r\n dateModel.hour = 0;\r\n }\r\n if (!dateModel.minute) {\r\n dateModel.minute = 0;\r\n }\r\n if (!dateModel.second) {\r\n dateModel.second = 0;\r\n }\r\n if (!dateModel.timeZoneOffset && dateModel.timeZoneOffset !== 0) {\r\n dateModel.timeZoneOffset = new Date().getTimezoneOffset();\r\n }\r\n\r\n const hour = dateModel.hour.toString().padStart(2, '0');\r\n const minute = dateModel.minute.toString().padStart(2, '0');\r\n const second = dateModel.second.toString().padStart(2, '0');\r\n\r\n const tzo = -dateModel.timeZoneOffset;\r\n const dif = tzo >= 0 ? '+' : '-';\r\n\r\n const timeString = this.toTimeString(dateModel);\r\n\r\n //let isoString = `${this.pad(year)}-${this.pad(month)}-${this.pad(day)}T${pad(hour)}:${pad(minute)}:${pad(second)}${dif}${pad(tzo / 60)}:${pad(tzo % 60)}`;\r\n\r\n let isoString = `${this.pad(year)}-${this.pad(month)}-${this.pad(day)}T${timeString}${dif}${this.pad(tzo / 60)}:${this.pad(tzo % 60)}`;\r\n\r\n return isoString;\r\n }\r\n }\r\n\r\n\r\n\r\n private toTimeString(dateModel: DateTimeModel): string {\r\n if (!dateModel.hour) {\r\n dateModel.hour = 0;\r\n }\r\n if (!dateModel.minute) {\r\n dateModel.minute = 0;\r\n }\r\n if (!dateModel.second) {\r\n dateModel.second = 0;\r\n }\r\n\r\n const hour = dateModel.hour.toString().padStart(2, '0');\r\n const minute = dateModel.minute.toString().padStart(2, '0');\r\n const second = dateModel.second.toString().padStart(2, '0');\r\n\r\n const timeString = `${this.pad(hour)}:${this.pad(minute)}:${this.pad(second)}`;\r\n\r\n return timeString;\r\n }\r\n private isInteger(value: any): value is number {\r\n return typeof value === 'number' && isFinite(value) && Math.floor(value) === value;\r\n }\r\n\r\n private pad(num) {\r\n const norm = Math.floor(Math.abs(num));\r\n\r\n return (norm < 10 ? '0' : '') + norm;\r\n }\r\n\r\n @HostListener('window:resize', ['$event.target'])\r\n public onResize(target) {\r\n this.setCalendarViewBySize();\r\n }\r\n\r\n private setCalendarViewBySize() {\r\n const width = this.calendarBodyElement?.nativeElement?.offsetWidth;\r\n\r\n this.calendarWidth = width;\r\n if (width < 400) {\r\n\r\n this.mobileView = true;\r\n if (this.config.viewType !== 'Day') {\r\n this.view = 'Day';\r\n this.previousViewType = this.config.viewType;\r\n this.viewChange(this.view);\r\n }\r\n } else {\r\n this.mobileView = false;\r\n if (this.previousViewType) {\r\n this.view = this.previousViewType;\r\n this.viewChange(this.view);\r\n this.previousViewType = null;\r\n }\r\n }\r\n }\r\n\r\n ngOnInit(): void {\r\n this.datetime = this.convertFromLocalString(this.options.startDate);\r\n // this.datetime = DateTimeModel.fromLocalString(this.options.startDate, false);\r\n\r\n // if (this.datetime.timeZoneOffset != 0) {\r\n // this.datetime.hour = this.datetime.timeZoneOffset / 60;;\r\n // }\r\n\r\n if (this.compactView) {\r\n this.view = 'Day';\r\n }\r\n\r\n const config: DayPilot.CalendarConfig = {\r\n viewType: this.view,\r\n\r\n startDate: this.options.startDate || \"2023-09-10\",\r\n showHeader: true,\r\n onEventClick: args => { this.logEvent(CalendarClickEventType.click, args) },\r\n onEventMove: args => { this.logEvent(CalendarClickEventType.move, args); },\r\n onEventMoved: args => { this.logEvent(CalendarClickEventType.moved, args); args.preventDefault(); },\r\n onEventSelect: args => { this.logEvent(CalendarClickEventType.select, args) },\r\n onEventSelected: args => { this.logEvent(CalendarClickEventType.selected, args) },\r\n onEventDoubleClick: args => { this.logEvent(CalendarClickEventType.doubleClick, args) },\r\n onTimeRangeSelected: args => { this.logEvent(CalendarClickEventType.timeRangeSelected, args) },\r\n onHeaderClick: args => { this.logEvent(CalendarClickEventType.headerClick, args) },\r\n dayBeginsHour: 0,\r\n dayEndsHour: 24,\r\n businessBeginsHour: 8,\r\n businessEndsHour: 18,\r\n heightSpec: 'Parent100Pct'\r\n };\r\n\r\n this.setCalendarViewBySize();\r\n\r\n this.updateConfig(config);\r\n\r\n this.toggleCalendarDisplay();\r\n }\r\n\r\n ngOnDestroy(): void {\r\n if (this.interval) {\r\n clearInterval(this.interval);\r\n }\r\n }\r\n\r\n /**\r\n * Sets a 10 minute interval to hide the calendar, then show it again\r\n * This is a hack to workaround the trial version error, since this version is no longer supported a license isn't available\r\n */\r\n private toggleCalendarDisplay() {\r\n this.interval = setInterval(() => {\r\n this.hideCalendar = true;\r\n\r\n setTimeout(() => {\r\n // hide calendar for 50 ms\r\n this.hideCalendar = false;\r\n });\r\n\r\n // }, 10 * 1000); // Toggle calendar visibility every 10 seconds (testing only)\r\n }, 10 * 60 * 1000); // Toggle calendar visibility every 10 minutes\r\n }\r\n\r\n private logEvent(eventType: CalendarClickEventType, args: any) {\r\n //console.log(`Calendar Event - ${name}`, args);\r\n\r\n this.eventClick.emit({\r\n eventType: eventType,\r\n eventData: args.e?.data,\r\n mouseEvent: args.originalEvent,\r\n fullEvent: args.e,\r\n preventDefault: args.preventDefault,\r\n start: args.start,\r\n end: args.end\r\n });\r\n }\r\n\r\n viewChange(view) {\r\n this.updateConfig({ viewType: view });\r\n }\r\n\r\n dayOffset = 0;\r\n\r\n gotoToday() {\r\n var startDate = convertToIsoDateTime(moment().utc().format(\"MM/DD/YYYY\"), false);\r\n\r\n this.setStartDate(startDate);\r\n }\r\n\r\n\r\n next() {\r\n this.dayOffset += this.config.viewType === \"Day\" ? 1 : 7;\r\n\r\n const newDate = this.addDays(this.dayOffset);\r\n\r\n this.setStartDate(newDate.toISOString());\r\n }\r\n\r\n previous() {\r\n this.dayOffset -= this.config.viewType === \"Day\" ? 1 : 7;\r\n\r\n const newDate = this.addDays(this.dayOffset);\r\n\r\n this.setStartDate(newDate.toISOString());\r\n }\r\n\r\n private setStartDate(date: string) {\r\n this.updateConfig({ startDate: date });\r\n\r\n this.datetime = this.convertFromLocalString(date);\r\n // this.datetime = DateTimeModel.fromLocalString(date, false);\r\n\r\n\r\n // if (this.datetime.timeZoneOffset != 0) {\r\n // this.datetime.hour = this.datetime.timeZoneOffset / 60;;\r\n // }\r\n\r\n if (this.dp) {\r\n this.dp.navigateTo(this.datetime);\r\n }\r\n\r\n this.dateChange.emit(this.datetime);\r\n }\r\n\r\n private convertFromLocalString(date: string): DateTimeModel {\r\n\r\n let datetime = DateTimeModel.fromLocalString(date, false);\r\n\r\n if (datetime.timeZoneOffset > 0) {\r\n datetime.hour = datetime.timeZoneOffset / 60;;\r\n }\r\n\r\n\r\n if (datetime.timeZoneOffset < 0) {\r\n datetime.hour = 24 - (datetime.timeZoneOffset / 60);\r\n }\r\n\r\n return datetime;\r\n }\r\n\r\n\r\n private updateConfig(config: Partial) {\r\n this.config = { ...this.config, ...config };\r\n\r\n switch (this.config.viewType) {\r\n case 'Day':\r\n this.dateDisplay = formatDateTime(this.config.startDate, false);\r\n break;\r\n default:\r\n const momentDate = getMomentValue(this.config.startDate, false, false);\r\n\r\n this.dateDisplay = momentDate.format('MMMM YYYY');\r\n break;\r\n }\r\n }\r\n\r\n addDays = function (days) {\r\n var date = new Date();\r\n date.setDate(date.getDate() + days);\r\n\r\n return date;\r\n }\r\n\r\n\r\n ngAfterViewInit(): void {\r\n var from = this.calendar.control.visibleStart();\r\n var to = this.calendar.control.visibleEnd();\r\n // this.ds.getEvents(from, to).subscribe(result => {\r\n // this.events = result;\r\n // });\r\n }\r\n\r\n}\r\n\r\n","\r\n\r\n\r\n
\r\n\r\n\r\n
\r\n \r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
{{ dateDisplay }}
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n","\r\nimport { Component, EventEmitter, Inject, OnInit, SimpleChanges } from '@angular/core';\r\nimport { FormGroup, FormControl } from '@angular/forms';\r\nimport { DwComponent, DwComponentType, DwContainerOptions, DwContext, DwExpressionService, DwMessage, DwMessageSeverity, DwMetaDataFormConfig, DwMetaDataFormStateService, DwMetaDataService, DwMetaDataServiceToken, DwSectionBaseComponent, DwSectionBasePreference, DwUIMetaDataConfig, DwUIMetaDataConfigToken, DwUiConfigRegistryService, formatDateTimeFromLocal } from '@devwareapps/devware-cap';\r\nimport { Observable, Subject, Subscription } from 'rxjs';\r\nimport { ExaminerRepositoryService } from '../../services/examiner-repository.service';\r\nimport { AppMetaData, AppMetaDataItemNames, CheckRideRequestEntity, CheckRideRequestSubStatusAllItems, PilotExaminerLocationEntity, PilotExaminerSearchQueryEntity } from '../../../../meta-data/app-meta-data.service';\r\nimport { ExaminerLocationSearchRequest } from '../../models/examiner-location-search-request.model';\r\nimport { ExaminerLocationSelection } from '../../models/exminer-location-selection.model';\r\nimport { debounceTime, tap } from 'rxjs/operators';\r\nimport { CheckrideReferenceInfo } from '../../models/checkride-reschedule-info.model';\r\nimport { CheckCalendarAvailabilityRequestDTO } from '../../models/check-calendar-availability-request.model';\r\nimport { CheckCalendarAvailabilityResultDTO } from '../../models/check-calendar-availability-result.model';\r\nimport { DateTimeUtilService } from '../../../shared/util/date-time-util.service';\r\n\r\n@DwComponent({\r\n key: 'exminer-calendar-check',\r\n name: ' Examiner Calendar Check Util',\r\n componentType: DwComponentType.formSection,\r\n parentItemName: AppMetaDataItemNames.CheckRideRequest,\r\n isGlobal: false\r\n})\r\n@Component({\r\n selector: 'app-examiner-calendar-check',\r\n templateUrl: './examiner-calendar-check.component.html',\r\n styleUrls: ['./examiner-calendar-check.component.scss']\r\n})\r\nexport class ExaminerCalendarCheckComponent extends DwSectionBaseComponent {\r\n checkRideRequest: CheckRideRequestEntity;\r\n\r\n initComplete = false;\r\n\r\n previousDateTime: string;\r\n previousDuration: number;\r\n\r\n lastCheckDateTime: string;\r\n lastCheckDuration: number;\r\n\r\n allFields = {\r\n scheduled: {\r\n dateField: 'ScheduledDateTime',\r\n durationField: 'ScheduledTimeMinutes'\r\n },\r\n proposed: {\r\n dateField: 'ProposedDateTime',\r\n durationField: 'ProposedTimeMinutes',\r\n alternateDurationField: 'ScheduledTimeMinutes'\r\n }\r\n }\r\n\r\n currentFields: {\r\n dateField: string,\r\n durationField: string,\r\n alternateDurationField?: string\r\n } = this.allFields.scheduled;\r\n\r\n private dateTimeChangedSubject = new Subject();\r\n checkingAvailability: boolean = false;\r\n lastCheckResult: CheckCalendarAvailabilityResultDTO;\r\n\r\n constructor(\r\n dwExpressionService: DwExpressionService,\r\n dwUiConfigRegistryService: DwUiConfigRegistryService,\r\n @Inject(DwUIMetaDataConfigToken) uiMetaDataConfig: DwUIMetaDataConfig,\r\n @Inject(DwMetaDataServiceToken) dwMetaDataService: DwMetaDataService,\r\n private dwMetaDataFormStateService: DwMetaDataFormStateService,\r\n private examinerRepositoryService: ExaminerRepositoryService,\r\n private dateTimeUtilService: DateTimeUtilService\r\n ) {\r\n super(dwExpressionService, dwUiConfigRegistryService, uiMetaDataConfig, dwMetaDataService);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.setupDataWatch();\r\n\r\n\r\n }\r\n\r\n setupDataWatch() {\r\n this.dwMetaDataFormStateService.state.formApi.getFormDataChanges(100)\r\n .subscribe(dataChange => {\r\n if (this.dwMetaDataFormStateService.state.formApi.isDataLoadComplete) {\r\n this.checkForDataChange();\r\n }\r\n });\r\n\r\n if (this.dwMetaDataFormStateService.state.formApi.isDataLoadComplete) {\r\n this.checkForDataChange();\r\n }\r\n\r\n this.dateTimeChangedSubject\r\n .pipe(debounceTime(500))\r\n .subscribe(() => {\r\n this.checkAvaiability();\r\n });\r\n }\r\n\r\n\r\n checkAvaiability() {\r\n if (this.checkingAvailability) {\r\n return;\r\n }\r\n\r\n if (!this.previousDateTime) {\r\n return;\r\n }\r\n\r\n if (this.lastCheckDateTime == this.previousDateTime && this.lastCheckDuration == this.previousDuration) {\r\n return;\r\n }\r\n\r\n this.checkingAvailability = true;\r\n\r\n this.lastCheckDateTime = this.previousDateTime;\r\n this.lastCheckDuration = this.previousDuration;\r\n\r\n const request: CheckCalendarAvailabilityRequestDTO = {\r\n CheckRideDateTime: this.dateTimeUtilService.convertDateTimeToJson(this.lastCheckDateTime),\r\n DurationMinutes: this.lastCheckDuration,\r\n CheckRideRequestId: this.checkRideRequest.CheckRideRequestId,\r\n }\r\n\r\n this.examinerRepositoryService.checkCalendarAvailability(request)\r\n .subscribe(\r\n result => {\r\n this.lastCheckResult = result;\r\n\r\n this.checkingAvailability = false;\r\n },\r\n error => {\r\n this.checkingAvailability = false;\r\n });\r\n\r\n }\r\n\r\n private checkForDataChange() {\r\n const checkRideRequest = this.dwMetaDataFormStateService.state.formApi.getFormData();\r\n\r\n this.checkRideRequest = checkRideRequest;\r\n\r\n this.checkForScheduleDateTimeChange();\r\n }\r\n\r\n \r\n private convertDateTime(preferredDateTime: string): string {\r\n // if (preferredDateTime.indexOf('T') < 0) {\r\n // preferredDateTime += 'T00:00:00';\r\n // }\r\n\r\n const date = new Date(preferredDateTime);\r\n\r\n //return `${date.getFullYear()}-${date.getMonth() + 1}-${date.getDate()}`;\r\n\r\n let dateWithTime = date.toJSON();\r\n\r\n return dateWithTime;\r\n }\r\n\r\n\r\n checkForScheduleDateTimeChange() {\r\n if (!this.checkRideRequest) {\r\n return;\r\n }\r\n\r\n const currentDateTime = this.checkRideRequest[this.currentFields.dateField];\r\n const currentDuration = this.checkRideRequest[this.currentFields.durationField] || (this.currentFields.alternateDurationField ? this.checkRideRequest[this.currentFields.alternateDurationField] : -1);\r\n\r\n if (this.previousDateTime == currentDateTime && currentDuration == this.previousDuration) {\r\n return;\r\n }\r\n\r\n this.previousDateTime = currentDateTime;\r\n this.previousDuration = currentDuration;\r\n\r\n if (currentDuration <= 0) {\r\n return;\r\n }\r\n\r\n // trigger a data change so it will check the calendar (allows a debounceTime so we don't keep hitting the server)\r\n this.dateTimeChangedSubject.next();\r\n }\r\n}\r\n\r\n","\r\n
\r\n \r\n Checking availability...\r\n
\r\n\r\n\r\n
\r\n \r\n All Clear\r\n
\r\n \r\n
\r\n \r\n Conflicts with another Checkride or Appointment\r\n
\r\n
","import { Injectable } from \"@angular/core\";\r\nimport { DwTaskItem, formatDateTimeToLocal, getMomentValue } from \"@devwareapps/devware-cap\";\r\nimport { CheckRideRequestEntity, CheckRideRequestSubStatusAllItems } from \"../../../meta-data/app-meta-data.service\";\r\nimport * as moment from \"moment\";\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ExaminerTaskService {\r\n\r\n examinerTaskDefinitions: ExaminerTaskDefinition[] = [\r\n {\r\n taskType: ExaminerTaskType.todaysCheckrides,\r\n titleTextSuffix: 'today',\r\n toolipTextSuffix: ' are booked for today',\r\n iconClass: 'fa fa-check dw-blue',\r\n navigateUrlBase: '/bookings',\r\n bookingTile: 'booked',\r\n filterDisplay:'Today\\'s Checkrides',\r\n filterFunc: (checkride) => this.isForToday(checkride)\r\n },\r\n {\r\n taskType: ExaminerTaskType.upcomingCheckrides,\r\n titleTextSuffix: ' this week',\r\n toolipTextSuffix: ' are booked later this week',\r\n iconClass: 'fa fa-check dw-green',\r\n navigateUrlBase: '/bookings',\r\n bookingTile: 'booked',\r\n filterDisplay:'Checkrides this week',\r\n filterFunc: (checkride) => this.isForThisWeek(checkride)\r\n },\r\n {\r\n taskType: ExaminerTaskType.pendingCheckrides,\r\n titleTextSuffix: ' Pending Approval',\r\n toolipTextSuffix: ' are waiting for your approval',\r\n iconClass: 'fa fa-check dw-orange',\r\n navigateUrlBase: '/bookings',\r\n bookingTile: '',\r\n filterDisplay:'Checkrides Pending Approval',\r\n filterFunc: (checkride) => checkride.CheckRideRequestSubStatusId == CheckRideRequestSubStatusAllItems.PendingApproval\r\n },\r\n {\r\n taskType: ExaminerTaskType.pendingRescheduleCheckrides,\r\n titleTextSuffix: ' Pending Reschedule',\r\n toolipTextSuffix: ' are waiting to be rescheduled',\r\n iconClass: 'fa fa-check dw-orange',\r\n navigateUrlBase: '/bookings',\r\n bookingTile: '',\r\n filterDisplay:'Checkrides Pending Reschedule',\r\n filterFunc: (checkride) => checkride.CheckRideRequestSubStatusId == CheckRideRequestSubStatusAllItems.PendingReschedule\r\n },\r\n {\r\n taskType: ExaminerTaskType.pendingOutcomeCheckrides,\r\n titleTextSuffix: ' Pending Outcome',\r\n toolipTextSuffix: ' need to have their outcome updated',\r\n iconClass: 'fa fa-check dw-orange',\r\n navigateUrlBase: '/bookings',\r\n bookingTile: 'booked',\r\n filterDisplay:'Checkrides Pending Outcome',\r\n filterFunc: (checkride) => checkride.CheckRideRequestSubStatusId == CheckRideRequestSubStatusAllItems.PendingOutcome\r\n }\r\n ]\r\n\r\n \r\n public isScheduledCheckride(checkride: CheckRideRequestEntity): boolean {\r\n\r\n switch (checkride.CheckRideRequestSubStatusId) {\r\n case CheckRideRequestSubStatusAllItems.Cancelled:\r\n case CheckRideRequestSubStatusAllItems.Completed:\r\n case CheckRideRequestSubStatusAllItems.Rejected:\r\n case CheckRideRequestSubStatusAllItems.Deleted:\r\n case CheckRideRequestSubStatusAllItems.Draft:\r\n case CheckRideRequestSubStatusAllItems.PendingPayment:\r\n\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n\r\n getCheckrideTasks(checkrides: CheckRideRequestEntity[], showAllTasks: boolean = false): DwTaskItem[] {\r\n const tasks: DwTaskItem[] = [];\r\n\r\n for (const taskDefinition of this.examinerTaskDefinitions) {\r\n const task = this.buildCheckrideTask(checkrides, taskDefinition, showAllTasks);\r\n\r\n if (task) {\r\n tasks.push(task)\r\n }\r\n }\r\n\r\n return tasks;\r\n }\r\n\r\n buildCheckrideTask(checkrides: CheckRideRequestEntity[], taskDefinition: ExaminerTaskDefinition, showAllTasks: boolean): DwTaskItem {\r\n const filteredCheckrides = checkrides.filter(checkride => taskDefinition.filterFunc(checkride));\r\n\r\n if (filteredCheckrides.length == 0 && !showAllTasks) {\r\n return null;\r\n }\r\n\r\n const checkrideText = this.pluralizeWord('Checkride', 'Checkrides', filteredCheckrides.length);\r\n\r\n let navigateUrl = taskDefinition.navigateUrlBase || '/bookings';\r\n\r\n const urlParams: string[] = [];\r\n\r\n urlParams.push(`filter=${taskDefinition.taskType}`);\r\n\r\n if (taskDefinition.bookingTile) {\r\n urlParams.push(`tile=${taskDefinition.bookingTile}`);\r\n }\r\n\r\n navigateUrl += `?${urlParams.join('&')}`;\r\n\r\n const task: DwTaskItem = {\r\n iconClass: taskDefinition.iconClass,\r\n taskTitle: `${filteredCheckrides.length} ${checkrideText} ${taskDefinition.titleTextSuffix}`,\r\n tooltip: `${filteredCheckrides.length} ${checkrideText} ${taskDefinition.toolipTextSuffix}`,\r\n navigateUrl: navigateUrl\r\n }\r\n\r\n return task;\r\n\r\n }\r\n\r\n isForToday(checkride: CheckRideRequestEntity): boolean {\r\n\r\n\r\n //const scheduleDateTime = getMomentValue(checkride.ScheduledDateTime, true, true);\r\n const scheduleDateTimeLocal = formatDateTimeToLocal(checkride.ScheduledDateTime, true, true);\r\n\r\n const scheduleDateTime = getMomentValue(scheduleDateTimeLocal, true, true);\r\n\r\n const now = moment();\r\n\r\n if (scheduleDateTime.isSame(now, 'day')) {\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n isForThisWeek(checkride: CheckRideRequestEntity): boolean {\r\n const scheduleDateTimeLocal = formatDateTimeToLocal(checkride.ScheduledDateTime, true, true);\r\n const scheduleDateTime = getMomentValue(scheduleDateTimeLocal, true, true);\r\n const now = moment().add(1, 'days');\r\n const sat = moment().weekday(6); // 6 is saturday\r\n\r\n if (scheduleDateTime.isSameOrAfter(now, 'day') && scheduleDateTime.isSameOrBefore(sat, 'day')) {\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n private pluralizeWord(word: string, pluralword: string, count: number): string {\r\n if (count == 1) {\r\n return word;\r\n }\r\n\r\n return pluralword;\r\n }\r\n}\r\n\r\n\r\nexport enum ExaminerTaskType {\r\n todaysCheckrides = 'todaysCheckrides',\r\n upcomingCheckrides = 'upcomingCheckrides',\r\n pendingCheckrides = 'pendingCheckrides',\r\n pendingRescheduleCheckrides = 'pendingRescheduleCheckrides',\r\n pendingOutcomeCheckrides = 'pendingOutcomeCheckrides',\r\n}\r\n\r\n\r\nexport interface ExaminerTaskDefinition {\r\n taskType: ExaminerTaskType;\r\n titleTextSuffix: string,\r\n toolipTextSuffix: string,\r\n iconClass: string;\r\n navigateUrlBase?: string;\r\n bookingTile?: string;\r\n filterFunc: (CheckRideEntity) => boolean;\r\n\r\n filterDisplay: string;\r\n}\r\n","import { Component, EventEmitter, Inject, OnInit, SimpleChanges } from '@angular/core';\r\nimport { FormGroup, FormControl } from '@angular/forms';\r\nimport { DwComponent, DwComponentType, DwContainerOptions, DwContext, DwExpressionService, DwFormContextMode, DwMessage, DwMessageSeverity, DwMetaDataFormApi, DwMetaDataFormConfig, DwMetaDataFormStateService, DwMetaDataService, DwMetaDataServiceToken, DwSectionBaseComponent, DwSectionBasePreference, DwUIMetaDataConfig, DwUIMetaDataConfigToken, DwUiConfigRegistryService, deepCopy, formatDateTimeFromLocal } from '@devwareapps/devware-cap';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { ExaminerRepositoryService } from '../../services/examiner-repository.service';\r\nimport { AppMetaData, AppMetaDataItemNames, ApplicantPlaceholderEntity, CheckRideApplicantTypeAllItems, CheckRideOutcomeAllItems, CheckRideRequestEntity, CheckRideRequestSubStatusAllItems, CheckRideResultEntity, CheckRideScenarioEntity, PilotExaminerLocationEntity, PilotExaminerSearchQueryEntity } from '../../../../meta-data/app-meta-data.service';\r\nimport { ExaminerLocationSearchRequest } from '../../models/examiner-location-search-request.model';\r\nimport { ExaminerLocationSelection } from '../../models/exminer-location-selection.model';\r\nimport { tap } from 'rxjs/operators';\r\nimport { CheckrideReferenceInfo } from '../../models/checkride-reschedule-info.model';\r\nimport { ExaminerCheckrideVariables } from '../../models/examiner-checkride-variables.model';\r\nimport { PlanOfActionRepositoryService } from '../../../plan-of-action/services/plan-of-action-repository.service';\r\n\r\n@DwComponent({\r\n key: 'exminer-check-ride-util',\r\n name: ' Examiner Check Ride Util',\r\n componentType: DwComponentType.formSection,\r\n parentItemName: AppMetaDataItemNames.CheckRideRequest,\r\n isGlobal: false\r\n})\r\n@Component({\r\n selector: 'app-examiner-check-ride-util',\r\n template: `\r\n `\r\n})\r\nexport class ExaminerCheckRideUtilComponent extends DwSectionBaseComponent {\r\n checkRideRequest: CheckRideRequestEntity;\r\n\r\n initComplete = false;\r\n rescheduleInfo: CheckrideReferenceInfo;\r\n checkrideScenarioId: number;\r\n currentScenario: any;\r\n checkRideTypeId: number;\r\n checkrideResultActualDateTime: string;\r\n formApi: DwMetaDataFormApi;\r\n applicantDataUpdated: boolean;\r\n isRebook: boolean;\r\n testTypeId: number;\r\n originalCheckRideRequest: any;\r\n lastCheckRideRequest: CheckRideRequestEntity;\r\n\r\n constructor(\r\n dwExpressionService: DwExpressionService,\r\n dwUiConfigRegistryService: DwUiConfigRegistryService,\r\n @Inject(DwUIMetaDataConfigToken) uiMetaDataConfig: DwUIMetaDataConfig,\r\n @Inject(DwMetaDataServiceToken) dwMetaDataService: DwMetaDataService,\r\n private dwMetaDataFormStateService: DwMetaDataFormStateService,\r\n private examinerRepositoryService: ExaminerRepositoryService,\r\n private planOfActionRepositoryService: PlanOfActionRepositoryService\r\n ) {\r\n super(dwExpressionService, dwUiConfigRegistryService, uiMetaDataConfig, dwMetaDataService);\r\n\r\n this.formApi = this.dwMetaDataFormStateService.state.formApi;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.setupDataWatch();\r\n }\r\n\r\n setupDataWatch() {\r\n this.formApi.getFormDataChanges(100)\r\n .subscribe(dataChange => {\r\n if (this.formApi.isDataLoadComplete) {\r\n this.checkForDataChange();\r\n }\r\n });\r\n\r\n if (this.formApi.isDataLoadComplete) {\r\n this.checkForDataChange();\r\n }\r\n }\r\n\r\n private checkForDataChange() {\r\n\r\n const checkRideRequest = this.formApi.getFormData();\r\n\r\n if (this.checkRideRequest && checkRideRequest && this.checkRideRequest.CheckRideRequestSubStatusId != checkRideRequest.CheckRideRequestSubStatusId) {\r\n switch (this.checkRideRequest.CheckRideRequestSubStatusId) {\r\n case CheckRideRequestSubStatusAllItems.NewDateProposedByExaminer:\r\n this.updateProposedInfo(checkRideRequest);\r\n }\r\n }\r\n\r\n if (!this.originalCheckRideRequest) { \r\n this.originalCheckRideRequest = checkRideRequest;\r\n }\r\n this.checkRideRequest = checkRideRequest;\r\n\r\n this.initCheckride();\r\n\r\n this.checkForScheduleDateTimeChange();\r\n\r\n if (this.checkrideScenarioId !== checkRideRequest.ScheduledCheckRideScenarioId || (this.testTypeId != checkRideRequest.CheckRideTestTypeId && this.testTypeId)) {\r\n this.updateCheckrideScenario(checkRideRequest.ScheduledCheckRideScenarioId);\r\n }\r\n\r\n this.checkrideScenarioId = checkRideRequest.ScheduledCheckRideScenarioId;\r\n\r\n if (this.checkRideTypeId !== checkRideRequest.CheckRideTypeId) {\r\n this.setScenarioFromCheckrideType(checkRideRequest);\r\n }\r\n\r\n this.checkRideTypeId = checkRideRequest.CheckRideTypeId;\r\n\r\n if (!this.checkRideRequest?.CheckRideResult?.CheckRideDateTime && \r\n (this.checkRideRequest?.CheckRideRequestSubStatusId == CheckRideRequestSubStatusAllItems.Completed\r\n || this.checkRideRequest?.CheckRideRequestSubStatusId == CheckRideRequestSubStatusAllItems.PendingOutcome \r\n )) {\r\n this.updateCheckRideResultActualDateTime();\r\n }\r\n\r\n if (this.checkRideRequest?.CheckRideRequestSubStatusId == CheckRideRequestSubStatusAllItems.PendingOutcome && this.checkRideRequest?.CheckRideResult?.CheckRideOutcomeId) {\r\n this.updateCheckRideResultActualDateTime();\r\n } \r\n\r\n this.checkrideResultActualDateTime = this.checkRideRequest?.CheckRideResult?.CheckRideDateTime;\r\n\r\n if (this.checkRideRequest?.ApplicantPlaceholderId && this.dwMetaDataFormStateService.state.formContext.contextMode == DwFormContextMode.add) {\r\n this.setApplicantData();\r\n }\r\n\r\n this.checkForRebook();\r\n\r\n this.setAcsTest();\r\n\r\n this.lastCheckRideRequest = checkRideRequest;\r\n }\r\n\r\n setApplicantData() {\r\n if (this.isRebook || this.applicantDataUpdated) {\r\n return;\r\n }\r\n\r\n this.applicantDataUpdated = true;\r\n\r\n this.examinerRepositoryService.getApplicantPlaceholder(this.checkRideRequest.ApplicantPlaceholderId)\r\n .subscribe(applicantPlaceholder => {\r\n this.updateApplicantData(applicantPlaceholder);\r\n });\r\n }\r\n\r\n updateApplicantData(applicantPlaceholder: ApplicantPlaceholderEntity) {\r\n let checkrideRequest: Partial = {\r\n StudentApplicantNameManual: applicantPlaceholder.StudentApplicantNameManual,\r\n StudentApplicantEmailManual: applicantPlaceholder.StudentApplicantEmailManual,\r\n StudentApplicantPhoneManual: applicantPlaceholder.StudentApplicantPhoneManual,\r\n CheckRideGroupId: applicantPlaceholder.CheckRideGroupId,\r\n CheckRideTypeId: applicantPlaceholder.CheckRideTypeId,\r\n ScheduledAirportId: applicantPlaceholder.PreferredAirportId,\r\n PilotCertificateNumber: applicantPlaceholder.PilotCertificateNumber,\r\n CheckRideTestTypeId: applicantPlaceholder.CheckRideTestTypeId,\r\n FlightSchoolName: applicantPlaceholder.FlightSchoolName,\r\n FlightInstructorName: applicantPlaceholder.FlightInstructorName,\r\n StudentApplicantId: applicantPlaceholder.StudentApplicantId,\r\n CheckRideApplicantTypeId: CheckRideApplicantTypeAllItems.ManualEntry,\r\n AuthorityPreCheckRideNumber: applicantPlaceholder.AuthorityPreCheckRideNumber,\r\n StudentApplicantCitizenshipCountyId: applicantPlaceholder.StudentApplicantCitizenshipCountyId,\r\n AvaiationTrainingProgramId: applicantPlaceholder.AviationTrainingProgramId,\r\n };\r\n\r\n // if we have the last checkride, let's just use that and copy all the info\r\n if (applicantPlaceholder.CheckRideRequest?.length>0) {\r\n const previousCheckride = applicantPlaceholder.CheckRideRequest[0];\r\n\r\n this.updateCheckrideForRebook(previousCheckride);\r\n\r\n return;\r\n }\r\n\r\n this.formGroup.patchValue(checkrideRequest);\r\n }\r\n\r\n private initCheckride() {\r\n if (this.initComplete) {\r\n return;\r\n }\r\n\r\n this.checkrideScenarioId = this.checkRideRequest?.ScheduledCheckRideScenarioId;\r\n this.checkRideTypeId = this.checkRideRequest?.CheckRideTypeId;\r\n \r\n \r\n this.initComplete = true;\r\n this.rescheduleInfo = this.examinerRepositoryService.getCheckrideReferenceInfo(this.checkRideRequest.CheckRideRequestId || -1);\r\n\r\n this.checkrideResultActualDateTime = this.checkRideRequest?.CheckRideResult?.CheckRideDateTime;\r\n\r\n \r\n if (!this.rescheduleInfo) {\r\n return;\r\n }\r\n\r\n if (this.rescheduleInfo.proposedStartDateTime) {\r\n this.handleReschedule();\r\n return;\r\n }\r\n\r\n if (this.rescheduleInfo.startDateTime) {\r\n this.checkRideRequest.ScheduledDateTime = this.rescheduleInfo.startDateTime;\r\n\r\n if (this.rescheduleInfo.durationMinutes) {\r\n this.checkRideRequest.ScheduledTimeMinutes = this.rescheduleInfo.durationMinutes;\r\n }\r\n\r\n this.formGroup.patchValue(this.checkRideRequest);\r\n }\r\n }\r\n\r\n setScenarioFromCheckrideType(checkRideRequest: CheckRideRequestEntity) {\r\n const scenarios = this.examinerRepositoryService.getCurrentCheckRideScenarios()\r\n .subscribe(scenarios => {\r\n const scenario = scenarios.find(scenario => scenario.IsActive && scenario.CheckRideScenarioTypeMap.find(tm => tm.CheckRideTypeId == checkRideRequest.CheckRideTypeId));\r\n\r\n if (scenario) {\r\n this.checkrideScenarioId = scenario.CheckRideScenarioId;\r\n\r\n this.updateCheckrideScenarioDefaults(scenario);\r\n }\r\n });\r\n }\r\n\r\n updateCheckrideScenario(checkRideScenarioId: number) {\r\n this.testTypeId = this.checkRideRequest.CheckRideTestTypeId\r\n this.examinerRepositoryService.getCurrentCheckRideScenario(checkRideScenarioId)\r\n .subscribe(scenario => {\r\n this.currentScenario = scenario;\r\n\r\n if (!scenario) {\r\n return;\r\n }\r\n\r\n this.updateCheckrideScenarioDefaults(scenario);\r\n });\r\n }\r\n\r\n setAcsTest() {\r\n if (!this.checkRideRequest?.CheckRideTypeId) {\r\n return;\r\n }\r\n \r\n \r\n if (this.checkRideRequest?.ApplicantAcsWrittenResult?.AcsTestId && this.lastCheckRideRequest?.CheckRideTypeId == this.checkRideRequest.CheckRideTypeId) {\r\n return;\r\n }\r\n \r\n this.planOfActionRepositoryService.getAcsTestByCheckRideType(this.checkRideRequest?.CheckRideTypeId)\r\n .subscribe(acsTestCheckRideType => {\r\n \r\n const checkrideRequest = this.formApi.getFormData();\r\n \r\n if (acsTestCheckRideType?.AcsTestId) {\r\n if (checkrideRequest.ApplicantAcsWrittenResult?.AcsTestId == acsTestCheckRideType.AcsTestId) {\r\n return;\r\n }\r\n \r\n if (checkrideRequest.ApplicantAcsWrittenResult == null) {\r\n checkrideRequest.ApplicantAcsWrittenResult = AppMetaData.ApplicantAcsWrittenResult.CreateEntity();\r\n }\r\n \r\n const checkrideRequestUpdate: Partial = {\r\n ApplicantAcsWrittenResult: deepCopy(this.checkRideRequest.ApplicantAcsWrittenResult)\r\n };\r\n \r\n console.log('Setting Acs Test from Checkride Type Id - ', this.checkRideRequest.CheckRideTypeId);\r\n checkrideRequestUpdate.ApplicantAcsWrittenResult.AcsTestId = acsTestCheckRideType.AcsTestId;\r\n \r\n this.formApi.patchFormData(checkrideRequestUpdate);\r\n }\r\n });\r\n }\r\n \r\n\r\n updateCheckrideScenarioDefaults(checkrideScenario: CheckRideScenarioEntity) {\r\n const checkrideRequest: Partial = {\r\n ScheduledCheckRideScenarioId: checkrideScenario.CheckRideScenarioId,\r\n //ScheduledTimeMinutes: checkrideScenario.TimeRequiredMinutes,\r\n ScheduledTimeMinutes: this.examinerRepositoryService.getCheckrideTimeMinutesFromScenario(this.checkRideRequest.CheckRideTestTypeId, checkrideScenario),\r\n ScheduledPreTimeMinutes: checkrideScenario.PreTimeMinutes,\r\n ScheduledPostTimeMinutes: checkrideScenario.PostTimeMinutes,\r\n ScheduledCheckRideCost: checkrideScenario.CheckRideCost,\r\n AdditionalTravelCost: checkrideScenario.TravelCost,\r\n ExaminerBookingCost: checkrideScenario.BookingCost,\r\n ExaminerToApplicantNotes: checkrideScenario.RequiredDocumentNotes,\r\n };\r\n\r\n \r\n\r\n setTimeout(() => {\r\n //this.formGroup.patchValue(checkrideRequest);\r\n this.formApi.patchFormData(checkrideRequest);\r\n },50);\r\n }\r\n\r\n \r\n updateCheckRideResultActualDateTime() {\r\n const checkrideResult : Partial = {\r\n CheckRideDateTime: this.checkRideRequest.ScheduledDateTime,\r\n };\r\n\r\n\r\n \r\n const checkrideRequest: Partial = {\r\n CheckRideResult : checkrideResult as CheckRideResultEntity\r\n };\r\n\r\n // Only update the status if an outcome has been selected\r\n if (this.checkRideRequest.CheckRideResult.CheckRideOutcomeId) {\r\n checkrideRequest.CheckRideRequestSubStatusId = CheckRideRequestSubStatusAllItems.Completed;\r\n }\r\n \r\n setTimeout(() => {\r\n this.formApi.patchFormData(checkrideRequest);\r\n },50);\r\n }\r\n\r\n previousScheduleDateTime: string;\r\n\r\n variables = {\r\n checkride_DateTime_Conflict: 'Checkride_DateTime_Conflict',\r\n proposed_DateTime_Conflict: 'Proposed_DateTime_Conflict',\r\n }\r\n\r\n checkForScheduleDateTimeChange() {\r\n if (!this.checkRideRequest) {\r\n return;\r\n }\r\n\r\n if (this.previousScheduleDateTime != this.checkRideRequest.ScheduledDateTime) {\r\n // this.checkCalendarAvailability(this.checkRideRequest.ScheduledDateTime, this.variables.checkride_DateTime_Conflict);\r\n }\r\n\r\n if (!this.rescheduleInfo) {\r\n return;\r\n }\r\n\r\n if (this.rescheduleInfo.proposedStartDateTime) {\r\n return;\r\n }\r\n\r\n if (this.rescheduleInfo.startDateTime) {\r\n if (this.checkRideRequest.ScheduledDateTime != this.rescheduleInfo.startDateTime) {\r\n this.checkRideRequest.ScheduledDateTime = this.rescheduleInfo.startDateTime;\r\n this.formGroup.patchValue(this.checkRideRequest);\r\n }\r\n }\r\n }\r\n\r\n rebookComplete?: boolean;\r\n\r\n checkForRebook() {\r\n if (this.rebookComplete || this.dwMetaDataFormStateService.state.formContext.contextMode != DwFormContextMode.add) {\r\n return;\r\n }\r\n\r\n // We want to wait until the defaults have been loaded\r\n if (!this.dwMetaDataFormStateService.state.formContext.defaultsProcessed) {\r\n return;\r\n }\r\n\r\n const variables = this.formApi.getVariableContextValue();\r\n \r\n if (!variables?.RebookCheckrideId) {\r\n return;\r\n }\r\n\r\n this.rebookComplete = true;\r\n this.isRebook = true;\r\n\r\n \r\n this.examinerRepositoryService.getRebookCheckrideRequest(variables.RebookCheckrideId)\r\n .subscribe(checkride => {\r\n // Wait a half second to make sure the form is loaded\r\n setTimeout(() => {\r\n this.updateCheckrideForRebook(checkride);\r\n });\r\n });\r\n\r\n\r\n\r\n }\r\n \r\n updateCheckrideForRebook(checkride: CheckRideRequestEntity) {\r\n if (!checkride) {\r\n return;\r\n }\r\n this.rebookComplete = true;\r\n \r\n const updatedCheckride = this.examinerRepositoryService.prepareCheckrideForCopy(checkride);\r\n\r\n let waivePayment = this.examinerRepositoryService.getWaiveCheckridePaymentOnRebook(checkride);\r\n\r\n // Set the preferred pilot examiner to the same as before\r\n const variables: ExaminerCheckrideVariables = {\r\n Pilexos_Payment_Waived: waivePayment,\r\n RebookCheckrideId: checkride.CheckRideRequestId\r\n };\r\n\r\n this.formApi.patchVariableContext(variables);\r\n\r\n updatedCheckride.PilexosBookingPaymentAdded = waivePayment;\r\n \r\n // Clear scheduled fields\r\n updatedCheckride.ScheduledDateTime = null;\r\n \r\n if (checkride.CheckRideResult?.RetestCost) {\r\n updatedCheckride.ScheduledCheckRideCost = checkride.CheckRideResult?.RetestCost;\r\n }\r\n\r\n if (!this.checkRideRequest.CheckRideRequestSubStatusId) {\r\n updatedCheckride.CheckRideRequestSubStatusId = CheckRideRequestSubStatusAllItems.Accepted;\r\n }\r\n\r\n // Set these fields for it doesn't get overritten by the scenario logic\r\n this.checkRideTypeId = checkride.CheckRideTypeId;\r\n this.checkrideScenarioId = checkride.ScheduledCheckRideScenarioId;\r\n\r\n this.formApi.patchFormData(updatedCheckride);\r\n } \r\n\r\n\r\n private handleReschedule() {\r\n const scheduleUTCDateTime = formatDateTimeFromLocal(this.rescheduleInfo.proposedStartDateTime, true, true);\r\n\r\n switch (this.checkRideRequest.CheckRideRequestSubStatusId) {\r\n case CheckRideRequestSubStatusAllItems.PendingApproval:\r\n case CheckRideRequestSubStatusAllItems.NewDateProposedByExaminer:\r\n case CheckRideRequestSubStatusAllItems.RequiresAdditionalInfo:\r\n case CheckRideRequestSubStatusAllItems.RequiresAdditionalInfo:\r\n break;\r\n\r\n default:\r\n return;\r\n };\r\n\r\n const partialCheckRequestRequest: Partial = {\r\n ProposedDateTime: scheduleUTCDateTime,\r\n ProposedAirportId: this.checkRideRequest.ScheduledAirportId,\r\n ProposedTimeMinutes: this.checkRideRequest.ScheduledTimeMinutes,\r\n CheckRideRequestSubStatusId: CheckRideRequestSubStatusAllItems.NewDateProposedByExaminer\r\n };\r\n\r\n this.checkRideRequest.CheckRideRequestSubStatusId = partialCheckRequestRequest.CheckRideRequestSubStatusId;\r\n\r\n // Patch the form data\r\n this.formApi.patchFormData(partialCheckRequestRequest);\r\n }\r\n\r\n private updateProposedInfo(checkRideRequest: CheckRideRequestEntity) {\r\n\r\n const partialCheckRequestRequest: Partial = {\r\n ProposedDateTime: checkRideRequest.ScheduledDateTime,\r\n ProposedAirportId: checkRideRequest.ScheduledAirportId,\r\n ProposedTimeMinutes: checkRideRequest.ScheduledTimeMinutes,\r\n };\r\n\r\n // Patch the form data\r\n this.formApi.patchFormData(partialCheckRequestRequest);\r\n }\r\n}\r\n\r\n","import { Injectable } from \"@angular/core\";\r\nimport { DwAction, DwActionHandler, DwActionResult, DwActionType, DwFormPrintConfig, DwMdFormActionState, DwMdFormContextInfo, DwModalButtonStandardConfigs, DwModalConfig, DwModalService, DwModalSize, DwRoutingService } from \"@devwareapps/devware-cap\";\r\nimport { Observable, of } from \"rxjs\";\r\nimport { ApplicantAcsWrittenResultEntity, AppMetaDataItemNames, CheckRideRequestEntity, CheckRideRequestStatusAllItems, CheckRideRequestSubStatusAllItems, PlanOfActionDetailsQueryEntity, PlanOfActionEntity, PlanOfActionSectionEntity, PlanOfActionStatusAllItems } from \"../../../meta-data/app-meta-data.service\";\r\nimport { PlanOfActionRepositoryService } from \"../services/plan-of-action-repository.service\";\r\nimport { GenerateSectionsModalComponent } from \"../components/generate-sections-modal/generate-sections-modal.component\";\r\nimport { map, tap } from \"rxjs/operators\";\r\nimport { PlanOfActionGeneratorService } from \"../services/plan-of-action-generator.service\";\r\nimport { GenerateQuestionsModalComponent } from \"../components/generate-questions-modal/generate-questions-modal.component\";\r\nimport { AcsCodeSelectionModalOptions, AcsCodeSelectionModalResult } from \"../models/acs-code-selection-modal-options.model\";\r\nimport { AcsCodeStatuses } from \"../models/acs-code-items.model\";\r\nimport { PoaPrintOptionsModalComponent } from \"../components/poa-print-options-modal/poa-print-options-modal.component\";\r\nimport { PlanOfActionExecuteComponent } from \"../components/plan-of-action-execute/plan-of-action-execute.component\";\r\n\r\n@DwAction({\r\n keyName: 'poa-print-action',\r\n display: 'Print Plan Of Action',\r\n actionType: DwActionType.formAction,\r\n isGlobal: false,\r\n parentItemName: [AppMetaDataItemNames.PlanOfAction],\r\n allowOnce: true,\r\n defaultButtonConfig: {\r\n useButtonDefaults: false,\r\n useParentDisplay: false,\r\n buttonText: 'Print',\r\n buttonClass: 'btn btn-secondary mr-1 mt-1',\r\n iconClass: 'fa fa-print'\r\n },\r\n configData: {\r\n requireValidation: false,\r\n redirectAfter: false,\r\n actionMessage: 'Exporting...',\r\n }\r\n})\r\n@Injectable()\r\nexport class POAPrintActionService implements DwActionHandler {\r\n\r\n constructor(private dwRoutingService: DwRoutingService, private dwModalService: DwModalService) { }\r\n\r\n handleAction(actionState: DwMdFormActionState): Observable {\r\n PlanOfActionExecuteComponent.printCurrentAcsTestPortions = null;\r\n\r\n const formPrintConfigOptions: DwFormPrintConfig = \r\n {\r\n printConfigKeyOverride: 'dep-admin-execute-print',\r\n exportPDFFileName: 'PlanOfAction.pdf',\r\n renderMultiplePage: true \r\n };\r\n\r\n return actionState.formApi.print(formPrintConfigOptions);\r\n\r\n // const ob : Observable = actionState.formApi.print(formPrintConfigOptions);\r\n\r\n // return ob.pipe(map((result) => {\r\n // return { success: true };\r\n // }));\r\n\r\n // return of({ success: true });\r\n }\r\n \r\n showPrintOptions(actionState: DwMdFormActionState): Observable {\r\n let modalConfig = new DwModalConfig();\r\n\r\n modalConfig.buttons = DwModalButtonStandardConfigs.instance.okAndClose;\r\n\r\n modalConfig.allowFullScreen = true;\r\n modalConfig.modalSize = DwModalSize.large;\r\n\r\n modalConfig.component = PoaPrintOptionsModalComponent;\r\n\r\n modalConfig.title = 'Create PDF';\r\n // modalConfig.data = {\r\n // allowQuestionSelect: false,\r\n // acsTestId: applicantWritten.AcsTestId,\r\n // acsCodeStatuses: acsCodeStatuses\r\n // //planOfAction: planOfAction,\r\n // };\r\n\r\n return this.dwModalService.showModal(modalConfig)\r\n .pipe(map(modalResult => {\r\n const result = new DwActionResult();\r\n\r\n if (result.cancelled) {\r\n result.cancelled = true;\r\n\r\n return result;\r\n }\r\n\r\n if (modalResult.data) {\r\n \r\n }\r\n\r\n return result;\r\n }));\r\n }\r\n\r\n}","import { HttpClient } from \"@angular/common/http\";\r\nimport { Inject, Injectable } from \"@angular/core\";\r\nimport { DwOrmDataServiceToken, DwOrmDataService, DwMetaDataServiceToken, DwMetaDataService, DwConfigServiceToken, DwConfigService, DwSecurityUserService, DwModalResult, DwModalService, DwModalConfig, DwModalButtonStandardConfigs, DwModalSize } from \"@devwareapps/devware-cap\";\r\nimport { CheckridePaymentRequest } from \"../models/checkride-payment-request.model\";\r\nimport { Observable } from \"rxjs\";\r\nimport { CheckridePaymentResult } from \"../models/checkride-payment-result.model\";\r\nimport { AppMetaData, CheckRidePaymentEntity, CheckRideRequestEntity, CheckRideRequestSubStatusAllItems } from \"../../../meta-data/app-meta-data.service\";\r\nimport { PaymentModalComponent } from \"../components/payment-modal/payment-modal.component\";\r\nimport { PaymentModalOptions } from \"../models/payment-modal-options.model\";\r\nimport { CheckrideRefundPaymentResult } from \"../models/checkride-refund-payment-result.model\";\r\nimport { CheckrideRefundPaymentRequest } from \"../models/checkride-refund-payment-request.model\";\r\nimport { PaymentDiscountResult } from \"../models/payment-discount-result.model\";\r\n\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class PaymentRepositoryService {\r\n apiRoot: string;\r\n\r\n constructor(\r\n private http: HttpClient,\r\n @Inject(DwOrmDataServiceToken) private dwOrmDataService: DwOrmDataService,\r\n @Inject(DwMetaDataServiceToken) private dwMetaDataService: DwMetaDataService,\r\n @Inject(DwConfigServiceToken) configService: DwConfigService,\r\n private dwSecurityUserService: DwSecurityUserService,\r\n private dwModalService: DwModalService\r\n ) {\r\n this.apiRoot = configService.coreConfig.apiRoot;\r\n }\r\n\r\n /**\r\n * Creates a Checkride payment\r\n * @param checkridePaymentRequest Payment Request\r\n * @returns Checkride payment result indicating success/failure\r\n */\r\n public CreateCheckridePayment(checkridePaymentRequest: CheckridePaymentRequest): Observable {\r\n return this.http.post(`${this.apiRoot}/pilexos/payments/create`, checkridePaymentRequest);\r\n }\r\n\r\n getCheckrideRequest(checkrideRequestId: number): Observable {\r\n const checkRideQuery = AppMetaData.CheckRideRequest.CreateQueryBuilder();\r\n\r\n checkRideQuery.addFilterAnd(filters => filters.Equal(field => field.CheckRideRequestId, checkrideRequestId));\r\n\r\n return this.dwOrmDataService.executeQuerySingle(checkRideQuery);\r\n }\r\n /**\r\n * Admin function to refund a checkride payment\r\n * @param refundRequest \r\n * @returns CheckrideRefundPaymentResult\r\n */\r\n refundCheckridePayment(refundRequeset: CheckrideRefundPaymentRequest): Observable {\r\n return this.http.post(`${this.apiRoot}/pilexos/payments/refund`, refundRequeset);\r\n }\r\n\r\n /**\r\n * Apply a discount code to a payment \r\n * @remarks This is only used to show the user the discounted amount, but the logic is reapplied on the server side\r\n * @param discountCode Discount code provided by the user\r\n * @param totalAmount Total amount before discount\r\n * @returns Payment Discount result indicating if the discount is valid and the resulting amount\r\n */\r\n applyDiscountCode(discountCode: string, totalAmount: number): Observable {\r\n return this.http.post(`${this.apiRoot}/pilexos/payments/apply-discount-code?discountCode=${discountCode}&totalAmount=${totalAmount}`, {});\r\n }\r\n \r\n}","import { Component, OnDestroy, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { DwMenu, DwMenuService, DwMetaDataRoutingNavigationService, DwSecurityUserService, DwUser, DwMenuActionType, DwMenuCategory, DwControlType, DwSecurityOrchestrationService, DwActionExecutionService, DwActionState } from '@devwareapps/devware-cap';\r\nimport { Subscription } from 'rxjs/internal/Subscription';\r\nimport { combineLatest, Observable, of } from 'rxjs';\r\nimport { map } from 'rxjs/operators';\r\nimport { PilexosUser } from '../../../shared/models/pilexos-user.model';\r\nimport { PilexosUserTypeIds } from '../../../shared/models/pilexos-user-type.enum';\r\n\r\n\r\n@Component({\r\n selector: 'app-authenticated-home-view',\r\n templateUrl: './authenticated-home-view.component.html',\r\n styleUrls: ['./authenticated-home-view.component.scss']\r\n})\r\nexport class AuthenticatedHomeViewComponent implements OnInit, OnDestroy {\r\n user: DwUser;\r\n textboxControlType: DwControlType = DwControlType.Textbox;\r\n pilexosUser: PilexosUser;\r\n\r\n adminView: string = 'examiner';\r\n readonly PilexosUserTypeIds = PilexosUserTypeIds;\r\n\r\n constructor(private router: Router,\r\n private dwMenuService: DwMenuService,\r\n private dwSecurityUserService: DwSecurityUserService,\r\n private dwMetaDataRoutingNavigationService: DwMetaDataRoutingNavigationService,\r\n private dwSecurityOrchestrationService: DwSecurityOrchestrationService,\r\n private dwActionExecutionService: DwActionExecutionService\r\n ) { \r\n\r\n //this.pilexosUser.UserTypeId == PilexosUserTypeIds.pilotExaminer\r\n }\r\n\r\n\r\n\r\n subscriptions: Subscription[] = [];\r\n\r\n ngOnInit(): void {\r\n this.dwSecurityUserService.securityContextChanged().subscribe((result) => {\r\n this.setupSecurity();\r\n });\r\n\r\n this.setupSecurity();\r\n\r\n }\r\n\r\n ngOnDestroy(): void {\r\n // unsubscribe from all \r\n for (const subscription of this.subscriptions) {\r\n subscription.unsubscribe();\r\n }\r\n }\r\n\r\n\r\n private setupSecurity() {\r\n if (!this.dwSecurityUserService.securityState.isAuthenticated || this.dwSecurityUserService.securityState.isAuthenticating) {\r\n return;\r\n }\r\n\r\n this.pilexosUser = new PilexosUser(this.dwSecurityUserService.securityContext.ApplicationUser);\r\n }\r\n\r\n\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { DwComponent, DwComponentType } from '@devwareapps/devware-cap';\r\nimport { FinancialDashboardChart, FinancialDashboardConfig, FinancialDashboardGroup } from '../../models/financial-dashboard-config.model';\r\nimport { FinancialsRepositoryService } from '../../services/financials-repository.service';\r\nimport { ChartDataRequestSeries } from '../../models/chart-data-request.model';\r\nimport { DwChartTypes } from '../../../z-devware/visualizations/models/dw-chart-preferences.model';\r\nimport { AviationTrainingProgramAllItems, CheckRideRequestSubStatusAllItems } from '../../../../meta-data/app-meta-data.service';\r\n\r\n@DwComponent({\r\n key: 'overall-financials',\r\n name: ' Admin Financials',\r\n componentType: DwComponentType.pageComponent,\r\n isGlobal: true\r\n})\r\n@Component({\r\n selector: 'app-admin-financials',\r\n template: `\r\n \r\n \r\n \r\n `\r\n})\r\nexport class AdminFinancialsComponent implements OnInit {\r\n financialDashboardConfig: FinancialDashboardConfig;\r\n\r\n constructor(private financialsRepositoryService: FinancialsRepositoryService) { }\r\n\r\n ngOnInit(): void {\r\n this.setupDashboard();\r\n }\r\n\r\n setupDashboard() {\r\n this.financialDashboardConfig = {\r\n contentConfigKey: 'admin-financials',\r\n groups: [\r\n this.buildBookingFeesGroup(),\r\n this.buildExaminerRevenueGroup(),\r\n this.buildCheckrideStatGroup(),\r\n ]\r\n }\r\n }\r\n\r\n private buildBookingFeesGroup(): FinancialDashboardGroup {\r\n const group: FinancialDashboardGroup = {\r\n groupName: 'Pilexos Fees',\r\n filterOptions: {\r\n showYear: true,\r\n showMonth: true,\r\n showPilotExaminer: true,\r\n },\r\n gridConfigKey: 'admin-financials',\r\n charts: [],\r\n summaryAdditionalFilterOptions: { excludeStatuses: [] }\r\n }\r\n\r\n const fields = this.financialsRepositoryService.getFinancialFields();\r\n\r\n group.charts.push({\r\n chartType: DwChartTypes.bar, title: `Checkrides - Booking Fees`, categoryField: a => fields.monthDisplay, categoryDisplayOverride: 'Month', additionalGroupingFields: [fields.month, fields.year], orderByFields: [fields.year, fields.month],\r\n series: [\r\n { dataField: fields.pilexosRevenue, legendDisplay: 'Booking $', chartType: DwChartTypes.bar },\r\n { dataField: fields.pilexosPaidRevenue, legendDisplay: 'Paid $', chartType: DwChartTypes.bar },\r\n { dataField: fields.checkrideCount, legendDisplay: 'Checkrides', axis: 'y2', chartType: DwChartTypes.line },\r\n ],\r\n additionalFilterOptions: { excludeStatuses: []}\r\n });\r\n\r\n const yearDisplay = '';\r\n group.charts.push({ chartType: DwChartTypes.pie, title: `${yearDisplay} Statuses`, categoryField: a => a.AggrCheckRideRequestStatus, dataField: fields.checkrideCount, containerClass: 'tile-50a', additionalFilterOptions : { excludeStatuses : []} });\r\n\r\n group.tiles = [\r\n { headerTemplate: '[year] Checkrides', type: 'year', isCurrency: false, iconClass: 'fa fa-plane dw-blue', additionalText: '', dataField: fields.checkrideCount, chartDataIndex: 0, toolTip: 'Checkrides', hideIfNull: false },\r\n { headerTemplate: '[year] Paid', type: 'year', isCurrency: true, iconClass: 'fa fa-usd-circle dw-green', additionalText: '', dataField: fields.pilexosPaidRevenue, chartDataIndex: 0, toolTip: 'Checkride Revenue', hideIfNull: false },\r\n { headerTemplate: `[data.${fields.monthDisplay}] Checkrides`, type: 'month', isCurrency: false, iconClass: 'fa fa-plane dw-blue', additionalText: '', dataField: fields.checkrideCount, chartDataIndex: 0, toolTip: 'Checkrides', hideIfNull: false },\r\n { headerTemplate: `[data.${fields.monthDisplay}] Paid`, type: 'month', isCurrency: true, iconClass: 'fa fa-usd-circle dw-green', additionalText: '', dataField: fields.pilexosPaidRevenue, chartDataIndex: 0, toolTip: 'Checkride Revenue', hideIfNull: false },\r\n ];\r\n\r\n return group;\r\n }\r\n\r\n buildExaminerRevenueGroup(): FinancialDashboardGroup {\r\n const group: FinancialDashboardGroup = {\r\n groupName: 'Examiner Stats',\r\n filterOptions: {\r\n showYear: true,\r\n showMonth: true,\r\n showPilotExaminer: true\r\n },\r\n gridConfigKey: 'dep-admin-financials',\r\n charts: []\r\n }\r\n const yearDisplay = '';\r\n const fields = this.financialsRepositoryService.getFinancialFields();\r\n\r\n group.charts.push({ chartType: DwChartTypes.bar, title: `${yearDisplay} Checkride By Examiner`, categoryField: a => a.ScheduledPilotExaminerId, \r\n series: [{ dataField: fields.checkrideCount, legendDisplay: 'Checkrides', axis: 'y2', chartType: DwChartTypes.line }, { dataField: fields.pilexosRevenue, legendDisplay: 'Booked $' }, { dataField: fields.pilexosPaidRevenue, legendDisplay: 'Paid $' }] });\r\n \r\n\r\n group.charts.push(this.createCheckrideChart('Checkrides and Revenue', true, true));\r\n \r\n\r\n group.tiles = [\r\n { headerTemplate: '[year] Checkrides', type: 'year', isCurrency: false, iconClass: 'fa fa-plane dw-blue', additionalText: '', dataField: fields.checkrideCount, chartDataIndex: 0, toolTip: 'Checkrides', hideIfNull: false },\r\n { headerTemplate: '[year] Revenue', type: 'year', isCurrency: true, iconClass: 'fa fa-usd-circle dw-green', additionalText: '', dataField: fields.bookedRevenue, chartDataIndex: 0, toolTip: 'Checkride Revenue', hideIfNull: false },\r\n // { headerTemplate: `[data.${fields.monthDisplay}] Checkrides`, type: 'month', isCurrency: false, iconClass: 'fa fa-plane dw-blue', additionalText: '', dataField: fields.checkrideCount, chartDataIndex: 0, toolTip: 'Checkrides', hideIfNull: false },\r\n // { headerTemplate: `[data.${fields.monthDisplay}] Revenue`, type: 'month', isCurrency: true, iconClass: 'fa fa-usd-circle dw-green', additionalText: '', dataField: fields.bookedRevenue, chartDataIndex: 0, toolTip: 'Checkride Revenue', hideIfNull: false },\r\n ]\r\n \r\n return group;\r\n }\r\n\r\n private createCheckrideChart(title: string, includeCounts: boolean, includeRevenue: boolean): FinancialDashboardChart {\r\n const fields = this.financialsRepositoryService.getFinancialFields();\r\n\r\n const config: FinancialDashboardChart = {\r\n chartType: DwChartTypes.bar, title: title, categoryField: a => fields.monthDisplay, categoryDisplayOverride: 'Month', additionalGroupingFields: [fields.month, fields.year],\r\n series: []\r\n };\r\n const allSeries : ChartDataRequestSeries[] = [\r\n { dataField: fields.requestedCount, legendDisplay: 'Requested', axis: 'y2', chartType: DwChartTypes.line },\r\n { dataField: fields.bookedCount, legendDisplay: 'Booked', axis: 'y2', chartType: DwChartTypes.line },\r\n { dataField: fields.completedCount, legendDisplay: 'Completed', axis: 'y2', chartType: DwChartTypes.line },\r\n { dataField: fields.requestedRevenue, legendDisplay: 'Requested $', chartType: DwChartTypes.bar },\r\n { dataField: fields.bookedRevenue, legendDisplay: 'Booked $', chartType: DwChartTypes.bar },\r\n { dataField: fields.paidRevenue, legendDisplay: 'Paid $', chartType: DwChartTypes.bar },\r\n ];\r\n\r\n if (includeCounts) {\r\n config.series = [...config.series, ...allSeries.slice(0, 3)];\r\n }\r\n \r\n if (includeRevenue) {\r\n config.series = [...config.series, ...allSeries.slice(3, 6)];\r\n }\r\n\r\n return config;\r\n }\r\n\r\n private buildCheckrideStatGroup(): FinancialDashboardGroup {\r\n const group: FinancialDashboardGroup = {\r\n groupName: 'More Stats',\r\n filterOptions: {\r\n showYear: true,\r\n showMonth: true,\r\n showPilotExaminer: true\r\n },\r\n gridConfigKey: 'admin-financials',\r\n charts: []\r\n }\r\n\r\n const fields = this.financialsRepositoryService.getFinancialFields();\r\n\r\n const yearDisplay = '';\r\n // group.charts.push({ chartType: DwChartTypes.bar, title: `${yearDisplay} Checkride By Examiner`, categoryField: a => a.ScheduledPilotExaminerId, \r\n // series: [{ dataField: fields.checkrideCount, legendDisplay: 'Checkrides', axis: 'y2', chartType: DwChartTypes.line }, { dataField: fields.pilexosRevenue, legendDisplay: 'Booked $' }, { dataField: fields.pilexosPaidRevenue, legendDisplay: 'Paid $' }] });\r\n \r\n group.charts.push({ chartType: DwChartTypes.column, title: `${yearDisplay} Checkride Types`, categoryField: a => a.AggrCheckRideTypeDisplay, dataField: fields.checkrideCount, containerClass: 'tile-100', hideLegend: true });\r\n group.charts.push({ chartType: DwChartTypes.column, title: `${yearDisplay} Checkride By Airport`, categoryField: a => a.ScheduledAirportId, dataField: fields.checkrideCount, hideLegend: true });\r\n group.charts.push({ chartType: DwChartTypes.column, title: `${yearDisplay} Checkride By Flight School`, categoryField: a => a.RoCheckrideApplicantInfoFlightSchoolFinalName, dataField: fields.checkrideCount, hideLegend: true, orderByFields: [{ field: fields.checkrideCount, isDescending: true }] });\r\n\r\n //group.charts.push({ chartType: DwChartTypes.pie, title: `${yearDisplay} Checkride Types $`, categoryField: a => a.AggrCheckRideTypeDisplay, dataField: fields.bookedRevenue, containerClass: 'tile-50' });\r\n group.charts.push({ chartType: DwChartTypes.pie, title: `${yearDisplay} Checkride Outcomes`, categoryField: a => a.CheckRideResultCheckRideOutcomeId, dataField: fields.checkrideCount, containerClass: 'tile-50' });\r\n group.charts.push({ chartType: DwChartTypes.pie, title: `${yearDisplay} Program Types`, categoryField: a => a.AvaiationTrainingProgramId, dataField: fields.checkrideCount, containerClass: 'tile-50' });\r\n group.charts.push({ chartType: DwChartTypes.doughnut, title: `${yearDisplay} Exam Types`, categoryField: a => a.CheckRideTestTypeId, dataField: fields.checkrideCount, containerClass: 'tile-50_new' });\r\n group.charts.push({ chartType: DwChartTypes.doughnut, title: `${yearDisplay} Statuses`, categoryField: a => a.AggrCheckRideRequestStatus, dataField: fields.checkrideCount, containerClass: 'tile-50', additionalFilterOptions : { excludeStatuses : [CheckRideRequestSubStatusAllItems.Deleted]} });\r\n group.charts.push({ chartType: DwChartTypes.pie, title: `${yearDisplay} Cancellation Reasons`, categoryField: a => a.CheckRideCancellationTypeId, dataField: fields.checkrideCount, containerClass: 'tile-50_new', additionalFilterOptions : { includeStatuses : [CheckRideRequestSubStatusAllItems.Cancelled]} });\r\n\r\n group.charts.push({ chartType: DwChartTypes.pie, title: `${yearDisplay} Checkride Outcomes - Part 141`, categoryField: a => a.CheckRideResultCheckRideOutcomeId, dataField: fields.checkrideCount, containerClass: 'tile-50', additionalFilterOptions : { includeProgramTypes : [AviationTrainingProgramAllItems.Part141] } });\r\n group.charts.push({ chartType: DwChartTypes.pie, title: `${yearDisplay} Checkride Outcomes - Part 61`, categoryField: a => a.CheckRideResultCheckRideOutcomeId, dataField: fields.checkrideCount, containerClass: 'tile-50' , additionalFilterOptions : { includeProgramTypes : [AviationTrainingProgramAllItems.Part61] } });\r\n \r\n return group;\r\n }\r\n\r\n}\r\n","import { Inject, Injectable } from \"@angular/core\";\r\nimport { DwOrmDataServiceToken, DwOrmDataService, DwMetaDataServiceToken, DwMetaDataService, DwConfigServiceToken, DwConfigService, DwSecurityUserService, DevwareMetaData, DwUserTypeEntity } from \"@devwareapps/devware-cap\";\r\nimport { Observable } from \"rxjs\";\r\nimport { DwUserTypePilexosEntity } from \"../../../meta-data/extensions/dw-user-type-entity.model\";\r\n\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class PilexosHomePageRepository {\r\n\r\n constructor(\r\n @Inject(DwOrmDataServiceToken) private dwOrmDataService: DwOrmDataService,\r\n @Inject(DwMetaDataServiceToken) private dwMetaDataService: DwMetaDataService,\r\n private securityUserService: DwSecurityUserService,\r\n ) {\r\n \r\n }\r\n\r\n getUserTypes(): Observable {\r\n const query = DevwareMetaData.DwUserType.CreateQuery();\r\n\r\n return this.dwOrmDataService.executeQuery(query);\r\n }\r\n \r\n}","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-select-acs-codes-modal',\n templateUrl: './select-acs-codes-modal.component.html',\n styleUrls: ['./select-acs-codes-modal.component.scss']\n})\nexport class SelectAcsCodesModalComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n}\n","

select-acs-codes-modal works!

\n\n","import { Component, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { DwContainerOptions } from '@devwareapps/devware-cap';\r\nimport { DwTileConfig } from '../../models/dw-tile-config.model';\r\n\r\n@Component({\r\n selector: 'dw-mini-tile',\r\n templateUrl: './dw-mini-tile.component.html',\r\n styleUrls: ['./dw-mini-tile.component.scss']\r\n})\r\nexport class DwMiniTileComponent implements OnInit, OnChanges {\r\n\r\n // @Input() headerText: string;\r\n // @Input() tileText: string;\r\n // @Input() additionalText:string;\r\n\r\n // @Input() iconClass: string = 'fa fa-usd-circle dw-green fa-3x';\r\n // @Input() headerBackgroundColor: string;\r\n // @Input() headerForegroundColor: string;\r\n\r\n @Input() tileConfig: DwTileConfig\r\n @Input() containerOptions : DwContainerOptions;\r\n\r\n finalContainerOptions : DwContainerOptions;\r\n\r\n @Output() clickEvent: EventEmitter = new EventEmitter();\r\n \r\n constructor() { }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.setupContainer();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.setupContainer();\r\n }\r\n\r\n private setupContainer() {\r\n // Allow override of container options\r\n if (this.containerOptions) {\r\n this.finalContainerOptions = this.containerOptions;\r\n } else {\r\n this.finalContainerOptions = {\r\n useContainerStyling: true,\r\n containerAllowCollapse: false,\r\n }\r\n }\r\n\r\n this.finalContainerOptions.showTitle = true;\r\n if (this.tileConfig?.showContainerTitle === false) {\r\n this.finalContainerOptions.showTitle = false;\r\n }\r\n\r\n this.finalContainerOptions.containerHeaderBackgroundColor = this.tileConfig?.headerColor || 'green';\r\n }\r\n}\r\n","\r\n
\r\n {{tileConfig?.containerTitle}}\r\n
\r\n
\r\n
\r\n
{{ tileConfig?.tileText }}
\r\n
{{tileConfig?.additionalText}}
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { ExaminerRepositoryService } from '../../services/examiner-repository.service';\r\nimport { CheckRideRequestEntity, CheckRideRequestSubStatusAllItems, PilotExaminerEntity, PilotExaminerStatusAllItems } from '../../../../meta-data/app-meta-data.service';\r\nimport { DwContainerOptions, formatDateTimeToLocal, getMomentValue } from '@devwareapps/devware-cap';\r\nimport { DwTaskItem } from '../../../z-devware/tasks/models/dw-task-item.model';\r\n\r\nimport * as moment_ from 'moment';\r\nimport { AirportMetar } from '../../models/airport-metar.model';\r\nimport { ExaminerTaskService, ExaminerTaskType } from '../../services/examiner-task.service';\r\nconst moment = moment_;\r\n\r\n@Component({\r\n selector: 'app-examiner-dashboard',\r\n templateUrl: './examiner-dashboard.component.html',\r\n styleUrls: ['./examiner-dashboard.component.scss']\r\n})\r\nexport class ExaminerDashboardComponent implements OnInit {\r\n\r\n tasks: DwTaskItem[] = [];\r\n\r\n examinerName: string;\r\n\r\n calendarContainerOptions: DwContainerOptions = {\r\n containerHeaderIcon: 'fa fa-calendar',\r\n containerHeaderBackgroundColor: 'blue',\r\n useContainerStyling: true,\r\n showTitle: true\r\n }\r\n\r\n metarContainerOptions: DwContainerOptions = {\r\n containerHeaderIcon: 'fa fa-cloud',\r\n containerHeaderBackgroundColor: 'green',\r\n useContainerStyling: true,\r\n showTitle: true,\r\n\r\n }\r\n pilotExaminer: PilotExaminerEntity;\r\n metarData: AirportMetar[];\r\n showCalendar: boolean = false;\r\n\r\n constructor(private examinerRepositoryService: ExaminerRepositoryService,\r\n private examinerTaskService: ExaminerTaskService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.loadExaminerStats();\r\n }\r\n\r\n showAll = false;\r\n\r\n loadExaminerStats() {\r\n this.examinerRepositoryService.getCurrentPiloxExaminerStats()\r\n .subscribe((examiner) => {\r\n this.pilotExaminer = examiner\r\n if (examiner?.DwUser) {\r\n this.examinerName = `${examiner.DwUser?.FirstName} ${examiner.DwUser?.LastName}`;\r\n }\r\n\r\n this.buildExaminerTasks(examiner, this.showAll);\r\n\r\n this.loadExaminerAirportMetarData();\r\n });\r\n }\r\n\r\n private buildExaminerTasks(examiner: PilotExaminerEntity, showAll: boolean = false) {\r\n this.tasks = [];\r\n\r\n if (examiner?.PilotExaminerStatusId != PilotExaminerStatusAllItems.VerifiedLive || showAll) {\r\n this.tasks.push(this.createNotVerifiedTask(examiner));\r\n\r\n if (!showAll) {\r\n return;\r\n }\r\n }\r\n\r\n this.showCalendar = true;\r\n\r\n if (!examiner.DwUser?.UserPictureMediaId || showAll) {\r\n this.tasks.push({ iconClass: 'fa fa-portrait dw-blue', taskTitle: 'Add a profile picture', tooltip: 'A profile picture helps applicants recognize you and better shows off your profile', navigateUrl: '/settings/profile' });\r\n }\r\n\r\n if (!examiner.Description || showAll) {\r\n this.tasks.push({ iconClass: 'fa fa-align-justify dw-blue', taskTitle: 'Add a profile description', tooltip: 'A description tells more about you to potential applicants', navigateUrl: '/settings/profile' });\r\n }\r\n\r\n var scenarios = examiner.CheckRideScenario || [];\r\n var activeScenarios = scenarios.filter((scenario) => scenario.IsActive);\r\n\r\n var locations = examiner.PilotExaminerLocation || [];\r\n var actionLocations = locations.filter((location) => location.IsActive);\r\n\r\n if (activeScenarios.length == 0 || showAll) {\r\n if (scenarios.length == 0) {\r\n this.tasks.push({ iconClass: 'fa fa-check-double dw-orange', taskTitle: 'Add an exam type', tooltip: 'An exam type is required to determine what checkride types you can perform', navigateUrl: '/settings/exam-types' });\r\n } else {\r\n this.tasks.push({ iconClass: 'fa fa-check-double dw-orange', taskTitle: 'No active exam types', tooltip: 'An active exam type is required to determine what checkride types you can perform', navigateUrl: '/settings/exam-types' });\r\n }\r\n }\r\n\r\n if (actionLocations.length == 0 || showAll) {\r\n if (locations.length == 0) {\r\n this.tasks.push({ iconClass: 'fa fa-map dw-orange', taskTitle: 'Add an exam location', tooltip: 'An exam location is required to determine what airports you want to perform checkrides', navigateUrl: 'settings/exam-locations' });\r\n } else {\r\n this.tasks.push({ iconClass: 'fa fa-map dw-orange', taskTitle: 'No active exam locations', tooltip: 'An activeexam location is required to determine what airports you want to perform checkrides', navigateUrl: 'settings/exam-locations' });\r\n }\r\n }\r\n\r\n if (!examiner.CalendarReference?.CalendarIsSetup || showAll) {\r\n this.tasks.push({ iconClass: 'fa fa-calendar dw-orange', taskTitle: 'Setup Calendar Access', tooltip: 'Setup access to your calendar to determine availability and add checkride events', navigateUrl: 'calendar' });\r\n }\r\n\r\n this.addCheckrideTasks(examiner, showAll);\r\n\r\n if (this.tasks.length == 0) {\r\n this.tasks.push({ iconClass: 'fa fa-check dw-green', taskTitle: `No current tasks`, tooltip: 'You currently have no pending tasks or upcoming checkrides', navigateUrl: '' });\r\n }\r\n }\r\n\r\n private addCheckrideTasks(examiner: PilotExaminerEntity, showAll: boolean) {\r\n // Get all scheduled checkrides - excludes cancelled, etc\r\n const scheuledCheckrides = examiner.ScheduledCheckRideRequest.filter((checkride) => this.examinerTaskService.isScheduledCheckride(checkride));\r\n\r\n const tasks = this.examinerTaskService.getCheckrideTasks(scheuledCheckrides, showAll);\r\n\r\n this.tasks = [...this.tasks, ...tasks];\r\n }\r\n\r\n addCheckrideTasksOld(examiner: PilotExaminerEntity, showAll: boolean) {\r\n\r\n // Get all scheduled checkrides - excludes cancelled, etc\r\n const scheuledCheckrides = examiner.ScheduledCheckRideRequest.filter((checkride) => this.examinerTaskService.isScheduledCheckride(checkride));\r\n\r\n const todaysCheckrides = scheuledCheckrides.filter((checkride) => this.isForToday(checkride));\r\n\r\n if (todaysCheckrides.length > 0) {\r\n const checkrideText = this.pluralizeWord('Checkride', 'Checkrides', todaysCheckrides.length);\r\n const taskType = ExaminerTaskType.todaysCheckrides;\r\n\r\n this.tasks.push({ taskKey: taskType, iconClass: 'fa fa-check dw-blue', taskTitle: `${todaysCheckrides.length} ${checkrideText} today`, tooltip: `${todaysCheckrides.length} ${checkrideText} are booked for today`, navigateUrl: '/calendar' });\r\n }\r\n\r\n const upcomingCheckrides = scheuledCheckrides.filter((checkride) => this.isForThisWeek(checkride));\r\n\r\n if (upcomingCheckrides.length > 0) {\r\n const checkrideText = this.pluralizeWord('Checkride', 'Checkrides', upcomingCheckrides.length);\r\n const taskType = ExaminerTaskType.upcomingCheckrides;\r\n\r\n this.tasks.push({ taskKey: taskType, iconClass: 'fa fa-check dw-green', taskTitle: `${upcomingCheckrides.length} ${checkrideText} this week`, tooltip: `${upcomingCheckrides.length} ${checkrideText} are booked later this week`, navigateUrl: '/calendar' });\r\n }\r\n\r\n const pendingCheckrides = examiner.ScheduledCheckRideRequest.filter((checkride) => checkride.CheckRideRequestSubStatusId == CheckRideRequestSubStatusAllItems.PendingApproval);\r\n\r\n if (pendingCheckrides.length > 0) {\r\n const checkrideText = this.pluralizeWord('Checkride', 'Checkrides', pendingCheckrides.length);\r\n const taskType = ExaminerTaskType.pendingCheckrides;\r\n\r\n this.tasks.push({ taskKey: taskType, iconClass: 'fa fa-check dw-orange', taskTitle: `${pendingCheckrides.length} ${checkrideText} Pending Approval`, tooltip: `${pendingCheckrides.length} ${checkrideText} are waiting for your approval`, navigateUrl: '/bookings' });\r\n }\r\n\r\n const pendingRescheduleCheckrides = examiner.ScheduledCheckRideRequest.filter((checkride) => checkride.CheckRideRequestSubStatusId == CheckRideRequestSubStatusAllItems.PendingReschedule);\r\n\r\n if (pendingRescheduleCheckrides.length > 0) {\r\n const checkrideText = this.pluralizeWord('Checkride', 'Checkrides', pendingRescheduleCheckrides.length);\r\n const taskType = ExaminerTaskType.pendingRescheduleCheckrides;\r\n\r\n this.tasks.push({ taskKey: taskType, iconClass: 'fa fa-check dw-orange', taskTitle: `${pendingCheckrides.length} ${checkrideText} Pending Reschedule`, tooltip: `${pendingCheckrides.length} ${checkrideText} are waiting to be rescheduled`, navigateUrl: '/bookings' });\r\n }\r\n\r\n const pendingOutcomeCheckrides = examiner.ScheduledCheckRideRequest.filter((checkride) => checkride.CheckRideRequestSubStatusId == CheckRideRequestSubStatusAllItems.PendingOutcome);\r\n\r\n if (pendingOutcomeCheckrides.length > 0) {\r\n const checkrideText = this.pluralizeWord('Checkride', 'Checkrides', pendingOutcomeCheckrides.length);\r\n const taskType = ExaminerTaskType.pendingOutcomeCheckrides;\r\n\r\n this.tasks.push({ taskKey: taskType, iconClass: 'fa fa-check dw-orange', taskTitle: `${pendingOutcomeCheckrides.length} ${checkrideText} Pending Outcome`, tooltip: `${pendingOutcomeCheckrides.length} ${checkrideText} need to have their outcome updated`, navigateUrl: '/bookings?tile=booked' });\r\n }\r\n }\r\n\r\n isForToday(checkride: CheckRideRequestEntity): boolean {\r\n\r\n\r\n //const scheduleDateTime = getMomentValue(checkride.ScheduledDateTime, true, true);\r\n const scheduleDateTimeLocal = formatDateTimeToLocal(checkride.ScheduledDateTime, true, true);\r\n\r\n const scheduleDateTime = getMomentValue(scheduleDateTimeLocal, true, true);\r\n\r\n formatDateTimeToLocal\r\n\r\n const now = moment();\r\n\r\n if (scheduleDateTime.isSame(now, 'day')) {\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n isForThisWeek(checkride: CheckRideRequestEntity): boolean {\r\n const scheduleDateTimeLocal = formatDateTimeToLocal(checkride.ScheduledDateTime, true, true);\r\n const scheduleDateTime = getMomentValue(scheduleDateTimeLocal, true, true);\r\n const now = moment().add(1, 'days');\r\n const sat = moment().weekday(6); // 6 is saturday\r\n\r\n if (scheduleDateTime.isSameOrAfter(now, 'day') && scheduleDateTime.isSameOrBefore(sat, 'day')) {\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n private pluralizeWord(word: string, pluralword: string, count: number): string {\r\n if (count == 1) {\r\n return word;\r\n }\r\n\r\n return pluralword;\r\n }\r\n\r\n private createNotVerifiedTask(examiner: PilotExaminerEntity): DwTaskItem {\r\n const task: DwTaskItem = {\r\n iconClass: 'fa fa-user-circle',\r\n taskTitle: 'Pilot Examiner Verification ',\r\n };\r\n\r\n switch (examiner?.PilotExaminerStatusId) {\r\n case PilotExaminerStatusAllItems.Submitted:\r\n task.taskTitle += ' Submitted';\r\n task.iconClass += ' dw-orange';\r\n task.tooltip = 'Your verification request has been submitted. We will contact you shortly.';\r\n break;\r\n case PilotExaminerStatusAllItems.Rejected:\r\n task.taskTitle += ' Rejected';\r\n task.iconClass += ' dw-red';\r\n task.tooltip = 'Your verification request has been rejected. Please contact Pilexos support to resolve any issues';\r\n break;\r\n case PilotExaminerStatusAllItems.Inactive:\r\n task.taskTitle = 'Pilot Examiner Profile is Inactive';\r\n task.iconClass += ' dw-red';\r\n task.tooltip = 'Your profile is inactive and users are not able to request booking.';\r\n task.navigateUrl = '/settings/profile';\r\n break;\r\n case PilotExaminerStatusAllItems.VerifiedLive:\r\n this.showCalendar = true;\r\n task.taskTitle += ' Complete';\r\n task.iconClass += ' dw-green';\r\n task.tooltip = 'Your verification request has been completed. Please contact Pilexos support to resolve any issues';\r\n break;\r\n default:\r\n task.taskTitle += ' On Hold';\r\n task.iconClass += ' dw-red';\r\n task.tooltip = 'Please contact Pilexos support to resolve any issues';\r\n break;\r\n }\r\n\r\n return task;\r\n\r\n\r\n }\r\n\r\n\r\n public loadExaminerAirportMetarData() {\r\n if (!this.pilotExaminer || this.pilotExaminer.PilotExaminerStatusId != PilotExaminerStatusAllItems.VerifiedLive) {\r\n return;\r\n }\r\n\r\n this.examinerRepositoryService.getCurrentExaminerMetarData(this.pilotExaminer.PilotExaminerId)\r\n .subscribe((metarData) => {\r\n this.metarData = metarData;\r\n });\r\n }\r\n\r\n}\r\n","
\r\n Welcome {{examinerName}} to your Pilot Examiner Dashboard!\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n 0\">\r\n Your METAR Data\r\n
\r\n\r\n
\r\n {{metar.airport?.AirportName}} ({{metar.airport?.AirportCode}})
\r\n {{metar.metar}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n Booking Calendar\r\n
\r\n \r\n
\r\n
\r\n
\r\n
","import { Component, EventEmitter, Inject, Input, OnInit, Optional, Output, SimpleChanges } from '@angular/core';\r\nimport { DwButtonCommand, DwButtonConfig, DwComponent, DwComponentType, DwExpressionService, DwGridEvent, DwGridEvents, DwGridHeightMode, DwMessage, DwMessageSeverity, DwMetaDataFormApi, DwMetaDataFormStateService, DwMetaDataGridPreferences, DwMetaDataGridViewPreference, DwMetaDataService, DwMetaDataServiceToken, DwModalConfig, DwModalHandler, DwModalResult, DwSectionBaseComponent, DwUIMetaDataConfig, DwUIMetaDataConfigToken, DwUiConfigRegistryService } from '@devwareapps/devware-cap';\r\nimport { Observable, of } from 'rxjs';\r\nimport { mergeMap } from 'rxjs/operators';\r\nimport { map } from 'underscore';\r\nimport { AppMetaDataLookups, AppMetaDataItemNames, PlanOfActionEntity, PilotExaminerEntity, AcsTestEntity } from '../../../../meta-data/app-meta-data.service';\r\nimport { PlanOfActionRepositoryService } from '../../../plan-of-action/services/plan-of-action-repository.service';\r\nimport { GenerateSectionsOptions } from '../../../plan-of-action/models/generate-sections-options.model';\r\nimport { PlanOfActionGeneratorService } from '../../../plan-of-action/services/plan-of-action-generator.service';\r\nimport { AcsCodeStorage, AcsCodesStorageItem } from '../../../plan-of-action/models/acs-code-items.model';\r\n\r\n\r\n@DwComponent({\r\n key: 'generate-sections',\r\n name: 'Generate Sections',\r\n componentType: DwComponentType.formSection,\r\n parentItemName: AppMetaDataItemNames.PlanOfAction,\r\n isGlobal: false\r\n})\r\n@Component({\r\n selector: 'app-select-sections',\r\n templateUrl: './select-sections.component.html',\r\n styleUrls: ['./select-sections.component.scss']\r\n})\r\nexport class SelectSectionsComponent extends DwSectionBaseComponent {\r\n formApi: DwMetaDataFormApi;\r\n @Input() planOfAction: PlanOfActionEntity;\r\n\r\n message: DwMessage;\r\n\r\n @Input() options: GenerateSectionsOptions;\r\n @Output() optionsChange = new EventEmitter();\r\n\r\n acsTest: AcsTestEntity;\r\n\r\n allAcsCodes: AcsCodeStorage;\r\n\r\n aosItem = AppMetaDataItemNames.AcsAreaOfOperation;\r\n taskItem = AppMetaDataItemNames.AcsAreaOfOperationTask;\r\n filters: any = {};\r\n\r\n aosGridPreferences: Partial = {};\r\n taskGridPreferences: Partial = {};\r\n setupComplete: boolean = false;\r\n\r\n constructor(\r\n dwExpressionService: DwExpressionService,\r\n dwUiConfigRegistryService: DwUiConfigRegistryService,\r\n @Inject(DwUIMetaDataConfigToken) uiMetaDataConfig: DwUIMetaDataConfig,\r\n @Inject(DwMetaDataServiceToken) dwMetaDataService: DwMetaDataService,\r\n @Optional() private dwMetaDataFormStateService: DwMetaDataFormStateService,\r\n private planOfActionRepositoryService: PlanOfActionRepositoryService,\r\n private planOfActionGeneratorSection: PlanOfActionGeneratorService\r\n ) {\r\n super(dwExpressionService, dwUiConfigRegistryService, uiMetaDataConfig, dwMetaDataService);\r\n\r\n this.formApi = this.dwMetaDataFormStateService?.state?.formApi;\r\n }\r\n\r\n ngOnInit(): void {\r\n super.ngOnInit();\r\n\r\n this.setupDataWatch();\r\n\r\n if (this.planOfAction) {\r\n this.setupData();\r\n }\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n super.ngOnChanges(changes);\r\n\r\n if (changes.planOfAction?.firstChange === false) {\r\n this.setupData();\r\n }\r\n }\r\n\r\n onAosGridEvent(event: DwGridEvent) {\r\n if (event.eventType as string != 'rowSelectionChange') {\r\n return;\r\n }\r\n\r\n this.options.AreaOfOperationIds = event.eventData?.map(row => row.AcsAreaOfOperationId) || [];\r\n this.onOptionChange();\r\n }\r\n\r\n onTaskGridEvent(event: DwGridEvent) {\r\n if (event.eventType as string != 'rowSelectionChange') {\r\n return;\r\n }\r\n\r\n this.options.TaskIds = event.eventData?.map(row => row.AcsAreaOfOperationTaskId) || [];\r\n this.onOptionChange();\r\n }\r\n\r\n onOptionChange() {\r\n this.optionsChange.emit(this.options);\r\n }\r\n\r\n setupDataWatch() {\r\n if (!this.formApi) {\r\n return;\r\n }\r\n this.runAfterFormDataLoaded(() => {\r\n this.setupData();\r\n });\r\n }\r\n\r\n private setupData() {\r\n if (this.formApi) {\r\n this.planOfAction = this.formApi.getFormData();\r\n }\r\n\r\n if (!this.planOfAction) {\r\n return;\r\n }\r\n\r\n this.filters.AcsTestId = this.planOfAction.AcsTestId;\r\n\r\n this.aosGridPreferences = this.buildGridPreferences(false);\r\n this.taskGridPreferences = this.buildGridPreferences(true);\r\n\r\n if (!this.options) {\r\n this.options = {\r\n AreaOfOperationIds: [],\r\n TaskIds: [],\r\n includeAllSections: true,\r\n buildTaskSections: false,\r\n groundPortion: true,\r\n clearExistingSections: true,\r\n includeAllAcsCodes: true,\r\n useQuestionBank: false\r\n }\r\n\r\n this.optionsChange.emit(this.options);\r\n }\r\n\r\n this.setupComplete = true;\r\n\r\n this.planOfActionRepositoryService.getAcsTest(this.planOfAction.AcsTestId)\r\n .subscribe(acsTest => {\r\n this.acsTest = acsTest;\r\n });\r\n }\r\n\r\n buttonClick(buttonConfig: DwButtonConfig): Observable> {\r\n let result = new DwModalResult();\r\n\r\n result.cancelled = false;\r\n\r\n switch (buttonConfig.command) {\r\n case DwButtonCommand.ok:\r\n case DwButtonCommand.saveAndClose:\r\n case DwButtonCommand.save:\r\n this.generateSections();\r\n\r\n result.data = this.planOfAction;\r\n result.closeModal = true;\r\n\r\n case DwButtonCommand.cancel:\r\n result.closeModal = true;\r\n result.cancelled = true;\r\n }\r\n\r\n return of(result);\r\n }\r\n\r\n generateSections() {\r\n this.planOfActionGeneratorSection.generateSections(this.planOfAction, this.options, this.acsTest, this.allAcsCodes, 1);\r\n\r\n }\r\n\r\n setMessage(message: string, severity: DwMessageSeverity = DwMessageSeverity.error) {\r\n this.message = {\r\n messageBody: message,\r\n severity: severity\r\n };\r\n }\r\n\r\n clearMessage() {\r\n this.message = null;\r\n }\r\n\r\n private buildGridPreferences(taskGrid: boolean): Partial {\r\n const gridPrefs: Partial = {\r\n gridStyle: {\r\n gridStyleName: 'Simple',\r\n gridHeightMode: DwGridHeightMode.fixedHeight,\r\n gridHeight: '200'\r\n },\r\n\r\n allowRowSelect: true,\r\n useCheckboxSelection: true,\r\n hideAdd: true,\r\n hideEditButton: false,\r\n hideDeleteButton: true,\r\n hideRefresh: true,\r\n hideExport: true,\r\n views: [],\r\n };\r\n\r\n if (taskGrid) {\r\n const viewPref: Partial = {\r\n metaDataQueryMeaning: 'Acs_Area_of_operation_Task-Grid'\r\n }\r\n\r\n gridPrefs.views.push(viewPref as any);\r\n }\r\n\r\n return gridPrefs;\r\n }\r\n}","\r\n
\r\n
\r\n \r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
","import { Component, EventEmitter, Inject, Input, OnInit, SimpleChanges } from '@angular/core';\r\nimport { FormGroup, FormControl } from '@angular/forms';\r\nimport { DwComponent, DwComponentType, DwContainerOptions, DwContext, DwExpressionService, DwMessage, DwMessageSeverity, DwMetaDataFormConfig, DwMetaDataFormStateService, DwMetaDataService, DwMetaDataServiceToken, DwSectionBaseComponent, DwSectionBasePreference, DwUIMetaDataConfig, DwUIMetaDataConfigToken, DwUiConfigRegistryService, deepCopy } from '@devwareapps/devware-cap';\r\nimport { Observable, of, Subscription } from 'rxjs';\r\nimport { ExaminerRepositoryService } from '../../../examiner/services/examiner-repository.service';\r\nimport { AppMetaData, AppMetaDataItemNames, CheckrideActiveApplicantCheckridesQueryEntity, CheckRideRequestEntity, CheckRideRequestPaymentPartyEntity, CheckRideTestTypeAllItems, PilotExaminerLocationEntity, PilotExaminerSearchQueryEntity } from '../../../../meta-data/app-meta-data.service';\r\nimport { ExaminerLocationSearchRequest } from '../../../examiner/models/examiner-location-search-request.model';\r\nimport { ExaminerLocationSelection } from '../../../examiner/models/exminer-location-selection.model';\r\nimport { map, tap } from 'rxjs/operators';\r\nimport { ApplicantCheckrideVariables } from '../../../applicant/models/applicant-checkride-variables.model';\r\nimport { PilotExaminerSearchQueryEntityExt } from '../../../../meta-data/extensions/pilot-examiner-search-query-ext.model';\r\nimport { ApplicantRepositoryService } from '../../../applicant/services/applicant-repository.service';\r\n\r\n\r\n\r\n@DwComponent({\r\n key: 'exminer-booking-search-results',\r\n name: ' Examiner Booking Search Results',\r\n componentType: DwComponentType.formSection,\r\n parentItemName: AppMetaDataItemNames.CheckRideRequest,\r\n isGlobal: false\r\n})\r\n@Component({\r\n selector: 'app-examiner-booking-search-results',\r\n templateUrl: './examiner-booking-search-results.component.html',\r\n styleUrls: ['./examiner-booking-search-results.component.scss']\r\n})\r\nexport class ExaminerBookingSearchResultsComponent extends DwSectionBaseComponent {\r\n\r\n loading: boolean = false;\r\n loadingMessage: string;\r\n\r\n message: DwMessage = null;\r\n\r\n showSearch: boolean = true;\r\n searchResults: PilotExaminerSearchQueryEntityExt[];\r\n\r\n examinerLocationSelection: ExaminerLocationSelection;\r\n\r\n initComplete = false;\r\n checkRideRequest: CheckRideRequestEntity;\r\n lastCheckRideRequest: CheckRideRequestEntity;\r\n backupCheckride: CheckRideRequestEntity;\r\n allowCancel: boolean;\r\n variableInitComplete: boolean = false;\r\n lastVariables: { searchOtherAirports: boolean; withinMiles: number; preferredPilotExaminerId?: number; showProposedSearch?: boolean; showSearch?: boolean; };\r\n variableWatchSubscription: Subscription;\r\n resetMessage: string;\r\n checkRideRequestPaymentPartyList: CheckRideRequestPaymentPartyEntity[];\r\n activeCheckrides: CheckrideActiveApplicantCheckridesQueryEntity[];\r\n formApi: any;\r\n\r\n //testType: CheckRideTestTypeAllItems;\r\n\r\n constructor(\r\n dwExpressionService: DwExpressionService,\r\n dwUiConfigRegistryService: DwUiConfigRegistryService,\r\n @Inject(DwUIMetaDataConfigToken) uiMetaDataConfig: DwUIMetaDataConfig,\r\n @Inject(DwMetaDataServiceToken) dwMetaDataService: DwMetaDataService,\r\n private dwMetaDataFormStateService: DwMetaDataFormStateService,\r\n private examinerRepositoryService: ExaminerRepositoryService,\r\n private applicantRepositoryService: ApplicantRepositoryService\r\n ) {\r\n super(dwExpressionService, dwUiConfigRegistryService, uiMetaDataConfig, dwMetaDataService);\r\n\r\n this.formApi = dwMetaDataFormStateService.state.formApi;\r\n }\r\n\r\n ngOnDestroy(): void {\r\n super.ngOnDestroy();\r\n\r\n if (this.variableWatchSubscription) {\r\n this.variableWatchSubscription.unsubscribe();\r\n this.variableWatchSubscription = null;\r\n }\r\n\r\n }\r\n\r\n setupComponentComplete() {\r\n this.setupDataWatch();\r\n\r\n this.visibleChange.subscribe(visible => {\r\n if (visible) {\r\n this.dataUpdated();\r\n }\r\n\r\n });\r\n\r\n this.examinerRepositoryService.getCheckRideRequestPaymentParty().subscribe(results => {\r\n this.checkRideRequestPaymentPartyList = results;\r\n });\r\n }\r\n\r\n setupDataWatch() {\r\n this.subscriptions.push(\r\n this.dwMetaDataFormStateService.state.formApi.getFormDataChanges(100)\r\n .subscribe(dataChange => {\r\n if (this.dwMetaDataFormStateService.state.formApi.isDataLoadComplete) {\r\n this.dataUpdated();\r\n }\r\n }));\r\n\r\n this.setupVariableChangeWatch();\r\n\r\n if (this.dwMetaDataFormStateService.state.formApi.isDataLoadComplete) {\r\n this.dataUpdated();\r\n }\r\n }\r\n\r\n applicantCheckrideVariables: ApplicantCheckrideVariables;\r\n\r\n private dataUpdated() {\r\n this.checkRideRequest = this.dwMetaDataFormStateService.state.formApi.getFormData();\r\n\r\n if (!this.variableInitComplete) {\r\n\r\n this.initVariables();\r\n this.variableInitComplete = true;\r\n }\r\n\r\n if (!this.visible) {\r\n return;\r\n }\r\n\r\n if (!this.hasMinimumRequiredFields(this.checkRideRequest)) {\r\n return;\r\n }\r\n\r\n const variables = this.getVariables();\r\n this.applicantCheckrideVariables = this.dwMetaDataFormStateService.state.formApi.getVariableContextValue();\r\n\r\n if (this.checkforSearchChanges(this.checkRideRequest, variables)) {\r\n return;\r\n };\r\n\r\n let forceHideCancel = false;\r\n\r\n if (variables.checkRideNoLongerValid) {\r\n forceHideCancel = false;\r\n }\r\n\r\n if (this.checkRideRequest.ScheduledPilotExaminerId && !forceHideCancel) {\r\n this.allowCancel = true;\r\n }\r\n \r\n if (variables.showSearch) {\r\n // console.log(\"Kicking off search for checkride\", variables);\r\n\r\n\r\n if (!this.searchResults) {\r\n this.search();\r\n }\r\n return;\r\n }\r\n\r\n if (variables.showProposedSearch) {\r\n // console.log(\"Kicking off proposed search for checkride\", variables);\r\n this.search(true);\r\n\r\n if (!forceHideCancel) {\r\n this.allowCancel = true;\r\n }\r\n }\r\n }\r\n\r\n\r\n checkforSearchChanges(checkRideRequest: CheckRideRequestEntity, variables: { searchOtherAirports: boolean; withinMiles: number; preferredPilotExaminerId?: number; showProposedSearch?: boolean; showSearch?: boolean; }): boolean {\r\n\r\n let resetSearch = false;\r\n\r\n if (!checkRideRequest || !variables || !this.lastCheckRideRequest || !this.lastVariables) {\r\n\r\n this.lastCheckRideRequest = deepCopy(checkRideRequest);\r\n this.lastVariables = variables;\r\n\r\n return false;\r\n }\r\n\r\n // Ignore if we haven't searched yet\r\n if (!this.searchResults) {\r\n return false;\r\n }\r\n\r\n // Check if Grade or Class changes\r\n if (checkRideRequest.CheckRideGroupId != this.lastCheckRideRequest?.CheckRideGroupId ||\r\n checkRideRequest.CheckRideTypeId != this.lastCheckRideRequest?.CheckRideTypeId ||\r\n checkRideRequest.CheckRideTestTypeId != this.lastCheckRideRequest?.CheckRideTestTypeId ||\r\n checkRideRequest.PreferredDateTime != this.lastCheckRideRequest?.PreferredDateTime ||\r\n checkRideRequest.PreferredAirportId != this.lastCheckRideRequest?.PreferredAirportId\r\n ) {\r\n resetSearch = true;\r\n } else if (\r\n variables?.searchOtherAirports != this.lastVariables.searchOtherAirports ||\r\n variables?.preferredPilotExaminerId != this.lastVariables.preferredPilotExaminerId ||\r\n variables?.withinMiles != this.lastVariables.withinMiles\r\n ) {\r\n resetSearch = true;\r\n }\r\n\r\n if (resetSearch) {\r\n this.searchResults = null;\r\n this.message = {\r\n messageBody: 'Search critieria has changed. Please search again',\r\n severity: DwMessageSeverity.warning\r\n };\r\n }\r\n\r\n this.lastCheckRideRequest = deepCopy(checkRideRequest);;\r\n this.lastVariables = variables;\r\n\r\n return resetSearch;\r\n }\r\n\r\n hasMinimumRequiredFields(checkRideRequest: CheckRideRequestEntity): boolean {\r\n if (checkRideRequest?.CheckRideGroupId && checkRideRequest?.CheckRideTypeId && checkRideRequest.CheckRideTestTypeId && checkRideRequest.PreferredAirportId) {\r\n return true;\r\n }\r\n\r\n if (this.message) {\r\n this.message = {\r\n messageBody: 'Please enter the required fields to search for a checkride',\r\n severity: DwMessageSeverity.warning\r\n };\r\n }\r\n\r\n return false;\r\n }\r\n\r\n initVariables() {\r\n let showSearch = false;\r\n if (!this.checkRideRequest.ScheduledPilotExaminerId) {\r\n showSearch = true;\r\n }\r\n\r\n this.setVariable(this.SHOW_SEARCH, showSearch);\r\n\r\n this.setVariable(this.SHOW_PROPOSED_SEARCH, false);\r\n\r\n\r\n }\r\n\r\n cancelSearch() {\r\n const variables = this.getVariables();\r\n\r\n if (variables.showSearch) {\r\n this.setVariable(this.SHOW_SEARCH, false);\r\n }\r\n\r\n if (variables.showProposedSearch) {\r\n this.setVariable(this.SHOW_PROPOSED_SEARCH, false);\r\n }\r\n }\r\n\r\n examinerLocationSelected() {\r\n // populate the form\r\n var entity = AppMetaData.CheckRideRequest.CreateEntity();\r\n\r\n var result = this.examinerLocationSelection.searchResult;\r\n\r\n\r\n if (this.examinerLocationSelection.confirmed) {\r\n\r\n const variables = this.getVariables();\r\n\r\n let timeMinutes = this.examinerRepositoryService.getCheckrideTimeMinutes(result, this.checkRideRequest.CheckRideTestTypeId);\r\n\r\n\r\n if (variables.showProposedSearch) {\r\n entity.ProposedDateTime = this.examinerLocationSelection.scheduleDateTime;\r\n entity.ProposedTimeMinutes = timeMinutes;\r\n entity.ProposedAirportId = result.LocationDistancesAirportId;\r\n\r\n // Set these too so we can use the standard acceptance workflow\r\n entity.ScheduledDateTime = this.examinerLocationSelection.scheduleDateTime;\r\n entity.ScheduledTimeMinutes = timeMinutes;\r\n entity.ScheduledAirportId = result.LocationDistancesAirportId;\r\n entity.ScheduledPreTimeMinutes = result.ScenarioPreTimeMinutes;\r\n entity.ScheduledPostTimeMinutes = result.ScenarioPostTimeMinutes;\r\n entity.ScheduledCheckRideScenarioId = result.ScenarioCheckRideScenarioId;\r\n entity.ScheduledPilotExaminerLocationId = result.LocationDistancesPilotExaminerLocationId;\r\n entity.ExaminerToApplicantNotes = result.CheckRideScenarioRequiredDocumentNotes;\r\n\r\n // Set the proposal pending so we can finish up\r\n this.setVariable(this.PROPOSAL_PENDING, true);\r\n }\r\n\r\n if (variables.showSearch) {\r\n entity.ScheduledPilotExaminerId = result.PilotExaminerId;\r\n\r\n // Need to convert to\r\n entity.ScheduledDateTime = this.examinerLocationSelection.scheduleDateTime;\r\n entity.ScheduledTimeMinutes = timeMinutes;\r\n entity.ScheduledAirportId = result.LocationDistancesAirportId;\r\n entity.ScheduledPreTimeMinutes = result.ScenarioPreTimeMinutes;\r\n entity.ScheduledPostTimeMinutes = result.ScenarioPostTimeMinutes;\r\n entity.ScheduledCheckRideScenarioId = result.ScenarioCheckRideScenarioId;\r\n entity.ScheduledPilotExaminerLocationId = result.LocationDistancesPilotExaminerLocationId;\r\n }\r\n\r\n entity.ScheduledCheckRideCost = this.examinerRepositoryService.getFullBookingCost(result, this.checkRideRequest.CheckRideTestTypeId, this.applicantCheckrideVariables); //result.CheckRideScenarioCheckRideCost || 0 + result.PilotExaminerLocationAdditionalLocationCost || 0;;\r\n entity.AdditionalTravelCost = result.PilotExaminerLocationTravelCost;\r\n entity.ExaminerBookingCost = result.CheckRideScenarioBookingCost;\r\n entity.PilexosBookingCost = this.examinerRepositoryService.getPilexosBookingCost(this.checkRideRequest.CheckRideTestTypeId, this.checkRideRequest.PilexosBookingCostPaymentPartyId, this.checkRideRequestPaymentPartyList);\r\n entity.ExaminerToApplicantNotes = result.CheckRideScenarioRequiredDocumentNotes;\r\n\r\n this.dwMetaDataFormStateService.state.formApi.patchFormData(entity);\r\n\r\n this.searchResults = [result];\r\n\r\n this.setVariable(this.SHOW_PROPOSED_SEARCH, false);\r\n this.setVariable(this.SHOW_SEARCH, false);\r\n this.setVariable(this.Checkride_Date_No_Longer_Valid, false);\r\n }\r\n }\r\n\r\n // clearFormPilotExaminer() {\r\n // var entity = AppMetaData.CheckRideRequest.CreateEntity();\r\n\r\n // entity.ScheduledPilotExaminerId = null;\r\n\r\n // this.dwMetaDataFormStateService.state.formApi.patchFormData(entity);\r\n // }\r\n\r\n search(noMesage: boolean = false) {\r\n const checkRideRequest = this.dwMetaDataFormStateService.state.formApi.getFormData();\r\n\r\n const variables = this.getVariables();\r\n\r\n const searchRequest: ExaminerLocationSearchRequest = {\r\n aviationAuthorityId: checkRideRequest.AviationAuthorityId,\r\n checkRideGroupId: checkRideRequest.CheckRideGroupId,\r\n checkRideTypeId: checkRideRequest.CheckRideTypeId,\r\n checkRideTestTypeId: checkRideRequest.CheckRideTestTypeId,\r\n preferredAirportId: parseInt(checkRideRequest.PreferredAirportId?.toString()),\r\n preferredDateTime: this.convertDate(checkRideRequest.PreferredDateTime),\r\n preferredExaminerId: variables.preferredPilotExaminerId,\r\n searchOtherAirports: variables.searchOtherAirports,\r\n searchWithinMiles: variables.withinMiles,\r\n }\r\n\r\n if (!searchRequest.checkRideGroupId || !searchRequest.checkRideTypeId || !searchRequest.preferredAirportId) {\r\n this.loading = false;\r\n\r\n if (!noMesage) {\r\n this.message = {\r\n messageBody: 'Please fill out the preferred aiport to search',\r\n severity: DwMessageSeverity.error\r\n };\r\n }\r\n\r\n return;\r\n }\r\n\r\n this.validateActiveCheckrides(searchRequest)\r\n .subscribe((valid) => {\r\n\r\n\r\n if (!valid) {\r\n this.loading = false;\r\n\r\n if (!noMesage) {\r\n this.message = {\r\n messageBody: 'You already have an active checkride scheduled for this Category/Class. Please cancel the active checkride to add a new one',\r\n severity: DwMessageSeverity.error\r\n };\r\n }\r\n\r\n return;\r\n }\r\n\r\n\r\n this.loadResults(searchRequest, true)\r\n .subscribe(searchResults => {\r\n if (this.searchResults.length == 0) {\r\n this.message = {\r\n messageBody: 'No check rides available for your current criteria. Adjust your criteria and try again',\r\n severity: DwMessageSeverity.warning\r\n };\r\n\r\n this.examinerLocationSelection = null;\r\n\r\n this.loading = false;\r\n\r\n return;\r\n }\r\n\r\n const result = this.searchResults[0];\r\n\r\n // Default first result\r\n this.examinerLocationSelection = {\r\n searchResult: result,\r\n scheduleDateTime: null,\r\n confirmed: false,\r\n };\r\n\r\n setTimeout(() => {\r\n this.loading = false;\r\n }, 250)\r\n });\r\n\r\n });\r\n }\r\n\r\n validateActiveCheckrides(searchRequest: ExaminerLocationSearchRequest): Observable {\r\n\r\n const variables = this.getVariables();\r\n\r\n if (variables.ignoreActiveCheckrideCheck) {\r\n return of(true);\r\n }\r\n\r\n let ob = this.applicantRepositoryService.getActiveCheckrides(this.checkRideRequest.CheckRideRequestId);\r\n\r\n if (this.activeCheckrides) {\r\n ob = of(this.activeCheckrides);\r\n }\r\n\r\n return ob.pipe(map(activeCheckrides => {\r\n this.activeCheckrides = activeCheckrides;\r\n\r\n\r\n const matchingActiveCheckrides = activeCheckrides.find(ac => ac.CheckRideGroupId == searchRequest.checkRideGroupId && ac.CheckRideTypeId == searchRequest.checkRideTypeId);\r\n return !matchingActiveCheckrides;\r\n }));\r\n }\r\n\r\n convertDate(preferredDateTime: string): string {\r\n // if (preferredDateTime.indexOf('T') < 0) {\r\n // preferredDateTime += 'T00:00:00';\r\n // }\r\n\r\n const date = new Date(preferredDateTime);\r\n\r\n //return `${date.getFullYear()}-${date.getMonth() + 1}-${date.getDate()}`;\r\n\r\n let dateWithTime = date.toJSON();\r\n\r\n const dateOnly = `${dateWithTime.substring(0, 10)}T00:00:00.000Z`\r\n\r\n return dateOnly;\r\n }\r\n\r\n loadResults(searchRequest: ExaminerLocationSearchRequest, isSearch: boolean): Observable {\r\n this.loading = true;\r\n this.loadingMessage = \"Searching\";\r\n this.message = null;\r\n\r\n this.searchResults = [];\r\n\r\n this.examinerLocationSelection = null;\r\n\r\n\r\n let searchOb = this.examinerRepositoryService.searchExaminerByLocation(searchRequest);\r\n\r\n // if (searchRequest.searchWithinMiles == 101) {\r\n // searchOb = this.examinerRepositoryService.searchExaminerByLocationOnClient(searchRequest);\r\n // }\r\n\r\n return searchOb.pipe(tap(searchResults => {\r\n this.searchResults = searchResults;\r\n }));\r\n }\r\n\r\n\r\n private getVariables(): { searchOtherAirports: boolean, withinMiles: number, preferredPilotExaminerId?: number, showProposedSearch?: boolean, showSearch?: boolean, checkRideNoLongerValid?: boolean, ignoreActiveCheckrideCheck?: boolean } {\r\n\r\n //const variableContext = this.dwMetaDataFormStateService.state.context['variable_contex_-CheckRideRequest'];\r\n const variableContext = this.formApi.getVariableContext();\r\n\r\n if (!variableContext) {\r\n return { searchOtherAirports: false, withinMiles: 0 }\r\n };\r\n\r\n return {\r\n searchOtherAirports: variableContext.value['Search_Other_Airports'],\r\n withinMiles: this.parseInt(variableContext.value['Within_Miles'] || 50),\r\n preferredPilotExaminerId: this.parseInt(variableContext.value['Preferred_Pilot_Examiner_Id']),\r\n showProposedSearch: variableContext.value[this.SHOW_PROPOSED_SEARCH] == true,\r\n showSearch: variableContext.value[this.SHOW_SEARCH] == true,\r\n checkRideNoLongerValid: variableContext.value['Checkride_Date_No_Longer_Valid'] == true,\r\n ignoreActiveCheckrideCheck: variableContext.value['IgnoreActiveCheckrideCheck'] == true,\r\n }\r\n }\r\n\r\n SHOW_SEARCH = 'Show_Search';\r\n SHOW_PROPOSED_SEARCH = 'Show_Proposed_Search';\r\n PROPOSAL_PENDING = 'Proposal_Pending';\r\n Checkride_Date_No_Longer_Valid = 'Checkride_Date_No_Longer_Valid';\r\n\r\n setVariable(variableName: string, value: boolean) {\r\n const variableContext = this.formApi.getVariableContext();\r\n\r\n if (!variableContext) {\r\n return;\r\n }\r\n\r\n //console.log(`Setting ${variableName} to ${value}`);\r\n\r\n const variables = variableContext.value;\r\n\r\n if (variables[variableName] == value) {\r\n return;\r\n }\r\n\r\n variables[variableName] = value;\r\n\r\n this.formApi.patchVariableContext(variables);\r\n\r\n //variableContext.next(variables);\r\n }\r\n\r\n setupVariableChangeWatch() {\r\n const variableContext = this.formApi.getVariableContext();\r\n\r\n if (!variableContext) {\r\n return;\r\n }\r\n\r\n if (this.variableWatchSubscription) {\r\n this.variableWatchSubscription.unsubscribe();\r\n }\r\n\r\n this.variableWatchSubscription = variableContext.asObservable().subscribe(variableValues => {\r\n this.checkforSearchChanges(this.checkRideRequest, this.getVariables());\r\n });\r\n }\r\n\r\n private parseInt(value: string): number {\r\n if (!value) {\r\n return null;\r\n }\r\n\r\n return parseInt(value);\r\n }\r\n\r\n\r\n}\r\n","\r\n
\r\n \r\n \r\n\r\n \r\n \r\n

Pilot Examiner Results

\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n \r\n\r\n\r\n
0\" class=\"result-container\">\r\n \r\n \r\n \r\n
\r\n
","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { DwActionPreference, DwComponent, DwComponentType, DwExpressionService, DwFormActionConfig, DwFormActionInterceptResult, DwFormActionInterceptor, DwFormActionKeys, DwMenuService, DwMessageSeverity, DwMetaDataFormStateService, DwMetaDataService, DwMetaDataServiceToken, DwModalButtonStandardConfigs, DwModalConfig, DwModalResult, DwModalService, DwModalSize, DwOrmDataService, DwOrmDataServiceToken, DwSectionBaseComponent, DwUIMetaDataConfig, DwUIMetaDataConfigToken, DwUiConfigRegistryService, getParameterByName } from '@devwareapps/devware-cap';\r\nimport { AppMetaDataItemNames, CheckRideRequestEntity, CheckRideRequestPaymentPartyAllItems, CheckRideRequestSubStatusAllItems, PilotExaminerEntity, StudentApplicantWithDetailQueryEntity } from '../../../../meta-data/app-meta-data.service';\r\nimport { ExaminerRepositoryService } from '../../../examiner/services/examiner-repository.service';\r\nimport { Observable, of } from 'rxjs';\r\nimport { PaymentRepositoryService } from '../../services/payment-repository.service';\r\nimport { map, mergeMap } from 'rxjs/operators';\r\nimport { CheckridePaymentResult } from '../../models/checkride-payment-result.model';\r\nimport { PaymentModalOptions } from '../../models/payment-modal-options.model';\r\nimport { PaymentModalComponent } from '../payment-modal/payment-modal.component';\r\nimport { CurrentStudentContext } from '../../../shared/contexts/current-student-context/current-student-context.service';\r\nimport { PaymentChargeRequest } from '../../models/payment-charge-request.model';\r\nimport { Router } from '@angular/router';\r\nimport { CheckridePaymentUtilComponent } from '../checkride-payment-util/checkride-payment-util.component';\r\nimport { CurrentPilotExaminerContext } from '../../../shared/contexts/current-pilot-examiner/current-pilot-examiner.service';\r\n\r\n\r\n@DwComponent({\r\n key: 'checkride-payment-util-examiner',\r\n name: ' Checkride Payment Util Examiner',\r\n componentType: DwComponentType.formSection,\r\n parentItemName: AppMetaDataItemNames.CheckRideRequest,\r\n isGlobal: false\r\n})\r\n@Component({\r\n selector: 'app-checkride-payment-util-examiner',\r\n template: `\r\n \r\n `,\r\n})\r\nexport class CheckridePaymentUtilExaminerComponent extends CheckridePaymentUtilComponent {\r\n\r\n ngOnInit(): void {\r\n super.ngOnInit();\r\n }\r\n\r\n protected getCancelledError():string {\r\n return 'Payment method was not added.';\r\n }\r\n\r\n protected processBeforeAction(actionPref: DwActionPreference, actionConfig: any): Observable {\r\n const result: DwFormActionInterceptResult = {\r\n abort: false \r\n }\r\n\r\n const isSave = actionPref.actionKey == DwFormActionKeys.formSave || actionPref.actionKey == DwFormActionKeys.formWorkflow\r\n\r\n if (!isSave) {\r\n return of(result);\r\n }\r\n\r\n if (actionPref.actionDisplay!='Save with Payment') {\r\n return of(result);\r\n }\r\n\r\n const validationResult = this.dwMetaDataFormStateService.state.formApi.validateForm();\r\n\r\n if (!validationResult.isValid) {\r\n result.abort = true;\r\n result.message = this.dwMetaDataFormStateService.state.formApi.createValidationMessage(validationResult);\r\n\r\n return of(result);\r\n }\r\n\r\n const checkrideRequest = this.dwMetaDataFormStateService.state.formApi.getFormData();\r\n\r\n if (checkrideRequest.PilexosBookingPaymentAdded) {\r\n return of(result);\r\n }\r\n\r\n if (checkrideRequest.PilexosBookingCostPaymentPartyId != CheckRideRequestPaymentPartyAllItems.PilotExaminer) {\r\n return of(result);\r\n }\r\n\r\n // If it's not in the correct status, update the status (this prevents it from being set to pending approval or other without payment)\r\n if (!checkrideRequest.CheckRideRequestId) {\r\n // Update the status to pending payment and save it\r\n checkrideRequest.CheckRideRequestSubStatusId = CheckRideRequestSubStatusAllItems.AcceptedPendingPayment;\r\n }\r\n\r\n // Change to always save before the payment - otherwise some fields aren't saved when the e-mail notification is sent\r\n return this.dwOrmDataService.saveEntity(checkrideRequest, true)\r\n .pipe(mergeMap(result => {\r\n // update the data on the form\r\n this.dwMetaDataFormStateService.state.formApi.patchFormData(result);\r\n \r\n return this.addPayment(result);\r\n }));\r\n }\r\n\r\n \r\n protected getUpdateStatusValue() {\r\n return true;\r\n }\r\n\r\n protected populateChargeRequestDetails(paymentModalOptions: PaymentModalOptions) {\r\n const currentExaminerInfo: PilotExaminerEntity = this.context[CurrentPilotExaminerContext]?.value;\r\n\r\n paymentModalOptions.chargeRequest.cardholderName = currentExaminerInfo?.UserIdDisplay;\r\n paymentModalOptions.chargeRequest.paymentPartyId = paymentModalOptions.checkrideRequest.PilexosBookingCostPaymentPartyId;\r\n paymentModalOptions.showPaymentParty = true;\r\n paymentModalOptions.paymentCompleteMessage = \"Your payment is complete!\";\r\n }\r\n}\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { FormControl, FormGroup, AbstractControl } from '@angular/forms';\r\nimport { DwComponent, DwComponentType, DwContext, DwFormControl, DwFormControlInit, DwFormFieldConfig, DwLookupInfo, DwMetaDataService, DwMetaDataServiceToken, getMomentValue } from '@devwareapps/devware-cap';\r\nimport { AirportEntity, AirportWithAddressInfoQueryEntity, AppMetaDataLookups } from '../../../../meta-data/app-meta-data.service';\r\nimport { ExaminerRepositoryService } from '../../../examiner/services/examiner-repository.service';\r\nimport { Observable } from 'rxjs';\r\nimport { DateTimeUtilService } from '../../../shared/util/date-time-util.service';\r\nimport { DurationDisplayControlComponent } from '../duration-display-control/duration-display-control.component';\r\n\r\n@DwComponent({\r\n key: 'pilexos-duration-control',\r\n name: 'Duration Control',\r\n componentType: DwComponentType.formControl,\r\n isGlobal: true,\r\n configData : {\r\n readOnlyComponent: DurationDisplayControlComponent\r\n }\r\n})\r\n@Component({\r\n selector: 'app-duration-control',\r\n template: `\r\n \r\n\r\n \r\n\r\n // {{durations | json}}\r\n // Value: {{control?.value}}\r\n `\r\n})\r\nexport class DurationControlComponent implements DwFormControl , DwFormControlInit {\r\n fieldDef: DwFormFieldConfig;\r\n formGroup: FormGroup;\r\n context: DwContext;\r\n useDisplayField?: boolean;\r\n \r\n formattedDuration: string;\r\n durations: DwLookupInfo[] = [];\r\n\r\n\r\n\r\n disabled = false;\r\n\r\n constructor(@Inject(DwMetaDataServiceToken) private dwMetaDataService: DwMetaDataService,\r\n private examinerRepositoryService: ExaminerRepositoryService,\r\n private dateTimeUtilService: DateTimeUtilService\r\n ) { }\r\n\r\n initControl(): void {\r\n this.buildDurationList();\r\n\r\n this.disabled = (this.fieldDef.isReadOnly || this.control?.disabled);\r\n }\r\n\r\n ngOnInit() {\r\n this.updateValue();\r\n\r\n this.control.valueChanges.subscribe(value => {\r\n this.updateValue();\r\n });\r\n\r\n \r\n }\r\n\r\n private updateValue() {\r\n this.formattedDuration = this.dateTimeUtilService.formatDuration2(this.control.value * 60);\r\n \r\n }\r\n\r\n private buildDurationList() {\r\n this.durations = [];\r\n\r\n for(let duration = 60; duration <= 60 * 10; duration += 30) {\r\n this.durations.push({ Id: duration.toString(), Display: this.dateTimeUtilService.formatDuration2(duration * 60) });\r\n }\r\n }\r\n\r\n /*\r\n * Returns the rating Form Control to get or set it's value\r\n */\r\n get control(): AbstractControl {\r\n return this.formGroup.get(this.fieldDef.attrName);\r\n }\r\n\r\n\r\n}\r\n\r\n","import { ChangeDetectorRef, Component, EventEmitter, Inject, Input, OnChanges, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { DwComponent, DwComponentType, DwExpressionService, DwMessage, DwMessageSeverity, DwMetaDataFormStateService, DwMetaDataService, DwMetaDataServiceToken, DwSectionBaseComponent, DwUIMetaDataConfig, DwUIMetaDataConfigToken, DwUiConfigRegistryService, formatDateTimeToLocal } from '@devwareapps/devware-cap';\r\nimport { AppMetaDataItemNames, CalendarReferenceEntity, DwUserEntity } from '../../../../meta-data/app-meta-data.service';\r\nimport { ExaminerRepositoryService } from '../../../examiner/services/examiner-repository.service';\r\nimport { CalendarRepositoryService } from '../../services/calendar-repository.service';\r\nimport { CalendarAuthConsentService } from '../../services/calendar-auth-consent.service';\r\nimport { CalendarDTO } from '../../models/calendar.model';\r\nimport { CalendarDelegationSetupResponseDTO } from '../../models/calendar-delegation-setup-response.model';\r\nimport { CalendarConfig } from '../../models/calendar-config.model';\r\nimport { DateTimeUtilService } from '../../../shared/util/date-time-util.service';\r\n\r\n@DwComponent({\r\n key: 'google-calendar-consent',\r\n name: 'Google Calendar Consent',\r\n componentType: DwComponentType.formSection,\r\n isGlobal: false,\r\n parentItemName: AppMetaDataItemNames.PilotExaminer,\r\n})\r\n@Component({\r\n selector: 'app-google-calendar-consent',\r\n templateUrl: './google-calendar-consent.component.html',\r\n styleUrls: ['./google-calendar-consent.component.scss']\r\n})\r\nexport class GoogleCalendarConsentComponent extends DwSectionBaseComponent implements OnInit, OnChanges {\r\n consentUrl: string;\r\n calendarReferenceId: number;\r\n @Input() calendarReference: CalendarReferenceEntity;\r\n @Output() calendarReferenceChange = new EventEmitter();\r\n\r\n calendarConfig: CalendarConfig = {};\r\n\r\n userProfile: DwUserEntity;\r\n @Input() allCalendars: CalendarDTO[] = [];\r\n message: DwMessage;\r\n\r\n authUrl: string;\r\n loadingMessage: string;\r\n editMode: boolean;\r\n alternateCalendars: CalendarDTO[];\r\n showPrivacy: boolean = false;\r\n showCalendarError: boolean = true;\r\n //manualCode: string;\r\n\r\n constructor(\r\n dwExpressionService: DwExpressionService,\r\n dwUiConfigRegistryService: DwUiConfigRegistryService,\r\n @Inject(DwUIMetaDataConfigToken) uiMetaDataConfig: DwUIMetaDataConfig,\r\n @Inject(DwMetaDataServiceToken) dwMetaDataService: DwMetaDataService,\r\n //private dwMetaDataFormStateService: DwMetaDataFormStateService,\r\n private calendarRepositoryService: CalendarRepositoryService,\r\n private calendarAuthConsentService: CalendarAuthConsentService,\r\n private cdr: ChangeDetectorRef,\r\n private dateTimeUtilService: DateTimeUtilService\r\n ) {\r\n super(dwExpressionService, dwUiConfigRegistryService, uiMetaDataConfig, dwMetaDataService);\r\n }\r\n\r\n messageDisplayTime = 2000;\r\n\r\n loading = false;\r\n\r\n\r\n togglePrivacy() {\r\n this.showPrivacy = !this.showPrivacy;\r\n }\r\n\r\n ngOnInit(): void {\r\n super.ngOnInit();\r\n \r\n this.setupCalendarConfig();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n super.ngOnChanges(changes);\r\n\r\n if (changes.calendarReference) { \r\n this.setupCalendarConfig();\r\n }\r\n if (changes.allCalendars) {\r\n this.setupAdditionalCalendars();\r\n }\r\n }\r\n\r\n calendarLastErrorDateTime: string;\r\n\r\n private setupCalendarConfig() {\r\n\r\n if (this.calendarReference?.CalendarConfigJSON) {\r\n this.calendarConfig = this.calendarReference.CalendarConfigJSON as any;\r\n } \r\n\r\n if (!this.calendarConfig?.AdditionalCalendars) {\r\n this.calendarConfig = { AdditionalCalendars: [] };\r\n }\r\n\r\n this.showCalendarError = this.dateTimeUtilService.isToday(this.calendarReference?.LastCalendarErrorDateTime)\r\n\r\n this.calendarLastErrorDateTime = formatDateTimeToLocal(this.calendarReference?.LastCalendarErrorDateTime, true, true);\r\n\r\n this.setupAdditionalCalendars();\r\n }\r\n\r\n getOAuthConsent() {\r\n const redirectUrl = this.calendarRepositoryService.getOAuthRedirectUri();\r\n\r\n \r\n this.calendarRepositoryService.getOAuthConsentUrl(redirectUrl)\r\n .subscribe(consentUrl => {\r\n this.authUrl = consentUrl;\r\n\r\n this.loading = true;\r\n this.loadingMessage = 'Setting up Google Calendar...';\r\n \r\n this.calendarAuthConsentService.openSignInWindow(consentUrl, \"calendarAuth\")\r\n .subscribe(code => {\r\n \r\n if (!code) {\r\n this.loading = false;\r\n return;\r\n }\r\n\r\n //this.manualCode = code;\r\n\r\n // Now we need to setup\r\n \r\n this.setupCalendarDelegation(code, redirectUrl);\r\n \r\n });\r\n });\r\n }\r\n\r\n setupCalendarDelegation(code: string, redirectUrl: string) {\r\n this.message = null;\r\n\r\n this.calendarRepositoryService.setupCalendarDelegation(code, redirectUrl)\r\n .subscribe(delegationSetupResponse => {\r\n\r\n setTimeout(() => {\r\n this.finalizeCalendarDelegation(delegationSetupResponse);\r\n \r\n }, 10);\r\n\r\n \r\n });\r\n }\r\n\r\n finalizeCalendarDelegation(delegationSetupResponse: CalendarDelegationSetupResponseDTO) {\r\n this.loading = false;\r\n \r\n if (!delegationSetupResponse?.IsSuccess) {\r\n const fullMessage = `${delegationSetupResponse.ErrorMessage}.

A google calendar can only be tied to one pilexos account. Use the link below to remove Pilexos access, then try again!

`;\r\n\r\n this.message = {\r\n messageBody: fullMessage,\r\n linkUrl: 'https://myaccount.google.com/connections',\r\n linkText: 'Google Account Connections',\r\n severity: DwMessageSeverity.error,\r\n allowClose: true,\r\n };\r\n\r\n return;\r\n }\r\n\r\n this.message = {\r\n messageBody: `Google Calendar setup complete!`,\r\n severity: DwMessageSeverity.success,\r\n allowClose: true,\r\n timeToShow: this.messageDisplayTime\r\n };\r\n\r\n this.cdr.detectChanges();\r\n\r\n if (delegationSetupResponse.CalendarReferenceId) {\r\n this.reloadCalendarRef(delegationSetupResponse.CalendarReferenceId);\r\n }\r\n }\r\n\r\n gotoEditMode() {\r\n this.editMode = true;\r\n }\r\n\r\n cancel() {\r\n this.editMode = false;\r\n }\r\n\r\n saveCalendars() {\r\n if(!this.calendarReference) {\r\n return;\r\n }\r\n this.loading = true;\r\n this.loadingMessage = 'Saving Settings...';\r\n\r\n this.calendarReference.CalendarConfigJSON = this.calendarConfig as any;\r\n\r\n this.calendarRepositoryService.saveCalendarRef(this.calendarReference)\r\n .subscribe(calendarRef => {\r\n this.calendarReference = calendarRef;\r\n this.calendarReferenceChange.emit(this.calendarReference);\r\n\r\n this.setupCalendarConfig();\r\n this.editMode = false;\r\n this.loading = false;\r\n\r\n this.message = {\r\n messageBody: `Settings updated`,\r\n severity: DwMessageSeverity.success,\r\n timeToShow: this.messageDisplayTime,\r\n allowClose: true\r\n };\r\n });\r\n\r\n }\r\n\r\n removeAccess() {\r\n this.message = null;\r\n \r\n this.loading = true;\r\n this.loadingMessage = 'Removing Google Calendar access...';\r\n\r\n this.calendarRepositoryService.revokeCalendarDelegation()\r\n .subscribe(revokeResponse => {\r\n if (revokeResponse.IsSuccess) {\r\n this.message = {\r\n messageBody: `Calendar delegation has been removed`,\r\n severity: DwMessageSeverity.warning,\r\n allowClose: true,\r\n timeToShow: this.messageDisplayTime\r\n };\r\n } else {\r\n this.message = {\r\n messageBody: `Calendar delegation ran into an error: ${revokeResponse.ErrorMessage}`,\r\n severity: DwMessageSeverity.error,\r\n allowClose: true,\r\n timeToShow: this.messageDisplayTime\r\n };\r\n }\r\n \r\n this.loading = false;\r\n this.calendarReference = null;\r\n this.calendarReferenceId = null;\r\n\r\n this.calendarReferenceChange.emit(this.calendarReference);\r\n\r\n this.cdr.detectChanges();\r\n\r\n this.reloadCalendarRef(this.calendarReference?.CalendarReferenceId);\r\n });\r\n\r\n }\r\n\r\n setupAdditionalCalendars() {\r\n // build alternative calendar list\r\n if (!this.calendarReference || !(this.allCalendars?.length > 0)) {\r\n return;\r\n }\r\n\r\n if (this.calendarReference.MainCalendarKey) {\r\n var mainCalendar = this.allCalendars.find(c => c.Id === this.calendarReference.MainCalendarKey);\r\n\r\n this.calendarReference.MainCalendarTimezone = mainCalendar?.TimeZone;\r\n }\r\n\r\n this.alternateCalendars = this.allCalendars.filter(c => c.Id !== this.calendarReference.MainCalendarKey);\r\n \r\n // Remove any calendars listed that are alternate\r\n for(let index=this.calendarConfig.AdditionalCalendars.length-1; index >= 0; index--) {\r\n const calId = this.calendarConfig.AdditionalCalendars[index];\r\n\r\n if (!this.alternateCalendars.find(c => c.Id === calId)) {\r\n this.calendarConfig.AdditionalCalendars.splice(index, 1);\r\n }\r\n }\r\n\r\n this.calendarConfig.AdditionalCalendars = [...this.calendarConfig.AdditionalCalendars];\r\n }\r\n\r\n reloadCalendarRef(calendarRefId: number) {\r\n this.calendarRepositoryService.getCalendarRef(calendarRefId)\r\n .subscribe(calendarRef => {\r\n this.calendarReference = calendarRef;\r\n\r\n this.calendarReferenceChange.emit(this.calendarReference);\r\n\r\n this.setupCalendarConfig();\r\n })\r\n }\r\n\r\n}\r\n","
\r\n\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
0\">\r\n \r\n\r\n \r\n
\r\n
\r\n\r\n \r\n \r\n\r\n \r\n \r\n
\r\n\r\n\r\n \r\n \r\n \r\n\r\n
\r\n
\r\n We were unabled to access your calendar at {{calendarLastErrorDateTime}}! If you continue to have issues, please click the button above to reauthorize access.\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n\r\n Google Auth url\r\n\r\n \r\n
\r\n
\r\n\r\n

\r\n \r\n\r\n

\r\n\r\n

PiExOS Privacy Policy

\r\n\r\n
\r\n How we use your data\r\n\r\n
\r\n

PiExOS uses google calendar access to determine your availability and to book checkride events on your behalf. We do not share your information with any third parties.

\r\n\r\n \r\n

PiExOS Privacy Policy

\r\n\r\n \r\n

PiExOS' use and transfer of information received from Google APIs to any other app will adhere to Google API Services User Data Policy, including the Limited Use requirements.

\r\n
\r\n
\r\n\r\n\r\n
\r\n\r\n
\r\n \r\n\r\n \r\n
\r\n
","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-usre-avatar',\r\n templateUrl: './usre-avatar.component.html',\r\n styleUrls: ['./usre-avatar.component.scss']\r\n})\r\nexport class UsreAvatarComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n}\r\n","

usre-avatar works!

\r\n","import { Injectable } from \"@angular/core\";\r\nimport { DwAction, DwActionHandler, DwActionResult, DwActionType, DwMdFormActionState, DwMdFormContextInfo, DwModalButtonStandardConfigs, DwModalConfig, DwModalService, DwModalSize, DwRoutingService } from \"@devwareapps/devware-cap\";\r\nimport { Observable, of } from \"rxjs\";\r\nimport { ApplicantAcsWrittenResultEntity, AppMetaDataItemNames, CheckRideRequestEntity, CheckRideRequestSubStatusAllItems, PlanOfActionDetailsQueryEntity, PlanOfActionEntity, PlanOfActionSectionEntity, PlanOfActionStatusAllItems } from \"../../../meta-data/app-meta-data.service\";\r\nimport { PlanOfActionRepositoryService } from \"../services/plan-of-action-repository.service\";\r\nimport { GenerateSectionsModalComponent } from \"../../plan-of-action/components/generate-sections-modal/generate-sections-modal.component\";\r\nimport { map, tap } from \"rxjs/operators\";\r\nimport { PlanOfActionGeneratorService } from \"../services/plan-of-action-generator.service\";\r\nimport { GenerateQuestionsModalComponent } from \"../../plan-of-action/components/generate-questions-modal/generate-questions-modal.component\";\r\nimport { AcsCodeSelectionModalOptions, AcsCodeSelectionModalResult } from \"../models/acs-code-selection-modal-options.model\";\r\nimport { AcsCodeStatuses } from \"../models/acs-code-items.model\";\r\n\r\n@DwAction({\r\n keyName: 'execute-poa-complete-action',\r\n display: 'Start Complete Plan Of Action',\r\n actionType: DwActionType.formAction,\r\n isGlobal: false,\r\n parentItemName: [AppMetaDataItemNames.CheckRideRequest, AppMetaDataItemNames.ApplicantAcsWrittenResult, AppMetaDataItemNames.PlanOfAction],\r\n allowOnce: true,\r\n defaultButtonConfig: {\r\n useButtonDefaults: false,\r\n useParentDisplay: false,\r\n buttonText: 'Complete Checkride',\r\n buttonClass: 'btn btn-warning mr-1 mt-1',\r\n iconClass: 'fa fa-th-list'\r\n },\r\n configData: {\r\n requireValidation: false,\r\n redirectAfter: false,\r\n actionMessage: '',\r\n }\r\n})\r\n@Injectable()\r\nexport class POAStartCompleteCheckrideActionService implements DwActionHandler {\r\n\r\n constructor(private planOfActionRepositoryService: PlanOfActionRepositoryService,\r\n private planofActionGeneratorService: PlanOfActionGeneratorService,\r\n private dwModalService: DwModalService,\r\n private dwRoutingService: DwRoutingService\r\n\r\n ) { }\r\n\r\n handleAction(actionState: DwMdFormActionState): Observable {\r\n const planOfAction = actionState.formApi.getFormData();\r\n\r\n const planOfActionDetails: PlanOfActionDetailsQueryEntity = actionState.context['Plan_Of_Action_Details'];\r\n\r\n planOfAction.PlanOfActionStatusId = PlanOfActionStatusAllItems.Complete;\r\n\r\n planOfAction.PlanOfActionResult.CheckRideStartDateTime = planOfActionDetails.CheckRideFinalDateTime;\r\n\r\n if (planOfAction.CheckRideRequest?.CheckRideRequestId) {\r\n planOfAction.CheckRideRequest.CheckRideResult.CheckRideDateTime = planOfAction.PlanOfActionResult.CheckRideStartDateTime;\r\n planOfAction.CheckRideRequest.CheckRideRequestSubStatusId = CheckRideRequestSubStatusAllItems.Completed;\r\n }\r\n\r\n actionState.formApi.patchContextData(DwMdFormContextInfo.DATA_CONTEXT_NAME, planOfAction);\r\n actionState.formApi.formGroup.patchValue(planOfAction);\r\n actionState.formApi.setFormData(planOfAction);\r\n\r\n return of({ success: true });\r\n }\r\n\r\n}","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { DwActionPreference, DwComponent, DwComponentType, DwEventService, DwExpressionService, DwFormActionConfig, DwFormActionInterceptResult, DwFormActionInterceptor, DwFormActionKeys, DwFormContextMode, DwMenuService, DwMessageSeverity, DwMetaDataFormStateService, DwMetaDataService, DwMetaDataServiceToken, DwModalButtonStandardConfigs, DwModalConfig, DwModalResult, DwModalService, DwModalSize, DwOrmDataService, DwOrmDataServiceToken, DwSectionBaseComponent, DwUIMetaDataConfig, DwUIMetaDataConfigToken, DwUiConfigRegistryService, deepCopy, getParameterByName } from '@devwareapps/devware-cap';\r\nimport { AppMetaDataItemNames, CheckRideRequestEntity, CheckRideRequestPaymentPartyAllItems, CheckRideRequestPaymentPartyEntity, CheckRideRequestSubStatusAllItems, StudentApplicantWithDetailQueryEntity } from '../../../../meta-data/app-meta-data.service';\r\nimport { ExaminerRepositoryService } from '../../../examiner/services/examiner-repository.service';\r\nimport { Observable, of } from 'rxjs';\r\nimport { PaymentRepositoryService } from '../../services/payment-repository.service';\r\nimport { map, mergeMap } from 'rxjs/operators';\r\nimport { CheckridePaymentResult } from '../../models/checkride-payment-result.model';\r\nimport { PaymentModalOptions } from '../../models/payment-modal-options.model';\r\nimport { PaymentModalComponent } from '../payment-modal/payment-modal.component';\r\nimport { CurrentStudentContext } from '../../../shared/contexts/current-student-context/current-student-context.service';\r\nimport { PaymentChargeRequest } from '../../models/payment-charge-request.model';\r\nimport { Router } from '@angular/router';\r\nimport { ApplicantRepositoryService } from 'src/app/features/applicant/services/applicant-repository.service';\r\n\r\n@DwComponent({\r\n key: 'checkride-payment-util',\r\n name: ' Checkride Payment Util',\r\n componentType: DwComponentType.formSection,\r\n parentItemName: AppMetaDataItemNames.CheckRideRequest,\r\n isGlobal: false\r\n})\r\n@Component({\r\n selector: 'app-checkride-payment-util',\r\n template: ``,\r\n\r\n})\r\nexport class CheckridePaymentUtilComponent extends DwSectionBaseComponent {\r\n initComplete = false;\r\n checkRideRequestPaymentPartyList: CheckRideRequestPaymentPartyEntity[];\r\n originalCheckRideRequest: CheckRideRequestEntity;\r\n\r\n constructor(\r\n dwExpressionService: DwExpressionService,\r\n dwUiConfigRegistryService: DwUiConfigRegistryService,\r\n @Inject(DwUIMetaDataConfigToken) uiMetaDataConfig: DwUIMetaDataConfig,\r\n @Inject(DwMetaDataServiceToken) dwMetaDataService: DwMetaDataService,\r\n protected dwMetaDataFormStateService: DwMetaDataFormStateService,\r\n protected paymentRespositoryService: PaymentRepositoryService,\r\n @Inject(DwOrmDataServiceToken) protected dwOrmDataService: DwOrmDataService,\r\n protected dwModalService: DwModalService,\r\n protected router: Router,\r\n protected dwMenuService: DwMenuService,\r\n private examinerRepositoryService: ExaminerRepositoryService,\r\n private dwEventService: DwEventService,\r\n private applicantRepositoryService: ApplicantRepositoryService\r\n ) {\r\n super(dwExpressionService, dwUiConfigRegistryService, uiMetaDataConfig, dwMetaDataService);\r\n }\r\n\r\n ngOnInit(): void {\r\n // Add the form inteceptor\r\n this.dwMetaDataFormStateService.addActionInterceptor(this.getFormActionInterceptor());\r\n\r\n this.setupDataWatch();\r\n\r\n this.examinerRepositoryService.getCheckRideRequestPaymentParty()\r\n .subscribe(results => {\r\n this.checkRideRequestPaymentPartyList = results;\r\n this.checkForDataChange();\r\n });\r\n }\r\n\r\n setupDataWatch() {\r\n this.dwMetaDataFormStateService.state.formApi.getFormDataChanges(100)\r\n .subscribe(dataChange => {\r\n if (this.dwMetaDataFormStateService.state.formApi.isDataLoadComplete) {\r\n this.checkForDataChange();\r\n }\r\n });\r\n\r\n if (this.dwMetaDataFormStateService.state.formApi.isDataLoadComplete) {\r\n this.checkForDataChange();\r\n }\r\n }\r\n\r\n private checkForDataChange() {\r\n const checkRideRequest = this.dwMetaDataFormStateService.state.formApi.getFormData();\r\n\r\n if (checkRideRequest?.PilexosBookingPaymentAdded || !checkRideRequest?.PilexosBookingCostPaymentPartyId) {\r\n return;\r\n }\r\n\r\n if (checkRideRequest && !this.originalCheckRideRequest) {\r\n this.originalCheckRideRequest = deepCopy(checkRideRequest);\r\n }\r\n\r\n const checkRideRequestPartial: Partial = {};\r\n\r\n if (checkRideRequest?.CheckRideRequestId && this.originalCheckRideRequest?.PilexosBookingCostPaymentPartyId == checkRideRequest.PilexosBookingCostPaymentPartyId) {\r\n return;\r\n }\r\n\r\n if (this.checkRideRequestPaymentPartyList) {\r\n checkRideRequestPartial.PilexosBookingCost = this.examinerRepositoryService.getPilexosBookingCost(checkRideRequest.CheckRideTestTypeId, checkRideRequest.PilexosBookingCostPaymentPartyId, this.checkRideRequestPaymentPartyList);\r\n }\r\n\r\n if (this.getUpdateStatusValue())\r\n switch (checkRideRequest.PilexosBookingCostPaymentPartyId) {\r\n case CheckRideRequestPaymentPartyAllItems.PilotExaminer:\r\n checkRideRequestPartial.CheckRideRequestSubStatusId = CheckRideRequestSubStatusAllItems.AcceptedPendingPayment;\r\n break;\r\n case CheckRideRequestPaymentPartyAllItems.Applicant:\r\n\r\n checkRideRequestPartial.CheckRideRequestSubStatusId = CheckRideRequestSubStatusAllItems.AcceptedPendingPayment;\r\n break;\r\n }\r\n\r\n if (checkRideRequest.PilexosBookingCost != checkRideRequestPartial.PilexosBookingCost || checkRideRequestPartial.CheckRideRequestSubStatusId != checkRideRequest.CheckRideRequestSubStatusId) {\r\n // Update booking cost based on applicant cost\r\n setTimeout(() => {\r\n this.dwMetaDataFormStateService.state.formApi.patchFormData(checkRideRequestPartial);\r\n }, 50);\r\n }\r\n }\r\n\r\n protected getUpdateStatusValue() {\r\n return false;\r\n }\r\n\r\n protected getFormActionInterceptor(): DwFormActionInterceptor {\r\n // Create a form interceptor so we can latch onto the save and abort if needed\r\n const interceptor: DwFormActionInterceptor = {\r\n interceptorName: 'paymentUtilInterceptor',\r\n order: 100, // have this go last\r\n onBeforeActionWait: true,\r\n onBeforeAction: (actionPref: DwActionPreference, actionConfig: any) => {\r\n return this.processBeforeAction(actionPref, actionConfig);\r\n },\r\n onAfterAction: (actionPref: DwActionPreference, actionConfig: any, actionResult: any) => {\r\n return this.processAfterAction(actionPref, actionConfig);\r\n },\r\n }\r\n\r\n return interceptor;\r\n }\r\n\r\n protected processBeforeAction(actionPref: DwActionPreference, actionConfig: any): Observable {\r\n const result: DwFormActionInterceptResult = {\r\n abort: false\r\n }\r\n\r\n const isSave = actionPref.actionKey == DwFormActionKeys.formSave || actionPref.actionKey == DwFormActionKeys.formWorkflow\r\n\r\n if (!isSave) {\r\n return of(result);\r\n }\r\n\r\n const validationResult = this.dwMetaDataFormStateService.state.formApi.validateForm();\r\n\r\n if (!validationResult.isValid) {\r\n result.abort = true;\r\n result.message = this.dwMetaDataFormStateService.state.formApi.createValidationMessage(validationResult);\r\n\r\n return of(result);\r\n }\r\n\r\n const checkrideRequest = this.dwMetaDataFormStateService.state.formApi.getFormData();\r\n\r\n if (checkrideRequest.PilexosBookingPaymentAdded) {\r\n return of(result);\r\n }\r\n\r\n if (checkrideRequest.CheckRideRequestSubStatusId == CheckRideRequestSubStatusAllItems.Draft || checkrideRequest.CheckRideRequestSubStatusId == CheckRideRequestSubStatusAllItems.Cancelled) {\r\n return of(result);\r\n }\r\n\r\n // If it's not in the correct status, update the status (this prevents it from being set to pending approval or other without payment)\r\n if (checkrideRequest.CheckRideRequestSubStatusId != CheckRideRequestSubStatusAllItems.PendingPayment && checkrideRequest.CheckRideRequestSubStatusId != CheckRideRequestSubStatusAllItems.AcceptedPendingPayment) {\r\n // Update the status to pending payment and save it\r\n checkrideRequest.CheckRideRequestSubStatusId = CheckRideRequestSubStatusAllItems.PendingPayment;\r\n }\r\n\r\n return this.dwOrmDataService.saveEntity(checkrideRequest, true)\r\n .pipe(mergeMap(result => {\r\n // update the data on the form\r\n this.dwMetaDataFormStateService.state.formApi.patchFormData(result);\r\n return this.addPayment(result);\r\n }));\r\n\r\n }\r\n\r\n protected getCancelledError(): string {\r\n return 'Payment method was not added. Your Checkride cannot be booked until payment is added.';\r\n }\r\n\r\n protected addPayment(checkrideRequest: CheckRideRequestEntity): Observable {\r\n const result: DwFormActionInterceptResult = {\r\n abort: true\r\n }\r\n\r\n return this.showPaymentModal(checkrideRequest)\r\n .pipe(mergeMap(paymentResult => {\r\n\r\n if (paymentResult.cancelled) {\r\n result.abort = true;\r\n\r\n if (checkrideRequest?.CheckRideRequestId) {\r\n\r\n return this.paymentRespositoryService.getCheckrideRequest(checkrideRequest.CheckRideRequestId)\r\n .pipe(map(checkride => {\r\n if (checkride?.PilexosBookingPaymentAdded) {\r\n this.paymentSuccessfulAction(result);\r\n } else {\r\n this.paymentCancelledActionResult(result);\r\n }\r\n\r\n return result;\r\n }));\r\n }\r\n\r\n this.paymentCancelledActionResult(result);\r\n\r\n return of(result);\r\n }\r\n\r\n this.paymentSuccessfulAction(result);\r\n\r\n return of(result);\r\n }\r\n ));\r\n }\r\n\r\n private paymentCancelledActionResult(result: DwFormActionInterceptResult) {\r\n\r\n result.message = {\r\n messageBody: this.getCancelledError(),\r\n severity: DwMessageSeverity.error\r\n };\r\n\r\n return of(result);\r\n }\r\n\r\n private paymentSuccessfulAction(result: DwFormActionInterceptResult) {\r\n\r\n this.dwEventService.publishEvent(DwOrmDataService.ORM_EVENT_TOPICS.ItemChangedTopic(AppMetaDataItemNames.CheckRideRequest), {});\r\n\r\n // Mark as pristine so we can redirect without the message\r\n this.dwMetaDataFormStateService.state.rootFormGroup.markAsPristine();\r\n\r\n if (getParameterByName(this.router, 'returnhome') == 'true') {\r\n this.router.navigate(['/']);\r\n\r\n result.abort = true;\r\n } else {\r\n // Just cancel the action since everything has been saved\r\n this.dwMetaDataFormStateService.state.formApi.cancel();\r\n }\r\n }\r\n\r\n\r\n protected processAfterAction(actionPref: DwActionPreference, actionConfig: any): Observable {\r\n const result: DwFormActionInterceptResult = {\r\n abort: false\r\n }\r\n\r\n const isSave = actionPref.actionKey == DwFormActionKeys.formSave || actionPref.actionKey == DwFormActionKeys.formWorkflow\r\n\r\n if (!isSave) {\r\n return of(result);\r\n }\r\n\r\n if (getParameterByName(this.router, 'returnhome') == 'true') {\r\n this.router.navigate(['/']);\r\n\r\n result.abort = true;\r\n }\r\n\r\n return of(result);\r\n }\r\n\r\n protected showPaymentModal(checkrideRequest: CheckRideRequestEntity): Observable> {\r\n //const currentStudentInfo: StudentApplicantWithDetailQueryEntity = this.context[CurrentStudentContext]?.value;\r\n\r\n const chargeRequest: PaymentChargeRequest = {\r\n amount: checkrideRequest.PilexosBookingCost || 50,\r\n // cardholderName: currentStudentInfo?.UserIdDisplay,\r\n // cardholderCountry: currentStudentInfo?.ApplicantAddressCountryIdDisplay,\r\n // cardholderPostalCode: currentStudentInfo?.ApplicantAddressPostalCode\r\n } as any;\r\n\r\n\r\n const paymentModalOptions: PaymentModalOptions = {\r\n checkrideRequest: checkrideRequest,\r\n chargeRequest: chargeRequest\r\n }\r\n\r\n this.populateChargeRequestDetails(paymentModalOptions);\r\n\r\n let modalConfig = new DwModalConfig();\r\n\r\n modalConfig.title = \"Add Payment Method\";\r\n modalConfig.component = PaymentModalComponent;\r\n modalConfig.buttons = DwModalButtonStandardConfigs.instance.SaveAndClose;\r\n\r\n modalConfig.buttons[0].buttonText = \"Add payment\";\r\n modalConfig.allowFullScreen = true;\r\n modalConfig.data = paymentModalOptions;\r\n modalConfig.preventClose = true;\r\n\r\n // modalConfig.modalSize = DwModalSize.custom;\r\n // modalConfig.customModalWidth = '600px';\r\n // modalConfig.customModalHeight = '800px';\r\n\r\n modalConfig.modalSize = DwModalSize.responsive;\r\n\r\n return this.dwModalService.showModal(modalConfig);\r\n }\r\n\r\n protected populateChargeRequestDetails(paymentModalOptions: PaymentModalOptions) {\r\n const currentStudentInfo: StudentApplicantWithDetailQueryEntity = this.context[CurrentStudentContext]?.value;\r\n\r\n const chargeRequest = paymentModalOptions.chargeRequest;\r\n chargeRequest.cardholderName = currentStudentInfo?.UserIdDisplay;\r\n chargeRequest.cardholderCountry = currentStudentInfo?.ApplicantAddressCountryIdDisplay,\r\n chargeRequest.cardholderPostalCode = currentStudentInfo?.ApplicantAddressPostalCode,\r\n chargeRequest.paymentPartyId = paymentModalOptions.checkrideRequest.PilexosBookingCostPaymentPartyId;\r\n\r\n paymentModalOptions.paymentCompleteMessage = \"Your checkride has been booked and sent to your Examiner for acceptance.
You will receive an e-mail when your checkride has been accepted.
\";\r\n }\r\n\r\n}\r\n","import { Component, EventEmitter, OnInit } from '@angular/core';\r\nimport { DwButtonCommand, DwButtonConfig, DwComponent, DwComponentType, DwGridHeightMode, DwMessage, DwMessageSeverity, DwMetaDataGridPreferences, DwMetaDataGridViewPreference, DwModalConfig, DwModalHandler, DwModalResult } from '@devwareapps/devware-cap';\r\nimport { Observable, of } from 'rxjs';\r\nimport { mergeMap } from 'rxjs/operators';\r\nimport { map } from 'underscore';\r\nimport { AppMetaDataLookups, AppMetaDataItemNames, PlanOfActionEntity, PilotExaminerEntity, AcsTestEntity } from '../../../../meta-data/app-meta-data.service';\r\nimport { PlanOfActionRepositoryService } from '../../../plan-of-action/services/plan-of-action-repository.service';\r\nimport { GenerateSectionsOptions } from '../../../plan-of-action/models/generate-sections-options.model';\r\nimport { PlanOfActionGeneratorService } from '../../../plan-of-action/services/plan-of-action-generator.service';\r\nimport { AcsCodeStorage, AcsCodesStorageItem } from '../../../plan-of-action/models/acs-code-items.model';\r\nimport { AcsSectionSelectionModalOptions } from '../../models/acs-section-selection-modal-options.model';\r\n\r\n\r\n@Component({\r\n selector: 'app-generate-sections-modal',\r\n templateUrl: './generate-sections-modal.component.html',\r\n styleUrls: ['./generate-sections-modal.component.scss']\r\n})\r\nexport class GenerateSectionsModalComponent implements OnInit, DwModalHandler {\r\n\r\n modalConfig: DwModalConfig;\r\n closeModal = new EventEmitter>();\r\n \r\n planOfAction: PlanOfActionEntity;\r\n\r\n message: DwMessage; \r\n options: GenerateSectionsOptions;\r\n acsTest: AcsTestEntity;\r\n \r\n allAcsCodes: AcsCodeStorage;\r\n\r\n aosItem = AppMetaDataItemNames.AcsAreaOfOperation;\r\n taskItem = AppMetaDataItemNames.AcsAreaOfOperationTask;\r\n filters: any = {};\r\n\r\n aosGridPreferences: Partial = {};\r\n taskGridPreferences: Partial = {};\r\n\r\n constructor(private planOfActionRespository: PlanOfActionRepositoryService,\r\n private planOfActionGeneratorSection: PlanOfActionGeneratorService\r\n\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.planOfAction = this.modalConfig.data.planOfAction;\r\n\r\n this.filters.AcsTestId = this.planOfAction.AcsTestId;\r\n\r\n this.aosGridPreferences = this.buildGridPreferences(false);\r\n this.taskGridPreferences = this.buildGridPreferences(true);\r\n\r\n this.options = {\r\n AreaOfOperationIds:[],\r\n TaskIds: [],\r\n includeAllSections: false,\r\n buildTaskSections: false,\r\n groundPortion:true,\r\n clearExistingSections: false,\r\n includeAllAcsCodes: false,\r\n useQuestionBank: false\r\n }\r\n\r\n this.planOfActionRespository.getAcsCodeStorage(this.planOfAction.AcsTestId)\r\n .subscribe(allAcsCodes => {\r\n this.allAcsCodes = allAcsCodes;\r\n })\r\n\r\n this.planOfActionRespository.getAcsTest(this.planOfAction.AcsTestId)\r\n .subscribe(acsTest => {\r\n this.acsTest = acsTest;\r\n });\r\n }\r\n\r\n buttonClick(buttonConfig: DwButtonConfig): Observable> {\r\n let result = new DwModalResult();\r\n\r\n result.cancelled = false;\r\n\r\n switch (buttonConfig.command) {\r\n case DwButtonCommand.ok:\r\n case DwButtonCommand.saveAndClose:\r\n case DwButtonCommand.save:\r\n this.generateSections();\r\n\r\n result.data = this.planOfAction;\r\n result.closeModal = true;\r\n break;\r\n\r\n case DwButtonCommand.cancel:\r\n result.closeModal = true;\r\n result.cancelled = true;\r\n break;\r\n }\r\n\r\n return of(result);\r\n }\r\n\r\n generateSections() {\r\n this.planOfActionGeneratorSection.generateSections(this.planOfAction, this.options, this.acsTest, this.allAcsCodes, this.modalConfig.data.acsTestPortionId);\r\n\r\n }\r\n\r\n setMessage(message: string, severity: DwMessageSeverity = DwMessageSeverity.error) {\r\n this.message = {\r\n messageBody: message,\r\n severity: severity\r\n };\r\n }\r\n\r\n clearMessage() {\r\n this.message = null;\r\n }\r\n\r\n private buildGridPreferences(taskGrid: boolean) : Partial {\r\n const gridPrefs : Partial = {\r\n gridStyle : {\r\n gridStyleName: 'Simple',\r\n gridHeightMode: DwGridHeightMode.fixedHeight,\r\n gridHeight: '200'\r\n },\r\n \r\n allowRowSelect: true,\r\n useCheckboxSelection:true,\r\n hideAdd: true,\r\n hideEditButton:false,\r\n hideDeleteButton:true,\r\n hideRefresh: true,\r\n hideExport: true,\r\n views: [],\r\n };\r\n\r\n if (taskGrid) {\r\n const viewPref : Partial = {\r\n metaDataQueryMeaning: 'Acs_Area_of_operation_Task-Grid'\r\n }\r\n\r\n gridPrefs.views.push(viewPref as any);\r\n }\r\n\r\n return gridPrefs;\r\n }\r\n}\r\n\r\n\r\n","\r\n\r\n\r\n","import { Injectable } from \"@angular/core\";\r\nimport { DwAction, DwActionHandler, DwActionResult, DwActionType, DwMdFormActionState, DwMdFormContextInfo, DwModalButtonStandardConfigs, DwModalConfig, DwModalService, DwModalSize } from \"@devwareapps/devware-cap\";\r\nimport { Observable, of } from \"rxjs\";\r\nimport { AppMetaDataItemNames, PlanOfActionEntity, PlanOfActionSectionEntity } from \"../../../meta-data/app-meta-data.service\";\r\nimport { PlanOfActionRepositoryService } from \"../services/plan-of-action-repository.service\";\r\nimport { GenerateSectionsModalComponent } from \"../../plan-of-action/components/generate-sections-modal/generate-sections-modal.component\";\r\nimport { map } from \"rxjs/operators\";\r\nimport { PlanOfActionGeneratorService } from \"../services/plan-of-action-generator.service\";\r\nimport { GenerateQuestionsModalComponent } from \"../../plan-of-action/components/generate-questions-modal/generate-questions-modal.component\";\r\nimport { AcsCodeSelectionModalOptions, AcsCodeSelectionModalResult } from \"../models/acs-code-selection-modal-options.model\";\r\n\r\n@DwAction({\r\n keyName: 'add-missed-acs-codes-action',\r\n display: 'Add Missed Codes to Plan',\r\n actionType: DwActionType.formAction,\r\n isGlobal: false,\r\n parentItemName: [AppMetaDataItemNames.PlanOfAction],\r\n allowOnce: true,\r\n defaultButtonConfig: {\r\n useButtonDefaults: false,\r\n buttonClass: 'btn btn-warning mr-1 mt-1',\r\n buttonText: 'Add Missed Codes to Plan',\r\n iconClass: 'fa fa-tasks-alt'\r\n },\r\n configData: {\r\n requireValidation: false,\r\n redirectAfter: false,\r\n actionMessage: '',\r\n }\r\n})\r\n@Injectable()\r\nexport class AddMissedAcsCodesActionService implements DwActionHandler {\r\n\r\n constructor(private planOfActionRepositoryService: PlanOfActionRepositoryService,\r\n private planofActionGeneratorService: PlanOfActionGeneratorService,\r\n private dwModalService: DwModalService\r\n\r\n ) { }\r\n\r\n handleAction(actionState: DwMdFormActionState): Observable {\r\n\r\n const result = new DwActionResult();\r\n\r\n const planOfAction = actionState.formApi.getFormData();\r\n\r\n\r\n\r\n return this.addMissedCodes(actionState, planOfAction);\r\n }\r\n\r\n addMissedCodes(actionState: DwMdFormActionState, planOfAction: PlanOfActionEntity): Observable {\r\n \r\n return this.planofActionGeneratorService.addMissedCodesToSections(planOfAction)\r\n .pipe(map((missedCodeAddResult) =>{\r\n const result: DwActionResult = {\r\n success: true\r\n };\r\n const messages : string[] = [];\r\n\r\n if (missedCodeAddResult.codesAdded > 0) {\r\n messages.push(`Added ${missedCodeAddResult.codesAdded} ACS Codes`);\r\n\r\n actionState.formApi.patchContextData(DwMdFormContextInfo.DATA_CONTEXT_NAME, planOfAction);\r\n actionState.formApi.formGroup.patchValue(planOfAction);\r\n actionState.formApi.patchFormData(planOfAction);\r\n }\r\n\r\n if (missedCodeAddResult.missingCodeCount > 0) {\r\n messages.push(`Could not add ${missedCodeAddResult.codesAdded} ACS Codes because the sections were missing. Please add all sections, then re-add missing ACS Codes`);\r\n }\r\n\r\n if (messages.length==0) {\r\n messages.push('All missing ACS Codes have already been added to sections');\r\n }\r\n\r\n result.message = messages.join('\\n');\r\n\r\n return result;\r\n }));\r\n\r\n\r\n }\r\n\r\n \r\n}","import { Component, EventEmitter, Inject, Input, OnChanges, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { CheckRideTestTypeAllItems, PilotExaminerLocationEntity, PilotExaminerSearchQueryEntity } from '../../../../meta-data/app-meta-data.service';\r\nimport { DwUIConfigToken, DwUIConfig, DwConfigServiceToken, DwConfigService } from '@devwareapps/devware-cap';\r\nimport { ExaminerTimeSlotGrouping, ExaminterTimeSlotItem } from '../../../examiner/models/examiner-time-slot-grouping.model';\r\nimport { ExaminerLocationSelection } from '../../../examiner/models/exminer-location-selection.model';\r\nimport { ExaminerTimeSlotEntityExt, PilotExaminerSearchQueryEntityExt } from '../../../../meta-data/extensions/pilot-examiner-search-query-ext.model';\r\nimport { ExaminerRepositoryService } from '../../../examiner/services/examiner-repository.service';\r\nimport { DateTimeUtilService } from '../../../shared/util/date-time-util.service';\r\nimport { ApplicantCheckrideVariables } from '../../../applicant/models/applicant-checkride-variables.model';\r\n\r\n@Component({\r\n selector: 'app-examiner-booking-search-result',\r\n templateUrl: './examiner-booking-search-result.component.html',\r\n styleUrls: ['./examiner-booking-search-result.component.scss']\r\n})\r\nexport class ExaminerBookingSearchResultComponent implements OnInit, OnChanges {\r\n @Input() searchResult: PilotExaminerSearchQueryEntityExt;\r\n apiRoot: string;\r\n defaultAvatarMediaUrl: string;\r\n imagePath: string;\r\n\r\n selectedDateTime: string;\r\n\r\n @Input() showDateSelection: boolean = true;\r\n\r\n @Input() examinerLocationSelection: ExaminerLocationSelection;\r\n @Output() examinerLocationSelectionChange = new EventEmitter();\r\n\r\n @Input() applicantCheckrideVariables: ApplicantCheckrideVariables;\r\n fullCheckrideCost: number;\r\n checkrideCost: number;\r\n\r\n @Input() testType: CheckRideTestTypeAllItems;\r\n checkrideDuration: number;\r\n checkrideDurationDisplay: string;\r\n\r\n constructor(@Inject(DwUIConfigToken) private uiConfig: DwUIConfig,\r\n @Inject(DwConfigServiceToken) private dwConfigService: DwConfigService,\r\n private examinerRepositoryService: ExaminerRepositoryService,\r\n private dateTimeUtilService: DateTimeUtilService\r\n\r\n ) {\r\n this.apiRoot = dwConfigService.coreConfig.apiRoot;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.setupImage();\r\n\r\n this.setupData();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.setupImage();\r\n\r\n if (changes.examinerLocationSelection) {\r\n this.selectedDateTime = this.examinerLocationSelection?.scheduleDateTime;\r\n }\r\n\r\n if (changes.searchResult || changes.testType) {\r\n this.setupData();\r\n }\r\n }\r\n\r\n setupData() {\r\n if (!this.searchResult) {\r\n return;\r\n }\r\n\r\n this.checkrideCost = this.examinerRepositoryService.getFullBookingCost(this.searchResult, this.testType, this.applicantCheckrideVariables);\r\n const checkrideDurationMinutes = this.examinerRepositoryService.getCheckrideTimeMinutes(this.searchResult, this.testType)\r\n this.checkrideDurationDisplay = this.dateTimeUtilService.formatDuration2(checkrideDurationMinutes * 60);\r\n\r\n this.fullCheckrideCost = this.checkrideCost + this.searchResult.PilotExaminerLocationTravelCost || 0;\r\n }\r\n\r\n\r\n\r\n setSelectedDateTime(selectedDateTime: string) {\r\n\r\n this.selectedDateTime = selectedDateTime;\r\n\r\n this.examinerLocationSelection = {\r\n searchResult: this.searchResult,\r\n scheduleDateTime: selectedDateTime,\r\n confirmed: false\r\n };\r\n\r\n this.examinerLocationSelectionChange.emit(this.examinerLocationSelection);\r\n }\r\n\r\n confirmSelection() {\r\n this.examinerLocationSelection.confirmed = true;\r\n\r\n this.examinerLocationSelectionChange.emit(this.examinerLocationSelection);\r\n }\r\n isContainerSelected() {\r\n return (this.examinerLocationSelection?.searchResult?.LocationDistancesPilotExaminerLocationId == this.searchResult?.LocationDistancesPilotExaminerLocationId &&\r\n this.examinerLocationSelection?.searchResult?.LocationDistancesAirportId == this.searchResult?.LocationDistancesAirportId);\r\n }\r\n\r\n containerClick() {\r\n if (!this.isContainerSelected()) {\r\n\r\n if (this.searchResult.AvailableTimeSlots?.length > 0) {\r\n\r\n this.setSelectedDateTime(this.searchResult.AvailableTimeSlots[0].StartDateTimeUtc);\r\n }\r\n }\r\n }\r\n\r\n private setupImage() {\r\n this.defaultAvatarMediaUrl = this.uiConfig.defaultAvatarImageUrl;\r\n\r\n if (!this.searchResult) {\r\n return;\r\n }\r\n\r\n const mediaPath = this.searchResult.UserPictureDwroMediaMediaPath;\r\n if (mediaPath) {\r\n this.imagePath = `${this.apiRoot}/media/download/${mediaPath}`;\r\n }\r\n }\r\n\r\n}\r\n","\r\n
\r\n\r\n
\r\n
\r\n
\r\n
{{searchResult.UserIdDisplay}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{searchResult.LocationDistancesAirportIdDisplay}}\r\n
\r\n
\r\n
\r\n {{searchResult.LocationDistancesDistance | number: '1.0-0'}} miles\r\n
\r\n
\r\n
\r\n {{checkrideDurationDisplay}}\r\n
\r\n
\r\n
\r\n {{checkrideCost | currency}}\r\n
\r\n
\r\n
\r\n {{searchResult.AirportAddressTimezoneIdDisplay}}\r\n
\r\n
\r\n
Requires DPE Travel
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
","import { Component, EventEmitter, Inject, OnInit, SimpleChanges } from '@angular/core';\r\nimport { FormGroup, FormControl } from '@angular/forms';\r\nimport { DwComponent, DwComponentType, DwContainerOptions, DwContext, DwExpressionService, DwMessage, DwMessageSeverity, DwMetaDataFormConfig, DwMetaDataFormStateService, DwMetaDataService, DwMetaDataServiceToken, DwSectionBaseComponent, DwSectionBasePreference, DwUIMetaDataConfig, DwUIMetaDataConfigToken, DwUiConfigRegistryService, areEqual, deepCopy, formatDateTimeFromLocal } from '@devwareapps/devware-cap';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { ExaminerRepositoryService } from '../../services/examiner-repository.service';\r\nimport { AirportEntity, AppMetaData, AppMetaDataItemNames, CheckRideRequestEntity, CheckRideRequestSubStatusAllItems, PilotExaminerLocationEntity, PilotExaminerSearchQueryEntity } from '../../../../meta-data/app-meta-data.service';\r\nimport { ExaminerLocationSearchRequest } from '../../models/examiner-location-search-request.model';\r\nimport { ExaminerLocationSelection } from '../../models/exminer-location-selection.model';\r\nimport { tap } from 'rxjs/operators';\r\nimport { CheckrideReferenceInfo } from '../../models/checkride-reschedule-info.model';\r\n\r\n@DwComponent({\r\n key: 'exminer-location-util',\r\n name: ' Examiner Location Util',\r\n componentType: DwComponentType.formSection,\r\n parentItemName: AppMetaDataItemNames.PilotExaminerLocation,\r\n isGlobal: false\r\n})\r\n@Component({\r\n selector: 'app-examiner-location-util',\r\n template:`\r\n \r\n `\r\n})\r\nexport class ExaminerLocationUtilComponent extends DwSectionBaseComponent {\r\n pilotExaminerLocation: PilotExaminerLocationEntity;\r\n\r\n initComplete = false;\r\n originalPilotExaminerLocation: PilotExaminerLocationEntity;\r\n originalAirportsIds: number[];\r\n message: DwMessage;\r\n\r\n constructor(\r\n dwExpressionService: DwExpressionService,\r\n dwUiConfigRegistryService: DwUiConfigRegistryService,\r\n @Inject(DwUIMetaDataConfigToken) uiMetaDataConfig: DwUIMetaDataConfig,\r\n @Inject(DwMetaDataServiceToken) dwMetaDataService: DwMetaDataService,\r\n private dwMetaDataFormStateService: DwMetaDataFormStateService,\r\n private examinerRepositoryService: ExaminerRepositoryService\r\n ) {\r\n super(dwExpressionService, dwUiConfigRegistryService, uiMetaDataConfig, dwMetaDataService);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.setupDataWatch();\r\n }\r\n \r\n setupDataWatch() {\r\n this.dwMetaDataFormStateService.state.formApi.getFormDataChanges(100)\r\n .subscribe(dataChange => {\r\n if (this.dwMetaDataFormStateService.state.formApi.isDataLoadComplete) {\r\n this.checkForDataChange();\r\n }\r\n });\r\n\r\n if (this.dwMetaDataFormStateService.state.formApi.isDataLoadComplete) {\r\n this.checkForDataChange();\r\n }\r\n }\r\n\r\n private checkForDataChange() {\r\n this.pilotExaminerLocation = this.dwMetaDataFormStateService.state.formApi.getFormData();\r\n \r\n // On init, just copy the original data so we can now watch for changes\r\n if (!this.initComplete) {\r\n this.originalAirportsIds = this.pilotExaminerLocation?.PilotExaminerLocationAirport.map(a => a.AirportId);\r\n\r\n this.originalPilotExaminerLocation = deepCopy(this.pilotExaminerLocation);\r\n\r\n this.initComplete = true;\r\n\r\n return;\r\n }\r\n\r\n const airportIds = this.pilotExaminerLocation?.PilotExaminerLocationAirport.filter(a => !a._isDeleted && a.AirportId).map(a => a.AirportId);\r\n\r\n if (airportIds.length==0 || areEqual(airportIds, this.originalAirportsIds)) {\r\n this.message = null;\r\n return;\r\n }\r\n\r\n this.examinerRepositoryService.getAirports(airportIds)\r\n .subscribe(airports => {\r\n const airport = airports.find(a => a .AirportId == airportIds[0]);\r\n \r\n this.checkAirportTimezones(airports);\r\n\r\n if (airport.AirportAddress.TimezoneId == this.pilotExaminerLocation.BookingScheduleTimeZoneId) {\r\n return;\r\n }\r\n\r\n const partialUpdate : Partial = {\r\n BookingScheduleTimeZoneId : airport.AirportAddress.TimezoneId\r\n };\r\n this.dwMetaDataFormStateService.state.formApi.patchFormData(partialUpdate);\r\n });\r\n }\r\n\r\n private checkAirportTimezones(airports: AirportEntity[]) {\r\n this.message = null;\r\n\r\n if (airports.length < 2) {\r\n return;\r\n }\r\n\r\n\r\n const timezones : number[] = [];\r\n\r\n for(const airport of airports) {\r\n if (!timezones.includes(airport.AirportAddress.TimezoneId)) {\r\n timezones.push(airport.AirportAddress.TimezoneId);\r\n }\r\n }\r\n\r\n if (timezones.length>1) {\r\n\r\n this.message = {\r\n messageHeading: 'Timezone Warning',\r\n messageBody: `The selected airports span ${timezones.length} timezones. Please not that your booking days will use the booking timezone below.`,\r\n severity: DwMessageSeverity.warning,\r\n }\r\n }\r\n }\r\n}\r\n\r\n","import { Injectable } from \"@angular/core\";\r\nimport { DwAction, DwActionHandler, DwActionResult, DwActionType, DwMdFormActionState, DwMdFormContextInfo, DwModalButtonStandardConfigs, DwModalConfig, DwModalService, DwModalSize, DwRoutingService } from \"@devwareapps/devware-cap\";\r\nimport { Observable, of } from \"rxjs\";\r\nimport { ApplicantAcsWrittenResultEntity, AppMetaDataItemNames, CheckRideRequestEntity, CheckRideRequestStatusAllItems, CheckRideRequestSubStatusAllItems, PlanOfActionDetailsQueryEntity, PlanOfActionEntity, PlanOfActionSectionEntity, PlanOfActionStatusAllItems } from \"../../../meta-data/app-meta-data.service\";\r\nimport { PlanOfActionRepositoryService } from \"../services/plan-of-action-repository.service\";\r\nimport { GenerateSectionsModalComponent } from \"../components/generate-sections-modal/generate-sections-modal.component\";\r\nimport { map, tap } from \"rxjs/operators\";\r\nimport { PlanOfActionGeneratorService } from \"../services/plan-of-action-generator.service\";\r\nimport { GenerateQuestionsModalComponent } from \"../components/generate-questions-modal/generate-questions-modal.component\";\r\nimport { AcsCodeSelectionModalOptions, AcsCodeSelectionModalResult } from \"../models/acs-code-selection-modal-options.model\";\r\nimport { AcsCodeStatuses } from \"../models/acs-code-items.model\";\r\n\r\n@DwAction({\r\n keyName: 'poa-save-and-execute-action',\r\n display: 'Save and Execute Plan Of Action',\r\n actionType: DwActionType.formAction,\r\n isGlobal: false,\r\n parentItemName: [AppMetaDataItemNames.PlanOfAction],\r\n allowOnce: true,\r\n defaultButtonConfig: {\r\n useButtonDefaults: false,\r\n useParentDisplay: false,\r\n buttonText: 'Execute',\r\n buttonClass: 'btn btn-warning mr-1 mt-1',\r\n iconClass: 'fa fa-plane'\r\n },\r\n configData: {\r\n requireValidation: true,\r\n redirectAfter: false,\r\n actionMessage: 'Saving...',\r\n }\r\n})\r\n@Injectable()\r\nexport class POASaveAndExecuteActionService implements DwActionHandler {\r\n\r\n constructor(private dwRoutingService: DwRoutingService) { }\r\n\r\n handleAction(actionState: DwMdFormActionState): Observable {\r\n\r\n // if (actionState.formApi.formGroup.pristine) {\r\n // const planOfAction = actionState.formApi.getFormData();\r\n\r\n // this.redirectToExecute(planOfAction);\r\n\r\n // return of({ success: true });\r\n // }\r\n\r\n return actionState.formApi.saveData(true)\r\n .pipe(map((result) => {\r\n const planOfAction: PlanOfActionEntity = result.saveResult;\r\n \r\n if (result.success) {\r\n this.redirectToExecute(planOfAction);\r\n }\r\n\r\n return result;\r\n }));\r\n }\r\n\r\n redirectToExecute(planOfAction: PlanOfActionEntity): void {\r\n const url = `/plan-of-action/plans/edit/${planOfAction.PlanOfActionId}/execute`;\r\n\r\n this.dwRoutingService.navigateToUrl(url, null);\r\n }\r\n\r\n}","import { Component, Input, OnInit } from '@angular/core';\r\nimport { DwTaskItem } from '../../models/dw-task-item.model';\r\nimport { DwContainerOptions } from '@devwareapps/devware-cap';\r\nimport { Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'dw-task-container',\r\n templateUrl: './dw-task-container.component.html',\r\n styleUrls: ['./dw-task-container.component.scss']\r\n})\r\nexport class DwTaskContainerComponent implements OnInit {\r\n @Input() tasks: DwTaskItem[];\r\n @Input() title: string = 'Tasks';\r\n @Input() containerOptions: DwContainerOptions;\r\n \r\n constructor(private router: Router) { }\r\n\r\n ngOnInit(): void {\r\n\r\n this.containerOptions = this.containerOptions || {\r\n containerHeaderIcon : 'fa fa-check-circle',\r\n containerHeaderBackgroundColor: 'orange',\r\n containerHeight: '200px',\r\n useContainerStyling: true,\r\n showTitle: true\r\n }\r\n }\r\n\r\n taskClick(task: DwTaskItem) {\r\n if (task.clickFunc) {\r\n task.clickFunc();\r\n return;\r\n }\r\n\r\n if (task.navigateUrl) {\r\n this.router.navigateByUrl(task.navigateUrl);\r\n }\r\n }\r\n\r\n\r\n\r\n}\r\n","\r\n\r\n {{title}}\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
{{task.taskTitle}}
\r\n
\r\n
\r\n
\r\n
\r\n
","import { Inject, Injectable } from \"@angular/core\";\r\nimport { DwDataItemKeyValues, DwDataRequest, DwDatasource, DwItemType, DwMetaDataService, DwMetaDataServiceToken, DwOrmDataHierarchy, DwOrmDataService, DwOrmDataServiceToken, DwOrmDataSource, DwQuery, DwQueryPrefetchPath, DwSecurityUserService } from \"@devwareapps/devware-cap\";\r\nimport { AppMetaData, AppMetaDataItemNames } from \"../../../meta-data/app-meta-data.service\";\r\nimport { Observable } from \"rxjs\";\r\n\r\n@DwDatasource({\r\n keyName: 'PlanOfActionDataSource',\r\n display: 'Plan of Action Data Source',\r\n itemName: AppMetaDataItemNames.PlanOfAction,\r\n})\r\n@Injectable()\r\nexport class PlanOfActionDataSourceService extends DwOrmDataSource {\r\n\r\n constructor(\r\n @Inject(DwOrmDataServiceToken) private dwOrmDataService: DwOrmDataService,\r\n @Inject(DwMetaDataServiceToken) metaDataService: DwMetaDataService,\r\n private securityUserService: DwSecurityUserService,\r\n ) {\r\n super(dwOrmDataService, metaDataService, AppMetaDataItemNames.PlanOfAction);\r\n }\r\n\r\n initDataSource() {\r\n this.setupOrmDataHierarchyFromQuery(this.item, this.ormDataHierarchy);\r\n }\r\n\r\n private setupOrmDataHierarchyFromQuery(item : DwItemType | DwQuery, ormDataHierarchy? : DwOrmDataHierarchy[]) {\r\n const sectionHierarchy : DwOrmDataHierarchy = {\r\n itemName: AppMetaData.PlanOfActionSection.ItemDetail.itemName,\r\n propertyName: AppMetaData.PlanOfAction.Relations.PlanOfActionSection.propertyName,\r\n children: [{\r\n itemName: AppMetaData.PlanOfActionSectionQuestion.ItemDetail.itemName,\r\n propertyName: AppMetaData.PlanOfActionSection.Relations.PlanOfActionSectionQuestion.propertyName,\r\n }]\r\n };\r\n\r\n const acsWrittenHierarchy : DwOrmDataHierarchy = {\r\n itemName: AppMetaData.ApplicantAcsWrittenResult.ItemDetail.itemName,\r\n propertyName: AppMetaData.PlanOfAction.Relations.ApplicantAcsWrittenResult.propertyName,\r\n children: [{\r\n itemName: AppMetaData.ApplicantAcsWrittenResultMissedCode.ItemDetail.itemName,\r\n propertyName: AppMetaData.ApplicantAcsWrittenResult.Relations.ApplicantAcsWrittenResultMissedCode.propertyName,\r\n }]\r\n };\r\n \r\n ormDataHierarchy.push(sectionHierarchy);\r\n ormDataHierarchy.push(acsWrittenHierarchy);\r\n }\r\n \r\n loadItemFromQuery(query: DwQuery, keyValues: DwDataItemKeyValues | number): Observable {\r\n const updatedQuery = this.buildFinalQuery(query);\r\n\r\n return super.loadItemFromQuery(updatedQuery, keyValues);\r\n }\r\n \r\n saveItem(entity: any, saveOptions?: any, suppressErrorMessage: boolean = true, useRootItemQuery: boolean = true): Observable {\r\n console.log('Save item', entity);\r\n return super.saveItem(entity, saveOptions, suppressErrorMessage, useRootItemQuery);\r\n }\r\n \r\n\r\n private buildFinalQuery(query: DwQuery): DwQuery {\r\n const planOfActionQuery = AppMetaData.PlanOfAction.CreateQueryBuilder(query);\r\n\r\n const acsWrittenResultQuery = AppMetaData.ApplicantAcsWrittenResult.CreateQueryBuilder();\r\n\r\n acsWrittenResultQuery.addPrefetch(r => r.ApplicantAcsWrittenResultMissedCode);\r\n\r\n planOfActionQuery.addPrefetch(r => r.ApplicantAcsWrittenResult, acsWrittenResultQuery.query);\r\n\r\n let prefetchSection = query.Prefetch.find(p => p.RelationName === AppMetaData.PlanOfAction.Relations.PlanOfActionSection.relationName);\r\n\r\n if (prefetchSection == null) {\r\n planOfActionQuery.addPrefetch(r => r.PlanOfActionSection);\r\n\r\n prefetchSection = query.Prefetch.find(p => p.RelationName === AppMetaData.PlanOfAction.Relations.PlanOfActionSection.relationName);\r\n }\r\n\r\n const sectionQuery = AppMetaData.PlanOfActionSection.CreateQueryBuilder(prefetchSection?.Query);\r\n\r\n sectionQuery.addOrderBy(a => a.SectionOrder);\r\n\r\n prefetchSection.Query = sectionQuery.query;\r\n\r\n let prefetchSectionQuestion = sectionQuery.query.Prefetch?.find(p => p.RelationName === AppMetaData.PlanOfActionSection.Relations.PlanOfActionSectionQuestion.relationName);\r\n\r\n if (!prefetchSectionQuestion) {\r\n sectionQuery.addPrefetch(r => r.PlanOfActionSectionQuestion);\r\n\r\n prefetchSectionQuestion = sectionQuery.query.Prefetch?.find(p => p.RelationName === AppMetaData.PlanOfActionSection.Relations.PlanOfActionSectionQuestion.relationName);\r\n }\r\n\r\n const questionQuery = AppMetaData.PlanOfActionSectionQuestion.CreateQueryBuilder(prefetchSectionQuestion?.Query);\r\n\r\n questionQuery.addOrderBy(a => a.QuestionOrder);\r\n\r\n prefetchSectionQuestion.Query = questionQuery.query;\r\n\r\n return planOfActionQuery.query;\r\n }\r\n\r\n\r\n\r\n}","import { Injectable } from \"@angular/core\";\r\nimport { Observable, Subject } from \"rxjs\";\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class CalendarAuthConsentService {\r\n windowObjectReference = null;\r\n previousUrl = null;\r\n\r\n\r\n openSignInWindow(url, name): Observable {\r\n const subject = new Subject();\r\n\r\n let returnComplete = false;\r\n (window as any).cap = {\r\n oAuthCallback: (code) => {\r\n returnComplete = true;\r\n subject.next(code);\r\n }\r\n }\r\n\r\n const popupWindow = window.open(url, name, 'toolbar=no, menubar=no, width=600, height=700, top=100, left=100');\r\n\r\n let interval = setInterval(() => {\r\n if (popupWindow?.closed) {\r\n clearInterval(interval);\r\n if (!returnComplete) {\r\n subject.next(null);\r\n }\r\n }\r\n }, 1000);\r\n\r\n // popupWindow.window.addEventListener('load', () => {\r\n // popupWindow.window.addEventListener('unload', () => {\r\n // console.log('Auth window closed');\r\n // if (!returnComplete) {\r\n // subject.next(null);\r\n // }\r\n // });\r\n // });\r\n\r\n // popupWindow.window.addEventListener('unload', () => {\r\n // console.log('Auth window closed');\r\n // if (!returnComplete) {\r\n // subject.next(null);\r\n // }\r\n // });\r\n\r\n\r\n // popupWindow.addEventListener('onBeforeClose', (event) => {\r\n // console.log('Auth window closed');\r\n // if (!returnComplete) {\r\n // subject.next(null);\r\n // }\r\n // });\r\n\r\n return subject.asObservable();\r\n }\r\n\r\n openSignInWindowOld(url, name) {\r\n const receiveMessage = (message) => {\r\n //console.log('calendarAUthConsentService Message received from popup', message);\r\n }\r\n\r\n // remove any existing event listeners\r\n window.removeEventListener('message', receiveMessage);\r\n\r\n // window features\r\n const strWindowFeatures =\r\n 'toolbar=no, menubar=no, width=600, height=700, top=100, left=100';\r\n\r\n if (this.windowObjectReference === null || this.windowObjectReference.closed) {\r\n /* if the pointer to the window object in memory does not exist\r\n or if such pointer exists but the window was closed */\r\n this.windowObjectReference = window.open(url, name, strWindowFeatures);\r\n } else if (this.previousUrl !== url) {\r\n /* if the resource to load is different,\r\n then we load it in the already opened secondary window and then\r\n we bring such window back on top/in front of its parent window. */\r\n this.windowObjectReference = window.open(url, name, strWindowFeatures);\r\n this.windowObjectReference.focus();\r\n } else {\r\n /* else the window reference must exist and the window\r\n is not closed; therefore, we can bring it back on top of any other\r\n window with the focus() method. There would be no need to re-create\r\n the window or to reload the referenced resource. */\r\n this.windowObjectReference.focus();\r\n }\r\n\r\n // add the listener for receiving a message from the popup\r\n window.addEventListener('message', event => receiveMessage(event), false);\r\n // assign the previous URL\r\n this.previousUrl = url;\r\n };\r\n}","import { Injectable } from \"@angular/core\";\r\nimport { DwAction, DwActionHandler, DwActionResult, DwActionType, DwButtonType, DwMdFormActionState, DwRoutingService } from \"@devwareapps/devware-cap\";\r\nimport { Observable, of } from \"rxjs\";\r\nimport { AppMetaDataItemNames, CheckRideRequestEntity } from \"../../../../meta-data/app-meta-data.service\";\r\nimport { mergeMap } from \"rxjs/operators\";\r\n\r\n\r\n\r\n\r\n@DwAction({\r\n keyName: 'rebook-examiner-checkride',\r\n display: 'Rebook Examiner Checkride',\r\n parentItemName: [AppMetaDataItemNames.CheckRideRequest, AppMetaDataItemNames.CheckRideResult],\r\n isGlobal: false,\r\n actionType: DwActionType.formAction,\r\n defaultButtonConfig: {\r\n useParentDisplay: false,\r\n buttonText: 'Rebook Checkride',\r\n buttonClass: 'btn btn-warning btn-sm',\r\n buttonTitle: 'Rebook Checkride',\r\n buttonType: DwButtonType.standard,\r\n iconClass: 'fa fa-plane-departure'\r\n }\r\n})\r\n@Injectable()\r\nexport class RebookExaminerCheckrideActionService implements DwActionHandler {\r\n\r\n constructor(private dwRoutingService: DwRoutingService) {}\r\n\r\n handleAction(actionState: DwMdFormActionState): Observable {\r\n const result = new DwActionResult();\r\n \r\n const checkride = actionState.formApi.getFormData();\r\n\r\n // Save the checkride first, then navigate to the rebook page\r\n return actionState.formApi.saveData(true)\r\n .pipe(mergeMap(saveResult => {\r\n\r\n if (saveResult.cancelled || saveResult.validationFailed) {\r\n result.cancelled = true;\r\n return of(result);\r\n }\r\n\r\n const url = '/bookings/add?RebookCheckrideId=' + checkride.CheckRideRequestId;\r\n \r\n this.dwRoutingService.navigateToUrl(url, { });\r\n \r\n result.success = true;\r\n return of(result);\r\n }));\r\n }\r\n}","import { ChangeDetectorRef, Component, Input, OnDestroy, OnInit, ViewChild, } from '@angular/core';\r\nimport dayGridPlugin from '@fullcalendar/daygrid';\r\nimport timeGridPlugin from '@fullcalendar/timegrid';\r\nimport interactionPlugin from '@fullcalendar/interaction';\r\nimport { DateTimeModel, DwComponent, DwComponentType, DwControlType, DwEvent, DwEventService, DwItemAttribute, DwOrmDataChangeEvent, DwOrmDataService, DwQueryMdAttribute, DwQueryMetaData, convertToIsoDateTime, dateTimeAddDays, formatDateTime, formatDateTimeToLocal, getMomentValue } from '@devwareapps/devware-cap';\r\nimport { CalendarRepositoryService } from '../../../calendar/services/calendar-repository.service';\r\nimport { CalendarOptions } from '../../../calendar/models/calendar-options.model';\r\nimport { CalendarWeekDayEvent } from '../../../calendar/models/calendar-weekday-event.model';\r\nimport { EventSearchRequestDTO } from '../../../calendar/models/event-search-request.model';\r\nimport { CalendarEventDTO, CalendarEventStatus } from '../../../calendar/models/calendar-event.model';\r\nimport { CalendarDTO } from '../../../calendar/models/calendar.model';\r\n//import { FullCalendar } from 'primeng/fullcalendar';\r\n\r\n//import { OptionsInput } from '@fullcalendar/core';\r\n//import { OptionsInput } from '@fullcalendar/core';\r\n\r\nimport * as moment_ from 'moment';\r\nconst moment = moment_;\r\n\r\n\r\nimport { EventDateTimeDTO } from '../../../calendar/models/event-data-time.model';\r\nimport { ExaminerRepositoryService } from '../../services/examiner-repository.service';\r\nimport { Subscription, combineLatest, of } from 'rxjs';\r\nimport { AppMetaData, AppMetaDataItemNames, CalendarReferenceEntity, CheckRideRequestCalendarQueryEntity, CheckRideRequestEntity, CheckRideRequestSubStatusAllItems } from '../../../../meta-data/app-meta-data.service';\r\nimport { CalendarClickEvent, CalendarClickEventType } from '../../../calendar/models/calendar-click-event.model';\r\nimport { Router } from '@angular/router';\r\nimport { CalendarConfig } from '../../../calendar/models/calendar-config.model';\r\nimport { CheckrideReferenceInfo } from '../../models/checkride-reschedule-info.model';\r\nimport { DateTimeUtilService } from '../../../shared/util/date-time-util.service';\r\n\r\n@DwComponent({\r\n key: 'examiner-booking-calendar',\r\n name: 'Examiner Booking Calendar',\r\n componentType: DwComponentType.pageComponent,\r\n isGlobal: true,\r\n})\r\n@Component({\r\n selector: 'app-examiner-booking-calendar',\r\n templateUrl: './examiner-booking-calendar.component.html',\r\n styleUrls: ['./examiner-booking-calendar.component.scss']\r\n})\r\nexport class ExaminerBookingCalendarComponent implements OnInit, OnDestroy {\r\n\r\n @Input() compactView: boolean = false;\r\n\r\n textboxControlType: DwControlType = DwControlType.Textbox;\r\n allCalendars: CalendarDTO[] = [];\r\n usedCalendars: CalendarDTO[] = [];\r\n primaryCalendar: CalendarDTO;\r\n\r\n selectedCheckRide: CheckRideRequestCalendarQueryEntity;\r\n queryMetaData: DwQueryMetaData;\r\n calendarReference: CalendarReferenceEntity;\r\n selectedEvent: CalendarWeekDayEvent;\r\n calendarConfig: CalendarConfig = {};\r\n\r\n constructor(private calendarRepositoryService: CalendarRepositoryService,\r\n private examinerRepositoryService: ExaminerRepositoryService,\r\n private router: Router,\r\n private dwEventService: DwEventService,\r\n private cdr: ChangeDetectorRef,\r\n private dateTimeUtilService: DateTimeUtilService\r\n ) { }\r\n\r\n options: CalendarOptions;\r\n\r\n events: CalendarWeekDayEvent[] = [];\r\n\r\n eventSearchRequests: EventSearchRequestDTO[] = [];\r\n\r\n subscriptions: Subscription[] = [];\r\n\r\n initComplete = false;\r\n\r\n ngOnInit(): void {\r\n this.setCalendarOptions();\r\n\r\n this.setupComponent();\r\n\r\n this.setupChangeEvents();\r\n }\r\n\r\n ngOnDestroy(): void {\r\n for (const sub of this.subscriptions) {\r\n sub.unsubscribe();\r\n }\r\n }\r\n\r\n setupChangeEvents() {\r\n this.subscriptions.push(\r\n this.dwEventService.getEvent(DwOrmDataService.ORM_EVENT_TOPICS.ItemChangedTopic(AppMetaDataItemNames.CheckRideRequest))\r\n .subscribe((event: DwEvent) => {\r\n this.handleCheckRideRequestUpdate(event);\r\n }));\r\n }\r\n\r\n handleCheckRideRequestUpdate(event: DwEvent) {\r\n if (!this.initComplete) {\r\n return;\r\n }\r\n\r\n const data: DwOrmDataChangeEvent = event.data;\r\n\r\n this.events = [];\r\n this.eventSearchRequests = [];\r\n\r\n this.loadEventRange(this.options.startDate);\r\n }\r\n\r\n private setupComponent() {\r\n const queryMetaDataOb = this.examinerRepositoryService.getCheckRideRequestQueryMetaData();\r\n const calendarRefOb = this.examinerRepositoryService.getCurrentCalendarRef();\r\n\r\n combineLatest([queryMetaDataOb, calendarRefOb])\r\n .subscribe(([queryMetaData, calendarRef]) => {\r\n\r\n this.queryMetaData = queryMetaData;\r\n this.calendarReference = calendarRef;\r\n\r\n this.setupCalendarConfig();\r\n\r\n // If we have the calendar reference is setup, we can setup the calendars\r\n if (this.calendarReference?.CalendarIsSetup) {\r\n this.loadAllCalendars(true);\r\n\r\n return;\r\n }\r\n\r\n this.initComplete = true;\r\n\r\n // Otherwise, we go ahead and load events\r\n this.loadEventRange(this.options.startDate);\r\n });\r\n }\r\n\r\n gotoProfile() {\r\n this.router.navigate(['settings/profile']);\r\n }\r\n\r\n gotoCalendar() {\r\n this.router.navigate(['calendar']);\r\n }\r\n\r\n private loadAllCalendars(performSearch: boolean = false, clearEvents: boolean = false) {\r\n this.calendarRepositoryService.getCalendars()\r\n .subscribe((calendars) => {\r\n this.allCalendars = calendars;\r\n\r\n this.setupUsedCalendars();\r\n\r\n // initial search\r\n if (performSearch) {\r\n this.loadEventRange(this.options.startDate, clearEvents);\r\n\r\n this.initComplete = true;\r\n }\r\n });\r\n }\r\n\r\n updateCalendarReference() {\r\n // Clear events so they can be reloaded\r\n if (!this.calendarReference?.CalendarIsSetup) {\r\n this.usedCalendars = [];\r\n this.calendarConfig = {};\r\n\r\n // reload events minus the calendar events\r\n this.loadEventRange(this.options.startDate, true);\r\n return;\r\n }\r\n\r\n this.setupCalendarConfig();\r\n\r\n this.loadAllCalendars(true, true);\r\n\r\n\r\n this.setupUsedCalendars();\r\n }\r\n\r\n private setupUsedCalendars() {\r\n if (!this.allCalendars || !this.calendarConfig || !this.calendarReference?.CalendarIsSetup) {\r\n return;\r\n }\r\n\r\n var calendars: CalendarDTO[] = [];\r\n\r\n let main = this.allCalendars.find(c => c.Id == this.calendarReference?.MainCalendarKey);\r\n\r\n if (!main) {\r\n main = this.allCalendars.find(c => c.IsPrimary);\r\n }\r\n\r\n if (main) {\r\n calendars.push(main);\r\n }\r\n\r\n for (const id of this.calendarConfig.AdditionalCalendars) {\r\n const calendar = this.allCalendars.find(c => c.Id == id);\r\n\r\n if (calendar) {\r\n calendars.push(calendar);\r\n }\r\n }\r\n\r\n this.usedCalendars = calendars;\r\n }\r\n\r\n private setupCalendarConfig() {\r\n\r\n if (this.calendarReference?.CalendarConfigJSON) {\r\n this.calendarConfig = this.calendarReference.CalendarConfigJSON as any;\r\n }\r\n\r\n if (!this.calendarConfig?.AdditionalCalendars) {\r\n this.calendarConfig = { AdditionalCalendars: [] };\r\n }\r\n\r\n this.setupUsedCalendars();\r\n }\r\n\r\n eventClick(event: CalendarClickEvent) {\r\n this.selectedEvent = event.eventData;\r\n this.selectedCheckRide = event.eventData?.data;\r\n\r\n switch (event.eventType) {\r\n case CalendarClickEventType.moved:\r\n case CalendarClickEventType.click:\r\n case CalendarClickEventType.doubleClick:\r\n case CalendarClickEventType.selected:\r\n break;\r\n\r\n case CalendarClickEventType.timeRangeSelected:\r\n this.addNewCheckride(event.start, event.end);\r\n return;\r\n default:\r\n return;\r\n }\r\n \r\n if (!this.selectedCheckRide) {\r\n return;\r\n }\r\n\r\n if (event.eventType == CalendarClickEventType.moved) {\r\n const rescheduleInfo: CheckrideReferenceInfo = {\r\n proposedStartDateTime: event.eventData.start.toString()\r\n };\r\n\r\n this.examinerRepositoryService.setCheckrideReferenceInfo(this.selectedCheckRide.CheckRideRequestId, rescheduleInfo);\r\n\r\n // reset the event dates back to the original (if it is updated, we'll reload and move it on the calendar)\r\n this.setCheckrideEventDates(this.selectedEvent, this.selectedCheckRide);\r\n\r\n this.events = [...this.events];\r\n }\r\n\r\n this.router.navigate(['calendar/edit', this.selectedCheckRide.CheckRideRequestId]);\r\n }\r\n\r\n addNewCheckride(start: any, end: any) {\r\n\r\n const startUtcDateTime = this.dateTimeUtilService.convertDateTimeToUtc(start);\r\n const endUtcDateTime = this.dateTimeUtilService.convertDateTimeToUtc(end);\r\n\r\n const durationMinutes = this.dateTimeUtilService.calcDurationMinutes(startUtcDateTime, endUtcDateTime, 30, 30, 60 * 8);\r\n const rescheduleInfo: CheckrideReferenceInfo = {\r\n startDateTime: startUtcDateTime,\r\n durationMinutes: durationMinutes\r\n };\r\n\r\n this.examinerRepositoryService.setCheckrideReferenceInfo(-1, rescheduleInfo);\r\n\r\n this.router.navigate(['calendar/add']);\r\n }\r\n\r\n\r\n handleDateChange(date: DateTimeModel) {\r\n for (const request of this.eventSearchRequests) {\r\n if (this.isWithinRange(request, date, true)) {\r\n // we're finished\r\n return;\r\n }\r\n }\r\n\r\n // load dates for month\r\n this.loadEventRange(date.toString(false));\r\n }\r\n\r\n isWithinRange(request: EventSearchRequestDTO, date: DateTimeModel | string, checkExactDate: boolean = false): boolean {\r\n const startDate = getMomentValue(request.StartDateTime, false, false);\r\n const endDate = getMomentValue(request.EndDateTime, false, false);\r\n\r\n const refDate = date.toString(false);\r\n\r\n if (checkExactDate) {\r\n const refDateMoment = getMomentValue(refDate, false, false);\r\n\r\n if (startDate.isSameOrBefore(refDateMoment, 'day') && endDate.isSameOrAfter(refDateMoment, 'day')) {\r\n // We're within range, nothing to do\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n // Compare Sunday throught Saturday since we display events for the entire week\r\n const monthStart = this.getMonthStart(refDate);\r\n const monthEnd = this.getMonthEnd(refDate);\r\n\r\n if (startDate.isSameOrBefore(monthStart, 'day') && endDate.isSameOrAfter(monthEnd, 'day')) {\r\n // We're within range, nothing to do\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n private loadEventRange(refDate: string = null, clearEvents:boolean = false) {\r\n\r\n // Clear search events so the dates will be calculated correctly\r\n if (clearEvents) {\r\n this.eventSearchRequests = [];\r\n }\r\n\r\n let monthStart = this.getMonthStart(refDate);\r\n let monthEnd = this.getMonthEnd(refDate);\r\n\r\n monthStart = this.adjustMonthStart(monthStart);\r\n monthEnd = this.adjustMonthEnd(monthEnd);\r\n\r\n\r\n const eventSearchRequest: EventSearchRequestDTO = {\r\n CalendarId: this.calendarReference?.MainCalendarKey,\r\n AdditionalCalendars: this.calendarConfig?.AdditionalCalendars || [],\r\n StartDateTime: convertToIsoDateTime(monthStart.format('MM/DD/YYYY'), false),\r\n EndDateTime: convertToIsoDateTime(monthEnd.format('MM/DD/YYYY'), false),\r\n };\r\n\r\n this.eventSearchRequests.push(eventSearchRequest);\r\n\r\n let calendarItemsOb = of([]);\r\n const checkRidesOb = this.examinerRepositoryService.getCheckRidesRequests(this.queryMetaData, eventSearchRequest.StartDateTime, eventSearchRequest.EndDateTime);\r\n\r\n if (this.calendarReference?.CalendarIsSetup) {\r\n const finalEventSearchRequest : EventSearchRequestDTO = {...eventSearchRequest,\r\n EndDateTime: convertToIsoDateTime(monthEnd.add(1, 'days').format('MM/DD/YYYY'), false)\r\n };\r\n\r\n calendarItemsOb = this.calendarRepositoryService.getEvents(finalEventSearchRequest);\r\n }\r\n\r\n combineLatest([calendarItemsOb, checkRidesOb])\r\n .subscribe(([calendarItems, checkRides]) => {\r\n const convertedEvents = this.convertEvents(calendarItems);\r\n\r\n this.addCheckRidesEvents(checkRides, convertedEvents);\r\n\r\n if (clearEvents) {\r\n this.events = [];\r\n }\r\n\r\n // Append events to the existing events\r\n this.events = [...this.events, ...convertedEvents];\r\n\r\n this.cdr.detectChanges();\r\n });\r\n }\r\n\r\n private getMonthStart(refDate: string): moment_.Moment {\r\n return getMomentValue(refDate, false, false).startOf('month').startOf('week');\r\n }\r\n\r\n private getMonthEnd(refDate: string): moment_.Moment {\r\n return getMomentValue(refDate, false, false).startOf('month').startOf('week').add(5, 'weeks').endOf('week');\r\n }\r\n\r\n private adjustMonthStart(refDate: moment_.Moment): moment_.Moment {\r\n const searchRequest = this.eventSearchRequests.find(r => this.isWithinRange(r, refDate.toISOString(), true));\r\n\r\n if (!searchRequest) {\r\n return refDate;\r\n }\r\n\r\n // use end date plus 1 day of search request\r\n const endDate = getMomentValue(searchRequest.EndDateTime, false, false).add(1, 'days');;\r\n\r\n return endDate;\r\n }\r\n\r\n private adjustMonthEnd(refDate: moment_.Moment): moment_.Moment {\r\n const searchRequest = this.eventSearchRequests.find(r => this.isWithinRange(r, refDate.toISOString(), true));\r\n\r\n if (!searchRequest) {\r\n return refDate;\r\n }\r\n\r\n // use start date minus one day of search request\r\n const endDate = getMomentValue(searchRequest.StartDateTime, false, false).add(-1, 'days');\r\n\r\n return endDate;\r\n }\r\n\r\n addCheckRidesEvents(checkRides: CheckRideRequestCalendarQueryEntity[], convertedEvents: CalendarWeekDayEvent[]) {\r\n checkRides.forEach(cr => {\r\n\r\n let existingCalendarEvent: CalendarWeekDayEvent;\r\n if (cr.CalendarEventReferenceKey) {\r\n existingCalendarEvent = convertedEvents.find(e => e.id == cr.CalendarEventReferenceKey);\r\n }\r\n\r\n const event = this.convertCheckRideEvent(cr, existingCalendarEvent);\r\n\r\n // only add if there isn't a calendar event already\r\n if (!existingCalendarEvent) {\r\n convertedEvents.push(event);\r\n }\r\n\r\n });\r\n }\r\n\r\n convertCheckRideEvent(cr: CheckRideRequestCalendarQueryEntity, existingCalendarEvent: CalendarWeekDayEvent): CalendarWeekDayEvent {\r\n //const start = convertToIsoDateTime(formatDateTimeToLocal(cr.ScheduledDateTime, true, true), true);\r\n\r\n const checkRideColor = this.getCheckRideColor(cr)\r\n\r\n const eventText = this.buildCheckrideEventText(cr);\r\n\r\n const event: CalendarWeekDayEvent = existingCalendarEvent || {\r\n id: `checkRideId:${cr.CheckRideRequestId}`,\r\n text: eventText, // `Checkride: ${cr.ApplicantNameApplicantFinalName || 'Not Set'}\\nStatus: ${cr.CheckRideRequestSubStatusIdDisplay}`,\r\n // start: start,\r\n // end: this.computeEndDateTime(start, cr.ScheduledTimeMinutes),\r\n barColor: checkRideColor,\r\n } as any;\r\n\r\n event.text = eventText;\r\n\r\n this.setCheckrideEventDates(event, cr);\r\n\r\n event.data = cr;\r\n\r\n event.backColor = checkRideColor;\r\n event.fontColor = '#ffffff';\r\n event.moveDisabled = false;\r\n\r\n event.bubbleHtml = this.buildBubble(cr);\r\n\r\n return event;\r\n }\r\n\r\n private buildCheckrideEventText(cr: CheckRideRequestCalendarQueryEntity): string {\r\n var parts = this.buildCheckrideDisplayParts(cr, false);\r\n\r\n parts = ['Checkride'].concat(parts);\r\n\r\n return parts.join('\\n');\r\n }\r\n\r\n \r\n private buildCheckrideDisplayParts(cr: CheckRideRequestCalendarQueryEntity, includeFullDetails:boolean): string[] {\r\n var parts = [];\r\n\r\n const fields = AppMetaData.Queries.CheckRideRequestCalendar.Attributes;\r\n\r\n //parts.push(`Checkride for ${cr.ApplicantNameApplicantFinalName || 'Not Set'}`);\r\n\r\n this.addField(parts, cr, fields.ApplicantNameApplicantFinalName);\r\n\r\n const inProposedStatus = cr.CheckRideRequestSubStatusId == CheckRideRequestSubStatusAllItems.NewDateProposedByExaminer;\r\n\r\n this.addField(parts, cr, fields.CheckRideRequestSubStatusId);\r\n\r\n if (inProposedStatus) {\r\n this.addField(parts, cr, fields.ProposedAirportId, 'Proposed Airport', fields.ScheduledAirportId);\r\n } else {\r\n this.addField(parts, cr, fields.ScheduledAirportId);\r\n }\r\n\r\n if (includeFullDetails) {\r\n this.addField(parts, cr, fields.CheckRideGroupId);\r\n this.addField(parts, cr, fields.CheckRideTypeId);\r\n this.addField(parts, cr, fields.CheckRideTestTypeId);\r\n this.addField(parts, cr, fields.AuthorityPreCheckRideNumber);\r\n }\r\n \r\n this.addField(parts, cr, fields.AuthorityApprovalCode, null, null, 'Not Set', !includeFullDetails);\r\n\r\n this.addField(parts, cr, fields.ApplicantNameApplicantFinalPhone);\r\n\r\n return parts;\r\n }\r\n\r\n setCheckrideEventDates(event: CalendarWeekDayEvent, checkride: CheckRideRequestCalendarQueryEntity) {\r\n let startDate = checkride.ScheduledDateTime;\r\n \r\n if (checkride.CheckRideRequestSubStatusId == CheckRideRequestSubStatusAllItems.NewDateProposedByExaminer) {\r\n startDate = checkride.ProposedDateTime;\r\n }\r\n \r\n const start = this.convertDateTime(startDate);\r\n\r\n event.start = start;\r\n event.end = this.computeEndDateTime(start, checkride.ScheduledTimeMinutes);\r\n }\r\n\r\n\r\n private buildBubble(cr: CheckRideRequestCalendarQueryEntity): string {\r\n\r\n var parts = this.buildCheckrideDisplayParts(cr, true);\r\n \r\n const rows: string[] = [];\r\n\r\n for (const fieldData of parts) {\r\n const row = `
${fieldData}
`\r\n \r\n rows.push(row)\r\n }\r\n\r\n return `
Checkride
${rows.join('')}
`;\r\n }\r\n\r\n // private buildBubbleOld(cr: CheckRideRequestCalendarQueryEntity): string {\r\n\r\n // const fields: string[] = [];\r\n\r\n // // fields.push(AppMetaData.CheckRideRequest.Attributes.StudentApplicantId.fieldName);\r\n // // fields.push(AppMetaData.CheckRideRequest.Attributes.CheckRideRequestSubStatusId.fieldName);\r\n // // fields.push(AppMetaData.CheckRideRequest.Attributes.ScheduledAirportId.fieldName);\r\n\r\n // fields.push(AppMetaData.Queries.CheckRideRequestCalendar.Attributes.ApplicantNameApplicantFinalName.fieldName);\r\n // fields.push(AppMetaData.Queries.CheckRideRequestCalendar.Attributes.CheckRideRequestSubStatusId.fieldName);\r\n // fields.push(AppMetaData.Queries.CheckRideRequestCalendar.Attributes.ScheduledAirportId.fieldName);\r\n // fields.push(AppMetaData.Queries.CheckRideRequestCalendar.Attributes.AuthorityApprovalCode.fieldName);\r\n \r\n // const rows: string[] = [];\r\n // for (const field of fields) {\r\n // const row = this.buildDataRow(cr, field);\r\n // rows.push(row)\r\n // }\r\n\r\n // return `
Checkride
${rows.join('')}
`;\r\n // }\r\n\r\n private buildDataRow(cr: CheckRideRequestCalendarQueryEntity, field: string): string {\r\n const attr = this.queryMetaData.Attributes.find(a => a.AttributeName == field);\r\n\r\n if (attr) {\r\n return `
${attr.AttributeDisplay}: ${cr[attr.DisplayAttributeName]}
`;\r\n }\r\n }\r\n\r\n private addField(fields:string[], cr: CheckRideRequestCalendarQueryEntity, field: string | DwItemAttribute, captionOverride?: string, altField?: string | DwItemAttribute, noDataText: string = 'Not Set', hideIfNoData: boolean = false) {\r\n let fieldInfo = this.getFieldData(cr, field, noDataText);\r\n let altFieldInfo = this.getFieldData(cr, altField, noDataText);\r\n\r\n if (!fieldInfo?.data && altFieldInfo) {\r\n fieldInfo = altFieldInfo;\r\n }\r\n\r\n if (fieldInfo) {\r\n\r\n if (!fieldInfo.data && hideIfNoData) {\r\n return;\r\n }\r\n const text = `${ captionOverride || fieldInfo.attr.AttributeDisplay}: ${fieldInfo.displayData}`;\r\n \r\n fields.push(text);\r\n }\r\n }\r\n\r\n\r\n // if (field instanceof DwItemAttribute) {\r\n // field = field.fieldName;\r\n // }\r\n\r\n // if (altField instanceof DwItemAttribute) {\r\n // altField = altField.fieldName;\r\n // }\r\n\r\n // const attr = this.queryMetaData.Attributes.find(a => a.AttributeName == field);\r\n // const altAttr = this.queryMetaData.Attributes.find(a => a.AttributeName == altField);\r\n\r\n // if (attr) {\r\n // const data = cr[attr.DisplayAttributeName] || 'Not Set';\r\n\r\n // const text = `${ captionOverride || attr.AttributeDisplay}: ${data}`;\r\n // fields.push(text);\r\n // }\r\n // }\r\n\r\n private getFieldData(cr: CheckRideRequestCalendarQueryEntity, field: string | DwItemAttribute, noDataText: string = 'Not Set'): { attr: DwQueryMdAttribute, data: string, displayData: string } {\r\n if (field instanceof DwItemAttribute) {\r\n field = field.fieldName;\r\n }\r\n\r\n const attr = this.queryMetaData.Attributes.find(a => a.AttributeName == field);\r\n\r\n if (attr) {\r\n\r\n let data = cr[attr.DisplayAttributeName];\r\n\r\n if (data?.length ==0) {\r\n data = null;\r\n }\r\n return {\r\n attr: attr,\r\n data: data,\r\n displayData: data || noDataText,\r\n \r\n };\r\n }\r\n \r\n return null;\r\n }\r\n\r\n requiresActionEventColor = '#ffa500';\r\n noActionRequiredEventColor = 'green';\r\n\r\n getCheckRideColor(cr: CheckRideRequestCalendarQueryEntity) {\r\n switch (cr.CheckRideRequestSubStatusId) {\r\n case CheckRideRequestSubStatusAllItems.PendingApproval:\r\n case CheckRideRequestSubStatusAllItems.NewDateProposedByExaminer:\r\n case CheckRideRequestSubStatusAllItems.PendingOutcome:\r\n case CheckRideRequestSubStatusAllItems.AcceptedPendingPayment:\r\n case CheckRideRequestSubStatusAllItems.AdditionalInformationNeeded:\r\n case CheckRideRequestSubStatusAllItems.RequiresAdditionalInfo:\r\n case CheckRideRequestSubStatusAllItems.PendingPayment:\r\n return this.requiresActionEventColor;\r\n default:\r\n return this.noActionRequiredEventColor;\r\n }\r\n }\r\n\r\n computeEndDateTime(ScheduledDateTime: string, ScheduledTimeMinutes: number) {\r\n const start = getMomentValue(ScheduledDateTime, true, true);\r\n\r\n const end = start.add(ScheduledTimeMinutes, 'minutes');\r\n\r\n return end.toISOString();\r\n }\r\n\r\n convertEvents(events: CalendarEventDTO[]): CalendarWeekDayEvent[] {\r\n\r\n return events.map(e => this.convertEvent(e))\r\n // remove blank events\r\n .filter(e => e);\r\n }\r\n\r\n private convertDateTime(value: string): string {\r\n if (!value) {\r\n return value;\r\n }\r\n\r\n\r\n //let momentValue = getMomentValue(value, true, true);\r\n\r\n const localTime = formatDateTimeToLocal(value, true, true);\r\n\r\n let momentValue = getMomentValue(localTime, true, true);\r\n\r\n //momentValue.add(-5, 'hours');\r\n\r\n let convertedDateTime = momentValue.toISOString(true);\r\n\r\n return convertedDateTime;\r\n }\r\n\r\n convertEvent(e: CalendarEventDTO): CalendarWeekDayEvent {\r\n let calendar = this.allCalendars.find(c => c.Id == e.CalendarId);\r\n\r\n if (!calendar) {\r\n calendar = this.allCalendars.find(c => c.Id == this.calendarReference?.MainCalendarKey);\r\n }\r\n\r\n const event: CalendarWeekDayEvent = {\r\n id: e.Id,\r\n text: e.Name,\r\n start: this.convertEventDateTime(e.Start),\r\n end: this.convertEventDateTime(e.End),\r\n barColor: calendar.Color?.BackgroundColor,\r\n allday: e.AllDayEvent,\r\n moveDisabled: true\r\n };\r\n\r\n switch(e.Status) {\r\n case CalendarEventStatus.cancelled:\r\n return null;\r\n case CalendarEventStatus.tenative:\r\n event.text = `${event.text} (Tentative)`\r\n break;\r\n }\r\n\r\n if (e.AllDayEvent) {\r\n event.allday = false;\r\n \r\n event.start = this.convertEventDateTime(e.Start, '00:00') \r\n event.end = this.convertEventDateTime(e.End, '23:59') \r\n }\r\n\r\n if (e.Color) {\r\n event.fontColor = e.Color.ForegroundColor;\r\n event.backColor = e.Color.BackgroundColor\r\n } else {\r\n event.fontColor = this.getForegroundColor(calendar.Color?.ForegroundColor);\r\n event.backColor = calendar.Color?.BackgroundColor;\r\n }\r\n\r\n event.fontColor = this.getForegroundColor(event.fontColor);\r\n\r\n if (event.barColor == event.backColor) {\r\n event.barColor = '#ffffff';\r\n }\r\n\r\n event.bubbleHtml = `
${e.Name}
`;\r\n\r\n if (e.Description) event.bubbleHtml += `
${e.Description}
`\r\n\r\n if (e.Transparency) {\r\n event.text = `${event.text} (Free)`\r\n event.bubbleHtml += `
Event is marked as Free time
`\r\n }\r\n\r\n if (e.HtmlLink) {\r\n const htmlId = e.HtmlLink.split('eid=')[1];\r\n const linkUrl = `https://calendar.google.com/calendar/u/1/r/eventedit/${htmlId}`;\r\n\r\n event.bubbleHtml += `
View in Google Calendar`;\r\n }\r\n\r\n event.bubbleHtml += `
`\r\n\r\n return event;\r\n }\r\n\r\n private getForegroundColor(color: string): string {\r\n return '#fff';\r\n\r\n }\r\n\r\n private convertEventDateTime(eventDate: EventDateTimeDTO, forceTimeForDateOnly?: string): string {\r\n if (eventDate?.DateTime) {\r\n return convertToIsoDateTime(formatDateTimeToLocal(eventDate.DateTimeRaw, true, true), true);\r\n }\r\n\r\n if (eventDate?.Date) {\r\n let date = eventDate.Date;\r\n\r\n if (forceTimeForDateOnly) {\r\n date = `${date} ${forceTimeForDateOnly}`; \r\n }\r\n\r\n return convertToIsoDateTime(formatDateTimeToLocal(date, true, true), true);\r\n }\r\n\r\n return null;\r\n }\r\n\r\n\r\n private setCalendarOptions() {\r\n this.options = {\r\n startDate: convertToIsoDateTime(moment().format(\"MM/DD/YYYY\"), false),\r\n };\r\n\r\n };\r\n\r\n}\r\n\r\n\r\n","\r\n \r\n\r\n \r\n

\r\n \r\n Booking Calendar\r\n \r\n

\r\n\r\n \r\n Here you see a calendar with all of your scheduled checkrides.\r\n \r\n\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n \r\n\r\n
\r\n Checkrides
\r\n
\r\n
\r\n\r\n
Pilexos Checkride - Action Required
\r\n
\r\n
\r\n
\r\n\r\n
Pilexos Checkride - All good
\r\n
\r\n
\r\n\r\n
0\" class=\"mt-1\">\r\n My Calendars
\r\n\r\n \r\n
\r\n
\r\n\r\n
{{cal.Name}}
\r\n
\r\n
\r\n
\r\n \r\n\r\n
\r\n\r\n \r\n {{selectedEvent | json}}\r\n \r\n\r\n \r\n

Check Ride Request

\r\n \r\n
\r\n\r\n\r\n\r\n\r\n
\r\n
","var map = {\n\t\"./af\": \"K/tc\",\n\t\"./af.js\": \"K/tc\",\n\t\"./ar\": \"jnO4\",\n\t\"./ar-dz\": \"o1bE\",\n\t\"./ar-dz.js\": \"o1bE\",\n\t\"./ar-kw\": \"Qj4J\",\n\t\"./ar-kw.js\": \"Qj4J\",\n\t\"./ar-ly\": \"HP3h\",\n\t\"./ar-ly.js\": \"HP3h\",\n\t\"./ar-ma\": \"CoRJ\",\n\t\"./ar-ma.js\": \"CoRJ\",\n\t\"./ar-sa\": \"gjCT\",\n\t\"./ar-sa.js\": \"gjCT\",\n\t\"./ar-tn\": \"bYM6\",\n\t\"./ar-tn.js\": \"bYM6\",\n\t\"./ar.js\": \"jnO4\",\n\t\"./az\": \"SFxW\",\n\t\"./az.js\": \"SFxW\",\n\t\"./be\": \"H8ED\",\n\t\"./be.js\": \"H8ED\",\n\t\"./bg\": \"hKrs\",\n\t\"./bg.js\": \"hKrs\",\n\t\"./bm\": \"p/rL\",\n\t\"./bm.js\": \"p/rL\",\n\t\"./bn\": \"kEOa\",\n\t\"./bn-bd\": \"loYQ\",\n\t\"./bn-bd.js\": \"loYQ\",\n\t\"./bn.js\": \"kEOa\",\n\t\"./bo\": \"0mo+\",\n\t\"./bo.js\": \"0mo+\",\n\t\"./br\": \"aIdf\",\n\t\"./br.js\": \"aIdf\",\n\t\"./bs\": \"JVSJ\",\n\t\"./bs.js\": \"JVSJ\",\n\t\"./ca\": \"1xZ4\",\n\t\"./ca.js\": \"1xZ4\",\n\t\"./cs\": \"PA2r\",\n\t\"./cs.js\": \"PA2r\",\n\t\"./cv\": \"A+xa\",\n\t\"./cv.js\": \"A+xa\",\n\t\"./cy\": \"l5ep\",\n\t\"./cy.js\": \"l5ep\",\n\t\"./da\": \"DxQv\",\n\t\"./da.js\": \"DxQv\",\n\t\"./de\": \"tGlX\",\n\t\"./de-at\": \"s+uk\",\n\t\"./de-at.js\": \"s+uk\",\n\t\"./de-ch\": \"u3GI\",\n\t\"./de-ch.js\": \"u3GI\",\n\t\"./de.js\": \"tGlX\",\n\t\"./dv\": \"WYrj\",\n\t\"./dv.js\": \"WYrj\",\n\t\"./el\": \"jUeY\",\n\t\"./el.js\": \"jUeY\",\n\t\"./en-au\": \"Dmvi\",\n\t\"./en-au.js\": \"Dmvi\",\n\t\"./en-ca\": \"OIYi\",\n\t\"./en-ca.js\": \"OIYi\",\n\t\"./en-gb\": \"Oaa7\",\n\t\"./en-gb.js\": \"Oaa7\",\n\t\"./en-ie\": \"4dOw\",\n\t\"./en-ie.js\": \"4dOw\",\n\t\"./en-il\": \"czMo\",\n\t\"./en-il.js\": \"czMo\",\n\t\"./en-in\": \"7C5Q\",\n\t\"./en-in.js\": \"7C5Q\",\n\t\"./en-nz\": \"b1Dy\",\n\t\"./en-nz.js\": \"b1Dy\",\n\t\"./en-sg\": \"t+mt\",\n\t\"./en-sg.js\": \"t+mt\",\n\t\"./eo\": \"Zduo\",\n\t\"./eo.js\": \"Zduo\",\n\t\"./es\": \"iYuL\",\n\t\"./es-do\": \"CjzT\",\n\t\"./es-do.js\": \"CjzT\",\n\t\"./es-mx\": \"tbfe\",\n\t\"./es-mx.js\": \"tbfe\",\n\t\"./es-us\": \"Vclq\",\n\t\"./es-us.js\": \"Vclq\",\n\t\"./es.js\": \"iYuL\",\n\t\"./et\": \"7BjC\",\n\t\"./et.js\": \"7BjC\",\n\t\"./eu\": \"D/JM\",\n\t\"./eu.js\": \"D/JM\",\n\t\"./fa\": \"jfSC\",\n\t\"./fa.js\": \"jfSC\",\n\t\"./fi\": \"gekB\",\n\t\"./fi.js\": \"gekB\",\n\t\"./fil\": \"1ppg\",\n\t\"./fil.js\": \"1ppg\",\n\t\"./fo\": \"ByF4\",\n\t\"./fo.js\": \"ByF4\",\n\t\"./fr\": \"nyYc\",\n\t\"./fr-ca\": \"2fjn\",\n\t\"./fr-ca.js\": \"2fjn\",\n\t\"./fr-ch\": \"Dkky\",\n\t\"./fr-ch.js\": \"Dkky\",\n\t\"./fr.js\": \"nyYc\",\n\t\"./fy\": \"cRix\",\n\t\"./fy.js\": \"cRix\",\n\t\"./ga\": \"USCx\",\n\t\"./ga.js\": \"USCx\",\n\t\"./gd\": \"9rRi\",\n\t\"./gd.js\": \"9rRi\",\n\t\"./gl\": \"iEDd\",\n\t\"./gl.js\": \"iEDd\",\n\t\"./gom-deva\": \"qvJo\",\n\t\"./gom-deva.js\": \"qvJo\",\n\t\"./gom-latn\": \"DKr+\",\n\t\"./gom-latn.js\": \"DKr+\",\n\t\"./gu\": \"4MV3\",\n\t\"./gu.js\": \"4MV3\",\n\t\"./he\": \"x6pH\",\n\t\"./he.js\": \"x6pH\",\n\t\"./hi\": \"3E1r\",\n\t\"./hi.js\": \"3E1r\",\n\t\"./hr\": \"S6ln\",\n\t\"./hr.js\": \"S6ln\",\n\t\"./hu\": \"WxRl\",\n\t\"./hu.js\": \"WxRl\",\n\t\"./hy-am\": \"1rYy\",\n\t\"./hy-am.js\": \"1rYy\",\n\t\"./id\": \"UDhR\",\n\t\"./id.js\": \"UDhR\",\n\t\"./is\": \"BVg3\",\n\t\"./is.js\": \"BVg3\",\n\t\"./it\": \"bpih\",\n\t\"./it-ch\": \"bxKX\",\n\t\"./it-ch.js\": \"bxKX\",\n\t\"./it.js\": \"bpih\",\n\t\"./ja\": \"B55N\",\n\t\"./ja.js\": \"B55N\",\n\t\"./jv\": \"tUCv\",\n\t\"./jv.js\": \"tUCv\",\n\t\"./ka\": \"IBtZ\",\n\t\"./ka.js\": \"IBtZ\",\n\t\"./kk\": \"bXm7\",\n\t\"./kk.js\": \"bXm7\",\n\t\"./km\": \"6B0Y\",\n\t\"./km.js\": \"6B0Y\",\n\t\"./kn\": \"PpIw\",\n\t\"./kn.js\": \"PpIw\",\n\t\"./ko\": \"Ivi+\",\n\t\"./ko.js\": \"Ivi+\",\n\t\"./ku\": \"JCF/\",\n\t\"./ku.js\": \"JCF/\",\n\t\"./ky\": \"lgnt\",\n\t\"./ky.js\": \"lgnt\",\n\t\"./lb\": \"RAwQ\",\n\t\"./lb.js\": \"RAwQ\",\n\t\"./lo\": \"sp3z\",\n\t\"./lo.js\": \"sp3z\",\n\t\"./lt\": \"JvlW\",\n\t\"./lt.js\": \"JvlW\",\n\t\"./lv\": \"uXwI\",\n\t\"./lv.js\": \"uXwI\",\n\t\"./me\": \"KTz0\",\n\t\"./me.js\": \"KTz0\",\n\t\"./mi\": \"aIsn\",\n\t\"./mi.js\": \"aIsn\",\n\t\"./mk\": \"aQkU\",\n\t\"./mk.js\": \"aQkU\",\n\t\"./ml\": \"AvvY\",\n\t\"./ml.js\": \"AvvY\",\n\t\"./mn\": \"lYtQ\",\n\t\"./mn.js\": \"lYtQ\",\n\t\"./mr\": \"Ob0Z\",\n\t\"./mr.js\": \"Ob0Z\",\n\t\"./ms\": \"6+QB\",\n\t\"./ms-my\": \"ZAMP\",\n\t\"./ms-my.js\": \"ZAMP\",\n\t\"./ms.js\": \"6+QB\",\n\t\"./mt\": \"G0Uy\",\n\t\"./mt.js\": \"G0Uy\",\n\t\"./my\": \"honF\",\n\t\"./my.js\": \"honF\",\n\t\"./nb\": \"bOMt\",\n\t\"./nb.js\": \"bOMt\",\n\t\"./ne\": \"OjkT\",\n\t\"./ne.js\": \"OjkT\",\n\t\"./nl\": \"+s0g\",\n\t\"./nl-be\": \"2ykv\",\n\t\"./nl-be.js\": \"2ykv\",\n\t\"./nl.js\": \"+s0g\",\n\t\"./nn\": \"uEye\",\n\t\"./nn.js\": \"uEye\",\n\t\"./oc-lnc\": \"Fnuy\",\n\t\"./oc-lnc.js\": \"Fnuy\",\n\t\"./pa-in\": \"8/+R\",\n\t\"./pa-in.js\": \"8/+R\",\n\t\"./pl\": \"jVdC\",\n\t\"./pl.js\": \"jVdC\",\n\t\"./pt\": \"8mBD\",\n\t\"./pt-br\": \"0tRk\",\n\t\"./pt-br.js\": \"0tRk\",\n\t\"./pt.js\": \"8mBD\",\n\t\"./ro\": \"lyxo\",\n\t\"./ro.js\": \"lyxo\",\n\t\"./ru\": \"lXzo\",\n\t\"./ru.js\": \"lXzo\",\n\t\"./sd\": \"Z4QM\",\n\t\"./sd.js\": \"Z4QM\",\n\t\"./se\": \"//9w\",\n\t\"./se.js\": \"//9w\",\n\t\"./si\": \"7aV9\",\n\t\"./si.js\": \"7aV9\",\n\t\"./sk\": \"e+ae\",\n\t\"./sk.js\": \"e+ae\",\n\t\"./sl\": \"gVVK\",\n\t\"./sl.js\": \"gVVK\",\n\t\"./sq\": \"yPMs\",\n\t\"./sq.js\": \"yPMs\",\n\t\"./sr\": \"zx6S\",\n\t\"./sr-cyrl\": \"E+lV\",\n\t\"./sr-cyrl.js\": \"E+lV\",\n\t\"./sr.js\": \"zx6S\",\n\t\"./ss\": \"Ur1D\",\n\t\"./ss.js\": \"Ur1D\",\n\t\"./sv\": \"X709\",\n\t\"./sv.js\": \"X709\",\n\t\"./sw\": \"dNwA\",\n\t\"./sw.js\": \"dNwA\",\n\t\"./ta\": \"PeUW\",\n\t\"./ta.js\": \"PeUW\",\n\t\"./te\": \"XLvN\",\n\t\"./te.js\": \"XLvN\",\n\t\"./tet\": \"V2x9\",\n\t\"./tet.js\": \"V2x9\",\n\t\"./tg\": \"Oxv6\",\n\t\"./tg.js\": \"Oxv6\",\n\t\"./th\": \"EOgW\",\n\t\"./th.js\": \"EOgW\",\n\t\"./tk\": \"Wv91\",\n\t\"./tk.js\": \"Wv91\",\n\t\"./tl-ph\": \"Dzi0\",\n\t\"./tl-ph.js\": \"Dzi0\",\n\t\"./tlh\": \"z3Vd\",\n\t\"./tlh.js\": \"z3Vd\",\n\t\"./tr\": \"DoHr\",\n\t\"./tr.js\": \"DoHr\",\n\t\"./tzl\": \"z1FC\",\n\t\"./tzl.js\": \"z1FC\",\n\t\"./tzm\": \"wQk9\",\n\t\"./tzm-latn\": \"tT3J\",\n\t\"./tzm-latn.js\": \"tT3J\",\n\t\"./tzm.js\": \"wQk9\",\n\t\"./ug-cn\": \"YRex\",\n\t\"./ug-cn.js\": \"YRex\",\n\t\"./uk\": \"raLr\",\n\t\"./uk.js\": \"raLr\",\n\t\"./ur\": \"UpQW\",\n\t\"./ur.js\": \"UpQW\",\n\t\"./uz\": \"Loxo\",\n\t\"./uz-latn\": \"AQ68\",\n\t\"./uz-latn.js\": \"AQ68\",\n\t\"./uz.js\": \"Loxo\",\n\t\"./vi\": \"KSF8\",\n\t\"./vi.js\": \"KSF8\",\n\t\"./x-pseudo\": \"/X5v\",\n\t\"./x-pseudo.js\": \"/X5v\",\n\t\"./yo\": \"fzPg\",\n\t\"./yo.js\": \"fzPg\",\n\t\"./zh-cn\": \"XDpg\",\n\t\"./zh-cn.js\": \"XDpg\",\n\t\"./zh-hk\": \"SatO\",\n\t\"./zh-hk.js\": \"SatO\",\n\t\"./zh-mo\": \"OmwH\",\n\t\"./zh-mo.js\": \"OmwH\",\n\t\"./zh-tw\": \"kOpN\",\n\t\"./zh-tw.js\": \"kOpN\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"RnhZ\";","import { Injectable } from \"@angular/core\";\r\nimport { DwAction, DwActionHandler, DwActionResult, DwActionType, DwMdFormActionState, DwMdFormContextInfo, DwModalButtonStandardConfigs, DwModalConfig, DwModalService, DwModalSize, DwRoutingService } from \"@devwareapps/devware-cap\";\r\nimport { Observable, of } from \"rxjs\";\r\nimport { ApplicantAcsWrittenResultEntity, AppMetaDataItemNames, CheckRideRequestEntity, CheckRideRequestStatusAllItems, CheckRideRequestSubStatusAllItems, PlanOfActionDetailsQueryEntity, PlanOfActionEntity, PlanOfActionSectionEntity, PlanOfActionStatusAllItems } from \"../../../meta-data/app-meta-data.service\";\r\nimport { PlanOfActionRepositoryService } from \"../services/plan-of-action-repository.service\";\r\nimport { GenerateSectionsModalComponent } from \"../components/generate-sections-modal/generate-sections-modal.component\";\r\nimport { map, tap } from \"rxjs/operators\";\r\nimport { PlanOfActionGeneratorService } from \"../services/plan-of-action-generator.service\";\r\nimport { GenerateQuestionsModalComponent } from \"../components/generate-questions-modal/generate-questions-modal.component\";\r\nimport { AcsCodeSelectionModalOptions, AcsCodeSelectionModalResult } from \"../models/acs-code-selection-modal-options.model\";\r\nimport { AcsCodeStatuses } from \"../models/acs-code-items.model\";\r\n\r\n@DwAction({\r\n keyName: 'checkride-save-and-goto -poa',\r\n display: 'Save Checkride and Goto Plan Of Action',\r\n actionType: DwActionType.formAction,\r\n isGlobal: false,\r\n parentItemName: [AppMetaDataItemNames.PlanOfAction],\r\n allowOnce: true,\r\n defaultButtonConfig: {\r\n useButtonDefaults: false,\r\n useParentDisplay: false,\r\n buttonText: 'Go to Plan Of Action',\r\n buttonClass: 'btn btn-warning mr-1 mt-1',\r\n iconClass: 'fa fa-map'\r\n },\r\n configData: {\r\n requireValidation: true,\r\n redirectAfter: false,\r\n actionMessage: 'Saving...',\r\n }\r\n})\r\n@Injectable()\r\nexport class CheckrideSaveAndGotoPOAActionService implements DwActionHandler {\r\n\r\n constructor(private dwRoutingService: DwRoutingService) { }\r\n\r\n handleAction(actionState: DwMdFormActionState): Observable {\r\n\r\n return actionState.formApi.saveData(true)\r\n .pipe(map((result) => {\r\n const checkrideRequest: CheckRideRequestEntity = result.saveResult;\r\n\r\n const url = `/plan-of-action/plans/edit/${checkrideRequest.PlanOfAction.PlanOfActionId}`;\r\n\r\n this.dwRoutingService.navigateToUrl(url, null);\r\n\r\n return result;\r\n }));\r\n }\r\n\r\n}","import { Injectable } from \"@angular/core\";\r\nimport { DwChartConfig, DwChartPreferences, DwChartTypes } from \"../models/dw-chart-preferences.model\";\r\nimport { DwGridConfig, DwGridHeightMode, DwGridPreferences, DwMetaDataGridPreferences, DwMetaDataGridViewPreference, DwQuery } from \"@devwareapps/devware-cap\";\r\nimport { DwChartColors, DwChartColors2, DwChartColors3 } from \"../models/dw-chart-colors.model\";\r\n\r\n\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class DwChartBuilderService {\r\n\r\n colors = DwChartColors;\r\n\r\n buildChartConfig(chartPreference: DwChartPreferences, data: any[]): DwChartConfig {\r\n\r\n const chartConfig: DwChartConfig = {\r\n chartType: this.convertChartType(chartPreference.chartType),\r\n chartOptions: {\r\n title: {\r\n display: false,\r\n text: 'Checkride Types',\r\n color: '#ffffff',\r\n fontSize: 18,\r\n position: 'top'\r\n },\r\n legend: {\r\n display: !chartPreference.hideLegend,\r\n position: 'bottom'\r\n },\r\n },\r\n chartData: {\r\n labels: this.getDataForSeries(chartPreference.categoryField, data, chartPreference.maxItemsToShow),\r\n datasets: []\r\n }\r\n };\r\n\r\n let hasY2Axis = false;\r\n\r\n for (const series of chartPreference.series) {\r\n const dataSet: any = {\r\n type: this.convertChartType(series.chartType),\r\n label: series.legendDisplay,\r\n backgroundColor: series.backgroundColor || series.borderColor,\r\n borderColor: series.borderColor || series.backgroundColor,\r\n fill: false,\r\n data: this.getDataForSeries(series.dataField, data, chartPreference.maxItemsToShow)\r\n };\r\n\r\n if (series.alternateColors) {\r\n dataSet.backgroundColor = [...this.colors, ...DwChartColors2, ...this.colors]; \r\n }\r\n\r\n if (series.axis === 'y2') {\r\n hasY2Axis = true; \r\n dataSet.yAxisID = 'y2';\r\n }\r\n\r\n chartConfig.chartData.datasets.push(dataSet);\r\n }\r\n\r\n if (hasY2Axis) {\r\n chartConfig.chartOptions.scales = {\r\n yAxes: [{\r\n type: 'linear',\r\n position: 'left',\r\n // options: {\r\n // ticks: {\r\n // beginAtZero: true,\r\n // }\r\n // },\r\n ticks: {\r\n beginAtZero: true,\r\n },\r\n // gridLines: {\r\n // // color: 'blue'\r\n // }\r\n },\r\n {\r\n type: 'linear',\r\n position: 'right',\r\n id: 'y2',\r\n ticks: {\r\n beginAtZero: true,\r\n key: 'Anthony-test-3'\r\n },\r\n gridLines: {\r\n color: 'green',\r\n display: false,\r\n }\r\n }\r\n ]\r\n };\r\n } else {\r\n this.setupBarColumnSingleAxis(chartPreference, chartConfig);\r\n }\r\n\r\n return chartConfig;\r\n }\r\n setupBarColumnSingleAxis(chartPreference: DwChartPreferences, chartConfig: DwChartConfig) {\r\n\r\n switch(chartPreference.chartType) {\r\n case DwChartTypes.bar:\r\n chartConfig.chartOptions.scales = {\r\n yAxes: [\r\n {\r\n ticks: {\r\n beginAtZero: true,\r\n },\r\n },\r\n ]\r\n };\r\n break;\r\n case DwChartTypes.column:\r\n \r\n chartConfig.chartOptions.scales = {\r\n xAxes: [\r\n {\r\n ticks: {\r\n beginAtZero: true,\r\n },\r\n },\r\n ]\r\n };\r\n break;\r\n }\r\n\r\n }\r\n\r\n private convertChartType(chartType: DwChartTypes): string {\r\n switch (chartType) {\r\n case DwChartTypes.bar:\r\n return 'bar';\r\n case DwChartTypes.line:\r\n return 'line';\r\n case DwChartTypes.pie:\r\n return 'pie';\r\n case DwChartTypes.column:\r\n //return 'bar';\r\n return 'horizontalBar';\r\n case DwChartTypes.doughnut:\r\n return 'doughnut';\r\n case DwChartTypes.polarArea:\r\n return 'polarArea';\r\n case DwChartTypes.radar:\r\n return 'radar';\r\n }\r\n\r\n }\r\n\r\n\r\n buildGridPreferences(chartPreferences: DwChartPreferences, query: DwQuery): any {\r\n const gridPreferences = new DwMetaDataGridPreferences();\r\n\r\n gridPreferences.passCurrentDataSource = false;\r\n\r\n gridPreferences.showDisplayProperties = query?.FieldSettings?.LoadAllLookupDisplayFields;\r\n\r\n gridPreferences.showFooter = true;\r\n gridPreferences.loadTotalRowCount = true;\r\n\r\n gridPreferences.hideAdd = true;\r\n gridPreferences.hideEditButton = true;\r\n gridPreferences.hideDeleteButton = true;\r\n gridPreferences.hideRefresh = true;\r\n gridPreferences.hideExport = false;\r\n gridPreferences.showFilter = true;\r\n gridPreferences.showFilterOnLoad = true;\r\n gridPreferences.gridStyle = {\r\n gridHeight: '300',\r\n gridHeightMode: DwGridHeightMode.fixedHeight,\r\n gridStyleName: 'Simple',\r\n }\r\n\r\n const view: DwMetaDataGridViewPreference =\r\n {\r\n columnPreferences: [],\r\n actionPreferences: {},\r\n display: 'Default',\r\n filters: null,\r\n item: query.RootTable,\r\n useCustomActions: true,\r\n isDefault: true,\r\n query: query,\r\n includeAllFields: true\r\n };\r\n\r\n gridPreferences.views = [view];\r\n\r\n if (chartPreferences.gridPreferences?.columnPreferences) {\r\n view.columnPreferences = chartPreferences.gridPreferences.columnPreferences;\r\n } else {\r\n // Add Columns\r\n view.columnPreferences.push({\r\n field: chartPreferences.categoryField,\r\n label: chartPreferences.categoryDisplay,\r\n width: chartPreferences.gridPreferences?.categoryColumnWidth || 200,\r\n columnIndex: 0,\r\n });\r\n\r\n // Add Series Field\r\n for (const series of chartPreferences.series) {\r\n view.columnPreferences.push({\r\n field: series.dataField,\r\n label: series.legendDisplay,\r\n width: chartPreferences.gridPreferences?.aggregateColumnWidth || 100,\r\n columnIndex: view.columnPreferences.length,\r\n });\r\n }\r\n }\r\n return gridPreferences;\r\n }\r\n\r\n\r\n private getDataForSeries(fieldName: string, financialData: any[], maxItemsToShow: number): any[] {\r\n const seriesData: any[] = [];\r\n\r\n if (maxItemsToShow) {\r\n financialData = [...financialData];\r\n financialData.length = maxItemsToShow;\r\n }\r\n\r\n for (const data of financialData) {\r\n seriesData.push(data[fieldName]);\r\n }\r\n\r\n\r\n return seriesData;\r\n }\r\n\r\n\r\n\r\n}","import { Component, EventEmitter, Inject, OnInit, SimpleChanges } from '@angular/core';\r\nimport { FormGroup, FormControl } from '@angular/forms';\r\nimport { DwComponent, DwComponentType, DwContainerOptions, DwContext, DwExpressionService, DwMessage, DwMessageSeverity, DwMetaDataFormConfig, DwMetaDataFormStateService, DwMetaDataService, DwMetaDataServiceToken, DwSectionBaseComponent, DwSectionBasePreference, DwUIMetaDataConfig, DwUIMetaDataConfigToken, DwUiConfigRegistryService } from '@devwareapps/devware-cap';\r\nimport { Observable, Subscription } from 'rxjs';\r\nimport { ExaminerRepositoryService } from '../../../examiner/services/examiner-repository.service';\r\nimport { AppMetaData, AppMetaDataItemNames, CheckRideRequestEntity, PilotExaminerLocationEntity, PilotExaminerSearchQueryEntity } from '../../../../meta-data/app-meta-data.service';\r\nimport { ExaminerLocationSearchRequest } from '../../../examiner/models/examiner-location-search-request.model';\r\nimport { ExaminerLocationSelection } from '../../../examiner/models/exminer-location-selection.model';\r\nimport { tap } from 'rxjs/operators';\r\n\r\n@DwComponent({\r\n key: 'examiner-booking-assigned',\r\n name: 'Examiner Booking Assigment',\r\n componentType: DwComponentType.formSection,\r\n parentItemName: AppMetaDataItemNames.CheckRideRequest,\r\n isGlobal: false\r\n})\r\n\r\n@Component({\r\n selector: 'app-examiner-booking-assigned',\r\n templateUrl: './examiner-booking-assigned.component.html',\r\n styleUrls: ['./examiner-booking-assigned.component.scss']\r\n})\r\nexport class ExaminerBookingAssignedComponent extends DwSectionBaseComponent {\r\n\r\n loading: boolean = false;\r\n loadingMessage: string;\r\n\r\n message: DwMessage = null;\r\n\r\n showSearch: boolean = true;\r\n searchResults: PilotExaminerSearchQueryEntity[];\r\n\r\n examinerLocationSelection: ExaminerLocationSelection;\r\n\r\n initComplete = false;\r\n checkRideRequest: CheckRideRequestEntity;\r\n\r\n constructor(\r\n dwExpressionService: DwExpressionService,\r\n dwUiConfigRegistryService: DwUiConfigRegistryService,\r\n @Inject(DwUIMetaDataConfigToken) uiMetaDataConfig: DwUIMetaDataConfig,\r\n @Inject(DwMetaDataServiceToken) dwMetaDataService: DwMetaDataService,\r\n private dwMetaDataFormStateService: DwMetaDataFormStateService,\r\n private examinerRepositoryService: ExaminerRepositoryService\r\n ) {\r\n super(dwExpressionService, dwUiConfigRegistryService, uiMetaDataConfig, dwMetaDataService);\r\n }\r\n\r\n setupComponentComplete() {\r\n this.setupDataWatch();\r\n }\r\n\r\n setupDataWatch() {\r\n this.dwMetaDataFormStateService.state.formApi.getFormDataChanges(100)\r\n .subscribe(dataChange => {\r\n if (!this.searchResults && this.dwMetaDataFormStateService.state.formApi.isDataLoadComplete) {\r\n this.dataUpdated();\r\n }\r\n });\r\n\r\n if (this.dwMetaDataFormStateService.state.formApi.isDataLoadComplete) {\r\n this.dataUpdated();\r\n }\r\n }\r\n\r\n private dataUpdated() {\r\n this.checkRideRequest = this.dwMetaDataFormStateService.state.formApi.getFormData();\r\n\r\n\r\n\r\n\r\n }\r\n}\r\n","\r\n
\r\n
\r\n
\r\n
\r\n
{{searchResult.UserIdDisplay}}
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n {{searchResult.LocationDistancesAirportIdDisplay}}\r\n
\r\n
\r\n
\r\n {{searchResult.LocationDistancesDistance | number: '1.0-0'}} miles\r\n
\r\n
\r\n
\r\n {{searchResult.ScenarioTimeRequiredHours}} hours\r\n
\r\n
\r\n
\r\n {{checkrideCost | currency}}\r\n
\r\n
\r\n
\r\n {{searchResult.AirportAddressTimezoneIdDisplay}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { PaymentChargeRequest } from '../../models/payment-charge-request.model';\r\nimport { environment } from '../../../../../environments/environment';\r\nimport { AppMetaDataLookups, CheckRideRequestPaymentPartyAllItems } from '../../../../meta-data/app-meta-data.service';\r\nimport { PaymentRepositoryService } from '../../services/payment-repository.service';\r\nimport { PaymentDiscountResult } from '../../models/payment-discount-result.model';\r\n\r\n@Component({\r\n selector: 'app-payment-info',\r\n templateUrl: './payment-info.component.html',\r\n styleUrls: ['./payment-info.component.scss']\r\n})\r\nexport class PaymentInfoComponent implements OnInit {\r\n showAddTestCardInfo: boolean = false;\r\n @Input() chargeRequest: PaymentChargeRequest;\r\n @Output() chargeRequestChange = new EventEmitter();\r\n\r\n @Input() additionalMessage: string;\r\n @Input() showPaymentParty: boolean = false;\r\n\r\n payWithApplicantCard = false;\r\n \r\n years: string[] = [];\r\n\r\n paymentPartyLookupId = AppMetaDataLookups.CheckRideRequestPaymentPartyAllItems;\r\n\r\n @Input() paymentDiscountResult: PaymentDiscountResult;\r\n @Output() paymentDiscountResultChange = new EventEmitter();\r\n\r\n constructor(private paymentRespotioryService: PaymentRepositoryService,) { }\r\n\r\n ngOnInit(): void {\r\n this.setupYears();\r\n\r\n this.showAddTestCardInfo = environment.production === false;\r\n }\r\n\r\n changePartyType() {\r\n this.chargeRequest.paymentPartyId = this.payWithApplicantCard ? CheckRideRequestPaymentPartyAllItems.Applicant : CheckRideRequestPaymentPartyAllItems.PilotExaminer;\r\n }\r\n\r\n applyDiscountCode() {\r\n this.paymentRespotioryService.applyDiscountCode(this.chargeRequest.paymentDiscountCode, this.chargeRequest.amount)\r\n .subscribe(result => {\r\n this.paymentDiscountResult = result;\r\n\r\n this.paymentDiscountResultChange.emit(result);\r\n });\r\n }\r\n\r\n onChange() {\r\n this.chargeRequestChange.emit(this.chargeRequest);\r\n }\r\n\r\n private setupYears(): void {\r\n const currentYear = new Date().getFullYear();\r\n const years = [];\r\n for (let i = 0; i < 10; i++) {\r\n years.push((currentYear + i).toString());\r\n }\r\n this.years = years;\r\n }\r\n\r\n addTestCardInfo() {\r\n this.chargeRequest.cardNumber = '4242424242424242';\r\n this.chargeRequest.expirationMonth = '12';\r\n this.chargeRequest.expirationYear = '2025';\r\n this.chargeRequest.cVC = '123';\r\n this.chargeRequest.cardholderPostalCode = '12345';\r\n }\r\n}\r\n","\r\n
\r\n
\r\n
Pilexos Booking Fee: {{chargeRequest?.amount || 50 | currency}}\r\n
\r\n
\r\n Discount Amount: {{ paymentDiscountResult?.FinalDiscountAmount |\r\n currency }}
\r\n Payment Amount: {{ paymentDiscountResult?.FinalAmount |\r\n currency}}\r\n
\r\n
\r\n Payment will be charged when your Examiner accepts the checkride.\r\n\r\n Note: {{additionalMessage}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n\r\n
\r\n {{paymentDiscountResult.Message}}\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n Add test card info\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n
\r\n
","import { Injectable } from '@angular/core';\r\nimport { DevwareMetaData, DwAppPermissionEntity, DwAppPermissionMetaData, DwContextDefinition, DwCustomContextBase, DwCustomContextDefinition, DwOrmDataService, DwQuery, DwQueryHelper, DwSecurityTopics, DwSecurityUserService } from '@devwareapps/devware-cap';\r\nimport { AppMetaData, AppMetaDataItemNames, PilotExaminerEntity, StudentApplicantEntity } from '../../../../meta-data/app-meta-data.service';\r\nimport { ExaminerRepositoryService } from '../../../examiner/services/examiner-repository.service';\r\n\r\n\r\nexport const CurrentStudentContext= 'currentStudentContext';\r\n@DwCustomContextDefinition({\r\n keyName: CurrentStudentContext,\r\n display: 'Current Student Context',\r\n isGlobal: true,\r\n})\r\n@Injectable()\r\nexport class CurrentStudentContextService extends DwCustomContextBase {\r\n\r\n constructor(private dwSecurityUserService: DwSecurityUserService,\r\n private examinerRepositoryService: ExaminerRepositoryService\r\n \r\n ) {\r\n super();\r\n }\r\n\r\n setupContextDefinition(contextDef: DwContextDefinition) {\r\n contextDef.buildQueryFunction = (context) => this.buildQuery(context);\r\n\r\n contextDef.item = AppMetaDataItemNames.StudentApplicant;\r\n contextDef.metaDataQueryId = 1019;\r\n \r\n contextDef.cacheInvalidationTopics = [DwSecurityTopics.SECURITY_CHANGED];\r\n\r\n contextDef.cacheInvalidationTopics.push(DwOrmDataService.ORM_EVENT_TOPICS.ItemChangedTopic(AppMetaData.StudentApplicant.ItemDetail.itemName));\r\n contextDef.cacheInvalidationTopics.push(DwOrmDataService.ORM_EVENT_TOPICS.ItemChangedTopic(AppMetaData.DwUser.ItemDetail.itemName));\r\n\r\n contextDef.getCustomContextFunction = (resolvedContext, contextData: StudentApplicantEntity) => {\r\n const referredPilotExaminer = this.examinerRepositoryService.getReferredExaminer();\r\n\r\n if (referredPilotExaminer && contextData?.ReferredPilotExaminerId !== referredPilotExaminer.PilotExaminerId) {\r\n contextData.ReferredPilotExaminerId = referredPilotExaminer.PilotExaminerId;\r\n\r\n this.examinerRepositoryService.updateStudentReferredExaminer(contextData.StudentApplicantId, referredPilotExaminer.PilotExaminerId);\r\n\r\n console.log('Overriding Student Context with referred pilot examiner id', contextData.ReferredPilotExaminerId);\r\n }\r\n\r\n return contextData;\r\n }\r\n }\r\n\r\n buildQuery(resolvedContext: any): DwQuery {\r\n const query = AppMetaData.StudentApplicant.CreateQueryBuilder();\r\n\r\n query.query.FieldSettings.LoadAllLookupDisplayFields = true;\r\n\r\n const user = this.dwSecurityUserService.securityContext?.ApplicationUser;\r\n\r\n query.addFilterAnd(filters => filters.Equal(f => f.UserId, user?.UserId || -1));\r\n\r\n return query.query;\r\n }\r\n\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\n\r\nimport * as luxon from 'luxon';\r\n\r\nconst DateTime = luxon.DateTime;\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class DateTimeUtilService {\r\n calcDurationMinutes(startUtcDateTime: string, endUtcDateTime: string, interval?: number, minValue?: number, maxValue?: number) {\r\n\r\n const startDateTime = this.parseDateTime(startUtcDateTime);\r\n const endDateTime = this.parseDateTime(endUtcDateTime);\r\n\r\n const duration = endDateTime.diff(startDateTime, 'minutes');\r\n\r\n if (interval) {\r\n return duration.minutes - (duration.minutes % interval);\r\n }\r\n\r\n if (minValue && interval < minValue) {\r\n return minValue;\r\n }\r\n\r\n if (maxValue && interval > maxValue) {\r\n return maxValue;\r\n }\r\n }\r\n\r\n\r\n DATE_TIME_FORMAT = 'MM/dd/yyyy hh:mm a';\r\n\r\n readonly minutesConst = 60;\r\n readonly hoursConst = 60 * 60;\r\n readonly daysConst = this.hoursConst * 24;\r\n\r\n private parseDateTime(dateTime:string, options?:luxon.DateTimeOptions) : luxon.DateTime {\r\n if (!dateTime) {\r\n console.error('DateTimeUtilService.parseDateTime: dateTime is null or empty');\r\n return {} as luxon.DateTime;\r\n }\r\n \r\n let d = DateTime.fromISO(dateTime, options);\r\n\r\n if (!d.isValid) {\r\n d = DateTime.fromFormat(dateTime, this.DATE_TIME_FORMAT, options);\r\n }\r\n\r\n return d;\r\n }\r\n\r\n formatDateTimeToTimezone(dateTime: string, timezone: string, format?: string): string {\r\n if (!dateTime) {\r\n return '';\r\n }\r\n\r\n format = format || this.DATE_TIME_FORMAT;\r\n\r\n const opt: luxon.DateTimeOptions = {};\r\n\r\n opt.setZone = true;\r\n opt.zone = 'UTC';\r\n\r\n const luxonDateTime = this.parseDateTime(dateTime, opt);\r\n\r\n return luxonDateTime.setZone(timezone).toFormat(format);\r\n }\r\n\r\n isToday(dateTime: string): boolean {\r\n if (!dateTime) {\r\n return false;\r\n }\r\n\r\n return this.parseDateTime(dateTime).hasSame(DateTime.local(), 'day');\r\n }\r\n\r\n getCurrentMonth() {\r\n return luxon.DateTime.local().month;\r\n }\r\n\r\n getCurrentYear() {\r\n return luxon.DateTime.local().year;\r\n }\r\n\r\n getCurrentDateTime(): string {\r\n return luxon.DateTime.utc().toISO();\r\n }\r\n getCurrentDateTimeLocal(): string {\r\n return luxon.DateTime.local().toISO();\r\n }\r\n\r\n convertDateTimeToJson(dateTime: string): string {\r\n // If already in ISO format, return\r\n if (dateTime?.indexOf('T') > -1) {\r\n return dateTime;\r\n }\r\n \r\n const opt: luxon.DateTimeOptions = {};\r\n\r\n opt.setZone = true;\r\n opt.zone = 'GMT';\r\n\r\n const returnDateTime = DateTime.fromFormat(dateTime, this.DATE_TIME_FORMAT, opt).toJSON();\r\n\r\n return returnDateTime;\r\n }\r\n \r\n\r\n formatDateTimeToLocal(dateTime: string, format?: string): string {\r\n\r\n if (!dateTime) {\r\n return '';\r\n }\r\n\r\n const browserTimeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;\r\n\r\n return this.formatDateTimeToTimezone(dateTime, browserTimeZone, format);\r\n }\r\n\r\n convertDateTimeToUtc(dateTime: string): string {\r\n const browserTimeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;\r\n\r\n const opt: luxon.DateTimeOptions = {};\r\n\r\n opt.setZone = true;\r\n opt.zone = browserTimeZone;\r\n\r\n return DateTime.fromISO(dateTime, opt).setZone('UTC').toISO();\r\n }\r\n\r\n formatDuration(timeInSeconds: number) {\r\n const isNegative = (timeInSeconds < 0);\r\n if (isNegative) {\r\n timeInSeconds = -timeInSeconds;\r\n }\r\n\r\n let totalSeconds = timeInSeconds;\r\n\r\n\r\n const seconds = (totalSeconds % 60);\r\n\r\n let totalMinutes = (timeInSeconds - seconds) / 60;\r\n\r\n const minutes = totalMinutes % this.minutesConst;\r\n\r\n let totalHours = (totalMinutes - minutes) / 60;\r\n\r\n const hours = totalHours % 24;\r\n\r\n let days = (totalHours - hours) / 24;\r\n\r\n let prefix = '';\r\n\r\n if (days == 1) {\r\n prefix = '1 day ';\r\n }\r\n if (days > 1) {\r\n prefix = `${days.toFixed(0)} days `\r\n }\r\n\r\n if (isNegative) {\r\n prefix = '-' + prefix;\r\n }\r\n\r\n if (hours > 0) {\r\n return `${prefix}${this.pad(hours, 2)}:${this.pad(minutes, 2)}:${this.pad(seconds, 2)}`;\r\n }\r\n\r\n return `${prefix}${this.pad(minutes, 2)}:${this.pad(seconds, 2)}`;\r\n }\r\n\r\n\r\n\r\n private pad(num: number, size = 0, decimals = 0) {\r\n var numString = num.toFixed(0).toString();\r\n while (numString.length < size) numString = \"0\" + numString;\r\n return numString;\r\n }\r\n\r\n\r\n formatDuration2(timeInSeconds: number) {\r\n const isNegative = (timeInSeconds < 0);\r\n if (isNegative) {\r\n timeInSeconds = -timeInSeconds;\r\n }\r\n\r\n let totalSeconds = timeInSeconds;\r\n\r\n\r\n const seconds = (totalSeconds % 60);\r\n\r\n let totalMinutes = (timeInSeconds - seconds) / 60;\r\n\r\n const minutes = totalMinutes % this.minutesConst;\r\n\r\n let totalHours = (totalMinutes - minutes) / 60;\r\n\r\n const hours = totalHours % 24;\r\n\r\n let days = (totalHours - hours) / 24;\r\n\r\n let prefix = '';\r\n\r\n if (days == 1) {\r\n prefix = '1 day ';\r\n }\r\n if (days > 1) {\r\n prefix = `${days.toFixed(0)} days `\r\n }\r\n\r\n if (isNegative) {\r\n prefix = '-' + prefix;\r\n }\r\n\r\n let result = prefix;\r\n\r\n if (hours == 1) {\r\n result += `${this.pad(hours, 1)} hour `;\r\n }\r\n if (hours > 1) {\r\n result += `${this.pad(hours, 1)} hours `;\r\n }\r\n\r\n if (minutes > 0) {\r\n result += `${this.pad(minutes, 2)} minutes`;\r\n }\r\n\r\n return result;\r\n\r\n // return `${prefix}${this.pad(minutes, 2)}:${this.pad(seconds, 2)}`;\r\n }\r\n\r\n\r\n\r\n\r\n}","import { Component, EventEmitter, Inject, Input, OnInit, Optional, Output, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { DwButtonCommand, DwButtonConfig, DwComponent, DwComponentType, DwExpressionService, DwGridActionKeys, DwGridEvent, DwGridEvents, DwGridHeightMode, DwMdFormContextInfo, DwMessage, DwMessageSeverity, DwMetaDataFormApi, DwMetaDataFormStateService, DwMetaDataGridComponent, DwMetaDataGridPreferences, DwMetaDataGridViewPreference, DwMetaDataService, DwMetaDataServiceToken, DwModalConfig, DwModalHandler, DwModalResult, DwSectionBaseComponent, DwUIMetaDataConfig, DwUIMetaDataConfigToken, DwUiConfigRegistryService, areEqual, ensureArray } from '@devwareapps/devware-cap';\r\nimport { Observable, of } from 'rxjs';\r\nimport { debounceTime, mergeMap } from 'rxjs/operators';\r\nimport { map } from 'underscore';\r\nimport { AppMetaDataLookups, AppMetaDataItemNames, PlanOfActionEntity, PilotExaminerEntity, AcsTestEntity, PlanOfActionSectionEntity, AppMetaData, PlanOfActionSectionTypeAllItems, AcsCodeEntity, ApplicantAcsWrittenResultEntity, CheckRideRequestEntity } from '../../../../meta-data/app-meta-data.service';\r\nimport { PlanOfActionRepositoryService } from '../../../plan-of-action/services/plan-of-action-repository.service';\r\nimport { AcsCodeStatuses } from '../../../plan-of-action/models/acs-code-items.model';\r\nimport { DwMdGridCallbacks } from '@devwareapps/devware-cap/devware-ui-metadata/grid/model/callbacks/dw-md-grid-callbacks.interface';\r\n\r\n\r\n@DwComponent({\r\n key: 'required-acs-codes-grid',\r\n name: 'Required Acs Codes Grid',\r\n componentType: DwComponentType.formSection,\r\n parentItemName: [AppMetaDataItemNames.PlanOfActionSection, AppMetaDataItemNames.ApplicantAcsWrittenResult],\r\n isGlobal: false\r\n})\r\n@Component({\r\n selector: 'app-required-acs-codes-grid',\r\n templateUrl: './required-acs-codes-grid.component.html',\r\n styleUrls: ['./required-acs-codes-grid.component.scss']\r\n})\r\nexport class RequiredAcsCodesGridComponent extends DwSectionBaseComponent {\r\n formApi: DwMetaDataFormApi;\r\n //planOfAction: PlanOfActionEntity;\r\n //applicantAcsWrittenResult: ApplicantAcsWrittenResultEntity;\r\n aosCodesItem = AppMetaDataItemNames.AcsCode;\r\n\r\n filters: any = {};\r\n acsCodeCount: number;\r\n codesGridPreferences: Partial = {};\r\n acsCodeStatuses: AcsCodeStatuses;\r\n gridCallbacks: DwMdGridCallbacks;\r\n showLegend: boolean = false;\r\n\r\n @ViewChild('dwGrid') dwGrid: DwMetaDataGridComponent;\r\n mainEntity: PlanOfActionEntity | CheckRideRequestEntity;\r\n\r\n showGrid: boolean = false;\r\n\r\n constructor(\r\n dwExpressionService: DwExpressionService,\r\n dwUiConfigRegistryService: DwUiConfigRegistryService,\r\n @Inject(DwUIMetaDataConfigToken) uiMetaDataConfig: DwUIMetaDataConfig,\r\n @Inject(DwMetaDataServiceToken) dwMetaDataService: DwMetaDataService,\r\n private dwMetaDataFormStateService: DwMetaDataFormStateService,\r\n private planOfActionRepositoryService: PlanOfActionRepositoryService,\r\n ) {\r\n super(dwExpressionService, dwUiConfigRegistryService, uiMetaDataConfig, dwMetaDataService);\r\n\r\n this.formApi = this.dwMetaDataFormStateService.state.formApi;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.setupDataWatch();\r\n\r\n this.gridCallbacks = {\r\n getRowClass: (row)=> this.getRowClass(row.data)\r\n }\r\n }\r\n\r\n private getRowClass(acsCode: AcsCodeEntity) {\r\n if (!acsCode) {\r\n return;\r\n }\r\n\r\n if (this.mainEntity._itemName != AppMetaDataItemNames.PlanOfAction) {\r\n return;\r\n }\r\n\r\n const acsStatus = this.acsCodeStatuses.codesById[acsCode.AcsCodeId];\r\n\r\n if (acsStatus) {\r\n if (acsStatus.missing) {\r\n return 'dw-red';\r\n }\r\n return 'dw-green';\r\n }\r\n\r\n return;\r\n }\r\n\r\n setupDataWatch() {\r\n this.formApi.getFormDataChanges(100)\r\n .subscribe(dataChange => {\r\n if (this.formApi.isDataLoadComplete) {\r\n this.checkForDataChange();\r\n }\r\n });\r\n\r\n if (this.formApi.isDataLoadComplete) {\r\n this.checkForDataChange();\r\n }\r\n\r\n this.formGroup.valueChanges\r\n .pipe(debounceTime(100))\r\n .subscribe(v => {\r\n this.checkForDataChange();\r\n });\r\n }\r\n\r\n onCodeGridEvent(event: DwGridEvent) {\r\n console.log(event);\r\n\r\n if (event.actionPreference?.actionKey == 'gridPassthroughRow') {\r\n // Should only be a delete\r\n\r\n const ascCodes : AcsCodeEntity[] = ensureArray(event.eventData);\r\n\r\n if (ascCodes.length == 0) {\r\n return;\r\n }\r\n\r\n this.removeAcsCodes(ascCodes);\r\n }\r\n\r\n }\r\n\r\n private removeAcsCodes(ascCodes: AcsCodeEntity[]) {\r\n for(const ascCode of ascCodes) {\r\n const index = this.mainEntity.ApplicantAcsWrittenResult.ApplicantAcsWrittenResultMissedCode.findIndex(c => c.AcsCodeId == ascCode.AcsCodeId);\r\n\r\n if (index != -1) {\r\n const acsCode = this.mainEntity.ApplicantAcsWrittenResult.ApplicantAcsWrittenResultMissedCode[index];\r\n acsCode._isDeleted = true;\r\n //this.mainEntity.ApplicantAcsWrittenResult.ApplicantAcsWrittenResultMissedCode.splice(index, 1);\r\n }\r\n }\r\n\r\n this.formApi.patchContextData(DwMdFormContextInfo.DATA_CONTEXT_NAME, this.mainEntity); \r\n this.formApi.formGroup.patchValue(this.mainEntity);\r\n this.formApi.setFormData(this.mainEntity);\r\n\r\n this.checkForDataChange(true);\r\n }\r\n\r\n private checkForDataChange(force: boolean = false) {\r\n const mainEntity = this.formApi.getFormData();\r\n this.mainEntity = mainEntity;\r\n\r\n this.showLegend = false;\r\n if (this.mainEntity._itemName == AppMetaDataItemNames.PlanOfAction) {\r\n this.showLegend = true;\r\n }\r\n\r\n // Ensure we have the ApplicantAcsWrittenResult\r\n if (this.mainEntity.ApplicantAcsWrittenResult == null) {\r\n this.mainEntity.ApplicantAcsWrittenResult = AppMetaData.ApplicantAcsWrittenResult.CreateEntity();\r\n }\r\n\r\n if (!this.mainEntity.ApplicantAcsWrittenResult.ApplicantAcsWrittenResultMissedCode) {\r\n this.mainEntity.ApplicantAcsWrittenResult.ApplicantAcsWrittenResultMissedCode = [];\r\n }\r\n\r\n if (!this.mainEntity.ApplicantAcsWrittenResult.AcsTestId) {\r\n this.showGrid = false;\r\n return;\r\n }\r\n\r\n this.showGrid = true;\r\n \r\n //console.log('Required ACS Code Grid - checkForDataChange', mainEntity);\r\n const newAcsCodeStatus = this.planOfActionRepositoryService.getAcsCodeStatus(mainEntity);\r\n\r\n if (!areEqual(this.acsCodeStatuses, newAcsCodeStatus)) {\r\n this.acsCodeStatuses = newAcsCodeStatus;\r\n\r\n this.dwGrid?.gridApi?.refreshDataSource(true);\r\n }\r\n\r\n if (!force && (!mainEntity || mainEntity.ApplicantAcsWrittenResult.ApplicantAcsWrittenResultMissedCode.length == this.acsCodeCount)) {\r\n return;\r\n }\r\n\r\n this.acsCodeCount = mainEntity.ApplicantAcsWrittenResult.ApplicantAcsWrittenResultMissedCode.length || 0;\r\n\r\n const acsCodeIds = mainEntity.ApplicantAcsWrittenResult.ApplicantAcsWrittenResultMissedCode?.filter(c => !c._isDeleted)?.map(c => c.AcsCodeId) || [];\r\n\r\n if (acsCodeIds.length == 0) {\r\n acsCodeIds.push(-1);\r\n }\r\n\r\n this.filters = {\r\n AcsCodeId: {\r\n In: acsCodeIds\r\n }\r\n }\r\n\r\n }\r\n\r\n}\r\n","\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
Not Added
\r\n
\r\n\r\n
\r\n
\r\n
\r\n\r\n
Added
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n
\r\n","import { Component, EventEmitter, Inject, Input, OnInit, Optional, Output, SimpleChanges } from '@angular/core';\r\nimport { DwButtonCommand, DwButtonConfig, DwComponent, DwComponentType, DwExpressionService, DwGridEvent, DwGridEvents, DwGridHeightMode, DwMessage, DwMessageSeverity, DwMetaDataFormApi, DwMetaDataFormStateService, DwMetaDataGridPreferences, DwMetaDataGridViewPreference, DwMetaDataService, DwMetaDataServiceToken, DwModalConfig, DwModalHandler, DwModalResult, DwQueryHelper, DwSectionBaseComponent, DwUIMetaDataConfig, DwUIMetaDataConfigToken, DwUiConfigRegistryService } from '@devwareapps/devware-cap';\r\nimport { Observable, of } from 'rxjs';\r\nimport { mergeMap } from 'rxjs/operators';\r\nimport { map } from 'underscore';\r\nimport { AppMetaDataLookups, AppMetaDataItemNames, PlanOfActionEntity, PilotExaminerEntity, AcsTestEntity, PlanOfActionSectionEntity, AppMetaData, PlanOfActionSectionTypeAllItems, AcsCodeEntity } from '../../../../meta-data/app-meta-data.service';\r\nimport { PlanOfActionRepositoryService } from '../../../plan-of-action/services/plan-of-action-repository.service';\r\nimport { GenerateSectionsOptions } from '../../../plan-of-action/models/generate-sections-options.model';\r\nimport { PlanOfActionGeneratorService } from '../../../plan-of-action/services/plan-of-action-generator.service';\r\nimport { AcsCodeStatuses, AcsCodeStorage, AcsCodesStorageItem } from '../../../plan-of-action/models/acs-code-items.model';\r\nimport { GenerateCodesOptions } from '../../../plan-of-action/models/generate-codes-options.model';\r\nimport { AcsCodeSelectionModalResult } from '../../../plan-of-action/models/acs-code-selection-modal-options.model';\r\nimport { DwMdGridCallbacks } from '@devwareapps/devware-cap/devware-ui-metadata/grid/model/callbacks/dw-md-grid-callbacks.interface';\r\n\r\n@Component({\r\n selector: 'app-select-acs-codes',\r\n templateUrl: './select-acs-codes.component.html',\r\n styleUrls: ['./select-acs-codes.component.scss']\r\n})\r\nexport class SelectAcsCodesComponent {\r\n // @Input() planOfAction: PlanOfActionEntity;\r\n // @Input() planOfActionSection: PlanOfActionSectionEntity;\r\n\r\n message: DwMessage;\r\n\r\n @Input() options: GenerateCodesOptions;\r\n @Output() optionsChange = new EventEmitter();\r\n\r\n acsTest: AcsTestEntity;\r\n\r\n allAcsCodes: AcsCodeStorage;\r\n\r\n aosCodesItem = AppMetaDataItemNames.AcsCode;\r\n\r\n codesGridFilters: any = {};\r\n questionGridFilters: any = {};\r\n\r\n codesGridPreferences: Partial = {};\r\n questionsGridPreferences: Partial = {};\r\n setupComplete: boolean = false;\r\n //acsCodeStatuses: AcsCodeStatuses;\r\n gridCallbacks: DwMdGridCallbacks;\r\n\r\n constructor(\r\n dwExpressionService: DwExpressionService,\r\n dwUiConfigRegistryService: DwUiConfigRegistryService,\r\n @Inject(DwUIMetaDataConfigToken) uiMetaDataConfig: DwUIMetaDataConfig,\r\n @Inject(DwMetaDataServiceToken) dwMetaDataService: DwMetaDataService,\r\n @Optional() private dwMetaDataFormStateService: DwMetaDataFormStateService,\r\n private planOfActionRepositoryService: PlanOfActionRepositoryService,\r\n private planOfActionGeneratorSection: PlanOfActionGeneratorService\r\n ) {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n this.setupData();\r\n\r\n \r\n this.gridCallbacks = {\r\n getRowClass: (row)=> this.getRowClass(row.data)\r\n }\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n\r\n if (changes.planOfAction?.firstChange === false || changes.planOfActionSection?.firstChange === false) {\r\n this.setupData();\r\n }\r\n }\r\n\r\n onCodeGridEvent(event: DwGridEvent) {\r\n if (event.eventType as string != 'rowSelectionChange') {\r\n return;\r\n }\r\n\r\n this.options.acsCodes =event.eventData;\r\n this.options.questions = [];\r\n\r\n this.onOptionChange();\r\n }\r\n\r\n onQuestionGridEvent(event: DwGridEvent) {\r\n if (event.eventType as string != 'rowSelectionChange') {\r\n return;\r\n }\r\n this.options.acsCodes = [];\r\n this.options.questions = event.eventData;\r\n\r\n this.onOptionChange();\r\n }\r\n\r\n onOptionChange() {\r\n this.optionsChange.emit(this.options);\r\n\r\n this.setupFilters();\r\n }\r\n \r\nprivate getRowClass(acsCode: AcsCodeEntity) {\r\n if (!acsCode) {\r\n return '';\r\n }\r\n const acsStatus = this.options.acsCodeStatuses?.codesById[acsCode.AcsCodeId];\r\n\r\n if (acsStatus) {\r\n if (acsStatus.missing) {\r\n return 'dw-red';\r\n }\r\n return 'dw-green';\r\n }\r\n\r\n return '';\r\n}\r\n\r\n private setupData() {\r\n this.setupFilters();\r\n // this.filters.AcsTestId = this.planOfAction.AcsTestId;\r\n\r\n this.codesGridPreferences = this.buildGridPreferences(false);\r\n this.questionsGridPreferences = this.buildGridPreferences(true);\r\n\r\n if (!this.options) {\r\n this.options = {\r\n acsCodes:[],\r\n questions:[],\r\n allowQuestionSelect: true,\r\n useQuestionBank: true,\r\n acsCodeStatuses: null,\r\n }\r\n\r\n this.optionsChange.emit(this.options);\r\n }\r\n\r\n //this.acsCodeStatuses = this.planOfActionRepositoryService.getAcsCodeStatus(this.planOfAction);\r\n\r\n this.setupComplete = true;\r\n }\r\n\r\n showOnlyMissedAcsCodes = false;\r\n setupFilters() {\r\n\r\n this.codesGridFilters = {};\r\n this.questionGridFilters = {}\r\n \r\n this.codesGridFilters[AppMetaData.Queries.AcsCodesGrid.Attributes.AcsAreaOfOperationAcsTestId.fieldName] = this.options.acsTestId;\r\n this.questionGridFilters[AppMetaData.Queries.AcsCodesWithQuestions.Attributes.AcsAreaOfOperationAcsTestId.fieldName] = this.options.acsTestId;;\r\n \r\n if (this.options.acsTaskId) {\r\n this.codesGridFilters[AppMetaData.Queries.AcsCodesGrid.Attributes.AcsAreaOfOperationTaskId.fieldName] = this.options.acsTaskId;\r\n this.questionGridFilters[AppMetaData.Queries.AcsCodesWithQuestions.Attributes.AcsAreaOfOperationTaskAcsAreaOfOperationTaskId.fieldName] = this.options.acsTaskId;\r\n } \r\n\r\n if (this.options.acsAreaOfOperationId) {\r\n this.codesGridFilters[AppMetaData.Queries.AcsCodesGrid.Attributes.TaskAcsAreaOfOperationId.fieldName] = this.options.acsAreaOfOperationId;\r\n this.questionGridFilters[AppMetaData.Queries.AcsCodesWithQuestions.Attributes.AcsAreaOfOperationAcsAreaOfOperationId.fieldName] = this.options.acsAreaOfOperationId;\r\n }\r\n\r\n if (this.showOnlyMissedAcsCodes) {\r\n const missedCodes = this.getMissedAcsCodes();\r\n this.codesGridFilters[AppMetaData.Queries.AcsCodesGrid.Attributes.AcsCodeId.fieldName] = {\r\n In: missedCodes\r\n }\r\n } else {\r\n this.codesGridFilters[AppMetaData.Queries.AcsCodesGrid.Attributes.AcsCodeId.fieldName] = {\r\n In: []\r\n }\r\n }\r\n }\r\n\r\n private getMissedAcsCodes(): number[] {\r\n const missedCodes = [];\r\n\r\n for(let ascCodeId in this.options.acsCodeStatuses.codesById) {\r\n const code = this.options.acsCodeStatuses.codesById[ascCodeId];\r\n\r\n if (code.missing) {\r\n missedCodes.push(code.ascCodeId);\r\n }\r\n }\r\n\r\n return missedCodes;\r\n }\r\n\r\n buttonClick(buttonConfig: DwButtonConfig): Observable> {\r\n let result = new DwModalResult();\r\n\r\n result.cancelled = false;\r\n\r\n switch (buttonConfig.command) {\r\n case DwButtonCommand.ok:\r\n case DwButtonCommand.saveAndClose:\r\n case DwButtonCommand.save:\r\n //this.generateSections();\r\n\r\n result.data = {\r\n GenerateCodesOptions: this.options,\r\n };\r\n\r\n result.closeModal = true;\r\n break;\r\n case DwButtonCommand.cancel:\r\n result.closeModal = true;\r\n result.cancelled = true;\r\n }\r\n\r\n return of(result);\r\n }\r\n\r\n // generateSections() {\r\n // this.planOfActionGeneratorSection.generateQuestions(this.planOfActionSection, this.options);\r\n\r\n // }\r\n\r\n setMessage(message: string, severity: DwMessageSeverity = DwMessageSeverity.error) {\r\n this.message = {\r\n messageBody: message,\r\n severity: severity\r\n };\r\n }\r\n\r\n clearMessage() {\r\n this.message = null;\r\n }\r\n\r\n private buildGridPreferences(useQuestionBank: boolean): Partial {\r\n const gridPrefs: Partial = {\r\n gridStyle: {\r\n gridStyleName: 'Simple',\r\n gridHeightMode: DwGridHeightMode.fixedHeight,\r\n gridHeight: '200'\r\n },\r\n\r\n allowRowSelect: true,\r\n useCheckboxSelection: true,\r\n hideAdd: true,\r\n hideEditButton: false,\r\n hideDeleteButton: true,\r\n hideRefresh: true,\r\n hideExport: true,\r\n views: [],\r\n };\r\n\r\n const viewPref: Partial = {};\r\n\r\n \r\n if (useQuestionBank) {\r\n viewPref.metaDataQueryMeaning = AppMetaData.Queries.AcsCodesWithQuestions.QueryMeaning;\r\n } else {\r\n viewPref.metaDataQueryMeaning = AppMetaData.Queries.AcsCodesGrid.QueryMeaning\r\n }\r\n\r\n gridPrefs.views.push(viewPref as any);\r\n\r\n return gridPrefs;\r\n }\r\n}","\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { DwComponent, DwComponentType, DwSecurityRepositoryService, DwSecurityRepositoryServiceToken, DwSecurityUserService } from '@devwareapps/devware-cap';\r\nimport { MenuItemCardData } from '../../models/menu-item-card-data.model';\r\n\r\n\r\n@DwComponent({\r\n key:'pilexos-home-page',\r\n name: 'Pilexos Home Page',\r\n componentType: DwComponentType.pageComponent,\r\n isGlobal: true,\r\n})\r\n@Component({\r\n selector: 'pilexos-home-page',\r\n templateUrl: './home-page.component.html',\r\n styleUrls: ['./home-page.component.scss']\r\n})\r\nexport class PilexosHomeComponent implements OnInit {\r\n isAuthenticated: boolean;\r\n\r\n constructor(private router:Router,\r\n private dwSecurityUserService: DwSecurityUserService,\r\n @Inject(DwSecurityRepositoryServiceToken) private dwSecurityRepositoryService: DwSecurityRepositoryService\r\n \r\n ) { }\r\n\r\n ngOnInit(): void {\r\n \r\n\r\n this.dwSecurityUserService.securityContextChanged().subscribe(change => {\r\n this.isAuthenticated = this.dwSecurityUserService.securityState.isAuthenticated;\r\n });\r\n \r\n this.isAuthenticated = this.dwSecurityUserService.securityState.isAuthenticated;\r\n }\r\n\r\n}\r\n","
\r\n \r\n \r\n \r\n
\r\n \r\n\r\n","// tslint:disable: max-line-length\r\nimport { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { HttpClientModule } from '@angular/common/http';\r\n\r\nimport { AgGridModule } from 'ag-grid-angular';\r\nimport { OrderListModule } from 'primeng/orderlist';\r\nimport { InputSwitchModule } from 'primeng/inputswitch';\r\nimport { TabViewModule } from 'primeng/tabview';\r\n//import {FullCalendarModule} from 'primeng/fullcalendar';\r\nimport { FullCalendarModule } from '@fullcalendar/angular';\r\n\r\nimport { BsDropdownModule } from 'ngx-bootstrap/dropdown';\r\n\r\nimport { AppRoutingModule } from './app-routing.module'; \r\n\r\nimport { DevwareCoreModule,\r\n DevwareOrmModule,\r\n DevwareUIModule,\r\n DevwareAGGridModule, \r\n DevwareUILayoutModule,\r\n DevwareUIMetaDataModule,\r\n DevwareAdminModule,\r\n DevwareUiWizardModule, \r\n DevwareMediaModule} from '@devwareapps/devware-cap';\r\n\r\nimport { AppDevwareConfigProviderService } from './app-devware-config-provider.service';\r\n\r\n\r\nimport { AppComponent } from './pages/app/app.component';\r\nimport { HomeComponent } from './features/shared/pages/home/home.component';\r\nimport { ExaminerBookingCalendarComponent } from './features/examiner/components/examiner-booking-calendar/examiner-booking-calendar.component';\r\nimport { ExaminerBookingSearchResultsComponent } from './features/booking/components/examiner-booking-search-results/examiner-booking-search-results.component';\r\nimport { CurrentStudentContextService } from './features/shared/contexts/current-student-context/current-student-context.service';\r\nimport { ExaminerBookingSearchResultComponent } from './features/booking/components/examiner-booking-search-result/examiner-booking-search-result.component';\r\nimport { CurrentPilotExaminerContextService } from './features/shared/contexts/current-pilot-examiner/current-pilot-examiner.service';\r\nimport { ScheduleSelectorComponent } from './features/booking/components/schedule-selector/schedule-selector.component';\r\nimport { ScheduleDetailComponent } from './features/booking/components/schedule-detail/schedule-detail.component';\r\nimport { GoogleCalendarConsentComponent } from './features/calendar/components/google-calendar-consent/google-calendar-consent.component';\r\nimport { CalendarWeekdayComponent } from './features/calendar/components/calendar-weekday/calendar-weekday.component';\r\n\r\nimport { DayPilotModule } from 'daypilot-pro-angular';\r\n\r\nimport { NgbDatepickerModule, NgbTimepickerModule, NgbPopoverModule} from '@ng-bootstrap/ng-bootstrap';\r\n\r\nimport { CalendarModule } from 'primeng/calendar';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { RadioButtonModule } from 'primeng/radiobutton';\r\nimport { AccordionModule } from 'primeng/accordion';\r\nimport { TreeModule } from 'primeng/tree';\r\nimport { ContextMenuModule } from 'primeng/contextmenu';\r\nimport { MenuModule } from 'primeng/menu';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { MultiSelectModule } from 'primeng/multiselect';\r\nimport { ExaminerCheckRideUtilComponent } from './features/examiner/components/examiner-check-ride-util/examiner-check-ride-util.component';\r\nimport { PilexosHomeComponent } from './features/homepage/components/home-page/home-page.component';\r\nimport { AnnonymousHomeViewComponent } from './features/homepage/components/annonymous-home-view/annonymous-home-view.component';\r\nimport { AdditionalContentComponent } from './features/homepage/components/additional-content/additional-content.component';\r\nimport { MenuItemCardComponent } from './features/homepage/components/menu-item-card/menu-item-card.component';\r\nimport { UserRegistrationComponent } from './features/homepage/components/user-registration/user-registration.component';\r\nimport { ExaminerDashboardComponent } from './features/examiner/components/examiner-dashboard/examiner-dashboard.component';\r\nimport { AuthenticatedHomeViewComponent } from './features/homepage/components/authenticated-home-view/authenticated-home-view.component';\r\nimport { DwTaskContainerComponent } from './features/z-devware/tasks/components/dw-task-container/dw-task-container.component';\r\n\r\n\r\nimport {ChartModule} from 'primeng/chart';\r\nimport { ExaminerFinancialSnapshotComponent } from './features/examiner/components/examiner-financial-snapshot/examiner-financial-snapshot.component';\r\nimport { DwMiniTileComponent } from './features/z-devware/visualizations/components/dw-mini-tile/dw-mini-tile.component';\r\nimport { ApplicantDashboardComponent } from './features/applicant/components/applicant-dashboard/applicant-dashboard.component';\r\nimport { ExaminerLocationUtilComponent } from './features/examiner/components/examiner-location-util/examiner-location-util.component';\r\nimport { ExaminerPublicProfileComponent } from './features/examiner/components/examiner-public-profile/examiner-public-profile.component';\r\nimport { UsreAvatarComponent } from './features/shared/components/usre-avatar/usre-avatar.component';\r\nimport { PaymentInfoComponent } from './features/payments/components/payment-info/payment-info.component';\r\nimport { PaymentModalComponent } from './features/payments/components/payment-modal/payment-modal.component';\r\nimport { CheckridePaymentUtilComponent } from './features/payments/components/checkride-payment-util/checkride-payment-util.component';\r\nimport { ExaminerBookingAssignedComponent } from './features/booking/components/examiner-booking-assigned/examiner-booking-assigned.component';\r\nimport { DateTimeDisplayControlComponent } from './features/shared/components/date-time-display-control/date-time-display-control.component';\r\nimport { DurationDisplayControlComponent } from './features/shared/components/duration-display-control/duration-display-control.component';\r\nimport { CheckridePaymentRefundActionService } from './features/payments/actions/checkride-payment-refund-action.service';\r\nimport { EmailDispalyComponent } from './features/shared/components/email-dispaly/email-dispaly.component';\r\nimport { DurationControlComponent } from './features/shared/components/duration-control/duration-control.component';\r\nimport { DwChartTileComponent } from './features/z-devware/visualizations/components/dw-chart-tile/dw-chart-tile.component';\r\nimport { FinancialDashboardComponent } from './features/financials/components/financial-dashboard/financial-dashboard.component';\r\nimport { AdminFinancialsComponent } from './features/financials/components/admin-financials/admin-financials.component';\r\nimport { GridReturnToFinancialsActionService } from './features/financials/grid-actions/grid-return-to-financials/grid-return-to-financials-action.service';\r\nimport { FinancialDashboardFiltersComponent } from './features/financials/components/financial-dashboard-filters/financial-dashboard-filters.component';\r\nimport { ExaminerFinancialsComponent } from './features/financials/components/examiner-financials/examiner-financials.component';\r\nimport { ExaminerCalendarCheckComponent } from './features/examiner/components/examiner-calendar-check-util/examiner-calendar-check.component';\r\nimport { CheckridePaymentUtilExaminerComponent } from './features/payments/components/checkride-payment-util-examiner/checkride-payment-util-examiner.component';\r\nimport { ApplicantCheckRideUtilComponent } from './features/applicant/components/applicant-check-ride-util/applicant-check-ride-util.component';\r\nimport { RebookApplicantCheckrideActionService } from './features/booking/actions/rebook-applicant-checkride/rebook-applicant-checkride-action.service';\r\nimport { RebookExaminerCheckrideActionService } from './features/booking/actions/rebook-examiner-checkride/rebook-examiner-checkride-action.service';\r\nimport { AcceptProposedDateActionService } from './features/booking/actions/accept-proposed-date/accept-proposed-date-action.service';\r\nimport { QuestionEditControlComponent } from './features/plan-of-action/components/question-edit-control/question-edit-control.component';\r\nimport { GenerateSectionsModalComponent } from './features/plan-of-action/components/generate-sections-modal/generate-sections-modal.component';\r\nimport { GenerateSectionsActionService } from './features/plan-of-action/actions/generate-sections-action.service';\r\nimport { GenerateQuestionsActionService } from './features/plan-of-action/actions/generate-questions-action.service';\r\nimport { PlanOfActionSectionsComponent } from './features/plan-of-action/components/plan-of-action-sections/plan-of-action-sections.component';\r\nimport { SelectSectionsComponent } from './features/plan-of-action/components/select-sections/select-sections.component';\r\nimport { SelectAcsCodesComponent } from './features/plan-of-action/components/select-acs-codes/select-acs-codes.component';\r\nimport { GenerateQuestionsModalComponent } from './features/plan-of-action/components/generate-questions-modal/generate-questions-modal.component';\r\nimport { AddRequiredAcsCodesActionService } from './features/plan-of-action/actions/add-required-acs-codes-action.service';\r\nimport { RequiredAcsCodesGridComponent } from './features/plan-of-action/components/required-acs-codes-grid/required-acs-codes-grid.component';\r\nimport { PlanOfActionSectionComponent } from './features/plan-of-action/components/plan-of-action-section/plan-of-action-section.component';\r\nimport { PlanOfActionQuestionComponent } from './features/plan-of-action/components/plan-of-action-question/plan-of-action-question.component';\r\nimport { PlanOfActionDataSourceService } from './features/plan-of-action/data-source/plan-of-action-data-source.service';\r\nimport { PlanOfActionExecuteComponent } from './features/plan-of-action/components/plan-of-action-execute/plan-of-action-execute.component';\r\nimport { PlanOfActionExecuteSectionComponent } from './features/plan-of-action/components/plan-of-action-execute-section/plan-of-action-execute-section.component';\r\nimport { PlanOfActionExecuteQuestionComponent } from './features/plan-of-action/components/plan-of-action-execute-question/plan-of-action-execute-question.component';\r\nimport { PlanOfActionSectionEditComponent } from './features/plan-of-action/components/plan-of-action-section-edit/plan-of-action-section-edit.component';\r\nimport { SelectAcsCodesModalComponent } from './features/plan-of-action/components/select-acs-codes-modal/select-acs-codes-modal.component';\r\nimport { CheckrideFormDataSourceService } from './features/booking/data-sources/check-ride-from-data-source.service';\r\nimport { CheckridePlanOfActionUtilComponent } from './features/plan-of-action/components/checkride-plan-of-action-util/checkride-plan-of-action-util.component';\r\nimport { CheckrideCreatePOAActionService } from './features/plan-of-action/actions/checkride-create-poa-action.service';\r\n//import { ExecutePOACompleteActionService } from './features/plan-of-action/actions/execute-poa-complete-checkride.service';\r\nimport { ACSWrittenDataContextService } from './features/plan-of-action/contexts/acs-written-data-context.service';\r\nimport { CheckrideSaveAndGotoPOAActionService } from './features/plan-of-action/actions/checkride-save-and-open-poa-action.service';\r\nimport { POASaveAndExecuteActionService } from './features/plan-of-action/actions/poa-save-and-execute-action.service';\r\nimport { POACompleteCheckrideActionService } from './features/plan-of-action/actions/poa-complete-checkride-action.service';\r\nimport { POAStartCompleteCheckrideActionService } from './features/plan-of-action/actions/poa-start-complete-checkride-action.service';\r\nimport { AddMissedAcsCodesActionService } from './features/plan-of-action/actions/add-missed-acs-codes-action.service';\r\nimport { PoaPrintOptionsModalComponent } from './features/plan-of-action/components/poa-print-options-modal/poa-print-options-modal.component';\r\nimport { POAPrintActionService } from './features/plan-of-action/actions/poa-print-action.service';\r\nimport { AcsCodeLookupDataSourceService } from './features/plan-of-action/data-source/acs-code-lookup-data-source.service';\nimport { ExaminerTaskFilterComponent } from './features/booking/filters/examiner-task-filter/examiner-task-filter.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n AppComponent,\r\n HomeComponent,\r\n ExaminerBookingCalendarComponent,\r\n ExaminerBookingSearchResultsComponent,\r\n ExaminerBookingSearchResultComponent,\r\n ScheduleSelectorComponent,\r\n ScheduleDetailComponent,\r\n GoogleCalendarConsentComponent,\r\n CalendarWeekdayComponent,\r\n ExaminerCheckRideUtilComponent,\r\n PilexosHomeComponent,\r\n AnnonymousHomeViewComponent,\r\n AuthenticatedHomeViewComponent,\r\n AdditionalContentComponent,\r\n MenuItemCardComponent,\r\n UserRegistrationComponent,\r\n ExaminerDashboardComponent,\r\n DwTaskContainerComponent,\r\n ExaminerFinancialSnapshotComponent,\r\n DwMiniTileComponent,\r\n DwChartTileComponent,\r\n ApplicantDashboardComponent,\r\n ExaminerLocationUtilComponent,\r\n ExaminerPublicProfileComponent,\r\n UsreAvatarComponent,\r\n PaymentInfoComponent,\r\n PaymentModalComponent,\r\n CheckridePaymentUtilComponent,\r\n ExaminerBookingAssignedComponent,\r\n DateTimeDisplayControlComponent,\r\n DurationDisplayControlComponent,\r\n EmailDispalyComponent,\r\n DurationControlComponent,\r\n FinancialDashboardComponent,\r\n AdminFinancialsComponent,\r\n FinancialDashboardFiltersComponent,\r\n ExaminerFinancialsComponent,\r\n ExaminerCalendarCheckComponent,\r\n CheckridePaymentUtilExaminerComponent,\r\n ApplicantCheckRideUtilComponent,\r\n QuestionEditControlComponent,\r\n GenerateSectionsModalComponent,\r\n PlanOfActionSectionsComponent,\r\n SelectSectionsComponent,\r\n SelectAcsCodesComponent,\r\n GenerateQuestionsModalComponent,\r\n RequiredAcsCodesGridComponent,\r\n PlanOfActionSectionComponent,\r\n PlanOfActionQuestionComponent,\r\n PlanOfActionExecuteComponent,\r\n PlanOfActionExecuteSectionComponent,\r\n PlanOfActionExecuteQuestionComponent,\r\n PlanOfActionSectionEditComponent,\r\n SelectAcsCodesModalComponent,\r\n CheckridePlanOfActionUtilComponent,\r\n PoaPrintOptionsModalComponent,\r\n ExaminerTaskFilterComponent,\r\n ],\r\n imports: [\r\n BrowserModule,\r\n BrowserAnimationsModule,\r\n CommonModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n OrderListModule, \r\n InputSwitchModule,\r\n TabViewModule,\r\n DropdownModule,\r\n MultiSelectModule,\r\n CheckboxModule,\r\n \r\n HttpClientModule,\r\n AgGridModule.forRoot(),\r\n BsDropdownModule.forRoot(),\r\n ChartModule,\r\n \r\n DevwareCoreModule, \r\n DevwareOrmModule,\r\n DevwareUIModule, \r\n DevwareAGGridModule,\r\n DevwareUILayoutModule,\r\n DevwareUIMetaDataModule,\r\n DevwareUiWizardModule,\r\n DevwareAdminModule,\r\n DevwareMediaModule,\r\n FullCalendarModule,\r\n DayPilotModule,NgbDatepickerModule, NgbTimepickerModule, NgbPopoverModule,\r\n AppRoutingModule,\r\n ],\r\n providers: [\r\n AppDevwareConfigProviderService,\r\n CurrentStudentContextService,\r\n CurrentPilotExaminerContextService,\r\n CheckridePaymentRefundActionService,\r\n GridReturnToFinancialsActionService,\r\n RebookApplicantCheckrideActionService,\r\n RebookExaminerCheckrideActionService,\r\n AcceptProposedDateActionService,\r\n GenerateSectionsActionService,\r\n GenerateQuestionsActionService,\r\n AddRequiredAcsCodesActionService,\r\n PlanOfActionDataSourceService,\r\n CheckrideFormDataSourceService,\r\n CheckrideCreatePOAActionService,\r\n //ExecutePOACompleteActionService,\r\n ACSWrittenDataContextService,\r\n POASaveAndExecuteActionService,\r\n CheckrideSaveAndGotoPOAActionService,\r\n POAStartCompleteCheckrideActionService,\r\n POACompleteCheckrideActionService,\r\n AddMissedAcsCodesActionService,\r\n POAPrintActionService,\r\n AcsCodeLookupDataSourceService\r\n ],\r\n bootstrap: [AppComponent],\r\n exports: [\r\n UserRegistrationComponent\r\n ]\r\n})\r\nexport class AppModule { }\r\n","import { Component, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges } from '@angular/core';\nimport { AcsCodesLookupQueryEntity, AppMetaData, AppMetaDataLookups, PlanOfActionEntity, PlanOfActionQuestionResultEntity, PlanOfActionSectionQuestionEntity } from '../../../../meta-data/app-meta-data.service';\nimport { AcsCodesStorageItem, AcsCodeStatuses } from '../../models/acs-code-items.model';\nimport { PlanOfActionUtilService } from '../../services/plan-of-action-util.service';\n\n@Component({\n selector: 'app-plan-of-action-execute-question',\n templateUrl: './plan-of-action-execute-question.component.html',\n styleUrls: ['./plan-of-action-execute-question.component.scss']\n})\nexport class PlanOfActionExecuteQuestionComponent implements OnInit, OnChanges {\n @Input() question: PlanOfActionSectionQuestionEntity;\n @Input() result: PlanOfActionQuestionResultEntity;\n @Output() resultChange = new EventEmitter();\n\n @Input() planOfAction: PlanOfActionEntity;\n @Input() acsCodes: AcsCodesStorageItem;\n @Input() showAcsCode: boolean;\n @Input() acsCodeStatuses: AcsCodeStatuses;\n\n acsCode: AcsCodesLookupQueryEntity;\n showQuestion: boolean;\n showNotes: boolean;\n\n isMissedCode: boolean = false;\n\n questionClass : string;\n missingAcsCodeImageUrl: string;\n constructor(private planofActionUtilService: PlanOfActionUtilService) {\n this.missingAcsCodeImageUrl = this.planofActionUtilService.getMissedAcsCodeImageUrl();\n\n\n }\n\n outcomeLookupId = AppMetaDataLookups.QuestionOutcomeAllItems;\n\n ngOnInit(): void {\n this.setupQuestion();\n }\n\n ngOnChanges(simpleChanges: SimpleChanges) {\n this.setupQuestion();\n }\n\n checkedValue: boolean = false;\n\n updateCheckedValue() {\n if (this.checkedValue) {\n this.result.QuestionOutcomeId = 1;\n } else {\n this.result.QuestionOutcomeId = null;\n }\n\n this.onChange();\n }\n\n setupQuestion() {\n if (this.result == null) {\n this.result = AppMetaData.PlanOfActionQuestionResult.CreateEntity();\n this.result.PlanOfActionSectionQuestionId = this.question?.PlanOfActionSectionQuestionId;\n }\n\n if (this.acsCodes && this.question?.AcsCodeId && this.question.AcsCodeId != this.acsCode?.AcsCodeId) {\n this.acsCode = this.acsCodes.codesById[this.question.AcsCodeId];\n\n this.isMissedCode = !!this.acsCodeStatuses?.codesById[this.question.AcsCodeId];\n }\n\n this.showQuestion = !this.showAcsCode || (this.planOfAction.OptionsShowQuestionForAcsCode && !!this.question?.QuestionHtml);\n\n this.showNotes = this.showAcsCode || this.question.ShowNotes;\n\n if (this.result.QuestionOutcomeId) {\n this.checkedValue = true;\n }\n\n this.questionClass = this.showAcsCode ? '' : 'basic-question';\n }\n\n onChange() {\n this.resultChange.emit(this.result);\n }\n\n} \n ","
\n
\n
\n
\n \n {{acsCode?.AcsCode}} \n \n \n \n
\n
\n \n \n
\n
\n \n
\n
\n
\n
\n \n
ACS: {{acsCode?.AscCodeDescription}}
\n
\n
\n \n \n
\n
\n
\n
","export class CheckrideFinancialFields { \r\n month: string;\r\n monthDisplay: string;\r\n year: string;\r\n\r\n // Aggregate fields\r\n checkrideCount: string = 'CheckrideCount';\r\n \r\n requestedCount: string = 'RequestedCount';\r\n requestedRevenue: string = 'RequestedRevenue';\r\n\r\n bookedCount: string = 'BookedCount';\r\n bookedRevenue: string = 'BookedRevenue';\r\n \r\n completedCount: string = 'CompletedCount';\r\n completedRevenue: string = 'CompletedRevenue';\r\n\r\n paidRevenue: string = 'PaidRevenue';\r\n \r\n pilexosRevenue: string = 'PilexosRevenue';\r\n pilexosPaidRevenue: string = 'PilexosPaidRevenue';\r\n \r\n checkrideType: string = 'CheckRideTypeIdDisplay';\r\n checkrideOutcome: string = 'CheckRideTypeIdDisplay';\r\n;\r\n}","import { AfterContentInit, Component, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges, ViewChild } from '@angular/core';\r\nimport { DwChartConfig, DwChartPreferences, DwChartTypes } from '../../models/dw-chart-preferences.model';\r\nimport { DwChartBuilderService } from '../../services/dw-chart-builder.service';\r\nimport { DwContainerOptions, DwGridColumnPreference, DwGridEvent, DwQuery } from '@devwareapps/devware-cap';\r\nimport { DwChartDataSelectedEvent } from '../../models/dw-chart-data-selected-event.model';\r\n@Component({\r\n selector: 'dw-chart-tile',\r\n templateUrl: './dw-chart-tile.component.html',\r\n styleUrls: ['./dw-chart-tile.component.scss']\r\n})\r\nexport class DwChartTileComponent implements OnInit, OnChanges, AfterContentInit {\r\n\r\n @Input() chartPreferences: DwChartPreferences\r\n @Input() data: any[];\r\n @Input() containerOptions : DwContainerOptions;\r\n \r\n @Input() query: DwQuery;\r\n \r\n @Input() additionalText: string;\r\n \r\n @Output() dataSelected = new EventEmitter();\r\n \r\n chartConfig: DwChartConfig;\r\n gridPreferences: any;\r\n hideToggle = false;\r\n\r\n finalContainerOptions : DwContainerOptions;\r\n columnPreferences: DwGridColumnPreference[];\r\n\r\n constructor(private dwChartBuilderService: DwChartBuilderService) { }\r\n\r\n showChart = true;\r\n ngOnChanges(changes: SimpleChanges) {\r\n this.setupChart();\r\n this.setupContainer();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.setupChart();\r\n this.setupContainer();\r\n }\r\n\r\n ngAfterContentInit(): void {\r\n }\r\n\r\n toggleShowChart() {\r\n this.showChart = !this.showChart;\r\n }\r\n\r\n onDataSelect(event: any) {\r\n const itemIndex = event?.element?._index;\r\n const datasetIndex = event?.element?._datasetIndex;\r\n\r\n if (itemIndex>=0) {\r\n const datset = event?.dataset[itemIndex];\r\n const dataItem = this.data[itemIndex];\r\n const series = this.chartPreferences.series[datasetIndex];\r\n\r\n const dwEvent: DwChartDataSelectedEvent = {\r\n data: dataItem,\r\n series: series,\r\n dataValue: dataItem[series.dataField],\r\n category: dataItem[this.chartPreferences.categoryField],\r\n categoryValue: dataItem[this.chartPreferences.categoryValueField],\r\n browserEvent: event.originalEvent\r\n };\r\n\r\n this.dataSelected.emit(dwEvent);\r\n }\r\n }\r\n\r\n \r\n onGridEvent(event: DwGridEvent) {\r\n const dataItem = event.eventData;\r\n\r\n const series = this.chartPreferences.series.find(s => s.dataField === event.eventColumn.field);\r\n\r\n const dataValue = dataItem[event.eventColumn.field];\r\n\r\n const dwEvent: DwChartDataSelectedEvent = {\r\n data: dataItem,\r\n series: series,\r\n dataValue: dataValue,\r\n category: dataItem[this.chartPreferences.categoryField],\r\n categoryValue: dataItem[this.chartPreferences.categoryValueField],\r\n browserEvent: event.browserEvent as PointerEvent\r\n };\r\n\r\n this.dataSelected.emit(dwEvent);\r\n}\r\n\r\n\r\n private setupChart() {\r\n if (!this.chartPreferences || !this.data) {\r\n return;\r\n }\r\n\r\n if ((this.data.length === 1 && this.chartPreferences.chartType != DwChartTypes.pie) || this.chartPreferences.showGridFirst) {\r\n this.showChart = false;\r\n }\r\n\r\n if (this.chartPreferences.hideChartDataToggle) {\r\n this.hideToggle = true;\r\n }\r\n\r\n this.chartConfig = this.dwChartBuilderService.buildChartConfig(this.chartPreferences, this.data);\r\n\r\n this.gridPreferences = this.dwChartBuilderService.buildGridPreferences(this.chartPreferences, this.query);\r\n\r\n this.columnPreferences = this.gridPreferences.views[0].columnPreferences;\r\n }\r\n\r\n\r\n private setupGrid() {\r\n }\r\n\r\n private setupContainer() {\r\n // Allow override of container options\r\n if (this.containerOptions) {\r\n this.finalContainerOptions = this.containerOptions;\r\n } else {\r\n this.finalContainerOptions = {\r\n useContainerStyling: true,\r\n containerAllowCollapse: false,\r\n }\r\n }\r\n\r\n this.finalContainerOptions.showTitle = this.chartPreferences?.showContainerTitle;\r\n\r\n this.finalContainerOptions.containerHeaderBackgroundColor = 'blue';\r\n }\r\n\r\n \r\n\r\n}\r\n","\r\n
\r\n {{chartPreferences?.containerTitle}}\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
No Data
\r\n
\r\n 0\">\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n
{{additionalText}}
\r\n\r\n \r\n\r\n \r\n
\r\n
\r\n
","import { Injectable } from \"@angular/core\";\r\nimport { DwAction, DwActionHandler, DwActionResult, DwActionType, DwMdFormActionState, DwMdFormContextInfo, DwModalButtonStandardConfigs, DwModalConfig, DwModalResult, DwModalService, DwModalSize } from \"@devwareapps/devware-cap\";\r\nimport { Observable, of } from \"rxjs\";\r\nimport { AppMetaDataItemNames, PlanOfActionEntity, PlanOfActionSectionEntity } from \"../../../meta-data/app-meta-data.service\";\r\nimport { PlanOfActionRepositoryService } from \"../services/plan-of-action-repository.service\";\r\nimport { GenerateSectionsModalComponent } from \"../../plan-of-action/components/generate-sections-modal/generate-sections-modal.component\";\r\nimport { map } from \"rxjs/operators\";\r\nimport { PlanOfActionGeneratorService } from \"../services/plan-of-action-generator.service\";\r\nimport { GenerateQuestionsModalComponent } from \"../../plan-of-action/components/generate-questions-modal/generate-questions-modal.component\";\r\nimport { AcsCodeSelectionModalOptions, AcsCodeSelectionModalResult } from \"../models/acs-code-selection-modal-options.model\";\r\n\r\n@DwAction({\r\n keyName: 'generate-quesitons-action',\r\n display: 'Generate Questions',\r\n actionType: DwActionType.formAction,\r\n isGlobal: false,\r\n parentItemName: [AppMetaDataItemNames.PlanOfActionSection],\r\n allowOnce: true,\r\n defaultButtonConfig: {\r\n useButtonDefaults: false,\r\n buttonClass: 'btn btn-warning mr-1 mt-1',\r\n buttonText: 'Add Acs Codes',\r\n iconClass: 'fa fa-tasks-alt'\r\n },\r\n configData: {\r\n requireValidation: false,\r\n redirectAfter: false,\r\n actionMessage: '',\r\n }\r\n})\r\n@Injectable()\r\nexport class GenerateQuestionsActionService implements DwActionHandler {\r\n\r\n constructor(private planOfActionRepositoryService: PlanOfActionRepositoryService,\r\n private planofActionGeneratorService: PlanOfActionGeneratorService,\r\n private dwModalService: DwModalService\r\n\r\n ) { }\r\n\r\n handleAction(actionState: DwMdFormActionState): Observable {\r\n\r\n const result = new DwActionResult();\r\n\r\n const currentPlanOfActionSection: PlanOfActionSectionEntity = actionState.data;\r\n\r\n const planOfAction = actionState.formApi.getFormData();\r\n\r\n const section = planOfAction.PlanOfActionSection.find(x => x.PlanOfActionSectionId === currentPlanOfActionSection.PlanOfActionSectionId);\r\n\r\n return this.generateQuestions(actionState, planOfAction, section);\r\n }\r\n\r\n\r\n generateQuestions(actionState: DwMdFormActionState, planOfAction: PlanOfActionEntity, planOfActionSection: PlanOfActionSectionEntity): Observable {\r\n\r\n return this.showAcsCodeSelectionModal(planOfAction, planOfActionSection)\r\n .pipe(map(modalResult => {\r\n const result = new DwActionResult(); \r\n\r\n if (result.cancelled) {\r\n result.cancelled = true;\r\n\r\n return result;\r\n }\r\n\r\n if (modalResult.data) {\r\n this.planofActionGeneratorService.generateQuestions(planOfActionSection, planOfActionSection.PlanOfActionSectionQuestion,modalResult.data.GenerateCodesOptions);\r\n \r\n // Plan of action's reference is updated so we can just use that\r\n actionState.formApi.patchContextData(DwMdFormContextInfo.DATA_CONTEXT_NAME, planOfAction); \r\n actionState.formApi.formGroup.patchValue(planOfAction);\r\n actionState.formApi.setFormData(planOfAction);\r\n }\r\n\r\n return result;\r\n\r\n\r\n }));\r\n }\r\n \r\n public showAcsCodeSelectionModal(planOfAction: PlanOfActionEntity, planOfActionSection: PlanOfActionSectionEntity): Observable> {\r\n\r\n let modalConfig = new DwModalConfig();\r\n\r\n modalConfig.buttons = DwModalButtonStandardConfigs.instance.okAndClose;\r\n\r\n modalConfig.allowFullScreen = true;\r\n modalConfig.modalSize = DwModalSize.large;\r\n\r\n modalConfig.component = GenerateQuestionsModalComponent;\r\n\r\n modalConfig.title = 'Add AcsCodes';\r\n\r\n modalConfig.data = {\r\n acsTestId: planOfAction.AcsTestId,\r\n acsAreaOfOperationId: planOfActionSection.AcsAreaOfOperationId,\r\n acsTaskId: planOfActionSection.AcsAreaOfOperationTaskId,\r\n // planOfAction: planOfAction,\r\n // planOfActionSection: planOfActionSection,\r\n allowQuestionSelect: planOfAction.OptionsShowQuestionForAcsCode,\r\n acsCodeStatuses: this.planOfActionRepositoryService.getAcsCodeStatus(planOfAction),\r\n };\r\n\r\n return this.dwModalService.showModal(modalConfig)\r\n .pipe(map(modalResult => {\r\n\r\n return modalResult;\r\n \r\n }));\r\n }\r\n}","import { Component, Input, OnInit } from '@angular/core';\r\nimport { MenuItemCardData } from '../../models/menu-item-card-data.model';\r\n\r\n@Component({\r\n selector: 'app-menu-item-card',\r\n templateUrl: './menu-item-card.component.html',\r\n styleUrls: ['./menu-item-card.component.scss']\r\n})\r\nexport class MenuItemCardComponent implements OnInit {\r\n\r\n @Input() cardData : MenuItemCardData;\r\n\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n\r\n buttonClick() {\r\n this.cardData?.clickFunc();\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n\r\n
\r\n {{ cardData?.iconText }}\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
","import { Component, OnInit } from '@angular/core';\r\nimport { DwComponent, DwComponentType } from '@devwareapps/devware-cap';\r\nimport { FinancialDashboardChart, FinancialDashboardConfig, FinancialDashboardGroup } from '../../models/financial-dashboard-config.model';\r\nimport { FinancialsRepositoryService } from '../../services/financials-repository.service';\r\nimport { ExaminerRepositoryService } from '../../../examiner/services/examiner-repository.service';\r\nimport { AviationTrainingProgramAllItems, CheckRideRequestSubStatusAllItems, PilotExaminerEntity } from '../../../../meta-data/app-meta-data.service';\r\nimport { ChartDataRequestSeries } from '../../models/chart-data-request.model';\r\nimport { DwChartTypes } from '../../../z-devware/visualizations/models/dw-chart-preferences.model';\r\nimport { CheckrideFinancialFields } from '../../models/checkride-financial-fields.model';\r\n\r\n@DwComponent({\r\n key: 'examiner-financials',\r\n name: 'Examiner Financials',\r\n componentType: DwComponentType.pageComponent,\r\n isGlobal: true\r\n})\r\n@Component({\r\n selector: 'app-examiner-financials',\r\n template: `\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n `\r\n})\r\nexport class ExaminerFinancialsComponent implements OnInit {\r\n financialDashboardConfig: FinancialDashboardConfig;\r\n examiner: PilotExaminerEntity;\r\n currentGroup: string = 'Not Set';\r\n fields: CheckrideFinancialFields;\r\n\r\n constructor(\r\n private financialsRepositoryService: FinancialsRepositoryService,\r\n private examinerRepositoryService: ExaminerRepositoryService,\r\n\r\n ) { }\r\n\r\n setGroup(group: string) {\r\n this.currentGroup = group;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.fields = this.financialsRepositoryService.getFinancialFields();\r\n\r\n this.revenueField = this.fields.paidRevenue;\r\n\r\n this.examinerRepositoryService.getCurrentPilotExaminer()\r\n .subscribe(examiner => {\r\n this.examiner = examiner;\r\n this.setupDashboard();\r\n });\r\n }\r\n\r\n revenueField: string;\r\n\r\n setRevenueField() {\r\n this.setupDashboard();\r\n }\r\n\r\n setupDashboard() {\r\n this.financialDashboardConfig = {\r\n contentConfigKey: 'examiner-financials',\r\n staticFilter: {\r\n pilotExaminerId: this.examiner?.PilotExaminerId || -1,\r\n },\r\n groups: [\r\n this.buildRevenueGroup(),\r\n this.buildCheckrideStatGroup(),\r\n ]\r\n }\r\n }\r\n\r\n buildRevenueGroup(): FinancialDashboardGroup {\r\n const group: FinancialDashboardGroup = {\r\n groupName: 'Revenue',\r\n filterOptions: {\r\n showYear: true,\r\n },\r\n gridConfigKey: 'dep-admin-financials',\r\n charts: []\r\n }\r\n\r\n\r\n group.charts.push(this.createCheckrideChart('Checkrides and Revenue', true, true));\r\n\r\n const fields = this.financialsRepositoryService.getFinancialFields();\r\n\r\n\r\n group.tiles = [\r\n { headerTemplate: '[year] Checkrides', type: 'year', isCurrency: false, iconClass: 'fa fa-plane dw-blue', additionalText: '', dataField: fields.checkrideCount, chartDataIndex: 0, toolTip: 'Checkrides', hideIfNull: false },\r\n { headerTemplate: '[year] Revenue', type: 'year', isCurrency: true, iconClass: 'fa fa-usd-circle dw-green', additionalText: '', dataField: this.revenueField, chartDataIndex: 0, toolTip: 'Checkride Revenue', hideIfNull: false },\r\n { headerTemplate: `[data.${fields.monthDisplay}] Checkrides`, type: 'month', isCurrency: false, iconClass: 'fa fa-plane dw-blue', additionalText: '', dataField: fields.checkrideCount, chartDataIndex: 0, toolTip: 'Checkrides', hideIfNull: false },\r\n { headerTemplate: `[data.${fields.monthDisplay}] Revenue`, type: 'month', isCurrency: true, iconClass: 'fa fa-usd-circle dw-green', additionalText: '', dataField: this.revenueField, chartDataIndex: 0, toolTip: 'Checkride Revenue', hideIfNull: false },\r\n ]\r\n\r\n return group;\r\n }\r\n\r\n private createCheckrideChart(title: string, includeCounts: boolean, includeRevenue: boolean): FinancialDashboardChart {\r\n const fields = this.financialsRepositoryService.getFinancialFields();\r\n\r\n const config: FinancialDashboardChart = {\r\n chartType: DwChartTypes.bar, title: title, categoryField: a => fields.monthDisplay, categoryDisplayOverride: 'Month', additionalGroupingFields: [fields.month, fields.year], orderByFields: [fields.year, fields.month],\r\n series: []\r\n };\r\n const allSeries: ChartDataRequestSeries[] = [\r\n { dataField: fields.requestedCount, legendDisplay: 'Requested', axis: 'y2', chartType: DwChartTypes.line },\r\n { dataField: fields.bookedCount, legendDisplay: 'Booked', axis: 'y2', chartType: DwChartTypes.line },\r\n { dataField: fields.completedCount, legendDisplay: 'Completed', axis: 'y2', chartType: DwChartTypes.line },\r\n { dataField: fields.requestedRevenue, legendDisplay: 'Requested $', chartType: DwChartTypes.bar },\r\n { dataField: fields.bookedRevenue, legendDisplay: 'Booked $', chartType: DwChartTypes.bar },\r\n { dataField: fields.paidRevenue, legendDisplay: 'Paid $', chartType: DwChartTypes.bar },\r\n ];\r\n\r\n if (includeCounts) {\r\n config.series = [...config.series, ...allSeries.slice(0, 3)];\r\n }\r\n\r\n if (includeRevenue) {\r\n config.series = [...config.series, ...allSeries.slice(3, 6)];\r\n }\r\n\r\n return config;\r\n }\r\n\r\n private buildCheckrideStatGroup(): FinancialDashboardGroup {\r\n const group: FinancialDashboardGroup = {\r\n groupName: 'Stats',\r\n filterOptions: {\r\n showYear: true,\r\n showMonth: true,\r\n },\r\n gridConfigKey: 'dep-admin-financials',\r\n charts: []\r\n }\r\n\r\n const fields = this.financialsRepositoryService.getFinancialFields();\r\n\r\n const yearDisplay = '';\r\n group.charts.push({ chartType: DwChartTypes.column, title: `${yearDisplay} Checkride By Airport`, categoryField: a => a.ScheduledAirportId, dataField: fields.checkrideCount, hideLegend: true, orderByFields: [{ field: fields.checkrideCount, isDescending: true }] });\r\n group.charts.push({ chartType: DwChartTypes.column, title: `${yearDisplay} Checkride By Flight School`, categoryField: a => a.RoCheckrideApplicantInfoFlightSchoolFinalName, dataField: fields.checkrideCount, hideLegend: true, orderByFields: [{ field: fields.checkrideCount, isDescending: true }] });\r\n\r\n //group.charts.push({ chartType: DwChartTypes.pie, title: `${yearDisplay} Top Airports`, categoryField: a => a.ScheduledAirportId, dataField: fields.checkrideCount, containerClass: 'tile-50', maxItems: 6 });\r\n\r\n group.charts.push({\r\n chartType: DwChartTypes.column, title: `${yearDisplay} Checkride Types`, categoryField: a => a.AggrCheckRideTypeDisplay, dataField: fields.checkrideCount, hideLegend: true, containerClass: 'tile-502', orderByFields: [{ field: fields.checkrideCount, isDescending: true }],\r\n series: [\r\n // { dataField: fields.checkrideCount, legendDisplay: 'Checkrides', chartType: DwChartTypes.column, },\r\n // { dataField: fields.bookedRevenue, legendDisplay: 'Booked $', chartType: DwChartTypes.column },\r\n ]\r\n });\r\n\r\n\r\n const allSeries: ChartDataRequestSeries[] = [\r\n { dataField: fields.checkrideCount, legendDisplay: 'Checkrides', axis: 'y2', chartType: DwChartTypes.line },\r\n { dataField: fields.bookedRevenue, legendDisplay: 'Booked $', chartType: DwChartTypes.bar },\r\n // { dataField: fields.completedCount, legendDisplay: 'Completed', axis: 'y2', chartType: DwChartTypes.line },\r\n // { dataField: fields.requestedRevenue, legendDisplay: 'Requested $', chartType: DwChartTypes.bar },\r\n // { dataField: fields.bookedRevenue, legendDisplay: 'Booked $', chartType: DwChartTypes.bar },\r\n // { dataField: fields.paidRevenue, legendDisplay: 'Paid $', chartType: DwChartTypes.bar },\r\n ];\r\n\r\n\r\n // group.charts.push({ chartType: DwChartTypes.bar, title: `${yearDisplay} Checkride Types $`, categoryField: a => a.AggrCheckRideTypeDisplay, dataField: fields.bookedRevenue, hideLegend: true, containerClass: 'tile-502' });\r\n group.charts.push({ chartType: DwChartTypes.pie, title: `${yearDisplay} Statuses`, categoryField: a => a.AggrCheckRideRequestStatus, dataField: fields.checkrideCount, containerClass: 'tile-100', additionalFilterOptions: { excludeStatuses: [CheckRideRequestSubStatusAllItems.Deleted, CheckRideRequestSubStatusAllItems.Draft] } });\r\n\r\n group.charts.push({ chartType: DwChartTypes.pie, title: `${yearDisplay} Checkride Outcomes`, categoryField: a => a.CheckRideResultCheckRideOutcomeId, dataField: fields.checkrideCount, containerClass: 'tile-50' });\r\n group.charts.push({ chartType: DwChartTypes.pie, title: `${yearDisplay} Exam Types`, categoryField: a => a.CheckRideTestTypeId, dataField: fields.checkrideCount, containerClass: 'tile-50' });\r\n group.charts.push({ chartType: DwChartTypes.pie, title: `${yearDisplay} Program Types`, categoryField: a => a.AvaiationTrainingProgramId, dataField: fields.checkrideCount, containerClass: 'tile-50_new' });\r\n group.charts.push({ chartType: DwChartTypes.pie, title: `${yearDisplay} Cancellation Reasons`, categoryField: a => a.CheckRideCancellationTypeId, dataField: fields.checkrideCount, containerClass: 'tile-50', additionalFilterOptions: { includeStatuses: [CheckRideRequestSubStatusAllItems.Cancelled] } });\r\n\r\n group.charts.push({ chartType: DwChartTypes.pie, title: `${yearDisplay} Checkride Outcomes - Part 141`, categoryField: a => a.CheckRideResultCheckRideOutcomeId, dataField: fields.checkrideCount, containerClass: 'tile-50', additionalFilterOptions: { includeProgramTypes: [AviationTrainingProgramAllItems.Part141] } });\r\n group.charts.push({ chartType: DwChartTypes.pie, title: `${yearDisplay} Checkride Outcomes - Part 61`, categoryField: a => a.CheckRideResultCheckRideOutcomeId, dataField: fields.checkrideCount, containerClass: 'tile-50', additionalFilterOptions: { includeProgramTypes: [AviationTrainingProgramAllItems.Part61] } });\r\n\r\n //group.charts.push({ chartType: DwChartTypes.pie, title: `${yearDisplay} Statuses`, categoryField: a => a.AggrCheckRideRequestStatus, dataField: fields.checkrideCount, containerClass: 'tile-50' });\r\n\r\n return group;\r\n }\r\n\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { DwAction, DwActionHandler, DwActionResult, DwActionType, DwButtonType, DwMdFormActionState, DwRoutingService } from \"@devwareapps/devware-cap\";\r\nimport { Observable, of } from \"rxjs\";\r\nimport { AppMetaDataItemNames, CheckRideRequestEntity } from \"../../../../meta-data/app-meta-data.service\";\r\n\r\n\r\n\r\n\r\n@DwAction({\r\n keyName: 'rebook-applicant-checkride',\r\n display: 'Rebook Applicant Checkride',\r\n parentItemName: [AppMetaDataItemNames.CheckRideRequest, AppMetaDataItemNames.CheckRideResult],\r\n isGlobal: false,\r\n actionType: DwActionType.formAction,\r\n defaultButtonConfig: {\r\n useParentDisplay: false,\r\n buttonText: 'Rebook Checkride',\r\n buttonClass: 'btn btn-warning btn-sm',\r\n buttonTitle: 'Rebook Checkride',\r\n buttonType: DwButtonType.standard,\r\n iconClass: 'fa fa-plane-departure'\r\n }\r\n})\r\n@Injectable()\r\nexport class RebookApplicantCheckrideActionService implements DwActionHandler {\r\n\r\n constructor(private dwRoutingService: DwRoutingService) {}\r\n\r\n handleAction(actionState: DwMdFormActionState): Observable {\r\n const result = new DwActionResult();\r\n \r\n const checkride = actionState.formApi.getFormData();\r\n\r\n const url = '/checkrides/add?RebookCheckrideId=' + checkride.CheckRideRequestId;\r\n\r\n this.dwRoutingService.navigateToUrl(url, { });\r\n\r\n return of(result);\r\n }\r\n}","import { Injectable } from \"@angular/core\";\r\nimport { DwAction, DwActionType, DwActionHandler, DwMdFormInitActionHandler, DwMdFormInitActionState, DwActionResult, DwActionState, DwMdFormActionState, DwGridActionResult, DwMetaDataGridActionState, DwModalButtonStandardConfigs, DwModalConfig, DwModalSize, ensureArray, DwModalService, DwMdFormContextInfo } from \"@devwareapps/devware-cap\";\r\nimport { AppMetaDataItemNames, PlanOfActionEntity } from \"../../../meta-data/app-meta-data.service\";\r\nimport { PaymentRepositoryService } from \"../../payments/services/payment-repository.service\";\r\nimport { Observable, of} from \"rxjs\";\r\nimport { PlanOfActionRepositoryService } from \"../services/plan-of-action-repository.service\";\r\nimport { map } from \"rxjs/operators\";\r\nimport { GenerateSectionsModalComponent } from \"../../plan-of-action/components/generate-sections-modal/generate-sections-modal.component\";\r\n\r\n\r\n@DwAction({\r\n keyName: 'generate-sections-action',\r\n display: 'Generate Sections',\r\n actionType: DwActionType.formAction,\r\n isGlobal: false,\r\n parentItemName: AppMetaDataItemNames.PlanOfAction,\r\n allowOnce: true,\r\n defaultButtonConfig: {\r\n buttonClass: 'btn btn-warning mr-1 mt-1',\r\n buttonText: 'Generate Sections',\r\n iconClass: 'fa fa-tasks-alt'\r\n },\r\n configData: {\r\n requireValidation: false,\r\n redirectAfter: false,\r\n actionMessage: '',\r\n }\r\n})\r\n@Injectable()\r\nexport class GenerateSectionsActionService implements DwActionHandler {\r\n\r\n constructor(private planOfActionRepositoryService: PlanOfActionRepositoryService,\r\n private dwModalService: DwModalService\r\n\r\n ) {}\r\n \r\n handleAction(actionState: DwMdFormActionState): Observable {\r\n \r\n const result = new DwActionResult();\r\n result.cancelled = false;\r\n result.success = true;\r\n\r\n const planOfAction = actionState.formApi.getFormData();\r\n\r\n return this.showModal(actionState, planOfAction);\r\n }\r\n\r\n\r\n private showModal(actionState: DwMdFormActionState, planOfAction: PlanOfActionEntity): Observable {\r\n let modalConfig = new DwModalConfig();\r\n\r\n modalConfig.buttons = DwModalButtonStandardConfigs.instance.okAndClose;\r\n\r\n modalConfig.allowFullScreen = true;\r\n modalConfig.modalSize = DwModalSize.medium;\r\n\r\n modalConfig.component = GenerateSectionsModalComponent;\r\n\r\n modalConfig.title = 'Generate Sections';\r\n modalConfig.data = planOfAction;\r\n\r\n \r\n return this.dwModalService.showModal(modalConfig)\r\n .pipe(map(modalResult => {\r\n const result = new DwActionResult();\r\n\r\n if (result.cancelled) {\r\n result.cancelled = true;\r\n\r\n return result;\r\n }\r\n const planOfAction = modalConfig.data;\r\n\r\n if (planOfAction) {\r\n \r\n // Try to patch the data itself so it will create the form array entries for sections & questions\r\n actionState.formApi.patchContextData(DwMdFormContextInfo.DATA_CONTEXT_NAME, planOfAction); \r\n actionState.formApi.formGroup.patchValue(planOfAction);\r\n actionState.formApi.setFormData(planOfAction);\r\n\r\n // Old - wasn't working - might need to research why\r\n //actionState.formApi.patchFormData(modalResult.data);\r\n }\r\n\r\n return result;\r\n }));\r\n }\r\n}","import { Component, EventEmitter, Inject, OnInit, SimpleChanges } from '@angular/core';\nimport { FormGroup, FormControl } from '@angular/forms';\nimport { DwComponent, DwComponentType, DwContainerOptions, DwContext, DwExpressionService, DwFormActionInterceptResult, DwFormActionInterceptor, DwFormActionKeys, DwFormContextMode, DwMessage, DwMessageSeverity, DwMetaDataFormApi, DwMetaDataFormConfig, DwMetaDataFormStateService, DwMetaDataService, DwMetaDataServiceToken, DwSectionBaseComponent, DwSectionBasePreference, DwUIMetaDataConfig, DwUIMetaDataConfigToken, DwUiConfigRegistryService, deepCopy, formatDateTimeFromLocal } from '@devwareapps/devware-cap';\nimport { Observable, Subscription, of } from 'rxjs';\n\nimport { AppMetaData, AppMetaDataItemNames, ApplicantPlaceholderEntity, CheckRideOutcomeAllItems, CheckRideRequestEntity, CheckRideRequestSubStatusAllItems, CheckRideResultEntity, CheckRideScenarioEntity, CheckrideGroupACSTestQueryEntity, PilotExaminerLocationEntity, PilotExaminerSearchQueryEntity, StudentApplicantEntity } from '../../../../meta-data/app-meta-data.service';\nimport { ExaminerRepositoryService } from '../../../examiner/services/examiner-repository.service';\nimport { CheckCalendarAvailabilityRequestDTO } from '../../../examiner/models/check-calendar-availability-request.model';\nimport { DateTimeUtilService } from '../../../shared/util/date-time-util.service';\nimport { CurrentStudentContext } from 'src/app/features/shared/contexts/current-student-context/current-student-context.service';\nimport { CheckCalendarAvailabilityResultDTO } from '../../../examiner/models/check-calendar-availability-result.model';\nimport { map } from 'rxjs/operators';\n\n@DwComponent({\n key: 'checkride-plan-of-action-util',\n name: ' Checkride - Plan of Action Util',\n componentType: DwComponentType.formSection,\n parentItemName: AppMetaDataItemNames.CheckRideRequest,\n isGlobal: false\n})\n@Component({\n selector: 'app-checkride-plan-of-action-util',\n template: ``\n})\nexport class CheckridePlanOfActionUtilComponent extends DwSectionBaseComponent {\n checkRideRequest: CheckRideRequestEntity;\n\n originalCheckRideRequest: CheckRideRequestEntity;\n\n formApi: DwMetaDataFormApi;\n\n constructor(\n dwExpressionService: DwExpressionService,\n dwUiConfigRegistryService: DwUiConfigRegistryService,\n @Inject(DwUIMetaDataConfigToken) uiMetaDataConfig: DwUIMetaDataConfig,\n @Inject(DwMetaDataServiceToken) dwMetaDataService: DwMetaDataService,\n private dwMetaDataFormStateService: DwMetaDataFormStateService,\n private examinerRepositoryService: ExaminerRepositoryService,\n private dateTimeUtilService: DateTimeUtilService\n ) {\n super(dwExpressionService, dwUiConfigRegistryService, uiMetaDataConfig, dwMetaDataService);\n\n this.formApi = this.dwMetaDataFormStateService.state.formApi;\n }\n\n ngOnInit(): void {\n this.setupDataWatch();\n\n }\n\n\n setupDataWatch() {\n this.formApi.getFormDataChanges(100)\n .subscribe(dataChange => {\n if (this.formApi.isDataLoadComplete) {\n this.checkForDataChange();\n }\n });\n\n if (this.formApi.isDataLoadComplete) {\n this.checkForDataChange();\n }\n\n this.context['Checkride-Group_ACS_Test']?.subscribe((groupAcsTest) => {\n this.updateAcsTest(groupAcsTest)\n });\n }\n\n private checkForDataChange() {\n\n const checkRideRequest = this.formApi.getFormData();\n\n this.checkRideRequest = checkRideRequest;\n\n if (!this.originalCheckRideRequest) {\n this.originalCheckRideRequest = deepCopy(checkRideRequest);\n }\n\n // if (this.checkRideRequest.CheckRideGroupId != this.originalCheckRideRequest?.CheckRideGroupId) {\n // this.updateAcsTest();\n // }\n\n }\n\n private updateAcsTest(groupAcsTest: CheckrideGroupACSTestQueryEntity) {\n if (!groupAcsTest) {\n return;\n }\n\n if (this.checkRideRequest.ApplicantAcsWrittenResult.AcsTestId != groupAcsTest.AcsTestAcsTestId) {\n \n const applicantAcsWrittenFG = this.formGroup.get('ApplicantAcsWrittenResult') as FormGroup;\n\n const acsTestIdFC = applicantAcsWrittenFG.get('AcsTestId') as FormControl;\n\n acsTestIdFC.setValue(groupAcsTest.AcsTestAcsTestId);\n\n // this.checkRideRequest.ApplicantAcsWrittenResult.AcsTestId = groupAcsTest.AcsTestAcsTestId;\n \n // this.formApi.formGroup.patchValue(this.checkRideRequest);\n }\n }\n}\n\n","import { Injectable } from \"@angular/core\";\r\nimport { PlanOfActionRepositoryService } from \"./plan-of-action-repository.service\";\r\nimport { DwModalButtonStandardConfigs, DwModalConfig, DwModalResult, DwModalService, DwModalSize } from \"@devwareapps/devware-cap\";\r\nimport { PlanOfActionEntity } from \"../../../meta-data/app-meta-data.service\";\r\nimport { Observable } from \"rxjs\";\r\nimport { GenerateSectionsModalComponent } from \"../components/generate-sections-modal/generate-sections-modal.component\";\r\nimport { map } from \"rxjs/operators\";\r\nimport { AcsSectionSelectionModalOptions } from \"../models/acs-section-selection-modal-options.model\";\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class PlanOfActionModalService {\r\n\r\n\r\n constructor(private planOfActionRepositoryService: PlanOfActionRepositoryService,\r\n private dwModalService: DwModalService\r\n\r\n ) {}\r\n\r\n \r\n showGenerateSectionsModal(planOfAction: PlanOfActionEntity, acsTestPortionId: number): Observable> {\r\n let modalConfig = new DwModalConfig();\r\n\r\n modalConfig.buttons = DwModalButtonStandardConfigs.instance.okAndClose;\r\n\r\n modalConfig.allowFullScreen = true;\r\n modalConfig.modalSize = DwModalSize.medium;\r\n\r\n modalConfig.component = GenerateSectionsModalComponent;\r\n\r\n modalConfig.title = 'Generate Sections';\r\n modalConfig.data = {\r\n planOfAction: planOfAction,\r\n acsTestPortionId: acsTestPortionId\r\n };\r\n \r\n return this.dwModalService.showModal(modalConfig);\r\n // const result = new DwActionResult();\r\n\r\n // if (result.cancelled) {\r\n // result.cancelled = true;\r\n \r\n // return result;\r\n // }\r\n // const planOfAction = modalConfig.data;\r\n\r\n // if (planOfAction) {\r\n \r\n // // Try to patch the data itself so it will create the form array entries for sections & questions\r\n // actionState.formApi.patchContextData(DwMdFormContextInfo.DATA_CONTEXT_NAME, planOfAction); \r\n // actionState.formApi.formGroup.patchValue(planOfAction);\r\n // actionState.formApi.setFormData(planOfAction);\r\n\r\n // // Old - wasn't working - might need to research why\r\n // //actionState.formApi.patchFormData(modalResult.data);\r\n // }\r\n\r\n // return result;\r\n //}));\r\n }\r\n\r\n\r\n\r\n\r\n}","import { Inject, Injectable } from \"@angular/core\";\r\nimport { Observable, of, pipe } from \"rxjs\";\r\nimport { catchError, map, mergeMap } from 'rxjs/operators'\r\nimport { AppMetaData, CalendarReferenceEntity, CheckRideGroupAllItems, CheckRideRequestCalendarQueryEntity, CheckRideRequestEntity, CheckRideRequestSubStatusAllItems, CheckRideTypeAllItems, CheckrideActiveApplicantCheckridesQueryEntity, PilotExaminerEntity, PilotExaminerLocationEntity, PilotExaminerSearchQueryEntity, PilotExaminerStatusAllItems, StudentApplicantEntity } from \"../../../meta-data/app-meta-data.service\";\r\nimport { DwMetaDataServiceToken, DwMetaDataService, DwOrmDataService, DwOrmDataServiceToken, DwQuery, deepCopy, DwConfigService, DwConfigServiceToken, DwLookupInfo, SuppressErrorMessagesHeader, DwSecurityUserService, DwQueryMetaData } from \"@devwareapps/devware-cap\";\r\nimport { CheckrideValidationResult } from \"../models/checkride-validation-result.model\";\r\nimport { HttpClient, HttpHeaders } from \"@angular/common/http\";\r\nimport { CheckrideValidationRequest } from \"../models/checkride-validation-request.model\";\r\n\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class ApplicantRepositoryService {\r\n apiRoot: string;\r\n\r\n constructor(\r\n @Inject(DwOrmDataServiceToken) private dwOrmDataService: DwOrmDataService,\r\n @Inject(DwMetaDataServiceToken) private dwMetaDataService: DwMetaDataService,\r\n @Inject(DwConfigServiceToken) configService: DwConfigService,\r\n private dwSecurityUserService: DwSecurityUserService,\r\n private httpClient: HttpClient\r\n ) {\r\n this.apiRoot = configService.coreConfig.apiRoot;\r\n }\r\n\r\n getApplicationProfile(pilotExaminerId: number, includeCalendarRef: boolean = false): Observable {\r\n const query = AppMetaData.PilotExaminer.CreateQueryBuilder();\r\n\r\n query.addFilterAnd(filters => filters.Equal(field => field.PilotExaminerId, pilotExaminerId));\r\n\r\n return this.dwOrmDataService.executeQuerySingle(query);\r\n }\r\n\r\n getActiveCheckrides(currentCheckrideRequestId: number): Observable {\r\n return AppMetaData.Queries.CheckrideActiveApplicantCheckrides.CreateQueryBuilder(this.dwMetaDataService)\r\n .pipe(mergeMap(query => {\r\n query.query = this.cloneQuery(query.query);\r\n\r\n const userId = this.dwSecurityUserService.securityContext.ApplicationUser?.UserId;\r\n\r\n if (!userId) {\r\n return of([]);\r\n }\r\n\r\n query.addFilterAnd(f => f.Equal(a => a.StudentApplicantUserId, userId));\r\n\r\n if (currentCheckrideRequestId) {\r\n query.addFilterAnd(f => f.NotEqual(a => a.CheckRideRequestId, currentCheckrideRequestId));\r\n }\r\n\r\n return this.dwOrmDataService.executeQuery(query)\r\n }));\r\n }\r\n\r\n validateActiveCheckrides(checkrideRequest: CheckRideRequestEntity): Observable {\r\n const url = `${this.apiRoot}/pilexos/booking/validate-checkride`;\r\n\r\n const request: CheckrideValidationRequest = {\r\n CheckRideRequestJSON: JSON.stringify(checkrideRequest)\r\n }\r\n\r\n let headers = new HttpHeaders();\r\n\r\n headers = headers.append(SuppressErrorMessagesHeader, 'true');\r\n\r\n return this.httpClient.post(url, request, { headers: headers})\r\n .pipe(catchError(error => {\r\n const result: CheckrideValidationResult = {\r\n IsSuccess: false,\r\n Message: `An error occurred while validating the checkride request.`\r\n };\r\n\r\n return of(result);\r\n }));\r\n }\r\n\r\n getCurrentApplicantinfo(): Observable {\r\n const query = AppMetaData.StudentApplicant.CreateQueryBuilder();\r\n\r\n query.addFilterAnd(filters => filters.Equal(field => field.UserId, this.dwSecurityUserService.securityContext.ApplicationUser?.UserId));\r\n\r\n query.query.FieldSettings.IncludeRootItemFields = false;\r\n\r\n query.addFields(f => [f.ApplicantAddressId, f.UserId, f.ApplicationDescription, f.AviationAuthorityId, f.PilotCertificateNumber, f.Citizenship]);\r\n\r\n // Build user query\r\n var userQuery = AppMetaData.DwUser.CreateQueryBuilder();\r\n\r\n userQuery.query.FieldSettings.IncludeRootItemFields = false;\r\n\r\n userQuery.addFields(f => [f.FirstName, f.LastName, f.UserPictureMediaId]);\r\n\r\n query.addPrefetch(r => r.DwUser, userQuery.query);\r\n\r\n // Build checkride query\r\n const checkRideQuery = AppMetaData.CheckRideRequest.CreateQueryBuilder();\r\n\r\n checkRideQuery.query.FieldSettings.IncludeRootItemFields = false;\r\n\r\n checkRideQuery.addFields(f => [f.ScheduledPilotExaminerId, f.CheckRideRequestSubStatusId, f.StudentApplicantId, f.ScheduledDateTime]);\r\n checkRideQuery.addFilterAnd(f => f.NotInList(f => f.CheckRideRequestSubStatusId, [CheckRideRequestSubStatusAllItems.Cancelled, CheckRideRequestSubStatusAllItems.Deleted]))\r\n // Check the result as well\r\n checkRideQuery.addPrefetch(r => r.CheckRideResult);\r\n\r\n query.addPrefetch(r => r.CheckRideRequest, checkRideQuery.query);\r\n\r\n return this.dwOrmDataService.executeQuerySingle(query);\r\n }\r\n\r\n getApplicantCheckrideRequest(checkrideRequestId: number): Observable {\r\n const checkRideQuery = AppMetaData.CheckRideRequest.CreateQueryBuilder();\r\n\r\n checkRideQuery.addFilterAnd(filters => filters.Equal(field => field.CheckRideRequestId, checkrideRequestId));\r\n\r\n checkRideQuery.addRelation(r => r.StudentApplicant);\r\n\r\n checkRideQuery.addFilterAnd(filters => filters.Equal(field => AppMetaData.StudentApplicant.Attributes.UserId, this.dwSecurityUserService.securityContext.ApplicationUser?.UserId));\r\n\r\n // Check the result as well\r\n checkRideQuery.addPrefetch(r => r.CheckRideResult);\r\n checkRideQuery.addPrefetch(r => r.CheckRidePayment);\r\n\r\n return this.dwOrmDataService.executeQuerySingle(checkRideQuery);\r\n }\r\n\r\n\r\n cloneQuery(query: DwQuery): DwQuery {\r\n const newQuery = new DwQuery(query.RootTable);\r\n\r\n const clonedQuery = deepCopy(query);\r\n\r\n return Object.assign(newQuery, clonedQuery);\r\n }\r\n} ","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { FormControl, FormGroup, AbstractControl } from '@angular/forms';\r\nimport { DwComponent, DwComponentType, DwContext, DwFormControl, DwFormControlInit, DwFormFieldConfig, DwLookupInfo, DwMetaDataService, DwMetaDataServiceToken, getMomentValue } from '@devwareapps/devware-cap';\r\nimport { AirportEntity, AirportWithAddressInfoQueryEntity, AppMetaDataLookups } from '../../../../meta-data/app-meta-data.service';\r\nimport { ExaminerRepositoryService } from '../../../examiner/services/examiner-repository.service';\r\nimport { Observable } from 'rxjs';\r\nimport { DateTimeUtilService } from '../../util/date-time-util.service';\r\n\r\n@DwComponent({\r\n key: 'pilexos-email-display',\r\n name: 'E-mail Display',\r\n componentType: DwComponentType.formControl,\r\n isGlobal: true\r\n})\r\n\r\n@Component({\r\n selector: 'app-email-dispaly',\r\n template: `\r\n
\r\n {{email}}\r\n {{missingTextData}}\r\n
\r\n`\r\n})\r\nexport class EmailDispalyComponent implements DwFormControl , DwFormControlInit{\r\n fieldDef: DwFormFieldConfig;\r\n formGroup: FormGroup;\r\n context: DwContext;\r\n useDisplayField?: boolean;\r\n \r\n email?:string;\r\n missingTextData: string;\r\n\r\n constructor(@Inject(DwMetaDataServiceToken) private dwMetaDataService: DwMetaDataService,\r\n private examinerRepositoryService: ExaminerRepositoryService,\r\n private dateTimeUtilService: DateTimeUtilService\r\n ) { }\r\n\r\n\r\n initControl(): void {\r\n // More checks needed since the data might not be loaded yet\r\n this.email = this.control.value;\r\n\r\n this.missingTextData = this.fieldDef.readOnlyMissingDataText || 'None';\r\n }\r\n\r\n /*\r\n * Returns the rating Form Control to get or set it's value\r\n */\r\n get control(): AbstractControl {\r\n\r\n \r\n return this.formGroup.get(this.fieldDef.attrName);\r\n }\r\n\r\n}","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { FormControl, FormGroup, AbstractControl } from '@angular/forms';\r\nimport { DwComponent, DwComponentType, DwContext, DwFormControl, DwFormControlInit, DwFormFieldConfig, DwLookupInfo, DwMetaDataService, DwMetaDataServiceToken, formatDateTimeToLocal, getMomentValue } from '@devwareapps/devware-cap';\r\nimport { AirportEntity, AirportWithAddressInfoQueryEntity, AppMetaDataLookups } from '../../../../meta-data/app-meta-data.service';\r\nimport { ExaminerRepositoryService } from '../../../examiner/services/examiner-repository.service';\r\nimport { Observable } from 'rxjs';\r\nimport { DateTimeUtilService } from '../../util/date-time-util.service';\r\n\r\n@DwComponent({\r\n key: 'pilexos-date-time-display',\r\n name: 'Date Time Display',\r\n componentType: DwComponentType.formControl,\r\n isGlobal: true\r\n})\r\n@Component({\r\n selector: 'app-date-time-display-control',\r\n template: `\r\n
{{ translatedDateTime }} {{ timezone?.TimezoneShortName}}
\r\n\r\n
Different Timezone
\r\n `\r\n})\r\nexport class DateTimeDisplayControlComponent implements DwFormControl , DwFormControlInit{\r\n fieldDef: DwFormFieldConfig;\r\n formGroup: FormGroup;\r\n context: DwContext;\r\n useDisplayField?: boolean;\r\n \r\n \r\n dateTimeValue: any;\r\n timezoneId: any;\r\n timezoneLookups: DwLookupInfo[];\r\n timezone: DwLookupInfo;\r\n timezoneIANAIdentifier: any;\r\n translatedDateTime: string;\r\n airportInfo: AirportWithAddressInfoQueryEntity;\r\n localDateTime: string;\r\n localTimezone: DwLookupInfo;\r\n\r\n constructor(@Inject(DwMetaDataServiceToken) private dwMetaDataService: DwMetaDataService,\r\n private examinerRepositoryService: ExaminerRepositoryService,\r\n private dateTimeUtilService: DateTimeUtilService\r\n ) { }\r\n\r\n\r\n initControl(): void {\r\n // More checks needed since the data might not be loaded yet\r\n this.dateTimeValue = this.control.value;\r\n }\r\n\r\n ngOnInit() {\r\n this.updateValue();\r\n\r\n this.control.valueChanges.subscribe(value => {\r\n this.updateValue();\r\n });\r\n\r\n this.getAirportInfo()?.subscribe(airportInfo => {\r\n\r\n this.airportInfo = airportInfo;\r\n\r\n this.updateValue();\r\n })\r\n\r\n\r\n this.dwMetaDataService.getLookup(AppMetaDataLookups.TimeZoneAllItems)\r\n .subscribe(timezoneLookups => {\r\n this.timezoneLookups = timezoneLookups;\r\n\r\n this.updateValue();\r\n });\r\n\r\n \r\n }\r\n\r\n\r\n private updateValue() {\r\n \r\n if (this.dateTimeValue == this.control?.value && this.timezoneId == this.airportInfo?.AirportAddressTimezoneId || !this.timezoneLookups) {\r\n return;\r\n }\r\n\r\n this.dateTimeValue = this.control?.value;\r\n this.timezoneId = this.airportInfo?.AirportAddressTimezoneId;\r\n\r\n this.timezone = this.timezoneLookups.find(tz => tz.Id == this.timezoneId);\r\n\r\n this.timezoneIANAIdentifier = this.timezone?.IANAIdentifier;\r\n\r\n\r\n \r\n const browserTimeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;\r\n \r\n this.localTimezone = this.timezoneLookups.find(tz => tz.IANAIdentifier == browserTimeZone);\r\n \r\n \r\n this.localDateTime = this.dateTimeUtilService.formatDateTimeToLocal(this.dateTimeValue);\r\n \r\n if (this.localDateTime.indexOf('Invalid') > -1) { \r\n this.localDateTime = formatDateTimeToLocal(this.dateTimeValue, true, true);\r\n }\r\n \r\n if (this.timezoneIANAIdentifier) {\r\n this.translatedDateTime = this.dateTimeUtilService.formatDateTimeToTimezone(this.dateTimeValue, this.timezoneIANAIdentifier);\r\n } else {\r\n this.translatedDateTime = this.localDateTime;\r\n }\r\n \r\n }\r\n\r\n /*\r\n * Returns the rating Form Control to get or set it's value\r\n */\r\n get control(): AbstractControl {\r\n return this.formGroup.get(this.fieldDef.attrName);\r\n }\r\n\r\n /*\r\n * Returns the rating Form Control to get or set it's value\r\n */\r\n getAirportInfo(): Observable {\r\n return this.context['Airport-Check_Ride_Request']?.asObservable();\r\n }\r\n\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { DwAction, DwActionHandler, DwActionResult, DwActionType, DwButtonType, DwFormActionConfig, DwMdFormActionState, DwRoutingService } from \"@devwareapps/devware-cap\";\r\nimport { Observable, of } from \"rxjs\";\r\nimport { AppMetaDataItemNames, CheckRideRequestEntity, CheckRideRequestSubStatusAllItems } from \"../../../../meta-data/app-meta-data.service\";\r\nimport { mergeMap } from \"rxjs/operators\";\r\n\r\n\r\n\r\n\r\n@DwAction({\r\n keyName: 'accept-new-proposed-date',\r\n display: 'Accept Proposed Date',\r\n parentItemName: [AppMetaDataItemNames.CheckRideRequest],\r\n isGlobal: false,\r\n actionType: DwActionType.formAction,\r\n defaultButtonConfig: {\r\n useParentDisplay: false,\r\n buttonText: 'Accept',\r\n buttonClass: 'btn btn-success',\r\n buttonTitle: 'Accept',\r\n buttonType: DwButtonType.standard,\r\n iconClass: 'fa fa-check'\r\n },\r\n configData: {\r\n requireValidation: true,\r\n redirectAfter: true,\r\n actionMessage: 'Saving...',\r\n }\r\n})\r\n@Injectable()\r\nexport class AcceptProposedDateActionService implements DwActionHandler {\r\n\r\n constructor(private dwRoutingService: DwRoutingService) {}\r\n\r\n handleAction(actionState: DwMdFormActionState): Observable {\r\n \r\n \r\n const checkride = actionState.formApi.getFormData();\r\n\r\n checkride.CheckRideRequestSubStatusId = CheckRideRequestSubStatusAllItems.Accepted;\r\n checkride.ScheduledDateTime = checkride.ProposedDateTime;\r\n if(checkride.ProposedTimeMinutes) {\r\n checkride.ScheduledTimeMinutes = checkride.ProposedTimeMinutes;\r\n }\r\n if (checkride.ProposedAirportId) {\r\n checkride.ScheduledAirportId = checkride.ProposedAirportId;\r\n }\r\n\r\n actionState.formApi.formGroup.patchValue(checkride);\r\n\r\n // Save the checkride first, then navigate to the rebook page\r\n return actionState.formApi.saveData(true)\r\n\r\n .pipe(mergeMap(saveResult => {\r\n const result = new DwActionResult();\r\n\r\n if (saveResult.cancelled || saveResult.validationFailed) {\r\n result.cancelled = true;\r\n return of(result);\r\n }\r\n \r\n result.success = true;\r\n return of(result);\r\n }));\r\n }\r\n}","\r\n\r\nexport enum PilexosUserType {\r\n pilotExaminer='pilotExaminer',\r\n studentApplicant='pilotApplicant',\r\n flightSchool='flightSchool',\r\n pilexosAdmin='pilexosAdmin',\r\n flightInstructor='flightInstructor',\r\n}\r\n\r\nexport enum PilexosUserTypeIds {\r\n pilotExaminer=1,\r\n studentApplicant=3,\r\n flightSchool=2,\r\n pilexosAdmin=4,\r\n flightInstructor=5,\r\n}\r\n\r\nexport function convertUserType(userType: PilexosUserType): number {\r\n switch (userType) {\r\n case PilexosUserType.pilotExaminer:\r\n return PilexosUserTypeIds.pilotExaminer;\r\n case PilexosUserType.studentApplicant:\r\n return PilexosUserTypeIds.studentApplicant;\r\n case PilexosUserType.flightSchool:\r\n return PilexosUserTypeIds.flightSchool;\r\n case PilexosUserType.flightInstructor:\r\n return PilexosUserTypeIds.flightInstructor;\r\n case PilexosUserType.pilexosAdmin:\r\n return PilexosUserTypeIds.pilexosAdmin;\r\n }\r\n}\r\n\r\n","import { Component, Inject, OnInit } from '@angular/core';\r\nimport { DwComponent, DwComponentType, DwExpressionService, DwFormGroup, DwMetaDataFormApi, DwMetaDataFormStateService, DwMetaDataService, DwMetaDataServiceToken, DwSectionBaseComponent, DwUIMetaDataConfig, DwUIMetaDataConfigToken, DwUiConfigRegistryService } from '@devwareapps/devware-cap';\r\nimport { AcsCodesLookupQueryEntity, AppMetaDataItemNames, CheckRideRequestEntity, PlanOfActionEntity, PlanOfActionSectionEntity, PlanOfActionSectionQuestionEntity, PlanOfActionSectionTypeAllItems } from '../../../../meta-data/app-meta-data.service';\r\nimport { ApplicantRepositoryService } from '../../../applicant/services/applicant-repository.service';\r\nimport { ExaminerRepositoryService } from '../../../examiner/services/examiner-repository.service';\r\nimport { DateTimeUtilService } from '../../../shared/util/date-time-util.service';\r\nimport { PlanOfActionRepositoryService } from '../../../plan-of-action/services/plan-of-action-repository.service';\r\nimport { AcsCodesStorageItem } from '../../../plan-of-action/models/acs-code-items.model';\r\n\r\n\r\n\r\n@DwComponent({\r\n key: 'question-edit-control',\r\n name: ' Question Edit Control',\r\n componentType: DwComponentType.formSection,\r\n parentItemName: AppMetaDataItemNames.PlanOfActionSectionQuestion,\r\n isGlobal: false\r\n})\r\n@Component({\r\n selector: 'app-question-edit-control',\r\n templateUrl: './question-edit-control.component.html',\r\n styleUrls: ['./question-edit-control.component.scss']\r\n})\r\nexport class QuestionEditControlComponent extends DwSectionBaseComponent {\r\n formApi: DwMetaDataFormApi;\r\n planOfAction: PlanOfActionEntity;\r\n planOfActionSection: PlanOfActionSectionEntity;\r\n planOfActionSectionQuestion: PlanOfActionSectionQuestionEntity;\r\n \r\n acsCodes: AcsCodesStorageItem;\r\n currentCodes: AcsCodesLookupQueryEntity[];\r\n\r\n showAscCode: boolean = true;\r\n showQuestion: boolean = true;\r\n\r\n currentAcsCode: AcsCodesLookupQueryEntity;\r\n rootFormGroup: any;\r\n hideLabels: boolean = false;\r\n \r\n constructor(\r\n dwExpressionService: DwExpressionService,\r\n dwUiConfigRegistryService: DwUiConfigRegistryService,\r\n @Inject(DwUIMetaDataConfigToken) uiMetaDataConfig: DwUIMetaDataConfig,\r\n @Inject(DwMetaDataServiceToken) dwMetaDataService: DwMetaDataService,\r\n private dwMetaDataFormStateService: DwMetaDataFormStateService,\r\n private planOfActionRepositoryService: PlanOfActionRepositoryService,\r\n ) {\r\n super(dwExpressionService, dwUiConfigRegistryService, uiMetaDataConfig, dwMetaDataService);\r\n\r\n this.formApi = this.dwMetaDataFormStateService.state.formApi;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.setupDataWatch();\r\n } \r\n\r\n setupDataWatch() {\r\n this.formApi.getFormDataChanges(100)\r\n .subscribe(dataChange => {\r\n if (this.formApi.isDataLoadComplete) {\r\n this.checkForDataChange();\r\n }\r\n });\r\n\r\n if (this.formApi.isDataLoadComplete) {\r\n this.checkForDataChange();\r\n }\r\n\r\n this.subscriptions.push(\r\n this.formGroup.valueChanges.subscribe(() => {\r\n this.planOfActionSectionQuestion = this.formGroup.getRawValue();\r\n\r\n this.setupQuestion();\r\n })\r\n );\r\n \r\n }\r\n\r\n private checkForDataChange() {\r\n this.planOfAction = this.formApi.getFormData();\r\n this.setupQuestion();\r\n if (this.formGroup instanceof DwFormGroup) {\r\n const dwFormGroup = this.formGroup as DwFormGroup;\r\n const parentFormGroup = dwFormGroup.parentFormGroup;\r\n\r\n this.planOfActionSection = parentFormGroup.getRawValue();\r\n\r\n this.setupAcsCodes();\r\n }\r\n }\r\n\r\n private setupQuestion() {\r\n if (!this.planOfActionSectionQuestion || !this.acsCodes) {\r\n return;\r\n }\r\n\r\n this.currentAcsCode = this.acsCodes?.codesById[this.planOfActionSectionQuestion.AcsCodeId];\r\n\r\n this.hideLabels = (this.planOfActionSectionQuestion.QuestionOrder > 1);\r\n\r\n if (this.planOfActionSection.PlanOfActionSectionTypeId == PlanOfActionSectionTypeAllItems.Manual) {\r\n this.showAscCode = false;\r\n this.showQuestion = true;\r\n } else {\r\n this.showAscCode = true;\r\n this.showQuestion = this.planOfAction.OptionsShowQuestionForAcsCode;\r\n }\r\n }\r\n\r\n static count=0;\r\n\r\n private setupAcsCodes() {\r\n if (!this.planOfAction || !this.planOfActionSection) {\r\n return;\r\n }\r\n\r\n if (this.acsCodes){\r\n return;\r\n }\r\n\r\n QuestionEditControlComponent.count++;\r\n\r\n console.log(`getting acs codes - start ${QuestionEditControlComponent.count}`);\r\n this.planOfActionRepositoryService.getAcsCodes(this.planOfAction.AcsTestId, this.planOfActionSection.AcsAreaOfOperationId, this.planOfActionSection.AcsAreaOfOperationTaskId)\r\n .subscribe(acsCodes => {\r\n console.log(`getting acs codes - end ${QuestionEditControlComponent.count}`);\r\n this.acsCodes = acsCodes;\r\n\r\n const blankCode : AcsCodesLookupQueryEntity = {\r\n _itemName:'',\r\n AcsCodeId: null,\r\n AcsCode: ' ',\r\n };\r\n\r\n this.currentCodes = [blankCode, ...acsCodes.acsCodes];\r\n \r\n this.setupQuestion();\r\n })\r\n }\r\n\r\n ascCodeChanged(acsCodeId) {\r\n\r\n }\r\n\r\n}\r\n","\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n\r\n {{currentAcsCode?.AscCodeDescription}}\r\n
\r\n
\r\n \r\n
\r\n {{currentAcsCode?.AscCodeDescription}}\r\n
\r\n
\r\n
","import { Component, OnInit } from '@angular/core';\r\nimport { ApplicantRepositoryService } from '../../services/applicant-repository.service';\r\nimport { CheckRideOutcomeAllItems, CheckRideRequestEntity, CheckRideRequestSubStatusAllItems, PilotExaminerEntity, PilotExaminerStatusAllItems, StudentApplicantEntity } from '../../../../meta-data/app-meta-data.service';\r\nimport { DwTaskItem } from '../../../z-devware/tasks/models/dw-task-item.model';\r\nimport { DwContainerOptions, getMomentValue, sortArrayByField } from '@devwareapps/devware-cap';\r\n\r\nimport * as moment_ from 'moment';\r\nimport { CheckrideTask } from '../../models/checkride-task.model';\r\nconst moment = moment_;\r\n\r\n@Component({\r\n selector: 'app-applicant-dashboard',\r\n templateUrl: './applicant-dashboard.component.html',\r\n styleUrls: ['./applicant-dashboard.component.scss']\r\n})\r\nexport class ApplicantDashboardComponent implements OnInit {\r\n applicant: StudentApplicantEntity;\r\n applicantName: string;\r\n tasks: DwTaskItem[] = [];\r\n nextCheckRequestId: number;\r\n\r\n checkrideTitle = 'Upcoming Checkride';\r\n checkrideContainerOptions: DwContainerOptions = {\r\n containerHeaderIcon: 'fa fa-plane',\r\n containerHeaderBackgroundColor: 'blue',\r\n useContainerStyling: true,\r\n showTitle: true\r\n }\r\n allCheckrides: CheckRideRequestEntity[];\r\n\r\n constructor(private applicantRepositoryService: ApplicantRepositoryService) { }\r\n\r\n ngOnInit(): void {\r\n this.loadStats();\r\n }\r\n\r\n showAll = false;\r\n\r\n loadStats() {\r\n this.applicantRepositoryService.getCurrentApplicantinfo()\r\n .subscribe((applicant) => {\r\n this.applicant = applicant;\r\n this.applicantName = `${applicant.DwUser?.FirstName} ${applicant.DwUser?.LastName}`;\r\n\r\n this.buildTasks(applicant, this.showAll);\r\n });\r\n }\r\n\r\n\r\n private buildTasks(applicant: StudentApplicantEntity, showAll: boolean = false) {\r\n this.tasks = [];\r\n\r\n this.nextCheckRequestId = null;\r\n if (!applicant.DwUser?.UserPictureMediaId || showAll) {\r\n this.tasks.push({ iconClass: 'fa fa-portrait dw-blue', taskTitle: 'Add a profile picture', tooltip: 'A profile picture helps your examiner recognize you and better shows off your profile', navigateUrl: '/applicant-profile' });\r\n }\r\n\r\n if (!applicant.ApplicationDescription || showAll) {\r\n this.tasks.push({ iconClass: 'fa fa-align-justify dw-blue', taskTitle: 'Add a profile description', tooltip: 'A description tells more about you to potential examiners', navigateUrl: '/applicant-profile' });\r\n }\r\n\r\n this.allCheckrides = sortArrayByField(applicant.CheckRideRequest || [], 'ScheduledDateTime', null, true);\r\n\r\n let checkrideTaskInfo: CheckrideTask = {\r\n task: null,\r\n showRebookCheckride: false,\r\n showScheduleCheckride: true,\r\n checkrideRequest: null\r\n }\r\n\r\n if (this.allCheckrides.length > 0) {\r\n const upcomingCheckrides = this.allCheckrides.filter(this.isUpcomingCheckride);\r\n\r\n if (upcomingCheckrides.length > 0) {\r\n this.nextCheckRequestId = upcomingCheckrides[0]?.CheckRideRequestId;\r\n\r\n for (let checkride of upcomingCheckrides) {\r\n const checkrideTaskInfo = this.buildCheckrideTask(checkride);\r\n\r\n if (checkrideTaskInfo.task) {\r\n this.tasks.push(checkrideTaskInfo.task);\r\n }\r\n }\r\n this.setCheckrideTitle();\r\n return;\r\n }\r\n\r\n checkrideTaskInfo = this.buildCheckrideTask(this.allCheckrides[0]);\r\n\r\n this.nextCheckRequestId = checkrideTaskInfo.checkrideRequest.CheckRideRequestId;\r\n\r\n if (checkrideTaskInfo?.task) {\r\n this.tasks.push(checkrideTaskInfo.task);\r\n }\r\n\r\n this.setCheckrideTitle();\r\n\r\n if (this.tasks.length == 0) {\r\n this.tasks.push({ iconClass: 'fa fa-check dw-green', taskTitle: `No current tasks`, tooltip: 'You currently have no pending tasks or upcoming checkrides', navigateUrl: '' });\r\n }\r\n\r\n }\r\n\r\n if (checkrideTaskInfo?.showRebookCheckride) {\r\n let title = 'Rebook a Checkride';\r\n\r\n this.tasks.push({ iconClass: 'fa fa-plane dw-orange', taskTitle: title, tooltip: title, navigateUrl: `/checkrides/add?returnHome=true&rebookCheckrideId=${checkrideTaskInfo.checkrideRequest?.CheckRideRequestId}` });\r\n }\r\n\r\n if (checkrideTaskInfo?.showScheduleCheckride) {\r\n let title = 'Book a Checkride';\r\n\r\n if (applicant.ReferredPilotExaminerIdDisplay) {\r\n title += ` with ${applicant.ReferredPilotExaminerIdDisplay}`;\r\n }\r\n\r\n this.tasks.push({ iconClass: 'fa fa-plane dw-green', taskTitle: title, tooltip: title, navigateUrl: '/checkrides/add?returnHome=true' });\r\n }\r\n\r\n }\r\n\r\n private setCheckrideTitle() {\r\n\r\n const upcomingCheckride = this.allCheckrides.find(cr => cr.CheckRideRequestId == this.nextCheckRequestId);\r\n if (!upcomingCheckride) {\r\n return;\r\n }\r\n\r\n switch (upcomingCheckride.CheckRideRequestSubStatusId) {\r\n case CheckRideRequestSubStatusAllItems.Completed:\r\n this.checkrideTitle = 'Completed Checkride';\r\n return;\r\n \r\n case CheckRideRequestSubStatusAllItems.PendingOutcome:\r\n this.checkrideTitle = 'Checkride Pending Outcome';\r\n return;\r\n \r\n case CheckRideRequestSubStatusAllItems.AcceptedPendingPayment:\r\n case CheckRideRequestSubStatusAllItems.PendingPayment:\r\n this.checkrideTitle = 'Checkride - Requires Payment';\r\n return;\r\n \r\n case CheckRideRequestSubStatusAllItems.Rejected:\r\n this.checkrideTitle = 'Checkride Rejected';\r\n return;\r\n \r\n }\r\n\r\n if (this.isForToday(upcomingCheckride)) {\r\n this.checkrideTitle = 'Today\\'s Checkride';\r\n return;\r\n }\r\n\r\n if (this.isBeforeToday(upcomingCheckride)) {\r\n this.checkrideTitle = 'Last Checkride';\r\n }\r\n\r\n // switch (upcomingCheckride.CheckRideRequestSubStatusId) {\r\n // case CheckRideRequestSubStatusAllItems.Completed:\r\n // this.checkrideTitle = 'Completed Checkride';\r\n // break;\r\n // case CheckRideRequestSubStatusAllItems.PendingOutcome:\r\n // this.checkrideTitle = 'Checkride Pending Outcome';\r\n // break;\r\n // case CheckRideRequestSubStatusAllItems.AcceptedPendingPayment:\r\n // case CheckRideRequestSubStatusAllItems.PendingPayment:\r\n // this.checkrideTitle = 'Checkride - Requires Payment';\r\n // break;\r\n\r\n // }\r\n\r\n // if (upcomingCheckride) {\r\n // if (this.isForToday(upcomingCheckride)) {\r\n // this.checkrideTitle = 'Today\\'s Checkride';\r\n // }\r\n // if (this.isBeforeToday(upcomingCheckride)) {\r\n // switch (upcomingCheckride.CheckRideRequestSubStatusId) {\r\n // case CheckRideRequestSubStatusAllItems.Completed:\r\n // this.checkrideTitle = 'Completed Checkride';\r\n // break;\r\n // case CheckRideRequestSubStatusAllItems.PendingOutcome:\r\n // this.checkrideTitle = 'Checkride Pending Outcome';\r\n // break;\r\n // case CheckRideRequestSubStatusAllItems.AcceptedPendingPayment:\r\n // case CheckRideRequestSubStatusAllItems.PendingPayment:\r\n // this.checkrideTitle = 'Checkride - Requires Payment';\r\n // break;\r\n\r\n // }\r\n // }\r\n\r\n }\r\n\r\n\r\n private buildCheckrideTask(checkrideRequest: CheckRideRequestEntity): CheckrideTask {\r\n const task: DwTaskItem = {\r\n iconClass: 'fa fa-plane',\r\n taskTitle: '',\r\n navigateUrl: `/checkrides/edit/${checkrideRequest.CheckRideRequestId}?returnHome=true`\r\n }\r\n\r\n const result: CheckrideTask = {\r\n task: task,\r\n showScheduleCheckride: false,\r\n showRebookCheckride: false,\r\n checkrideRequest: checkrideRequest\r\n }\r\n\r\n switch (checkrideRequest.CheckRideRequestSubStatusId) {\r\n case CheckRideRequestSubStatusAllItems.PendingApproval:\r\n task.taskTitle = 'Checkride Pending Approval';\r\n task.tooltip = 'Your checride has been submitted to the DPE and is awaiting approval';\r\n task.iconClass += ' dw-orange';\r\n break;\r\n\r\n case CheckRideRequestSubStatusAllItems.PendingReschedule:\r\n task.taskTitle = 'Checkride Pending Reschedule';\r\n task.tooltip = 'Your checride is waiting to be rescheduled';\r\n task.iconClass += ' dw-orange';\r\n break;\r\n\r\n case CheckRideRequestSubStatusAllItems.Accepted:\r\n case CheckRideRequestSubStatusAllItems.AllDetailsComplete:\r\n task.taskTitle = 'Checkride Booked';\r\n task.iconClass += ' dw-green';\r\n\r\n break;\r\n case CheckRideRequestSubStatusAllItems.Rejected:\r\n task.taskTitle = 'Checkride has been rejected';\r\n task.tooltip = checkrideRequest.RejectedNotes;\r\n task.iconClass += ' dw-red';\r\n\r\n break;\r\n case CheckRideRequestSubStatusAllItems.NewDateProposedByExaminer:\r\n task.taskTitle = 'Checkride - New Date Proposed - Need Acceptance';\r\n task.iconClass += ' dw-orange';\r\n\r\n break;\r\n case CheckRideRequestSubStatusAllItems.RequiresAdditionalInfo:\r\n task.taskTitle = 'Checkride - Requires Additional Info';\r\n task.iconClass += ' dw-orange';\r\n\r\n break;\r\n\r\n case CheckRideRequestSubStatusAllItems.PendingOutcome:\r\n task.taskTitle = 'Checkride Complete - Pending Outcome';\r\n task.iconClass += ' dw-orange';\r\n\r\n break;\r\n\r\n case CheckRideRequestSubStatusAllItems.PendingPayment:\r\n task.taskTitle = 'Checkride - Pending Payment';\r\n task.iconClass += ' dw-orange';\r\n task.tooltip = 'Please add your payment information to complete your Checkride booking.'\r\n\r\n break;\r\n\r\n case CheckRideRequestSubStatusAllItems.AcceptedPendingPayment:\r\n task.taskTitle = 'Checkride - Pending Payment';\r\n task.iconClass += ' dw-orange';\r\n task.tooltip = 'Please add your payment information to complete your Checkride booking.'\r\n\r\n break;\r\n\r\n case CheckRideRequestSubStatusAllItems.Completed:\r\n task.taskTitle = `Checkride Complete`;\r\n task.iconClass += ' dw-green';\r\n\r\n\r\n switch (checkrideRequest.CheckRideResult?.CheckRideOutcomeId) {\r\n case CheckRideOutcomeAllItems.Disapproved:\r\n task.taskTitle += ` - Disapproved`;\r\n task.iconClass += ' dw-red';\r\n\r\n if (checkrideRequest.CheckRideResult?.AllowRetest) {\r\n task.tooltip = 'You may retest for this checkride';\r\n result.showScheduleCheckride = false;\r\n result.showRebookCheckride = true;\r\n\r\n } else {\r\n task.tooltip = 'You are not eligible to retest for this checkride with this examiner';\r\n }\r\n break;\r\n\r\n case CheckRideOutcomeAllItems.CertificateIssued:\r\n task.taskTitle += ` - Certificate Issued`;\r\n task.iconClass += ' dw-green';\r\n\r\n result.showScheduleCheckride = true;\r\n break;\r\n\r\n case CheckRideOutcomeAllItems.Discontinued:\r\n task.taskTitle += ` - Discontinued`;\r\n task.iconClass += ' dw-orange';\r\n\r\n if (checkrideRequest.CheckRideResult?.AllowRetest) {\r\n task.tooltip = 'You may retest for this checkride';\r\n\r\n result.showScheduleCheckride = false;\r\n result.showRebookCheckride = true;\r\n } else {\r\n task.tooltip = 'You are not eligible to retest for this checkride with this examiner';\r\n }\r\n\r\n break;\r\n default:\r\n task.taskTitle += ` - Pending Outcome`;\r\n task.iconClass += ' dw-orange';\r\n }\r\n\r\n break;\r\n\r\n case CheckRideRequestSubStatusAllItems.Rejected:\r\n task.taskTitle = `Rejected Checkride`;\r\n task.iconClass += ' dw-red';\r\n\r\n result.showScheduleCheckride = true;\r\n break;\r\n\r\n case CheckRideRequestSubStatusAllItems.Cancelled:\r\n task.taskTitle = `Checkride Cancelled`;\r\n task.iconClass += ' dw-blue';\r\n\r\n result.showScheduleCheckride = true;\r\n break;\r\n\r\n case CheckRideRequestSubStatusAllItems.Deleted:\r\n result.showScheduleCheckride = true;\r\n\r\n return null;\r\n case CheckRideRequestSubStatusAllItems.Draft:\r\n task.taskTitle = `Checkride - Draft`;\r\n task.tooltip = 'Your checkride is in draft mode and has not been submited to an Examiner'\r\n task.iconClass += ' dw-orange';\r\n break;\r\n }\r\n\r\n return result;\r\n }\r\n\r\n isForThisWeek(checkride: CheckRideRequestEntity): boolean {\r\n const scheduleDateTime = getMomentValue(checkride.ScheduledDateTime, true, true);\r\n const now = moment().add(1, 'days');\r\n const sat = moment().weekday(6); // 6 is saturday\r\n\r\n if (scheduleDateTime.isSameOrAfter(now, 'day') && scheduleDateTime.isSameOrBefore(sat, 'day')) {\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n\r\n private isScheduledCheckride(checkride: CheckRideRequestEntity): boolean {\r\n\r\n switch (checkride.CheckRideRequestSubStatusId) {\r\n case CheckRideRequestSubStatusAllItems.Cancelled:\r\n case CheckRideRequestSubStatusAllItems.Completed:\r\n case CheckRideRequestSubStatusAllItems.Rejected:\r\n case CheckRideRequestSubStatusAllItems.Deleted:\r\n case CheckRideRequestSubStatusAllItems.Draft:\r\n\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n\r\n private isUpcomingCheckride(checkride: CheckRideRequestEntity): boolean {\r\n\r\n switch (checkride.CheckRideRequestSubStatusId) {\r\n case CheckRideRequestSubStatusAllItems.Accepted:\r\n case CheckRideRequestSubStatusAllItems.AllDetailsComplete:\r\n case CheckRideRequestSubStatusAllItems.NewDateProposedByExaminer:\r\n case CheckRideRequestSubStatusAllItems.PendingPayment:\r\n case CheckRideRequestSubStatusAllItems.Draft:\r\n case CheckRideRequestSubStatusAllItems.PendingApproval:\r\n case CheckRideRequestSubStatusAllItems.PendingReschedule:\r\n case CheckRideRequestSubStatusAllItems.PendingOutcome:\r\n\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n\r\n isForToday(checkride: CheckRideRequestEntity): boolean {\r\n const scheduleDateTime = getMomentValue(checkride.ScheduledDateTime, true, true);\r\n const now = moment();\r\n\r\n if (scheduleDateTime.isSame(now, 'day')) {\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n\r\n isBeforeToday(checkride: CheckRideRequestEntity): boolean {\r\n const scheduleDateTime = getMomentValue(checkride.ScheduledDateTime, true, true);\r\n const now = moment();\r\n\r\n if (scheduleDateTime.isBefore(now, 'day')) {\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n}\r\n","\r\n\r\n\r\n\r\n
\r\n Welcome {{applicantName}} to your Applicant Dashboard!\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n\r\n \r\n
\r\n \r\n {{checkrideTitle}}\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
","import { Component, OnInit } from '@angular/core';\r\nimport { DwComponent, DwComponentType, DwSecurityUserRegistration, DwUserRegistrationExtensionBase, getParameterByName, sortArrayByField } from '@devwareapps/devware-cap';\r\nimport { PilexosUserType, PilexosUserTypeIds, convertUserType } from '../../../shared/models/pilexos-user-type.enum';\r\nimport { Router } from '@angular/router';\r\nimport { PilexosHomePageRepository } from '../../services/pilexos-home-page-repository.service';\r\nimport { DwUserTypePilexosEntity } from '../../../../meta-data/extensions/dw-user-type-entity.model';\r\nimport { ExaminerRepositoryService } from '../../../examiner/services/examiner-repository.service';\r\n\r\n@DwComponent({\r\n key: 'pilexos-user-registration-extension',\r\n name: 'Pilexos User Registration Component',\r\n isGlobal: false,\r\n componentType: DwComponentType.pageComponent\r\n})\r\n@Component({\r\n selector: 'app-user-registration',\r\n templateUrl: './user-registration.component.html',\r\n styleUrls: ['./user-registration.component.scss']\r\n})\r\nexport class UserRegistrationComponent extends DwUserRegistrationExtensionBase {\r\n userType: PilexosUserTypeIds;\r\n userTypes: DwUserTypePilexosEntity[];\r\n dmsNumber: string;\r\n\r\n pilotExaminerUserType = PilexosUserTypeIds.pilotExaminer;\r\n\r\n constructor(private router: Router,\r\n private homePageRepository: PilexosHomePageRepository,\r\n private examinerRepositoryService: ExaminerRepositoryService) {\r\n super();\r\n }\r\n\r\n setupComponent() {\r\n\r\n const userTypeMeaning = getParameterByName(this.router, 'type');\r\n\r\n if (!isNaN(parseInt(userTypeMeaning))) {\r\n this.userType = parseInt(userTypeMeaning);\r\n } else {\r\n this.userType = convertUserType(userTypeMeaning);\r\n }\r\n\r\n if (!this.userType) {\r\n this.userType = PilexosUserTypeIds.studentApplicant;\r\n }\r\n\r\n this.updateUserType();\r\n\r\n this.homePageRepository.getUserTypes()\r\n .subscribe(userTypes => {\r\n this.userTypes = sortArrayByField(userTypes.filter(ut => ut.ShowOnRegistration), 'UserTypeOrder');\r\n });\r\n }\r\n\r\n customValalidation(userRegistration: DwSecurityUserRegistration, error: string[]) {\r\n if (!this.userType) {\r\n error.push('User type is required');\r\n }\r\n\r\n if (this.userType == PilexosUserTypeIds.pilotExaminer && !this.dmsNumber) {\r\n error.push('DMS number is required');\r\n }\r\n }\r\n\r\n updateUserType() {\r\n this.data.additionalUserFields[0] = {\r\n FieldName: 'UserTypeId',\r\n FieldValue: this.userType.toString()\r\n };\r\n\r\n const preferredPilotExaminer = this.examinerRepositoryService.getReferredExaminer();\r\n\r\n this.data.additionalData[0] = {\r\n DataKey: 'ReferredPilotExaminerId',\r\n DataValue: preferredPilotExaminer?.PilotExaminerId?.toString()\r\n };\r\n\r\n this.dataChange.emit(this.data);\r\n }\r\n\r\n updateDMS() {\r\n this.data.additionalData[0] = {\r\n DataKey: 'AuthorityExaminerNumber',\r\n DataValue: this.dmsNumber\r\n };\r\n\r\n this.dataChange.emit(this.data);\r\n }\r\n\r\n}\r\n","
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n\r\n \r\n \r\n
\r\n
","import { ColorRefDTO } from \"./calendar.model\";\r\nimport { EventDateTimeDTO } from \"./event-data-time.model\";\r\n\r\nexport interface CalendarEventDTO {\r\n CalendarId: string;\r\n Id: string;\r\n Name: string;\r\n Description: string;\r\n\r\n OrganizerName: string;\r\n OrganizerEmail: string;\r\n Start: EventDateTimeDTO;\r\n End: EventDateTimeDTO;\r\n Status: CalendarEventStatus;\r\n HtmlLink: string;\r\n ICalUID: string;\r\n Recurrence: string;\r\n OrganizerSelf: boolean | null;\r\n TimeZone: string;\r\n EndDateTimeUnspecified: boolean;\r\n AllDayEvent: boolean;\r\n Color?: ColorRefDTO;\r\n\r\n Transparency?: string;\r\n}\r\n\r\nexport enum CalendarEventStatus {\r\n confirmed = 1,\r\n tenative = 2,\r\n cancelled = 3\r\n}","import { Injectable } from \"@angular/core\";\r\nimport { PlanOfActionEntity, PilotExaminerEntity, AcsTestEntity, AcsAreaOfOperationEntity, PlanOfActionSectionEntity, AcsAreaOfOperationTaskEntity, PlanOfActionSectionTypeAllItems, AcsCodesLookupQueryEntity, PlanOfActionSectionQuestionEntity, AppMetaDataItemNames, AppMetaData, ApplicantAcsWrittenResultEntity } from \"../../../meta-data/app-meta-data.service\";\r\nimport { AcsCodeStatuses, AcsCodeStorage, AcsCodesStorageItem } from \"../models/acs-code-items.model\";\r\nimport { GenerateSectionsOptions } from \"../models/generate-sections-options.model\";\r\nimport { GenerateCodesOptions } from \"../models/generate-codes-options.model\";\r\nimport { PlanOfActionRepositoryService } from \"./plan-of-action-repository.service\";\r\nimport { map } from \"rxjs/operators\";\r\nimport { Observable } from \"rxjs\";\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class PlanOfActionGeneratorService {\r\n\r\n constructor(private planOfActionRepositoryService: PlanOfActionRepositoryService) { }\r\n\r\n\r\n generateSections(planOfAction: PlanOfActionEntity, options: GenerateSectionsOptions, acsTest: AcsTestEntity, allAcsCodes: AcsCodeStorage, acsTestPortionId: number) {\r\n planOfAction.PlanOfActionSection = planOfAction.PlanOfActionSection || [];\r\n if (options.clearExistingSections) {\r\n planOfAction.PlanOfActionSection = [];\r\n }\r\n\r\n const areaOfOperations = acsTest.AcsAreaOfOperation.filter(aoo => options.buildTaskSections || options.AreaOfOperationIds.includes(aoo.AcsAreaOfOperationId));\r\n\r\n for (const aoo of areaOfOperations) {\r\n if (options.buildTaskSections) {\r\n const tasks = aoo.AcsAreaOfOperationTask.filter(task => options.TaskIds.includes(task.AcsAreaOfOperationTaskId));\r\n\r\n for (const task of tasks) {\r\n this.generateSection(planOfAction, aoo, task, options, allAcsCodes, acsTestPortionId)\r\n }\r\n } else {\r\n const section = this.generateSection(planOfAction, aoo, null, options, allAcsCodes, acsTestPortionId);\r\n }\r\n }\r\n }\r\n\r\n generateSection(planOfAction: PlanOfActionEntity, aoo: AcsAreaOfOperationEntity, task: AcsAreaOfOperationTaskEntity, options: GenerateSectionsOptions, allAcsCodes: AcsCodeStorage, acsTestPortionId: number) {\r\n const section: PlanOfActionSectionEntity = {\r\n _itemName: AppMetaDataItemNames.PlanOfActionSection,\r\n PlanOfActionId: planOfAction.PlanOfActionId,\r\n PlanOfActionSectionTypeId: this.getSectionTypeId(options),\r\n AcsAreaOfOperationId: aoo.AcsAreaOfOperationId,\r\n AcsAreaOfOperationTaskId: task?.AcsAreaOfOperationTaskId,\r\n PlanOfActionSectionQuestion: [],\r\n SectionOrder: planOfAction.PlanOfActionSection.length + 1,\r\n AcsTestPortionId: acsTestPortionId\r\n };\r\n\r\n planOfAction.PlanOfActionSection.push(section);\r\n\r\n // if (options.includeAllAcsCodes) {\r\n // let ascCodes = allAcsCodes.AreaOfOperationCodes[aoo.AcsAreaOfOperationId]?.acsCodes || [];\r\n\r\n // if (task) {\r\n // ascCodes = allAcsCodes.TaskCodes[aoo.AcsAreaOfOperationId]?.acsCodes || [];\r\n // }\r\n\r\n // this.generateQuestions(section, ascCodes, options.useQuestionBank);\r\n // }\r\n }\r\n\r\n getSectionTypeId(options: GenerateSectionsOptions): number {\r\n if (options.buildTaskSections) {\r\n return PlanOfActionSectionTypeAllItems.Task;\r\n }\r\n return PlanOfActionSectionTypeAllItems.AreaOfOperation;\r\n\r\n }\r\n\r\n generateQuestions(section: PlanOfActionSectionEntity, questions: PlanOfActionSectionQuestionEntity[], options: GenerateCodesOptions) {\r\n if (!options.useQuestionBank) {\r\n for (let acsCode of options.acsCodes) {\r\n const question: PlanOfActionSectionQuestionEntity = {\r\n _itemName: AppMetaDataItemNames.PlanOfActionSectionQuestion,\r\n PlanOfActionSectionId: section.PlanOfActionSectionId,\r\n AcsCodeId: acsCode.AcsCodeId\r\n }\r\n\r\n questions.push(question);\r\n }\r\n return;\r\n }\r\n\r\n for (let acsCodeQuestion of options.questions) {\r\n const question: PlanOfActionSectionQuestionEntity = {\r\n _itemName: AppMetaDataItemNames.PlanOfActionSectionQuestion,\r\n PlanOfActionSectionId: section.PlanOfActionSectionId,\r\n AcsCodeId: acsCodeQuestion.AcsCodeId,\r\n QuestionHtml: acsCodeQuestion.QuestionBankQuestionHtml\r\n }\r\n\r\n questions.push(question);\r\n }\r\n\r\n }\r\n\r\n addRequiredAcsCodes(applicantWritten: ApplicantAcsWrittenResultEntity, options: GenerateCodesOptions) {\r\n applicantWritten.ApplicantAcsWrittenResultMissedCode = applicantWritten.ApplicantAcsWrittenResultMissedCode || [];\r\n\r\n for (const acsCode of options?.acsCodes || []) {\r\n const existingCode = applicantWritten.ApplicantAcsWrittenResultMissedCode.find(porac => porac.AcsCodeId == acsCode.AcsCodeId);\r\n\r\n if (!existingCode) {\r\n const newCode = AppMetaData.ApplicantAcsWrittenResultMissedCode.CreateEntity();\r\n newCode.AcsCodeId = acsCode.AcsCodeId;\r\n //const newCode: PlanOfActionRequiredAcsCodeEntity = {\r\n // _itemName: AppMetaDataItemNames.PlanOfActionRequiredAcsCode,\r\n // PlanOfActionId: planOfAction.PlanOfActionId,\r\n // AcsCodeId: acsCode.AcsCodeId\r\n // }\r\n\r\n applicantWritten.ApplicantAcsWrittenResultMissedCode.push(newCode);\r\n }\r\n }\r\n }\r\n\r\n addMissedCodesToSections(planOfAction: PlanOfActionEntity): Observable<{ codesAdded: number, missingCodeCount: number }> {\r\n const result: { codesAdded: number, missingCodeCount: number } = {\r\n codesAdded: 0,\r\n missingCodeCount: 0\r\n };\r\n\r\n return this.planOfActionRepositoryService.getAcsCodeStorage(planOfAction.AcsTestId)\r\n .pipe(map(acsCodeStorage => {\r\n const acsCodeStatuses = this.planOfActionRepositoryService.getAcsCodeStatus(planOfAction);\r\n\r\n for (const section of planOfAction?.PlanOfActionSection || []) {\r\n const codesForSection = this.planOfActionRepositoryService.getAcsCodesForSection(acsCodeStorage, section);\r\n\r\n if (!codesForSection) {\r\n continue;\r\n }\r\n\r\n for (const acsCode of codesForSection.acsCodes) {\r\n if (acsCodeStatuses.codesById[acsCode.AcsCodeId]?.missing) {\r\n const question = AppMetaData.PlanOfActionSectionQuestion.CreateEntity();\r\n\r\n question.AcsCodeId = acsCode.AcsCodeId;\r\n question.PlanOfActionSectionId = section.PlanOfActionSectionId;\r\n\r\n section.PlanOfActionSectionQuestion.push(question);\r\n\r\n // Set to not missing\r\n acsCodeStatuses.codesById[acsCode.AcsCodeId].missing = false;\r\n result.codesAdded++;\r\n }\r\n }\r\n }\r\n\r\n for (const acsCodeId in acsCodeStatuses.codesById) {\r\n if (acsCodeStatuses.codesById.hasOwnProperty(acsCodeId)) {\r\n if (acsCodeStatuses.codesById[acsCodeId].missing) {\r\n result.missingCodeCount++;\r\n }\r\n }\r\n }\r\n\r\n return result;\r\n }));\r\n }\r\n}\r\n\r\n\r\n","import { Inject, Injectable } from \"@angular/core\";\r\nimport { Observable, combineLatest, of } from \"rxjs\";\r\nimport { catchError, map, mergeMap } from 'rxjs/operators'\r\nimport { AirportEntity, AppMetaData, AppMetaDataItemNames, ApplicantPlaceholderEntity, CalendarReferenceEntity, CheckRideGroupAllItems, CheckRideOutcomeAllItems, CheckRideRequestCalendarQueryEntity, CheckRideRequestEntity, CheckRideRequestPaymentPartyAllItems, CheckRideRequestPaymentPartyEntity, CheckRideRequestSubStatusAllItems, CheckRideScenarioEntity, CheckRideTestTypeAllItems, CheckRideTypeAllItems, PilotExaminerEntity, PilotExaminerLocationEntity, PilotExaminerSearchQueryEntity, PilotExaminerStatusAllItems, StudentApplicantEntity } from \"../../../meta-data/app-meta-data.service\";\r\nimport { DwMetaDataServiceToken, DwMetaDataService, DwOrmDataService, DwOrmDataServiceToken, DwQuery, deepCopy, DwConfigService, DwConfigServiceToken, DwLookupInfo, SuppressErrorMessagesHeader, DwSecurityUserService, DwQueryMetaData, DwCacheService, DwSecurityTopics, DwQueryFilter } from \"@devwareapps/devware-cap\";\r\nimport { ExaminerLocationSearchRequest } from \"../models/examiner-location-search-request.model\";\r\nimport { HttpClient, HttpHeaders } from \"@angular/common/http\";\r\nimport { CheckrideReferenceInfo } from \"../models/checkride-reschedule-info.model\";\r\nimport { AirportMetar } from \"../models/airport-metar.model\";\r\nimport { WeatherBasicMetarDTO } from \"../models/weather-basic-metar.model\";\r\nimport { CheckCalendarAvailabilityRequestDTO } from \"../models/check-calendar-availability-request.model\";\r\nimport { CheckCalendarAvailabilityResultDTO } from \"../models/check-calendar-availability-result.model\";\r\nimport { ApplicantCheckrideVariables } from \"../../applicant/models/applicant-checkride-variables.model\";\r\nimport { PilotExaminerSearchQueryEntityExt } from \"../../../meta-data/extensions/pilot-examiner-search-query-ext.model\";\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class ExaminerRepositoryService {\r\n\r\n\r\n\r\n\r\n apiRoot: string;\r\n private static checkrideRescheduleInfo: Map = new Map();\r\n\r\n private static referredPilotExaminer: PilotExaminerEntity = null;\r\n\r\n constructor(\r\n private http: HttpClient,\r\n @Inject(DwOrmDataServiceToken) private dwOrmDataService: DwOrmDataService,\r\n @Inject(DwMetaDataServiceToken) private dwMetaDataService: DwMetaDataService,\r\n @Inject(DwConfigServiceToken) configService: DwConfigService,\r\n private dwSecurityUserService: DwSecurityUserService,\r\n private dwCacheService: DwCacheService,\r\n ) {\r\n this.apiRoot = configService.coreConfig.apiRoot;\r\n }\r\n\r\n storeReferredExaminer(pilotExaminer: PilotExaminerEntity) {\r\n ExaminerRepositoryService.referredPilotExaminer = pilotExaminer;\r\n\r\n this.dwSecurityUserService.securityContextChanged().subscribe(() => {\r\n\r\n });\r\n }\r\n\r\n getReferredExaminer() {\r\n return ExaminerRepositoryService.referredPilotExaminer;\r\n }\r\n\r\n\r\n updateStudentReferredExaminer(studentApplicantId: number, pilotExaminerId: number) {\r\n if (!studentApplicantId) {\r\n return;\r\n }\r\n\r\n const studentApplicant: Partial =\r\n this.dwOrmDataService.createDummyEntity(AppMetaData.StudentApplicant.ItemDetail.itemName, {\r\n StudentApplicantId: studentApplicantId,\r\n ReferredPilotExaminerId: pilotExaminerId\r\n });\r\n\r\n this.dwOrmDataService.saveEntity(studentApplicant)\r\n .subscribe(applicant => {\r\n\r\n });\r\n }\r\n\r\n prepareCheckrideForCopy(checkrideRequest: CheckRideRequestEntity): CheckRideRequestEntity {\r\n const newCheckRide = deepCopy(checkrideRequest);\r\n\r\n newCheckRide.CheckRideRequestId = null;\r\n\r\n newCheckRide.ScheduledDateTime = null;\r\n\r\n newCheckRide.RejectedNotes = null;\r\n newCheckRide.ProposedDateTime = null;\r\n newCheckRide.ProposedAirportId = null;\r\n newCheckRide.ProposedTimeMinutes = null;\r\n newCheckRide.MoreInfoRequestedNotes = null;\r\n newCheckRide.CancellationNotes = null;\r\n newCheckRide.CheckRideCancellationTypeId = null;\r\n newCheckRide.CheckRideCancellationTypeOther = null;\r\n newCheckRide.ScheduledCalendarEventReferenceId = null;\r\n newCheckRide.PilexosBookingCheckRidePaymentId = null;\r\n newCheckRide.ProposedCalendarEventReferenceId = null;\r\n newCheckRide.AddToWaitlist = false;\r\n newCheckRide.PreferredAirportId = newCheckRide.ScheduledAirportId;\r\n\r\n delete newCheckRide.PreferredDateTime;\r\n delete newCheckRide.PreferredDateTime;\r\n delete newCheckRide.CheckRidePayment;\r\n delete newCheckRide.CheckRideRequestSubStatusId;\r\n delete newCheckRide.ExaminerBookingCost;\r\n delete newCheckRide.ScheduledCheckRideCost;\r\n delete newCheckRide.AdditionalTravelCost;\r\n delete newCheckRide.CheckRideResult;\r\n delete newCheckRide.CheckRidePayment;\r\n\r\n newCheckRide.PilexosBookingPaymentAdded = false;\r\n\r\n newCheckRide.CheckRideTestTypeId = this.getRebookTestTypeId(checkrideRequest);\r\n\r\n return newCheckRide;\r\n }\r\n\r\n getRebookTestTypeId(checkrideRequest: CheckRideRequestEntity): number {\r\n switch (checkrideRequest.CheckRideResult?.CheckRideOutcomeId) {\r\n case CheckRideOutcomeAllItems.Discontinued:\r\n if (checkrideRequest.CheckRideResult?.GroundPortionComplete) {\r\n return CheckRideTestTypeAllItems.ContinuanceFlightOnly;\r\n }\r\n return CheckRideTestTypeAllItems.Continuance;\r\n\r\n case CheckRideOutcomeAllItems.Disapproved:\r\n if (checkrideRequest.CheckRideResult?.GroundPortionComplete) {\r\n return CheckRideTestTypeAllItems.RetestFlightOnly;\r\n }\r\n return CheckRideTestTypeAllItems.Retest;\r\n }\r\n\r\n return null;\r\n }\r\n\r\n\r\n getWaiveCheckridePaymentOnRebook(checkrideRequest: CheckRideRequestEntity): boolean {\r\n if (checkrideRequest.CheckRideResult?.CheckRideOutcomeId == CheckRideOutcomeAllItems.Discontinued && checkrideRequest.CheckRideResult?.AllowRetest) {\r\n\r\n if (!checkrideRequest.PilexosBookingPaymentAdded) {\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n getApplicantPlaceholder(ApplicantPlaceholderId: number): Observable {\r\n const query = AppMetaData.ApplicantPlaceholder.CreateQueryBuilder();\r\n\r\n query.addFilterAnd(filters => filters.Equal(field => field.ApplicantPlaceholderId, ApplicantPlaceholderId));\r\n\r\n const subQuery = AppMetaData.CheckRideRequest.CreateQueryBuilder();\r\n\r\n subQuery.addPrefetch(r => r.CheckRideResult);\r\n subQuery.addPrefetch(r => r.CheckRidePayment);\r\n\r\n subQuery.addOrderByDesc(f => f.ScheduledDateTime);\r\n subQuery.setupPaging(1, 1);\r\n\r\n query.addPrefetch(r => r.CheckRideRequest, subQuery.query);\r\n\r\n return this.dwOrmDataService.executeQuerySingle(query);\r\n }\r\n\r\n getRebookCheckrideRequest(rebookCheckrideId: number): Observable {\r\n const checkRideQuery = AppMetaData.CheckRideRequest.CreateQueryBuilder();\r\n\r\n checkRideQuery.addFilterAnd(filters => filters.Equal(field => field.CheckRideRequestId, rebookCheckrideId));\r\n\r\n checkRideQuery.addRelation(r => r.PilotExaminerByScheduledPilotExaminerId);\r\n\r\n checkRideQuery.addFilterAnd(filters => filters.Equal(field => AppMetaData.PilotExaminer.Attributes.UserId, this.dwSecurityUserService.securityContext.ApplicationUser?.UserId));\r\n\r\n // Check the result as well\r\n checkRideQuery.addPrefetch(r => r.CheckRideResult);\r\n checkRideQuery.addPrefetch(r => r.CheckRidePayment);\r\n\r\n return this.dwOrmDataService.executeQuerySingle(checkRideQuery);\r\n }\r\n\r\n\r\n getCurrentPilotExaminer(): Observable {\r\n\r\n const cacheInvalidationTopics = [DwSecurityTopics.SECURITY_CHANGED];\r\n\r\n cacheInvalidationTopics.push(DwOrmDataService.ORM_EVENT_TOPICS.ItemChangedTopic(AppMetaData.PilotExaminer.ItemDetail.itemName));\r\n cacheInvalidationTopics.push(DwOrmDataService.ORM_EVENT_TOPICS.ItemChangedTopic(AppMetaData.DwUser.ItemDetail.itemName));\r\n\r\n return this.dwCacheService.get('currentPilotExaminer', this.loadCurrentPilotExaminer(), null, cacheInvalidationTopics);\r\n }\r\n\r\n private loadCurrentPilotExaminer(): Observable {\r\n const query = AppMetaData.PilotExaminer.CreateQueryBuilder();\r\n\r\n const user = this.dwSecurityUserService.securityContext.ApplicationUser;\r\n\r\n query.addFilterAnd(filters => filters.Equal(f => f.UserId, user?.UserId || -1));\r\n\r\n return this.dwOrmDataService.executeQuerySingle(query);\r\n }\r\n\r\n getExaminerProfile(pilotExaminerId: number, includeCalendarRef: boolean = false): Observable {\r\n const query = AppMetaData.PilotExaminer.CreateQueryBuilder();\r\n\r\n query.addFilterAnd(filters => filters.Equal(field => field.PilotExaminerId, pilotExaminerId));\r\n\r\n return this.dwOrmDataService.executeQuerySingle(query);\r\n }\r\n\r\n getExaminerIdByProfileKey(examinerKey: string): Observable {\r\n\r\n return this.dwMetaDataService.getSavedQueryMetaData(AppMetaData.PilotExaminer.ItemDetail.itemName, null, 'Pilot_Examiner_Public_Profile')\r\n .pipe(mergeMap(queryMetaData => {\r\n return this.getExaminerIdByProfileKeyWithMetaData(queryMetaData, examinerKey);\r\n }));\r\n }\r\n\r\n\r\n getCurrentCheckRideScenario(checkRideScenarioId: number): Observable {\r\n return this.getCurrentCheckRideScenarios()\r\n .pipe(map(scenarios => {\r\n return scenarios.find(s => s.CheckRideScenarioId == checkRideScenarioId);\r\n }));\r\n }\r\n\r\n getCurrentCheckRideScenarios() {\r\n const cacheInvalidationTopics = [DwSecurityTopics.SECURITY_CHANGED];\r\n\r\n cacheInvalidationTopics.push(DwOrmDataService.ORM_EVENT_TOPICS.ItemChangedTopic(AppMetaData.CheckRideScenario.ItemDetail.itemName));\r\n\r\n return this.dwCacheService.get('CurrentCheckRideScenarios', this.loadCurrentCheckRideScenarios(), null, cacheInvalidationTopics);\r\n }\r\n\r\n private loadCurrentCheckRideScenarios(): Observable {\r\n const query = AppMetaData.CheckRideScenario.CreateQueryBuilder();\r\n\r\n query.addRelation(r => r.PilotExaminer);\r\n\r\n const user = this.dwSecurityUserService.securityContext.ApplicationUser;\r\n\r\n query.addFilterAnd(f => f.Equal(a => AppMetaData.PilotExaminer.Attributes.UserId.fieldNameWithItemPrefix, user.UserId));\r\n\r\n query.addFilterAnd(f => f.IsTrue(a => a.IsActive, true));\r\n query.addPrefetch(r => r.CheckRideScenarioTypeMap);\r\n\r\n return this.dwOrmDataService.executeQuery(query);\r\n }\r\n\r\n private getExaminerIdByProfileKeyWithMetaData(queryMetaData: DwQueryMetaData, examinerKey: string): Observable {\r\n const query = AppMetaData.PilotExaminer.CreateQueryBuilder(queryMetaData.DataQuery);\r\n\r\n if (!examinerKey) {\r\n return of(null);\r\n }\r\n\r\n query.addFilterAnd(f => f.Equal(a => a.PublicProfileSlug, examinerKey));\r\n\r\n\r\n const checkRideTypeMapQuery = AppMetaData.CheckRideScenarioTypeMap.CreateQueryBuilder();\r\n\r\n checkRideTypeMapQuery.query.FieldSettings.LoadAllLookupDisplayFields = true;\r\n\r\n const checkRideScenarioQuery = AppMetaData.CheckRideScenario.CreateQueryBuilder();\r\n\r\n checkRideScenarioQuery.addPrefetch(r => r.CheckRideScenarioTypeMap, checkRideTypeMapQuery.query);\r\n\r\n checkRideScenarioQuery.addFilterAnd(f => f.Equal(a => a.IsActive, true));\r\n\r\n query.query.FieldSettings.LoadAllLookupDisplayFields = false;\r\n\r\n query.addPrefetch(r => r.CheckRideScenario, checkRideScenarioQuery.query);\r\n\r\n const airportQuery = AppMetaData.PilotExaminerLocationAirport.CreateQueryBuilder();\r\n\r\n airportQuery.query.FieldSettings.LoadAllLookupDisplayFields = true;\r\n const locationQuery = AppMetaData.PilotExaminerLocation.CreateQueryBuilder();\r\n\r\n locationQuery.addFilterAnd(f => f.Equal(a => a.IsActive, true));\r\n locationQuery.addPrefetch(r => r.PilotExaminerLocationAirport, airportQuery.query);\r\n\r\n query.addPrefetch(r => r.PilotExaminerLocation, locationQuery.query);\r\n\r\n return this.dwOrmDataService.executeQuerySingle(query);\r\n }\r\n\r\n public setCheckrideReferenceInfo(checkrideId: number, info: CheckrideReferenceInfo) {\r\n ExaminerRepositoryService.checkrideRescheduleInfo.set(checkrideId, info);\r\n }\r\n\r\n public getCheckrideReferenceInfo(checkrideId: number = -1) {\r\n return ExaminerRepositoryService.checkrideRescheduleInfo.get(checkrideId);\r\n }\r\n\r\n public clearCheckrideReferenceInfo(checkrideId: number = -1) {\r\n return ExaminerRepositoryService.checkrideRescheduleInfo.delete(checkrideId);\r\n }\r\n\r\n public getAirports(airportIds: number[]): Observable {\r\n var query = AppMetaData.Airport.CreateQueryBuilder();\r\n\r\n query.addFilterAnd(filters => filters.InList(a => a.AirportId, airportIds));\r\n\r\n query.addPrefetch(r => r.AddressByAirportAddressId);\r\n\r\n return this.dwOrmDataService.executeQuery(query);\r\n }\r\n\r\n getCurrentCalendarRef(): Observable {\r\n const query = AppMetaData.PilotExaminer.CreateQueryBuilder();\r\n\r\n const userId = this.dwSecurityUserService.securityContext.ApplicationUser?.UserId || 0;\r\n\r\n query.addFilterAnd(filters => filters.Equal(field => AppMetaData.PilotExaminer.Attributes.UserId, userId));\r\n\r\n query.addPrefetch(r => r.CalendarReference);\r\n\r\n return this.dwOrmDataService.executeQuerySingle(query)\r\n .pipe(map(pilotExaminer => {\r\n return pilotExaminer?.CalendarReference;\r\n }));\r\n }\r\n\r\n getCheckRideRequestQueryMetaData(): Observable {\r\n return this.dwMetaDataService.getSavedQueryMetaData(AppMetaData.PilotExaminer.ItemDetail.itemName, null, 'Check_Ride_Request-Calendar');\r\n }\r\n\r\n getCheckRidesRequests(queryMetaData: DwQueryMetaData, startDate: string, endDate: string): Observable {\r\n const prebuiltQuery = this.cloneQuery(queryMetaData);\r\n\r\n const query = AppMetaData.CheckRideRequest.CreateQueryBuilder(prebuiltQuery);\r\n\r\n const userId = this.dwSecurityUserService.securityContext.ApplicationUser?.UserId || 0;\r\n\r\n // We need to use both the Schedule Date Time and the Proposed Date Time (when the checkride is in proposed status)\r\n query.addFilterAnd(f =>\r\n f.GroupOr(f =>\r\n f.GroupAnd(\r\n f => this.setExactTimeCompareValue(f.GreaterThanEqual(f2 => f2.ScheduledDateTime, startDate), false),\r\n f => this.setExactTimeCompareValue(f.LessThanEqual(f2 => f2.ScheduledDateTime, endDate), false)\r\n ), f =>\r\n f.GroupAnd(\r\n f => this.setExactTimeCompareValue(f.GreaterThanEqual(f2 => f2.ProposedDateTime, startDate), false),\r\n f => this.setExactTimeCompareValue(f.LessThanEqual(f2 => f2.ProposedDateTime, endDate), false),\r\n f => f.Equal(a => a.CheckRideRequestSubStatusId, CheckRideRequestSubStatusAllItems.NewDateProposedByExaminer),\r\n )\r\n )\r\n );\r\n // query.addFilterAnd(f => this.setExactTimeCompareValue(f.GreaterThanEqual(f2 => f2.ScheduledDateTime, startDate), false));\r\n // query.addFilterAnd(f => this.setExactTimeCompareValue(f.LessThanEqual(f2 => f2.ScheduledDateTime, endDate), false));\r\n\r\n // query.addFilterAnd(f => this.setExactTimeCompareValue(f.GreaterThanEqual(f2 => f2.ScheduledDateTime, startDate), false));\r\n // query.addFilterAnd(f => this.setExactTimeCompareValue(f.LessThanEqual(f2 => f2.ScheduledDateTime, endDate), false));\r\n\r\n query.addFilterAnd(filters => filters.Equal(field => AppMetaData.PilotExaminer.Attributes.UserId, userId));\r\n\r\n // This is added in the query so it's easy to maintain\r\n //query.addFilterAnd(fb => fb.InList(f => f.CheckRideRequestSubStatusId, [CheckRideRequestSubStatusAllItems.PendingApproval, CheckRideRequestSubStatusAllItems.PendingOutcome, CheckRideRequestSubStatusAllItems.NewDateProposedByExaminer, CheckRideRequestSubStatusAllItems.PendingPayment]));\r\n\r\n return this.dwOrmDataService.executeQuery(query);\r\n }\r\n\r\n private setExactTimeCompareValue(filter: DwQueryFilter, value: boolean): DwQueryFilter {\r\n filter.ExactDateTimeCompare = value;\r\n\r\n return filter;\r\n }\r\n\r\n getCheckRidesRequestsOld(startDate: string, endDate: string): Observable {\r\n const query = AppMetaData.CheckRideRequest.CreateQueryBuilder();\r\n\r\n query.getFieldSettings().LoadAllLookupDisplayFields = true;\r\n\r\n const userId = this.dwSecurityUserService.securityContext.ApplicationUser?.UserId || 0;\r\n\r\n query.addRelation(r => r.PilotExaminerByScheduledPilotExaminerId);\r\n\r\n query.addFilterAnd(f => f.GreaterThanEqual(f2 => f2.ScheduledDateTime, startDate));\r\n query.addFilterAnd(f => f.LessThanEqual(f2 => f2.ScheduledDateTime, endDate));\r\n\r\n query.addFilterAnd(filters => filters.Equal(field => AppMetaData.PilotExaminer.Attributes.UserId, userId));\r\n\r\n return this.dwOrmDataService.executeQuery(query);\r\n }\r\n\r\n getExaminerAndLocationInfo(pilotExaminerId: number, airportId: number): Observable {\r\n\r\n // Load the Pilot_Examiner_Search_Query as a starting point, then add our own filters based on the search Request\r\n return this.dwMetaDataService.getSavedQueryMetaData(AppMetaData.PilotExaminer.ItemDetail.itemName, null, 'Pilot_Examiner_Search')\r\n .pipe(mergeMap(queryMetaData => {\r\n const prebuiltQuery = this.cloneQuery(queryMetaData);\r\n\r\n const query = AppMetaData.PilotExaminer.CreateQueryBuilder(prebuiltQuery);\r\n\r\n\r\n query.addFilterAnd(filters => filters.Equal(field => field.PilotExaminerId, pilotExaminerId));\r\n\r\n // Add filters by location\r\n const roLocationDistanceFields = AppMetaData.RoPilotExaminerLocationDistances.Attributes;\r\n\r\n // Set Reference to match the prefered airport (this is used to calc the distance from the preferred airport and any DPE airports)\r\n query.addFilterAnd(f => f.Equal(f2 => roLocationDistanceFields.ReferenceAirportId, airportId));\r\n query.addFilterAnd(f => f.Equal(f2 => roLocationDistanceFields.AirportId, airportId));\r\n\r\n return this.dwOrmDataService.executeQuerySingle(query);\r\n }));\r\n }\r\n\r\n /**\r\n * Search Pilot Examiners Scenarios & Locations to find possible matches\r\n * @param searchRequest \r\n * @returns \r\n */\r\n searchExaminerByLocation(searchRequest: ExaminerLocationSearchRequest): Observable {\r\n let url = `${this.apiRoot}/pilexos/search-examiners`;\r\n\r\n let headers = new HttpHeaders();\r\n\r\n //headers = headers.append(SuppressErrorMessagesHeader, 'true');\r\n\r\n return this.http.post(url, searchRequest, { headers: headers });\r\n }\r\n\r\n DEFAULT_BOOKING_COST = 50;\r\n\r\n getPilexosBookingCost(checkrideTestTypeId: number, partyType: CheckRideRequestPaymentPartyAllItems, items: CheckRideRequestPaymentPartyEntity[]): number {\r\n const party = items.find(i => i.CheckRideRequestPaymentPartyId == partyType);\r\n\r\n if (checkrideTestTypeId == CheckRideTestTypeAllItems.Retest && (party?.PilexosBookingRetestCost || party?.PilexosBookingRetestCost == 0)) {\r\n return party?.PilexosBookingRetestCost;\r\n }\r\n\r\n return party?.PilexosBookingCost || this.DEFAULT_BOOKING_COST;\r\n }\r\n\r\n getCheckRideRequestPaymentParty(): Observable {\r\n const cacheInvalidationTopics = [];\r\n\r\n cacheInvalidationTopics.push(DwOrmDataService.ORM_EVENT_TOPICS.ItemChangedTopic(AppMetaData.CheckRideRequestPaymentParty.ItemDetail.itemName));\r\n\r\n return this.dwCacheService.get('CheckRideRequestPaymentParty', this.loadCheckRideRequestPaymentParty(), null, cacheInvalidationTopics);\r\n }\r\n\r\n private loadCheckRideRequestPaymentParty(): Observable {\r\n var query = AppMetaData.CheckRideRequestPaymentParty.CreateQueryBuilder();\r\n\r\n return this.dwOrmDataService.executeQuery(query);\r\n }\r\n\r\n /**\r\n * Check Pilot Examiners Scenarios & Locations to find possible matches\r\n * @param searchRequest \r\n * @returns \r\n */\r\n checkCalendarAvailability(request: CheckCalendarAvailabilityRequestDTO): Observable {\r\n let url = `${this.apiRoot}/pilexos/check-calendar-availability`;\r\n\r\n let headers = new HttpHeaders();\r\n\r\n // headers = headers.append(SuppressErrorMessagesHeader, 'true');\r\n\r\n return this.http.post(url, request, { headers: headers });\r\n }\r\n\r\n /**\r\n * Search Pilot Examiners Scenarios & Locations to find possible matches\r\n * @param searchRequest \r\n * @returns \r\n */\r\n searchExaminerByLocationOnClient(searchRequest: ExaminerLocationSearchRequest): Observable {\r\n\r\n // Load the Pilot_Examiner_Search_Query as a starting point, then add our own filters based on the search Request\r\n return this.dwMetaDataService.getSavedQueryMetaData(AppMetaData.PilotExaminer.ItemDetail.itemName, null, 'Pilot_Examiner_Search')\r\n .pipe(mergeMap(queryMetaData => {\r\n const finalQuery = this.buildSearchQuery(queryMetaData, searchRequest);\r\n\r\n return this.dwOrmDataService.executeQuery(finalQuery);\r\n }));\r\n }\r\n\r\n private buildSearchQuery(queryMetaData: DwQueryMetaData, searchRequest: ExaminerLocationSearchRequest): DwQuery {\r\n\r\n const prebuiltQuery = this.cloneQuery(queryMetaData)\r\n const query = AppMetaData.PilotExaminer.CreateQueryBuilder(prebuiltQuery);\r\n\r\n if (searchRequest.preferredExaminerId) {\r\n query.addFilterAnd(filters => filters.Equal(field => field.PilotExaminerId, searchRequest.preferredExaminerId));\r\n }\r\n\r\n // Add Basic Pilot Examiner Search fields\r\n query.addFilterAnd(f => f.Equal(f2 => f2.AviationAuthorityId, searchRequest.aviationAuthorityId));\r\n\r\n // Add filters for Scenarios items\r\n const roScenarioFields = AppMetaData.RoPilotExaminerScenario.Attributes;\r\n\r\n query.addFilterAnd(f => f.Equal(f2 => roScenarioFields.CheckRideTypeId, searchRequest.checkRideTypeId));\r\n\r\n\r\n // Add filters by location\r\n const roLocationDistanceFields = AppMetaData.RoPilotExaminerLocationDistances.Attributes;\r\n\r\n // Set Reference to match the prefered airport (this is used to calc the distance from the preferred airport and any DPE airports)\r\n query.addFilterAnd(f => f.Equal(f2 => roLocationDistanceFields.ReferenceAirportId, searchRequest.preferredAirportId));\r\n\r\n if (!searchRequest.searchOtherAirports) {\r\n query.addFilterAnd(f => f.LessThanEqual(f2 => roLocationDistanceFields.Distance, 0));\r\n } else {\r\n query.addFilterAnd(f => f.LessThanEqual(f2 => roLocationDistanceFields.Distance, searchRequest.searchWithinMiles));\r\n }\r\n\r\n query.addOrderBy(f => roLocationDistanceFields.Distance);\r\n\r\n return query.query;\r\n }\r\n\r\n private cloneQuery(queryMetaData: DwQueryMetaData): DwQuery {\r\n const newQuery = new DwQuery(queryMetaData.DataQuery.RootTable);\r\n\r\n Object.assign(newQuery, deepCopy(queryMetaData.DataQuery));\r\n\r\n (newQuery as any).BaseQueryMeaning = queryMetaData.QueryMeaning;\r\n\r\n return newQuery;\r\n }\r\n\r\n searchExaminerByLocationCustom(searchRequest: ExaminerLocationSearchRequest): Observable {\r\n const query = AppMetaData.PilotExaminer.CreateQueryBuilder();\r\n\r\n if (searchRequest.preferredExaminerId) {\r\n query.addFilterAnd(filters => filters.Equal(field => field.PilotExaminerId, searchRequest.preferredExaminerId));\r\n }\r\n\r\n // Add Relations (joins to limit the data for the search)\r\n query.addRelation(r => r.RoPilotExaminerLocationDistances);\r\n query.addRelation(r => r.RoPilotExaminerScenario);\r\n\r\n // Add a prefetch\r\n query.addPrefetch(r => r.DwUser);\r\n\r\n\r\n // Add Basic Pilot Examiner Search fields\r\n query.addFilterAnd(f => f.Equal(f2 => f2.AviationAuthorityId, searchRequest.aviationAuthorityId));\r\n\r\n query.addFilterAnd(f => f.Equal(f2 => f2.PilotExaminerStatusId, PilotExaminerStatusAllItems.VerifiedLive));\r\n\r\n // Add filters for Scenarios items\r\n const roScenarioFields = AppMetaData.RoPilotExaminerScenario.Attributes;\r\n\r\n query.addFilterAnd(f => f.Equal(f2 => roScenarioFields.CheckRideGroupId, searchRequest.checkRideGroupId));\r\n query.addFilterAnd(f => f.Equal(f2 => roScenarioFields.CheckRideTypeId, searchRequest.checkRideTypeId));\r\n\r\n\r\n // Add filters by location\r\n const roLocationDistanceFields = AppMetaData.RoPilotExaminerLocationDistances.Attributes;\r\n\r\n // Set Reference to match the prefered airport (this is used to calc the distance from the preferred airport and any DPE airports)\r\n query.addFilterAnd(f => f.Equal(f2 => roLocationDistanceFields.ReferenceAirportId, searchRequest.preferredAirportId));\r\n\r\n if (!searchRequest.searchOtherAirports) {\r\n query.addFilterAnd(f => f.LessThanEqual(f2 => roLocationDistanceFields.Distance, 0));\r\n } else {\r\n query.addFilterAnd(f => f.LessThanEqual(f2 => roLocationDistanceFields.Distance, searchRequest.searchWithinMiles));\r\n }\r\n\r\n query.addOrderBy(f => roLocationDistanceFields.Distance);\r\n\r\n return this.dwOrmDataService.executeQuery(query);\r\n }\r\n\r\n searchExaminerByLocationOldOLD(searchRequest: ExaminerLocationSearchRequest): Observable {\r\n const query = AppMetaData.PilotExaminerLocation.CreateQueryBuilder();\r\n\r\n if (searchRequest.preferredExaminerId) {\r\n query.addFilterAnd(filters => filters.Equal(field => field.PilotExaminerId, searchRequest.preferredExaminerId));\r\n }\r\n\r\n query.addRelation(r => r.PilotExaminer);\r\n\r\n query.addPrefetch(r => r.PilotExaminer, this.buildPilotExaminerQuery());\r\n\r\n\r\n // query.addFilterAnd(filters => filters.GreaterThanEqual(f=>f.SchedulingStartDate, searchRequest.preferredDateTime));\r\n\r\n return this.dwOrmDataService.executeQuery(query);\r\n }\r\n\r\n\r\n getCurrentPiloxExaminerStats(includeCheckridesOnly: boolean = false): Observable {\r\n const query = AppMetaData.PilotExaminer.CreateQueryBuilder();\r\n\r\n query.addFilterAnd(filters => filters.Equal(field => field.UserId, this.dwSecurityUserService.securityContext.ApplicationUser?.UserId));\r\n\r\n query.query.FieldSettings.IncludeRootItemFields = false;\r\n\r\n query.addFields(f => [f.PilotExaminerId, f.UserId, f.PilotExaminerStatusId, f.AviationAuthorityId, f.AuthorityExaminerNumber, f.Description]);\r\n\r\n // Build user query\r\n var userQuery = AppMetaData.DwUser.CreateQueryBuilder();\r\n\r\n userQuery.query.FieldSettings.IncludeRootItemFields = false;\r\n\r\n userQuery.addFields(f => [f.FirstName, f.LastName, f.UserPictureMediaId]);\r\n\r\n if (!includeCheckridesOnly) {\r\n query.addPrefetch(r => r.DwUser, userQuery.query);\r\n query.addPrefetch(r => r.CalendarReference);\r\n\r\n query.addPrefetch(r => r.PilotExaminerLocation, AppMetaData.PilotExaminerLocation.CreateQueryBuilder().addFields(f => [f.IsActive, f.PilotExaminerId]).query);\r\n query.addPrefetch(r => r.CheckRideScenario, AppMetaData.CheckRideScenario.CreateQueryBuilder().addFields(f => [f.IsActive, f.PilotExaminerId]).query);\r\n }\r\n\r\n // Build checkride query\r\n const checkRideQuery = AppMetaData.CheckRideRequest.CreateQueryBuilder();\r\n\r\n checkRideQuery.query.FieldSettings.IncludeRootItemFields = false;\r\n\r\n checkRideQuery.addFields(f => [f.ScheduledPilotExaminerId, f.CheckRideRequestSubStatusId, f.StudentApplicantId, f.ScheduledDateTime]);\r\n\r\n // We want \r\n checkRideQuery.addFilterOr(filters => filters.GroupOr(\r\n fb => fb.GroupAnd(\r\n fb => fb.DateFilters.GreaterThanDays(f => f.ScheduledDateTime, -1),\r\n fb => fb.DateFilters.LessThanEqualDays(f => f.ScheduledDateTime, 14),\r\n ),\r\n fb => fb.InList(f => f.CheckRideRequestSubStatusId, [CheckRideRequestSubStatusAllItems.PendingApproval, CheckRideRequestSubStatusAllItems.PendingOutcome, CheckRideRequestSubStatusAllItems.NewDateProposedByExaminer, CheckRideRequestSubStatusAllItems.PendingPayment, CheckRideRequestSubStatusAllItems.PendingReschedule]),\r\n ));\r\n\r\n query.addPrefetch(r => r.CheckRideRequestByScheduledPilotExaminerId, checkRideQuery.query);\r\n\r\n return this.dwOrmDataService.executeQuerySingle(query);\r\n }\r\n\r\n private buildPilotExaminerQuery(): DwQuery {\r\n const query = AppMetaData.PilotExaminer.CreateQueryBuilder();\r\n\r\n //query.addFilterAnd(filters => filters.Equal(field => field.PilotExaminerId, pilotExaminerId));\r\n\r\n query.addPrefetch(r => r.DwUser);\r\n\r\n return query.query;\r\n }\r\n\r\n public getPilotExaminerCurrentAirports(pilotExaminerId: number): Observable {\r\n return this.dwMetaDataService.getSavedQueryMetaData(AppMetaDataItemNames.Airport, null, 'Pilot_Examiner_Current_Airports')\r\n .pipe(mergeMap(queryMetaData => {\r\n const prebuiltQuery = this.cloneQuery(queryMetaData);\r\n\r\n var query = AppMetaData.Airport.CreateQueryBuilder(prebuiltQuery);\r\n\r\n query.addFilterAnd(filters => filters.Equal(field => 'PilotExaminerLocationShowMetar', true));\r\n\r\n query.addFilterAnd(filters => filters.Equal(field => AppMetaData.PilotExaminer.Attributes.PilotExaminerId, pilotExaminerId));\r\n\r\n return this.dwOrmDataService.executeQuery(query);\r\n }));\r\n }\r\n\r\n public getCurrentExaminerMetarData(pilotExaminerId: number, maxAirports: number = 5): Observable {\r\n\r\n return this.getPilotExaminerCurrentAirports(pilotExaminerId)\r\n .pipe(mergeMap(airports => {\r\n const obs: Observable[] = [];\r\n\r\n if (airports.length == 0) {\r\n return of([])\r\n }\r\n\r\n if (airports.length > maxAirports) {\r\n airports.length = maxAirports;\r\n }\r\n\r\n\r\n return this.getAirportMetars(airports);\r\n }));\r\n }\r\n\r\n getAirportMetars(airports: AirportEntity[]): Observable {\r\n const apiParams = airports.map(airport => `${airport.AirportCode}`).join(',');\r\n const url = `${this.apiRoot}/pilexos/weather/airports/metars?airportCodes=${apiParams}`;\r\n\r\n let headers = new HttpHeaders();\r\n\r\n headers = headers.append(SuppressErrorMessagesHeader, 'true');\r\n\r\n return this.http.get(url, { headers: headers })\r\n .pipe(map((serverMetars) => {\r\n const metars: AirportMetar[] = [];\r\n\r\n for (var metar of serverMetars) {\r\n var airport = airports.find(a => a.AirportCode == metar.AirportCode);\r\n\r\n metars.push({\r\n airport: airport,\r\n metar: metar.Metar\r\n });\r\n }\r\n return metars;\r\n }),\r\n catchError(err => {\r\n console.error('Error loading Metar data', err);\r\n\r\n return of([]);\r\n }));\r\n }\r\n\r\n\r\n getFullBookingCost(result: PilotExaminerSearchQueryEntityExt, testType: CheckRideTestTypeAllItems, applicantCheckrideVariables: ApplicantCheckrideVariables): number {\r\n let bookingCost = result.CheckRideScenarioCheckRideCost || 0;\r\n\r\n // Override the booking cost if the examiner is the same as the rebook examiner and they provided a rebooking cost\r\n if (applicantCheckrideVariables?.Rebook_Pilot_Examiner_Id == result.PilotExaminerId) {\r\n if (applicantCheckrideVariables?.Examiner_Rebook_Cost) {\r\n bookingCost = applicantCheckrideVariables.Examiner_Rebook_Cost;\r\n return bookingCost;\r\n }\r\n }\r\n\r\n switch (testType) {\r\n case CheckRideTestTypeAllItems.Retest:\r\n if (result.CheckRideScenarioRetestCost) {\r\n bookingCost = result.CheckRideScenarioRetestCost;\r\n }\r\n\r\n break;\r\n case CheckRideTestTypeAllItems.RetestFlightOnly:\r\n if (result.CheckRideScenarioRetestFlightOnlyCost) {\r\n bookingCost = result.CheckRideScenarioRetestFlightOnlyCost;\r\n } else if (result.CheckRideScenarioRetestCost) {\r\n bookingCost = result.CheckRideScenarioRetestCost;\r\n }\r\n\r\n break;\r\n case CheckRideTestTypeAllItems.Continuance:\r\n if (result.CheckRideScenarioDiscontinuedRetestCost) {\r\n bookingCost = result.CheckRideScenarioDiscontinuedRetestCost;\r\n }\r\n\r\n break;\r\n case CheckRideTestTypeAllItems.ContinuanceFlightOnly:\r\n if (result.CheckRideScenarioDiscontinuedRetestFlightOnlyCost) {\r\n bookingCost = result.CheckRideScenarioDiscontinuedRetestFlightOnlyCost;\r\n } else if (result.CheckRideScenarioDiscontinuedRetestCost) {\r\n bookingCost = result.CheckRideScenarioDiscontinuedRetestCost;\r\n }\r\n break;\r\n }\r\n\r\n if (bookingCost == 0) {\r\n bookingCost = result.CheckRideScenarioCheckRideCost || 0;\r\n }\r\n\r\n if (result.PilotExaminerLocationAdditionalLocationCost) {\r\n bookingCost += result.PilotExaminerLocationAdditionalLocationCost;\r\n }\r\n\r\n // Handle travel costs adjustments\r\n if (result.PilotExaminerLocationTravelCost) {\r\n if (result.AdditionalResultDetails?.RequiresTravel) {\r\n if (result.PilotExaminerLocationTravelCost > 0) {\r\n bookingCost += result.PilotExaminerLocationTravelCost;\r\n }\r\n } else {\r\n if (result.PilotExaminerLocationTravelCost < 0) {\r\n bookingCost += result.PilotExaminerLocationTravelCost;\r\n }\r\n }\r\n }\r\n\r\n return bookingCost;\r\n }\r\n\r\n\r\n getCheckrideTimeMinutes(result: PilotExaminerSearchQueryEntityExt, testType: CheckRideTestTypeAllItems) {\r\n\r\n // This logic moved to the server\r\n return result.CheckrideDurationMinutes;\r\n\r\n // let timeMinutes = result.CheckRideScenarioTimeRequiredMinutes || 0;\r\n\r\n // switch (testType) {\r\n // case CheckRideTestTypeAllItems.RetestFlightOnly:\r\n // case CheckRideTestTypeAllItems.ContinuanceFlightOnly:\r\n // if (result.CheckRideScenarioRetestFlightOnlyTimeReqirementMinutes) {\r\n // timeMinutes = result.CheckRideScenarioRetestFlightOnlyTimeReqirementMinutes;\r\n // }\r\n // break;\r\n // }\r\n\r\n // return timeMinutes;\r\n }\r\n\r\n getCheckrideTimeMinutesFromScenario(testType: CheckRideTestTypeAllItems, checkrideScenario: CheckRideScenarioEntity): number {\r\n let timeMinutes = checkrideScenario.TimeRequiredMinutes;\r\n\r\n let overrideTimeMinutes: number = 0;\r\n\r\n switch (testType) {\r\n case CheckRideTestTypeAllItems.Retest:\r\n overrideTimeMinutes = checkrideScenario.RetestTimeRequiredMinutes;\r\n break;\r\n case CheckRideTestTypeAllItems.RetestFlightOnly:\r\n overrideTimeMinutes = checkrideScenario.RetestFlightOnlyTimeReqirementMinutes;\r\n break;\r\n case CheckRideTestTypeAllItems.Continuance:\r\n overrideTimeMinutes = checkrideScenario.DiscontinuedTimeRequiredMinutes;\r\n break;\r\n case CheckRideTestTypeAllItems.ContinuanceFlightOnly:\r\n overrideTimeMinutes = checkrideScenario.DiscontinuedFlightOnlyTimeRequiredMinutes;\r\n break;\r\n }\r\n\r\n if (overrideTimeMinutes) {\r\n return overrideTimeMinutes;\r\n }\r\n\r\n return timeMinutes;\r\n }\r\n\r\n translateDateTime(dateTime: string, timezoneId): Observable {\r\n const url = `${this.apiRoot}/pilexos/time/translate?dateTime=${dateTime}&timezoneId=${timezoneId}`;\r\n\r\n return this.http.get(url);\r\n }\r\n\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { DwModalButtonStandardConfigs, DwModalConfig, DwModalSize, DwModalService, DwControlType, DwMediaRepositoryService } from '@devwareapps/devware-cap';\r\n\r\n@Component({\r\n selector: 'app-additional-content',\r\n templateUrl: './additional-content.component.html',\r\n styleUrls: ['./additional-content.component.scss']\r\n})\r\nexport class AdditionalContentComponent implements OnInit {\r\n // contentItems: ContentItemEntity[];\r\n // textboxControlType: DwControlType = DwControlType.Textbox;\r\n\r\n // constructor(private vendorHomePageDataService: VendorHomePageDataService, private dwModalService: DwModalService,\r\n // private dwMediaRespositoryService: DwMediaRepositoryService) { }\r\n\r\n ngOnInit(): void { \r\n\r\n // this.vendorHomePageDataService.loadContentItems()\r\n // .subscribe(contentItems => {\r\n // this.contentItems = contentItems;\r\n // })\r\n }\r\n\r\n // clickContentItem(contentItem: ContentItemEntity) {\r\n // switch (contentItem.ContentItemTypeId) {\r\n // case ContentItemTypeAllItems.Link:\r\n // if (contentItem.LinkUrl) {\r\n // window.open(contentItem.LinkUrl, \"_blank\");\r\n // }\r\n // break;\r\n\r\n // case ContentItemTypeAllItems.FileDownload:\r\n // this.downloadContent(contentItem);\r\n // break;\r\n // case ContentItemTypeAllItems.Content:\r\n // this.showDialogContent(contentItem.Title, contentItem.ContentHtml);\r\n // break;\r\n\r\n // }\r\n // }\r\n\r\n // public showDialogContent(title: string, message: string) {\r\n // let modalConfig = new DwModalConfig();\r\n // modalConfig.title = title;\r\n // modalConfig.content = message;\r\n\r\n // modalConfig.modalSize = DwModalSize.responsive;\r\n\r\n\r\n // modalConfig.buttons = [DwModalButtonStandardConfigs.instance.closeButton];\r\n\r\n // return this.dwModalService.showModal(modalConfig)\r\n // .subscribe(result => {\r\n // // Nothing to do with the result\r\n // })\r\n // }\r\n\r\n // private downloadContent(contentItem: ContentItemEntity) {\r\n\r\n // this.dwMediaRespositoryService.loadMedia(contentItem.MediaId)\r\n // .subscribe(roMedias => {\r\n // if (!roMedias || roMedias.length != 1) {\r\n // return;\r\n // }\r\n // let roMedia = roMedias[0];\r\n\r\n // this.dwMediaRespositoryService.downloadMedia(roMedia);\r\n\r\n // // let fileUrl = `${this.dwMediaRespositoryService.mediaApi}/download/${roMedia.ContainerName}/${roMedia.FileName}`;\r\n\r\n // // this.dwMediaRespositoryService.downloadFile(fileUrl, roMedia.FileName);\r\n // })\r\n\r\n // }\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { PaymentRepositoryService } from \"../services/payment-repository.service\";\r\nimport { DwAction, DwActionHandler, DwActionResult, DwActionState, DwActionType, DwMdFormActionState, DwMdFormInitActionHandler, DwMdFormInitActionState, DwMessageSeverity } from \"@devwareapps/devware-cap\";\r\nimport { AppMetaDataItemNames, CheckRidePaymentEntity, PaymentReferenceStatusAllItems } from \"../../../meta-data/app-meta-data.service\";\r\nimport { Observable, of } from \"rxjs\";\r\nimport { map, mergeMap } from \"rxjs/operators\";\r\nimport { CheckrideRefundPaymentRequest } from \"../models/checkride-refund-payment-request.model\";\r\n\r\n\r\n@DwAction({\r\n keyName: 'checkride-payment-refund-action',\r\n display: 'Checkride Payment Refund Action',\r\n actionType: DwActionType.formAction,\r\n isGlobal: false,\r\n parentItemName: AppMetaDataItemNames.CheckRidePayment,\r\n allowOnce: true,\r\n defaultButtonConfig: {\r\n buttonClass: 'btn btn-warning mr-1 mt-1',\r\n buttonText: 'Refund Payment',\r\n iconClass: 'fa fa-credit-card'\r\n },\r\n defaultConfirmConfig : {\r\n showConfirmDialog: true,\r\n showDialogConfig: true,\r\n message: 'Are you sure you want to refund this payment?',\r\n title: 'Refund Payment',\r\n },\r\n configData: {\r\n requireValidation: false,\r\n redirectAfter: false,\r\n actionMessage: 'Refunding payment...',\r\n }\r\n})\r\n@Injectable()\r\nexport class CheckridePaymentRefundActionService implements DwActionHandler, DwMdFormInitActionHandler {\r\n\r\n constructor(private paymentRepositoryService: PaymentRepositoryService) {}\r\n\r\n initAction(formInitActionState: DwMdFormInitActionState) {\r\n formInitActionState.formApi\r\n .getFormDataChanges(350)\r\n .subscribe(value => this.updateButton(formInitActionState, value));\r\n }\r\n\r\n /**\r\n * Updates the button config based on if they can approve or not\r\n * @param formInitActionState form state\r\n */\r\n protected updateButton(formInitActionState: DwMdFormInitActionState, checkRidePaymentEntity: CheckRidePaymentEntity) {\r\n const buttonConfig = formInitActionState.actionPreference.buttonConfig;\r\n\r\n if (!formInitActionState.formApi.formGroup.pristine) {\r\n return;\r\n }\r\n if (checkRidePaymentEntity?.PaymentReference?.PaymentReferenceStatusId != PaymentReferenceStatusAllItems.Charged) {\r\n buttonConfig.hidden = true;\r\n } else {\r\n buttonConfig.hidden = false;\r\n }\r\n }\r\n\r\n handleAction(actionState: DwMdFormActionState): Observable {\r\n const checkridePayment : CheckRidePaymentEntity = actionState.data;\r\n const result = new DwActionResult();\r\n \r\n if (checkridePayment?.PaymentReference?.PaymentReferenceStatusId != PaymentReferenceStatusAllItems.Charged) {\r\n result.message = {\r\n messageHeading: 'Payment Refund Failed',\r\n messageBody: 'Payment must be in charged status to be refuneded',\r\n severity: DwMessageSeverity.error,\r\n allowClose: true\r\n \r\n };\r\n \r\n result.success = false;\r\n result.cancelled = true;\r\n \r\n return of(result);\r\n }\r\n\r\n const refundRequest: CheckrideRefundPaymentRequest = {\r\n CheckridePaymentId: checkridePayment.CheckRidePaymentId,\r\n };\r\n\r\n\r\n return this.paymentRepositoryService.refundCheckridePayment(refundRequest)\r\n .pipe(mergeMap(refundResult => {\r\n \r\n\r\n if (refundResult.IsSuccess) {\r\n result.message = {\r\n messageHeading: 'Payment Refund Successful',\r\n messageBody: 'Payment has been refunded',\r\n severity: DwMessageSeverity.success,\r\n allowClose: true,\r\n timeToShow: 5000,\r\n };\r\n\r\n result.success = true;\r\n return actionState.formApi.loadData(true)\r\n .pipe(map(() => {\r\n return result;\r\n }));\r\n }\r\n\r\n result.message = {\r\n messageHeading: 'Payment Refund Failed',\r\n messageBody: refundResult.ErrorMessage, \r\n severity: DwMessageSeverity.error,\r\n allowClose: true,\r\n };\r\n result.success = false;\r\n result.cancelled = true;\r\n\r\n return of(result);\r\n }));\r\n }\r\n\r\n}","import { Component, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges } from '@angular/core';\r\nimport { ChartFilters } from '../../models/chart-filters.model';\r\nimport { FinancialDashboardGroup } from '../../models/financial-dashboard-config.model';\r\nimport { FinancialsRepositoryService } from '../../services/financials-repository.service';\r\nimport { DateTimeUtilService } from '../../../shared/util/date-time-util.service';\r\nimport { AppMetaDataLookups } from '../../../../meta-data/app-meta-data.service';\r\n\r\n@Component({\r\n selector: 'app-financial-dashboard-filters',\r\n templateUrl: './financial-dashboard-filters.component.html',\r\n styleUrls: ['./financial-dashboard-filters.component.scss']\r\n})\r\nexport class FinancialDashboardFiltersComponent implements OnInit, OnChanges {\r\n @Input() filters: ChartFilters;\r\n @Output() filtersChange = new EventEmitter();\r\n @Input() summaryData: any[] = [];\r\n @Input() financialDashboardGroup: FinancialDashboardGroup;\r\n \r\n years: number[];\r\n months = [{value: 1, text: 'January'}, {value: 2, text: 'February'}, {value: 3, text: 'March'}, {value: 4, text: 'April'}, {value: 5, text: 'May'}, {value: 6, text: 'June'}, {value: 7, text: 'July'}, {value: 8, text: 'August'}, {value: 9, text: 'September'}, {value: 10, text: 'October'}, {value: 11, text: 'November'}, {value: 12, text: 'December'}]\r\n\r\n pilotExaminerLookupId = AppMetaDataLookups.PilotExaminerAllItems;\r\n\r\n constructor(private financialRepositoryService: FinancialsRepositoryService, private dateTimeUtilService: DateTimeUtilService) { }\r\n \r\n ngOnInit(): void {\r\n this.setupFilters();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.setupFilters();\r\n }\r\n\r\n private yearInitComplete = false;\r\n\r\n private setupFilters() {\r\n if (!this.financialDashboardGroup) {\r\n return;\r\n }\r\n\r\n const fields = this.financialRepositoryService.getFinancialFields();\r\n\r\n this.filters = this.filters || {};\r\n\r\n if (this.filters.month == undefined) {\r\n this.filters.month = null;\r\n }\r\n\r\n if (this.financialDashboardGroup.filterOptions?.showYear) {\r\n\r\n if (!this.filters.year && !this.yearInitComplete) {\r\n this.yearInitComplete = true;\r\n this.filters.year = this.dateTimeUtilService.getCurrentYear();\r\n }\r\n\r\n this.years = this.summaryData?.filter(d => d[fields.year]).map(d => d[fields.year]) || [this.filters.year];\r\n }\r\n\r\n }\r\n\r\n onFilterChange() {\r\n if (this.filters.year==null) {\r\n this.filters.month = null;\r\n }\r\n\r\n this.filtersChange.emit(this.filters);\r\n }\r\n\r\n}\r\n","
\r\n
1\">\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
","export enum AppPermissions {\r\n cAPBasicUser = 'CAP_Basic_User',\r\n cAPFeatureAreasCanCreate = 'CAP-Feature_Areas-Can_Create',\r\n cAPFeatureAreasCanPublish = 'CAP-Feature_Areas-Can_Publish',\r\n cAPFeatureAreasCanUpdate = 'CAP-Feature_Areas-Can_Update',\r\n checkRidePilotExaminerAccess = 'Check_Ride-Pilot_Examiner_Access',\r\n checkRideStudentAccess = 'Check_Ride-Student_Access',\r\n checkridePaymentCanRefund = 'Checkride_Payment-Can_Refund',\r\n checkrideBasicAccess = 'Checkride-Basic_Access',\r\n checkrideCanSeeMissedAcsCodes = 'Checkride-Can_See_Missed_Acs_Codes',\r\n entAdminMetaDataCanAdmin = 'Ent_Admin_MetaDataCanAdmin',\r\n entAdminOtherCanAccess = 'Ent_Admin_OtherCanAccess',\r\n entAdminSecurityCanAccess = 'Ent_Admin_SecurityCanAccess',\r\n entAdminSecurityCanAdminAdvanced = 'Ent_Admin_SecurityCanAdminAdvanced',\r\n entAdminSecurityCanAdminUsers = 'Ent_Admin_SecurityCanAdminUsers',\r\n entAdminCanAccess = 'Ent_AdminCanAccess',\r\n entSecurityCanEmulate = 'Ent_Security_CanEmulate',\r\n entSecurityCanLogin = 'Ent_Security_CanLogin',\r\n entUiCanConfigure = 'Ent_Ui_CanConfigure',\r\n entUiContentCanEdit = 'Ent_Ui_Content_CanEdit',\r\n entWorkItemTrackingCanAccess = 'Ent_WorkItemTracking_CanAccess',\r\n entWorkItemTrackingCanAdmin = 'Ent_WorkItemTracking_CanAdmin',\r\n listAdmin = 'List_Admin',\r\n pilexosAdmin = 'Pilexos_Admin',\r\n pilexosUserTypeLimitedMenusCanSeeAll = 'Pilexos-User_Type_Limited_Menus-Can_See_All',\r\n pilotExaminerCanManage = 'Pilot_Examiner-Can_Manage',\r\n planOfActionACSCodeLookup = 'Plan_of_Action-ACS_Code_Lookup',\r\n planOfActionPilotExaminer = 'Plan_of_Action-Pilot_Examiner',\r\n planOfActionStudentAccess = 'Plan_of_Action-Student_Access',\r\n}\r\n","import { Component, EventEmitter, Input, OnInit } from '@angular/core';\r\nimport { DwButtonCommand, DwButtonConfig, DwMessage, DwMessageSeverity, DwModalButtonStandardConfigs, DwModalConfig, DwModalHandler, DwModalResult, DwModalService, DwModalSize } from '@devwareapps/devware-cap';\r\nimport { Observable, of } from 'rxjs';\r\nimport { PaymentChargeRequest } from '../../models/payment-charge-request.model';\r\nimport { CheckridePaymentRequest } from '../../models/checkride-payment-request.model';\r\nimport { PaymentModalOptions } from '../../models/payment-modal-options.model';\r\nimport { PaymentModalReturn } from '../../models/payment-modal-return.model';\r\nimport { PaymentRepositoryService } from '../../services/payment-repository.service';\r\nimport { CheckridePaymentResult } from '../../models/checkride-payment-result.model';\r\nimport { map, mergeMap } from 'rxjs/operators';\r\nimport { CheckRideRequestEntity, CheckRideRequestSubStatusAllItems } from '../../../../meta-data/app-meta-data.service';\r\nimport { CurrencyPipe } from '@angular/common';\r\nimport { PaymentDiscountResult } from '../../models/payment-discount-result.model';\r\n\r\n@Component({\r\n selector: 'app-payment-modal',\r\n templateUrl: './payment-modal.component.html',\r\n styleUrls: ['./payment-modal.component.scss'],\r\n providers: [CurrencyPipe]\r\n})\r\nexport class PaymentModalComponent implements OnInit, DwModalHandler {\r\n chargeRequest: PaymentChargeRequest;\r\n\r\n modalConfig: DwModalConfig;\r\n paymentModalOptions: PaymentModalOptions;\r\n closeModal: EventEmitter>;\r\n paymentComplete: boolean;\r\n\r\n processing: boolean = false;\r\n processingMessage: string;\r\n checkridepaymentResult: CheckridePaymentResult;\r\n\r\n additionalMessage: string;\r\n paymentDiscountResult: PaymentDiscountResult;\r\n\r\n constructor(private paymentRespotioryService: PaymentRepositoryService, private currencyPipe: CurrencyPipe) { }\r\n\r\n ngOnInit(): void {\r\n\r\n this.paymentModalOptions = this.modalConfig.data;\r\n this.chargeRequest = this.paymentModalOptions.chargeRequest || {} as any;\r\n\r\n if (this.paymentModalOptions.checkrideRequest.ExaminerBookingCost > 0) {\r\n const amount = this.currencyPipe.transform(this.paymentModalOptions.checkrideRequest.ExaminerBookingCost, 'USD', 'symbol', '1.2-2');\r\n\r\n this.additionalMessage = `This does not include the Examiner booking fee of ${amount} which is payable directly to the Examiner.`;\r\n }\r\n this.paymentModalOptions.showPaymentParty\r\n }\r\n\r\n\r\n\r\n buttonClick(buttonConfig: DwButtonConfig): Observable> {\r\n const modalResult = new DwModalResult();\r\n\r\n modalResult.closeModal = true;\r\n modalResult.cancelled = false;\r\n modalResult.buttonCommand = buttonConfig.command;\r\n\r\n if (this.processing) {\r\n modalResult.cancelled = true;\r\n\r\n return of(modalResult);\r\n }\r\n\r\n switch (buttonConfig.command) {\r\n case DwButtonCommand.saveAndClose:\r\n\r\n if (!this.validateForm()) {\r\n modalResult.closeModal = false;\r\n\r\n return of(modalResult);\r\n }\r\n\r\n return this.processPayment();\r\n default:\r\n if (this.paymentComplete) {\r\n modalResult.data = {\r\n checkridePaymentResult: this.checkridepaymentResult\r\n };\r\n\r\n return of(modalResult)\r\n }\r\n\r\n // Otherwise we're cancelling\r\n modalResult.cancelled = true;\r\n\r\n return of(modalResult);\r\n }\r\n }\r\n\r\n\r\n processPayment(): Observable> {\r\n const checkridePaymentRequest: CheckridePaymentRequest = {\r\n checkRideRequestId: this.modalConfig.data.checkrideRequest.CheckRideRequestId,\r\n chargeRequest: this.chargeRequest,\r\n\r\n };\r\n\r\n this.processing = true;\r\n this.processingMessage = 'Validating Payment Information...';\r\n\r\n return this.paymentRespotioryService.CreateCheckridePayment(checkridePaymentRequest)\r\n .pipe(map((checkridePaymentResult: CheckridePaymentResult) => {\r\n\r\n this.checkridepaymentResult = checkridePaymentResult;\r\n const modalResult = new DwModalResult();\r\n\r\n if (!checkridePaymentResult.IsSuccess) {\r\n this.processing = false;\r\n this.setMessage(checkridePaymentResult.ErrorMessage, DwMessageSeverity.error);\r\n\r\n modalResult.closeModal = false;\r\n\r\n return modalResult;\r\n }\r\n\r\n this.processingMessage = 'Updating Checkride...';\r\n\r\n this.processing = false;\r\n modalResult.closeModal = false;\r\n\r\n this.paymentComplete = true;\r\n\r\n this.modalConfig.title = 'Checkride payment successful';\r\n this.modalConfig.buttons = [DwModalButtonStandardConfigs.instance.closeButton];\r\n\r\n return modalResult;\r\n\r\n // Moved this piece to the SaveCheckridePayment call on server side\r\n // return this.paymentRespotioryService.updateCheckrideAsPaymentAdded(this.modalConfig.data.checkrideRequest)\r\n // .pipe(map((checkrideRequest: CheckRideRequestEntity) => {\r\n\r\n // this.processing = false;\r\n // modalResult.closeModal = false;\r\n\r\n // this.paymentComplete = true;\r\n\r\n // this.modalConfig.title = 'Checkride booking successful';\r\n // this.modalConfig.buttons = [DwModalButtonStandardConfigs.instance.closeButton];\r\n\r\n // return modalResult;\r\n // }));\r\n\r\n }))\r\n\r\n }\r\n\r\n protected validateForm(): boolean {\r\n const errors: string[] = [];\r\n\r\n if (this.paymentDiscountResult?.FinalAmount > 0) {\r\n if (!this.chargeRequest.cardholderName) {\r\n errors.push('Cardholder Name is required');\r\n }\r\n\r\n if (!this.chargeRequest.cardNumber) {\r\n errors.push('Card number Name is required');\r\n }\r\n\r\n if (!this.chargeRequest.expirationMonth) {\r\n errors.push('Expiration Month is required');\r\n }\r\n\r\n if (!this.chargeRequest.expirationYear) {\r\n errors.push('Expiration Year is required');\r\n }\r\n\r\n if (!this.chargeRequest.cVC) {\r\n errors.push('CVC is required');\r\n }\r\n \r\n if (!this.chargeRequest.cardholderPostalCode) {\r\n errors.push('Postal Code is required');\r\n }\r\n }\r\n\r\n if (errors.length > 0) {\r\n this.setMessage(errors.join(\", \"), DwMessageSeverity.error);\r\n\r\n return false;\r\n }\r\n\r\n this.message = null;\r\n\r\n return true;\r\n }\r\n\r\n message: DwMessage;\r\n\r\n private setMessage(messageBody: string, severity: DwMessageSeverity = DwMessageSeverity.info) {\r\n this.message = {\r\n messageBody: messageBody,\r\n severity: severity\r\n };\r\n }\r\n\r\n}\r\n","\r\n \r\n\r\n \r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n \r\n","import { Component, OnInit } from '@angular/core';\r\nimport { DwComponent, DwComponentType, DwMenuService } from '@devwareapps/devware-cap';\r\nimport { ExaminerRepositoryService } from '../../services/examiner-repository.service';\r\nimport { AppMetaDataItemNames, PilotExaminerEntity } from '../../../../meta-data/app-meta-data.service';\r\nimport { ActivatedRoute } from '@angular/router';\r\n\r\n@DwComponent({\r\n key: 'examiner-public-profile',\r\n name: 'Examiner Public Profile',\r\n componentType: DwComponentType.pageComponent,\r\n parentItemName: AppMetaDataItemNames.PilotExaminer,\r\n isGlobal : false,\r\n})\r\n@Component({\r\n selector: 'app-examiner-public-profile',\r\n templateUrl: './examiner-public-profile.component.html',\r\n styleUrls: ['./examiner-public-profile.component.scss']\r\n})\r\nexport class ExaminerPublicProfileComponent implements OnInit {\r\n examinerKey: any;\r\n keyValue: number;\r\n pilotExaminer: PilotExaminerEntity;\r\n showNotFound = false;\r\n checkrideTypes: string[];\r\n airports: string[];\r\n\r\n constructor(private menuService: DwMenuService, private route: ActivatedRoute, private examinerRepositoryService: ExaminerRepositoryService) { }\r\n\r\n ngOnInit(): void {\r\n this.menuService.menuStateObservable.subscribe((menuState) => {\r\n // console.log(menuState);\r\n this.setupComponent();\r\n });\r\n\r\n this.setupComponent();\r\n }\r\n\r\n\r\n initComplete = false;\r\n private setupComponent() {\r\n\r\n if (this.initComplete) {\r\n return;\r\n }\r\n\r\n const params = this.route.snapshot.paramMap;\r\n\r\n this.examinerKey = params.get('examinerKey');\r\n\r\n if (!this.examinerKey) {\r\n\r\n this.examinerKey = this.menuService.getMenuParam('examinerKey');\r\n\r\n if (!this.examinerKey) {\r\n return;\r\n }\r\n }\r\n\r\n this.initComplete = true;\r\n\r\n this.examinerRepositoryService.getExaminerIdByProfileKey(this.examinerKey)\r\n .subscribe((pilotExaminer) => {\r\n this.pilotExaminer = pilotExaminer;\r\n\r\n this.examinerRepositoryService.storeReferredExaminer(pilotExaminer);\r\n\r\n if (!this.pilotExaminer) {\r\n this.showNotFound = true;\r\n }\r\n\r\n this.setCheckrideTypes();\r\n this.setupAirports();\r\n\r\n this.keyValue = pilotExaminer?.PilotExaminerId;\r\n });\r\n }\r\n\r\n private setCheckrideTypes() {\r\n if (!this.pilotExaminer) {\r\n return;\r\n }\r\n\r\n const checkrideTypes: string[] = [];\r\n\r\n for(const scenario of this.pilotExaminer.CheckRideScenario || []) {\r\n for(const checkRideTypeMap of scenario.CheckRideScenarioTypeMap || []) {\r\n checkrideTypes.push(checkRideTypeMap.CheckRideTypeIdDisplay);\r\n }\r\n }\r\n\r\n this.checkrideTypes = checkrideTypes;\r\n }\r\n\r\n \r\n private setupAirports() {\r\n if (!this.pilotExaminer) {\r\n return;\r\n }\r\n\r\n const airports: string[] = [];\r\n\r\n for(const locaion of this.pilotExaminer.PilotExaminerLocation || []) {\r\n for(const airport of locaion.PilotExaminerLocationAirport || []) {\r\n airports.push(airport.AirportIdDisplay);\r\n }\r\n }\r\n\r\n this.airports = airports;\r\n }\r\n\r\n}\r\n","\r\n\r\n

\r\n Examiner profile not found\r\n

\r\n\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n","import { fieldSelectorType } from \"@devwareapps/devware-cap\";\r\nimport { ChartFilters } from \"./chart-filters.model\";\r\nimport { CheckrideRequestAggregateBaseQueryMetaDataAttributes } from \"../../../meta-data/app-meta-data.service\";\r\nimport { DwChartTypes } from \"../../z-devware/visualizations/models/dw-chart-preferences.model\";\r\nimport { ChartAdditionalFilterOptions } from \"./chart-additional-filter.options.model\";\r\n\r\n\r\n\r\nexport class ChartDataRequest {\r\n chartType: DwChartTypes = DwChartTypes.pie;\r\n filters?: ChartFilters;\r\n additionalFilterOptions?: ChartAdditionalFilterOptions;\r\n title: string; \r\n categoryField: fieldSelectorType | string;\r\n dataField?: fieldSelectorType | string;\r\n categoryDisplayField?: fieldSelectorType | string;\r\n categoryDisplayOverride?: string;\r\n\r\n additionalGroupingFields?: fieldSelectorType[] | string[];\r\n orderByFields?: fieldSelectorType[] | string[] | ChartOrderByField[];\r\n\r\n hideLegend?: boolean;\r\n maxItems?: number;\r\n maxLegendItems?: number;\r\n \r\n includeBlank?: boolean;\r\n\r\n series?: ChartDataRequestSeries[];\r\n\r\n containerClass?: string;\r\n \r\n}\r\n\r\n\r\nexport class ChartDataRequestSeries {\r\n dataField: fieldSelectorType | string;\r\n legendDisplay?: string;\r\n axis?: 'y' | 'y2';\r\n chartType?: DwChartTypes = DwChartTypes.pie;\r\n color?: string;\r\n}\r\n\r\nexport interface ChartOrderByField {\r\n field: fieldSelectorType | string;\r\n isDescending?: boolean;\r\n}\r\n\r\nexport function isChartOrderbyField(obj: any): obj is ChartOrderByField {\r\n return obj.field;\r\n}","import { Component, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges } from '@angular/core';\nimport { AcsCodesLookupQueryEntity, AppMetaData, PlanOfActionEntity, PlanOfActionQuestionResultEntity, PlanOfActionSectionEntity, PlanOfActionSectionQuestionEntity, PlanOfActionSectionTypeAllItems, PlanOfActionSectionTypeEntity } from '../../../../meta-data/app-meta-data.service';\nimport { booleanConverter, DwContainerOptions, DwInputConverter, isFirstChange } from '@devwareapps/devware-cap';\nimport { PlanOfActionRepositoryService } from '../../services/plan-of-action-repository.service';\nimport { AcsCodesStorageItem, AcsCodeStatuses } from '../../models/acs-code-items.model';\nimport { PlanOfActionUtilService } from '../../services/plan-of-action-util.service';\n\n@Component({\n selector: 'app-plan-of-action-execute-section',\n templateUrl: './plan-of-action-execute-section.component.html',\n styleUrls: ['./plan-of-action-execute-section.component.scss']\n})\nexport class PlanOfActionExecuteSectionComponent implements OnInit, OnChanges {\n\n @Input() planOfAction: PlanOfActionEntity;\n @Input() planOfActionSection: PlanOfActionSectionEntity;\n @Input() sectionTypes: PlanOfActionSectionTypeEntity[];\n\n @Input() planOfActionQuestionResults: PlanOfActionQuestionResultEntity[];\n @Input() acsCodeStatuses: AcsCodeStatuses;\n @Input() inPrintMode: boolean = false;\n\n @Output() resultChange = new EventEmitter();\n\n @DwInputConverter(booleanConverter) \n @Input() useTitleOnlyContainer: boolean = false;\n\n sectionType: PlanOfActionSectionTypeEntity;\n showQuestion: boolean;\n sectionTitle: string;\n showAcsCode: boolean;\n\n \n acsCodes: AcsCodesStorageItem;\n collapsed: boolean = true;\n missingAcsCodeImageUrl: string;\n\n\n constructor(private planOfActionRepositoryService: PlanOfActionRepositoryService, private planOfActionUtilService: PlanOfActionUtilService) {\n\n this.missingAcsCodeImageUrl = this.planOfActionUtilService.getMissedAcsCodeImageUrl();\n }\n \n containerOptions: DwContainerOptions;\n \n currentAcsCodes: AcsCodesLookupQueryEntity[];\n \n ngOnInit(): void {\n this.setupSection();\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (!isFirstChange(changes)) {\n this.setupSection();\n }\n\n if (!changes.planOfActionSection?.firstChange){\n this.setupSection(true);\n }\n }\n\n updateResult(result: PlanOfActionQuestionResultEntity) {\n this.resultChange.emit(result);\n }\n\n initComplete = false;\n\n private setupSection(force: boolean = false) {\n if (!this.planOfAction || !this.planOfActionSection || !this.sectionTypes || !this.planOfActionQuestionResults) {\n return;\n }\n\n if (this.initComplete && !force) {\n return;\n }\n\n this.setupContainer();\n\n this.setupQuestionResults();\n\n this.setupAcsCodes();\n\n this.initComplete = true;\n }\n\n resultMapping: { [prop: number]: PlanOfActionQuestionResultEntity } = {};\n\n setupQuestionResults() {\n for(const question of this.planOfActionSection.PlanOfActionSectionQuestion) {\n let result = this.planOfActionQuestionResults.find(x => x.PlanOfActionSectionQuestionId == question.PlanOfActionSectionQuestionId);\n\n if (!result) {\n result = AppMetaData.PlanOfActionQuestionResult.CreateEntity();\n result.PlanOfActionSectionQuestionId = question.PlanOfActionSectionQuestionId;\n \n this.planOfActionQuestionResults.push(result);\n }\n\n this.resultMapping[question.PlanOfActionSectionQuestionId] = result;\n }\n }\n\n private setupContainer() {\n if (!this.planOfAction || !this.planOfActionSection || !this.sectionTypes) {\n return;\n }\n\n this.sectionType = this.sectionTypes?.find(x => x.PlanOfActionSectionTypeId == this.planOfActionSection?.PlanOfActionSectionTypeId);\n\n console.log('setupContainer');\n if (!this.sectionType) {\n return;\n }\n\n this.showQuestion = this.planOfAction.OptionsShowQuestionForAcsCode;\n\n switch (this.planOfActionSection.PlanOfActionSectionTypeId) {\n case PlanOfActionSectionTypeAllItems.AreaOfOperation:\n\n //this.planOfActionSection.AcsAreaOfOperationIdDisplay\n this.sectionTitle = `${this.planOfActionSection.AcsAreaOfOperationIdDisplay}`;\n this.showAcsCode = true;\n break;\n case PlanOfActionSectionTypeAllItems.Task:\n this.sectionTitle = `${this.planOfActionSection.AcsAreaOfOperationIdDisplay} - ${this.planOfActionSection.AcsAreaOfOperationTaskIdDisplay}`;\n this.showAcsCode = true;\n break;\n default:\n this.sectionTitle = this.planOfActionSection.SectionName;\n this.showAcsCode = false;\n this.showQuestion = true;\n }\n\n this.containerOptions = {\n useContainerStyling: true,\n //styleName: 'TITLE_ONLY_LINE',\n // expandCollapseStyle: DwExpandCollapseStyle.chevron,\n // expandCollpaseLocation: DwExpandCollapseLocation.left,\n containerAllowCollapse: false,\n //containerCollapseDefault: true,\n \n containerHeaderIcon: this.sectionType.AcsTestPortion.IconClass,\n showTitle: true,\n }\n\n if(this.useTitleOnlyContainer) {\n this.containerOptions.styleName = 'TITLE_ONLY_LINE';\n this.containerOptions.containerHeaderForegroundColor = this.sectionType.AcsTestPortion.HeaderClass;\n } else {\n this.containerOptions.containerHeaderBackgroundColor= this.sectionType.AcsTestPortion.HeaderClass;\n }\n\n }\n\n\n private setupAcsCodes() {\n if (!this.planOfAction || !this.planOfActionSection) {\n return;\n }\n\n // if (this.acsCodes) {\n // return;\n // }\n\n if (!this.planOfActionSection.AcsAreaOfOperationId) {\n return;\n }\n\n //console.log(`getting acs codes - start ${QuestionEditControlComponent.count}`);\n this.planOfActionRepositoryService.getAcsCodes(this.planOfAction.AcsTestId, this.planOfActionSection.AcsAreaOfOperationId, this.planOfActionSection.AcsAreaOfOperationTaskId)\n .subscribe(acsCodes => {\n this.acsCodes = acsCodes;\n\n })\n }\n\n}\n","\n \n {{sectionTitle}}\n\n
\n Missed ACS\n Codes\n
\n
\n
\n
\n
No questions found for this section
\n
\n \n \n \n
\n
\n\n 0 && containerOptions\">\n \n
\n

{{sectionTitle}}

\n\n \n \n \n
\n
","import { Injectable } from '@angular/core';\r\nimport { DevwareMetaData, DwAppPermissionEntity, DwAppPermissionMetaData, DwContextDefinition, DwCustomContextBase, DwCustomContextDefinition, DwMdFormContextInfo, DwOrmDataService, DwQuery, DwQueryHelper, DwSecurityTopics, DwSecurityUserService } from '@devwareapps/devware-cap';\r\nimport { AppMetaDataItemNames, CheckRideRequestEntity } from '../../../meta-data/app-meta-data.service';\r\n\r\n\r\n\r\nexport const ACSWrittenDataContext= 'ACSWrittenDataContext';\r\n@DwCustomContextDefinition({\r\n keyName: ACSWrittenDataContext,\r\n display: 'ACS Written Data Context',\r\n isGlobal: false,\r\n parentItem: AppMetaDataItemNames.CheckRideRequest\r\n})\r\n@Injectable()\r\nexport class ACSWrittenDataContextService extends DwCustomContextBase {\r\n\r\n constructor(private dwSecurityUserService: DwSecurityUserService,\r\n \r\n ) {\r\n super();\r\n }\r\n\r\n setupContextDefinition(contextDef: DwContextDefinition) {\r\n contextDef.getCustomContextFunction = (context) => this.getCustomContext(context);\r\n\r\n contextDef.item = AppMetaDataItemNames.ApplicantAcsWrittenResult;\r\n contextDef.data = null;\r\n //contextDef.metaDataQueryId = 1019;\r\n }\r\n\r\n getCustomContext(context: any): any {\r\n const checkRideRequest: CheckRideRequestEntity = context[DwMdFormContextInfo.DATA_CONTEXT_NAME];\r\n\r\n return checkRideRequest?.ApplicantAcsWrittenResult;\r\n }\r\n\r\n // buildQuery(resolvedContext: any): DwQuery {\r\n // const query = AppMetaData.PilotExaminer.CreateQueryBuilder();\r\n\r\n // if (!this.dwSecurityUserService.securityContext?.ApplicationUser) {\r\n // return null;\r\n // }\r\n \r\n // query.query.FieldSettings.LoadAllLookupDisplayFields = true;\r\n \r\n // const user = this.dwSecurityUserService.securityContext.ApplicationUser;\r\n\r\n // query.addFilterAnd(filters => filters.Equal(f => f.UserId, user?.UserId || -1));\r\n\r\n // return query.query;\r\n\r\n // }\r\n\r\n\r\n}\r\n","import { DwGridColumnPreference } from \"@devwareapps/devware-cap\";\r\n\r\n\r\nexport enum DwChartTypes {\r\n 'bar',\r\n 'line',\r\n 'pie',\r\n 'column',\r\n 'doughnut',\r\n 'polarArea',\r\n 'radar',\r\n}\r\n\r\nexport interface DwChartPreferences {\r\n chartType: DwChartTypes;\r\n categoryField: string;\r\n categoryValueField?: string;\r\n categoryDisplay?: string;\r\n series: DwChartSeries[];\r\n maxItemsToShow?: number;\r\n \r\n showContainerTitle?: boolean;\r\n containerTitle?: string;\r\n hideLegend?: boolean; \r\n containerHeaderColor?: string;\r\n containerIcon?: string;\r\n \r\n item?: string;\r\n gridPreferences?: DwChartGridPreferences;\r\n \r\n hideChartDataToggle?: boolean;\r\n showGridFirst?: boolean;\r\n}\r\n\r\nexport interface DwChartGridPreferences {\r\n showGrid?: boolean;\r\n gridConfigKeyPart?: string;\r\n categoryColumnWidth?: number;\r\n aggregateColumnWidth?: number;\r\n columnPreferences?: DwGridColumnPreference[];\r\n} \r\n\r\nexport interface DwChartSeries { \r\n chartType: DwChartTypes;\r\n legendDisplay?: string;\r\n backgroundColor?: string;\r\n borderColor?: string;\r\n\r\n dataField: string;\r\n axis?: 'y' | 'y2';\r\n alternateColors?: boolean;\r\n alternateColorStart?: number;\r\n}\r\n\r\nexport interface DwChartColorInfo {\r\n backgroundColor: string;\r\n color: string;\r\n borderColor: string;\r\n}\r\n\r\nexport interface DwChartConfig {\r\n chartType: string;\r\n chartOptions: any;\r\n chartData: any;\r\n}\r\n\r\n ","import { Component, OnInit } from '@angular/core';\nimport { DwAction, DwActionButtonComponent, DwActionFunc, DwActionPreference, DwActionType, DwComponent, DwComponentType, DwDecoratorType, DwFilterItemBase, DwFilterType, DwGridActionConfig, DwMenuService, DwMetaDataFilterConfigData, DwMetaDataFilterService, DwMetaDataFilterStateService, DwOperator, DwQueryHelper, DwUiConfigContextBase, getParameterByName } from '@devwareapps/devware-cap';\nimport { AppMetaDataItemNames, PilotExaminerEntity } from '../../../../meta-data/app-meta-data.service';\nimport { ExaminerTaskDefinition, ExaminerTaskService } from '../../../examiner/services/examiner-task.service';\nimport { Router } from '@angular/router';\nimport { ExaminerRepositoryService } from '../../../examiner/services/examiner-repository.service';\n\n\n@DwAction({\n keyName: 'examiner-task-filter-action',\n display: 'Examiner Task Filter',\n actionType: DwActionType.gridAction,\n decoratorType: DwDecoratorType.component,\n //configComponent: DwGridQuickSearchConfigComponent,\n isGlobal: false,\n parentItemName: AppMetaDataItemNames.CheckRideRequest,\n allowOnce: true\n})\n// @DwComponent({\n// name: 'Examiner Task Filter',\n// componentType : DwComponentType.filterItem,\n// isGlobal: true,\n// configData: {\n// showCaption: true,\n// showCompareType: false,\n// showControlOptions: false,\n// attrType: [],\n// requireAttr: false,\n// showPlaceholderText: false,\n// showDefaultValue: false,\n// allowAttr: false,\n// }\n// })\n@Component({\n selector: 'app-examiner-task-filter',\n template: `\n
\n
\n
{{taskText}}
\n
\n
\n
\n `\n})\nexport class ExaminerTaskFilterComponent implements DwActionButtonComponent {\n \n showChip: boolean = false;\n actionPreference: DwActionPreference; \n actionContext?: DwUiConfigContextBase;\n taskDef: ExaminerTaskDefinition;\n\n taskText = '?????';\n constructor(private examinerTaskService: ExaminerTaskService,\n private router: Router,\n private examinerRepositoryService: ExaminerRepositoryService,\n private dwFilterStateService: DwMetaDataFilterStateService\n ) {\n \n\n }\n clearItem() {\n this.showChip = false;\n\n this.clearFilter();\n }\n \n setupComponent() {\n const filterTask = getParameterByName(this.router, 'filter');\n\n if (!filterTask) {\n return;\n }\n\n this.taskDef = this.examinerTaskService.examinerTaskDefinitions.find(t => t.taskType === filterTask);\n\n if (!this.taskDef) {\n return;\n }\n\n this.taskText = `Checkrides ${this.taskDef.titleTextSuffix}`;\n this.showChip = true;\n\n this.examinerRepositoryService.getCurrentPiloxExaminerStats()\n .subscribe((examiner) => {\n this.setupFilter(examiner);\n });\n }\n\n setupFilter(examiner: PilotExaminerEntity) {\n const scheuledCheckrides = examiner.ScheduledCheckRideRequest.filter((checkride) => this.examinerTaskService.isScheduledCheckride(checkride));\n\n const currentCheckrideRequests = scheuledCheckrides.filter((checkride) => this.taskDef.filterFunc(checkride));\n\n const checkrideIds = currentCheckrideRequests.map((checkride) => checkride.CheckRideRequestId);\n\n if (checkrideIds.length == 0) {\n checkrideIds.push(-1);\n }\n \n const newFilter = this.buildFilter('CheckRideRequestId', checkrideIds, DwFilterType.In);\n\n this.applyFilters(newFilter);\n }\n\n clearFilter() {\n this.applyFilters({});\n }\n\n private applyFilters(newFilter:any) {\n const allFilters = this.dwFilterStateService.state.filters || {};\n\n allFilters['GroupExaminerTaskFilter'] = newFilter;\n\n const preserveFilters = {};\n\n preserveFilters['GroupExaminerTaskFilter'] = newFilter;\n\n console.log('Applying filters', newFilter);\n\n this.dwFilterStateService?.setFilters(allFilters, null, null, true, preserveFilters);\n }\n\n private buildFilter(attrName: string, value: any, filterType: DwFilterType): any {\n const qh = new DwQueryHelper();\n\n const filterTypeKey = qh.convertFilterType(filterType);\n const filter: any = {\n Op: DwOperator.And\n };\n\n // Use the display attribute name which works for text as well as lookups\n const attrFilter: any = filter[attrName] = {};\n\n //attrFilter.Prefix = attr.RelationPrefix;\n attrFilter[filterTypeKey] = value;\n\n return filter;\n}\n\n}\n","import { Injectable } from \"@angular/core\";\r\nimport { AcsTestPortionEntity, PlanOfActionEntity, PlanOfActionQuestionResultEntity, PlanOfActionSectionEntity } from \"../../../meta-data/app-meta-data.service\";\r\nimport { DwContainerOptions, DwLookupInfo } from \"@devwareapps/devware-cap\";\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class PlanOfActionUtilService {\r\n\r\n buildAcsTestDetails(planOfAction: PlanOfActionEntity, planOfActionSections: PlanOfActionSectionEntity[], questionResults:PlanOfActionQuestionResultEntity[], acsTestPortions: AcsTestPortionEntity[]): AcsTestPortionResult[] {\r\n const testDetails: AcsTestPortionResult[] = [];\r\n\r\n for (let acsTestPortion of acsTestPortions) {\r\n const testDetail = this.buildAcsTestDetail(planOfAction, planOfActionSections, questionResults, acsTestPortion);\r\n\r\n if (testDetail) {\r\n testDetails.push(testDetail);\r\n }\r\n }\r\n\r\n return testDetails;\r\n }\r\n\r\n private buildAcsTestDetail(planOfAction: PlanOfActionEntity, planOfActionSections: PlanOfActionSectionEntity[], questionResults:PlanOfActionQuestionResultEntity[],acsTestPortion: AcsTestPortionEntity): AcsTestPortionResult {\r\n const result: AcsTestPortionResult = {\r\n acsTestPortion: acsTestPortion,\r\n sections: planOfActionSections.filter(section => section.AcsTestPortionId === acsTestPortion.AcsTestPortionId),\r\n questionCount: 0,\r\n questionsCompleted: 0,\r\n percentComplete: 0,\r\n sectionCount: 0,\r\n sectionsCompleted: 0,\r\n containerOptions: this.buildAcsPortionContainer(acsTestPortion)\r\n };\r\n\r\n if (result.sections.length === 0) {\r\n return null;\r\n }\r\n\r\n let sectionCompleted = 0;\r\n for (let section of result.sections) {\r\n const sectionQuestionResults = questionResults.filter(questionResult => section.PlanOfActionSectionQuestion.find(q => q.PlanOfActionSectionQuestionId== questionResult.PlanOfActionSectionQuestionId));\r\n\r\n result.questionCount += section.PlanOfActionSectionQuestion.length;\r\n result.questionsCompleted += sectionQuestionResults.filter(qr => qr.QuestionOutcomeId).length;\r\n\r\n if (result.questionCount>0) {\r\n result.percentComplete = Math.round((result.questionsCompleted * 100) / result.questionCount);\r\n } \r\n\r\n if (result.percentComplete === 100) {\r\n sectionCompleted++;\r\n }\r\n }\r\n\r\n result.sectionCount = result.sections.length;\r\n result.sectionsCompleted = sectionCompleted;\r\n\r\n return result;\r\n }\r\n\r\n \r\n private buildAcsPortionContainer(acsTestPortion: AcsTestPortionEntity):DwContainerOptions {\r\n return {\r\n useContainerStyling: true,\r\n //styleName: 'TITLE_ONLY_LINE',\r\n // expandCollapseStyle: DwExpandCollapseStyle.chevron,\r\n // expandCollpaseLocation: DwExpandCollapseLocation.left,\r\n containerAllowCollapse: false,\r\n //containerCollapseDefault: true,\r\n containerHeaderBackgroundColor: acsTestPortion.HeaderClass,\r\n containerHeaderIcon: acsTestPortion.IconClass,\r\n showTitle: true,\r\n }\r\n }\r\n\r\n getMissedAcsCodeImageUrl() : string {\r\n\r\n return `${location.origin}/assets/img/missed-acs-code.png`;\r\n }\r\n\r\n\r\n}\r\n\r\nexport interface AcsTestPortionResult {\r\n acsTestPortion: AcsTestPortionEntity;\r\n\r\n sections: PlanOfActionSectionEntity[];\r\n\r\n questionCount: number;\r\n questionsCompleted: number;\r\n\r\n percentComplete: number;\r\n\r\n sectionCount: number;\r\n sectionsCompleted: number;\r\n\r\n containerOptions: DwContainerOptions;\r\n}","import { Component, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges } from '@angular/core';\nimport { PlanOfActionEntity, PlanOfActionSectionEntity, PlanOfActionSectionTypeAllItems } from '../../../../meta-data/app-meta-data.service';\nimport { PlanOfActionRepositoryService } from '../../services/plan-of-action-repository.service';\nimport { AcsReferenceInfo } from '../../models/acs-reference-info.model';\n\n@Component({\n selector: 'app-plan-of-action-section-edit',\n templateUrl: './plan-of-action-section-edit.component.html',\n styleUrls: ['./plan-of-action-section-edit.component.scss']\n})\nexport class PlanOfActionSectionEditComponent implements OnInit, OnChanges {\n\n @Input() planOfAction: PlanOfActionEntity;\n @Input() planOfActionSection: PlanOfActionSectionEntity;\n @Input() acsReferenceInfo: AcsReferenceInfo;\n @Output() planOfActionSectionChange = new EventEmitter();\n sectionTitle: string;\n\n constructor(private planOfActionRepositoryService: PlanOfActionRepositoryService) { }\n\n showEdit = false;\n\n ngOnInit(): void {\n this.setupSection();\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n this.setupSection();\n }\n\n sectionTitleChange() {\n this.planOfActionSectionChange.emit(this.planOfActionSection);\n }\n\n private setupSection() {\n if (!this.planOfAction || !this.planOfActionSection) {\n return;\n }\n\n switch (this.planOfActionSection.PlanOfActionSectionTypeId) {\n case PlanOfActionSectionTypeAllItems.Manual:\n this.showEdit = true;\n break;\n default:\n\n this.showEdit = false;\n this.sectionTitle = this.planOfActionRepositoryService.getSectionTitle(this.planOfActionSection, this.acsReferenceInfo);\n break;\n }\n if (this.planOfActionSection.PlanOfActionSectionTypeId == PlanOfActionSectionTypeAllItems.Manual) {\n this.showEdit = true;\n return;\n }\n\n }\n}\n","\n
\n
\n \n \n \n \n \n \n \n
\n
","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { DwAuthGuardService, DwLoginComponent, DwRouteGuardUtil, DwSsoLoginComponent, UserProfileComponent, DwUserRegistrationComponent, DevwareGetStartedComponent } from '@devwareapps/devware-cap';\r\n\r\nimport { HomeComponent } from './features/shared/pages/home/home.component';\r\nimport { AnnonymousHomeViewComponent } from './features/homepage/components/annonymous-home-view/annonymous-home-view.component';\r\nimport { PilexosHomeComponent } from './features/homepage/components/home-page/home-page.component';\r\nimport { ExaminerPublicProfileComponent } from './features/examiner/components/examiner-public-profile/examiner-public-profile.component';\r\n\r\nvar routes = [\r\n {\r\n path: '',\r\n component: PilexosHomeComponent,\r\n data: {\r\n display: 'Home',\r\n iconCssClass: 'fa fa-menu-icon fa-home',\r\n routeOrder: 5,\r\n hideBreadcrumbParent: true,\r\n excludeFromMainMenu: false,\r\n showInMenu: true,\r\n highlightOnExactMatch: true,\r\n referenceKey: 'home',\r\n }\r\n }, \r\n {\r\n path: 'login',\r\n component: DwLoginComponent,\r\n data: {\r\n routeId: 'login',\r\n display: 'Login',\r\n iconCssClass: 'fa fa-menu-icon fa-power-off',\r\n showInMenu: false,\r\n referenceKey: 'login'\r\n }\r\n },\r\n {\r\n path: 'register',\r\n component: DwUserRegistrationComponent,\r\n //canActivate: [DwAuthGuardService],\r\n data: {\r\n routeId: 'register',\r\n display: 'Register',\r\n showInMenu: false,\r\n routeOrder: 16,\r\n referenceKey: 'register',\r\n }\r\n },\r\n {\r\n path: 'examiner-profile/:examinerKey/public',\r\n component: ExaminerPublicProfileComponent,\r\n //canActivate: [DwAuthGuardService],\r\n data: {\r\n routeId: 'examiner-public-profile',\r\n display: 'Examiner Profile',\r\n showInMenu: false,\r\n routeOrder: 99,\r\n referenceKey: 'examiner-public-profile',\r\n }\r\n },\r\n {\r\n path: \"**\",\r\n redirectTo: '',\r\n data: { \r\n showInMenu: false\r\n }\r\n },\r\n];\r\n\r\n\r\n// Add Dw Auth Guard to all routes (uses the requireAuthentication and CanAcessPermission data properties)\r\nDwRouteGuardUtil.secureRoutes(routes, DwAuthGuardService);\r\n\r\n@NgModule({\r\n imports: [RouterModule.forRoot(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class AppRoutingModule { }\r\n","import { Component, EventEmitter, Input, OnChanges, OnInit, SimpleChanges } from '@angular/core';\r\nimport { AcsCodesLookupQueryEntity, PlanOfActionSectionQuestionEntity } from '../../../../meta-data/app-meta-data.service';\r\nimport { AcsCodesStorageItem, AcsCodeStatuses } from '../../../plan-of-action/models/acs-code-items.model';\r\n\r\n@Component({\r\n selector: 'app-plan-of-action-question',\r\n templateUrl: './plan-of-action-question.component.html',\r\n styleUrls: ['./plan-of-action-question.component.scss']\r\n})\r\nexport class PlanOfActionQuestionComponent implements OnInit, OnChanges {\r\n\r\n @Input() question: PlanOfActionSectionQuestionEntity;\r\n @Input() questionChange = new EventEmitter();\r\n\r\n @Input() acsCodes: AcsCodesStorageItem;\r\n \r\n @Input() currentAcsCodes: AcsCodesLookupQueryEntity[];\r\n\r\n @Input() showAcsCode: boolean = true;\r\n @Input() showQuestion: boolean = true;\r\n @Input() acsCodeStatuses: AcsCodeStatuses;\r\n\r\n currentAcsCode: AcsCodesLookupQueryEntity;\r\n currentAscCodeStatus: AcsCodeStatuses;\r\n\r\n inEditMode: boolean = false;\r\n isMissedCode: boolean;\r\n\r\n constructor() { }\r\n \r\n ngOnInit(): void {\r\n this.setupQuestion();\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void {\r\n this.setupQuestion();\r\n }\r\n\r\n private setupQuestion() {\r\n if (!this.question || !this.acsCodes) {\r\n return;\r\n }\r\n\r\n if (this.showAcsCode) {\r\n if (this.question.AcsCodeId) {\r\n this.currentAcsCode = this.acsCodes.codesById[this.question.AcsCodeId];\r\n\r\n this.isMissedCode = !!this.acsCodeStatuses.codesById[this.question.AcsCodeId];\r\n\r\n } else {\r\n this.inEditMode = true;\r\n }\r\n } else {\r\n if (!this.question?.QuestionHtml) {\r\n this.inEditMode = true;\r\n }\r\n }\r\n\r\n }\r\n\r\n onQuestionChange() {\r\n this.questionChange.emit(this.question);\r\n }\r\n\r\n onAcsCodeChanged() {\r\n if (this.question.AcsCodeId) {\r\n this.currentAcsCode = this.acsCodes.codesById[this.question.AcsCodeId];\r\n }\r\n\r\n this.onQuestionChange();\r\n }\r\n\r\n}\r\n","\r\n
\r\n
\r\n \r\n\r\n \r\n
{{currentAcsCode?.AcsCode}}
\r\n\r\n
\r\n \r\n \r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n\r\n
\r\n Show Notes \r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n\r\n {{currentAcsCode?.AscCodeDescription}}\r\n
\r\n
\r\n \r\n
\r\n {{currentAcsCode?.AscCodeDescription}}\r\n
\r\n
\r\n \r\n
\r\n
","import { CalendarWeekDayEvent } from \"./calendar-weekday-event.model\";\r\n\r\nexport interface CalendarClickEvent {\r\n eventType : CalendarClickEventType;\r\n eventData: CalendarWeekDayEvent;\r\n mouseEvent: MouseEvent;\r\n\r\n fullEvent: any;\r\n start: any;\r\n end: any;\r\n\r\n preventDefault: () => void;\r\n}\r\n\r\n\r\nexport enum CalendarClickEventType {\r\n click = 'click',\r\n move = 'move',\r\n moved = 'moved',\r\n select = 'select',\r\n selected = 'selected',\r\n doubleClick = 'doubleClick',\r\n timeRangeSelected = 'timeRangeSelected',\r\n headerClick = 'headerClick'\r\n}\r\n\r\n\r\n","import { Inject, Injectable } from \"@angular/core\";\r\nimport { DwOrmDataServiceToken, DwOrmDataService, DwMetaDataServiceToken, DwMetaDataService, DwConfigServiceToken, DwConfigService, DwSecurityUserService, DwSecurityTopics, DwCacheService, flattenArray } from \"@devwareapps/devware-cap\";\r\nimport { combineLatest, Observable } from \"rxjs\";\r\nimport { PilotExaminerEntity, AppMetaData, AcsCodesLookupQueryEntity, PlanOfActionEntity, AcsTestEntity, PlanOfActionSectionTypeEntity, PlanOfActionSectionEntity, PlanOfActionQuestionResultEntity, PlanOfActionResultEntity, PlanOfActionSectionTypeAllItems, CheckRideRequestEntity, AcsTestPortionEntity, PlanOfActionSectionQuestionEntity, AcsTestCheckRideTypeEntity, AcsTestStatusAllItems } from \"../../../meta-data/app-meta-data.service\";\r\nimport { map, mergeMap } from \"rxjs/operators\";\r\n\r\nimport { GenerateSectionsOptions } from \"../models/generate-sections-options.model\";\r\nimport { AcsCodeGroup, AcsCodeStatuses, AcsCodeStorage, AcsCodesStorageItem } from \"../models/acs-code-items.model\";\r\nimport { AcsReferenceInfo } from \"../models/acs-reference-info.model\";\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class PlanOfActionRepositoryService {\r\n \r\n constructor(\r\n @Inject(DwOrmDataServiceToken) private dwOrmDataService: DwOrmDataService,\r\n @Inject(DwMetaDataServiceToken) private dwMetaDataService: DwMetaDataService,\r\n @Inject(DwConfigServiceToken) configService: DwConfigService,\r\n private dwSecurityUserService: DwSecurityUserService,\r\n private dwCacheService: DwCacheService\r\n ) {\r\n }\r\n\r\n getPlanOfActionSectionTypes(): Observable {\r\n const cacheInvalidationTopics = [];\r\n\r\n cacheInvalidationTopics.push(DwOrmDataService.ORM_EVENT_TOPICS.ItemChangedTopic(AppMetaData.PlanOfActionSectionType.ItemDetail.itemName));\r\n cacheInvalidationTopics.push(DwOrmDataService.ORM_EVENT_TOPICS.ItemChangedTopic(AppMetaData.AcsTestPortion.ItemDetail.itemName));\r\n\r\n return this.dwCacheService.get('planOfActionSectionTypes', this.loadPlanOfActionSectionTypes(), null, cacheInvalidationTopics);\r\n }\r\n\r\n getAcsTestPortions(): Observable {\r\n const cacheInvalidationTopics = [];\r\n\r\n cacheInvalidationTopics.push(DwOrmDataService.ORM_EVENT_TOPICS.ItemChangedTopic(AppMetaData.AcsTestPortion.ItemDetail.itemName));\r\n\r\n return this.dwCacheService.get('acsTestPortions', this.loadAcsTestPortions(), null);\r\n }\r\n\r\n private loadAcsTestPortions(): Observable {\r\n const query = AppMetaData.AcsTestPortion.CreateQueryBuilder();\r\n\r\n query.addOrderBy(o => o.AcsTestPortionOrder);\r\n\r\n return this.dwOrmDataService.executeQuery(query);\r\n }\r\n\r\n loadPlanOfActionSectionTypes(): Observable {\r\n const query = AppMetaData.PlanOfActionSectionType.CreateQueryBuilder();\r\n\r\n query.addPrefetch(r => r.AcsTestPortion);\r\n\r\n return this.dwOrmDataService.executeQuery(query);\r\n }\r\n\r\n loadPlanOfActionSections(planOfActionId: number): Observable {\r\n const query = AppMetaData.PlanOfActionSection.CreateQueryBuilder();\r\n\r\n query.query.FieldSettings.LoadAllLookupDisplayFields = true;\r\n query.addFilterAnd(f => f.Equal(a => a.PlanOfActionId, planOfActionId));\r\n\r\n query.addOrderBy(o => o.SectionOrder);\r\n var sectionQuestionQuery = AppMetaData.PlanOfActionSectionQuestion.CreateQueryBuilder();\r\n\r\n sectionQuestionQuery.addOrderBy(o => o.QuestionOrder);\r\n\r\n query.addPrefetch(r => r.PlanOfActionSectionQuestion, sectionQuestionQuery.query);\r\n\r\n return this.dwOrmDataService.executeQuery(query);\r\n }\r\n\r\n createPlanOfActionResult(planOfAction: PlanOfActionEntity): Observable {\r\n planOfAction.PlanOfActionResult = AppMetaData.PlanOfActionResult.CreateEntity();\r\n\r\n planOfAction.PlanOfActionResult.CreatedBy = 1;\r\n\r\n return this.dwOrmDataService.saveEntity(planOfAction, true);\r\n }\r\n\r\n savePlanOfActionQuestionResults(resultsToSave: PlanOfActionQuestionResultEntity[]) {\r\n return this.dwOrmDataService.saveEntityCollection(resultsToSave, false, false);\r\n }\r\n\r\n saveCheckRideRequest(checkrideToSave: CheckRideRequestEntity): Observable {\r\n return this.dwOrmDataService.saveEntity(checkrideToSave, true);\r\n }\r\n\r\n loadPlanOfActionQuestionResults(planOfActionResultId: number): Observable {\r\n const query = AppMetaData.PlanOfActionQuestionResult.CreateQueryBuilder();\r\n\r\n query.addFilterAnd(f => f.Equal(a => a.PlanOfActionResultId, planOfActionResultId));\r\n\r\n //query.addPrefetch(r => r.PlanOfActionSectionQuestion);\r\n\r\n return this.dwOrmDataService.executeQuery(query);\r\n }\r\n\r\n loadCheckrideAndAcsTestResult(checkrideRequestId: number): Observable {\r\n const query = AppMetaData.CheckRideRequest.CreateQueryBuilder();\r\n\r\n query.addFields(f => [f.CheckRideRequestId, f.ApplicantAcsWrittenResultId]);\r\n\r\n query.addFilterAnd(f => f.Equal(a => a.CheckRideRequestId, checkrideRequestId));\r\n\r\n const writtenResultQuery = AppMetaData.ApplicantAcsWrittenResult.CreateQueryBuilder();\r\n\r\n writtenResultQuery.addPrefetch(r => r.ApplicantAcsWrittenResultMissedCode);\r\n\r\n query.addPrefetch(r => r.ApplicantAcsWrittenResult, writtenResultQuery.query);\r\n\r\n return this.dwOrmDataService.executeQuerySingle(query);\r\n }\r\n\r\n getAcsTest(acsTestId: number): Observable {\r\n const query = AppMetaData.AcsTest.CreateQueryBuilder();\r\n\r\n query.query.FieldSettings.LoadAllLookupDisplayFields = true;\r\n\r\n const aooQuery = AppMetaData.AcsAreaOfOperation.CreateQueryBuilder();\r\n const taskQuery = AppMetaData.AcsAreaOfOperationTask.CreateQueryBuilder();\r\n\r\n query.addPrefetch(r => r.AcsAreaOfOperation, aooQuery.query);\r\n\r\n aooQuery.addPrefetch(r => r.AcsAreaOfOperationTask, taskQuery.query);\r\n\r\n taskQuery.addPrefetch(r => r.AcsCode);\r\n\r\n query.addFilterAnd(filters => filters.Equal(field => field.AcsTestId, acsTestId));\r\n\r\n return this.dwOrmDataService.executeQuerySingle(query);\r\n }\r\n\r\n getAcsReference(acsTestId: number): Observable {\r\n const cacheInvalidationTopics = [];\r\n\r\n cacheInvalidationTopics.push(DwOrmDataService.ORM_EVENT_TOPICS.ItemChangedTopic(AppMetaData.AcsCode.ItemDetail.itemName));\r\n cacheInvalidationTopics.push(DwOrmDataService.ORM_EVENT_TOPICS.ItemChangedTopic(AppMetaData.AcsAreaOfOperationTask.ItemDetail.itemName));\r\n cacheInvalidationTopics.push(DwOrmDataService.ORM_EVENT_TOPICS.ItemChangedTopic(AppMetaData.AcsAreaOfOperation.ItemDetail.itemName));\r\n cacheInvalidationTopics.push(DwOrmDataService.ORM_EVENT_TOPICS.ItemChangedTopic(AppMetaData.AcsTest.ItemDetail.itemName));\r\n cacheInvalidationTopics.push(DwOrmDataService.ORM_EVENT_TOPICS.ItemChangedTopic(AppMetaData.AcsCode.ItemDetail.itemName));\r\n cacheInvalidationTopics.push(DwOrmDataService.ORM_EVENT_TOPICS.ItemChangedTopic(AppMetaData.PlanOfActionSectionType.ItemDetail.itemName));\r\n\r\n const key = `acsReference_${acsTestId}`;\r\n\r\n return this.dwCacheService.get(key, this.loadAcsReference(acsTestId), null, cacheInvalidationTopics);\r\n }\r\n\r\n loadAcsReference(acsTestId: number): Observable {\r\n const obs: Observable[] = [];\r\n\r\n obs.push(this.getAcsTest(acsTestId));\r\n obs.push(this.loadAcsCodes(acsTestId)); // Use load method since this will already be cached\r\n obs.push(this.getPlanOfActionSectionTypes());\r\n\r\n return combineLatest(obs)\r\n .pipe(map(([acsTest, acsCodes, sectionTypes]) => {\r\n\r\n return this.setupAcsReferenceInfo(acsTest, acsCodes, sectionTypes);\r\n }));\r\n }\r\n\r\n private setupAcsReferenceInfo(acsTest: AcsTestEntity, acsCodes: AcsCodeStorage, sectionTypes: PlanOfActionSectionTypeEntity[]): AcsReferenceInfo {\r\n const refInfo: AcsReferenceInfo = {\r\n acsTest: acsTest,\r\n sectionTypes: sectionTypes,\r\n acsCodes: acsCodes,\r\n areaOfOperationDisplays: {},\r\n taskDisplays: {}\r\n };\r\n\r\n // Build out AOO and Task displays\r\n for (let aoo of acsTest.AcsAreaOfOperation) {\r\n refInfo.areaOfOperationDisplays[aoo.AcsAreaOfOperationId] = aoo.AreaOfOperationName;\r\n\r\n for (let task of aoo.AcsAreaOfOperationTask) {\r\n refInfo.taskDisplays[task.AcsAreaOfOperationTaskId] = `${aoo.AreaOfOperationName} - ${task.TaskName}`\r\n }\r\n }\r\n\r\n return refInfo;\r\n }\r\n\r\n getSectionTitle(planOfActionSection: PlanOfActionSectionEntity, acsReferenceInfo: AcsReferenceInfo): string {\r\n\r\n switch (planOfActionSection.PlanOfActionSectionTypeId) {\r\n case PlanOfActionSectionTypeAllItems.AreaOfOperation:\r\n return acsReferenceInfo.areaOfOperationDisplays[planOfActionSection.AcsAreaOfOperationId];\r\n\r\n // const aos = acsTest.AcsAreaOfOperation.find(a => a.AcsAreaOfOperationId === planOfActionSection.AcsAreaOfOperationId);\r\n\r\n // return `${aos?.AreaOfOperationName}`;\r\n\r\n case PlanOfActionSectionTypeAllItems.Task:\r\n return acsReferenceInfo.taskDisplays[planOfActionSection.AcsAreaOfOperationTaskId];\r\n\r\n // const aos2 = acsTest.AcsAreaOfOperation.find(a => a.AcsAreaOfOperationId === planOfActionSection.AcsAreaOfOperationId);\r\n // const task = aos2?.AcsAreaOfOperationTask.find(t => t.AcsAreaOfOperationTaskId === planOfActionSection.AcsAreaOfOperationTaskId);\r\n\r\n // return `${aos2?.AreaOfOperationName} - ${task.TaskName}`;\r\n break;\r\n\r\n default:\r\n return planOfActionSection?.SectionName;\r\n }\r\n }\r\n\r\n //getAcsCodeStatus(ApplicantAcsWrittenResult: ApplicantAcsWrittenResultEntity): AcsCodeStatuses {\r\n getAcsCodeStatus(planOfAction: PlanOfActionEntity): AcsCodeStatuses {\r\n const missedAcsCodes = planOfAction.ApplicantAcsWrittenResult?.ApplicantAcsWrittenResultMissedCode?.map(a => a.AcsCodeId) || [];\r\n\r\n const acsCodeStatuses: AcsCodeStatuses = {\r\n codesById: {}\r\n };\r\n\r\n for (const acsCode of missedAcsCodes) {\r\n acsCodeStatuses.codesById[acsCode] = {\r\n ascCodeId: acsCode,\r\n missing: true\r\n }\r\n }\r\n\r\n for (const section of planOfAction?.PlanOfActionSection || []) {\r\n for (const question of section.PlanOfActionSectionQuestion || []) {\r\n\r\n if (question._isDeleted) {\r\n continue;\r\n }\r\n\r\n const acsCodeStatus = acsCodeStatuses.codesById[question.AcsCodeId];\r\n\r\n if (acsCodeStatus) {\r\n acsCodeStatus.missing = false;\r\n }\r\n }\r\n }\r\n\r\n return acsCodeStatuses;\r\n }\r\n\r\n // addMissedCodesToSections(planOfAction: PlanOfActionEntity): Observable {\r\n // return this.getAcsCodeStorage(planOfAction.AcsTestId)\r\n // .pipe(map(acsCodeStorage => {\r\n // const acsCodeStatuses = this.getAcsCodeStatus(planOfAction);\r\n\r\n // for (const section of planOfAction?.PlanOfActionSection || []) {\r\n // const codesForSection = this.getAcsCodesForSection(acsCodeStorage, section);\r\n\r\n\r\n // for (const acsCode of codesForSection.acsCodes) {\r\n // if (acsCodeStatuses.codesById[acsCode.AcsCodeId]?.missing) {\r\n // const question = AppMetaData.PlanOfActionSectionQuestion.CreateEntity();\r\n\r\n // question.AcsCodeId = acsCode.AcsCodeId;\r\n // question.PlanOfActionSectionId = section.PlanOfActionSectionId;\r\n\r\n // section.PlanOfActionSectionQuestion.push(question);\r\n\r\n // // Set to not missing\r\n // acsCodeStatuses.codesById[acsCode.AcsCodeId].missing = false;\r\n // }\r\n // }\r\n // }\r\n\r\n // return acsCodeStatuses;\r\n // }))\r\n\r\n // }\r\n\r\n getAcsCodesForSection(acsCodeStorage: AcsCodeStorage, section: PlanOfActionSectionEntity): AcsCodesStorageItem {\r\n\r\n switch (section.PlanOfActionSectionTypeId) {\r\n case PlanOfActionSectionTypeAllItems.AreaOfOperation:\r\n return acsCodeStorage.AreaOfOperationCodes[section.AcsAreaOfOperationId];\r\n case PlanOfActionSectionTypeAllItems.Task:\r\n return acsCodeStorage.TaskCodes[section.AcsAreaOfOperationTaskId];\r\n }\r\n\r\n return null;\r\n }\r\n\r\n\r\n\r\n getAcsCodesFromreference(acsReferenceInfo: AcsReferenceInfo, areaOfOperationId?: number, taskId?: number): AcsCodesStorageItem {\r\n if (!acsReferenceInfo) {\r\n console.log('No reference info');\r\n return { acsCodes: [], codesById: {} };\r\n }\r\n if (taskId) {\r\n return acsReferenceInfo.acsCodes?.TaskCodes[taskId];\r\n }\r\n if (areaOfOperationId) {\r\n return acsReferenceInfo.acsCodes?.AreaOfOperationCodes[areaOfOperationId];\r\n }\r\n\r\n return acsReferenceInfo.acsCodes;\r\n }\r\n\r\n getAcsCodes(acsTestId: number, areaOfOperationId?: number, taskId?: number): Observable {\r\n return this.getAcsCodeStorage(acsTestId)\r\n .pipe(map(storage => {\r\n if (taskId) {\r\n return storage?.TaskCodes[taskId];\r\n }\r\n if (areaOfOperationId) {\r\n return storage?.AreaOfOperationCodes[areaOfOperationId];\r\n }\r\n\r\n return storage;\r\n }));\r\n }\r\n\r\n getAcsTestByCheckRideType(checkRideTypeId: number): Observable {\r\n return this.getAcsTestByCheckRideTypeAll()\r\n .pipe(map(testCheckRideType => {\r\n return testCheckRideType.find(t => t.CheckRideTypeId === checkRideTypeId);\r\n }));\r\n }\r\n \r\n getAcsTestByCheckRideTypeAll(): Observable {\r\n const cacheInvalidationTopics = [DwSecurityTopics.SECURITY_CHANGED];\r\n\r\n cacheInvalidationTopics.push(DwOrmDataService.ORM_EVENT_TOPICS.ItemChangedTopic(AppMetaData.AcsTest.ItemDetail.itemName));\r\n cacheInvalidationTopics.push(DwOrmDataService.ORM_EVENT_TOPICS.ItemChangedTopic(AppMetaData.AcsTestCheckRideType.ItemDetail.itemName));\r\n \r\n const key = `AcsTestByCheckRideType`;\r\n\r\n return this.dwCacheService.get(key, this.loadAcsTestByCheckRideType(), null, cacheInvalidationTopics);\r\n }\r\n\r\n private loadAcsTestByCheckRideType(): Observable {\r\n var query = AppMetaData.AcsTestCheckRideType.CreateQueryBuilder();\r\n\r\n query.addPrefetch(r => r.AcsTest);\r\n query.addFilterAnd(f=> f.Equal(a => AppMetaData.AcsTest.Attributes.AcsTestStatusId, AcsTestStatusAllItems.Active));\r\n\r\n return this.dwOrmDataService.executeQuery(query)\r\n }\r\n\r\n getAcsCodeStorage(acsTestId: number): Observable {\r\n const cacheInvalidationTopics = [DwSecurityTopics.SECURITY_CHANGED];\r\n\r\n cacheInvalidationTopics.push(DwOrmDataService.ORM_EVENT_TOPICS.ItemChangedTopic(AppMetaData.AcsCode.ItemDetail.itemName));\r\n cacheInvalidationTopics.push(DwOrmDataService.ORM_EVENT_TOPICS.ItemChangedTopic(AppMetaData.AcsAreaOfOperationTask.ItemDetail.itemName));\r\n cacheInvalidationTopics.push(DwOrmDataService.ORM_EVENT_TOPICS.ItemChangedTopic(AppMetaData.AcsAreaOfOperation.ItemDetail.itemName));\r\n cacheInvalidationTopics.push(DwOrmDataService.ORM_EVENT_TOPICS.ItemChangedTopic(AppMetaData.AcsTest.ItemDetail.itemName));\r\n\r\n const key = `acsCodesLookup_${acsTestId}`;\r\n\r\n return this.dwCacheService.get(key, this.loadAcsCodes(acsTestId), null, cacheInvalidationTopics);\r\n }\r\n\r\n loadAcsCodes(acsTestId: number): Observable {\r\n return AppMetaData.Queries.AcsCodesLookup.CreateQueryBuilder(this.dwMetaDataService)\r\n .pipe(mergeMap(query => {\r\n\r\n query.addFilterAnd(f => f.Equal(a => a.AcsTestAcsTestId, acsTestId));\r\n\r\n return this.dwOrmDataService.executeQuery(query)\r\n .pipe(map(acsCodes => this.convertAcsCodesToStorage(acsCodes)));\r\n }));\r\n }\r\n\r\n /**Convert array into an optimized storage container for getting codes by Area of Operation and Task */\r\n private convertAcsCodesToStorage(acsCodes: AcsCodesLookupQueryEntity[]): AcsCodeStorage {\r\n const storage: AcsCodeStorage = {\r\n acsCodes: acsCodes,\r\n codesById: {},\r\n AreaOfOperationCodes: {},\r\n TaskCodes: {}\r\n };\r\n\r\n storage.codesById = flattenArray(acsCodes, 'AcsCodeId');\r\n\r\n storage.AreaOfOperationCodes = this.convertGroupCodes(acsCodes, 'AcsAreaOfOperationAcsAreaOfOperationId');\r\n storage.TaskCodes = this.convertGroupCodes(acsCodes, 'AcsAreaOfOperationTaskId');\r\n\r\n return storage;\r\n }\r\n\r\n private convertGroupCodes(acsCodes: AcsCodesLookupQueryEntity[], groupByField: string): AcsCodeGroup {\r\n const groupedCodes = this.groupByArray(acsCodes, groupByField);\r\n\r\n const codeGroup: AcsCodeGroup = {};\r\n\r\n for (const groupId in groupedCodes) {\r\n if (groupedCodes.hasOwnProperty(groupId)) {\r\n codeGroup[groupId] = {\r\n acsCodes: groupedCodes[groupId],\r\n codesById: flattenArray(groupedCodes[groupId], 'AcsCodeId')\r\n }\r\n }\r\n }\r\n\r\n return codeGroup;\r\n }\r\n\r\n\r\n groupByArray(array: T[], fieldName?: string): { [prop: string]: T[] } {\r\n return array\r\n .reduce((hash, obj: T) => {\r\n if (obj[fieldName] === undefined) return hash;\r\n return Object.assign(hash, { [obj[fieldName]]: (hash[obj[fieldName]] || []).concat(obj) })\r\n }, {})\r\n }\r\n}","import { Component, Input, OnInit, SimpleChanges } from '@angular/core';\r\nimport { PilotExaminerSearchQueryEntityExt } from '../../../../meta-data/extensions/pilot-examiner-search-query-ext.model';\r\nimport { formatDateTime } from '@devwareapps/devware-cap';\r\n\r\n@Component({\r\n selector: 'app-schedule-detail',\r\n templateUrl: './schedule-detail.component.html',\r\n styleUrls: ['./schedule-detail.component.scss']\r\n})\r\nexport class ScheduleDetailComponent implements OnInit {\r\n\r\n @Input() searchResult: PilotExaminerSearchQueryEntityExt;\r\n\r\n @Input() isContainerSelected: boolean;\r\n\r\n @Input() selectedDateTime: string;\r\n \r\n selectedDateTimeFormatted: string;\r\n constructor() { }\r\n\r\n ngOnInit(): void {\r\n\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges): void { \r\n this.selectedDateTimeFormatted = formatDateTime(this.selectedDateTime, true, true);\r\n }\r\n \r\n\r\n}\r\n","\r\n\r\n
\r\n
\r\n
\r\n {{selectedDateTimeFormatted}}\r\n
\r\n
","import { enableProdMode } from '@angular/core';\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app/app.module';\r\nimport { environment } from './environments/environment';\r\n\r\nif (environment.production) {\r\n enableProdMode();\r\n}\r\n\r\nplatformBrowserDynamic().bootstrapModule(AppModule)\r\n .catch(err => console.error(err));\r\n","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = \"zn8P\";"],"sourceRoot":"webpack:///"}