{"version":3,"sources":["../../../../../../libs/core/client/interfaces/src/lib/job.interface.ts","../../../../../../libs/core/client/interfaces/src/lib/job-related-entities.interface.ts","../../../../../../libs/core/client/interfaces/src/lib/localemanager.interface.ts"],"names":["DurationUnit","entityType","LocaleType"],"mappings":"IA+BYA,GAAZ,SAAYA,GACVA,EAAA,UAAA,SACAA,EAAA,QAAA,OACAA,EAAA,OAAA,MACAA,EAAA,SAAA,SAJF,CAAYA,IAAAA,EAAY,KCGxB,IAAYC,GAAZ,SAAYA,GACVA,EAAAA,EAAA,OAAA,GAAA,MACAA,EAAAA,EAAA,SAAA,GAAA,QACAA,EAAAA,EAAA,WAAA,GAAA,UACAA,EAAAA,EAAA,kBAAA,GAAA,iBACAA,EAAAA,EAAA,WAAA,GAAA,UACAA,EAAAA,EAAA,SAAA,GAAA,QACAA,EAAAA,EAAA,SAAA,GAAA,QACAA,EAAAA,EAAA,YAAA,GAAA,WACAA,EAAAA,EAAA,QAAA,GAAA,QATF,CAAYA,IAAAA,EAAU,SC/BVC,GAAZ,SAAYA,GACVA,EAAA,MAAA,KACAA,EAAA,MAAA,KACAA,EAAA,QAAA,QAHF,CAAYA,IAAAA,EAAU","sourcesContent":["import { JobContacts } from './job-contacts.interface';\nimport { JobCustomFields } from './job-custom-fields.interface';\nimport { JobTimeSheets } from './job-timesheet.interface';\nimport { JobForms } from './job-form.interface';\nimport { JobEngineers } from './job-engineer.interface';\nimport { JobExpenses } from './job-expenses.interface';\nimport { JobNotes } from './job-notes.interface';\nimport { JobResources } from './job-resources.interface';\nimport { JobParts } from './job-parts.interface';\nimport { JobChildRelatedEntities, JobParentRelatedEntities } from './job-related-entities.interface';\nimport { JobTasks } from './job-task.interface';\nimport { JobInvoiceLines } from './job-invoice-line.interface';\nimport { JobOrderLines } from './job-order-line.interface';\nimport { JobReturnLines } from './job-return-line.interface';\nimport { Customer } from './customer.interface';\nimport { Site } from './site.interface';\nimport { Location } from './location.interface';\nimport { SubLocation } from './sub-location.interface';\nimport { Contract } from './contract.interface';\nimport { SLA } from './sla.interface';\nimport { Engineer } from './engineer.interface';\nimport { Team } from './team.interface';\nimport { JobStatus } from './job-status.interface';\nimport { JobType } from './job-type.interface';\nimport { JobArea } from './job-area.interface';\nimport { JobCategory } from './job-category.interface';\nimport { JobIssue } from './job-issue.interface';\nimport { JobTaskAssets } from './job-assets.interface';\nimport { JobTaskAssetForms } from \"./job-asset-form.interface\";\nimport { JobTaskAssetParts } from \"./job-task-asset-parts.interface\";\n\nexport enum DurationUnit {\n Minute = 'minute',\n Hour = 'hour',\n Day = 'day',\n Month = 'month',\n}\n\nexport interface JobAddressInfo {\n address: string;\n address1: string;\n address2: string;\n address3: string;\n tel: string;\n email: string;\n postCode: string;\n}\n\nexport interface JobGeography {\n latitude: number | null;\n longitude: number | null;\n geoTagDateTime: Date | null;\n}\n\nexport interface JobCRM {\n slaId: string;\n contractId: string;\n contractName: string;\n siteId: string;\n siteName: string;\n siteContactName: string;\n siteContactTel: string;\n siteContactEmail: string;\n locationId: string | null;\n subLocationId: string | null;\n crmContactId: string | null;\n customer: Customer;\n site: Site;\n location: Location;\n subLocation: SubLocation;\n contract: Contract;\n sla: SLA;\n}\n\nexport interface JobSignature {\n signatureName: string;\n signatureDateTime: Date | null;\n internalSignatureBlobUri: string;\n signatureBlobUri: string;\n internalSignatureName: string;\n internalSignatureDateTime: Date | null;\n}\n\nexport interface JobSchedule {\n startDate: string;\n endDate: string;\n duration: number | null;\n durationUnit: DurationUnit;\n}\n\nexport interface JobAssignment {\n engineerId: string | null;\n pdaUserId: string;\n teamId: string | null;\n teamName: string;\n oldTeamId: string | null;\n oldTeamName: string;\n engineer: Engineer;\n team: Team;\n}\n\nexport interface JobStatusAccept {\n acceptUser: string;\n acceptUserName: string;\n acceptDate: Date | null;\n}\n\nexport interface JobStatusComplete {\n completeUser: string;\n completeUserName: string;\n completeDate: Date | null;\n completionNotes: string;\n}\n\nexport interface JobStatusArrival {\n arrivalUser: string;\n arrivalUserName: string;\n arrivalDate: Date | null;\n}\n\nexport interface JobStatusReject {\n rejectUser: string;\n rejectUserName: string;\n rejectDate: Date | null;\n rejectNotes: string;\n jobRejectReasonId: string | null;\n rejectBlobUri: string;\n}\n\nexport interface JobSiteOperative {\n siteOperativeId: string | null;\n completeSiteOperativeId: string | null;\n rejectSiteOperativeId: string | null;\n arrivalSiteOperativeId: string | null;\n acceptSiteOperativeId: string | null;\n createdBySiteOperativeId: string | null;\n}\n\nexport interface JobRecurrence {\n recurrenceRule: string;\n recurrenceParent: string | null;\n recurrenceException: string;\n exceptionDates: string[];\n}\n\nexport interface JobCore {\n jobId: string;\n jobTypeId: number;\n createDate: string;\n serverCreateDate: Date | null;\n serverModifyDate: Date | null;\n clientPO: string;\n clientRefNo: string;\n submissionNotes: string;\n officeNotes: string;\n priority: number | null;\n priorityName: string;\n lastAuditInterval: number | null;\n notify: boolean | null;\n notifyInterval: number | null;\n jobAreaId: string | null;\n jobCategoryId: string | null;\n jobIssueId: string | null;\n blobUploadCompleteDateTime: Date | null;\n quoteId: string | null;\n countryId: string | null;\n countryName: string;\n cloneFromId: string | null;\n jobStatusId: string;\n createdByPdaUserId: string;\n createPdaUserName: string;\n createWebUserName: string;\n webUserId: string | null;\n jobStatus: JobStatus;\n jobType: JobType;\n jobArea: JobArea;\n jobCategory: JobCategory;\n jobIssue: JobIssue;\n isEventSchema: boolean;\n}\n\nexport interface JobDetailsForm {\n clientRefNo: string;\n clientPO: string;\n submissionNotes: string;\n officeNotes: string;\n completionNotes: string;\n}\n\nexport interface Job extends\n JobCore,\n JobAddressInfo,\n JobGeography,\n JobCRM,\n JobSignature,\n JobSchedule,\n JobAssignment,\n JobStatusAccept,\n JobStatusComplete,\n JobStatusArrival,\n JobStatusReject,\n JobSiteOperative,\n JobRecurrence,\n JobContacts,\n JobTimeSheets,\n JobForms,\n JobEngineers,\n JobExpenses,\n JobCustomFields,\n JobNotes,\n JobResources,\n JobParts,\n JobParentRelatedEntities,\n JobChildRelatedEntities,\n JobTasks,\n JobInvoiceLines,\n JobOrderLines,\n JobReturnLines,\n JobTaskAssets,\n JobTaskAssetParts,\n JobTaskAssetForms\n{}\n","export interface JobRelatedEntity {\n refDataLinkParentId: string;\n createDateUtc: Date | string;\n createWebUserId: string;\n modifyDateUtc: Date | string;\n modifyWebUserId: string;\n jobId?: string;\n auditId?: string;\n invoiceId?: string;\n followUpActionId?: string;\n requestId?: string;\n quoteId?: string;\n assetId?: string;\n iotAlertId?: string;\n entityType: entityType;\n entityTypeDisplay: string;\n}\n\nexport interface JobParentRelatedEntity extends JobRelatedEntity {\n description: string;\n}\n\nexport interface JobChildRelatedEntity extends JobRelatedEntity {\n refDataLinkChildId: string;\n}\n\nexport interface JobParentRelatedEntities {\n jobParentRelatedEntities: JobParentRelatedEntity[];\n}\n\nexport interface JobChildRelatedEntities {\n jobChildRelatedEntities: JobChildRelatedEntity[];\n}\n\nexport enum entityType {\n Job,\n Audit,\n Invoice,\n FollowUpAction,\n Request,\n Quote,\n Asset,\n IoTAlert,\n None\n}\n","/**\n * Types of existing locales for bryntum LocaleManager\n */\nexport enum LocaleType {\n Gb = 'gb',\n En = 'en',\n SvSE = 'svse'\n}\n"]}