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-related types and utilities in a browser.
|
|
|
|
|
* Use it to get access to models, enums, and input types.
|
|
|
|
|
*
|
|
|
|
|
* This file does not contain a `PrismaClient` class, nor several other helpers that are intended as server-side only.
|
|
|
|
|
* See `client.ts` for the standard, server-side entry point.
|
|
|
|
|
*
|
|
|
|
|
* 🟢 You can import this file directly.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import * as Prisma from './internal/prismaNamespaceBrowser.js'
|
|
|
|
|
export { Prisma }
|
|
|
|
|
export * as $Enums from './enums.js'
|
|
|
|
|
export * from './enums.js';
|
|
|
|
|
/**
|
|
|
|
|
* Model User
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type User = Prisma.UserModel
|
|
|
|
|
/**
|
|
|
|
|
* Model Role
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type Role = Prisma.RoleModel
|
|
|
|
|
/**
|
2025-12-24 21:24:59 +03:30
|
|
|
* Model OtpCode
|
2025-12-04 21:05:57 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2025-12-24 21:24:59 +03:30
|
|
|
export type OtpCode = Prisma.OtpCodeModel
|
2025-12-04 21:05:57 +03:30
|
|
|
/**
|
2025-12-24 21:24:59 +03:30
|
|
|
* Model RefreshToken
|
2025-12-04 21:05:57 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2025-12-24 21:24:59 +03:30
|
|
|
export type RefreshToken = Prisma.RefreshTokenModel
|
2025-12-04 21:05:57 +03:30
|
|
|
/**
|
2025-12-24 21:24:59 +03:30
|
|
|
* Model BankBranch
|
2025-12-04 21:05:57 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2025-12-24 21:24:59 +03:30
|
|
|
export type BankBranch = Prisma.BankBranchModel
|
2025-12-04 21:05:57 +03:30
|
|
|
/**
|
2025-12-24 21:24:59 +03:30
|
|
|
* Model BankAccount
|
2025-12-04 21:05:57 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2025-12-24 21:24:59 +03:30
|
|
|
export type BankAccount = Prisma.BankAccountModel
|
2025-12-04 21:05:57 +03:30
|
|
|
/**
|
2025-12-24 21:24:59 +03:30
|
|
|
* Model Inventory
|
2025-12-04 21:05:57 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2025-12-24 21:24:59 +03:30
|
|
|
export type Inventory = Prisma.InventoryModel
|
2025-12-04 21:05:57 +03:30
|
|
|
/**
|
2025-12-24 21:24:59 +03:30
|
|
|
* Model InventoryTransfer
|
2025-12-04 21:05:57 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2025-12-24 21:24:59 +03:30
|
|
|
export type InventoryTransfer = Prisma.InventoryTransferModel
|
2025-12-04 21:05:57 +03:30
|
|
|
/**
|
2025-12-24 21:24:59 +03:30
|
|
|
* Model InventoryTransferItem
|
2025-12-04 21:05:57 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2025-12-24 21:24:59 +03:30
|
|
|
export type InventoryTransferItem = Prisma.InventoryTransferItemModel
|
2025-12-04 21:05:57 +03:30
|
|
|
/**
|
2025-12-24 21:24:59 +03:30
|
|
|
* Model InventoryBankAccount
|
2025-12-04 21:05:57 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2025-12-24 21:24:59 +03:30
|
|
|
export type InventoryBankAccount = Prisma.InventoryBankAccountModel
|
2025-12-09 13:59:07 +03:30
|
|
|
/**
|
2025-12-24 21:24:59 +03:30
|
|
|
* Model PosAccount
|
2025-12-09 13:59:07 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2025-12-24 21:24:59 +03:30
|
|
|
export type PosAccount = Prisma.PosAccountModel
|
2025-12-09 13:59:07 +03:30
|
|
|
/**
|
2025-12-24 21:24:59 +03:30
|
|
|
* Model Bank
|
2025-12-09 13:59:07 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2025-12-24 21:24:59 +03:30
|
|
|
export type Bank = Prisma.BankModel
|
2025-12-09 13:59:07 +03:30
|
|
|
/**
|
2025-12-24 21:24:59 +03:30
|
|
|
* Model Supplier
|
2025-12-09 13:59:07 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2025-12-24 21:24:59 +03:30
|
|
|
export type Supplier = Prisma.SupplierModel
|
2025-12-09 13:59:07 +03:30
|
|
|
/**
|
2025-12-24 21:24:59 +03:30
|
|
|
* Model SupplierLedger
|
2025-12-09 13:59:07 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2025-12-24 21:24:59 +03:30
|
|
|
export type SupplierLedger = Prisma.SupplierLedgerModel
|
|
|
|
|
/**
|
|
|
|
|
* Model Customer
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type Customer = Prisma.CustomerModel
|
|
|
|
|
/**
|
|
|
|
|
* Model Order
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type Order = Prisma.OrderModel
|
2025-12-09 13:59:07 +03:30
|
|
|
/**
|
|
|
|
|
* Model SalesInvoice
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type SalesInvoice = Prisma.SalesInvoiceModel
|
|
|
|
|
/**
|
|
|
|
|
* Model SalesInvoiceItem
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type SalesInvoiceItem = Prisma.SalesInvoiceItemModel
|
|
|
|
|
/**
|
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
|
2025-12-09 13:59:07 +03:30
|
|
|
/**
|
2025-12-24 21:24:59 +03:30
|
|
|
* Model ProductVariant
|
2025-12-09 13:59:07 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2025-12-24 21:24:59 +03:30
|
|
|
export type ProductVariant = Prisma.ProductVariantModel
|
2025-12-21 19:09:41 +03:30
|
|
|
/**
|
2025-12-24 21:24:59 +03:30
|
|
|
* Model Product
|
2025-12-21 19:09:41 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2025-12-24 21:24:59 +03:30
|
|
|
export type Product = Prisma.ProductModel
|
2025-12-21 19:09:41 +03:30
|
|
|
/**
|
2025-12-24 21:24:59 +03:30
|
|
|
* Model ProductBrand
|
2025-12-21 19:09:41 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2025-12-24 21:24:59 +03:30
|
|
|
export type ProductBrand = Prisma.ProductBrandModel
|
2025-12-09 13:59:07 +03:30
|
|
|
/**
|
2025-12-24 21:24:59 +03:30
|
|
|
* Model ProductCategory
|
2025-12-09 13:59:07 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2025-12-24 21:24:59 +03:30
|
|
|
export type ProductCategory = Prisma.ProductCategoryModel
|
2025-12-09 13:59:07 +03:30
|
|
|
/**
|
2025-12-24 21:24:59 +03:30
|
|
|
* Model PurchaseReceipt
|
2025-12-09 13:59:07 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2025-12-24 21:24:59 +03:30
|
|
|
export type PurchaseReceipt = Prisma.PurchaseReceiptModel
|
2025-12-09 13:59:07 +03:30
|
|
|
/**
|
2025-12-24 21:24:59 +03:30
|
|
|
* Model PurchaseReceiptItem
|
2025-12-09 13:59:07 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2025-12-24 21:24:59 +03:30
|
|
|
export type PurchaseReceiptItem = Prisma.PurchaseReceiptItemModel
|
2025-12-14 10:15:57 +03:30
|
|
|
/**
|
2025-12-24 21:24:59 +03:30
|
|
|
* Model PurchaseReceiptPayments
|
2025-12-14 10:15:57 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2025-12-24 21:24:59 +03:30
|
|
|
export type PurchaseReceiptPayments = Prisma.PurchaseReceiptPaymentsModel
|
2025-12-09 13:59:07 +03:30
|
|
|
/**
|
2025-12-24 21:24:59 +03:30
|
|
|
* Model StockMovement
|
2025-12-09 13:59:07 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2025-12-24 21:24:59 +03:30
|
|
|
export type StockMovement = Prisma.StockMovementModel
|
2025-12-09 13:59:07 +03:30
|
|
|
/**
|
2025-12-24 21:24:59 +03:30
|
|
|
* Model StockBalance
|
2025-12-09 13:59:07 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2025-12-24 21:24:59 +03:30
|
|
|
export type StockBalance = Prisma.StockBalanceModel
|
2025-12-09 13:59:07 +03:30
|
|
|
/**
|
2025-12-24 21:24:59 +03:30
|
|
|
* Model StockAdjustment
|
2025-12-09 13:59:07 +03:30
|
|
|
*
|
|
|
|
|
*/
|
2025-12-24 21:24:59 +03:30
|
|
|
export type StockAdjustment = Prisma.StockAdjustmentModel
|