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 = {
|
|
|
|
|
pending: 'pending',
|
|
|
|
|
reject: 'reject',
|
|
|
|
|
done: 'done'
|
|
|
|
|
} 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 paymentMethod = {
|
|
|
|
|
cash: 'cash',
|
|
|
|
|
card: 'card'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type paymentMethod = (typeof paymentMethod)[keyof typeof paymentMethod]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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',
|
|
|
|
|
ADJUSTMENT: 'ADJUSTMENT'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type MovementReferenceType = (typeof MovementReferenceType)[keyof typeof MovementReferenceType]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const stock_cardex_type = {
|
|
|
|
|
IN: 'IN',
|
|
|
|
|
OUT: 'OUT',
|
|
|
|
|
ADJUST: 'ADJUST'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type stock_cardex_type = (typeof stock_cardex_type)[keyof typeof stock_cardex_type]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const stock_movements_view_type = {
|
|
|
|
|
IN: 'IN',
|
|
|
|
|
OUT: 'OUT',
|
|
|
|
|
ADJUST: 'ADJUST'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type stock_movements_view_type = (typeof stock_movements_view_type)[keyof typeof stock_movements_view_type]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const stock_movements_view_referenceType = {
|
|
|
|
|
PURCHASE: 'PURCHASE',
|
|
|
|
|
SALES: 'SALES',
|
|
|
|
|
ADJUSTMENT: 'ADJUSTMENT'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type stock_movements_view_referenceType = (typeof stock_movements_view_referenceType)[keyof typeof stock_movements_view_referenceType]
|