@valentine-efagene/qshelter-common 2.0.151 → 2.0.153
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 +13 -2
- package/dist/generated/client/client.d.ts +15 -4
- package/dist/generated/client/client.js +2 -2
- package/dist/generated/client/commonInputTypes.d.ts +20 -190
- package/dist/generated/client/enums.d.ts +0 -34
- package/dist/generated/client/enums.js +0 -30
- package/dist/generated/client/internal/class.d.ts +29 -7
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +181 -32
- package/dist/generated/client/internal/prismaNamespace.js +42 -11
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +46 -11
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +42 -11
- package/dist/generated/client/models/ApplicationOrganization.d.ts +308 -67
- package/dist/generated/client/models/ApprovalStage.d.ts +210 -91
- package/dist/generated/client/models/ApprovalStageProgress.d.ts +258 -69
- package/dist/generated/client/models/DocumentApproval.d.ts +196 -65
- package/dist/generated/client/models/DocumentReview.d.ts +475 -86
- package/dist/generated/client/models/Organization.d.ts +424 -52
- package/dist/generated/client/models/OrganizationMember.d.ts +42 -169
- package/dist/generated/client/models/OrganizationType.d.ts +1982 -0
- package/dist/generated/client/models/OrganizationType.js +1 -0
- package/dist/generated/client/models/OrganizationTypeAssignment.d.ts +1159 -0
- package/dist/generated/client/models/OrganizationTypeAssignment.js +1 -0
- package/dist/generated/client/models/Tenant.d.ts +575 -4
- package/dist/generated/client/models/User.d.ts +0 -12
- package/dist/generated/client/models/index.d.ts +2 -0
- package/dist/generated/client/models/index.js +2 -0
- package/dist/generated/client/models.d.ts +2 -0
- package/package.json +1 -1
- package/prisma/migrations/20260125102448_org_types_many_to_many/migration.sql +153 -0
- package/prisma/migrations/20260125103700_20260125102448_org_types_many_to_many_fix/migration.sql +5 -0
- package/prisma/schema.prisma +113 -79
|
@@ -17,7 +17,7 @@ export type DocumentApprovalMinAggregateOutputType = {
|
|
|
17
17
|
documentId: string | null;
|
|
18
18
|
stageProgressId: string | null;
|
|
19
19
|
reviewerId: string | null;
|
|
20
|
-
|
|
20
|
+
organizationTypeId: string | null;
|
|
21
21
|
decision: $Enums.ReviewDecision | null;
|
|
22
22
|
comment: string | null;
|
|
23
23
|
reviewedAt: Date | null;
|
|
@@ -29,7 +29,7 @@ export type DocumentApprovalMaxAggregateOutputType = {
|
|
|
29
29
|
documentId: string | null;
|
|
30
30
|
stageProgressId: string | null;
|
|
31
31
|
reviewerId: string | null;
|
|
32
|
-
|
|
32
|
+
organizationTypeId: string | null;
|
|
33
33
|
decision: $Enums.ReviewDecision | null;
|
|
34
34
|
comment: string | null;
|
|
35
35
|
reviewedAt: Date | null;
|
|
@@ -41,7 +41,7 @@ export type DocumentApprovalCountAggregateOutputType = {
|
|
|
41
41
|
documentId: number;
|
|
42
42
|
stageProgressId: number;
|
|
43
43
|
reviewerId: number;
|
|
44
|
-
|
|
44
|
+
organizationTypeId: number;
|
|
45
45
|
decision: number;
|
|
46
46
|
comment: number;
|
|
47
47
|
reviewedAt: number;
|
|
@@ -54,7 +54,7 @@ export type DocumentApprovalMinAggregateInputType = {
|
|
|
54
54
|
documentId?: true;
|
|
55
55
|
stageProgressId?: true;
|
|
56
56
|
reviewerId?: true;
|
|
57
|
-
|
|
57
|
+
organizationTypeId?: true;
|
|
58
58
|
decision?: true;
|
|
59
59
|
comment?: true;
|
|
60
60
|
reviewedAt?: true;
|
|
@@ -66,7 +66,7 @@ export type DocumentApprovalMaxAggregateInputType = {
|
|
|
66
66
|
documentId?: true;
|
|
67
67
|
stageProgressId?: true;
|
|
68
68
|
reviewerId?: true;
|
|
69
|
-
|
|
69
|
+
organizationTypeId?: true;
|
|
70
70
|
decision?: true;
|
|
71
71
|
comment?: true;
|
|
72
72
|
reviewedAt?: true;
|
|
@@ -78,7 +78,7 @@ export type DocumentApprovalCountAggregateInputType = {
|
|
|
78
78
|
documentId?: true;
|
|
79
79
|
stageProgressId?: true;
|
|
80
80
|
reviewerId?: true;
|
|
81
|
-
|
|
81
|
+
organizationTypeId?: true;
|
|
82
82
|
decision?: true;
|
|
83
83
|
comment?: true;
|
|
84
84
|
reviewedAt?: true;
|
|
@@ -153,7 +153,7 @@ export type DocumentApprovalGroupByOutputType = {
|
|
|
153
153
|
documentId: string;
|
|
154
154
|
stageProgressId: string;
|
|
155
155
|
reviewerId: string;
|
|
156
|
-
|
|
156
|
+
organizationTypeId: string;
|
|
157
157
|
decision: $Enums.ReviewDecision;
|
|
158
158
|
comment: string | null;
|
|
159
159
|
reviewedAt: Date;
|
|
@@ -174,7 +174,7 @@ export type DocumentApprovalWhereInput = {
|
|
|
174
174
|
documentId?: Prisma.StringFilter<"DocumentApproval"> | string;
|
|
175
175
|
stageProgressId?: Prisma.StringFilter<"DocumentApproval"> | string;
|
|
176
176
|
reviewerId?: Prisma.StringFilter<"DocumentApproval"> | string;
|
|
177
|
-
|
|
177
|
+
organizationTypeId?: Prisma.StringFilter<"DocumentApproval"> | string;
|
|
178
178
|
decision?: Prisma.EnumReviewDecisionFilter<"DocumentApproval"> | $Enums.ReviewDecision;
|
|
179
179
|
comment?: Prisma.StringNullableFilter<"DocumentApproval"> | string | null;
|
|
180
180
|
reviewedAt?: Prisma.DateTimeFilter<"DocumentApproval"> | Date | string;
|
|
@@ -183,6 +183,7 @@ export type DocumentApprovalWhereInput = {
|
|
|
183
183
|
document?: Prisma.XOR<Prisma.ApplicationDocumentScalarRelationFilter, Prisma.ApplicationDocumentWhereInput>;
|
|
184
184
|
stageProgress?: Prisma.XOR<Prisma.ApprovalStageProgressScalarRelationFilter, Prisma.ApprovalStageProgressWhereInput>;
|
|
185
185
|
reviewer?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
186
|
+
organizationType?: Prisma.XOR<Prisma.OrganizationTypeScalarRelationFilter, Prisma.OrganizationTypeWhereInput>;
|
|
186
187
|
};
|
|
187
188
|
export type DocumentApprovalOrderByWithRelationInput = {
|
|
188
189
|
id?: Prisma.SortOrder;
|
|
@@ -190,7 +191,7 @@ export type DocumentApprovalOrderByWithRelationInput = {
|
|
|
190
191
|
documentId?: Prisma.SortOrder;
|
|
191
192
|
stageProgressId?: Prisma.SortOrder;
|
|
192
193
|
reviewerId?: Prisma.SortOrder;
|
|
193
|
-
|
|
194
|
+
organizationTypeId?: Prisma.SortOrder;
|
|
194
195
|
decision?: Prisma.SortOrder;
|
|
195
196
|
comment?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
196
197
|
reviewedAt?: Prisma.SortOrder;
|
|
@@ -199,6 +200,7 @@ export type DocumentApprovalOrderByWithRelationInput = {
|
|
|
199
200
|
document?: Prisma.ApplicationDocumentOrderByWithRelationInput;
|
|
200
201
|
stageProgress?: Prisma.ApprovalStageProgressOrderByWithRelationInput;
|
|
201
202
|
reviewer?: Prisma.UserOrderByWithRelationInput;
|
|
203
|
+
organizationType?: Prisma.OrganizationTypeOrderByWithRelationInput;
|
|
202
204
|
_relevance?: Prisma.DocumentApprovalOrderByRelevanceInput;
|
|
203
205
|
};
|
|
204
206
|
export type DocumentApprovalWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -210,7 +212,7 @@ export type DocumentApprovalWhereUniqueInput = Prisma.AtLeast<{
|
|
|
210
212
|
documentId?: Prisma.StringFilter<"DocumentApproval"> | string;
|
|
211
213
|
stageProgressId?: Prisma.StringFilter<"DocumentApproval"> | string;
|
|
212
214
|
reviewerId?: Prisma.StringFilter<"DocumentApproval"> | string;
|
|
213
|
-
|
|
215
|
+
organizationTypeId?: Prisma.StringFilter<"DocumentApproval"> | string;
|
|
214
216
|
decision?: Prisma.EnumReviewDecisionFilter<"DocumentApproval"> | $Enums.ReviewDecision;
|
|
215
217
|
comment?: Prisma.StringNullableFilter<"DocumentApproval"> | string | null;
|
|
216
218
|
reviewedAt?: Prisma.DateTimeFilter<"DocumentApproval"> | Date | string;
|
|
@@ -219,6 +221,7 @@ export type DocumentApprovalWhereUniqueInput = Prisma.AtLeast<{
|
|
|
219
221
|
document?: Prisma.XOR<Prisma.ApplicationDocumentScalarRelationFilter, Prisma.ApplicationDocumentWhereInput>;
|
|
220
222
|
stageProgress?: Prisma.XOR<Prisma.ApprovalStageProgressScalarRelationFilter, Prisma.ApprovalStageProgressWhereInput>;
|
|
221
223
|
reviewer?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
224
|
+
organizationType?: Prisma.XOR<Prisma.OrganizationTypeScalarRelationFilter, Prisma.OrganizationTypeWhereInput>;
|
|
222
225
|
}, "id">;
|
|
223
226
|
export type DocumentApprovalOrderByWithAggregationInput = {
|
|
224
227
|
id?: Prisma.SortOrder;
|
|
@@ -226,7 +229,7 @@ export type DocumentApprovalOrderByWithAggregationInput = {
|
|
|
226
229
|
documentId?: Prisma.SortOrder;
|
|
227
230
|
stageProgressId?: Prisma.SortOrder;
|
|
228
231
|
reviewerId?: Prisma.SortOrder;
|
|
229
|
-
|
|
232
|
+
organizationTypeId?: Prisma.SortOrder;
|
|
230
233
|
decision?: Prisma.SortOrder;
|
|
231
234
|
comment?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
232
235
|
reviewedAt?: Prisma.SortOrder;
|
|
@@ -244,7 +247,7 @@ export type DocumentApprovalScalarWhereWithAggregatesInput = {
|
|
|
244
247
|
documentId?: Prisma.StringWithAggregatesFilter<"DocumentApproval"> | string;
|
|
245
248
|
stageProgressId?: Prisma.StringWithAggregatesFilter<"DocumentApproval"> | string;
|
|
246
249
|
reviewerId?: Prisma.StringWithAggregatesFilter<"DocumentApproval"> | string;
|
|
247
|
-
|
|
250
|
+
organizationTypeId?: Prisma.StringWithAggregatesFilter<"DocumentApproval"> | string;
|
|
248
251
|
decision?: Prisma.EnumReviewDecisionWithAggregatesFilter<"DocumentApproval"> | $Enums.ReviewDecision;
|
|
249
252
|
comment?: Prisma.StringNullableWithAggregatesFilter<"DocumentApproval"> | string | null;
|
|
250
253
|
reviewedAt?: Prisma.DateTimeWithAggregatesFilter<"DocumentApproval"> | Date | string;
|
|
@@ -252,7 +255,6 @@ export type DocumentApprovalScalarWhereWithAggregatesInput = {
|
|
|
252
255
|
};
|
|
253
256
|
export type DocumentApprovalCreateInput = {
|
|
254
257
|
id?: string;
|
|
255
|
-
reviewParty: $Enums.ReviewParty;
|
|
256
258
|
decision: $Enums.ReviewDecision;
|
|
257
259
|
comment?: string | null;
|
|
258
260
|
reviewedAt?: Date | string;
|
|
@@ -261,6 +263,7 @@ export type DocumentApprovalCreateInput = {
|
|
|
261
263
|
document: Prisma.ApplicationDocumentCreateNestedOneWithoutApprovalTrailInput;
|
|
262
264
|
stageProgress: Prisma.ApprovalStageProgressCreateNestedOneWithoutDocumentApprovalsInput;
|
|
263
265
|
reviewer: Prisma.UserCreateNestedOneWithoutDocumentApprovalsInput;
|
|
266
|
+
organizationType: Prisma.OrganizationTypeCreateNestedOneWithoutDocumentApprovalsInput;
|
|
264
267
|
};
|
|
265
268
|
export type DocumentApprovalUncheckedCreateInput = {
|
|
266
269
|
id?: string;
|
|
@@ -268,7 +271,7 @@ export type DocumentApprovalUncheckedCreateInput = {
|
|
|
268
271
|
documentId: string;
|
|
269
272
|
stageProgressId: string;
|
|
270
273
|
reviewerId: string;
|
|
271
|
-
|
|
274
|
+
organizationTypeId: string;
|
|
272
275
|
decision: $Enums.ReviewDecision;
|
|
273
276
|
comment?: string | null;
|
|
274
277
|
reviewedAt?: Date | string;
|
|
@@ -276,7 +279,6 @@ export type DocumentApprovalUncheckedCreateInput = {
|
|
|
276
279
|
};
|
|
277
280
|
export type DocumentApprovalUpdateInput = {
|
|
278
281
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
279
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
280
282
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
281
283
|
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
282
284
|
reviewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -285,6 +287,7 @@ export type DocumentApprovalUpdateInput = {
|
|
|
285
287
|
document?: Prisma.ApplicationDocumentUpdateOneRequiredWithoutApprovalTrailNestedInput;
|
|
286
288
|
stageProgress?: Prisma.ApprovalStageProgressUpdateOneRequiredWithoutDocumentApprovalsNestedInput;
|
|
287
289
|
reviewer?: Prisma.UserUpdateOneRequiredWithoutDocumentApprovalsNestedInput;
|
|
290
|
+
organizationType?: Prisma.OrganizationTypeUpdateOneRequiredWithoutDocumentApprovalsNestedInput;
|
|
288
291
|
};
|
|
289
292
|
export type DocumentApprovalUncheckedUpdateInput = {
|
|
290
293
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
@@ -292,7 +295,7 @@ export type DocumentApprovalUncheckedUpdateInput = {
|
|
|
292
295
|
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
293
296
|
stageProgressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
294
297
|
reviewerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
295
|
-
|
|
298
|
+
organizationTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
296
299
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
297
300
|
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
298
301
|
reviewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -304,7 +307,7 @@ export type DocumentApprovalCreateManyInput = {
|
|
|
304
307
|
documentId: string;
|
|
305
308
|
stageProgressId: string;
|
|
306
309
|
reviewerId: string;
|
|
307
|
-
|
|
310
|
+
organizationTypeId: string;
|
|
308
311
|
decision: $Enums.ReviewDecision;
|
|
309
312
|
comment?: string | null;
|
|
310
313
|
reviewedAt?: Date | string;
|
|
@@ -312,7 +315,6 @@ export type DocumentApprovalCreateManyInput = {
|
|
|
312
315
|
};
|
|
313
316
|
export type DocumentApprovalUpdateManyMutationInput = {
|
|
314
317
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
315
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
316
318
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
317
319
|
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
318
320
|
reviewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -324,7 +326,7 @@ export type DocumentApprovalUncheckedUpdateManyInput = {
|
|
|
324
326
|
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
325
327
|
stageProgressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
326
328
|
reviewerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
327
|
-
|
|
329
|
+
organizationTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
328
330
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
329
331
|
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
330
332
|
reviewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -349,7 +351,7 @@ export type DocumentApprovalCountOrderByAggregateInput = {
|
|
|
349
351
|
documentId?: Prisma.SortOrder;
|
|
350
352
|
stageProgressId?: Prisma.SortOrder;
|
|
351
353
|
reviewerId?: Prisma.SortOrder;
|
|
352
|
-
|
|
354
|
+
organizationTypeId?: Prisma.SortOrder;
|
|
353
355
|
decision?: Prisma.SortOrder;
|
|
354
356
|
comment?: Prisma.SortOrder;
|
|
355
357
|
reviewedAt?: Prisma.SortOrder;
|
|
@@ -361,7 +363,7 @@ export type DocumentApprovalMaxOrderByAggregateInput = {
|
|
|
361
363
|
documentId?: Prisma.SortOrder;
|
|
362
364
|
stageProgressId?: Prisma.SortOrder;
|
|
363
365
|
reviewerId?: Prisma.SortOrder;
|
|
364
|
-
|
|
366
|
+
organizationTypeId?: Prisma.SortOrder;
|
|
365
367
|
decision?: Prisma.SortOrder;
|
|
366
368
|
comment?: Prisma.SortOrder;
|
|
367
369
|
reviewedAt?: Prisma.SortOrder;
|
|
@@ -373,12 +375,50 @@ export type DocumentApprovalMinOrderByAggregateInput = {
|
|
|
373
375
|
documentId?: Prisma.SortOrder;
|
|
374
376
|
stageProgressId?: Prisma.SortOrder;
|
|
375
377
|
reviewerId?: Prisma.SortOrder;
|
|
376
|
-
|
|
378
|
+
organizationTypeId?: Prisma.SortOrder;
|
|
377
379
|
decision?: Prisma.SortOrder;
|
|
378
380
|
comment?: Prisma.SortOrder;
|
|
379
381
|
reviewedAt?: Prisma.SortOrder;
|
|
380
382
|
createdAt?: Prisma.SortOrder;
|
|
381
383
|
};
|
|
384
|
+
export type DocumentApprovalCreateNestedManyWithoutOrganizationTypeInput = {
|
|
385
|
+
create?: Prisma.XOR<Prisma.DocumentApprovalCreateWithoutOrganizationTypeInput, Prisma.DocumentApprovalUncheckedCreateWithoutOrganizationTypeInput> | Prisma.DocumentApprovalCreateWithoutOrganizationTypeInput[] | Prisma.DocumentApprovalUncheckedCreateWithoutOrganizationTypeInput[];
|
|
386
|
+
connectOrCreate?: Prisma.DocumentApprovalCreateOrConnectWithoutOrganizationTypeInput | Prisma.DocumentApprovalCreateOrConnectWithoutOrganizationTypeInput[];
|
|
387
|
+
createMany?: Prisma.DocumentApprovalCreateManyOrganizationTypeInputEnvelope;
|
|
388
|
+
connect?: Prisma.DocumentApprovalWhereUniqueInput | Prisma.DocumentApprovalWhereUniqueInput[];
|
|
389
|
+
};
|
|
390
|
+
export type DocumentApprovalUncheckedCreateNestedManyWithoutOrganizationTypeInput = {
|
|
391
|
+
create?: Prisma.XOR<Prisma.DocumentApprovalCreateWithoutOrganizationTypeInput, Prisma.DocumentApprovalUncheckedCreateWithoutOrganizationTypeInput> | Prisma.DocumentApprovalCreateWithoutOrganizationTypeInput[] | Prisma.DocumentApprovalUncheckedCreateWithoutOrganizationTypeInput[];
|
|
392
|
+
connectOrCreate?: Prisma.DocumentApprovalCreateOrConnectWithoutOrganizationTypeInput | Prisma.DocumentApprovalCreateOrConnectWithoutOrganizationTypeInput[];
|
|
393
|
+
createMany?: Prisma.DocumentApprovalCreateManyOrganizationTypeInputEnvelope;
|
|
394
|
+
connect?: Prisma.DocumentApprovalWhereUniqueInput | Prisma.DocumentApprovalWhereUniqueInput[];
|
|
395
|
+
};
|
|
396
|
+
export type DocumentApprovalUpdateManyWithoutOrganizationTypeNestedInput = {
|
|
397
|
+
create?: Prisma.XOR<Prisma.DocumentApprovalCreateWithoutOrganizationTypeInput, Prisma.DocumentApprovalUncheckedCreateWithoutOrganizationTypeInput> | Prisma.DocumentApprovalCreateWithoutOrganizationTypeInput[] | Prisma.DocumentApprovalUncheckedCreateWithoutOrganizationTypeInput[];
|
|
398
|
+
connectOrCreate?: Prisma.DocumentApprovalCreateOrConnectWithoutOrganizationTypeInput | Prisma.DocumentApprovalCreateOrConnectWithoutOrganizationTypeInput[];
|
|
399
|
+
upsert?: Prisma.DocumentApprovalUpsertWithWhereUniqueWithoutOrganizationTypeInput | Prisma.DocumentApprovalUpsertWithWhereUniqueWithoutOrganizationTypeInput[];
|
|
400
|
+
createMany?: Prisma.DocumentApprovalCreateManyOrganizationTypeInputEnvelope;
|
|
401
|
+
set?: Prisma.DocumentApprovalWhereUniqueInput | Prisma.DocumentApprovalWhereUniqueInput[];
|
|
402
|
+
disconnect?: Prisma.DocumentApprovalWhereUniqueInput | Prisma.DocumentApprovalWhereUniqueInput[];
|
|
403
|
+
delete?: Prisma.DocumentApprovalWhereUniqueInput | Prisma.DocumentApprovalWhereUniqueInput[];
|
|
404
|
+
connect?: Prisma.DocumentApprovalWhereUniqueInput | Prisma.DocumentApprovalWhereUniqueInput[];
|
|
405
|
+
update?: Prisma.DocumentApprovalUpdateWithWhereUniqueWithoutOrganizationTypeInput | Prisma.DocumentApprovalUpdateWithWhereUniqueWithoutOrganizationTypeInput[];
|
|
406
|
+
updateMany?: Prisma.DocumentApprovalUpdateManyWithWhereWithoutOrganizationTypeInput | Prisma.DocumentApprovalUpdateManyWithWhereWithoutOrganizationTypeInput[];
|
|
407
|
+
deleteMany?: Prisma.DocumentApprovalScalarWhereInput | Prisma.DocumentApprovalScalarWhereInput[];
|
|
408
|
+
};
|
|
409
|
+
export type DocumentApprovalUncheckedUpdateManyWithoutOrganizationTypeNestedInput = {
|
|
410
|
+
create?: Prisma.XOR<Prisma.DocumentApprovalCreateWithoutOrganizationTypeInput, Prisma.DocumentApprovalUncheckedCreateWithoutOrganizationTypeInput> | Prisma.DocumentApprovalCreateWithoutOrganizationTypeInput[] | Prisma.DocumentApprovalUncheckedCreateWithoutOrganizationTypeInput[];
|
|
411
|
+
connectOrCreate?: Prisma.DocumentApprovalCreateOrConnectWithoutOrganizationTypeInput | Prisma.DocumentApprovalCreateOrConnectWithoutOrganizationTypeInput[];
|
|
412
|
+
upsert?: Prisma.DocumentApprovalUpsertWithWhereUniqueWithoutOrganizationTypeInput | Prisma.DocumentApprovalUpsertWithWhereUniqueWithoutOrganizationTypeInput[];
|
|
413
|
+
createMany?: Prisma.DocumentApprovalCreateManyOrganizationTypeInputEnvelope;
|
|
414
|
+
set?: Prisma.DocumentApprovalWhereUniqueInput | Prisma.DocumentApprovalWhereUniqueInput[];
|
|
415
|
+
disconnect?: Prisma.DocumentApprovalWhereUniqueInput | Prisma.DocumentApprovalWhereUniqueInput[];
|
|
416
|
+
delete?: Prisma.DocumentApprovalWhereUniqueInput | Prisma.DocumentApprovalWhereUniqueInput[];
|
|
417
|
+
connect?: Prisma.DocumentApprovalWhereUniqueInput | Prisma.DocumentApprovalWhereUniqueInput[];
|
|
418
|
+
update?: Prisma.DocumentApprovalUpdateWithWhereUniqueWithoutOrganizationTypeInput | Prisma.DocumentApprovalUpdateWithWhereUniqueWithoutOrganizationTypeInput[];
|
|
419
|
+
updateMany?: Prisma.DocumentApprovalUpdateManyWithWhereWithoutOrganizationTypeInput | Prisma.DocumentApprovalUpdateManyWithWhereWithoutOrganizationTypeInput[];
|
|
420
|
+
deleteMany?: Prisma.DocumentApprovalScalarWhereInput | Prisma.DocumentApprovalScalarWhereInput[];
|
|
421
|
+
};
|
|
382
422
|
export type DocumentApprovalCreateNestedManyWithoutReviewerInput = {
|
|
383
423
|
create?: Prisma.XOR<Prisma.DocumentApprovalCreateWithoutReviewerInput, Prisma.DocumentApprovalUncheckedCreateWithoutReviewerInput> | Prisma.DocumentApprovalCreateWithoutReviewerInput[] | Prisma.DocumentApprovalUncheckedCreateWithoutReviewerInput[];
|
|
384
424
|
connectOrCreate?: Prisma.DocumentApprovalCreateOrConnectWithoutReviewerInput | Prisma.DocumentApprovalCreateOrConnectWithoutReviewerInput[];
|
|
@@ -531,9 +571,8 @@ export type DocumentApprovalUncheckedUpdateManyWithoutStageProgressNestedInput =
|
|
|
531
571
|
updateMany?: Prisma.DocumentApprovalUpdateManyWithWhereWithoutStageProgressInput | Prisma.DocumentApprovalUpdateManyWithWhereWithoutStageProgressInput[];
|
|
532
572
|
deleteMany?: Prisma.DocumentApprovalScalarWhereInput | Prisma.DocumentApprovalScalarWhereInput[];
|
|
533
573
|
};
|
|
534
|
-
export type
|
|
574
|
+
export type DocumentApprovalCreateWithoutOrganizationTypeInput = {
|
|
535
575
|
id?: string;
|
|
536
|
-
reviewParty: $Enums.ReviewParty;
|
|
537
576
|
decision: $Enums.ReviewDecision;
|
|
538
577
|
comment?: string | null;
|
|
539
578
|
reviewedAt?: Date | string;
|
|
@@ -541,38 +580,39 @@ export type DocumentApprovalCreateWithoutReviewerInput = {
|
|
|
541
580
|
tenant: Prisma.TenantCreateNestedOneWithoutDocumentApprovalsInput;
|
|
542
581
|
document: Prisma.ApplicationDocumentCreateNestedOneWithoutApprovalTrailInput;
|
|
543
582
|
stageProgress: Prisma.ApprovalStageProgressCreateNestedOneWithoutDocumentApprovalsInput;
|
|
583
|
+
reviewer: Prisma.UserCreateNestedOneWithoutDocumentApprovalsInput;
|
|
544
584
|
};
|
|
545
|
-
export type
|
|
585
|
+
export type DocumentApprovalUncheckedCreateWithoutOrganizationTypeInput = {
|
|
546
586
|
id?: string;
|
|
547
587
|
tenantId: string;
|
|
548
588
|
documentId: string;
|
|
549
589
|
stageProgressId: string;
|
|
550
|
-
|
|
590
|
+
reviewerId: string;
|
|
551
591
|
decision: $Enums.ReviewDecision;
|
|
552
592
|
comment?: string | null;
|
|
553
593
|
reviewedAt?: Date | string;
|
|
554
594
|
createdAt?: Date | string;
|
|
555
595
|
};
|
|
556
|
-
export type
|
|
596
|
+
export type DocumentApprovalCreateOrConnectWithoutOrganizationTypeInput = {
|
|
557
597
|
where: Prisma.DocumentApprovalWhereUniqueInput;
|
|
558
|
-
create: Prisma.XOR<Prisma.
|
|
598
|
+
create: Prisma.XOR<Prisma.DocumentApprovalCreateWithoutOrganizationTypeInput, Prisma.DocumentApprovalUncheckedCreateWithoutOrganizationTypeInput>;
|
|
559
599
|
};
|
|
560
|
-
export type
|
|
561
|
-
data: Prisma.
|
|
600
|
+
export type DocumentApprovalCreateManyOrganizationTypeInputEnvelope = {
|
|
601
|
+
data: Prisma.DocumentApprovalCreateManyOrganizationTypeInput | Prisma.DocumentApprovalCreateManyOrganizationTypeInput[];
|
|
562
602
|
skipDuplicates?: boolean;
|
|
563
603
|
};
|
|
564
|
-
export type
|
|
604
|
+
export type DocumentApprovalUpsertWithWhereUniqueWithoutOrganizationTypeInput = {
|
|
565
605
|
where: Prisma.DocumentApprovalWhereUniqueInput;
|
|
566
|
-
update: Prisma.XOR<Prisma.
|
|
567
|
-
create: Prisma.XOR<Prisma.
|
|
606
|
+
update: Prisma.XOR<Prisma.DocumentApprovalUpdateWithoutOrganizationTypeInput, Prisma.DocumentApprovalUncheckedUpdateWithoutOrganizationTypeInput>;
|
|
607
|
+
create: Prisma.XOR<Prisma.DocumentApprovalCreateWithoutOrganizationTypeInput, Prisma.DocumentApprovalUncheckedCreateWithoutOrganizationTypeInput>;
|
|
568
608
|
};
|
|
569
|
-
export type
|
|
609
|
+
export type DocumentApprovalUpdateWithWhereUniqueWithoutOrganizationTypeInput = {
|
|
570
610
|
where: Prisma.DocumentApprovalWhereUniqueInput;
|
|
571
|
-
data: Prisma.XOR<Prisma.
|
|
611
|
+
data: Prisma.XOR<Prisma.DocumentApprovalUpdateWithoutOrganizationTypeInput, Prisma.DocumentApprovalUncheckedUpdateWithoutOrganizationTypeInput>;
|
|
572
612
|
};
|
|
573
|
-
export type
|
|
613
|
+
export type DocumentApprovalUpdateManyWithWhereWithoutOrganizationTypeInput = {
|
|
574
614
|
where: Prisma.DocumentApprovalScalarWhereInput;
|
|
575
|
-
data: Prisma.XOR<Prisma.DocumentApprovalUpdateManyMutationInput, Prisma.
|
|
615
|
+
data: Prisma.XOR<Prisma.DocumentApprovalUpdateManyMutationInput, Prisma.DocumentApprovalUncheckedUpdateManyWithoutOrganizationTypeInput>;
|
|
576
616
|
};
|
|
577
617
|
export type DocumentApprovalScalarWhereInput = {
|
|
578
618
|
AND?: Prisma.DocumentApprovalScalarWhereInput | Prisma.DocumentApprovalScalarWhereInput[];
|
|
@@ -583,15 +623,57 @@ export type DocumentApprovalScalarWhereInput = {
|
|
|
583
623
|
documentId?: Prisma.StringFilter<"DocumentApproval"> | string;
|
|
584
624
|
stageProgressId?: Prisma.StringFilter<"DocumentApproval"> | string;
|
|
585
625
|
reviewerId?: Prisma.StringFilter<"DocumentApproval"> | string;
|
|
586
|
-
|
|
626
|
+
organizationTypeId?: Prisma.StringFilter<"DocumentApproval"> | string;
|
|
587
627
|
decision?: Prisma.EnumReviewDecisionFilter<"DocumentApproval"> | $Enums.ReviewDecision;
|
|
588
628
|
comment?: Prisma.StringNullableFilter<"DocumentApproval"> | string | null;
|
|
589
629
|
reviewedAt?: Prisma.DateTimeFilter<"DocumentApproval"> | Date | string;
|
|
590
630
|
createdAt?: Prisma.DateTimeFilter<"DocumentApproval"> | Date | string;
|
|
591
631
|
};
|
|
632
|
+
export type DocumentApprovalCreateWithoutReviewerInput = {
|
|
633
|
+
id?: string;
|
|
634
|
+
decision: $Enums.ReviewDecision;
|
|
635
|
+
comment?: string | null;
|
|
636
|
+
reviewedAt?: Date | string;
|
|
637
|
+
createdAt?: Date | string;
|
|
638
|
+
tenant: Prisma.TenantCreateNestedOneWithoutDocumentApprovalsInput;
|
|
639
|
+
document: Prisma.ApplicationDocumentCreateNestedOneWithoutApprovalTrailInput;
|
|
640
|
+
stageProgress: Prisma.ApprovalStageProgressCreateNestedOneWithoutDocumentApprovalsInput;
|
|
641
|
+
organizationType: Prisma.OrganizationTypeCreateNestedOneWithoutDocumentApprovalsInput;
|
|
642
|
+
};
|
|
643
|
+
export type DocumentApprovalUncheckedCreateWithoutReviewerInput = {
|
|
644
|
+
id?: string;
|
|
645
|
+
tenantId: string;
|
|
646
|
+
documentId: string;
|
|
647
|
+
stageProgressId: string;
|
|
648
|
+
organizationTypeId: string;
|
|
649
|
+
decision: $Enums.ReviewDecision;
|
|
650
|
+
comment?: string | null;
|
|
651
|
+
reviewedAt?: Date | string;
|
|
652
|
+
createdAt?: Date | string;
|
|
653
|
+
};
|
|
654
|
+
export type DocumentApprovalCreateOrConnectWithoutReviewerInput = {
|
|
655
|
+
where: Prisma.DocumentApprovalWhereUniqueInput;
|
|
656
|
+
create: Prisma.XOR<Prisma.DocumentApprovalCreateWithoutReviewerInput, Prisma.DocumentApprovalUncheckedCreateWithoutReviewerInput>;
|
|
657
|
+
};
|
|
658
|
+
export type DocumentApprovalCreateManyReviewerInputEnvelope = {
|
|
659
|
+
data: Prisma.DocumentApprovalCreateManyReviewerInput | Prisma.DocumentApprovalCreateManyReviewerInput[];
|
|
660
|
+
skipDuplicates?: boolean;
|
|
661
|
+
};
|
|
662
|
+
export type DocumentApprovalUpsertWithWhereUniqueWithoutReviewerInput = {
|
|
663
|
+
where: Prisma.DocumentApprovalWhereUniqueInput;
|
|
664
|
+
update: Prisma.XOR<Prisma.DocumentApprovalUpdateWithoutReviewerInput, Prisma.DocumentApprovalUncheckedUpdateWithoutReviewerInput>;
|
|
665
|
+
create: Prisma.XOR<Prisma.DocumentApprovalCreateWithoutReviewerInput, Prisma.DocumentApprovalUncheckedCreateWithoutReviewerInput>;
|
|
666
|
+
};
|
|
667
|
+
export type DocumentApprovalUpdateWithWhereUniqueWithoutReviewerInput = {
|
|
668
|
+
where: Prisma.DocumentApprovalWhereUniqueInput;
|
|
669
|
+
data: Prisma.XOR<Prisma.DocumentApprovalUpdateWithoutReviewerInput, Prisma.DocumentApprovalUncheckedUpdateWithoutReviewerInput>;
|
|
670
|
+
};
|
|
671
|
+
export type DocumentApprovalUpdateManyWithWhereWithoutReviewerInput = {
|
|
672
|
+
where: Prisma.DocumentApprovalScalarWhereInput;
|
|
673
|
+
data: Prisma.XOR<Prisma.DocumentApprovalUpdateManyMutationInput, Prisma.DocumentApprovalUncheckedUpdateManyWithoutReviewerInput>;
|
|
674
|
+
};
|
|
592
675
|
export type DocumentApprovalCreateWithoutTenantInput = {
|
|
593
676
|
id?: string;
|
|
594
|
-
reviewParty: $Enums.ReviewParty;
|
|
595
677
|
decision: $Enums.ReviewDecision;
|
|
596
678
|
comment?: string | null;
|
|
597
679
|
reviewedAt?: Date | string;
|
|
@@ -599,13 +681,14 @@ export type DocumentApprovalCreateWithoutTenantInput = {
|
|
|
599
681
|
document: Prisma.ApplicationDocumentCreateNestedOneWithoutApprovalTrailInput;
|
|
600
682
|
stageProgress: Prisma.ApprovalStageProgressCreateNestedOneWithoutDocumentApprovalsInput;
|
|
601
683
|
reviewer: Prisma.UserCreateNestedOneWithoutDocumentApprovalsInput;
|
|
684
|
+
organizationType: Prisma.OrganizationTypeCreateNestedOneWithoutDocumentApprovalsInput;
|
|
602
685
|
};
|
|
603
686
|
export type DocumentApprovalUncheckedCreateWithoutTenantInput = {
|
|
604
687
|
id?: string;
|
|
605
688
|
documentId: string;
|
|
606
689
|
stageProgressId: string;
|
|
607
690
|
reviewerId: string;
|
|
608
|
-
|
|
691
|
+
organizationTypeId: string;
|
|
609
692
|
decision: $Enums.ReviewDecision;
|
|
610
693
|
comment?: string | null;
|
|
611
694
|
reviewedAt?: Date | string;
|
|
@@ -634,7 +717,6 @@ export type DocumentApprovalUpdateManyWithWhereWithoutTenantInput = {
|
|
|
634
717
|
};
|
|
635
718
|
export type DocumentApprovalCreateWithoutDocumentInput = {
|
|
636
719
|
id?: string;
|
|
637
|
-
reviewParty: $Enums.ReviewParty;
|
|
638
720
|
decision: $Enums.ReviewDecision;
|
|
639
721
|
comment?: string | null;
|
|
640
722
|
reviewedAt?: Date | string;
|
|
@@ -642,13 +724,14 @@ export type DocumentApprovalCreateWithoutDocumentInput = {
|
|
|
642
724
|
tenant: Prisma.TenantCreateNestedOneWithoutDocumentApprovalsInput;
|
|
643
725
|
stageProgress: Prisma.ApprovalStageProgressCreateNestedOneWithoutDocumentApprovalsInput;
|
|
644
726
|
reviewer: Prisma.UserCreateNestedOneWithoutDocumentApprovalsInput;
|
|
727
|
+
organizationType: Prisma.OrganizationTypeCreateNestedOneWithoutDocumentApprovalsInput;
|
|
645
728
|
};
|
|
646
729
|
export type DocumentApprovalUncheckedCreateWithoutDocumentInput = {
|
|
647
730
|
id?: string;
|
|
648
731
|
tenantId: string;
|
|
649
732
|
stageProgressId: string;
|
|
650
733
|
reviewerId: string;
|
|
651
|
-
|
|
734
|
+
organizationTypeId: string;
|
|
652
735
|
decision: $Enums.ReviewDecision;
|
|
653
736
|
comment?: string | null;
|
|
654
737
|
reviewedAt?: Date | string;
|
|
@@ -677,7 +760,6 @@ export type DocumentApprovalUpdateManyWithWhereWithoutDocumentInput = {
|
|
|
677
760
|
};
|
|
678
761
|
export type DocumentApprovalCreateWithoutStageProgressInput = {
|
|
679
762
|
id?: string;
|
|
680
|
-
reviewParty: $Enums.ReviewParty;
|
|
681
763
|
decision: $Enums.ReviewDecision;
|
|
682
764
|
comment?: string | null;
|
|
683
765
|
reviewedAt?: Date | string;
|
|
@@ -685,13 +767,14 @@ export type DocumentApprovalCreateWithoutStageProgressInput = {
|
|
|
685
767
|
tenant: Prisma.TenantCreateNestedOneWithoutDocumentApprovalsInput;
|
|
686
768
|
document: Prisma.ApplicationDocumentCreateNestedOneWithoutApprovalTrailInput;
|
|
687
769
|
reviewer: Prisma.UserCreateNestedOneWithoutDocumentApprovalsInput;
|
|
770
|
+
organizationType: Prisma.OrganizationTypeCreateNestedOneWithoutDocumentApprovalsInput;
|
|
688
771
|
};
|
|
689
772
|
export type DocumentApprovalUncheckedCreateWithoutStageProgressInput = {
|
|
690
773
|
id?: string;
|
|
691
774
|
tenantId: string;
|
|
692
775
|
documentId: string;
|
|
693
776
|
reviewerId: string;
|
|
694
|
-
|
|
777
|
+
organizationTypeId: string;
|
|
695
778
|
decision: $Enums.ReviewDecision;
|
|
696
779
|
comment?: string | null;
|
|
697
780
|
reviewedAt?: Date | string;
|
|
@@ -718,12 +801,56 @@ export type DocumentApprovalUpdateManyWithWhereWithoutStageProgressInput = {
|
|
|
718
801
|
where: Prisma.DocumentApprovalScalarWhereInput;
|
|
719
802
|
data: Prisma.XOR<Prisma.DocumentApprovalUpdateManyMutationInput, Prisma.DocumentApprovalUncheckedUpdateManyWithoutStageProgressInput>;
|
|
720
803
|
};
|
|
804
|
+
export type DocumentApprovalCreateManyOrganizationTypeInput = {
|
|
805
|
+
id?: string;
|
|
806
|
+
tenantId: string;
|
|
807
|
+
documentId: string;
|
|
808
|
+
stageProgressId: string;
|
|
809
|
+
reviewerId: string;
|
|
810
|
+
decision: $Enums.ReviewDecision;
|
|
811
|
+
comment?: string | null;
|
|
812
|
+
reviewedAt?: Date | string;
|
|
813
|
+
createdAt?: Date | string;
|
|
814
|
+
};
|
|
815
|
+
export type DocumentApprovalUpdateWithoutOrganizationTypeInput = {
|
|
816
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
817
|
+
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
818
|
+
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
819
|
+
reviewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
820
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
821
|
+
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentApprovalsNestedInput;
|
|
822
|
+
document?: Prisma.ApplicationDocumentUpdateOneRequiredWithoutApprovalTrailNestedInput;
|
|
823
|
+
stageProgress?: Prisma.ApprovalStageProgressUpdateOneRequiredWithoutDocumentApprovalsNestedInput;
|
|
824
|
+
reviewer?: Prisma.UserUpdateOneRequiredWithoutDocumentApprovalsNestedInput;
|
|
825
|
+
};
|
|
826
|
+
export type DocumentApprovalUncheckedUpdateWithoutOrganizationTypeInput = {
|
|
827
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
828
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
829
|
+
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
830
|
+
stageProgressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
831
|
+
reviewerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
832
|
+
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
833
|
+
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
834
|
+
reviewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
835
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
836
|
+
};
|
|
837
|
+
export type DocumentApprovalUncheckedUpdateManyWithoutOrganizationTypeInput = {
|
|
838
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
839
|
+
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
840
|
+
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
841
|
+
stageProgressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
842
|
+
reviewerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
843
|
+
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
844
|
+
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
845
|
+
reviewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
846
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
847
|
+
};
|
|
721
848
|
export type DocumentApprovalCreateManyReviewerInput = {
|
|
722
849
|
id?: string;
|
|
723
850
|
tenantId: string;
|
|
724
851
|
documentId: string;
|
|
725
852
|
stageProgressId: string;
|
|
726
|
-
|
|
853
|
+
organizationTypeId: string;
|
|
727
854
|
decision: $Enums.ReviewDecision;
|
|
728
855
|
comment?: string | null;
|
|
729
856
|
reviewedAt?: Date | string;
|
|
@@ -731,7 +858,6 @@ export type DocumentApprovalCreateManyReviewerInput = {
|
|
|
731
858
|
};
|
|
732
859
|
export type DocumentApprovalUpdateWithoutReviewerInput = {
|
|
733
860
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
734
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
735
861
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
736
862
|
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
737
863
|
reviewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -739,13 +865,14 @@ export type DocumentApprovalUpdateWithoutReviewerInput = {
|
|
|
739
865
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentApprovalsNestedInput;
|
|
740
866
|
document?: Prisma.ApplicationDocumentUpdateOneRequiredWithoutApprovalTrailNestedInput;
|
|
741
867
|
stageProgress?: Prisma.ApprovalStageProgressUpdateOneRequiredWithoutDocumentApprovalsNestedInput;
|
|
868
|
+
organizationType?: Prisma.OrganizationTypeUpdateOneRequiredWithoutDocumentApprovalsNestedInput;
|
|
742
869
|
};
|
|
743
870
|
export type DocumentApprovalUncheckedUpdateWithoutReviewerInput = {
|
|
744
871
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
745
872
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
746
873
|
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
747
874
|
stageProgressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
748
|
-
|
|
875
|
+
organizationTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
749
876
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
750
877
|
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
751
878
|
reviewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -756,7 +883,7 @@ export type DocumentApprovalUncheckedUpdateManyWithoutReviewerInput = {
|
|
|
756
883
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
757
884
|
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
758
885
|
stageProgressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
759
|
-
|
|
886
|
+
organizationTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
760
887
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
761
888
|
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
762
889
|
reviewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -767,7 +894,7 @@ export type DocumentApprovalCreateManyTenantInput = {
|
|
|
767
894
|
documentId: string;
|
|
768
895
|
stageProgressId: string;
|
|
769
896
|
reviewerId: string;
|
|
770
|
-
|
|
897
|
+
organizationTypeId: string;
|
|
771
898
|
decision: $Enums.ReviewDecision;
|
|
772
899
|
comment?: string | null;
|
|
773
900
|
reviewedAt?: Date | string;
|
|
@@ -775,7 +902,6 @@ export type DocumentApprovalCreateManyTenantInput = {
|
|
|
775
902
|
};
|
|
776
903
|
export type DocumentApprovalUpdateWithoutTenantInput = {
|
|
777
904
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
778
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
779
905
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
780
906
|
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
781
907
|
reviewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -783,13 +909,14 @@ export type DocumentApprovalUpdateWithoutTenantInput = {
|
|
|
783
909
|
document?: Prisma.ApplicationDocumentUpdateOneRequiredWithoutApprovalTrailNestedInput;
|
|
784
910
|
stageProgress?: Prisma.ApprovalStageProgressUpdateOneRequiredWithoutDocumentApprovalsNestedInput;
|
|
785
911
|
reviewer?: Prisma.UserUpdateOneRequiredWithoutDocumentApprovalsNestedInput;
|
|
912
|
+
organizationType?: Prisma.OrganizationTypeUpdateOneRequiredWithoutDocumentApprovalsNestedInput;
|
|
786
913
|
};
|
|
787
914
|
export type DocumentApprovalUncheckedUpdateWithoutTenantInput = {
|
|
788
915
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
789
916
|
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
790
917
|
stageProgressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
791
918
|
reviewerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
792
|
-
|
|
919
|
+
organizationTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
793
920
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
794
921
|
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
795
922
|
reviewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -800,7 +927,7 @@ export type DocumentApprovalUncheckedUpdateManyWithoutTenantInput = {
|
|
|
800
927
|
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
801
928
|
stageProgressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
802
929
|
reviewerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
803
|
-
|
|
930
|
+
organizationTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
804
931
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
805
932
|
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
806
933
|
reviewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -811,7 +938,7 @@ export type DocumentApprovalCreateManyDocumentInput = {
|
|
|
811
938
|
tenantId: string;
|
|
812
939
|
stageProgressId: string;
|
|
813
940
|
reviewerId: string;
|
|
814
|
-
|
|
941
|
+
organizationTypeId: string;
|
|
815
942
|
decision: $Enums.ReviewDecision;
|
|
816
943
|
comment?: string | null;
|
|
817
944
|
reviewedAt?: Date | string;
|
|
@@ -819,7 +946,6 @@ export type DocumentApprovalCreateManyDocumentInput = {
|
|
|
819
946
|
};
|
|
820
947
|
export type DocumentApprovalUpdateWithoutDocumentInput = {
|
|
821
948
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
822
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
823
949
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
824
950
|
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
825
951
|
reviewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -827,13 +953,14 @@ export type DocumentApprovalUpdateWithoutDocumentInput = {
|
|
|
827
953
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentApprovalsNestedInput;
|
|
828
954
|
stageProgress?: Prisma.ApprovalStageProgressUpdateOneRequiredWithoutDocumentApprovalsNestedInput;
|
|
829
955
|
reviewer?: Prisma.UserUpdateOneRequiredWithoutDocumentApprovalsNestedInput;
|
|
956
|
+
organizationType?: Prisma.OrganizationTypeUpdateOneRequiredWithoutDocumentApprovalsNestedInput;
|
|
830
957
|
};
|
|
831
958
|
export type DocumentApprovalUncheckedUpdateWithoutDocumentInput = {
|
|
832
959
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
833
960
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
834
961
|
stageProgressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
835
962
|
reviewerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
836
|
-
|
|
963
|
+
organizationTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
837
964
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
838
965
|
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
839
966
|
reviewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -844,7 +971,7 @@ export type DocumentApprovalUncheckedUpdateManyWithoutDocumentInput = {
|
|
|
844
971
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
845
972
|
stageProgressId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
846
973
|
reviewerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
847
|
-
|
|
974
|
+
organizationTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
848
975
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
849
976
|
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
850
977
|
reviewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -855,7 +982,7 @@ export type DocumentApprovalCreateManyStageProgressInput = {
|
|
|
855
982
|
tenantId: string;
|
|
856
983
|
documentId: string;
|
|
857
984
|
reviewerId: string;
|
|
858
|
-
|
|
985
|
+
organizationTypeId: string;
|
|
859
986
|
decision: $Enums.ReviewDecision;
|
|
860
987
|
comment?: string | null;
|
|
861
988
|
reviewedAt?: Date | string;
|
|
@@ -863,7 +990,6 @@ export type DocumentApprovalCreateManyStageProgressInput = {
|
|
|
863
990
|
};
|
|
864
991
|
export type DocumentApprovalUpdateWithoutStageProgressInput = {
|
|
865
992
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
866
|
-
reviewParty?: Prisma.EnumReviewPartyFieldUpdateOperationsInput | $Enums.ReviewParty;
|
|
867
993
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
868
994
|
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
869
995
|
reviewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -871,13 +997,14 @@ export type DocumentApprovalUpdateWithoutStageProgressInput = {
|
|
|
871
997
|
tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentApprovalsNestedInput;
|
|
872
998
|
document?: Prisma.ApplicationDocumentUpdateOneRequiredWithoutApprovalTrailNestedInput;
|
|
873
999
|
reviewer?: Prisma.UserUpdateOneRequiredWithoutDocumentApprovalsNestedInput;
|
|
1000
|
+
organizationType?: Prisma.OrganizationTypeUpdateOneRequiredWithoutDocumentApprovalsNestedInput;
|
|
874
1001
|
};
|
|
875
1002
|
export type DocumentApprovalUncheckedUpdateWithoutStageProgressInput = {
|
|
876
1003
|
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
877
1004
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
878
1005
|
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
879
1006
|
reviewerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
880
|
-
|
|
1007
|
+
organizationTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
881
1008
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
882
1009
|
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
883
1010
|
reviewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -888,7 +1015,7 @@ export type DocumentApprovalUncheckedUpdateManyWithoutStageProgressInput = {
|
|
|
888
1015
|
tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
889
1016
|
documentId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
890
1017
|
reviewerId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
891
|
-
|
|
1018
|
+
organizationTypeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
892
1019
|
decision?: Prisma.EnumReviewDecisionFieldUpdateOperationsInput | $Enums.ReviewDecision;
|
|
893
1020
|
comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
894
1021
|
reviewedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
@@ -900,7 +1027,7 @@ export type DocumentApprovalSelect<ExtArgs extends runtime.Types.Extensions.Inte
|
|
|
900
1027
|
documentId?: boolean;
|
|
901
1028
|
stageProgressId?: boolean;
|
|
902
1029
|
reviewerId?: boolean;
|
|
903
|
-
|
|
1030
|
+
organizationTypeId?: boolean;
|
|
904
1031
|
decision?: boolean;
|
|
905
1032
|
comment?: boolean;
|
|
906
1033
|
reviewedAt?: boolean;
|
|
@@ -909,6 +1036,7 @@ export type DocumentApprovalSelect<ExtArgs extends runtime.Types.Extensions.Inte
|
|
|
909
1036
|
document?: boolean | Prisma.ApplicationDocumentDefaultArgs<ExtArgs>;
|
|
910
1037
|
stageProgress?: boolean | Prisma.ApprovalStageProgressDefaultArgs<ExtArgs>;
|
|
911
1038
|
reviewer?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1039
|
+
organizationType?: boolean | Prisma.OrganizationTypeDefaultArgs<ExtArgs>;
|
|
912
1040
|
}, ExtArgs["result"]["documentApproval"]>;
|
|
913
1041
|
export type DocumentApprovalSelectScalar = {
|
|
914
1042
|
id?: boolean;
|
|
@@ -916,18 +1044,19 @@ export type DocumentApprovalSelectScalar = {
|
|
|
916
1044
|
documentId?: boolean;
|
|
917
1045
|
stageProgressId?: boolean;
|
|
918
1046
|
reviewerId?: boolean;
|
|
919
|
-
|
|
1047
|
+
organizationTypeId?: boolean;
|
|
920
1048
|
decision?: boolean;
|
|
921
1049
|
comment?: boolean;
|
|
922
1050
|
reviewedAt?: boolean;
|
|
923
1051
|
createdAt?: boolean;
|
|
924
1052
|
};
|
|
925
|
-
export type DocumentApprovalOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "documentId" | "stageProgressId" | "reviewerId" | "
|
|
1053
|
+
export type DocumentApprovalOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "documentId" | "stageProgressId" | "reviewerId" | "organizationTypeId" | "decision" | "comment" | "reviewedAt" | "createdAt", ExtArgs["result"]["documentApproval"]>;
|
|
926
1054
|
export type DocumentApprovalInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
927
1055
|
tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
|
|
928
1056
|
document?: boolean | Prisma.ApplicationDocumentDefaultArgs<ExtArgs>;
|
|
929
1057
|
stageProgress?: boolean | Prisma.ApprovalStageProgressDefaultArgs<ExtArgs>;
|
|
930
1058
|
reviewer?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1059
|
+
organizationType?: boolean | Prisma.OrganizationTypeDefaultArgs<ExtArgs>;
|
|
931
1060
|
};
|
|
932
1061
|
export type $DocumentApprovalPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
933
1062
|
name: "DocumentApproval";
|
|
@@ -936,6 +1065,7 @@ export type $DocumentApprovalPayload<ExtArgs extends runtime.Types.Extensions.In
|
|
|
936
1065
|
document: Prisma.$ApplicationDocumentPayload<ExtArgs>;
|
|
937
1066
|
stageProgress: Prisma.$ApprovalStageProgressPayload<ExtArgs>;
|
|
938
1067
|
reviewer: Prisma.$UserPayload<ExtArgs>;
|
|
1068
|
+
organizationType: Prisma.$OrganizationTypePayload<ExtArgs>;
|
|
939
1069
|
};
|
|
940
1070
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
941
1071
|
id: string;
|
|
@@ -943,7 +1073,7 @@ export type $DocumentApprovalPayload<ExtArgs extends runtime.Types.Extensions.In
|
|
|
943
1073
|
documentId: string;
|
|
944
1074
|
stageProgressId: string;
|
|
945
1075
|
reviewerId: string;
|
|
946
|
-
|
|
1076
|
+
organizationTypeId: string;
|
|
947
1077
|
decision: $Enums.ReviewDecision;
|
|
948
1078
|
comment: string | null;
|
|
949
1079
|
reviewedAt: Date;
|
|
@@ -1229,6 +1359,7 @@ export interface Prisma__DocumentApprovalClient<T, Null = never, ExtArgs extends
|
|
|
1229
1359
|
document<T extends Prisma.ApplicationDocumentDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApplicationDocumentDefaultArgs<ExtArgs>>): Prisma.Prisma__ApplicationDocumentClient<runtime.Types.Result.GetResult<Prisma.$ApplicationDocumentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1230
1360
|
stageProgress<T extends Prisma.ApprovalStageProgressDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ApprovalStageProgressDefaultArgs<ExtArgs>>): Prisma.Prisma__ApprovalStageProgressClient<runtime.Types.Result.GetResult<Prisma.$ApprovalStageProgressPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1231
1361
|
reviewer<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1362
|
+
organizationType<T extends Prisma.OrganizationTypeDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OrganizationTypeDefaultArgs<ExtArgs>>): Prisma.Prisma__OrganizationTypeClient<runtime.Types.Result.GetResult<Prisma.$OrganizationTypePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1232
1363
|
/**
|
|
1233
1364
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1234
1365
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -1259,7 +1390,7 @@ export interface DocumentApprovalFieldRefs {
|
|
|
1259
1390
|
readonly documentId: Prisma.FieldRef<"DocumentApproval", 'String'>;
|
|
1260
1391
|
readonly stageProgressId: Prisma.FieldRef<"DocumentApproval", 'String'>;
|
|
1261
1392
|
readonly reviewerId: Prisma.FieldRef<"DocumentApproval", 'String'>;
|
|
1262
|
-
readonly
|
|
1393
|
+
readonly organizationTypeId: Prisma.FieldRef<"DocumentApproval", 'String'>;
|
|
1263
1394
|
readonly decision: Prisma.FieldRef<"DocumentApproval", 'ReviewDecision'>;
|
|
1264
1395
|
readonly comment: Prisma.FieldRef<"DocumentApproval", 'String'>;
|
|
1265
1396
|
readonly reviewedAt: Prisma.FieldRef<"DocumentApproval", 'DateTime'>;
|