2021 lines
78 KiB
TypeScript
2021 lines
78 KiB
TypeScript
|
|
|
||
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
||
|
|
/* eslint-disable */
|
||
|
|
// biome-ignore-all lint: generated file
|
||
|
|
// @ts-nocheck
|
||
|
|
/*
|
||
|
|
* This file exports the `Pos` 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 Pos
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
export type PosModel = runtime.Types.Result.DefaultSelection<Prisma.$PosPayload>
|
||
|
|
|
||
|
|
export type AggregatePos = {
|
||
|
|
_count: PosCountAggregateOutputType | null
|
||
|
|
_min: PosMinAggregateOutputType | null
|
||
|
|
_max: PosMaxAggregateOutputType | null
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosMinAggregateOutputType = {
|
||
|
|
id: string | null
|
||
|
|
serial: string | null
|
||
|
|
model: string | null
|
||
|
|
status: $Enums.POSStatus | null
|
||
|
|
pos_type: $Enums.POSType | null
|
||
|
|
created_at: Date | null
|
||
|
|
updated_at: Date | null
|
||
|
|
complex_id: string | null
|
||
|
|
device_id: string | null
|
||
|
|
provider_id: string | null
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosMaxAggregateOutputType = {
|
||
|
|
id: string | null
|
||
|
|
serial: string | null
|
||
|
|
model: string | null
|
||
|
|
status: $Enums.POSStatus | null
|
||
|
|
pos_type: $Enums.POSType | null
|
||
|
|
created_at: Date | null
|
||
|
|
updated_at: Date | null
|
||
|
|
complex_id: string | null
|
||
|
|
device_id: string | null
|
||
|
|
provider_id: string | null
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCountAggregateOutputType = {
|
||
|
|
id: number
|
||
|
|
serial: number
|
||
|
|
model: number
|
||
|
|
status: number
|
||
|
|
pos_type: number
|
||
|
|
created_at: number
|
||
|
|
updated_at: number
|
||
|
|
complex_id: number
|
||
|
|
device_id: number
|
||
|
|
provider_id: number
|
||
|
|
_all: number
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
export type PosMinAggregateInputType = {
|
||
|
|
id?: true
|
||
|
|
serial?: true
|
||
|
|
model?: true
|
||
|
|
status?: true
|
||
|
|
pos_type?: true
|
||
|
|
created_at?: true
|
||
|
|
updated_at?: true
|
||
|
|
complex_id?: true
|
||
|
|
device_id?: true
|
||
|
|
provider_id?: true
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosMaxAggregateInputType = {
|
||
|
|
id?: true
|
||
|
|
serial?: true
|
||
|
|
model?: true
|
||
|
|
status?: true
|
||
|
|
pos_type?: true
|
||
|
|
created_at?: true
|
||
|
|
updated_at?: true
|
||
|
|
complex_id?: true
|
||
|
|
device_id?: true
|
||
|
|
provider_id?: true
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCountAggregateInputType = {
|
||
|
|
id?: true
|
||
|
|
serial?: true
|
||
|
|
model?: true
|
||
|
|
status?: true
|
||
|
|
pos_type?: true
|
||
|
|
created_at?: true
|
||
|
|
updated_at?: true
|
||
|
|
complex_id?: true
|
||
|
|
device_id?: true
|
||
|
|
provider_id?: true
|
||
|
|
_all?: true
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Filter which Pos to aggregate.
|
||
|
|
*/
|
||
|
|
where?: Prisma.PosWhereInput
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
||
|
|
*
|
||
|
|
* Determine the order of Pos to fetch.
|
||
|
|
*/
|
||
|
|
orderBy?: Prisma.PosOrderByWithRelationInput | Prisma.PosOrderByWithRelationInput[]
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
||
|
|
*
|
||
|
|
* Sets the start position
|
||
|
|
*/
|
||
|
|
cursor?: Prisma.PosWhereUniqueInput
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
||
|
|
*
|
||
|
|
* Take `±n` Pos 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` Pos.
|
||
|
|
*/
|
||
|
|
skip?: number
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
||
|
|
*
|
||
|
|
* Count returned Pos
|
||
|
|
**/
|
||
|
|
_count?: true | PosCountAggregateInputType
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
||
|
|
*
|
||
|
|
* Select which fields to find the minimum value
|
||
|
|
**/
|
||
|
|
_min?: PosMinAggregateInputType
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
||
|
|
*
|
||
|
|
* Select which fields to find the maximum value
|
||
|
|
**/
|
||
|
|
_max?: PosMaxAggregateInputType
|
||
|
|
}
|
||
|
|
|
||
|
|
export type GetPosAggregateType<T extends PosAggregateArgs> = {
|
||
|
|
[P in keyof T & keyof AggregatePos]: P extends '_count' | 'count'
|
||
|
|
? T[P] extends true
|
||
|
|
? number
|
||
|
|
: Prisma.GetScalarType<T[P], AggregatePos[P]>
|
||
|
|
: Prisma.GetScalarType<T[P], AggregatePos[P]>
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
export type PosGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
where?: Prisma.PosWhereInput
|
||
|
|
orderBy?: Prisma.PosOrderByWithAggregationInput | Prisma.PosOrderByWithAggregationInput[]
|
||
|
|
by: Prisma.PosScalarFieldEnum[] | Prisma.PosScalarFieldEnum
|
||
|
|
having?: Prisma.PosScalarWhereWithAggregatesInput
|
||
|
|
take?: number
|
||
|
|
skip?: number
|
||
|
|
_count?: PosCountAggregateInputType | true
|
||
|
|
_min?: PosMinAggregateInputType
|
||
|
|
_max?: PosMaxAggregateInputType
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosGroupByOutputType = {
|
||
|
|
id: string
|
||
|
|
serial: string
|
||
|
|
model: string | null
|
||
|
|
status: $Enums.POSStatus
|
||
|
|
pos_type: $Enums.POSType
|
||
|
|
created_at: Date
|
||
|
|
updated_at: Date
|
||
|
|
complex_id: string
|
||
|
|
device_id: string
|
||
|
|
provider_id: string | null
|
||
|
|
_count: PosCountAggregateOutputType | null
|
||
|
|
_min: PosMinAggregateOutputType | null
|
||
|
|
_max: PosMaxAggregateOutputType | null
|
||
|
|
}
|
||
|
|
|
||
|
|
type GetPosGroupByPayload<T extends PosGroupByArgs> = Prisma.PrismaPromise<
|
||
|
|
Array<
|
||
|
|
Prisma.PickEnumerable<PosGroupByOutputType, T['by']> &
|
||
|
|
{
|
||
|
|
[P in ((keyof T) & (keyof PosGroupByOutputType))]: P extends '_count'
|
||
|
|
? T[P] extends boolean
|
||
|
|
? number
|
||
|
|
: Prisma.GetScalarType<T[P], PosGroupByOutputType[P]>
|
||
|
|
: Prisma.GetScalarType<T[P], PosGroupByOutputType[P]>
|
||
|
|
}
|
||
|
|
>
|
||
|
|
>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
export type PosWhereInput = {
|
||
|
|
AND?: Prisma.PosWhereInput | Prisma.PosWhereInput[]
|
||
|
|
OR?: Prisma.PosWhereInput[]
|
||
|
|
NOT?: Prisma.PosWhereInput | Prisma.PosWhereInput[]
|
||
|
|
id?: Prisma.StringFilter<"Pos"> | string
|
||
|
|
serial?: Prisma.StringFilter<"Pos"> | string
|
||
|
|
model?: Prisma.StringNullableFilter<"Pos"> | string | null
|
||
|
|
status?: Prisma.EnumPOSStatusFilter<"Pos"> | $Enums.POSStatus
|
||
|
|
pos_type?: Prisma.EnumPOSTypeFilter<"Pos"> | $Enums.POSType
|
||
|
|
created_at?: Prisma.DateTimeFilter<"Pos"> | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFilter<"Pos"> | Date | string
|
||
|
|
complex_id?: Prisma.StringFilter<"Pos"> | string
|
||
|
|
device_id?: Prisma.StringFilter<"Pos"> | string
|
||
|
|
provider_id?: Prisma.StringNullableFilter<"Pos"> | string | null
|
||
|
|
complex?: Prisma.XOR<Prisma.ComplexScalarRelationFilter, Prisma.ComplexWhereInput>
|
||
|
|
device?: Prisma.XOR<Prisma.DeviceScalarRelationFilter, Prisma.DeviceWhereInput>
|
||
|
|
provider?: Prisma.XOR<Prisma.ProviderNullableScalarRelationFilter, Prisma.ProviderWhereInput> | null
|
||
|
|
licenses?: Prisma.LicenseListRelationFilter
|
||
|
|
accounts?: Prisma.AccountListRelationFilter
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosOrderByWithRelationInput = {
|
||
|
|
id?: Prisma.SortOrder
|
||
|
|
serial?: Prisma.SortOrder
|
||
|
|
model?: Prisma.SortOrderInput | Prisma.SortOrder
|
||
|
|
status?: Prisma.SortOrder
|
||
|
|
pos_type?: Prisma.SortOrder
|
||
|
|
created_at?: Prisma.SortOrder
|
||
|
|
updated_at?: Prisma.SortOrder
|
||
|
|
complex_id?: Prisma.SortOrder
|
||
|
|
device_id?: Prisma.SortOrder
|
||
|
|
provider_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||
|
|
complex?: Prisma.ComplexOrderByWithRelationInput
|
||
|
|
device?: Prisma.DeviceOrderByWithRelationInput
|
||
|
|
provider?: Prisma.ProviderOrderByWithRelationInput
|
||
|
|
licenses?: Prisma.LicenseOrderByRelationAggregateInput
|
||
|
|
accounts?: Prisma.AccountOrderByRelationAggregateInput
|
||
|
|
_relevance?: Prisma.PosOrderByRelevanceInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosWhereUniqueInput = Prisma.AtLeast<{
|
||
|
|
id?: string
|
||
|
|
serial?: string
|
||
|
|
AND?: Prisma.PosWhereInput | Prisma.PosWhereInput[]
|
||
|
|
OR?: Prisma.PosWhereInput[]
|
||
|
|
NOT?: Prisma.PosWhereInput | Prisma.PosWhereInput[]
|
||
|
|
model?: Prisma.StringNullableFilter<"Pos"> | string | null
|
||
|
|
status?: Prisma.EnumPOSStatusFilter<"Pos"> | $Enums.POSStatus
|
||
|
|
pos_type?: Prisma.EnumPOSTypeFilter<"Pos"> | $Enums.POSType
|
||
|
|
created_at?: Prisma.DateTimeFilter<"Pos"> | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFilter<"Pos"> | Date | string
|
||
|
|
complex_id?: Prisma.StringFilter<"Pos"> | string
|
||
|
|
device_id?: Prisma.StringFilter<"Pos"> | string
|
||
|
|
provider_id?: Prisma.StringNullableFilter<"Pos"> | string | null
|
||
|
|
complex?: Prisma.XOR<Prisma.ComplexScalarRelationFilter, Prisma.ComplexWhereInput>
|
||
|
|
device?: Prisma.XOR<Prisma.DeviceScalarRelationFilter, Prisma.DeviceWhereInput>
|
||
|
|
provider?: Prisma.XOR<Prisma.ProviderNullableScalarRelationFilter, Prisma.ProviderWhereInput> | null
|
||
|
|
licenses?: Prisma.LicenseListRelationFilter
|
||
|
|
accounts?: Prisma.AccountListRelationFilter
|
||
|
|
}, "id" | "serial">
|
||
|
|
|
||
|
|
export type PosOrderByWithAggregationInput = {
|
||
|
|
id?: Prisma.SortOrder
|
||
|
|
serial?: Prisma.SortOrder
|
||
|
|
model?: Prisma.SortOrderInput | Prisma.SortOrder
|
||
|
|
status?: Prisma.SortOrder
|
||
|
|
pos_type?: Prisma.SortOrder
|
||
|
|
created_at?: Prisma.SortOrder
|
||
|
|
updated_at?: Prisma.SortOrder
|
||
|
|
complex_id?: Prisma.SortOrder
|
||
|
|
device_id?: Prisma.SortOrder
|
||
|
|
provider_id?: Prisma.SortOrderInput | Prisma.SortOrder
|
||
|
|
_count?: Prisma.PosCountOrderByAggregateInput
|
||
|
|
_max?: Prisma.PosMaxOrderByAggregateInput
|
||
|
|
_min?: Prisma.PosMinOrderByAggregateInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosScalarWhereWithAggregatesInput = {
|
||
|
|
AND?: Prisma.PosScalarWhereWithAggregatesInput | Prisma.PosScalarWhereWithAggregatesInput[]
|
||
|
|
OR?: Prisma.PosScalarWhereWithAggregatesInput[]
|
||
|
|
NOT?: Prisma.PosScalarWhereWithAggregatesInput | Prisma.PosScalarWhereWithAggregatesInput[]
|
||
|
|
id?: Prisma.StringWithAggregatesFilter<"Pos"> | string
|
||
|
|
serial?: Prisma.StringWithAggregatesFilter<"Pos"> | string
|
||
|
|
model?: Prisma.StringNullableWithAggregatesFilter<"Pos"> | string | null
|
||
|
|
status?: Prisma.EnumPOSStatusWithAggregatesFilter<"Pos"> | $Enums.POSStatus
|
||
|
|
pos_type?: Prisma.EnumPOSTypeWithAggregatesFilter<"Pos"> | $Enums.POSType
|
||
|
|
created_at?: Prisma.DateTimeWithAggregatesFilter<"Pos"> | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeWithAggregatesFilter<"Pos"> | Date | string
|
||
|
|
complex_id?: Prisma.StringWithAggregatesFilter<"Pos"> | string
|
||
|
|
device_id?: Prisma.StringWithAggregatesFilter<"Pos"> | string
|
||
|
|
provider_id?: Prisma.StringNullableWithAggregatesFilter<"Pos"> | string | null
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCreateInput = {
|
||
|
|
id?: string
|
||
|
|
serial: string
|
||
|
|
model?: string | null
|
||
|
|
status?: $Enums.POSStatus
|
||
|
|
pos_type: $Enums.POSType
|
||
|
|
created_at?: Date | string
|
||
|
|
updated_at?: Date | string
|
||
|
|
complex: Prisma.ComplexCreateNestedOneWithoutPos_listInput
|
||
|
|
device: Prisma.DeviceCreateNestedOneWithoutPosesInput
|
||
|
|
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
|
||
|
|
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
|
||
|
|
accounts?: Prisma.AccountCreateNestedManyWithoutPosInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUncheckedCreateInput = {
|
||
|
|
id?: string
|
||
|
|
serial: string
|
||
|
|
model?: string | null
|
||
|
|
status?: $Enums.POSStatus
|
||
|
|
pos_type: $Enums.POSType
|
||
|
|
created_at?: Date | string
|
||
|
|
updated_at?: Date | string
|
||
|
|
complex_id: string
|
||
|
|
device_id: string
|
||
|
|
provider_id?: string | null
|
||
|
|
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
|
||
|
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutPosInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUpdateInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
serial?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||
|
|
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||
|
|
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
complex?: Prisma.ComplexUpdateOneRequiredWithoutPos_listNestedInput
|
||
|
|
device?: Prisma.DeviceUpdateOneRequiredWithoutPosesNestedInput
|
||
|
|
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
|
||
|
|
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
|
||
|
|
accounts?: Prisma.AccountUpdateManyWithoutPosNestedInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUncheckedUpdateInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
serial?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||
|
|
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||
|
|
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
device_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||
|
|
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPosNestedInput
|
||
|
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutPosNestedInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCreateManyInput = {
|
||
|
|
id?: string
|
||
|
|
serial: string
|
||
|
|
model?: string | null
|
||
|
|
status?: $Enums.POSStatus
|
||
|
|
pos_type: $Enums.POSType
|
||
|
|
created_at?: Date | string
|
||
|
|
updated_at?: Date | string
|
||
|
|
complex_id: string
|
||
|
|
device_id: string
|
||
|
|
provider_id?: string | null
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUpdateManyMutationInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
serial?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||
|
|
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||
|
|
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUncheckedUpdateManyInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
serial?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||
|
|
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||
|
|
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
device_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosListRelationFilter = {
|
||
|
|
every?: Prisma.PosWhereInput
|
||
|
|
some?: Prisma.PosWhereInput
|
||
|
|
none?: Prisma.PosWhereInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosOrderByRelationAggregateInput = {
|
||
|
|
_count?: Prisma.SortOrder
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosOrderByRelevanceInput = {
|
||
|
|
fields: Prisma.PosOrderByRelevanceFieldEnum | Prisma.PosOrderByRelevanceFieldEnum[]
|
||
|
|
sort: Prisma.SortOrder
|
||
|
|
search: string
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCountOrderByAggregateInput = {
|
||
|
|
id?: Prisma.SortOrder
|
||
|
|
serial?: Prisma.SortOrder
|
||
|
|
model?: Prisma.SortOrder
|
||
|
|
status?: Prisma.SortOrder
|
||
|
|
pos_type?: Prisma.SortOrder
|
||
|
|
created_at?: Prisma.SortOrder
|
||
|
|
updated_at?: Prisma.SortOrder
|
||
|
|
complex_id?: Prisma.SortOrder
|
||
|
|
device_id?: Prisma.SortOrder
|
||
|
|
provider_id?: Prisma.SortOrder
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosMaxOrderByAggregateInput = {
|
||
|
|
id?: Prisma.SortOrder
|
||
|
|
serial?: Prisma.SortOrder
|
||
|
|
model?: Prisma.SortOrder
|
||
|
|
status?: Prisma.SortOrder
|
||
|
|
pos_type?: Prisma.SortOrder
|
||
|
|
created_at?: Prisma.SortOrder
|
||
|
|
updated_at?: Prisma.SortOrder
|
||
|
|
complex_id?: Prisma.SortOrder
|
||
|
|
device_id?: Prisma.SortOrder
|
||
|
|
provider_id?: Prisma.SortOrder
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosMinOrderByAggregateInput = {
|
||
|
|
id?: Prisma.SortOrder
|
||
|
|
serial?: Prisma.SortOrder
|
||
|
|
model?: Prisma.SortOrder
|
||
|
|
status?: Prisma.SortOrder
|
||
|
|
pos_type?: Prisma.SortOrder
|
||
|
|
created_at?: Prisma.SortOrder
|
||
|
|
updated_at?: Prisma.SortOrder
|
||
|
|
complex_id?: Prisma.SortOrder
|
||
|
|
device_id?: Prisma.SortOrder
|
||
|
|
provider_id?: Prisma.SortOrder
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosScalarRelationFilter = {
|
||
|
|
is?: Prisma.PosWhereInput
|
||
|
|
isNot?: Prisma.PosWhereInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosNullableScalarRelationFilter = {
|
||
|
|
is?: Prisma.PosWhereInput | null
|
||
|
|
isNot?: Prisma.PosWhereInput | null
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCreateNestedManyWithoutComplexInput = {
|
||
|
|
create?: Prisma.XOR<Prisma.PosCreateWithoutComplexInput, Prisma.PosUncheckedCreateWithoutComplexInput> | Prisma.PosCreateWithoutComplexInput[] | Prisma.PosUncheckedCreateWithoutComplexInput[]
|
||
|
|
connectOrCreate?: Prisma.PosCreateOrConnectWithoutComplexInput | Prisma.PosCreateOrConnectWithoutComplexInput[]
|
||
|
|
createMany?: Prisma.PosCreateManyComplexInputEnvelope
|
||
|
|
connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUncheckedCreateNestedManyWithoutComplexInput = {
|
||
|
|
create?: Prisma.XOR<Prisma.PosCreateWithoutComplexInput, Prisma.PosUncheckedCreateWithoutComplexInput> | Prisma.PosCreateWithoutComplexInput[] | Prisma.PosUncheckedCreateWithoutComplexInput[]
|
||
|
|
connectOrCreate?: Prisma.PosCreateOrConnectWithoutComplexInput | Prisma.PosCreateOrConnectWithoutComplexInput[]
|
||
|
|
createMany?: Prisma.PosCreateManyComplexInputEnvelope
|
||
|
|
connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUpdateManyWithoutComplexNestedInput = {
|
||
|
|
create?: Prisma.XOR<Prisma.PosCreateWithoutComplexInput, Prisma.PosUncheckedCreateWithoutComplexInput> | Prisma.PosCreateWithoutComplexInput[] | Prisma.PosUncheckedCreateWithoutComplexInput[]
|
||
|
|
connectOrCreate?: Prisma.PosCreateOrConnectWithoutComplexInput | Prisma.PosCreateOrConnectWithoutComplexInput[]
|
||
|
|
upsert?: Prisma.PosUpsertWithWhereUniqueWithoutComplexInput | Prisma.PosUpsertWithWhereUniqueWithoutComplexInput[]
|
||
|
|
createMany?: Prisma.PosCreateManyComplexInputEnvelope
|
||
|
|
set?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
disconnect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
delete?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
update?: Prisma.PosUpdateWithWhereUniqueWithoutComplexInput | Prisma.PosUpdateWithWhereUniqueWithoutComplexInput[]
|
||
|
|
updateMany?: Prisma.PosUpdateManyWithWhereWithoutComplexInput | Prisma.PosUpdateManyWithWhereWithoutComplexInput[]
|
||
|
|
deleteMany?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[]
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUncheckedUpdateManyWithoutComplexNestedInput = {
|
||
|
|
create?: Prisma.XOR<Prisma.PosCreateWithoutComplexInput, Prisma.PosUncheckedCreateWithoutComplexInput> | Prisma.PosCreateWithoutComplexInput[] | Prisma.PosUncheckedCreateWithoutComplexInput[]
|
||
|
|
connectOrCreate?: Prisma.PosCreateOrConnectWithoutComplexInput | Prisma.PosCreateOrConnectWithoutComplexInput[]
|
||
|
|
upsert?: Prisma.PosUpsertWithWhereUniqueWithoutComplexInput | Prisma.PosUpsertWithWhereUniqueWithoutComplexInput[]
|
||
|
|
createMany?: Prisma.PosCreateManyComplexInputEnvelope
|
||
|
|
set?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
disconnect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
delete?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
update?: Prisma.PosUpdateWithWhereUniqueWithoutComplexInput | Prisma.PosUpdateWithWhereUniqueWithoutComplexInput[]
|
||
|
|
updateMany?: Prisma.PosUpdateManyWithWhereWithoutComplexInput | Prisma.PosUpdateManyWithWhereWithoutComplexInput[]
|
||
|
|
deleteMany?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[]
|
||
|
|
}
|
||
|
|
|
||
|
|
export type EnumPOSStatusFieldUpdateOperationsInput = {
|
||
|
|
set?: $Enums.POSStatus
|
||
|
|
}
|
||
|
|
|
||
|
|
export type EnumPOSTypeFieldUpdateOperationsInput = {
|
||
|
|
set?: $Enums.POSType
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCreateNestedManyWithoutDeviceInput = {
|
||
|
|
create?: Prisma.XOR<Prisma.PosCreateWithoutDeviceInput, Prisma.PosUncheckedCreateWithoutDeviceInput> | Prisma.PosCreateWithoutDeviceInput[] | Prisma.PosUncheckedCreateWithoutDeviceInput[]
|
||
|
|
connectOrCreate?: Prisma.PosCreateOrConnectWithoutDeviceInput | Prisma.PosCreateOrConnectWithoutDeviceInput[]
|
||
|
|
createMany?: Prisma.PosCreateManyDeviceInputEnvelope
|
||
|
|
connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUncheckedCreateNestedManyWithoutDeviceInput = {
|
||
|
|
create?: Prisma.XOR<Prisma.PosCreateWithoutDeviceInput, Prisma.PosUncheckedCreateWithoutDeviceInput> | Prisma.PosCreateWithoutDeviceInput[] | Prisma.PosUncheckedCreateWithoutDeviceInput[]
|
||
|
|
connectOrCreate?: Prisma.PosCreateOrConnectWithoutDeviceInput | Prisma.PosCreateOrConnectWithoutDeviceInput[]
|
||
|
|
createMany?: Prisma.PosCreateManyDeviceInputEnvelope
|
||
|
|
connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUpdateManyWithoutDeviceNestedInput = {
|
||
|
|
create?: Prisma.XOR<Prisma.PosCreateWithoutDeviceInput, Prisma.PosUncheckedCreateWithoutDeviceInput> | Prisma.PosCreateWithoutDeviceInput[] | Prisma.PosUncheckedCreateWithoutDeviceInput[]
|
||
|
|
connectOrCreate?: Prisma.PosCreateOrConnectWithoutDeviceInput | Prisma.PosCreateOrConnectWithoutDeviceInput[]
|
||
|
|
upsert?: Prisma.PosUpsertWithWhereUniqueWithoutDeviceInput | Prisma.PosUpsertWithWhereUniqueWithoutDeviceInput[]
|
||
|
|
createMany?: Prisma.PosCreateManyDeviceInputEnvelope
|
||
|
|
set?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
disconnect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
delete?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
update?: Prisma.PosUpdateWithWhereUniqueWithoutDeviceInput | Prisma.PosUpdateWithWhereUniqueWithoutDeviceInput[]
|
||
|
|
updateMany?: Prisma.PosUpdateManyWithWhereWithoutDeviceInput | Prisma.PosUpdateManyWithWhereWithoutDeviceInput[]
|
||
|
|
deleteMany?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[]
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUncheckedUpdateManyWithoutDeviceNestedInput = {
|
||
|
|
create?: Prisma.XOR<Prisma.PosCreateWithoutDeviceInput, Prisma.PosUncheckedCreateWithoutDeviceInput> | Prisma.PosCreateWithoutDeviceInput[] | Prisma.PosUncheckedCreateWithoutDeviceInput[]
|
||
|
|
connectOrCreate?: Prisma.PosCreateOrConnectWithoutDeviceInput | Prisma.PosCreateOrConnectWithoutDeviceInput[]
|
||
|
|
upsert?: Prisma.PosUpsertWithWhereUniqueWithoutDeviceInput | Prisma.PosUpsertWithWhereUniqueWithoutDeviceInput[]
|
||
|
|
createMany?: Prisma.PosCreateManyDeviceInputEnvelope
|
||
|
|
set?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
disconnect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
delete?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
update?: Prisma.PosUpdateWithWhereUniqueWithoutDeviceInput | Prisma.PosUpdateWithWhereUniqueWithoutDeviceInput[]
|
||
|
|
updateMany?: Prisma.PosUpdateManyWithWhereWithoutDeviceInput | Prisma.PosUpdateManyWithWhereWithoutDeviceInput[]
|
||
|
|
deleteMany?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[]
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCreateNestedOneWithoutLicensesInput = {
|
||
|
|
create?: Prisma.XOR<Prisma.PosCreateWithoutLicensesInput, Prisma.PosUncheckedCreateWithoutLicensesInput>
|
||
|
|
connectOrCreate?: Prisma.PosCreateOrConnectWithoutLicensesInput
|
||
|
|
connect?: Prisma.PosWhereUniqueInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUpdateOneRequiredWithoutLicensesNestedInput = {
|
||
|
|
create?: Prisma.XOR<Prisma.PosCreateWithoutLicensesInput, Prisma.PosUncheckedCreateWithoutLicensesInput>
|
||
|
|
connectOrCreate?: Prisma.PosCreateOrConnectWithoutLicensesInput
|
||
|
|
upsert?: Prisma.PosUpsertWithoutLicensesInput
|
||
|
|
connect?: Prisma.PosWhereUniqueInput
|
||
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.PosUpdateToOneWithWhereWithoutLicensesInput, Prisma.PosUpdateWithoutLicensesInput>, Prisma.PosUncheckedUpdateWithoutLicensesInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCreateNestedOneWithoutAccountsInput = {
|
||
|
|
create?: Prisma.XOR<Prisma.PosCreateWithoutAccountsInput, Prisma.PosUncheckedCreateWithoutAccountsInput>
|
||
|
|
connectOrCreate?: Prisma.PosCreateOrConnectWithoutAccountsInput
|
||
|
|
connect?: Prisma.PosWhereUniqueInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUpdateOneWithoutAccountsNestedInput = {
|
||
|
|
create?: Prisma.XOR<Prisma.PosCreateWithoutAccountsInput, Prisma.PosUncheckedCreateWithoutAccountsInput>
|
||
|
|
connectOrCreate?: Prisma.PosCreateOrConnectWithoutAccountsInput
|
||
|
|
upsert?: Prisma.PosUpsertWithoutAccountsInput
|
||
|
|
disconnect?: Prisma.PosWhereInput | boolean
|
||
|
|
delete?: Prisma.PosWhereInput | boolean
|
||
|
|
connect?: Prisma.PosWhereUniqueInput
|
||
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.PosUpdateToOneWithWhereWithoutAccountsInput, Prisma.PosUpdateWithoutAccountsInput>, Prisma.PosUncheckedUpdateWithoutAccountsInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCreateNestedManyWithoutProviderInput = {
|
||
|
|
create?: Prisma.XOR<Prisma.PosCreateWithoutProviderInput, Prisma.PosUncheckedCreateWithoutProviderInput> | Prisma.PosCreateWithoutProviderInput[] | Prisma.PosUncheckedCreateWithoutProviderInput[]
|
||
|
|
connectOrCreate?: Prisma.PosCreateOrConnectWithoutProviderInput | Prisma.PosCreateOrConnectWithoutProviderInput[]
|
||
|
|
createMany?: Prisma.PosCreateManyProviderInputEnvelope
|
||
|
|
connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUncheckedCreateNestedManyWithoutProviderInput = {
|
||
|
|
create?: Prisma.XOR<Prisma.PosCreateWithoutProviderInput, Prisma.PosUncheckedCreateWithoutProviderInput> | Prisma.PosCreateWithoutProviderInput[] | Prisma.PosUncheckedCreateWithoutProviderInput[]
|
||
|
|
connectOrCreate?: Prisma.PosCreateOrConnectWithoutProviderInput | Prisma.PosCreateOrConnectWithoutProviderInput[]
|
||
|
|
createMany?: Prisma.PosCreateManyProviderInputEnvelope
|
||
|
|
connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUpdateManyWithoutProviderNestedInput = {
|
||
|
|
create?: Prisma.XOR<Prisma.PosCreateWithoutProviderInput, Prisma.PosUncheckedCreateWithoutProviderInput> | Prisma.PosCreateWithoutProviderInput[] | Prisma.PosUncheckedCreateWithoutProviderInput[]
|
||
|
|
connectOrCreate?: Prisma.PosCreateOrConnectWithoutProviderInput | Prisma.PosCreateOrConnectWithoutProviderInput[]
|
||
|
|
upsert?: Prisma.PosUpsertWithWhereUniqueWithoutProviderInput | Prisma.PosUpsertWithWhereUniqueWithoutProviderInput[]
|
||
|
|
createMany?: Prisma.PosCreateManyProviderInputEnvelope
|
||
|
|
set?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
disconnect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
delete?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
update?: Prisma.PosUpdateWithWhereUniqueWithoutProviderInput | Prisma.PosUpdateWithWhereUniqueWithoutProviderInput[]
|
||
|
|
updateMany?: Prisma.PosUpdateManyWithWhereWithoutProviderInput | Prisma.PosUpdateManyWithWhereWithoutProviderInput[]
|
||
|
|
deleteMany?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[]
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUncheckedUpdateManyWithoutProviderNestedInput = {
|
||
|
|
create?: Prisma.XOR<Prisma.PosCreateWithoutProviderInput, Prisma.PosUncheckedCreateWithoutProviderInput> | Prisma.PosCreateWithoutProviderInput[] | Prisma.PosUncheckedCreateWithoutProviderInput[]
|
||
|
|
connectOrCreate?: Prisma.PosCreateOrConnectWithoutProviderInput | Prisma.PosCreateOrConnectWithoutProviderInput[]
|
||
|
|
upsert?: Prisma.PosUpsertWithWhereUniqueWithoutProviderInput | Prisma.PosUpsertWithWhereUniqueWithoutProviderInput[]
|
||
|
|
createMany?: Prisma.PosCreateManyProviderInputEnvelope
|
||
|
|
set?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
disconnect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
delete?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
connect?: Prisma.PosWhereUniqueInput | Prisma.PosWhereUniqueInput[]
|
||
|
|
update?: Prisma.PosUpdateWithWhereUniqueWithoutProviderInput | Prisma.PosUpdateWithWhereUniqueWithoutProviderInput[]
|
||
|
|
updateMany?: Prisma.PosUpdateManyWithWhereWithoutProviderInput | Prisma.PosUpdateManyWithWhereWithoutProviderInput[]
|
||
|
|
deleteMany?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[]
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCreateWithoutComplexInput = {
|
||
|
|
id?: string
|
||
|
|
serial: string
|
||
|
|
model?: string | null
|
||
|
|
status?: $Enums.POSStatus
|
||
|
|
pos_type: $Enums.POSType
|
||
|
|
created_at?: Date | string
|
||
|
|
updated_at?: Date | string
|
||
|
|
device: Prisma.DeviceCreateNestedOneWithoutPosesInput
|
||
|
|
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
|
||
|
|
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
|
||
|
|
accounts?: Prisma.AccountCreateNestedManyWithoutPosInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUncheckedCreateWithoutComplexInput = {
|
||
|
|
id?: string
|
||
|
|
serial: string
|
||
|
|
model?: string | null
|
||
|
|
status?: $Enums.POSStatus
|
||
|
|
pos_type: $Enums.POSType
|
||
|
|
created_at?: Date | string
|
||
|
|
updated_at?: Date | string
|
||
|
|
device_id: string
|
||
|
|
provider_id?: string | null
|
||
|
|
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
|
||
|
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutPosInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCreateOrConnectWithoutComplexInput = {
|
||
|
|
where: Prisma.PosWhereUniqueInput
|
||
|
|
create: Prisma.XOR<Prisma.PosCreateWithoutComplexInput, Prisma.PosUncheckedCreateWithoutComplexInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCreateManyComplexInputEnvelope = {
|
||
|
|
data: Prisma.PosCreateManyComplexInput | Prisma.PosCreateManyComplexInput[]
|
||
|
|
skipDuplicates?: boolean
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUpsertWithWhereUniqueWithoutComplexInput = {
|
||
|
|
where: Prisma.PosWhereUniqueInput
|
||
|
|
update: Prisma.XOR<Prisma.PosUpdateWithoutComplexInput, Prisma.PosUncheckedUpdateWithoutComplexInput>
|
||
|
|
create: Prisma.XOR<Prisma.PosCreateWithoutComplexInput, Prisma.PosUncheckedCreateWithoutComplexInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUpdateWithWhereUniqueWithoutComplexInput = {
|
||
|
|
where: Prisma.PosWhereUniqueInput
|
||
|
|
data: Prisma.XOR<Prisma.PosUpdateWithoutComplexInput, Prisma.PosUncheckedUpdateWithoutComplexInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUpdateManyWithWhereWithoutComplexInput = {
|
||
|
|
where: Prisma.PosScalarWhereInput
|
||
|
|
data: Prisma.XOR<Prisma.PosUpdateManyMutationInput, Prisma.PosUncheckedUpdateManyWithoutComplexInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosScalarWhereInput = {
|
||
|
|
AND?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[]
|
||
|
|
OR?: Prisma.PosScalarWhereInput[]
|
||
|
|
NOT?: Prisma.PosScalarWhereInput | Prisma.PosScalarWhereInput[]
|
||
|
|
id?: Prisma.StringFilter<"Pos"> | string
|
||
|
|
serial?: Prisma.StringFilter<"Pos"> | string
|
||
|
|
model?: Prisma.StringNullableFilter<"Pos"> | string | null
|
||
|
|
status?: Prisma.EnumPOSStatusFilter<"Pos"> | $Enums.POSStatus
|
||
|
|
pos_type?: Prisma.EnumPOSTypeFilter<"Pos"> | $Enums.POSType
|
||
|
|
created_at?: Prisma.DateTimeFilter<"Pos"> | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFilter<"Pos"> | Date | string
|
||
|
|
complex_id?: Prisma.StringFilter<"Pos"> | string
|
||
|
|
device_id?: Prisma.StringFilter<"Pos"> | string
|
||
|
|
provider_id?: Prisma.StringNullableFilter<"Pos"> | string | null
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCreateWithoutDeviceInput = {
|
||
|
|
id?: string
|
||
|
|
serial: string
|
||
|
|
model?: string | null
|
||
|
|
status?: $Enums.POSStatus
|
||
|
|
pos_type: $Enums.POSType
|
||
|
|
created_at?: Date | string
|
||
|
|
updated_at?: Date | string
|
||
|
|
complex: Prisma.ComplexCreateNestedOneWithoutPos_listInput
|
||
|
|
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
|
||
|
|
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
|
||
|
|
accounts?: Prisma.AccountCreateNestedManyWithoutPosInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUncheckedCreateWithoutDeviceInput = {
|
||
|
|
id?: string
|
||
|
|
serial: string
|
||
|
|
model?: string | null
|
||
|
|
status?: $Enums.POSStatus
|
||
|
|
pos_type: $Enums.POSType
|
||
|
|
created_at?: Date | string
|
||
|
|
updated_at?: Date | string
|
||
|
|
complex_id: string
|
||
|
|
provider_id?: string | null
|
||
|
|
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
|
||
|
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutPosInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCreateOrConnectWithoutDeviceInput = {
|
||
|
|
where: Prisma.PosWhereUniqueInput
|
||
|
|
create: Prisma.XOR<Prisma.PosCreateWithoutDeviceInput, Prisma.PosUncheckedCreateWithoutDeviceInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCreateManyDeviceInputEnvelope = {
|
||
|
|
data: Prisma.PosCreateManyDeviceInput | Prisma.PosCreateManyDeviceInput[]
|
||
|
|
skipDuplicates?: boolean
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUpsertWithWhereUniqueWithoutDeviceInput = {
|
||
|
|
where: Prisma.PosWhereUniqueInput
|
||
|
|
update: Prisma.XOR<Prisma.PosUpdateWithoutDeviceInput, Prisma.PosUncheckedUpdateWithoutDeviceInput>
|
||
|
|
create: Prisma.XOR<Prisma.PosCreateWithoutDeviceInput, Prisma.PosUncheckedCreateWithoutDeviceInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUpdateWithWhereUniqueWithoutDeviceInput = {
|
||
|
|
where: Prisma.PosWhereUniqueInput
|
||
|
|
data: Prisma.XOR<Prisma.PosUpdateWithoutDeviceInput, Prisma.PosUncheckedUpdateWithoutDeviceInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUpdateManyWithWhereWithoutDeviceInput = {
|
||
|
|
where: Prisma.PosScalarWhereInput
|
||
|
|
data: Prisma.XOR<Prisma.PosUpdateManyMutationInput, Prisma.PosUncheckedUpdateManyWithoutDeviceInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCreateWithoutLicensesInput = {
|
||
|
|
id?: string
|
||
|
|
serial: string
|
||
|
|
model?: string | null
|
||
|
|
status?: $Enums.POSStatus
|
||
|
|
pos_type: $Enums.POSType
|
||
|
|
created_at?: Date | string
|
||
|
|
updated_at?: Date | string
|
||
|
|
complex: Prisma.ComplexCreateNestedOneWithoutPos_listInput
|
||
|
|
device: Prisma.DeviceCreateNestedOneWithoutPosesInput
|
||
|
|
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
|
||
|
|
accounts?: Prisma.AccountCreateNestedManyWithoutPosInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUncheckedCreateWithoutLicensesInput = {
|
||
|
|
id?: string
|
||
|
|
serial: string
|
||
|
|
model?: string | null
|
||
|
|
status?: $Enums.POSStatus
|
||
|
|
pos_type: $Enums.POSType
|
||
|
|
created_at?: Date | string
|
||
|
|
updated_at?: Date | string
|
||
|
|
complex_id: string
|
||
|
|
device_id: string
|
||
|
|
provider_id?: string | null
|
||
|
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutPosInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCreateOrConnectWithoutLicensesInput = {
|
||
|
|
where: Prisma.PosWhereUniqueInput
|
||
|
|
create: Prisma.XOR<Prisma.PosCreateWithoutLicensesInput, Prisma.PosUncheckedCreateWithoutLicensesInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUpsertWithoutLicensesInput = {
|
||
|
|
update: Prisma.XOR<Prisma.PosUpdateWithoutLicensesInput, Prisma.PosUncheckedUpdateWithoutLicensesInput>
|
||
|
|
create: Prisma.XOR<Prisma.PosCreateWithoutLicensesInput, Prisma.PosUncheckedCreateWithoutLicensesInput>
|
||
|
|
where?: Prisma.PosWhereInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUpdateToOneWithWhereWithoutLicensesInput = {
|
||
|
|
where?: Prisma.PosWhereInput
|
||
|
|
data: Prisma.XOR<Prisma.PosUpdateWithoutLicensesInput, Prisma.PosUncheckedUpdateWithoutLicensesInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUpdateWithoutLicensesInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
serial?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||
|
|
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||
|
|
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
complex?: Prisma.ComplexUpdateOneRequiredWithoutPos_listNestedInput
|
||
|
|
device?: Prisma.DeviceUpdateOneRequiredWithoutPosesNestedInput
|
||
|
|
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
|
||
|
|
accounts?: Prisma.AccountUpdateManyWithoutPosNestedInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUncheckedUpdateWithoutLicensesInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
serial?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||
|
|
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||
|
|
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
device_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||
|
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutPosNestedInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCreateWithoutAccountsInput = {
|
||
|
|
id?: string
|
||
|
|
serial: string
|
||
|
|
model?: string | null
|
||
|
|
status?: $Enums.POSStatus
|
||
|
|
pos_type: $Enums.POSType
|
||
|
|
created_at?: Date | string
|
||
|
|
updated_at?: Date | string
|
||
|
|
complex: Prisma.ComplexCreateNestedOneWithoutPos_listInput
|
||
|
|
device: Prisma.DeviceCreateNestedOneWithoutPosesInput
|
||
|
|
provider?: Prisma.ProviderCreateNestedOneWithoutPos_listInput
|
||
|
|
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUncheckedCreateWithoutAccountsInput = {
|
||
|
|
id?: string
|
||
|
|
serial: string
|
||
|
|
model?: string | null
|
||
|
|
status?: $Enums.POSStatus
|
||
|
|
pos_type: $Enums.POSType
|
||
|
|
created_at?: Date | string
|
||
|
|
updated_at?: Date | string
|
||
|
|
complex_id: string
|
||
|
|
device_id: string
|
||
|
|
provider_id?: string | null
|
||
|
|
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCreateOrConnectWithoutAccountsInput = {
|
||
|
|
where: Prisma.PosWhereUniqueInput
|
||
|
|
create: Prisma.XOR<Prisma.PosCreateWithoutAccountsInput, Prisma.PosUncheckedCreateWithoutAccountsInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUpsertWithoutAccountsInput = {
|
||
|
|
update: Prisma.XOR<Prisma.PosUpdateWithoutAccountsInput, Prisma.PosUncheckedUpdateWithoutAccountsInput>
|
||
|
|
create: Prisma.XOR<Prisma.PosCreateWithoutAccountsInput, Prisma.PosUncheckedCreateWithoutAccountsInput>
|
||
|
|
where?: Prisma.PosWhereInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUpdateToOneWithWhereWithoutAccountsInput = {
|
||
|
|
where?: Prisma.PosWhereInput
|
||
|
|
data: Prisma.XOR<Prisma.PosUpdateWithoutAccountsInput, Prisma.PosUncheckedUpdateWithoutAccountsInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUpdateWithoutAccountsInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
serial?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||
|
|
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||
|
|
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
complex?: Prisma.ComplexUpdateOneRequiredWithoutPos_listNestedInput
|
||
|
|
device?: Prisma.DeviceUpdateOneRequiredWithoutPosesNestedInput
|
||
|
|
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
|
||
|
|
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUncheckedUpdateWithoutAccountsInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
serial?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||
|
|
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||
|
|
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
device_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||
|
|
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPosNestedInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCreateWithoutProviderInput = {
|
||
|
|
id?: string
|
||
|
|
serial: string
|
||
|
|
model?: string | null
|
||
|
|
status?: $Enums.POSStatus
|
||
|
|
pos_type: $Enums.POSType
|
||
|
|
created_at?: Date | string
|
||
|
|
updated_at?: Date | string
|
||
|
|
complex: Prisma.ComplexCreateNestedOneWithoutPos_listInput
|
||
|
|
device: Prisma.DeviceCreateNestedOneWithoutPosesInput
|
||
|
|
licenses?: Prisma.LicenseCreateNestedManyWithoutPosInput
|
||
|
|
accounts?: Prisma.AccountCreateNestedManyWithoutPosInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUncheckedCreateWithoutProviderInput = {
|
||
|
|
id?: string
|
||
|
|
serial: string
|
||
|
|
model?: string | null
|
||
|
|
status?: $Enums.POSStatus
|
||
|
|
pos_type: $Enums.POSType
|
||
|
|
created_at?: Date | string
|
||
|
|
updated_at?: Date | string
|
||
|
|
complex_id: string
|
||
|
|
device_id: string
|
||
|
|
licenses?: Prisma.LicenseUncheckedCreateNestedManyWithoutPosInput
|
||
|
|
accounts?: Prisma.AccountUncheckedCreateNestedManyWithoutPosInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCreateOrConnectWithoutProviderInput = {
|
||
|
|
where: Prisma.PosWhereUniqueInput
|
||
|
|
create: Prisma.XOR<Prisma.PosCreateWithoutProviderInput, Prisma.PosUncheckedCreateWithoutProviderInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCreateManyProviderInputEnvelope = {
|
||
|
|
data: Prisma.PosCreateManyProviderInput | Prisma.PosCreateManyProviderInput[]
|
||
|
|
skipDuplicates?: boolean
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUpsertWithWhereUniqueWithoutProviderInput = {
|
||
|
|
where: Prisma.PosWhereUniqueInput
|
||
|
|
update: Prisma.XOR<Prisma.PosUpdateWithoutProviderInput, Prisma.PosUncheckedUpdateWithoutProviderInput>
|
||
|
|
create: Prisma.XOR<Prisma.PosCreateWithoutProviderInput, Prisma.PosUncheckedCreateWithoutProviderInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUpdateWithWhereUniqueWithoutProviderInput = {
|
||
|
|
where: Prisma.PosWhereUniqueInput
|
||
|
|
data: Prisma.XOR<Prisma.PosUpdateWithoutProviderInput, Prisma.PosUncheckedUpdateWithoutProviderInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUpdateManyWithWhereWithoutProviderInput = {
|
||
|
|
where: Prisma.PosScalarWhereInput
|
||
|
|
data: Prisma.XOR<Prisma.PosUpdateManyMutationInput, Prisma.PosUncheckedUpdateManyWithoutProviderInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCreateManyComplexInput = {
|
||
|
|
id?: string
|
||
|
|
serial: string
|
||
|
|
model?: string | null
|
||
|
|
status?: $Enums.POSStatus
|
||
|
|
pos_type: $Enums.POSType
|
||
|
|
created_at?: Date | string
|
||
|
|
updated_at?: Date | string
|
||
|
|
device_id: string
|
||
|
|
provider_id?: string | null
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUpdateWithoutComplexInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
serial?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||
|
|
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||
|
|
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
device?: Prisma.DeviceUpdateOneRequiredWithoutPosesNestedInput
|
||
|
|
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
|
||
|
|
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
|
||
|
|
accounts?: Prisma.AccountUpdateManyWithoutPosNestedInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUncheckedUpdateWithoutComplexInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
serial?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||
|
|
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||
|
|
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
device_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||
|
|
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPosNestedInput
|
||
|
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutPosNestedInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUncheckedUpdateManyWithoutComplexInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
serial?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||
|
|
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||
|
|
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
device_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCreateManyDeviceInput = {
|
||
|
|
id?: string
|
||
|
|
serial: string
|
||
|
|
model?: string | null
|
||
|
|
status?: $Enums.POSStatus
|
||
|
|
pos_type: $Enums.POSType
|
||
|
|
created_at?: Date | string
|
||
|
|
updated_at?: Date | string
|
||
|
|
complex_id: string
|
||
|
|
provider_id?: string | null
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUpdateWithoutDeviceInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
serial?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||
|
|
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||
|
|
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
complex?: Prisma.ComplexUpdateOneRequiredWithoutPos_listNestedInput
|
||
|
|
provider?: Prisma.ProviderUpdateOneWithoutPos_listNestedInput
|
||
|
|
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
|
||
|
|
accounts?: Prisma.AccountUpdateManyWithoutPosNestedInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUncheckedUpdateWithoutDeviceInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
serial?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||
|
|
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||
|
|
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||
|
|
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPosNestedInput
|
||
|
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutPosNestedInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUncheckedUpdateManyWithoutDeviceInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
serial?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||
|
|
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||
|
|
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
provider_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCreateManyProviderInput = {
|
||
|
|
id?: string
|
||
|
|
serial: string
|
||
|
|
model?: string | null
|
||
|
|
status?: $Enums.POSStatus
|
||
|
|
pos_type: $Enums.POSType
|
||
|
|
created_at?: Date | string
|
||
|
|
updated_at?: Date | string
|
||
|
|
complex_id: string
|
||
|
|
device_id: string
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUpdateWithoutProviderInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
serial?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||
|
|
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||
|
|
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
complex?: Prisma.ComplexUpdateOneRequiredWithoutPos_listNestedInput
|
||
|
|
device?: Prisma.DeviceUpdateOneRequiredWithoutPosesNestedInput
|
||
|
|
licenses?: Prisma.LicenseUpdateManyWithoutPosNestedInput
|
||
|
|
accounts?: Prisma.AccountUpdateManyWithoutPosNestedInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUncheckedUpdateWithoutProviderInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
serial?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||
|
|
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||
|
|
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
device_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
licenses?: Prisma.LicenseUncheckedUpdateManyWithoutPosNestedInput
|
||
|
|
accounts?: Prisma.AccountUncheckedUpdateManyWithoutPosNestedInput
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosUncheckedUpdateManyWithoutProviderInput = {
|
||
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
serial?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
||
|
|
status?: Prisma.EnumPOSStatusFieldUpdateOperationsInput | $Enums.POSStatus
|
||
|
|
pos_type?: Prisma.EnumPOSTypeFieldUpdateOperationsInput | $Enums.POSType
|
||
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
||
|
|
complex_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
device_id?: Prisma.StringFieldUpdateOperationsInput | string
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Count Type PosCountOutputType
|
||
|
|
*/
|
||
|
|
|
||
|
|
export type PosCountOutputType = {
|
||
|
|
licenses: number
|
||
|
|
accounts: number
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
licenses?: boolean | PosCountOutputTypeCountLicensesArgs
|
||
|
|
accounts?: boolean | PosCountOutputTypeCountAccountsArgs
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* PosCountOutputType without action
|
||
|
|
*/
|
||
|
|
export type PosCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Select specific fields to fetch from the PosCountOutputType
|
||
|
|
*/
|
||
|
|
select?: Prisma.PosCountOutputTypeSelect<ExtArgs> | null
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* PosCountOutputType without action
|
||
|
|
*/
|
||
|
|
export type PosCountOutputTypeCountLicensesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
where?: Prisma.LicenseWhereInput
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* PosCountOutputType without action
|
||
|
|
*/
|
||
|
|
export type PosCountOutputTypeCountAccountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
where?: Prisma.AccountWhereInput
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
export type PosSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
||
|
|
id?: boolean
|
||
|
|
serial?: boolean
|
||
|
|
model?: boolean
|
||
|
|
status?: boolean
|
||
|
|
pos_type?: boolean
|
||
|
|
created_at?: boolean
|
||
|
|
updated_at?: boolean
|
||
|
|
complex_id?: boolean
|
||
|
|
device_id?: boolean
|
||
|
|
provider_id?: boolean
|
||
|
|
complex?: boolean | Prisma.ComplexDefaultArgs<ExtArgs>
|
||
|
|
device?: boolean | Prisma.DeviceDefaultArgs<ExtArgs>
|
||
|
|
provider?: boolean | Prisma.Pos$providerArgs<ExtArgs>
|
||
|
|
licenses?: boolean | Prisma.Pos$licensesArgs<ExtArgs>
|
||
|
|
accounts?: boolean | Prisma.Pos$accountsArgs<ExtArgs>
|
||
|
|
_count?: boolean | Prisma.PosCountOutputTypeDefaultArgs<ExtArgs>
|
||
|
|
}, ExtArgs["result"]["pos"]>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
export type PosSelectScalar = {
|
||
|
|
id?: boolean
|
||
|
|
serial?: boolean
|
||
|
|
model?: boolean
|
||
|
|
status?: boolean
|
||
|
|
pos_type?: boolean
|
||
|
|
created_at?: boolean
|
||
|
|
updated_at?: boolean
|
||
|
|
complex_id?: boolean
|
||
|
|
device_id?: boolean
|
||
|
|
provider_id?: boolean
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "serial" | "model" | "status" | "pos_type" | "created_at" | "updated_at" | "complex_id" | "device_id" | "provider_id", ExtArgs["result"]["pos"]>
|
||
|
|
export type PosInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
complex?: boolean | Prisma.ComplexDefaultArgs<ExtArgs>
|
||
|
|
device?: boolean | Prisma.DeviceDefaultArgs<ExtArgs>
|
||
|
|
provider?: boolean | Prisma.Pos$providerArgs<ExtArgs>
|
||
|
|
licenses?: boolean | Prisma.Pos$licensesArgs<ExtArgs>
|
||
|
|
accounts?: boolean | Prisma.Pos$accountsArgs<ExtArgs>
|
||
|
|
_count?: boolean | Prisma.PosCountOutputTypeDefaultArgs<ExtArgs>
|
||
|
|
}
|
||
|
|
|
||
|
|
export type $PosPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
name: "Pos"
|
||
|
|
objects: {
|
||
|
|
complex: Prisma.$ComplexPayload<ExtArgs>
|
||
|
|
device: Prisma.$DevicePayload<ExtArgs>
|
||
|
|
provider: Prisma.$ProviderPayload<ExtArgs> | null
|
||
|
|
licenses: Prisma.$LicensePayload<ExtArgs>[]
|
||
|
|
accounts: Prisma.$AccountPayload<ExtArgs>[]
|
||
|
|
}
|
||
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
||
|
|
id: string
|
||
|
|
serial: string
|
||
|
|
model: string | null
|
||
|
|
status: $Enums.POSStatus
|
||
|
|
pos_type: $Enums.POSType
|
||
|
|
created_at: Date
|
||
|
|
updated_at: Date
|
||
|
|
complex_id: string
|
||
|
|
device_id: string
|
||
|
|
provider_id: string | null
|
||
|
|
}, ExtArgs["result"]["pos"]>
|
||
|
|
composites: {}
|
||
|
|
}
|
||
|
|
|
||
|
|
export type PosGetPayload<S extends boolean | null | undefined | PosDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PosPayload, S>
|
||
|
|
|
||
|
|
export type PosCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
||
|
|
Omit<PosFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
||
|
|
select?: PosCountAggregateInputType | true
|
||
|
|
}
|
||
|
|
|
||
|
|
export interface PosDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
||
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Pos'], meta: { name: 'Pos' } }
|
||
|
|
/**
|
||
|
|
* Find zero or one Pos that matches the filter.
|
||
|
|
* @param {PosFindUniqueArgs} args - Arguments to find a Pos
|
||
|
|
* @example
|
||
|
|
* // Get one Pos
|
||
|
|
* const pos = await prisma.pos.findUnique({
|
||
|
|
* where: {
|
||
|
|
* // ... provide filter here
|
||
|
|
* }
|
||
|
|
* })
|
||
|
|
*/
|
||
|
|
findUnique<T extends PosFindUniqueArgs>(args: Prisma.SelectSubset<T, PosFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PosClient<runtime.Types.Result.GetResult<Prisma.$PosPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Find one Pos that matches the filter or throw an error with `error.code='P2025'`
|
||
|
|
* if no matches were found.
|
||
|
|
* @param {PosFindUniqueOrThrowArgs} args - Arguments to find a Pos
|
||
|
|
* @example
|
||
|
|
* // Get one Pos
|
||
|
|
* const pos = await prisma.pos.findUniqueOrThrow({
|
||
|
|
* where: {
|
||
|
|
* // ... provide filter here
|
||
|
|
* }
|
||
|
|
* })
|
||
|
|
*/
|
||
|
|
findUniqueOrThrow<T extends PosFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PosFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PosClient<runtime.Types.Result.GetResult<Prisma.$PosPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Find the first Pos 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 {PosFindFirstArgs} args - Arguments to find a Pos
|
||
|
|
* @example
|
||
|
|
* // Get one Pos
|
||
|
|
* const pos = await prisma.pos.findFirst({
|
||
|
|
* where: {
|
||
|
|
* // ... provide filter here
|
||
|
|
* }
|
||
|
|
* })
|
||
|
|
*/
|
||
|
|
findFirst<T extends PosFindFirstArgs>(args?: Prisma.SelectSubset<T, PosFindFirstArgs<ExtArgs>>): Prisma.Prisma__PosClient<runtime.Types.Result.GetResult<Prisma.$PosPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Find the first Pos 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 {PosFindFirstOrThrowArgs} args - Arguments to find a Pos
|
||
|
|
* @example
|
||
|
|
* // Get one Pos
|
||
|
|
* const pos = await prisma.pos.findFirstOrThrow({
|
||
|
|
* where: {
|
||
|
|
* // ... provide filter here
|
||
|
|
* }
|
||
|
|
* })
|
||
|
|
*/
|
||
|
|
findFirstOrThrow<T extends PosFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PosFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PosClient<runtime.Types.Result.GetResult<Prisma.$PosPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Find zero or more Pos 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 {PosFindManyArgs} args - Arguments to filter and select certain fields only.
|
||
|
|
* @example
|
||
|
|
* // Get all Pos
|
||
|
|
* const pos = await prisma.pos.findMany()
|
||
|
|
*
|
||
|
|
* // Get first 10 Pos
|
||
|
|
* const pos = await prisma.pos.findMany({ take: 10 })
|
||
|
|
*
|
||
|
|
* // Only select the `id`
|
||
|
|
* const posWithIdOnly = await prisma.pos.findMany({ select: { id: true } })
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
findMany<T extends PosFindManyArgs>(args?: Prisma.SelectSubset<T, PosFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PosPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Create a Pos.
|
||
|
|
* @param {PosCreateArgs} args - Arguments to create a Pos.
|
||
|
|
* @example
|
||
|
|
* // Create one Pos
|
||
|
|
* const Pos = await prisma.pos.create({
|
||
|
|
* data: {
|
||
|
|
* // ... data to create a Pos
|
||
|
|
* }
|
||
|
|
* })
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
create<T extends PosCreateArgs>(args: Prisma.SelectSubset<T, PosCreateArgs<ExtArgs>>): Prisma.Prisma__PosClient<runtime.Types.Result.GetResult<Prisma.$PosPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Create many Pos.
|
||
|
|
* @param {PosCreateManyArgs} args - Arguments to create many Pos.
|
||
|
|
* @example
|
||
|
|
* // Create many Pos
|
||
|
|
* const pos = await prisma.pos.createMany({
|
||
|
|
* data: [
|
||
|
|
* // ... provide data here
|
||
|
|
* ]
|
||
|
|
* })
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
createMany<T extends PosCreateManyArgs>(args?: Prisma.SelectSubset<T, PosCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Delete a Pos.
|
||
|
|
* @param {PosDeleteArgs} args - Arguments to delete one Pos.
|
||
|
|
* @example
|
||
|
|
* // Delete one Pos
|
||
|
|
* const Pos = await prisma.pos.delete({
|
||
|
|
* where: {
|
||
|
|
* // ... filter to delete one Pos
|
||
|
|
* }
|
||
|
|
* })
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
delete<T extends PosDeleteArgs>(args: Prisma.SelectSubset<T, PosDeleteArgs<ExtArgs>>): Prisma.Prisma__PosClient<runtime.Types.Result.GetResult<Prisma.$PosPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Update one Pos.
|
||
|
|
* @param {PosUpdateArgs} args - Arguments to update one Pos.
|
||
|
|
* @example
|
||
|
|
* // Update one Pos
|
||
|
|
* const pos = await prisma.pos.update({
|
||
|
|
* where: {
|
||
|
|
* // ... provide filter here
|
||
|
|
* },
|
||
|
|
* data: {
|
||
|
|
* // ... provide data here
|
||
|
|
* }
|
||
|
|
* })
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
update<T extends PosUpdateArgs>(args: Prisma.SelectSubset<T, PosUpdateArgs<ExtArgs>>): Prisma.Prisma__PosClient<runtime.Types.Result.GetResult<Prisma.$PosPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Delete zero or more Pos.
|
||
|
|
* @param {PosDeleteManyArgs} args - Arguments to filter Pos to delete.
|
||
|
|
* @example
|
||
|
|
* // Delete a few Pos
|
||
|
|
* const { count } = await prisma.pos.deleteMany({
|
||
|
|
* where: {
|
||
|
|
* // ... provide filter here
|
||
|
|
* }
|
||
|
|
* })
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
deleteMany<T extends PosDeleteManyArgs>(args?: Prisma.SelectSubset<T, PosDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Update zero or more Pos.
|
||
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
||
|
|
* Read more here: https://pris.ly/d/null-undefined
|
||
|
|
* @param {PosUpdateManyArgs} args - Arguments to update one or more rows.
|
||
|
|
* @example
|
||
|
|
* // Update many Pos
|
||
|
|
* const pos = await prisma.pos.updateMany({
|
||
|
|
* where: {
|
||
|
|
* // ... provide filter here
|
||
|
|
* },
|
||
|
|
* data: {
|
||
|
|
* // ... provide data here
|
||
|
|
* }
|
||
|
|
* })
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
updateMany<T extends PosUpdateManyArgs>(args: Prisma.SelectSubset<T, PosUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Create or update one Pos.
|
||
|
|
* @param {PosUpsertArgs} args - Arguments to update or create a Pos.
|
||
|
|
* @example
|
||
|
|
* // Update or create a Pos
|
||
|
|
* const pos = await prisma.pos.upsert({
|
||
|
|
* create: {
|
||
|
|
* // ... data to create a Pos
|
||
|
|
* },
|
||
|
|
* update: {
|
||
|
|
* // ... in case it already exists, update
|
||
|
|
* },
|
||
|
|
* where: {
|
||
|
|
* // ... the filter for the Pos we want to update
|
||
|
|
* }
|
||
|
|
* })
|
||
|
|
*/
|
||
|
|
upsert<T extends PosUpsertArgs>(args: Prisma.SelectSubset<T, PosUpsertArgs<ExtArgs>>): Prisma.Prisma__PosClient<runtime.Types.Result.GetResult<Prisma.$PosPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Count the number of Pos.
|
||
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
||
|
|
* Read more here: https://pris.ly/d/null-undefined
|
||
|
|
* @param {PosCountArgs} args - Arguments to filter Pos to count.
|
||
|
|
* @example
|
||
|
|
* // Count the number of Pos
|
||
|
|
* const count = await prisma.pos.count({
|
||
|
|
* where: {
|
||
|
|
* // ... the filter for the Pos we want to count
|
||
|
|
* }
|
||
|
|
* })
|
||
|
|
**/
|
||
|
|
count<T extends PosCountArgs>(
|
||
|
|
args?: Prisma.Subset<T, PosCountArgs>,
|
||
|
|
): Prisma.PrismaPromise<
|
||
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
||
|
|
? T['select'] extends true
|
||
|
|
? number
|
||
|
|
: Prisma.GetScalarType<T['select'], PosCountAggregateOutputType>
|
||
|
|
: number
|
||
|
|
>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Allows you to perform aggregations operations on a Pos.
|
||
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
||
|
|
* Read more here: https://pris.ly/d/null-undefined
|
||
|
|
* @param {PosAggregateArgs} 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 PosAggregateArgs>(args: Prisma.Subset<T, PosAggregateArgs>): Prisma.PrismaPromise<GetPosAggregateType<T>>
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Group by Pos.
|
||
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
||
|
|
* Read more here: https://pris.ly/d/null-undefined
|
||
|
|
* @param {PosGroupByArgs} 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 PosGroupByArgs,
|
||
|
|
HasSelectOrTake extends Prisma.Or<
|
||
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
||
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
||
|
|
>,
|
||
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
||
|
|
? { orderBy: PosGroupByArgs['orderBy'] }
|
||
|
|
: { orderBy?: PosGroupByArgs['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, PosGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPosGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
||
|
|
/**
|
||
|
|
* Fields of the Pos model
|
||
|
|
*/
|
||
|
|
readonly fields: PosFieldRefs;
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* The delegate class that acts as a "Promise-like" for Pos.
|
||
|
|
* 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__PosClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
||
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
||
|
|
complex<T extends Prisma.ComplexDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ComplexDefaultArgs<ExtArgs>>): Prisma.Prisma__ComplexClient<runtime.Types.Result.GetResult<Prisma.$ComplexPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
||
|
|
device<T extends Prisma.DeviceDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DeviceDefaultArgs<ExtArgs>>): Prisma.Prisma__DeviceClient<runtime.Types.Result.GetResult<Prisma.$DevicePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
||
|
|
provider<T extends Prisma.Pos$providerArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pos$providerArgs<ExtArgs>>): Prisma.Prisma__ProviderClient<runtime.Types.Result.GetResult<Prisma.$ProviderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
||
|
|
licenses<T extends Prisma.Pos$licensesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pos$licensesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LicensePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||
|
|
accounts<T extends Prisma.Pos$accountsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Pos$accountsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AccountPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
||
|
|
/**
|
||
|
|
* 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 Pos model
|
||
|
|
*/
|
||
|
|
export interface PosFieldRefs {
|
||
|
|
readonly id: Prisma.FieldRef<"Pos", 'String'>
|
||
|
|
readonly serial: Prisma.FieldRef<"Pos", 'String'>
|
||
|
|
readonly model: Prisma.FieldRef<"Pos", 'String'>
|
||
|
|
readonly status: Prisma.FieldRef<"Pos", 'POSStatus'>
|
||
|
|
readonly pos_type: Prisma.FieldRef<"Pos", 'POSType'>
|
||
|
|
readonly created_at: Prisma.FieldRef<"Pos", 'DateTime'>
|
||
|
|
readonly updated_at: Prisma.FieldRef<"Pos", 'DateTime'>
|
||
|
|
readonly complex_id: Prisma.FieldRef<"Pos", 'String'>
|
||
|
|
readonly device_id: Prisma.FieldRef<"Pos", 'String'>
|
||
|
|
readonly provider_id: Prisma.FieldRef<"Pos", 'String'>
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
// Custom InputTypes
|
||
|
|
/**
|
||
|
|
* Pos findUnique
|
||
|
|
*/
|
||
|
|
export type PosFindUniqueArgs<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
|
||
|
|
/**
|
||
|
|
* Filter, which Pos to fetch.
|
||
|
|
*/
|
||
|
|
where: Prisma.PosWhereUniqueInput
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Pos findUniqueOrThrow
|
||
|
|
*/
|
||
|
|
export type PosFindUniqueOrThrowArgs<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
|
||
|
|
/**
|
||
|
|
* Filter, which Pos to fetch.
|
||
|
|
*/
|
||
|
|
where: Prisma.PosWhereUniqueInput
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Pos findFirst
|
||
|
|
*/
|
||
|
|
export type PosFindFirstArgs<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
|
||
|
|
/**
|
||
|
|
* Filter, which Pos to fetch.
|
||
|
|
*/
|
||
|
|
where?: Prisma.PosWhereInput
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
||
|
|
*
|
||
|
|
* Determine the order of Pos to fetch.
|
||
|
|
*/
|
||
|
|
orderBy?: Prisma.PosOrderByWithRelationInput | Prisma.PosOrderByWithRelationInput[]
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
||
|
|
*
|
||
|
|
* Sets the position for searching for Pos.
|
||
|
|
*/
|
||
|
|
cursor?: Prisma.PosWhereUniqueInput
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
||
|
|
*
|
||
|
|
* Take `±n` Pos 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` Pos.
|
||
|
|
*/
|
||
|
|
skip?: number
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
||
|
|
*
|
||
|
|
* Filter by unique combinations of Pos.
|
||
|
|
*/
|
||
|
|
distinct?: Prisma.PosScalarFieldEnum | Prisma.PosScalarFieldEnum[]
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Pos findFirstOrThrow
|
||
|
|
*/
|
||
|
|
export type PosFindFirstOrThrowArgs<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
|
||
|
|
/**
|
||
|
|
* Filter, which Pos to fetch.
|
||
|
|
*/
|
||
|
|
where?: Prisma.PosWhereInput
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
||
|
|
*
|
||
|
|
* Determine the order of Pos to fetch.
|
||
|
|
*/
|
||
|
|
orderBy?: Prisma.PosOrderByWithRelationInput | Prisma.PosOrderByWithRelationInput[]
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
||
|
|
*
|
||
|
|
* Sets the position for searching for Pos.
|
||
|
|
*/
|
||
|
|
cursor?: Prisma.PosWhereUniqueInput
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
||
|
|
*
|
||
|
|
* Take `±n` Pos 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` Pos.
|
||
|
|
*/
|
||
|
|
skip?: number
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
||
|
|
*
|
||
|
|
* Filter by unique combinations of Pos.
|
||
|
|
*/
|
||
|
|
distinct?: Prisma.PosScalarFieldEnum | Prisma.PosScalarFieldEnum[]
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Pos findMany
|
||
|
|
*/
|
||
|
|
export type PosFindManyArgs<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
|
||
|
|
/**
|
||
|
|
* Filter, which Pos to fetch.
|
||
|
|
*/
|
||
|
|
where?: Prisma.PosWhereInput
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
||
|
|
*
|
||
|
|
* Determine the order of Pos to fetch.
|
||
|
|
*/
|
||
|
|
orderBy?: Prisma.PosOrderByWithRelationInput | Prisma.PosOrderByWithRelationInput[]
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
||
|
|
*
|
||
|
|
* Sets the position for listing Pos.
|
||
|
|
*/
|
||
|
|
cursor?: Prisma.PosWhereUniqueInput
|
||
|
|
/**
|
||
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
||
|
|
*
|
||
|
|
* Take `±n` Pos 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` Pos.
|
||
|
|
*/
|
||
|
|
skip?: number
|
||
|
|
distinct?: Prisma.PosScalarFieldEnum | Prisma.PosScalarFieldEnum[]
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Pos create
|
||
|
|
*/
|
||
|
|
export type PosCreateArgs<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
|
||
|
|
/**
|
||
|
|
* The data needed to create a Pos.
|
||
|
|
*/
|
||
|
|
data: Prisma.XOR<Prisma.PosCreateInput, Prisma.PosUncheckedCreateInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Pos createMany
|
||
|
|
*/
|
||
|
|
export type PosCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* The data used to create many Pos.
|
||
|
|
*/
|
||
|
|
data: Prisma.PosCreateManyInput | Prisma.PosCreateManyInput[]
|
||
|
|
skipDuplicates?: boolean
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Pos update
|
||
|
|
*/
|
||
|
|
export type PosUpdateArgs<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
|
||
|
|
/**
|
||
|
|
* The data needed to update a Pos.
|
||
|
|
*/
|
||
|
|
data: Prisma.XOR<Prisma.PosUpdateInput, Prisma.PosUncheckedUpdateInput>
|
||
|
|
/**
|
||
|
|
* Choose, which Pos to update.
|
||
|
|
*/
|
||
|
|
where: Prisma.PosWhereUniqueInput
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Pos updateMany
|
||
|
|
*/
|
||
|
|
export type PosUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* The data used to update Pos.
|
||
|
|
*/
|
||
|
|
data: Prisma.XOR<Prisma.PosUpdateManyMutationInput, Prisma.PosUncheckedUpdateManyInput>
|
||
|
|
/**
|
||
|
|
* Filter which Pos to update
|
||
|
|
*/
|
||
|
|
where?: Prisma.PosWhereInput
|
||
|
|
/**
|
||
|
|
* Limit how many Pos to update.
|
||
|
|
*/
|
||
|
|
limit?: number
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Pos upsert
|
||
|
|
*/
|
||
|
|
export type PosUpsertArgs<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
|
||
|
|
/**
|
||
|
|
* The filter to search for the Pos to update in case it exists.
|
||
|
|
*/
|
||
|
|
where: Prisma.PosWhereUniqueInput
|
||
|
|
/**
|
||
|
|
* In case the Pos found by the `where` argument doesn't exist, create a new Pos with this data.
|
||
|
|
*/
|
||
|
|
create: Prisma.XOR<Prisma.PosCreateInput, Prisma.PosUncheckedCreateInput>
|
||
|
|
/**
|
||
|
|
* In case the Pos was found with the provided `where` argument, update it with this data.
|
||
|
|
*/
|
||
|
|
update: Prisma.XOR<Prisma.PosUpdateInput, Prisma.PosUncheckedUpdateInput>
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Pos delete
|
||
|
|
*/
|
||
|
|
export type PosDeleteArgs<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
|
||
|
|
/**
|
||
|
|
* Filter which Pos to delete.
|
||
|
|
*/
|
||
|
|
where: Prisma.PosWhereUniqueInput
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Pos deleteMany
|
||
|
|
*/
|
||
|
|
export type PosDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Filter which Pos to delete
|
||
|
|
*/
|
||
|
|
where?: Prisma.PosWhereInput
|
||
|
|
/**
|
||
|
|
* Limit how many Pos to delete.
|
||
|
|
*/
|
||
|
|
limit?: number
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Pos.provider
|
||
|
|
*/
|
||
|
|
export type Pos$providerArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Select specific fields to fetch from the Provider
|
||
|
|
*/
|
||
|
|
select?: Prisma.ProviderSelect<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Omit specific fields from the Provider
|
||
|
|
*/
|
||
|
|
omit?: Prisma.ProviderOmit<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Choose, which related nodes to fetch as well
|
||
|
|
*/
|
||
|
|
include?: Prisma.ProviderInclude<ExtArgs> | null
|
||
|
|
where?: Prisma.ProviderWhereInput
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Pos.licenses
|
||
|
|
*/
|
||
|
|
export type Pos$licensesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Select specific fields to fetch from the License
|
||
|
|
*/
|
||
|
|
select?: Prisma.LicenseSelect<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Omit specific fields from the License
|
||
|
|
*/
|
||
|
|
omit?: Prisma.LicenseOmit<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Choose, which related nodes to fetch as well
|
||
|
|
*/
|
||
|
|
include?: Prisma.LicenseInclude<ExtArgs> | null
|
||
|
|
where?: Prisma.LicenseWhereInput
|
||
|
|
orderBy?: Prisma.LicenseOrderByWithRelationInput | Prisma.LicenseOrderByWithRelationInput[]
|
||
|
|
cursor?: Prisma.LicenseWhereUniqueInput
|
||
|
|
take?: number
|
||
|
|
skip?: number
|
||
|
|
distinct?: Prisma.LicenseScalarFieldEnum | Prisma.LicenseScalarFieldEnum[]
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Pos.accounts
|
||
|
|
*/
|
||
|
|
export type Pos$accountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
||
|
|
/**
|
||
|
|
* Select specific fields to fetch from the Account
|
||
|
|
*/
|
||
|
|
select?: Prisma.AccountSelect<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Omit specific fields from the Account
|
||
|
|
*/
|
||
|
|
omit?: Prisma.AccountOmit<ExtArgs> | null
|
||
|
|
/**
|
||
|
|
* Choose, which related nodes to fetch as well
|
||
|
|
*/
|
||
|
|
include?: Prisma.AccountInclude<ExtArgs> | null
|
||
|
|
where?: Prisma.AccountWhereInput
|
||
|
|
orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[]
|
||
|
|
cursor?: Prisma.AccountWhereUniqueInput
|
||
|
|
take?: number
|
||
|
|
skip?: number
|
||
|
|
distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[]
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Pos without action
|
||
|
|
*/
|
||
|
|
export type PosDefaultArgs<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
|
||
|
|
}
|