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
|
|
|
|
|
/*
|
|
|
|
|
* WARNING: This is an internal file that is subject to change!
|
|
|
|
|
*
|
|
|
|
|
* 🛑 Under no circumstances should you import this file directly! 🛑
|
|
|
|
|
*
|
|
|
|
|
* All exports from this file are wrapped under a `Prisma` namespace object in the browser.ts file.
|
|
|
|
|
* While this enables partial backward compatibility, it is not part of the stable public API.
|
|
|
|
|
*
|
|
|
|
|
* If you are looking for your Models, Enums, and Input Types, please import them from the respective
|
|
|
|
|
* model files in the `model` directory!
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import * as runtime from "@prisma/client/runtime/index-browser"
|
|
|
|
|
|
|
|
|
|
export type * from '../models.js'
|
|
|
|
|
export type * from './prismaNamespace.js'
|
|
|
|
|
|
|
|
|
|
export const Decimal = runtime.Decimal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const NullTypes = {
|
|
|
|
|
DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull),
|
|
|
|
|
JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull),
|
|
|
|
|
AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull),
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|
* Helper for filtering JSON entries that have `null` on the database (empty on the db)
|
|
|
|
|
*
|
|
|
|
|
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
|
|
|
*/
|
|
|
|
|
export const DbNull = runtime.DbNull
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
|
|
|
|
|
*
|
|
|
|
|
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
|
|
|
*/
|
|
|
|
|
export const JsonNull = runtime.JsonNull
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
|
|
|
|
|
*
|
|
|
|
|
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
|
|
|
*/
|
|
|
|
|
export const AnyNull = runtime.AnyNull
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const ModelName = {
|
2026-03-16 00:33:40 +03:30
|
|
|
AdminAccount: 'AdminAccount',
|
2026-04-11 14:47:05 +03:30
|
|
|
Admin: 'Admin',
|
2026-03-16 00:33:40 +03:30
|
|
|
Account: 'Account',
|
2026-03-07 11:25:11 +03:30
|
|
|
DeviceBrand: 'DeviceBrand',
|
|
|
|
|
Device: 'Device',
|
2026-04-24 23:02:05 +03:30
|
|
|
LicenseChargeTransaction: 'LicenseChargeTransaction',
|
2026-03-07 11:25:11 +03:30
|
|
|
License: 'License',
|
2026-04-23 20:59:39 +03:30
|
|
|
LicenseActivation: 'LicenseActivation',
|
|
|
|
|
LicenseRenewChargeTransaction: 'LicenseRenewChargeTransaction',
|
2026-04-24 23:02:05 +03:30
|
|
|
LicenseRenew: 'LicenseRenew',
|
2026-04-23 20:59:39 +03:30
|
|
|
PartnerAccountQuotaChargeTransaction: 'PartnerAccountQuotaChargeTransaction',
|
2026-04-24 23:02:05 +03:30
|
|
|
PartnerAccountQuotaCredit: 'PartnerAccountQuotaCredit',
|
|
|
|
|
LicenseAccountAllocation: 'LicenseAccountAllocation',
|
2026-03-16 00:33:40 +03:30
|
|
|
PartnerAccount: 'PartnerAccount',
|
2026-04-11 14:47:05 +03:30
|
|
|
Partner: 'Partner',
|
2026-03-16 00:33:40 +03:30
|
|
|
PermissionConsumer: 'PermissionConsumer',
|
|
|
|
|
PermissionPos: 'PermissionPos',
|
|
|
|
|
PermissionComplex: 'PermissionComplex',
|
|
|
|
|
PermissionBusiness: 'PermissionBusiness',
|
|
|
|
|
ProviderAccount: 'ProviderAccount',
|
2026-04-11 14:47:05 +03:30
|
|
|
Provider: 'Provider',
|
2026-04-22 21:55:40 +03:30
|
|
|
ConsumerDevices: 'ConsumerDevices',
|
|
|
|
|
ApplicationReleasedInfo: 'ApplicationReleasedInfo',
|
2026-04-27 22:11:05 +03:30
|
|
|
ConsumerAccount: 'ConsumerAccount',
|
|
|
|
|
Consumer: 'Consumer',
|
|
|
|
|
ConsumerIndividual: 'ConsumerIndividual',
|
|
|
|
|
ConsumerLegal: 'ConsumerLegal',
|
|
|
|
|
BusinessActivity: 'BusinessActivity',
|
|
|
|
|
Complex: 'Complex',
|
|
|
|
|
Pos: 'Pos',
|
2026-05-01 19:43:59 +03:30
|
|
|
Good: 'Good',
|
|
|
|
|
GoodCategory: 'GoodCategory',
|
2026-05-07 20:30:24 +03:30
|
|
|
Guild: 'Guild',
|
2026-05-01 19:43:59 +03:30
|
|
|
MeasureUnits: 'MeasureUnits',
|
|
|
|
|
StockKeepingUnits: 'StockKeepingUnits',
|
2026-03-07 11:25:11 +03:30
|
|
|
TriggerLog: 'TriggerLog',
|
2026-02-12 20:31:04 +03:30
|
|
|
Customer: 'Customer',
|
2026-02-24 12:42:10 +03:30
|
|
|
CustomerIndividual: 'CustomerIndividual',
|
|
|
|
|
CustomerLegal: 'CustomerLegal',
|
2026-01-04 13:45:26 +03:30
|
|
|
SalesInvoice: 'SalesInvoice',
|
|
|
|
|
SalesInvoiceItem: 'SalesInvoiceItem',
|
2026-05-03 16:23:17 +03:30
|
|
|
SaleInvoiceTspAttempts: 'SaleInvoiceTspAttempts',
|
2026-01-04 13:45:26 +03:30
|
|
|
SalesInvoicePayment: 'SalesInvoicePayment',
|
2026-04-30 16:27:46 +03:30
|
|
|
SalesInvoicePaymentTerminalInfo: 'SalesInvoicePaymentTerminalInfo',
|
2026-02-04 13:49:07 +03:30
|
|
|
Service: 'Service',
|
|
|
|
|
ServiceCategory: 'ServiceCategory'
|
2025-12-04 21:05:57 +03:30
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Enums
|
|
|
|
|
*/
|
|
|
|
|
|
2026-04-22 21:55:40 +03:30
|
|
|
export const TransactionIsolationLevel = runtime.makeStrictEnum({
|
2025-12-04 21:05:57 +03:30
|
|
|
ReadUncommitted: 'ReadUncommitted',
|
|
|
|
|
ReadCommitted: 'ReadCommitted',
|
|
|
|
|
RepeatableRead: 'RepeatableRead',
|
|
|
|
|
Serializable: 'Serializable'
|
2026-04-22 21:55:40 +03:30
|
|
|
} as const)
|
2025-12-04 21:05:57 +03:30
|
|
|
|
|
|
|
|
export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
|
|
|
|
|
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export const AdminAccountScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at',
|
|
|
|
|
admin_id: 'admin_id',
|
|
|
|
|
account_id: 'account_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type AdminAccountScalarFieldEnum = (typeof AdminAccountScalarFieldEnum)[keyof typeof AdminAccountScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-03-16 00:33:40 +03:30
|
|
|
export const AdminScalarFieldEnum = {
|
2026-03-07 11:25:11 +03:30
|
|
|
id: 'id',
|
2026-03-16 00:33:40 +03:30
|
|
|
mobile_number: 'mobile_number',
|
|
|
|
|
national_code: 'national_code',
|
|
|
|
|
first_name: 'first_name',
|
|
|
|
|
last_name: 'last_name',
|
2026-03-07 11:25:11 +03:30
|
|
|
created_at: 'created_at',
|
2026-03-16 00:33:40 +03:30
|
|
|
updated_at: 'updated_at'
|
2026-03-07 11:25:11 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-03-16 00:33:40 +03:30
|
|
|
export type AdminScalarFieldEnum = (typeof AdminScalarFieldEnum)[keyof typeof AdminScalarFieldEnum]
|
2026-03-07 11:25:11 +03:30
|
|
|
|
|
|
|
|
|
2026-03-16 00:33:40 +03:30
|
|
|
export const AccountScalarFieldEnum = {
|
2026-03-07 11:25:11 +03:30
|
|
|
id: 'id',
|
2026-03-16 00:33:40 +03:30
|
|
|
username: 'username',
|
|
|
|
|
password: 'password',
|
|
|
|
|
status: 'status',
|
|
|
|
|
type: 'type'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type AccountScalarFieldEnum = (typeof AccountScalarFieldEnum)[keyof typeof AccountScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-03-07 11:25:11 +03:30
|
|
|
export const DeviceBrandScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
name: 'name',
|
|
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type DeviceBrandScalarFieldEnum = (typeof DeviceBrandScalarFieldEnum)[keyof typeof DeviceBrandScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const DeviceScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
name: 'name',
|
|
|
|
|
os_version: 'os_version',
|
|
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at',
|
|
|
|
|
brand_id: 'brand_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type DeviceScalarFieldEnum = (typeof DeviceScalarFieldEnum)[keyof typeof DeviceScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-04-24 23:02:05 +03:30
|
|
|
export const LicenseChargeTransactionScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
activation_expires_at: 'activation_expires_at',
|
|
|
|
|
tracking_code: 'tracking_code',
|
|
|
|
|
purchased_count: 'purchased_count',
|
|
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at',
|
|
|
|
|
partner_id: 'partner_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type LicenseChargeTransactionScalarFieldEnum = (typeof LicenseChargeTransactionScalarFieldEnum)[keyof typeof LicenseChargeTransactionScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-03-07 11:25:11 +03:30
|
|
|
export const LicenseScalarFieldEnum = {
|
2026-04-16 22:19:20 +03:30
|
|
|
id: 'id',
|
2026-04-23 20:59:39 +03:30
|
|
|
accounts_limit: 'accounts_limit',
|
2026-04-16 22:19:20 +03:30
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at',
|
2026-04-23 20:59:39 +03:30
|
|
|
charge_transaction_id: 'charge_transaction_id'
|
2026-04-16 22:19:20 +03:30
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type LicenseScalarFieldEnum = (typeof LicenseScalarFieldEnum)[keyof typeof LicenseScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-04-23 20:59:39 +03:30
|
|
|
export const LicenseActivationScalarFieldEnum = {
|
2026-03-07 11:25:11 +03:30
|
|
|
id: 'id',
|
|
|
|
|
starts_at: 'starts_at',
|
|
|
|
|
expires_at: 'expires_at',
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at',
|
2026-04-16 22:19:20 +03:30
|
|
|
license_id: 'license_id',
|
2026-04-23 20:59:39 +03:30
|
|
|
business_activity_id: 'business_activity_id'
|
2026-03-07 11:25:11 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-04-23 20:59:39 +03:30
|
|
|
export type LicenseActivationScalarFieldEnum = (typeof LicenseActivationScalarFieldEnum)[keyof typeof LicenseActivationScalarFieldEnum]
|
2026-04-16 22:19:20 +03:30
|
|
|
|
|
|
|
|
|
2026-04-24 23:02:05 +03:30
|
|
|
export const LicenseRenewChargeTransactionScalarFieldEnum = {
|
2026-04-16 22:19:20 +03:30
|
|
|
id: 'id',
|
|
|
|
|
activation_expires_at: 'activation_expires_at',
|
2026-04-22 21:55:40 +03:30
|
|
|
tracking_code: 'tracking_code',
|
2026-04-23 20:59:39 +03:30
|
|
|
purchased_count: 'purchased_count',
|
2026-04-16 22:19:20 +03:30
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at',
|
|
|
|
|
partner_id: 'partner_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
2026-04-24 23:02:05 +03:30
|
|
|
export type LicenseRenewChargeTransactionScalarFieldEnum = (typeof LicenseRenewChargeTransactionScalarFieldEnum)[keyof typeof LicenseRenewChargeTransactionScalarFieldEnum]
|
2026-04-23 20:59:39 +03:30
|
|
|
|
|
|
|
|
|
|
|
|
|
export const LicenseRenewScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
expires_at: 'expires_at',
|
|
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at',
|
|
|
|
|
charge_transaction_id: 'charge_transaction_id',
|
|
|
|
|
activation_id: 'activation_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type LicenseRenewScalarFieldEnum = (typeof LicenseRenewScalarFieldEnum)[keyof typeof LicenseRenewScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-04-24 23:02:05 +03:30
|
|
|
export const PartnerAccountQuotaChargeTransactionScalarFieldEnum = {
|
2026-04-23 20:59:39 +03:30
|
|
|
id: 'id',
|
|
|
|
|
activation_expires_at: 'activation_expires_at',
|
|
|
|
|
tracking_code: 'tracking_code',
|
|
|
|
|
purchased_count: 'purchased_count',
|
|
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at',
|
|
|
|
|
partner_id: 'partner_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
2026-04-24 23:02:05 +03:30
|
|
|
export type PartnerAccountQuotaChargeTransactionScalarFieldEnum = (typeof PartnerAccountQuotaChargeTransactionScalarFieldEnum)[keyof typeof PartnerAccountQuotaChargeTransactionScalarFieldEnum]
|
2026-04-23 20:59:39 +03:30
|
|
|
|
|
|
|
|
|
2026-04-24 23:02:05 +03:30
|
|
|
export const PartnerAccountQuotaCreditScalarFieldEnum = {
|
2026-04-23 20:59:39 +03:30
|
|
|
id: 'id',
|
|
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at',
|
2026-04-25 15:16:59 +03:30
|
|
|
charge_transaction_id: 'charge_transaction_id'
|
2026-04-23 20:59:39 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-04-24 23:02:05 +03:30
|
|
|
export type PartnerAccountQuotaCreditScalarFieldEnum = (typeof PartnerAccountQuotaCreditScalarFieldEnum)[keyof typeof PartnerAccountQuotaCreditScalarFieldEnum]
|
2026-04-23 20:59:39 +03:30
|
|
|
|
|
|
|
|
|
2026-04-24 23:02:05 +03:30
|
|
|
export const LicenseAccountAllocationScalarFieldEnum = {
|
2026-04-23 20:59:39 +03:30
|
|
|
id: 'id',
|
|
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at',
|
2026-04-24 23:02:05 +03:30
|
|
|
license_activation_id: 'license_activation_id',
|
2026-04-25 15:16:59 +03:30
|
|
|
account_id: 'account_id',
|
|
|
|
|
credit_id: 'credit_id'
|
2026-04-23 20:59:39 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-04-24 23:02:05 +03:30
|
|
|
export type LicenseAccountAllocationScalarFieldEnum = (typeof LicenseAccountAllocationScalarFieldEnum)[keyof typeof LicenseAccountAllocationScalarFieldEnum]
|
2026-03-07 11:25:11 +03:30
|
|
|
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export const PartnerAccountScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
role: 'role',
|
|
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at',
|
|
|
|
|
partner_id: 'partner_id',
|
|
|
|
|
account_id: 'account_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type PartnerAccountScalarFieldEnum = (typeof PartnerAccountScalarFieldEnum)[keyof typeof PartnerAccountScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-03-07 11:25:11 +03:30
|
|
|
export const PartnerScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
name: 'name',
|
2026-03-14 16:26:44 +03:30
|
|
|
code: 'code',
|
2026-03-16 00:33:40 +03:30
|
|
|
status: 'status',
|
2026-04-24 04:27:28 +03:30
|
|
|
logo_url: 'logo_url',
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at: 'created_at',
|
2026-05-07 20:30:24 +03:30
|
|
|
updated_at: 'updated_at',
|
|
|
|
|
tsp_provider: 'tsp_provider'
|
2026-03-07 11:25:11 +03:30
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type PartnerScalarFieldEnum = (typeof PartnerScalarFieldEnum)[keyof typeof PartnerScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-03-16 00:33:40 +03:30
|
|
|
export const PermissionConsumerScalarFieldEnum = {
|
2026-03-07 11:25:11 +03:30
|
|
|
id: 'id',
|
2026-04-11 14:47:05 +03:30
|
|
|
consumer_account_id: 'consumer_account_id'
|
2026-03-16 00:33:40 +03:30
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type PermissionConsumerScalarFieldEnum = (typeof PermissionConsumerScalarFieldEnum)[keyof typeof PermissionConsumerScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const PermissionPosScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
role: 'role',
|
|
|
|
|
pos_id: 'pos_id',
|
|
|
|
|
permission_id: 'permission_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type PermissionPosScalarFieldEnum = (typeof PermissionPosScalarFieldEnum)[keyof typeof PermissionPosScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const PermissionComplexScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
role: 'role',
|
|
|
|
|
complex_id: 'complex_id',
|
|
|
|
|
permission_id: 'permission_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type PermissionComplexScalarFieldEnum = (typeof PermissionComplexScalarFieldEnum)[keyof typeof PermissionComplexScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const PermissionBusinessScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
role: 'role',
|
2026-03-07 11:25:11 +03:30
|
|
|
business_id: 'business_id',
|
2026-03-16 00:33:40 +03:30
|
|
|
permission_id: 'permission_id'
|
2026-03-07 11:25:11 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-03-16 00:33:40 +03:30
|
|
|
export type PermissionBusinessScalarFieldEnum = (typeof PermissionBusinessScalarFieldEnum)[keyof typeof PermissionBusinessScalarFieldEnum]
|
2026-03-07 11:25:11 +03:30
|
|
|
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export const ProviderAccountScalarFieldEnum = {
|
2026-03-07 11:25:11 +03:30
|
|
|
id: 'id',
|
2026-04-11 14:47:05 +03:30
|
|
|
role: 'role',
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at: 'created_at',
|
2026-04-11 14:47:05 +03:30
|
|
|
updated_at: 'updated_at',
|
|
|
|
|
provider_id: 'provider_id',
|
|
|
|
|
account_id: 'account_id'
|
2026-03-07 11:25:11 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export type ProviderAccountScalarFieldEnum = (typeof ProviderAccountScalarFieldEnum)[keyof typeof ProviderAccountScalarFieldEnum]
|
2026-03-07 11:25:11 +03:30
|
|
|
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export const ProviderScalarFieldEnum = {
|
2026-03-16 00:33:40 +03:30
|
|
|
id: 'id',
|
2026-04-11 14:47:05 +03:30
|
|
|
code: 'code',
|
|
|
|
|
status: 'status',
|
|
|
|
|
name: 'name',
|
2026-03-16 00:33:40 +03:30
|
|
|
created_at: 'created_at',
|
2026-04-11 14:47:05 +03:30
|
|
|
updated_at: 'updated_at'
|
2026-03-16 00:33:40 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export type ProviderScalarFieldEnum = (typeof ProviderScalarFieldEnum)[keyof typeof ProviderScalarFieldEnum]
|
2026-03-16 00:33:40 +03:30
|
|
|
|
|
|
|
|
|
2026-04-22 21:55:40 +03:30
|
|
|
export const ConsumerDevicesScalarFieldEnum = {
|
|
|
|
|
uuid: 'uuid',
|
2026-03-07 11:25:11 +03:30
|
|
|
app_version: 'app_version',
|
|
|
|
|
build_number: 'build_number',
|
|
|
|
|
platform: 'platform',
|
|
|
|
|
brand: 'brand',
|
|
|
|
|
model: 'model',
|
|
|
|
|
device: 'device',
|
2026-04-22 21:55:40 +03:30
|
|
|
publisher: 'publisher',
|
2026-03-07 11:25:11 +03:30
|
|
|
os_version: 'os_version',
|
|
|
|
|
sdk_version: 'sdk_version',
|
|
|
|
|
release_number: 'release_number',
|
2026-04-22 21:55:40 +03:30
|
|
|
user_agent: 'user_agent',
|
2026-03-07 11:25:11 +03:30
|
|
|
browser_name: 'browser_name',
|
2026-04-22 21:55:40 +03:30
|
|
|
fcm_token: 'fcm_token',
|
|
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at',
|
|
|
|
|
consumer_id: 'consumer_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesScalarFieldEnum = (typeof ConsumerDevicesScalarFieldEnum)[keyof typeof ConsumerDevicesScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const ApplicationReleasedInfoScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
version: 'version',
|
|
|
|
|
build_number: 'build_number',
|
|
|
|
|
is_minimum_supported: 'is_minimum_supported',
|
|
|
|
|
release_type: 'release_type',
|
|
|
|
|
platform: 'platform',
|
|
|
|
|
notes: 'notes',
|
|
|
|
|
release_date: 'release_date',
|
|
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type ApplicationReleasedInfoScalarFieldEnum = (typeof ApplicationReleasedInfoScalarFieldEnum)[keyof typeof ApplicationReleasedInfoScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-04-27 22:11:05 +03:30
|
|
|
export const ConsumerAccountScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
role: 'role',
|
|
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at',
|
|
|
|
|
consumer_id: 'consumer_id',
|
|
|
|
|
account_id: 'account_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type ConsumerAccountScalarFieldEnum = (typeof ConsumerAccountScalarFieldEnum)[keyof typeof ConsumerAccountScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const ConsumerScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
type: 'type',
|
|
|
|
|
status: 'status',
|
|
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type ConsumerScalarFieldEnum = (typeof ConsumerScalarFieldEnum)[keyof typeof ConsumerScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const ConsumerIndividualScalarFieldEnum = {
|
|
|
|
|
first_name: 'first_name',
|
|
|
|
|
last_name: 'last_name',
|
|
|
|
|
mobile_number: 'mobile_number',
|
|
|
|
|
national_code: 'national_code',
|
|
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at',
|
|
|
|
|
partner_id: 'partner_id',
|
|
|
|
|
consumer_id: 'consumer_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type ConsumerIndividualScalarFieldEnum = (typeof ConsumerIndividualScalarFieldEnum)[keyof typeof ConsumerIndividualScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const ConsumerLegalScalarFieldEnum = {
|
|
|
|
|
name: 'name',
|
|
|
|
|
registration_code: 'registration_code',
|
|
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at',
|
|
|
|
|
partner_id: 'partner_id',
|
|
|
|
|
consumer_id: 'consumer_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type ConsumerLegalScalarFieldEnum = (typeof ConsumerLegalScalarFieldEnum)[keyof typeof ConsumerLegalScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const BusinessActivityScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
economic_code: 'economic_code',
|
|
|
|
|
name: 'name',
|
|
|
|
|
fiscal_id: 'fiscal_id',
|
|
|
|
|
partner_token: 'partner_token',
|
2026-05-03 16:23:17 +03:30
|
|
|
invoice_number_sequence: 'invoice_number_sequence',
|
2026-04-27 22:11:05 +03:30
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at',
|
|
|
|
|
guild_id: 'guild_id',
|
|
|
|
|
consumer_id: 'consumer_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type BusinessActivityScalarFieldEnum = (typeof BusinessActivityScalarFieldEnum)[keyof typeof BusinessActivityScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const ComplexScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
name: 'name',
|
|
|
|
|
branch_code: 'branch_code',
|
|
|
|
|
address: 'address',
|
|
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at',
|
|
|
|
|
business_activity_id: 'business_activity_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type ComplexScalarFieldEnum = (typeof ComplexScalarFieldEnum)[keyof typeof ComplexScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const PosScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
name: 'name',
|
|
|
|
|
model: 'model',
|
|
|
|
|
serial_number: 'serial_number',
|
|
|
|
|
status: 'status',
|
|
|
|
|
pos_type: 'pos_type',
|
|
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at',
|
|
|
|
|
complex_id: 'complex_id',
|
|
|
|
|
device_id: 'device_id',
|
|
|
|
|
provider_id: 'provider_id',
|
|
|
|
|
account_id: 'account_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type PosScalarFieldEnum = (typeof PosScalarFieldEnum)[keyof typeof PosScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-05-01 19:43:59 +03:30
|
|
|
export const GoodScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
name: 'name',
|
|
|
|
|
is_default_guild_good: 'is_default_guild_good',
|
|
|
|
|
pricing_model: 'pricing_model',
|
|
|
|
|
description: 'description',
|
|
|
|
|
local_sku: 'local_sku',
|
|
|
|
|
barcode: 'barcode',
|
|
|
|
|
base_sale_price: 'base_sale_price',
|
|
|
|
|
image_url: 'image_url',
|
|
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at',
|
|
|
|
|
deleted_at: 'deleted_at',
|
|
|
|
|
sku_id: 'sku_id',
|
|
|
|
|
measure_unit_id: 'measure_unit_id',
|
|
|
|
|
category_id: 'category_id',
|
|
|
|
|
business_activity_id: 'business_activity_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type GoodScalarFieldEnum = (typeof GoodScalarFieldEnum)[keyof typeof GoodScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const GoodCategoryScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
name: 'name',
|
|
|
|
|
description: 'description',
|
|
|
|
|
image_url: 'image_url',
|
|
|
|
|
complex_id: 'complex_id',
|
|
|
|
|
is_default_guild_good: 'is_default_guild_good',
|
|
|
|
|
guild_id: 'guild_id',
|
|
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at',
|
|
|
|
|
deleted_at: 'deleted_at'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type GoodCategoryScalarFieldEnum = (typeof GoodCategoryScalarFieldEnum)[keyof typeof GoodCategoryScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-05-07 20:30:24 +03:30
|
|
|
export const GuildScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
name: 'name',
|
|
|
|
|
invoice_template: 'invoice_template',
|
|
|
|
|
code: 'code',
|
|
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type GuildScalarFieldEnum = (typeof GuildScalarFieldEnum)[keyof typeof GuildScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-05-01 19:43:59 +03:30
|
|
|
export const MeasureUnitsScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
code: 'code',
|
|
|
|
|
name: 'name',
|
|
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type MeasureUnitsScalarFieldEnum = (typeof MeasureUnitsScalarFieldEnum)[keyof typeof MeasureUnitsScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const StockKeepingUnitsScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
code: 'code',
|
|
|
|
|
name: 'name',
|
|
|
|
|
VAT: 'VAT',
|
|
|
|
|
is_public: 'is_public',
|
|
|
|
|
is_domestic: 'is_domestic',
|
2026-05-07 20:30:24 +03:30
|
|
|
guild_id: 'guild_id',
|
2026-05-01 19:43:59 +03:30
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type StockKeepingUnitsScalarFieldEnum = (typeof StockKeepingUnitsScalarFieldEnum)[keyof typeof StockKeepingUnitsScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-04-22 21:55:40 +03:30
|
|
|
export const TriggerLogScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
message: 'message',
|
|
|
|
|
createdAt: 'createdAt',
|
|
|
|
|
name: 'name'
|
2026-03-07 11:25:11 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-04-22 21:55:40 +03:30
|
|
|
export type TriggerLogScalarFieldEnum = (typeof TriggerLogScalarFieldEnum)[keyof typeof TriggerLogScalarFieldEnum]
|
2026-03-07 11:25:11 +03:30
|
|
|
|
|
|
|
|
|
2026-02-12 20:31:04 +03:30
|
|
|
export const CustomerScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
2026-03-29 18:06:41 +03:30
|
|
|
is_favorite: 'is_favorite',
|
2026-04-27 10:45:39 +03:30
|
|
|
type: 'type',
|
2026-02-12 20:31:04 +03:30
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at',
|
2026-04-27 10:45:39 +03:30
|
|
|
deleted_at: 'deleted_at'
|
2026-02-12 20:31:04 +03:30
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type CustomerScalarFieldEnum = (typeof CustomerScalarFieldEnum)[keyof typeof CustomerScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-02-24 12:42:10 +03:30
|
|
|
export const CustomerIndividualScalarFieldEnum = {
|
|
|
|
|
first_name: 'first_name',
|
|
|
|
|
last_name: 'last_name',
|
|
|
|
|
national_id: 'national_id',
|
2026-04-27 10:45:39 +03:30
|
|
|
mobile_number: 'mobile_number',
|
2026-02-24 12:42:10 +03:30
|
|
|
postal_code: 'postal_code',
|
|
|
|
|
economic_code: 'economic_code',
|
2026-04-08 18:15:44 +03:30
|
|
|
customer_id: 'customer_id',
|
2026-04-27 10:45:39 +03:30
|
|
|
business_activity_id: 'business_activity_id'
|
2026-02-24 12:42:10 +03:30
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type CustomerIndividualScalarFieldEnum = (typeof CustomerIndividualScalarFieldEnum)[keyof typeof CustomerIndividualScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const CustomerLegalScalarFieldEnum = {
|
2026-05-01 19:43:59 +03:30
|
|
|
name: 'name',
|
2026-02-24 12:42:10 +03:30
|
|
|
economic_code: 'economic_code',
|
|
|
|
|
registration_number: 'registration_number',
|
|
|
|
|
postal_code: 'postal_code',
|
2026-04-08 18:15:44 +03:30
|
|
|
customer_id: 'customer_id',
|
2026-04-27 10:45:39 +03:30
|
|
|
business_activity_id: 'business_activity_id'
|
2026-02-24 12:42:10 +03:30
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type CustomerLegalScalarFieldEnum = (typeof CustomerLegalScalarFieldEnum)[keyof typeof CustomerLegalScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-01-04 13:45:26 +03:30
|
|
|
export const SalesInvoiceScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
code: 'code',
|
2026-02-12 20:31:04 +03:30
|
|
|
total_amount: 'total_amount',
|
2026-04-27 22:11:05 +03:30
|
|
|
invoice_number: 'invoice_number',
|
|
|
|
|
invoice_date: 'invoice_date',
|
2026-05-05 22:42:09 +03:30
|
|
|
type: 'type',
|
|
|
|
|
tax_id: 'tax_id',
|
2026-02-24 12:42:10 +03:30
|
|
|
notes: 'notes',
|
|
|
|
|
unknown_customer: 'unknown_customer',
|
2026-02-12 20:31:04 +03:30
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at',
|
2026-05-05 22:42:09 +03:30
|
|
|
main_id: 'main_id',
|
|
|
|
|
ref_id: 'ref_id',
|
2026-02-12 20:31:04 +03:30
|
|
|
customer_id: 'customer_id',
|
2026-04-27 22:11:05 +03:30
|
|
|
consumer_account_id: 'consumer_account_id',
|
2026-03-29 18:06:41 +03:30
|
|
|
pos_id: 'pos_id'
|
2026-01-04 13:45:26 +03:30
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceScalarFieldEnum = (typeof SalesInvoiceScalarFieldEnum)[keyof typeof SalesInvoiceScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const SalesInvoiceItemScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
2026-02-16 20:51:34 +03:30
|
|
|
quantity: 'quantity',
|
2026-05-01 19:43:59 +03:30
|
|
|
measure_unit_text: 'measure_unit_text',
|
|
|
|
|
measure_unit_code: 'measure_unit_code',
|
|
|
|
|
sku_code: 'sku_code',
|
|
|
|
|
sku_vat: 'sku_vat',
|
2026-02-12 20:31:04 +03:30
|
|
|
unit_price: 'unit_price',
|
|
|
|
|
total_amount: 'total_amount',
|
|
|
|
|
created_at: 'created_at',
|
2026-02-24 12:42:10 +03:30
|
|
|
discount: 'discount',
|
|
|
|
|
notes: 'notes',
|
2026-04-27 22:11:05 +03:30
|
|
|
payload: 'payload',
|
|
|
|
|
good_snapshot: 'good_snapshot',
|
2026-02-12 20:31:04 +03:30
|
|
|
invoice_id: 'invoice_id',
|
|
|
|
|
good_id: 'good_id',
|
2026-04-27 22:11:05 +03:30
|
|
|
service_id: 'service_id'
|
2026-01-04 13:45:26 +03:30
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceItemScalarFieldEnum = (typeof SalesInvoiceItemScalarFieldEnum)[keyof typeof SalesInvoiceItemScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-05-03 16:23:17 +03:30
|
|
|
export const SaleInvoiceTspAttemptsScalarFieldEnum = {
|
2026-04-27 22:11:05 +03:30
|
|
|
id: 'id',
|
|
|
|
|
attempt_no: 'attempt_no',
|
|
|
|
|
status: 'status',
|
|
|
|
|
request_payload: 'request_payload',
|
|
|
|
|
response_payload: 'response_payload',
|
2026-05-05 22:42:09 +03:30
|
|
|
message: 'message',
|
2026-04-27 22:11:05 +03:30
|
|
|
sent_at: 'sent_at',
|
|
|
|
|
received_at: 'received_at',
|
|
|
|
|
created_at: 'created_at',
|
2026-05-03 16:23:17 +03:30
|
|
|
invoice_id: 'invoice_id'
|
2026-04-27 22:11:05 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-05-03 16:23:17 +03:30
|
|
|
export type SaleInvoiceTspAttemptsScalarFieldEnum = (typeof SaleInvoiceTspAttemptsScalarFieldEnum)[keyof typeof SaleInvoiceTspAttemptsScalarFieldEnum]
|
2026-04-27 22:11:05 +03:30
|
|
|
|
|
|
|
|
|
2026-01-04 13:45:26 +03:30
|
|
|
export const SalesInvoicePaymentScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
amount: 'amount',
|
2026-02-12 20:31:04 +03:30
|
|
|
payment_method: 'payment_method',
|
|
|
|
|
paid_at: 'paid_at',
|
2026-04-27 22:11:05 +03:30
|
|
|
created_at: 'created_at',
|
|
|
|
|
invoice_id: 'invoice_id'
|
2026-01-04 13:45:26 +03:30
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type SalesInvoicePaymentScalarFieldEnum = (typeof SalesInvoicePaymentScalarFieldEnum)[keyof typeof SalesInvoicePaymentScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-04-30 16:27:46 +03:30
|
|
|
export const SalesInvoicePaymentTerminalInfoScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
terminal_id: 'terminal_id',
|
|
|
|
|
stan: 'stan',
|
|
|
|
|
rrn: 'rrn',
|
|
|
|
|
transaction_date_time: 'transaction_date_time',
|
|
|
|
|
customer_card_no: 'customer_card_no',
|
|
|
|
|
description: 'description',
|
|
|
|
|
created_at: 'created_at',
|
|
|
|
|
payment_id: 'payment_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type SalesInvoicePaymentTerminalInfoScalarFieldEnum = (typeof SalesInvoicePaymentTerminalInfoScalarFieldEnum)[keyof typeof SalesInvoicePaymentTerminalInfoScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-02-04 13:49:07 +03:30
|
|
|
export const ServiceScalarFieldEnum = {
|
2025-12-09 13:59:07 +03:30
|
|
|
id: 'id',
|
2026-02-04 13:49:07 +03:30
|
|
|
name: 'name',
|
|
|
|
|
description: 'description',
|
|
|
|
|
sku: 'sku',
|
2026-02-12 20:31:04 +03:30
|
|
|
local_sku: 'local_sku',
|
2026-02-04 13:49:07 +03:30
|
|
|
barcode: 'barcode',
|
2026-02-12 20:31:04 +03:30
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at',
|
|
|
|
|
deleted_at: 'deleted_at',
|
|
|
|
|
category_id: 'category_id',
|
|
|
|
|
base_sale_price: 'base_sale_price',
|
|
|
|
|
account_id: 'account_id',
|
|
|
|
|
complex_id: 'complex_id'
|
2026-01-04 13:45:26 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-02-04 13:49:07 +03:30
|
|
|
export type ServiceScalarFieldEnum = (typeof ServiceScalarFieldEnum)[keyof typeof ServiceScalarFieldEnum]
|
2026-01-04 13:45:26 +03:30
|
|
|
|
|
|
|
|
|
2026-02-04 13:49:07 +03:30
|
|
|
export const ServiceCategoryScalarFieldEnum = {
|
2025-12-26 22:09:46 +03:30
|
|
|
id: 'id',
|
2026-02-04 13:49:07 +03:30
|
|
|
name: 'name',
|
|
|
|
|
description: 'description',
|
2026-02-12 20:31:04 +03:30
|
|
|
image_url: 'image_url',
|
|
|
|
|
account_id: 'account_id',
|
|
|
|
|
complex_id: 'complex_id',
|
|
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at',
|
|
|
|
|
deleted_at: 'deleted_at'
|
2025-12-26 22:09:46 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-02-04 13:49:07 +03:30
|
|
|
export type ServiceCategoryScalarFieldEnum = (typeof ServiceCategoryScalarFieldEnum)[keyof typeof ServiceCategoryScalarFieldEnum]
|
2026-01-07 15:25:59 +03:30
|
|
|
|
|
|
|
|
|
2025-12-04 21:05:57 +03:30
|
|
|
export const SortOrder = {
|
|
|
|
|
asc: 'asc',
|
|
|
|
|
desc: 'desc'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]
|
|
|
|
|
|
|
|
|
|
|
2026-02-16 20:51:34 +03:30
|
|
|
export const NullableJsonNullValueInput = {
|
2026-04-22 21:55:40 +03:30
|
|
|
DbNull: DbNull,
|
|
|
|
|
JsonNull: JsonNull
|
2026-02-16 20:51:34 +03:30
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput]
|
|
|
|
|
|
|
|
|
|
|
2026-05-03 16:23:17 +03:30
|
|
|
export const JsonNullValueInput = {
|
|
|
|
|
JsonNull: JsonNull
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type JsonNullValueInput = (typeof JsonNullValueInput)[keyof typeof JsonNullValueInput]
|
|
|
|
|
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export const AdminAccountOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
admin_id: 'admin_id',
|
|
|
|
|
account_id: 'account_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type AdminAccountOrderByRelevanceFieldEnum = (typeof AdminAccountOrderByRelevanceFieldEnum)[keyof typeof AdminAccountOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-03-16 00:33:40 +03:30
|
|
|
export const NullsOrder = {
|
|
|
|
|
first: 'first',
|
|
|
|
|
last: 'last'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const AdminOrderByRelevanceFieldEnum = {
|
2026-03-07 11:25:11 +03:30
|
|
|
id: 'id',
|
2026-03-16 00:33:40 +03:30
|
|
|
mobile_number: 'mobile_number',
|
|
|
|
|
national_code: 'national_code',
|
|
|
|
|
first_name: 'first_name',
|
|
|
|
|
last_name: 'last_name'
|
2026-03-07 11:25:11 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-03-16 00:33:40 +03:30
|
|
|
export type AdminOrderByRelevanceFieldEnum = (typeof AdminOrderByRelevanceFieldEnum)[keyof typeof AdminOrderByRelevanceFieldEnum]
|
2026-03-07 11:25:11 +03:30
|
|
|
|
|
|
|
|
|
2026-03-16 00:33:40 +03:30
|
|
|
export const AccountOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
username: 'username',
|
|
|
|
|
password: 'password'
|
2025-12-09 13:59:07 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-03-16 00:33:40 +03:30
|
|
|
export type AccountOrderByRelevanceFieldEnum = (typeof AccountOrderByRelevanceFieldEnum)[keyof typeof AccountOrderByRelevanceFieldEnum]
|
2025-12-09 13:59:07 +03:30
|
|
|
|
|
|
|
|
|
2026-03-07 11:25:11 +03:30
|
|
|
export const DeviceBrandOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
name: 'name'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type DeviceBrandOrderByRelevanceFieldEnum = (typeof DeviceBrandOrderByRelevanceFieldEnum)[keyof typeof DeviceBrandOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const DeviceOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
name: 'name',
|
|
|
|
|
os_version: 'os_version',
|
|
|
|
|
brand_id: 'brand_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type DeviceOrderByRelevanceFieldEnum = (typeof DeviceOrderByRelevanceFieldEnum)[keyof typeof DeviceOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-04-24 23:02:05 +03:30
|
|
|
export const LicenseChargeTransactionOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
tracking_code: 'tracking_code',
|
|
|
|
|
partner_id: 'partner_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type LicenseChargeTransactionOrderByRelevanceFieldEnum = (typeof LicenseChargeTransactionOrderByRelevanceFieldEnum)[keyof typeof LicenseChargeTransactionOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-03-07 11:25:11 +03:30
|
|
|
export const LicenseOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
2026-04-23 20:59:39 +03:30
|
|
|
charge_transaction_id: 'charge_transaction_id'
|
2026-03-07 11:25:11 +03:30
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type LicenseOrderByRelevanceFieldEnum = (typeof LicenseOrderByRelevanceFieldEnum)[keyof typeof LicenseOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-04-23 20:59:39 +03:30
|
|
|
export const LicenseActivationOrderByRelevanceFieldEnum = {
|
2026-04-16 22:19:20 +03:30
|
|
|
id: 'id',
|
|
|
|
|
license_id: 'license_id',
|
2026-04-23 20:59:39 +03:30
|
|
|
business_activity_id: 'business_activity_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type LicenseActivationOrderByRelevanceFieldEnum = (typeof LicenseActivationOrderByRelevanceFieldEnum)[keyof typeof LicenseActivationOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-04-24 23:02:05 +03:30
|
|
|
export const LicenseRenewChargeTransactionOrderByRelevanceFieldEnum = {
|
2026-04-23 20:59:39 +03:30
|
|
|
id: 'id',
|
|
|
|
|
tracking_code: 'tracking_code',
|
|
|
|
|
partner_id: 'partner_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
2026-04-24 23:02:05 +03:30
|
|
|
export type LicenseRenewChargeTransactionOrderByRelevanceFieldEnum = (typeof LicenseRenewChargeTransactionOrderByRelevanceFieldEnum)[keyof typeof LicenseRenewChargeTransactionOrderByRelevanceFieldEnum]
|
2026-04-23 20:59:39 +03:30
|
|
|
|
|
|
|
|
|
|
|
|
|
export const LicenseRenewOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
charge_transaction_id: 'charge_transaction_id',
|
|
|
|
|
activation_id: 'activation_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type LicenseRenewOrderByRelevanceFieldEnum = (typeof LicenseRenewOrderByRelevanceFieldEnum)[keyof typeof LicenseRenewOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-04-24 23:02:05 +03:30
|
|
|
export const PartnerAccountQuotaChargeTransactionOrderByRelevanceFieldEnum = {
|
2026-04-23 20:59:39 +03:30
|
|
|
id: 'id',
|
|
|
|
|
tracking_code: 'tracking_code',
|
|
|
|
|
partner_id: 'partner_id'
|
2026-04-16 22:19:20 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-04-24 23:02:05 +03:30
|
|
|
export type PartnerAccountQuotaChargeTransactionOrderByRelevanceFieldEnum = (typeof PartnerAccountQuotaChargeTransactionOrderByRelevanceFieldEnum)[keyof typeof PartnerAccountQuotaChargeTransactionOrderByRelevanceFieldEnum]
|
2026-04-16 22:19:20 +03:30
|
|
|
|
|
|
|
|
|
2026-04-24 23:02:05 +03:30
|
|
|
export const PartnerAccountQuotaCreditOrderByRelevanceFieldEnum = {
|
2026-04-16 22:19:20 +03:30
|
|
|
id: 'id',
|
2026-04-25 15:16:59 +03:30
|
|
|
charge_transaction_id: 'charge_transaction_id'
|
2026-04-16 22:19:20 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-04-24 23:02:05 +03:30
|
|
|
export type PartnerAccountQuotaCreditOrderByRelevanceFieldEnum = (typeof PartnerAccountQuotaCreditOrderByRelevanceFieldEnum)[keyof typeof PartnerAccountQuotaCreditOrderByRelevanceFieldEnum]
|
2026-04-23 20:59:39 +03:30
|
|
|
|
|
|
|
|
|
2026-04-24 23:02:05 +03:30
|
|
|
export const LicenseAccountAllocationOrderByRelevanceFieldEnum = {
|
2026-04-23 20:59:39 +03:30
|
|
|
id: 'id',
|
2026-04-24 23:02:05 +03:30
|
|
|
license_activation_id: 'license_activation_id',
|
2026-04-25 15:16:59 +03:30
|
|
|
account_id: 'account_id',
|
|
|
|
|
credit_id: 'credit_id'
|
2026-04-23 20:59:39 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-04-24 23:02:05 +03:30
|
|
|
export type LicenseAccountAllocationOrderByRelevanceFieldEnum = (typeof LicenseAccountAllocationOrderByRelevanceFieldEnum)[keyof typeof LicenseAccountAllocationOrderByRelevanceFieldEnum]
|
2026-04-16 22:19:20 +03:30
|
|
|
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export const PartnerAccountOrderByRelevanceFieldEnum = {
|
2026-03-07 11:25:11 +03:30
|
|
|
id: 'id',
|
2026-04-11 14:47:05 +03:30
|
|
|
partner_id: 'partner_id',
|
|
|
|
|
account_id: 'account_id'
|
2026-03-07 11:25:11 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export type PartnerAccountOrderByRelevanceFieldEnum = (typeof PartnerAccountOrderByRelevanceFieldEnum)[keyof typeof PartnerAccountOrderByRelevanceFieldEnum]
|
2026-03-07 11:25:11 +03:30
|
|
|
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export const PartnerOrderByRelevanceFieldEnum = {
|
2026-03-07 11:25:11 +03:30
|
|
|
id: 'id',
|
2026-04-11 14:47:05 +03:30
|
|
|
name: 'name',
|
2026-04-24 04:27:28 +03:30
|
|
|
code: 'code',
|
|
|
|
|
logo_url: 'logo_url'
|
2026-03-07 11:25:11 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export type PartnerOrderByRelevanceFieldEnum = (typeof PartnerOrderByRelevanceFieldEnum)[keyof typeof PartnerOrderByRelevanceFieldEnum]
|
2026-03-07 11:25:11 +03:30
|
|
|
|
|
|
|
|
|
2026-03-16 00:33:40 +03:30
|
|
|
export const PermissionConsumerOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
2026-04-11 14:47:05 +03:30
|
|
|
consumer_account_id: 'consumer_account_id'
|
2026-03-16 00:33:40 +03:30
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type PermissionConsumerOrderByRelevanceFieldEnum = (typeof PermissionConsumerOrderByRelevanceFieldEnum)[keyof typeof PermissionConsumerOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const PermissionPosOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
pos_id: 'pos_id',
|
|
|
|
|
permission_id: 'permission_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type PermissionPosOrderByRelevanceFieldEnum = (typeof PermissionPosOrderByRelevanceFieldEnum)[keyof typeof PermissionPosOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const PermissionComplexOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
complex_id: 'complex_id',
|
|
|
|
|
permission_id: 'permission_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type PermissionComplexOrderByRelevanceFieldEnum = (typeof PermissionComplexOrderByRelevanceFieldEnum)[keyof typeof PermissionComplexOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const PermissionBusinessOrderByRelevanceFieldEnum = {
|
2026-03-07 11:25:11 +03:30
|
|
|
id: 'id',
|
|
|
|
|
business_id: 'business_id',
|
2026-03-16 00:33:40 +03:30
|
|
|
permission_id: 'permission_id'
|
2026-03-07 11:25:11 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-03-16 00:33:40 +03:30
|
|
|
export type PermissionBusinessOrderByRelevanceFieldEnum = (typeof PermissionBusinessOrderByRelevanceFieldEnum)[keyof typeof PermissionBusinessOrderByRelevanceFieldEnum]
|
2026-03-07 11:25:11 +03:30
|
|
|
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export const ProviderAccountOrderByRelevanceFieldEnum = {
|
2026-03-07 11:25:11 +03:30
|
|
|
id: 'id',
|
2026-04-11 14:47:05 +03:30
|
|
|
provider_id: 'provider_id',
|
|
|
|
|
account_id: 'account_id'
|
2026-03-07 11:25:11 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export type ProviderAccountOrderByRelevanceFieldEnum = (typeof ProviderAccountOrderByRelevanceFieldEnum)[keyof typeof ProviderAccountOrderByRelevanceFieldEnum]
|
2026-03-07 11:25:11 +03:30
|
|
|
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export const ProviderOrderByRelevanceFieldEnum = {
|
2026-03-16 00:33:40 +03:30
|
|
|
id: 'id',
|
2026-04-11 14:47:05 +03:30
|
|
|
code: 'code',
|
|
|
|
|
name: 'name'
|
2026-03-16 00:33:40 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-04-11 14:47:05 +03:30
|
|
|
export type ProviderOrderByRelevanceFieldEnum = (typeof ProviderOrderByRelevanceFieldEnum)[keyof typeof ProviderOrderByRelevanceFieldEnum]
|
2026-03-16 00:33:40 +03:30
|
|
|
|
|
|
|
|
|
2026-04-22 21:55:40 +03:30
|
|
|
export const ConsumerDevicesOrderByRelevanceFieldEnum = {
|
|
|
|
|
uuid: 'uuid',
|
2026-03-07 11:25:11 +03:30
|
|
|
app_version: 'app_version',
|
|
|
|
|
build_number: 'build_number',
|
|
|
|
|
platform: 'platform',
|
|
|
|
|
brand: 'brand',
|
|
|
|
|
model: 'model',
|
|
|
|
|
device: 'device',
|
|
|
|
|
os_version: 'os_version',
|
|
|
|
|
sdk_version: 'sdk_version',
|
|
|
|
|
release_number: 'release_number',
|
2026-04-22 21:55:40 +03:30
|
|
|
user_agent: 'user_agent',
|
2026-03-07 11:25:11 +03:30
|
|
|
browser_name: 'browser_name',
|
2026-04-22 21:55:40 +03:30
|
|
|
fcm_token: 'fcm_token',
|
|
|
|
|
consumer_id: 'consumer_id'
|
2026-03-07 11:25:11 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-04-22 21:55:40 +03:30
|
|
|
export type ConsumerDevicesOrderByRelevanceFieldEnum = (typeof ConsumerDevicesOrderByRelevanceFieldEnum)[keyof typeof ConsumerDevicesOrderByRelevanceFieldEnum]
|
2026-03-07 11:25:11 +03:30
|
|
|
|
|
|
|
|
|
2026-04-08 18:15:44 +03:30
|
|
|
export const JsonNullValueFilter = {
|
2026-04-22 21:55:40 +03:30
|
|
|
DbNull: DbNull,
|
|
|
|
|
JsonNull: JsonNull,
|
|
|
|
|
AnyNull: AnyNull
|
2026-04-08 18:15:44 +03:30
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const QueryMode = {
|
|
|
|
|
default: 'default',
|
|
|
|
|
insensitive: 'insensitive'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]
|
|
|
|
|
|
|
|
|
|
|
2026-04-22 21:55:40 +03:30
|
|
|
export const ApplicationReleasedInfoOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
version: 'version',
|
|
|
|
|
build_number: 'build_number'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type ApplicationReleasedInfoOrderByRelevanceFieldEnum = (typeof ApplicationReleasedInfoOrderByRelevanceFieldEnum)[keyof typeof ApplicationReleasedInfoOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-04-27 22:11:05 +03:30
|
|
|
export const ConsumerAccountOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
consumer_id: 'consumer_id',
|
|
|
|
|
account_id: 'account_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type ConsumerAccountOrderByRelevanceFieldEnum = (typeof ConsumerAccountOrderByRelevanceFieldEnum)[keyof typeof ConsumerAccountOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const ConsumerOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type ConsumerOrderByRelevanceFieldEnum = (typeof ConsumerOrderByRelevanceFieldEnum)[keyof typeof ConsumerOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const ConsumerIndividualOrderByRelevanceFieldEnum = {
|
|
|
|
|
first_name: 'first_name',
|
|
|
|
|
last_name: 'last_name',
|
|
|
|
|
mobile_number: 'mobile_number',
|
|
|
|
|
national_code: 'national_code',
|
|
|
|
|
partner_id: 'partner_id',
|
|
|
|
|
consumer_id: 'consumer_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type ConsumerIndividualOrderByRelevanceFieldEnum = (typeof ConsumerIndividualOrderByRelevanceFieldEnum)[keyof typeof ConsumerIndividualOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const ConsumerLegalOrderByRelevanceFieldEnum = {
|
|
|
|
|
name: 'name',
|
|
|
|
|
registration_code: 'registration_code',
|
|
|
|
|
partner_id: 'partner_id',
|
|
|
|
|
consumer_id: 'consumer_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type ConsumerLegalOrderByRelevanceFieldEnum = (typeof ConsumerLegalOrderByRelevanceFieldEnum)[keyof typeof ConsumerLegalOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const BusinessActivityOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
economic_code: 'economic_code',
|
|
|
|
|
name: 'name',
|
|
|
|
|
fiscal_id: 'fiscal_id',
|
|
|
|
|
partner_token: 'partner_token',
|
|
|
|
|
guild_id: 'guild_id',
|
|
|
|
|
consumer_id: 'consumer_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type BusinessActivityOrderByRelevanceFieldEnum = (typeof BusinessActivityOrderByRelevanceFieldEnum)[keyof typeof BusinessActivityOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const ComplexOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
name: 'name',
|
|
|
|
|
branch_code: 'branch_code',
|
|
|
|
|
address: 'address',
|
|
|
|
|
business_activity_id: 'business_activity_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type ComplexOrderByRelevanceFieldEnum = (typeof ComplexOrderByRelevanceFieldEnum)[keyof typeof ComplexOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const PosOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
name: 'name',
|
|
|
|
|
model: 'model',
|
|
|
|
|
serial_number: 'serial_number',
|
|
|
|
|
complex_id: 'complex_id',
|
|
|
|
|
device_id: 'device_id',
|
|
|
|
|
provider_id: 'provider_id',
|
|
|
|
|
account_id: 'account_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type PosOrderByRelevanceFieldEnum = (typeof PosOrderByRelevanceFieldEnum)[keyof typeof PosOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-05-01 19:43:59 +03:30
|
|
|
export const GoodOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
name: 'name',
|
|
|
|
|
description: 'description',
|
|
|
|
|
local_sku: 'local_sku',
|
|
|
|
|
barcode: 'barcode',
|
|
|
|
|
image_url: 'image_url',
|
|
|
|
|
sku_id: 'sku_id',
|
|
|
|
|
measure_unit_id: 'measure_unit_id',
|
|
|
|
|
category_id: 'category_id',
|
|
|
|
|
business_activity_id: 'business_activity_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type GoodOrderByRelevanceFieldEnum = (typeof GoodOrderByRelevanceFieldEnum)[keyof typeof GoodOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const GoodCategoryOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
name: 'name',
|
|
|
|
|
description: 'description',
|
|
|
|
|
image_url: 'image_url',
|
|
|
|
|
complex_id: 'complex_id',
|
|
|
|
|
guild_id: 'guild_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type GoodCategoryOrderByRelevanceFieldEnum = (typeof GoodCategoryOrderByRelevanceFieldEnum)[keyof typeof GoodCategoryOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-05-07 20:30:24 +03:30
|
|
|
export const GuildOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
name: 'name',
|
|
|
|
|
code: 'code'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type GuildOrderByRelevanceFieldEnum = (typeof GuildOrderByRelevanceFieldEnum)[keyof typeof GuildOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-05-01 19:43:59 +03:30
|
|
|
export const MeasureUnitsOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
code: 'code',
|
|
|
|
|
name: 'name'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type MeasureUnitsOrderByRelevanceFieldEnum = (typeof MeasureUnitsOrderByRelevanceFieldEnum)[keyof typeof MeasureUnitsOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const StockKeepingUnitsOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
code: 'code',
|
2026-05-07 20:30:24 +03:30
|
|
|
name: 'name',
|
|
|
|
|
guild_id: 'guild_id'
|
2026-05-01 19:43:59 +03:30
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type StockKeepingUnitsOrderByRelevanceFieldEnum = (typeof StockKeepingUnitsOrderByRelevanceFieldEnum)[keyof typeof StockKeepingUnitsOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-04-22 21:55:40 +03:30
|
|
|
export const TriggerLogOrderByRelevanceFieldEnum = {
|
|
|
|
|
message: 'message',
|
|
|
|
|
name: 'name'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type TriggerLogOrderByRelevanceFieldEnum = (typeof TriggerLogOrderByRelevanceFieldEnum)[keyof typeof TriggerLogOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-02-12 20:31:04 +03:30
|
|
|
export const CustomerOrderByRelevanceFieldEnum = {
|
2026-03-29 18:06:41 +03:30
|
|
|
id: 'id'
|
2026-02-24 12:42:10 +03:30
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type CustomerOrderByRelevanceFieldEnum = (typeof CustomerOrderByRelevanceFieldEnum)[keyof typeof CustomerOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const CustomerIndividualOrderByRelevanceFieldEnum = {
|
2026-02-12 20:31:04 +03:30
|
|
|
first_name: 'first_name',
|
|
|
|
|
last_name: 'last_name',
|
2026-02-24 12:42:10 +03:30
|
|
|
national_id: 'national_id',
|
2026-04-27 10:45:39 +03:30
|
|
|
mobile_number: 'mobile_number',
|
2026-02-24 12:42:10 +03:30
|
|
|
postal_code: 'postal_code',
|
|
|
|
|
economic_code: 'economic_code',
|
2026-04-08 18:15:44 +03:30
|
|
|
customer_id: 'customer_id',
|
2026-04-27 10:45:39 +03:30
|
|
|
business_activity_id: 'business_activity_id'
|
2026-02-12 20:31:04 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-02-24 12:42:10 +03:30
|
|
|
export type CustomerIndividualOrderByRelevanceFieldEnum = (typeof CustomerIndividualOrderByRelevanceFieldEnum)[keyof typeof CustomerIndividualOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const CustomerLegalOrderByRelevanceFieldEnum = {
|
2026-05-01 19:43:59 +03:30
|
|
|
name: 'name',
|
2026-02-24 12:42:10 +03:30
|
|
|
economic_code: 'economic_code',
|
|
|
|
|
registration_number: 'registration_number',
|
|
|
|
|
postal_code: 'postal_code',
|
2026-04-08 18:15:44 +03:30
|
|
|
customer_id: 'customer_id',
|
2026-04-27 10:45:39 +03:30
|
|
|
business_activity_id: 'business_activity_id'
|
2026-02-24 12:42:10 +03:30
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type CustomerLegalOrderByRelevanceFieldEnum = (typeof CustomerLegalOrderByRelevanceFieldEnum)[keyof typeof CustomerLegalOrderByRelevanceFieldEnum]
|
2026-02-12 20:31:04 +03:30
|
|
|
|
|
|
|
|
|
2026-02-24 12:42:10 +03:30
|
|
|
export const SalesInvoiceOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
code: 'code',
|
2026-05-05 22:42:09 +03:30
|
|
|
tax_id: 'tax_id',
|
2026-02-24 12:42:10 +03:30
|
|
|
notes: 'notes',
|
2026-05-05 22:42:09 +03:30
|
|
|
main_id: 'main_id',
|
|
|
|
|
ref_id: 'ref_id',
|
2026-02-24 12:42:10 +03:30
|
|
|
customer_id: 'customer_id',
|
2026-04-27 22:11:05 +03:30
|
|
|
consumer_account_id: 'consumer_account_id',
|
2026-03-29 18:06:41 +03:30
|
|
|
pos_id: 'pos_id'
|
2026-02-24 12:42:10 +03:30
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceOrderByRelevanceFieldEnum = (typeof SalesInvoiceOrderByRelevanceFieldEnum)[keyof typeof SalesInvoiceOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-02-12 20:31:04 +03:30
|
|
|
export const SalesInvoiceItemOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
2026-05-01 19:43:59 +03:30
|
|
|
measure_unit_text: 'measure_unit_text',
|
|
|
|
|
measure_unit_code: 'measure_unit_code',
|
|
|
|
|
sku_code: 'sku_code',
|
2026-02-24 12:42:10 +03:30
|
|
|
notes: 'notes',
|
2026-02-12 20:31:04 +03:30
|
|
|
invoice_id: 'invoice_id',
|
|
|
|
|
good_id: 'good_id',
|
|
|
|
|
service_id: 'service_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceItemOrderByRelevanceFieldEnum = (typeof SalesInvoiceItemOrderByRelevanceFieldEnum)[keyof typeof SalesInvoiceItemOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-05-03 16:23:17 +03:30
|
|
|
export const SaleInvoiceTspAttemptsOrderByRelevanceFieldEnum = {
|
2026-04-27 22:11:05 +03:30
|
|
|
id: 'id',
|
2026-05-05 22:42:09 +03:30
|
|
|
message: 'message',
|
2026-05-03 16:23:17 +03:30
|
|
|
invoice_id: 'invoice_id'
|
2026-04-27 22:11:05 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-05-03 16:23:17 +03:30
|
|
|
export type SaleInvoiceTspAttemptsOrderByRelevanceFieldEnum = (typeof SaleInvoiceTspAttemptsOrderByRelevanceFieldEnum)[keyof typeof SaleInvoiceTspAttemptsOrderByRelevanceFieldEnum]
|
2026-04-27 22:11:05 +03:30
|
|
|
|
|
|
|
|
|
2026-02-12 20:31:04 +03:30
|
|
|
export const SalesInvoicePaymentOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
invoice_id: 'invoice_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type SalesInvoicePaymentOrderByRelevanceFieldEnum = (typeof SalesInvoicePaymentOrderByRelevanceFieldEnum)[keyof typeof SalesInvoicePaymentOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-04-30 16:27:46 +03:30
|
|
|
export const SalesInvoicePaymentTerminalInfoOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
terminal_id: 'terminal_id',
|
|
|
|
|
stan: 'stan',
|
|
|
|
|
rrn: 'rrn',
|
|
|
|
|
customer_card_no: 'customer_card_no',
|
|
|
|
|
description: 'description',
|
|
|
|
|
payment_id: 'payment_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type SalesInvoicePaymentTerminalInfoOrderByRelevanceFieldEnum = (typeof SalesInvoicePaymentTerminalInfoOrderByRelevanceFieldEnum)[keyof typeof SalesInvoicePaymentTerminalInfoOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-02-04 13:49:07 +03:30
|
|
|
export const ServiceOrderByRelevanceFieldEnum = {
|
2026-02-12 20:31:04 +03:30
|
|
|
id: 'id',
|
2025-12-24 21:24:59 +03:30
|
|
|
name: 'name',
|
|
|
|
|
description: 'description',
|
|
|
|
|
sku: 'sku',
|
2026-02-12 20:31:04 +03:30
|
|
|
local_sku: 'local_sku',
|
|
|
|
|
barcode: 'barcode',
|
|
|
|
|
category_id: 'category_id',
|
|
|
|
|
account_id: 'account_id',
|
|
|
|
|
complex_id: 'complex_id'
|
2025-12-10 16:54:08 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-02-04 13:49:07 +03:30
|
|
|
export type ServiceOrderByRelevanceFieldEnum = (typeof ServiceOrderByRelevanceFieldEnum)[keyof typeof ServiceOrderByRelevanceFieldEnum]
|
2025-12-10 16:54:08 +03:30
|
|
|
|
|
|
|
|
|
2026-02-04 13:49:07 +03:30
|
|
|
export const ServiceCategoryOrderByRelevanceFieldEnum = {
|
2026-02-12 20:31:04 +03:30
|
|
|
id: 'id',
|
2025-12-24 21:24:59 +03:30
|
|
|
name: 'name',
|
|
|
|
|
description: 'description',
|
2026-02-12 20:31:04 +03:30
|
|
|
image_url: 'image_url',
|
|
|
|
|
account_id: 'account_id',
|
|
|
|
|
complex_id: 'complex_id'
|
2025-12-09 13:59:07 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-02-04 13:49:07 +03:30
|
|
|
export type ServiceCategoryOrderByRelevanceFieldEnum = (typeof ServiceCategoryOrderByRelevanceFieldEnum)[keyof typeof ServiceCategoryOrderByRelevanceFieldEnum]
|
2025-12-26 22:09:46 +03:30
|
|
|
|