/** * Service Module Types * * Servis sözleşmeleri ve servis talepleri için tip tanımlamaları. * AssetSpotter ve Prodobit'in servis yönetimi için kullanılır. */ export declare const contractType: import("arktype/internal/methods/string.ts").StringType<"preventive" | "maintenance" | "calibration" | "support" | "warranty_extension" | "full_service" | "on_demand", {}>; export declare const contractStatus: import("arktype/internal/methods/string.ts").StringType<"active" | "draft" | "pending_approval" | "suspended" | "expired" | "cancelled" | "renewed", {}>; export declare const billingModel: import("arktype/internal/methods/string.ts").StringType<"fixed" | "per_incident" | "hourly" | "monthly" | "quarterly" | "annually" | "hybrid", {}>; export declare const ticketType: import("arktype/internal/methods/string.ts").StringType<"preventive" | "inspection" | "incident" | "request" | "corrective" | "installation" | "training" | "consultation", {}>; export declare const ticketStatus: import("arktype/internal/methods/string.ts").StringType<"cancelled" | "open" | "assigned" | "in_progress" | "pending_customer" | "pending_parts" | "on_hold" | "resolved" | "closed", {}>; export declare const ticketPriority: import("arktype/internal/methods/string.ts").StringType<"medium" | "critical" | "high" | "low", {}>; export declare const ticketSource: import("arktype/internal/methods/string.ts").StringType<"email" | "scheduled" | "customer_portal" | "phone" | "chat" | "field_technician" | "system_alert" | "internal", {}>; export declare const serviceContract: import("arktype/internal/methods/object.ts").ObjectType<{ id: string; tenantId: string; contractNumber: string; name: string; customerId: string; contractType: "preventive" | "maintenance" | "calibration" | "support" | "warranty_extension" | "full_service" | "on_demand"; billingModel: "fixed" | "per_incident" | "hourly" | "monthly" | "quarterly" | "annually" | "hybrid"; status: "active" | "draft" | "pending_approval" | "suspended" | "expired" | "cancelled" | "renewed"; startDate: string; endDate: string; insertedAt: string; updatedAt: string; description?: string | undefined; autoRenew?: boolean | undefined; renewalNoticeDays?: number | undefined; contractValue?: number | undefined; currency?: string | undefined; monthlyFee?: number | undefined; hourlyRate?: number | undefined; incidentRate?: number | undefined; includedIncidents?: number | undefined; includedHours?: number | undefined; includedPreventiveVisits?: number | undefined; slaConfig?: unknown; coverageScope?: unknown; excludedItems?: unknown; primaryContactId?: string | undefined; technicalContactId?: string | undefined; accountManagerId?: string | undefined; serviceTeamId?: string | undefined; documentIds?: string[] | undefined; termsAndConditions?: string | undefined; specialTerms?: string | undefined; totalTicketsCreated?: number | undefined; totalIncidentsUsed?: number | undefined; totalHoursUsed?: number | undefined; notes?: string | undefined; metadata?: unknown; deletedAt?: string | undefined; }, {}>; export declare const createServiceContractRequest: import("arktype/internal/methods/object.ts").ObjectType<{ contractNumber: string; name: string; customerId: string; contractType: "preventive" | "maintenance" | "calibration" | "support" | "warranty_extension" | "full_service" | "on_demand"; billingModel: "fixed" | "per_incident" | "hourly" | "monthly" | "quarterly" | "annually" | "hybrid"; startDate: string; endDate: string; description?: string | undefined; autoRenew?: boolean | undefined; renewalNoticeDays?: number | undefined; contractValue?: number | undefined; currency?: string | undefined; monthlyFee?: number | undefined; hourlyRate?: number | undefined; incidentRate?: number | undefined; includedIncidents?: number | undefined; includedHours?: number | undefined; includedPreventiveVisits?: number | undefined; slaConfig?: unknown; coverageScope?: unknown; excludedItems?: unknown; primaryContactId?: string | undefined; technicalContactId?: string | undefined; accountManagerId?: string | undefined; serviceTeamId?: string | undefined; documentIds?: string[] | undefined; termsAndConditions?: string | undefined; specialTerms?: string | undefined; notes?: string | undefined; assetIds?: string[] | undefined; }, {}>; export declare const updateServiceContractRequest: import("arktype/internal/methods/object.ts").ObjectType<{ name?: string | undefined; description?: string | undefined; contractType?: "preventive" | "maintenance" | "calibration" | "support" | "warranty_extension" | "full_service" | "on_demand" | undefined; billingModel?: "fixed" | "per_incident" | "hourly" | "monthly" | "quarterly" | "annually" | "hybrid" | undefined; status?: "active" | "draft" | "pending_approval" | "suspended" | "expired" | "cancelled" | "renewed" | undefined; startDate?: string | undefined; endDate?: string | undefined; autoRenew?: boolean | undefined; renewalNoticeDays?: number | undefined; contractValue?: number | undefined; currency?: string | undefined; monthlyFee?: number | undefined; hourlyRate?: number | undefined; incidentRate?: number | undefined; includedIncidents?: number | undefined; includedHours?: number | undefined; includedPreventiveVisits?: number | undefined; slaConfig?: unknown; coverageScope?: unknown; excludedItems?: unknown; primaryContactId?: string | undefined; technicalContactId?: string | undefined; accountManagerId?: string | undefined; serviceTeamId?: string | undefined; documentIds?: string[] | undefined; termsAndConditions?: string | undefined; specialTerms?: string | undefined; notes?: string | undefined; }, {}>; export declare const serviceContractQuery: import("arktype/internal/methods/object.ts").ObjectType<{ customerId?: string | undefined; contractType?: "preventive" | "maintenance" | "calibration" | "support" | "warranty_extension" | "full_service" | "on_demand" | undefined; status?: "active" | "draft" | "pending_approval" | "suspended" | "expired" | "cancelled" | "renewed" | undefined; accountManagerId?: string | undefined; expiringWithinDays?: number | undefined; search?: string | undefined; }, {}>; export declare const serviceContractAsset: import("arktype/internal/methods/object.ts").ObjectType<{ id: string; tenantId: string; contractId: string; assetId: string; isActive: boolean; insertedAt: string; coverageStartDate?: string | undefined; coverageEndDate?: string | undefined; specialTerms?: string | undefined; }, {}>; export declare const addContractAssetRequest: import("arktype/internal/methods/object.ts").ObjectType<{ assetId: string; coverageStartDate?: string | undefined; coverageEndDate?: string | undefined; specialTerms?: string | undefined; }, {}>; export declare const serviceTicket: import("arktype/internal/methods/object.ts").ObjectType<{ id: string; tenantId: string; ticketNumber: string; isBillable: boolean; customerId: string; ticketType: "preventive" | "inspection" | "incident" | "request" | "corrective" | "installation" | "training" | "consultation"; priority: "medium" | "critical" | "high" | "low"; status: "cancelled" | "open" | "assigned" | "in_progress" | "pending_customer" | "pending_parts" | "on_hold" | "resolved" | "closed"; source: "email" | "scheduled" | "customer_portal" | "phone" | "chat" | "field_technician" | "system_alert" | "internal"; subject: string; reportedAt: string; insertedAt: string; updatedAt: string; contractId?: string | undefined; contactPersonId?: string | undefined; assetId?: string | undefined; description?: string | undefined; problemCategory?: string | undefined; errorCode?: string | undefined; serviceLocationId?: string | undefined; serviceAddress?: string | undefined; assignedToId?: string | undefined; assignedTeamId?: string | undefined; slaResponseDue?: string | undefined; slaResolutionDue?: string | undefined; firstResponseAt?: string | undefined; acknowledgedAt?: string | undefined; scheduledAt?: string | undefined; startedAt?: string | undefined; resolvedAt?: string | undefined; closedAt?: string | undefined; resolutionSummary?: string | undefined; resolutionCode?: string | undefined; rootCause?: string | undefined; preventiveAction?: string | undefined; travelTimeMinutes?: number | undefined; workTimeMinutes?: number | undefined; totalTimeMinutes?: number | undefined; laborCost?: number | undefined; partsCost?: number | undefined; travelCost?: number | undefined; otherCost?: number | undefined; totalCost?: number | undefined; currency?: string | undefined; partsUsed?: unknown[] | undefined; maintenanceRecordId?: string | undefined; calibrationRecordId?: string | undefined; relatedTicketId?: string | undefined; attachmentIds?: string[] | undefined; signatureImageId?: string | undefined; customerSatisfaction?: number | undefined; customerFeedback?: string | undefined; internalNotes?: string | undefined; metadata?: unknown; deletedAt?: string | undefined; }, {}>; export declare const createServiceTicketRequest: import("arktype/internal/methods/object.ts").ObjectType<{ ticketNumber: string; customerId: string; ticketType: "preventive" | "inspection" | "incident" | "request" | "corrective" | "installation" | "training" | "consultation"; priority: "medium" | "critical" | "high" | "low"; subject: string; contractId?: string | undefined; isBillable?: boolean | undefined; contactPersonId?: string | undefined; assetId?: string | undefined; source?: "email" | "scheduled" | "customer_portal" | "phone" | "chat" | "field_technician" | "system_alert" | "internal" | undefined; description?: string | undefined; problemCategory?: string | undefined; errorCode?: string | undefined; serviceLocationId?: string | undefined; serviceAddress?: string | undefined; assignedToId?: string | undefined; assignedTeamId?: string | undefined; scheduledAt?: string | undefined; internalNotes?: string | undefined; }, {}>; export declare const updateServiceTicketRequest: import("arktype/internal/methods/object.ts").ObjectType<{ ticketType?: "preventive" | "inspection" | "incident" | "request" | "corrective" | "installation" | "training" | "consultation" | undefined; priority?: "medium" | "critical" | "high" | "low" | undefined; status?: "cancelled" | "open" | "assigned" | "in_progress" | "pending_customer" | "pending_parts" | "on_hold" | "resolved" | "closed" | undefined; subject?: string | undefined; description?: string | undefined; problemCategory?: string | undefined; errorCode?: string | undefined; serviceLocationId?: string | undefined; serviceAddress?: string | undefined; assignedToId?: string | undefined; assignedTeamId?: string | undefined; scheduledAt?: string | undefined; resolutionSummary?: string | undefined; resolutionCode?: string | undefined; rootCause?: string | undefined; preventiveAction?: string | undefined; travelTimeMinutes?: number | undefined; workTimeMinutes?: number | undefined; laborCost?: number | undefined; partsCost?: number | undefined; travelCost?: number | undefined; otherCost?: number | undefined; partsUsed?: unknown[] | undefined; attachmentIds?: string[] | undefined; signatureImageId?: string | undefined; customerSatisfaction?: number | undefined; customerFeedback?: string | undefined; internalNotes?: string | undefined; }, {}>; export declare const serviceTicketQuery: import("arktype/internal/methods/object.ts").ObjectType<{ contractId?: string | undefined; customerId?: string | undefined; assetId?: string | undefined; ticketType?: "preventive" | "inspection" | "incident" | "request" | "corrective" | "installation" | "training" | "consultation" | undefined; priority?: "medium" | "critical" | "high" | "low" | undefined; status?: "cancelled" | "open" | "assigned" | "in_progress" | "pending_customer" | "pending_parts" | "on_hold" | "resolved" | "closed" | undefined; assignedToId?: string | undefined; assignedTeamId?: string | undefined; reportedAfter?: string | undefined; reportedBefore?: string | undefined; search?: string | undefined; }, {}>; export declare const serviceTicketComment: import("arktype/internal/methods/object.ts").ObjectType<{ id: string; tenantId: string; ticketId: string; authorId: string; content: string; isInternal: boolean; isSystemGenerated: boolean; insertedAt: string; attachmentIds?: string[] | undefined; }, {}>; export declare const createTicketCommentRequest: import("arktype/internal/methods/object.ts").ObjectType<{ content: string; isInternal?: boolean | undefined; attachmentIds?: string[] | undefined; }, {}>; export declare const slaConfigItem: import("arktype/internal/methods/object.ts").ObjectType<{ priority: "medium" | "critical" | "high" | "low"; responseTimeMinutes: number; resolutionTimeMinutes: number; }, {}>; export declare const slaConfig: import("arktype/internal/methods/object.ts").ObjectType<{ items: unknown[]; businessHoursOnly: boolean; businessHoursStart?: string | undefined; businessHoursEnd?: string | undefined; excludeWeekends?: boolean | undefined; }, {}>; export type ContractType = typeof contractType.infer; export type ContractStatus = typeof contractStatus.infer; export type BillingModel = typeof billingModel.infer; export type TicketType = typeof ticketType.infer; export type TicketStatus = typeof ticketStatus.infer; export type TicketPriority = typeof ticketPriority.infer; export type TicketSource = typeof ticketSource.infer; export type ServiceContract = typeof serviceContract.infer; export type CreateServiceContractRequest = typeof createServiceContractRequest.infer; export type UpdateServiceContractRequest = typeof updateServiceContractRequest.infer; export type ServiceContractQuery = typeof serviceContractQuery.infer; export type ServiceContractAsset = typeof serviceContractAsset.infer; export type AddContractAssetRequest = typeof addContractAssetRequest.infer; export type ServiceTicket = typeof serviceTicket.infer; export type CreateServiceTicketRequest = typeof createServiceTicketRequest.infer; export type UpdateServiceTicketRequest = typeof updateServiceTicketRequest.infer; export type ServiceTicketQuery = typeof serviceTicketQuery.infer; export type ServiceTicketComment = typeof serviceTicketComment.infer; export type CreateTicketCommentRequest = typeof createTicketCommentRequest.infer; export type SlaConfigItem = typeof slaConfigItem.infer; export type SlaConfig = typeof slaConfig.infer; //# sourceMappingURL=service.d.ts.map