1290 lines
50 KiB
TypeScript
1290 lines
50 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 `AutomationCredential` 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 AutomationCredential
|
|
*
|
|
*/
|
|
export type AutomationCredentialModel = runtime.Types.Result.DefaultSelection<Prisma.$AutomationCredentialPayload>
|
|
|
|
export type AggregateAutomationCredential = {
|
|
_count: AutomationCredentialCountAggregateOutputType | null
|
|
_min: AutomationCredentialMinAggregateOutputType | null
|
|
_max: AutomationCredentialMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type AutomationCredentialMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
tenantId: string | null
|
|
name: string | null
|
|
kind: string | null
|
|
encryptedValue: string | null
|
|
createdByUserId: string | null
|
|
archivedAt: Date | null
|
|
}
|
|
|
|
export type AutomationCredentialMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
tenantId: string | null
|
|
name: string | null
|
|
kind: string | null
|
|
encryptedValue: string | null
|
|
createdByUserId: string | null
|
|
archivedAt: Date | null
|
|
}
|
|
|
|
export type AutomationCredentialCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
tenantId: number
|
|
name: number
|
|
kind: number
|
|
encryptedValue: number
|
|
metadata: number
|
|
createdByUserId: number
|
|
archivedAt: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type AutomationCredentialMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
name?: true
|
|
kind?: true
|
|
encryptedValue?: true
|
|
createdByUserId?: true
|
|
archivedAt?: true
|
|
}
|
|
|
|
export type AutomationCredentialMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
name?: true
|
|
kind?: true
|
|
encryptedValue?: true
|
|
createdByUserId?: true
|
|
archivedAt?: true
|
|
}
|
|
|
|
export type AutomationCredentialCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
name?: true
|
|
kind?: true
|
|
encryptedValue?: true
|
|
metadata?: true
|
|
createdByUserId?: true
|
|
archivedAt?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type AutomationCredentialAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AutomationCredential to aggregate.
|
|
*/
|
|
where?: Prisma.AutomationCredentialWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AutomationCredentials to fetch.
|
|
*/
|
|
orderBy?: Prisma.AutomationCredentialOrderByWithRelationInput | Prisma.AutomationCredentialOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.AutomationCredentialWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AutomationCredentials 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` AutomationCredentials.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned AutomationCredentials
|
|
**/
|
|
_count?: true | AutomationCredentialCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: AutomationCredentialMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: AutomationCredentialMaxAggregateInputType
|
|
}
|
|
|
|
export type GetAutomationCredentialAggregateType<T extends AutomationCredentialAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateAutomationCredential]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateAutomationCredential[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateAutomationCredential[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type AutomationCredentialGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.AutomationCredentialWhereInput
|
|
orderBy?: Prisma.AutomationCredentialOrderByWithAggregationInput | Prisma.AutomationCredentialOrderByWithAggregationInput[]
|
|
by: Prisma.AutomationCredentialScalarFieldEnum[] | Prisma.AutomationCredentialScalarFieldEnum
|
|
having?: Prisma.AutomationCredentialScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: AutomationCredentialCountAggregateInputType | true
|
|
_min?: AutomationCredentialMinAggregateInputType
|
|
_max?: AutomationCredentialMaxAggregateInputType
|
|
}
|
|
|
|
export type AutomationCredentialGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
tenantId: string
|
|
name: string
|
|
kind: string
|
|
encryptedValue: string
|
|
metadata: runtime.JsonValue
|
|
createdByUserId: string | null
|
|
archivedAt: Date | null
|
|
_count: AutomationCredentialCountAggregateOutputType | null
|
|
_min: AutomationCredentialMinAggregateOutputType | null
|
|
_max: AutomationCredentialMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetAutomationCredentialGroupByPayload<T extends AutomationCredentialGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<AutomationCredentialGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof AutomationCredentialGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AutomationCredentialGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], AutomationCredentialGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type AutomationCredentialWhereInput = {
|
|
AND?: Prisma.AutomationCredentialWhereInput | Prisma.AutomationCredentialWhereInput[]
|
|
OR?: Prisma.AutomationCredentialWhereInput[]
|
|
NOT?: Prisma.AutomationCredentialWhereInput | Prisma.AutomationCredentialWhereInput[]
|
|
id?: Prisma.StringFilter<"AutomationCredential"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"AutomationCredential"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AutomationCredential"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"AutomationCredential"> | string
|
|
name?: Prisma.StringFilter<"AutomationCredential"> | string
|
|
kind?: Prisma.StringFilter<"AutomationCredential"> | string
|
|
encryptedValue?: Prisma.StringFilter<"AutomationCredential"> | string
|
|
metadata?: Prisma.JsonFilter<"AutomationCredential">
|
|
createdByUserId?: Prisma.StringNullableFilter<"AutomationCredential"> | string | null
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"AutomationCredential"> | Date | string | null
|
|
}
|
|
|
|
export type AutomationCredentialOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
kind?: Prisma.SortOrder
|
|
encryptedValue?: Prisma.SortOrder
|
|
metadata?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
}
|
|
|
|
export type AutomationCredentialWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
tenantId_name?: Prisma.AutomationCredentialTenantIdNameCompoundUniqueInput
|
|
AND?: Prisma.AutomationCredentialWhereInput | Prisma.AutomationCredentialWhereInput[]
|
|
OR?: Prisma.AutomationCredentialWhereInput[]
|
|
NOT?: Prisma.AutomationCredentialWhereInput | Prisma.AutomationCredentialWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"AutomationCredential"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"AutomationCredential"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"AutomationCredential"> | string
|
|
name?: Prisma.StringFilter<"AutomationCredential"> | string
|
|
kind?: Prisma.StringFilter<"AutomationCredential"> | string
|
|
encryptedValue?: Prisma.StringFilter<"AutomationCredential"> | string
|
|
metadata?: Prisma.JsonFilter<"AutomationCredential">
|
|
createdByUserId?: Prisma.StringNullableFilter<"AutomationCredential"> | string | null
|
|
archivedAt?: Prisma.DateTimeNullableFilter<"AutomationCredential"> | Date | string | null
|
|
}, "id" | "tenantId_name">
|
|
|
|
export type AutomationCredentialOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
kind?: Prisma.SortOrder
|
|
encryptedValue?: Prisma.SortOrder
|
|
metadata?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.AutomationCredentialCountOrderByAggregateInput
|
|
_max?: Prisma.AutomationCredentialMaxOrderByAggregateInput
|
|
_min?: Prisma.AutomationCredentialMinOrderByAggregateInput
|
|
}
|
|
|
|
export type AutomationCredentialScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.AutomationCredentialScalarWhereWithAggregatesInput | Prisma.AutomationCredentialScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.AutomationCredentialScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.AutomationCredentialScalarWhereWithAggregatesInput | Prisma.AutomationCredentialScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"AutomationCredential"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AutomationCredential"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AutomationCredential"> | Date | string
|
|
tenantId?: Prisma.StringWithAggregatesFilter<"AutomationCredential"> | string
|
|
name?: Prisma.StringWithAggregatesFilter<"AutomationCredential"> | string
|
|
kind?: Prisma.StringWithAggregatesFilter<"AutomationCredential"> | string
|
|
encryptedValue?: Prisma.StringWithAggregatesFilter<"AutomationCredential"> | string
|
|
metadata?: Prisma.JsonWithAggregatesFilter<"AutomationCredential">
|
|
createdByUserId?: Prisma.StringNullableWithAggregatesFilter<"AutomationCredential"> | string | null
|
|
archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AutomationCredential"> | Date | string | null
|
|
}
|
|
|
|
export type AutomationCredentialCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
name: string
|
|
kind: string
|
|
encryptedValue: string
|
|
metadata?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
createdByUserId?: string | null
|
|
archivedAt?: Date | string | null
|
|
}
|
|
|
|
export type AutomationCredentialUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
name: string
|
|
kind: string
|
|
encryptedValue: string
|
|
metadata?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
createdByUserId?: string | null
|
|
archivedAt?: Date | string | null
|
|
}
|
|
|
|
export type AutomationCredentialUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
kind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
encryptedValue?: Prisma.StringFieldUpdateOperationsInput | string
|
|
metadata?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type AutomationCredentialUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
kind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
encryptedValue?: Prisma.StringFieldUpdateOperationsInput | string
|
|
metadata?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type AutomationCredentialCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
name: string
|
|
kind: string
|
|
encryptedValue: string
|
|
metadata?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
createdByUserId?: string | null
|
|
archivedAt?: Date | string | null
|
|
}
|
|
|
|
export type AutomationCredentialUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
kind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
encryptedValue?: Prisma.StringFieldUpdateOperationsInput | string
|
|
metadata?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type AutomationCredentialUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
kind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
encryptedValue?: Prisma.StringFieldUpdateOperationsInput | string
|
|
metadata?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
createdByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type AutomationCredentialTenantIdNameCompoundUniqueInput = {
|
|
tenantId: string
|
|
name: string
|
|
}
|
|
|
|
export type AutomationCredentialCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
kind?: Prisma.SortOrder
|
|
encryptedValue?: Prisma.SortOrder
|
|
metadata?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AutomationCredentialMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
kind?: Prisma.SortOrder
|
|
encryptedValue?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type AutomationCredentialMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
kind?: Prisma.SortOrder
|
|
encryptedValue?: Prisma.SortOrder
|
|
createdByUserId?: Prisma.SortOrder
|
|
archivedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
|
|
|
|
export type AutomationCredentialSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
name?: boolean
|
|
kind?: boolean
|
|
encryptedValue?: boolean
|
|
metadata?: boolean
|
|
createdByUserId?: boolean
|
|
archivedAt?: boolean
|
|
}, ExtArgs["result"]["automationCredential"]>
|
|
|
|
export type AutomationCredentialSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
name?: boolean
|
|
kind?: boolean
|
|
encryptedValue?: boolean
|
|
metadata?: boolean
|
|
createdByUserId?: boolean
|
|
archivedAt?: boolean
|
|
}, ExtArgs["result"]["automationCredential"]>
|
|
|
|
export type AutomationCredentialSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
name?: boolean
|
|
kind?: boolean
|
|
encryptedValue?: boolean
|
|
metadata?: boolean
|
|
createdByUserId?: boolean
|
|
archivedAt?: boolean
|
|
}, ExtArgs["result"]["automationCredential"]>
|
|
|
|
export type AutomationCredentialSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
name?: boolean
|
|
kind?: boolean
|
|
encryptedValue?: boolean
|
|
metadata?: boolean
|
|
createdByUserId?: boolean
|
|
archivedAt?: boolean
|
|
}
|
|
|
|
export type AutomationCredentialOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "name" | "kind" | "encryptedValue" | "metadata" | "createdByUserId" | "archivedAt", ExtArgs["result"]["automationCredential"]>
|
|
|
|
export type $AutomationCredentialPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "AutomationCredential"
|
|
objects: {}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
tenantId: string
|
|
name: string
|
|
kind: string
|
|
encryptedValue: string
|
|
metadata: runtime.JsonValue
|
|
createdByUserId: string | null
|
|
archivedAt: Date | null
|
|
}, ExtArgs["result"]["automationCredential"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type AutomationCredentialGetPayload<S extends boolean | null | undefined | AutomationCredentialDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AutomationCredentialPayload, S>
|
|
|
|
export type AutomationCredentialCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<AutomationCredentialFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: AutomationCredentialCountAggregateInputType | true
|
|
}
|
|
|
|
export interface AutomationCredentialDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AutomationCredential'], meta: { name: 'AutomationCredential' } }
|
|
/**
|
|
* Find zero or one AutomationCredential that matches the filter.
|
|
* @param {AutomationCredentialFindUniqueArgs} args - Arguments to find a AutomationCredential
|
|
* @example
|
|
* // Get one AutomationCredential
|
|
* const automationCredential = await prisma.automationCredential.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends AutomationCredentialFindUniqueArgs>(args: Prisma.SelectSubset<T, AutomationCredentialFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AutomationCredentialClient<runtime.Types.Result.GetResult<Prisma.$AutomationCredentialPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one AutomationCredential that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {AutomationCredentialFindUniqueOrThrowArgs} args - Arguments to find a AutomationCredential
|
|
* @example
|
|
* // Get one AutomationCredential
|
|
* const automationCredential = await prisma.automationCredential.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends AutomationCredentialFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AutomationCredentialFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AutomationCredentialClient<runtime.Types.Result.GetResult<Prisma.$AutomationCredentialPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AutomationCredential 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 {AutomationCredentialFindFirstArgs} args - Arguments to find a AutomationCredential
|
|
* @example
|
|
* // Get one AutomationCredential
|
|
* const automationCredential = await prisma.automationCredential.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends AutomationCredentialFindFirstArgs>(args?: Prisma.SelectSubset<T, AutomationCredentialFindFirstArgs<ExtArgs>>): Prisma.Prisma__AutomationCredentialClient<runtime.Types.Result.GetResult<Prisma.$AutomationCredentialPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first AutomationCredential 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 {AutomationCredentialFindFirstOrThrowArgs} args - Arguments to find a AutomationCredential
|
|
* @example
|
|
* // Get one AutomationCredential
|
|
* const automationCredential = await prisma.automationCredential.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends AutomationCredentialFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AutomationCredentialFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AutomationCredentialClient<runtime.Types.Result.GetResult<Prisma.$AutomationCredentialPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more AutomationCredentials 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 {AutomationCredentialFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all AutomationCredentials
|
|
* const automationCredentials = await prisma.automationCredential.findMany()
|
|
*
|
|
* // Get first 10 AutomationCredentials
|
|
* const automationCredentials = await prisma.automationCredential.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const automationCredentialWithIdOnly = await prisma.automationCredential.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends AutomationCredentialFindManyArgs>(args?: Prisma.SelectSubset<T, AutomationCredentialFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AutomationCredentialPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a AutomationCredential.
|
|
* @param {AutomationCredentialCreateArgs} args - Arguments to create a AutomationCredential.
|
|
* @example
|
|
* // Create one AutomationCredential
|
|
* const AutomationCredential = await prisma.automationCredential.create({
|
|
* data: {
|
|
* // ... data to create a AutomationCredential
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends AutomationCredentialCreateArgs>(args: Prisma.SelectSubset<T, AutomationCredentialCreateArgs<ExtArgs>>): Prisma.Prisma__AutomationCredentialClient<runtime.Types.Result.GetResult<Prisma.$AutomationCredentialPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many AutomationCredentials.
|
|
* @param {AutomationCredentialCreateManyArgs} args - Arguments to create many AutomationCredentials.
|
|
* @example
|
|
* // Create many AutomationCredentials
|
|
* const automationCredential = await prisma.automationCredential.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends AutomationCredentialCreateManyArgs>(args?: Prisma.SelectSubset<T, AutomationCredentialCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many AutomationCredentials and returns the data saved in the database.
|
|
* @param {AutomationCredentialCreateManyAndReturnArgs} args - Arguments to create many AutomationCredentials.
|
|
* @example
|
|
* // Create many AutomationCredentials
|
|
* const automationCredential = await prisma.automationCredential.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many AutomationCredentials and only return the `id`
|
|
* const automationCredentialWithIdOnly = await prisma.automationCredential.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 AutomationCredentialCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AutomationCredentialCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AutomationCredentialPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a AutomationCredential.
|
|
* @param {AutomationCredentialDeleteArgs} args - Arguments to delete one AutomationCredential.
|
|
* @example
|
|
* // Delete one AutomationCredential
|
|
* const AutomationCredential = await prisma.automationCredential.delete({
|
|
* where: {
|
|
* // ... filter to delete one AutomationCredential
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends AutomationCredentialDeleteArgs>(args: Prisma.SelectSubset<T, AutomationCredentialDeleteArgs<ExtArgs>>): Prisma.Prisma__AutomationCredentialClient<runtime.Types.Result.GetResult<Prisma.$AutomationCredentialPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one AutomationCredential.
|
|
* @param {AutomationCredentialUpdateArgs} args - Arguments to update one AutomationCredential.
|
|
* @example
|
|
* // Update one AutomationCredential
|
|
* const automationCredential = await prisma.automationCredential.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends AutomationCredentialUpdateArgs>(args: Prisma.SelectSubset<T, AutomationCredentialUpdateArgs<ExtArgs>>): Prisma.Prisma__AutomationCredentialClient<runtime.Types.Result.GetResult<Prisma.$AutomationCredentialPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more AutomationCredentials.
|
|
* @param {AutomationCredentialDeleteManyArgs} args - Arguments to filter AutomationCredentials to delete.
|
|
* @example
|
|
* // Delete a few AutomationCredentials
|
|
* const { count } = await prisma.automationCredential.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends AutomationCredentialDeleteManyArgs>(args?: Prisma.SelectSubset<T, AutomationCredentialDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AutomationCredentials.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AutomationCredentialUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many AutomationCredentials
|
|
* const automationCredential = await prisma.automationCredential.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends AutomationCredentialUpdateManyArgs>(args: Prisma.SelectSubset<T, AutomationCredentialUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more AutomationCredentials and returns the data updated in the database.
|
|
* @param {AutomationCredentialUpdateManyAndReturnArgs} args - Arguments to update many AutomationCredentials.
|
|
* @example
|
|
* // Update many AutomationCredentials
|
|
* const automationCredential = await prisma.automationCredential.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more AutomationCredentials and only return the `id`
|
|
* const automationCredentialWithIdOnly = await prisma.automationCredential.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 AutomationCredentialUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AutomationCredentialUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AutomationCredentialPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one AutomationCredential.
|
|
* @param {AutomationCredentialUpsertArgs} args - Arguments to update or create a AutomationCredential.
|
|
* @example
|
|
* // Update or create a AutomationCredential
|
|
* const automationCredential = await prisma.automationCredential.upsert({
|
|
* create: {
|
|
* // ... data to create a AutomationCredential
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the AutomationCredential we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends AutomationCredentialUpsertArgs>(args: Prisma.SelectSubset<T, AutomationCredentialUpsertArgs<ExtArgs>>): Prisma.Prisma__AutomationCredentialClient<runtime.Types.Result.GetResult<Prisma.$AutomationCredentialPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of AutomationCredentials.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AutomationCredentialCountArgs} args - Arguments to filter AutomationCredentials to count.
|
|
* @example
|
|
* // Count the number of AutomationCredentials
|
|
* const count = await prisma.automationCredential.count({
|
|
* where: {
|
|
* // ... the filter for the AutomationCredentials we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends AutomationCredentialCountArgs>(
|
|
args?: Prisma.Subset<T, AutomationCredentialCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], AutomationCredentialCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a AutomationCredential.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AutomationCredentialAggregateArgs} 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 AutomationCredentialAggregateArgs>(args: Prisma.Subset<T, AutomationCredentialAggregateArgs>): Prisma.PrismaPromise<GetAutomationCredentialAggregateType<T>>
|
|
|
|
/**
|
|
* Group by AutomationCredential.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {AutomationCredentialGroupByArgs} 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 AutomationCredentialGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: AutomationCredentialGroupByArgs['orderBy'] }
|
|
: { orderBy?: AutomationCredentialGroupByArgs['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, AutomationCredentialGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAutomationCredentialGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the AutomationCredential model
|
|
*/
|
|
readonly fields: AutomationCredentialFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for AutomationCredential.
|
|
* 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__AutomationCredentialClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the AutomationCredential model
|
|
*/
|
|
export interface AutomationCredentialFieldRefs {
|
|
readonly id: Prisma.FieldRef<"AutomationCredential", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"AutomationCredential", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"AutomationCredential", 'DateTime'>
|
|
readonly tenantId: Prisma.FieldRef<"AutomationCredential", 'String'>
|
|
readonly name: Prisma.FieldRef<"AutomationCredential", 'String'>
|
|
readonly kind: Prisma.FieldRef<"AutomationCredential", 'String'>
|
|
readonly encryptedValue: Prisma.FieldRef<"AutomationCredential", 'String'>
|
|
readonly metadata: Prisma.FieldRef<"AutomationCredential", 'Json'>
|
|
readonly createdByUserId: Prisma.FieldRef<"AutomationCredential", 'String'>
|
|
readonly archivedAt: Prisma.FieldRef<"AutomationCredential", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* AutomationCredential findUnique
|
|
*/
|
|
export type AutomationCredentialFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AutomationCredential
|
|
*/
|
|
select?: Prisma.AutomationCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AutomationCredential
|
|
*/
|
|
omit?: Prisma.AutomationCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AutomationCredential to fetch.
|
|
*/
|
|
where: Prisma.AutomationCredentialWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AutomationCredential findUniqueOrThrow
|
|
*/
|
|
export type AutomationCredentialFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AutomationCredential
|
|
*/
|
|
select?: Prisma.AutomationCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AutomationCredential
|
|
*/
|
|
omit?: Prisma.AutomationCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AutomationCredential to fetch.
|
|
*/
|
|
where: Prisma.AutomationCredentialWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AutomationCredential findFirst
|
|
*/
|
|
export type AutomationCredentialFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AutomationCredential
|
|
*/
|
|
select?: Prisma.AutomationCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AutomationCredential
|
|
*/
|
|
omit?: Prisma.AutomationCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AutomationCredential to fetch.
|
|
*/
|
|
where?: Prisma.AutomationCredentialWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AutomationCredentials to fetch.
|
|
*/
|
|
orderBy?: Prisma.AutomationCredentialOrderByWithRelationInput | Prisma.AutomationCredentialOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AutomationCredentials.
|
|
*/
|
|
cursor?: Prisma.AutomationCredentialWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AutomationCredentials 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` AutomationCredentials.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AutomationCredentials.
|
|
*/
|
|
distinct?: Prisma.AutomationCredentialScalarFieldEnum | Prisma.AutomationCredentialScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AutomationCredential findFirstOrThrow
|
|
*/
|
|
export type AutomationCredentialFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AutomationCredential
|
|
*/
|
|
select?: Prisma.AutomationCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AutomationCredential
|
|
*/
|
|
omit?: Prisma.AutomationCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AutomationCredential to fetch.
|
|
*/
|
|
where?: Prisma.AutomationCredentialWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AutomationCredentials to fetch.
|
|
*/
|
|
orderBy?: Prisma.AutomationCredentialOrderByWithRelationInput | Prisma.AutomationCredentialOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for AutomationCredentials.
|
|
*/
|
|
cursor?: Prisma.AutomationCredentialWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AutomationCredentials 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` AutomationCredentials.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AutomationCredentials.
|
|
*/
|
|
distinct?: Prisma.AutomationCredentialScalarFieldEnum | Prisma.AutomationCredentialScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AutomationCredential findMany
|
|
*/
|
|
export type AutomationCredentialFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AutomationCredential
|
|
*/
|
|
select?: Prisma.AutomationCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AutomationCredential
|
|
*/
|
|
omit?: Prisma.AutomationCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which AutomationCredentials to fetch.
|
|
*/
|
|
where?: Prisma.AutomationCredentialWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of AutomationCredentials to fetch.
|
|
*/
|
|
orderBy?: Prisma.AutomationCredentialOrderByWithRelationInput | Prisma.AutomationCredentialOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing AutomationCredentials.
|
|
*/
|
|
cursor?: Prisma.AutomationCredentialWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` AutomationCredentials 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` AutomationCredentials.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of AutomationCredentials.
|
|
*/
|
|
distinct?: Prisma.AutomationCredentialScalarFieldEnum | Prisma.AutomationCredentialScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* AutomationCredential create
|
|
*/
|
|
export type AutomationCredentialCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AutomationCredential
|
|
*/
|
|
select?: Prisma.AutomationCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AutomationCredential
|
|
*/
|
|
omit?: Prisma.AutomationCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a AutomationCredential.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AutomationCredentialCreateInput, Prisma.AutomationCredentialUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* AutomationCredential createMany
|
|
*/
|
|
export type AutomationCredentialCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many AutomationCredentials.
|
|
*/
|
|
data: Prisma.AutomationCredentialCreateManyInput | Prisma.AutomationCredentialCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AutomationCredential createManyAndReturn
|
|
*/
|
|
export type AutomationCredentialCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AutomationCredential
|
|
*/
|
|
select?: Prisma.AutomationCredentialSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AutomationCredential
|
|
*/
|
|
omit?: Prisma.AutomationCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many AutomationCredentials.
|
|
*/
|
|
data: Prisma.AutomationCredentialCreateManyInput | Prisma.AutomationCredentialCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* AutomationCredential update
|
|
*/
|
|
export type AutomationCredentialUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AutomationCredential
|
|
*/
|
|
select?: Prisma.AutomationCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AutomationCredential
|
|
*/
|
|
omit?: Prisma.AutomationCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a AutomationCredential.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AutomationCredentialUpdateInput, Prisma.AutomationCredentialUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which AutomationCredential to update.
|
|
*/
|
|
where: Prisma.AutomationCredentialWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AutomationCredential updateMany
|
|
*/
|
|
export type AutomationCredentialUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update AutomationCredentials.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AutomationCredentialUpdateManyMutationInput, Prisma.AutomationCredentialUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AutomationCredentials to update
|
|
*/
|
|
where?: Prisma.AutomationCredentialWhereInput
|
|
/**
|
|
* Limit how many AutomationCredentials to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AutomationCredential updateManyAndReturn
|
|
*/
|
|
export type AutomationCredentialUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AutomationCredential
|
|
*/
|
|
select?: Prisma.AutomationCredentialSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AutomationCredential
|
|
*/
|
|
omit?: Prisma.AutomationCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update AutomationCredentials.
|
|
*/
|
|
data: Prisma.XOR<Prisma.AutomationCredentialUpdateManyMutationInput, Prisma.AutomationCredentialUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which AutomationCredentials to update
|
|
*/
|
|
where?: Prisma.AutomationCredentialWhereInput
|
|
/**
|
|
* Limit how many AutomationCredentials to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AutomationCredential upsert
|
|
*/
|
|
export type AutomationCredentialUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AutomationCredential
|
|
*/
|
|
select?: Prisma.AutomationCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AutomationCredential
|
|
*/
|
|
omit?: Prisma.AutomationCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the AutomationCredential to update in case it exists.
|
|
*/
|
|
where: Prisma.AutomationCredentialWhereUniqueInput
|
|
/**
|
|
* In case the AutomationCredential found by the `where` argument doesn't exist, create a new AutomationCredential with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.AutomationCredentialCreateInput, Prisma.AutomationCredentialUncheckedCreateInput>
|
|
/**
|
|
* In case the AutomationCredential was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.AutomationCredentialUpdateInput, Prisma.AutomationCredentialUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* AutomationCredential delete
|
|
*/
|
|
export type AutomationCredentialDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AutomationCredential
|
|
*/
|
|
select?: Prisma.AutomationCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AutomationCredential
|
|
*/
|
|
omit?: Prisma.AutomationCredentialOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which AutomationCredential to delete.
|
|
*/
|
|
where: Prisma.AutomationCredentialWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* AutomationCredential deleteMany
|
|
*/
|
|
export type AutomationCredentialDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which AutomationCredentials to delete
|
|
*/
|
|
where?: Prisma.AutomationCredentialWhereInput
|
|
/**
|
|
* Limit how many AutomationCredentials to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* AutomationCredential without action
|
|
*/
|
|
export type AutomationCredentialDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the AutomationCredential
|
|
*/
|
|
select?: Prisma.AutomationCredentialSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the AutomationCredential
|
|
*/
|
|
omit?: Prisma.AutomationCredentialOmit<ExtArgs> | null
|
|
}
|