Files
alrahma_sunday_school_api/apps/api/dist/modules/complaints/complaint.schemas.d.ts
T
2026-06-11 03:22:12 -04:00

84 lines
4.2 KiB
TypeScript

import { z } from 'zod';
export declare const createSchema: z.ZodObject<{
reservationId: z.ZodOptional<z.ZodString>;
reviewId: z.ZodOptional<z.ZodString>;
customerId: z.ZodOptional<z.ZodString>;
severity: z.ZodDefault<z.ZodEnum<["LEVEL_1", "LEVEL_2", "LEVEL_3"]>>;
category: z.ZodEnum<["BOOKING", "PICKUP", "VEHICLE_CLEANLINESS", "VEHICLE_CONDITION", "STAFF_SERVICE", "PRICING", "DEPOSIT", "INSURANCE", "DAMAGE_CLAIM", "RETURN_PROCESS", "COMMUNICATION", "ROADSIDE_ASSISTANCE", "BILLING", "OTHER"]>;
subject: z.ZodString;
description: z.ZodOptional<z.ZodString>;
assignedTo: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
category: "OTHER" | "DEPOSIT" | "BOOKING" | "PICKUP" | "VEHICLE_CLEANLINESS" | "VEHICLE_CONDITION" | "STAFF_SERVICE" | "PRICING" | "INSURANCE" | "DAMAGE_CLAIM" | "RETURN_PROCESS" | "COMMUNICATION" | "ROADSIDE_ASSISTANCE" | "BILLING";
severity: "LEVEL_1" | "LEVEL_2" | "LEVEL_3";
subject: string;
description?: string | undefined;
customerId?: string | undefined;
reservationId?: string | undefined;
reviewId?: string | undefined;
assignedTo?: string | undefined;
}, {
category: "OTHER" | "DEPOSIT" | "BOOKING" | "PICKUP" | "VEHICLE_CLEANLINESS" | "VEHICLE_CONDITION" | "STAFF_SERVICE" | "PRICING" | "INSURANCE" | "DAMAGE_CLAIM" | "RETURN_PROCESS" | "COMMUNICATION" | "ROADSIDE_ASSISTANCE" | "BILLING";
subject: string;
description?: string | undefined;
severity?: "LEVEL_1" | "LEVEL_2" | "LEVEL_3" | undefined;
customerId?: string | undefined;
reservationId?: string | undefined;
reviewId?: string | undefined;
assignedTo?: string | undefined;
}>;
export declare const updateSchema: z.ZodObject<{
status: z.ZodOptional<z.ZodEnum<["OPEN", "INVESTIGATING", "RESOLVED", "CLOSED"]>>;
severity: z.ZodOptional<z.ZodEnum<["LEVEL_1", "LEVEL_2", "LEVEL_3"]>>;
category: z.ZodOptional<z.ZodEnum<["BOOKING", "PICKUP", "VEHICLE_CLEANLINESS", "VEHICLE_CONDITION", "STAFF_SERVICE", "PRICING", "DEPOSIT", "INSURANCE", "DAMAGE_CLAIM", "RETURN_PROCESS", "COMMUNICATION", "ROADSIDE_ASSISTANCE", "BILLING", "OTHER"]>>;
subject: z.ZodOptional<z.ZodString>;
description: z.ZodOptional<z.ZodString>;
notes: z.ZodOptional<z.ZodString>;
resolution: z.ZodOptional<z.ZodString>;
assignedTo: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
category?: "OTHER" | "DEPOSIT" | "BOOKING" | "PICKUP" | "VEHICLE_CLEANLINESS" | "VEHICLE_CONDITION" | "STAFF_SERVICE" | "PRICING" | "INSURANCE" | "DAMAGE_CLAIM" | "RETURN_PROCESS" | "COMMUNICATION" | "ROADSIDE_ASSISTANCE" | "BILLING" | undefined;
status?: "OPEN" | "INVESTIGATING" | "RESOLVED" | "CLOSED" | undefined;
notes?: string | undefined;
description?: string | undefined;
severity?: "LEVEL_1" | "LEVEL_2" | "LEVEL_3" | undefined;
subject?: string | undefined;
assignedTo?: string | undefined;
resolution?: string | undefined;
}, {
category?: "OTHER" | "DEPOSIT" | "BOOKING" | "PICKUP" | "VEHICLE_CLEANLINESS" | "VEHICLE_CONDITION" | "STAFF_SERVICE" | "PRICING" | "INSURANCE" | "DAMAGE_CLAIM" | "RETURN_PROCESS" | "COMMUNICATION" | "ROADSIDE_ASSISTANCE" | "BILLING" | undefined;
status?: "OPEN" | "INVESTIGATING" | "RESOLVED" | "CLOSED" | undefined;
notes?: string | undefined;
description?: string | undefined;
severity?: "LEVEL_1" | "LEVEL_2" | "LEVEL_3" | undefined;
subject?: string | undefined;
assignedTo?: string | undefined;
resolution?: string | undefined;
}>;
export declare const listQuerySchema: z.ZodObject<{
status: z.ZodOptional<z.ZodString>;
severity: z.ZodOptional<z.ZodString>;
category: z.ZodOptional<z.ZodString>;
page: z.ZodDefault<z.ZodNumber>;
pageSize: z.ZodDefault<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
page: number;
pageSize: number;
category?: string | undefined;
status?: string | undefined;
severity?: string | undefined;
}, {
category?: string | undefined;
status?: string | undefined;
page?: number | undefined;
pageSize?: number | undefined;
severity?: string | undefined;
}>;
export declare const idParamSchema: z.ZodObject<{
id: z.ZodString;
}, "strip", z.ZodTypeAny, {
id: string;
}, {
id: string;
}>;
//# sourceMappingURL=complaint.schemas.d.ts.map