Files
psp_api/src/generated/prisma/browser.ts
T
ahasani b05048e62f feat(bank-accounts): add transaction retrieval and update service logic
- Implemented a new endpoint to fetch transactions for a specific bank account.
- Refactored the bank account service to streamline transaction handling and balance calculations.
- Removed the bank account balance table and adjusted related logic in workflows and services.
- Enhanced transaction mapping to include references to sales and purchase records.
2026-01-05 18:35:08 +03:30

185 lines
3.5 KiB
TypeScript

/* !!! 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
/**
* Model OtpCode
*
*/
export type OtpCode = Prisma.OtpCodeModel
/**
* Model RefreshToken
*
*/
export type RefreshToken = Prisma.RefreshTokenModel
/**
* Model BankBranch
*
*/
export type BankBranch = Prisma.BankBranchModel
/**
* Model BankAccount
*
*/
export type BankAccount = Prisma.BankAccountModel
/**
* Model BankAccountTransaction
*
*/
export type BankAccountTransaction = Prisma.BankAccountTransactionModel
/**
* Model Inventory
*
*/
export type Inventory = Prisma.InventoryModel
/**
* Model InventoryBankAccount
*
*/
export type InventoryBankAccount = Prisma.InventoryBankAccountModel
/**
* Model PosAccount
*
*/
export type PosAccount = Prisma.PosAccountModel
/**
* Model InventoryTransfer
*
*/
export type InventoryTransfer = Prisma.InventoryTransferModel
/**
* Model InventoryTransferItem
*
*/
export type InventoryTransferItem = Prisma.InventoryTransferItemModel
/**
* Model Bank
*
*/
export type Bank = Prisma.BankModel
/**
* Model Order
*
*/
export type Order = Prisma.OrderModel
/**
* Model OrderItem
*
*/
export type OrderItem = Prisma.OrderItemModel
/**
* Model Customer
*
*/
export type Customer = Prisma.CustomerModel
/**
* Model TriggerLog
*
*/
export type TriggerLog = Prisma.TriggerLogModel
/**
* Model ProductVariant
*
*/
export type ProductVariant = Prisma.ProductVariantModel
/**
* Model Product
*
*/
export type Product = Prisma.ProductModel
/**
* Model ProductBrand
*
*/
export type ProductBrand = Prisma.ProductBrandModel
/**
* Model ProductCategory
*
*/
export type ProductCategory = Prisma.ProductCategoryModel
/**
* Model PurchaseReceipt
*
*/
export type PurchaseReceipt = Prisma.PurchaseReceiptModel
/**
* Model PurchaseReceiptItem
*
*/
export type PurchaseReceiptItem = Prisma.PurchaseReceiptItemModel
/**
* Model PurchaseReceiptPayments
*
*/
export type PurchaseReceiptPayments = Prisma.PurchaseReceiptPaymentsModel
/**
* Model SalesInvoice
*
*/
export type SalesInvoice = Prisma.SalesInvoiceModel
/**
* Model SalesInvoiceItem
*
*/
export type SalesInvoiceItem = Prisma.SalesInvoiceItemModel
/**
* Model SalesInvoicePayment
*
*/
export type SalesInvoicePayment = Prisma.SalesInvoicePaymentModel
/**
* Model StockMovement
*
*/
export type StockMovement = Prisma.StockMovementModel
/**
* Model StockBalance
*
*/
export type StockBalance = Prisma.StockBalanceModel
/**
* Model StockAdjustment
*
*/
export type StockAdjustment = Prisma.StockAdjustmentModel
/**
* Model StockReservation
*
*/
export type StockReservation = Prisma.StockReservationModel
/**
* Model Supplier
*
*/
export type Supplier = Prisma.SupplierModel
/**
* Model SupplierLedger
*
*/
export type SupplierLedger = Prisma.SupplierLedgerModel