mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-27 19:34:38 +00:00
* feat(mcp): add OAuth 2.1 support with dynamic client registration * feat(api): alias bare oauth-authorization-server discovery endpoint * fix(auth): preserve user session on OAuth sign-in redirect to consent
2301 lines
106 KiB
TypeScript
Generated
2301 lines
106 KiB
TypeScript
Generated
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `OauthAccessToken` model and its related types.
|
|
*
|
|
* 🟢 You can import this file directly.
|
|
*/
|
|
|
|
import type * as PJTG from '../pjtg';
|
|
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 OauthAccessToken
|
|
*
|
|
*/
|
|
export type OauthAccessTokenModel = runtime.Types.Result.DefaultSelection<Prisma.$OauthAccessTokenPayload>
|
|
|
|
export type AggregateOauthAccessToken = {
|
|
_count: OauthAccessTokenCountAggregateOutputType | null
|
|
_min: OauthAccessTokenMinAggregateOutputType | null
|
|
_max: OauthAccessTokenMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type OauthAccessTokenMinAggregateOutputType = {
|
|
id: string | null
|
|
token: string | null
|
|
clientId: string | null
|
|
sessionId: string | null
|
|
userId: string | null
|
|
referenceId: string | null
|
|
authorizationCodeId: string | null
|
|
refreshId: string | null
|
|
expiresAt: Date | null
|
|
createdAt: Date | null
|
|
revoked: Date | null
|
|
}
|
|
|
|
export type OauthAccessTokenMaxAggregateOutputType = {
|
|
id: string | null
|
|
token: string | null
|
|
clientId: string | null
|
|
sessionId: string | null
|
|
userId: string | null
|
|
referenceId: string | null
|
|
authorizationCodeId: string | null
|
|
refreshId: string | null
|
|
expiresAt: Date | null
|
|
createdAt: Date | null
|
|
revoked: Date | null
|
|
}
|
|
|
|
export type OauthAccessTokenCountAggregateOutputType = {
|
|
id: number
|
|
token: number
|
|
clientId: number
|
|
sessionId: number
|
|
userId: number
|
|
referenceId: number
|
|
authorizationCodeId: number
|
|
resources: number
|
|
requestedUserInfoClaims: number
|
|
refreshId: number
|
|
expiresAt: number
|
|
createdAt: number
|
|
revoked: number
|
|
confirmation: number
|
|
scopes: number
|
|
_all: number
|
|
}
|
|
|
|
|
|
export type OauthAccessTokenMinAggregateInputType = {
|
|
id?: true
|
|
token?: true
|
|
clientId?: true
|
|
sessionId?: true
|
|
userId?: true
|
|
referenceId?: true
|
|
authorizationCodeId?: true
|
|
refreshId?: true
|
|
expiresAt?: true
|
|
createdAt?: true
|
|
revoked?: true
|
|
}
|
|
|
|
export type OauthAccessTokenMaxAggregateInputType = {
|
|
id?: true
|
|
token?: true
|
|
clientId?: true
|
|
sessionId?: true
|
|
userId?: true
|
|
referenceId?: true
|
|
authorizationCodeId?: true
|
|
refreshId?: true
|
|
expiresAt?: true
|
|
createdAt?: true
|
|
revoked?: true
|
|
}
|
|
|
|
export type OauthAccessTokenCountAggregateInputType = {
|
|
id?: true
|
|
token?: true
|
|
clientId?: true
|
|
sessionId?: true
|
|
userId?: true
|
|
referenceId?: true
|
|
authorizationCodeId?: true
|
|
resources?: true
|
|
requestedUserInfoClaims?: true
|
|
refreshId?: true
|
|
expiresAt?: true
|
|
createdAt?: true
|
|
revoked?: true
|
|
confirmation?: true
|
|
scopes?: true
|
|
_all?: true
|
|
}
|
|
|
|
export type OauthAccessTokenAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which OauthAccessToken to aggregate.
|
|
*/
|
|
where?: Prisma.OauthAccessTokenWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of OauthAccessTokens to fetch.
|
|
*/
|
|
orderBy?: Prisma.OauthAccessTokenOrderByWithRelationInput | Prisma.OauthAccessTokenOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the start position
|
|
*/
|
|
cursor?: Prisma.OauthAccessTokenWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` OauthAccessTokens 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` OauthAccessTokens.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Count returned OauthAccessTokens
|
|
**/
|
|
_count?: true | OauthAccessTokenCountAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the minimum value
|
|
**/
|
|
_min?: OauthAccessTokenMinAggregateInputType
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
*
|
|
* Select which fields to find the maximum value
|
|
**/
|
|
_max?: OauthAccessTokenMaxAggregateInputType
|
|
}
|
|
|
|
export type GetOauthAccessTokenAggregateType<T extends OauthAccessTokenAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateOauthAccessToken]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateOauthAccessToken[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateOauthAccessToken[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type OauthAccessTokenGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.OauthAccessTokenWhereInput
|
|
orderBy?: Prisma.OauthAccessTokenOrderByWithAggregationInput | Prisma.OauthAccessTokenOrderByWithAggregationInput[]
|
|
by: Prisma.OauthAccessTokenScalarFieldEnum[] | Prisma.OauthAccessTokenScalarFieldEnum
|
|
having?: Prisma.OauthAccessTokenScalarWhereWithAggregatesInput
|
|
take?: number
|
|
skip?: number
|
|
_count?: OauthAccessTokenCountAggregateInputType | true
|
|
_min?: OauthAccessTokenMinAggregateInputType
|
|
_max?: OauthAccessTokenMaxAggregateInputType
|
|
}
|
|
|
|
export type OauthAccessTokenGroupByOutputType = {
|
|
id: string
|
|
token: string
|
|
clientId: string
|
|
sessionId: string | null
|
|
userId: string | null
|
|
referenceId: string | null
|
|
authorizationCodeId: string | null
|
|
resources: string[]
|
|
requestedUserInfoClaims: string[]
|
|
refreshId: string | null
|
|
expiresAt: Date
|
|
createdAt: Date
|
|
revoked: Date | null
|
|
confirmation:PrismaJson.OauthConfirmation | null
|
|
scopes: string[]
|
|
_count: OauthAccessTokenCountAggregateOutputType | null
|
|
_min: OauthAccessTokenMinAggregateOutputType | null
|
|
_max: OauthAccessTokenMaxAggregateOutputType | null
|
|
}
|
|
|
|
export type GetOauthAccessTokenGroupByPayload<T extends OauthAccessTokenGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<OauthAccessTokenGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof OauthAccessTokenGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], OauthAccessTokenGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], OauthAccessTokenGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
export type OauthAccessTokenWhereInput = {
|
|
AND?: Prisma.OauthAccessTokenWhereInput | Prisma.OauthAccessTokenWhereInput[]
|
|
OR?: Prisma.OauthAccessTokenWhereInput[]
|
|
NOT?: Prisma.OauthAccessTokenWhereInput | Prisma.OauthAccessTokenWhereInput[]
|
|
id?: Prisma.StringFilter<"OauthAccessToken"> | string
|
|
token?: Prisma.StringFilter<"OauthAccessToken"> | string
|
|
clientId?: Prisma.StringFilter<"OauthAccessToken"> | string
|
|
sessionId?: Prisma.StringNullableFilter<"OauthAccessToken"> | string | null
|
|
userId?: Prisma.StringNullableFilter<"OauthAccessToken"> | string | null
|
|
referenceId?: Prisma.StringNullableFilter<"OauthAccessToken"> | string | null
|
|
authorizationCodeId?: Prisma.StringNullableFilter<"OauthAccessToken"> | string | null
|
|
resources?: Prisma.StringNullableListFilter<"OauthAccessToken">
|
|
requestedUserInfoClaims?: Prisma.StringNullableListFilter<"OauthAccessToken">
|
|
refreshId?: Prisma.StringNullableFilter<"OauthAccessToken"> | string | null
|
|
expiresAt?: Prisma.DateTimeFilter<"OauthAccessToken"> | Date | string
|
|
createdAt?: Prisma.DateTimeFilter<"OauthAccessToken"> | Date | string
|
|
revoked?: Prisma.DateTimeNullableFilter<"OauthAccessToken"> | Date | string | null
|
|
confirmation?: Prisma.JsonNullableFilter<"OauthAccessToken">
|
|
scopes?: Prisma.StringNullableListFilter<"OauthAccessToken">
|
|
client?: Prisma.XOR<Prisma.OauthClientScalarRelationFilter, Prisma.OauthClientWhereInput>
|
|
session?: Prisma.XOR<Prisma.SessionNullableScalarRelationFilter, Prisma.SessionWhereInput> | null
|
|
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
refreshToken?: Prisma.XOR<Prisma.OauthRefreshTokenNullableScalarRelationFilter, Prisma.OauthRefreshTokenWhereInput> | null
|
|
}
|
|
|
|
export type OauthAccessTokenOrderByWithRelationInput = {
|
|
id?: Prisma.SortOrder
|
|
token?: Prisma.SortOrder
|
|
clientId?: Prisma.SortOrder
|
|
sessionId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
userId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
referenceId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
authorizationCodeId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
resources?: Prisma.SortOrder
|
|
requestedUserInfoClaims?: Prisma.SortOrder
|
|
refreshId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
expiresAt?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
revoked?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
confirmation?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
scopes?: Prisma.SortOrder
|
|
client?: Prisma.OauthClientOrderByWithRelationInput
|
|
session?: Prisma.SessionOrderByWithRelationInput
|
|
user?: Prisma.UserOrderByWithRelationInput
|
|
refreshToken?: Prisma.OauthRefreshTokenOrderByWithRelationInput
|
|
}
|
|
|
|
export type OauthAccessTokenWhereUniqueInput = Prisma.AtLeast<{
|
|
id?: string
|
|
token?: string
|
|
AND?: Prisma.OauthAccessTokenWhereInput | Prisma.OauthAccessTokenWhereInput[]
|
|
OR?: Prisma.OauthAccessTokenWhereInput[]
|
|
NOT?: Prisma.OauthAccessTokenWhereInput | Prisma.OauthAccessTokenWhereInput[]
|
|
clientId?: Prisma.StringFilter<"OauthAccessToken"> | string
|
|
sessionId?: Prisma.StringNullableFilter<"OauthAccessToken"> | string | null
|
|
userId?: Prisma.StringNullableFilter<"OauthAccessToken"> | string | null
|
|
referenceId?: Prisma.StringNullableFilter<"OauthAccessToken"> | string | null
|
|
authorizationCodeId?: Prisma.StringNullableFilter<"OauthAccessToken"> | string | null
|
|
resources?: Prisma.StringNullableListFilter<"OauthAccessToken">
|
|
requestedUserInfoClaims?: Prisma.StringNullableListFilter<"OauthAccessToken">
|
|
refreshId?: Prisma.StringNullableFilter<"OauthAccessToken"> | string | null
|
|
expiresAt?: Prisma.DateTimeFilter<"OauthAccessToken"> | Date | string
|
|
createdAt?: Prisma.DateTimeFilter<"OauthAccessToken"> | Date | string
|
|
revoked?: Prisma.DateTimeNullableFilter<"OauthAccessToken"> | Date | string | null
|
|
confirmation?: Prisma.JsonNullableFilter<"OauthAccessToken">
|
|
scopes?: Prisma.StringNullableListFilter<"OauthAccessToken">
|
|
client?: Prisma.XOR<Prisma.OauthClientScalarRelationFilter, Prisma.OauthClientWhereInput>
|
|
session?: Prisma.XOR<Prisma.SessionNullableScalarRelationFilter, Prisma.SessionWhereInput> | null
|
|
user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
|
|
refreshToken?: Prisma.XOR<Prisma.OauthRefreshTokenNullableScalarRelationFilter, Prisma.OauthRefreshTokenWhereInput> | null
|
|
}, "id" | "token">
|
|
|
|
export type OauthAccessTokenOrderByWithAggregationInput = {
|
|
id?: Prisma.SortOrder
|
|
token?: Prisma.SortOrder
|
|
clientId?: Prisma.SortOrder
|
|
sessionId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
userId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
referenceId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
authorizationCodeId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
resources?: Prisma.SortOrder
|
|
requestedUserInfoClaims?: Prisma.SortOrder
|
|
refreshId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
expiresAt?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
revoked?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
confirmation?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
scopes?: Prisma.SortOrder
|
|
_count?: Prisma.OauthAccessTokenCountOrderByAggregateInput
|
|
_max?: Prisma.OauthAccessTokenMaxOrderByAggregateInput
|
|
_min?: Prisma.OauthAccessTokenMinOrderByAggregateInput
|
|
}
|
|
|
|
export type OauthAccessTokenScalarWhereWithAggregatesInput = {
|
|
AND?: Prisma.OauthAccessTokenScalarWhereWithAggregatesInput | Prisma.OauthAccessTokenScalarWhereWithAggregatesInput[]
|
|
OR?: Prisma.OauthAccessTokenScalarWhereWithAggregatesInput[]
|
|
NOT?: Prisma.OauthAccessTokenScalarWhereWithAggregatesInput | Prisma.OauthAccessTokenScalarWhereWithAggregatesInput[]
|
|
id?: Prisma.StringWithAggregatesFilter<"OauthAccessToken"> | string
|
|
token?: Prisma.StringWithAggregatesFilter<"OauthAccessToken"> | string
|
|
clientId?: Prisma.StringWithAggregatesFilter<"OauthAccessToken"> | string
|
|
sessionId?: Prisma.StringNullableWithAggregatesFilter<"OauthAccessToken"> | string | null
|
|
userId?: Prisma.StringNullableWithAggregatesFilter<"OauthAccessToken"> | string | null
|
|
referenceId?: Prisma.StringNullableWithAggregatesFilter<"OauthAccessToken"> | string | null
|
|
authorizationCodeId?: Prisma.StringNullableWithAggregatesFilter<"OauthAccessToken"> | string | null
|
|
resources?: Prisma.StringNullableListFilter<"OauthAccessToken">
|
|
requestedUserInfoClaims?: Prisma.StringNullableListFilter<"OauthAccessToken">
|
|
refreshId?: Prisma.StringNullableWithAggregatesFilter<"OauthAccessToken"> | string | null
|
|
expiresAt?: Prisma.DateTimeWithAggregatesFilter<"OauthAccessToken"> | Date | string
|
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"OauthAccessToken"> | Date | string
|
|
revoked?: Prisma.DateTimeNullableWithAggregatesFilter<"OauthAccessToken"> | Date | string | null
|
|
confirmation?: Prisma.JsonNullableWithAggregatesFilter<"OauthAccessToken">
|
|
scopes?: Prisma.StringNullableListFilter<"OauthAccessToken">
|
|
}
|
|
|
|
export type OauthAccessTokenCreateInput = {
|
|
id?: string
|
|
token: string
|
|
referenceId?: string | null
|
|
authorizationCodeId?: string | null
|
|
resources?: Prisma.OauthAccessTokenCreateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenCreaterequestedUserInfoClaimsInput | string[]
|
|
expiresAt: Date | string
|
|
createdAt?: Date | string
|
|
revoked?: Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenCreatescopesInput | string[]
|
|
client: Prisma.OauthClientCreateNestedOneWithoutAccessTokensInput
|
|
session?: Prisma.SessionCreateNestedOneWithoutOauthAccessTokensInput
|
|
user?: Prisma.UserCreateNestedOneWithoutOauthAccessTokensInput
|
|
refreshToken?: Prisma.OauthRefreshTokenCreateNestedOneWithoutAccessTokensInput
|
|
}
|
|
|
|
export type OauthAccessTokenUncheckedCreateInput = {
|
|
id?: string
|
|
token: string
|
|
clientId: string
|
|
sessionId?: string | null
|
|
userId?: string | null
|
|
referenceId?: string | null
|
|
authorizationCodeId?: string | null
|
|
resources?: Prisma.OauthAccessTokenCreateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenCreaterequestedUserInfoClaimsInput | string[]
|
|
refreshId?: string | null
|
|
expiresAt: Date | string
|
|
createdAt?: Date | string
|
|
revoked?: Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenCreatescopesInput | string[]
|
|
}
|
|
|
|
export type OauthAccessTokenUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
referenceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authorizationCodeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resources?: Prisma.OauthAccessTokenUpdateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenUpdaterequestedUserInfoClaimsInput | string[]
|
|
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
revoked?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenUpdatescopesInput | string[]
|
|
client?: Prisma.OauthClientUpdateOneRequiredWithoutAccessTokensNestedInput
|
|
session?: Prisma.SessionUpdateOneWithoutOauthAccessTokensNestedInput
|
|
user?: Prisma.UserUpdateOneWithoutOauthAccessTokensNestedInput
|
|
refreshToken?: Prisma.OauthRefreshTokenUpdateOneWithoutAccessTokensNestedInput
|
|
}
|
|
|
|
export type OauthAccessTokenUncheckedUpdateInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
referenceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authorizationCodeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resources?: Prisma.OauthAccessTokenUpdateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenUpdaterequestedUserInfoClaimsInput | string[]
|
|
refreshId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
revoked?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenUpdatescopesInput | string[]
|
|
}
|
|
|
|
export type OauthAccessTokenCreateManyInput = {
|
|
id?: string
|
|
token: string
|
|
clientId: string
|
|
sessionId?: string | null
|
|
userId?: string | null
|
|
referenceId?: string | null
|
|
authorizationCodeId?: string | null
|
|
resources?: Prisma.OauthAccessTokenCreateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenCreaterequestedUserInfoClaimsInput | string[]
|
|
refreshId?: string | null
|
|
expiresAt: Date | string
|
|
createdAt?: Date | string
|
|
revoked?: Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenCreatescopesInput | string[]
|
|
}
|
|
|
|
export type OauthAccessTokenUpdateManyMutationInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
referenceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authorizationCodeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resources?: Prisma.OauthAccessTokenUpdateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenUpdaterequestedUserInfoClaimsInput | string[]
|
|
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
revoked?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenUpdatescopesInput | string[]
|
|
}
|
|
|
|
export type OauthAccessTokenUncheckedUpdateManyInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
referenceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authorizationCodeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resources?: Prisma.OauthAccessTokenUpdateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenUpdaterequestedUserInfoClaimsInput | string[]
|
|
refreshId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
revoked?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenUpdatescopesInput | string[]
|
|
}
|
|
|
|
export type OauthAccessTokenListRelationFilter = {
|
|
every?: Prisma.OauthAccessTokenWhereInput
|
|
some?: Prisma.OauthAccessTokenWhereInput
|
|
none?: Prisma.OauthAccessTokenWhereInput
|
|
}
|
|
|
|
export type OauthAccessTokenOrderByRelationAggregateInput = {
|
|
_count?: Prisma.SortOrder
|
|
}
|
|
|
|
export type OauthAccessTokenCountOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
token?: Prisma.SortOrder
|
|
clientId?: Prisma.SortOrder
|
|
sessionId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
referenceId?: Prisma.SortOrder
|
|
authorizationCodeId?: Prisma.SortOrder
|
|
resources?: Prisma.SortOrder
|
|
requestedUserInfoClaims?: Prisma.SortOrder
|
|
refreshId?: Prisma.SortOrder
|
|
expiresAt?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
revoked?: Prisma.SortOrder
|
|
confirmation?: Prisma.SortOrder
|
|
scopes?: Prisma.SortOrder
|
|
}
|
|
|
|
export type OauthAccessTokenMaxOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
token?: Prisma.SortOrder
|
|
clientId?: Prisma.SortOrder
|
|
sessionId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
referenceId?: Prisma.SortOrder
|
|
authorizationCodeId?: Prisma.SortOrder
|
|
refreshId?: Prisma.SortOrder
|
|
expiresAt?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
revoked?: Prisma.SortOrder
|
|
}
|
|
|
|
export type OauthAccessTokenMinOrderByAggregateInput = {
|
|
id?: Prisma.SortOrder
|
|
token?: Prisma.SortOrder
|
|
clientId?: Prisma.SortOrder
|
|
sessionId?: Prisma.SortOrder
|
|
userId?: Prisma.SortOrder
|
|
referenceId?: Prisma.SortOrder
|
|
authorizationCodeId?: Prisma.SortOrder
|
|
refreshId?: Prisma.SortOrder
|
|
expiresAt?: Prisma.SortOrder
|
|
createdAt?: Prisma.SortOrder
|
|
revoked?: Prisma.SortOrder
|
|
}
|
|
|
|
export type OauthAccessTokenCreateNestedManyWithoutUserInput = {
|
|
create?: Prisma.XOR<Prisma.OauthAccessTokenCreateWithoutUserInput, Prisma.OauthAccessTokenUncheckedCreateWithoutUserInput> | Prisma.OauthAccessTokenCreateWithoutUserInput[] | Prisma.OauthAccessTokenUncheckedCreateWithoutUserInput[]
|
|
connectOrCreate?: Prisma.OauthAccessTokenCreateOrConnectWithoutUserInput | Prisma.OauthAccessTokenCreateOrConnectWithoutUserInput[]
|
|
createMany?: Prisma.OauthAccessTokenCreateManyUserInputEnvelope
|
|
connect?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
}
|
|
|
|
export type OauthAccessTokenUncheckedCreateNestedManyWithoutUserInput = {
|
|
create?: Prisma.XOR<Prisma.OauthAccessTokenCreateWithoutUserInput, Prisma.OauthAccessTokenUncheckedCreateWithoutUserInput> | Prisma.OauthAccessTokenCreateWithoutUserInput[] | Prisma.OauthAccessTokenUncheckedCreateWithoutUserInput[]
|
|
connectOrCreate?: Prisma.OauthAccessTokenCreateOrConnectWithoutUserInput | Prisma.OauthAccessTokenCreateOrConnectWithoutUserInput[]
|
|
createMany?: Prisma.OauthAccessTokenCreateManyUserInputEnvelope
|
|
connect?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
}
|
|
|
|
export type OauthAccessTokenUpdateManyWithoutUserNestedInput = {
|
|
create?: Prisma.XOR<Prisma.OauthAccessTokenCreateWithoutUserInput, Prisma.OauthAccessTokenUncheckedCreateWithoutUserInput> | Prisma.OauthAccessTokenCreateWithoutUserInput[] | Prisma.OauthAccessTokenUncheckedCreateWithoutUserInput[]
|
|
connectOrCreate?: Prisma.OauthAccessTokenCreateOrConnectWithoutUserInput | Prisma.OauthAccessTokenCreateOrConnectWithoutUserInput[]
|
|
upsert?: Prisma.OauthAccessTokenUpsertWithWhereUniqueWithoutUserInput | Prisma.OauthAccessTokenUpsertWithWhereUniqueWithoutUserInput[]
|
|
createMany?: Prisma.OauthAccessTokenCreateManyUserInputEnvelope
|
|
set?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
disconnect?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
delete?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
connect?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
update?: Prisma.OauthAccessTokenUpdateWithWhereUniqueWithoutUserInput | Prisma.OauthAccessTokenUpdateWithWhereUniqueWithoutUserInput[]
|
|
updateMany?: Prisma.OauthAccessTokenUpdateManyWithWhereWithoutUserInput | Prisma.OauthAccessTokenUpdateManyWithWhereWithoutUserInput[]
|
|
deleteMany?: Prisma.OauthAccessTokenScalarWhereInput | Prisma.OauthAccessTokenScalarWhereInput[]
|
|
}
|
|
|
|
export type OauthAccessTokenUncheckedUpdateManyWithoutUserNestedInput = {
|
|
create?: Prisma.XOR<Prisma.OauthAccessTokenCreateWithoutUserInput, Prisma.OauthAccessTokenUncheckedCreateWithoutUserInput> | Prisma.OauthAccessTokenCreateWithoutUserInput[] | Prisma.OauthAccessTokenUncheckedCreateWithoutUserInput[]
|
|
connectOrCreate?: Prisma.OauthAccessTokenCreateOrConnectWithoutUserInput | Prisma.OauthAccessTokenCreateOrConnectWithoutUserInput[]
|
|
upsert?: Prisma.OauthAccessTokenUpsertWithWhereUniqueWithoutUserInput | Prisma.OauthAccessTokenUpsertWithWhereUniqueWithoutUserInput[]
|
|
createMany?: Prisma.OauthAccessTokenCreateManyUserInputEnvelope
|
|
set?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
disconnect?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
delete?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
connect?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
update?: Prisma.OauthAccessTokenUpdateWithWhereUniqueWithoutUserInput | Prisma.OauthAccessTokenUpdateWithWhereUniqueWithoutUserInput[]
|
|
updateMany?: Prisma.OauthAccessTokenUpdateManyWithWhereWithoutUserInput | Prisma.OauthAccessTokenUpdateManyWithWhereWithoutUserInput[]
|
|
deleteMany?: Prisma.OauthAccessTokenScalarWhereInput | Prisma.OauthAccessTokenScalarWhereInput[]
|
|
}
|
|
|
|
export type OauthAccessTokenCreateNestedManyWithoutSessionInput = {
|
|
create?: Prisma.XOR<Prisma.OauthAccessTokenCreateWithoutSessionInput, Prisma.OauthAccessTokenUncheckedCreateWithoutSessionInput> | Prisma.OauthAccessTokenCreateWithoutSessionInput[] | Prisma.OauthAccessTokenUncheckedCreateWithoutSessionInput[]
|
|
connectOrCreate?: Prisma.OauthAccessTokenCreateOrConnectWithoutSessionInput | Prisma.OauthAccessTokenCreateOrConnectWithoutSessionInput[]
|
|
createMany?: Prisma.OauthAccessTokenCreateManySessionInputEnvelope
|
|
connect?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
}
|
|
|
|
export type OauthAccessTokenUncheckedCreateNestedManyWithoutSessionInput = {
|
|
create?: Prisma.XOR<Prisma.OauthAccessTokenCreateWithoutSessionInput, Prisma.OauthAccessTokenUncheckedCreateWithoutSessionInput> | Prisma.OauthAccessTokenCreateWithoutSessionInput[] | Prisma.OauthAccessTokenUncheckedCreateWithoutSessionInput[]
|
|
connectOrCreate?: Prisma.OauthAccessTokenCreateOrConnectWithoutSessionInput | Prisma.OauthAccessTokenCreateOrConnectWithoutSessionInput[]
|
|
createMany?: Prisma.OauthAccessTokenCreateManySessionInputEnvelope
|
|
connect?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
}
|
|
|
|
export type OauthAccessTokenUpdateManyWithoutSessionNestedInput = {
|
|
create?: Prisma.XOR<Prisma.OauthAccessTokenCreateWithoutSessionInput, Prisma.OauthAccessTokenUncheckedCreateWithoutSessionInput> | Prisma.OauthAccessTokenCreateWithoutSessionInput[] | Prisma.OauthAccessTokenUncheckedCreateWithoutSessionInput[]
|
|
connectOrCreate?: Prisma.OauthAccessTokenCreateOrConnectWithoutSessionInput | Prisma.OauthAccessTokenCreateOrConnectWithoutSessionInput[]
|
|
upsert?: Prisma.OauthAccessTokenUpsertWithWhereUniqueWithoutSessionInput | Prisma.OauthAccessTokenUpsertWithWhereUniqueWithoutSessionInput[]
|
|
createMany?: Prisma.OauthAccessTokenCreateManySessionInputEnvelope
|
|
set?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
disconnect?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
delete?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
connect?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
update?: Prisma.OauthAccessTokenUpdateWithWhereUniqueWithoutSessionInput | Prisma.OauthAccessTokenUpdateWithWhereUniqueWithoutSessionInput[]
|
|
updateMany?: Prisma.OauthAccessTokenUpdateManyWithWhereWithoutSessionInput | Prisma.OauthAccessTokenUpdateManyWithWhereWithoutSessionInput[]
|
|
deleteMany?: Prisma.OauthAccessTokenScalarWhereInput | Prisma.OauthAccessTokenScalarWhereInput[]
|
|
}
|
|
|
|
export type OauthAccessTokenUncheckedUpdateManyWithoutSessionNestedInput = {
|
|
create?: Prisma.XOR<Prisma.OauthAccessTokenCreateWithoutSessionInput, Prisma.OauthAccessTokenUncheckedCreateWithoutSessionInput> | Prisma.OauthAccessTokenCreateWithoutSessionInput[] | Prisma.OauthAccessTokenUncheckedCreateWithoutSessionInput[]
|
|
connectOrCreate?: Prisma.OauthAccessTokenCreateOrConnectWithoutSessionInput | Prisma.OauthAccessTokenCreateOrConnectWithoutSessionInput[]
|
|
upsert?: Prisma.OauthAccessTokenUpsertWithWhereUniqueWithoutSessionInput | Prisma.OauthAccessTokenUpsertWithWhereUniqueWithoutSessionInput[]
|
|
createMany?: Prisma.OauthAccessTokenCreateManySessionInputEnvelope
|
|
set?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
disconnect?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
delete?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
connect?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
update?: Prisma.OauthAccessTokenUpdateWithWhereUniqueWithoutSessionInput | Prisma.OauthAccessTokenUpdateWithWhereUniqueWithoutSessionInput[]
|
|
updateMany?: Prisma.OauthAccessTokenUpdateManyWithWhereWithoutSessionInput | Prisma.OauthAccessTokenUpdateManyWithWhereWithoutSessionInput[]
|
|
deleteMany?: Prisma.OauthAccessTokenScalarWhereInput | Prisma.OauthAccessTokenScalarWhereInput[]
|
|
}
|
|
|
|
export type OauthAccessTokenCreateNestedManyWithoutClientInput = {
|
|
create?: Prisma.XOR<Prisma.OauthAccessTokenCreateWithoutClientInput, Prisma.OauthAccessTokenUncheckedCreateWithoutClientInput> | Prisma.OauthAccessTokenCreateWithoutClientInput[] | Prisma.OauthAccessTokenUncheckedCreateWithoutClientInput[]
|
|
connectOrCreate?: Prisma.OauthAccessTokenCreateOrConnectWithoutClientInput | Prisma.OauthAccessTokenCreateOrConnectWithoutClientInput[]
|
|
createMany?: Prisma.OauthAccessTokenCreateManyClientInputEnvelope
|
|
connect?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
}
|
|
|
|
export type OauthAccessTokenUncheckedCreateNestedManyWithoutClientInput = {
|
|
create?: Prisma.XOR<Prisma.OauthAccessTokenCreateWithoutClientInput, Prisma.OauthAccessTokenUncheckedCreateWithoutClientInput> | Prisma.OauthAccessTokenCreateWithoutClientInput[] | Prisma.OauthAccessTokenUncheckedCreateWithoutClientInput[]
|
|
connectOrCreate?: Prisma.OauthAccessTokenCreateOrConnectWithoutClientInput | Prisma.OauthAccessTokenCreateOrConnectWithoutClientInput[]
|
|
createMany?: Prisma.OauthAccessTokenCreateManyClientInputEnvelope
|
|
connect?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
}
|
|
|
|
export type OauthAccessTokenUpdateManyWithoutClientNestedInput = {
|
|
create?: Prisma.XOR<Prisma.OauthAccessTokenCreateWithoutClientInput, Prisma.OauthAccessTokenUncheckedCreateWithoutClientInput> | Prisma.OauthAccessTokenCreateWithoutClientInput[] | Prisma.OauthAccessTokenUncheckedCreateWithoutClientInput[]
|
|
connectOrCreate?: Prisma.OauthAccessTokenCreateOrConnectWithoutClientInput | Prisma.OauthAccessTokenCreateOrConnectWithoutClientInput[]
|
|
upsert?: Prisma.OauthAccessTokenUpsertWithWhereUniqueWithoutClientInput | Prisma.OauthAccessTokenUpsertWithWhereUniqueWithoutClientInput[]
|
|
createMany?: Prisma.OauthAccessTokenCreateManyClientInputEnvelope
|
|
set?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
disconnect?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
delete?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
connect?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
update?: Prisma.OauthAccessTokenUpdateWithWhereUniqueWithoutClientInput | Prisma.OauthAccessTokenUpdateWithWhereUniqueWithoutClientInput[]
|
|
updateMany?: Prisma.OauthAccessTokenUpdateManyWithWhereWithoutClientInput | Prisma.OauthAccessTokenUpdateManyWithWhereWithoutClientInput[]
|
|
deleteMany?: Prisma.OauthAccessTokenScalarWhereInput | Prisma.OauthAccessTokenScalarWhereInput[]
|
|
}
|
|
|
|
export type OauthAccessTokenUncheckedUpdateManyWithoutClientNestedInput = {
|
|
create?: Prisma.XOR<Prisma.OauthAccessTokenCreateWithoutClientInput, Prisma.OauthAccessTokenUncheckedCreateWithoutClientInput> | Prisma.OauthAccessTokenCreateWithoutClientInput[] | Prisma.OauthAccessTokenUncheckedCreateWithoutClientInput[]
|
|
connectOrCreate?: Prisma.OauthAccessTokenCreateOrConnectWithoutClientInput | Prisma.OauthAccessTokenCreateOrConnectWithoutClientInput[]
|
|
upsert?: Prisma.OauthAccessTokenUpsertWithWhereUniqueWithoutClientInput | Prisma.OauthAccessTokenUpsertWithWhereUniqueWithoutClientInput[]
|
|
createMany?: Prisma.OauthAccessTokenCreateManyClientInputEnvelope
|
|
set?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
disconnect?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
delete?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
connect?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
update?: Prisma.OauthAccessTokenUpdateWithWhereUniqueWithoutClientInput | Prisma.OauthAccessTokenUpdateWithWhereUniqueWithoutClientInput[]
|
|
updateMany?: Prisma.OauthAccessTokenUpdateManyWithWhereWithoutClientInput | Prisma.OauthAccessTokenUpdateManyWithWhereWithoutClientInput[]
|
|
deleteMany?: Prisma.OauthAccessTokenScalarWhereInput | Prisma.OauthAccessTokenScalarWhereInput[]
|
|
}
|
|
|
|
export type OauthAccessTokenCreateNestedManyWithoutRefreshTokenInput = {
|
|
create?: Prisma.XOR<Prisma.OauthAccessTokenCreateWithoutRefreshTokenInput, Prisma.OauthAccessTokenUncheckedCreateWithoutRefreshTokenInput> | Prisma.OauthAccessTokenCreateWithoutRefreshTokenInput[] | Prisma.OauthAccessTokenUncheckedCreateWithoutRefreshTokenInput[]
|
|
connectOrCreate?: Prisma.OauthAccessTokenCreateOrConnectWithoutRefreshTokenInput | Prisma.OauthAccessTokenCreateOrConnectWithoutRefreshTokenInput[]
|
|
createMany?: Prisma.OauthAccessTokenCreateManyRefreshTokenInputEnvelope
|
|
connect?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
}
|
|
|
|
export type OauthAccessTokenUncheckedCreateNestedManyWithoutRefreshTokenInput = {
|
|
create?: Prisma.XOR<Prisma.OauthAccessTokenCreateWithoutRefreshTokenInput, Prisma.OauthAccessTokenUncheckedCreateWithoutRefreshTokenInput> | Prisma.OauthAccessTokenCreateWithoutRefreshTokenInput[] | Prisma.OauthAccessTokenUncheckedCreateWithoutRefreshTokenInput[]
|
|
connectOrCreate?: Prisma.OauthAccessTokenCreateOrConnectWithoutRefreshTokenInput | Prisma.OauthAccessTokenCreateOrConnectWithoutRefreshTokenInput[]
|
|
createMany?: Prisma.OauthAccessTokenCreateManyRefreshTokenInputEnvelope
|
|
connect?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
}
|
|
|
|
export type OauthAccessTokenUpdateManyWithoutRefreshTokenNestedInput = {
|
|
create?: Prisma.XOR<Prisma.OauthAccessTokenCreateWithoutRefreshTokenInput, Prisma.OauthAccessTokenUncheckedCreateWithoutRefreshTokenInput> | Prisma.OauthAccessTokenCreateWithoutRefreshTokenInput[] | Prisma.OauthAccessTokenUncheckedCreateWithoutRefreshTokenInput[]
|
|
connectOrCreate?: Prisma.OauthAccessTokenCreateOrConnectWithoutRefreshTokenInput | Prisma.OauthAccessTokenCreateOrConnectWithoutRefreshTokenInput[]
|
|
upsert?: Prisma.OauthAccessTokenUpsertWithWhereUniqueWithoutRefreshTokenInput | Prisma.OauthAccessTokenUpsertWithWhereUniqueWithoutRefreshTokenInput[]
|
|
createMany?: Prisma.OauthAccessTokenCreateManyRefreshTokenInputEnvelope
|
|
set?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
disconnect?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
delete?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
connect?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
update?: Prisma.OauthAccessTokenUpdateWithWhereUniqueWithoutRefreshTokenInput | Prisma.OauthAccessTokenUpdateWithWhereUniqueWithoutRefreshTokenInput[]
|
|
updateMany?: Prisma.OauthAccessTokenUpdateManyWithWhereWithoutRefreshTokenInput | Prisma.OauthAccessTokenUpdateManyWithWhereWithoutRefreshTokenInput[]
|
|
deleteMany?: Prisma.OauthAccessTokenScalarWhereInput | Prisma.OauthAccessTokenScalarWhereInput[]
|
|
}
|
|
|
|
export type OauthAccessTokenUncheckedUpdateManyWithoutRefreshTokenNestedInput = {
|
|
create?: Prisma.XOR<Prisma.OauthAccessTokenCreateWithoutRefreshTokenInput, Prisma.OauthAccessTokenUncheckedCreateWithoutRefreshTokenInput> | Prisma.OauthAccessTokenCreateWithoutRefreshTokenInput[] | Prisma.OauthAccessTokenUncheckedCreateWithoutRefreshTokenInput[]
|
|
connectOrCreate?: Prisma.OauthAccessTokenCreateOrConnectWithoutRefreshTokenInput | Prisma.OauthAccessTokenCreateOrConnectWithoutRefreshTokenInput[]
|
|
upsert?: Prisma.OauthAccessTokenUpsertWithWhereUniqueWithoutRefreshTokenInput | Prisma.OauthAccessTokenUpsertWithWhereUniqueWithoutRefreshTokenInput[]
|
|
createMany?: Prisma.OauthAccessTokenCreateManyRefreshTokenInputEnvelope
|
|
set?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
disconnect?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
delete?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
connect?: Prisma.OauthAccessTokenWhereUniqueInput | Prisma.OauthAccessTokenWhereUniqueInput[]
|
|
update?: Prisma.OauthAccessTokenUpdateWithWhereUniqueWithoutRefreshTokenInput | Prisma.OauthAccessTokenUpdateWithWhereUniqueWithoutRefreshTokenInput[]
|
|
updateMany?: Prisma.OauthAccessTokenUpdateManyWithWhereWithoutRefreshTokenInput | Prisma.OauthAccessTokenUpdateManyWithWhereWithoutRefreshTokenInput[]
|
|
deleteMany?: Prisma.OauthAccessTokenScalarWhereInput | Prisma.OauthAccessTokenScalarWhereInput[]
|
|
}
|
|
|
|
export type OauthAccessTokenCreateresourcesInput = {
|
|
set: string[]
|
|
}
|
|
|
|
export type OauthAccessTokenCreaterequestedUserInfoClaimsInput = {
|
|
set: string[]
|
|
}
|
|
|
|
export type OauthAccessTokenCreatescopesInput = {
|
|
set: string[]
|
|
}
|
|
|
|
export type OauthAccessTokenUpdateresourcesInput = {
|
|
set?: string[]
|
|
push?: string | string[]
|
|
}
|
|
|
|
export type OauthAccessTokenUpdaterequestedUserInfoClaimsInput = {
|
|
set?: string[]
|
|
push?: string | string[]
|
|
}
|
|
|
|
export type OauthAccessTokenUpdatescopesInput = {
|
|
set?: string[]
|
|
push?: string | string[]
|
|
}
|
|
|
|
export type OauthAccessTokenCreateWithoutUserInput = {
|
|
id?: string
|
|
token: string
|
|
referenceId?: string | null
|
|
authorizationCodeId?: string | null
|
|
resources?: Prisma.OauthAccessTokenCreateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenCreaterequestedUserInfoClaimsInput | string[]
|
|
expiresAt: Date | string
|
|
createdAt?: Date | string
|
|
revoked?: Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenCreatescopesInput | string[]
|
|
client: Prisma.OauthClientCreateNestedOneWithoutAccessTokensInput
|
|
session?: Prisma.SessionCreateNestedOneWithoutOauthAccessTokensInput
|
|
refreshToken?: Prisma.OauthRefreshTokenCreateNestedOneWithoutAccessTokensInput
|
|
}
|
|
|
|
export type OauthAccessTokenUncheckedCreateWithoutUserInput = {
|
|
id?: string
|
|
token: string
|
|
clientId: string
|
|
sessionId?: string | null
|
|
referenceId?: string | null
|
|
authorizationCodeId?: string | null
|
|
resources?: Prisma.OauthAccessTokenCreateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenCreaterequestedUserInfoClaimsInput | string[]
|
|
refreshId?: string | null
|
|
expiresAt: Date | string
|
|
createdAt?: Date | string
|
|
revoked?: Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenCreatescopesInput | string[]
|
|
}
|
|
|
|
export type OauthAccessTokenCreateOrConnectWithoutUserInput = {
|
|
where: Prisma.OauthAccessTokenWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.OauthAccessTokenCreateWithoutUserInput, Prisma.OauthAccessTokenUncheckedCreateWithoutUserInput>
|
|
}
|
|
|
|
export type OauthAccessTokenCreateManyUserInputEnvelope = {
|
|
data: Prisma.OauthAccessTokenCreateManyUserInput | Prisma.OauthAccessTokenCreateManyUserInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type OauthAccessTokenUpsertWithWhereUniqueWithoutUserInput = {
|
|
where: Prisma.OauthAccessTokenWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.OauthAccessTokenUpdateWithoutUserInput, Prisma.OauthAccessTokenUncheckedUpdateWithoutUserInput>
|
|
create: Prisma.XOR<Prisma.OauthAccessTokenCreateWithoutUserInput, Prisma.OauthAccessTokenUncheckedCreateWithoutUserInput>
|
|
}
|
|
|
|
export type OauthAccessTokenUpdateWithWhereUniqueWithoutUserInput = {
|
|
where: Prisma.OauthAccessTokenWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.OauthAccessTokenUpdateWithoutUserInput, Prisma.OauthAccessTokenUncheckedUpdateWithoutUserInput>
|
|
}
|
|
|
|
export type OauthAccessTokenUpdateManyWithWhereWithoutUserInput = {
|
|
where: Prisma.OauthAccessTokenScalarWhereInput
|
|
data: Prisma.XOR<Prisma.OauthAccessTokenUpdateManyMutationInput, Prisma.OauthAccessTokenUncheckedUpdateManyWithoutUserInput>
|
|
}
|
|
|
|
export type OauthAccessTokenScalarWhereInput = {
|
|
AND?: Prisma.OauthAccessTokenScalarWhereInput | Prisma.OauthAccessTokenScalarWhereInput[]
|
|
OR?: Prisma.OauthAccessTokenScalarWhereInput[]
|
|
NOT?: Prisma.OauthAccessTokenScalarWhereInput | Prisma.OauthAccessTokenScalarWhereInput[]
|
|
id?: Prisma.StringFilter<"OauthAccessToken"> | string
|
|
token?: Prisma.StringFilter<"OauthAccessToken"> | string
|
|
clientId?: Prisma.StringFilter<"OauthAccessToken"> | string
|
|
sessionId?: Prisma.StringNullableFilter<"OauthAccessToken"> | string | null
|
|
userId?: Prisma.StringNullableFilter<"OauthAccessToken"> | string | null
|
|
referenceId?: Prisma.StringNullableFilter<"OauthAccessToken"> | string | null
|
|
authorizationCodeId?: Prisma.StringNullableFilter<"OauthAccessToken"> | string | null
|
|
resources?: Prisma.StringNullableListFilter<"OauthAccessToken">
|
|
requestedUserInfoClaims?: Prisma.StringNullableListFilter<"OauthAccessToken">
|
|
refreshId?: Prisma.StringNullableFilter<"OauthAccessToken"> | string | null
|
|
expiresAt?: Prisma.DateTimeFilter<"OauthAccessToken"> | Date | string
|
|
createdAt?: Prisma.DateTimeFilter<"OauthAccessToken"> | Date | string
|
|
revoked?: Prisma.DateTimeNullableFilter<"OauthAccessToken"> | Date | string | null
|
|
confirmation?: Prisma.JsonNullableFilter<"OauthAccessToken">
|
|
scopes?: Prisma.StringNullableListFilter<"OauthAccessToken">
|
|
}
|
|
|
|
export type OauthAccessTokenCreateWithoutSessionInput = {
|
|
id?: string
|
|
token: string
|
|
referenceId?: string | null
|
|
authorizationCodeId?: string | null
|
|
resources?: Prisma.OauthAccessTokenCreateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenCreaterequestedUserInfoClaimsInput | string[]
|
|
expiresAt: Date | string
|
|
createdAt?: Date | string
|
|
revoked?: Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenCreatescopesInput | string[]
|
|
client: Prisma.OauthClientCreateNestedOneWithoutAccessTokensInput
|
|
user?: Prisma.UserCreateNestedOneWithoutOauthAccessTokensInput
|
|
refreshToken?: Prisma.OauthRefreshTokenCreateNestedOneWithoutAccessTokensInput
|
|
}
|
|
|
|
export type OauthAccessTokenUncheckedCreateWithoutSessionInput = {
|
|
id?: string
|
|
token: string
|
|
clientId: string
|
|
userId?: string | null
|
|
referenceId?: string | null
|
|
authorizationCodeId?: string | null
|
|
resources?: Prisma.OauthAccessTokenCreateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenCreaterequestedUserInfoClaimsInput | string[]
|
|
refreshId?: string | null
|
|
expiresAt: Date | string
|
|
createdAt?: Date | string
|
|
revoked?: Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenCreatescopesInput | string[]
|
|
}
|
|
|
|
export type OauthAccessTokenCreateOrConnectWithoutSessionInput = {
|
|
where: Prisma.OauthAccessTokenWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.OauthAccessTokenCreateWithoutSessionInput, Prisma.OauthAccessTokenUncheckedCreateWithoutSessionInput>
|
|
}
|
|
|
|
export type OauthAccessTokenCreateManySessionInputEnvelope = {
|
|
data: Prisma.OauthAccessTokenCreateManySessionInput | Prisma.OauthAccessTokenCreateManySessionInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type OauthAccessTokenUpsertWithWhereUniqueWithoutSessionInput = {
|
|
where: Prisma.OauthAccessTokenWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.OauthAccessTokenUpdateWithoutSessionInput, Prisma.OauthAccessTokenUncheckedUpdateWithoutSessionInput>
|
|
create: Prisma.XOR<Prisma.OauthAccessTokenCreateWithoutSessionInput, Prisma.OauthAccessTokenUncheckedCreateWithoutSessionInput>
|
|
}
|
|
|
|
export type OauthAccessTokenUpdateWithWhereUniqueWithoutSessionInput = {
|
|
where: Prisma.OauthAccessTokenWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.OauthAccessTokenUpdateWithoutSessionInput, Prisma.OauthAccessTokenUncheckedUpdateWithoutSessionInput>
|
|
}
|
|
|
|
export type OauthAccessTokenUpdateManyWithWhereWithoutSessionInput = {
|
|
where: Prisma.OauthAccessTokenScalarWhereInput
|
|
data: Prisma.XOR<Prisma.OauthAccessTokenUpdateManyMutationInput, Prisma.OauthAccessTokenUncheckedUpdateManyWithoutSessionInput>
|
|
}
|
|
|
|
export type OauthAccessTokenCreateWithoutClientInput = {
|
|
id?: string
|
|
token: string
|
|
referenceId?: string | null
|
|
authorizationCodeId?: string | null
|
|
resources?: Prisma.OauthAccessTokenCreateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenCreaterequestedUserInfoClaimsInput | string[]
|
|
expiresAt: Date | string
|
|
createdAt?: Date | string
|
|
revoked?: Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenCreatescopesInput | string[]
|
|
session?: Prisma.SessionCreateNestedOneWithoutOauthAccessTokensInput
|
|
user?: Prisma.UserCreateNestedOneWithoutOauthAccessTokensInput
|
|
refreshToken?: Prisma.OauthRefreshTokenCreateNestedOneWithoutAccessTokensInput
|
|
}
|
|
|
|
export type OauthAccessTokenUncheckedCreateWithoutClientInput = {
|
|
id?: string
|
|
token: string
|
|
sessionId?: string | null
|
|
userId?: string | null
|
|
referenceId?: string | null
|
|
authorizationCodeId?: string | null
|
|
resources?: Prisma.OauthAccessTokenCreateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenCreaterequestedUserInfoClaimsInput | string[]
|
|
refreshId?: string | null
|
|
expiresAt: Date | string
|
|
createdAt?: Date | string
|
|
revoked?: Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenCreatescopesInput | string[]
|
|
}
|
|
|
|
export type OauthAccessTokenCreateOrConnectWithoutClientInput = {
|
|
where: Prisma.OauthAccessTokenWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.OauthAccessTokenCreateWithoutClientInput, Prisma.OauthAccessTokenUncheckedCreateWithoutClientInput>
|
|
}
|
|
|
|
export type OauthAccessTokenCreateManyClientInputEnvelope = {
|
|
data: Prisma.OauthAccessTokenCreateManyClientInput | Prisma.OauthAccessTokenCreateManyClientInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type OauthAccessTokenUpsertWithWhereUniqueWithoutClientInput = {
|
|
where: Prisma.OauthAccessTokenWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.OauthAccessTokenUpdateWithoutClientInput, Prisma.OauthAccessTokenUncheckedUpdateWithoutClientInput>
|
|
create: Prisma.XOR<Prisma.OauthAccessTokenCreateWithoutClientInput, Prisma.OauthAccessTokenUncheckedCreateWithoutClientInput>
|
|
}
|
|
|
|
export type OauthAccessTokenUpdateWithWhereUniqueWithoutClientInput = {
|
|
where: Prisma.OauthAccessTokenWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.OauthAccessTokenUpdateWithoutClientInput, Prisma.OauthAccessTokenUncheckedUpdateWithoutClientInput>
|
|
}
|
|
|
|
export type OauthAccessTokenUpdateManyWithWhereWithoutClientInput = {
|
|
where: Prisma.OauthAccessTokenScalarWhereInput
|
|
data: Prisma.XOR<Prisma.OauthAccessTokenUpdateManyMutationInput, Prisma.OauthAccessTokenUncheckedUpdateManyWithoutClientInput>
|
|
}
|
|
|
|
export type OauthAccessTokenCreateWithoutRefreshTokenInput = {
|
|
id?: string
|
|
token: string
|
|
referenceId?: string | null
|
|
authorizationCodeId?: string | null
|
|
resources?: Prisma.OauthAccessTokenCreateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenCreaterequestedUserInfoClaimsInput | string[]
|
|
expiresAt: Date | string
|
|
createdAt?: Date | string
|
|
revoked?: Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenCreatescopesInput | string[]
|
|
client: Prisma.OauthClientCreateNestedOneWithoutAccessTokensInput
|
|
session?: Prisma.SessionCreateNestedOneWithoutOauthAccessTokensInput
|
|
user?: Prisma.UserCreateNestedOneWithoutOauthAccessTokensInput
|
|
}
|
|
|
|
export type OauthAccessTokenUncheckedCreateWithoutRefreshTokenInput = {
|
|
id?: string
|
|
token: string
|
|
clientId: string
|
|
sessionId?: string | null
|
|
userId?: string | null
|
|
referenceId?: string | null
|
|
authorizationCodeId?: string | null
|
|
resources?: Prisma.OauthAccessTokenCreateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenCreaterequestedUserInfoClaimsInput | string[]
|
|
expiresAt: Date | string
|
|
createdAt?: Date | string
|
|
revoked?: Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenCreatescopesInput | string[]
|
|
}
|
|
|
|
export type OauthAccessTokenCreateOrConnectWithoutRefreshTokenInput = {
|
|
where: Prisma.OauthAccessTokenWhereUniqueInput
|
|
create: Prisma.XOR<Prisma.OauthAccessTokenCreateWithoutRefreshTokenInput, Prisma.OauthAccessTokenUncheckedCreateWithoutRefreshTokenInput>
|
|
}
|
|
|
|
export type OauthAccessTokenCreateManyRefreshTokenInputEnvelope = {
|
|
data: Prisma.OauthAccessTokenCreateManyRefreshTokenInput | Prisma.OauthAccessTokenCreateManyRefreshTokenInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type OauthAccessTokenUpsertWithWhereUniqueWithoutRefreshTokenInput = {
|
|
where: Prisma.OauthAccessTokenWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.OauthAccessTokenUpdateWithoutRefreshTokenInput, Prisma.OauthAccessTokenUncheckedUpdateWithoutRefreshTokenInput>
|
|
create: Prisma.XOR<Prisma.OauthAccessTokenCreateWithoutRefreshTokenInput, Prisma.OauthAccessTokenUncheckedCreateWithoutRefreshTokenInput>
|
|
}
|
|
|
|
export type OauthAccessTokenUpdateWithWhereUniqueWithoutRefreshTokenInput = {
|
|
where: Prisma.OauthAccessTokenWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.OauthAccessTokenUpdateWithoutRefreshTokenInput, Prisma.OauthAccessTokenUncheckedUpdateWithoutRefreshTokenInput>
|
|
}
|
|
|
|
export type OauthAccessTokenUpdateManyWithWhereWithoutRefreshTokenInput = {
|
|
where: Prisma.OauthAccessTokenScalarWhereInput
|
|
data: Prisma.XOR<Prisma.OauthAccessTokenUpdateManyMutationInput, Prisma.OauthAccessTokenUncheckedUpdateManyWithoutRefreshTokenInput>
|
|
}
|
|
|
|
export type OauthAccessTokenCreateManyUserInput = {
|
|
id?: string
|
|
token: string
|
|
clientId: string
|
|
sessionId?: string | null
|
|
referenceId?: string | null
|
|
authorizationCodeId?: string | null
|
|
resources?: Prisma.OauthAccessTokenCreateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenCreaterequestedUserInfoClaimsInput | string[]
|
|
refreshId?: string | null
|
|
expiresAt: Date | string
|
|
createdAt?: Date | string
|
|
revoked?: Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenCreatescopesInput | string[]
|
|
}
|
|
|
|
export type OauthAccessTokenUpdateWithoutUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
referenceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authorizationCodeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resources?: Prisma.OauthAccessTokenUpdateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenUpdaterequestedUserInfoClaimsInput | string[]
|
|
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
revoked?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenUpdatescopesInput | string[]
|
|
client?: Prisma.OauthClientUpdateOneRequiredWithoutAccessTokensNestedInput
|
|
session?: Prisma.SessionUpdateOneWithoutOauthAccessTokensNestedInput
|
|
refreshToken?: Prisma.OauthRefreshTokenUpdateOneWithoutAccessTokensNestedInput
|
|
}
|
|
|
|
export type OauthAccessTokenUncheckedUpdateWithoutUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
referenceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authorizationCodeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resources?: Prisma.OauthAccessTokenUpdateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenUpdaterequestedUserInfoClaimsInput | string[]
|
|
refreshId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
revoked?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenUpdatescopesInput | string[]
|
|
}
|
|
|
|
export type OauthAccessTokenUncheckedUpdateManyWithoutUserInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
referenceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authorizationCodeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resources?: Prisma.OauthAccessTokenUpdateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenUpdaterequestedUserInfoClaimsInput | string[]
|
|
refreshId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
revoked?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenUpdatescopesInput | string[]
|
|
}
|
|
|
|
export type OauthAccessTokenCreateManySessionInput = {
|
|
id?: string
|
|
token: string
|
|
clientId: string
|
|
userId?: string | null
|
|
referenceId?: string | null
|
|
authorizationCodeId?: string | null
|
|
resources?: Prisma.OauthAccessTokenCreateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenCreaterequestedUserInfoClaimsInput | string[]
|
|
refreshId?: string | null
|
|
expiresAt: Date | string
|
|
createdAt?: Date | string
|
|
revoked?: Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenCreatescopesInput | string[]
|
|
}
|
|
|
|
export type OauthAccessTokenUpdateWithoutSessionInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
referenceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authorizationCodeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resources?: Prisma.OauthAccessTokenUpdateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenUpdaterequestedUserInfoClaimsInput | string[]
|
|
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
revoked?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenUpdatescopesInput | string[]
|
|
client?: Prisma.OauthClientUpdateOneRequiredWithoutAccessTokensNestedInput
|
|
user?: Prisma.UserUpdateOneWithoutOauthAccessTokensNestedInput
|
|
refreshToken?: Prisma.OauthRefreshTokenUpdateOneWithoutAccessTokensNestedInput
|
|
}
|
|
|
|
export type OauthAccessTokenUncheckedUpdateWithoutSessionInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
referenceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authorizationCodeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resources?: Prisma.OauthAccessTokenUpdateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenUpdaterequestedUserInfoClaimsInput | string[]
|
|
refreshId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
revoked?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenUpdatescopesInput | string[]
|
|
}
|
|
|
|
export type OauthAccessTokenUncheckedUpdateManyWithoutSessionInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
referenceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authorizationCodeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resources?: Prisma.OauthAccessTokenUpdateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenUpdaterequestedUserInfoClaimsInput | string[]
|
|
refreshId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
revoked?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenUpdatescopesInput | string[]
|
|
}
|
|
|
|
export type OauthAccessTokenCreateManyClientInput = {
|
|
id?: string
|
|
token: string
|
|
sessionId?: string | null
|
|
userId?: string | null
|
|
referenceId?: string | null
|
|
authorizationCodeId?: string | null
|
|
resources?: Prisma.OauthAccessTokenCreateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenCreaterequestedUserInfoClaimsInput | string[]
|
|
refreshId?: string | null
|
|
expiresAt: Date | string
|
|
createdAt?: Date | string
|
|
revoked?: Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenCreatescopesInput | string[]
|
|
}
|
|
|
|
export type OauthAccessTokenUpdateWithoutClientInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
referenceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authorizationCodeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resources?: Prisma.OauthAccessTokenUpdateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenUpdaterequestedUserInfoClaimsInput | string[]
|
|
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
revoked?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenUpdatescopesInput | string[]
|
|
session?: Prisma.SessionUpdateOneWithoutOauthAccessTokensNestedInput
|
|
user?: Prisma.UserUpdateOneWithoutOauthAccessTokensNestedInput
|
|
refreshToken?: Prisma.OauthRefreshTokenUpdateOneWithoutAccessTokensNestedInput
|
|
}
|
|
|
|
export type OauthAccessTokenUncheckedUpdateWithoutClientInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
referenceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authorizationCodeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resources?: Prisma.OauthAccessTokenUpdateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenUpdaterequestedUserInfoClaimsInput | string[]
|
|
refreshId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
revoked?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenUpdatescopesInput | string[]
|
|
}
|
|
|
|
export type OauthAccessTokenUncheckedUpdateManyWithoutClientInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
referenceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authorizationCodeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resources?: Prisma.OauthAccessTokenUpdateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenUpdaterequestedUserInfoClaimsInput | string[]
|
|
refreshId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
revoked?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenUpdatescopesInput | string[]
|
|
}
|
|
|
|
export type OauthAccessTokenCreateManyRefreshTokenInput = {
|
|
id?: string
|
|
token: string
|
|
clientId: string
|
|
sessionId?: string | null
|
|
userId?: string | null
|
|
referenceId?: string | null
|
|
authorizationCodeId?: string | null
|
|
resources?: Prisma.OauthAccessTokenCreateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenCreaterequestedUserInfoClaimsInput | string[]
|
|
expiresAt: Date | string
|
|
createdAt?: Date | string
|
|
revoked?: Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenCreatescopesInput | string[]
|
|
}
|
|
|
|
export type OauthAccessTokenUpdateWithoutRefreshTokenInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
referenceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authorizationCodeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resources?: Prisma.OauthAccessTokenUpdateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenUpdaterequestedUserInfoClaimsInput | string[]
|
|
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
revoked?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenUpdatescopesInput | string[]
|
|
client?: Prisma.OauthClientUpdateOneRequiredWithoutAccessTokensNestedInput
|
|
session?: Prisma.SessionUpdateOneWithoutOauthAccessTokensNestedInput
|
|
user?: Prisma.UserUpdateOneWithoutOauthAccessTokensNestedInput
|
|
}
|
|
|
|
export type OauthAccessTokenUncheckedUpdateWithoutRefreshTokenInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
referenceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authorizationCodeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resources?: Prisma.OauthAccessTokenUpdateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenUpdaterequestedUserInfoClaimsInput | string[]
|
|
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
revoked?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenUpdatescopesInput | string[]
|
|
}
|
|
|
|
export type OauthAccessTokenUncheckedUpdateManyWithoutRefreshTokenInput = {
|
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
token?: Prisma.StringFieldUpdateOperationsInput | string
|
|
clientId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
sessionId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
referenceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
authorizationCodeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
resources?: Prisma.OauthAccessTokenUpdateresourcesInput | string[]
|
|
requestedUserInfoClaims?: Prisma.OauthAccessTokenUpdaterequestedUserInfoClaimsInput | string[]
|
|
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
revoked?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
confirmation?:PrismaJson.OauthConfirmation | Prisma.NullableJsonNullValueInput
|
|
scopes?: Prisma.OauthAccessTokenUpdatescopesInput | string[]
|
|
}
|
|
|
|
|
|
|
|
export type OauthAccessTokenSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
token?: boolean
|
|
clientId?: boolean
|
|
sessionId?: boolean
|
|
userId?: boolean
|
|
referenceId?: boolean
|
|
authorizationCodeId?: boolean
|
|
resources?: boolean
|
|
requestedUserInfoClaims?: boolean
|
|
refreshId?: boolean
|
|
expiresAt?: boolean
|
|
createdAt?: boolean
|
|
revoked?: boolean
|
|
confirmation?: boolean
|
|
scopes?: boolean
|
|
client?: boolean | Prisma.OauthClientDefaultArgs<ExtArgs>
|
|
session?: boolean | Prisma.OauthAccessToken$sessionArgs<ExtArgs>
|
|
user?: boolean | Prisma.OauthAccessToken$userArgs<ExtArgs>
|
|
refreshToken?: boolean | Prisma.OauthAccessToken$refreshTokenArgs<ExtArgs>
|
|
}, ExtArgs["result"]["oauthAccessToken"]>
|
|
|
|
export type OauthAccessTokenSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
token?: boolean
|
|
clientId?: boolean
|
|
sessionId?: boolean
|
|
userId?: boolean
|
|
referenceId?: boolean
|
|
authorizationCodeId?: boolean
|
|
resources?: boolean
|
|
requestedUserInfoClaims?: boolean
|
|
refreshId?: boolean
|
|
expiresAt?: boolean
|
|
createdAt?: boolean
|
|
revoked?: boolean
|
|
confirmation?: boolean
|
|
scopes?: boolean
|
|
client?: boolean | Prisma.OauthClientDefaultArgs<ExtArgs>
|
|
session?: boolean | Prisma.OauthAccessToken$sessionArgs<ExtArgs>
|
|
user?: boolean | Prisma.OauthAccessToken$userArgs<ExtArgs>
|
|
refreshToken?: boolean | Prisma.OauthAccessToken$refreshTokenArgs<ExtArgs>
|
|
}, ExtArgs["result"]["oauthAccessToken"]>
|
|
|
|
export type OauthAccessTokenSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
token?: boolean
|
|
clientId?: boolean
|
|
sessionId?: boolean
|
|
userId?: boolean
|
|
referenceId?: boolean
|
|
authorizationCodeId?: boolean
|
|
resources?: boolean
|
|
requestedUserInfoClaims?: boolean
|
|
refreshId?: boolean
|
|
expiresAt?: boolean
|
|
createdAt?: boolean
|
|
revoked?: boolean
|
|
confirmation?: boolean
|
|
scopes?: boolean
|
|
client?: boolean | Prisma.OauthClientDefaultArgs<ExtArgs>
|
|
session?: boolean | Prisma.OauthAccessToken$sessionArgs<ExtArgs>
|
|
user?: boolean | Prisma.OauthAccessToken$userArgs<ExtArgs>
|
|
refreshToken?: boolean | Prisma.OauthAccessToken$refreshTokenArgs<ExtArgs>
|
|
}, ExtArgs["result"]["oauthAccessToken"]>
|
|
|
|
export type OauthAccessTokenSelectScalar = {
|
|
id?: boolean
|
|
token?: boolean
|
|
clientId?: boolean
|
|
sessionId?: boolean
|
|
userId?: boolean
|
|
referenceId?: boolean
|
|
authorizationCodeId?: boolean
|
|
resources?: boolean
|
|
requestedUserInfoClaims?: boolean
|
|
refreshId?: boolean
|
|
expiresAt?: boolean
|
|
createdAt?: boolean
|
|
revoked?: boolean
|
|
confirmation?: boolean
|
|
scopes?: boolean
|
|
}
|
|
|
|
export type OauthAccessTokenOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "token" | "clientId" | "sessionId" | "userId" | "referenceId" | "authorizationCodeId" | "resources" | "requestedUserInfoClaims" | "refreshId" | "expiresAt" | "createdAt" | "revoked" | "confirmation" | "scopes", ExtArgs["result"]["oauthAccessToken"]>
|
|
export type OauthAccessTokenInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
client?: boolean | Prisma.OauthClientDefaultArgs<ExtArgs>
|
|
session?: boolean | Prisma.OauthAccessToken$sessionArgs<ExtArgs>
|
|
user?: boolean | Prisma.OauthAccessToken$userArgs<ExtArgs>
|
|
refreshToken?: boolean | Prisma.OauthAccessToken$refreshTokenArgs<ExtArgs>
|
|
}
|
|
export type OauthAccessTokenIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
client?: boolean | Prisma.OauthClientDefaultArgs<ExtArgs>
|
|
session?: boolean | Prisma.OauthAccessToken$sessionArgs<ExtArgs>
|
|
user?: boolean | Prisma.OauthAccessToken$userArgs<ExtArgs>
|
|
refreshToken?: boolean | Prisma.OauthAccessToken$refreshTokenArgs<ExtArgs>
|
|
}
|
|
export type OauthAccessTokenIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
client?: boolean | Prisma.OauthClientDefaultArgs<ExtArgs>
|
|
session?: boolean | Prisma.OauthAccessToken$sessionArgs<ExtArgs>
|
|
user?: boolean | Prisma.OauthAccessToken$userArgs<ExtArgs>
|
|
refreshToken?: boolean | Prisma.OauthAccessToken$refreshTokenArgs<ExtArgs>
|
|
}
|
|
|
|
export type $OauthAccessTokenPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "OauthAccessToken"
|
|
objects: {
|
|
client: Prisma.$OauthClientPayload<ExtArgs>
|
|
session: Prisma.$SessionPayload<ExtArgs> | null
|
|
user: Prisma.$UserPayload<ExtArgs> | null
|
|
refreshToken: Prisma.$OauthRefreshTokenPayload<ExtArgs> | null
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
token: string
|
|
clientId: string
|
|
sessionId: string | null
|
|
userId: string | null
|
|
referenceId: string | null
|
|
authorizationCodeId: string | null
|
|
resources: string[]
|
|
requestedUserInfoClaims: string[]
|
|
refreshId: string | null
|
|
expiresAt: Date
|
|
createdAt: Date
|
|
revoked: Date | null
|
|
/**
|
|
* [OauthConfirmation]
|
|
*/
|
|
confirmation:PrismaJson.OauthConfirmation | null
|
|
scopes: string[]
|
|
}, ExtArgs["result"]["oauthAccessToken"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type OauthAccessTokenGetPayload<S extends boolean | null | undefined | OauthAccessTokenDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$OauthAccessTokenPayload, S>
|
|
|
|
export type OauthAccessTokenCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<OauthAccessTokenFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: OauthAccessTokenCountAggregateInputType | true
|
|
}
|
|
|
|
export interface OauthAccessTokenDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['OauthAccessToken'], meta: { name: 'OauthAccessToken' } }
|
|
/**
|
|
* Find zero or one OauthAccessToken that matches the filter.
|
|
* @param {OauthAccessTokenFindUniqueArgs} args - Arguments to find a OauthAccessToken
|
|
* @example
|
|
* // Get one OauthAccessToken
|
|
* const oauthAccessToken = await prisma.oauthAccessToken.findUnique({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUnique<T extends OauthAccessTokenFindUniqueArgs>(args: Prisma.SelectSubset<T, OauthAccessTokenFindUniqueArgs<ExtArgs>>): Prisma.Prisma__OauthAccessTokenClient<runtime.Types.Result.GetResult<Prisma.$OauthAccessTokenPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find one OauthAccessToken that matches the filter or throw an error with `error.code='P2025'`
|
|
* if no matches were found.
|
|
* @param {OauthAccessTokenFindUniqueOrThrowArgs} args - Arguments to find a OauthAccessToken
|
|
* @example
|
|
* // Get one OauthAccessToken
|
|
* const oauthAccessToken = await prisma.oauthAccessToken.findUniqueOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findUniqueOrThrow<T extends OauthAccessTokenFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, OauthAccessTokenFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__OauthAccessTokenClient<runtime.Types.Result.GetResult<Prisma.$OauthAccessTokenPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first OauthAccessToken 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 {OauthAccessTokenFindFirstArgs} args - Arguments to find a OauthAccessToken
|
|
* @example
|
|
* // Get one OauthAccessToken
|
|
* const oauthAccessToken = await prisma.oauthAccessToken.findFirst({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirst<T extends OauthAccessTokenFindFirstArgs>(args?: Prisma.SelectSubset<T, OauthAccessTokenFindFirstArgs<ExtArgs>>): Prisma.Prisma__OauthAccessTokenClient<runtime.Types.Result.GetResult<Prisma.$OauthAccessTokenPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find the first OauthAccessToken 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 {OauthAccessTokenFindFirstOrThrowArgs} args - Arguments to find a OauthAccessToken
|
|
* @example
|
|
* // Get one OauthAccessToken
|
|
* const oauthAccessToken = await prisma.oauthAccessToken.findFirstOrThrow({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*/
|
|
findFirstOrThrow<T extends OauthAccessTokenFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, OauthAccessTokenFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__OauthAccessTokenClient<runtime.Types.Result.GetResult<Prisma.$OauthAccessTokenPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Find zero or more OauthAccessTokens 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 {OauthAccessTokenFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
* @example
|
|
* // Get all OauthAccessTokens
|
|
* const oauthAccessTokens = await prisma.oauthAccessToken.findMany()
|
|
*
|
|
* // Get first 10 OauthAccessTokens
|
|
* const oauthAccessTokens = await prisma.oauthAccessToken.findMany({ take: 10 })
|
|
*
|
|
* // Only select the `id`
|
|
* const oauthAccessTokenWithIdOnly = await prisma.oauthAccessToken.findMany({ select: { id: true } })
|
|
*
|
|
*/
|
|
findMany<T extends OauthAccessTokenFindManyArgs>(args?: Prisma.SelectSubset<T, OauthAccessTokenFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OauthAccessTokenPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create a OauthAccessToken.
|
|
* @param {OauthAccessTokenCreateArgs} args - Arguments to create a OauthAccessToken.
|
|
* @example
|
|
* // Create one OauthAccessToken
|
|
* const OauthAccessToken = await prisma.oauthAccessToken.create({
|
|
* data: {
|
|
* // ... data to create a OauthAccessToken
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
create<T extends OauthAccessTokenCreateArgs>(args: Prisma.SelectSubset<T, OauthAccessTokenCreateArgs<ExtArgs>>): Prisma.Prisma__OauthAccessTokenClient<runtime.Types.Result.GetResult<Prisma.$OauthAccessTokenPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Create many OauthAccessTokens.
|
|
* @param {OauthAccessTokenCreateManyArgs} args - Arguments to create many OauthAccessTokens.
|
|
* @example
|
|
* // Create many OauthAccessTokens
|
|
* const oauthAccessToken = await prisma.oauthAccessToken.createMany({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
*/
|
|
createMany<T extends OauthAccessTokenCreateManyArgs>(args?: Prisma.SelectSubset<T, OauthAccessTokenCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Create many OauthAccessTokens and returns the data saved in the database.
|
|
* @param {OauthAccessTokenCreateManyAndReturnArgs} args - Arguments to create many OauthAccessTokens.
|
|
* @example
|
|
* // Create many OauthAccessTokens
|
|
* const oauthAccessToken = await prisma.oauthAccessToken.createManyAndReturn({
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Create many OauthAccessTokens and only return the `id`
|
|
* const oauthAccessTokenWithIdOnly = await prisma.oauthAccessToken.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 OauthAccessTokenCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, OauthAccessTokenCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OauthAccessTokenPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Delete a OauthAccessToken.
|
|
* @param {OauthAccessTokenDeleteArgs} args - Arguments to delete one OauthAccessToken.
|
|
* @example
|
|
* // Delete one OauthAccessToken
|
|
* const OauthAccessToken = await prisma.oauthAccessToken.delete({
|
|
* where: {
|
|
* // ... filter to delete one OauthAccessToken
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
delete<T extends OauthAccessTokenDeleteArgs>(args: Prisma.SelectSubset<T, OauthAccessTokenDeleteArgs<ExtArgs>>): Prisma.Prisma__OauthAccessTokenClient<runtime.Types.Result.GetResult<Prisma.$OauthAccessTokenPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Update one OauthAccessToken.
|
|
* @param {OauthAccessTokenUpdateArgs} args - Arguments to update one OauthAccessToken.
|
|
* @example
|
|
* // Update one OauthAccessToken
|
|
* const oauthAccessToken = await prisma.oauthAccessToken.update({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
update<T extends OauthAccessTokenUpdateArgs>(args: Prisma.SelectSubset<T, OauthAccessTokenUpdateArgs<ExtArgs>>): Prisma.Prisma__OauthAccessTokenClient<runtime.Types.Result.GetResult<Prisma.$OauthAccessTokenPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
/**
|
|
* Delete zero or more OauthAccessTokens.
|
|
* @param {OauthAccessTokenDeleteManyArgs} args - Arguments to filter OauthAccessTokens to delete.
|
|
* @example
|
|
* // Delete a few OauthAccessTokens
|
|
* const { count } = await prisma.oauthAccessToken.deleteMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
deleteMany<T extends OauthAccessTokenDeleteManyArgs>(args?: Prisma.SelectSubset<T, OauthAccessTokenDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more OauthAccessTokens.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {OauthAccessTokenUpdateManyArgs} args - Arguments to update one or more rows.
|
|
* @example
|
|
* // Update many OauthAccessTokens
|
|
* const oauthAccessToken = await prisma.oauthAccessToken.updateMany({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: {
|
|
* // ... provide data here
|
|
* }
|
|
* })
|
|
*
|
|
*/
|
|
updateMany<T extends OauthAccessTokenUpdateManyArgs>(args: Prisma.SelectSubset<T, OauthAccessTokenUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* Update zero or more OauthAccessTokens and returns the data updated in the database.
|
|
* @param {OauthAccessTokenUpdateManyAndReturnArgs} args - Arguments to update many OauthAccessTokens.
|
|
* @example
|
|
* // Update many OauthAccessTokens
|
|
* const oauthAccessToken = await prisma.oauthAccessToken.updateManyAndReturn({
|
|
* where: {
|
|
* // ... provide filter here
|
|
* },
|
|
* data: [
|
|
* // ... provide data here
|
|
* ]
|
|
* })
|
|
*
|
|
* // Update zero or more OauthAccessTokens and only return the `id`
|
|
* const oauthAccessTokenWithIdOnly = await prisma.oauthAccessToken.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 OauthAccessTokenUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, OauthAccessTokenUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OauthAccessTokenPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
|
|
/**
|
|
* Create or update one OauthAccessToken.
|
|
* @param {OauthAccessTokenUpsertArgs} args - Arguments to update or create a OauthAccessToken.
|
|
* @example
|
|
* // Update or create a OauthAccessToken
|
|
* const oauthAccessToken = await prisma.oauthAccessToken.upsert({
|
|
* create: {
|
|
* // ... data to create a OauthAccessToken
|
|
* },
|
|
* update: {
|
|
* // ... in case it already exists, update
|
|
* },
|
|
* where: {
|
|
* // ... the filter for the OauthAccessToken we want to update
|
|
* }
|
|
* })
|
|
*/
|
|
upsert<T extends OauthAccessTokenUpsertArgs>(args: Prisma.SelectSubset<T, OauthAccessTokenUpsertArgs<ExtArgs>>): Prisma.Prisma__OauthAccessTokenClient<runtime.Types.Result.GetResult<Prisma.$OauthAccessTokenPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
|
|
|
|
/**
|
|
* Count the number of OauthAccessTokens.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {OauthAccessTokenCountArgs} args - Arguments to filter OauthAccessTokens to count.
|
|
* @example
|
|
* // Count the number of OauthAccessTokens
|
|
* const count = await prisma.oauthAccessToken.count({
|
|
* where: {
|
|
* // ... the filter for the OauthAccessTokens we want to count
|
|
* }
|
|
* })
|
|
**/
|
|
count<T extends OauthAccessTokenCountArgs>(
|
|
args?: Prisma.Subset<T, OauthAccessTokenCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], OauthAccessTokenCountAggregateOutputType>
|
|
: number
|
|
>
|
|
|
|
/**
|
|
* Allows you to perform aggregations operations on a OauthAccessToken.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {OauthAccessTokenAggregateArgs} 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 OauthAccessTokenAggregateArgs>(args: Prisma.Subset<T, OauthAccessTokenAggregateArgs>): Prisma.PrismaPromise<GetOauthAccessTokenAggregateType<T>>
|
|
|
|
/**
|
|
* Group by OauthAccessToken.
|
|
* Note, that providing `undefined` is treated as the value not being there.
|
|
* Read more here: https://pris.ly/d/null-undefined
|
|
* @param {OauthAccessTokenGroupByArgs} 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 OauthAccessTokenGroupByArgs,
|
|
HasSelectOrTake extends Prisma.Or<
|
|
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: OauthAccessTokenGroupByArgs['orderBy'] }
|
|
: { orderBy?: OauthAccessTokenGroupByArgs['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, OauthAccessTokenGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOauthAccessTokenGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* Fields of the OauthAccessToken model
|
|
*/
|
|
readonly fields: OauthAccessTokenFieldRefs;
|
|
}
|
|
|
|
/**
|
|
* The delegate class that acts as a "Promise-like" for OauthAccessToken.
|
|
* 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__OauthAccessTokenClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
client<T extends Prisma.OauthClientDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OauthClientDefaultArgs<ExtArgs>>): Prisma.Prisma__OauthClientClient<runtime.Types.Result.GetResult<Prisma.$OauthClientPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
session<T extends Prisma.OauthAccessToken$sessionArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OauthAccessToken$sessionArgs<ExtArgs>>): Prisma.Prisma__SessionClient<runtime.Types.Result.GetResult<Prisma.$SessionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
user<T extends Prisma.OauthAccessToken$userArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OauthAccessToken$userArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
refreshToken<T extends Prisma.OauthAccessToken$refreshTokenArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OauthAccessToken$refreshTokenArgs<ExtArgs>>): Prisma.Prisma__OauthRefreshTokenClient<runtime.Types.Result.GetResult<Prisma.$OauthRefreshTokenPayload<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 OauthAccessToken model
|
|
*/
|
|
export interface OauthAccessTokenFieldRefs {
|
|
readonly id: Prisma.FieldRef<"OauthAccessToken", 'String'>
|
|
readonly token: Prisma.FieldRef<"OauthAccessToken", 'String'>
|
|
readonly clientId: Prisma.FieldRef<"OauthAccessToken", 'String'>
|
|
readonly sessionId: Prisma.FieldRef<"OauthAccessToken", 'String'>
|
|
readonly userId: Prisma.FieldRef<"OauthAccessToken", 'String'>
|
|
readonly referenceId: Prisma.FieldRef<"OauthAccessToken", 'String'>
|
|
readonly authorizationCodeId: Prisma.FieldRef<"OauthAccessToken", 'String'>
|
|
readonly resources: Prisma.FieldRef<"OauthAccessToken", 'String[]'>
|
|
readonly requestedUserInfoClaims: Prisma.FieldRef<"OauthAccessToken", 'String[]'>
|
|
readonly refreshId: Prisma.FieldRef<"OauthAccessToken", 'String'>
|
|
readonly expiresAt: Prisma.FieldRef<"OauthAccessToken", 'DateTime'>
|
|
readonly createdAt: Prisma.FieldRef<"OauthAccessToken", 'DateTime'>
|
|
readonly revoked: Prisma.FieldRef<"OauthAccessToken", 'DateTime'>
|
|
readonly confirmation: Prisma.FieldRef<"OauthAccessToken", 'Json'>
|
|
readonly scopes: Prisma.FieldRef<"OauthAccessToken", 'String[]'>
|
|
}
|
|
|
|
|
|
// Custom InputTypes
|
|
/**
|
|
* OauthAccessToken findUnique
|
|
*/
|
|
export type OauthAccessTokenFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the OauthAccessToken
|
|
*/
|
|
select?: Prisma.OauthAccessTokenSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the OauthAccessToken
|
|
*/
|
|
omit?: Prisma.OauthAccessTokenOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.OauthAccessTokenInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which OauthAccessToken to fetch.
|
|
*/
|
|
where: Prisma.OauthAccessTokenWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* OauthAccessToken findUniqueOrThrow
|
|
*/
|
|
export type OauthAccessTokenFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the OauthAccessToken
|
|
*/
|
|
select?: Prisma.OauthAccessTokenSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the OauthAccessToken
|
|
*/
|
|
omit?: Prisma.OauthAccessTokenOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.OauthAccessTokenInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which OauthAccessToken to fetch.
|
|
*/
|
|
where: Prisma.OauthAccessTokenWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* OauthAccessToken findFirst
|
|
*/
|
|
export type OauthAccessTokenFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the OauthAccessToken
|
|
*/
|
|
select?: Prisma.OauthAccessTokenSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the OauthAccessToken
|
|
*/
|
|
omit?: Prisma.OauthAccessTokenOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.OauthAccessTokenInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which OauthAccessToken to fetch.
|
|
*/
|
|
where?: Prisma.OauthAccessTokenWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of OauthAccessTokens to fetch.
|
|
*/
|
|
orderBy?: Prisma.OauthAccessTokenOrderByWithRelationInput | Prisma.OauthAccessTokenOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for OauthAccessTokens.
|
|
*/
|
|
cursor?: Prisma.OauthAccessTokenWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` OauthAccessTokens 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` OauthAccessTokens.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of OauthAccessTokens.
|
|
*/
|
|
distinct?: Prisma.OauthAccessTokenScalarFieldEnum | Prisma.OauthAccessTokenScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* OauthAccessToken findFirstOrThrow
|
|
*/
|
|
export type OauthAccessTokenFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the OauthAccessToken
|
|
*/
|
|
select?: Prisma.OauthAccessTokenSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the OauthAccessToken
|
|
*/
|
|
omit?: Prisma.OauthAccessTokenOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.OauthAccessTokenInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which OauthAccessToken to fetch.
|
|
*/
|
|
where?: Prisma.OauthAccessTokenWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of OauthAccessTokens to fetch.
|
|
*/
|
|
orderBy?: Prisma.OauthAccessTokenOrderByWithRelationInput | Prisma.OauthAccessTokenOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for searching for OauthAccessTokens.
|
|
*/
|
|
cursor?: Prisma.OauthAccessTokenWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` OauthAccessTokens 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` OauthAccessTokens.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of OauthAccessTokens.
|
|
*/
|
|
distinct?: Prisma.OauthAccessTokenScalarFieldEnum | Prisma.OauthAccessTokenScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* OauthAccessToken findMany
|
|
*/
|
|
export type OauthAccessTokenFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the OauthAccessToken
|
|
*/
|
|
select?: Prisma.OauthAccessTokenSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the OauthAccessToken
|
|
*/
|
|
omit?: Prisma.OauthAccessTokenOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.OauthAccessTokenInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which OauthAccessTokens to fetch.
|
|
*/
|
|
where?: Prisma.OauthAccessTokenWhereInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
*
|
|
* Determine the order of OauthAccessTokens to fetch.
|
|
*/
|
|
orderBy?: Prisma.OauthAccessTokenOrderByWithRelationInput | Prisma.OauthAccessTokenOrderByWithRelationInput[]
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
*
|
|
* Sets the position for listing OauthAccessTokens.
|
|
*/
|
|
cursor?: Prisma.OauthAccessTokenWhereUniqueInput
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
*
|
|
* Take `±n` OauthAccessTokens 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` OauthAccessTokens.
|
|
*/
|
|
skip?: number
|
|
/**
|
|
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
*
|
|
* Filter by unique combinations of OauthAccessTokens.
|
|
*/
|
|
distinct?: Prisma.OauthAccessTokenScalarFieldEnum | Prisma.OauthAccessTokenScalarFieldEnum[]
|
|
}
|
|
|
|
/**
|
|
* OauthAccessToken create
|
|
*/
|
|
export type OauthAccessTokenCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the OauthAccessToken
|
|
*/
|
|
select?: Prisma.OauthAccessTokenSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the OauthAccessToken
|
|
*/
|
|
omit?: Prisma.OauthAccessTokenOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.OauthAccessTokenInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a OauthAccessToken.
|
|
*/
|
|
data: Prisma.XOR<Prisma.OauthAccessTokenCreateInput, Prisma.OauthAccessTokenUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* OauthAccessToken createMany
|
|
*/
|
|
export type OauthAccessTokenCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many OauthAccessTokens.
|
|
*/
|
|
data: Prisma.OauthAccessTokenCreateManyInput | Prisma.OauthAccessTokenCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* OauthAccessToken createManyAndReturn
|
|
*/
|
|
export type OauthAccessTokenCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the OauthAccessToken
|
|
*/
|
|
select?: Prisma.OauthAccessTokenSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the OauthAccessToken
|
|
*/
|
|
omit?: Prisma.OauthAccessTokenOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many OauthAccessTokens.
|
|
*/
|
|
data: Prisma.OauthAccessTokenCreateManyInput | Prisma.OauthAccessTokenCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.OauthAccessTokenIncludeCreateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* OauthAccessToken update
|
|
*/
|
|
export type OauthAccessTokenUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the OauthAccessToken
|
|
*/
|
|
select?: Prisma.OauthAccessTokenSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the OauthAccessToken
|
|
*/
|
|
omit?: Prisma.OauthAccessTokenOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.OauthAccessTokenInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a OauthAccessToken.
|
|
*/
|
|
data: Prisma.XOR<Prisma.OauthAccessTokenUpdateInput, Prisma.OauthAccessTokenUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which OauthAccessToken to update.
|
|
*/
|
|
where: Prisma.OauthAccessTokenWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* OauthAccessToken updateMany
|
|
*/
|
|
export type OauthAccessTokenUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update OauthAccessTokens.
|
|
*/
|
|
data: Prisma.XOR<Prisma.OauthAccessTokenUpdateManyMutationInput, Prisma.OauthAccessTokenUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which OauthAccessTokens to update
|
|
*/
|
|
where?: Prisma.OauthAccessTokenWhereInput
|
|
/**
|
|
* Limit how many OauthAccessTokens to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* OauthAccessToken updateManyAndReturn
|
|
*/
|
|
export type OauthAccessTokenUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the OauthAccessToken
|
|
*/
|
|
select?: Prisma.OauthAccessTokenSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the OauthAccessToken
|
|
*/
|
|
omit?: Prisma.OauthAccessTokenOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update OauthAccessTokens.
|
|
*/
|
|
data: Prisma.XOR<Prisma.OauthAccessTokenUpdateManyMutationInput, Prisma.OauthAccessTokenUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which OauthAccessTokens to update
|
|
*/
|
|
where?: Prisma.OauthAccessTokenWhereInput
|
|
/**
|
|
* Limit how many OauthAccessTokens to update.
|
|
*/
|
|
limit?: number
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.OauthAccessTokenIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* OauthAccessToken upsert
|
|
*/
|
|
export type OauthAccessTokenUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the OauthAccessToken
|
|
*/
|
|
select?: Prisma.OauthAccessTokenSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the OauthAccessToken
|
|
*/
|
|
omit?: Prisma.OauthAccessTokenOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.OauthAccessTokenInclude<ExtArgs> | null
|
|
/**
|
|
* The filter to search for the OauthAccessToken to update in case it exists.
|
|
*/
|
|
where: Prisma.OauthAccessTokenWhereUniqueInput
|
|
/**
|
|
* In case the OauthAccessToken found by the `where` argument doesn't exist, create a new OauthAccessToken with this data.
|
|
*/
|
|
create: Prisma.XOR<Prisma.OauthAccessTokenCreateInput, Prisma.OauthAccessTokenUncheckedCreateInput>
|
|
/**
|
|
* In case the OauthAccessToken was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.OauthAccessTokenUpdateInput, Prisma.OauthAccessTokenUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* OauthAccessToken delete
|
|
*/
|
|
export type OauthAccessTokenDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the OauthAccessToken
|
|
*/
|
|
select?: Prisma.OauthAccessTokenSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the OauthAccessToken
|
|
*/
|
|
omit?: Prisma.OauthAccessTokenOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.OauthAccessTokenInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which OauthAccessToken to delete.
|
|
*/
|
|
where: Prisma.OauthAccessTokenWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* OauthAccessToken deleteMany
|
|
*/
|
|
export type OauthAccessTokenDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which OauthAccessTokens to delete
|
|
*/
|
|
where?: Prisma.OauthAccessTokenWhereInput
|
|
/**
|
|
* Limit how many OauthAccessTokens to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* OauthAccessToken.session
|
|
*/
|
|
export type OauthAccessToken$sessionArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the Session
|
|
*/
|
|
select?: Prisma.SessionSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the Session
|
|
*/
|
|
omit?: Prisma.SessionOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SessionInclude<ExtArgs> | null
|
|
where?: Prisma.SessionWhereInput
|
|
}
|
|
|
|
/**
|
|
* OauthAccessToken.user
|
|
*/
|
|
export type OauthAccessToken$userArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the User
|
|
*/
|
|
select?: Prisma.UserSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the User
|
|
*/
|
|
omit?: Prisma.UserOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.UserInclude<ExtArgs> | null
|
|
where?: Prisma.UserWhereInput
|
|
}
|
|
|
|
/**
|
|
* OauthAccessToken.refreshToken
|
|
*/
|
|
export type OauthAccessToken$refreshTokenArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the OauthRefreshToken
|
|
*/
|
|
select?: Prisma.OauthRefreshTokenSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the OauthRefreshToken
|
|
*/
|
|
omit?: Prisma.OauthRefreshTokenOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.OauthRefreshTokenInclude<ExtArgs> | null
|
|
where?: Prisma.OauthRefreshTokenWhereInput
|
|
}
|
|
|
|
/**
|
|
* OauthAccessToken without action
|
|
*/
|
|
export type OauthAccessTokenDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the OauthAccessToken
|
|
*/
|
|
select?: Prisma.OauthAccessTokenSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the OauthAccessToken
|
|
*/
|
|
omit?: Prisma.OauthAccessTokenOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.OauthAccessTokenInclude<ExtArgs> | null
|
|
}
|