1812 lines
80 KiB
TypeScript
1812 lines
80 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 `PublicIncomingWebhookEndpoint` 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 PublicIncomingWebhookEndpoint
|
|
*
|
|
*/
|
|
export type PublicIncomingWebhookEndpointModel = runtime.Types.Result.DefaultSelection<Prisma.$PublicIncomingWebhookEndpointPayload>
|
|
|
|
export type AggregatePublicIncomingWebhookEndpoint = {
|
|
_count: PublicIncomingWebhookEndpointCountAggregateOutputType | null
|
|
_min: PublicIncomingWebhookEndpointMinAggregateOutputType | null
|
|
_max: PublicIncomingWebhookEndpointMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
tenantId: string | null
|
|
slug: string | null
|
|
name: string | null
|
|
authMode: $Enums.PublicWebhookAuthMode | null
|
|
apiKeyId: string | null
|
|
tokenHash: string | null
|
|
tokenPrefix: string | null
|
|
tokenLastFour: string | null
|
|
hmacSecretHash: string | null
|
|
hmacSecretPrefix: string | null
|
|
hmacSecretLastFour: string | null
|
|
status: $Enums.PublicWebhookEndpointStatus | null
|
|
pausedAt: Date | null
|
|
archivedAt: Date | null
|
|
isDemoData: boolean | null
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
tenantId: string | null
|
|
slug: string | null
|
|
name: string | null
|
|
authMode: $Enums.PublicWebhookAuthMode | null
|
|
apiKeyId: string | null
|
|
tokenHash: string | null
|
|
tokenPrefix: string | null
|
|
tokenLastFour: string | null
|
|
hmacSecretHash: string | null
|
|
hmacSecretPrefix: string | null
|
|
hmacSecretLastFour: string | null
|
|
status: $Enums.PublicWebhookEndpointStatus | null
|
|
pausedAt: Date | null
|
|
archivedAt: Date | null
|
|
isDemoData: boolean | null
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
tenantId: number
|
|
slug: number
|
|
name: number
|
|
authMode: number
|
|
apiKeyId: number
|
|
tokenHash: number
|
|
tokenPrefix: number
|
|
tokenLastFour: number
|
|
hmacSecretHash: number
|
|
hmacSecretPrefix: number
|
|
hmacSecretLastFour: number
|
|
payloadMapping: number
|
|
autoMatchRules: number
|
|
status: number
|
|
pausedAt: number
|
|
archivedAt: number
|
|
isDemoData: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type PublicIncomingWebhookEndpointMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
slug?: true
|
|
name?: true
|
|
authMode?: true
|
|
apiKeyId?: true
|
|
tokenHash?: true
|
|
tokenPrefix?: true
|
|
tokenLastFour?: true
|
|
hmacSecretHash?: true
|
|
hmacSecretPrefix?: true
|
|
hmacSecretLastFour?: true
|
|
status?: true
|
|
pausedAt?: true
|
|
archivedAt?: true
|
|
isDemoData?: true
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
slug?: true
|
|
name?: true
|
|
authMode?: true
|
|
apiKeyId?: true
|
|
tokenHash?: true
|
|
tokenPrefix?: true
|
|
tokenLastFour?: true
|
|
hmacSecretHash?: true
|
|
hmacSecretPrefix?: true
|
|
hmacSecretLastFour?: true
|
|
status?: true
|
|
pausedAt?: true
|
|
archivedAt?: true
|
|
isDemoData?: true
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
slug?: true
|
|
name?: true
|
|
authMode?: true
|
|
apiKeyId?: true
|
|
tokenHash?: true
|
|
tokenPrefix?: true
|
|
tokenLastFour?: true
|
|
hmacSecretHash?: true
|
|
hmacSecretPrefix?: true
|
|
hmacSecretLastFour?: true
|
|
payloadMapping?: true
|
|
autoMatchRules?: true
|
|
status?: true
|
|
pausedAt?: true
|
|
archivedAt?: true
|
|
isDemoData?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which PublicIncomingWebhookEndpoint to aggregate.
|
|
*/
|
|
where?: Prisma.PublicIncomingWebhookEndpointWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PublicIncomingWebhookEndpoints to fetch.
|
|
*/
|
|
orderBy?: Prisma.PublicIncomingWebhookEndpointOrderByWithRelationInput | Prisma.PublicIncomingWebhookEndpointOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.PublicIncomingWebhookEndpointWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PublicIncomingWebhookEndpoints 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` PublicIncomingWebhookEndpoints.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned PublicIncomingWebhookEndpoints
|
|
**/
|
|
_count?: true | PublicIncomingWebhookEndpointCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: PublicIncomingWebhookEndpointMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: PublicIncomingWebhookEndpointMaxAggregateInputType
|
|
}
|
|
|
|
export type GetPublicIncomingWebhookEndpointAggregateType<T extends PublicIncomingWebhookEndpointAggregateArgs> = {
|
|
[P in keyof T & keyof AggregatePublicIncomingWebhookEndpoint]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregatePublicIncomingWebhookEndpoint[P]>
|
|
: Prisma.GetScalarType<T[P], AggregatePublicIncomingWebhookEndpoint[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type PublicIncomingWebhookEndpointGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.PublicIncomingWebhookEndpointWhereInput
|
|
orderBy?: Prisma.PublicIncomingWebhookEndpointOrderByWithAggregationInput | Prisma.PublicIncomingWebhookEndpointOrderByWithAggregationInput[]
|
|
by: Prisma.PublicIncomingWebhookEndpointScalarFieldEnum[] | Prisma.PublicIncomingWebhookEndpointScalarFieldEnum
|
|
having?: Prisma.PublicIncomingWebhookEndpointScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: PublicIncomingWebhookEndpointCountAggregateInputType | true
|
|
_min?: PublicIncomingWebhookEndpointMinAggregateInputType
|
|
_max?: PublicIncomingWebhookEndpointMaxAggregateInputType
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
tenantId: string
|
|
slug: string
|
|
name: string
|
|
authMode: $Enums.PublicWebhookAuthMode
|
|
apiKeyId: string | null
|
|
tokenHash: string | null
|
|
tokenPrefix: string | null
|
|
tokenLastFour: string | null
|
|
hmacSecretHash: string | null
|
|
hmacSecretPrefix: string | null
|
|
hmacSecretLastFour: string | null
|
|
payloadMapping: runtime.JsonValue
|
|
autoMatchRules: runtime.JsonValue
|
|
status: $Enums.PublicWebhookEndpointStatus
|
|
pausedAt: Date | null
|
|
archivedAt: Date | null
|
|
isDemoData: boolean
|
|
_count: PublicIncomingWebhookEndpointCountAggregateOutputType | null
|
|
_min: PublicIncomingWebhookEndpointMinAggregateOutputType | null
|
|
_max: PublicIncomingWebhookEndpointMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetPublicIncomingWebhookEndpointGroupByPayload<T extends PublicIncomingWebhookEndpointGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<PublicIncomingWebhookEndpointGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof PublicIncomingWebhookEndpointGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], PublicIncomingWebhookEndpointGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], PublicIncomingWebhookEndpointGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type PublicIncomingWebhookEndpointWhereInput = {
|
|
AND?: Prisma.PublicIncomingWebhookEndpointWhereInput | Prisma.PublicIncomingWebhookEndpointWhereInput[]
|
|
OR?: Prisma.PublicIncomingWebhookEndpointWhereInput[]
|
|
NOT?: Prisma.PublicIncomingWebhookEndpointWhereInput | Prisma.PublicIncomingWebhookEndpointWhereInput[]
|
|
id?: Prisma.StringFilter<"PublicIncomingWebhookEndpoint"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"PublicIncomingWebhookEndpoint"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"PublicIncomingWebhookEndpoint"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"PublicIncomingWebhookEndpoint"> | string
|
|
slug?: Prisma.StringFilter<"PublicIncomingWebhookEndpoint"> | string
|
|
name?: Prisma.StringFilter<"PublicIncomingWebhookEndpoint"> | string
|
|
authMode?: Prisma.EnumPublicWebhookAuthModeFilter<"PublicIncomingWebhookEndpoint"> | $Enums.PublicWebhookAuthMode
|
|
apiKeyId?: Prisma.StringNullableFilter<"PublicIncomingWebhookEndpoint"> | string | null
|
|
tokenHash?: Prisma.StringNullableFilter<"PublicIncomingWebhookEndpoint"> | string | null
|
|
tokenPrefix?: Prisma.StringNullableFilter<"PublicIncomingWebhookEndpoint"> | string | null
|
|
tokenLastFour?: Prisma.StringNullableFilter<"PublicIncomingWebhookEndpoint"> | string | null
|
|
hmacSecretHash?: Prisma.StringNullableFilter<"PublicIncomingWebhookEndpoint"> | string | null
|
|
hmacSecretPrefix?: Prisma.StringNullableFilter<"PublicIncomingWebhookEndpoint"> | string | null
|
|
hmacSecretLastFour?: Prisma.StringNullableFilter<"PublicIncomingWebhookEndpoint"> | string | null
|
|
payloadMapping?: Prisma.JsonFilter<"PublicIncomingWebhookEndpoint">
|
|
autoMatchRules?: Prisma.JsonFilter<"PublicIncomingWebhookEndpoint">
|
|
status?: Prisma.EnumPublicWebhookEndpointStatusFilter<"PublicIncomingWebhookEndpoint"> | $Enums.PublicWebhookEndpointStatus
|
|
pausedAt?: Prisma.DateTimeNullableFilter<"PublicIncomingWebhookEndpoint"> | Date | string | null
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"PublicIncomingWebhookEndpoint"> | Date | string | null
|
|
isDemoData?: Prisma.BoolFilter<"PublicIncomingWebhookEndpoint"> | boolean
|
|
ingestionLogs?: Prisma.PublicWebhookIngestionLogListRelationFilter
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
authMode?: Prisma.SortOrder
|
|
apiKeyId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
tokenHash?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
tokenPrefix?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
tokenLastFour?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
hmacSecretHash?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
hmacSecretPrefix?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
hmacSecretLastFour?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
payloadMapping?: Prisma.SortOrder
|
|
autoMatchRules?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
pausedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
ingestionLogs?: Prisma.PublicWebhookIngestionLogOrderByRelationAggregateInput
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
tenantId_slug?: Prisma.PublicIncomingWebhookEndpointTenantIdSlugCompoundUniqueInput
|
|
AND?: Prisma.PublicIncomingWebhookEndpointWhereInput | Prisma.PublicIncomingWebhookEndpointWhereInput[]
|
|
OR?: Prisma.PublicIncomingWebhookEndpointWhereInput[]
|
|
NOT?: Prisma.PublicIncomingWebhookEndpointWhereInput | Prisma.PublicIncomingWebhookEndpointWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"PublicIncomingWebhookEndpoint"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"PublicIncomingWebhookEndpoint"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"PublicIncomingWebhookEndpoint"> | string
|
|
slug?: Prisma.StringFilter<"PublicIncomingWebhookEndpoint"> | string
|
|
name?: Prisma.StringFilter<"PublicIncomingWebhookEndpoint"> | string
|
|
authMode?: Prisma.EnumPublicWebhookAuthModeFilter<"PublicIncomingWebhookEndpoint"> | $Enums.PublicWebhookAuthMode
|
|
apiKeyId?: Prisma.StringNullableFilter<"PublicIncomingWebhookEndpoint"> | string | null
|
|
tokenHash?: Prisma.StringNullableFilter<"PublicIncomingWebhookEndpoint"> | string | null
|
|
tokenPrefix?: Prisma.StringNullableFilter<"PublicIncomingWebhookEndpoint"> | string | null
|
|
tokenLastFour?: Prisma.StringNullableFilter<"PublicIncomingWebhookEndpoint"> | string | null
|
|
hmacSecretHash?: Prisma.StringNullableFilter<"PublicIncomingWebhookEndpoint"> | string | null
|
|
hmacSecretPrefix?: Prisma.StringNullableFilter<"PublicIncomingWebhookEndpoint"> | string | null
|
|
hmacSecretLastFour?: Prisma.StringNullableFilter<"PublicIncomingWebhookEndpoint"> | string | null
|
|
payloadMapping?: Prisma.JsonFilter<"PublicIncomingWebhookEndpoint">
|
|
autoMatchRules?: Prisma.JsonFilter<"PublicIncomingWebhookEndpoint">
|
|
status?: Prisma.EnumPublicWebhookEndpointStatusFilter<"PublicIncomingWebhookEndpoint"> | $Enums.PublicWebhookEndpointStatus
|
|
pausedAt?: Prisma.DateTimeNullableFilter<"PublicIncomingWebhookEndpoint"> | Date | string | null
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"PublicIncomingWebhookEndpoint"> | Date | string | null
|
|
isDemoData?: Prisma.BoolFilter<"PublicIncomingWebhookEndpoint"> | boolean
|
|
ingestionLogs?: Prisma.PublicWebhookIngestionLogListRelationFilter
|
|
}, "id" | "tenantId_slug">
|
|
|
|
export type PublicIncomingWebhookEndpointOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
authMode?: Prisma.SortOrder
|
|
apiKeyId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
tokenHash?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
tokenPrefix?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
tokenLastFour?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
hmacSecretHash?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
hmacSecretPrefix?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
hmacSecretLastFour?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
payloadMapping?: Prisma.SortOrder
|
|
autoMatchRules?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
pausedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
_count?: Prisma.PublicIncomingWebhookEndpointCountOrderByAggregateInput
|
|
_max?: Prisma.PublicIncomingWebhookEndpointMaxOrderByAggregateInput
|
|
_min?: Prisma.PublicIncomingWebhookEndpointMinOrderByAggregateInput
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.PublicIncomingWebhookEndpointScalarWhereWithAggregatesInput | Prisma.PublicIncomingWebhookEndpointScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.PublicIncomingWebhookEndpointScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.PublicIncomingWebhookEndpointScalarWhereWithAggregatesInput | Prisma.PublicIncomingWebhookEndpointScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"PublicIncomingWebhookEndpoint"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"PublicIncomingWebhookEndpoint"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"PublicIncomingWebhookEndpoint"> | Date | string
|
|
tenantId?: Prisma.StringWithAggregatesFilter<"PublicIncomingWebhookEndpoint"> | string
|
|
slug?: Prisma.StringWithAggregatesFilter<"PublicIncomingWebhookEndpoint"> | string
|
|
name?: Prisma.StringWithAggregatesFilter<"PublicIncomingWebhookEndpoint"> | string
|
|
authMode?: Prisma.EnumPublicWebhookAuthModeWithAggregatesFilter<"PublicIncomingWebhookEndpoint"> | $Enums.PublicWebhookAuthMode
|
|
apiKeyId?: Prisma.StringNullableWithAggregatesFilter<"PublicIncomingWebhookEndpoint"> | string | null
|
|
tokenHash?: Prisma.StringNullableWithAggregatesFilter<"PublicIncomingWebhookEndpoint"> | string | null
|
|
tokenPrefix?: Prisma.StringNullableWithAggregatesFilter<"PublicIncomingWebhookEndpoint"> | string | null
|
|
tokenLastFour?: Prisma.StringNullableWithAggregatesFilter<"PublicIncomingWebhookEndpoint"> | string | null
|
|
hmacSecretHash?: Prisma.StringNullableWithAggregatesFilter<"PublicIncomingWebhookEndpoint"> | string | null
|
|
hmacSecretPrefix?: Prisma.StringNullableWithAggregatesFilter<"PublicIncomingWebhookEndpoint"> | string | null
|
|
hmacSecretLastFour?: Prisma.StringNullableWithAggregatesFilter<"PublicIncomingWebhookEndpoint"> | string | null
|
|
payloadMapping?: Prisma.JsonWithAggregatesFilter<"PublicIncomingWebhookEndpoint">
|
|
autoMatchRules?: Prisma.JsonWithAggregatesFilter<"PublicIncomingWebhookEndpoint">
|
|
status?: Prisma.EnumPublicWebhookEndpointStatusWithAggregatesFilter<"PublicIncomingWebhookEndpoint"> | $Enums.PublicWebhookEndpointStatus
|
|
pausedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"PublicIncomingWebhookEndpoint"> | Date | string | null
|
|
archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"PublicIncomingWebhookEndpoint"> | Date | string | null
|
|
isDemoData?: Prisma.BoolWithAggregatesFilter<"PublicIncomingWebhookEndpoint"> | boolean
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
slug: string
|
|
name: string
|
|
authMode: $Enums.PublicWebhookAuthMode
|
|
apiKeyId?: string | null
|
|
tokenHash?: string | null
|
|
tokenPrefix?: string | null
|
|
tokenLastFour?: string | null
|
|
hmacSecretHash?: string | null
|
|
hmacSecretPrefix?: string | null
|
|
hmacSecretLastFour?: string | null
|
|
payloadMapping?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
autoMatchRules?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
status?: $Enums.PublicWebhookEndpointStatus
|
|
pausedAt?: Date | string | null
|
|
archivedAt?: Date | string | null
|
|
isDemoData?: boolean
|
|
ingestionLogs?: Prisma.PublicWebhookIngestionLogCreateNestedManyWithoutEndpointInput
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
slug: string
|
|
name: string
|
|
authMode: $Enums.PublicWebhookAuthMode
|
|
apiKeyId?: string | null
|
|
tokenHash?: string | null
|
|
tokenPrefix?: string | null
|
|
tokenLastFour?: string | null
|
|
hmacSecretHash?: string | null
|
|
hmacSecretPrefix?: string | null
|
|
hmacSecretLastFour?: string | null
|
|
payloadMapping?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
autoMatchRules?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
status?: $Enums.PublicWebhookEndpointStatus
|
|
pausedAt?: Date | string | null
|
|
archivedAt?: Date | string | null
|
|
isDemoData?: boolean
|
|
ingestionLogs?: Prisma.PublicWebhookIngestionLogUncheckedCreateNestedManyWithoutEndpointInput
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
authMode?: Prisma.EnumPublicWebhookAuthModeFieldUpdateOperationsInput | $Enums.PublicWebhookAuthMode
|
|
apiKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tokenPrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tokenLastFour?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
hmacSecretHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
hmacSecretPrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
hmacSecretLastFour?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
payloadMapping?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
autoMatchRules?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
status?: Prisma.EnumPublicWebhookEndpointStatusFieldUpdateOperationsInput | $Enums.PublicWebhookEndpointStatus
|
|
pausedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
ingestionLogs?: Prisma.PublicWebhookIngestionLogUpdateManyWithoutEndpointNestedInput
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
authMode?: Prisma.EnumPublicWebhookAuthModeFieldUpdateOperationsInput | $Enums.PublicWebhookAuthMode
|
|
apiKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tokenPrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tokenLastFour?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
hmacSecretHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
hmacSecretPrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
hmacSecretLastFour?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
payloadMapping?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
autoMatchRules?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
status?: Prisma.EnumPublicWebhookEndpointStatusFieldUpdateOperationsInput | $Enums.PublicWebhookEndpointStatus
|
|
pausedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
ingestionLogs?: Prisma.PublicWebhookIngestionLogUncheckedUpdateManyWithoutEndpointNestedInput
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
slug: string
|
|
name: string
|
|
authMode: $Enums.PublicWebhookAuthMode
|
|
apiKeyId?: string | null
|
|
tokenHash?: string | null
|
|
tokenPrefix?: string | null
|
|
tokenLastFour?: string | null
|
|
hmacSecretHash?: string | null
|
|
hmacSecretPrefix?: string | null
|
|
hmacSecretLastFour?: string | null
|
|
payloadMapping?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
autoMatchRules?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
status?: $Enums.PublicWebhookEndpointStatus
|
|
pausedAt?: Date | string | null
|
|
archivedAt?: Date | string | null
|
|
isDemoData?: boolean
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
authMode?: Prisma.EnumPublicWebhookAuthModeFieldUpdateOperationsInput | $Enums.PublicWebhookAuthMode
|
|
apiKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tokenPrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tokenLastFour?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
hmacSecretHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
hmacSecretPrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
hmacSecretLastFour?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
payloadMapping?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
autoMatchRules?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
status?: Prisma.EnumPublicWebhookEndpointStatusFieldUpdateOperationsInput | $Enums.PublicWebhookEndpointStatus
|
|
pausedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
authMode?: Prisma.EnumPublicWebhookAuthModeFieldUpdateOperationsInput | $Enums.PublicWebhookAuthMode
|
|
apiKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tokenPrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tokenLastFour?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
hmacSecretHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
hmacSecretPrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
hmacSecretLastFour?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
payloadMapping?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
autoMatchRules?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
status?: Prisma.EnumPublicWebhookEndpointStatusFieldUpdateOperationsInput | $Enums.PublicWebhookEndpointStatus
|
|
pausedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointTenantIdSlugCompoundUniqueInput = {
|
|
tenantId: string
|
|
slug: string
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
authMode?: Prisma.SortOrder
|
|
apiKeyId?: Prisma.SortOrder
|
|
tokenHash?: Prisma.SortOrder
|
|
tokenPrefix?: Prisma.SortOrder
|
|
tokenLastFour?: Prisma.SortOrder
|
|
hmacSecretHash?: Prisma.SortOrder
|
|
hmacSecretPrefix?: Prisma.SortOrder
|
|
hmacSecretLastFour?: Prisma.SortOrder
|
|
payloadMapping?: Prisma.SortOrder
|
|
autoMatchRules?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
pausedAt?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
authMode?: Prisma.SortOrder
|
|
apiKeyId?: Prisma.SortOrder
|
|
tokenHash?: Prisma.SortOrder
|
|
tokenPrefix?: Prisma.SortOrder
|
|
tokenLastFour?: Prisma.SortOrder
|
|
hmacSecretHash?: Prisma.SortOrder
|
|
hmacSecretPrefix?: Prisma.SortOrder
|
|
hmacSecretLastFour?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
pausedAt?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
authMode?: Prisma.SortOrder
|
|
apiKeyId?: Prisma.SortOrder
|
|
tokenHash?: Prisma.SortOrder
|
|
tokenPrefix?: Prisma.SortOrder
|
|
tokenLastFour?: Prisma.SortOrder
|
|
hmacSecretHash?: Prisma.SortOrder
|
|
hmacSecretPrefix?: Prisma.SortOrder
|
|
hmacSecretLastFour?: Prisma.SortOrder
|
|
status?: Prisma.SortOrder
|
|
pausedAt?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
isDemoData?: Prisma.SortOrder
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointNullableScalarRelationFilter = {
|
|
is?: Prisma.PublicIncomingWebhookEndpointWhereInput | null
|
|
isNot?: Prisma.PublicIncomingWebhookEndpointWhereInput | null
|
|
}
|
|
|
|
export type EnumPublicWebhookAuthModeFieldUpdateOperationsInput = {
|
|
set?: $Enums.PublicWebhookAuthMode
|
|
}
|
|
|
|
export type EnumPublicWebhookEndpointStatusFieldUpdateOperationsInput = {
|
|
set?: $Enums.PublicWebhookEndpointStatus
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointCreateNestedOneWithoutIngestionLogsInput = {
|
|
create?: Prisma.XOR<Prisma.PublicIncomingWebhookEndpointCreateWithoutIngestionLogsInput, Prisma.PublicIncomingWebhookEndpointUncheckedCreateWithoutIngestionLogsInput>
|
|
connectOrCreate?: Prisma.PublicIncomingWebhookEndpointCreateOrConnectWithoutIngestionLogsInput
|
|
connect?: Prisma.PublicIncomingWebhookEndpointWhereUniqueInput
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointUpdateOneWithoutIngestionLogsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.PublicIncomingWebhookEndpointCreateWithoutIngestionLogsInput, Prisma.PublicIncomingWebhookEndpointUncheckedCreateWithoutIngestionLogsInput>
|
|
connectOrCreate?: Prisma.PublicIncomingWebhookEndpointCreateOrConnectWithoutIngestionLogsInput
|
|
upsert?: Prisma.PublicIncomingWebhookEndpointUpsertWithoutIngestionLogsInput
|
|
disconnect?: Prisma.PublicIncomingWebhookEndpointWhereInput | boolean
|
|
delete?: Prisma.PublicIncomingWebhookEndpointWhereInput | boolean
|
|
connect?: Prisma.PublicIncomingWebhookEndpointWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.PublicIncomingWebhookEndpointUpdateToOneWithWhereWithoutIngestionLogsInput, Prisma.PublicIncomingWebhookEndpointUpdateWithoutIngestionLogsInput>, Prisma.PublicIncomingWebhookEndpointUncheckedUpdateWithoutIngestionLogsInput>
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointCreateWithoutIngestionLogsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
slug: string
|
|
name: string
|
|
authMode: $Enums.PublicWebhookAuthMode
|
|
apiKeyId?: string | null
|
|
tokenHash?: string | null
|
|
tokenPrefix?: string | null
|
|
tokenLastFour?: string | null
|
|
hmacSecretHash?: string | null
|
|
hmacSecretPrefix?: string | null
|
|
hmacSecretLastFour?: string | null
|
|
payloadMapping?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
autoMatchRules?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
status?: $Enums.PublicWebhookEndpointStatus
|
|
pausedAt?: Date | string | null
|
|
archivedAt?: Date | string | null
|
|
isDemoData?: boolean
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointUncheckedCreateWithoutIngestionLogsInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
slug: string
|
|
name: string
|
|
authMode: $Enums.PublicWebhookAuthMode
|
|
apiKeyId?: string | null
|
|
tokenHash?: string | null
|
|
tokenPrefix?: string | null
|
|
tokenLastFour?: string | null
|
|
hmacSecretHash?: string | null
|
|
hmacSecretPrefix?: string | null
|
|
hmacSecretLastFour?: string | null
|
|
payloadMapping?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
autoMatchRules?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
status?: $Enums.PublicWebhookEndpointStatus
|
|
pausedAt?: Date | string | null
|
|
archivedAt?: Date | string | null
|
|
isDemoData?: boolean
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointCreateOrConnectWithoutIngestionLogsInput = {
|
|
where: Prisma.PublicIncomingWebhookEndpointWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.PublicIncomingWebhookEndpointCreateWithoutIngestionLogsInput, Prisma.PublicIncomingWebhookEndpointUncheckedCreateWithoutIngestionLogsInput>
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointUpsertWithoutIngestionLogsInput = {
|
|
update: Prisma.XOR<Prisma.PublicIncomingWebhookEndpointUpdateWithoutIngestionLogsInput, Prisma.PublicIncomingWebhookEndpointUncheckedUpdateWithoutIngestionLogsInput>
|
|
create: Prisma.XOR<Prisma.PublicIncomingWebhookEndpointCreateWithoutIngestionLogsInput, Prisma.PublicIncomingWebhookEndpointUncheckedCreateWithoutIngestionLogsInput>
|
|
where?: Prisma.PublicIncomingWebhookEndpointWhereInput
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointUpdateToOneWithWhereWithoutIngestionLogsInput = {
|
|
where?: Prisma.PublicIncomingWebhookEndpointWhereInput
|
|
data: Prisma.XOR<Prisma.PublicIncomingWebhookEndpointUpdateWithoutIngestionLogsInput, Prisma.PublicIncomingWebhookEndpointUncheckedUpdateWithoutIngestionLogsInput>
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointUpdateWithoutIngestionLogsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
authMode?: Prisma.EnumPublicWebhookAuthModeFieldUpdateOperationsInput | $Enums.PublicWebhookAuthMode
|
|
apiKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tokenPrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tokenLastFour?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
hmacSecretHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
hmacSecretPrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
hmacSecretLastFour?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
payloadMapping?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
autoMatchRules?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
status?: Prisma.EnumPublicWebhookEndpointStatusFieldUpdateOperationsInput | $Enums.PublicWebhookEndpointStatus
|
|
pausedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointUncheckedUpdateWithoutIngestionLogsInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
authMode?: Prisma.EnumPublicWebhookAuthModeFieldUpdateOperationsInput | $Enums.PublicWebhookAuthMode
|
|
apiKeyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tokenHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tokenPrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tokenLastFour?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
hmacSecretHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
hmacSecretPrefix?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
hmacSecretLastFour?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
payloadMapping?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
autoMatchRules?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
status?: Prisma.EnumPublicWebhookEndpointStatusFieldUpdateOperationsInput | $Enums.PublicWebhookEndpointStatus
|
|
pausedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
}
|
|
|
|
|
|
/**
|
|
* Count Type PublicIncomingWebhookEndpointCountOutputType
|
|
*/
|
|
|
|
export type PublicIncomingWebhookEndpointCountOutputType = {
|
|
ingestionLogs: number
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
ingestionLogs?: boolean | PublicIncomingWebhookEndpointCountOutputTypeCountIngestionLogsArgs
|
|
}
|
|
|
|
/**
|
|
* PublicIncomingWebhookEndpointCountOutputType without action
|
|
*/
|
|
export type PublicIncomingWebhookEndpointCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PublicIncomingWebhookEndpointCountOutputType
|
|
*/
|
|
select?: Prisma.PublicIncomingWebhookEndpointCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* PublicIncomingWebhookEndpointCountOutputType without action
|
|
*/
|
|
export type PublicIncomingWebhookEndpointCountOutputTypeCountIngestionLogsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.PublicWebhookIngestionLogWhereInput
|
|
}
|
|
|
|
|
|
export type PublicIncomingWebhookEndpointSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
slug?: boolean
|
|
name?: boolean
|
|
authMode?: boolean
|
|
apiKeyId?: boolean
|
|
tokenHash?: boolean
|
|
tokenPrefix?: boolean
|
|
tokenLastFour?: boolean
|
|
hmacSecretHash?: boolean
|
|
hmacSecretPrefix?: boolean
|
|
hmacSecretLastFour?: boolean
|
|
payloadMapping?: boolean
|
|
autoMatchRules?: boolean
|
|
status?: boolean
|
|
pausedAt?: boolean
|
|
archivedAt?: boolean
|
|
isDemoData?: boolean
|
|
ingestionLogs?: boolean | Prisma.PublicIncomingWebhookEndpoint$ingestionLogsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.PublicIncomingWebhookEndpointCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["publicIncomingWebhookEndpoint"]>
|
|
|
|
export type PublicIncomingWebhookEndpointSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
slug?: boolean
|
|
name?: boolean
|
|
authMode?: boolean
|
|
apiKeyId?: boolean
|
|
tokenHash?: boolean
|
|
tokenPrefix?: boolean
|
|
tokenLastFour?: boolean
|
|
hmacSecretHash?: boolean
|
|
hmacSecretPrefix?: boolean
|
|
hmacSecretLastFour?: boolean
|
|
payloadMapping?: boolean
|
|
autoMatchRules?: boolean
|
|
status?: boolean
|
|
pausedAt?: boolean
|
|
archivedAt?: boolean
|
|
isDemoData?: boolean
|
|
}, ExtArgs["result"]["publicIncomingWebhookEndpoint"]>
|
|
|
|
export type PublicIncomingWebhookEndpointSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
slug?: boolean
|
|
name?: boolean
|
|
authMode?: boolean
|
|
apiKeyId?: boolean
|
|
tokenHash?: boolean
|
|
tokenPrefix?: boolean
|
|
tokenLastFour?: boolean
|
|
hmacSecretHash?: boolean
|
|
hmacSecretPrefix?: boolean
|
|
hmacSecretLastFour?: boolean
|
|
payloadMapping?: boolean
|
|
autoMatchRules?: boolean
|
|
status?: boolean
|
|
pausedAt?: boolean
|
|
archivedAt?: boolean
|
|
isDemoData?: boolean
|
|
}, ExtArgs["result"]["publicIncomingWebhookEndpoint"]>
|
|
|
|
export type PublicIncomingWebhookEndpointSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
slug?: boolean
|
|
name?: boolean
|
|
authMode?: boolean
|
|
apiKeyId?: boolean
|
|
tokenHash?: boolean
|
|
tokenPrefix?: boolean
|
|
tokenLastFour?: boolean
|
|
hmacSecretHash?: boolean
|
|
hmacSecretPrefix?: boolean
|
|
hmacSecretLastFour?: boolean
|
|
payloadMapping?: boolean
|
|
autoMatchRules?: boolean
|
|
status?: boolean
|
|
pausedAt?: boolean
|
|
archivedAt?: boolean
|
|
isDemoData?: boolean
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "slug" | "name" | "authMode" | "apiKeyId" | "tokenHash" | "tokenPrefix" | "tokenLastFour" | "hmacSecretHash" | "hmacSecretPrefix" | "hmacSecretLastFour" | "payloadMapping" | "autoMatchRules" | "status" | "pausedAt" | "archivedAt" | "isDemoData", ExtArgs["result"]["publicIncomingWebhookEndpoint"]>
|
|
export type PublicIncomingWebhookEndpointInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
ingestionLogs?: boolean | Prisma.PublicIncomingWebhookEndpoint$ingestionLogsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.PublicIncomingWebhookEndpointCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type PublicIncomingWebhookEndpointIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
export type PublicIncomingWebhookEndpointIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
|
|
export type $PublicIncomingWebhookEndpointPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "PublicIncomingWebhookEndpoint"
|
|
objects: {
|
|
ingestionLogs: Prisma.$PublicWebhookIngestionLogPayload<ExtArgs>[]
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
tenantId: string
|
|
slug: string
|
|
name: string
|
|
authMode: $Enums.PublicWebhookAuthMode
|
|
apiKeyId: string | null
|
|
tokenHash: string | null
|
|
tokenPrefix: string | null
|
|
tokenLastFour: string | null
|
|
hmacSecretHash: string | null
|
|
hmacSecretPrefix: string | null
|
|
hmacSecretLastFour: string | null
|
|
payloadMapping: runtime.JsonValue
|
|
autoMatchRules: runtime.JsonValue
|
|
status: $Enums.PublicWebhookEndpointStatus
|
|
pausedAt: Date | null
|
|
archivedAt: Date | null
|
|
isDemoData: boolean
|
|
}, ExtArgs["result"]["publicIncomingWebhookEndpoint"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type PublicIncomingWebhookEndpointGetPayload<S extends boolean | null | undefined | PublicIncomingWebhookEndpointDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PublicIncomingWebhookEndpointPayload, S>
|
|
|
|
export type PublicIncomingWebhookEndpointCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<PublicIncomingWebhookEndpointFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: PublicIncomingWebhookEndpointCountAggregateInputType | true
|
|
}
|
|
|
|
export interface PublicIncomingWebhookEndpointDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PublicIncomingWebhookEndpoint'], meta: { name: 'PublicIncomingWebhookEndpoint' } }
|
|
/**
|
|
* Find zero or one PublicIncomingWebhookEndpoint that matches the filter.
|
|
* @param {PublicIncomingWebhookEndpointFindUniqueArgs} args - Arguments to find a PublicIncomingWebhookEndpoint
|
|
* @example
|
|
* // Get one PublicIncomingWebhookEndpoint
|
|
* const publicIncomingWebhookEndpoint = await prisma.publicIncomingWebhookEndpoint.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends PublicIncomingWebhookEndpointFindUniqueArgs>(args: Prisma.SelectSubset<T, PublicIncomingWebhookEndpointFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PublicIncomingWebhookEndpointClient<runtime.Types.Result.GetResult<Prisma.$PublicIncomingWebhookEndpointPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one PublicIncomingWebhookEndpoint that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {PublicIncomingWebhookEndpointFindUniqueOrThrowArgs} args - Arguments to find a PublicIncomingWebhookEndpoint
|
|
* @example
|
|
* // Get one PublicIncomingWebhookEndpoint
|
|
* const publicIncomingWebhookEndpoint = await prisma.publicIncomingWebhookEndpoint.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends PublicIncomingWebhookEndpointFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PublicIncomingWebhookEndpointFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PublicIncomingWebhookEndpointClient<runtime.Types.Result.GetResult<Prisma.$PublicIncomingWebhookEndpointPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first PublicIncomingWebhookEndpoint 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 {PublicIncomingWebhookEndpointFindFirstArgs} args - Arguments to find a PublicIncomingWebhookEndpoint
|
|
* @example
|
|
* // Get one PublicIncomingWebhookEndpoint
|
|
* const publicIncomingWebhookEndpoint = await prisma.publicIncomingWebhookEndpoint.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends PublicIncomingWebhookEndpointFindFirstArgs>(args?: Prisma.SelectSubset<T, PublicIncomingWebhookEndpointFindFirstArgs<ExtArgs>>): Prisma.Prisma__PublicIncomingWebhookEndpointClient<runtime.Types.Result.GetResult<Prisma.$PublicIncomingWebhookEndpointPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first PublicIncomingWebhookEndpoint 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 {PublicIncomingWebhookEndpointFindFirstOrThrowArgs} args - Arguments to find a PublicIncomingWebhookEndpoint
|
|
* @example
|
|
* // Get one PublicIncomingWebhookEndpoint
|
|
* const publicIncomingWebhookEndpoint = await prisma.publicIncomingWebhookEndpoint.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends PublicIncomingWebhookEndpointFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PublicIncomingWebhookEndpointFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PublicIncomingWebhookEndpointClient<runtime.Types.Result.GetResult<Prisma.$PublicIncomingWebhookEndpointPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more PublicIncomingWebhookEndpoints 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 {PublicIncomingWebhookEndpointFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all PublicIncomingWebhookEndpoints
|
|
* const publicIncomingWebhookEndpoints = await prisma.publicIncomingWebhookEndpoint.findMany()
|
|
*
|
|
* // Get first 10 PublicIncomingWebhookEndpoints
|
|
* const publicIncomingWebhookEndpoints = await prisma.publicIncomingWebhookEndpoint.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const publicIncomingWebhookEndpointWithIdOnly = await prisma.publicIncomingWebhookEndpoint.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends PublicIncomingWebhookEndpointFindManyArgs>(args?: Prisma.SelectSubset<T, PublicIncomingWebhookEndpointFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PublicIncomingWebhookEndpointPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a PublicIncomingWebhookEndpoint.
|
|
* @param {PublicIncomingWebhookEndpointCreateArgs} args - Arguments to create a PublicIncomingWebhookEndpoint.
|
|
* @example
|
|
* // Create one PublicIncomingWebhookEndpoint
|
|
* const PublicIncomingWebhookEndpoint = await prisma.publicIncomingWebhookEndpoint.create({
|
|
* data: {
|
|
* // ... data to create a PublicIncomingWebhookEndpoint
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends PublicIncomingWebhookEndpointCreateArgs>(args: Prisma.SelectSubset<T, PublicIncomingWebhookEndpointCreateArgs<ExtArgs>>): Prisma.Prisma__PublicIncomingWebhookEndpointClient<runtime.Types.Result.GetResult<Prisma.$PublicIncomingWebhookEndpointPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many PublicIncomingWebhookEndpoints.
|
|
* @param {PublicIncomingWebhookEndpointCreateManyArgs} args - Arguments to create many PublicIncomingWebhookEndpoints.
|
|
* @example
|
|
* // Create many PublicIncomingWebhookEndpoints
|
|
* const publicIncomingWebhookEndpoint = await prisma.publicIncomingWebhookEndpoint.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends PublicIncomingWebhookEndpointCreateManyArgs>(args?: Prisma.SelectSubset<T, PublicIncomingWebhookEndpointCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many PublicIncomingWebhookEndpoints and returns the data saved in the database.
|
|
* @param {PublicIncomingWebhookEndpointCreateManyAndReturnArgs} args - Arguments to create many PublicIncomingWebhookEndpoints.
|
|
* @example
|
|
* // Create many PublicIncomingWebhookEndpoints
|
|
* const publicIncomingWebhookEndpoint = await prisma.publicIncomingWebhookEndpoint.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many PublicIncomingWebhookEndpoints and only return the `id`
|
|
* const publicIncomingWebhookEndpointWithIdOnly = await prisma.publicIncomingWebhookEndpoint.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 PublicIncomingWebhookEndpointCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PublicIncomingWebhookEndpointCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PublicIncomingWebhookEndpointPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a PublicIncomingWebhookEndpoint.
|
|
* @param {PublicIncomingWebhookEndpointDeleteArgs} args - Arguments to delete one PublicIncomingWebhookEndpoint.
|
|
* @example
|
|
* // Delete one PublicIncomingWebhookEndpoint
|
|
* const PublicIncomingWebhookEndpoint = await prisma.publicIncomingWebhookEndpoint.delete({
|
|
* where: {
|
|
* // ... filter to delete one PublicIncomingWebhookEndpoint
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends PublicIncomingWebhookEndpointDeleteArgs>(args: Prisma.SelectSubset<T, PublicIncomingWebhookEndpointDeleteArgs<ExtArgs>>): Prisma.Prisma__PublicIncomingWebhookEndpointClient<runtime.Types.Result.GetResult<Prisma.$PublicIncomingWebhookEndpointPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one PublicIncomingWebhookEndpoint.
|
|
* @param {PublicIncomingWebhookEndpointUpdateArgs} args - Arguments to update one PublicIncomingWebhookEndpoint.
|
|
* @example
|
|
* // Update one PublicIncomingWebhookEndpoint
|
|
* const publicIncomingWebhookEndpoint = await prisma.publicIncomingWebhookEndpoint.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends PublicIncomingWebhookEndpointUpdateArgs>(args: Prisma.SelectSubset<T, PublicIncomingWebhookEndpointUpdateArgs<ExtArgs>>): Prisma.Prisma__PublicIncomingWebhookEndpointClient<runtime.Types.Result.GetResult<Prisma.$PublicIncomingWebhookEndpointPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more PublicIncomingWebhookEndpoints.
|
|
* @param {PublicIncomingWebhookEndpointDeleteManyArgs} args - Arguments to filter PublicIncomingWebhookEndpoints to delete.
|
|
* @example
|
|
* // Delete a few PublicIncomingWebhookEndpoints
|
|
* const { count } = await prisma.publicIncomingWebhookEndpoint.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends PublicIncomingWebhookEndpointDeleteManyArgs>(args?: Prisma.SelectSubset<T, PublicIncomingWebhookEndpointDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more PublicIncomingWebhookEndpoints.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PublicIncomingWebhookEndpointUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many PublicIncomingWebhookEndpoints
|
|
* const publicIncomingWebhookEndpoint = await prisma.publicIncomingWebhookEndpoint.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends PublicIncomingWebhookEndpointUpdateManyArgs>(args: Prisma.SelectSubset<T, PublicIncomingWebhookEndpointUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more PublicIncomingWebhookEndpoints and returns the data updated in the database.
|
|
* @param {PublicIncomingWebhookEndpointUpdateManyAndReturnArgs} args - Arguments to update many PublicIncomingWebhookEndpoints.
|
|
* @example
|
|
* // Update many PublicIncomingWebhookEndpoints
|
|
* const publicIncomingWebhookEndpoint = await prisma.publicIncomingWebhookEndpoint.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more PublicIncomingWebhookEndpoints and only return the `id`
|
|
* const publicIncomingWebhookEndpointWithIdOnly = await prisma.publicIncomingWebhookEndpoint.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 PublicIncomingWebhookEndpointUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PublicIncomingWebhookEndpointUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PublicIncomingWebhookEndpointPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one PublicIncomingWebhookEndpoint.
|
|
* @param {PublicIncomingWebhookEndpointUpsertArgs} args - Arguments to update or create a PublicIncomingWebhookEndpoint.
|
|
* @example
|
|
* // Update or create a PublicIncomingWebhookEndpoint
|
|
* const publicIncomingWebhookEndpoint = await prisma.publicIncomingWebhookEndpoint.upsert({
|
|
* create: {
|
|
* // ... data to create a PublicIncomingWebhookEndpoint
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the PublicIncomingWebhookEndpoint we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends PublicIncomingWebhookEndpointUpsertArgs>(args: Prisma.SelectSubset<T, PublicIncomingWebhookEndpointUpsertArgs<ExtArgs>>): Prisma.Prisma__PublicIncomingWebhookEndpointClient<runtime.Types.Result.GetResult<Prisma.$PublicIncomingWebhookEndpointPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of PublicIncomingWebhookEndpoints.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PublicIncomingWebhookEndpointCountArgs} args - Arguments to filter PublicIncomingWebhookEndpoints to count.
|
|
* @example
|
|
* // Count the number of PublicIncomingWebhookEndpoints
|
|
* const count = await prisma.publicIncomingWebhookEndpoint.count({
|
|
* where: {
|
|
* // ... the filter for the PublicIncomingWebhookEndpoints we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends PublicIncomingWebhookEndpointCountArgs>(
|
|
args?: Prisma.Subset<T, PublicIncomingWebhookEndpointCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], PublicIncomingWebhookEndpointCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a PublicIncomingWebhookEndpoint.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PublicIncomingWebhookEndpointAggregateArgs} 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 PublicIncomingWebhookEndpointAggregateArgs>(args: Prisma.Subset<T, PublicIncomingWebhookEndpointAggregateArgs>): Prisma.PrismaPromise<GetPublicIncomingWebhookEndpointAggregateType<T>>
|
|
|
|
/**
|
|
* Group by PublicIncomingWebhookEndpoint.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {PublicIncomingWebhookEndpointGroupByArgs} 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 PublicIncomingWebhookEndpointGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: PublicIncomingWebhookEndpointGroupByArgs['orderBy'] }
|
|
: { orderBy?: PublicIncomingWebhookEndpointGroupByArgs['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, PublicIncomingWebhookEndpointGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPublicIncomingWebhookEndpointGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the PublicIncomingWebhookEndpoint model
|
|
*/
|
|
readonly fields: PublicIncomingWebhookEndpointFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for PublicIncomingWebhookEndpoint.
|
|
* 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__PublicIncomingWebhookEndpointClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
ingestionLogs<T extends Prisma.PublicIncomingWebhookEndpoint$ingestionLogsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PublicIncomingWebhookEndpoint$ingestionLogsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PublicWebhookIngestionLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the PublicIncomingWebhookEndpoint model
|
|
*/
|
|
export interface PublicIncomingWebhookEndpointFieldRefs {
|
|
readonly id: Prisma.FieldRef<"PublicIncomingWebhookEndpoint", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"PublicIncomingWebhookEndpoint", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"PublicIncomingWebhookEndpoint", 'DateTime'>
|
|
readonly tenantId: Prisma.FieldRef<"PublicIncomingWebhookEndpoint", 'String'>
|
|
readonly slug: Prisma.FieldRef<"PublicIncomingWebhookEndpoint", 'String'>
|
|
readonly name: Prisma.FieldRef<"PublicIncomingWebhookEndpoint", 'String'>
|
|
readonly authMode: Prisma.FieldRef<"PublicIncomingWebhookEndpoint", 'PublicWebhookAuthMode'>
|
|
readonly apiKeyId: Prisma.FieldRef<"PublicIncomingWebhookEndpoint", 'String'>
|
|
readonly tokenHash: Prisma.FieldRef<"PublicIncomingWebhookEndpoint", 'String'>
|
|
readonly tokenPrefix: Prisma.FieldRef<"PublicIncomingWebhookEndpoint", 'String'>
|
|
readonly tokenLastFour: Prisma.FieldRef<"PublicIncomingWebhookEndpoint", 'String'>
|
|
readonly hmacSecretHash: Prisma.FieldRef<"PublicIncomingWebhookEndpoint", 'String'>
|
|
readonly hmacSecretPrefix: Prisma.FieldRef<"PublicIncomingWebhookEndpoint", 'String'>
|
|
readonly hmacSecretLastFour: Prisma.FieldRef<"PublicIncomingWebhookEndpoint", 'String'>
|
|
readonly payloadMapping: Prisma.FieldRef<"PublicIncomingWebhookEndpoint", 'Json'>
|
|
readonly autoMatchRules: Prisma.FieldRef<"PublicIncomingWebhookEndpoint", 'Json'>
|
|
readonly status: Prisma.FieldRef<"PublicIncomingWebhookEndpoint", 'PublicWebhookEndpointStatus'>
|
|
readonly pausedAt: Prisma.FieldRef<"PublicIncomingWebhookEndpoint", 'DateTime'>
|
|
readonly archivedAt: Prisma.FieldRef<"PublicIncomingWebhookEndpoint", 'DateTime'>
|
|
readonly isDemoData: Prisma.FieldRef<"PublicIncomingWebhookEndpoint", 'Boolean'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* PublicIncomingWebhookEndpoint findUnique
|
|
*/
|
|
export type PublicIncomingWebhookEndpointFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PublicIncomingWebhookEndpoint
|
|
*/
|
|
select?: Prisma.PublicIncomingWebhookEndpointSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PublicIncomingWebhookEndpoint
|
|
*/
|
|
omit?: Prisma.PublicIncomingWebhookEndpointOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PublicIncomingWebhookEndpointInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PublicIncomingWebhookEndpoint to fetch.
|
|
*/
|
|
where: Prisma.PublicIncomingWebhookEndpointWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PublicIncomingWebhookEndpoint findUniqueOrThrow
|
|
*/
|
|
export type PublicIncomingWebhookEndpointFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PublicIncomingWebhookEndpoint
|
|
*/
|
|
select?: Prisma.PublicIncomingWebhookEndpointSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PublicIncomingWebhookEndpoint
|
|
*/
|
|
omit?: Prisma.PublicIncomingWebhookEndpointOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PublicIncomingWebhookEndpointInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PublicIncomingWebhookEndpoint to fetch.
|
|
*/
|
|
where: Prisma.PublicIncomingWebhookEndpointWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PublicIncomingWebhookEndpoint findFirst
|
|
*/
|
|
export type PublicIncomingWebhookEndpointFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PublicIncomingWebhookEndpoint
|
|
*/
|
|
select?: Prisma.PublicIncomingWebhookEndpointSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PublicIncomingWebhookEndpoint
|
|
*/
|
|
omit?: Prisma.PublicIncomingWebhookEndpointOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PublicIncomingWebhookEndpointInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PublicIncomingWebhookEndpoint to fetch.
|
|
*/
|
|
where?: Prisma.PublicIncomingWebhookEndpointWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PublicIncomingWebhookEndpoints to fetch.
|
|
*/
|
|
orderBy?: Prisma.PublicIncomingWebhookEndpointOrderByWithRelationInput | Prisma.PublicIncomingWebhookEndpointOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for PublicIncomingWebhookEndpoints.
|
|
*/
|
|
cursor?: Prisma.PublicIncomingWebhookEndpointWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PublicIncomingWebhookEndpoints 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` PublicIncomingWebhookEndpoints.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of PublicIncomingWebhookEndpoints.
|
|
*/
|
|
distinct?: Prisma.PublicIncomingWebhookEndpointScalarFieldEnum | Prisma.PublicIncomingWebhookEndpointScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* PublicIncomingWebhookEndpoint findFirstOrThrow
|
|
*/
|
|
export type PublicIncomingWebhookEndpointFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PublicIncomingWebhookEndpoint
|
|
*/
|
|
select?: Prisma.PublicIncomingWebhookEndpointSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PublicIncomingWebhookEndpoint
|
|
*/
|
|
omit?: Prisma.PublicIncomingWebhookEndpointOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PublicIncomingWebhookEndpointInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PublicIncomingWebhookEndpoint to fetch.
|
|
*/
|
|
where?: Prisma.PublicIncomingWebhookEndpointWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PublicIncomingWebhookEndpoints to fetch.
|
|
*/
|
|
orderBy?: Prisma.PublicIncomingWebhookEndpointOrderByWithRelationInput | Prisma.PublicIncomingWebhookEndpointOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for PublicIncomingWebhookEndpoints.
|
|
*/
|
|
cursor?: Prisma.PublicIncomingWebhookEndpointWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PublicIncomingWebhookEndpoints 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` PublicIncomingWebhookEndpoints.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of PublicIncomingWebhookEndpoints.
|
|
*/
|
|
distinct?: Prisma.PublicIncomingWebhookEndpointScalarFieldEnum | Prisma.PublicIncomingWebhookEndpointScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* PublicIncomingWebhookEndpoint findMany
|
|
*/
|
|
export type PublicIncomingWebhookEndpointFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PublicIncomingWebhookEndpoint
|
|
*/
|
|
select?: Prisma.PublicIncomingWebhookEndpointSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PublicIncomingWebhookEndpoint
|
|
*/
|
|
omit?: Prisma.PublicIncomingWebhookEndpointOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PublicIncomingWebhookEndpointInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which PublicIncomingWebhookEndpoints to fetch.
|
|
*/
|
|
where?: Prisma.PublicIncomingWebhookEndpointWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of PublicIncomingWebhookEndpoints to fetch.
|
|
*/
|
|
orderBy?: Prisma.PublicIncomingWebhookEndpointOrderByWithRelationInput | Prisma.PublicIncomingWebhookEndpointOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing PublicIncomingWebhookEndpoints.
|
|
*/
|
|
cursor?: Prisma.PublicIncomingWebhookEndpointWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` PublicIncomingWebhookEndpoints 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` PublicIncomingWebhookEndpoints.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of PublicIncomingWebhookEndpoints.
|
|
*/
|
|
distinct?: Prisma.PublicIncomingWebhookEndpointScalarFieldEnum | Prisma.PublicIncomingWebhookEndpointScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* PublicIncomingWebhookEndpoint create
|
|
*/
|
|
export type PublicIncomingWebhookEndpointCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PublicIncomingWebhookEndpoint
|
|
*/
|
|
select?: Prisma.PublicIncomingWebhookEndpointSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PublicIncomingWebhookEndpoint
|
|
*/
|
|
omit?: Prisma.PublicIncomingWebhookEndpointOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PublicIncomingWebhookEndpointInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a PublicIncomingWebhookEndpoint.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PublicIncomingWebhookEndpointCreateInput, Prisma.PublicIncomingWebhookEndpointUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* PublicIncomingWebhookEndpoint createMany
|
|
*/
|
|
export type PublicIncomingWebhookEndpointCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many PublicIncomingWebhookEndpoints.
|
|
*/
|
|
data: Prisma.PublicIncomingWebhookEndpointCreateManyInput | Prisma.PublicIncomingWebhookEndpointCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* PublicIncomingWebhookEndpoint createManyAndReturn
|
|
*/
|
|
export type PublicIncomingWebhookEndpointCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PublicIncomingWebhookEndpoint
|
|
*/
|
|
select?: Prisma.PublicIncomingWebhookEndpointSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PublicIncomingWebhookEndpoint
|
|
*/
|
|
omit?: Prisma.PublicIncomingWebhookEndpointOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many PublicIncomingWebhookEndpoints.
|
|
*/
|
|
data: Prisma.PublicIncomingWebhookEndpointCreateManyInput | Prisma.PublicIncomingWebhookEndpointCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* PublicIncomingWebhookEndpoint update
|
|
*/
|
|
export type PublicIncomingWebhookEndpointUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PublicIncomingWebhookEndpoint
|
|
*/
|
|
select?: Prisma.PublicIncomingWebhookEndpointSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PublicIncomingWebhookEndpoint
|
|
*/
|
|
omit?: Prisma.PublicIncomingWebhookEndpointOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PublicIncomingWebhookEndpointInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a PublicIncomingWebhookEndpoint.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PublicIncomingWebhookEndpointUpdateInput, Prisma.PublicIncomingWebhookEndpointUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which PublicIncomingWebhookEndpoint to update.
|
|
*/
|
|
where: Prisma.PublicIncomingWebhookEndpointWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PublicIncomingWebhookEndpoint updateMany
|
|
*/
|
|
export type PublicIncomingWebhookEndpointUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update PublicIncomingWebhookEndpoints.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PublicIncomingWebhookEndpointUpdateManyMutationInput, Prisma.PublicIncomingWebhookEndpointUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which PublicIncomingWebhookEndpoints to update
|
|
*/
|
|
where?: Prisma.PublicIncomingWebhookEndpointWhereInput
|
|
/**
|
|
* Limit how many PublicIncomingWebhookEndpoints to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* PublicIncomingWebhookEndpoint updateManyAndReturn
|
|
*/
|
|
export type PublicIncomingWebhookEndpointUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PublicIncomingWebhookEndpoint
|
|
*/
|
|
select?: Prisma.PublicIncomingWebhookEndpointSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PublicIncomingWebhookEndpoint
|
|
*/
|
|
omit?: Prisma.PublicIncomingWebhookEndpointOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update PublicIncomingWebhookEndpoints.
|
|
*/
|
|
data: Prisma.XOR<Prisma.PublicIncomingWebhookEndpointUpdateManyMutationInput, Prisma.PublicIncomingWebhookEndpointUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which PublicIncomingWebhookEndpoints to update
|
|
*/
|
|
where?: Prisma.PublicIncomingWebhookEndpointWhereInput
|
|
/**
|
|
* Limit how many PublicIncomingWebhookEndpoints to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* PublicIncomingWebhookEndpoint upsert
|
|
*/
|
|
export type PublicIncomingWebhookEndpointUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PublicIncomingWebhookEndpoint
|
|
*/
|
|
select?: Prisma.PublicIncomingWebhookEndpointSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PublicIncomingWebhookEndpoint
|
|
*/
|
|
omit?: Prisma.PublicIncomingWebhookEndpointOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PublicIncomingWebhookEndpointInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the PublicIncomingWebhookEndpoint to update in case it exists.
|
|
*/
|
|
where: Prisma.PublicIncomingWebhookEndpointWhereUniqueInput
|
|
/**
|
|
* In case the PublicIncomingWebhookEndpoint found by the `where` argument doesn't exist, create a new PublicIncomingWebhookEndpoint with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.PublicIncomingWebhookEndpointCreateInput, Prisma.PublicIncomingWebhookEndpointUncheckedCreateInput>
|
|
/**
|
|
* In case the PublicIncomingWebhookEndpoint was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.PublicIncomingWebhookEndpointUpdateInput, Prisma.PublicIncomingWebhookEndpointUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* PublicIncomingWebhookEndpoint delete
|
|
*/
|
|
export type PublicIncomingWebhookEndpointDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PublicIncomingWebhookEndpoint
|
|
*/
|
|
select?: Prisma.PublicIncomingWebhookEndpointSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PublicIncomingWebhookEndpoint
|
|
*/
|
|
omit?: Prisma.PublicIncomingWebhookEndpointOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PublicIncomingWebhookEndpointInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which PublicIncomingWebhookEndpoint to delete.
|
|
*/
|
|
where: Prisma.PublicIncomingWebhookEndpointWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* PublicIncomingWebhookEndpoint deleteMany
|
|
*/
|
|
export type PublicIncomingWebhookEndpointDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which PublicIncomingWebhookEndpoints to delete
|
|
*/
|
|
where?: Prisma.PublicIncomingWebhookEndpointWhereInput
|
|
/**
|
|
* Limit how many PublicIncomingWebhookEndpoints to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* PublicIncomingWebhookEndpoint.ingestionLogs
|
|
*/
|
|
export type PublicIncomingWebhookEndpoint$ingestionLogsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PublicWebhookIngestionLog
|
|
*/
|
|
select?: Prisma.PublicWebhookIngestionLogSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PublicWebhookIngestionLog
|
|
*/
|
|
omit?: Prisma.PublicWebhookIngestionLogOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PublicWebhookIngestionLogInclude<ExtArgs> | null
|
|
where?: Prisma.PublicWebhookIngestionLogWhereInput
|
|
orderBy?: Prisma.PublicWebhookIngestionLogOrderByWithRelationInput | Prisma.PublicWebhookIngestionLogOrderByWithRelationInput[]
|
|
cursor?: Prisma.PublicWebhookIngestionLogWhereUniqueInput
|
|
take?: number
|
|
skip?: number
|
|
distinct?: Prisma.PublicWebhookIngestionLogScalarFieldEnum | Prisma.PublicWebhookIngestionLogScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* PublicIncomingWebhookEndpoint without action
|
|
*/
|
|
export type PublicIncomingWebhookEndpointDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the PublicIncomingWebhookEndpoint
|
|
*/
|
|
select?: Prisma.PublicIncomingWebhookEndpointSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the PublicIncomingWebhookEndpoint
|
|
*/
|
|
omit?: Prisma.PublicIncomingWebhookEndpointOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.PublicIncomingWebhookEndpointInclude<ExtArgs> | null
|
|
}
|