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