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-26 22:09:46 +03:30
|
|
|
export const PaymentMethodType = {
|
2026-02-24 12:42:10 +03:30
|
|
|
TERMINAL: 'TERMINAL',
|
2025-12-24 21:24:59 +03:30
|
|
|
CASH: 'CASH',
|
2026-02-24 12:42:10 +03:30
|
|
|
SET_OFF: 'SET_OFF',
|
2025-12-24 21:24:59 +03:30
|
|
|
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 PurchaseReceiptStatus = {
|
|
|
|
|
UNPAID: 'UNPAID',
|
|
|
|
|
PARTIALLY_PAID: 'PARTIALLY_PAID',
|
|
|
|
|
PAID: 'PAID'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type PurchaseReceiptStatus = (typeof PurchaseReceiptStatus)[keyof typeof PurchaseReceiptStatus]
|
2026-02-16 20:51:34 +03:30
|
|
|
|
|
|
|
|
|
|
|
|
|
export const SalesInvoiceType = {
|
|
|
|
|
GOOD: 'GOOD',
|
|
|
|
|
SERVICE: 'SERVICE'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceType = (typeof SalesInvoiceType)[keyof typeof SalesInvoiceType]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const UnitType = {
|
|
|
|
|
COUNT: 'COUNT',
|
|
|
|
|
GRAM: 'GRAM',
|
|
|
|
|
KILOGRAM: 'KILOGRAM',
|
2026-03-07 11:25:11 +03:30
|
|
|
MILLILITER: 'MILLILITER',
|
2026-02-16 20:51:34 +03:30
|
|
|
LITER: 'LITER',
|
|
|
|
|
METER: 'METER',
|
|
|
|
|
HOUR: 'HOUR'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type UnitType = (typeof UnitType)[keyof typeof UnitType]
|
2026-02-24 12:42:10 +03:30
|
|
|
|
|
|
|
|
|
2026-03-07 11:25:11 +03:30
|
|
|
export const GoodPricingModel = {
|
|
|
|
|
STANDARD: 'STANDARD',
|
|
|
|
|
GOLD: 'GOLD'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type GoodPricingModel = (typeof GoodPricingModel)[keyof typeof GoodPricingModel]
|
|
|
|
|
|
|
|
|
|
|
2026-02-24 12:42:10 +03:30
|
|
|
export const CustomerType = {
|
|
|
|
|
INDIVIDUAL: 'INDIVIDUAL',
|
|
|
|
|
LEGAL: 'LEGAL',
|
|
|
|
|
UNKNOWN: 'UNKNOWN'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type CustomerType = (typeof CustomerType)[keyof typeof CustomerType]
|
|
|
|
|
|
|
|
|
|
|
2026-03-07 11:25:11 +03:30
|
|
|
export const UserStatus = {
|
|
|
|
|
ACTIVE: 'ACTIVE',
|
|
|
|
|
INACTIVE: 'INACTIVE'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type UserStatus = (typeof UserStatus)[keyof typeof UserStatus]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const AccountRole = {
|
|
|
|
|
OWNER: 'OWNER',
|
|
|
|
|
OPERATOR: 'OPERATOR',
|
|
|
|
|
ACCOUNTANT: 'ACCOUNTANT'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type AccountRole = (typeof AccountRole)[keyof typeof AccountRole]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const AccountStatus = {
|
|
|
|
|
ACTIVE: 'ACTIVE',
|
|
|
|
|
SUSPENDED: 'SUSPENDED'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type AccountStatus = (typeof AccountStatus)[keyof typeof AccountStatus]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const POSStatus = {
|
|
|
|
|
ACTIVE: 'ACTIVE',
|
|
|
|
|
DISABLED: 'DISABLED'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type POSStatus = (typeof POSStatus)[keyof typeof POSStatus]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const POSRole = {
|
|
|
|
|
MANAGER: 'MANAGER',
|
|
|
|
|
OPERATOR: 'OPERATOR',
|
|
|
|
|
VIEWER: 'VIEWER'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type POSRole = (typeof POSRole)[keyof typeof POSRole]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const LicenseType = {
|
|
|
|
|
BASIC: 'BASIC',
|
|
|
|
|
PRO: 'PRO',
|
|
|
|
|
ENTERPRISE: 'ENTERPRISE'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type LicenseType = (typeof LicenseType)[keyof typeof LicenseType]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const LicenseStatus = {
|
|
|
|
|
ACTIVE: 'ACTIVE',
|
|
|
|
|
EXPIRED: 'EXPIRED',
|
|
|
|
|
SUSPENDED: 'SUSPENDED'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type LicenseStatus = (typeof LicenseStatus)[keyof typeof LicenseStatus]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const POSType = {
|
|
|
|
|
PSP: 'PSP',
|
|
|
|
|
MOBILE: 'MOBILE',
|
2026-03-14 16:26:44 +03:30
|
|
|
WEB: 'WEB',
|
2026-03-07 11:25:11 +03:30
|
|
|
API: 'API'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type POSType = (typeof POSType)[keyof typeof POSType]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const UserType = {
|
|
|
|
|
LEGAL: 'LEGAL',
|
|
|
|
|
INDIVIDUAL: 'INDIVIDUAL'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type UserType = (typeof UserType)[keyof typeof UserType]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const AccountType = {
|
|
|
|
|
PARTNER: 'PARTNER',
|
|
|
|
|
BUSINESS: 'BUSINESS',
|
2026-03-11 20:42:34 +03:30
|
|
|
SUPER_ADMIN: 'SUPER_ADMIN',
|
2026-03-07 11:25:11 +03:30
|
|
|
ADMIN: 'ADMIN',
|
|
|
|
|
PROVIDER: 'PROVIDER',
|
|
|
|
|
POS: 'POS'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type AccountType = (typeof AccountType)[keyof typeof AccountType]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const PartnerRole = {
|
|
|
|
|
ADMIN: 'ADMIN',
|
|
|
|
|
OPERATOR: 'OPERATOR'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type PartnerRole = (typeof PartnerRole)[keyof typeof PartnerRole]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const BusinessRole = {
|
|
|
|
|
ADMIN: 'ADMIN',
|
|
|
|
|
OPERATOR: 'OPERATOR'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type BusinessRole = (typeof BusinessRole)[keyof typeof BusinessRole]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const ProviderRole = {
|
|
|
|
|
ADMIN: 'ADMIN',
|
|
|
|
|
OPERATOR: 'OPERATOR'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type ProviderRole = (typeof ProviderRole)[keyof typeof ProviderRole]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const TokenType = {
|
|
|
|
|
ACCESS: 'ACCESS',
|
|
|
|
|
REFRESH: 'REFRESH'
|
2026-02-24 12:42:10 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-03-07 11:25:11 +03:30
|
|
|
export type TokenType = (typeof TokenType)[keyof typeof TokenType]
|