1206 lines
46 KiB
TypeScript
1206 lines
46 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 `BillingWebhookLog` 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.ts"
|
|
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
|
|
/**
|
|
* Model BillingWebhookLog
|
|
*
|
|
*/
|
|
export type BillingWebhookLogModel = runtime.Types.Result.DefaultSelection<Prisma.$BillingWebhookLogPayload>
|
|
|
|
export type AggregateBillingWebhookLog = {
|
|
_count: BillingWebhookLogCountAggregateOutputType | null
|
|
_min: BillingWebhookLogMinAggregateOutputType | null
|
|
_max: BillingWebhookLogMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type BillingWebhookLogMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
providerEventId: string | null
|
|
eventType: string | null
|
|
processedAt: Date | null
|
|
relatedTenantId: string | null
|
|
error: string | null
|
|
}
|
|
|
|
export type BillingWebhookLogMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
providerEventId: string | null
|
|
eventType: string | null
|
|
processedAt: Date | null
|
|
relatedTenantId: string | null
|
|
error: string | null
|
|
}
|
|
|
|
export type BillingWebhookLogCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
providerEventId: number
|
|
eventType: number
|
|
processedAt: number
|
|
relatedTenantId: number
|
|
error: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type BillingWebhookLogMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
providerEventId?: true
|
|
eventType?: true
|
|
processedAt?: true
|
|
relatedTenantId?: true
|
|
error?: true
|
|
}
|
|
|
|
export type BillingWebhookLogMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
providerEventId?: true
|
|
eventType?: true
|
|
processedAt?: true
|
|
relatedTenantId?: true
|
|
error?: true
|
|
}
|
|
|
|
export type BillingWebhookLogCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
providerEventId?: true
|
|
eventType?: true
|
|
processedAt?: true
|
|
relatedTenantId?: true
|
|
error?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type BillingWebhookLogAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which BillingWebhookLog to aggregate.
|
|
*/
|
|
where?: Prisma.BillingWebhookLogWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of BillingWebhookLogs to fetch.
|
|
*/
|
|
orderBy?: Prisma.BillingWebhookLogOrderByWithRelationInput | Prisma.BillingWebhookLogOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.BillingWebhookLogWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` BillingWebhookLogs 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` BillingWebhookLogs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned BillingWebhookLogs
|
|
**/
|
|
_count?: true | BillingWebhookLogCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: BillingWebhookLogMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: BillingWebhookLogMaxAggregateInputType
|
|
}
|
|
|
|
export type GetBillingWebhookLogAggregateType<T extends BillingWebhookLogAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateBillingWebhookLog]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateBillingWebhookLog[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateBillingWebhookLog[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type BillingWebhookLogGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.BillingWebhookLogWhereInput
|
|
orderBy?: Prisma.BillingWebhookLogOrderByWithAggregationInput | Prisma.BillingWebhookLogOrderByWithAggregationInput[]
|
|
by: Prisma.BillingWebhookLogScalarFieldEnum[] | Prisma.BillingWebhookLogScalarFieldEnum
|
|
having?: Prisma.BillingWebhookLogScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: BillingWebhookLogCountAggregateInputType | true
|
|
_min?: BillingWebhookLogMinAggregateInputType
|
|
_max?: BillingWebhookLogMaxAggregateInputType
|
|
}
|
|
|
|
export type BillingWebhookLogGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
providerEventId: string
|
|
eventType: string
|
|
processedAt: Date | null
|
|
relatedTenantId: string | null
|
|
error: string | null
|
|
_count: BillingWebhookLogCountAggregateOutputType | null
|
|
_min: BillingWebhookLogMinAggregateOutputType | null
|
|
_max: BillingWebhookLogMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetBillingWebhookLogGroupByPayload<T extends BillingWebhookLogGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<BillingWebhookLogGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof BillingWebhookLogGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], BillingWebhookLogGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], BillingWebhookLogGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type BillingWebhookLogWhereInput = {
|
|
AND?: Prisma.BillingWebhookLogWhereInput | Prisma.BillingWebhookLogWhereInput[]
|
|
OR?: Prisma.BillingWebhookLogWhereInput[]
|
|
NOT?: Prisma.BillingWebhookLogWhereInput | Prisma.BillingWebhookLogWhereInput[]
|
|
id?: Prisma.StringFilter<"BillingWebhookLog"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"BillingWebhookLog"> | Date | string
|
|
providerEventId?: Prisma.StringFilter<"BillingWebhookLog"> | string
|
|
eventType?: Prisma.StringFilter<"BillingWebhookLog"> | string
|
|
processedAt?: Prisma.DateTimeNullableFilter<"BillingWebhookLog"> | Date | string | null
|
|
relatedTenantId?: Prisma.StringNullableFilter<"BillingWebhookLog"> | string | null
|
|
error?: Prisma.StringNullableFilter<"BillingWebhookLog"> | string | null
|
|
}
|
|
|
|
export type BillingWebhookLogOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
providerEventId?: Prisma.SortOrder
|
|
eventType?: Prisma.SortOrder
|
|
processedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
relatedTenantId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
error?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
}
|
|
|
|
export type BillingWebhookLogWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
providerEventId?: string
|
|
AND?: Prisma.BillingWebhookLogWhereInput | Prisma.BillingWebhookLogWhereInput[]
|
|
OR?: Prisma.BillingWebhookLogWhereInput[]
|
|
NOT?: Prisma.BillingWebhookLogWhereInput | Prisma.BillingWebhookLogWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"BillingWebhookLog"> | Date | string
|
|
eventType?: Prisma.StringFilter<"BillingWebhookLog"> | string
|
|
processedAt?: Prisma.DateTimeNullableFilter<"BillingWebhookLog"> | Date | string | null
|
|
relatedTenantId?: Prisma.StringNullableFilter<"BillingWebhookLog"> | string | null
|
|
error?: Prisma.StringNullableFilter<"BillingWebhookLog"> | string | null
|
|
}, "id" | "providerEventId">
|
|
|
|
export type BillingWebhookLogOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
providerEventId?: Prisma.SortOrder
|
|
eventType?: Prisma.SortOrder
|
|
processedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
relatedTenantId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
error?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.BillingWebhookLogCountOrderByAggregateInput
|
|
_max?: Prisma.BillingWebhookLogMaxOrderByAggregateInput
|
|
_min?: Prisma.BillingWebhookLogMinOrderByAggregateInput
|
|
}
|
|
|
|
export type BillingWebhookLogScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.BillingWebhookLogScalarWhereWithAggregatesInput | Prisma.BillingWebhookLogScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.BillingWebhookLogScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.BillingWebhookLogScalarWhereWithAggregatesInput | Prisma.BillingWebhookLogScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"BillingWebhookLog"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"BillingWebhookLog"> | Date | string
|
|
providerEventId?: Prisma.StringWithAggregatesFilter<"BillingWebhookLog"> | string
|
|
eventType?: Prisma.StringWithAggregatesFilter<"BillingWebhookLog"> | string
|
|
processedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"BillingWebhookLog"> | Date | string | null
|
|
relatedTenantId?: Prisma.StringNullableWithAggregatesFilter<"BillingWebhookLog"> | string | null
|
|
error?: Prisma.StringNullableWithAggregatesFilter<"BillingWebhookLog"> | string | null
|
|
}
|
|
|
|
export type BillingWebhookLogCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
providerEventId: string
|
|
eventType: string
|
|
processedAt?: Date | string | null
|
|
relatedTenantId?: string | null
|
|
error?: string | null
|
|
}
|
|
|
|
export type BillingWebhookLogUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
providerEventId: string
|
|
eventType: string
|
|
processedAt?: Date | string | null
|
|
relatedTenantId?: string | null
|
|
error?: string | null
|
|
}
|
|
|
|
export type BillingWebhookLogUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
providerEventId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
eventType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
relatedTenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type BillingWebhookLogUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
providerEventId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
eventType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
relatedTenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type BillingWebhookLogCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
providerEventId: string
|
|
eventType: string
|
|
processedAt?: Date | string | null
|
|
relatedTenantId?: string | null
|
|
error?: string | null
|
|
}
|
|
|
|
export type BillingWebhookLogUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
providerEventId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
eventType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
relatedTenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type BillingWebhookLogUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
providerEventId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
eventType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
processedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
relatedTenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
}
|
|
|
|
export type BillingWebhookLogCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
providerEventId?: Prisma.SortOrder
|
|
eventType?: Prisma.SortOrder
|
|
processedAt?: Prisma.SortOrder
|
|
relatedTenantId?: Prisma.SortOrder
|
|
error?: Prisma.SortOrder
|
|
}
|
|
|
|
export type BillingWebhookLogMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
providerEventId?: Prisma.SortOrder
|
|
eventType?: Prisma.SortOrder
|
|
processedAt?: Prisma.SortOrder
|
|
relatedTenantId?: Prisma.SortOrder
|
|
error?: Prisma.SortOrder
|
|
}
|
|
|
|
export type BillingWebhookLogMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
providerEventId?: Prisma.SortOrder
|
|
eventType?: Prisma.SortOrder
|
|
processedAt?: Prisma.SortOrder
|
|
relatedTenantId?: Prisma.SortOrder
|
|
error?: Prisma.SortOrder
|
|
}
|
|
|
|
|
|
|
|
export type BillingWebhookLogSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
providerEventId?: boolean
|
|
eventType?: boolean
|
|
processedAt?: boolean
|
|
relatedTenantId?: boolean
|
|
error?: boolean
|
|
}, ExtArgs["result"]["billingWebhookLog"]>
|
|
|
|
export type BillingWebhookLogSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
providerEventId?: boolean
|
|
eventType?: boolean
|
|
processedAt?: boolean
|
|
relatedTenantId?: boolean
|
|
error?: boolean
|
|
}, ExtArgs["result"]["billingWebhookLog"]>
|
|
|
|
export type BillingWebhookLogSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
providerEventId?: boolean
|
|
eventType?: boolean
|
|
processedAt?: boolean
|
|
relatedTenantId?: boolean
|
|
error?: boolean
|
|
}, ExtArgs["result"]["billingWebhookLog"]>
|
|
|
|
export type BillingWebhookLogSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
providerEventId?: boolean
|
|
eventType?: boolean
|
|
processedAt?: boolean
|
|
relatedTenantId?: boolean
|
|
error?: boolean
|
|
}
|
|
|
|
export type BillingWebhookLogOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "providerEventId" | "eventType" | "processedAt" | "relatedTenantId" | "error", ExtArgs["result"]["billingWebhookLog"]>
|
|
|
|
export type $BillingWebhookLogPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "BillingWebhookLog"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
providerEventId: string
|
|
eventType: string
|
|
processedAt: Date | null
|
|
relatedTenantId: string | null
|
|
error: string | null
|
|
}, ExtArgs["result"]["billingWebhookLog"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type BillingWebhookLogGetPayload<S extends boolean | null | undefined | BillingWebhookLogDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$BillingWebhookLogPayload, S>
|
|
|
|
export type BillingWebhookLogCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<BillingWebhookLogFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: BillingWebhookLogCountAggregateInputType | true
|
|
}
|
|
|
|
export interface BillingWebhookLogDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['BillingWebhookLog'], meta: { name: 'BillingWebhookLog' } }
|
|
/**
|
|
* Find zero or one BillingWebhookLog that matches the filter.
|
|
* @param {BillingWebhookLogFindUniqueArgs} args - Arguments to find a BillingWebhookLog
|
|
* @example
|
|
* // Get one BillingWebhookLog
|
|
* const billingWebhookLog = await prisma.billingWebhookLog.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends BillingWebhookLogFindUniqueArgs>(args: Prisma.SelectSubset<T, BillingWebhookLogFindUniqueArgs<ExtArgs>>): Prisma.Prisma__BillingWebhookLogClient<runtime.Types.Result.GetResult<Prisma.$BillingWebhookLogPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one BillingWebhookLog that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {BillingWebhookLogFindUniqueOrThrowArgs} args - Arguments to find a BillingWebhookLog
|
|
* @example
|
|
* // Get one BillingWebhookLog
|
|
* const billingWebhookLog = await prisma.billingWebhookLog.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends BillingWebhookLogFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, BillingWebhookLogFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__BillingWebhookLogClient<runtime.Types.Result.GetResult<Prisma.$BillingWebhookLogPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first BillingWebhookLog 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 {BillingWebhookLogFindFirstArgs} args - Arguments to find a BillingWebhookLog
|
|
* @example
|
|
* // Get one BillingWebhookLog
|
|
* const billingWebhookLog = await prisma.billingWebhookLog.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends BillingWebhookLogFindFirstArgs>(args?: Prisma.SelectSubset<T, BillingWebhookLogFindFirstArgs<ExtArgs>>): Prisma.Prisma__BillingWebhookLogClient<runtime.Types.Result.GetResult<Prisma.$BillingWebhookLogPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first BillingWebhookLog 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 {BillingWebhookLogFindFirstOrThrowArgs} args - Arguments to find a BillingWebhookLog
|
|
* @example
|
|
* // Get one BillingWebhookLog
|
|
* const billingWebhookLog = await prisma.billingWebhookLog.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends BillingWebhookLogFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, BillingWebhookLogFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__BillingWebhookLogClient<runtime.Types.Result.GetResult<Prisma.$BillingWebhookLogPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more BillingWebhookLogs 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 {BillingWebhookLogFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all BillingWebhookLogs
|
|
* const billingWebhookLogs = await prisma.billingWebhookLog.findMany()
|
|
*
|
|
* // Get first 10 BillingWebhookLogs
|
|
* const billingWebhookLogs = await prisma.billingWebhookLog.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const billingWebhookLogWithIdOnly = await prisma.billingWebhookLog.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends BillingWebhookLogFindManyArgs>(args?: Prisma.SelectSubset<T, BillingWebhookLogFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BillingWebhookLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a BillingWebhookLog.
|
|
* @param {BillingWebhookLogCreateArgs} args - Arguments to create a BillingWebhookLog.
|
|
* @example
|
|
* // Create one BillingWebhookLog
|
|
* const BillingWebhookLog = await prisma.billingWebhookLog.create({
|
|
* data: {
|
|
* // ... data to create a BillingWebhookLog
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends BillingWebhookLogCreateArgs>(args: Prisma.SelectSubset<T, BillingWebhookLogCreateArgs<ExtArgs>>): Prisma.Prisma__BillingWebhookLogClient<runtime.Types.Result.GetResult<Prisma.$BillingWebhookLogPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many BillingWebhookLogs.
|
|
* @param {BillingWebhookLogCreateManyArgs} args - Arguments to create many BillingWebhookLogs.
|
|
* @example
|
|
* // Create many BillingWebhookLogs
|
|
* const billingWebhookLog = await prisma.billingWebhookLog.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends BillingWebhookLogCreateManyArgs>(args?: Prisma.SelectSubset<T, BillingWebhookLogCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many BillingWebhookLogs and returns the data saved in the database.
|
|
* @param {BillingWebhookLogCreateManyAndReturnArgs} args - Arguments to create many BillingWebhookLogs.
|
|
* @example
|
|
* // Create many BillingWebhookLogs
|
|
* const billingWebhookLog = await prisma.billingWebhookLog.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many BillingWebhookLogs and only return the `id`
|
|
* const billingWebhookLogWithIdOnly = await prisma.billingWebhookLog.createManyAndReturn({
|
|
* select: { id: true },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
*
|
|
*/
|
|
createManyAndReturn<T extends BillingWebhookLogCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, BillingWebhookLogCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BillingWebhookLogPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a BillingWebhookLog.
|
|
* @param {BillingWebhookLogDeleteArgs} args - Arguments to delete one BillingWebhookLog.
|
|
* @example
|
|
* // Delete one BillingWebhookLog
|
|
* const BillingWebhookLog = await prisma.billingWebhookLog.delete({
|
|
* where: {
|
|
* // ... filter to delete one BillingWebhookLog
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends BillingWebhookLogDeleteArgs>(args: Prisma.SelectSubset<T, BillingWebhookLogDeleteArgs<ExtArgs>>): Prisma.Prisma__BillingWebhookLogClient<runtime.Types.Result.GetResult<Prisma.$BillingWebhookLogPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one BillingWebhookLog.
|
|
* @param {BillingWebhookLogUpdateArgs} args - Arguments to update one BillingWebhookLog.
|
|
* @example
|
|
* // Update one BillingWebhookLog
|
|
* const billingWebhookLog = await prisma.billingWebhookLog.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends BillingWebhookLogUpdateArgs>(args: Prisma.SelectSubset<T, BillingWebhookLogUpdateArgs<ExtArgs>>): Prisma.Prisma__BillingWebhookLogClient<runtime.Types.Result.GetResult<Prisma.$BillingWebhookLogPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more BillingWebhookLogs.
|
|
* @param {BillingWebhookLogDeleteManyArgs} args - Arguments to filter BillingWebhookLogs to delete.
|
|
* @example
|
|
* // Delete a few BillingWebhookLogs
|
|
* const { count } = await prisma.billingWebhookLog.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends BillingWebhookLogDeleteManyArgs>(args?: Prisma.SelectSubset<T, BillingWebhookLogDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more BillingWebhookLogs.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {BillingWebhookLogUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many BillingWebhookLogs
|
|
* const billingWebhookLog = await prisma.billingWebhookLog.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends BillingWebhookLogUpdateManyArgs>(args: Prisma.SelectSubset<T, BillingWebhookLogUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more BillingWebhookLogs and returns the data updated in the database.
|
|
* @param {BillingWebhookLogUpdateManyAndReturnArgs} args - Arguments to update many BillingWebhookLogs.
|
|
* @example
|
|
* // Update many BillingWebhookLogs
|
|
* const billingWebhookLog = await prisma.billingWebhookLog.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more BillingWebhookLogs and only return the `id`
|
|
* const billingWebhookLogWithIdOnly = await prisma.billingWebhookLog.updateManyAndReturn({
|
|
* select: { id: true },
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
*
|
|
*/
|
|
updateManyAndReturn<T extends BillingWebhookLogUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, BillingWebhookLogUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BillingWebhookLogPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one BillingWebhookLog.
|
|
* @param {BillingWebhookLogUpsertArgs} args - Arguments to update or create a BillingWebhookLog.
|
|
* @example
|
|
* // Update or create a BillingWebhookLog
|
|
* const billingWebhookLog = await prisma.billingWebhookLog.upsert({
|
|
* create: {
|
|
* // ... data to create a BillingWebhookLog
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the BillingWebhookLog we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends BillingWebhookLogUpsertArgs>(args: Prisma.SelectSubset<T, BillingWebhookLogUpsertArgs<ExtArgs>>): Prisma.Prisma__BillingWebhookLogClient<runtime.Types.Result.GetResult<Prisma.$BillingWebhookLogPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of BillingWebhookLogs.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {BillingWebhookLogCountArgs} args - Arguments to filter BillingWebhookLogs to count.
|
|
* @example
|
|
* // Count the number of BillingWebhookLogs
|
|
* const count = await prisma.billingWebhookLog.count({
|
|
* where: {
|
|
* // ... the filter for the BillingWebhookLogs we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends BillingWebhookLogCountArgs>(
|
|
args?: Prisma.Subset<T, BillingWebhookLogCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], BillingWebhookLogCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a BillingWebhookLog.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {BillingWebhookLogAggregateArgs} 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 BillingWebhookLogAggregateArgs>(args: Prisma.Subset<T, BillingWebhookLogAggregateArgs>): Prisma.PrismaPromise<GetBillingWebhookLogAggregateType<T>>
|
|
|
|
/**
|
|
* Group by BillingWebhookLog.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {BillingWebhookLogGroupByArgs} 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 BillingWebhookLogGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: BillingWebhookLogGroupByArgs['orderBy'] }
|
|
: { orderBy?: BillingWebhookLogGroupByArgs['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, BillingWebhookLogGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetBillingWebhookLogGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the BillingWebhookLog model
|
|
*/
|
|
readonly fields: BillingWebhookLogFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for BillingWebhookLog.
|
|
* 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__BillingWebhookLogClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
/**
|
|
* 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 BillingWebhookLog model
|
|
*/
|
|
export interface BillingWebhookLogFieldRefs {
|
|
readonly id: Prisma.FieldRef<"BillingWebhookLog", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"BillingWebhookLog", 'DateTime'>
|
|
readonly providerEventId: Prisma.FieldRef<"BillingWebhookLog", 'String'>
|
|
readonly eventType: Prisma.FieldRef<"BillingWebhookLog", 'String'>
|
|
readonly processedAt: Prisma.FieldRef<"BillingWebhookLog", 'DateTime'>
|
|
readonly relatedTenantId: Prisma.FieldRef<"BillingWebhookLog", 'String'>
|
|
readonly error: Prisma.FieldRef<"BillingWebhookLog", 'String'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* BillingWebhookLog findUnique
|
|
*/
|
|
export type BillingWebhookLogFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BillingWebhookLog
|
|
*/
|
|
select?: Prisma.BillingWebhookLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BillingWebhookLog
|
|
*/
|
|
omit?: Prisma.BillingWebhookLogOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which BillingWebhookLog to fetch.
|
|
*/
|
|
where: Prisma.BillingWebhookLogWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* BillingWebhookLog findUniqueOrThrow
|
|
*/
|
|
export type BillingWebhookLogFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BillingWebhookLog
|
|
*/
|
|
select?: Prisma.BillingWebhookLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BillingWebhookLog
|
|
*/
|
|
omit?: Prisma.BillingWebhookLogOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which BillingWebhookLog to fetch.
|
|
*/
|
|
where: Prisma.BillingWebhookLogWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* BillingWebhookLog findFirst
|
|
*/
|
|
export type BillingWebhookLogFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BillingWebhookLog
|
|
*/
|
|
select?: Prisma.BillingWebhookLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BillingWebhookLog
|
|
*/
|
|
omit?: Prisma.BillingWebhookLogOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which BillingWebhookLog to fetch.
|
|
*/
|
|
where?: Prisma.BillingWebhookLogWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of BillingWebhookLogs to fetch.
|
|
*/
|
|
orderBy?: Prisma.BillingWebhookLogOrderByWithRelationInput | Prisma.BillingWebhookLogOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for BillingWebhookLogs.
|
|
*/
|
|
cursor?: Prisma.BillingWebhookLogWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` BillingWebhookLogs 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` BillingWebhookLogs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of BillingWebhookLogs.
|
|
*/
|
|
distinct?: Prisma.BillingWebhookLogScalarFieldEnum | Prisma.BillingWebhookLogScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* BillingWebhookLog findFirstOrThrow
|
|
*/
|
|
export type BillingWebhookLogFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BillingWebhookLog
|
|
*/
|
|
select?: Prisma.BillingWebhookLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BillingWebhookLog
|
|
*/
|
|
omit?: Prisma.BillingWebhookLogOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which BillingWebhookLog to fetch.
|
|
*/
|
|
where?: Prisma.BillingWebhookLogWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of BillingWebhookLogs to fetch.
|
|
*/
|
|
orderBy?: Prisma.BillingWebhookLogOrderByWithRelationInput | Prisma.BillingWebhookLogOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for BillingWebhookLogs.
|
|
*/
|
|
cursor?: Prisma.BillingWebhookLogWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` BillingWebhookLogs 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` BillingWebhookLogs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of BillingWebhookLogs.
|
|
*/
|
|
distinct?: Prisma.BillingWebhookLogScalarFieldEnum | Prisma.BillingWebhookLogScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* BillingWebhookLog findMany
|
|
*/
|
|
export type BillingWebhookLogFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BillingWebhookLog
|
|
*/
|
|
select?: Prisma.BillingWebhookLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BillingWebhookLog
|
|
*/
|
|
omit?: Prisma.BillingWebhookLogOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which BillingWebhookLogs to fetch.
|
|
*/
|
|
where?: Prisma.BillingWebhookLogWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of BillingWebhookLogs to fetch.
|
|
*/
|
|
orderBy?: Prisma.BillingWebhookLogOrderByWithRelationInput | Prisma.BillingWebhookLogOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing BillingWebhookLogs.
|
|
*/
|
|
cursor?: Prisma.BillingWebhookLogWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` BillingWebhookLogs 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` BillingWebhookLogs.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of BillingWebhookLogs.
|
|
*/
|
|
distinct?: Prisma.BillingWebhookLogScalarFieldEnum | Prisma.BillingWebhookLogScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* BillingWebhookLog create
|
|
*/
|
|
export type BillingWebhookLogCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BillingWebhookLog
|
|
*/
|
|
select?: Prisma.BillingWebhookLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BillingWebhookLog
|
|
*/
|
|
omit?: Prisma.BillingWebhookLogOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a BillingWebhookLog.
|
|
*/
|
|
data: Prisma.XOR<Prisma.BillingWebhookLogCreateInput, Prisma.BillingWebhookLogUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* BillingWebhookLog createMany
|
|
*/
|
|
export type BillingWebhookLogCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many BillingWebhookLogs.
|
|
*/
|
|
data: Prisma.BillingWebhookLogCreateManyInput | Prisma.BillingWebhookLogCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* BillingWebhookLog createManyAndReturn
|
|
*/
|
|
export type BillingWebhookLogCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BillingWebhookLog
|
|
*/
|
|
select?: Prisma.BillingWebhookLogSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BillingWebhookLog
|
|
*/
|
|
omit?: Prisma.BillingWebhookLogOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many BillingWebhookLogs.
|
|
*/
|
|
data: Prisma.BillingWebhookLogCreateManyInput | Prisma.BillingWebhookLogCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* BillingWebhookLog update
|
|
*/
|
|
export type BillingWebhookLogUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BillingWebhookLog
|
|
*/
|
|
select?: Prisma.BillingWebhookLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BillingWebhookLog
|
|
*/
|
|
omit?: Prisma.BillingWebhookLogOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a BillingWebhookLog.
|
|
*/
|
|
data: Prisma.XOR<Prisma.BillingWebhookLogUpdateInput, Prisma.BillingWebhookLogUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which BillingWebhookLog to update.
|
|
*/
|
|
where: Prisma.BillingWebhookLogWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* BillingWebhookLog updateMany
|
|
*/
|
|
export type BillingWebhookLogUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update BillingWebhookLogs.
|
|
*/
|
|
data: Prisma.XOR<Prisma.BillingWebhookLogUpdateManyMutationInput, Prisma.BillingWebhookLogUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which BillingWebhookLogs to update
|
|
*/
|
|
where?: Prisma.BillingWebhookLogWhereInput
|
|
/**
|
|
* Limit how many BillingWebhookLogs to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* BillingWebhookLog updateManyAndReturn
|
|
*/
|
|
export type BillingWebhookLogUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BillingWebhookLog
|
|
*/
|
|
select?: Prisma.BillingWebhookLogSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BillingWebhookLog
|
|
*/
|
|
omit?: Prisma.BillingWebhookLogOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update BillingWebhookLogs.
|
|
*/
|
|
data: Prisma.XOR<Prisma.BillingWebhookLogUpdateManyMutationInput, Prisma.BillingWebhookLogUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which BillingWebhookLogs to update
|
|
*/
|
|
where?: Prisma.BillingWebhookLogWhereInput
|
|
/**
|
|
* Limit how many BillingWebhookLogs to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* BillingWebhookLog upsert
|
|
*/
|
|
export type BillingWebhookLogUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BillingWebhookLog
|
|
*/
|
|
select?: Prisma.BillingWebhookLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BillingWebhookLog
|
|
*/
|
|
omit?: Prisma.BillingWebhookLogOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the BillingWebhookLog to update in case it exists.
|
|
*/
|
|
where: Prisma.BillingWebhookLogWhereUniqueInput
|
|
/**
|
|
* In case the BillingWebhookLog found by the `where` argument doesn't exist, create a new BillingWebhookLog with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.BillingWebhookLogCreateInput, Prisma.BillingWebhookLogUncheckedCreateInput>
|
|
/**
|
|
* In case the BillingWebhookLog was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.BillingWebhookLogUpdateInput, Prisma.BillingWebhookLogUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* BillingWebhookLog delete
|
|
*/
|
|
export type BillingWebhookLogDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BillingWebhookLog
|
|
*/
|
|
select?: Prisma.BillingWebhookLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BillingWebhookLog
|
|
*/
|
|
omit?: Prisma.BillingWebhookLogOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which BillingWebhookLog to delete.
|
|
*/
|
|
where: Prisma.BillingWebhookLogWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* BillingWebhookLog deleteMany
|
|
*/
|
|
export type BillingWebhookLogDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which BillingWebhookLogs to delete
|
|
*/
|
|
where?: Prisma.BillingWebhookLogWhereInput
|
|
/**
|
|
* Limit how many BillingWebhookLogs to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* BillingWebhookLog without action
|
|
*/
|
|
export type BillingWebhookLogDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the BillingWebhookLog
|
|
*/
|
|
select?: Prisma.BillingWebhookLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the BillingWebhookLog
|
|
*/
|
|
omit?: Prisma.BillingWebhookLogOmit<ExtArgs> | null
|
|
}
|