@nestjs-mod/webhook
Version:
Webhook module with an error filter, guard, controller, database migrations and rest-sdk for work with module from other nodejs appliaction
899 lines • 87.5 kB
TypeScript
/**
* This file exports the `Webhook` model and its related types.
*
* 🟢 You can import this file directly.
*/
import * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
* Model Webhook
*
*/
export type WebhookModel = runtime.Types.Result.DefaultSelection<Prisma.$WebhookPayload>;
export type AggregateWebhook = {
_count: WebhookCountAggregateOutputType | null;
_avg: WebhookAvgAggregateOutputType | null;
_sum: WebhookSumAggregateOutputType | null;
_min: WebhookMinAggregateOutputType | null;
_max: WebhookMaxAggregateOutputType | null;
};
export type WebhookAvgAggregateOutputType = {
requestTimeout: number | null;
};
export type WebhookSumAggregateOutputType = {
requestTimeout: number | null;
};
export type WebhookMinAggregateOutputType = {
id: string | null;
eventName: string | null;
endpoint: string | null;
enabled: boolean | null;
requestTimeout: number | null;
externalTenantId: string | null;
createdBy: string | null;
updatedBy: string | null;
createdAt: Date | null;
updatedAt: Date | null;
workUntilDate: Date | null;
};
export type WebhookMaxAggregateOutputType = {
id: string | null;
eventName: string | null;
endpoint: string | null;
enabled: boolean | null;
requestTimeout: number | null;
externalTenantId: string | null;
createdBy: string | null;
updatedBy: string | null;
createdAt: Date | null;
updatedAt: Date | null;
workUntilDate: Date | null;
};
export type WebhookCountAggregateOutputType = {
id: number;
eventName: number;
endpoint: number;
enabled: number;
headers: number;
requestTimeout: number;
externalTenantId: number;
createdBy: number;
updatedBy: number;
createdAt: number;
updatedAt: number;
workUntilDate: number;
_all: number;
};
export type WebhookAvgAggregateInputType = {
requestTimeout?: true;
};
export type WebhookSumAggregateInputType = {
requestTimeout?: true;
};
export type WebhookMinAggregateInputType = {
id?: true;
eventName?: true;
endpoint?: true;
enabled?: true;
requestTimeout?: true;
externalTenantId?: true;
createdBy?: true;
updatedBy?: true;
createdAt?: true;
updatedAt?: true;
workUntilDate?: true;
};
export type WebhookMaxAggregateInputType = {
id?: true;
eventName?: true;
endpoint?: true;
enabled?: true;
requestTimeout?: true;
externalTenantId?: true;
createdBy?: true;
updatedBy?: true;
createdAt?: true;
updatedAt?: true;
workUntilDate?: true;
};
export type WebhookCountAggregateInputType = {
id?: true;
eventName?: true;
endpoint?: true;
enabled?: true;
headers?: true;
requestTimeout?: true;
externalTenantId?: true;
createdBy?: true;
updatedBy?: true;
createdAt?: true;
updatedAt?: true;
workUntilDate?: true;
_all?: true;
};
export type WebhookAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which Webhook to aggregate.
*/
where?: Prisma.WebhookWhereInput;
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of Webhooks to fetch.
*/
orderBy?: Prisma.WebhookOrderByWithRelationInput | Prisma.WebhookOrderByWithRelationInput[];
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.WebhookWhereUniqueInput;
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` Webhooks 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` Webhooks.
*/
skip?: number;
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned Webhooks
**/
_count?: true | WebhookCountAggregateInputType;
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: WebhookAvgAggregateInputType;
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: WebhookSumAggregateInputType;
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: WebhookMinAggregateInputType;
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: WebhookMaxAggregateInputType;
};
export type GetWebhookAggregateType<T extends WebhookAggregateArgs> = {
[P in keyof T & keyof AggregateWebhook]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateWebhook[P]> : Prisma.GetScalarType<T[P], AggregateWebhook[P]>;
};
export type WebhookGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.WebhookWhereInput;
orderBy?: Prisma.WebhookOrderByWithAggregationInput | Prisma.WebhookOrderByWithAggregationInput[];
by: Prisma.WebhookScalarFieldEnum[] | Prisma.WebhookScalarFieldEnum;
having?: Prisma.WebhookScalarWhereWithAggregatesInput;
take?: number;
skip?: number;
_count?: WebhookCountAggregateInputType | true;
_avg?: WebhookAvgAggregateInputType;
_sum?: WebhookSumAggregateInputType;
_min?: WebhookMinAggregateInputType;
_max?: WebhookMaxAggregateInputType;
};
export type WebhookGroupByOutputType = {
id: string;
eventName: string;
endpoint: string;
enabled: boolean;
headers: runtime.JsonValue | null;
requestTimeout: number | null;
externalTenantId: string;
createdBy: string;
updatedBy: string;
createdAt: Date;
updatedAt: Date;
workUntilDate: Date | null;
_count: WebhookCountAggregateOutputType | null;
_avg: WebhookAvgAggregateOutputType | null;
_sum: WebhookSumAggregateOutputType | null;
_min: WebhookMinAggregateOutputType | null;
_max: WebhookMaxAggregateOutputType | null;
};
type GetWebhookGroupByPayload<T extends WebhookGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<WebhookGroupByOutputType, T['by']> & {
[P in ((keyof T) & (keyof WebhookGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], WebhookGroupByOutputType[P]> : Prisma.GetScalarType<T[P], WebhookGroupByOutputType[P]>;
}>>;
export type WebhookWhereInput = {
AND?: Prisma.WebhookWhereInput | Prisma.WebhookWhereInput[];
OR?: Prisma.WebhookWhereInput[];
NOT?: Prisma.WebhookWhereInput | Prisma.WebhookWhereInput[];
id?: Prisma.UuidFilter<"Webhook"> | string;
eventName?: Prisma.StringFilter<"Webhook"> | string;
endpoint?: Prisma.StringFilter<"Webhook"> | string;
enabled?: Prisma.BoolFilter<"Webhook"> | boolean;
headers?: Prisma.JsonNullableFilter<"Webhook">;
requestTimeout?: Prisma.IntNullableFilter<"Webhook"> | number | null;
externalTenantId?: Prisma.UuidFilter<"Webhook"> | string;
createdBy?: Prisma.UuidFilter<"Webhook"> | string;
updatedBy?: Prisma.UuidFilter<"Webhook"> | string;
createdAt?: Prisma.DateTimeFilter<"Webhook"> | Date | string;
updatedAt?: Prisma.DateTimeFilter<"Webhook"> | Date | string;
workUntilDate?: Prisma.DateTimeNullableFilter<"Webhook"> | Date | string | null;
WebhookUser_Webhook_createdByToWebhookUser?: Prisma.XOR<Prisma.WebhookUserScalarRelationFilter, Prisma.WebhookUserWhereInput>;
WebhookUser_Webhook_updatedByToWebhookUser?: Prisma.XOR<Prisma.WebhookUserScalarRelationFilter, Prisma.WebhookUserWhereInput>;
WebhookLog?: Prisma.WebhookLogListRelationFilter;
};
export type WebhookOrderByWithRelationInput = {
id?: Prisma.SortOrder;
eventName?: Prisma.SortOrder;
endpoint?: Prisma.SortOrder;
enabled?: Prisma.SortOrder;
headers?: Prisma.SortOrderInput | Prisma.SortOrder;
requestTimeout?: Prisma.SortOrderInput | Prisma.SortOrder;
externalTenantId?: Prisma.SortOrder;
createdBy?: Prisma.SortOrder;
updatedBy?: Prisma.SortOrder;
createdAt?: Prisma.SortOrder;
updatedAt?: Prisma.SortOrder;
workUntilDate?: Prisma.SortOrderInput | Prisma.SortOrder;
WebhookUser_Webhook_createdByToWebhookUser?: Prisma.WebhookUserOrderByWithRelationInput;
WebhookUser_Webhook_updatedByToWebhookUser?: Prisma.WebhookUserOrderByWithRelationInput;
WebhookLog?: Prisma.WebhookLogOrderByRelationAggregateInput;
};
export type WebhookWhereUniqueInput = Prisma.AtLeast<{
id?: string;
AND?: Prisma.WebhookWhereInput | Prisma.WebhookWhereInput[];
OR?: Prisma.WebhookWhereInput[];
NOT?: Prisma.WebhookWhereInput | Prisma.WebhookWhereInput[];
eventName?: Prisma.StringFilter<"Webhook"> | string;
endpoint?: Prisma.StringFilter<"Webhook"> | string;
enabled?: Prisma.BoolFilter<"Webhook"> | boolean;
headers?: Prisma.JsonNullableFilter<"Webhook">;
requestTimeout?: Prisma.IntNullableFilter<"Webhook"> | number | null;
externalTenantId?: Prisma.UuidFilter<"Webhook"> | string;
createdBy?: Prisma.UuidFilter<"Webhook"> | string;
updatedBy?: Prisma.UuidFilter<"Webhook"> | string;
createdAt?: Prisma.DateTimeFilter<"Webhook"> | Date | string;
updatedAt?: Prisma.DateTimeFilter<"Webhook"> | Date | string;
workUntilDate?: Prisma.DateTimeNullableFilter<"Webhook"> | Date | string | null;
WebhookUser_Webhook_createdByToWebhookUser?: Prisma.XOR<Prisma.WebhookUserScalarRelationFilter, Prisma.WebhookUserWhereInput>;
WebhookUser_Webhook_updatedByToWebhookUser?: Prisma.XOR<Prisma.WebhookUserScalarRelationFilter, Prisma.WebhookUserWhereInput>;
WebhookLog?: Prisma.WebhookLogListRelationFilter;
}, "id">;
export type WebhookOrderByWithAggregationInput = {
id?: Prisma.SortOrder;
eventName?: Prisma.SortOrder;
endpoint?: Prisma.SortOrder;
enabled?: Prisma.SortOrder;
headers?: Prisma.SortOrderInput | Prisma.SortOrder;
requestTimeout?: Prisma.SortOrderInput | Prisma.SortOrder;
externalTenantId?: Prisma.SortOrder;
createdBy?: Prisma.SortOrder;
updatedBy?: Prisma.SortOrder;
createdAt?: Prisma.SortOrder;
updatedAt?: Prisma.SortOrder;
workUntilDate?: Prisma.SortOrderInput | Prisma.SortOrder;
_count?: Prisma.WebhookCountOrderByAggregateInput;
_avg?: Prisma.WebhookAvgOrderByAggregateInput;
_max?: Prisma.WebhookMaxOrderByAggregateInput;
_min?: Prisma.WebhookMinOrderByAggregateInput;
_sum?: Prisma.WebhookSumOrderByAggregateInput;
};
export type WebhookScalarWhereWithAggregatesInput = {
AND?: Prisma.WebhookScalarWhereWithAggregatesInput | Prisma.WebhookScalarWhereWithAggregatesInput[];
OR?: Prisma.WebhookScalarWhereWithAggregatesInput[];
NOT?: Prisma.WebhookScalarWhereWithAggregatesInput | Prisma.WebhookScalarWhereWithAggregatesInput[];
id?: Prisma.UuidWithAggregatesFilter<"Webhook"> | string;
eventName?: Prisma.StringWithAggregatesFilter<"Webhook"> | string;
endpoint?: Prisma.StringWithAggregatesFilter<"Webhook"> | string;
enabled?: Prisma.BoolWithAggregatesFilter<"Webhook"> | boolean;
headers?: Prisma.JsonNullableWithAggregatesFilter<"Webhook">;
requestTimeout?: Prisma.IntNullableWithAggregatesFilter<"Webhook"> | number | null;
externalTenantId?: Prisma.UuidWithAggregatesFilter<"Webhook"> | string;
createdBy?: Prisma.UuidWithAggregatesFilter<"Webhook"> | string;
updatedBy?: Prisma.UuidWithAggregatesFilter<"Webhook"> | string;
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Webhook"> | Date | string;
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Webhook"> | Date | string;
workUntilDate?: Prisma.DateTimeNullableWithAggregatesFilter<"Webhook"> | Date | string | null;
};
export type WebhookCreateInput = {
id?: string;
eventName: string;
endpoint: string;
enabled: boolean;
headers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
requestTimeout?: number | null;
externalTenantId: string;
createdAt?: Date | string;
updatedAt?: Date | string;
workUntilDate?: Date | string | null;
WebhookUser_Webhook_createdByToWebhookUser: Prisma.WebhookUserCreateNestedOneWithoutWebhook_Webhook_createdByToWebhookUserInput;
WebhookUser_Webhook_updatedByToWebhookUser: Prisma.WebhookUserCreateNestedOneWithoutWebhook_Webhook_updatedByToWebhookUserInput;
WebhookLog?: Prisma.WebhookLogCreateNestedManyWithoutWebhookInput;
};
export type WebhookUncheckedCreateInput = {
id?: string;
eventName: string;
endpoint: string;
enabled: boolean;
headers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
requestTimeout?: number | null;
externalTenantId: string;
createdBy: string;
updatedBy: string;
createdAt?: Date | string;
updatedAt?: Date | string;
workUntilDate?: Date | string | null;
WebhookLog?: Prisma.WebhookLogUncheckedCreateNestedManyWithoutWebhookInput;
};
export type WebhookUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string;
eventName?: Prisma.StringFieldUpdateOperationsInput | string;
endpoint?: Prisma.StringFieldUpdateOperationsInput | string;
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
headers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
requestTimeout?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
externalTenantId?: Prisma.StringFieldUpdateOperationsInput | string;
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
workUntilDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
WebhookUser_Webhook_createdByToWebhookUser?: Prisma.WebhookUserUpdateOneRequiredWithoutWebhook_Webhook_createdByToWebhookUserNestedInput;
WebhookUser_Webhook_updatedByToWebhookUser?: Prisma.WebhookUserUpdateOneRequiredWithoutWebhook_Webhook_updatedByToWebhookUserNestedInput;
WebhookLog?: Prisma.WebhookLogUpdateManyWithoutWebhookNestedInput;
};
export type WebhookUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string;
eventName?: Prisma.StringFieldUpdateOperationsInput | string;
endpoint?: Prisma.StringFieldUpdateOperationsInput | string;
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
headers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
requestTimeout?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
externalTenantId?: Prisma.StringFieldUpdateOperationsInput | string;
createdBy?: Prisma.StringFieldUpdateOperationsInput | string;
updatedBy?: Prisma.StringFieldUpdateOperationsInput | string;
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
workUntilDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
WebhookLog?: Prisma.WebhookLogUncheckedUpdateManyWithoutWebhookNestedInput;
};
export type WebhookCreateManyInput = {
id?: string;
eventName: string;
endpoint: string;
enabled: boolean;
headers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
requestTimeout?: number | null;
externalTenantId: string;
createdBy: string;
updatedBy: string;
createdAt?: Date | string;
updatedAt?: Date | string;
workUntilDate?: Date | string | null;
};
export type WebhookUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string;
eventName?: Prisma.StringFieldUpdateOperationsInput | string;
endpoint?: Prisma.StringFieldUpdateOperationsInput | string;
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
headers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
requestTimeout?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
externalTenantId?: Prisma.StringFieldUpdateOperationsInput | string;
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
workUntilDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
};
export type WebhookUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string;
eventName?: Prisma.StringFieldUpdateOperationsInput | string;
endpoint?: Prisma.StringFieldUpdateOperationsInput | string;
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
headers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
requestTimeout?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
externalTenantId?: Prisma.StringFieldUpdateOperationsInput | string;
createdBy?: Prisma.StringFieldUpdateOperationsInput | string;
updatedBy?: Prisma.StringFieldUpdateOperationsInput | string;
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
workUntilDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
};
export type WebhookCountOrderByAggregateInput = {
id?: Prisma.SortOrder;
eventName?: Prisma.SortOrder;
endpoint?: Prisma.SortOrder;
enabled?: Prisma.SortOrder;
headers?: Prisma.SortOrder;
requestTimeout?: Prisma.SortOrder;
externalTenantId?: Prisma.SortOrder;
createdBy?: Prisma.SortOrder;
updatedBy?: Prisma.SortOrder;
createdAt?: Prisma.SortOrder;
updatedAt?: Prisma.SortOrder;
workUntilDate?: Prisma.SortOrder;
};
export type WebhookAvgOrderByAggregateInput = {
requestTimeout?: Prisma.SortOrder;
};
export type WebhookMaxOrderByAggregateInput = {
id?: Prisma.SortOrder;
eventName?: Prisma.SortOrder;
endpoint?: Prisma.SortOrder;
enabled?: Prisma.SortOrder;
requestTimeout?: Prisma.SortOrder;
externalTenantId?: Prisma.SortOrder;
createdBy?: Prisma.SortOrder;
updatedBy?: Prisma.SortOrder;
createdAt?: Prisma.SortOrder;
updatedAt?: Prisma.SortOrder;
workUntilDate?: Prisma.SortOrder;
};
export type WebhookMinOrderByAggregateInput = {
id?: Prisma.SortOrder;
eventName?: Prisma.SortOrder;
endpoint?: Prisma.SortOrder;
enabled?: Prisma.SortOrder;
requestTimeout?: Prisma.SortOrder;
externalTenantId?: Prisma.SortOrder;
createdBy?: Prisma.SortOrder;
updatedBy?: Prisma.SortOrder;
createdAt?: Prisma.SortOrder;
updatedAt?: Prisma.SortOrder;
workUntilDate?: Prisma.SortOrder;
};
export type WebhookSumOrderByAggregateInput = {
requestTimeout?: Prisma.SortOrder;
};
export type WebhookScalarRelationFilter = {
is?: Prisma.WebhookWhereInput;
isNot?: Prisma.WebhookWhereInput;
};
export type WebhookListRelationFilter = {
every?: Prisma.WebhookWhereInput;
some?: Prisma.WebhookWhereInput;
none?: Prisma.WebhookWhereInput;
};
export type WebhookOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder;
};
export type StringFieldUpdateOperationsInput = {
set?: string;
};
export type BoolFieldUpdateOperationsInput = {
set?: boolean;
};
export type NullableIntFieldUpdateOperationsInput = {
set?: number | null;
increment?: number;
decrement?: number;
multiply?: number;
divide?: number;
};
export type DateTimeFieldUpdateOperationsInput = {
set?: Date | string;
};
export type NullableDateTimeFieldUpdateOperationsInput = {
set?: Date | string | null;
};
export type WebhookCreateNestedOneWithoutWebhookLogInput = {
create?: Prisma.XOR<Prisma.WebhookCreateWithoutWebhookLogInput, Prisma.WebhookUncheckedCreateWithoutWebhookLogInput>;
connectOrCreate?: Prisma.WebhookCreateOrConnectWithoutWebhookLogInput;
connect?: Prisma.WebhookWhereUniqueInput;
};
export type WebhookUpdateOneRequiredWithoutWebhookLogNestedInput = {
create?: Prisma.XOR<Prisma.WebhookCreateWithoutWebhookLogInput, Prisma.WebhookUncheckedCreateWithoutWebhookLogInput>;
connectOrCreate?: Prisma.WebhookCreateOrConnectWithoutWebhookLogInput;
upsert?: Prisma.WebhookUpsertWithoutWebhookLogInput;
connect?: Prisma.WebhookWhereUniqueInput;
update?: Prisma.XOR<Prisma.XOR<Prisma.WebhookUpdateToOneWithWhereWithoutWebhookLogInput, Prisma.WebhookUpdateWithoutWebhookLogInput>, Prisma.WebhookUncheckedUpdateWithoutWebhookLogInput>;
};
export type WebhookCreateNestedManyWithoutWebhookUser_Webhook_createdByToWebhookUserInput = {
create?: Prisma.XOR<Prisma.WebhookCreateWithoutWebhookUser_Webhook_createdByToWebhookUserInput, Prisma.WebhookUncheckedCreateWithoutWebhookUser_Webhook_createdByToWebhookUserInput> | Prisma.WebhookCreateWithoutWebhookUser_Webhook_createdByToWebhookUserInput[] | Prisma.WebhookUncheckedCreateWithoutWebhookUser_Webhook_createdByToWebhookUserInput[];
connectOrCreate?: Prisma.WebhookCreateOrConnectWithoutWebhookUser_Webhook_createdByToWebhookUserInput | Prisma.WebhookCreateOrConnectWithoutWebhookUser_Webhook_createdByToWebhookUserInput[];
createMany?: Prisma.WebhookCreateManyWebhookUser_Webhook_createdByToWebhookUserInputEnvelope;
connect?: Prisma.WebhookWhereUniqueInput | Prisma.WebhookWhereUniqueInput[];
};
export type WebhookCreateNestedManyWithoutWebhookUser_Webhook_updatedByToWebhookUserInput = {
create?: Prisma.XOR<Prisma.WebhookCreateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput, Prisma.WebhookUncheckedCreateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput> | Prisma.WebhookCreateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput[] | Prisma.WebhookUncheckedCreateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput[];
connectOrCreate?: Prisma.WebhookCreateOrConnectWithoutWebhookUser_Webhook_updatedByToWebhookUserInput | Prisma.WebhookCreateOrConnectWithoutWebhookUser_Webhook_updatedByToWebhookUserInput[];
createMany?: Prisma.WebhookCreateManyWebhookUser_Webhook_updatedByToWebhookUserInputEnvelope;
connect?: Prisma.WebhookWhereUniqueInput | Prisma.WebhookWhereUniqueInput[];
};
export type WebhookUncheckedCreateNestedManyWithoutWebhookUser_Webhook_createdByToWebhookUserInput = {
create?: Prisma.XOR<Prisma.WebhookCreateWithoutWebhookUser_Webhook_createdByToWebhookUserInput, Prisma.WebhookUncheckedCreateWithoutWebhookUser_Webhook_createdByToWebhookUserInput> | Prisma.WebhookCreateWithoutWebhookUser_Webhook_createdByToWebhookUserInput[] | Prisma.WebhookUncheckedCreateWithoutWebhookUser_Webhook_createdByToWebhookUserInput[];
connectOrCreate?: Prisma.WebhookCreateOrConnectWithoutWebhookUser_Webhook_createdByToWebhookUserInput | Prisma.WebhookCreateOrConnectWithoutWebhookUser_Webhook_createdByToWebhookUserInput[];
createMany?: Prisma.WebhookCreateManyWebhookUser_Webhook_createdByToWebhookUserInputEnvelope;
connect?: Prisma.WebhookWhereUniqueInput | Prisma.WebhookWhereUniqueInput[];
};
export type WebhookUncheckedCreateNestedManyWithoutWebhookUser_Webhook_updatedByToWebhookUserInput = {
create?: Prisma.XOR<Prisma.WebhookCreateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput, Prisma.WebhookUncheckedCreateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput> | Prisma.WebhookCreateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput[] | Prisma.WebhookUncheckedCreateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput[];
connectOrCreate?: Prisma.WebhookCreateOrConnectWithoutWebhookUser_Webhook_updatedByToWebhookUserInput | Prisma.WebhookCreateOrConnectWithoutWebhookUser_Webhook_updatedByToWebhookUserInput[];
createMany?: Prisma.WebhookCreateManyWebhookUser_Webhook_updatedByToWebhookUserInputEnvelope;
connect?: Prisma.WebhookWhereUniqueInput | Prisma.WebhookWhereUniqueInput[];
};
export type WebhookUpdateManyWithoutWebhookUser_Webhook_createdByToWebhookUserNestedInput = {
create?: Prisma.XOR<Prisma.WebhookCreateWithoutWebhookUser_Webhook_createdByToWebhookUserInput, Prisma.WebhookUncheckedCreateWithoutWebhookUser_Webhook_createdByToWebhookUserInput> | Prisma.WebhookCreateWithoutWebhookUser_Webhook_createdByToWebhookUserInput[] | Prisma.WebhookUncheckedCreateWithoutWebhookUser_Webhook_createdByToWebhookUserInput[];
connectOrCreate?: Prisma.WebhookCreateOrConnectWithoutWebhookUser_Webhook_createdByToWebhookUserInput | Prisma.WebhookCreateOrConnectWithoutWebhookUser_Webhook_createdByToWebhookUserInput[];
upsert?: Prisma.WebhookUpsertWithWhereUniqueWithoutWebhookUser_Webhook_createdByToWebhookUserInput | Prisma.WebhookUpsertWithWhereUniqueWithoutWebhookUser_Webhook_createdByToWebhookUserInput[];
createMany?: Prisma.WebhookCreateManyWebhookUser_Webhook_createdByToWebhookUserInputEnvelope;
set?: Prisma.WebhookWhereUniqueInput | Prisma.WebhookWhereUniqueInput[];
disconnect?: Prisma.WebhookWhereUniqueInput | Prisma.WebhookWhereUniqueInput[];
delete?: Prisma.WebhookWhereUniqueInput | Prisma.WebhookWhereUniqueInput[];
connect?: Prisma.WebhookWhereUniqueInput | Prisma.WebhookWhereUniqueInput[];
update?: Prisma.WebhookUpdateWithWhereUniqueWithoutWebhookUser_Webhook_createdByToWebhookUserInput | Prisma.WebhookUpdateWithWhereUniqueWithoutWebhookUser_Webhook_createdByToWebhookUserInput[];
updateMany?: Prisma.WebhookUpdateManyWithWhereWithoutWebhookUser_Webhook_createdByToWebhookUserInput | Prisma.WebhookUpdateManyWithWhereWithoutWebhookUser_Webhook_createdByToWebhookUserInput[];
deleteMany?: Prisma.WebhookScalarWhereInput | Prisma.WebhookScalarWhereInput[];
};
export type WebhookUpdateManyWithoutWebhookUser_Webhook_updatedByToWebhookUserNestedInput = {
create?: Prisma.XOR<Prisma.WebhookCreateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput, Prisma.WebhookUncheckedCreateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput> | Prisma.WebhookCreateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput[] | Prisma.WebhookUncheckedCreateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput[];
connectOrCreate?: Prisma.WebhookCreateOrConnectWithoutWebhookUser_Webhook_updatedByToWebhookUserInput | Prisma.WebhookCreateOrConnectWithoutWebhookUser_Webhook_updatedByToWebhookUserInput[];
upsert?: Prisma.WebhookUpsertWithWhereUniqueWithoutWebhookUser_Webhook_updatedByToWebhookUserInput | Prisma.WebhookUpsertWithWhereUniqueWithoutWebhookUser_Webhook_updatedByToWebhookUserInput[];
createMany?: Prisma.WebhookCreateManyWebhookUser_Webhook_updatedByToWebhookUserInputEnvelope;
set?: Prisma.WebhookWhereUniqueInput | Prisma.WebhookWhereUniqueInput[];
disconnect?: Prisma.WebhookWhereUniqueInput | Prisma.WebhookWhereUniqueInput[];
delete?: Prisma.WebhookWhereUniqueInput | Prisma.WebhookWhereUniqueInput[];
connect?: Prisma.WebhookWhereUniqueInput | Prisma.WebhookWhereUniqueInput[];
update?: Prisma.WebhookUpdateWithWhereUniqueWithoutWebhookUser_Webhook_updatedByToWebhookUserInput | Prisma.WebhookUpdateWithWhereUniqueWithoutWebhookUser_Webhook_updatedByToWebhookUserInput[];
updateMany?: Prisma.WebhookUpdateManyWithWhereWithoutWebhookUser_Webhook_updatedByToWebhookUserInput | Prisma.WebhookUpdateManyWithWhereWithoutWebhookUser_Webhook_updatedByToWebhookUserInput[];
deleteMany?: Prisma.WebhookScalarWhereInput | Prisma.WebhookScalarWhereInput[];
};
export type WebhookUncheckedUpdateManyWithoutWebhookUser_Webhook_createdByToWebhookUserNestedInput = {
create?: Prisma.XOR<Prisma.WebhookCreateWithoutWebhookUser_Webhook_createdByToWebhookUserInput, Prisma.WebhookUncheckedCreateWithoutWebhookUser_Webhook_createdByToWebhookUserInput> | Prisma.WebhookCreateWithoutWebhookUser_Webhook_createdByToWebhookUserInput[] | Prisma.WebhookUncheckedCreateWithoutWebhookUser_Webhook_createdByToWebhookUserInput[];
connectOrCreate?: Prisma.WebhookCreateOrConnectWithoutWebhookUser_Webhook_createdByToWebhookUserInput | Prisma.WebhookCreateOrConnectWithoutWebhookUser_Webhook_createdByToWebhookUserInput[];
upsert?: Prisma.WebhookUpsertWithWhereUniqueWithoutWebhookUser_Webhook_createdByToWebhookUserInput | Prisma.WebhookUpsertWithWhereUniqueWithoutWebhookUser_Webhook_createdByToWebhookUserInput[];
createMany?: Prisma.WebhookCreateManyWebhookUser_Webhook_createdByToWebhookUserInputEnvelope;
set?: Prisma.WebhookWhereUniqueInput | Prisma.WebhookWhereUniqueInput[];
disconnect?: Prisma.WebhookWhereUniqueInput | Prisma.WebhookWhereUniqueInput[];
delete?: Prisma.WebhookWhereUniqueInput | Prisma.WebhookWhereUniqueInput[];
connect?: Prisma.WebhookWhereUniqueInput | Prisma.WebhookWhereUniqueInput[];
update?: Prisma.WebhookUpdateWithWhereUniqueWithoutWebhookUser_Webhook_createdByToWebhookUserInput | Prisma.WebhookUpdateWithWhereUniqueWithoutWebhookUser_Webhook_createdByToWebhookUserInput[];
updateMany?: Prisma.WebhookUpdateManyWithWhereWithoutWebhookUser_Webhook_createdByToWebhookUserInput | Prisma.WebhookUpdateManyWithWhereWithoutWebhookUser_Webhook_createdByToWebhookUserInput[];
deleteMany?: Prisma.WebhookScalarWhereInput | Prisma.WebhookScalarWhereInput[];
};
export type WebhookUncheckedUpdateManyWithoutWebhookUser_Webhook_updatedByToWebhookUserNestedInput = {
create?: Prisma.XOR<Prisma.WebhookCreateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput, Prisma.WebhookUncheckedCreateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput> | Prisma.WebhookCreateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput[] | Prisma.WebhookUncheckedCreateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput[];
connectOrCreate?: Prisma.WebhookCreateOrConnectWithoutWebhookUser_Webhook_updatedByToWebhookUserInput | Prisma.WebhookCreateOrConnectWithoutWebhookUser_Webhook_updatedByToWebhookUserInput[];
upsert?: Prisma.WebhookUpsertWithWhereUniqueWithoutWebhookUser_Webhook_updatedByToWebhookUserInput | Prisma.WebhookUpsertWithWhereUniqueWithoutWebhookUser_Webhook_updatedByToWebhookUserInput[];
createMany?: Prisma.WebhookCreateManyWebhookUser_Webhook_updatedByToWebhookUserInputEnvelope;
set?: Prisma.WebhookWhereUniqueInput | Prisma.WebhookWhereUniqueInput[];
disconnect?: Prisma.WebhookWhereUniqueInput | Prisma.WebhookWhereUniqueInput[];
delete?: Prisma.WebhookWhereUniqueInput | Prisma.WebhookWhereUniqueInput[];
connect?: Prisma.WebhookWhereUniqueInput | Prisma.WebhookWhereUniqueInput[];
update?: Prisma.WebhookUpdateWithWhereUniqueWithoutWebhookUser_Webhook_updatedByToWebhookUserInput | Prisma.WebhookUpdateWithWhereUniqueWithoutWebhookUser_Webhook_updatedByToWebhookUserInput[];
updateMany?: Prisma.WebhookUpdateManyWithWhereWithoutWebhookUser_Webhook_updatedByToWebhookUserInput | Prisma.WebhookUpdateManyWithWhereWithoutWebhookUser_Webhook_updatedByToWebhookUserInput[];
deleteMany?: Prisma.WebhookScalarWhereInput | Prisma.WebhookScalarWhereInput[];
};
export type WebhookCreateWithoutWebhookLogInput = {
id?: string;
eventName: string;
endpoint: string;
enabled: boolean;
headers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
requestTimeout?: number | null;
externalTenantId: string;
createdAt?: Date | string;
updatedAt?: Date | string;
workUntilDate?: Date | string | null;
WebhookUser_Webhook_createdByToWebhookUser: Prisma.WebhookUserCreateNestedOneWithoutWebhook_Webhook_createdByToWebhookUserInput;
WebhookUser_Webhook_updatedByToWebhookUser: Prisma.WebhookUserCreateNestedOneWithoutWebhook_Webhook_updatedByToWebhookUserInput;
};
export type WebhookUncheckedCreateWithoutWebhookLogInput = {
id?: string;
eventName: string;
endpoint: string;
enabled: boolean;
headers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
requestTimeout?: number | null;
externalTenantId: string;
createdBy: string;
updatedBy: string;
createdAt?: Date | string;
updatedAt?: Date | string;
workUntilDate?: Date | string | null;
};
export type WebhookCreateOrConnectWithoutWebhookLogInput = {
where: Prisma.WebhookWhereUniqueInput;
create: Prisma.XOR<Prisma.WebhookCreateWithoutWebhookLogInput, Prisma.WebhookUncheckedCreateWithoutWebhookLogInput>;
};
export type WebhookUpsertWithoutWebhookLogInput = {
update: Prisma.XOR<Prisma.WebhookUpdateWithoutWebhookLogInput, Prisma.WebhookUncheckedUpdateWithoutWebhookLogInput>;
create: Prisma.XOR<Prisma.WebhookCreateWithoutWebhookLogInput, Prisma.WebhookUncheckedCreateWithoutWebhookLogInput>;
where?: Prisma.WebhookWhereInput;
};
export type WebhookUpdateToOneWithWhereWithoutWebhookLogInput = {
where?: Prisma.WebhookWhereInput;
data: Prisma.XOR<Prisma.WebhookUpdateWithoutWebhookLogInput, Prisma.WebhookUncheckedUpdateWithoutWebhookLogInput>;
};
export type WebhookUpdateWithoutWebhookLogInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string;
eventName?: Prisma.StringFieldUpdateOperationsInput | string;
endpoint?: Prisma.StringFieldUpdateOperationsInput | string;
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
headers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
requestTimeout?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
externalTenantId?: Prisma.StringFieldUpdateOperationsInput | string;
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
workUntilDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
WebhookUser_Webhook_createdByToWebhookUser?: Prisma.WebhookUserUpdateOneRequiredWithoutWebhook_Webhook_createdByToWebhookUserNestedInput;
WebhookUser_Webhook_updatedByToWebhookUser?: Prisma.WebhookUserUpdateOneRequiredWithoutWebhook_Webhook_updatedByToWebhookUserNestedInput;
};
export type WebhookUncheckedUpdateWithoutWebhookLogInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string;
eventName?: Prisma.StringFieldUpdateOperationsInput | string;
endpoint?: Prisma.StringFieldUpdateOperationsInput | string;
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
headers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
requestTimeout?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
externalTenantId?: Prisma.StringFieldUpdateOperationsInput | string;
createdBy?: Prisma.StringFieldUpdateOperationsInput | string;
updatedBy?: Prisma.StringFieldUpdateOperationsInput | string;
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
workUntilDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
};
export type WebhookCreateWithoutWebhookUser_Webhook_createdByToWebhookUserInput = {
id?: string;
eventName: string;
endpoint: string;
enabled: boolean;
headers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
requestTimeout?: number | null;
externalTenantId: string;
createdAt?: Date | string;
updatedAt?: Date | string;
workUntilDate?: Date | string | null;
WebhookUser_Webhook_updatedByToWebhookUser: Prisma.WebhookUserCreateNestedOneWithoutWebhook_Webhook_updatedByToWebhookUserInput;
WebhookLog?: Prisma.WebhookLogCreateNestedManyWithoutWebhookInput;
};
export type WebhookUncheckedCreateWithoutWebhookUser_Webhook_createdByToWebhookUserInput = {
id?: string;
eventName: string;
endpoint: string;
enabled: boolean;
headers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
requestTimeout?: number | null;
externalTenantId: string;
updatedBy: string;
createdAt?: Date | string;
updatedAt?: Date | string;
workUntilDate?: Date | string | null;
WebhookLog?: Prisma.WebhookLogUncheckedCreateNestedManyWithoutWebhookInput;
};
export type WebhookCreateOrConnectWithoutWebhookUser_Webhook_createdByToWebhookUserInput = {
where: Prisma.WebhookWhereUniqueInput;
create: Prisma.XOR<Prisma.WebhookCreateWithoutWebhookUser_Webhook_createdByToWebhookUserInput, Prisma.WebhookUncheckedCreateWithoutWebhookUser_Webhook_createdByToWebhookUserInput>;
};
export type WebhookCreateManyWebhookUser_Webhook_createdByToWebhookUserInputEnvelope = {
data: Prisma.WebhookCreateManyWebhookUser_Webhook_createdByToWebhookUserInput | Prisma.WebhookCreateManyWebhookUser_Webhook_createdByToWebhookUserInput[];
skipDuplicates?: boolean;
};
export type WebhookCreateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput = {
id?: string;
eventName: string;
endpoint: string;
enabled: boolean;
headers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
requestTimeout?: number | null;
externalTenantId: string;
createdAt?: Date | string;
updatedAt?: Date | string;
workUntilDate?: Date | string | null;
WebhookUser_Webhook_createdByToWebhookUser: Prisma.WebhookUserCreateNestedOneWithoutWebhook_Webhook_createdByToWebhookUserInput;
WebhookLog?: Prisma.WebhookLogCreateNestedManyWithoutWebhookInput;
};
export type WebhookUncheckedCreateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput = {
id?: string;
eventName: string;
endpoint: string;
enabled: boolean;
headers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
requestTimeout?: number | null;
externalTenantId: string;
createdBy: string;
createdAt?: Date | string;
updatedAt?: Date | string;
workUntilDate?: Date | string | null;
WebhookLog?: Prisma.WebhookLogUncheckedCreateNestedManyWithoutWebhookInput;
};
export type WebhookCreateOrConnectWithoutWebhookUser_Webhook_updatedByToWebhookUserInput = {
where: Prisma.WebhookWhereUniqueInput;
create: Prisma.XOR<Prisma.WebhookCreateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput, Prisma.WebhookUncheckedCreateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput>;
};
export type WebhookCreateManyWebhookUser_Webhook_updatedByToWebhookUserInputEnvelope = {
data: Prisma.WebhookCreateManyWebhookUser_Webhook_updatedByToWebhookUserInput | Prisma.WebhookCreateManyWebhookUser_Webhook_updatedByToWebhookUserInput[];
skipDuplicates?: boolean;
};
export type WebhookUpsertWithWhereUniqueWithoutWebhookUser_Webhook_createdByToWebhookUserInput = {
where: Prisma.WebhookWhereUniqueInput;
update: Prisma.XOR<Prisma.WebhookUpdateWithoutWebhookUser_Webhook_createdByToWebhookUserInput, Prisma.WebhookUncheckedUpdateWithoutWebhookUser_Webhook_createdByToWebhookUserInput>;
create: Prisma.XOR<Prisma.WebhookCreateWithoutWebhookUser_Webhook_createdByToWebhookUserInput, Prisma.WebhookUncheckedCreateWithoutWebhookUser_Webhook_createdByToWebhookUserInput>;
};
export type WebhookUpdateWithWhereUniqueWithoutWebhookUser_Webhook_createdByToWebhookUserInput = {
where: Prisma.WebhookWhereUniqueInput;
data: Prisma.XOR<Prisma.WebhookUpdateWithoutWebhookUser_Webhook_createdByToWebhookUserInput, Prisma.WebhookUncheckedUpdateWithoutWebhookUser_Webhook_createdByToWebhookUserInput>;
};
export type WebhookUpdateManyWithWhereWithoutWebhookUser_Webhook_createdByToWebhookUserInput = {
where: Prisma.WebhookScalarWhereInput;
data: Prisma.XOR<Prisma.WebhookUpdateManyMutationInput, Prisma.WebhookUncheckedUpdateManyWithoutWebhookUser_Webhook_createdByToWebhookUserInput>;
};
export type WebhookScalarWhereInput = {
AND?: Prisma.WebhookScalarWhereInput | Prisma.WebhookScalarWhereInput[];
OR?: Prisma.WebhookScalarWhereInput[];
NOT?: Prisma.WebhookScalarWhereInput | Prisma.WebhookScalarWhereInput[];
id?: Prisma.UuidFilter<"Webhook"> | string;
eventName?: Prisma.StringFilter<"Webhook"> | string;
endpoint?: Prisma.StringFilter<"Webhook"> | string;
enabled?: Prisma.BoolFilter<"Webhook"> | boolean;
headers?: Prisma.JsonNullableFilter<"Webhook">;
requestTimeout?: Prisma.IntNullableFilter<"Webhook"> | number | null;
externalTenantId?: Prisma.UuidFilter<"Webhook"> | string;
createdBy?: Prisma.UuidFilter<"Webhook"> | string;
updatedBy?: Prisma.UuidFilter<"Webhook"> | string;
createdAt?: Prisma.DateTimeFilter<"Webhook"> | Date | string;
updatedAt?: Prisma.DateTimeFilter<"Webhook"> | Date | string;
workUntilDate?: Prisma.DateTimeNullableFilter<"Webhook"> | Date | string | null;
};
export type WebhookUpsertWithWhereUniqueWithoutWebhookUser_Webhook_updatedByToWebhookUserInput = {
where: Prisma.WebhookWhereUniqueInput;
update: Prisma.XOR<Prisma.WebhookUpdateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput, Prisma.WebhookUncheckedUpdateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput>;
create: Prisma.XOR<Prisma.WebhookCreateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput, Prisma.WebhookUncheckedCreateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput>;
};
export type WebhookUpdateWithWhereUniqueWithoutWebhookUser_Webhook_updatedByToWebhookUserInput = {
where: Prisma.WebhookWhereUniqueInput;
data: Prisma.XOR<Prisma.WebhookUpdateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput, Prisma.WebhookUncheckedUpdateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput>;
};
export type WebhookUpdateManyWithWhereWithoutWebhookUser_Webhook_updatedByToWebhookUserInput = {
where: Prisma.WebhookScalarWhereInput;
data: Prisma.XOR<Prisma.WebhookUpdateManyMutationInput, Prisma.WebhookUncheckedUpdateManyWithoutWebhookUser_Webhook_updatedByToWebhookUserInput>;
};
export type WebhookCreateManyWebhookUser_Webhook_createdByToWebhookUserInput = {
id?: string;
eventName: string;
endpoint: string;
enabled: boolean;
headers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
requestTimeout?: number | null;
externalTenantId: string;
updatedBy: string;
createdAt?: Date | string;
updatedAt?: Date | string;
workUntilDate?: Date | string | null;
};
export type WebhookCreateManyWebhookUser_Webhook_updatedByToWebhookUserInput = {
id?: string;
eventName: string;
endpoint: string;
enabled: boolean;
headers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
requestTimeout?: number | null;
externalTenantId: string;
createdBy: string;
createdAt?: Date | string;
updatedAt?: Date | string;
workUntilDate?: Date | string | null;
};
export type WebhookUpdateWithoutWebhookUser_Webhook_createdByToWebhookUserInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string;
eventName?: Prisma.StringFieldUpdateOperationsInput | string;
endpoint?: Prisma.StringFieldUpdateOperationsInput | string;
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
headers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
requestTimeout?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
externalTenantId?: Prisma.StringFieldUpdateOperationsInput | string;
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
workUntilDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
WebhookUser_Webhook_updatedByToWebhookUser?: Prisma.WebhookUserUpdateOneRequiredWithoutWebhook_Webhook_updatedByToWebhookUserNestedInput;
WebhookLog?: Prisma.WebhookLogUpdateManyWithoutWebhookNestedInput;
};
export type WebhookUncheckedUpdateWithoutWebhookUser_Webhook_createdByToWebhookUserInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string;
eventName?: Prisma.StringFieldUpdateOperationsInput | string;
endpoint?: Prisma.StringFieldUpdateOperationsInput | string;
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
headers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
requestTimeout?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
externalTenantId?: Prisma.StringFieldUpdateOperationsInput | string;
updatedBy?: Prisma.StringFieldUpdateOperationsInput | string;
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
workUntilDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
WebhookLog?: Prisma.WebhookLogUncheckedUpdateManyWithoutWebhookNestedInput;
};
export type WebhookUncheckedUpdateManyWithoutWebhookUser_Webhook_createdByToWebhookUserInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string;
eventName?: Prisma.StringFieldUpdateOperationsInput | string;
endpoint?: Prisma.StringFieldUpdateOperationsInput | string;
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
headers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
requestTimeout?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
externalTenantId?: Prisma.StringFieldUpdateOperationsInput | string;
updatedBy?: Prisma.StringFieldUpdateOperationsInput | string;
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
workUntilDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
};
export type WebhookUpdateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string;
eventName?: Prisma.StringFieldUpdateOperationsInput | string;
endpoint?: Prisma.StringFieldUpdateOperationsInput | string;
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
headers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
requestTimeout?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
externalTenantId?: Prisma.StringFieldUpdateOperationsInput | string;
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
workUntilDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
WebhookUser_Webhook_createdByToWebhookUser?: Prisma.WebhookUserUpdateOneRequiredWithoutWebhook_Webhook_createdByToWebhookUserNestedInput;
WebhookLog?: Prisma.WebhookLogUpdateManyWithoutWebhookNestedInput;
};
export type WebhookUncheckedUpdateWithoutWebhookUser_Webhook_updatedByToWebhookUserInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string;
eventName?: Prisma.StringFieldUpdateOperationsInput | string;
endpoint?: Prisma.StringFieldUpdateOperationsInput | string;
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
headers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
requestTimeout?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
externalTenantId?: Prisma.StringFieldUpdateOperationsInput | string;
createdBy?: Prisma.StringFieldUpdateOperationsInput | string;
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
workUntilDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
WebhookLog?: Prisma.WebhookLogUncheckedUpdateManyWithoutWebhookNestedInput;
};
export type WebhookUncheckedUpdateManyWithoutWebhookUser_Webhook_updatedByToWebhookUserInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string;
eventName?: Prisma.StringFieldUpdateOperationsInput | string;
endpoint?: Prisma.StringFieldUpdateOperationsInput | string;
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean;
headers?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
requestTimeout?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
externalTenantId?: Prisma.StringFieldUpdateOperationsInput | string;
createdBy?: Prisma.StringFieldUpdateOperationsInput | string;
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
workUntilDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
};
/**
* Count Type WebhookCountOutputType
*/
export type WebhookCountOutputType = {
WebhookLog: number;
};
export type WebhookCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
WebhookLog?: boolean | WebhookCountOutputTypeCountWebhookLogArgs;
};
/**
* WebhookCountOutputType without action
*/
export type WebhookCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the WebhookCountOutputType
*/
select?: Prisma.WebhookCountOutputTypeSelect<ExtArgs> | null;
};
/**
* WebhookCountOutputType without action
*/
export type WebhookCountOutputTypeCountWebhookLogArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.WebhookLogWhereInput;
};
export type WebhookSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean;
eventName?: boolean;
endpoint?: boolean;
enabled?: boolean;
headers?: boolean;
requestTimeout?: boolean;
externalTenantId?: boolean;
createdBy?: boolean;
updatedBy?: boolean;
createdAt?: boolean;
updatedAt?: boolean;
workUntilDate?: boolean;
WebhookUser_Webhook_createdByToWebhook