@koalarx/nest-cli 1.2.21 → 1.2.24
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 +35 -1
- package/code-base/startup-project/.vscode/launch.json +11 -12
- package/code-base/startup-project/.vscode/settings.json +5 -23
- package/code-base/startup-project/.vscode/tasks.json +9 -5
- package/code-base/startup-project/package.json +6 -5
- package/code-base/startup-project/prisma/scripts/fix-extensions.mjs +28 -0
- package/code-base/startup-project/tsconfig.build-prisma.json +21 -0
- package/code-base/startup-project/tsconfig.build.json +7 -2
- package/code-base/startup-project/vitest.config.e2e.mts +2 -2
- package/code-base/startup-project/vitest.config.mts +5 -5
- package/commands/new-project/index.ts +1 -1
- package/index.js +2 -2
- package/package.json +1 -1
- package/code-base/startup-project/prisma/generated/browser.ts +0 -34
- package/code-base/startup-project/prisma/generated/client.ts +0 -54
- package/code-base/startup-project/prisma/generated/commonInputTypes.ts +0 -172
- package/code-base/startup-project/prisma/generated/enums.ts +0 -15
- package/code-base/startup-project/prisma/generated/internal/class.ts +0 -210
- package/code-base/startup-project/prisma/generated/internal/prismaNamespace.ts +0 -927
- package/code-base/startup-project/prisma/generated/internal/prismaNamespaceBrowser.ts +0 -116
- package/code-base/startup-project/prisma/generated/models/Person.ts +0 -1497
- package/code-base/startup-project/prisma/generated/models/PersonAddress.ts +0 -1265
- package/code-base/startup-project/prisma/generated/models/PersonPhone.ts +0 -1315
- package/code-base/startup-project/prisma/generated/models.ts +0 -14
|
@@ -1,1315 +0,0 @@
|
|
|
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 `PersonPhone` 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 PersonPhone
|
|
17
|
-
*
|
|
18
|
-
*/
|
|
19
|
-
export type PersonPhoneModel = runtime.Types.Result.DefaultSelection<Prisma.$PersonPhonePayload>
|
|
20
|
-
|
|
21
|
-
export type AggregatePersonPhone = {
|
|
22
|
-
_count: PersonPhoneCountAggregateOutputType | null
|
|
23
|
-
_avg: PersonPhoneAvgAggregateOutputType | null
|
|
24
|
-
_sum: PersonPhoneSumAggregateOutputType | null
|
|
25
|
-
_min: PersonPhoneMinAggregateOutputType | null
|
|
26
|
-
_max: PersonPhoneMaxAggregateOutputType | null
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export type PersonPhoneAvgAggregateOutputType = {
|
|
30
|
-
id: number | null
|
|
31
|
-
personId: number | null
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export type PersonPhoneSumAggregateOutputType = {
|
|
35
|
-
id: number | null
|
|
36
|
-
personId: number | null
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export type PersonPhoneMinAggregateOutputType = {
|
|
40
|
-
id: number | null
|
|
41
|
-
phone: string | null
|
|
42
|
-
personId: number | null
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export type PersonPhoneMaxAggregateOutputType = {
|
|
46
|
-
id: number | null
|
|
47
|
-
phone: string | null
|
|
48
|
-
personId: number | null
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export type PersonPhoneCountAggregateOutputType = {
|
|
52
|
-
id: number
|
|
53
|
-
phone: number
|
|
54
|
-
personId: number
|
|
55
|
-
_all: number
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
export type PersonPhoneAvgAggregateInputType = {
|
|
60
|
-
id?: true
|
|
61
|
-
personId?: true
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export type PersonPhoneSumAggregateInputType = {
|
|
65
|
-
id?: true
|
|
66
|
-
personId?: true
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
export type PersonPhoneMinAggregateInputType = {
|
|
70
|
-
id?: true
|
|
71
|
-
phone?: true
|
|
72
|
-
personId?: true
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export type PersonPhoneMaxAggregateInputType = {
|
|
76
|
-
id?: true
|
|
77
|
-
phone?: true
|
|
78
|
-
personId?: true
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
export type PersonPhoneCountAggregateInputType = {
|
|
82
|
-
id?: true
|
|
83
|
-
phone?: true
|
|
84
|
-
personId?: true
|
|
85
|
-
_all?: true
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export type PersonPhoneAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
89
|
-
/**
|
|
90
|
-
* Filter which PersonPhone to aggregate.
|
|
91
|
-
*/
|
|
92
|
-
where?: Prisma.PersonPhoneWhereInput
|
|
93
|
-
/**
|
|
94
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
95
|
-
*
|
|
96
|
-
* Determine the order of PersonPhones to fetch.
|
|
97
|
-
*/
|
|
98
|
-
orderBy?: Prisma.PersonPhoneOrderByWithRelationInput | Prisma.PersonPhoneOrderByWithRelationInput[]
|
|
99
|
-
/**
|
|
100
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
101
|
-
*
|
|
102
|
-
* Sets the start position
|
|
103
|
-
*/
|
|
104
|
-
cursor?: Prisma.PersonPhoneWhereUniqueInput
|
|
105
|
-
/**
|
|
106
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
107
|
-
*
|
|
108
|
-
* Take `±n` PersonPhones from the position of the cursor.
|
|
109
|
-
*/
|
|
110
|
-
take?: number
|
|
111
|
-
/**
|
|
112
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
113
|
-
*
|
|
114
|
-
* Skip the first `n` PersonPhones.
|
|
115
|
-
*/
|
|
116
|
-
skip?: number
|
|
117
|
-
/**
|
|
118
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
119
|
-
*
|
|
120
|
-
* Count returned PersonPhones
|
|
121
|
-
**/
|
|
122
|
-
_count?: true | PersonPhoneCountAggregateInputType
|
|
123
|
-
/**
|
|
124
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
125
|
-
*
|
|
126
|
-
* Select which fields to average
|
|
127
|
-
**/
|
|
128
|
-
_avg?: PersonPhoneAvgAggregateInputType
|
|
129
|
-
/**
|
|
130
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
131
|
-
*
|
|
132
|
-
* Select which fields to sum
|
|
133
|
-
**/
|
|
134
|
-
_sum?: PersonPhoneSumAggregateInputType
|
|
135
|
-
/**
|
|
136
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
137
|
-
*
|
|
138
|
-
* Select which fields to find the minimum value
|
|
139
|
-
**/
|
|
140
|
-
_min?: PersonPhoneMinAggregateInputType
|
|
141
|
-
/**
|
|
142
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
143
|
-
*
|
|
144
|
-
* Select which fields to find the maximum value
|
|
145
|
-
**/
|
|
146
|
-
_max?: PersonPhoneMaxAggregateInputType
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
export type GetPersonPhoneAggregateType<T extends PersonPhoneAggregateArgs> = {
|
|
150
|
-
[P in keyof T & keyof AggregatePersonPhone]: P extends '_count' | 'count'
|
|
151
|
-
? T[P] extends true
|
|
152
|
-
? number
|
|
153
|
-
: Prisma.GetScalarType<T[P], AggregatePersonPhone[P]>
|
|
154
|
-
: Prisma.GetScalarType<T[P], AggregatePersonPhone[P]>
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
export type PersonPhoneGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
161
|
-
where?: Prisma.PersonPhoneWhereInput
|
|
162
|
-
orderBy?: Prisma.PersonPhoneOrderByWithAggregationInput | Prisma.PersonPhoneOrderByWithAggregationInput[]
|
|
163
|
-
by: Prisma.PersonPhoneScalarFieldEnum[] | Prisma.PersonPhoneScalarFieldEnum
|
|
164
|
-
having?: Prisma.PersonPhoneScalarWhereWithAggregatesInput
|
|
165
|
-
take?: number
|
|
166
|
-
skip?: number
|
|
167
|
-
_count?: PersonPhoneCountAggregateInputType | true
|
|
168
|
-
_avg?: PersonPhoneAvgAggregateInputType
|
|
169
|
-
_sum?: PersonPhoneSumAggregateInputType
|
|
170
|
-
_min?: PersonPhoneMinAggregateInputType
|
|
171
|
-
_max?: PersonPhoneMaxAggregateInputType
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
export type PersonPhoneGroupByOutputType = {
|
|
175
|
-
id: number
|
|
176
|
-
phone: string
|
|
177
|
-
personId: number
|
|
178
|
-
_count: PersonPhoneCountAggregateOutputType | null
|
|
179
|
-
_avg: PersonPhoneAvgAggregateOutputType | null
|
|
180
|
-
_sum: PersonPhoneSumAggregateOutputType | null
|
|
181
|
-
_min: PersonPhoneMinAggregateOutputType | null
|
|
182
|
-
_max: PersonPhoneMaxAggregateOutputType | null
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
type GetPersonPhoneGroupByPayload<T extends PersonPhoneGroupByArgs> = Prisma.PrismaPromise<
|
|
186
|
-
Array<
|
|
187
|
-
Prisma.PickEnumerable<PersonPhoneGroupByOutputType, T['by']> &
|
|
188
|
-
{
|
|
189
|
-
[P in ((keyof T) & (keyof PersonPhoneGroupByOutputType))]: P extends '_count'
|
|
190
|
-
? T[P] extends boolean
|
|
191
|
-
? number
|
|
192
|
-
: Prisma.GetScalarType<T[P], PersonPhoneGroupByOutputType[P]>
|
|
193
|
-
: Prisma.GetScalarType<T[P], PersonPhoneGroupByOutputType[P]>
|
|
194
|
-
}
|
|
195
|
-
>
|
|
196
|
-
>
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
export type PersonPhoneWhereInput = {
|
|
201
|
-
AND?: Prisma.PersonPhoneWhereInput | Prisma.PersonPhoneWhereInput[]
|
|
202
|
-
OR?: Prisma.PersonPhoneWhereInput[]
|
|
203
|
-
NOT?: Prisma.PersonPhoneWhereInput | Prisma.PersonPhoneWhereInput[]
|
|
204
|
-
id?: Prisma.IntFilter<"PersonPhone"> | number
|
|
205
|
-
phone?: Prisma.StringFilter<"PersonPhone"> | string
|
|
206
|
-
personId?: Prisma.IntFilter<"PersonPhone"> | number
|
|
207
|
-
person?: Prisma.XOR<Prisma.PersonScalarRelationFilter, Prisma.PersonWhereInput>
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
export type PersonPhoneOrderByWithRelationInput = {
|
|
211
|
-
id?: Prisma.SortOrder
|
|
212
|
-
phone?: Prisma.SortOrder
|
|
213
|
-
personId?: Prisma.SortOrder
|
|
214
|
-
person?: Prisma.PersonOrderByWithRelationInput
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
export type PersonPhoneWhereUniqueInput = Prisma.AtLeast<{
|
|
218
|
-
id?: number
|
|
219
|
-
AND?: Prisma.PersonPhoneWhereInput | Prisma.PersonPhoneWhereInput[]
|
|
220
|
-
OR?: Prisma.PersonPhoneWhereInput[]
|
|
221
|
-
NOT?: Prisma.PersonPhoneWhereInput | Prisma.PersonPhoneWhereInput[]
|
|
222
|
-
phone?: Prisma.StringFilter<"PersonPhone"> | string
|
|
223
|
-
personId?: Prisma.IntFilter<"PersonPhone"> | number
|
|
224
|
-
person?: Prisma.XOR<Prisma.PersonScalarRelationFilter, Prisma.PersonWhereInput>
|
|
225
|
-
}, "id">
|
|
226
|
-
|
|
227
|
-
export type PersonPhoneOrderByWithAggregationInput = {
|
|
228
|
-
id?: Prisma.SortOrder
|
|
229
|
-
phone?: Prisma.SortOrder
|
|
230
|
-
personId?: Prisma.SortOrder
|
|
231
|
-
_count?: Prisma.PersonPhoneCountOrderByAggregateInput
|
|
232
|
-
_avg?: Prisma.PersonPhoneAvgOrderByAggregateInput
|
|
233
|
-
_max?: Prisma.PersonPhoneMaxOrderByAggregateInput
|
|
234
|
-
_min?: Prisma.PersonPhoneMinOrderByAggregateInput
|
|
235
|
-
_sum?: Prisma.PersonPhoneSumOrderByAggregateInput
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
export type PersonPhoneScalarWhereWithAggregatesInput = {
|
|
239
|
-
AND?: Prisma.PersonPhoneScalarWhereWithAggregatesInput | Prisma.PersonPhoneScalarWhereWithAggregatesInput[]
|
|
240
|
-
OR?: Prisma.PersonPhoneScalarWhereWithAggregatesInput[]
|
|
241
|
-
NOT?: Prisma.PersonPhoneScalarWhereWithAggregatesInput | Prisma.PersonPhoneScalarWhereWithAggregatesInput[]
|
|
242
|
-
id?: Prisma.IntWithAggregatesFilter<"PersonPhone"> | number
|
|
243
|
-
phone?: Prisma.StringWithAggregatesFilter<"PersonPhone"> | string
|
|
244
|
-
personId?: Prisma.IntWithAggregatesFilter<"PersonPhone"> | number
|
|
245
|
-
}
|
|
246
|
-
|
|
247
|
-
export type PersonPhoneCreateInput = {
|
|
248
|
-
phone: string
|
|
249
|
-
person: Prisma.PersonCreateNestedOneWithoutPhonesInput
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
export type PersonPhoneUncheckedCreateInput = {
|
|
253
|
-
id?: number
|
|
254
|
-
phone: string
|
|
255
|
-
personId: number
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
export type PersonPhoneUpdateInput = {
|
|
259
|
-
phone?: Prisma.StringFieldUpdateOperationsInput | string
|
|
260
|
-
person?: Prisma.PersonUpdateOneRequiredWithoutPhonesNestedInput
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
export type PersonPhoneUncheckedUpdateInput = {
|
|
264
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
265
|
-
phone?: Prisma.StringFieldUpdateOperationsInput | string
|
|
266
|
-
personId?: Prisma.IntFieldUpdateOperationsInput | number
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
export type PersonPhoneCreateManyInput = {
|
|
270
|
-
id?: number
|
|
271
|
-
phone: string
|
|
272
|
-
personId: number
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
export type PersonPhoneUpdateManyMutationInput = {
|
|
276
|
-
phone?: Prisma.StringFieldUpdateOperationsInput | string
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
export type PersonPhoneUncheckedUpdateManyInput = {
|
|
280
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
281
|
-
phone?: Prisma.StringFieldUpdateOperationsInput | string
|
|
282
|
-
personId?: Prisma.IntFieldUpdateOperationsInput | number
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
export type PersonPhoneListRelationFilter = {
|
|
286
|
-
every?: Prisma.PersonPhoneWhereInput
|
|
287
|
-
some?: Prisma.PersonPhoneWhereInput
|
|
288
|
-
none?: Prisma.PersonPhoneWhereInput
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
export type PersonPhoneOrderByRelationAggregateInput = {
|
|
292
|
-
_count?: Prisma.SortOrder
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
export type PersonPhoneCountOrderByAggregateInput = {
|
|
296
|
-
id?: Prisma.SortOrder
|
|
297
|
-
phone?: Prisma.SortOrder
|
|
298
|
-
personId?: Prisma.SortOrder
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
export type PersonPhoneAvgOrderByAggregateInput = {
|
|
302
|
-
id?: Prisma.SortOrder
|
|
303
|
-
personId?: Prisma.SortOrder
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
export type PersonPhoneMaxOrderByAggregateInput = {
|
|
307
|
-
id?: Prisma.SortOrder
|
|
308
|
-
phone?: Prisma.SortOrder
|
|
309
|
-
personId?: Prisma.SortOrder
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
export type PersonPhoneMinOrderByAggregateInput = {
|
|
313
|
-
id?: Prisma.SortOrder
|
|
314
|
-
phone?: Prisma.SortOrder
|
|
315
|
-
personId?: Prisma.SortOrder
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
export type PersonPhoneSumOrderByAggregateInput = {
|
|
319
|
-
id?: Prisma.SortOrder
|
|
320
|
-
personId?: Prisma.SortOrder
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
export type PersonPhoneCreateNestedManyWithoutPersonInput = {
|
|
324
|
-
create?: Prisma.XOR<Prisma.PersonPhoneCreateWithoutPersonInput, Prisma.PersonPhoneUncheckedCreateWithoutPersonInput> | Prisma.PersonPhoneCreateWithoutPersonInput[] | Prisma.PersonPhoneUncheckedCreateWithoutPersonInput[]
|
|
325
|
-
connectOrCreate?: Prisma.PersonPhoneCreateOrConnectWithoutPersonInput | Prisma.PersonPhoneCreateOrConnectWithoutPersonInput[]
|
|
326
|
-
createMany?: Prisma.PersonPhoneCreateManyPersonInputEnvelope
|
|
327
|
-
connect?: Prisma.PersonPhoneWhereUniqueInput | Prisma.PersonPhoneWhereUniqueInput[]
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
export type PersonPhoneUncheckedCreateNestedManyWithoutPersonInput = {
|
|
331
|
-
create?: Prisma.XOR<Prisma.PersonPhoneCreateWithoutPersonInput, Prisma.PersonPhoneUncheckedCreateWithoutPersonInput> | Prisma.PersonPhoneCreateWithoutPersonInput[] | Prisma.PersonPhoneUncheckedCreateWithoutPersonInput[]
|
|
332
|
-
connectOrCreate?: Prisma.PersonPhoneCreateOrConnectWithoutPersonInput | Prisma.PersonPhoneCreateOrConnectWithoutPersonInput[]
|
|
333
|
-
createMany?: Prisma.PersonPhoneCreateManyPersonInputEnvelope
|
|
334
|
-
connect?: Prisma.PersonPhoneWhereUniqueInput | Prisma.PersonPhoneWhereUniqueInput[]
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
export type PersonPhoneUpdateManyWithoutPersonNestedInput = {
|
|
338
|
-
create?: Prisma.XOR<Prisma.PersonPhoneCreateWithoutPersonInput, Prisma.PersonPhoneUncheckedCreateWithoutPersonInput> | Prisma.PersonPhoneCreateWithoutPersonInput[] | Prisma.PersonPhoneUncheckedCreateWithoutPersonInput[]
|
|
339
|
-
connectOrCreate?: Prisma.PersonPhoneCreateOrConnectWithoutPersonInput | Prisma.PersonPhoneCreateOrConnectWithoutPersonInput[]
|
|
340
|
-
upsert?: Prisma.PersonPhoneUpsertWithWhereUniqueWithoutPersonInput | Prisma.PersonPhoneUpsertWithWhereUniqueWithoutPersonInput[]
|
|
341
|
-
createMany?: Prisma.PersonPhoneCreateManyPersonInputEnvelope
|
|
342
|
-
set?: Prisma.PersonPhoneWhereUniqueInput | Prisma.PersonPhoneWhereUniqueInput[]
|
|
343
|
-
disconnect?: Prisma.PersonPhoneWhereUniqueInput | Prisma.PersonPhoneWhereUniqueInput[]
|
|
344
|
-
delete?: Prisma.PersonPhoneWhereUniqueInput | Prisma.PersonPhoneWhereUniqueInput[]
|
|
345
|
-
connect?: Prisma.PersonPhoneWhereUniqueInput | Prisma.PersonPhoneWhereUniqueInput[]
|
|
346
|
-
update?: Prisma.PersonPhoneUpdateWithWhereUniqueWithoutPersonInput | Prisma.PersonPhoneUpdateWithWhereUniqueWithoutPersonInput[]
|
|
347
|
-
updateMany?: Prisma.PersonPhoneUpdateManyWithWhereWithoutPersonInput | Prisma.PersonPhoneUpdateManyWithWhereWithoutPersonInput[]
|
|
348
|
-
deleteMany?: Prisma.PersonPhoneScalarWhereInput | Prisma.PersonPhoneScalarWhereInput[]
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
export type PersonPhoneUncheckedUpdateManyWithoutPersonNestedInput = {
|
|
352
|
-
create?: Prisma.XOR<Prisma.PersonPhoneCreateWithoutPersonInput, Prisma.PersonPhoneUncheckedCreateWithoutPersonInput> | Prisma.PersonPhoneCreateWithoutPersonInput[] | Prisma.PersonPhoneUncheckedCreateWithoutPersonInput[]
|
|
353
|
-
connectOrCreate?: Prisma.PersonPhoneCreateOrConnectWithoutPersonInput | Prisma.PersonPhoneCreateOrConnectWithoutPersonInput[]
|
|
354
|
-
upsert?: Prisma.PersonPhoneUpsertWithWhereUniqueWithoutPersonInput | Prisma.PersonPhoneUpsertWithWhereUniqueWithoutPersonInput[]
|
|
355
|
-
createMany?: Prisma.PersonPhoneCreateManyPersonInputEnvelope
|
|
356
|
-
set?: Prisma.PersonPhoneWhereUniqueInput | Prisma.PersonPhoneWhereUniqueInput[]
|
|
357
|
-
disconnect?: Prisma.PersonPhoneWhereUniqueInput | Prisma.PersonPhoneWhereUniqueInput[]
|
|
358
|
-
delete?: Prisma.PersonPhoneWhereUniqueInput | Prisma.PersonPhoneWhereUniqueInput[]
|
|
359
|
-
connect?: Prisma.PersonPhoneWhereUniqueInput | Prisma.PersonPhoneWhereUniqueInput[]
|
|
360
|
-
update?: Prisma.PersonPhoneUpdateWithWhereUniqueWithoutPersonInput | Prisma.PersonPhoneUpdateWithWhereUniqueWithoutPersonInput[]
|
|
361
|
-
updateMany?: Prisma.PersonPhoneUpdateManyWithWhereWithoutPersonInput | Prisma.PersonPhoneUpdateManyWithWhereWithoutPersonInput[]
|
|
362
|
-
deleteMany?: Prisma.PersonPhoneScalarWhereInput | Prisma.PersonPhoneScalarWhereInput[]
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
export type PersonPhoneCreateWithoutPersonInput = {
|
|
366
|
-
phone: string
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
export type PersonPhoneUncheckedCreateWithoutPersonInput = {
|
|
370
|
-
id?: number
|
|
371
|
-
phone: string
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
export type PersonPhoneCreateOrConnectWithoutPersonInput = {
|
|
375
|
-
where: Prisma.PersonPhoneWhereUniqueInput
|
|
376
|
-
create: Prisma.XOR<Prisma.PersonPhoneCreateWithoutPersonInput, Prisma.PersonPhoneUncheckedCreateWithoutPersonInput>
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
export type PersonPhoneCreateManyPersonInputEnvelope = {
|
|
380
|
-
data: Prisma.PersonPhoneCreateManyPersonInput | Prisma.PersonPhoneCreateManyPersonInput[]
|
|
381
|
-
skipDuplicates?: boolean
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
export type PersonPhoneUpsertWithWhereUniqueWithoutPersonInput = {
|
|
385
|
-
where: Prisma.PersonPhoneWhereUniqueInput
|
|
386
|
-
update: Prisma.XOR<Prisma.PersonPhoneUpdateWithoutPersonInput, Prisma.PersonPhoneUncheckedUpdateWithoutPersonInput>
|
|
387
|
-
create: Prisma.XOR<Prisma.PersonPhoneCreateWithoutPersonInput, Prisma.PersonPhoneUncheckedCreateWithoutPersonInput>
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
export type PersonPhoneUpdateWithWhereUniqueWithoutPersonInput = {
|
|
391
|
-
where: Prisma.PersonPhoneWhereUniqueInput
|
|
392
|
-
data: Prisma.XOR<Prisma.PersonPhoneUpdateWithoutPersonInput, Prisma.PersonPhoneUncheckedUpdateWithoutPersonInput>
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
export type PersonPhoneUpdateManyWithWhereWithoutPersonInput = {
|
|
396
|
-
where: Prisma.PersonPhoneScalarWhereInput
|
|
397
|
-
data: Prisma.XOR<Prisma.PersonPhoneUpdateManyMutationInput, Prisma.PersonPhoneUncheckedUpdateManyWithoutPersonInput>
|
|
398
|
-
}
|
|
399
|
-
|
|
400
|
-
export type PersonPhoneScalarWhereInput = {
|
|
401
|
-
AND?: Prisma.PersonPhoneScalarWhereInput | Prisma.PersonPhoneScalarWhereInput[]
|
|
402
|
-
OR?: Prisma.PersonPhoneScalarWhereInput[]
|
|
403
|
-
NOT?: Prisma.PersonPhoneScalarWhereInput | Prisma.PersonPhoneScalarWhereInput[]
|
|
404
|
-
id?: Prisma.IntFilter<"PersonPhone"> | number
|
|
405
|
-
phone?: Prisma.StringFilter<"PersonPhone"> | string
|
|
406
|
-
personId?: Prisma.IntFilter<"PersonPhone"> | number
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
export type PersonPhoneCreateManyPersonInput = {
|
|
410
|
-
id?: number
|
|
411
|
-
phone: string
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
export type PersonPhoneUpdateWithoutPersonInput = {
|
|
415
|
-
phone?: Prisma.StringFieldUpdateOperationsInput | string
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
export type PersonPhoneUncheckedUpdateWithoutPersonInput = {
|
|
419
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
420
|
-
phone?: Prisma.StringFieldUpdateOperationsInput | string
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
export type PersonPhoneUncheckedUpdateManyWithoutPersonInput = {
|
|
424
|
-
id?: Prisma.IntFieldUpdateOperationsInput | number
|
|
425
|
-
phone?: Prisma.StringFieldUpdateOperationsInput | string
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
export type PersonPhoneSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
431
|
-
id?: boolean
|
|
432
|
-
phone?: boolean
|
|
433
|
-
personId?: boolean
|
|
434
|
-
person?: boolean | Prisma.PersonDefaultArgs<ExtArgs>
|
|
435
|
-
}, ExtArgs["result"]["personPhone"]>
|
|
436
|
-
|
|
437
|
-
export type PersonPhoneSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
438
|
-
id?: boolean
|
|
439
|
-
phone?: boolean
|
|
440
|
-
personId?: boolean
|
|
441
|
-
person?: boolean | Prisma.PersonDefaultArgs<ExtArgs>
|
|
442
|
-
}, ExtArgs["result"]["personPhone"]>
|
|
443
|
-
|
|
444
|
-
export type PersonPhoneSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
445
|
-
id?: boolean
|
|
446
|
-
phone?: boolean
|
|
447
|
-
personId?: boolean
|
|
448
|
-
person?: boolean | Prisma.PersonDefaultArgs<ExtArgs>
|
|
449
|
-
}, ExtArgs["result"]["personPhone"]>
|
|
450
|
-
|
|
451
|
-
export type PersonPhoneSelectScalar = {
|
|
452
|
-
id?: boolean
|
|
453
|
-
phone?: boolean
|
|
454
|
-
personId?: boolean
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
export type PersonPhoneOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "phone" | "personId", ExtArgs["result"]["personPhone"]>
|
|
458
|
-
export type PersonPhoneInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
459
|
-
person?: boolean | Prisma.PersonDefaultArgs<ExtArgs>
|
|
460
|
-
}
|
|
461
|
-
export type PersonPhoneIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
462
|
-
person?: boolean | Prisma.PersonDefaultArgs<ExtArgs>
|
|
463
|
-
}
|
|
464
|
-
export type PersonPhoneIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
465
|
-
person?: boolean | Prisma.PersonDefaultArgs<ExtArgs>
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
export type $PersonPhonePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
469
|
-
name: "PersonPhone"
|
|
470
|
-
objects: {
|
|
471
|
-
person: Prisma.$PersonPayload<ExtArgs>
|
|
472
|
-
}
|
|
473
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
474
|
-
id: number
|
|
475
|
-
phone: string
|
|
476
|
-
personId: number
|
|
477
|
-
}, ExtArgs["result"]["personPhone"]>
|
|
478
|
-
composites: {}
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
export type PersonPhoneGetPayload<S extends boolean | null | undefined | PersonPhoneDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PersonPhonePayload, S>
|
|
482
|
-
|
|
483
|
-
export type PersonPhoneCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
484
|
-
Omit<PersonPhoneFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
485
|
-
select?: PersonPhoneCountAggregateInputType | true
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
export interface PersonPhoneDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
489
|
-
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PersonPhone'], meta: { name: 'PersonPhone' } }
|
|
490
|
-
/**
|
|
491
|
-
* Find zero or one PersonPhone that matches the filter.
|
|
492
|
-
* @param {PersonPhoneFindUniqueArgs} args - Arguments to find a PersonPhone
|
|
493
|
-
* @example
|
|
494
|
-
* // Get one PersonPhone
|
|
495
|
-
* const personPhone = await prisma.personPhone.findUnique({
|
|
496
|
-
* where: {
|
|
497
|
-
* // ... provide filter here
|
|
498
|
-
* }
|
|
499
|
-
* })
|
|
500
|
-
*/
|
|
501
|
-
findUnique<T extends PersonPhoneFindUniqueArgs>(args: Prisma.SelectSubset<T, PersonPhoneFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PersonPhoneClient<runtime.Types.Result.GetResult<Prisma.$PersonPhonePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
502
|
-
|
|
503
|
-
/**
|
|
504
|
-
* Find one PersonPhone that matches the filter or throw an error with `error.code='P2025'`
|
|
505
|
-
* if no matches were found.
|
|
506
|
-
* @param {PersonPhoneFindUniqueOrThrowArgs} args - Arguments to find a PersonPhone
|
|
507
|
-
* @example
|
|
508
|
-
* // Get one PersonPhone
|
|
509
|
-
* const personPhone = await prisma.personPhone.findUniqueOrThrow({
|
|
510
|
-
* where: {
|
|
511
|
-
* // ... provide filter here
|
|
512
|
-
* }
|
|
513
|
-
* })
|
|
514
|
-
*/
|
|
515
|
-
findUniqueOrThrow<T extends PersonPhoneFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PersonPhoneFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PersonPhoneClient<runtime.Types.Result.GetResult<Prisma.$PersonPhonePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
516
|
-
|
|
517
|
-
/**
|
|
518
|
-
* Find the first PersonPhone that matches the filter.
|
|
519
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
520
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
521
|
-
* @param {PersonPhoneFindFirstArgs} args - Arguments to find a PersonPhone
|
|
522
|
-
* @example
|
|
523
|
-
* // Get one PersonPhone
|
|
524
|
-
* const personPhone = await prisma.personPhone.findFirst({
|
|
525
|
-
* where: {
|
|
526
|
-
* // ... provide filter here
|
|
527
|
-
* }
|
|
528
|
-
* })
|
|
529
|
-
*/
|
|
530
|
-
findFirst<T extends PersonPhoneFindFirstArgs>(args?: Prisma.SelectSubset<T, PersonPhoneFindFirstArgs<ExtArgs>>): Prisma.Prisma__PersonPhoneClient<runtime.Types.Result.GetResult<Prisma.$PersonPhonePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
531
|
-
|
|
532
|
-
/**
|
|
533
|
-
* Find the first PersonPhone that matches the filter or
|
|
534
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
535
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
536
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
537
|
-
* @param {PersonPhoneFindFirstOrThrowArgs} args - Arguments to find a PersonPhone
|
|
538
|
-
* @example
|
|
539
|
-
* // Get one PersonPhone
|
|
540
|
-
* const personPhone = await prisma.personPhone.findFirstOrThrow({
|
|
541
|
-
* where: {
|
|
542
|
-
* // ... provide filter here
|
|
543
|
-
* }
|
|
544
|
-
* })
|
|
545
|
-
*/
|
|
546
|
-
findFirstOrThrow<T extends PersonPhoneFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PersonPhoneFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PersonPhoneClient<runtime.Types.Result.GetResult<Prisma.$PersonPhonePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
547
|
-
|
|
548
|
-
/**
|
|
549
|
-
* Find zero or more PersonPhones that matches the filter.
|
|
550
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
551
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
552
|
-
* @param {PersonPhoneFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
553
|
-
* @example
|
|
554
|
-
* // Get all PersonPhones
|
|
555
|
-
* const personPhones = await prisma.personPhone.findMany()
|
|
556
|
-
*
|
|
557
|
-
* // Get first 10 PersonPhones
|
|
558
|
-
* const personPhones = await prisma.personPhone.findMany({ take: 10 })
|
|
559
|
-
*
|
|
560
|
-
* // Only select the `id`
|
|
561
|
-
* const personPhoneWithIdOnly = await prisma.personPhone.findMany({ select: { id: true } })
|
|
562
|
-
*
|
|
563
|
-
*/
|
|
564
|
-
findMany<T extends PersonPhoneFindManyArgs>(args?: Prisma.SelectSubset<T, PersonPhoneFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PersonPhonePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
565
|
-
|
|
566
|
-
/**
|
|
567
|
-
* Create a PersonPhone.
|
|
568
|
-
* @param {PersonPhoneCreateArgs} args - Arguments to create a PersonPhone.
|
|
569
|
-
* @example
|
|
570
|
-
* // Create one PersonPhone
|
|
571
|
-
* const PersonPhone = await prisma.personPhone.create({
|
|
572
|
-
* data: {
|
|
573
|
-
* // ... data to create a PersonPhone
|
|
574
|
-
* }
|
|
575
|
-
* })
|
|
576
|
-
*
|
|
577
|
-
*/
|
|
578
|
-
create<T extends PersonPhoneCreateArgs>(args: Prisma.SelectSubset<T, PersonPhoneCreateArgs<ExtArgs>>): Prisma.Prisma__PersonPhoneClient<runtime.Types.Result.GetResult<Prisma.$PersonPhonePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
579
|
-
|
|
580
|
-
/**
|
|
581
|
-
* Create many PersonPhones.
|
|
582
|
-
* @param {PersonPhoneCreateManyArgs} args - Arguments to create many PersonPhones.
|
|
583
|
-
* @example
|
|
584
|
-
* // Create many PersonPhones
|
|
585
|
-
* const personPhone = await prisma.personPhone.createMany({
|
|
586
|
-
* data: [
|
|
587
|
-
* // ... provide data here
|
|
588
|
-
* ]
|
|
589
|
-
* })
|
|
590
|
-
*
|
|
591
|
-
*/
|
|
592
|
-
createMany<T extends PersonPhoneCreateManyArgs>(args?: Prisma.SelectSubset<T, PersonPhoneCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
593
|
-
|
|
594
|
-
/**
|
|
595
|
-
* Create many PersonPhones and returns the data saved in the database.
|
|
596
|
-
* @param {PersonPhoneCreateManyAndReturnArgs} args - Arguments to create many PersonPhones.
|
|
597
|
-
* @example
|
|
598
|
-
* // Create many PersonPhones
|
|
599
|
-
* const personPhone = await prisma.personPhone.createManyAndReturn({
|
|
600
|
-
* data: [
|
|
601
|
-
* // ... provide data here
|
|
602
|
-
* ]
|
|
603
|
-
* })
|
|
604
|
-
*
|
|
605
|
-
* // Create many PersonPhones and only return the `id`
|
|
606
|
-
* const personPhoneWithIdOnly = await prisma.personPhone.createManyAndReturn({
|
|
607
|
-
* select: { id: true },
|
|
608
|
-
* data: [
|
|
609
|
-
* // ... provide data here
|
|
610
|
-
* ]
|
|
611
|
-
* })
|
|
612
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
613
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
614
|
-
*
|
|
615
|
-
*/
|
|
616
|
-
createManyAndReturn<T extends PersonPhoneCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PersonPhoneCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PersonPhonePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
617
|
-
|
|
618
|
-
/**
|
|
619
|
-
* Delete a PersonPhone.
|
|
620
|
-
* @param {PersonPhoneDeleteArgs} args - Arguments to delete one PersonPhone.
|
|
621
|
-
* @example
|
|
622
|
-
* // Delete one PersonPhone
|
|
623
|
-
* const PersonPhone = await prisma.personPhone.delete({
|
|
624
|
-
* where: {
|
|
625
|
-
* // ... filter to delete one PersonPhone
|
|
626
|
-
* }
|
|
627
|
-
* })
|
|
628
|
-
*
|
|
629
|
-
*/
|
|
630
|
-
delete<T extends PersonPhoneDeleteArgs>(args: Prisma.SelectSubset<T, PersonPhoneDeleteArgs<ExtArgs>>): Prisma.Prisma__PersonPhoneClient<runtime.Types.Result.GetResult<Prisma.$PersonPhonePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
631
|
-
|
|
632
|
-
/**
|
|
633
|
-
* Update one PersonPhone.
|
|
634
|
-
* @param {PersonPhoneUpdateArgs} args - Arguments to update one PersonPhone.
|
|
635
|
-
* @example
|
|
636
|
-
* // Update one PersonPhone
|
|
637
|
-
* const personPhone = await prisma.personPhone.update({
|
|
638
|
-
* where: {
|
|
639
|
-
* // ... provide filter here
|
|
640
|
-
* },
|
|
641
|
-
* data: {
|
|
642
|
-
* // ... provide data here
|
|
643
|
-
* }
|
|
644
|
-
* })
|
|
645
|
-
*
|
|
646
|
-
*/
|
|
647
|
-
update<T extends PersonPhoneUpdateArgs>(args: Prisma.SelectSubset<T, PersonPhoneUpdateArgs<ExtArgs>>): Prisma.Prisma__PersonPhoneClient<runtime.Types.Result.GetResult<Prisma.$PersonPhonePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
648
|
-
|
|
649
|
-
/**
|
|
650
|
-
* Delete zero or more PersonPhones.
|
|
651
|
-
* @param {PersonPhoneDeleteManyArgs} args - Arguments to filter PersonPhones to delete.
|
|
652
|
-
* @example
|
|
653
|
-
* // Delete a few PersonPhones
|
|
654
|
-
* const { count } = await prisma.personPhone.deleteMany({
|
|
655
|
-
* where: {
|
|
656
|
-
* // ... provide filter here
|
|
657
|
-
* }
|
|
658
|
-
* })
|
|
659
|
-
*
|
|
660
|
-
*/
|
|
661
|
-
deleteMany<T extends PersonPhoneDeleteManyArgs>(args?: Prisma.SelectSubset<T, PersonPhoneDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
662
|
-
|
|
663
|
-
/**
|
|
664
|
-
* Update zero or more PersonPhones.
|
|
665
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
666
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
667
|
-
* @param {PersonPhoneUpdateManyArgs} args - Arguments to update one or more rows.
|
|
668
|
-
* @example
|
|
669
|
-
* // Update many PersonPhones
|
|
670
|
-
* const personPhone = await prisma.personPhone.updateMany({
|
|
671
|
-
* where: {
|
|
672
|
-
* // ... provide filter here
|
|
673
|
-
* },
|
|
674
|
-
* data: {
|
|
675
|
-
* // ... provide data here
|
|
676
|
-
* }
|
|
677
|
-
* })
|
|
678
|
-
*
|
|
679
|
-
*/
|
|
680
|
-
updateMany<T extends PersonPhoneUpdateManyArgs>(args: Prisma.SelectSubset<T, PersonPhoneUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
681
|
-
|
|
682
|
-
/**
|
|
683
|
-
* Update zero or more PersonPhones and returns the data updated in the database.
|
|
684
|
-
* @param {PersonPhoneUpdateManyAndReturnArgs} args - Arguments to update many PersonPhones.
|
|
685
|
-
* @example
|
|
686
|
-
* // Update many PersonPhones
|
|
687
|
-
* const personPhone = await prisma.personPhone.updateManyAndReturn({
|
|
688
|
-
* where: {
|
|
689
|
-
* // ... provide filter here
|
|
690
|
-
* },
|
|
691
|
-
* data: [
|
|
692
|
-
* // ... provide data here
|
|
693
|
-
* ]
|
|
694
|
-
* })
|
|
695
|
-
*
|
|
696
|
-
* // Update zero or more PersonPhones and only return the `id`
|
|
697
|
-
* const personPhoneWithIdOnly = await prisma.personPhone.updateManyAndReturn({
|
|
698
|
-
* select: { id: true },
|
|
699
|
-
* where: {
|
|
700
|
-
* // ... provide filter here
|
|
701
|
-
* },
|
|
702
|
-
* data: [
|
|
703
|
-
* // ... provide data here
|
|
704
|
-
* ]
|
|
705
|
-
* })
|
|
706
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
707
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
708
|
-
*
|
|
709
|
-
*/
|
|
710
|
-
updateManyAndReturn<T extends PersonPhoneUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PersonPhoneUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PersonPhonePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
711
|
-
|
|
712
|
-
/**
|
|
713
|
-
* Create or update one PersonPhone.
|
|
714
|
-
* @param {PersonPhoneUpsertArgs} args - Arguments to update or create a PersonPhone.
|
|
715
|
-
* @example
|
|
716
|
-
* // Update or create a PersonPhone
|
|
717
|
-
* const personPhone = await prisma.personPhone.upsert({
|
|
718
|
-
* create: {
|
|
719
|
-
* // ... data to create a PersonPhone
|
|
720
|
-
* },
|
|
721
|
-
* update: {
|
|
722
|
-
* // ... in case it already exists, update
|
|
723
|
-
* },
|
|
724
|
-
* where: {
|
|
725
|
-
* // ... the filter for the PersonPhone we want to update
|
|
726
|
-
* }
|
|
727
|
-
* })
|
|
728
|
-
*/
|
|
729
|
-
upsert<T extends PersonPhoneUpsertArgs>(args: Prisma.SelectSubset<T, PersonPhoneUpsertArgs<ExtArgs>>): Prisma.Prisma__PersonPhoneClient<runtime.Types.Result.GetResult<Prisma.$PersonPhonePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
/**
|
|
733
|
-
* Count the number of PersonPhones.
|
|
734
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
735
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
736
|
-
* @param {PersonPhoneCountArgs} args - Arguments to filter PersonPhones to count.
|
|
737
|
-
* @example
|
|
738
|
-
* // Count the number of PersonPhones
|
|
739
|
-
* const count = await prisma.personPhone.count({
|
|
740
|
-
* where: {
|
|
741
|
-
* // ... the filter for the PersonPhones we want to count
|
|
742
|
-
* }
|
|
743
|
-
* })
|
|
744
|
-
**/
|
|
745
|
-
count<T extends PersonPhoneCountArgs>(
|
|
746
|
-
args?: Prisma.Subset<T, PersonPhoneCountArgs>,
|
|
747
|
-
): Prisma.PrismaPromise<
|
|
748
|
-
T extends runtime.Types.Utils.Record<'select', any>
|
|
749
|
-
? T['select'] extends true
|
|
750
|
-
? number
|
|
751
|
-
: Prisma.GetScalarType<T['select'], PersonPhoneCountAggregateOutputType>
|
|
752
|
-
: number
|
|
753
|
-
>
|
|
754
|
-
|
|
755
|
-
/**
|
|
756
|
-
* Allows you to perform aggregations operations on a PersonPhone.
|
|
757
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
758
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
759
|
-
* @param {PersonPhoneAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
760
|
-
* @example
|
|
761
|
-
* // Ordered by age ascending
|
|
762
|
-
* // Where email contains prisma.io
|
|
763
|
-
* // Limited to the 10 users
|
|
764
|
-
* const aggregations = await prisma.user.aggregate({
|
|
765
|
-
* _avg: {
|
|
766
|
-
* age: true,
|
|
767
|
-
* },
|
|
768
|
-
* where: {
|
|
769
|
-
* email: {
|
|
770
|
-
* contains: "prisma.io",
|
|
771
|
-
* },
|
|
772
|
-
* },
|
|
773
|
-
* orderBy: {
|
|
774
|
-
* age: "asc",
|
|
775
|
-
* },
|
|
776
|
-
* take: 10,
|
|
777
|
-
* })
|
|
778
|
-
**/
|
|
779
|
-
aggregate<T extends PersonPhoneAggregateArgs>(args: Prisma.Subset<T, PersonPhoneAggregateArgs>): Prisma.PrismaPromise<GetPersonPhoneAggregateType<T>>
|
|
780
|
-
|
|
781
|
-
/**
|
|
782
|
-
* Group by PersonPhone.
|
|
783
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
784
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
785
|
-
* @param {PersonPhoneGroupByArgs} args - Group by arguments.
|
|
786
|
-
* @example
|
|
787
|
-
* // Group by city, order by createdAt, get count
|
|
788
|
-
* const result = await prisma.user.groupBy({
|
|
789
|
-
* by: ['city', 'createdAt'],
|
|
790
|
-
* orderBy: {
|
|
791
|
-
* createdAt: true
|
|
792
|
-
* },
|
|
793
|
-
* _count: {
|
|
794
|
-
* _all: true
|
|
795
|
-
* },
|
|
796
|
-
* })
|
|
797
|
-
*
|
|
798
|
-
**/
|
|
799
|
-
groupBy<
|
|
800
|
-
T extends PersonPhoneGroupByArgs,
|
|
801
|
-
HasSelectOrTake extends Prisma.Or<
|
|
802
|
-
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
803
|
-
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
804
|
-
>,
|
|
805
|
-
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
806
|
-
? { orderBy: PersonPhoneGroupByArgs['orderBy'] }
|
|
807
|
-
: { orderBy?: PersonPhoneGroupByArgs['orderBy'] },
|
|
808
|
-
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
809
|
-
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
810
|
-
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
811
|
-
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
812
|
-
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
813
|
-
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
814
|
-
InputErrors extends ByEmpty extends Prisma.True
|
|
815
|
-
? `Error: "by" must not be empty.`
|
|
816
|
-
: HavingValid extends Prisma.False
|
|
817
|
-
? {
|
|
818
|
-
[P in HavingFields]: P extends ByFields
|
|
819
|
-
? never
|
|
820
|
-
: P extends string
|
|
821
|
-
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
822
|
-
: [
|
|
823
|
-
Error,
|
|
824
|
-
'Field ',
|
|
825
|
-
P,
|
|
826
|
-
` in "having" needs to be provided in "by"`,
|
|
827
|
-
]
|
|
828
|
-
}[HavingFields]
|
|
829
|
-
: 'take' extends Prisma.Keys<T>
|
|
830
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
831
|
-
? ByValid extends Prisma.True
|
|
832
|
-
? {}
|
|
833
|
-
: {
|
|
834
|
-
[P in OrderFields]: P extends ByFields
|
|
835
|
-
? never
|
|
836
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
837
|
-
}[OrderFields]
|
|
838
|
-
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
839
|
-
: 'skip' extends Prisma.Keys<T>
|
|
840
|
-
? 'orderBy' extends Prisma.Keys<T>
|
|
841
|
-
? ByValid extends Prisma.True
|
|
842
|
-
? {}
|
|
843
|
-
: {
|
|
844
|
-
[P in OrderFields]: P extends ByFields
|
|
845
|
-
? never
|
|
846
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
847
|
-
}[OrderFields]
|
|
848
|
-
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
849
|
-
: ByValid extends Prisma.True
|
|
850
|
-
? {}
|
|
851
|
-
: {
|
|
852
|
-
[P in OrderFields]: P extends ByFields
|
|
853
|
-
? never
|
|
854
|
-
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
855
|
-
}[OrderFields]
|
|
856
|
-
>(args: Prisma.SubsetIntersection<T, PersonPhoneGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPersonPhoneGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
857
|
-
/**
|
|
858
|
-
* Fields of the PersonPhone model
|
|
859
|
-
*/
|
|
860
|
-
readonly fields: PersonPhoneFieldRefs;
|
|
861
|
-
}
|
|
862
|
-
|
|
863
|
-
/**
|
|
864
|
-
* The delegate class that acts as a "Promise-like" for PersonPhone.
|
|
865
|
-
* Why is this prefixed with `Prisma__`?
|
|
866
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
867
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
868
|
-
*/
|
|
869
|
-
export interface Prisma__PersonPhoneClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
870
|
-
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
871
|
-
person<T extends Prisma.PersonDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PersonDefaultArgs<ExtArgs>>): Prisma.Prisma__PersonClient<runtime.Types.Result.GetResult<Prisma.$PersonPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
872
|
-
/**
|
|
873
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
874
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
875
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
876
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
877
|
-
*/
|
|
878
|
-
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>
|
|
879
|
-
/**
|
|
880
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
881
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
882
|
-
* @returns A Promise for the completion of the callback.
|
|
883
|
-
*/
|
|
884
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
885
|
-
/**
|
|
886
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
887
|
-
* resolved value cannot be modified from the callback.
|
|
888
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
889
|
-
* @returns A Promise for the completion of the callback.
|
|
890
|
-
*/
|
|
891
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
892
|
-
}
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
/**
|
|
898
|
-
* Fields of the PersonPhone model
|
|
899
|
-
*/
|
|
900
|
-
export interface PersonPhoneFieldRefs {
|
|
901
|
-
readonly id: Prisma.FieldRef<"PersonPhone", 'Int'>
|
|
902
|
-
readonly phone: Prisma.FieldRef<"PersonPhone", 'String'>
|
|
903
|
-
readonly personId: Prisma.FieldRef<"PersonPhone", 'Int'>
|
|
904
|
-
}
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
// Custom InputTypes
|
|
908
|
-
/**
|
|
909
|
-
* PersonPhone findUnique
|
|
910
|
-
*/
|
|
911
|
-
export type PersonPhoneFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
912
|
-
/**
|
|
913
|
-
* Select specific fields to fetch from the PersonPhone
|
|
914
|
-
*/
|
|
915
|
-
select?: Prisma.PersonPhoneSelect<ExtArgs> | null
|
|
916
|
-
/**
|
|
917
|
-
* Omit specific fields from the PersonPhone
|
|
918
|
-
*/
|
|
919
|
-
omit?: Prisma.PersonPhoneOmit<ExtArgs> | null
|
|
920
|
-
/**
|
|
921
|
-
* Choose, which related nodes to fetch as well
|
|
922
|
-
*/
|
|
923
|
-
include?: Prisma.PersonPhoneInclude<ExtArgs> | null
|
|
924
|
-
/**
|
|
925
|
-
* Filter, which PersonPhone to fetch.
|
|
926
|
-
*/
|
|
927
|
-
where: Prisma.PersonPhoneWhereUniqueInput
|
|
928
|
-
}
|
|
929
|
-
|
|
930
|
-
/**
|
|
931
|
-
* PersonPhone findUniqueOrThrow
|
|
932
|
-
*/
|
|
933
|
-
export type PersonPhoneFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
934
|
-
/**
|
|
935
|
-
* Select specific fields to fetch from the PersonPhone
|
|
936
|
-
*/
|
|
937
|
-
select?: Prisma.PersonPhoneSelect<ExtArgs> | null
|
|
938
|
-
/**
|
|
939
|
-
* Omit specific fields from the PersonPhone
|
|
940
|
-
*/
|
|
941
|
-
omit?: Prisma.PersonPhoneOmit<ExtArgs> | null
|
|
942
|
-
/**
|
|
943
|
-
* Choose, which related nodes to fetch as well
|
|
944
|
-
*/
|
|
945
|
-
include?: Prisma.PersonPhoneInclude<ExtArgs> | null
|
|
946
|
-
/**
|
|
947
|
-
* Filter, which PersonPhone to fetch.
|
|
948
|
-
*/
|
|
949
|
-
where: Prisma.PersonPhoneWhereUniqueInput
|
|
950
|
-
}
|
|
951
|
-
|
|
952
|
-
/**
|
|
953
|
-
* PersonPhone findFirst
|
|
954
|
-
*/
|
|
955
|
-
export type PersonPhoneFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
956
|
-
/**
|
|
957
|
-
* Select specific fields to fetch from the PersonPhone
|
|
958
|
-
*/
|
|
959
|
-
select?: Prisma.PersonPhoneSelect<ExtArgs> | null
|
|
960
|
-
/**
|
|
961
|
-
* Omit specific fields from the PersonPhone
|
|
962
|
-
*/
|
|
963
|
-
omit?: Prisma.PersonPhoneOmit<ExtArgs> | null
|
|
964
|
-
/**
|
|
965
|
-
* Choose, which related nodes to fetch as well
|
|
966
|
-
*/
|
|
967
|
-
include?: Prisma.PersonPhoneInclude<ExtArgs> | null
|
|
968
|
-
/**
|
|
969
|
-
* Filter, which PersonPhone to fetch.
|
|
970
|
-
*/
|
|
971
|
-
where?: Prisma.PersonPhoneWhereInput
|
|
972
|
-
/**
|
|
973
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
974
|
-
*
|
|
975
|
-
* Determine the order of PersonPhones to fetch.
|
|
976
|
-
*/
|
|
977
|
-
orderBy?: Prisma.PersonPhoneOrderByWithRelationInput | Prisma.PersonPhoneOrderByWithRelationInput[]
|
|
978
|
-
/**
|
|
979
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
980
|
-
*
|
|
981
|
-
* Sets the position for searching for PersonPhones.
|
|
982
|
-
*/
|
|
983
|
-
cursor?: Prisma.PersonPhoneWhereUniqueInput
|
|
984
|
-
/**
|
|
985
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
986
|
-
*
|
|
987
|
-
* Take `±n` PersonPhones from the position of the cursor.
|
|
988
|
-
*/
|
|
989
|
-
take?: number
|
|
990
|
-
/**
|
|
991
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
992
|
-
*
|
|
993
|
-
* Skip the first `n` PersonPhones.
|
|
994
|
-
*/
|
|
995
|
-
skip?: number
|
|
996
|
-
/**
|
|
997
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
998
|
-
*
|
|
999
|
-
* Filter by unique combinations of PersonPhones.
|
|
1000
|
-
*/
|
|
1001
|
-
distinct?: Prisma.PersonPhoneScalarFieldEnum | Prisma.PersonPhoneScalarFieldEnum[]
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
/**
|
|
1005
|
-
* PersonPhone findFirstOrThrow
|
|
1006
|
-
*/
|
|
1007
|
-
export type PersonPhoneFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1008
|
-
/**
|
|
1009
|
-
* Select specific fields to fetch from the PersonPhone
|
|
1010
|
-
*/
|
|
1011
|
-
select?: Prisma.PersonPhoneSelect<ExtArgs> | null
|
|
1012
|
-
/**
|
|
1013
|
-
* Omit specific fields from the PersonPhone
|
|
1014
|
-
*/
|
|
1015
|
-
omit?: Prisma.PersonPhoneOmit<ExtArgs> | null
|
|
1016
|
-
/**
|
|
1017
|
-
* Choose, which related nodes to fetch as well
|
|
1018
|
-
*/
|
|
1019
|
-
include?: Prisma.PersonPhoneInclude<ExtArgs> | null
|
|
1020
|
-
/**
|
|
1021
|
-
* Filter, which PersonPhone to fetch.
|
|
1022
|
-
*/
|
|
1023
|
-
where?: Prisma.PersonPhoneWhereInput
|
|
1024
|
-
/**
|
|
1025
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1026
|
-
*
|
|
1027
|
-
* Determine the order of PersonPhones to fetch.
|
|
1028
|
-
*/
|
|
1029
|
-
orderBy?: Prisma.PersonPhoneOrderByWithRelationInput | Prisma.PersonPhoneOrderByWithRelationInput[]
|
|
1030
|
-
/**
|
|
1031
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1032
|
-
*
|
|
1033
|
-
* Sets the position for searching for PersonPhones.
|
|
1034
|
-
*/
|
|
1035
|
-
cursor?: Prisma.PersonPhoneWhereUniqueInput
|
|
1036
|
-
/**
|
|
1037
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1038
|
-
*
|
|
1039
|
-
* Take `±n` PersonPhones from the position of the cursor.
|
|
1040
|
-
*/
|
|
1041
|
-
take?: number
|
|
1042
|
-
/**
|
|
1043
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1044
|
-
*
|
|
1045
|
-
* Skip the first `n` PersonPhones.
|
|
1046
|
-
*/
|
|
1047
|
-
skip?: number
|
|
1048
|
-
/**
|
|
1049
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1050
|
-
*
|
|
1051
|
-
* Filter by unique combinations of PersonPhones.
|
|
1052
|
-
*/
|
|
1053
|
-
distinct?: Prisma.PersonPhoneScalarFieldEnum | Prisma.PersonPhoneScalarFieldEnum[]
|
|
1054
|
-
}
|
|
1055
|
-
|
|
1056
|
-
/**
|
|
1057
|
-
* PersonPhone findMany
|
|
1058
|
-
*/
|
|
1059
|
-
export type PersonPhoneFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1060
|
-
/**
|
|
1061
|
-
* Select specific fields to fetch from the PersonPhone
|
|
1062
|
-
*/
|
|
1063
|
-
select?: Prisma.PersonPhoneSelect<ExtArgs> | null
|
|
1064
|
-
/**
|
|
1065
|
-
* Omit specific fields from the PersonPhone
|
|
1066
|
-
*/
|
|
1067
|
-
omit?: Prisma.PersonPhoneOmit<ExtArgs> | null
|
|
1068
|
-
/**
|
|
1069
|
-
* Choose, which related nodes to fetch as well
|
|
1070
|
-
*/
|
|
1071
|
-
include?: Prisma.PersonPhoneInclude<ExtArgs> | null
|
|
1072
|
-
/**
|
|
1073
|
-
* Filter, which PersonPhones to fetch.
|
|
1074
|
-
*/
|
|
1075
|
-
where?: Prisma.PersonPhoneWhereInput
|
|
1076
|
-
/**
|
|
1077
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1078
|
-
*
|
|
1079
|
-
* Determine the order of PersonPhones to fetch.
|
|
1080
|
-
*/
|
|
1081
|
-
orderBy?: Prisma.PersonPhoneOrderByWithRelationInput | Prisma.PersonPhoneOrderByWithRelationInput[]
|
|
1082
|
-
/**
|
|
1083
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1084
|
-
*
|
|
1085
|
-
* Sets the position for listing PersonPhones.
|
|
1086
|
-
*/
|
|
1087
|
-
cursor?: Prisma.PersonPhoneWhereUniqueInput
|
|
1088
|
-
/**
|
|
1089
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1090
|
-
*
|
|
1091
|
-
* Take `±n` PersonPhones from the position of the cursor.
|
|
1092
|
-
*/
|
|
1093
|
-
take?: number
|
|
1094
|
-
/**
|
|
1095
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1096
|
-
*
|
|
1097
|
-
* Skip the first `n` PersonPhones.
|
|
1098
|
-
*/
|
|
1099
|
-
skip?: number
|
|
1100
|
-
distinct?: Prisma.PersonPhoneScalarFieldEnum | Prisma.PersonPhoneScalarFieldEnum[]
|
|
1101
|
-
}
|
|
1102
|
-
|
|
1103
|
-
/**
|
|
1104
|
-
* PersonPhone create
|
|
1105
|
-
*/
|
|
1106
|
-
export type PersonPhoneCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1107
|
-
/**
|
|
1108
|
-
* Select specific fields to fetch from the PersonPhone
|
|
1109
|
-
*/
|
|
1110
|
-
select?: Prisma.PersonPhoneSelect<ExtArgs> | null
|
|
1111
|
-
/**
|
|
1112
|
-
* Omit specific fields from the PersonPhone
|
|
1113
|
-
*/
|
|
1114
|
-
omit?: Prisma.PersonPhoneOmit<ExtArgs> | null
|
|
1115
|
-
/**
|
|
1116
|
-
* Choose, which related nodes to fetch as well
|
|
1117
|
-
*/
|
|
1118
|
-
include?: Prisma.PersonPhoneInclude<ExtArgs> | null
|
|
1119
|
-
/**
|
|
1120
|
-
* The data needed to create a PersonPhone.
|
|
1121
|
-
*/
|
|
1122
|
-
data: Prisma.XOR<Prisma.PersonPhoneCreateInput, Prisma.PersonPhoneUncheckedCreateInput>
|
|
1123
|
-
}
|
|
1124
|
-
|
|
1125
|
-
/**
|
|
1126
|
-
* PersonPhone createMany
|
|
1127
|
-
*/
|
|
1128
|
-
export type PersonPhoneCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1129
|
-
/**
|
|
1130
|
-
* The data used to create many PersonPhones.
|
|
1131
|
-
*/
|
|
1132
|
-
data: Prisma.PersonPhoneCreateManyInput | Prisma.PersonPhoneCreateManyInput[]
|
|
1133
|
-
skipDuplicates?: boolean
|
|
1134
|
-
}
|
|
1135
|
-
|
|
1136
|
-
/**
|
|
1137
|
-
* PersonPhone createManyAndReturn
|
|
1138
|
-
*/
|
|
1139
|
-
export type PersonPhoneCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1140
|
-
/**
|
|
1141
|
-
* Select specific fields to fetch from the PersonPhone
|
|
1142
|
-
*/
|
|
1143
|
-
select?: Prisma.PersonPhoneSelectCreateManyAndReturn<ExtArgs> | null
|
|
1144
|
-
/**
|
|
1145
|
-
* Omit specific fields from the PersonPhone
|
|
1146
|
-
*/
|
|
1147
|
-
omit?: Prisma.PersonPhoneOmit<ExtArgs> | null
|
|
1148
|
-
/**
|
|
1149
|
-
* The data used to create many PersonPhones.
|
|
1150
|
-
*/
|
|
1151
|
-
data: Prisma.PersonPhoneCreateManyInput | Prisma.PersonPhoneCreateManyInput[]
|
|
1152
|
-
skipDuplicates?: boolean
|
|
1153
|
-
/**
|
|
1154
|
-
* Choose, which related nodes to fetch as well
|
|
1155
|
-
*/
|
|
1156
|
-
include?: Prisma.PersonPhoneIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1157
|
-
}
|
|
1158
|
-
|
|
1159
|
-
/**
|
|
1160
|
-
* PersonPhone update
|
|
1161
|
-
*/
|
|
1162
|
-
export type PersonPhoneUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1163
|
-
/**
|
|
1164
|
-
* Select specific fields to fetch from the PersonPhone
|
|
1165
|
-
*/
|
|
1166
|
-
select?: Prisma.PersonPhoneSelect<ExtArgs> | null
|
|
1167
|
-
/**
|
|
1168
|
-
* Omit specific fields from the PersonPhone
|
|
1169
|
-
*/
|
|
1170
|
-
omit?: Prisma.PersonPhoneOmit<ExtArgs> | null
|
|
1171
|
-
/**
|
|
1172
|
-
* Choose, which related nodes to fetch as well
|
|
1173
|
-
*/
|
|
1174
|
-
include?: Prisma.PersonPhoneInclude<ExtArgs> | null
|
|
1175
|
-
/**
|
|
1176
|
-
* The data needed to update a PersonPhone.
|
|
1177
|
-
*/
|
|
1178
|
-
data: Prisma.XOR<Prisma.PersonPhoneUpdateInput, Prisma.PersonPhoneUncheckedUpdateInput>
|
|
1179
|
-
/**
|
|
1180
|
-
* Choose, which PersonPhone to update.
|
|
1181
|
-
*/
|
|
1182
|
-
where: Prisma.PersonPhoneWhereUniqueInput
|
|
1183
|
-
}
|
|
1184
|
-
|
|
1185
|
-
/**
|
|
1186
|
-
* PersonPhone updateMany
|
|
1187
|
-
*/
|
|
1188
|
-
export type PersonPhoneUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1189
|
-
/**
|
|
1190
|
-
* The data used to update PersonPhones.
|
|
1191
|
-
*/
|
|
1192
|
-
data: Prisma.XOR<Prisma.PersonPhoneUpdateManyMutationInput, Prisma.PersonPhoneUncheckedUpdateManyInput>
|
|
1193
|
-
/**
|
|
1194
|
-
* Filter which PersonPhones to update
|
|
1195
|
-
*/
|
|
1196
|
-
where?: Prisma.PersonPhoneWhereInput
|
|
1197
|
-
/**
|
|
1198
|
-
* Limit how many PersonPhones to update.
|
|
1199
|
-
*/
|
|
1200
|
-
limit?: number
|
|
1201
|
-
}
|
|
1202
|
-
|
|
1203
|
-
/**
|
|
1204
|
-
* PersonPhone updateManyAndReturn
|
|
1205
|
-
*/
|
|
1206
|
-
export type PersonPhoneUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1207
|
-
/**
|
|
1208
|
-
* Select specific fields to fetch from the PersonPhone
|
|
1209
|
-
*/
|
|
1210
|
-
select?: Prisma.PersonPhoneSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1211
|
-
/**
|
|
1212
|
-
* Omit specific fields from the PersonPhone
|
|
1213
|
-
*/
|
|
1214
|
-
omit?: Prisma.PersonPhoneOmit<ExtArgs> | null
|
|
1215
|
-
/**
|
|
1216
|
-
* The data used to update PersonPhones.
|
|
1217
|
-
*/
|
|
1218
|
-
data: Prisma.XOR<Prisma.PersonPhoneUpdateManyMutationInput, Prisma.PersonPhoneUncheckedUpdateManyInput>
|
|
1219
|
-
/**
|
|
1220
|
-
* Filter which PersonPhones to update
|
|
1221
|
-
*/
|
|
1222
|
-
where?: Prisma.PersonPhoneWhereInput
|
|
1223
|
-
/**
|
|
1224
|
-
* Limit how many PersonPhones to update.
|
|
1225
|
-
*/
|
|
1226
|
-
limit?: number
|
|
1227
|
-
/**
|
|
1228
|
-
* Choose, which related nodes to fetch as well
|
|
1229
|
-
*/
|
|
1230
|
-
include?: Prisma.PersonPhoneIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1231
|
-
}
|
|
1232
|
-
|
|
1233
|
-
/**
|
|
1234
|
-
* PersonPhone upsert
|
|
1235
|
-
*/
|
|
1236
|
-
export type PersonPhoneUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1237
|
-
/**
|
|
1238
|
-
* Select specific fields to fetch from the PersonPhone
|
|
1239
|
-
*/
|
|
1240
|
-
select?: Prisma.PersonPhoneSelect<ExtArgs> | null
|
|
1241
|
-
/**
|
|
1242
|
-
* Omit specific fields from the PersonPhone
|
|
1243
|
-
*/
|
|
1244
|
-
omit?: Prisma.PersonPhoneOmit<ExtArgs> | null
|
|
1245
|
-
/**
|
|
1246
|
-
* Choose, which related nodes to fetch as well
|
|
1247
|
-
*/
|
|
1248
|
-
include?: Prisma.PersonPhoneInclude<ExtArgs> | null
|
|
1249
|
-
/**
|
|
1250
|
-
* The filter to search for the PersonPhone to update in case it exists.
|
|
1251
|
-
*/
|
|
1252
|
-
where: Prisma.PersonPhoneWhereUniqueInput
|
|
1253
|
-
/**
|
|
1254
|
-
* In case the PersonPhone found by the `where` argument doesn't exist, create a new PersonPhone with this data.
|
|
1255
|
-
*/
|
|
1256
|
-
create: Prisma.XOR<Prisma.PersonPhoneCreateInput, Prisma.PersonPhoneUncheckedCreateInput>
|
|
1257
|
-
/**
|
|
1258
|
-
* In case the PersonPhone was found with the provided `where` argument, update it with this data.
|
|
1259
|
-
*/
|
|
1260
|
-
update: Prisma.XOR<Prisma.PersonPhoneUpdateInput, Prisma.PersonPhoneUncheckedUpdateInput>
|
|
1261
|
-
}
|
|
1262
|
-
|
|
1263
|
-
/**
|
|
1264
|
-
* PersonPhone delete
|
|
1265
|
-
*/
|
|
1266
|
-
export type PersonPhoneDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1267
|
-
/**
|
|
1268
|
-
* Select specific fields to fetch from the PersonPhone
|
|
1269
|
-
*/
|
|
1270
|
-
select?: Prisma.PersonPhoneSelect<ExtArgs> | null
|
|
1271
|
-
/**
|
|
1272
|
-
* Omit specific fields from the PersonPhone
|
|
1273
|
-
*/
|
|
1274
|
-
omit?: Prisma.PersonPhoneOmit<ExtArgs> | null
|
|
1275
|
-
/**
|
|
1276
|
-
* Choose, which related nodes to fetch as well
|
|
1277
|
-
*/
|
|
1278
|
-
include?: Prisma.PersonPhoneInclude<ExtArgs> | null
|
|
1279
|
-
/**
|
|
1280
|
-
* Filter which PersonPhone to delete.
|
|
1281
|
-
*/
|
|
1282
|
-
where: Prisma.PersonPhoneWhereUniqueInput
|
|
1283
|
-
}
|
|
1284
|
-
|
|
1285
|
-
/**
|
|
1286
|
-
* PersonPhone deleteMany
|
|
1287
|
-
*/
|
|
1288
|
-
export type PersonPhoneDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1289
|
-
/**
|
|
1290
|
-
* Filter which PersonPhones to delete
|
|
1291
|
-
*/
|
|
1292
|
-
where?: Prisma.PersonPhoneWhereInput
|
|
1293
|
-
/**
|
|
1294
|
-
* Limit how many PersonPhones to delete.
|
|
1295
|
-
*/
|
|
1296
|
-
limit?: number
|
|
1297
|
-
}
|
|
1298
|
-
|
|
1299
|
-
/**
|
|
1300
|
-
* PersonPhone without action
|
|
1301
|
-
*/
|
|
1302
|
-
export type PersonPhoneDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1303
|
-
/**
|
|
1304
|
-
* Select specific fields to fetch from the PersonPhone
|
|
1305
|
-
*/
|
|
1306
|
-
select?: Prisma.PersonPhoneSelect<ExtArgs> | null
|
|
1307
|
-
/**
|
|
1308
|
-
* Omit specific fields from the PersonPhone
|
|
1309
|
-
*/
|
|
1310
|
-
omit?: Prisma.PersonPhoneOmit<ExtArgs> | null
|
|
1311
|
-
/**
|
|
1312
|
-
* Choose, which related nodes to fetch as well
|
|
1313
|
-
*/
|
|
1314
|
-
include?: Prisma.PersonPhoneInclude<ExtArgs> | null
|
|
1315
|
-
}
|