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-05-03 16:23:17 +03:30
|
|
|
CHEQUE: 'CHEQUE',
|
2026-02-24 12:42:10 +03:30
|
|
|
SET_OFF: 'SET_OFF',
|
2026-05-03 16:23:17 +03:30
|
|
|
CASH: 'CASH',
|
|
|
|
|
TERMINAL: 'TERMINAL',
|
|
|
|
|
PAYMENT_GATEWAY: 'PAYMENT_GATEWAY',
|
2025-12-24 21:24:59 +03:30
|
|
|
CARD: 'CARD',
|
|
|
|
|
BANK: 'BANK',
|
|
|
|
|
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-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 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 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 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 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-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]
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
2026-05-24 19:40:04 +03:30
|
|
|
export const InvoiceSettlementType = {
|
|
|
|
|
CASH: 'CASH',
|
|
|
|
|
CREDIT: 'CREDIT',
|
|
|
|
|
MIXED: 'MIXED'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type InvoiceSettlementType = (typeof InvoiceSettlementType)[keyof typeof InvoiceSettlementType]
|
|
|
|
|
|
|
|
|
|
|
2026-05-03 16:23:17 +03:30
|
|
|
export const TspProviderType = {
|
2026-04-30 16:27:46 +03:30
|
|
|
NAMA: 'NAMA',
|
|
|
|
|
SUN: 'SUN'
|
|
|
|
|
} as const
|
|
|
|
|
|
2026-05-03 16:23:17 +03:30
|
|
|
export type TspProviderType = (typeof TspProviderType)[keyof typeof TspProviderType]
|
2026-04-30 16:27:46 +03:30
|
|
|
|
|
|
|
|
|
2026-05-03 16:23:17 +03:30
|
|
|
export const TspProviderResponseStatus = {
|
2026-05-01 19:43:59 +03:30
|
|
|
NOT_SEND: 'NOT_SEND',
|
2026-05-27 21:55:02 +03:30
|
|
|
QUEUED: 'QUEUED',
|
|
|
|
|
FISCAL_QUEUED: 'FISCAL_QUEUED',
|
|
|
|
|
SEND_FAILURE: 'SEND_FAILURE',
|
|
|
|
|
SUCCESS: 'SUCCESS',
|
|
|
|
|
FAILURE: 'FAILURE'
|
2026-04-30 16:27:46 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-05-03 16:23:17 +03:30
|
|
|
export type TspProviderResponseStatus = (typeof TspProviderResponseStatus)[keyof typeof TspProviderResponseStatus]
|
2026-05-01 19:43:59 +03:30
|
|
|
|
|
|
|
|
|
2026-05-03 16:23:17 +03:30
|
|
|
export const TspProviderRequestType = {
|
2026-05-05 22:42:09 +03:30
|
|
|
ORIGINAL: 'ORIGINAL',
|
|
|
|
|
CORRECTION: 'CORRECTION',
|
2026-05-01 19:43:59 +03:30
|
|
|
REVOKE: 'REVOKE',
|
2026-05-04 11:21:49 +03:30
|
|
|
RETURN: 'RETURN'
|
2026-05-01 19:43:59 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-05-03 16:23:17 +03:30
|
|
|
export type TspProviderRequestType = (typeof TspProviderRequestType)[keyof typeof TspProviderRequestType]
|
2026-05-01 19:43:59 +03:30
|
|
|
|
|
|
|
|
|
2026-05-03 16:23:17 +03:30
|
|
|
export const InvoiceTemplateType = {
|
|
|
|
|
SALE: 'SALE',
|
|
|
|
|
FX_SALE: 'FX_SALE',
|
|
|
|
|
GOLD_JEWELRY: 'GOLD_JEWELRY',
|
|
|
|
|
CONTRACT: 'CONTRACT',
|
|
|
|
|
UTILITY: 'UTILITY',
|
|
|
|
|
AIR_TICKET: 'AIR_TICKET',
|
|
|
|
|
EXPORT: 'EXPORT',
|
|
|
|
|
BILL_OF_LADING: 'BILL_OF_LADING',
|
|
|
|
|
PETROCHEMICAL: 'PETROCHEMICAL',
|
|
|
|
|
COMMODITY_EXCHANGE: 'COMMODITY_EXCHANGE',
|
|
|
|
|
INSURANCE: 'INSURANCE'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type InvoiceTemplateType = (typeof InvoiceTemplateType)[keyof typeof InvoiceTemplateType]
|