transform core api codes into this project, update modules as admin/pos context modules

This commit is contained in:
2026-03-07 11:25:11 +03:30
parent b949500482
commit 8c5f1d4d49
167 changed files with 26975 additions and 1837 deletions
+77 -12
View File
@@ -27,8 +27,8 @@ export * from "./enums.js"
* @example
* ```
* const prisma = new PrismaClient()
* // Fetch zero or more Customers
* const customers = await prisma.customer.findMany()
* // Fetch zero or more Tokens
* const tokens = await prisma.token.findMany()
* ```
*
* Read more in our [docs](https://pris.ly/d/client).
@@ -37,6 +37,81 @@ 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 }
/**
* Model Token
*
*/
export type Token = Prisma.TokenModel
/**
* Model VerificationCode
*
*/
export type VerificationCode = Prisma.VerificationCodeModel
/**
* Model Guild
*
*/
export type Guild = Prisma.GuildModel
/**
* 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
/**
* Model Device
*
*/
export type Device = Prisma.DeviceModel
/**
* Model License
*
*/
export type License = Prisma.LicenseModel
/**
* Model Partner
*
*/
export type Partner = Prisma.PartnerModel
/**
* Model User
*
*/
export type User = Prisma.UserModel
/**
* Model Account
*
*/
export type Account = Prisma.AccountModel
/**
* Model Provider
*
*/
export type Provider = Prisma.ProviderModel
/**
* Model TriggerLog
*
*/
export type TriggerLog = Prisma.TriggerLogModel
/**
* Model UserDevices
*
*/
export type UserDevices = Prisma.UserDevicesModel
/**
* Model Customer
*
@@ -52,11 +127,6 @@ export type CustomerIndividual = Prisma.CustomerIndividualModel
*
*/
export type CustomerLegal = Prisma.CustomerLegalModel
/**
* Model Device
*
*/
export type Device = Prisma.DeviceModel
/**
* Model Good
*
@@ -67,11 +137,6 @@ export type Good = Prisma.GoodModel
*
*/
export type GoodCategory = Prisma.GoodCategoryModel
/**
* Model TriggerLog
*
*/
export type TriggerLog = Prisma.TriggerLogModel
/**
* Model SalesInvoice
*