Files
psp_api/src/generated/prisma/enums.ts
T
ahasani 807f6c2087 feat: implement purchase receipt items management with create, update, find, and delete functionalities
feat: add purchase receipts management with create, update, find, and delete functionalities

feat: implement sales invoice items management with create, update, find, and delete functionalities

feat: add sales invoices management with create, update, find, and delete functionalities

feat: implement stock adjustments management with create, update, find, and delete functionalities

feat: add stock balance retrieval functionality

feat: implement stock movements management with create, update, find, and delete functionalities
2025-12-09 13:59:07 +03:30

72 lines
1.6 KiB
TypeScript

/* !!! 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.
*/
export const OrderStatus = {
pending: 'pending',
reject: 'reject',
done: 'done'
} as const
export type OrderStatus = (typeof OrderStatus)[keyof typeof OrderStatus]
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]