create-zhx-monorepo 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -0
- package/bin/index.js +65 -0
- package/package.json +18 -0
- package/templates/monorepo-starter/.vscode/settings.json +3 -0
- package/templates/monorepo-starter/README.md +42 -0
- package/templates/monorepo-starter/apps/web/components.json +20 -0
- package/templates/monorepo-starter/apps/web/eslint.config.mjs +4 -0
- package/templates/monorepo-starter/apps/web/next-env.d.ts +6 -0
- package/templates/monorepo-starter/apps/web/next.config.mjs +6 -0
- package/templates/monorepo-starter/apps/web/package.json +31 -0
- package/templates/monorepo-starter/apps/web/postcss.config.mjs +1 -0
- package/templates/monorepo-starter/apps/web/public/.gitkeep +0 -0
- package/templates/monorepo-starter/apps/web/sitemap.config.cjs +6 -0
- package/templates/monorepo-starter/apps/web/src/app/(auth)/layout.tsx +7 -0
- package/templates/monorepo-starter/apps/web/src/app/(root)/layout.tsx +15 -0
- package/templates/monorepo-starter/apps/web/src/app/(root)/page.tsx +14 -0
- package/templates/monorepo-starter/apps/web/src/app/globals.css +1 -0
- package/templates/monorepo-starter/apps/web/src/app/layout.tsx +24 -0
- package/templates/monorepo-starter/apps/web/src/components/Footer.tsx +9 -0
- package/templates/monorepo-starter/apps/web/src/components/Header.tsx +11 -0
- package/templates/monorepo-starter/apps/web/src/components/ThemeSwitch.tsx +34 -0
- package/templates/monorepo-starter/apps/web/src/hooks/.gitkeep +0 -0
- package/templates/monorepo-starter/apps/web/src/lib/.gitkeep +0 -0
- package/templates/monorepo-starter/apps/web/src/providers/index.tsx +10 -0
- package/templates/monorepo-starter/apps/web/src/providers/theme.tsx +19 -0
- package/templates/monorepo-starter/apps/web/src/types/index.d.ts +16 -0
- package/templates/monorepo-starter/apps/web/tsconfig.json +20 -0
- package/templates/monorepo-starter/eslint.config.mjs +12 -0
- package/templates/monorepo-starter/package.json +23 -0
- package/templates/monorepo-starter/packages/config/eslint/base.js +31 -0
- package/templates/monorepo-starter/packages/config/eslint/nest.js +26 -0
- package/templates/monorepo-starter/packages/config/eslint/next.js +39 -0
- package/templates/monorepo-starter/packages/config/eslint/react.js +30 -0
- package/templates/monorepo-starter/packages/config/package.json +32 -0
- package/templates/monorepo-starter/packages/config/typescript/base.json +31 -0
- package/templates/monorepo-starter/packages/config/typescript/nest.json +14 -0
- package/templates/monorepo-starter/packages/config/typescript/next.json +10 -0
- package/templates/monorepo-starter/packages/config/typescript/react.json +9 -0
- package/templates/monorepo-starter/packages/ui/components.json +20 -0
- package/templates/monorepo-starter/packages/ui/eslint.config.mjs +4 -0
- package/templates/monorepo-starter/packages/ui/package.json +38 -0
- package/templates/monorepo-starter/packages/ui/postcss.config.mjs +6 -0
- package/templates/monorepo-starter/packages/ui/src/components/button.tsx +71 -0
- package/templates/monorepo-starter/packages/ui/src/hooks/.gitkeep +0 -0
- package/templates/monorepo-starter/packages/ui/src/lib/utils.ts +6 -0
- package/templates/monorepo-starter/packages/ui/src/styles/globals.css +182 -0
- package/templates/monorepo-starter/packages/ui/tsconfig.json +13 -0
- package/templates/monorepo-starter/packages/ui/tsconfig.lint.json +8 -0
- package/templates/monorepo-starter/pnpm-lock.yaml +12441 -0
- package/templates/monorepo-starter/pnpm-workspace.yaml +17 -0
- package/templates/monorepo-starter/server/.env.example +64 -0
- package/templates/monorepo-starter/server/README.md +63 -0
- package/templates/monorepo-starter/server/eslint.config.mjs +4 -0
- package/templates/monorepo-starter/server/nest-cli.json +12 -0
- package/templates/monorepo-starter/server/package.json +97 -0
- package/templates/monorepo-starter/server/prisma/generated/browser.ts +54 -0
- package/templates/monorepo-starter/server/prisma/generated/client.ts +76 -0
- package/templates/monorepo-starter/server/prisma/generated/commonInputTypes.ts +577 -0
- package/templates/monorepo-starter/server/prisma/generated/enums.ts +68 -0
- package/templates/monorepo-starter/server/prisma/generated/internal/class.ts +250 -0
- package/templates/monorepo-starter/server/prisma/generated/internal/prismaNamespace.ts +1436 -0
- package/templates/monorepo-starter/server/prisma/generated/internal/prismaNamespaceBrowser.ts +227 -0
- package/templates/monorepo-starter/server/prisma/generated/models/BackupCode.ts +1375 -0
- package/templates/monorepo-starter/server/prisma/generated/models/Notification.ts +1587 -0
- package/templates/monorepo-starter/server/prisma/generated/models/Otp.ts +1488 -0
- package/templates/monorepo-starter/server/prisma/generated/models/RefreshToken.ts +1515 -0
- package/templates/monorepo-starter/server/prisma/generated/models/RoleAssignment.ts +1385 -0
- package/templates/monorepo-starter/server/prisma/generated/models/SecuritySetting.ts +1422 -0
- package/templates/monorepo-starter/server/prisma/generated/models/User.ts +2498 -0
- package/templates/monorepo-starter/server/prisma/generated/models.ts +18 -0
- package/templates/monorepo-starter/server/prisma/migrations/20251218164821_init/migration.sql +210 -0
- package/templates/monorepo-starter/server/prisma/migrations/migration_lock.toml +3 -0
- package/templates/monorepo-starter/server/prisma/schema.prisma +193 -0
- package/templates/monorepo-starter/server/prisma.config.ts +13 -0
- package/templates/monorepo-starter/server/scripts/generate.sh +14 -0
- package/templates/monorepo-starter/server/src/app.module.ts +49 -0
- package/templates/monorepo-starter/server/src/lib/decorators/logger.decorator.ts +20 -0
- package/templates/monorepo-starter/server/src/lib/decorators/public.decorator.ts +4 -0
- package/templates/monorepo-starter/server/src/lib/decorators/roles.decorator.ts +5 -0
- package/templates/monorepo-starter/server/src/lib/dto/auth.dto.ts +64 -0
- package/templates/monorepo-starter/server/src/lib/dto/security-setting.dto.ts +21 -0
- package/templates/monorepo-starter/server/src/lib/filters/exceptions.filter.ts +62 -0
- package/templates/monorepo-starter/server/src/lib/guards/auth.guard.ts +104 -0
- package/templates/monorepo-starter/server/src/lib/interceptors/response.interceptor.ts +33 -0
- package/templates/monorepo-starter/server/src/lib/pipes/validation.pipe.ts +7 -0
- package/templates/monorepo-starter/server/src/lib/schemas/env.schema.ts +99 -0
- package/templates/monorepo-starter/server/src/lib/utils/cookie.util.ts +23 -0
- package/templates/monorepo-starter/server/src/lib/utils/general.util.ts +24 -0
- package/templates/monorepo-starter/server/src/main.ts +41 -0
- package/templates/monorepo-starter/server/src/modules/auth/auth.controller.ts +74 -0
- package/templates/monorepo-starter/server/src/modules/auth/auth.module.ts +16 -0
- package/templates/monorepo-starter/server/src/modules/auth/auth.service.ts +525 -0
- package/templates/monorepo-starter/server/src/modules/auth/oauth.controller.ts +58 -0
- package/templates/monorepo-starter/server/src/modules/auth/oauth.service.ts +165 -0
- package/templates/monorepo-starter/server/src/modules/auth/otp.service.ts +133 -0
- package/templates/monorepo-starter/server/src/modules/auth/role.service.ts +99 -0
- package/templates/monorepo-starter/server/src/modules/auth/security-setting.service.ts +102 -0
- package/templates/monorepo-starter/server/src/modules/env/env.module.ts +9 -0
- package/templates/monorepo-starter/server/src/modules/env/env.service.ts +22 -0
- package/templates/monorepo-starter/server/src/modules/logger/logger.module.ts +12 -0
- package/templates/monorepo-starter/server/src/modules/logger/logger.service.ts +37 -0
- package/templates/monorepo-starter/server/src/modules/logger/winston.config.ts +32 -0
- package/templates/monorepo-starter/server/src/modules/notification/notification.module.ts +11 -0
- package/templates/monorepo-starter/server/src/modules/notification/notification.service.ts +118 -0
- package/templates/monorepo-starter/server/src/modules/prisma/prisma.extension.ts +72 -0
- package/templates/monorepo-starter/server/src/modules/prisma/prisma.module.ts +9 -0
- package/templates/monorepo-starter/server/src/modules/prisma/prisma.service.ts +49 -0
- package/templates/monorepo-starter/server/src/modules/public/public.controller.ts +21 -0
- package/templates/monorepo-starter/server/src/modules/public/public.module.ts +9 -0
- package/templates/monorepo-starter/server/src/modules/public/public.service.ts +30 -0
- package/templates/monorepo-starter/server/src/modules/scheduler/cleanup.service.ts +33 -0
- package/templates/monorepo-starter/server/src/modules/scheduler/scheduler.module.ts +7 -0
- package/templates/monorepo-starter/server/src/modules/template/template.module.ts +8 -0
- package/templates/monorepo-starter/server/src/modules/template/template.service.ts +33 -0
- package/templates/monorepo-starter/server/src/modules/token/token.module.ts +11 -0
- package/templates/monorepo-starter/server/src/modules/token/token.service.ts +131 -0
- package/templates/monorepo-starter/server/src/types/express.d.ts +10 -0
- package/templates/monorepo-starter/server/src/types/index.d.ts +13 -0
- package/templates/monorepo-starter/server/templates/notification.templates.ts +243 -0
- package/templates/monorepo-starter/server/test/app.e2e-spec.ts +25 -0
- package/templates/monorepo-starter/server/test/jest-e2e.json +9 -0
- package/templates/monorepo-starter/server/tsconfig.json +23 -0
- package/templates/monorepo-starter/server/tsup.config.ts +14 -0
- package/templates/monorepo-starter/tsconfig.json +3 -0
- package/templates/monorepo-starter/turbo.json +21 -0
|
@@ -0,0 +1,1422 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
5
|
+
// @ts-nocheck
|
|
6
|
+
/*
|
|
7
|
+
* This file exports the `SecuritySetting` model and its related types.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
+
import type * as $Enums from "../enums"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model SecuritySetting
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type SecuritySettingModel = runtime.Types.Result.DefaultSelection<Prisma.$SecuritySettingPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateSecuritySetting = {
|
|
22
|
+
_count: SecuritySettingCountAggregateOutputType | null
|
|
23
|
+
_min: SecuritySettingMinAggregateOutputType | null
|
|
24
|
+
_max: SecuritySettingMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type SecuritySettingMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
userId: string | null
|
|
30
|
+
preferredMfa: $Enums.MfaMethod | null
|
|
31
|
+
recoveryEmail: string | null
|
|
32
|
+
recoveryPhone: string | null
|
|
33
|
+
isMfaEnabled: boolean | null
|
|
34
|
+
loginAlerts: boolean | null
|
|
35
|
+
createdAt: Date | null
|
|
36
|
+
updatedAt: Date | null
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export type SecuritySettingMaxAggregateOutputType = {
|
|
40
|
+
id: string | null
|
|
41
|
+
userId: string | null
|
|
42
|
+
preferredMfa: $Enums.MfaMethod | null
|
|
43
|
+
recoveryEmail: string | null
|
|
44
|
+
recoveryPhone: string | null
|
|
45
|
+
isMfaEnabled: boolean | null
|
|
46
|
+
loginAlerts: boolean | null
|
|
47
|
+
createdAt: Date | null
|
|
48
|
+
updatedAt: Date | null
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export type SecuritySettingCountAggregateOutputType = {
|
|
52
|
+
id: number
|
|
53
|
+
userId: number
|
|
54
|
+
preferredMfa: number
|
|
55
|
+
recoveryEmail: number
|
|
56
|
+
recoveryPhone: number
|
|
57
|
+
isMfaEnabled: number
|
|
58
|
+
loginAlerts: number
|
|
59
|
+
createdAt: number
|
|
60
|
+
updatedAt: number
|
|
61
|
+
_all: number
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
export type SecuritySettingMinAggregateInputType = {
|
|
66
|
+
id?: true
|
|
67
|
+
userId?: true
|
|
68
|
+
preferredMfa?: true
|
|
69
|
+
recoveryEmail?: true
|
|
70
|
+
recoveryPhone?: true
|
|
71
|
+
isMfaEnabled?: true
|
|
72
|
+
loginAlerts?: true
|
|
73
|
+
createdAt?: true
|
|
74
|
+
updatedAt?: true
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export type SecuritySettingMaxAggregateInputType = {
|
|
78
|
+
id?: true
|
|
79
|
+
userId?: true
|
|
80
|
+
preferredMfa?: true
|
|
81
|
+
recoveryEmail?: true
|
|
82
|
+
recoveryPhone?: true
|
|
83
|
+
isMfaEnabled?: true
|
|
84
|
+
loginAlerts?: true
|
|
85
|
+
createdAt?: true
|
|
86
|
+
updatedAt?: true
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export type SecuritySettingCountAggregateInputType = {
|
|
90
|
+
id?: true
|
|
91
|
+
userId?: true
|
|
92
|
+
preferredMfa?: true
|
|
93
|
+
recoveryEmail?: true
|
|
94
|
+
recoveryPhone?: true
|
|
95
|
+
isMfaEnabled?: true
|
|
96
|
+
loginAlerts?: true
|
|
97
|
+
createdAt?: true
|
|
98
|
+
updatedAt?: true
|
|
99
|
+
_all?: true
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export type SecuritySettingAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
103
|
+
/**
|
|
104
|
+
* Filter which SecuritySetting to aggregate.
|
|
105
|
+
*/
|
|
106
|
+
where?: Prisma.SecuritySettingWhereInput
|
|
107
|
+
/**
|
|
108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
109
|
+
*
|
|
110
|
+
* Determine the order of SecuritySettings to fetch.
|
|
111
|
+
*/
|
|
112
|
+
orderBy?: Prisma.SecuritySettingOrderByWithRelationInput | Prisma.SecuritySettingOrderByWithRelationInput[]
|
|
113
|
+
/**
|
|
114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
115
|
+
*
|
|
116
|
+
* Sets the start position
|
|
117
|
+
*/
|
|
118
|
+
cursor?: Prisma.SecuritySettingWhereUniqueInput
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
121
|
+
*
|
|
122
|
+
* Take `±n` SecuritySettings from the position of the cursor.
|
|
123
|
+
*/
|
|
124
|
+
take?: number
|
|
125
|
+
/**
|
|
126
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
127
|
+
*
|
|
128
|
+
* Skip the first `n` SecuritySettings.
|
|
129
|
+
*/
|
|
130
|
+
skip?: number
|
|
131
|
+
/**
|
|
132
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
133
|
+
*
|
|
134
|
+
* Count returned SecuritySettings
|
|
135
|
+
**/
|
|
136
|
+
_count?: true | SecuritySettingCountAggregateInputType
|
|
137
|
+
/**
|
|
138
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
139
|
+
*
|
|
140
|
+
* Select which fields to find the minimum value
|
|
141
|
+
**/
|
|
142
|
+
_min?: SecuritySettingMinAggregateInputType
|
|
143
|
+
/**
|
|
144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
145
|
+
*
|
|
146
|
+
* Select which fields to find the maximum value
|
|
147
|
+
**/
|
|
148
|
+
_max?: SecuritySettingMaxAggregateInputType
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export type GetSecuritySettingAggregateType<T extends SecuritySettingAggregateArgs> = {
|
|
152
|
+
[P in keyof T & keyof AggregateSecuritySetting]: P extends '_count' | 'count'
|
|
153
|
+
? T[P] extends true
|
|
154
|
+
? number
|
|
155
|
+
: Prisma.GetScalarType<T[P], AggregateSecuritySetting[P]>
|
|
156
|
+
: Prisma.GetScalarType<T[P], AggregateSecuritySetting[P]>
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
export type SecuritySettingGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
163
|
+
where?: Prisma.SecuritySettingWhereInput
|
|
164
|
+
orderBy?: Prisma.SecuritySettingOrderByWithAggregationInput | Prisma.SecuritySettingOrderByWithAggregationInput[]
|
|
165
|
+
by: Prisma.SecuritySettingScalarFieldEnum[] | Prisma.SecuritySettingScalarFieldEnum
|
|
166
|
+
having?: Prisma.SecuritySettingScalarWhereWithAggregatesInput
|
|
167
|
+
take?: number
|
|
168
|
+
skip?: number
|
|
169
|
+
_count?: SecuritySettingCountAggregateInputType | true
|
|
170
|
+
_min?: SecuritySettingMinAggregateInputType
|
|
171
|
+
_max?: SecuritySettingMaxAggregateInputType
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
export type SecuritySettingGroupByOutputType = {
|
|
175
|
+
id: string
|
|
176
|
+
userId: string
|
|
177
|
+
preferredMfa: $Enums.MfaMethod | null
|
|
178
|
+
recoveryEmail: string | null
|
|
179
|
+
recoveryPhone: string | null
|
|
180
|
+
isMfaEnabled: boolean
|
|
181
|
+
loginAlerts: boolean
|
|
182
|
+
createdAt: Date
|
|
183
|
+
updatedAt: Date
|
|
184
|
+
_count: SecuritySettingCountAggregateOutputType | null
|
|
185
|
+
_min: SecuritySettingMinAggregateOutputType | null
|
|
186
|
+
_max: SecuritySettingMaxAggregateOutputType | null
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
type GetSecuritySettingGroupByPayload<T extends SecuritySettingGroupByArgs> = Prisma.PrismaPromise<
|
|
190
|
+
Array<
|
|
191
|
+
Prisma.PickEnumerable<SecuritySettingGroupByOutputType, T['by']> &
|
|
192
|
+
{
|
|
193
|
+
[P in ((keyof T) & (keyof SecuritySettingGroupByOutputType))]: P extends '_count'
|
|
194
|
+
? T[P] extends boolean
|
|
195
|
+
? number
|
|
196
|
+
: Prisma.GetScalarType<T[P], SecuritySettingGroupByOutputType[P]>
|
|
197
|
+
: Prisma.GetScalarType<T[P], SecuritySettingGroupByOutputType[P]>
|
|
198
|
+
}
|
|
199
|
+
>
|
|
200
|
+
>
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
export type SecuritySettingWhereInput = {
|
|
205
|
+
AND?: Prisma.SecuritySettingWhereInput | Prisma.SecuritySettingWhereInput[]
|
|
206
|
+
OR?: Prisma.SecuritySettingWhereInput[]
|
|
207
|
+
NOT?: Prisma.SecuritySettingWhereInput | Prisma.SecuritySettingWhereInput[]
|
|
208
|
+
id?: Prisma.StringFilter<"SecuritySetting"> | string
|
|
209
|
+
userId?: Prisma.StringFilter<"SecuritySetting"> | string
|
|
210
|
+
preferredMfa?: Prisma.EnumMfaMethodNullableFilter<"SecuritySetting"> | $Enums.MfaMethod | null
|
|
211
|
+
recoveryEmail?: Prisma.StringNullableFilter<"SecuritySetting"> | string | null
|
|
212
|
+
recoveryPhone?: Prisma.StringNullableFilter<"SecuritySetting"> | string | null
|
|
213
|
+
isMfaEnabled?: Prisma.BoolFilter<"SecuritySetting"> | boolean
|
|
214
|
+
loginAlerts?: Prisma.BoolFilter<"SecuritySetting"> | boolean
|
|
215
|
+
createdAt?: Prisma.DateTimeFilter<"SecuritySetting"> | Date | string
|
|
216
|
+
updatedAt?: Prisma.DateTimeFilter<"SecuritySetting"> | Date | string
|
|
217
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
export type SecuritySettingOrderByWithRelationInput = {
|
|
221
|
+
id?: Prisma.SortOrder
|
|
222
|
+
userId?: Prisma.SortOrder
|
|
223
|
+
preferredMfa?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
224
|
+
recoveryEmail?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
225
|
+
recoveryPhone?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
226
|
+
isMfaEnabled?: Prisma.SortOrder
|
|
227
|
+
loginAlerts?: Prisma.SortOrder
|
|
228
|
+
createdAt?: Prisma.SortOrder
|
|
229
|
+
updatedAt?: Prisma.SortOrder
|
|
230
|
+
user?: Prisma.UserOrderByWithRelationInput
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
export type SecuritySettingWhereUniqueInput = Prisma.AtLeast<{
|
|
234
|
+
id?: string
|
|
235
|
+
userId?: string
|
|
236
|
+
AND?: Prisma.SecuritySettingWhereInput | Prisma.SecuritySettingWhereInput[]
|
|
237
|
+
OR?: Prisma.SecuritySettingWhereInput[]
|
|
238
|
+
NOT?: Prisma.SecuritySettingWhereInput | Prisma.SecuritySettingWhereInput[]
|
|
239
|
+
preferredMfa?: Prisma.EnumMfaMethodNullableFilter<"SecuritySetting"> | $Enums.MfaMethod | null
|
|
240
|
+
recoveryEmail?: Prisma.StringNullableFilter<"SecuritySetting"> | string | null
|
|
241
|
+
recoveryPhone?: Prisma.StringNullableFilter<"SecuritySetting"> | string | null
|
|
242
|
+
isMfaEnabled?: Prisma.BoolFilter<"SecuritySetting"> | boolean
|
|
243
|
+
loginAlerts?: Prisma.BoolFilter<"SecuritySetting"> | boolean
|
|
244
|
+
createdAt?: Prisma.DateTimeFilter<"SecuritySetting"> | Date | string
|
|
245
|
+
updatedAt?: Prisma.DateTimeFilter<"SecuritySetting"> | Date | string
|
|
246
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
247
|
+
}, "id" | "userId">
|
|
248
|
+
|
|
249
|
+
export type SecuritySettingOrderByWithAggregationInput = {
|
|
250
|
+
id?: Prisma.SortOrder
|
|
251
|
+
userId?: Prisma.SortOrder
|
|
252
|
+
preferredMfa?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
253
|
+
recoveryEmail?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
254
|
+
recoveryPhone?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
255
|
+
isMfaEnabled?: Prisma.SortOrder
|
|
256
|
+
loginAlerts?: Prisma.SortOrder
|
|
257
|
+
createdAt?: Prisma.SortOrder
|
|
258
|
+
updatedAt?: Prisma.SortOrder
|
|
259
|
+
_count?: Prisma.SecuritySettingCountOrderByAggregateInput
|
|
260
|
+
_max?: Prisma.SecuritySettingMaxOrderByAggregateInput
|
|
261
|
+
_min?: Prisma.SecuritySettingMinOrderByAggregateInput
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
export type SecuritySettingScalarWhereWithAggregatesInput = {
|
|
265
|
+
AND?: Prisma.SecuritySettingScalarWhereWithAggregatesInput | Prisma.SecuritySettingScalarWhereWithAggregatesInput[]
|
|
266
|
+
OR?: Prisma.SecuritySettingScalarWhereWithAggregatesInput[]
|
|
267
|
+
NOT?: Prisma.SecuritySettingScalarWhereWithAggregatesInput | Prisma.SecuritySettingScalarWhereWithAggregatesInput[]
|
|
268
|
+
id?: Prisma.StringWithAggregatesFilter<"SecuritySetting"> | string
|
|
269
|
+
userId?: Prisma.StringWithAggregatesFilter<"SecuritySetting"> | string
|
|
270
|
+
preferredMfa?: Prisma.EnumMfaMethodNullableWithAggregatesFilter<"SecuritySetting"> | $Enums.MfaMethod | null
|
|
271
|
+
recoveryEmail?: Prisma.StringNullableWithAggregatesFilter<"SecuritySetting"> | string | null
|
|
272
|
+
recoveryPhone?: Prisma.StringNullableWithAggregatesFilter<"SecuritySetting"> | string | null
|
|
273
|
+
isMfaEnabled?: Prisma.BoolWithAggregatesFilter<"SecuritySetting"> | boolean
|
|
274
|
+
loginAlerts?: Prisma.BoolWithAggregatesFilter<"SecuritySetting"> | boolean
|
|
275
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"SecuritySetting"> | Date | string
|
|
276
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"SecuritySetting"> | Date | string
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export type SecuritySettingCreateInput = {
|
|
280
|
+
id?: string
|
|
281
|
+
preferredMfa?: $Enums.MfaMethod | null
|
|
282
|
+
recoveryEmail?: string | null
|
|
283
|
+
recoveryPhone?: string | null
|
|
284
|
+
isMfaEnabled?: boolean
|
|
285
|
+
loginAlerts?: boolean
|
|
286
|
+
createdAt?: Date | string
|
|
287
|
+
updatedAt?: Date | string
|
|
288
|
+
user: Prisma.UserCreateNestedOneWithoutSecuritySettingInput
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
export type SecuritySettingUncheckedCreateInput = {
|
|
292
|
+
id?: string
|
|
293
|
+
userId: string
|
|
294
|
+
preferredMfa?: $Enums.MfaMethod | null
|
|
295
|
+
recoveryEmail?: string | null
|
|
296
|
+
recoveryPhone?: string | null
|
|
297
|
+
isMfaEnabled?: boolean
|
|
298
|
+
loginAlerts?: boolean
|
|
299
|
+
createdAt?: Date | string
|
|
300
|
+
updatedAt?: Date | string
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
export type SecuritySettingUpdateInput = {
|
|
304
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
305
|
+
preferredMfa?: Prisma.NullableEnumMfaMethodFieldUpdateOperationsInput | $Enums.MfaMethod | null
|
|
306
|
+
recoveryEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
307
|
+
recoveryPhone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
308
|
+
isMfaEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
309
|
+
loginAlerts?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
310
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
311
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
312
|
+
user?: Prisma.UserUpdateOneRequiredWithoutSecuritySettingNestedInput
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
export type SecuritySettingUncheckedUpdateInput = {
|
|
316
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
317
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
318
|
+
preferredMfa?: Prisma.NullableEnumMfaMethodFieldUpdateOperationsInput | $Enums.MfaMethod | null
|
|
319
|
+
recoveryEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
320
|
+
recoveryPhone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
321
|
+
isMfaEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
322
|
+
loginAlerts?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
323
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
324
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
export type SecuritySettingCreateManyInput = {
|
|
328
|
+
id?: string
|
|
329
|
+
userId: string
|
|
330
|
+
preferredMfa?: $Enums.MfaMethod | null
|
|
331
|
+
recoveryEmail?: string | null
|
|
332
|
+
recoveryPhone?: string | null
|
|
333
|
+
isMfaEnabled?: boolean
|
|
334
|
+
loginAlerts?: boolean
|
|
335
|
+
createdAt?: Date | string
|
|
336
|
+
updatedAt?: Date | string
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
export type SecuritySettingUpdateManyMutationInput = {
|
|
340
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
341
|
+
preferredMfa?: Prisma.NullableEnumMfaMethodFieldUpdateOperationsInput | $Enums.MfaMethod | null
|
|
342
|
+
recoveryEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
343
|
+
recoveryPhone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
344
|
+
isMfaEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
345
|
+
loginAlerts?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
346
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
347
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
export type SecuritySettingUncheckedUpdateManyInput = {
|
|
351
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
352
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
353
|
+
preferredMfa?: Prisma.NullableEnumMfaMethodFieldUpdateOperationsInput | $Enums.MfaMethod | null
|
|
354
|
+
recoveryEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
355
|
+
recoveryPhone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
356
|
+
isMfaEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
357
|
+
loginAlerts?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
358
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
359
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
export type SecuritySettingNullableScalarRelationFilter = {
|
|
363
|
+
is?: Prisma.SecuritySettingWhereInput | null
|
|
364
|
+
isNot?: Prisma.SecuritySettingWhereInput | null
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
export type SecuritySettingCountOrderByAggregateInput = {
|
|
368
|
+
id?: Prisma.SortOrder
|
|
369
|
+
userId?: Prisma.SortOrder
|
|
370
|
+
preferredMfa?: Prisma.SortOrder
|
|
371
|
+
recoveryEmail?: Prisma.SortOrder
|
|
372
|
+
recoveryPhone?: Prisma.SortOrder
|
|
373
|
+
isMfaEnabled?: Prisma.SortOrder
|
|
374
|
+
loginAlerts?: Prisma.SortOrder
|
|
375
|
+
createdAt?: Prisma.SortOrder
|
|
376
|
+
updatedAt?: Prisma.SortOrder
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
export type SecuritySettingMaxOrderByAggregateInput = {
|
|
380
|
+
id?: Prisma.SortOrder
|
|
381
|
+
userId?: Prisma.SortOrder
|
|
382
|
+
preferredMfa?: Prisma.SortOrder
|
|
383
|
+
recoveryEmail?: Prisma.SortOrder
|
|
384
|
+
recoveryPhone?: Prisma.SortOrder
|
|
385
|
+
isMfaEnabled?: Prisma.SortOrder
|
|
386
|
+
loginAlerts?: Prisma.SortOrder
|
|
387
|
+
createdAt?: Prisma.SortOrder
|
|
388
|
+
updatedAt?: Prisma.SortOrder
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
export type SecuritySettingMinOrderByAggregateInput = {
|
|
392
|
+
id?: Prisma.SortOrder
|
|
393
|
+
userId?: Prisma.SortOrder
|
|
394
|
+
preferredMfa?: Prisma.SortOrder
|
|
395
|
+
recoveryEmail?: Prisma.SortOrder
|
|
396
|
+
recoveryPhone?: Prisma.SortOrder
|
|
397
|
+
isMfaEnabled?: Prisma.SortOrder
|
|
398
|
+
loginAlerts?: Prisma.SortOrder
|
|
399
|
+
createdAt?: Prisma.SortOrder
|
|
400
|
+
updatedAt?: Prisma.SortOrder
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
export type SecuritySettingCreateNestedOneWithoutUserInput = {
|
|
404
|
+
create?: Prisma.XOR<Prisma.SecuritySettingCreateWithoutUserInput, Prisma.SecuritySettingUncheckedCreateWithoutUserInput>
|
|
405
|
+
connectOrCreate?: Prisma.SecuritySettingCreateOrConnectWithoutUserInput
|
|
406
|
+
connect?: Prisma.SecuritySettingWhereUniqueInput
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
export type SecuritySettingUncheckedCreateNestedOneWithoutUserInput = {
|
|
410
|
+
create?: Prisma.XOR<Prisma.SecuritySettingCreateWithoutUserInput, Prisma.SecuritySettingUncheckedCreateWithoutUserInput>
|
|
411
|
+
connectOrCreate?: Prisma.SecuritySettingCreateOrConnectWithoutUserInput
|
|
412
|
+
connect?: Prisma.SecuritySettingWhereUniqueInput
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export type SecuritySettingUpdateOneWithoutUserNestedInput = {
|
|
416
|
+
create?: Prisma.XOR<Prisma.SecuritySettingCreateWithoutUserInput, Prisma.SecuritySettingUncheckedCreateWithoutUserInput>
|
|
417
|
+
connectOrCreate?: Prisma.SecuritySettingCreateOrConnectWithoutUserInput
|
|
418
|
+
upsert?: Prisma.SecuritySettingUpsertWithoutUserInput
|
|
419
|
+
disconnect?: Prisma.SecuritySettingWhereInput | boolean
|
|
420
|
+
delete?: Prisma.SecuritySettingWhereInput | boolean
|
|
421
|
+
connect?: Prisma.SecuritySettingWhereUniqueInput
|
|
422
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.SecuritySettingUpdateToOneWithWhereWithoutUserInput, Prisma.SecuritySettingUpdateWithoutUserInput>, Prisma.SecuritySettingUncheckedUpdateWithoutUserInput>
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
export type SecuritySettingUncheckedUpdateOneWithoutUserNestedInput = {
|
|
426
|
+
create?: Prisma.XOR<Prisma.SecuritySettingCreateWithoutUserInput, Prisma.SecuritySettingUncheckedCreateWithoutUserInput>
|
|
427
|
+
connectOrCreate?: Prisma.SecuritySettingCreateOrConnectWithoutUserInput
|
|
428
|
+
upsert?: Prisma.SecuritySettingUpsertWithoutUserInput
|
|
429
|
+
disconnect?: Prisma.SecuritySettingWhereInput | boolean
|
|
430
|
+
delete?: Prisma.SecuritySettingWhereInput | boolean
|
|
431
|
+
connect?: Prisma.SecuritySettingWhereUniqueInput
|
|
432
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.SecuritySettingUpdateToOneWithWhereWithoutUserInput, Prisma.SecuritySettingUpdateWithoutUserInput>, Prisma.SecuritySettingUncheckedUpdateWithoutUserInput>
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
export type NullableEnumMfaMethodFieldUpdateOperationsInput = {
|
|
436
|
+
set?: $Enums.MfaMethod | null
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
export type SecuritySettingCreateWithoutUserInput = {
|
|
440
|
+
id?: string
|
|
441
|
+
preferredMfa?: $Enums.MfaMethod | null
|
|
442
|
+
recoveryEmail?: string | null
|
|
443
|
+
recoveryPhone?: string | null
|
|
444
|
+
isMfaEnabled?: boolean
|
|
445
|
+
loginAlerts?: boolean
|
|
446
|
+
createdAt?: Date | string
|
|
447
|
+
updatedAt?: Date | string
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
export type SecuritySettingUncheckedCreateWithoutUserInput = {
|
|
451
|
+
id?: string
|
|
452
|
+
preferredMfa?: $Enums.MfaMethod | null
|
|
453
|
+
recoveryEmail?: string | null
|
|
454
|
+
recoveryPhone?: string | null
|
|
455
|
+
isMfaEnabled?: boolean
|
|
456
|
+
loginAlerts?: boolean
|
|
457
|
+
createdAt?: Date | string
|
|
458
|
+
updatedAt?: Date | string
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
export type SecuritySettingCreateOrConnectWithoutUserInput = {
|
|
462
|
+
where: Prisma.SecuritySettingWhereUniqueInput
|
|
463
|
+
create: Prisma.XOR<Prisma.SecuritySettingCreateWithoutUserInput, Prisma.SecuritySettingUncheckedCreateWithoutUserInput>
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
export type SecuritySettingUpsertWithoutUserInput = {
|
|
467
|
+
update: Prisma.XOR<Prisma.SecuritySettingUpdateWithoutUserInput, Prisma.SecuritySettingUncheckedUpdateWithoutUserInput>
|
|
468
|
+
create: Prisma.XOR<Prisma.SecuritySettingCreateWithoutUserInput, Prisma.SecuritySettingUncheckedCreateWithoutUserInput>
|
|
469
|
+
where?: Prisma.SecuritySettingWhereInput
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
export type SecuritySettingUpdateToOneWithWhereWithoutUserInput = {
|
|
473
|
+
where?: Prisma.SecuritySettingWhereInput
|
|
474
|
+
data: Prisma.XOR<Prisma.SecuritySettingUpdateWithoutUserInput, Prisma.SecuritySettingUncheckedUpdateWithoutUserInput>
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
export type SecuritySettingUpdateWithoutUserInput = {
|
|
478
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
479
|
+
preferredMfa?: Prisma.NullableEnumMfaMethodFieldUpdateOperationsInput | $Enums.MfaMethod | null
|
|
480
|
+
recoveryEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
481
|
+
recoveryPhone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
482
|
+
isMfaEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
483
|
+
loginAlerts?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
484
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
485
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
export type SecuritySettingUncheckedUpdateWithoutUserInput = {
|
|
489
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
490
|
+
preferredMfa?: Prisma.NullableEnumMfaMethodFieldUpdateOperationsInput | $Enums.MfaMethod | null
|
|
491
|
+
recoveryEmail?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
492
|
+
recoveryPhone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
493
|
+
isMfaEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
494
|
+
loginAlerts?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
495
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
496
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
export type SecuritySettingSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
502
|
+
id?: boolean
|
|
503
|
+
userId?: boolean
|
|
504
|
+
preferredMfa?: boolean
|
|
505
|
+
recoveryEmail?: boolean
|
|
506
|
+
recoveryPhone?: boolean
|
|
507
|
+
isMfaEnabled?: boolean
|
|
508
|
+
loginAlerts?: boolean
|
|
509
|
+
createdAt?: boolean
|
|
510
|
+
updatedAt?: boolean
|
|
511
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
512
|
+
}, ExtArgs["result"]["securitySetting"]>
|
|
513
|
+
|
|
514
|
+
export type SecuritySettingSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
515
|
+
id?: boolean
|
|
516
|
+
userId?: boolean
|
|
517
|
+
preferredMfa?: boolean
|
|
518
|
+
recoveryEmail?: boolean
|
|
519
|
+
recoveryPhone?: boolean
|
|
520
|
+
isMfaEnabled?: boolean
|
|
521
|
+
loginAlerts?: boolean
|
|
522
|
+
createdAt?: boolean
|
|
523
|
+
updatedAt?: boolean
|
|
524
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
525
|
+
}, ExtArgs["result"]["securitySetting"]>
|
|
526
|
+
|
|
527
|
+
export type SecuritySettingSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
528
|
+
id?: boolean
|
|
529
|
+
userId?: boolean
|
|
530
|
+
preferredMfa?: boolean
|
|
531
|
+
recoveryEmail?: boolean
|
|
532
|
+
recoveryPhone?: boolean
|
|
533
|
+
isMfaEnabled?: boolean
|
|
534
|
+
loginAlerts?: boolean
|
|
535
|
+
createdAt?: boolean
|
|
536
|
+
updatedAt?: boolean
|
|
537
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
538
|
+
}, ExtArgs["result"]["securitySetting"]>
|
|
539
|
+
|
|
540
|
+
export type SecuritySettingSelectScalar = {
|
|
541
|
+
id?: boolean
|
|
542
|
+
userId?: boolean
|
|
543
|
+
preferredMfa?: boolean
|
|
544
|
+
recoveryEmail?: boolean
|
|
545
|
+
recoveryPhone?: boolean
|
|
546
|
+
isMfaEnabled?: boolean
|
|
547
|
+
loginAlerts?: boolean
|
|
548
|
+
createdAt?: boolean
|
|
549
|
+
updatedAt?: boolean
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
export type SecuritySettingOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "userId" | "preferredMfa" | "recoveryEmail" | "recoveryPhone" | "isMfaEnabled" | "loginAlerts" | "createdAt" | "updatedAt", ExtArgs["result"]["securitySetting"]>
|
|
553
|
+
export type SecuritySettingInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
554
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
555
|
+
}
|
|
556
|
+
export type SecuritySettingIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
557
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
558
|
+
}
|
|
559
|
+
export type SecuritySettingIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
560
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
export type $SecuritySettingPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
564
|
+
name: "SecuritySetting"
|
|
565
|
+
objects: {
|
|
566
|
+
user: Prisma.$UserPayload<ExtArgs>
|
|
567
|
+
}
|
|
568
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
569
|
+
id: string
|
|
570
|
+
userId: string
|
|
571
|
+
preferredMfa: $Enums.MfaMethod | null
|
|
572
|
+
recoveryEmail: string | null
|
|
573
|
+
recoveryPhone: string | null
|
|
574
|
+
isMfaEnabled: boolean
|
|
575
|
+
loginAlerts: boolean
|
|
576
|
+
createdAt: Date
|
|
577
|
+
updatedAt: Date
|
|
578
|
+
}, ExtArgs["result"]["securitySetting"]>
|
|
579
|
+
composites: {}
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
export type SecuritySettingGetPayload<S extends boolean | null | undefined | SecuritySettingDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$SecuritySettingPayload, S>
|
|
583
|
+
|
|
584
|
+
export type SecuritySettingCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
585
|
+
Omit<SecuritySettingFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
586
|
+
select?: SecuritySettingCountAggregateInputType | true
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
export interface SecuritySettingDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
590
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['SecuritySetting'], meta: { name: 'SecuritySetting' } }
|
|
591
|
+
/**
|
|
592
|
+
* Find zero or one SecuritySetting that matches the filter.
|
|
593
|
+
* @param {SecuritySettingFindUniqueArgs} args - Arguments to find a SecuritySetting
|
|
594
|
+
* @example
|
|
595
|
+
* // Get one SecuritySetting
|
|
596
|
+
* const securitySetting = await prisma.securitySetting.findUnique({
|
|
597
|
+
* where: {
|
|
598
|
+
* // ... provide filter here
|
|
599
|
+
* }
|
|
600
|
+
* })
|
|
601
|
+
*/
|
|
602
|
+
findUnique<T extends SecuritySettingFindUniqueArgs>(args: Prisma.SelectSubset<T, SecuritySettingFindUniqueArgs<ExtArgs>>): Prisma.Prisma__SecuritySettingClient<runtime.Types.Result.GetResult<Prisma.$SecuritySettingPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
603
|
+
|
|
604
|
+
/**
|
|
605
|
+
* Find one SecuritySetting that matches the filter or throw an error with `error.code='P2025'`
|
|
606
|
+
* if no matches were found.
|
|
607
|
+
* @param {SecuritySettingFindUniqueOrThrowArgs} args - Arguments to find a SecuritySetting
|
|
608
|
+
* @example
|
|
609
|
+
* // Get one SecuritySetting
|
|
610
|
+
* const securitySetting = await prisma.securitySetting.findUniqueOrThrow({
|
|
611
|
+
* where: {
|
|
612
|
+
* // ... provide filter here
|
|
613
|
+
* }
|
|
614
|
+
* })
|
|
615
|
+
*/
|
|
616
|
+
findUniqueOrThrow<T extends SecuritySettingFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, SecuritySettingFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__SecuritySettingClient<runtime.Types.Result.GetResult<Prisma.$SecuritySettingPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* Find the first SecuritySetting that matches the filter.
|
|
620
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
621
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
622
|
+
* @param {SecuritySettingFindFirstArgs} args - Arguments to find a SecuritySetting
|
|
623
|
+
* @example
|
|
624
|
+
* // Get one SecuritySetting
|
|
625
|
+
* const securitySetting = await prisma.securitySetting.findFirst({
|
|
626
|
+
* where: {
|
|
627
|
+
* // ... provide filter here
|
|
628
|
+
* }
|
|
629
|
+
* })
|
|
630
|
+
*/
|
|
631
|
+
findFirst<T extends SecuritySettingFindFirstArgs>(args?: Prisma.SelectSubset<T, SecuritySettingFindFirstArgs<ExtArgs>>): Prisma.Prisma__SecuritySettingClient<runtime.Types.Result.GetResult<Prisma.$SecuritySettingPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* Find the first SecuritySetting that matches the filter or
|
|
635
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
636
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
637
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
638
|
+
* @param {SecuritySettingFindFirstOrThrowArgs} args - Arguments to find a SecuritySetting
|
|
639
|
+
* @example
|
|
640
|
+
* // Get one SecuritySetting
|
|
641
|
+
* const securitySetting = await prisma.securitySetting.findFirstOrThrow({
|
|
642
|
+
* where: {
|
|
643
|
+
* // ... provide filter here
|
|
644
|
+
* }
|
|
645
|
+
* })
|
|
646
|
+
*/
|
|
647
|
+
findFirstOrThrow<T extends SecuritySettingFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, SecuritySettingFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__SecuritySettingClient<runtime.Types.Result.GetResult<Prisma.$SecuritySettingPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* Find zero or more SecuritySettings that matches the filter.
|
|
651
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
652
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
653
|
+
* @param {SecuritySettingFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
654
|
+
* @example
|
|
655
|
+
* // Get all SecuritySettings
|
|
656
|
+
* const securitySettings = await prisma.securitySetting.findMany()
|
|
657
|
+
*
|
|
658
|
+
* // Get first 10 SecuritySettings
|
|
659
|
+
* const securitySettings = await prisma.securitySetting.findMany({ take: 10 })
|
|
660
|
+
*
|
|
661
|
+
* // Only select the `id`
|
|
662
|
+
* const securitySettingWithIdOnly = await prisma.securitySetting.findMany({ select: { id: true } })
|
|
663
|
+
*
|
|
664
|
+
*/
|
|
665
|
+
findMany<T extends SecuritySettingFindManyArgs>(args?: Prisma.SelectSubset<T, SecuritySettingFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SecuritySettingPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* Create a SecuritySetting.
|
|
669
|
+
* @param {SecuritySettingCreateArgs} args - Arguments to create a SecuritySetting.
|
|
670
|
+
* @example
|
|
671
|
+
* // Create one SecuritySetting
|
|
672
|
+
* const SecuritySetting = await prisma.securitySetting.create({
|
|
673
|
+
* data: {
|
|
674
|
+
* // ... data to create a SecuritySetting
|
|
675
|
+
* }
|
|
676
|
+
* })
|
|
677
|
+
*
|
|
678
|
+
*/
|
|
679
|
+
create<T extends SecuritySettingCreateArgs>(args: Prisma.SelectSubset<T, SecuritySettingCreateArgs<ExtArgs>>): Prisma.Prisma__SecuritySettingClient<runtime.Types.Result.GetResult<Prisma.$SecuritySettingPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* Create many SecuritySettings.
|
|
683
|
+
* @param {SecuritySettingCreateManyArgs} args - Arguments to create many SecuritySettings.
|
|
684
|
+
* @example
|
|
685
|
+
* // Create many SecuritySettings
|
|
686
|
+
* const securitySetting = await prisma.securitySetting.createMany({
|
|
687
|
+
* data: [
|
|
688
|
+
* // ... provide data here
|
|
689
|
+
* ]
|
|
690
|
+
* })
|
|
691
|
+
*
|
|
692
|
+
*/
|
|
693
|
+
createMany<T extends SecuritySettingCreateManyArgs>(args?: Prisma.SelectSubset<T, SecuritySettingCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* Create many SecuritySettings and returns the data saved in the database.
|
|
697
|
+
* @param {SecuritySettingCreateManyAndReturnArgs} args - Arguments to create many SecuritySettings.
|
|
698
|
+
* @example
|
|
699
|
+
* // Create many SecuritySettings
|
|
700
|
+
* const securitySetting = await prisma.securitySetting.createManyAndReturn({
|
|
701
|
+
* data: [
|
|
702
|
+
* // ... provide data here
|
|
703
|
+
* ]
|
|
704
|
+
* })
|
|
705
|
+
*
|
|
706
|
+
* // Create many SecuritySettings and only return the `id`
|
|
707
|
+
* const securitySettingWithIdOnly = await prisma.securitySetting.createManyAndReturn({
|
|
708
|
+
* select: { id: true },
|
|
709
|
+
* data: [
|
|
710
|
+
* // ... provide data here
|
|
711
|
+
* ]
|
|
712
|
+
* })
|
|
713
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
714
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
715
|
+
*
|
|
716
|
+
*/
|
|
717
|
+
createManyAndReturn<T extends SecuritySettingCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, SecuritySettingCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SecuritySettingPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
718
|
+
|
|
719
|
+
/**
|
|
720
|
+
* Delete a SecuritySetting.
|
|
721
|
+
* @param {SecuritySettingDeleteArgs} args - Arguments to delete one SecuritySetting.
|
|
722
|
+
* @example
|
|
723
|
+
* // Delete one SecuritySetting
|
|
724
|
+
* const SecuritySetting = await prisma.securitySetting.delete({
|
|
725
|
+
* where: {
|
|
726
|
+
* // ... filter to delete one SecuritySetting
|
|
727
|
+
* }
|
|
728
|
+
* })
|
|
729
|
+
*
|
|
730
|
+
*/
|
|
731
|
+
delete<T extends SecuritySettingDeleteArgs>(args: Prisma.SelectSubset<T, SecuritySettingDeleteArgs<ExtArgs>>): Prisma.Prisma__SecuritySettingClient<runtime.Types.Result.GetResult<Prisma.$SecuritySettingPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
732
|
+
|
|
733
|
+
/**
|
|
734
|
+
* Update one SecuritySetting.
|
|
735
|
+
* @param {SecuritySettingUpdateArgs} args - Arguments to update one SecuritySetting.
|
|
736
|
+
* @example
|
|
737
|
+
* // Update one SecuritySetting
|
|
738
|
+
* const securitySetting = await prisma.securitySetting.update({
|
|
739
|
+
* where: {
|
|
740
|
+
* // ... provide filter here
|
|
741
|
+
* },
|
|
742
|
+
* data: {
|
|
743
|
+
* // ... provide data here
|
|
744
|
+
* }
|
|
745
|
+
* })
|
|
746
|
+
*
|
|
747
|
+
*/
|
|
748
|
+
update<T extends SecuritySettingUpdateArgs>(args: Prisma.SelectSubset<T, SecuritySettingUpdateArgs<ExtArgs>>): Prisma.Prisma__SecuritySettingClient<runtime.Types.Result.GetResult<Prisma.$SecuritySettingPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
* Delete zero or more SecuritySettings.
|
|
752
|
+
* @param {SecuritySettingDeleteManyArgs} args - Arguments to filter SecuritySettings to delete.
|
|
753
|
+
* @example
|
|
754
|
+
* // Delete a few SecuritySettings
|
|
755
|
+
* const { count } = await prisma.securitySetting.deleteMany({
|
|
756
|
+
* where: {
|
|
757
|
+
* // ... provide filter here
|
|
758
|
+
* }
|
|
759
|
+
* })
|
|
760
|
+
*
|
|
761
|
+
*/
|
|
762
|
+
deleteMany<T extends SecuritySettingDeleteManyArgs>(args?: Prisma.SelectSubset<T, SecuritySettingDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
763
|
+
|
|
764
|
+
/**
|
|
765
|
+
* Update zero or more SecuritySettings.
|
|
766
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
767
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
768
|
+
* @param {SecuritySettingUpdateManyArgs} args - Arguments to update one or more rows.
|
|
769
|
+
* @example
|
|
770
|
+
* // Update many SecuritySettings
|
|
771
|
+
* const securitySetting = await prisma.securitySetting.updateMany({
|
|
772
|
+
* where: {
|
|
773
|
+
* // ... provide filter here
|
|
774
|
+
* },
|
|
775
|
+
* data: {
|
|
776
|
+
* // ... provide data here
|
|
777
|
+
* }
|
|
778
|
+
* })
|
|
779
|
+
*
|
|
780
|
+
*/
|
|
781
|
+
updateMany<T extends SecuritySettingUpdateManyArgs>(args: Prisma.SelectSubset<T, SecuritySettingUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* Update zero or more SecuritySettings and returns the data updated in the database.
|
|
785
|
+
* @param {SecuritySettingUpdateManyAndReturnArgs} args - Arguments to update many SecuritySettings.
|
|
786
|
+
* @example
|
|
787
|
+
* // Update many SecuritySettings
|
|
788
|
+
* const securitySetting = await prisma.securitySetting.updateManyAndReturn({
|
|
789
|
+
* where: {
|
|
790
|
+
* // ... provide filter here
|
|
791
|
+
* },
|
|
792
|
+
* data: [
|
|
793
|
+
* // ... provide data here
|
|
794
|
+
* ]
|
|
795
|
+
* })
|
|
796
|
+
*
|
|
797
|
+
* // Update zero or more SecuritySettings and only return the `id`
|
|
798
|
+
* const securitySettingWithIdOnly = await prisma.securitySetting.updateManyAndReturn({
|
|
799
|
+
* select: { id: true },
|
|
800
|
+
* where: {
|
|
801
|
+
* // ... provide filter here
|
|
802
|
+
* },
|
|
803
|
+
* data: [
|
|
804
|
+
* // ... provide data here
|
|
805
|
+
* ]
|
|
806
|
+
* })
|
|
807
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
808
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
809
|
+
*
|
|
810
|
+
*/
|
|
811
|
+
updateManyAndReturn<T extends SecuritySettingUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, SecuritySettingUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SecuritySettingPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
812
|
+
|
|
813
|
+
/**
|
|
814
|
+
* Create or update one SecuritySetting.
|
|
815
|
+
* @param {SecuritySettingUpsertArgs} args - Arguments to update or create a SecuritySetting.
|
|
816
|
+
* @example
|
|
817
|
+
* // Update or create a SecuritySetting
|
|
818
|
+
* const securitySetting = await prisma.securitySetting.upsert({
|
|
819
|
+
* create: {
|
|
820
|
+
* // ... data to create a SecuritySetting
|
|
821
|
+
* },
|
|
822
|
+
* update: {
|
|
823
|
+
* // ... in case it already exists, update
|
|
824
|
+
* },
|
|
825
|
+
* where: {
|
|
826
|
+
* // ... the filter for the SecuritySetting we want to update
|
|
827
|
+
* }
|
|
828
|
+
* })
|
|
829
|
+
*/
|
|
830
|
+
upsert<T extends SecuritySettingUpsertArgs>(args: Prisma.SelectSubset<T, SecuritySettingUpsertArgs<ExtArgs>>): Prisma.Prisma__SecuritySettingClient<runtime.Types.Result.GetResult<Prisma.$SecuritySettingPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
/**
|
|
834
|
+
* Count the number of SecuritySettings.
|
|
835
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
836
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
837
|
+
* @param {SecuritySettingCountArgs} args - Arguments to filter SecuritySettings to count.
|
|
838
|
+
* @example
|
|
839
|
+
* // Count the number of SecuritySettings
|
|
840
|
+
* const count = await prisma.securitySetting.count({
|
|
841
|
+
* where: {
|
|
842
|
+
* // ... the filter for the SecuritySettings we want to count
|
|
843
|
+
* }
|
|
844
|
+
* })
|
|
845
|
+
**/
|
|
846
|
+
count<T extends SecuritySettingCountArgs>(
|
|
847
|
+
args?: Prisma.Subset<T, SecuritySettingCountArgs>,
|
|
848
|
+
): Prisma.PrismaPromise<
|
|
849
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
850
|
+
? T['select'] extends true
|
|
851
|
+
? number
|
|
852
|
+
: Prisma.GetScalarType<T['select'], SecuritySettingCountAggregateOutputType>
|
|
853
|
+
: number
|
|
854
|
+
>
|
|
855
|
+
|
|
856
|
+
/**
|
|
857
|
+
* Allows you to perform aggregations operations on a SecuritySetting.
|
|
858
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
859
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
860
|
+
* @param {SecuritySettingAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
861
|
+
* @example
|
|
862
|
+
* // Ordered by age ascending
|
|
863
|
+
* // Where email contains prisma.io
|
|
864
|
+
* // Limited to the 10 users
|
|
865
|
+
* const aggregations = await prisma.user.aggregate({
|
|
866
|
+
* _avg: {
|
|
867
|
+
* age: true,
|
|
868
|
+
* },
|
|
869
|
+
* where: {
|
|
870
|
+
* email: {
|
|
871
|
+
* contains: "prisma.io",
|
|
872
|
+
* },
|
|
873
|
+
* },
|
|
874
|
+
* orderBy: {
|
|
875
|
+
* age: "asc",
|
|
876
|
+
* },
|
|
877
|
+
* take: 10,
|
|
878
|
+
* })
|
|
879
|
+
**/
|
|
880
|
+
aggregate<T extends SecuritySettingAggregateArgs>(args: Prisma.Subset<T, SecuritySettingAggregateArgs>): Prisma.PrismaPromise<GetSecuritySettingAggregateType<T>>
|
|
881
|
+
|
|
882
|
+
/**
|
|
883
|
+
* Group by SecuritySetting.
|
|
884
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
885
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
886
|
+
* @param {SecuritySettingGroupByArgs} args - Group by arguments.
|
|
887
|
+
* @example
|
|
888
|
+
* // Group by city, order by createdAt, get count
|
|
889
|
+
* const result = await prisma.user.groupBy({
|
|
890
|
+
* by: ['city', 'createdAt'],
|
|
891
|
+
* orderBy: {
|
|
892
|
+
* createdAt: true
|
|
893
|
+
* },
|
|
894
|
+
* _count: {
|
|
895
|
+
* _all: true
|
|
896
|
+
* },
|
|
897
|
+
* })
|
|
898
|
+
*
|
|
899
|
+
**/
|
|
900
|
+
groupBy<
|
|
901
|
+
T extends SecuritySettingGroupByArgs,
|
|
902
|
+
HasSelectOrTake extends Prisma.Or<
|
|
903
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
904
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
905
|
+
>,
|
|
906
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
907
|
+
? { orderBy: SecuritySettingGroupByArgs['orderBy'] }
|
|
908
|
+
: { orderBy?: SecuritySettingGroupByArgs['orderBy'] },
|
|
909
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
910
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
911
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
912
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
913
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
914
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
915
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
916
|
+
? `Error: "by" must not be empty.`
|
|
917
|
+
: HavingValid extends Prisma.False
|
|
918
|
+
? {
|
|
919
|
+
[P in HavingFields]: P extends ByFields
|
|
920
|
+
? never
|
|
921
|
+
: P extends string
|
|
922
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
923
|
+
: [
|
|
924
|
+
Error,
|
|
925
|
+
'Field ',
|
|
926
|
+
P,
|
|
927
|
+
` in "having" needs to be provided in "by"`,
|
|
928
|
+
]
|
|
929
|
+
}[HavingFields]
|
|
930
|
+
: 'take' extends Prisma.Keys<T>
|
|
931
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
932
|
+
? ByValid extends Prisma.True
|
|
933
|
+
? {}
|
|
934
|
+
: {
|
|
935
|
+
[P in OrderFields]: P extends ByFields
|
|
936
|
+
? never
|
|
937
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
938
|
+
}[OrderFields]
|
|
939
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
940
|
+
: 'skip' extends Prisma.Keys<T>
|
|
941
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
942
|
+
? ByValid extends Prisma.True
|
|
943
|
+
? {}
|
|
944
|
+
: {
|
|
945
|
+
[P in OrderFields]: P extends ByFields
|
|
946
|
+
? never
|
|
947
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
948
|
+
}[OrderFields]
|
|
949
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
950
|
+
: ByValid extends Prisma.True
|
|
951
|
+
? {}
|
|
952
|
+
: {
|
|
953
|
+
[P in OrderFields]: P extends ByFields
|
|
954
|
+
? never
|
|
955
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
956
|
+
}[OrderFields]
|
|
957
|
+
>(args: Prisma.SubsetIntersection<T, SecuritySettingGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSecuritySettingGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
958
|
+
/**
|
|
959
|
+
* Fields of the SecuritySetting model
|
|
960
|
+
*/
|
|
961
|
+
readonly fields: SecuritySettingFieldRefs;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
/**
|
|
965
|
+
* The delegate class that acts as a "Promise-like" for SecuritySetting.
|
|
966
|
+
* Why is this prefixed with `Prisma__`?
|
|
967
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
968
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
969
|
+
*/
|
|
970
|
+
export interface Prisma__SecuritySettingClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
971
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
972
|
+
user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
973
|
+
/**
|
|
974
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
975
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
976
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
977
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
978
|
+
*/
|
|
979
|
+
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>
|
|
980
|
+
/**
|
|
981
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
982
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
983
|
+
* @returns A Promise for the completion of the callback.
|
|
984
|
+
*/
|
|
985
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
986
|
+
/**
|
|
987
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
988
|
+
* resolved value cannot be modified from the callback.
|
|
989
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
990
|
+
* @returns A Promise for the completion of the callback.
|
|
991
|
+
*/
|
|
992
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
|
|
996
|
+
|
|
997
|
+
|
|
998
|
+
/**
|
|
999
|
+
* Fields of the SecuritySetting model
|
|
1000
|
+
*/
|
|
1001
|
+
export interface SecuritySettingFieldRefs {
|
|
1002
|
+
readonly id: Prisma.FieldRef<"SecuritySetting", 'String'>
|
|
1003
|
+
readonly userId: Prisma.FieldRef<"SecuritySetting", 'String'>
|
|
1004
|
+
readonly preferredMfa: Prisma.FieldRef<"SecuritySetting", 'MfaMethod'>
|
|
1005
|
+
readonly recoveryEmail: Prisma.FieldRef<"SecuritySetting", 'String'>
|
|
1006
|
+
readonly recoveryPhone: Prisma.FieldRef<"SecuritySetting", 'String'>
|
|
1007
|
+
readonly isMfaEnabled: Prisma.FieldRef<"SecuritySetting", 'Boolean'>
|
|
1008
|
+
readonly loginAlerts: Prisma.FieldRef<"SecuritySetting", 'Boolean'>
|
|
1009
|
+
readonly createdAt: Prisma.FieldRef<"SecuritySetting", 'DateTime'>
|
|
1010
|
+
readonly updatedAt: Prisma.FieldRef<"SecuritySetting", 'DateTime'>
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
|
|
1014
|
+
// Custom InputTypes
|
|
1015
|
+
/**
|
|
1016
|
+
* SecuritySetting findUnique
|
|
1017
|
+
*/
|
|
1018
|
+
export type SecuritySettingFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1019
|
+
/**
|
|
1020
|
+
* Select specific fields to fetch from the SecuritySetting
|
|
1021
|
+
*/
|
|
1022
|
+
select?: Prisma.SecuritySettingSelect<ExtArgs> | null
|
|
1023
|
+
/**
|
|
1024
|
+
* Omit specific fields from the SecuritySetting
|
|
1025
|
+
*/
|
|
1026
|
+
omit?: Prisma.SecuritySettingOmit<ExtArgs> | null
|
|
1027
|
+
/**
|
|
1028
|
+
* Choose, which related nodes to fetch as well
|
|
1029
|
+
*/
|
|
1030
|
+
include?: Prisma.SecuritySettingInclude<ExtArgs> | null
|
|
1031
|
+
/**
|
|
1032
|
+
* Filter, which SecuritySetting to fetch.
|
|
1033
|
+
*/
|
|
1034
|
+
where: Prisma.SecuritySettingWhereUniqueInput
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
/**
|
|
1038
|
+
* SecuritySetting findUniqueOrThrow
|
|
1039
|
+
*/
|
|
1040
|
+
export type SecuritySettingFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1041
|
+
/**
|
|
1042
|
+
* Select specific fields to fetch from the SecuritySetting
|
|
1043
|
+
*/
|
|
1044
|
+
select?: Prisma.SecuritySettingSelect<ExtArgs> | null
|
|
1045
|
+
/**
|
|
1046
|
+
* Omit specific fields from the SecuritySetting
|
|
1047
|
+
*/
|
|
1048
|
+
omit?: Prisma.SecuritySettingOmit<ExtArgs> | null
|
|
1049
|
+
/**
|
|
1050
|
+
* Choose, which related nodes to fetch as well
|
|
1051
|
+
*/
|
|
1052
|
+
include?: Prisma.SecuritySettingInclude<ExtArgs> | null
|
|
1053
|
+
/**
|
|
1054
|
+
* Filter, which SecuritySetting to fetch.
|
|
1055
|
+
*/
|
|
1056
|
+
where: Prisma.SecuritySettingWhereUniqueInput
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
/**
|
|
1060
|
+
* SecuritySetting findFirst
|
|
1061
|
+
*/
|
|
1062
|
+
export type SecuritySettingFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1063
|
+
/**
|
|
1064
|
+
* Select specific fields to fetch from the SecuritySetting
|
|
1065
|
+
*/
|
|
1066
|
+
select?: Prisma.SecuritySettingSelect<ExtArgs> | null
|
|
1067
|
+
/**
|
|
1068
|
+
* Omit specific fields from the SecuritySetting
|
|
1069
|
+
*/
|
|
1070
|
+
omit?: Prisma.SecuritySettingOmit<ExtArgs> | null
|
|
1071
|
+
/**
|
|
1072
|
+
* Choose, which related nodes to fetch as well
|
|
1073
|
+
*/
|
|
1074
|
+
include?: Prisma.SecuritySettingInclude<ExtArgs> | null
|
|
1075
|
+
/**
|
|
1076
|
+
* Filter, which SecuritySetting to fetch.
|
|
1077
|
+
*/
|
|
1078
|
+
where?: Prisma.SecuritySettingWhereInput
|
|
1079
|
+
/**
|
|
1080
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1081
|
+
*
|
|
1082
|
+
* Determine the order of SecuritySettings to fetch.
|
|
1083
|
+
*/
|
|
1084
|
+
orderBy?: Prisma.SecuritySettingOrderByWithRelationInput | Prisma.SecuritySettingOrderByWithRelationInput[]
|
|
1085
|
+
/**
|
|
1086
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1087
|
+
*
|
|
1088
|
+
* Sets the position for searching for SecuritySettings.
|
|
1089
|
+
*/
|
|
1090
|
+
cursor?: Prisma.SecuritySettingWhereUniqueInput
|
|
1091
|
+
/**
|
|
1092
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1093
|
+
*
|
|
1094
|
+
* Take `±n` SecuritySettings from the position of the cursor.
|
|
1095
|
+
*/
|
|
1096
|
+
take?: number
|
|
1097
|
+
/**
|
|
1098
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1099
|
+
*
|
|
1100
|
+
* Skip the first `n` SecuritySettings.
|
|
1101
|
+
*/
|
|
1102
|
+
skip?: number
|
|
1103
|
+
/**
|
|
1104
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1105
|
+
*
|
|
1106
|
+
* Filter by unique combinations of SecuritySettings.
|
|
1107
|
+
*/
|
|
1108
|
+
distinct?: Prisma.SecuritySettingScalarFieldEnum | Prisma.SecuritySettingScalarFieldEnum[]
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
/**
|
|
1112
|
+
* SecuritySetting findFirstOrThrow
|
|
1113
|
+
*/
|
|
1114
|
+
export type SecuritySettingFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1115
|
+
/**
|
|
1116
|
+
* Select specific fields to fetch from the SecuritySetting
|
|
1117
|
+
*/
|
|
1118
|
+
select?: Prisma.SecuritySettingSelect<ExtArgs> | null
|
|
1119
|
+
/**
|
|
1120
|
+
* Omit specific fields from the SecuritySetting
|
|
1121
|
+
*/
|
|
1122
|
+
omit?: Prisma.SecuritySettingOmit<ExtArgs> | null
|
|
1123
|
+
/**
|
|
1124
|
+
* Choose, which related nodes to fetch as well
|
|
1125
|
+
*/
|
|
1126
|
+
include?: Prisma.SecuritySettingInclude<ExtArgs> | null
|
|
1127
|
+
/**
|
|
1128
|
+
* Filter, which SecuritySetting to fetch.
|
|
1129
|
+
*/
|
|
1130
|
+
where?: Prisma.SecuritySettingWhereInput
|
|
1131
|
+
/**
|
|
1132
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1133
|
+
*
|
|
1134
|
+
* Determine the order of SecuritySettings to fetch.
|
|
1135
|
+
*/
|
|
1136
|
+
orderBy?: Prisma.SecuritySettingOrderByWithRelationInput | Prisma.SecuritySettingOrderByWithRelationInput[]
|
|
1137
|
+
/**
|
|
1138
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1139
|
+
*
|
|
1140
|
+
* Sets the position for searching for SecuritySettings.
|
|
1141
|
+
*/
|
|
1142
|
+
cursor?: Prisma.SecuritySettingWhereUniqueInput
|
|
1143
|
+
/**
|
|
1144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1145
|
+
*
|
|
1146
|
+
* Take `±n` SecuritySettings from the position of the cursor.
|
|
1147
|
+
*/
|
|
1148
|
+
take?: number
|
|
1149
|
+
/**
|
|
1150
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1151
|
+
*
|
|
1152
|
+
* Skip the first `n` SecuritySettings.
|
|
1153
|
+
*/
|
|
1154
|
+
skip?: number
|
|
1155
|
+
/**
|
|
1156
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1157
|
+
*
|
|
1158
|
+
* Filter by unique combinations of SecuritySettings.
|
|
1159
|
+
*/
|
|
1160
|
+
distinct?: Prisma.SecuritySettingScalarFieldEnum | Prisma.SecuritySettingScalarFieldEnum[]
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
/**
|
|
1164
|
+
* SecuritySetting findMany
|
|
1165
|
+
*/
|
|
1166
|
+
export type SecuritySettingFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1167
|
+
/**
|
|
1168
|
+
* Select specific fields to fetch from the SecuritySetting
|
|
1169
|
+
*/
|
|
1170
|
+
select?: Prisma.SecuritySettingSelect<ExtArgs> | null
|
|
1171
|
+
/**
|
|
1172
|
+
* Omit specific fields from the SecuritySetting
|
|
1173
|
+
*/
|
|
1174
|
+
omit?: Prisma.SecuritySettingOmit<ExtArgs> | null
|
|
1175
|
+
/**
|
|
1176
|
+
* Choose, which related nodes to fetch as well
|
|
1177
|
+
*/
|
|
1178
|
+
include?: Prisma.SecuritySettingInclude<ExtArgs> | null
|
|
1179
|
+
/**
|
|
1180
|
+
* Filter, which SecuritySettings to fetch.
|
|
1181
|
+
*/
|
|
1182
|
+
where?: Prisma.SecuritySettingWhereInput
|
|
1183
|
+
/**
|
|
1184
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1185
|
+
*
|
|
1186
|
+
* Determine the order of SecuritySettings to fetch.
|
|
1187
|
+
*/
|
|
1188
|
+
orderBy?: Prisma.SecuritySettingOrderByWithRelationInput | Prisma.SecuritySettingOrderByWithRelationInput[]
|
|
1189
|
+
/**
|
|
1190
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1191
|
+
*
|
|
1192
|
+
* Sets the position for listing SecuritySettings.
|
|
1193
|
+
*/
|
|
1194
|
+
cursor?: Prisma.SecuritySettingWhereUniqueInput
|
|
1195
|
+
/**
|
|
1196
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1197
|
+
*
|
|
1198
|
+
* Take `±n` SecuritySettings from the position of the cursor.
|
|
1199
|
+
*/
|
|
1200
|
+
take?: number
|
|
1201
|
+
/**
|
|
1202
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1203
|
+
*
|
|
1204
|
+
* Skip the first `n` SecuritySettings.
|
|
1205
|
+
*/
|
|
1206
|
+
skip?: number
|
|
1207
|
+
distinct?: Prisma.SecuritySettingScalarFieldEnum | Prisma.SecuritySettingScalarFieldEnum[]
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
/**
|
|
1211
|
+
* SecuritySetting create
|
|
1212
|
+
*/
|
|
1213
|
+
export type SecuritySettingCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1214
|
+
/**
|
|
1215
|
+
* Select specific fields to fetch from the SecuritySetting
|
|
1216
|
+
*/
|
|
1217
|
+
select?: Prisma.SecuritySettingSelect<ExtArgs> | null
|
|
1218
|
+
/**
|
|
1219
|
+
* Omit specific fields from the SecuritySetting
|
|
1220
|
+
*/
|
|
1221
|
+
omit?: Prisma.SecuritySettingOmit<ExtArgs> | null
|
|
1222
|
+
/**
|
|
1223
|
+
* Choose, which related nodes to fetch as well
|
|
1224
|
+
*/
|
|
1225
|
+
include?: Prisma.SecuritySettingInclude<ExtArgs> | null
|
|
1226
|
+
/**
|
|
1227
|
+
* The data needed to create a SecuritySetting.
|
|
1228
|
+
*/
|
|
1229
|
+
data: Prisma.XOR<Prisma.SecuritySettingCreateInput, Prisma.SecuritySettingUncheckedCreateInput>
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
/**
|
|
1233
|
+
* SecuritySetting createMany
|
|
1234
|
+
*/
|
|
1235
|
+
export type SecuritySettingCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1236
|
+
/**
|
|
1237
|
+
* The data used to create many SecuritySettings.
|
|
1238
|
+
*/
|
|
1239
|
+
data: Prisma.SecuritySettingCreateManyInput | Prisma.SecuritySettingCreateManyInput[]
|
|
1240
|
+
skipDuplicates?: boolean
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
/**
|
|
1244
|
+
* SecuritySetting createManyAndReturn
|
|
1245
|
+
*/
|
|
1246
|
+
export type SecuritySettingCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1247
|
+
/**
|
|
1248
|
+
* Select specific fields to fetch from the SecuritySetting
|
|
1249
|
+
*/
|
|
1250
|
+
select?: Prisma.SecuritySettingSelectCreateManyAndReturn<ExtArgs> | null
|
|
1251
|
+
/**
|
|
1252
|
+
* Omit specific fields from the SecuritySetting
|
|
1253
|
+
*/
|
|
1254
|
+
omit?: Prisma.SecuritySettingOmit<ExtArgs> | null
|
|
1255
|
+
/**
|
|
1256
|
+
* The data used to create many SecuritySettings.
|
|
1257
|
+
*/
|
|
1258
|
+
data: Prisma.SecuritySettingCreateManyInput | Prisma.SecuritySettingCreateManyInput[]
|
|
1259
|
+
skipDuplicates?: boolean
|
|
1260
|
+
/**
|
|
1261
|
+
* Choose, which related nodes to fetch as well
|
|
1262
|
+
*/
|
|
1263
|
+
include?: Prisma.SecuritySettingIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
/**
|
|
1267
|
+
* SecuritySetting update
|
|
1268
|
+
*/
|
|
1269
|
+
export type SecuritySettingUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1270
|
+
/**
|
|
1271
|
+
* Select specific fields to fetch from the SecuritySetting
|
|
1272
|
+
*/
|
|
1273
|
+
select?: Prisma.SecuritySettingSelect<ExtArgs> | null
|
|
1274
|
+
/**
|
|
1275
|
+
* Omit specific fields from the SecuritySetting
|
|
1276
|
+
*/
|
|
1277
|
+
omit?: Prisma.SecuritySettingOmit<ExtArgs> | null
|
|
1278
|
+
/**
|
|
1279
|
+
* Choose, which related nodes to fetch as well
|
|
1280
|
+
*/
|
|
1281
|
+
include?: Prisma.SecuritySettingInclude<ExtArgs> | null
|
|
1282
|
+
/**
|
|
1283
|
+
* The data needed to update a SecuritySetting.
|
|
1284
|
+
*/
|
|
1285
|
+
data: Prisma.XOR<Prisma.SecuritySettingUpdateInput, Prisma.SecuritySettingUncheckedUpdateInput>
|
|
1286
|
+
/**
|
|
1287
|
+
* Choose, which SecuritySetting to update.
|
|
1288
|
+
*/
|
|
1289
|
+
where: Prisma.SecuritySettingWhereUniqueInput
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
/**
|
|
1293
|
+
* SecuritySetting updateMany
|
|
1294
|
+
*/
|
|
1295
|
+
export type SecuritySettingUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1296
|
+
/**
|
|
1297
|
+
* The data used to update SecuritySettings.
|
|
1298
|
+
*/
|
|
1299
|
+
data: Prisma.XOR<Prisma.SecuritySettingUpdateManyMutationInput, Prisma.SecuritySettingUncheckedUpdateManyInput>
|
|
1300
|
+
/**
|
|
1301
|
+
* Filter which SecuritySettings to update
|
|
1302
|
+
*/
|
|
1303
|
+
where?: Prisma.SecuritySettingWhereInput
|
|
1304
|
+
/**
|
|
1305
|
+
* Limit how many SecuritySettings to update.
|
|
1306
|
+
*/
|
|
1307
|
+
limit?: number
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
/**
|
|
1311
|
+
* SecuritySetting updateManyAndReturn
|
|
1312
|
+
*/
|
|
1313
|
+
export type SecuritySettingUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1314
|
+
/**
|
|
1315
|
+
* Select specific fields to fetch from the SecuritySetting
|
|
1316
|
+
*/
|
|
1317
|
+
select?: Prisma.SecuritySettingSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1318
|
+
/**
|
|
1319
|
+
* Omit specific fields from the SecuritySetting
|
|
1320
|
+
*/
|
|
1321
|
+
omit?: Prisma.SecuritySettingOmit<ExtArgs> | null
|
|
1322
|
+
/**
|
|
1323
|
+
* The data used to update SecuritySettings.
|
|
1324
|
+
*/
|
|
1325
|
+
data: Prisma.XOR<Prisma.SecuritySettingUpdateManyMutationInput, Prisma.SecuritySettingUncheckedUpdateManyInput>
|
|
1326
|
+
/**
|
|
1327
|
+
* Filter which SecuritySettings to update
|
|
1328
|
+
*/
|
|
1329
|
+
where?: Prisma.SecuritySettingWhereInput
|
|
1330
|
+
/**
|
|
1331
|
+
* Limit how many SecuritySettings to update.
|
|
1332
|
+
*/
|
|
1333
|
+
limit?: number
|
|
1334
|
+
/**
|
|
1335
|
+
* Choose, which related nodes to fetch as well
|
|
1336
|
+
*/
|
|
1337
|
+
include?: Prisma.SecuritySettingIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
/**
|
|
1341
|
+
* SecuritySetting upsert
|
|
1342
|
+
*/
|
|
1343
|
+
export type SecuritySettingUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1344
|
+
/**
|
|
1345
|
+
* Select specific fields to fetch from the SecuritySetting
|
|
1346
|
+
*/
|
|
1347
|
+
select?: Prisma.SecuritySettingSelect<ExtArgs> | null
|
|
1348
|
+
/**
|
|
1349
|
+
* Omit specific fields from the SecuritySetting
|
|
1350
|
+
*/
|
|
1351
|
+
omit?: Prisma.SecuritySettingOmit<ExtArgs> | null
|
|
1352
|
+
/**
|
|
1353
|
+
* Choose, which related nodes to fetch as well
|
|
1354
|
+
*/
|
|
1355
|
+
include?: Prisma.SecuritySettingInclude<ExtArgs> | null
|
|
1356
|
+
/**
|
|
1357
|
+
* The filter to search for the SecuritySetting to update in case it exists.
|
|
1358
|
+
*/
|
|
1359
|
+
where: Prisma.SecuritySettingWhereUniqueInput
|
|
1360
|
+
/**
|
|
1361
|
+
* In case the SecuritySetting found by the `where` argument doesn't exist, create a new SecuritySetting with this data.
|
|
1362
|
+
*/
|
|
1363
|
+
create: Prisma.XOR<Prisma.SecuritySettingCreateInput, Prisma.SecuritySettingUncheckedCreateInput>
|
|
1364
|
+
/**
|
|
1365
|
+
* In case the SecuritySetting was found with the provided `where` argument, update it with this data.
|
|
1366
|
+
*/
|
|
1367
|
+
update: Prisma.XOR<Prisma.SecuritySettingUpdateInput, Prisma.SecuritySettingUncheckedUpdateInput>
|
|
1368
|
+
}
|
|
1369
|
+
|
|
1370
|
+
/**
|
|
1371
|
+
* SecuritySetting delete
|
|
1372
|
+
*/
|
|
1373
|
+
export type SecuritySettingDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1374
|
+
/**
|
|
1375
|
+
* Select specific fields to fetch from the SecuritySetting
|
|
1376
|
+
*/
|
|
1377
|
+
select?: Prisma.SecuritySettingSelect<ExtArgs> | null
|
|
1378
|
+
/**
|
|
1379
|
+
* Omit specific fields from the SecuritySetting
|
|
1380
|
+
*/
|
|
1381
|
+
omit?: Prisma.SecuritySettingOmit<ExtArgs> | null
|
|
1382
|
+
/**
|
|
1383
|
+
* Choose, which related nodes to fetch as well
|
|
1384
|
+
*/
|
|
1385
|
+
include?: Prisma.SecuritySettingInclude<ExtArgs> | null
|
|
1386
|
+
/**
|
|
1387
|
+
* Filter which SecuritySetting to delete.
|
|
1388
|
+
*/
|
|
1389
|
+
where: Prisma.SecuritySettingWhereUniqueInput
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
/**
|
|
1393
|
+
* SecuritySetting deleteMany
|
|
1394
|
+
*/
|
|
1395
|
+
export type SecuritySettingDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1396
|
+
/**
|
|
1397
|
+
* Filter which SecuritySettings to delete
|
|
1398
|
+
*/
|
|
1399
|
+
where?: Prisma.SecuritySettingWhereInput
|
|
1400
|
+
/**
|
|
1401
|
+
* Limit how many SecuritySettings to delete.
|
|
1402
|
+
*/
|
|
1403
|
+
limit?: number
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
/**
|
|
1407
|
+
* SecuritySetting without action
|
|
1408
|
+
*/
|
|
1409
|
+
export type SecuritySettingDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1410
|
+
/**
|
|
1411
|
+
* Select specific fields to fetch from the SecuritySetting
|
|
1412
|
+
*/
|
|
1413
|
+
select?: Prisma.SecuritySettingSelect<ExtArgs> | null
|
|
1414
|
+
/**
|
|
1415
|
+
* Omit specific fields from the SecuritySetting
|
|
1416
|
+
*/
|
|
1417
|
+
omit?: Prisma.SecuritySettingOmit<ExtArgs> | null
|
|
1418
|
+
/**
|
|
1419
|
+
* Choose, which related nodes to fetch as well
|
|
1420
|
+
*/
|
|
1421
|
+
include?: Prisma.SecuritySettingInclude<ExtArgs> | null
|
|
1422
|
+
}
|