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',
|
|
|
|
|
REJECT: 'REJECT',
|
|
|
|
|
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-24 21:24:59 +03:30
|
|
|
export const payment_method_type = {
|
|
|
|
|
CASH: 'CASH',
|
|
|
|
|
CARD: 'CARD',
|
|
|
|
|
BANK: 'BANK',
|
|
|
|
|
CHECK: 'CHECK',
|
|
|
|
|
OTHER: 'OTHER'
|
2025-12-09 13:59:07 +03:30
|
|
|
} as const
|
|
|
|
|
|
2025-12-24 21:24:59 +03:30
|
|
|
export type payment_method_type = (typeof payment_method_type)[keyof typeof payment_method_type]
|
2025-12-09 13:59:07 +03:30
|
|
|
|
|
|
|
|
|
2025-12-24 21:24:59 +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-24 21:24:59 +03:30
|
|
|
export type ledgerSourceType = (typeof ledgerSourceType)[keyof typeof ledgerSourceType]
|