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
|
|
|
|
|
|
|
|
|
2026-02-16 20:51:34 +03:30
|
|
|
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-16 00:33:40 +03:30
|
|
|
export const POSStatus = {
|
2026-03-07 11:25:11 +03:30
|
|
|
ACTIVE: 'ACTIVE',
|
2026-03-16 00:33:40 +03:30
|
|
|
DISABLED: 'DISABLED'
|
2026-03-07 11:25:11 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-03-16 00:33:40 +03:30
|
|
|
export type POSStatus = (typeof POSStatus)[keyof typeof POSStatus]
|
2026-03-07 11:25:11 +03:30
|
|
|
|
|
|
|
|
|
2026-03-16 00:33:40 +03:30
|
|
|
export const POSRole = {
|
|
|
|
|
MANAGER: 'MANAGER',
|
|
|
|
|
OPERATOR: 'OPERATOR'
|
2026-03-07 11:25:11 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-03-16 00:33:40 +03:30
|
|
|
export type POSRole = (typeof POSRole)[keyof typeof POSRole]
|
2026-03-07 11:25:11 +03:30
|
|
|
|
|
|
|
|
|
2026-03-16 00:33:40 +03:30
|
|
|
export const ComplexRole = {
|
|
|
|
|
MANAGER: 'MANAGER',
|
|
|
|
|
OPERATOR: 'OPERATOR'
|
2026-03-07 11:25:11 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-03-16 00:33:40 +03:30
|
|
|
export type ComplexRole = (typeof ComplexRole)[keyof typeof ComplexRole]
|
2026-03-07 11:25:11 +03:30
|
|
|
|
|
|
|
|
|
2026-03-16 00:33:40 +03:30
|
|
|
export const BusinessRole = {
|
2026-03-07 11:25:11 +03:30
|
|
|
MANAGER: 'MANAGER',
|
2026-03-16 00:33:40 +03:30
|
|
|
OPERATOR: 'OPERATOR'
|
2026-03-07 11:25:11 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-03-16 00:33:40 +03:30
|
|
|
export type BusinessRole = (typeof BusinessRole)[keyof typeof BusinessRole]
|
2026-03-07 11:25:11 +03:30
|
|
|
|
|
|
|
|
|
|
|
|
|
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 = {
|
|
|
|
|
ADMIN: 'ADMIN',
|
|
|
|
|
PROVIDER: 'PROVIDER',
|
2026-03-16 00:33:40 +03:30
|
|
|
PARTNER: 'PARTNER',
|
|
|
|
|
CONSUMER: 'CONSUMER'
|
2026-03-07 11:25:11 +03:30
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type AccountType = (typeof AccountType)[keyof typeof AccountType]
|
|
|
|
|
|
|
|
|
|
|
2026-03-16 00:33:40 +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]
|
|
|
|
|
|
|
|
|
|
|
2026-03-07 11:25:11 +03:30
|
|
|
export const PartnerRole = {
|
2026-03-16 00:33:40 +03:30
|
|
|
OWNER: 'OWNER',
|
|
|
|
|
MANAGER: 'MANAGER',
|
2026-03-07 11:25:11 +03:30
|
|
|
OPERATOR: 'OPERATOR'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type PartnerRole = (typeof PartnerRole)[keyof typeof PartnerRole]
|
|
|
|
|
|
|
|
|
|
|
2026-03-16 00:33:40 +03:30
|
|
|
export const PartnerStatus = {
|
|
|
|
|
ACTIVE: 'ACTIVE',
|
|
|
|
|
SUSPENDED: 'SUSPENDED'
|
2026-03-07 11:25:11 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-03-16 00:33:40 +03:30
|
|
|
export type PartnerStatus = (typeof PartnerStatus)[keyof typeof PartnerStatus]
|
2026-03-07 11:25:11 +03:30
|
|
|
|
|
|
|
|
|
|
|
|
|
export const ProviderRole = {
|
2026-03-16 00:33:40 +03:30
|
|
|
OWNER: 'OWNER',
|
|
|
|
|
MANAGER: 'MANAGER',
|
2026-03-07 11:25:11 +03:30
|
|
|
OPERATOR: 'OPERATOR'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type ProviderRole = (typeof ProviderRole)[keyof typeof ProviderRole]
|
|
|
|
|
|
|
|
|
|
|
2026-03-16 00:33:40 +03:30
|
|
|
export const ProviderStatus = {
|
|
|
|
|
ACTIVE: 'ACTIVE',
|
|
|
|
|
SUSPENDED: 'SUSPENDED'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type ProviderStatus = (typeof ProviderStatus)[keyof typeof ProviderStatus]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const ConsumerRole = {
|
|
|
|
|
OWNER: 'OWNER',
|
|
|
|
|
MANAGER: 'MANAGER',
|
|
|
|
|
OPERATOR: 'OPERATOR'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type ConsumerRole = (typeof ConsumerRole)[keyof typeof ConsumerRole]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const ConsumerStatus = {
|
|
|
|
|
ACTIVE: 'ACTIVE',
|
|
|
|
|
SUSPENDED: 'SUSPENDED'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type ConsumerStatus = (typeof ConsumerStatus)[keyof typeof ConsumerStatus]
|
|
|
|
|
|
|
|
|
|
|
2026-03-07 11:25:11 +03:30
|
|
|
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]
|
2026-04-22 21:55:40 +03:30
|
|
|
|
|
|
|
|
|
|
|
|
|
export const ApplicationPlatform = {
|
|
|
|
|
ANDROID: 'ANDROID',
|
|
|
|
|
IOS: 'IOS'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type ApplicationPlatform = (typeof ApplicationPlatform)[keyof typeof ApplicationPlatform]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const ApplicationReleaseType = {
|
|
|
|
|
STABLE: 'STABLE',
|
|
|
|
|
BETA: 'BETA',
|
|
|
|
|
ALPHA: 'ALPHA'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type ApplicationReleaseType = (typeof ApplicationReleaseType)[keyof typeof ApplicationReleaseType]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const ApplicationPublisher = {
|
|
|
|
|
DIRECT: 'DIRECT',
|
|
|
|
|
CAFE_BAZAR: 'CAFE_BAZAR',
|
|
|
|
|
MAYKET: 'MAYKET'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type ApplicationPublisher = (typeof ApplicationPublisher)[keyof typeof ApplicationPublisher]
|
2026-04-27 10:45:39 +03:30
|
|
|
|
|
|
|
|
|
|
|
|
|
export const ConsumerType = {
|
|
|
|
|
INDIVIDUAL: 'INDIVIDUAL',
|
|
|
|
|
LEGAL: 'LEGAL'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type ConsumerType = (typeof ConsumerType)[keyof typeof ConsumerType]
|
2026-04-30 16:27:46 +03:30
|
|
|
|
|
|
|
|
|
|
|
|
|
export const PartnerFiscalSwitchType = {
|
|
|
|
|
NAMA: 'NAMA',
|
|
|
|
|
SUN: 'SUN'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type PartnerFiscalSwitchType = (typeof PartnerFiscalSwitchType)[keyof typeof PartnerFiscalSwitchType]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const FiscalResponseStatus = {
|
|
|
|
|
SUCCESS: 'SUCCESS',
|
|
|
|
|
FAILURE: 'FAILURE',
|
|
|
|
|
NOT_SEND: 'NOT_SEND'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type FiscalResponseStatus = (typeof FiscalResponseStatus)[keyof typeof FiscalResponseStatus]
|