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 exports all enum related types from the schema.
|
|
|
|
|
*
|
|
|
|
|
* 🟢 You can import this file directly.
|
|
|
|
|
*/
|
|
|
|
|
|
2025-12-09 13:59:07 +03:30
|
|
|
export const OrderStatus = {
|
2025-12-24 21:24:59 +03:30
|
|
|
PENDING: 'PENDING',
|
2026-01-04 13:45:26 +03:30
|
|
|
REJECTED: 'REJECTED',
|
|
|
|
|
CANCELED: 'CANCELED',
|
2025-12-24 21:24:59 +03:30
|
|
|
DONE: 'DONE'
|
2025-12-09 13:59:07 +03:30
|
|
|
} as const
|
2025-12-04 21:05:57 +03:30
|
|
|
|
2025-12-09 13:59:07 +03:30
|
|
|
export type OrderStatus = (typeof OrderStatus)[keyof typeof OrderStatus]
|
2025-12-04 21:05:57 +03:30
|
|
|
|
2025-12-09 13:59:07 +03:30
|
|
|
|
|
|
|
|
export const MovementType = {
|
|
|
|
|
IN: 'IN',
|
|
|
|
|
OUT: 'OUT',
|
|
|
|
|
ADJUST: 'ADJUST'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type MovementType = (typeof MovementType)[keyof typeof MovementType]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const MovementReferenceType = {
|
|
|
|
|
PURCHASE: 'PURCHASE',
|
|
|
|
|
SALES: 'SALES',
|
2025-12-14 10:15:57 +03:30
|
|
|
ADJUSTMENT: 'ADJUSTMENT',
|
|
|
|
|
INVENTORY_TRANSFER: 'INVENTORY_TRANSFER'
|
2025-12-09 13:59:07 +03:30
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type MovementReferenceType = (typeof MovementReferenceType)[keyof typeof MovementReferenceType]
|
|
|
|
|
|
|
|
|
|
|
2025-12-26 22:09:46 +03:30
|
|
|
export const PaymentMethodType = {
|
2025-12-24 21:24:59 +03:30
|
|
|
CASH: 'CASH',
|
|
|
|
|
CARD: 'CARD',
|
|
|
|
|
BANK: 'BANK',
|
|
|
|
|
CHECK: 'CHECK',
|
|
|
|
|
OTHER: 'OTHER'
|
2025-12-09 13:59:07 +03:30
|
|
|
} as const
|
|
|
|
|
|
2025-12-26 22:09:46 +03:30
|
|
|
export type PaymentMethodType = (typeof PaymentMethodType)[keyof typeof PaymentMethodType]
|
2025-12-09 13:59:07 +03:30
|
|
|
|
|
|
|
|
|
2025-12-26 22:09:46 +03:30
|
|
|
export const LedgerSourceType = {
|
2025-12-09 13:59:07 +03:30
|
|
|
PURCHASE: 'PURCHASE',
|
2025-12-24 21:24:59 +03:30
|
|
|
PAYMENT: 'PAYMENT',
|
|
|
|
|
ADJUSTMENT: 'ADJUSTMENT',
|
|
|
|
|
REFUND: 'REFUND'
|
2025-12-09 13:59:07 +03:30
|
|
|
} as const
|
|
|
|
|
|
2025-12-26 22:09:46 +03:30
|
|
|
export type LedgerSourceType = (typeof LedgerSourceType)[keyof typeof LedgerSourceType]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const PaymentType = {
|
|
|
|
|
PAYMENT: 'PAYMENT',
|
|
|
|
|
REFUND: 'REFUND'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type PaymentType = (typeof PaymentType)[keyof typeof PaymentType]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const PurchaseReceiptStatus = {
|
|
|
|
|
UNPAID: 'UNPAID',
|
|
|
|
|
PARTIALLY_PAID: 'PARTIALLY_PAID',
|
|
|
|
|
PAID: 'PAID'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type PurchaseReceiptStatus = (typeof PurchaseReceiptStatus)[keyof typeof PurchaseReceiptStatus]
|
2026-01-04 13:45:26 +03:30
|
|
|
|
|
|
|
|
|
|
|
|
|
export const BankAccountTransactionType = {
|
|
|
|
|
DEPOSIT: 'DEPOSIT',
|
|
|
|
|
WITHDRAWAL: 'WITHDRAWAL'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type BankAccountTransactionType = (typeof BankAccountTransactionType)[keyof typeof BankAccountTransactionType]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const BankTransactionRefType = {
|
|
|
|
|
PURCHASE_PAYMENT: 'PURCHASE_PAYMENT',
|
|
|
|
|
PURCHASE_REFUND: 'PURCHASE_REFUND',
|
|
|
|
|
POS_SALE: 'POS_SALE',
|
|
|
|
|
POS_REFUND: 'POS_REFUND',
|
|
|
|
|
BANK_TRANSFER: 'BANK_TRANSFER',
|
|
|
|
|
MANUAL_ADJUSTMENT: 'MANUAL_ADJUSTMENT'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type BankTransactionRefType = (typeof BankTransactionRefType)[keyof typeof BankTransactionRefType]
|