2026-03-07 11:25:11 +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 the `Complex` model and its related types.
|
|
|
|
|
*
|
|
|
|
|
* 🟢 You can import this file directly.
|
|
|
|
|
*/
|
|
|
|
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
|
|
|
import type * as $Enums from "../enums.js"
|
|
|
|
|
import type * as Prisma from "../internal/prismaNamespace.js"
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Model Complex
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type ComplexModel = runtime.Types.Result.DefaultSelection<Prisma.$ComplexPayload>
|
|
|
|
|
|
|
|
|
|
export type AggregateComplex = {
|
|
|
|
|
_count: ComplexCountAggregateOutputType | null
|
|
|
|
|
_min: ComplexMinAggregateOutputType | null
|
|
|
|
|
_max: ComplexMaxAggregateOutputType | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexMinAggregateOutputType = {
|
|
|
|
|
id: string | null
|
|
|
|
|
name: string | null
|
|
|
|
|
address: string | null
|
|
|
|
|
tax_id: string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at: Date | null
|
|
|
|
|
updated_at: Date | null
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id: string | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexMaxAggregateOutputType = {
|
|
|
|
|
id: string | null
|
|
|
|
|
name: string | null
|
|
|
|
|
address: string | null
|
|
|
|
|
tax_id: string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at: Date | null
|
|
|
|
|
updated_at: Date | null
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id: string | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexCountAggregateOutputType = {
|
|
|
|
|
id: number
|
|
|
|
|
name: number
|
|
|
|
|
address: number
|
|
|
|
|
tax_id: number
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at: number
|
|
|
|
|
updated_at: number
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id: number
|
|
|
|
|
_all: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type ComplexMinAggregateInputType = {
|
|
|
|
|
id?: true
|
|
|
|
|
name?: true
|
|
|
|
|
address?: true
|
|
|
|
|
tax_id?: true
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: true
|
|
|
|
|
updated_at?: true
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id?: true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexMaxAggregateInputType = {
|
|
|
|
|
id?: true
|
|
|
|
|
name?: true
|
|
|
|
|
address?: true
|
|
|
|
|
tax_id?: true
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: true
|
|
|
|
|
updated_at?: true
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id?: true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexCountAggregateInputType = {
|
|
|
|
|
id?: true
|
|
|
|
|
name?: true
|
|
|
|
|
address?: true
|
|
|
|
|
tax_id?: true
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: true
|
|
|
|
|
updated_at?: true
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id?: true
|
|
|
|
|
_all?: true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Filter which Complex to aggregate.
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.ComplexWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
|
|
|
*
|
|
|
|
|
* Determine the order of Complexes to fetch.
|
|
|
|
|
*/
|
|
|
|
|
orderBy?: Prisma.ComplexOrderByWithRelationInput | Prisma.ComplexOrderByWithRelationInput[]
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
|
|
|
*
|
|
|
|
|
* Sets the start position
|
|
|
|
|
*/
|
|
|
|
|
cursor?: Prisma.ComplexWhereUniqueInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
|
|
|
*
|
|
|
|
|
* Take `±n` Complexes from the position of the cursor.
|
|
|
|
|
*/
|
|
|
|
|
take?: number
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
|
|
|
*
|
|
|
|
|
* Skip the first `n` Complexes.
|
|
|
|
|
*/
|
|
|
|
|
skip?: number
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
|
|
|
*
|
|
|
|
|
* Count returned Complexes
|
|
|
|
|
**/
|
|
|
|
|
_count?: true | ComplexCountAggregateInputType
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
|
|
|
*
|
|
|
|
|
* Select which fields to find the minimum value
|
|
|
|
|
**/
|
|
|
|
|
_min?: ComplexMinAggregateInputType
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
|
|
|
*
|
|
|
|
|
* Select which fields to find the maximum value
|
|
|
|
|
**/
|
|
|
|
|
_max?: ComplexMaxAggregateInputType
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type GetComplexAggregateType<T extends ComplexAggregateArgs> = {
|
|
|
|
|
[P in keyof T & keyof AggregateComplex]: P extends '_count' | 'count'
|
|
|
|
|
? T[P] extends true
|
|
|
|
|
? number
|
|
|
|
|
: Prisma.GetScalarType<T[P], AggregateComplex[P]>
|
|
|
|
|
: Prisma.GetScalarType<T[P], AggregateComplex[P]>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type ComplexGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
where?: Prisma.ComplexWhereInput
|
|
|
|
|
orderBy?: Prisma.ComplexOrderByWithAggregationInput | Prisma.ComplexOrderByWithAggregationInput[]
|
|
|
|
|
by: Prisma.ComplexScalarFieldEnum[] | Prisma.ComplexScalarFieldEnum
|
|
|
|
|
having?: Prisma.ComplexScalarWhereWithAggregatesInput
|
|
|
|
|
take?: number
|
|
|
|
|
skip?: number
|
|
|
|
|
_count?: ComplexCountAggregateInputType | true
|
|
|
|
|
_min?: ComplexMinAggregateInputType
|
|
|
|
|
_max?: ComplexMaxAggregateInputType
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexGroupByOutputType = {
|
|
|
|
|
id: string
|
|
|
|
|
name: string
|
|
|
|
|
address: string | null
|
|
|
|
|
tax_id: string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at: Date
|
|
|
|
|
updated_at: Date
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id: string
|
|
|
|
|
_count: ComplexCountAggregateOutputType | null
|
|
|
|
|
_min: ComplexMinAggregateOutputType | null
|
|
|
|
|
_max: ComplexMaxAggregateOutputType | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type GetComplexGroupByPayload<T extends ComplexGroupByArgs> = Prisma.PrismaPromise<
|
|
|
|
|
Array<
|
|
|
|
|
Prisma.PickEnumerable<ComplexGroupByOutputType, T['by']> &
|
|
|
|
|
{
|
|
|
|
|
[P in ((keyof T) & (keyof ComplexGroupByOutputType))]: P extends '_count'
|
|
|
|
|
? T[P] extends boolean
|
|
|
|
|
? number
|
|
|
|
|
: Prisma.GetScalarType<T[P], ComplexGroupByOutputType[P]>
|
|
|
|
|
: Prisma.GetScalarType<T[P], ComplexGroupByOutputType[P]>
|
|
|
|
|
}
|
|
|
|
|
>
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type ComplexWhereInput = {
|
|
|
|
|
AND?: Prisma.ComplexWhereInput | Prisma.ComplexWhereInput[]
|
|
|
|
|
OR?: Prisma.ComplexWhereInput[]
|
|
|
|
|
NOT?: Prisma.ComplexWhereInput | Prisma.ComplexWhereInput[]
|
|
|
|
|
id?: Prisma.StringFilter<"Complex"> | string
|
|
|
|
|
name?: Prisma.StringFilter<"Complex"> | string
|
|
|
|
|
address?: Prisma.StringNullableFilter<"Complex"> | string | null
|
|
|
|
|
tax_id?: Prisma.StringNullableFilter<"Complex"> | string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Prisma.DateTimeFilter<"Complex"> | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFilter<"Complex"> | Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id?: Prisma.StringFilter<"Complex"> | string
|
|
|
|
|
business_activity?: Prisma.XOR<Prisma.BusinessActivityScalarRelationFilter, Prisma.BusinessActivityWhereInput>
|
|
|
|
|
pos_list?: Prisma.PosListRelationFilter
|
|
|
|
|
goods?: Prisma.GoodListRelationFilter
|
|
|
|
|
good_categories?: Prisma.GoodCategoryListRelationFilter
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes?: Prisma.PermissionComplexListRelationFilter
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexOrderByWithRelationInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
name?: Prisma.SortOrder
|
|
|
|
|
address?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
tax_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Prisma.SortOrder
|
|
|
|
|
updated_at?: Prisma.SortOrder
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id?: Prisma.SortOrder
|
|
|
|
|
business_activity?: Prisma.BusinessActivityOrderByWithRelationInput
|
|
|
|
|
pos_list?: Prisma.PosOrderByRelationAggregateInput
|
|
|
|
|
goods?: Prisma.GoodOrderByRelationAggregateInput
|
|
|
|
|
good_categories?: Prisma.GoodCategoryOrderByRelationAggregateInput
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes?: Prisma.PermissionComplexOrderByRelationAggregateInput
|
2026-03-07 11:25:11 +03:30
|
|
|
_relevance?: Prisma.ComplexOrderByRelevanceInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexWhereUniqueInput = Prisma.AtLeast<{
|
|
|
|
|
id?: string
|
|
|
|
|
AND?: Prisma.ComplexWhereInput | Prisma.ComplexWhereInput[]
|
|
|
|
|
OR?: Prisma.ComplexWhereInput[]
|
|
|
|
|
NOT?: Prisma.ComplexWhereInput | Prisma.ComplexWhereInput[]
|
|
|
|
|
name?: Prisma.StringFilter<"Complex"> | string
|
|
|
|
|
address?: Prisma.StringNullableFilter<"Complex"> | string | null
|
|
|
|
|
tax_id?: Prisma.StringNullableFilter<"Complex"> | string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Prisma.DateTimeFilter<"Complex"> | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFilter<"Complex"> | Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id?: Prisma.StringFilter<"Complex"> | string
|
|
|
|
|
business_activity?: Prisma.XOR<Prisma.BusinessActivityScalarRelationFilter, Prisma.BusinessActivityWhereInput>
|
|
|
|
|
pos_list?: Prisma.PosListRelationFilter
|
|
|
|
|
goods?: Prisma.GoodListRelationFilter
|
|
|
|
|
good_categories?: Prisma.GoodCategoryListRelationFilter
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes?: Prisma.PermissionComplexListRelationFilter
|
2026-03-07 11:25:11 +03:30
|
|
|
}, "id">
|
|
|
|
|
|
|
|
|
|
export type ComplexOrderByWithAggregationInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
name?: Prisma.SortOrder
|
|
|
|
|
address?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
tax_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Prisma.SortOrder
|
|
|
|
|
updated_at?: Prisma.SortOrder
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id?: Prisma.SortOrder
|
|
|
|
|
_count?: Prisma.ComplexCountOrderByAggregateInput
|
|
|
|
|
_max?: Prisma.ComplexMaxOrderByAggregateInput
|
|
|
|
|
_min?: Prisma.ComplexMinOrderByAggregateInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexScalarWhereWithAggregatesInput = {
|
|
|
|
|
AND?: Prisma.ComplexScalarWhereWithAggregatesInput | Prisma.ComplexScalarWhereWithAggregatesInput[]
|
|
|
|
|
OR?: Prisma.ComplexScalarWhereWithAggregatesInput[]
|
|
|
|
|
NOT?: Prisma.ComplexScalarWhereWithAggregatesInput | Prisma.ComplexScalarWhereWithAggregatesInput[]
|
|
|
|
|
id?: Prisma.StringWithAggregatesFilter<"Complex"> | string
|
|
|
|
|
name?: Prisma.StringWithAggregatesFilter<"Complex"> | string
|
|
|
|
|
address?: Prisma.StringNullableWithAggregatesFilter<"Complex"> | string | null
|
|
|
|
|
tax_id?: Prisma.StringNullableWithAggregatesFilter<"Complex"> | string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Prisma.DateTimeWithAggregatesFilter<"Complex"> | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeWithAggregatesFilter<"Complex"> | Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id?: Prisma.StringWithAggregatesFilter<"Complex"> | string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexCreateInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
address?: string | null
|
|
|
|
|
tax_id?: string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity: Prisma.BusinessActivityCreateNestedOneWithoutComplexesInput
|
|
|
|
|
pos_list?: Prisma.PosCreateNestedManyWithoutComplexInput
|
|
|
|
|
goods?: Prisma.GoodCreateNestedManyWithoutComplexInput
|
|
|
|
|
good_categories?: Prisma.GoodCategoryCreateNestedManyWithoutComplexInput
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes?: Prisma.PermissionComplexCreateNestedManyWithoutComplexInput
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUncheckedCreateInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
address?: string | null
|
|
|
|
|
tax_id?: string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id: string
|
|
|
|
|
pos_list?: Prisma.PosUncheckedCreateNestedManyWithoutComplexInput
|
|
|
|
|
goods?: Prisma.GoodUncheckedCreateNestedManyWithoutComplexInput
|
|
|
|
|
good_categories?: Prisma.GoodCategoryUncheckedCreateNestedManyWithoutComplexInput
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes?: Prisma.PermissionComplexUncheckedCreateNestedManyWithoutComplexInput
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUpdateInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
tax_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity?: Prisma.BusinessActivityUpdateOneRequiredWithoutComplexesNestedInput
|
|
|
|
|
pos_list?: Prisma.PosUpdateManyWithoutComplexNestedInput
|
|
|
|
|
goods?: Prisma.GoodUpdateManyWithoutComplexNestedInput
|
|
|
|
|
good_categories?: Prisma.GoodCategoryUpdateManyWithoutComplexNestedInput
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes?: Prisma.PermissionComplexUpdateManyWithoutComplexNestedInput
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUncheckedUpdateInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
tax_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
pos_list?: Prisma.PosUncheckedUpdateManyWithoutComplexNestedInput
|
|
|
|
|
goods?: Prisma.GoodUncheckedUpdateManyWithoutComplexNestedInput
|
|
|
|
|
good_categories?: Prisma.GoodCategoryUncheckedUpdateManyWithoutComplexNestedInput
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes?: Prisma.PermissionComplexUncheckedUpdateManyWithoutComplexNestedInput
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexCreateManyInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
address?: string | null
|
|
|
|
|
tax_id?: string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id: string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUpdateManyMutationInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
tax_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUncheckedUpdateManyInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
tax_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexListRelationFilter = {
|
|
|
|
|
every?: Prisma.ComplexWhereInput
|
|
|
|
|
some?: Prisma.ComplexWhereInput
|
|
|
|
|
none?: Prisma.ComplexWhereInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexOrderByRelationAggregateInput = {
|
|
|
|
|
_count?: Prisma.SortOrder
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexOrderByRelevanceInput = {
|
|
|
|
|
fields: Prisma.ComplexOrderByRelevanceFieldEnum | Prisma.ComplexOrderByRelevanceFieldEnum[]
|
|
|
|
|
sort: Prisma.SortOrder
|
|
|
|
|
search: string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexCountOrderByAggregateInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
name?: Prisma.SortOrder
|
|
|
|
|
address?: Prisma.SortOrder
|
|
|
|
|
tax_id?: Prisma.SortOrder
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Prisma.SortOrder
|
|
|
|
|
updated_at?: Prisma.SortOrder
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id?: Prisma.SortOrder
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexMaxOrderByAggregateInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
name?: Prisma.SortOrder
|
|
|
|
|
address?: Prisma.SortOrder
|
|
|
|
|
tax_id?: Prisma.SortOrder
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Prisma.SortOrder
|
|
|
|
|
updated_at?: Prisma.SortOrder
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id?: Prisma.SortOrder
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexMinOrderByAggregateInput = {
|
|
|
|
|
id?: Prisma.SortOrder
|
|
|
|
|
name?: Prisma.SortOrder
|
|
|
|
|
address?: Prisma.SortOrder
|
|
|
|
|
tax_id?: Prisma.SortOrder
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Prisma.SortOrder
|
|
|
|
|
updated_at?: Prisma.SortOrder
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id?: Prisma.SortOrder
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexScalarRelationFilter = {
|
|
|
|
|
is?: Prisma.ComplexWhereInput
|
|
|
|
|
isNot?: Prisma.ComplexWhereInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexNullableScalarRelationFilter = {
|
|
|
|
|
is?: Prisma.ComplexWhereInput | null
|
|
|
|
|
isNot?: Prisma.ComplexWhereInput | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexCreateNestedManyWithoutBusiness_activityInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.ComplexCreateWithoutBusiness_activityInput, Prisma.ComplexUncheckedCreateWithoutBusiness_activityInput> | Prisma.ComplexCreateWithoutBusiness_activityInput[] | Prisma.ComplexUncheckedCreateWithoutBusiness_activityInput[]
|
|
|
|
|
connectOrCreate?: Prisma.ComplexCreateOrConnectWithoutBusiness_activityInput | Prisma.ComplexCreateOrConnectWithoutBusiness_activityInput[]
|
|
|
|
|
createMany?: Prisma.ComplexCreateManyBusiness_activityInputEnvelope
|
|
|
|
|
connect?: Prisma.ComplexWhereUniqueInput | Prisma.ComplexWhereUniqueInput[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUncheckedCreateNestedManyWithoutBusiness_activityInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.ComplexCreateWithoutBusiness_activityInput, Prisma.ComplexUncheckedCreateWithoutBusiness_activityInput> | Prisma.ComplexCreateWithoutBusiness_activityInput[] | Prisma.ComplexUncheckedCreateWithoutBusiness_activityInput[]
|
|
|
|
|
connectOrCreate?: Prisma.ComplexCreateOrConnectWithoutBusiness_activityInput | Prisma.ComplexCreateOrConnectWithoutBusiness_activityInput[]
|
|
|
|
|
createMany?: Prisma.ComplexCreateManyBusiness_activityInputEnvelope
|
|
|
|
|
connect?: Prisma.ComplexWhereUniqueInput | Prisma.ComplexWhereUniqueInput[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUpdateManyWithoutBusiness_activityNestedInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.ComplexCreateWithoutBusiness_activityInput, Prisma.ComplexUncheckedCreateWithoutBusiness_activityInput> | Prisma.ComplexCreateWithoutBusiness_activityInput[] | Prisma.ComplexUncheckedCreateWithoutBusiness_activityInput[]
|
|
|
|
|
connectOrCreate?: Prisma.ComplexCreateOrConnectWithoutBusiness_activityInput | Prisma.ComplexCreateOrConnectWithoutBusiness_activityInput[]
|
|
|
|
|
upsert?: Prisma.ComplexUpsertWithWhereUniqueWithoutBusiness_activityInput | Prisma.ComplexUpsertWithWhereUniqueWithoutBusiness_activityInput[]
|
|
|
|
|
createMany?: Prisma.ComplexCreateManyBusiness_activityInputEnvelope
|
|
|
|
|
set?: Prisma.ComplexWhereUniqueInput | Prisma.ComplexWhereUniqueInput[]
|
|
|
|
|
disconnect?: Prisma.ComplexWhereUniqueInput | Prisma.ComplexWhereUniqueInput[]
|
|
|
|
|
delete?: Prisma.ComplexWhereUniqueInput | Prisma.ComplexWhereUniqueInput[]
|
|
|
|
|
connect?: Prisma.ComplexWhereUniqueInput | Prisma.ComplexWhereUniqueInput[]
|
|
|
|
|
update?: Prisma.ComplexUpdateWithWhereUniqueWithoutBusiness_activityInput | Prisma.ComplexUpdateWithWhereUniqueWithoutBusiness_activityInput[]
|
|
|
|
|
updateMany?: Prisma.ComplexUpdateManyWithWhereWithoutBusiness_activityInput | Prisma.ComplexUpdateManyWithWhereWithoutBusiness_activityInput[]
|
|
|
|
|
deleteMany?: Prisma.ComplexScalarWhereInput | Prisma.ComplexScalarWhereInput[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUncheckedUpdateManyWithoutBusiness_activityNestedInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.ComplexCreateWithoutBusiness_activityInput, Prisma.ComplexUncheckedCreateWithoutBusiness_activityInput> | Prisma.ComplexCreateWithoutBusiness_activityInput[] | Prisma.ComplexUncheckedCreateWithoutBusiness_activityInput[]
|
|
|
|
|
connectOrCreate?: Prisma.ComplexCreateOrConnectWithoutBusiness_activityInput | Prisma.ComplexCreateOrConnectWithoutBusiness_activityInput[]
|
|
|
|
|
upsert?: Prisma.ComplexUpsertWithWhereUniqueWithoutBusiness_activityInput | Prisma.ComplexUpsertWithWhereUniqueWithoutBusiness_activityInput[]
|
|
|
|
|
createMany?: Prisma.ComplexCreateManyBusiness_activityInputEnvelope
|
|
|
|
|
set?: Prisma.ComplexWhereUniqueInput | Prisma.ComplexWhereUniqueInput[]
|
|
|
|
|
disconnect?: Prisma.ComplexWhereUniqueInput | Prisma.ComplexWhereUniqueInput[]
|
|
|
|
|
delete?: Prisma.ComplexWhereUniqueInput | Prisma.ComplexWhereUniqueInput[]
|
|
|
|
|
connect?: Prisma.ComplexWhereUniqueInput | Prisma.ComplexWhereUniqueInput[]
|
|
|
|
|
update?: Prisma.ComplexUpdateWithWhereUniqueWithoutBusiness_activityInput | Prisma.ComplexUpdateWithWhereUniqueWithoutBusiness_activityInput[]
|
|
|
|
|
updateMany?: Prisma.ComplexUpdateManyWithWhereWithoutBusiness_activityInput | Prisma.ComplexUpdateManyWithWhereWithoutBusiness_activityInput[]
|
|
|
|
|
deleteMany?: Prisma.ComplexScalarWhereInput | Prisma.ComplexScalarWhereInput[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexCreateNestedOneWithoutPos_listInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.ComplexCreateWithoutPos_listInput, Prisma.ComplexUncheckedCreateWithoutPos_listInput>
|
|
|
|
|
connectOrCreate?: Prisma.ComplexCreateOrConnectWithoutPos_listInput
|
|
|
|
|
connect?: Prisma.ComplexWhereUniqueInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUpdateOneRequiredWithoutPos_listNestedInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.ComplexCreateWithoutPos_listInput, Prisma.ComplexUncheckedCreateWithoutPos_listInput>
|
|
|
|
|
connectOrCreate?: Prisma.ComplexCreateOrConnectWithoutPos_listInput
|
|
|
|
|
upsert?: Prisma.ComplexUpsertWithoutPos_listInput
|
|
|
|
|
connect?: Prisma.ComplexWhereUniqueInput
|
|
|
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.ComplexUpdateToOneWithWhereWithoutPos_listInput, Prisma.ComplexUpdateWithoutPos_listInput>, Prisma.ComplexUncheckedUpdateWithoutPos_listInput>
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-16 00:33:40 +03:30
|
|
|
export type ComplexCreateNestedOneWithoutPermissionComplexesInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.ComplexCreateWithoutPermissionComplexesInput, Prisma.ComplexUncheckedCreateWithoutPermissionComplexesInput>
|
|
|
|
|
connectOrCreate?: Prisma.ComplexCreateOrConnectWithoutPermissionComplexesInput
|
|
|
|
|
connect?: Prisma.ComplexWhereUniqueInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUpdateOneRequiredWithoutPermissionComplexesNestedInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.ComplexCreateWithoutPermissionComplexesInput, Prisma.ComplexUncheckedCreateWithoutPermissionComplexesInput>
|
|
|
|
|
connectOrCreate?: Prisma.ComplexCreateOrConnectWithoutPermissionComplexesInput
|
|
|
|
|
upsert?: Prisma.ComplexUpsertWithoutPermissionComplexesInput
|
|
|
|
|
connect?: Prisma.ComplexWhereUniqueInput
|
|
|
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.ComplexUpdateToOneWithWhereWithoutPermissionComplexesInput, Prisma.ComplexUpdateWithoutPermissionComplexesInput>, Prisma.ComplexUncheckedUpdateWithoutPermissionComplexesInput>
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-07 11:25:11 +03:30
|
|
|
export type ComplexCreateNestedOneWithoutGoodsInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.ComplexCreateWithoutGoodsInput, Prisma.ComplexUncheckedCreateWithoutGoodsInput>
|
|
|
|
|
connectOrCreate?: Prisma.ComplexCreateOrConnectWithoutGoodsInput
|
|
|
|
|
connect?: Prisma.ComplexWhereUniqueInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUpdateOneWithoutGoodsNestedInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.ComplexCreateWithoutGoodsInput, Prisma.ComplexUncheckedCreateWithoutGoodsInput>
|
|
|
|
|
connectOrCreate?: Prisma.ComplexCreateOrConnectWithoutGoodsInput
|
|
|
|
|
upsert?: Prisma.ComplexUpsertWithoutGoodsInput
|
|
|
|
|
disconnect?: Prisma.ComplexWhereInput | boolean
|
|
|
|
|
delete?: Prisma.ComplexWhereInput | boolean
|
|
|
|
|
connect?: Prisma.ComplexWhereUniqueInput
|
|
|
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.ComplexUpdateToOneWithWhereWithoutGoodsInput, Prisma.ComplexUpdateWithoutGoodsInput>, Prisma.ComplexUncheckedUpdateWithoutGoodsInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexCreateNestedOneWithoutGood_categoriesInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.ComplexCreateWithoutGood_categoriesInput, Prisma.ComplexUncheckedCreateWithoutGood_categoriesInput>
|
|
|
|
|
connectOrCreate?: Prisma.ComplexCreateOrConnectWithoutGood_categoriesInput
|
|
|
|
|
connect?: Prisma.ComplexWhereUniqueInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUpdateOneWithoutGood_categoriesNestedInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.ComplexCreateWithoutGood_categoriesInput, Prisma.ComplexUncheckedCreateWithoutGood_categoriesInput>
|
|
|
|
|
connectOrCreate?: Prisma.ComplexCreateOrConnectWithoutGood_categoriesInput
|
|
|
|
|
upsert?: Prisma.ComplexUpsertWithoutGood_categoriesInput
|
|
|
|
|
disconnect?: Prisma.ComplexWhereInput | boolean
|
|
|
|
|
delete?: Prisma.ComplexWhereInput | boolean
|
|
|
|
|
connect?: Prisma.ComplexWhereUniqueInput
|
|
|
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.ComplexUpdateToOneWithWhereWithoutGood_categoriesInput, Prisma.ComplexUpdateWithoutGood_categoriesInput>, Prisma.ComplexUncheckedUpdateWithoutGood_categoriesInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexCreateWithoutBusiness_activityInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
address?: string | null
|
|
|
|
|
tax_id?: string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
pos_list?: Prisma.PosCreateNestedManyWithoutComplexInput
|
|
|
|
|
goods?: Prisma.GoodCreateNestedManyWithoutComplexInput
|
|
|
|
|
good_categories?: Prisma.GoodCategoryCreateNestedManyWithoutComplexInput
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes?: Prisma.PermissionComplexCreateNestedManyWithoutComplexInput
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUncheckedCreateWithoutBusiness_activityInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
address?: string | null
|
|
|
|
|
tax_id?: string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
pos_list?: Prisma.PosUncheckedCreateNestedManyWithoutComplexInput
|
|
|
|
|
goods?: Prisma.GoodUncheckedCreateNestedManyWithoutComplexInput
|
|
|
|
|
good_categories?: Prisma.GoodCategoryUncheckedCreateNestedManyWithoutComplexInput
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes?: Prisma.PermissionComplexUncheckedCreateNestedManyWithoutComplexInput
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexCreateOrConnectWithoutBusiness_activityInput = {
|
|
|
|
|
where: Prisma.ComplexWhereUniqueInput
|
|
|
|
|
create: Prisma.XOR<Prisma.ComplexCreateWithoutBusiness_activityInput, Prisma.ComplexUncheckedCreateWithoutBusiness_activityInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexCreateManyBusiness_activityInputEnvelope = {
|
|
|
|
|
data: Prisma.ComplexCreateManyBusiness_activityInput | Prisma.ComplexCreateManyBusiness_activityInput[]
|
|
|
|
|
skipDuplicates?: boolean
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUpsertWithWhereUniqueWithoutBusiness_activityInput = {
|
|
|
|
|
where: Prisma.ComplexWhereUniqueInput
|
|
|
|
|
update: Prisma.XOR<Prisma.ComplexUpdateWithoutBusiness_activityInput, Prisma.ComplexUncheckedUpdateWithoutBusiness_activityInput>
|
|
|
|
|
create: Prisma.XOR<Prisma.ComplexCreateWithoutBusiness_activityInput, Prisma.ComplexUncheckedCreateWithoutBusiness_activityInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUpdateWithWhereUniqueWithoutBusiness_activityInput = {
|
|
|
|
|
where: Prisma.ComplexWhereUniqueInput
|
|
|
|
|
data: Prisma.XOR<Prisma.ComplexUpdateWithoutBusiness_activityInput, Prisma.ComplexUncheckedUpdateWithoutBusiness_activityInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUpdateManyWithWhereWithoutBusiness_activityInput = {
|
|
|
|
|
where: Prisma.ComplexScalarWhereInput
|
|
|
|
|
data: Prisma.XOR<Prisma.ComplexUpdateManyMutationInput, Prisma.ComplexUncheckedUpdateManyWithoutBusiness_activityInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexScalarWhereInput = {
|
|
|
|
|
AND?: Prisma.ComplexScalarWhereInput | Prisma.ComplexScalarWhereInput[]
|
|
|
|
|
OR?: Prisma.ComplexScalarWhereInput[]
|
|
|
|
|
NOT?: Prisma.ComplexScalarWhereInput | Prisma.ComplexScalarWhereInput[]
|
|
|
|
|
id?: Prisma.StringFilter<"Complex"> | string
|
|
|
|
|
name?: Prisma.StringFilter<"Complex"> | string
|
|
|
|
|
address?: Prisma.StringNullableFilter<"Complex"> | string | null
|
|
|
|
|
tax_id?: Prisma.StringNullableFilter<"Complex"> | string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Prisma.DateTimeFilter<"Complex"> | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFilter<"Complex"> | Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id?: Prisma.StringFilter<"Complex"> | string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexCreateWithoutPos_listInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
address?: string | null
|
|
|
|
|
tax_id?: string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity: Prisma.BusinessActivityCreateNestedOneWithoutComplexesInput
|
|
|
|
|
goods?: Prisma.GoodCreateNestedManyWithoutComplexInput
|
|
|
|
|
good_categories?: Prisma.GoodCategoryCreateNestedManyWithoutComplexInput
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes?: Prisma.PermissionComplexCreateNestedManyWithoutComplexInput
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUncheckedCreateWithoutPos_listInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
address?: string | null
|
|
|
|
|
tax_id?: string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id: string
|
|
|
|
|
goods?: Prisma.GoodUncheckedCreateNestedManyWithoutComplexInput
|
|
|
|
|
good_categories?: Prisma.GoodCategoryUncheckedCreateNestedManyWithoutComplexInput
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes?: Prisma.PermissionComplexUncheckedCreateNestedManyWithoutComplexInput
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexCreateOrConnectWithoutPos_listInput = {
|
|
|
|
|
where: Prisma.ComplexWhereUniqueInput
|
|
|
|
|
create: Prisma.XOR<Prisma.ComplexCreateWithoutPos_listInput, Prisma.ComplexUncheckedCreateWithoutPos_listInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUpsertWithoutPos_listInput = {
|
|
|
|
|
update: Prisma.XOR<Prisma.ComplexUpdateWithoutPos_listInput, Prisma.ComplexUncheckedUpdateWithoutPos_listInput>
|
|
|
|
|
create: Prisma.XOR<Prisma.ComplexCreateWithoutPos_listInput, Prisma.ComplexUncheckedCreateWithoutPos_listInput>
|
|
|
|
|
where?: Prisma.ComplexWhereInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUpdateToOneWithWhereWithoutPos_listInput = {
|
|
|
|
|
where?: Prisma.ComplexWhereInput
|
|
|
|
|
data: Prisma.XOR<Prisma.ComplexUpdateWithoutPos_listInput, Prisma.ComplexUncheckedUpdateWithoutPos_listInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUpdateWithoutPos_listInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
tax_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity?: Prisma.BusinessActivityUpdateOneRequiredWithoutComplexesNestedInput
|
|
|
|
|
goods?: Prisma.GoodUpdateManyWithoutComplexNestedInput
|
|
|
|
|
good_categories?: Prisma.GoodCategoryUpdateManyWithoutComplexNestedInput
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes?: Prisma.PermissionComplexUpdateManyWithoutComplexNestedInput
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUncheckedUpdateWithoutPos_listInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
tax_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
goods?: Prisma.GoodUncheckedUpdateManyWithoutComplexNestedInput
|
|
|
|
|
good_categories?: Prisma.GoodCategoryUncheckedUpdateManyWithoutComplexNestedInput
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes?: Prisma.PermissionComplexUncheckedUpdateManyWithoutComplexNestedInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexCreateWithoutPermissionComplexesInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
address?: string | null
|
|
|
|
|
tax_id?: string | null
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
|
|
|
|
business_activity: Prisma.BusinessActivityCreateNestedOneWithoutComplexesInput
|
|
|
|
|
pos_list?: Prisma.PosCreateNestedManyWithoutComplexInput
|
|
|
|
|
goods?: Prisma.GoodCreateNestedManyWithoutComplexInput
|
|
|
|
|
good_categories?: Prisma.GoodCategoryCreateNestedManyWithoutComplexInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUncheckedCreateWithoutPermissionComplexesInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
address?: string | null
|
|
|
|
|
tax_id?: string | null
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
|
|
|
|
business_activity_id: string
|
|
|
|
|
pos_list?: Prisma.PosUncheckedCreateNestedManyWithoutComplexInput
|
|
|
|
|
goods?: Prisma.GoodUncheckedCreateNestedManyWithoutComplexInput
|
|
|
|
|
good_categories?: Prisma.GoodCategoryUncheckedCreateNestedManyWithoutComplexInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexCreateOrConnectWithoutPermissionComplexesInput = {
|
|
|
|
|
where: Prisma.ComplexWhereUniqueInput
|
|
|
|
|
create: Prisma.XOR<Prisma.ComplexCreateWithoutPermissionComplexesInput, Prisma.ComplexUncheckedCreateWithoutPermissionComplexesInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUpsertWithoutPermissionComplexesInput = {
|
|
|
|
|
update: Prisma.XOR<Prisma.ComplexUpdateWithoutPermissionComplexesInput, Prisma.ComplexUncheckedUpdateWithoutPermissionComplexesInput>
|
|
|
|
|
create: Prisma.XOR<Prisma.ComplexCreateWithoutPermissionComplexesInput, Prisma.ComplexUncheckedCreateWithoutPermissionComplexesInput>
|
|
|
|
|
where?: Prisma.ComplexWhereInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUpdateToOneWithWhereWithoutPermissionComplexesInput = {
|
|
|
|
|
where?: Prisma.ComplexWhereInput
|
|
|
|
|
data: Prisma.XOR<Prisma.ComplexUpdateWithoutPermissionComplexesInput, Prisma.ComplexUncheckedUpdateWithoutPermissionComplexesInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUpdateWithoutPermissionComplexesInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
tax_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
business_activity?: Prisma.BusinessActivityUpdateOneRequiredWithoutComplexesNestedInput
|
|
|
|
|
pos_list?: Prisma.PosUpdateManyWithoutComplexNestedInput
|
|
|
|
|
goods?: Prisma.GoodUpdateManyWithoutComplexNestedInput
|
|
|
|
|
good_categories?: Prisma.GoodCategoryUpdateManyWithoutComplexNestedInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUncheckedUpdateWithoutPermissionComplexesInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
tax_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
business_activity_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
pos_list?: Prisma.PosUncheckedUpdateManyWithoutComplexNestedInput
|
|
|
|
|
goods?: Prisma.GoodUncheckedUpdateManyWithoutComplexNestedInput
|
|
|
|
|
good_categories?: Prisma.GoodCategoryUncheckedUpdateManyWithoutComplexNestedInput
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexCreateWithoutGoodsInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
address?: string | null
|
|
|
|
|
tax_id?: string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity: Prisma.BusinessActivityCreateNestedOneWithoutComplexesInput
|
|
|
|
|
pos_list?: Prisma.PosCreateNestedManyWithoutComplexInput
|
|
|
|
|
good_categories?: Prisma.GoodCategoryCreateNestedManyWithoutComplexInput
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes?: Prisma.PermissionComplexCreateNestedManyWithoutComplexInput
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUncheckedCreateWithoutGoodsInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
address?: string | null
|
|
|
|
|
tax_id?: string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id: string
|
|
|
|
|
pos_list?: Prisma.PosUncheckedCreateNestedManyWithoutComplexInput
|
|
|
|
|
good_categories?: Prisma.GoodCategoryUncheckedCreateNestedManyWithoutComplexInput
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes?: Prisma.PermissionComplexUncheckedCreateNestedManyWithoutComplexInput
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexCreateOrConnectWithoutGoodsInput = {
|
|
|
|
|
where: Prisma.ComplexWhereUniqueInput
|
|
|
|
|
create: Prisma.XOR<Prisma.ComplexCreateWithoutGoodsInput, Prisma.ComplexUncheckedCreateWithoutGoodsInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUpsertWithoutGoodsInput = {
|
|
|
|
|
update: Prisma.XOR<Prisma.ComplexUpdateWithoutGoodsInput, Prisma.ComplexUncheckedUpdateWithoutGoodsInput>
|
|
|
|
|
create: Prisma.XOR<Prisma.ComplexCreateWithoutGoodsInput, Prisma.ComplexUncheckedCreateWithoutGoodsInput>
|
|
|
|
|
where?: Prisma.ComplexWhereInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUpdateToOneWithWhereWithoutGoodsInput = {
|
|
|
|
|
where?: Prisma.ComplexWhereInput
|
|
|
|
|
data: Prisma.XOR<Prisma.ComplexUpdateWithoutGoodsInput, Prisma.ComplexUncheckedUpdateWithoutGoodsInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUpdateWithoutGoodsInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
tax_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity?: Prisma.BusinessActivityUpdateOneRequiredWithoutComplexesNestedInput
|
|
|
|
|
pos_list?: Prisma.PosUpdateManyWithoutComplexNestedInput
|
|
|
|
|
good_categories?: Prisma.GoodCategoryUpdateManyWithoutComplexNestedInput
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes?: Prisma.PermissionComplexUpdateManyWithoutComplexNestedInput
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUncheckedUpdateWithoutGoodsInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
tax_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
pos_list?: Prisma.PosUncheckedUpdateManyWithoutComplexNestedInput
|
|
|
|
|
good_categories?: Prisma.GoodCategoryUncheckedUpdateManyWithoutComplexNestedInput
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes?: Prisma.PermissionComplexUncheckedUpdateManyWithoutComplexNestedInput
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexCreateWithoutGood_categoriesInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
address?: string | null
|
|
|
|
|
tax_id?: string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity: Prisma.BusinessActivityCreateNestedOneWithoutComplexesInput
|
|
|
|
|
pos_list?: Prisma.PosCreateNestedManyWithoutComplexInput
|
|
|
|
|
goods?: Prisma.GoodCreateNestedManyWithoutComplexInput
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes?: Prisma.PermissionComplexCreateNestedManyWithoutComplexInput
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUncheckedCreateWithoutGood_categoriesInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
address?: string | null
|
|
|
|
|
tax_id?: string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id: string
|
|
|
|
|
pos_list?: Prisma.PosUncheckedCreateNestedManyWithoutComplexInput
|
|
|
|
|
goods?: Prisma.GoodUncheckedCreateNestedManyWithoutComplexInput
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes?: Prisma.PermissionComplexUncheckedCreateNestedManyWithoutComplexInput
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexCreateOrConnectWithoutGood_categoriesInput = {
|
|
|
|
|
where: Prisma.ComplexWhereUniqueInput
|
|
|
|
|
create: Prisma.XOR<Prisma.ComplexCreateWithoutGood_categoriesInput, Prisma.ComplexUncheckedCreateWithoutGood_categoriesInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUpsertWithoutGood_categoriesInput = {
|
|
|
|
|
update: Prisma.XOR<Prisma.ComplexUpdateWithoutGood_categoriesInput, Prisma.ComplexUncheckedUpdateWithoutGood_categoriesInput>
|
|
|
|
|
create: Prisma.XOR<Prisma.ComplexCreateWithoutGood_categoriesInput, Prisma.ComplexUncheckedCreateWithoutGood_categoriesInput>
|
|
|
|
|
where?: Prisma.ComplexWhereInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUpdateToOneWithWhereWithoutGood_categoriesInput = {
|
|
|
|
|
where?: Prisma.ComplexWhereInput
|
|
|
|
|
data: Prisma.XOR<Prisma.ComplexUpdateWithoutGood_categoriesInput, Prisma.ComplexUncheckedUpdateWithoutGood_categoriesInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUpdateWithoutGood_categoriesInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
tax_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity?: Prisma.BusinessActivityUpdateOneRequiredWithoutComplexesNestedInput
|
|
|
|
|
pos_list?: Prisma.PosUpdateManyWithoutComplexNestedInput
|
|
|
|
|
goods?: Prisma.GoodUpdateManyWithoutComplexNestedInput
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes?: Prisma.PermissionComplexUpdateManyWithoutComplexNestedInput
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUncheckedUpdateWithoutGood_categoriesInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
tax_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
pos_list?: Prisma.PosUncheckedUpdateManyWithoutComplexNestedInput
|
|
|
|
|
goods?: Prisma.GoodUncheckedUpdateManyWithoutComplexNestedInput
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes?: Prisma.PermissionComplexUncheckedUpdateManyWithoutComplexNestedInput
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexCreateManyBusiness_activityInput = {
|
|
|
|
|
id?: string
|
|
|
|
|
name: string
|
|
|
|
|
address?: string | null
|
|
|
|
|
tax_id?: string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUpdateWithoutBusiness_activityInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
tax_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
pos_list?: Prisma.PosUpdateManyWithoutComplexNestedInput
|
|
|
|
|
goods?: Prisma.GoodUpdateManyWithoutComplexNestedInput
|
|
|
|
|
good_categories?: Prisma.GoodCategoryUpdateManyWithoutComplexNestedInput
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes?: Prisma.PermissionComplexUpdateManyWithoutComplexNestedInput
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUncheckedUpdateWithoutBusiness_activityInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
tax_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
pos_list?: Prisma.PosUncheckedUpdateManyWithoutComplexNestedInput
|
|
|
|
|
goods?: Prisma.GoodUncheckedUpdateManyWithoutComplexNestedInput
|
|
|
|
|
good_categories?: Prisma.GoodCategoryUncheckedUpdateManyWithoutComplexNestedInput
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes?: Prisma.PermissionComplexUncheckedUpdateManyWithoutComplexNestedInput
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexUncheckedUpdateManyWithoutBusiness_activityInput = {
|
|
|
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
tax_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Count Type ComplexCountOutputType
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
export type ComplexCountOutputType = {
|
|
|
|
|
pos_list: number
|
|
|
|
|
goods: number
|
|
|
|
|
good_categories: number
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes: number
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
pos_list?: boolean | ComplexCountOutputTypeCountPos_listArgs
|
|
|
|
|
goods?: boolean | ComplexCountOutputTypeCountGoodsArgs
|
|
|
|
|
good_categories?: boolean | ComplexCountOutputTypeCountGood_categoriesArgs
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes?: boolean | ComplexCountOutputTypeCountPermissionComplexesArgs
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ComplexCountOutputType without action
|
|
|
|
|
*/
|
|
|
|
|
export type ComplexCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the ComplexCountOutputType
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.ComplexCountOutputTypeSelect<ExtArgs> | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ComplexCountOutputType without action
|
|
|
|
|
*/
|
|
|
|
|
export type ComplexCountOutputTypeCountPos_listArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
where?: Prisma.PosWhereInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ComplexCountOutputType without action
|
|
|
|
|
*/
|
|
|
|
|
export type ComplexCountOutputTypeCountGoodsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
where?: Prisma.GoodWhereInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ComplexCountOutputType without action
|
|
|
|
|
*/
|
|
|
|
|
export type ComplexCountOutputTypeCountGood_categoriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
where?: Prisma.GoodCategoryWhereInput
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-16 00:33:40 +03:30
|
|
|
/**
|
|
|
|
|
* ComplexCountOutputType without action
|
|
|
|
|
*/
|
|
|
|
|
export type ComplexCountOutputTypeCountPermissionComplexesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
where?: Prisma.PermissionComplexWhereInput
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-07 11:25:11 +03:30
|
|
|
|
|
|
|
|
export type ComplexSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
|
|
|
id?: boolean
|
|
|
|
|
name?: boolean
|
|
|
|
|
address?: boolean
|
|
|
|
|
tax_id?: boolean
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: boolean
|
|
|
|
|
updated_at?: boolean
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id?: boolean
|
|
|
|
|
business_activity?: boolean | Prisma.BusinessActivityDefaultArgs<ExtArgs>
|
|
|
|
|
pos_list?: boolean | Prisma.Complex$pos_listArgs<ExtArgs>
|
|
|
|
|
goods?: boolean | Prisma.Complex$goodsArgs<ExtArgs>
|
|
|
|
|
good_categories?: boolean | Prisma.Complex$good_categoriesArgs<ExtArgs>
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes?: boolean | Prisma.Complex$permissionComplexesArgs<ExtArgs>
|
2026-03-07 11:25:11 +03:30
|
|
|
_count?: boolean | Prisma.ComplexCountOutputTypeDefaultArgs<ExtArgs>
|
|
|
|
|
}, ExtArgs["result"]["complex"]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type ComplexSelectScalar = {
|
|
|
|
|
id?: boolean
|
|
|
|
|
name?: boolean
|
|
|
|
|
address?: boolean
|
|
|
|
|
tax_id?: boolean
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at?: boolean
|
|
|
|
|
updated_at?: boolean
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id?: boolean
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-14 16:26:44 +03:30
|
|
|
export type ComplexOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "address" | "tax_id" | "created_at" | "updated_at" | "business_activity_id", ExtArgs["result"]["complex"]>
|
2026-03-07 11:25:11 +03:30
|
|
|
export type ComplexInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
business_activity?: boolean | Prisma.BusinessActivityDefaultArgs<ExtArgs>
|
|
|
|
|
pos_list?: boolean | Prisma.Complex$pos_listArgs<ExtArgs>
|
|
|
|
|
goods?: boolean | Prisma.Complex$goodsArgs<ExtArgs>
|
|
|
|
|
good_categories?: boolean | Prisma.Complex$good_categoriesArgs<ExtArgs>
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes?: boolean | Prisma.Complex$permissionComplexesArgs<ExtArgs>
|
2026-03-07 11:25:11 +03:30
|
|
|
_count?: boolean | Prisma.ComplexCountOutputTypeDefaultArgs<ExtArgs>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type $ComplexPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
name: "Complex"
|
|
|
|
|
objects: {
|
|
|
|
|
business_activity: Prisma.$BusinessActivityPayload<ExtArgs>
|
|
|
|
|
pos_list: Prisma.$PosPayload<ExtArgs>[]
|
|
|
|
|
goods: Prisma.$GoodPayload<ExtArgs>[]
|
|
|
|
|
good_categories: Prisma.$GoodCategoryPayload<ExtArgs>[]
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes: Prisma.$PermissionComplexPayload<ExtArgs>[]
|
2026-03-07 11:25:11 +03:30
|
|
|
}
|
|
|
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
|
|
|
id: string
|
|
|
|
|
name: string
|
|
|
|
|
address: string | null
|
|
|
|
|
tax_id: string | null
|
2026-03-14 16:26:44 +03:30
|
|
|
created_at: Date
|
|
|
|
|
updated_at: Date
|
2026-03-07 11:25:11 +03:30
|
|
|
business_activity_id: string
|
|
|
|
|
}, ExtArgs["result"]["complex"]>
|
|
|
|
|
composites: {}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ComplexGetPayload<S extends boolean | null | undefined | ComplexDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ComplexPayload, S>
|
|
|
|
|
|
|
|
|
|
export type ComplexCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
|
|
|
Omit<ComplexFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
|
|
|
select?: ComplexCountAggregateInputType | true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ComplexDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
|
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Complex'], meta: { name: 'Complex' } }
|
|
|
|
|
/**
|
|
|
|
|
* Find zero or one Complex that matches the filter.
|
|
|
|
|
* @param {ComplexFindUniqueArgs} args - Arguments to find a Complex
|
|
|
|
|
* @example
|
|
|
|
|
* // Get one Complex
|
|
|
|
|
* const complex = await prisma.complex.findUnique({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*/
|
|
|
|
|
findUnique<T extends ComplexFindUniqueArgs>(args: Prisma.SelectSubset<T, ComplexFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ComplexClient<runtime.Types.Result.GetResult<Prisma.$ComplexPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Find one Complex that matches the filter or throw an error with `error.code='P2025'`
|
|
|
|
|
* if no matches were found.
|
|
|
|
|
* @param {ComplexFindUniqueOrThrowArgs} args - Arguments to find a Complex
|
|
|
|
|
* @example
|
|
|
|
|
* // Get one Complex
|
|
|
|
|
* const complex = await prisma.complex.findUniqueOrThrow({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*/
|
|
|
|
|
findUniqueOrThrow<T extends ComplexFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ComplexFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ComplexClient<runtime.Types.Result.GetResult<Prisma.$ComplexPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Find the first Complex that matches the filter.
|
|
|
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
|
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
|
|
|
* @param {ComplexFindFirstArgs} args - Arguments to find a Complex
|
|
|
|
|
* @example
|
|
|
|
|
* // Get one Complex
|
|
|
|
|
* const complex = await prisma.complex.findFirst({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*/
|
|
|
|
|
findFirst<T extends ComplexFindFirstArgs>(args?: Prisma.SelectSubset<T, ComplexFindFirstArgs<ExtArgs>>): Prisma.Prisma__ComplexClient<runtime.Types.Result.GetResult<Prisma.$ComplexPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Find the first Complex that matches the filter or
|
|
|
|
|
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
|
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
|
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
|
|
|
* @param {ComplexFindFirstOrThrowArgs} args - Arguments to find a Complex
|
|
|
|
|
* @example
|
|
|
|
|
* // Get one Complex
|
|
|
|
|
* const complex = await prisma.complex.findFirstOrThrow({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*/
|
|
|
|
|
findFirstOrThrow<T extends ComplexFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ComplexFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ComplexClient<runtime.Types.Result.GetResult<Prisma.$ComplexPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Find zero or more Complexes that matches the filter.
|
|
|
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
|
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
|
|
|
* @param {ComplexFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
|
|
|
* @example
|
|
|
|
|
* // Get all Complexes
|
|
|
|
|
* const complexes = await prisma.complex.findMany()
|
|
|
|
|
*
|
|
|
|
|
* // Get first 10 Complexes
|
|
|
|
|
* const complexes = await prisma.complex.findMany({ take: 10 })
|
|
|
|
|
*
|
|
|
|
|
* // Only select the `id`
|
|
|
|
|
* const complexWithIdOnly = await prisma.complex.findMany({ select: { id: true } })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
findMany<T extends ComplexFindManyArgs>(args?: Prisma.SelectSubset<T, ComplexFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ComplexPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Create a Complex.
|
|
|
|
|
* @param {ComplexCreateArgs} args - Arguments to create a Complex.
|
|
|
|
|
* @example
|
|
|
|
|
* // Create one Complex
|
|
|
|
|
* const Complex = await prisma.complex.create({
|
|
|
|
|
* data: {
|
|
|
|
|
* // ... data to create a Complex
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
create<T extends ComplexCreateArgs>(args: Prisma.SelectSubset<T, ComplexCreateArgs<ExtArgs>>): Prisma.Prisma__ComplexClient<runtime.Types.Result.GetResult<Prisma.$ComplexPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Create many Complexes.
|
|
|
|
|
* @param {ComplexCreateManyArgs} args - Arguments to create many Complexes.
|
|
|
|
|
* @example
|
|
|
|
|
* // Create many Complexes
|
|
|
|
|
* const complex = await prisma.complex.createMany({
|
|
|
|
|
* data: [
|
|
|
|
|
* // ... provide data here
|
|
|
|
|
* ]
|
|
|
|
|
* })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
createMany<T extends ComplexCreateManyArgs>(args?: Prisma.SelectSubset<T, ComplexCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Delete a Complex.
|
|
|
|
|
* @param {ComplexDeleteArgs} args - Arguments to delete one Complex.
|
|
|
|
|
* @example
|
|
|
|
|
* // Delete one Complex
|
|
|
|
|
* const Complex = await prisma.complex.delete({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... filter to delete one Complex
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
delete<T extends ComplexDeleteArgs>(args: Prisma.SelectSubset<T, ComplexDeleteArgs<ExtArgs>>): Prisma.Prisma__ComplexClient<runtime.Types.Result.GetResult<Prisma.$ComplexPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Update one Complex.
|
|
|
|
|
* @param {ComplexUpdateArgs} args - Arguments to update one Complex.
|
|
|
|
|
* @example
|
|
|
|
|
* // Update one Complex
|
|
|
|
|
* const complex = await prisma.complex.update({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* },
|
|
|
|
|
* data: {
|
|
|
|
|
* // ... provide data here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
update<T extends ComplexUpdateArgs>(args: Prisma.SelectSubset<T, ComplexUpdateArgs<ExtArgs>>): Prisma.Prisma__ComplexClient<runtime.Types.Result.GetResult<Prisma.$ComplexPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Delete zero or more Complexes.
|
|
|
|
|
* @param {ComplexDeleteManyArgs} args - Arguments to filter Complexes to delete.
|
|
|
|
|
* @example
|
|
|
|
|
* // Delete a few Complexes
|
|
|
|
|
* const { count } = await prisma.complex.deleteMany({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
deleteMany<T extends ComplexDeleteManyArgs>(args?: Prisma.SelectSubset<T, ComplexDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Update zero or more Complexes.
|
|
|
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
|
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
|
|
|
* @param {ComplexUpdateManyArgs} args - Arguments to update one or more rows.
|
|
|
|
|
* @example
|
|
|
|
|
* // Update many Complexes
|
|
|
|
|
* const complex = await prisma.complex.updateMany({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* },
|
|
|
|
|
* data: {
|
|
|
|
|
* // ... provide data here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
updateMany<T extends ComplexUpdateManyArgs>(args: Prisma.SelectSubset<T, ComplexUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Create or update one Complex.
|
|
|
|
|
* @param {ComplexUpsertArgs} args - Arguments to update or create a Complex.
|
|
|
|
|
* @example
|
|
|
|
|
* // Update or create a Complex
|
|
|
|
|
* const complex = await prisma.complex.upsert({
|
|
|
|
|
* create: {
|
|
|
|
|
* // ... data to create a Complex
|
|
|
|
|
* },
|
|
|
|
|
* update: {
|
|
|
|
|
* // ... in case it already exists, update
|
|
|
|
|
* },
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... the filter for the Complex we want to update
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*/
|
|
|
|
|
upsert<T extends ComplexUpsertArgs>(args: Prisma.SelectSubset<T, ComplexUpsertArgs<ExtArgs>>): Prisma.Prisma__ComplexClient<runtime.Types.Result.GetResult<Prisma.$ComplexPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Count the number of Complexes.
|
|
|
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
|
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
|
|
|
* @param {ComplexCountArgs} args - Arguments to filter Complexes to count.
|
|
|
|
|
* @example
|
|
|
|
|
* // Count the number of Complexes
|
|
|
|
|
* const count = await prisma.complex.count({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... the filter for the Complexes we want to count
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
**/
|
|
|
|
|
count<T extends ComplexCountArgs>(
|
|
|
|
|
args?: Prisma.Subset<T, ComplexCountArgs>,
|
|
|
|
|
): Prisma.PrismaPromise<
|
|
|
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
|
|
|
? T['select'] extends true
|
|
|
|
|
? number
|
|
|
|
|
: Prisma.GetScalarType<T['select'], ComplexCountAggregateOutputType>
|
|
|
|
|
: number
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Allows you to perform aggregations operations on a Complex.
|
|
|
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
|
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
|
|
|
* @param {ComplexAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
|
|
|
* @example
|
|
|
|
|
* // Ordered by age ascending
|
|
|
|
|
* // Where email contains prisma.io
|
|
|
|
|
* // Limited to the 10 users
|
|
|
|
|
* const aggregations = await prisma.user.aggregate({
|
|
|
|
|
* _avg: {
|
|
|
|
|
* age: true,
|
|
|
|
|
* },
|
|
|
|
|
* where: {
|
|
|
|
|
* email: {
|
|
|
|
|
* contains: "prisma.io",
|
|
|
|
|
* },
|
|
|
|
|
* },
|
|
|
|
|
* orderBy: {
|
|
|
|
|
* age: "asc",
|
|
|
|
|
* },
|
|
|
|
|
* take: 10,
|
|
|
|
|
* })
|
|
|
|
|
**/
|
|
|
|
|
aggregate<T extends ComplexAggregateArgs>(args: Prisma.Subset<T, ComplexAggregateArgs>): Prisma.PrismaPromise<GetComplexAggregateType<T>>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Group by Complex.
|
|
|
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
|
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
|
|
|
* @param {ComplexGroupByArgs} args - Group by arguments.
|
|
|
|
|
* @example
|
|
|
|
|
* // Group by city, order by createdAt, get count
|
|
|
|
|
* const result = await prisma.user.groupBy({
|
|
|
|
|
* by: ['city', 'createdAt'],
|
|
|
|
|
* orderBy: {
|
|
|
|
|
* createdAt: true
|
|
|
|
|
* },
|
|
|
|
|
* _count: {
|
|
|
|
|
* _all: true
|
|
|
|
|
* },
|
|
|
|
|
* })
|
|
|
|
|
*
|
|
|
|
|
**/
|
|
|
|
|
groupBy<
|
|
|
|
|
T extends ComplexGroupByArgs,
|
|
|
|
|
HasSelectOrTake extends Prisma.Or<
|
|
|
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
|
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
|
|
|
>,
|
|
|
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
|
|
|
? { orderBy: ComplexGroupByArgs['orderBy'] }
|
|
|
|
|
: { orderBy?: ComplexGroupByArgs['orderBy'] },
|
|
|
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
|
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
|
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
|
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
|
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
|
|
|
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
|
|
|
InputErrors extends ByEmpty extends Prisma.True
|
|
|
|
|
? `Error: "by" must not be empty.`
|
|
|
|
|
: HavingValid extends Prisma.False
|
|
|
|
|
? {
|
|
|
|
|
[P in HavingFields]: P extends ByFields
|
|
|
|
|
? never
|
|
|
|
|
: P extends string
|
|
|
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
|
|
|
: [
|
|
|
|
|
Error,
|
|
|
|
|
'Field ',
|
|
|
|
|
P,
|
|
|
|
|
` in "having" needs to be provided in "by"`,
|
|
|
|
|
]
|
|
|
|
|
}[HavingFields]
|
|
|
|
|
: 'take' extends Prisma.Keys<T>
|
|
|
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
|
|
|
? ByValid extends Prisma.True
|
|
|
|
|
? {}
|
|
|
|
|
: {
|
|
|
|
|
[P in OrderFields]: P extends ByFields
|
|
|
|
|
? never
|
|
|
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
|
|
|
}[OrderFields]
|
|
|
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
|
|
|
: 'skip' extends Prisma.Keys<T>
|
|
|
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
|
|
|
? ByValid extends Prisma.True
|
|
|
|
|
? {}
|
|
|
|
|
: {
|
|
|
|
|
[P in OrderFields]: P extends ByFields
|
|
|
|
|
? never
|
|
|
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
|
|
|
}[OrderFields]
|
|
|
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
|
|
|
: ByValid extends Prisma.True
|
|
|
|
|
? {}
|
|
|
|
|
: {
|
|
|
|
|
[P in OrderFields]: P extends ByFields
|
|
|
|
|
? never
|
|
|
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
|
|
|
}[OrderFields]
|
|
|
|
|
>(args: Prisma.SubsetIntersection<T, ComplexGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetComplexGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
|
|
|
/**
|
|
|
|
|
* Fields of the Complex model
|
|
|
|
|
*/
|
|
|
|
|
readonly fields: ComplexFieldRefs;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The delegate class that acts as a "Promise-like" for Complex.
|
|
|
|
|
* Why is this prefixed with `Prisma__`?
|
|
|
|
|
* Because we want to prevent naming conflicts as mentioned in
|
|
|
|
|
* https://github.com/prisma/prisma-client-js/issues/707
|
|
|
|
|
*/
|
|
|
|
|
export interface Prisma__ComplexClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
|
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
|
|
|
business_activity<T extends Prisma.BusinessActivityDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BusinessActivityDefaultArgs<ExtArgs>>): Prisma.Prisma__BusinessActivityClient<runtime.Types.Result.GetResult<Prisma.$BusinessActivityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
pos_list<T extends Prisma.Complex$pos_listArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Complex$pos_listArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PosPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
|
|
|
goods<T extends Prisma.Complex$goodsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Complex$goodsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GoodPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
|
|
|
good_categories<T extends Prisma.Complex$good_categoriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Complex$good_categoriesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GoodCategoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
2026-03-16 00:33:40 +03:30
|
|
|
permissionComplexes<T extends Prisma.Complex$permissionComplexesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Complex$permissionComplexesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PermissionComplexPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
2026-03-07 11:25:11 +03:30
|
|
|
/**
|
|
|
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
|
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
|
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
|
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
|
|
|
*/
|
|
|
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
|
|
|
/**
|
|
|
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
|
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
|
|
|
* @returns A Promise for the completion of the callback.
|
|
|
|
|
*/
|
|
|
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
|
|
|
/**
|
|
|
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
|
|
|
* resolved value cannot be modified from the callback.
|
|
|
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
|
|
|
* @returns A Promise for the completion of the callback.
|
|
|
|
|
*/
|
|
|
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Fields of the Complex model
|
|
|
|
|
*/
|
|
|
|
|
export interface ComplexFieldRefs {
|
|
|
|
|
readonly id: Prisma.FieldRef<"Complex", 'String'>
|
|
|
|
|
readonly name: Prisma.FieldRef<"Complex", 'String'>
|
|
|
|
|
readonly address: Prisma.FieldRef<"Complex", 'String'>
|
|
|
|
|
readonly tax_id: Prisma.FieldRef<"Complex", 'String'>
|
2026-03-14 16:26:44 +03:30
|
|
|
readonly created_at: Prisma.FieldRef<"Complex", 'DateTime'>
|
|
|
|
|
readonly updated_at: Prisma.FieldRef<"Complex", 'DateTime'>
|
2026-03-07 11:25:11 +03:30
|
|
|
readonly business_activity_id: Prisma.FieldRef<"Complex", 'String'>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Custom InputTypes
|
|
|
|
|
/**
|
|
|
|
|
* Complex findUnique
|
|
|
|
|
*/
|
|
|
|
|
export type ComplexFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the Complex
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.ComplexSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the Complex
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.ComplexOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.ComplexInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter, which Complex to fetch.
|
|
|
|
|
*/
|
|
|
|
|
where: Prisma.ComplexWhereUniqueInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Complex findUniqueOrThrow
|
|
|
|
|
*/
|
|
|
|
|
export type ComplexFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the Complex
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.ComplexSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the Complex
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.ComplexOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.ComplexInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter, which Complex to fetch.
|
|
|
|
|
*/
|
|
|
|
|
where: Prisma.ComplexWhereUniqueInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Complex findFirst
|
|
|
|
|
*/
|
|
|
|
|
export type ComplexFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the Complex
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.ComplexSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the Complex
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.ComplexOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.ComplexInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter, which Complex to fetch.
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.ComplexWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
|
|
|
*
|
|
|
|
|
* Determine the order of Complexes to fetch.
|
|
|
|
|
*/
|
|
|
|
|
orderBy?: Prisma.ComplexOrderByWithRelationInput | Prisma.ComplexOrderByWithRelationInput[]
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
|
|
|
*
|
|
|
|
|
* Sets the position for searching for Complexes.
|
|
|
|
|
*/
|
|
|
|
|
cursor?: Prisma.ComplexWhereUniqueInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
|
|
|
*
|
|
|
|
|
* Take `±n` Complexes from the position of the cursor.
|
|
|
|
|
*/
|
|
|
|
|
take?: number
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
|
|
|
*
|
|
|
|
|
* Skip the first `n` Complexes.
|
|
|
|
|
*/
|
|
|
|
|
skip?: number
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
|
|
|
*
|
|
|
|
|
* Filter by unique combinations of Complexes.
|
|
|
|
|
*/
|
|
|
|
|
distinct?: Prisma.ComplexScalarFieldEnum | Prisma.ComplexScalarFieldEnum[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Complex findFirstOrThrow
|
|
|
|
|
*/
|
|
|
|
|
export type ComplexFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the Complex
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.ComplexSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the Complex
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.ComplexOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.ComplexInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter, which Complex to fetch.
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.ComplexWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
|
|
|
*
|
|
|
|
|
* Determine the order of Complexes to fetch.
|
|
|
|
|
*/
|
|
|
|
|
orderBy?: Prisma.ComplexOrderByWithRelationInput | Prisma.ComplexOrderByWithRelationInput[]
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
|
|
|
*
|
|
|
|
|
* Sets the position for searching for Complexes.
|
|
|
|
|
*/
|
|
|
|
|
cursor?: Prisma.ComplexWhereUniqueInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
|
|
|
*
|
|
|
|
|
* Take `±n` Complexes from the position of the cursor.
|
|
|
|
|
*/
|
|
|
|
|
take?: number
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
|
|
|
*
|
|
|
|
|
* Skip the first `n` Complexes.
|
|
|
|
|
*/
|
|
|
|
|
skip?: number
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
|
|
|
*
|
|
|
|
|
* Filter by unique combinations of Complexes.
|
|
|
|
|
*/
|
|
|
|
|
distinct?: Prisma.ComplexScalarFieldEnum | Prisma.ComplexScalarFieldEnum[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Complex findMany
|
|
|
|
|
*/
|
|
|
|
|
export type ComplexFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the Complex
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.ComplexSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the Complex
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.ComplexOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.ComplexInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter, which Complexes to fetch.
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.ComplexWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
|
|
|
*
|
|
|
|
|
* Determine the order of Complexes to fetch.
|
|
|
|
|
*/
|
|
|
|
|
orderBy?: Prisma.ComplexOrderByWithRelationInput | Prisma.ComplexOrderByWithRelationInput[]
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
|
|
|
*
|
|
|
|
|
* Sets the position for listing Complexes.
|
|
|
|
|
*/
|
|
|
|
|
cursor?: Prisma.ComplexWhereUniqueInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
|
|
|
*
|
|
|
|
|
* Take `±n` Complexes from the position of the cursor.
|
|
|
|
|
*/
|
|
|
|
|
take?: number
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
|
|
|
*
|
|
|
|
|
* Skip the first `n` Complexes.
|
|
|
|
|
*/
|
|
|
|
|
skip?: number
|
|
|
|
|
distinct?: Prisma.ComplexScalarFieldEnum | Prisma.ComplexScalarFieldEnum[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Complex create
|
|
|
|
|
*/
|
|
|
|
|
export type ComplexCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the Complex
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.ComplexSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the Complex
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.ComplexOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.ComplexInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* The data needed to create a Complex.
|
|
|
|
|
*/
|
|
|
|
|
data: Prisma.XOR<Prisma.ComplexCreateInput, Prisma.ComplexUncheckedCreateInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Complex createMany
|
|
|
|
|
*/
|
|
|
|
|
export type ComplexCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* The data used to create many Complexes.
|
|
|
|
|
*/
|
|
|
|
|
data: Prisma.ComplexCreateManyInput | Prisma.ComplexCreateManyInput[]
|
|
|
|
|
skipDuplicates?: boolean
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Complex update
|
|
|
|
|
*/
|
|
|
|
|
export type ComplexUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the Complex
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.ComplexSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the Complex
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.ComplexOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.ComplexInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* The data needed to update a Complex.
|
|
|
|
|
*/
|
|
|
|
|
data: Prisma.XOR<Prisma.ComplexUpdateInput, Prisma.ComplexUncheckedUpdateInput>
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which Complex to update.
|
|
|
|
|
*/
|
|
|
|
|
where: Prisma.ComplexWhereUniqueInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Complex updateMany
|
|
|
|
|
*/
|
|
|
|
|
export type ComplexUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* The data used to update Complexes.
|
|
|
|
|
*/
|
|
|
|
|
data: Prisma.XOR<Prisma.ComplexUpdateManyMutationInput, Prisma.ComplexUncheckedUpdateManyInput>
|
|
|
|
|
/**
|
|
|
|
|
* Filter which Complexes to update
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.ComplexWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* Limit how many Complexes to update.
|
|
|
|
|
*/
|
|
|
|
|
limit?: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Complex upsert
|
|
|
|
|
*/
|
|
|
|
|
export type ComplexUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the Complex
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.ComplexSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the Complex
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.ComplexOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.ComplexInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* The filter to search for the Complex to update in case it exists.
|
|
|
|
|
*/
|
|
|
|
|
where: Prisma.ComplexWhereUniqueInput
|
|
|
|
|
/**
|
|
|
|
|
* In case the Complex found by the `where` argument doesn't exist, create a new Complex with this data.
|
|
|
|
|
*/
|
|
|
|
|
create: Prisma.XOR<Prisma.ComplexCreateInput, Prisma.ComplexUncheckedCreateInput>
|
|
|
|
|
/**
|
|
|
|
|
* In case the Complex was found with the provided `where` argument, update it with this data.
|
|
|
|
|
*/
|
|
|
|
|
update: Prisma.XOR<Prisma.ComplexUpdateInput, Prisma.ComplexUncheckedUpdateInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Complex delete
|
|
|
|
|
*/
|
|
|
|
|
export type ComplexDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the Complex
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.ComplexSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the Complex
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.ComplexOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.ComplexInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter which Complex to delete.
|
|
|
|
|
*/
|
|
|
|
|
where: Prisma.ComplexWhereUniqueInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Complex deleteMany
|
|
|
|
|
*/
|
|
|
|
|
export type ComplexDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Filter which Complexes to delete
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.ComplexWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* Limit how many Complexes to delete.
|
|
|
|
|
*/
|
|
|
|
|
limit?: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Complex.pos_list
|
|
|
|
|
*/
|
|
|
|
|
export type Complex$pos_listArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the Pos
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.PosSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the Pos
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.PosOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.PosInclude<ExtArgs> | null
|
|
|
|
|
where?: Prisma.PosWhereInput
|
|
|
|
|
orderBy?: Prisma.PosOrderByWithRelationInput | Prisma.PosOrderByWithRelationInput[]
|
|
|
|
|
cursor?: Prisma.PosWhereUniqueInput
|
|
|
|
|
take?: number
|
|
|
|
|
skip?: number
|
|
|
|
|
distinct?: Prisma.PosScalarFieldEnum | Prisma.PosScalarFieldEnum[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Complex.goods
|
|
|
|
|
*/
|
|
|
|
|
export type Complex$goodsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the Good
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.GoodSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the Good
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.GoodOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.GoodInclude<ExtArgs> | null
|
|
|
|
|
where?: Prisma.GoodWhereInput
|
|
|
|
|
orderBy?: Prisma.GoodOrderByWithRelationInput | Prisma.GoodOrderByWithRelationInput[]
|
|
|
|
|
cursor?: Prisma.GoodWhereUniqueInput
|
|
|
|
|
take?: number
|
|
|
|
|
skip?: number
|
|
|
|
|
distinct?: Prisma.GoodScalarFieldEnum | Prisma.GoodScalarFieldEnum[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Complex.good_categories
|
|
|
|
|
*/
|
|
|
|
|
export type Complex$good_categoriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the GoodCategory
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.GoodCategorySelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the GoodCategory
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.GoodCategoryOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.GoodCategoryInclude<ExtArgs> | null
|
|
|
|
|
where?: Prisma.GoodCategoryWhereInput
|
|
|
|
|
orderBy?: Prisma.GoodCategoryOrderByWithRelationInput | Prisma.GoodCategoryOrderByWithRelationInput[]
|
|
|
|
|
cursor?: Prisma.GoodCategoryWhereUniqueInput
|
|
|
|
|
take?: number
|
|
|
|
|
skip?: number
|
|
|
|
|
distinct?: Prisma.GoodCategoryScalarFieldEnum | Prisma.GoodCategoryScalarFieldEnum[]
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-16 00:33:40 +03:30
|
|
|
/**
|
|
|
|
|
* Complex.permissionComplexes
|
|
|
|
|
*/
|
|
|
|
|
export type Complex$permissionComplexesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the PermissionComplex
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.PermissionComplexSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the PermissionComplex
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.PermissionComplexOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.PermissionComplexInclude<ExtArgs> | null
|
|
|
|
|
where?: Prisma.PermissionComplexWhereInput
|
|
|
|
|
orderBy?: Prisma.PermissionComplexOrderByWithRelationInput | Prisma.PermissionComplexOrderByWithRelationInput[]
|
|
|
|
|
cursor?: Prisma.PermissionComplexWhereUniqueInput
|
|
|
|
|
take?: number
|
|
|
|
|
skip?: number
|
|
|
|
|
distinct?: Prisma.PermissionComplexScalarFieldEnum | Prisma.PermissionComplexScalarFieldEnum[]
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-07 11:25:11 +03:30
|
|
|
/**
|
|
|
|
|
* Complex without action
|
|
|
|
|
*/
|
|
|
|
|
export type ComplexDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the Complex
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.ComplexSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the Complex
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.ComplexOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.ComplexInclude<ExtArgs> | null
|
|
|
|
|
}
|