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-03-16 00:33:40 +03:30
|
|
|
* // Fetch zero or more Admins
|
|
|
|
|
* const admins = await prisma.admin.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-12 20:31:04 +03:30
|
|
|
/**
|
2026-03-16 00:33:40 +03:30
|
|
|
* Model Admin
|
2026-02-12 20:31:04 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2026-03-16 00:33:40 +03:30
|
|
|
export type Admin = Prisma.AdminModel
|
2026-02-24 12:42:10 +03:30
|
|
|
/**
|
2026-03-16 00:33:40 +03:30
|
|
|
* Model AdminAccount
|
2026-02-24 12:42:10 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2026-03-16 00:33:40 +03:30
|
|
|
export type AdminAccount = Prisma.AdminAccountModel
|
2026-02-24 12:42:10 +03:30
|
|
|
/**
|
2026-03-16 00:33:40 +03:30
|
|
|
* Model Account
|
2026-02-24 12:42:10 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2026-03-16 00:33:40 +03:30
|
|
|
export type Account = Prisma.AccountModel
|
|
|
|
|
/**
|
|
|
|
|
* Model Consumer
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type Consumer = Prisma.ConsumerModel
|
|
|
|
|
/**
|
|
|
|
|
* Model ConsumerAccount
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type ConsumerAccount = Prisma.ConsumerAccountModel
|
2026-03-07 11:25:11 +03:30
|
|
|
/**
|
|
|
|
|
* Model BusinessActivity
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type BusinessActivity = Prisma.BusinessActivityModel
|
|
|
|
|
/**
|
|
|
|
|
* Model Complex
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type Complex = Prisma.ComplexModel
|
|
|
|
|
/**
|
|
|
|
|
* Model Pos
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type Pos = Prisma.PosModel
|
|
|
|
|
/**
|
|
|
|
|
* Model DeviceBrand
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type DeviceBrand = Prisma.DeviceBrandModel
|
2026-02-12 20:31:04 +03:30
|
|
|
/**
|
|
|
|
|
* Model Device
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type Device = Prisma.DeviceModel
|
2025-12-04 21:05:57 +03:30
|
|
|
/**
|
2026-03-07 11:25:11 +03:30
|
|
|
* Model License
|
2025-12-04 21:05:57 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2026-03-07 11:25:11 +03:30
|
|
|
export type License = Prisma.LicenseModel
|
2025-12-04 21:05:57 +03:30
|
|
|
/**
|
2026-03-07 11:25:11 +03:30
|
|
|
* Model Partner
|
2025-12-04 21:05:57 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2026-03-07 11:25:11 +03:30
|
|
|
export type Partner = Prisma.PartnerModel
|
|
|
|
|
/**
|
2026-03-16 00:33:40 +03:30
|
|
|
* Model PartnerAccount
|
2026-03-07 11:25:11 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2026-03-16 00:33:40 +03:30
|
|
|
export type PartnerAccount = Prisma.PartnerAccountModel
|
2026-03-07 11:25:11 +03:30
|
|
|
/**
|
2026-03-16 00:33:40 +03:30
|
|
|
* Model PermissionConsumer
|
2026-03-07 11:25:11 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2026-03-16 00:33:40 +03:30
|
|
|
export type PermissionConsumer = Prisma.PermissionConsumerModel
|
|
|
|
|
/**
|
|
|
|
|
* Model PermissionPos
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type PermissionPos = Prisma.PermissionPosModel
|
|
|
|
|
/**
|
|
|
|
|
* Model PermissionComplex
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type PermissionComplex = Prisma.PermissionComplexModel
|
|
|
|
|
/**
|
|
|
|
|
* Model PermissionBusiness
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type PermissionBusiness = Prisma.PermissionBusinessModel
|
2026-03-07 11:25:11 +03:30
|
|
|
/**
|
|
|
|
|
* Model Provider
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type Provider = Prisma.ProviderModel
|
2026-03-16 00:33:40 +03:30
|
|
|
/**
|
|
|
|
|
* Model ProviderAccount
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type ProviderAccount = Prisma.ProviderAccountModel
|
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-03-07 11:25:11 +03:30
|
|
|
/**
|
|
|
|
|
* Model UserDevices
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type UserDevices = Prisma.UserDevicesModel
|
|
|
|
|
/**
|
|
|
|
|
* Model Customer
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type Customer = Prisma.CustomerModel
|
|
|
|
|
/**
|
|
|
|
|
* Model CustomerIndividual
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type CustomerIndividual = Prisma.CustomerIndividualModel
|
|
|
|
|
/**
|
|
|
|
|
* Model CustomerLegal
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type CustomerLegal = Prisma.CustomerLegalModel
|
|
|
|
|
/**
|
|
|
|
|
* Model Good
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type Good = Prisma.GoodModel
|
|
|
|
|
/**
|
|
|
|
|
* Model GoodCategory
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type GoodCategory = Prisma.GoodCategoryModel
|
2026-03-16 00:33:40 +03:30
|
|
|
/**
|
|
|
|
|
* Model Guild
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type Guild = Prisma.GuildModel
|
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
|