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-02-12 20:31:04 +03:30
|
|
|
Customer: 'Customer',
|
2026-02-24 12:42:10 +03:30
|
|
|
CustomerIndividual: 'CustomerIndividual',
|
|
|
|
|
CustomerLegal: 'CustomerLegal',
|
2026-02-12 20:31:04 +03:30
|
|
|
Device: 'Device',
|
2026-02-04 13:49:07 +03:30
|
|
|
Good: 'Good',
|
|
|
|
|
GoodCategory: 'GoodCategory',
|
2025-12-24 21:24:59 +03:30
|
|
|
TriggerLog: 'TriggerLog',
|
2026-01-04 13:45:26 +03:30
|
|
|
SalesInvoice: 'SalesInvoice',
|
|
|
|
|
SalesInvoiceItem: 'SalesInvoiceItem',
|
|
|
|
|
SalesInvoicePayment: 'SalesInvoicePayment',
|
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
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
export const TransactionIsolationLevel = {
|
|
|
|
|
ReadUncommitted: 'ReadUncommitted',
|
|
|
|
|
ReadCommitted: 'ReadCommitted',
|
|
|
|
|
RepeatableRead: 'RepeatableRead',
|
|
|
|
|
Serializable: 'Serializable'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
|
|
|
|
|
|
|
|
|
|
|
2026-02-12 20:31:04 +03:30
|
|
|
export const CustomerScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at',
|
2026-02-24 12:42:10 +03:30
|
|
|
deleted_at: 'deleted_at',
|
|
|
|
|
type: 'type',
|
|
|
|
|
complex_id: 'complex_id',
|
|
|
|
|
is_favorite: 'is_favorite'
|
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 = {
|
|
|
|
|
customer_id: 'customer_id',
|
|
|
|
|
first_name: 'first_name',
|
|
|
|
|
last_name: 'last_name',
|
|
|
|
|
national_id: 'national_id',
|
|
|
|
|
postal_code: 'postal_code',
|
|
|
|
|
economic_code: 'economic_code',
|
|
|
|
|
complex_id: 'complex_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type CustomerIndividualScalarFieldEnum = (typeof CustomerIndividualScalarFieldEnum)[keyof typeof CustomerIndividualScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const CustomerLegalScalarFieldEnum = {
|
|
|
|
|
customer_id: 'customer_id',
|
|
|
|
|
company_name: 'company_name',
|
|
|
|
|
economic_code: 'economic_code',
|
|
|
|
|
registration_number: 'registration_number',
|
|
|
|
|
postal_code: 'postal_code',
|
|
|
|
|
complex_id: 'complex_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type CustomerLegalScalarFieldEnum = (typeof CustomerLegalScalarFieldEnum)[keyof typeof CustomerLegalScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-02-12 20:31:04 +03:30
|
|
|
export const DeviceScalarFieldEnum = {
|
|
|
|
|
account_id: 'account_id',
|
|
|
|
|
app_version: 'app_version',
|
|
|
|
|
build_number: 'build_number',
|
|
|
|
|
uuid: 'uuid',
|
|
|
|
|
platform: 'platform',
|
|
|
|
|
brand: 'brand',
|
|
|
|
|
model: 'model',
|
|
|
|
|
device: 'device',
|
|
|
|
|
os_version: 'os_version',
|
|
|
|
|
sdk_version: 'sdk_version',
|
|
|
|
|
release_number: 'release_number',
|
|
|
|
|
browser_name: 'browser_name',
|
|
|
|
|
fcm_token: 'fcm_token'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type DeviceScalarFieldEnum = (typeof DeviceScalarFieldEnum)[keyof typeof DeviceScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-02-04 13:49:07 +03:30
|
|
|
export const GoodScalarFieldEnum = {
|
2025-12-04 21:05:57 +03:30
|
|
|
id: 'id',
|
|
|
|
|
name: 'name',
|
2026-01-04 13:45:26 +03:30
|
|
|
description: 'description',
|
2026-02-04 13:49:07 +03:30
|
|
|
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'
|
2025-12-24 21:24:59 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-02-04 13:49:07 +03:30
|
|
|
export type GoodScalarFieldEnum = (typeof GoodScalarFieldEnum)[keyof typeof GoodScalarFieldEnum]
|
2025-12-24 21:24:59 +03:30
|
|
|
|
|
|
|
|
|
2026-02-04 13:49:07 +03:30
|
|
|
export const GoodCategoryScalarFieldEnum = {
|
2025-12-04 21:05:57 +03:30
|
|
|
id: 'id',
|
|
|
|
|
name: 'name',
|
2025-12-26 22:09:46 +03:30
|
|
|
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-24 21:24:59 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-02-04 13:49:07 +03:30
|
|
|
export type GoodCategoryScalarFieldEnum = (typeof GoodCategoryScalarFieldEnum)[keyof typeof GoodCategoryScalarFieldEnum]
|
2025-12-04 21:05:57 +03:30
|
|
|
|
|
|
|
|
|
2025-12-24 21:24:59 +03:30
|
|
|
export const TriggerLogScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
message: 'message',
|
|
|
|
|
createdAt: 'createdAt',
|
|
|
|
|
name: 'name'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type TriggerLogScalarFieldEnum = (typeof TriggerLogScalarFieldEnum)[keyof typeof TriggerLogScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
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-02-24 12:42:10 +03:30
|
|
|
notes: 'notes',
|
|
|
|
|
unknown_customer: 'unknown_customer',
|
|
|
|
|
invoice_date: 'invoice_date',
|
2026-02-12 20:31:04 +03:30
|
|
|
created_at: 'created_at',
|
|
|
|
|
updated_at: 'updated_at',
|
|
|
|
|
customer_id: 'customer_id',
|
|
|
|
|
account_id: 'account_id',
|
|
|
|
|
complex_id: 'complex_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',
|
|
|
|
|
unit_type: 'unit_type',
|
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',
|
|
|
|
|
pricingModel: 'pricingModel',
|
2026-02-12 20:31:04 +03:30
|
|
|
invoice_id: 'invoice_id',
|
|
|
|
|
good_id: 'good_id',
|
2026-02-16 20:51:34 +03:30
|
|
|
service_id: 'service_id',
|
|
|
|
|
payload: 'payload'
|
2026-01-04 13:45:26 +03:30
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceItemScalarFieldEnum = (typeof SalesInvoiceItemScalarFieldEnum)[keyof typeof SalesInvoiceItemScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const SalesInvoicePaymentScalarFieldEnum = {
|
|
|
|
|
id: 'id',
|
2026-02-12 20:31:04 +03:30
|
|
|
invoice_id: 'invoice_id',
|
2026-01-04 13:45:26 +03:30
|
|
|
amount: 'amount',
|
2026-02-12 20:31:04 +03:30
|
|
|
payment_method: 'payment_method',
|
|
|
|
|
paid_at: 'paid_at',
|
|
|
|
|
created_at: 'created_at'
|
2026-01-04 13:45:26 +03:30
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type SalesInvoicePaymentScalarFieldEnum = (typeof SalesInvoicePaymentScalarFieldEnum)[keyof typeof SalesInvoicePaymentScalarFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
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 = {
|
|
|
|
|
DbNull: 'DbNull',
|
|
|
|
|
JsonNull: 'JsonNull'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput]
|
|
|
|
|
|
|
|
|
|
|
2025-12-09 13:59:07 +03:30
|
|
|
export const NullsOrder = {
|
|
|
|
|
first: 'first',
|
|
|
|
|
last: 'last'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
|
|
|
|
|
|
|
|
|
|
|
2026-02-12 20:31:04 +03:30
|
|
|
export const CustomerOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
2026-02-24 12:42:10 +03:30
|
|
|
complex_id: 'complex_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type CustomerOrderByRelevanceFieldEnum = (typeof CustomerOrderByRelevanceFieldEnum)[keyof typeof CustomerOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const CustomerIndividualOrderByRelevanceFieldEnum = {
|
|
|
|
|
customer_id: 'customer_id',
|
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',
|
|
|
|
|
postal_code: 'postal_code',
|
|
|
|
|
economic_code: 'economic_code',
|
2026-02-12 20:31:04 +03:30
|
|
|
complex_id: 'complex_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
2026-02-24 12:42:10 +03:30
|
|
|
export type CustomerIndividualOrderByRelevanceFieldEnum = (typeof CustomerIndividualOrderByRelevanceFieldEnum)[keyof typeof CustomerIndividualOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const CustomerLegalOrderByRelevanceFieldEnum = {
|
|
|
|
|
customer_id: 'customer_id',
|
|
|
|
|
company_name: 'company_name',
|
|
|
|
|
economic_code: 'economic_code',
|
|
|
|
|
registration_number: 'registration_number',
|
|
|
|
|
postal_code: 'postal_code',
|
|
|
|
|
complex_id: 'complex_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type CustomerLegalOrderByRelevanceFieldEnum = (typeof CustomerLegalOrderByRelevanceFieldEnum)[keyof typeof CustomerLegalOrderByRelevanceFieldEnum]
|
2026-02-12 20:31:04 +03:30
|
|
|
|
|
|
|
|
|
|
|
|
|
export const DeviceOrderByRelevanceFieldEnum = {
|
|
|
|
|
account_id: 'account_id',
|
|
|
|
|
app_version: 'app_version',
|
|
|
|
|
build_number: 'build_number',
|
|
|
|
|
uuid: 'uuid',
|
|
|
|
|
platform: 'platform',
|
|
|
|
|
brand: 'brand',
|
|
|
|
|
model: 'model',
|
|
|
|
|
device: 'device',
|
|
|
|
|
os_version: 'os_version',
|
|
|
|
|
sdk_version: 'sdk_version',
|
|
|
|
|
release_number: 'release_number',
|
|
|
|
|
browser_name: 'browser_name',
|
|
|
|
|
fcm_token: 'fcm_token'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type DeviceOrderByRelevanceFieldEnum = (typeof DeviceOrderByRelevanceFieldEnum)[keyof typeof DeviceOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-02-04 13:49:07 +03:30
|
|
|
export const GoodOrderByRelevanceFieldEnum = {
|
2026-02-12 20:31:04 +03:30
|
|
|
id: 'id',
|
2025-12-04 21:05:57 +03:30
|
|
|
name: 'name',
|
2026-02-04 13:49:07 +03:30
|
|
|
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-04 21:05:57 +03:30
|
|
|
} as const
|
|
|
|
|
|
2026-02-04 13:49:07 +03:30
|
|
|
export type GoodOrderByRelevanceFieldEnum = (typeof GoodOrderByRelevanceFieldEnum)[keyof typeof GoodOrderByRelevanceFieldEnum]
|
2025-12-24 21:24:59 +03:30
|
|
|
|
|
|
|
|
|
2026-02-04 13:49:07 +03:30
|
|
|
export const GoodCategoryOrderByRelevanceFieldEnum = {
|
2026-02-12 20:31:04 +03:30
|
|
|
id: 'id',
|
2025-12-24 21:24:59 +03:30
|
|
|
name: 'name',
|
2026-02-04 13:49:07 +03:30
|
|
|
description: 'description',
|
2026-02-12 20:31:04 +03:30
|
|
|
image_url: 'image_url',
|
|
|
|
|
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 GoodCategoryOrderByRelevanceFieldEnum = (typeof GoodCategoryOrderByRelevanceFieldEnum)[keyof typeof GoodCategoryOrderByRelevanceFieldEnum]
|
2026-01-04 13:45:26 +03:30
|
|
|
|
|
|
|
|
|
2025-12-24 21:24:59 +03:30
|
|
|
export const TriggerLogOrderByRelevanceFieldEnum = {
|
|
|
|
|
message: 'message',
|
|
|
|
|
name: 'name'
|
2025-12-09 13:59:07 +03:30
|
|
|
} as const
|
|
|
|
|
|
2025-12-24 21:24:59 +03:30
|
|
|
export type TriggerLogOrderByRelevanceFieldEnum = (typeof TriggerLogOrderByRelevanceFieldEnum)[keyof typeof TriggerLogOrderByRelevanceFieldEnum]
|
2025-12-09 13:59:07 +03:30
|
|
|
|
|
|
|
|
|
2026-02-16 20:51:34 +03:30
|
|
|
export const JsonNullValueFilter = {
|
|
|
|
|
DbNull: 'DbNull',
|
|
|
|
|
JsonNull: 'JsonNull',
|
|
|
|
|
AnyNull: 'AnyNull'
|
|
|
|
|
} 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-02-24 12:42:10 +03:30
|
|
|
export const SalesInvoiceOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
code: 'code',
|
|
|
|
|
notes: 'notes',
|
|
|
|
|
customer_id: 'customer_id',
|
|
|
|
|
account_id: 'account_id',
|
|
|
|
|
complex_id: 'complex_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type SalesInvoiceOrderByRelevanceFieldEnum = (typeof SalesInvoiceOrderByRelevanceFieldEnum)[keyof typeof SalesInvoiceOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
2026-02-12 20:31:04 +03:30
|
|
|
export const SalesInvoiceItemOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
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]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export const SalesInvoicePaymentOrderByRelevanceFieldEnum = {
|
|
|
|
|
id: 'id',
|
|
|
|
|
invoice_id: 'invoice_id'
|
|
|
|
|
} as const
|
|
|
|
|
|
|
|
|
|
export type SalesInvoicePaymentOrderByRelevanceFieldEnum = (typeof SalesInvoicePaymentOrderByRelevanceFieldEnum)[keyof typeof SalesInvoicePaymentOrderByRelevanceFieldEnum]
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|