2026-04-22 21:55:40 +03:30
|
|
|
|
|
|
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
|
|
|
/* eslint-disable */
|
|
|
|
|
// biome-ignore-all lint: generated file
|
|
|
|
|
// @ts-nocheck
|
|
|
|
|
/*
|
|
|
|
|
* This file exports the `ConsumerDevices` 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 ConsumerDevices
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
export type ConsumerDevicesModel = runtime.Types.Result.DefaultSelection<Prisma.$ConsumerDevicesPayload>
|
|
|
|
|
|
|
|
|
|
export type AggregateConsumerDevices = {
|
|
|
|
|
_count: ConsumerDevicesCountAggregateOutputType | null
|
|
|
|
|
_min: ConsumerDevicesMinAggregateOutputType | null
|
|
|
|
|
_max: ConsumerDevicesMaxAggregateOutputType | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesMinAggregateOutputType = {
|
|
|
|
|
uuid: string | null
|
|
|
|
|
app_version: string | null
|
|
|
|
|
build_number: string | null
|
|
|
|
|
platform: string | null
|
|
|
|
|
brand: string | null
|
|
|
|
|
model: string | null
|
|
|
|
|
device: string | null
|
|
|
|
|
publisher: $Enums.ApplicationPublisher | null
|
|
|
|
|
os_version: string | null
|
|
|
|
|
sdk_version: string | null
|
|
|
|
|
release_number: string | null
|
|
|
|
|
user_agent: string | null
|
|
|
|
|
browser_name: string | null
|
|
|
|
|
fcm_token: string | null
|
|
|
|
|
created_at: Date | null
|
|
|
|
|
updated_at: Date | null
|
|
|
|
|
consumer_id: string | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesMaxAggregateOutputType = {
|
|
|
|
|
uuid: string | null
|
|
|
|
|
app_version: string | null
|
|
|
|
|
build_number: string | null
|
|
|
|
|
platform: string | null
|
|
|
|
|
brand: string | null
|
|
|
|
|
model: string | null
|
|
|
|
|
device: string | null
|
|
|
|
|
publisher: $Enums.ApplicationPublisher | null
|
|
|
|
|
os_version: string | null
|
|
|
|
|
sdk_version: string | null
|
|
|
|
|
release_number: string | null
|
|
|
|
|
user_agent: string | null
|
|
|
|
|
browser_name: string | null
|
|
|
|
|
fcm_token: string | null
|
|
|
|
|
created_at: Date | null
|
|
|
|
|
updated_at: Date | null
|
|
|
|
|
consumer_id: string | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesCountAggregateOutputType = {
|
|
|
|
|
uuid: number
|
|
|
|
|
app_version: number
|
|
|
|
|
build_number: number
|
|
|
|
|
platform: number
|
|
|
|
|
brand: number
|
|
|
|
|
model: number
|
|
|
|
|
device: number
|
|
|
|
|
publisher: number
|
|
|
|
|
os_version: number
|
|
|
|
|
sdk_version: number
|
|
|
|
|
release_number: number
|
|
|
|
|
user_agent: number
|
|
|
|
|
browser_name: number
|
|
|
|
|
fcm_token: number
|
|
|
|
|
created_at: number
|
|
|
|
|
updated_at: number
|
|
|
|
|
consumer_id: number
|
|
|
|
|
_all: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesMinAggregateInputType = {
|
|
|
|
|
uuid?: true
|
|
|
|
|
app_version?: true
|
|
|
|
|
build_number?: true
|
|
|
|
|
platform?: true
|
|
|
|
|
brand?: true
|
|
|
|
|
model?: true
|
|
|
|
|
device?: true
|
|
|
|
|
publisher?: true
|
|
|
|
|
os_version?: true
|
|
|
|
|
sdk_version?: true
|
|
|
|
|
release_number?: true
|
|
|
|
|
user_agent?: true
|
|
|
|
|
browser_name?: true
|
|
|
|
|
fcm_token?: true
|
|
|
|
|
created_at?: true
|
|
|
|
|
updated_at?: true
|
|
|
|
|
consumer_id?: true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesMaxAggregateInputType = {
|
|
|
|
|
uuid?: true
|
|
|
|
|
app_version?: true
|
|
|
|
|
build_number?: true
|
|
|
|
|
platform?: true
|
|
|
|
|
brand?: true
|
|
|
|
|
model?: true
|
|
|
|
|
device?: true
|
|
|
|
|
publisher?: true
|
|
|
|
|
os_version?: true
|
|
|
|
|
sdk_version?: true
|
|
|
|
|
release_number?: true
|
|
|
|
|
user_agent?: true
|
|
|
|
|
browser_name?: true
|
|
|
|
|
fcm_token?: true
|
|
|
|
|
created_at?: true
|
|
|
|
|
updated_at?: true
|
|
|
|
|
consumer_id?: true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesCountAggregateInputType = {
|
|
|
|
|
uuid?: true
|
|
|
|
|
app_version?: true
|
|
|
|
|
build_number?: true
|
|
|
|
|
platform?: true
|
|
|
|
|
brand?: true
|
|
|
|
|
model?: true
|
|
|
|
|
device?: true
|
|
|
|
|
publisher?: true
|
|
|
|
|
os_version?: true
|
|
|
|
|
sdk_version?: true
|
|
|
|
|
release_number?: true
|
|
|
|
|
user_agent?: true
|
|
|
|
|
browser_name?: true
|
|
|
|
|
fcm_token?: true
|
|
|
|
|
created_at?: true
|
|
|
|
|
updated_at?: true
|
|
|
|
|
consumer_id?: true
|
|
|
|
|
_all?: true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Filter which ConsumerDevices to aggregate.
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.ConsumerDevicesWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
|
|
|
*
|
|
|
|
|
* Determine the order of ConsumerDevices to fetch.
|
|
|
|
|
*/
|
|
|
|
|
orderBy?: Prisma.ConsumerDevicesOrderByWithRelationInput | Prisma.ConsumerDevicesOrderByWithRelationInput[]
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
|
|
|
*
|
|
|
|
|
* Sets the start position
|
|
|
|
|
*/
|
|
|
|
|
cursor?: Prisma.ConsumerDevicesWhereUniqueInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
|
|
|
*
|
|
|
|
|
* Take `±n` ConsumerDevices 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` ConsumerDevices.
|
|
|
|
|
*/
|
|
|
|
|
skip?: number
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
|
|
|
*
|
|
|
|
|
* Count returned ConsumerDevices
|
|
|
|
|
**/
|
|
|
|
|
_count?: true | ConsumerDevicesCountAggregateInputType
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
|
|
|
*
|
|
|
|
|
* Select which fields to find the minimum value
|
|
|
|
|
**/
|
|
|
|
|
_min?: ConsumerDevicesMinAggregateInputType
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
|
|
|
*
|
|
|
|
|
* Select which fields to find the maximum value
|
|
|
|
|
**/
|
|
|
|
|
_max?: ConsumerDevicesMaxAggregateInputType
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type GetConsumerDevicesAggregateType<T extends ConsumerDevicesAggregateArgs> = {
|
|
|
|
|
[P in keyof T & keyof AggregateConsumerDevices]: P extends '_count' | 'count'
|
|
|
|
|
? T[P] extends true
|
|
|
|
|
? number
|
|
|
|
|
: Prisma.GetScalarType<T[P], AggregateConsumerDevices[P]>
|
|
|
|
|
: Prisma.GetScalarType<T[P], AggregateConsumerDevices[P]>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
where?: Prisma.ConsumerDevicesWhereInput
|
|
|
|
|
orderBy?: Prisma.ConsumerDevicesOrderByWithAggregationInput | Prisma.ConsumerDevicesOrderByWithAggregationInput[]
|
|
|
|
|
by: Prisma.ConsumerDevicesScalarFieldEnum[] | Prisma.ConsumerDevicesScalarFieldEnum
|
|
|
|
|
having?: Prisma.ConsumerDevicesScalarWhereWithAggregatesInput
|
|
|
|
|
take?: number
|
|
|
|
|
skip?: number
|
|
|
|
|
_count?: ConsumerDevicesCountAggregateInputType | true
|
|
|
|
|
_min?: ConsumerDevicesMinAggregateInputType
|
|
|
|
|
_max?: ConsumerDevicesMaxAggregateInputType
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesGroupByOutputType = {
|
|
|
|
|
uuid: string
|
|
|
|
|
app_version: string
|
|
|
|
|
build_number: string
|
|
|
|
|
platform: string
|
|
|
|
|
brand: string
|
|
|
|
|
model: string
|
|
|
|
|
device: string
|
|
|
|
|
publisher: $Enums.ApplicationPublisher
|
|
|
|
|
os_version: string
|
|
|
|
|
sdk_version: string
|
|
|
|
|
release_number: string
|
|
|
|
|
user_agent: string | null
|
|
|
|
|
browser_name: string | null
|
|
|
|
|
fcm_token: string | null
|
|
|
|
|
created_at: Date
|
|
|
|
|
updated_at: Date
|
|
|
|
|
consumer_id: string
|
|
|
|
|
_count: ConsumerDevicesCountAggregateOutputType | null
|
|
|
|
|
_min: ConsumerDevicesMinAggregateOutputType | null
|
|
|
|
|
_max: ConsumerDevicesMaxAggregateOutputType | null
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type GetConsumerDevicesGroupByPayload<T extends ConsumerDevicesGroupByArgs> = Prisma.PrismaPromise<
|
|
|
|
|
Array<
|
|
|
|
|
Prisma.PickEnumerable<ConsumerDevicesGroupByOutputType, T['by']> &
|
|
|
|
|
{
|
|
|
|
|
[P in ((keyof T) & (keyof ConsumerDevicesGroupByOutputType))]: P extends '_count'
|
|
|
|
|
? T[P] extends boolean
|
|
|
|
|
? number
|
|
|
|
|
: Prisma.GetScalarType<T[P], ConsumerDevicesGroupByOutputType[P]>
|
|
|
|
|
: Prisma.GetScalarType<T[P], ConsumerDevicesGroupByOutputType[P]>
|
|
|
|
|
}
|
|
|
|
|
>
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesWhereInput = {
|
|
|
|
|
AND?: Prisma.ConsumerDevicesWhereInput | Prisma.ConsumerDevicesWhereInput[]
|
|
|
|
|
OR?: Prisma.ConsumerDevicesWhereInput[]
|
|
|
|
|
NOT?: Prisma.ConsumerDevicesWhereInput | Prisma.ConsumerDevicesWhereInput[]
|
|
|
|
|
uuid?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
app_version?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
build_number?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
platform?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
brand?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
model?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
device?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
publisher?: Prisma.EnumApplicationPublisherFilter<"ConsumerDevices"> | $Enums.ApplicationPublisher
|
|
|
|
|
os_version?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
sdk_version?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
release_number?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
user_agent?: Prisma.StringNullableFilter<"ConsumerDevices"> | string | null
|
|
|
|
|
browser_name?: Prisma.StringNullableFilter<"ConsumerDevices"> | string | null
|
|
|
|
|
fcm_token?: Prisma.StringNullableFilter<"ConsumerDevices"> | string | null
|
|
|
|
|
created_at?: Prisma.DateTimeFilter<"ConsumerDevices"> | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFilter<"ConsumerDevices"> | Date | string
|
|
|
|
|
consumer_id?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
consumer?: Prisma.XOR<Prisma.ConsumerScalarRelationFilter, Prisma.ConsumerWhereInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesOrderByWithRelationInput = {
|
|
|
|
|
uuid?: Prisma.SortOrder
|
|
|
|
|
app_version?: Prisma.SortOrder
|
|
|
|
|
build_number?: Prisma.SortOrder
|
|
|
|
|
platform?: Prisma.SortOrder
|
|
|
|
|
brand?: Prisma.SortOrder
|
|
|
|
|
model?: Prisma.SortOrder
|
|
|
|
|
device?: Prisma.SortOrder
|
|
|
|
|
publisher?: Prisma.SortOrder
|
|
|
|
|
os_version?: Prisma.SortOrder
|
|
|
|
|
sdk_version?: Prisma.SortOrder
|
|
|
|
|
release_number?: Prisma.SortOrder
|
|
|
|
|
user_agent?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
browser_name?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
fcm_token?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
created_at?: Prisma.SortOrder
|
|
|
|
|
updated_at?: Prisma.SortOrder
|
|
|
|
|
consumer_id?: Prisma.SortOrder
|
|
|
|
|
consumer?: Prisma.ConsumerOrderByWithRelationInput
|
|
|
|
|
_relevance?: Prisma.ConsumerDevicesOrderByRelevanceInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesWhereUniqueInput = Prisma.AtLeast<{
|
|
|
|
|
uuid?: string
|
|
|
|
|
AND?: Prisma.ConsumerDevicesWhereInput | Prisma.ConsumerDevicesWhereInput[]
|
|
|
|
|
OR?: Prisma.ConsumerDevicesWhereInput[]
|
|
|
|
|
NOT?: Prisma.ConsumerDevicesWhereInput | Prisma.ConsumerDevicesWhereInput[]
|
|
|
|
|
app_version?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
build_number?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
platform?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
brand?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
model?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
device?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
publisher?: Prisma.EnumApplicationPublisherFilter<"ConsumerDevices"> | $Enums.ApplicationPublisher
|
|
|
|
|
os_version?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
sdk_version?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
release_number?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
user_agent?: Prisma.StringNullableFilter<"ConsumerDevices"> | string | null
|
|
|
|
|
browser_name?: Prisma.StringNullableFilter<"ConsumerDevices"> | string | null
|
|
|
|
|
fcm_token?: Prisma.StringNullableFilter<"ConsumerDevices"> | string | null
|
|
|
|
|
created_at?: Prisma.DateTimeFilter<"ConsumerDevices"> | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFilter<"ConsumerDevices"> | Date | string
|
|
|
|
|
consumer_id?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
consumer?: Prisma.XOR<Prisma.ConsumerScalarRelationFilter, Prisma.ConsumerWhereInput>
|
|
|
|
|
}, "uuid" | "uuid">
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesOrderByWithAggregationInput = {
|
|
|
|
|
uuid?: Prisma.SortOrder
|
|
|
|
|
app_version?: Prisma.SortOrder
|
|
|
|
|
build_number?: Prisma.SortOrder
|
|
|
|
|
platform?: Prisma.SortOrder
|
|
|
|
|
brand?: Prisma.SortOrder
|
|
|
|
|
model?: Prisma.SortOrder
|
|
|
|
|
device?: Prisma.SortOrder
|
|
|
|
|
publisher?: Prisma.SortOrder
|
|
|
|
|
os_version?: Prisma.SortOrder
|
|
|
|
|
sdk_version?: Prisma.SortOrder
|
|
|
|
|
release_number?: Prisma.SortOrder
|
|
|
|
|
user_agent?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
browser_name?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
fcm_token?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
|
|
|
created_at?: Prisma.SortOrder
|
|
|
|
|
updated_at?: Prisma.SortOrder
|
|
|
|
|
consumer_id?: Prisma.SortOrder
|
|
|
|
|
_count?: Prisma.ConsumerDevicesCountOrderByAggregateInput
|
|
|
|
|
_max?: Prisma.ConsumerDevicesMaxOrderByAggregateInput
|
|
|
|
|
_min?: Prisma.ConsumerDevicesMinOrderByAggregateInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesScalarWhereWithAggregatesInput = {
|
|
|
|
|
AND?: Prisma.ConsumerDevicesScalarWhereWithAggregatesInput | Prisma.ConsumerDevicesScalarWhereWithAggregatesInput[]
|
|
|
|
|
OR?: Prisma.ConsumerDevicesScalarWhereWithAggregatesInput[]
|
|
|
|
|
NOT?: Prisma.ConsumerDevicesScalarWhereWithAggregatesInput | Prisma.ConsumerDevicesScalarWhereWithAggregatesInput[]
|
|
|
|
|
uuid?: Prisma.StringWithAggregatesFilter<"ConsumerDevices"> | string
|
|
|
|
|
app_version?: Prisma.StringWithAggregatesFilter<"ConsumerDevices"> | string
|
|
|
|
|
build_number?: Prisma.StringWithAggregatesFilter<"ConsumerDevices"> | string
|
|
|
|
|
platform?: Prisma.StringWithAggregatesFilter<"ConsumerDevices"> | string
|
|
|
|
|
brand?: Prisma.StringWithAggregatesFilter<"ConsumerDevices"> | string
|
|
|
|
|
model?: Prisma.StringWithAggregatesFilter<"ConsumerDevices"> | string
|
|
|
|
|
device?: Prisma.StringWithAggregatesFilter<"ConsumerDevices"> | string
|
|
|
|
|
publisher?: Prisma.EnumApplicationPublisherWithAggregatesFilter<"ConsumerDevices"> | $Enums.ApplicationPublisher
|
|
|
|
|
os_version?: Prisma.StringWithAggregatesFilter<"ConsumerDevices"> | string
|
|
|
|
|
sdk_version?: Prisma.StringWithAggregatesFilter<"ConsumerDevices"> | string
|
|
|
|
|
release_number?: Prisma.StringWithAggregatesFilter<"ConsumerDevices"> | string
|
|
|
|
|
user_agent?: Prisma.StringNullableWithAggregatesFilter<"ConsumerDevices"> | string | null
|
|
|
|
|
browser_name?: Prisma.StringNullableWithAggregatesFilter<"ConsumerDevices"> | string | null
|
|
|
|
|
fcm_token?: Prisma.StringNullableWithAggregatesFilter<"ConsumerDevices"> | string | null
|
|
|
|
|
created_at?: Prisma.DateTimeWithAggregatesFilter<"ConsumerDevices"> | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeWithAggregatesFilter<"ConsumerDevices"> | Date | string
|
|
|
|
|
consumer_id?: Prisma.StringWithAggregatesFilter<"ConsumerDevices"> | string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesCreateInput = {
|
|
|
|
|
uuid: string
|
|
|
|
|
app_version: string
|
|
|
|
|
build_number: string
|
|
|
|
|
platform: string
|
|
|
|
|
brand: string
|
|
|
|
|
model: string
|
|
|
|
|
device: string
|
|
|
|
|
publisher: $Enums.ApplicationPublisher
|
|
|
|
|
os_version: string
|
|
|
|
|
sdk_version: string
|
|
|
|
|
release_number: string
|
|
|
|
|
user_agent?: string | null
|
|
|
|
|
browser_name?: string | null
|
|
|
|
|
fcm_token?: string | null
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
2026-04-27 10:45:39 +03:30
|
|
|
consumer: Prisma.ConsumerCreateNestedOneWithoutDevicesInput
|
2026-04-22 21:55:40 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesUncheckedCreateInput = {
|
|
|
|
|
uuid: string
|
|
|
|
|
app_version: string
|
|
|
|
|
build_number: string
|
|
|
|
|
platform: string
|
|
|
|
|
brand: string
|
|
|
|
|
model: string
|
|
|
|
|
device: string
|
|
|
|
|
publisher: $Enums.ApplicationPublisher
|
|
|
|
|
os_version: string
|
|
|
|
|
sdk_version: string
|
|
|
|
|
release_number: string
|
|
|
|
|
user_agent?: string | null
|
|
|
|
|
browser_name?: string | null
|
|
|
|
|
fcm_token?: string | null
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
|
|
|
|
consumer_id: string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesUpdateInput = {
|
|
|
|
|
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
app_version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
build_number?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
platform?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
brand?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
model?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
device?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
publisher?: Prisma.EnumApplicationPublisherFieldUpdateOperationsInput | $Enums.ApplicationPublisher
|
|
|
|
|
os_version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
sdk_version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
release_number?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
user_agent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
browser_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
2026-04-27 10:45:39 +03:30
|
|
|
consumer?: Prisma.ConsumerUpdateOneRequiredWithoutDevicesNestedInput
|
2026-04-22 21:55:40 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesUncheckedUpdateInput = {
|
|
|
|
|
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
app_version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
build_number?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
platform?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
brand?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
model?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
device?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
publisher?: Prisma.EnumApplicationPublisherFieldUpdateOperationsInput | $Enums.ApplicationPublisher
|
|
|
|
|
os_version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
sdk_version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
release_number?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
user_agent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
browser_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
consumer_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesCreateManyInput = {
|
|
|
|
|
uuid: string
|
|
|
|
|
app_version: string
|
|
|
|
|
build_number: string
|
|
|
|
|
platform: string
|
|
|
|
|
brand: string
|
|
|
|
|
model: string
|
|
|
|
|
device: string
|
|
|
|
|
publisher: $Enums.ApplicationPublisher
|
|
|
|
|
os_version: string
|
|
|
|
|
sdk_version: string
|
|
|
|
|
release_number: string
|
|
|
|
|
user_agent?: string | null
|
|
|
|
|
browser_name?: string | null
|
|
|
|
|
fcm_token?: string | null
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
|
|
|
|
consumer_id: string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesUpdateManyMutationInput = {
|
|
|
|
|
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
app_version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
build_number?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
platform?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
brand?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
model?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
device?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
publisher?: Prisma.EnumApplicationPublisherFieldUpdateOperationsInput | $Enums.ApplicationPublisher
|
|
|
|
|
os_version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
sdk_version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
release_number?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
user_agent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
browser_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesUncheckedUpdateManyInput = {
|
|
|
|
|
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
app_version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
build_number?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
platform?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
brand?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
model?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
device?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
publisher?: Prisma.EnumApplicationPublisherFieldUpdateOperationsInput | $Enums.ApplicationPublisher
|
|
|
|
|
os_version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
sdk_version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
release_number?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
user_agent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
browser_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
consumer_id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesListRelationFilter = {
|
|
|
|
|
every?: Prisma.ConsumerDevicesWhereInput
|
|
|
|
|
some?: Prisma.ConsumerDevicesWhereInput
|
|
|
|
|
none?: Prisma.ConsumerDevicesWhereInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesOrderByRelationAggregateInput = {
|
|
|
|
|
_count?: Prisma.SortOrder
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesOrderByRelevanceInput = {
|
|
|
|
|
fields: Prisma.ConsumerDevicesOrderByRelevanceFieldEnum | Prisma.ConsumerDevicesOrderByRelevanceFieldEnum[]
|
|
|
|
|
sort: Prisma.SortOrder
|
|
|
|
|
search: string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesCountOrderByAggregateInput = {
|
|
|
|
|
uuid?: Prisma.SortOrder
|
|
|
|
|
app_version?: Prisma.SortOrder
|
|
|
|
|
build_number?: Prisma.SortOrder
|
|
|
|
|
platform?: Prisma.SortOrder
|
|
|
|
|
brand?: Prisma.SortOrder
|
|
|
|
|
model?: Prisma.SortOrder
|
|
|
|
|
device?: Prisma.SortOrder
|
|
|
|
|
publisher?: Prisma.SortOrder
|
|
|
|
|
os_version?: Prisma.SortOrder
|
|
|
|
|
sdk_version?: Prisma.SortOrder
|
|
|
|
|
release_number?: Prisma.SortOrder
|
|
|
|
|
user_agent?: Prisma.SortOrder
|
|
|
|
|
browser_name?: Prisma.SortOrder
|
|
|
|
|
fcm_token?: Prisma.SortOrder
|
|
|
|
|
created_at?: Prisma.SortOrder
|
|
|
|
|
updated_at?: Prisma.SortOrder
|
|
|
|
|
consumer_id?: Prisma.SortOrder
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesMaxOrderByAggregateInput = {
|
|
|
|
|
uuid?: Prisma.SortOrder
|
|
|
|
|
app_version?: Prisma.SortOrder
|
|
|
|
|
build_number?: Prisma.SortOrder
|
|
|
|
|
platform?: Prisma.SortOrder
|
|
|
|
|
brand?: Prisma.SortOrder
|
|
|
|
|
model?: Prisma.SortOrder
|
|
|
|
|
device?: Prisma.SortOrder
|
|
|
|
|
publisher?: Prisma.SortOrder
|
|
|
|
|
os_version?: Prisma.SortOrder
|
|
|
|
|
sdk_version?: Prisma.SortOrder
|
|
|
|
|
release_number?: Prisma.SortOrder
|
|
|
|
|
user_agent?: Prisma.SortOrder
|
|
|
|
|
browser_name?: Prisma.SortOrder
|
|
|
|
|
fcm_token?: Prisma.SortOrder
|
|
|
|
|
created_at?: Prisma.SortOrder
|
|
|
|
|
updated_at?: Prisma.SortOrder
|
|
|
|
|
consumer_id?: Prisma.SortOrder
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesMinOrderByAggregateInput = {
|
|
|
|
|
uuid?: Prisma.SortOrder
|
|
|
|
|
app_version?: Prisma.SortOrder
|
|
|
|
|
build_number?: Prisma.SortOrder
|
|
|
|
|
platform?: Prisma.SortOrder
|
|
|
|
|
brand?: Prisma.SortOrder
|
|
|
|
|
model?: Prisma.SortOrder
|
|
|
|
|
device?: Prisma.SortOrder
|
|
|
|
|
publisher?: Prisma.SortOrder
|
|
|
|
|
os_version?: Prisma.SortOrder
|
|
|
|
|
sdk_version?: Prisma.SortOrder
|
|
|
|
|
release_number?: Prisma.SortOrder
|
|
|
|
|
user_agent?: Prisma.SortOrder
|
|
|
|
|
browser_name?: Prisma.SortOrder
|
|
|
|
|
fcm_token?: Prisma.SortOrder
|
|
|
|
|
created_at?: Prisma.SortOrder
|
|
|
|
|
updated_at?: Prisma.SortOrder
|
|
|
|
|
consumer_id?: Prisma.SortOrder
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesCreateNestedManyWithoutConsumerInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.ConsumerDevicesCreateWithoutConsumerInput, Prisma.ConsumerDevicesUncheckedCreateWithoutConsumerInput> | Prisma.ConsumerDevicesCreateWithoutConsumerInput[] | Prisma.ConsumerDevicesUncheckedCreateWithoutConsumerInput[]
|
|
|
|
|
connectOrCreate?: Prisma.ConsumerDevicesCreateOrConnectWithoutConsumerInput | Prisma.ConsumerDevicesCreateOrConnectWithoutConsumerInput[]
|
|
|
|
|
createMany?: Prisma.ConsumerDevicesCreateManyConsumerInputEnvelope
|
|
|
|
|
connect?: Prisma.ConsumerDevicesWhereUniqueInput | Prisma.ConsumerDevicesWhereUniqueInput[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesUncheckedCreateNestedManyWithoutConsumerInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.ConsumerDevicesCreateWithoutConsumerInput, Prisma.ConsumerDevicesUncheckedCreateWithoutConsumerInput> | Prisma.ConsumerDevicesCreateWithoutConsumerInput[] | Prisma.ConsumerDevicesUncheckedCreateWithoutConsumerInput[]
|
|
|
|
|
connectOrCreate?: Prisma.ConsumerDevicesCreateOrConnectWithoutConsumerInput | Prisma.ConsumerDevicesCreateOrConnectWithoutConsumerInput[]
|
|
|
|
|
createMany?: Prisma.ConsumerDevicesCreateManyConsumerInputEnvelope
|
|
|
|
|
connect?: Prisma.ConsumerDevicesWhereUniqueInput | Prisma.ConsumerDevicesWhereUniqueInput[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesUpdateManyWithoutConsumerNestedInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.ConsumerDevicesCreateWithoutConsumerInput, Prisma.ConsumerDevicesUncheckedCreateWithoutConsumerInput> | Prisma.ConsumerDevicesCreateWithoutConsumerInput[] | Prisma.ConsumerDevicesUncheckedCreateWithoutConsumerInput[]
|
|
|
|
|
connectOrCreate?: Prisma.ConsumerDevicesCreateOrConnectWithoutConsumerInput | Prisma.ConsumerDevicesCreateOrConnectWithoutConsumerInput[]
|
|
|
|
|
upsert?: Prisma.ConsumerDevicesUpsertWithWhereUniqueWithoutConsumerInput | Prisma.ConsumerDevicesUpsertWithWhereUniqueWithoutConsumerInput[]
|
|
|
|
|
createMany?: Prisma.ConsumerDevicesCreateManyConsumerInputEnvelope
|
|
|
|
|
set?: Prisma.ConsumerDevicesWhereUniqueInput | Prisma.ConsumerDevicesWhereUniqueInput[]
|
|
|
|
|
disconnect?: Prisma.ConsumerDevicesWhereUniqueInput | Prisma.ConsumerDevicesWhereUniqueInput[]
|
|
|
|
|
delete?: Prisma.ConsumerDevicesWhereUniqueInput | Prisma.ConsumerDevicesWhereUniqueInput[]
|
|
|
|
|
connect?: Prisma.ConsumerDevicesWhereUniqueInput | Prisma.ConsumerDevicesWhereUniqueInput[]
|
|
|
|
|
update?: Prisma.ConsumerDevicesUpdateWithWhereUniqueWithoutConsumerInput | Prisma.ConsumerDevicesUpdateWithWhereUniqueWithoutConsumerInput[]
|
|
|
|
|
updateMany?: Prisma.ConsumerDevicesUpdateManyWithWhereWithoutConsumerInput | Prisma.ConsumerDevicesUpdateManyWithWhereWithoutConsumerInput[]
|
|
|
|
|
deleteMany?: Prisma.ConsumerDevicesScalarWhereInput | Prisma.ConsumerDevicesScalarWhereInput[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesUncheckedUpdateManyWithoutConsumerNestedInput = {
|
|
|
|
|
create?: Prisma.XOR<Prisma.ConsumerDevicesCreateWithoutConsumerInput, Prisma.ConsumerDevicesUncheckedCreateWithoutConsumerInput> | Prisma.ConsumerDevicesCreateWithoutConsumerInput[] | Prisma.ConsumerDevicesUncheckedCreateWithoutConsumerInput[]
|
|
|
|
|
connectOrCreate?: Prisma.ConsumerDevicesCreateOrConnectWithoutConsumerInput | Prisma.ConsumerDevicesCreateOrConnectWithoutConsumerInput[]
|
|
|
|
|
upsert?: Prisma.ConsumerDevicesUpsertWithWhereUniqueWithoutConsumerInput | Prisma.ConsumerDevicesUpsertWithWhereUniqueWithoutConsumerInput[]
|
|
|
|
|
createMany?: Prisma.ConsumerDevicesCreateManyConsumerInputEnvelope
|
|
|
|
|
set?: Prisma.ConsumerDevicesWhereUniqueInput | Prisma.ConsumerDevicesWhereUniqueInput[]
|
|
|
|
|
disconnect?: Prisma.ConsumerDevicesWhereUniqueInput | Prisma.ConsumerDevicesWhereUniqueInput[]
|
|
|
|
|
delete?: Prisma.ConsumerDevicesWhereUniqueInput | Prisma.ConsumerDevicesWhereUniqueInput[]
|
|
|
|
|
connect?: Prisma.ConsumerDevicesWhereUniqueInput | Prisma.ConsumerDevicesWhereUniqueInput[]
|
|
|
|
|
update?: Prisma.ConsumerDevicesUpdateWithWhereUniqueWithoutConsumerInput | Prisma.ConsumerDevicesUpdateWithWhereUniqueWithoutConsumerInput[]
|
|
|
|
|
updateMany?: Prisma.ConsumerDevicesUpdateManyWithWhereWithoutConsumerInput | Prisma.ConsumerDevicesUpdateManyWithWhereWithoutConsumerInput[]
|
|
|
|
|
deleteMany?: Prisma.ConsumerDevicesScalarWhereInput | Prisma.ConsumerDevicesScalarWhereInput[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type EnumApplicationPublisherFieldUpdateOperationsInput = {
|
|
|
|
|
set?: $Enums.ApplicationPublisher
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesCreateWithoutConsumerInput = {
|
|
|
|
|
uuid: string
|
|
|
|
|
app_version: string
|
|
|
|
|
build_number: string
|
|
|
|
|
platform: string
|
|
|
|
|
brand: string
|
|
|
|
|
model: string
|
|
|
|
|
device: string
|
|
|
|
|
publisher: $Enums.ApplicationPublisher
|
|
|
|
|
os_version: string
|
|
|
|
|
sdk_version: string
|
|
|
|
|
release_number: string
|
|
|
|
|
user_agent?: string | null
|
|
|
|
|
browser_name?: string | null
|
|
|
|
|
fcm_token?: string | null
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesUncheckedCreateWithoutConsumerInput = {
|
|
|
|
|
uuid: string
|
|
|
|
|
app_version: string
|
|
|
|
|
build_number: string
|
|
|
|
|
platform: string
|
|
|
|
|
brand: string
|
|
|
|
|
model: string
|
|
|
|
|
device: string
|
|
|
|
|
publisher: $Enums.ApplicationPublisher
|
|
|
|
|
os_version: string
|
|
|
|
|
sdk_version: string
|
|
|
|
|
release_number: string
|
|
|
|
|
user_agent?: string | null
|
|
|
|
|
browser_name?: string | null
|
|
|
|
|
fcm_token?: string | null
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesCreateOrConnectWithoutConsumerInput = {
|
|
|
|
|
where: Prisma.ConsumerDevicesWhereUniqueInput
|
|
|
|
|
create: Prisma.XOR<Prisma.ConsumerDevicesCreateWithoutConsumerInput, Prisma.ConsumerDevicesUncheckedCreateWithoutConsumerInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesCreateManyConsumerInputEnvelope = {
|
|
|
|
|
data: Prisma.ConsumerDevicesCreateManyConsumerInput | Prisma.ConsumerDevicesCreateManyConsumerInput[]
|
|
|
|
|
skipDuplicates?: boolean
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesUpsertWithWhereUniqueWithoutConsumerInput = {
|
|
|
|
|
where: Prisma.ConsumerDevicesWhereUniqueInput
|
|
|
|
|
update: Prisma.XOR<Prisma.ConsumerDevicesUpdateWithoutConsumerInput, Prisma.ConsumerDevicesUncheckedUpdateWithoutConsumerInput>
|
|
|
|
|
create: Prisma.XOR<Prisma.ConsumerDevicesCreateWithoutConsumerInput, Prisma.ConsumerDevicesUncheckedCreateWithoutConsumerInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesUpdateWithWhereUniqueWithoutConsumerInput = {
|
|
|
|
|
where: Prisma.ConsumerDevicesWhereUniqueInput
|
|
|
|
|
data: Prisma.XOR<Prisma.ConsumerDevicesUpdateWithoutConsumerInput, Prisma.ConsumerDevicesUncheckedUpdateWithoutConsumerInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesUpdateManyWithWhereWithoutConsumerInput = {
|
|
|
|
|
where: Prisma.ConsumerDevicesScalarWhereInput
|
|
|
|
|
data: Prisma.XOR<Prisma.ConsumerDevicesUpdateManyMutationInput, Prisma.ConsumerDevicesUncheckedUpdateManyWithoutConsumerInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesScalarWhereInput = {
|
|
|
|
|
AND?: Prisma.ConsumerDevicesScalarWhereInput | Prisma.ConsumerDevicesScalarWhereInput[]
|
|
|
|
|
OR?: Prisma.ConsumerDevicesScalarWhereInput[]
|
|
|
|
|
NOT?: Prisma.ConsumerDevicesScalarWhereInput | Prisma.ConsumerDevicesScalarWhereInput[]
|
|
|
|
|
uuid?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
app_version?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
build_number?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
platform?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
brand?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
model?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
device?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
publisher?: Prisma.EnumApplicationPublisherFilter<"ConsumerDevices"> | $Enums.ApplicationPublisher
|
|
|
|
|
os_version?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
sdk_version?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
release_number?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
user_agent?: Prisma.StringNullableFilter<"ConsumerDevices"> | string | null
|
|
|
|
|
browser_name?: Prisma.StringNullableFilter<"ConsumerDevices"> | string | null
|
|
|
|
|
fcm_token?: Prisma.StringNullableFilter<"ConsumerDevices"> | string | null
|
|
|
|
|
created_at?: Prisma.DateTimeFilter<"ConsumerDevices"> | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFilter<"ConsumerDevices"> | Date | string
|
|
|
|
|
consumer_id?: Prisma.StringFilter<"ConsumerDevices"> | string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesCreateManyConsumerInput = {
|
|
|
|
|
uuid: string
|
|
|
|
|
app_version: string
|
|
|
|
|
build_number: string
|
|
|
|
|
platform: string
|
|
|
|
|
brand: string
|
|
|
|
|
model: string
|
|
|
|
|
device: string
|
|
|
|
|
publisher: $Enums.ApplicationPublisher
|
|
|
|
|
os_version: string
|
|
|
|
|
sdk_version: string
|
|
|
|
|
release_number: string
|
|
|
|
|
user_agent?: string | null
|
|
|
|
|
browser_name?: string | null
|
|
|
|
|
fcm_token?: string | null
|
|
|
|
|
created_at?: Date | string
|
|
|
|
|
updated_at?: Date | string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesUpdateWithoutConsumerInput = {
|
|
|
|
|
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
app_version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
build_number?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
platform?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
brand?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
model?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
device?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
publisher?: Prisma.EnumApplicationPublisherFieldUpdateOperationsInput | $Enums.ApplicationPublisher
|
|
|
|
|
os_version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
sdk_version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
release_number?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
user_agent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
browser_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesUncheckedUpdateWithoutConsumerInput = {
|
|
|
|
|
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
app_version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
build_number?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
platform?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
brand?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
model?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
device?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
publisher?: Prisma.EnumApplicationPublisherFieldUpdateOperationsInput | $Enums.ApplicationPublisher
|
|
|
|
|
os_version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
sdk_version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
release_number?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
user_agent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
browser_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesUncheckedUpdateManyWithoutConsumerInput = {
|
|
|
|
|
uuid?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
app_version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
build_number?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
platform?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
brand?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
model?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
device?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
publisher?: Prisma.EnumApplicationPublisherFieldUpdateOperationsInput | $Enums.ApplicationPublisher
|
|
|
|
|
os_version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
sdk_version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
release_number?: Prisma.StringFieldUpdateOperationsInput | string
|
|
|
|
|
user_agent?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
browser_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
fcm_token?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
|
|
|
created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
|
|
|
uuid?: boolean
|
|
|
|
|
app_version?: boolean
|
|
|
|
|
build_number?: boolean
|
|
|
|
|
platform?: boolean
|
|
|
|
|
brand?: boolean
|
|
|
|
|
model?: boolean
|
|
|
|
|
device?: boolean
|
|
|
|
|
publisher?: boolean
|
|
|
|
|
os_version?: boolean
|
|
|
|
|
sdk_version?: boolean
|
|
|
|
|
release_number?: boolean
|
|
|
|
|
user_agent?: boolean
|
|
|
|
|
browser_name?: boolean
|
|
|
|
|
fcm_token?: boolean
|
|
|
|
|
created_at?: boolean
|
|
|
|
|
updated_at?: boolean
|
|
|
|
|
consumer_id?: boolean
|
|
|
|
|
consumer?: boolean | Prisma.ConsumerDefaultArgs<ExtArgs>
|
|
|
|
|
}, ExtArgs["result"]["consumerDevices"]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesSelectScalar = {
|
|
|
|
|
uuid?: boolean
|
|
|
|
|
app_version?: boolean
|
|
|
|
|
build_number?: boolean
|
|
|
|
|
platform?: boolean
|
|
|
|
|
brand?: boolean
|
|
|
|
|
model?: boolean
|
|
|
|
|
device?: boolean
|
|
|
|
|
publisher?: boolean
|
|
|
|
|
os_version?: boolean
|
|
|
|
|
sdk_version?: boolean
|
|
|
|
|
release_number?: boolean
|
|
|
|
|
user_agent?: boolean
|
|
|
|
|
browser_name?: boolean
|
|
|
|
|
fcm_token?: boolean
|
|
|
|
|
created_at?: boolean
|
|
|
|
|
updated_at?: boolean
|
|
|
|
|
consumer_id?: boolean
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"uuid" | "app_version" | "build_number" | "platform" | "brand" | "model" | "device" | "publisher" | "os_version" | "sdk_version" | "release_number" | "user_agent" | "browser_name" | "fcm_token" | "created_at" | "updated_at" | "consumer_id", ExtArgs["result"]["consumerDevices"]>
|
|
|
|
|
export type ConsumerDevicesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
consumer?: boolean | Prisma.ConsumerDefaultArgs<ExtArgs>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type $ConsumerDevicesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
name: "ConsumerDevices"
|
|
|
|
|
objects: {
|
|
|
|
|
consumer: Prisma.$ConsumerPayload<ExtArgs>
|
|
|
|
|
}
|
|
|
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
|
|
|
uuid: string
|
|
|
|
|
app_version: string
|
|
|
|
|
build_number: string
|
|
|
|
|
platform: string
|
|
|
|
|
brand: string
|
|
|
|
|
model: string
|
|
|
|
|
device: string
|
|
|
|
|
publisher: $Enums.ApplicationPublisher
|
|
|
|
|
os_version: string
|
|
|
|
|
sdk_version: string
|
|
|
|
|
release_number: string
|
|
|
|
|
user_agent: string | null
|
|
|
|
|
browser_name: string | null
|
|
|
|
|
fcm_token: string | null
|
|
|
|
|
created_at: Date
|
|
|
|
|
updated_at: Date
|
|
|
|
|
consumer_id: string
|
|
|
|
|
}, ExtArgs["result"]["consumerDevices"]>
|
|
|
|
|
composites: {}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesGetPayload<S extends boolean | null | undefined | ConsumerDevicesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ConsumerDevicesPayload, S>
|
|
|
|
|
|
|
|
|
|
export type ConsumerDevicesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
|
|
|
Omit<ConsumerDevicesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
|
|
|
select?: ConsumerDevicesCountAggregateInputType | true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export interface ConsumerDevicesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
|
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ConsumerDevices'], meta: { name: 'ConsumerDevices' } }
|
|
|
|
|
/**
|
|
|
|
|
* Find zero or one ConsumerDevices that matches the filter.
|
|
|
|
|
* @param {ConsumerDevicesFindUniqueArgs} args - Arguments to find a ConsumerDevices
|
|
|
|
|
* @example
|
|
|
|
|
* // Get one ConsumerDevices
|
|
|
|
|
* const consumerDevices = await prisma.consumerDevices.findUnique({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*/
|
|
|
|
|
findUnique<T extends ConsumerDevicesFindUniqueArgs>(args: Prisma.SelectSubset<T, ConsumerDevicesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ConsumerDevicesClient<runtime.Types.Result.GetResult<Prisma.$ConsumerDevicesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Find one ConsumerDevices that matches the filter or throw an error with `error.code='P2025'`
|
|
|
|
|
* if no matches were found.
|
|
|
|
|
* @param {ConsumerDevicesFindUniqueOrThrowArgs} args - Arguments to find a ConsumerDevices
|
|
|
|
|
* @example
|
|
|
|
|
* // Get one ConsumerDevices
|
|
|
|
|
* const consumerDevices = await prisma.consumerDevices.findUniqueOrThrow({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*/
|
|
|
|
|
findUniqueOrThrow<T extends ConsumerDevicesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ConsumerDevicesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ConsumerDevicesClient<runtime.Types.Result.GetResult<Prisma.$ConsumerDevicesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Find the first ConsumerDevices 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 {ConsumerDevicesFindFirstArgs} args - Arguments to find a ConsumerDevices
|
|
|
|
|
* @example
|
|
|
|
|
* // Get one ConsumerDevices
|
|
|
|
|
* const consumerDevices = await prisma.consumerDevices.findFirst({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*/
|
|
|
|
|
findFirst<T extends ConsumerDevicesFindFirstArgs>(args?: Prisma.SelectSubset<T, ConsumerDevicesFindFirstArgs<ExtArgs>>): Prisma.Prisma__ConsumerDevicesClient<runtime.Types.Result.GetResult<Prisma.$ConsumerDevicesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Find the first ConsumerDevices 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 {ConsumerDevicesFindFirstOrThrowArgs} args - Arguments to find a ConsumerDevices
|
|
|
|
|
* @example
|
|
|
|
|
* // Get one ConsumerDevices
|
|
|
|
|
* const consumerDevices = await prisma.consumerDevices.findFirstOrThrow({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*/
|
|
|
|
|
findFirstOrThrow<T extends ConsumerDevicesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ConsumerDevicesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ConsumerDevicesClient<runtime.Types.Result.GetResult<Prisma.$ConsumerDevicesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Find zero or more ConsumerDevices 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 {ConsumerDevicesFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
|
|
|
* @example
|
|
|
|
|
* // Get all ConsumerDevices
|
|
|
|
|
* const consumerDevices = await prisma.consumerDevices.findMany()
|
|
|
|
|
*
|
|
|
|
|
* // Get first 10 ConsumerDevices
|
|
|
|
|
* const consumerDevices = await prisma.consumerDevices.findMany({ take: 10 })
|
|
|
|
|
*
|
|
|
|
|
* // Only select the `uuid`
|
|
|
|
|
* const consumerDevicesWithUuidOnly = await prisma.consumerDevices.findMany({ select: { uuid: true } })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
findMany<T extends ConsumerDevicesFindManyArgs>(args?: Prisma.SelectSubset<T, ConsumerDevicesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ConsumerDevicesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Create a ConsumerDevices.
|
|
|
|
|
* @param {ConsumerDevicesCreateArgs} args - Arguments to create a ConsumerDevices.
|
|
|
|
|
* @example
|
|
|
|
|
* // Create one ConsumerDevices
|
|
|
|
|
* const ConsumerDevices = await prisma.consumerDevices.create({
|
|
|
|
|
* data: {
|
|
|
|
|
* // ... data to create a ConsumerDevices
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
create<T extends ConsumerDevicesCreateArgs>(args: Prisma.SelectSubset<T, ConsumerDevicesCreateArgs<ExtArgs>>): Prisma.Prisma__ConsumerDevicesClient<runtime.Types.Result.GetResult<Prisma.$ConsumerDevicesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Create many ConsumerDevices.
|
|
|
|
|
* @param {ConsumerDevicesCreateManyArgs} args - Arguments to create many ConsumerDevices.
|
|
|
|
|
* @example
|
|
|
|
|
* // Create many ConsumerDevices
|
|
|
|
|
* const consumerDevices = await prisma.consumerDevices.createMany({
|
|
|
|
|
* data: [
|
|
|
|
|
* // ... provide data here
|
|
|
|
|
* ]
|
|
|
|
|
* })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
createMany<T extends ConsumerDevicesCreateManyArgs>(args?: Prisma.SelectSubset<T, ConsumerDevicesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Delete a ConsumerDevices.
|
|
|
|
|
* @param {ConsumerDevicesDeleteArgs} args - Arguments to delete one ConsumerDevices.
|
|
|
|
|
* @example
|
|
|
|
|
* // Delete one ConsumerDevices
|
|
|
|
|
* const ConsumerDevices = await prisma.consumerDevices.delete({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... filter to delete one ConsumerDevices
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
delete<T extends ConsumerDevicesDeleteArgs>(args: Prisma.SelectSubset<T, ConsumerDevicesDeleteArgs<ExtArgs>>): Prisma.Prisma__ConsumerDevicesClient<runtime.Types.Result.GetResult<Prisma.$ConsumerDevicesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Update one ConsumerDevices.
|
|
|
|
|
* @param {ConsumerDevicesUpdateArgs} args - Arguments to update one ConsumerDevices.
|
|
|
|
|
* @example
|
|
|
|
|
* // Update one ConsumerDevices
|
|
|
|
|
* const consumerDevices = await prisma.consumerDevices.update({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* },
|
|
|
|
|
* data: {
|
|
|
|
|
* // ... provide data here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
update<T extends ConsumerDevicesUpdateArgs>(args: Prisma.SelectSubset<T, ConsumerDevicesUpdateArgs<ExtArgs>>): Prisma.Prisma__ConsumerDevicesClient<runtime.Types.Result.GetResult<Prisma.$ConsumerDevicesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Delete zero or more ConsumerDevices.
|
|
|
|
|
* @param {ConsumerDevicesDeleteManyArgs} args - Arguments to filter ConsumerDevices to delete.
|
|
|
|
|
* @example
|
|
|
|
|
* // Delete a few ConsumerDevices
|
|
|
|
|
* const { count } = await prisma.consumerDevices.deleteMany({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
deleteMany<T extends ConsumerDevicesDeleteManyArgs>(args?: Prisma.SelectSubset<T, ConsumerDevicesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Update zero or more ConsumerDevices.
|
|
|
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
|
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
|
|
|
* @param {ConsumerDevicesUpdateManyArgs} args - Arguments to update one or more rows.
|
|
|
|
|
* @example
|
|
|
|
|
* // Update many ConsumerDevices
|
|
|
|
|
* const consumerDevices = await prisma.consumerDevices.updateMany({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... provide filter here
|
|
|
|
|
* },
|
|
|
|
|
* data: {
|
|
|
|
|
* // ... provide data here
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
updateMany<T extends ConsumerDevicesUpdateManyArgs>(args: Prisma.SelectSubset<T, ConsumerDevicesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Create or update one ConsumerDevices.
|
|
|
|
|
* @param {ConsumerDevicesUpsertArgs} args - Arguments to update or create a ConsumerDevices.
|
|
|
|
|
* @example
|
|
|
|
|
* // Update or create a ConsumerDevices
|
|
|
|
|
* const consumerDevices = await prisma.consumerDevices.upsert({
|
|
|
|
|
* create: {
|
|
|
|
|
* // ... data to create a ConsumerDevices
|
|
|
|
|
* },
|
|
|
|
|
* update: {
|
|
|
|
|
* // ... in case it already exists, update
|
|
|
|
|
* },
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... the filter for the ConsumerDevices we want to update
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
*/
|
|
|
|
|
upsert<T extends ConsumerDevicesUpsertArgs>(args: Prisma.SelectSubset<T, ConsumerDevicesUpsertArgs<ExtArgs>>): Prisma.Prisma__ConsumerDevicesClient<runtime.Types.Result.GetResult<Prisma.$ConsumerDevicesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Count the number of ConsumerDevices.
|
|
|
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
|
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
|
|
|
* @param {ConsumerDevicesCountArgs} args - Arguments to filter ConsumerDevices to count.
|
|
|
|
|
* @example
|
|
|
|
|
* // Count the number of ConsumerDevices
|
|
|
|
|
* const count = await prisma.consumerDevices.count({
|
|
|
|
|
* where: {
|
|
|
|
|
* // ... the filter for the ConsumerDevices we want to count
|
|
|
|
|
* }
|
|
|
|
|
* })
|
|
|
|
|
**/
|
|
|
|
|
count<T extends ConsumerDevicesCountArgs>(
|
|
|
|
|
args?: Prisma.Subset<T, ConsumerDevicesCountArgs>,
|
|
|
|
|
): Prisma.PrismaPromise<
|
|
|
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
|
|
|
? T['select'] extends true
|
|
|
|
|
? number
|
|
|
|
|
: Prisma.GetScalarType<T['select'], ConsumerDevicesCountAggregateOutputType>
|
|
|
|
|
: number
|
|
|
|
|
>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Allows you to perform aggregations operations on a ConsumerDevices.
|
|
|
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
|
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
|
|
|
* @param {ConsumerDevicesAggregateArgs} 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 ConsumerDevicesAggregateArgs>(args: Prisma.Subset<T, ConsumerDevicesAggregateArgs>): Prisma.PrismaPromise<GetConsumerDevicesAggregateType<T>>
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Group by ConsumerDevices.
|
|
|
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
|
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
|
|
|
* @param {ConsumerDevicesGroupByArgs} 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 ConsumerDevicesGroupByArgs,
|
|
|
|
|
HasSelectOrTake extends Prisma.Or<
|
|
|
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
|
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
|
|
|
>,
|
|
|
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
|
|
|
? { orderBy: ConsumerDevicesGroupByArgs['orderBy'] }
|
|
|
|
|
: { orderBy?: ConsumerDevicesGroupByArgs['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, ConsumerDevicesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetConsumerDevicesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
|
|
|
/**
|
|
|
|
|
* Fields of the ConsumerDevices model
|
|
|
|
|
*/
|
|
|
|
|
readonly fields: ConsumerDevicesFieldRefs;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* The delegate class that acts as a "Promise-like" for ConsumerDevices.
|
|
|
|
|
* 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__ConsumerDevicesClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
|
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
|
|
|
consumer<T extends Prisma.ConsumerDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ConsumerDefaultArgs<ExtArgs>>): Prisma.Prisma__ConsumerClient<runtime.Types.Result.GetResult<Prisma.$ConsumerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
/**
|
|
|
|
|
* 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 ConsumerDevices model
|
|
|
|
|
*/
|
|
|
|
|
export interface ConsumerDevicesFieldRefs {
|
|
|
|
|
readonly uuid: Prisma.FieldRef<"ConsumerDevices", 'String'>
|
|
|
|
|
readonly app_version: Prisma.FieldRef<"ConsumerDevices", 'String'>
|
|
|
|
|
readonly build_number: Prisma.FieldRef<"ConsumerDevices", 'String'>
|
|
|
|
|
readonly platform: Prisma.FieldRef<"ConsumerDevices", 'String'>
|
|
|
|
|
readonly brand: Prisma.FieldRef<"ConsumerDevices", 'String'>
|
|
|
|
|
readonly model: Prisma.FieldRef<"ConsumerDevices", 'String'>
|
|
|
|
|
readonly device: Prisma.FieldRef<"ConsumerDevices", 'String'>
|
|
|
|
|
readonly publisher: Prisma.FieldRef<"ConsumerDevices", 'ApplicationPublisher'>
|
|
|
|
|
readonly os_version: Prisma.FieldRef<"ConsumerDevices", 'String'>
|
|
|
|
|
readonly sdk_version: Prisma.FieldRef<"ConsumerDevices", 'String'>
|
|
|
|
|
readonly release_number: Prisma.FieldRef<"ConsumerDevices", 'String'>
|
|
|
|
|
readonly user_agent: Prisma.FieldRef<"ConsumerDevices", 'String'>
|
|
|
|
|
readonly browser_name: Prisma.FieldRef<"ConsumerDevices", 'String'>
|
|
|
|
|
readonly fcm_token: Prisma.FieldRef<"ConsumerDevices", 'String'>
|
|
|
|
|
readonly created_at: Prisma.FieldRef<"ConsumerDevices", 'DateTime'>
|
|
|
|
|
readonly updated_at: Prisma.FieldRef<"ConsumerDevices", 'DateTime'>
|
|
|
|
|
readonly consumer_id: Prisma.FieldRef<"ConsumerDevices", 'String'>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Custom InputTypes
|
|
|
|
|
/**
|
|
|
|
|
* ConsumerDevices findUnique
|
|
|
|
|
*/
|
|
|
|
|
export type ConsumerDevicesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the ConsumerDevices
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.ConsumerDevicesSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the ConsumerDevices
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.ConsumerDevicesOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.ConsumerDevicesInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter, which ConsumerDevices to fetch.
|
|
|
|
|
*/
|
|
|
|
|
where: Prisma.ConsumerDevicesWhereUniqueInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ConsumerDevices findUniqueOrThrow
|
|
|
|
|
*/
|
|
|
|
|
export type ConsumerDevicesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the ConsumerDevices
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.ConsumerDevicesSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the ConsumerDevices
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.ConsumerDevicesOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.ConsumerDevicesInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter, which ConsumerDevices to fetch.
|
|
|
|
|
*/
|
|
|
|
|
where: Prisma.ConsumerDevicesWhereUniqueInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ConsumerDevices findFirst
|
|
|
|
|
*/
|
|
|
|
|
export type ConsumerDevicesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the ConsumerDevices
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.ConsumerDevicesSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the ConsumerDevices
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.ConsumerDevicesOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.ConsumerDevicesInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter, which ConsumerDevices to fetch.
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.ConsumerDevicesWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
|
|
|
*
|
|
|
|
|
* Determine the order of ConsumerDevices to fetch.
|
|
|
|
|
*/
|
|
|
|
|
orderBy?: Prisma.ConsumerDevicesOrderByWithRelationInput | Prisma.ConsumerDevicesOrderByWithRelationInput[]
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
|
|
|
*
|
|
|
|
|
* Sets the position for searching for ConsumerDevices.
|
|
|
|
|
*/
|
|
|
|
|
cursor?: Prisma.ConsumerDevicesWhereUniqueInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
|
|
|
*
|
|
|
|
|
* Take `±n` ConsumerDevices 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` ConsumerDevices.
|
|
|
|
|
*/
|
|
|
|
|
skip?: number
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
|
|
|
*
|
|
|
|
|
* Filter by unique combinations of ConsumerDevices.
|
|
|
|
|
*/
|
|
|
|
|
distinct?: Prisma.ConsumerDevicesScalarFieldEnum | Prisma.ConsumerDevicesScalarFieldEnum[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ConsumerDevices findFirstOrThrow
|
|
|
|
|
*/
|
|
|
|
|
export type ConsumerDevicesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the ConsumerDevices
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.ConsumerDevicesSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the ConsumerDevices
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.ConsumerDevicesOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.ConsumerDevicesInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter, which ConsumerDevices to fetch.
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.ConsumerDevicesWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
|
|
|
*
|
|
|
|
|
* Determine the order of ConsumerDevices to fetch.
|
|
|
|
|
*/
|
|
|
|
|
orderBy?: Prisma.ConsumerDevicesOrderByWithRelationInput | Prisma.ConsumerDevicesOrderByWithRelationInput[]
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
|
|
|
*
|
|
|
|
|
* Sets the position for searching for ConsumerDevices.
|
|
|
|
|
*/
|
|
|
|
|
cursor?: Prisma.ConsumerDevicesWhereUniqueInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
|
|
|
*
|
|
|
|
|
* Take `±n` ConsumerDevices 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` ConsumerDevices.
|
|
|
|
|
*/
|
|
|
|
|
skip?: number
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
|
|
|
*
|
|
|
|
|
* Filter by unique combinations of ConsumerDevices.
|
|
|
|
|
*/
|
|
|
|
|
distinct?: Prisma.ConsumerDevicesScalarFieldEnum | Prisma.ConsumerDevicesScalarFieldEnum[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ConsumerDevices findMany
|
|
|
|
|
*/
|
|
|
|
|
export type ConsumerDevicesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the ConsumerDevices
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.ConsumerDevicesSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the ConsumerDevices
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.ConsumerDevicesOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.ConsumerDevicesInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter, which ConsumerDevices to fetch.
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.ConsumerDevicesWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
|
|
|
*
|
|
|
|
|
* Determine the order of ConsumerDevices to fetch.
|
|
|
|
|
*/
|
|
|
|
|
orderBy?: Prisma.ConsumerDevicesOrderByWithRelationInput | Prisma.ConsumerDevicesOrderByWithRelationInput[]
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
|
|
|
*
|
|
|
|
|
* Sets the position for listing ConsumerDevices.
|
|
|
|
|
*/
|
|
|
|
|
cursor?: Prisma.ConsumerDevicesWhereUniqueInput
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
|
|
|
*
|
|
|
|
|
* Take `±n` ConsumerDevices 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` ConsumerDevices.
|
|
|
|
|
*/
|
|
|
|
|
skip?: number
|
|
|
|
|
/**
|
|
|
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
|
|
|
*
|
|
|
|
|
* Filter by unique combinations of ConsumerDevices.
|
|
|
|
|
*/
|
|
|
|
|
distinct?: Prisma.ConsumerDevicesScalarFieldEnum | Prisma.ConsumerDevicesScalarFieldEnum[]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ConsumerDevices create
|
|
|
|
|
*/
|
|
|
|
|
export type ConsumerDevicesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the ConsumerDevices
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.ConsumerDevicesSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the ConsumerDevices
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.ConsumerDevicesOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.ConsumerDevicesInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* The data needed to create a ConsumerDevices.
|
|
|
|
|
*/
|
|
|
|
|
data: Prisma.XOR<Prisma.ConsumerDevicesCreateInput, Prisma.ConsumerDevicesUncheckedCreateInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ConsumerDevices createMany
|
|
|
|
|
*/
|
|
|
|
|
export type ConsumerDevicesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* The data used to create many ConsumerDevices.
|
|
|
|
|
*/
|
|
|
|
|
data: Prisma.ConsumerDevicesCreateManyInput | Prisma.ConsumerDevicesCreateManyInput[]
|
|
|
|
|
skipDuplicates?: boolean
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ConsumerDevices update
|
|
|
|
|
*/
|
|
|
|
|
export type ConsumerDevicesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the ConsumerDevices
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.ConsumerDevicesSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the ConsumerDevices
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.ConsumerDevicesOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.ConsumerDevicesInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* The data needed to update a ConsumerDevices.
|
|
|
|
|
*/
|
|
|
|
|
data: Prisma.XOR<Prisma.ConsumerDevicesUpdateInput, Prisma.ConsumerDevicesUncheckedUpdateInput>
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which ConsumerDevices to update.
|
|
|
|
|
*/
|
|
|
|
|
where: Prisma.ConsumerDevicesWhereUniqueInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ConsumerDevices updateMany
|
|
|
|
|
*/
|
|
|
|
|
export type ConsumerDevicesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* The data used to update ConsumerDevices.
|
|
|
|
|
*/
|
|
|
|
|
data: Prisma.XOR<Prisma.ConsumerDevicesUpdateManyMutationInput, Prisma.ConsumerDevicesUncheckedUpdateManyInput>
|
|
|
|
|
/**
|
|
|
|
|
* Filter which ConsumerDevices to update
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.ConsumerDevicesWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* Limit how many ConsumerDevices to update.
|
|
|
|
|
*/
|
|
|
|
|
limit?: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ConsumerDevices upsert
|
|
|
|
|
*/
|
|
|
|
|
export type ConsumerDevicesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the ConsumerDevices
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.ConsumerDevicesSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the ConsumerDevices
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.ConsumerDevicesOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.ConsumerDevicesInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* The filter to search for the ConsumerDevices to update in case it exists.
|
|
|
|
|
*/
|
|
|
|
|
where: Prisma.ConsumerDevicesWhereUniqueInput
|
|
|
|
|
/**
|
|
|
|
|
* In case the ConsumerDevices found by the `where` argument doesn't exist, create a new ConsumerDevices with this data.
|
|
|
|
|
*/
|
|
|
|
|
create: Prisma.XOR<Prisma.ConsumerDevicesCreateInput, Prisma.ConsumerDevicesUncheckedCreateInput>
|
|
|
|
|
/**
|
|
|
|
|
* In case the ConsumerDevices was found with the provided `where` argument, update it with this data.
|
|
|
|
|
*/
|
|
|
|
|
update: Prisma.XOR<Prisma.ConsumerDevicesUpdateInput, Prisma.ConsumerDevicesUncheckedUpdateInput>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ConsumerDevices delete
|
|
|
|
|
*/
|
|
|
|
|
export type ConsumerDevicesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the ConsumerDevices
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.ConsumerDevicesSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the ConsumerDevices
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.ConsumerDevicesOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.ConsumerDevicesInclude<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Filter which ConsumerDevices to delete.
|
|
|
|
|
*/
|
|
|
|
|
where: Prisma.ConsumerDevicesWhereUniqueInput
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ConsumerDevices deleteMany
|
|
|
|
|
*/
|
|
|
|
|
export type ConsumerDevicesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Filter which ConsumerDevices to delete
|
|
|
|
|
*/
|
|
|
|
|
where?: Prisma.ConsumerDevicesWhereInput
|
|
|
|
|
/**
|
|
|
|
|
* Limit how many ConsumerDevices to delete.
|
|
|
|
|
*/
|
|
|
|
|
limit?: number
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ConsumerDevices without action
|
|
|
|
|
*/
|
|
|
|
|
export type ConsumerDevicesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
|
|
|
/**
|
|
|
|
|
* Select specific fields to fetch from the ConsumerDevices
|
|
|
|
|
*/
|
|
|
|
|
select?: Prisma.ConsumerDevicesSelect<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Omit specific fields from the ConsumerDevices
|
|
|
|
|
*/
|
|
|
|
|
omit?: Prisma.ConsumerDevicesOmit<ExtArgs> | null
|
|
|
|
|
/**
|
|
|
|
|
* Choose, which related nodes to fetch as well
|
|
|
|
|
*/
|
|
|
|
|
include?: Prisma.ConsumerDevicesInclude<ExtArgs> | null
|
|
|
|
|
}
|