1772 lines
74 KiB
TypeScript
1772 lines
74 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 `WorkspaceAuthProvider` 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 WorkspaceAuthProvider
|
|
*
|
|
*/
|
|
export type WorkspaceAuthProviderModel = runtime.Types.Result.DefaultSelection<Prisma.$WorkspaceAuthProviderPayload>
|
|
|
|
export type AggregateWorkspaceAuthProvider = {
|
|
_count: WorkspaceAuthProviderCountAggregateOutputType | null
|
|
_min: WorkspaceAuthProviderMinAggregateOutputType | null
|
|
_max: WorkspaceAuthProviderMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type WorkspaceAuthProviderMinAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
tenantId: string | null
|
|
kind: string | null
|
|
name: string | null
|
|
slug: string | null
|
|
enabled: boolean | null
|
|
issuer: string | null
|
|
authorizationUrl: string | null
|
|
tokenUrl: string | null
|
|
jwksUrl: string | null
|
|
clientId: string | null
|
|
entityId: string | null
|
|
ssoUrl: string | null
|
|
certificateFingerprint: string | null
|
|
metadataUpdatedAt: Date | null
|
|
}
|
|
|
|
export type WorkspaceAuthProviderMaxAggregateOutputType = {
|
|
id: string | null
|
|
createdAt: Date | null
|
|
updatedAt: Date | null
|
|
tenantId: string | null
|
|
kind: string | null
|
|
name: string | null
|
|
slug: string | null
|
|
enabled: boolean | null
|
|
issuer: string | null
|
|
authorizationUrl: string | null
|
|
tokenUrl: string | null
|
|
jwksUrl: string | null
|
|
clientId: string | null
|
|
entityId: string | null
|
|
ssoUrl: string | null
|
|
certificateFingerprint: string | null
|
|
metadataUpdatedAt: Date | null
|
|
}
|
|
|
|
export type WorkspaceAuthProviderCountAggregateOutputType = {
|
|
id: number
|
|
createdAt: number
|
|
updatedAt: number
|
|
tenantId: number
|
|
kind: number
|
|
name: number
|
|
slug: number
|
|
enabled: number
|
|
issuer: number
|
|
authorizationUrl: number
|
|
tokenUrl: number
|
|
jwksUrl: number
|
|
clientId: number
|
|
entityId: number
|
|
ssoUrl: number
|
|
certificateFingerprint: number
|
|
metadataUpdatedAt: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type WorkspaceAuthProviderMinAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
kind?: true
|
|
name?: true
|
|
slug?: true
|
|
enabled?: true
|
|
issuer?: true
|
|
authorizationUrl?: true
|
|
tokenUrl?: true
|
|
jwksUrl?: true
|
|
clientId?: true
|
|
entityId?: true
|
|
ssoUrl?: true
|
|
certificateFingerprint?: true
|
|
metadataUpdatedAt?: true
|
|
}
|
|
|
|
export type WorkspaceAuthProviderMaxAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
kind?: true
|
|
name?: true
|
|
slug?: true
|
|
enabled?: true
|
|
issuer?: true
|
|
authorizationUrl?: true
|
|
tokenUrl?: true
|
|
jwksUrl?: true
|
|
clientId?: true
|
|
entityId?: true
|
|
ssoUrl?: true
|
|
certificateFingerprint?: true
|
|
metadataUpdatedAt?: true
|
|
}
|
|
|
|
export type WorkspaceAuthProviderCountAggregateInputType = {
|
|
id?: true
|
|
createdAt?: true
|
|
updatedAt?: true
|
|
tenantId?: true
|
|
kind?: true
|
|
name?: true
|
|
slug?: true
|
|
enabled?: true
|
|
issuer?: true
|
|
authorizationUrl?: true
|
|
tokenUrl?: true
|
|
jwksUrl?: true
|
|
clientId?: true
|
|
entityId?: true
|
|
ssoUrl?: true
|
|
certificateFingerprint?: true
|
|
metadataUpdatedAt?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type WorkspaceAuthProviderAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which WorkspaceAuthProvider to aggregate.
|
|
*/
|
|
where?: Prisma.WorkspaceAuthProviderWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of WorkspaceAuthProviders to fetch.
|
|
*/
|
|
orderBy?: Prisma.WorkspaceAuthProviderOrderByWithRelationInput | Prisma.WorkspaceAuthProviderOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.WorkspaceAuthProviderWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` WorkspaceAuthProviders 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` WorkspaceAuthProviders.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned WorkspaceAuthProviders
|
|
**/
|
|
_count?: true | WorkspaceAuthProviderCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: WorkspaceAuthProviderMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: WorkspaceAuthProviderMaxAggregateInputType
|
|
}
|
|
|
|
export type GetWorkspaceAuthProviderAggregateType<T extends WorkspaceAuthProviderAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateWorkspaceAuthProvider]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateWorkspaceAuthProvider[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateWorkspaceAuthProvider[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type WorkspaceAuthProviderGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.WorkspaceAuthProviderWhereInput
|
|
orderBy?: Prisma.WorkspaceAuthProviderOrderByWithAggregationInput | Prisma.WorkspaceAuthProviderOrderByWithAggregationInput[]
|
|
by: Prisma.WorkspaceAuthProviderScalarFieldEnum[] | Prisma.WorkspaceAuthProviderScalarFieldEnum
|
|
having?: Prisma.WorkspaceAuthProviderScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: WorkspaceAuthProviderCountAggregateInputType | true
|
|
_min?: WorkspaceAuthProviderMinAggregateInputType
|
|
_max?: WorkspaceAuthProviderMaxAggregateInputType
|
|
}
|
|
|
|
export type WorkspaceAuthProviderGroupByOutputType = {
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
tenantId: string
|
|
kind: string
|
|
name: string
|
|
slug: string
|
|
enabled: boolean
|
|
issuer: string | null
|
|
authorizationUrl: string | null
|
|
tokenUrl: string | null
|
|
jwksUrl: string | null
|
|
clientId: string | null
|
|
entityId: string | null
|
|
ssoUrl: string | null
|
|
certificateFingerprint: string | null
|
|
metadataUpdatedAt: Date | null
|
|
_count: WorkspaceAuthProviderCountAggregateOutputType | null
|
|
_min: WorkspaceAuthProviderMinAggregateOutputType | null
|
|
_max: WorkspaceAuthProviderMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetWorkspaceAuthProviderGroupByPayload<T extends WorkspaceAuthProviderGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<WorkspaceAuthProviderGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof WorkspaceAuthProviderGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], WorkspaceAuthProviderGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], WorkspaceAuthProviderGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type WorkspaceAuthProviderWhereInput = {
|
|
AND?: Prisma.WorkspaceAuthProviderWhereInput | Prisma.WorkspaceAuthProviderWhereInput[]
|
|
OR?: Prisma.WorkspaceAuthProviderWhereInput[]
|
|
NOT?: Prisma.WorkspaceAuthProviderWhereInput | Prisma.WorkspaceAuthProviderWhereInput[]
|
|
id?: Prisma.StringFilter<"WorkspaceAuthProvider"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"WorkspaceAuthProvider"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"WorkspaceAuthProvider"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"WorkspaceAuthProvider"> | string
|
|
kind?: Prisma.StringFilter<"WorkspaceAuthProvider"> | string
|
|
name?: Prisma.StringFilter<"WorkspaceAuthProvider"> | string
|
|
slug?: Prisma.StringFilter<"WorkspaceAuthProvider"> | string
|
|
enabled?: Prisma.BoolFilter<"WorkspaceAuthProvider"> | boolean
|
|
issuer?: Prisma.StringNullableFilter<"WorkspaceAuthProvider"> | string | null
|
|
authorizationUrl?: Prisma.StringNullableFilter<"WorkspaceAuthProvider"> | string | null
|
|
tokenUrl?: Prisma.StringNullableFilter<"WorkspaceAuthProvider"> | string | null
|
|
jwksUrl?: Prisma.StringNullableFilter<"WorkspaceAuthProvider"> | string | null
|
|
clientId?: Prisma.StringNullableFilter<"WorkspaceAuthProvider"> | string | null
|
|
entityId?: Prisma.StringNullableFilter<"WorkspaceAuthProvider"> | string | null
|
|
ssoUrl?: Prisma.StringNullableFilter<"WorkspaceAuthProvider"> | string | null
|
|
certificateFingerprint?: Prisma.StringNullableFilter<"WorkspaceAuthProvider"> | string | null
|
|
metadataUpdatedAt?: Prisma.DateTimeNullableFilter<"WorkspaceAuthProvider"> | Date | string | null
|
|
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>
|
|
}
|
|
|
|
export type WorkspaceAuthProviderOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
kind?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
enabled?: Prisma.SortOrder
|
|
issuer?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
authorizationUrl?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
tokenUrl?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
jwksUrl?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
clientId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
entityId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
ssoUrl?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
certificateFingerprint?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
metadataUpdatedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
tenant?: Prisma.TenantOrderByWithRelationInput
|
|
}
|
|
|
|
export type WorkspaceAuthProviderWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
tenantId_slug?: Prisma.WorkspaceAuthProviderTenantIdSlugCompoundUniqueInput
|
|
AND?: Prisma.WorkspaceAuthProviderWhereInput | Prisma.WorkspaceAuthProviderWhereInput[]
|
|
OR?: Prisma.WorkspaceAuthProviderWhereInput[]
|
|
NOT?: Prisma.WorkspaceAuthProviderWhereInput | Prisma.WorkspaceAuthProviderWhereInput[]
|
|
createdAt?: Prisma.DateTimeFilter<"WorkspaceAuthProvider"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"WorkspaceAuthProvider"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"WorkspaceAuthProvider"> | string
|
|
kind?: Prisma.StringFilter<"WorkspaceAuthProvider"> | string
|
|
name?: Prisma.StringFilter<"WorkspaceAuthProvider"> | string
|
|
slug?: Prisma.StringFilter<"WorkspaceAuthProvider"> | string
|
|
enabled?: Prisma.BoolFilter<"WorkspaceAuthProvider"> | boolean
|
|
issuer?: Prisma.StringNullableFilter<"WorkspaceAuthProvider"> | string | null
|
|
authorizationUrl?: Prisma.StringNullableFilter<"WorkspaceAuthProvider"> | string | null
|
|
tokenUrl?: Prisma.StringNullableFilter<"WorkspaceAuthProvider"> | string | null
|
|
jwksUrl?: Prisma.StringNullableFilter<"WorkspaceAuthProvider"> | string | null
|
|
clientId?: Prisma.StringNullableFilter<"WorkspaceAuthProvider"> | string | null
|
|
entityId?: Prisma.StringNullableFilter<"WorkspaceAuthProvider"> | string | null
|
|
ssoUrl?: Prisma.StringNullableFilter<"WorkspaceAuthProvider"> | string | null
|
|
certificateFingerprint?: Prisma.StringNullableFilter<"WorkspaceAuthProvider"> | string | null
|
|
metadataUpdatedAt?: Prisma.DateTimeNullableFilter<"WorkspaceAuthProvider"> | Date | string | null
|
|
tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>
|
|
}, "id" | "tenantId_slug">
|
|
|
|
export type WorkspaceAuthProviderOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
kind?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
enabled?: Prisma.SortOrder
|
|
issuer?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
authorizationUrl?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
tokenUrl?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
jwksUrl?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
clientId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
entityId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
ssoUrl?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
certificateFingerprint?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
metadataUpdatedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
_count?: Prisma.WorkspaceAuthProviderCountOrderByAggregateInput
|
|
_max?: Prisma.WorkspaceAuthProviderMaxOrderByAggregateInput
|
|
_min?: Prisma.WorkspaceAuthProviderMinOrderByAggregateInput
|
|
}
|
|
|
|
export type WorkspaceAuthProviderScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.WorkspaceAuthProviderScalarWhereWithAggregatesInput | Prisma.WorkspaceAuthProviderScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.WorkspaceAuthProviderScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.WorkspaceAuthProviderScalarWhereWithAggregatesInput | Prisma.WorkspaceAuthProviderScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"WorkspaceAuthProvider"> | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"WorkspaceAuthProvider"> | Date | string
|
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"WorkspaceAuthProvider"> | Date | string
|
|
tenantId?: Prisma.StringWithAggregatesFilter<"WorkspaceAuthProvider"> | string
|
|
kind?: Prisma.StringWithAggregatesFilter<"WorkspaceAuthProvider"> | string
|
|
name?: Prisma.StringWithAggregatesFilter<"WorkspaceAuthProvider"> | string
|
|
slug?: Prisma.StringWithAggregatesFilter<"WorkspaceAuthProvider"> | string
|
|
enabled?: Prisma.BoolWithAggregatesFilter<"WorkspaceAuthProvider"> | boolean
|
|
issuer?: Prisma.StringNullableWithAggregatesFilter<"WorkspaceAuthProvider"> | string | null
|
|
authorizationUrl?: Prisma.StringNullableWithAggregatesFilter<"WorkspaceAuthProvider"> | string | null
|
|
tokenUrl?: Prisma.StringNullableWithAggregatesFilter<"WorkspaceAuthProvider"> | string | null
|
|
jwksUrl?: Prisma.StringNullableWithAggregatesFilter<"WorkspaceAuthProvider"> | string | null
|
|
clientId?: Prisma.StringNullableWithAggregatesFilter<"WorkspaceAuthProvider"> | string | null
|
|
entityId?: Prisma.StringNullableWithAggregatesFilter<"WorkspaceAuthProvider"> | string | null
|
|
ssoUrl?: Prisma.StringNullableWithAggregatesFilter<"WorkspaceAuthProvider"> | string | null
|
|
certificateFingerprint?: Prisma.StringNullableWithAggregatesFilter<"WorkspaceAuthProvider"> | string | null
|
|
metadataUpdatedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"WorkspaceAuthProvider"> | Date | string | null
|
|
}
|
|
|
|
export type WorkspaceAuthProviderCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
kind: string
|
|
name: string
|
|
slug: string
|
|
enabled?: boolean
|
|
issuer?: string | null
|
|
authorizationUrl?: string | null
|
|
tokenUrl?: string | null
|
|
jwksUrl?: string | null
|
|
clientId?: string | null
|
|
entityId?: string | null
|
|
ssoUrl?: string | null
|
|
certificateFingerprint?: string | null
|
|
metadataUpdatedAt?: Date | string | null
|
|
tenant: Prisma.TenantCreateNestedOneWithoutAuthProvidersInput
|
|
}
|
|
|
|
export type WorkspaceAuthProviderUncheckedCreateInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
kind: string
|
|
name: string
|
|
slug: string
|
|
enabled?: boolean
|
|
issuer?: string | null
|
|
authorizationUrl?: string | null
|
|
tokenUrl?: string | null
|
|
jwksUrl?: string | null
|
|
clientId?: string | null
|
|
entityId?: string | null
|
|
ssoUrl?: string | null
|
|
certificateFingerprint?: string | null
|
|
metadataUpdatedAt?: Date | string | null
|
|
}
|
|
|
|
export type WorkspaceAuthProviderUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
kind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authorizationUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tokenUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
jwksUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
clientId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
entityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
ssoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
certificateFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
metadataUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutAuthProvidersNestedInput
|
|
}
|
|
|
|
export type WorkspaceAuthProviderUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
kind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authorizationUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tokenUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
jwksUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
clientId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
entityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
ssoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
certificateFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
metadataUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type WorkspaceAuthProviderCreateManyInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
tenantId: string
|
|
kind: string
|
|
name: string
|
|
slug: string
|
|
enabled?: boolean
|
|
issuer?: string | null
|
|
authorizationUrl?: string | null
|
|
tokenUrl?: string | null
|
|
jwksUrl?: string | null
|
|
clientId?: string | null
|
|
entityId?: string | null
|
|
ssoUrl?: string | null
|
|
certificateFingerprint?: string | null
|
|
metadataUpdatedAt?: Date | string | null
|
|
}
|
|
|
|
export type WorkspaceAuthProviderUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
kind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authorizationUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tokenUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
jwksUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
clientId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
entityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
ssoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
certificateFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
metadataUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type WorkspaceAuthProviderUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
kind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authorizationUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tokenUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
jwksUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
clientId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
entityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
ssoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
certificateFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
metadataUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type WorkspaceAuthProviderListRelationFilter = {
|
|
every?: Prisma.WorkspaceAuthProviderWhereInput
|
|
some?: Prisma.WorkspaceAuthProviderWhereInput
|
|
none?: Prisma.WorkspaceAuthProviderWhereInput
|
|
}
|
|
|
|
export type WorkspaceAuthProviderOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkspaceAuthProviderTenantIdSlugCompoundUniqueInput = {
|
|
tenantId: string
|
|
slug: string
|
|
}
|
|
|
|
export type WorkspaceAuthProviderCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
kind?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
enabled?: Prisma.SortOrder
|
|
issuer?: Prisma.SortOrder
|
|
authorizationUrl?: Prisma.SortOrder
|
|
tokenUrl?: Prisma.SortOrder
|
|
jwksUrl?: Prisma.SortOrder
|
|
clientId?: Prisma.SortOrder
|
|
entityId?: Prisma.SortOrder
|
|
ssoUrl?: Prisma.SortOrder
|
|
certificateFingerprint?: Prisma.SortOrder
|
|
metadataUpdatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkspaceAuthProviderMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
kind?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
enabled?: Prisma.SortOrder
|
|
issuer?: Prisma.SortOrder
|
|
authorizationUrl?: Prisma.SortOrder
|
|
tokenUrl?: Prisma.SortOrder
|
|
jwksUrl?: Prisma.SortOrder
|
|
clientId?: Prisma.SortOrder
|
|
entityId?: Prisma.SortOrder
|
|
ssoUrl?: Prisma.SortOrder
|
|
certificateFingerprint?: Prisma.SortOrder
|
|
metadataUpdatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkspaceAuthProviderMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
updatedAt?: Prisma.SortOrder
|
|
tenantId?: Prisma.SortOrder
|
|
kind?: Prisma.SortOrder
|
|
name?: Prisma.SortOrder
|
|
slug?: Prisma.SortOrder
|
|
enabled?: Prisma.SortOrder
|
|
issuer?: Prisma.SortOrder
|
|
authorizationUrl?: Prisma.SortOrder
|
|
tokenUrl?: Prisma.SortOrder
|
|
jwksUrl?: Prisma.SortOrder
|
|
clientId?: Prisma.SortOrder
|
|
entityId?: Prisma.SortOrder
|
|
ssoUrl?: Prisma.SortOrder
|
|
certificateFingerprint?: Prisma.SortOrder
|
|
metadataUpdatedAt?: Prisma.SortOrder
|
|
}
|
|
|
|
export type WorkspaceAuthProviderCreateNestedManyWithoutTenantInput = {
|
|
create?: Prisma.XOR<Prisma.WorkspaceAuthProviderCreateWithoutTenantInput, Prisma.WorkspaceAuthProviderUncheckedCreateWithoutTenantInput> | Prisma.WorkspaceAuthProviderCreateWithoutTenantInput[] | Prisma.WorkspaceAuthProviderUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.WorkspaceAuthProviderCreateOrConnectWithoutTenantInput | Prisma.WorkspaceAuthProviderCreateOrConnectWithoutTenantInput[]
|
|
createMany?: Prisma.WorkspaceAuthProviderCreateManyTenantInputEnvelope
|
|
connect?: Prisma.WorkspaceAuthProviderWhereUniqueInput | Prisma.WorkspaceAuthProviderWhereUniqueInput[]
|
|
}
|
|
|
|
export type WorkspaceAuthProviderUncheckedCreateNestedManyWithoutTenantInput = {
|
|
create?: Prisma.XOR<Prisma.WorkspaceAuthProviderCreateWithoutTenantInput, Prisma.WorkspaceAuthProviderUncheckedCreateWithoutTenantInput> | Prisma.WorkspaceAuthProviderCreateWithoutTenantInput[] | Prisma.WorkspaceAuthProviderUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.WorkspaceAuthProviderCreateOrConnectWithoutTenantInput | Prisma.WorkspaceAuthProviderCreateOrConnectWithoutTenantInput[]
|
|
createMany?: Prisma.WorkspaceAuthProviderCreateManyTenantInputEnvelope
|
|
connect?: Prisma.WorkspaceAuthProviderWhereUniqueInput | Prisma.WorkspaceAuthProviderWhereUniqueInput[]
|
|
}
|
|
|
|
export type WorkspaceAuthProviderUpdateManyWithoutTenantNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkspaceAuthProviderCreateWithoutTenantInput, Prisma.WorkspaceAuthProviderUncheckedCreateWithoutTenantInput> | Prisma.WorkspaceAuthProviderCreateWithoutTenantInput[] | Prisma.WorkspaceAuthProviderUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.WorkspaceAuthProviderCreateOrConnectWithoutTenantInput | Prisma.WorkspaceAuthProviderCreateOrConnectWithoutTenantInput[]
|
|
upsert?: Prisma.WorkspaceAuthProviderUpsertWithWhereUniqueWithoutTenantInput | Prisma.WorkspaceAuthProviderUpsertWithWhereUniqueWithoutTenantInput[]
|
|
createMany?: Prisma.WorkspaceAuthProviderCreateManyTenantInputEnvelope
|
|
set?: Prisma.WorkspaceAuthProviderWhereUniqueInput | Prisma.WorkspaceAuthProviderWhereUniqueInput[]
|
|
disconnect?: Prisma.WorkspaceAuthProviderWhereUniqueInput | Prisma.WorkspaceAuthProviderWhereUniqueInput[]
|
|
delete?: Prisma.WorkspaceAuthProviderWhereUniqueInput | Prisma.WorkspaceAuthProviderWhereUniqueInput[]
|
|
connect?: Prisma.WorkspaceAuthProviderWhereUniqueInput | Prisma.WorkspaceAuthProviderWhereUniqueInput[]
|
|
update?: Prisma.WorkspaceAuthProviderUpdateWithWhereUniqueWithoutTenantInput | Prisma.WorkspaceAuthProviderUpdateWithWhereUniqueWithoutTenantInput[]
|
|
updateMany?: Prisma.WorkspaceAuthProviderUpdateManyWithWhereWithoutTenantInput | Prisma.WorkspaceAuthProviderUpdateManyWithWhereWithoutTenantInput[]
|
|
deleteMany?: Prisma.WorkspaceAuthProviderScalarWhereInput | Prisma.WorkspaceAuthProviderScalarWhereInput[]
|
|
}
|
|
|
|
export type WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantNestedInput = {
|
|
create?: Prisma.XOR<Prisma.WorkspaceAuthProviderCreateWithoutTenantInput, Prisma.WorkspaceAuthProviderUncheckedCreateWithoutTenantInput> | Prisma.WorkspaceAuthProviderCreateWithoutTenantInput[] | Prisma.WorkspaceAuthProviderUncheckedCreateWithoutTenantInput[]
|
|
connectOrCreate?: Prisma.WorkspaceAuthProviderCreateOrConnectWithoutTenantInput | Prisma.WorkspaceAuthProviderCreateOrConnectWithoutTenantInput[]
|
|
upsert?: Prisma.WorkspaceAuthProviderUpsertWithWhereUniqueWithoutTenantInput | Prisma.WorkspaceAuthProviderUpsertWithWhereUniqueWithoutTenantInput[]
|
|
createMany?: Prisma.WorkspaceAuthProviderCreateManyTenantInputEnvelope
|
|
set?: Prisma.WorkspaceAuthProviderWhereUniqueInput | Prisma.WorkspaceAuthProviderWhereUniqueInput[]
|
|
disconnect?: Prisma.WorkspaceAuthProviderWhereUniqueInput | Prisma.WorkspaceAuthProviderWhereUniqueInput[]
|
|
delete?: Prisma.WorkspaceAuthProviderWhereUniqueInput | Prisma.WorkspaceAuthProviderWhereUniqueInput[]
|
|
connect?: Prisma.WorkspaceAuthProviderWhereUniqueInput | Prisma.WorkspaceAuthProviderWhereUniqueInput[]
|
|
update?: Prisma.WorkspaceAuthProviderUpdateWithWhereUniqueWithoutTenantInput | Prisma.WorkspaceAuthProviderUpdateWithWhereUniqueWithoutTenantInput[]
|
|
updateMany?: Prisma.WorkspaceAuthProviderUpdateManyWithWhereWithoutTenantInput | Prisma.WorkspaceAuthProviderUpdateManyWithWhereWithoutTenantInput[]
|
|
deleteMany?: Prisma.WorkspaceAuthProviderScalarWhereInput | Prisma.WorkspaceAuthProviderScalarWhereInput[]
|
|
}
|
|
|
|
export type WorkspaceAuthProviderCreateWithoutTenantInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
kind: string
|
|
name: string
|
|
slug: string
|
|
enabled?: boolean
|
|
issuer?: string | null
|
|
authorizationUrl?: string | null
|
|
tokenUrl?: string | null
|
|
jwksUrl?: string | null
|
|
clientId?: string | null
|
|
entityId?: string | null
|
|
ssoUrl?: string | null
|
|
certificateFingerprint?: string | null
|
|
metadataUpdatedAt?: Date | string | null
|
|
}
|
|
|
|
export type WorkspaceAuthProviderUncheckedCreateWithoutTenantInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
kind: string
|
|
name: string
|
|
slug: string
|
|
enabled?: boolean
|
|
issuer?: string | null
|
|
authorizationUrl?: string | null
|
|
tokenUrl?: string | null
|
|
jwksUrl?: string | null
|
|
clientId?: string | null
|
|
entityId?: string | null
|
|
ssoUrl?: string | null
|
|
certificateFingerprint?: string | null
|
|
metadataUpdatedAt?: Date | string | null
|
|
}
|
|
|
|
export type WorkspaceAuthProviderCreateOrConnectWithoutTenantInput = {
|
|
where: Prisma.WorkspaceAuthProviderWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.WorkspaceAuthProviderCreateWithoutTenantInput, Prisma.WorkspaceAuthProviderUncheckedCreateWithoutTenantInput>
|
|
}
|
|
|
|
export type WorkspaceAuthProviderCreateManyTenantInputEnvelope = {
|
|
data: Prisma.WorkspaceAuthProviderCreateManyTenantInput | Prisma.WorkspaceAuthProviderCreateManyTenantInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type WorkspaceAuthProviderUpsertWithWhereUniqueWithoutTenantInput = {
|
|
where: Prisma.WorkspaceAuthProviderWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.WorkspaceAuthProviderUpdateWithoutTenantInput, Prisma.WorkspaceAuthProviderUncheckedUpdateWithoutTenantInput>
|
|
create: Prisma.XOR<Prisma.WorkspaceAuthProviderCreateWithoutTenantInput, Prisma.WorkspaceAuthProviderUncheckedCreateWithoutTenantInput>
|
|
}
|
|
|
|
export type WorkspaceAuthProviderUpdateWithWhereUniqueWithoutTenantInput = {
|
|
where: Prisma.WorkspaceAuthProviderWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.WorkspaceAuthProviderUpdateWithoutTenantInput, Prisma.WorkspaceAuthProviderUncheckedUpdateWithoutTenantInput>
|
|
}
|
|
|
|
export type WorkspaceAuthProviderUpdateManyWithWhereWithoutTenantInput = {
|
|
where: Prisma.WorkspaceAuthProviderScalarWhereInput
|
|
data: Prisma.XOR<Prisma.WorkspaceAuthProviderUpdateManyMutationInput, Prisma.WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantInput>
|
|
}
|
|
|
|
export type WorkspaceAuthProviderScalarWhereInput = {
|
|
AND?: Prisma.WorkspaceAuthProviderScalarWhereInput | Prisma.WorkspaceAuthProviderScalarWhereInput[]
|
|
OR?: Prisma.WorkspaceAuthProviderScalarWhereInput[]
|
|
NOT?: Prisma.WorkspaceAuthProviderScalarWhereInput | Prisma.WorkspaceAuthProviderScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"WorkspaceAuthProvider"> | string
|
|
createdAt?: Prisma.DateTimeFilter<"WorkspaceAuthProvider"> | Date | string
|
|
updatedAt?: Prisma.DateTimeFilter<"WorkspaceAuthProvider"> | Date | string
|
|
tenantId?: Prisma.StringFilter<"WorkspaceAuthProvider"> | string
|
|
kind?: Prisma.StringFilter<"WorkspaceAuthProvider"> | string
|
|
name?: Prisma.StringFilter<"WorkspaceAuthProvider"> | string
|
|
slug?: Prisma.StringFilter<"WorkspaceAuthProvider"> | string
|
|
enabled?: Prisma.BoolFilter<"WorkspaceAuthProvider"> | boolean
|
|
issuer?: Prisma.StringNullableFilter<"WorkspaceAuthProvider"> | string | null
|
|
authorizationUrl?: Prisma.StringNullableFilter<"WorkspaceAuthProvider"> | string | null
|
|
tokenUrl?: Prisma.StringNullableFilter<"WorkspaceAuthProvider"> | string | null
|
|
jwksUrl?: Prisma.StringNullableFilter<"WorkspaceAuthProvider"> | string | null
|
|
clientId?: Prisma.StringNullableFilter<"WorkspaceAuthProvider"> | string | null
|
|
entityId?: Prisma.StringNullableFilter<"WorkspaceAuthProvider"> | string | null
|
|
ssoUrl?: Prisma.StringNullableFilter<"WorkspaceAuthProvider"> | string | null
|
|
certificateFingerprint?: Prisma.StringNullableFilter<"WorkspaceAuthProvider"> | string | null
|
|
metadataUpdatedAt?: Prisma.DateTimeNullableFilter<"WorkspaceAuthProvider"> | Date | string | null
|
|
}
|
|
|
|
export type WorkspaceAuthProviderCreateManyTenantInput = {
|
|
id?: string
|
|
createdAt?: Date | string
|
|
updatedAt?: Date | string
|
|
kind: string
|
|
name: string
|
|
slug: string
|
|
enabled?: boolean
|
|
issuer?: string | null
|
|
authorizationUrl?: string | null
|
|
tokenUrl?: string | null
|
|
jwksUrl?: string | null
|
|
clientId?: string | null
|
|
entityId?: string | null
|
|
ssoUrl?: string | null
|
|
certificateFingerprint?: string | null
|
|
metadataUpdatedAt?: Date | string | null
|
|
}
|
|
|
|
export type WorkspaceAuthProviderUpdateWithoutTenantInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
kind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authorizationUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tokenUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
jwksUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
clientId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
entityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
ssoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
certificateFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
metadataUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type WorkspaceAuthProviderUncheckedUpdateWithoutTenantInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
kind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authorizationUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tokenUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
jwksUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
clientId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
entityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
ssoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
certificateFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
metadataUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
export type WorkspaceAuthProviderUncheckedUpdateManyWithoutTenantInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
kind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
slug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
enabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
issuer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authorizationUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
tokenUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
jwksUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
clientId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
entityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
ssoUrl?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
certificateFingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
metadataUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
}
|
|
|
|
|
|
|
|
export type WorkspaceAuthProviderSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
kind?: boolean
|
|
name?: boolean
|
|
slug?: boolean
|
|
enabled?: boolean
|
|
issuer?: boolean
|
|
authorizationUrl?: boolean
|
|
tokenUrl?: boolean
|
|
jwksUrl?: boolean
|
|
clientId?: boolean
|
|
entityId?: boolean
|
|
ssoUrl?: boolean
|
|
certificateFingerprint?: boolean
|
|
metadataUpdatedAt?: boolean
|
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["workspaceAuthProvider"]>
|
|
|
|
export type WorkspaceAuthProviderSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
kind?: boolean
|
|
name?: boolean
|
|
slug?: boolean
|
|
enabled?: boolean
|
|
issuer?: boolean
|
|
authorizationUrl?: boolean
|
|
tokenUrl?: boolean
|
|
jwksUrl?: boolean
|
|
clientId?: boolean
|
|
entityId?: boolean
|
|
ssoUrl?: boolean
|
|
certificateFingerprint?: boolean
|
|
metadataUpdatedAt?: boolean
|
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["workspaceAuthProvider"]>
|
|
|
|
export type WorkspaceAuthProviderSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
kind?: boolean
|
|
name?: boolean
|
|
slug?: boolean
|
|
enabled?: boolean
|
|
issuer?: boolean
|
|
authorizationUrl?: boolean
|
|
tokenUrl?: boolean
|
|
jwksUrl?: boolean
|
|
clientId?: boolean
|
|
entityId?: boolean
|
|
ssoUrl?: boolean
|
|
certificateFingerprint?: boolean
|
|
metadataUpdatedAt?: boolean
|
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["workspaceAuthProvider"]>
|
|
|
|
export type WorkspaceAuthProviderSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
updatedAt?: boolean
|
|
tenantId?: boolean
|
|
kind?: boolean
|
|
name?: boolean
|
|
slug?: boolean
|
|
enabled?: boolean
|
|
issuer?: boolean
|
|
authorizationUrl?: boolean
|
|
tokenUrl?: boolean
|
|
jwksUrl?: boolean
|
|
clientId?: boolean
|
|
entityId?: boolean
|
|
ssoUrl?: boolean
|
|
certificateFingerprint?: boolean
|
|
metadataUpdatedAt?: boolean
|
|
}
|
|
|
|
export type WorkspaceAuthProviderOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "kind" | "name" | "slug" | "enabled" | "issuer" | "authorizationUrl" | "tokenUrl" | "jwksUrl" | "clientId" | "entityId" | "ssoUrl" | "certificateFingerprint" | "metadataUpdatedAt", ExtArgs["result"]["workspaceAuthProvider"]>
|
|
export type WorkspaceAuthProviderInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
|
|
}
|
|
export type WorkspaceAuthProviderIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
|
|
}
|
|
export type WorkspaceAuthProviderIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $WorkspaceAuthProviderPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "WorkspaceAuthProvider"
|
|
objects: {
|
|
tenant: Prisma.$TenantPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
updatedAt: Date
|
|
tenantId: string
|
|
kind: string
|
|
name: string
|
|
slug: string
|
|
enabled: boolean
|
|
issuer: string | null
|
|
authorizationUrl: string | null
|
|
tokenUrl: string | null
|
|
jwksUrl: string | null
|
|
clientId: string | null
|
|
entityId: string | null
|
|
ssoUrl: string | null
|
|
certificateFingerprint: string | null
|
|
metadataUpdatedAt: Date | null
|
|
}, ExtArgs["result"]["workspaceAuthProvider"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type WorkspaceAuthProviderGetPayload<S extends boolean | null | undefined | WorkspaceAuthProviderDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$WorkspaceAuthProviderPayload, S>
|
|
|
|
export type WorkspaceAuthProviderCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<WorkspaceAuthProviderFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: WorkspaceAuthProviderCountAggregateInputType | true
|
|
}
|
|
|
|
export interface WorkspaceAuthProviderDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['WorkspaceAuthProvider'], meta: { name: 'WorkspaceAuthProvider' } }
|
|
/**
|
|
* Find zero or one WorkspaceAuthProvider that matches the filter.
|
|
* @param {WorkspaceAuthProviderFindUniqueArgs} args - Arguments to find a WorkspaceAuthProvider
|
|
* @example
|
|
* // Get one WorkspaceAuthProvider
|
|
* const workspaceAuthProvider = await prisma.workspaceAuthProvider.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends WorkspaceAuthProviderFindUniqueArgs>(args: Prisma.SelectSubset<T, WorkspaceAuthProviderFindUniqueArgs<ExtArgs>>): Prisma.Prisma__WorkspaceAuthProviderClient<runtime.Types.Result.GetResult<Prisma.$WorkspaceAuthProviderPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one WorkspaceAuthProvider that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {WorkspaceAuthProviderFindUniqueOrThrowArgs} args - Arguments to find a WorkspaceAuthProvider
|
|
* @example
|
|
* // Get one WorkspaceAuthProvider
|
|
* const workspaceAuthProvider = await prisma.workspaceAuthProvider.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends WorkspaceAuthProviderFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, WorkspaceAuthProviderFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkspaceAuthProviderClient<runtime.Types.Result.GetResult<Prisma.$WorkspaceAuthProviderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first WorkspaceAuthProvider 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 {WorkspaceAuthProviderFindFirstArgs} args - Arguments to find a WorkspaceAuthProvider
|
|
* @example
|
|
* // Get one WorkspaceAuthProvider
|
|
* const workspaceAuthProvider = await prisma.workspaceAuthProvider.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends WorkspaceAuthProviderFindFirstArgs>(args?: Prisma.SelectSubset<T, WorkspaceAuthProviderFindFirstArgs<ExtArgs>>): Prisma.Prisma__WorkspaceAuthProviderClient<runtime.Types.Result.GetResult<Prisma.$WorkspaceAuthProviderPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first WorkspaceAuthProvider 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 {WorkspaceAuthProviderFindFirstOrThrowArgs} args - Arguments to find a WorkspaceAuthProvider
|
|
* @example
|
|
* // Get one WorkspaceAuthProvider
|
|
* const workspaceAuthProvider = await prisma.workspaceAuthProvider.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends WorkspaceAuthProviderFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, WorkspaceAuthProviderFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkspaceAuthProviderClient<runtime.Types.Result.GetResult<Prisma.$WorkspaceAuthProviderPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more WorkspaceAuthProviders 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 {WorkspaceAuthProviderFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all WorkspaceAuthProviders
|
|
* const workspaceAuthProviders = await prisma.workspaceAuthProvider.findMany()
|
|
*
|
|
* // Get first 10 WorkspaceAuthProviders
|
|
* const workspaceAuthProviders = await prisma.workspaceAuthProvider.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const workspaceAuthProviderWithIdOnly = await prisma.workspaceAuthProvider.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends WorkspaceAuthProviderFindManyArgs>(args?: Prisma.SelectSubset<T, WorkspaceAuthProviderFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkspaceAuthProviderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a WorkspaceAuthProvider.
|
|
* @param {WorkspaceAuthProviderCreateArgs} args - Arguments to create a WorkspaceAuthProvider.
|
|
* @example
|
|
* // Create one WorkspaceAuthProvider
|
|
* const WorkspaceAuthProvider = await prisma.workspaceAuthProvider.create({
|
|
* data: {
|
|
* // ... data to create a WorkspaceAuthProvider
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends WorkspaceAuthProviderCreateArgs>(args: Prisma.SelectSubset<T, WorkspaceAuthProviderCreateArgs<ExtArgs>>): Prisma.Prisma__WorkspaceAuthProviderClient<runtime.Types.Result.GetResult<Prisma.$WorkspaceAuthProviderPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many WorkspaceAuthProviders.
|
|
* @param {WorkspaceAuthProviderCreateManyArgs} args - Arguments to create many WorkspaceAuthProviders.
|
|
* @example
|
|
* // Create many WorkspaceAuthProviders
|
|
* const workspaceAuthProvider = await prisma.workspaceAuthProvider.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends WorkspaceAuthProviderCreateManyArgs>(args?: Prisma.SelectSubset<T, WorkspaceAuthProviderCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many WorkspaceAuthProviders and returns the data saved in the database.
|
|
* @param {WorkspaceAuthProviderCreateManyAndReturnArgs} args - Arguments to create many WorkspaceAuthProviders.
|
|
* @example
|
|
* // Create many WorkspaceAuthProviders
|
|
* const workspaceAuthProvider = await prisma.workspaceAuthProvider.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many WorkspaceAuthProviders and only return the `id`
|
|
* const workspaceAuthProviderWithIdOnly = await prisma.workspaceAuthProvider.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 WorkspaceAuthProviderCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, WorkspaceAuthProviderCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkspaceAuthProviderPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a WorkspaceAuthProvider.
|
|
* @param {WorkspaceAuthProviderDeleteArgs} args - Arguments to delete one WorkspaceAuthProvider.
|
|
* @example
|
|
* // Delete one WorkspaceAuthProvider
|
|
* const WorkspaceAuthProvider = await prisma.workspaceAuthProvider.delete({
|
|
* where: {
|
|
* // ... filter to delete one WorkspaceAuthProvider
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends WorkspaceAuthProviderDeleteArgs>(args: Prisma.SelectSubset<T, WorkspaceAuthProviderDeleteArgs<ExtArgs>>): Prisma.Prisma__WorkspaceAuthProviderClient<runtime.Types.Result.GetResult<Prisma.$WorkspaceAuthProviderPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one WorkspaceAuthProvider.
|
|
* @param {WorkspaceAuthProviderUpdateArgs} args - Arguments to update one WorkspaceAuthProvider.
|
|
* @example
|
|
* // Update one WorkspaceAuthProvider
|
|
* const workspaceAuthProvider = await prisma.workspaceAuthProvider.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends WorkspaceAuthProviderUpdateArgs>(args: Prisma.SelectSubset<T, WorkspaceAuthProviderUpdateArgs<ExtArgs>>): Prisma.Prisma__WorkspaceAuthProviderClient<runtime.Types.Result.GetResult<Prisma.$WorkspaceAuthProviderPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more WorkspaceAuthProviders.
|
|
* @param {WorkspaceAuthProviderDeleteManyArgs} args - Arguments to filter WorkspaceAuthProviders to delete.
|
|
* @example
|
|
* // Delete a few WorkspaceAuthProviders
|
|
* const { count } = await prisma.workspaceAuthProvider.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends WorkspaceAuthProviderDeleteManyArgs>(args?: Prisma.SelectSubset<T, WorkspaceAuthProviderDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more WorkspaceAuthProviders.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {WorkspaceAuthProviderUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many WorkspaceAuthProviders
|
|
* const workspaceAuthProvider = await prisma.workspaceAuthProvider.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends WorkspaceAuthProviderUpdateManyArgs>(args: Prisma.SelectSubset<T, WorkspaceAuthProviderUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more WorkspaceAuthProviders and returns the data updated in the database.
|
|
* @param {WorkspaceAuthProviderUpdateManyAndReturnArgs} args - Arguments to update many WorkspaceAuthProviders.
|
|
* @example
|
|
* // Update many WorkspaceAuthProviders
|
|
* const workspaceAuthProvider = await prisma.workspaceAuthProvider.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more WorkspaceAuthProviders and only return the `id`
|
|
* const workspaceAuthProviderWithIdOnly = await prisma.workspaceAuthProvider.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 WorkspaceAuthProviderUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, WorkspaceAuthProviderUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkspaceAuthProviderPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one WorkspaceAuthProvider.
|
|
* @param {WorkspaceAuthProviderUpsertArgs} args - Arguments to update or create a WorkspaceAuthProvider.
|
|
* @example
|
|
* // Update or create a WorkspaceAuthProvider
|
|
* const workspaceAuthProvider = await prisma.workspaceAuthProvider.upsert({
|
|
* create: {
|
|
* // ... data to create a WorkspaceAuthProvider
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the WorkspaceAuthProvider we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends WorkspaceAuthProviderUpsertArgs>(args: Prisma.SelectSubset<T, WorkspaceAuthProviderUpsertArgs<ExtArgs>>): Prisma.Prisma__WorkspaceAuthProviderClient<runtime.Types.Result.GetResult<Prisma.$WorkspaceAuthProviderPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of WorkspaceAuthProviders.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {WorkspaceAuthProviderCountArgs} args - Arguments to filter WorkspaceAuthProviders to count.
|
|
* @example
|
|
* // Count the number of WorkspaceAuthProviders
|
|
* const count = await prisma.workspaceAuthProvider.count({
|
|
* where: {
|
|
* // ... the filter for the WorkspaceAuthProviders we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends WorkspaceAuthProviderCountArgs>(
|
|
args?: Prisma.Subset<T, WorkspaceAuthProviderCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], WorkspaceAuthProviderCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a WorkspaceAuthProvider.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {WorkspaceAuthProviderAggregateArgs} 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 WorkspaceAuthProviderAggregateArgs>(args: Prisma.Subset<T, WorkspaceAuthProviderAggregateArgs>): Prisma.PrismaPromise<GetWorkspaceAuthProviderAggregateType<T>>
|
|
|
|
/**
|
|
* Group by WorkspaceAuthProvider.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {WorkspaceAuthProviderGroupByArgs} 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 WorkspaceAuthProviderGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: WorkspaceAuthProviderGroupByArgs['orderBy'] }
|
|
: { orderBy?: WorkspaceAuthProviderGroupByArgs['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, WorkspaceAuthProviderGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetWorkspaceAuthProviderGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the WorkspaceAuthProvider model
|
|
*/
|
|
readonly fields: WorkspaceAuthProviderFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for WorkspaceAuthProvider.
|
|
* 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__WorkspaceAuthProviderClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
tenant<T extends Prisma.TenantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TenantDefaultArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
/**
|
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of which ever callback is executed.
|
|
*/
|
|
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the WorkspaceAuthProvider model
|
|
*/
|
|
export interface WorkspaceAuthProviderFieldRefs {
|
|
readonly id: Prisma.FieldRef<"WorkspaceAuthProvider", 'String'>
|
|
readonly createdAt: Prisma.FieldRef<"WorkspaceAuthProvider", 'DateTime'>
|
|
readonly updatedAt: Prisma.FieldRef<"WorkspaceAuthProvider", 'DateTime'>
|
|
readonly tenantId: Prisma.FieldRef<"WorkspaceAuthProvider", 'String'>
|
|
readonly kind: Prisma.FieldRef<"WorkspaceAuthProvider", 'String'>
|
|
readonly name: Prisma.FieldRef<"WorkspaceAuthProvider", 'String'>
|
|
readonly slug: Prisma.FieldRef<"WorkspaceAuthProvider", 'String'>
|
|
readonly enabled: Prisma.FieldRef<"WorkspaceAuthProvider", 'Boolean'>
|
|
readonly issuer: Prisma.FieldRef<"WorkspaceAuthProvider", 'String'>
|
|
readonly authorizationUrl: Prisma.FieldRef<"WorkspaceAuthProvider", 'String'>
|
|
readonly tokenUrl: Prisma.FieldRef<"WorkspaceAuthProvider", 'String'>
|
|
readonly jwksUrl: Prisma.FieldRef<"WorkspaceAuthProvider", 'String'>
|
|
readonly clientId: Prisma.FieldRef<"WorkspaceAuthProvider", 'String'>
|
|
readonly entityId: Prisma.FieldRef<"WorkspaceAuthProvider", 'String'>
|
|
readonly ssoUrl: Prisma.FieldRef<"WorkspaceAuthProvider", 'String'>
|
|
readonly certificateFingerprint: Prisma.FieldRef<"WorkspaceAuthProvider", 'String'>
|
|
readonly metadataUpdatedAt: Prisma.FieldRef<"WorkspaceAuthProvider", 'DateTime'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* WorkspaceAuthProvider findUnique
|
|
*/
|
|
export type WorkspaceAuthProviderFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkspaceAuthProvider
|
|
*/
|
|
select?: Prisma.WorkspaceAuthProviderSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkspaceAuthProvider
|
|
*/
|
|
omit?: Prisma.WorkspaceAuthProviderOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkspaceAuthProviderInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which WorkspaceAuthProvider to fetch.
|
|
*/
|
|
where: Prisma.WorkspaceAuthProviderWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* WorkspaceAuthProvider findUniqueOrThrow
|
|
*/
|
|
export type WorkspaceAuthProviderFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkspaceAuthProvider
|
|
*/
|
|
select?: Prisma.WorkspaceAuthProviderSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkspaceAuthProvider
|
|
*/
|
|
omit?: Prisma.WorkspaceAuthProviderOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkspaceAuthProviderInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which WorkspaceAuthProvider to fetch.
|
|
*/
|
|
where: Prisma.WorkspaceAuthProviderWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* WorkspaceAuthProvider findFirst
|
|
*/
|
|
export type WorkspaceAuthProviderFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkspaceAuthProvider
|
|
*/
|
|
select?: Prisma.WorkspaceAuthProviderSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkspaceAuthProvider
|
|
*/
|
|
omit?: Prisma.WorkspaceAuthProviderOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkspaceAuthProviderInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which WorkspaceAuthProvider to fetch.
|
|
*/
|
|
where?: Prisma.WorkspaceAuthProviderWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of WorkspaceAuthProviders to fetch.
|
|
*/
|
|
orderBy?: Prisma.WorkspaceAuthProviderOrderByWithRelationInput | Prisma.WorkspaceAuthProviderOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for WorkspaceAuthProviders.
|
|
*/
|
|
cursor?: Prisma.WorkspaceAuthProviderWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` WorkspaceAuthProviders 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` WorkspaceAuthProviders.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of WorkspaceAuthProviders.
|
|
*/
|
|
distinct?: Prisma.WorkspaceAuthProviderScalarFieldEnum | Prisma.WorkspaceAuthProviderScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* WorkspaceAuthProvider findFirstOrThrow
|
|
*/
|
|
export type WorkspaceAuthProviderFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkspaceAuthProvider
|
|
*/
|
|
select?: Prisma.WorkspaceAuthProviderSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkspaceAuthProvider
|
|
*/
|
|
omit?: Prisma.WorkspaceAuthProviderOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkspaceAuthProviderInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which WorkspaceAuthProvider to fetch.
|
|
*/
|
|
where?: Prisma.WorkspaceAuthProviderWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of WorkspaceAuthProviders to fetch.
|
|
*/
|
|
orderBy?: Prisma.WorkspaceAuthProviderOrderByWithRelationInput | Prisma.WorkspaceAuthProviderOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for WorkspaceAuthProviders.
|
|
*/
|
|
cursor?: Prisma.WorkspaceAuthProviderWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` WorkspaceAuthProviders 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` WorkspaceAuthProviders.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of WorkspaceAuthProviders.
|
|
*/
|
|
distinct?: Prisma.WorkspaceAuthProviderScalarFieldEnum | Prisma.WorkspaceAuthProviderScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* WorkspaceAuthProvider findMany
|
|
*/
|
|
export type WorkspaceAuthProviderFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkspaceAuthProvider
|
|
*/
|
|
select?: Prisma.WorkspaceAuthProviderSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkspaceAuthProvider
|
|
*/
|
|
omit?: Prisma.WorkspaceAuthProviderOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkspaceAuthProviderInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which WorkspaceAuthProviders to fetch.
|
|
*/
|
|
where?: Prisma.WorkspaceAuthProviderWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of WorkspaceAuthProviders to fetch.
|
|
*/
|
|
orderBy?: Prisma.WorkspaceAuthProviderOrderByWithRelationInput | Prisma.WorkspaceAuthProviderOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing WorkspaceAuthProviders.
|
|
*/
|
|
cursor?: Prisma.WorkspaceAuthProviderWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` WorkspaceAuthProviders 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` WorkspaceAuthProviders.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of WorkspaceAuthProviders.
|
|
*/
|
|
distinct?: Prisma.WorkspaceAuthProviderScalarFieldEnum | Prisma.WorkspaceAuthProviderScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* WorkspaceAuthProvider create
|
|
*/
|
|
export type WorkspaceAuthProviderCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkspaceAuthProvider
|
|
*/
|
|
select?: Prisma.WorkspaceAuthProviderSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkspaceAuthProvider
|
|
*/
|
|
omit?: Prisma.WorkspaceAuthProviderOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkspaceAuthProviderInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a WorkspaceAuthProvider.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkspaceAuthProviderCreateInput, Prisma.WorkspaceAuthProviderUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* WorkspaceAuthProvider createMany
|
|
*/
|
|
export type WorkspaceAuthProviderCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many WorkspaceAuthProviders.
|
|
*/
|
|
data: Prisma.WorkspaceAuthProviderCreateManyInput | Prisma.WorkspaceAuthProviderCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* WorkspaceAuthProvider createManyAndReturn
|
|
*/
|
|
export type WorkspaceAuthProviderCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkspaceAuthProvider
|
|
*/
|
|
select?: Prisma.WorkspaceAuthProviderSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkspaceAuthProvider
|
|
*/
|
|
omit?: Prisma.WorkspaceAuthProviderOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many WorkspaceAuthProviders.
|
|
*/
|
|
data: Prisma.WorkspaceAuthProviderCreateManyInput | Prisma.WorkspaceAuthProviderCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkspaceAuthProviderIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* WorkspaceAuthProvider update
|
|
*/
|
|
export type WorkspaceAuthProviderUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkspaceAuthProvider
|
|
*/
|
|
select?: Prisma.WorkspaceAuthProviderSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkspaceAuthProvider
|
|
*/
|
|
omit?: Prisma.WorkspaceAuthProviderOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkspaceAuthProviderInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a WorkspaceAuthProvider.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkspaceAuthProviderUpdateInput, Prisma.WorkspaceAuthProviderUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which WorkspaceAuthProvider to update.
|
|
*/
|
|
where: Prisma.WorkspaceAuthProviderWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* WorkspaceAuthProvider updateMany
|
|
*/
|
|
export type WorkspaceAuthProviderUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update WorkspaceAuthProviders.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkspaceAuthProviderUpdateManyMutationInput, Prisma.WorkspaceAuthProviderUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which WorkspaceAuthProviders to update
|
|
*/
|
|
where?: Prisma.WorkspaceAuthProviderWhereInput
|
|
/**
|
|
* Limit how many WorkspaceAuthProviders to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* WorkspaceAuthProvider updateManyAndReturn
|
|
*/
|
|
export type WorkspaceAuthProviderUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkspaceAuthProvider
|
|
*/
|
|
select?: Prisma.WorkspaceAuthProviderSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkspaceAuthProvider
|
|
*/
|
|
omit?: Prisma.WorkspaceAuthProviderOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update WorkspaceAuthProviders.
|
|
*/
|
|
data: Prisma.XOR<Prisma.WorkspaceAuthProviderUpdateManyMutationInput, Prisma.WorkspaceAuthProviderUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which WorkspaceAuthProviders to update
|
|
*/
|
|
where?: Prisma.WorkspaceAuthProviderWhereInput
|
|
/**
|
|
* Limit how many WorkspaceAuthProviders to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkspaceAuthProviderIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* WorkspaceAuthProvider upsert
|
|
*/
|
|
export type WorkspaceAuthProviderUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkspaceAuthProvider
|
|
*/
|
|
select?: Prisma.WorkspaceAuthProviderSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkspaceAuthProvider
|
|
*/
|
|
omit?: Prisma.WorkspaceAuthProviderOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkspaceAuthProviderInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the WorkspaceAuthProvider to update in case it exists.
|
|
*/
|
|
where: Prisma.WorkspaceAuthProviderWhereUniqueInput
|
|
/**
|
|
* In case the WorkspaceAuthProvider found by the `where` argument doesn't exist, create a new WorkspaceAuthProvider with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.WorkspaceAuthProviderCreateInput, Prisma.WorkspaceAuthProviderUncheckedCreateInput>
|
|
/**
|
|
* In case the WorkspaceAuthProvider was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.WorkspaceAuthProviderUpdateInput, Prisma.WorkspaceAuthProviderUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* WorkspaceAuthProvider delete
|
|
*/
|
|
export type WorkspaceAuthProviderDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkspaceAuthProvider
|
|
*/
|
|
select?: Prisma.WorkspaceAuthProviderSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkspaceAuthProvider
|
|
*/
|
|
omit?: Prisma.WorkspaceAuthProviderOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkspaceAuthProviderInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which WorkspaceAuthProvider to delete.
|
|
*/
|
|
where: Prisma.WorkspaceAuthProviderWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* WorkspaceAuthProvider deleteMany
|
|
*/
|
|
export type WorkspaceAuthProviderDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which WorkspaceAuthProviders to delete
|
|
*/
|
|
where?: Prisma.WorkspaceAuthProviderWhereInput
|
|
/**
|
|
* Limit how many WorkspaceAuthProviders to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* WorkspaceAuthProvider without action
|
|
*/
|
|
export type WorkspaceAuthProviderDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the WorkspaceAuthProvider
|
|
*/
|
|
select?: Prisma.WorkspaceAuthProviderSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the WorkspaceAuthProvider
|
|
*/
|
|
omit?: Prisma.WorkspaceAuthProviderOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.WorkspaceAuthProviderInclude<ExtArgs> | null
|
|
}
|