"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
    var ownKeys = function(o) {
        ownKeys = Object.getOwnPropertyNames || function (o) {
            var ar = [];
            for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
            return ar;
        };
        return ownKeys(o);
    };
    return function (mod) {
        if (mod && mod.__esModule) return mod;
        var result = {};
        if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
        __setModuleDefault(result, mod);
        return result;
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.ServiceLineFindFirstZodSchema = exports.ServiceLineFindFirstSchema = exports.ServiceLineFindFirstSelectZodSchema = exports.ServiceLineFindFirstSelectSchema = void 0;
const z = __importStar(require("zod"));
const ServiceLineInclude_schema_1 = require("./objects/ServiceLineInclude.schema");
const ServiceLineOrderByWithRelationInput_schema_1 = require("./objects/ServiceLineOrderByWithRelationInput.schema");
const ServiceLineWhereInput_schema_1 = require("./objects/ServiceLineWhereInput.schema");
const ServiceLineWhereUniqueInput_schema_1 = require("./objects/ServiceLineWhereUniqueInput.schema");
const ServiceLineScalarFieldEnum_schema_1 = require("./enums/ServiceLineScalarFieldEnum.schema");
// Select schema needs to be in file to prevent circular imports
//------------------------------------------------------
exports.ServiceLineFindFirstSelectSchema = z.object({
    id: z.boolean().optional(),
    claimId: z.boolean().optional(),
    paymentId: z.boolean().optional(),
    procedureCode: z.boolean().optional(),
    procedureDate: z.boolean().optional(),
    quad: z.boolean().optional(),
    arch: z.boolean().optional(),
    toothNumber: z.boolean().optional(),
    toothSurface: z.boolean().optional(),
    icn: z.boolean().optional(),
    paidCode: z.boolean().optional(),
    allowedAmount: z.boolean().optional(),
    totalBilled: z.boolean().optional(),
    totalPaid: z.boolean().optional(),
    totalAdjusted: z.boolean().optional(),
    totalDue: z.boolean().optional(),
    status: z.boolean().optional(),
    claim: z.boolean().optional(),
    payment: z.boolean().optional(),
    serviceLineTransactions: z.boolean().optional(),
    _count: z.boolean().optional()
}).strict();
exports.ServiceLineFindFirstSelectZodSchema = z.object({
    id: z.boolean().optional(),
    claimId: z.boolean().optional(),
    paymentId: z.boolean().optional(),
    procedureCode: z.boolean().optional(),
    procedureDate: z.boolean().optional(),
    quad: z.boolean().optional(),
    arch: z.boolean().optional(),
    toothNumber: z.boolean().optional(),
    toothSurface: z.boolean().optional(),
    icn: z.boolean().optional(),
    paidCode: z.boolean().optional(),
    allowedAmount: z.boolean().optional(),
    totalBilled: z.boolean().optional(),
    totalPaid: z.boolean().optional(),
    totalAdjusted: z.boolean().optional(),
    totalDue: z.boolean().optional(),
    status: z.boolean().optional(),
    claim: z.boolean().optional(),
    payment: z.boolean().optional(),
    serviceLineTransactions: z.boolean().optional(),
    _count: z.boolean().optional()
}).strict();
exports.ServiceLineFindFirstSchema = z.object({ select: exports.ServiceLineFindFirstSelectSchema.optional(), include: z.lazy(() => ServiceLineInclude_schema_1.ServiceLineIncludeObjectSchema.optional()), orderBy: z.union([ServiceLineOrderByWithRelationInput_schema_1.ServiceLineOrderByWithRelationInputObjectSchema, ServiceLineOrderByWithRelationInput_schema_1.ServiceLineOrderByWithRelationInputObjectSchema.array()]).optional(), where: ServiceLineWhereInput_schema_1.ServiceLineWhereInputObjectSchema.optional(), cursor: ServiceLineWhereUniqueInput_schema_1.ServiceLineWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([ServiceLineScalarFieldEnum_schema_1.ServiceLineScalarFieldEnumSchema, ServiceLineScalarFieldEnum_schema_1.ServiceLineScalarFieldEnumSchema.array()]).optional() }).strict();
exports.ServiceLineFindFirstZodSchema = z.object({ select: exports.ServiceLineFindFirstSelectSchema.optional(), include: z.lazy(() => ServiceLineInclude_schema_1.ServiceLineIncludeObjectSchema.optional()), orderBy: z.union([ServiceLineOrderByWithRelationInput_schema_1.ServiceLineOrderByWithRelationInputObjectSchema, ServiceLineOrderByWithRelationInput_schema_1.ServiceLineOrderByWithRelationInputObjectSchema.array()]).optional(), where: ServiceLineWhereInput_schema_1.ServiceLineWhereInputObjectSchema.optional(), cursor: ServiceLineWhereUniqueInput_schema_1.ServiceLineWhereUniqueInputObjectSchema.optional(), take: z.number().optional(), skip: z.number().optional(), distinct: z.union([ServiceLineScalarFieldEnum_schema_1.ServiceLineScalarFieldEnumSchema, ServiceLineScalarFieldEnum_schema_1.ServiceLineScalarFieldEnumSchema.array()]).optional() }).strict();
