2025-12-04 21:05:57 +03:30
|
|
|
|
|
|
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
|
|
|
/* eslint-disable */
|
|
|
|
|
// biome-ignore-all lint: generated file
|
|
|
|
|
// @ts-nocheck
|
|
|
|
|
/*
|
|
|
|
|
* This file should be your main import to use Prisma. Through it you get access to all the models, enums, and input types.
|
|
|
|
|
* If you're looking for something you can import in the client-side of your application, please refer to the `browser.ts` file instead.
|
|
|
|
|
*
|
|
|
|
|
* 🟢 You can import this file directly.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import * as process from 'node:process'
|
|
|
|
|
import * as path from 'node:path'
|
|
|
|
|
|
|
|
|
|
import * as runtime from "@prisma/client/runtime/client"
|
|
|
|
|
import * as $Enums from "./enums.js"
|
|
|
|
|
import * as $Class from "./internal/class.js"
|
|
|
|
|
import * as Prisma from "./internal/prismaNamespace.js"
|
|
|
|
|
|
|
|
|
|
export * as $Enums from './enums.js'
|
|
|
|
|
export * from "./enums.js"
|
|
|
|
|
/**
|
|
|
|
|
* ## Prisma Client
|
|
|
|
|
*
|
|
|
|
|
* Type-safe database client for TypeScript
|
|
|
|
|
* @example
|
|
|
|
|
* ```
|
|
|
|
|
* const prisma = new PrismaClient()
|
2026-02-04 13:49:07 +03:30
|
|
|
* // Fetch zero or more Goods
|
|
|
|
|
* const goods = await prisma.good.findMany()
|
2025-12-04 21:05:57 +03:30
|
|
|
* ```
|
|
|
|
|
*
|
|
|
|
|
* Read more in our [docs](https://pris.ly/d/client).
|
|
|
|
|
*/
|
|
|
|
|
export const PrismaClient = $Class.getPrismaClientClass()
|
|
|
|
|
export type PrismaClient<LogOpts extends Prisma.LogLevel = never, OmitOpts extends Prisma.PrismaClientOptions["omit"] = Prisma.PrismaClientOptions["omit"], ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = $Class.PrismaClient<LogOpts, OmitOpts, ExtArgs>
|
|
|
|
|
export { Prisma }
|
|
|
|
|
|
|
|
|
|
/**
|
2026-02-04 13:49:07 +03:30
|
|
|
* Model Good
|
2025-12-04 21:05:57 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2026-02-04 13:49:07 +03:30
|
|
|
export type Good = Prisma.GoodModel
|
2025-12-04 21:05:57 +03:30
|
|
|
/**
|
2026-02-04 13:49:07 +03:30
|
|
|
* Model GoodCategory
|
2025-12-04 21:05:57 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2026-02-04 13:49:07 +03:30
|
|
|
export type GoodCategory = Prisma.GoodCategoryModel
|
2025-12-09 13:59:07 +03:30
|
|
|
/**
|
2026-01-04 13:45:26 +03:30
|
|
|
* Model Customer
|
2025-12-09 13:59:07 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2026-01-04 13:45:26 +03:30
|
|
|
export type Customer = Prisma.CustomerModel
|
2025-12-09 13:59:07 +03:30
|
|
|
/**
|
2025-12-24 21:24:59 +03:30
|
|
|
* Model TriggerLog
|
2025-12-09 13:59:07 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2025-12-24 21:24:59 +03:30
|
|
|
export type TriggerLog = Prisma.TriggerLogModel
|
2026-01-04 13:45:26 +03:30
|
|
|
/**
|
|
|
|
|
* Model SalesInvoice
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type SalesInvoice = Prisma.SalesInvoiceModel
|
|
|
|
|
/**
|
|
|
|
|
* Model SalesInvoiceItem
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type SalesInvoiceItem = Prisma.SalesInvoiceItemModel
|
|
|
|
|
/**
|
|
|
|
|
* Model SalesInvoicePayment
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type SalesInvoicePayment = Prisma.SalesInvoicePaymentModel
|
2025-12-09 13:59:07 +03:30
|
|
|
/**
|
2026-02-04 13:49:07 +03:30
|
|
|
* Model Service
|
2025-12-26 22:09:46 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2026-02-04 13:49:07 +03:30
|
|
|
export type Service = Prisma.ServiceModel
|
2026-01-07 15:25:59 +03:30
|
|
|
/**
|
2026-02-04 13:49:07 +03:30
|
|
|
* Model ServiceCategory
|
2026-01-07 15:25:59 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2026-02-04 13:49:07 +03:30
|
|
|
export type ServiceCategory = Prisma.ServiceCategoryModel
|