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