Files
psp_api/src/generated/prisma/enums.ts
T

97 lines
2.3 KiB
TypeScript
Raw Normal View History

/* !!! 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',
REJECTED: 'REJECTED',
CANCELED: 'CANCELED',
DONE: 'DONE'
} as const
export type OrderStatus = (typeof OrderStatus)[keyof typeof OrderStatus]
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',
INVENTORY_TRANSFER: 'INVENTORY_TRANSFER'
} as const
export type MovementReferenceType = (typeof MovementReferenceType)[keyof typeof MovementReferenceType]
export const PaymentMethodType = {
CASH: 'CASH',
CARD: 'CARD',
BANK: 'BANK',
CHECK: 'CHECK',
OTHER: 'OTHER'
} as const
export type PaymentMethodType = (typeof PaymentMethodType)[keyof typeof PaymentMethodType]
export const LedgerSourceType = {
PURCHASE: 'PURCHASE',
PAYMENT: 'PAYMENT',
ADJUSTMENT: 'ADJUSTMENT',
REFUND: 'REFUND'
} as const
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]
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]