@valentine-efagene/qshelter-common 2.0.52 → 2.0.54
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/enums.d.ts +2 -0
- package/dist/generated/client/enums.js +3 -1
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +12 -0
- package/dist/generated/client/internal/prismaNamespace.js +12 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +12 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +12 -0
- package/dist/generated/client/models/Contract.d.ts +484 -1
- package/dist/generated/client/models/DocumentationStep.d.ts +242 -1
- package/dist/src/middleware/tenant.js +3 -3
- package/package.json +1 -1
- package/prisma/migrations/20260105004059_add_superseded_phase_status/migration.sql +2 -0
- package/prisma/migrations/20260105074701_add_underwriting_step_types/migration.sql +17 -0
- package/prisma/schema.prisma +18 -0
- package/dist/generated/client/models/ContractPhaseStep.d.ts +0 -1819
- package/dist/generated/client/models/ContractPhaseStep.js +0 -1
- package/dist/generated/client/models/ContractPhaseStepApproval.d.ts +0 -1253
- package/dist/generated/client/models/ContractPhaseStepApproval.js +0 -1
- package/dist/generated/client/models/ContractPhaseStepDocument.d.ts +0 -1052
- package/dist/generated/client/models/ContractPhaseStepDocument.js +0 -1
- package/dist/generated/client/models/Mortgage.d.ts +0 -2777
- package/dist/generated/client/models/Mortgage.js +0 -1
- package/dist/generated/client/models/MortgageDocument.d.ts +0 -1118
- package/dist/generated/client/models/MortgageDocument.js +0 -1
- package/dist/generated/client/models/MortgageDownpaymentInstallment.d.ts +0 -1189
- package/dist/generated/client/models/MortgageDownpaymentInstallment.js +0 -1
- package/dist/generated/client/models/MortgageDownpaymentPayment.d.ts +0 -1189
- package/dist/generated/client/models/MortgageDownpaymentPayment.js +0 -1
- package/dist/generated/client/models/MortgageDownpaymentPlan.d.ts +0 -1428
- package/dist/generated/client/models/MortgageDownpaymentPlan.js +0 -1
- package/dist/generated/client/models/MortgageStep.d.ts +0 -1222
- package/dist/generated/client/models/MortgageStep.js +0 -1
- package/dist/generated/client/models/MortgageTransition.d.ts +0 -1118
- package/dist/generated/client/models/MortgageTransition.js +0 -1
- package/dist/generated/client/models/MortgageTransitionEvent.d.ts +0 -1052
- package/dist/generated/client/models/MortgageTransitionEvent.js +0 -1
- package/dist/generated/client/models/MortgageType.d.ts +0 -1052
- package/dist/generated/client/models/MortgageType.js +0 -1
- package/dist/generated/client/models/Payment.d.ts +0 -2026
- package/dist/generated/client/models/Payment.js +0 -1
- package/dist/generated/client/models/PaymentInstallment.d.ts +0 -1539
- package/dist/generated/client/models/PaymentInstallment.js +0 -1
- package/dist/generated/client/models/PaymentSchedule.d.ts +0 -1450
- package/dist/generated/client/models/PaymentSchedule.js +0 -1
- package/dist/index.d.ts +0 -6
- package/dist/index.js +0 -6
- package/dist/src/generated/client/client.d.ts +0 -201
- package/dist/src/generated/client/client.js +0 -32
- package/dist/src/generated/client/commonInputTypes.d.ts +0 -403
- package/dist/src/generated/client/commonInputTypes.js +0 -10
- package/dist/src/generated/client/enums.d.ts +0 -1
- package/dist/src/generated/client/enums.js +0 -10
- package/dist/src/generated/client/internal/class.d.ts +0 -511
- package/dist/src/generated/client/internal/class.js +0 -40
- package/dist/src/generated/client/internal/prismaNamespace.d.ts +0 -3571
- package/dist/src/generated/client/internal/prismaNamespace.js +0 -739
- package/dist/src/generated/client/models/Amenity.d.ts +0 -1020
- package/dist/src/generated/client/models/Amenity.js +0 -1
- package/dist/src/generated/client/models/Contract.d.ts +0 -2099
- package/dist/src/generated/client/models/Contract.js +0 -1
- package/dist/src/generated/client/models/ContractDocument.d.ts +0 -1118
- package/dist/src/generated/client/models/ContractDocument.js +0 -1
- package/dist/src/generated/client/models/DeviceEndpoint.d.ts +0 -1118
- package/dist/src/generated/client/models/DeviceEndpoint.js +0 -1
- package/dist/src/generated/client/models/EmailPreference.d.ts +0 -1151
- package/dist/src/generated/client/models/EmailPreference.js +0 -1
- package/dist/src/generated/client/models/Mortgage.d.ts +0 -2777
- package/dist/src/generated/client/models/Mortgage.js +0 -1
- package/dist/src/generated/client/models/MortgageDocument.d.ts +0 -1118
- package/dist/src/generated/client/models/MortgageDocument.js +0 -1
- package/dist/src/generated/client/models/MortgageDownpaymentInstallment.d.ts +0 -1189
- package/dist/src/generated/client/models/MortgageDownpaymentInstallment.js +0 -1
- package/dist/src/generated/client/models/MortgageDownpaymentPayment.d.ts +0 -1189
- package/dist/src/generated/client/models/MortgageDownpaymentPayment.js +0 -1
- package/dist/src/generated/client/models/MortgageDownpaymentPlan.d.ts +0 -1428
- package/dist/src/generated/client/models/MortgageDownpaymentPlan.js +0 -1
- package/dist/src/generated/client/models/MortgageStep.d.ts +0 -1222
- package/dist/src/generated/client/models/MortgageStep.js +0 -1
- package/dist/src/generated/client/models/MortgageTransition.d.ts +0 -1118
- package/dist/src/generated/client/models/MortgageTransition.js +0 -1
- package/dist/src/generated/client/models/MortgageTransitionEvent.d.ts +0 -1052
- package/dist/src/generated/client/models/MortgageTransitionEvent.js +0 -1
- package/dist/src/generated/client/models/MortgageType.d.ts +0 -1052
- package/dist/src/generated/client/models/MortgageType.js +0 -1
- package/dist/src/generated/client/models/OAuthState.d.ts +0 -864
- package/dist/src/generated/client/models/OAuthState.js +0 -1
- package/dist/src/generated/client/models/PasswordReset.d.ts +0 -1085
- package/dist/src/generated/client/models/PasswordReset.js +0 -1
- package/dist/src/generated/client/models/Payment.d.ts +0 -2026
- package/dist/src/generated/client/models/Payment.js +0 -1
- package/dist/src/generated/client/models/PaymentInstallment.d.ts +0 -1539
- package/dist/src/generated/client/models/PaymentInstallment.js +0 -1
- package/dist/src/generated/client/models/PaymentPlan.d.ts +0 -2148
- package/dist/src/generated/client/models/PaymentPlan.js +0 -1
- package/dist/src/generated/client/models/PaymentSchedule.d.ts +0 -1450
- package/dist/src/generated/client/models/PaymentSchedule.js +0 -1
- package/dist/src/generated/client/models/Permission.d.ts +0 -1115
- package/dist/src/generated/client/models/Permission.js +0 -1
- package/dist/src/generated/client/models/Property.d.ts +0 -3254
- package/dist/src/generated/client/models/Property.js +0 -1
- package/dist/src/generated/client/models/PropertyAmenity.d.ts +0 -1080
- package/dist/src/generated/client/models/PropertyAmenity.js +0 -1
- package/dist/src/generated/client/models/PropertyDocument.d.ts +0 -1118
- package/dist/src/generated/client/models/PropertyDocument.js +0 -1
- package/dist/src/generated/client/models/PropertyMedia.d.ts +0 -1331
- package/dist/src/generated/client/models/PropertyMedia.js +0 -1
- package/dist/src/generated/client/models/RefreshToken.d.ts +0 -1085
- package/dist/src/generated/client/models/RefreshToken.js +0 -1
- package/dist/src/generated/client/models/Role.d.ts +0 -1153
- package/dist/src/generated/client/models/Role.js +0 -1
- package/dist/src/generated/client/models/RolePermission.d.ts +0 -1080
- package/dist/src/generated/client/models/RolePermission.js +0 -1
- package/dist/src/generated/client/models/Settings.d.ts +0 -916
- package/dist/src/generated/client/models/Settings.js +0 -1
- package/dist/src/generated/client/models/Social.d.ts +0 -1090
- package/dist/src/generated/client/models/Social.js +0 -1
- package/dist/src/generated/client/models/Tenant.d.ts +0 -1082
- package/dist/src/generated/client/models/Tenant.js +0 -1
- package/dist/src/generated/client/models/Transaction.d.ts +0 -1222
- package/dist/src/generated/client/models/Transaction.js +0 -1
- package/dist/src/generated/client/models/User.d.ts +0 -4239
- package/dist/src/generated/client/models/User.js +0 -1
- package/dist/src/generated/client/models/UserRole.d.ts +0 -1080
- package/dist/src/generated/client/models/UserRole.js +0 -1
- package/dist/src/generated/client/models/UserSuspension.d.ts +0 -1085
- package/dist/src/generated/client/models/UserSuspension.js +0 -1
- package/dist/src/generated/client/models/Wallet.d.ts +0 -1191
- package/dist/src/generated/client/models/Wallet.js +0 -1
- package/dist/src/generated/client/models.d.ts +0 -37
- package/dist/src/generated/client/models.js +0 -1
|
@@ -1,1819 +0,0 @@
|
|
|
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 ContractPhaseStep
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
8
|
-
export type ContractPhaseStepModel = runtime.Types.Result.DefaultSelection<Prisma.$ContractPhaseStepPayload>;
|
|
9
|
-
export type AggregateContractPhaseStep = {
|
|
10
|
-
_count: ContractPhaseStepCountAggregateOutputType | null;
|
|
11
|
-
_avg: ContractPhaseStepAvgAggregateOutputType | null;
|
|
12
|
-
_sum: ContractPhaseStepSumAggregateOutputType | null;
|
|
13
|
-
_min: ContractPhaseStepMinAggregateOutputType | null;
|
|
14
|
-
_max: ContractPhaseStepMaxAggregateOutputType | null;
|
|
15
|
-
};
|
|
16
|
-
export type ContractPhaseStepAvgAggregateOutputType = {
|
|
17
|
-
order: number | null;
|
|
18
|
-
};
|
|
19
|
-
export type ContractPhaseStepSumAggregateOutputType = {
|
|
20
|
-
order: number | null;
|
|
21
|
-
};
|
|
22
|
-
export type ContractPhaseStepMinAggregateOutputType = {
|
|
23
|
-
id: string | null;
|
|
24
|
-
phaseId: string | null;
|
|
25
|
-
name: string | null;
|
|
26
|
-
description: string | null;
|
|
27
|
-
stepType: $Enums.StepType | null;
|
|
28
|
-
order: number | null;
|
|
29
|
-
status: $Enums.StepStatus | null;
|
|
30
|
-
assigneeId: string | null;
|
|
31
|
-
dueDate: Date | null;
|
|
32
|
-
completedAt: Date | null;
|
|
33
|
-
createdAt: Date | null;
|
|
34
|
-
updatedAt: Date | null;
|
|
35
|
-
};
|
|
36
|
-
export type ContractPhaseStepMaxAggregateOutputType = {
|
|
37
|
-
id: string | null;
|
|
38
|
-
phaseId: string | null;
|
|
39
|
-
name: string | null;
|
|
40
|
-
description: string | null;
|
|
41
|
-
stepType: $Enums.StepType | null;
|
|
42
|
-
order: number | null;
|
|
43
|
-
status: $Enums.StepStatus | null;
|
|
44
|
-
assigneeId: string | null;
|
|
45
|
-
dueDate: Date | null;
|
|
46
|
-
completedAt: Date | null;
|
|
47
|
-
createdAt: Date | null;
|
|
48
|
-
updatedAt: Date | null;
|
|
49
|
-
};
|
|
50
|
-
export type ContractPhaseStepCountAggregateOutputType = {
|
|
51
|
-
id: number;
|
|
52
|
-
phaseId: number;
|
|
53
|
-
name: number;
|
|
54
|
-
description: number;
|
|
55
|
-
stepType: number;
|
|
56
|
-
order: number;
|
|
57
|
-
status: number;
|
|
58
|
-
metadata: number;
|
|
59
|
-
assigneeId: number;
|
|
60
|
-
dueDate: number;
|
|
61
|
-
completedAt: number;
|
|
62
|
-
createdAt: number;
|
|
63
|
-
updatedAt: number;
|
|
64
|
-
_all: number;
|
|
65
|
-
};
|
|
66
|
-
export type ContractPhaseStepAvgAggregateInputType = {
|
|
67
|
-
order?: true;
|
|
68
|
-
};
|
|
69
|
-
export type ContractPhaseStepSumAggregateInputType = {
|
|
70
|
-
order?: true;
|
|
71
|
-
};
|
|
72
|
-
export type ContractPhaseStepMinAggregateInputType = {
|
|
73
|
-
id?: true;
|
|
74
|
-
phaseId?: true;
|
|
75
|
-
name?: true;
|
|
76
|
-
description?: true;
|
|
77
|
-
stepType?: true;
|
|
78
|
-
order?: true;
|
|
79
|
-
status?: true;
|
|
80
|
-
assigneeId?: true;
|
|
81
|
-
dueDate?: true;
|
|
82
|
-
completedAt?: true;
|
|
83
|
-
createdAt?: true;
|
|
84
|
-
updatedAt?: true;
|
|
85
|
-
};
|
|
86
|
-
export type ContractPhaseStepMaxAggregateInputType = {
|
|
87
|
-
id?: true;
|
|
88
|
-
phaseId?: true;
|
|
89
|
-
name?: true;
|
|
90
|
-
description?: true;
|
|
91
|
-
stepType?: true;
|
|
92
|
-
order?: true;
|
|
93
|
-
status?: true;
|
|
94
|
-
assigneeId?: true;
|
|
95
|
-
dueDate?: true;
|
|
96
|
-
completedAt?: true;
|
|
97
|
-
createdAt?: true;
|
|
98
|
-
updatedAt?: true;
|
|
99
|
-
};
|
|
100
|
-
export type ContractPhaseStepCountAggregateInputType = {
|
|
101
|
-
id?: true;
|
|
102
|
-
phaseId?: true;
|
|
103
|
-
name?: true;
|
|
104
|
-
description?: true;
|
|
105
|
-
stepType?: true;
|
|
106
|
-
order?: true;
|
|
107
|
-
status?: true;
|
|
108
|
-
metadata?: true;
|
|
109
|
-
assigneeId?: true;
|
|
110
|
-
dueDate?: true;
|
|
111
|
-
completedAt?: true;
|
|
112
|
-
createdAt?: true;
|
|
113
|
-
updatedAt?: true;
|
|
114
|
-
_all?: true;
|
|
115
|
-
};
|
|
116
|
-
export type ContractPhaseStepAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
117
|
-
/**
|
|
118
|
-
* Filter which ContractPhaseStep to aggregate.
|
|
119
|
-
*/
|
|
120
|
-
where?: Prisma.ContractPhaseStepWhereInput;
|
|
121
|
-
/**
|
|
122
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
123
|
-
*
|
|
124
|
-
* Determine the order of ContractPhaseSteps to fetch.
|
|
125
|
-
*/
|
|
126
|
-
orderBy?: Prisma.ContractPhaseStepOrderByWithRelationInput | Prisma.ContractPhaseStepOrderByWithRelationInput[];
|
|
127
|
-
/**
|
|
128
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
129
|
-
*
|
|
130
|
-
* Sets the start position
|
|
131
|
-
*/
|
|
132
|
-
cursor?: Prisma.ContractPhaseStepWhereUniqueInput;
|
|
133
|
-
/**
|
|
134
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
135
|
-
*
|
|
136
|
-
* Take `±n` ContractPhaseSteps from the position of the cursor.
|
|
137
|
-
*/
|
|
138
|
-
take?: number;
|
|
139
|
-
/**
|
|
140
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
141
|
-
*
|
|
142
|
-
* Skip the first `n` ContractPhaseSteps.
|
|
143
|
-
*/
|
|
144
|
-
skip?: number;
|
|
145
|
-
/**
|
|
146
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
147
|
-
*
|
|
148
|
-
* Count returned ContractPhaseSteps
|
|
149
|
-
**/
|
|
150
|
-
_count?: true | ContractPhaseStepCountAggregateInputType;
|
|
151
|
-
/**
|
|
152
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
153
|
-
*
|
|
154
|
-
* Select which fields to average
|
|
155
|
-
**/
|
|
156
|
-
_avg?: ContractPhaseStepAvgAggregateInputType;
|
|
157
|
-
/**
|
|
158
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
159
|
-
*
|
|
160
|
-
* Select which fields to sum
|
|
161
|
-
**/
|
|
162
|
-
_sum?: ContractPhaseStepSumAggregateInputType;
|
|
163
|
-
/**
|
|
164
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
165
|
-
*
|
|
166
|
-
* Select which fields to find the minimum value
|
|
167
|
-
**/
|
|
168
|
-
_min?: ContractPhaseStepMinAggregateInputType;
|
|
169
|
-
/**
|
|
170
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
171
|
-
*
|
|
172
|
-
* Select which fields to find the maximum value
|
|
173
|
-
**/
|
|
174
|
-
_max?: ContractPhaseStepMaxAggregateInputType;
|
|
175
|
-
};
|
|
176
|
-
export type GetContractPhaseStepAggregateType<T extends ContractPhaseStepAggregateArgs> = {
|
|
177
|
-
[P in keyof T & keyof AggregateContractPhaseStep]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateContractPhaseStep[P]> : Prisma.GetScalarType<T[P], AggregateContractPhaseStep[P]>;
|
|
178
|
-
};
|
|
179
|
-
export type ContractPhaseStepGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
180
|
-
where?: Prisma.ContractPhaseStepWhereInput;
|
|
181
|
-
orderBy?: Prisma.ContractPhaseStepOrderByWithAggregationInput | Prisma.ContractPhaseStepOrderByWithAggregationInput[];
|
|
182
|
-
by: Prisma.ContractPhaseStepScalarFieldEnum[] | Prisma.ContractPhaseStepScalarFieldEnum;
|
|
183
|
-
having?: Prisma.ContractPhaseStepScalarWhereWithAggregatesInput;
|
|
184
|
-
take?: number;
|
|
185
|
-
skip?: number;
|
|
186
|
-
_count?: ContractPhaseStepCountAggregateInputType | true;
|
|
187
|
-
_avg?: ContractPhaseStepAvgAggregateInputType;
|
|
188
|
-
_sum?: ContractPhaseStepSumAggregateInputType;
|
|
189
|
-
_min?: ContractPhaseStepMinAggregateInputType;
|
|
190
|
-
_max?: ContractPhaseStepMaxAggregateInputType;
|
|
191
|
-
};
|
|
192
|
-
export type ContractPhaseStepGroupByOutputType = {
|
|
193
|
-
id: string;
|
|
194
|
-
phaseId: string;
|
|
195
|
-
name: string;
|
|
196
|
-
description: string | null;
|
|
197
|
-
stepType: $Enums.StepType;
|
|
198
|
-
order: number;
|
|
199
|
-
status: $Enums.StepStatus;
|
|
200
|
-
metadata: runtime.JsonValue | null;
|
|
201
|
-
assigneeId: string | null;
|
|
202
|
-
dueDate: Date | null;
|
|
203
|
-
completedAt: Date | null;
|
|
204
|
-
createdAt: Date;
|
|
205
|
-
updatedAt: Date;
|
|
206
|
-
_count: ContractPhaseStepCountAggregateOutputType | null;
|
|
207
|
-
_avg: ContractPhaseStepAvgAggregateOutputType | null;
|
|
208
|
-
_sum: ContractPhaseStepSumAggregateOutputType | null;
|
|
209
|
-
_min: ContractPhaseStepMinAggregateOutputType | null;
|
|
210
|
-
_max: ContractPhaseStepMaxAggregateOutputType | null;
|
|
211
|
-
};
|
|
212
|
-
type GetContractPhaseStepGroupByPayload<T extends ContractPhaseStepGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ContractPhaseStepGroupByOutputType, T['by']> & {
|
|
213
|
-
[P in ((keyof T) & (keyof ContractPhaseStepGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ContractPhaseStepGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ContractPhaseStepGroupByOutputType[P]>;
|
|
214
|
-
}>>;
|
|
215
|
-
export type ContractPhaseStepWhereInput = {
|
|
216
|
-
AND?: Prisma.ContractPhaseStepWhereInput | Prisma.ContractPhaseStepWhereInput[];
|
|
217
|
-
OR?: Prisma.ContractPhaseStepWhereInput[];
|
|
218
|
-
NOT?: Prisma.ContractPhaseStepWhereInput | Prisma.ContractPhaseStepWhereInput[];
|
|
219
|
-
id?: Prisma.StringFilter<"ContractPhaseStep"> | string;
|
|
220
|
-
phaseId?: Prisma.StringFilter<"ContractPhaseStep"> | string;
|
|
221
|
-
name?: Prisma.StringFilter<"ContractPhaseStep"> | string;
|
|
222
|
-
description?: Prisma.StringNullableFilter<"ContractPhaseStep"> | string | null;
|
|
223
|
-
stepType?: Prisma.EnumStepTypeFilter<"ContractPhaseStep"> | $Enums.StepType;
|
|
224
|
-
order?: Prisma.IntFilter<"ContractPhaseStep"> | number;
|
|
225
|
-
status?: Prisma.EnumStepStatusFilter<"ContractPhaseStep"> | $Enums.StepStatus;
|
|
226
|
-
metadata?: Prisma.JsonNullableFilter<"ContractPhaseStep">;
|
|
227
|
-
assigneeId?: Prisma.StringNullableFilter<"ContractPhaseStep"> | string | null;
|
|
228
|
-
dueDate?: Prisma.DateTimeNullableFilter<"ContractPhaseStep"> | Date | string | null;
|
|
229
|
-
completedAt?: Prisma.DateTimeNullableFilter<"ContractPhaseStep"> | Date | string | null;
|
|
230
|
-
createdAt?: Prisma.DateTimeFilter<"ContractPhaseStep"> | Date | string;
|
|
231
|
-
updatedAt?: Prisma.DateTimeFilter<"ContractPhaseStep"> | Date | string;
|
|
232
|
-
phase?: Prisma.XOR<Prisma.ContractPhaseScalarRelationFilter, Prisma.ContractPhaseWhereInput>;
|
|
233
|
-
assignee?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
234
|
-
requiredDocuments?: Prisma.ContractPhaseStepDocumentListRelationFilter;
|
|
235
|
-
approvals?: Prisma.ContractPhaseStepApprovalListRelationFilter;
|
|
236
|
-
};
|
|
237
|
-
export type ContractPhaseStepOrderByWithRelationInput = {
|
|
238
|
-
id?: Prisma.SortOrder;
|
|
239
|
-
phaseId?: Prisma.SortOrder;
|
|
240
|
-
name?: Prisma.SortOrder;
|
|
241
|
-
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
242
|
-
stepType?: Prisma.SortOrder;
|
|
243
|
-
order?: Prisma.SortOrder;
|
|
244
|
-
status?: Prisma.SortOrder;
|
|
245
|
-
metadata?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
246
|
-
assigneeId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
247
|
-
dueDate?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
248
|
-
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
249
|
-
createdAt?: Prisma.SortOrder;
|
|
250
|
-
updatedAt?: Prisma.SortOrder;
|
|
251
|
-
phase?: Prisma.ContractPhaseOrderByWithRelationInput;
|
|
252
|
-
assignee?: Prisma.UserOrderByWithRelationInput;
|
|
253
|
-
requiredDocuments?: Prisma.ContractPhaseStepDocumentOrderByRelationAggregateInput;
|
|
254
|
-
approvals?: Prisma.ContractPhaseStepApprovalOrderByRelationAggregateInput;
|
|
255
|
-
_relevance?: Prisma.ContractPhaseStepOrderByRelevanceInput;
|
|
256
|
-
};
|
|
257
|
-
export type ContractPhaseStepWhereUniqueInput = Prisma.AtLeast<{
|
|
258
|
-
id?: string;
|
|
259
|
-
AND?: Prisma.ContractPhaseStepWhereInput | Prisma.ContractPhaseStepWhereInput[];
|
|
260
|
-
OR?: Prisma.ContractPhaseStepWhereInput[];
|
|
261
|
-
NOT?: Prisma.ContractPhaseStepWhereInput | Prisma.ContractPhaseStepWhereInput[];
|
|
262
|
-
phaseId?: Prisma.StringFilter<"ContractPhaseStep"> | string;
|
|
263
|
-
name?: Prisma.StringFilter<"ContractPhaseStep"> | string;
|
|
264
|
-
description?: Prisma.StringNullableFilter<"ContractPhaseStep"> | string | null;
|
|
265
|
-
stepType?: Prisma.EnumStepTypeFilter<"ContractPhaseStep"> | $Enums.StepType;
|
|
266
|
-
order?: Prisma.IntFilter<"ContractPhaseStep"> | number;
|
|
267
|
-
status?: Prisma.EnumStepStatusFilter<"ContractPhaseStep"> | $Enums.StepStatus;
|
|
268
|
-
metadata?: Prisma.JsonNullableFilter<"ContractPhaseStep">;
|
|
269
|
-
assigneeId?: Prisma.StringNullableFilter<"ContractPhaseStep"> | string | null;
|
|
270
|
-
dueDate?: Prisma.DateTimeNullableFilter<"ContractPhaseStep"> | Date | string | null;
|
|
271
|
-
completedAt?: Prisma.DateTimeNullableFilter<"ContractPhaseStep"> | Date | string | null;
|
|
272
|
-
createdAt?: Prisma.DateTimeFilter<"ContractPhaseStep"> | Date | string;
|
|
273
|
-
updatedAt?: Prisma.DateTimeFilter<"ContractPhaseStep"> | Date | string;
|
|
274
|
-
phase?: Prisma.XOR<Prisma.ContractPhaseScalarRelationFilter, Prisma.ContractPhaseWhereInput>;
|
|
275
|
-
assignee?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
|
|
276
|
-
requiredDocuments?: Prisma.ContractPhaseStepDocumentListRelationFilter;
|
|
277
|
-
approvals?: Prisma.ContractPhaseStepApprovalListRelationFilter;
|
|
278
|
-
}, "id">;
|
|
279
|
-
export type ContractPhaseStepOrderByWithAggregationInput = {
|
|
280
|
-
id?: Prisma.SortOrder;
|
|
281
|
-
phaseId?: Prisma.SortOrder;
|
|
282
|
-
name?: Prisma.SortOrder;
|
|
283
|
-
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
284
|
-
stepType?: Prisma.SortOrder;
|
|
285
|
-
order?: Prisma.SortOrder;
|
|
286
|
-
status?: Prisma.SortOrder;
|
|
287
|
-
metadata?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
288
|
-
assigneeId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
289
|
-
dueDate?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
290
|
-
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
291
|
-
createdAt?: Prisma.SortOrder;
|
|
292
|
-
updatedAt?: Prisma.SortOrder;
|
|
293
|
-
_count?: Prisma.ContractPhaseStepCountOrderByAggregateInput;
|
|
294
|
-
_avg?: Prisma.ContractPhaseStepAvgOrderByAggregateInput;
|
|
295
|
-
_max?: Prisma.ContractPhaseStepMaxOrderByAggregateInput;
|
|
296
|
-
_min?: Prisma.ContractPhaseStepMinOrderByAggregateInput;
|
|
297
|
-
_sum?: Prisma.ContractPhaseStepSumOrderByAggregateInput;
|
|
298
|
-
};
|
|
299
|
-
export type ContractPhaseStepScalarWhereWithAggregatesInput = {
|
|
300
|
-
AND?: Prisma.ContractPhaseStepScalarWhereWithAggregatesInput | Prisma.ContractPhaseStepScalarWhereWithAggregatesInput[];
|
|
301
|
-
OR?: Prisma.ContractPhaseStepScalarWhereWithAggregatesInput[];
|
|
302
|
-
NOT?: Prisma.ContractPhaseStepScalarWhereWithAggregatesInput | Prisma.ContractPhaseStepScalarWhereWithAggregatesInput[];
|
|
303
|
-
id?: Prisma.StringWithAggregatesFilter<"ContractPhaseStep"> | string;
|
|
304
|
-
phaseId?: Prisma.StringWithAggregatesFilter<"ContractPhaseStep"> | string;
|
|
305
|
-
name?: Prisma.StringWithAggregatesFilter<"ContractPhaseStep"> | string;
|
|
306
|
-
description?: Prisma.StringNullableWithAggregatesFilter<"ContractPhaseStep"> | string | null;
|
|
307
|
-
stepType?: Prisma.EnumStepTypeWithAggregatesFilter<"ContractPhaseStep"> | $Enums.StepType;
|
|
308
|
-
order?: Prisma.IntWithAggregatesFilter<"ContractPhaseStep"> | number;
|
|
309
|
-
status?: Prisma.EnumStepStatusWithAggregatesFilter<"ContractPhaseStep"> | $Enums.StepStatus;
|
|
310
|
-
metadata?: Prisma.JsonNullableWithAggregatesFilter<"ContractPhaseStep">;
|
|
311
|
-
assigneeId?: Prisma.StringNullableWithAggregatesFilter<"ContractPhaseStep"> | string | null;
|
|
312
|
-
dueDate?: Prisma.DateTimeNullableWithAggregatesFilter<"ContractPhaseStep"> | Date | string | null;
|
|
313
|
-
completedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ContractPhaseStep"> | Date | string | null;
|
|
314
|
-
createdAt?: Prisma.DateTimeWithAggregatesFilter<"ContractPhaseStep"> | Date | string;
|
|
315
|
-
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ContractPhaseStep"> | Date | string;
|
|
316
|
-
};
|
|
317
|
-
export type ContractPhaseStepCreateInput = {
|
|
318
|
-
id?: string;
|
|
319
|
-
name: string;
|
|
320
|
-
description?: string | null;
|
|
321
|
-
stepType: $Enums.StepType;
|
|
322
|
-
order: number;
|
|
323
|
-
status?: $Enums.StepStatus;
|
|
324
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
325
|
-
dueDate?: Date | string | null;
|
|
326
|
-
completedAt?: Date | string | null;
|
|
327
|
-
createdAt?: Date | string;
|
|
328
|
-
updatedAt?: Date | string;
|
|
329
|
-
phase: Prisma.ContractPhaseCreateNestedOneWithoutStepsInput;
|
|
330
|
-
assignee?: Prisma.UserCreateNestedOneWithoutAssignedStepsInput;
|
|
331
|
-
requiredDocuments?: Prisma.ContractPhaseStepDocumentCreateNestedManyWithoutStepInput;
|
|
332
|
-
approvals?: Prisma.ContractPhaseStepApprovalCreateNestedManyWithoutStepInput;
|
|
333
|
-
};
|
|
334
|
-
export type ContractPhaseStepUncheckedCreateInput = {
|
|
335
|
-
id?: string;
|
|
336
|
-
phaseId: string;
|
|
337
|
-
name: string;
|
|
338
|
-
description?: string | null;
|
|
339
|
-
stepType: $Enums.StepType;
|
|
340
|
-
order: number;
|
|
341
|
-
status?: $Enums.StepStatus;
|
|
342
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
343
|
-
assigneeId?: string | null;
|
|
344
|
-
dueDate?: Date | string | null;
|
|
345
|
-
completedAt?: Date | string | null;
|
|
346
|
-
createdAt?: Date | string;
|
|
347
|
-
updatedAt?: Date | string;
|
|
348
|
-
requiredDocuments?: Prisma.ContractPhaseStepDocumentUncheckedCreateNestedManyWithoutStepInput;
|
|
349
|
-
approvals?: Prisma.ContractPhaseStepApprovalUncheckedCreateNestedManyWithoutStepInput;
|
|
350
|
-
};
|
|
351
|
-
export type ContractPhaseStepUpdateInput = {
|
|
352
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
353
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
354
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
355
|
-
stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
|
|
356
|
-
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
357
|
-
status?: Prisma.EnumStepStatusFieldUpdateOperationsInput | $Enums.StepStatus;
|
|
358
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
359
|
-
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
360
|
-
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
361
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
362
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
363
|
-
phase?: Prisma.ContractPhaseUpdateOneRequiredWithoutStepsNestedInput;
|
|
364
|
-
assignee?: Prisma.UserUpdateOneWithoutAssignedStepsNestedInput;
|
|
365
|
-
requiredDocuments?: Prisma.ContractPhaseStepDocumentUpdateManyWithoutStepNestedInput;
|
|
366
|
-
approvals?: Prisma.ContractPhaseStepApprovalUpdateManyWithoutStepNestedInput;
|
|
367
|
-
};
|
|
368
|
-
export type ContractPhaseStepUncheckedUpdateInput = {
|
|
369
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
370
|
-
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
371
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
372
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
373
|
-
stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
|
|
374
|
-
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
375
|
-
status?: Prisma.EnumStepStatusFieldUpdateOperationsInput | $Enums.StepStatus;
|
|
376
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
377
|
-
assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
378
|
-
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
379
|
-
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
380
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
381
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
382
|
-
requiredDocuments?: Prisma.ContractPhaseStepDocumentUncheckedUpdateManyWithoutStepNestedInput;
|
|
383
|
-
approvals?: Prisma.ContractPhaseStepApprovalUncheckedUpdateManyWithoutStepNestedInput;
|
|
384
|
-
};
|
|
385
|
-
export type ContractPhaseStepCreateManyInput = {
|
|
386
|
-
id?: string;
|
|
387
|
-
phaseId: string;
|
|
388
|
-
name: string;
|
|
389
|
-
description?: string | null;
|
|
390
|
-
stepType: $Enums.StepType;
|
|
391
|
-
order: number;
|
|
392
|
-
status?: $Enums.StepStatus;
|
|
393
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
394
|
-
assigneeId?: string | null;
|
|
395
|
-
dueDate?: Date | string | null;
|
|
396
|
-
completedAt?: Date | string | null;
|
|
397
|
-
createdAt?: Date | string;
|
|
398
|
-
updatedAt?: Date | string;
|
|
399
|
-
};
|
|
400
|
-
export type ContractPhaseStepUpdateManyMutationInput = {
|
|
401
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
402
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
403
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
404
|
-
stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
|
|
405
|
-
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
406
|
-
status?: Prisma.EnumStepStatusFieldUpdateOperationsInput | $Enums.StepStatus;
|
|
407
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
408
|
-
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
409
|
-
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
410
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
411
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
412
|
-
};
|
|
413
|
-
export type ContractPhaseStepUncheckedUpdateManyInput = {
|
|
414
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
415
|
-
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
416
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
417
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
418
|
-
stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
|
|
419
|
-
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
420
|
-
status?: Prisma.EnumStepStatusFieldUpdateOperationsInput | $Enums.StepStatus;
|
|
421
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
422
|
-
assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
423
|
-
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
424
|
-
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
425
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
426
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
427
|
-
};
|
|
428
|
-
export type ContractPhaseStepListRelationFilter = {
|
|
429
|
-
every?: Prisma.ContractPhaseStepWhereInput;
|
|
430
|
-
some?: Prisma.ContractPhaseStepWhereInput;
|
|
431
|
-
none?: Prisma.ContractPhaseStepWhereInput;
|
|
432
|
-
};
|
|
433
|
-
export type ContractPhaseStepOrderByRelationAggregateInput = {
|
|
434
|
-
_count?: Prisma.SortOrder;
|
|
435
|
-
};
|
|
436
|
-
export type ContractPhaseStepOrderByRelevanceInput = {
|
|
437
|
-
fields: Prisma.ContractPhaseStepOrderByRelevanceFieldEnum | Prisma.ContractPhaseStepOrderByRelevanceFieldEnum[];
|
|
438
|
-
sort: Prisma.SortOrder;
|
|
439
|
-
search: string;
|
|
440
|
-
};
|
|
441
|
-
export type ContractPhaseStepCountOrderByAggregateInput = {
|
|
442
|
-
id?: Prisma.SortOrder;
|
|
443
|
-
phaseId?: Prisma.SortOrder;
|
|
444
|
-
name?: Prisma.SortOrder;
|
|
445
|
-
description?: Prisma.SortOrder;
|
|
446
|
-
stepType?: Prisma.SortOrder;
|
|
447
|
-
order?: Prisma.SortOrder;
|
|
448
|
-
status?: Prisma.SortOrder;
|
|
449
|
-
metadata?: Prisma.SortOrder;
|
|
450
|
-
assigneeId?: Prisma.SortOrder;
|
|
451
|
-
dueDate?: Prisma.SortOrder;
|
|
452
|
-
completedAt?: Prisma.SortOrder;
|
|
453
|
-
createdAt?: Prisma.SortOrder;
|
|
454
|
-
updatedAt?: Prisma.SortOrder;
|
|
455
|
-
};
|
|
456
|
-
export type ContractPhaseStepAvgOrderByAggregateInput = {
|
|
457
|
-
order?: Prisma.SortOrder;
|
|
458
|
-
};
|
|
459
|
-
export type ContractPhaseStepMaxOrderByAggregateInput = {
|
|
460
|
-
id?: Prisma.SortOrder;
|
|
461
|
-
phaseId?: Prisma.SortOrder;
|
|
462
|
-
name?: Prisma.SortOrder;
|
|
463
|
-
description?: Prisma.SortOrder;
|
|
464
|
-
stepType?: Prisma.SortOrder;
|
|
465
|
-
order?: Prisma.SortOrder;
|
|
466
|
-
status?: Prisma.SortOrder;
|
|
467
|
-
assigneeId?: Prisma.SortOrder;
|
|
468
|
-
dueDate?: Prisma.SortOrder;
|
|
469
|
-
completedAt?: Prisma.SortOrder;
|
|
470
|
-
createdAt?: Prisma.SortOrder;
|
|
471
|
-
updatedAt?: Prisma.SortOrder;
|
|
472
|
-
};
|
|
473
|
-
export type ContractPhaseStepMinOrderByAggregateInput = {
|
|
474
|
-
id?: Prisma.SortOrder;
|
|
475
|
-
phaseId?: Prisma.SortOrder;
|
|
476
|
-
name?: Prisma.SortOrder;
|
|
477
|
-
description?: Prisma.SortOrder;
|
|
478
|
-
stepType?: Prisma.SortOrder;
|
|
479
|
-
order?: Prisma.SortOrder;
|
|
480
|
-
status?: Prisma.SortOrder;
|
|
481
|
-
assigneeId?: Prisma.SortOrder;
|
|
482
|
-
dueDate?: Prisma.SortOrder;
|
|
483
|
-
completedAt?: Prisma.SortOrder;
|
|
484
|
-
createdAt?: Prisma.SortOrder;
|
|
485
|
-
updatedAt?: Prisma.SortOrder;
|
|
486
|
-
};
|
|
487
|
-
export type ContractPhaseStepSumOrderByAggregateInput = {
|
|
488
|
-
order?: Prisma.SortOrder;
|
|
489
|
-
};
|
|
490
|
-
export type ContractPhaseStepScalarRelationFilter = {
|
|
491
|
-
is?: Prisma.ContractPhaseStepWhereInput;
|
|
492
|
-
isNot?: Prisma.ContractPhaseStepWhereInput;
|
|
493
|
-
};
|
|
494
|
-
export type ContractPhaseStepCreateNestedManyWithoutAssigneeInput = {
|
|
495
|
-
create?: Prisma.XOR<Prisma.ContractPhaseStepCreateWithoutAssigneeInput, Prisma.ContractPhaseStepUncheckedCreateWithoutAssigneeInput> | Prisma.ContractPhaseStepCreateWithoutAssigneeInput[] | Prisma.ContractPhaseStepUncheckedCreateWithoutAssigneeInput[];
|
|
496
|
-
connectOrCreate?: Prisma.ContractPhaseStepCreateOrConnectWithoutAssigneeInput | Prisma.ContractPhaseStepCreateOrConnectWithoutAssigneeInput[];
|
|
497
|
-
createMany?: Prisma.ContractPhaseStepCreateManyAssigneeInputEnvelope;
|
|
498
|
-
connect?: Prisma.ContractPhaseStepWhereUniqueInput | Prisma.ContractPhaseStepWhereUniqueInput[];
|
|
499
|
-
};
|
|
500
|
-
export type ContractPhaseStepUncheckedCreateNestedManyWithoutAssigneeInput = {
|
|
501
|
-
create?: Prisma.XOR<Prisma.ContractPhaseStepCreateWithoutAssigneeInput, Prisma.ContractPhaseStepUncheckedCreateWithoutAssigneeInput> | Prisma.ContractPhaseStepCreateWithoutAssigneeInput[] | Prisma.ContractPhaseStepUncheckedCreateWithoutAssigneeInput[];
|
|
502
|
-
connectOrCreate?: Prisma.ContractPhaseStepCreateOrConnectWithoutAssigneeInput | Prisma.ContractPhaseStepCreateOrConnectWithoutAssigneeInput[];
|
|
503
|
-
createMany?: Prisma.ContractPhaseStepCreateManyAssigneeInputEnvelope;
|
|
504
|
-
connect?: Prisma.ContractPhaseStepWhereUniqueInput | Prisma.ContractPhaseStepWhereUniqueInput[];
|
|
505
|
-
};
|
|
506
|
-
export type ContractPhaseStepUpdateManyWithoutAssigneeNestedInput = {
|
|
507
|
-
create?: Prisma.XOR<Prisma.ContractPhaseStepCreateWithoutAssigneeInput, Prisma.ContractPhaseStepUncheckedCreateWithoutAssigneeInput> | Prisma.ContractPhaseStepCreateWithoutAssigneeInput[] | Prisma.ContractPhaseStepUncheckedCreateWithoutAssigneeInput[];
|
|
508
|
-
connectOrCreate?: Prisma.ContractPhaseStepCreateOrConnectWithoutAssigneeInput | Prisma.ContractPhaseStepCreateOrConnectWithoutAssigneeInput[];
|
|
509
|
-
upsert?: Prisma.ContractPhaseStepUpsertWithWhereUniqueWithoutAssigneeInput | Prisma.ContractPhaseStepUpsertWithWhereUniqueWithoutAssigneeInput[];
|
|
510
|
-
createMany?: Prisma.ContractPhaseStepCreateManyAssigneeInputEnvelope;
|
|
511
|
-
set?: Prisma.ContractPhaseStepWhereUniqueInput | Prisma.ContractPhaseStepWhereUniqueInput[];
|
|
512
|
-
disconnect?: Prisma.ContractPhaseStepWhereUniqueInput | Prisma.ContractPhaseStepWhereUniqueInput[];
|
|
513
|
-
delete?: Prisma.ContractPhaseStepWhereUniqueInput | Prisma.ContractPhaseStepWhereUniqueInput[];
|
|
514
|
-
connect?: Prisma.ContractPhaseStepWhereUniqueInput | Prisma.ContractPhaseStepWhereUniqueInput[];
|
|
515
|
-
update?: Prisma.ContractPhaseStepUpdateWithWhereUniqueWithoutAssigneeInput | Prisma.ContractPhaseStepUpdateWithWhereUniqueWithoutAssigneeInput[];
|
|
516
|
-
updateMany?: Prisma.ContractPhaseStepUpdateManyWithWhereWithoutAssigneeInput | Prisma.ContractPhaseStepUpdateManyWithWhereWithoutAssigneeInput[];
|
|
517
|
-
deleteMany?: Prisma.ContractPhaseStepScalarWhereInput | Prisma.ContractPhaseStepScalarWhereInput[];
|
|
518
|
-
};
|
|
519
|
-
export type ContractPhaseStepUncheckedUpdateManyWithoutAssigneeNestedInput = {
|
|
520
|
-
create?: Prisma.XOR<Prisma.ContractPhaseStepCreateWithoutAssigneeInput, Prisma.ContractPhaseStepUncheckedCreateWithoutAssigneeInput> | Prisma.ContractPhaseStepCreateWithoutAssigneeInput[] | Prisma.ContractPhaseStepUncheckedCreateWithoutAssigneeInput[];
|
|
521
|
-
connectOrCreate?: Prisma.ContractPhaseStepCreateOrConnectWithoutAssigneeInput | Prisma.ContractPhaseStepCreateOrConnectWithoutAssigneeInput[];
|
|
522
|
-
upsert?: Prisma.ContractPhaseStepUpsertWithWhereUniqueWithoutAssigneeInput | Prisma.ContractPhaseStepUpsertWithWhereUniqueWithoutAssigneeInput[];
|
|
523
|
-
createMany?: Prisma.ContractPhaseStepCreateManyAssigneeInputEnvelope;
|
|
524
|
-
set?: Prisma.ContractPhaseStepWhereUniqueInput | Prisma.ContractPhaseStepWhereUniqueInput[];
|
|
525
|
-
disconnect?: Prisma.ContractPhaseStepWhereUniqueInput | Prisma.ContractPhaseStepWhereUniqueInput[];
|
|
526
|
-
delete?: Prisma.ContractPhaseStepWhereUniqueInput | Prisma.ContractPhaseStepWhereUniqueInput[];
|
|
527
|
-
connect?: Prisma.ContractPhaseStepWhereUniqueInput | Prisma.ContractPhaseStepWhereUniqueInput[];
|
|
528
|
-
update?: Prisma.ContractPhaseStepUpdateWithWhereUniqueWithoutAssigneeInput | Prisma.ContractPhaseStepUpdateWithWhereUniqueWithoutAssigneeInput[];
|
|
529
|
-
updateMany?: Prisma.ContractPhaseStepUpdateManyWithWhereWithoutAssigneeInput | Prisma.ContractPhaseStepUpdateManyWithWhereWithoutAssigneeInput[];
|
|
530
|
-
deleteMany?: Prisma.ContractPhaseStepScalarWhereInput | Prisma.ContractPhaseStepScalarWhereInput[];
|
|
531
|
-
};
|
|
532
|
-
export type ContractPhaseStepCreateNestedManyWithoutPhaseInput = {
|
|
533
|
-
create?: Prisma.XOR<Prisma.ContractPhaseStepCreateWithoutPhaseInput, Prisma.ContractPhaseStepUncheckedCreateWithoutPhaseInput> | Prisma.ContractPhaseStepCreateWithoutPhaseInput[] | Prisma.ContractPhaseStepUncheckedCreateWithoutPhaseInput[];
|
|
534
|
-
connectOrCreate?: Prisma.ContractPhaseStepCreateOrConnectWithoutPhaseInput | Prisma.ContractPhaseStepCreateOrConnectWithoutPhaseInput[];
|
|
535
|
-
createMany?: Prisma.ContractPhaseStepCreateManyPhaseInputEnvelope;
|
|
536
|
-
connect?: Prisma.ContractPhaseStepWhereUniqueInput | Prisma.ContractPhaseStepWhereUniqueInput[];
|
|
537
|
-
};
|
|
538
|
-
export type ContractPhaseStepUncheckedCreateNestedManyWithoutPhaseInput = {
|
|
539
|
-
create?: Prisma.XOR<Prisma.ContractPhaseStepCreateWithoutPhaseInput, Prisma.ContractPhaseStepUncheckedCreateWithoutPhaseInput> | Prisma.ContractPhaseStepCreateWithoutPhaseInput[] | Prisma.ContractPhaseStepUncheckedCreateWithoutPhaseInput[];
|
|
540
|
-
connectOrCreate?: Prisma.ContractPhaseStepCreateOrConnectWithoutPhaseInput | Prisma.ContractPhaseStepCreateOrConnectWithoutPhaseInput[];
|
|
541
|
-
createMany?: Prisma.ContractPhaseStepCreateManyPhaseInputEnvelope;
|
|
542
|
-
connect?: Prisma.ContractPhaseStepWhereUniqueInput | Prisma.ContractPhaseStepWhereUniqueInput[];
|
|
543
|
-
};
|
|
544
|
-
export type ContractPhaseStepUpdateManyWithoutPhaseNestedInput = {
|
|
545
|
-
create?: Prisma.XOR<Prisma.ContractPhaseStepCreateWithoutPhaseInput, Prisma.ContractPhaseStepUncheckedCreateWithoutPhaseInput> | Prisma.ContractPhaseStepCreateWithoutPhaseInput[] | Prisma.ContractPhaseStepUncheckedCreateWithoutPhaseInput[];
|
|
546
|
-
connectOrCreate?: Prisma.ContractPhaseStepCreateOrConnectWithoutPhaseInput | Prisma.ContractPhaseStepCreateOrConnectWithoutPhaseInput[];
|
|
547
|
-
upsert?: Prisma.ContractPhaseStepUpsertWithWhereUniqueWithoutPhaseInput | Prisma.ContractPhaseStepUpsertWithWhereUniqueWithoutPhaseInput[];
|
|
548
|
-
createMany?: Prisma.ContractPhaseStepCreateManyPhaseInputEnvelope;
|
|
549
|
-
set?: Prisma.ContractPhaseStepWhereUniqueInput | Prisma.ContractPhaseStepWhereUniqueInput[];
|
|
550
|
-
disconnect?: Prisma.ContractPhaseStepWhereUniqueInput | Prisma.ContractPhaseStepWhereUniqueInput[];
|
|
551
|
-
delete?: Prisma.ContractPhaseStepWhereUniqueInput | Prisma.ContractPhaseStepWhereUniqueInput[];
|
|
552
|
-
connect?: Prisma.ContractPhaseStepWhereUniqueInput | Prisma.ContractPhaseStepWhereUniqueInput[];
|
|
553
|
-
update?: Prisma.ContractPhaseStepUpdateWithWhereUniqueWithoutPhaseInput | Prisma.ContractPhaseStepUpdateWithWhereUniqueWithoutPhaseInput[];
|
|
554
|
-
updateMany?: Prisma.ContractPhaseStepUpdateManyWithWhereWithoutPhaseInput | Prisma.ContractPhaseStepUpdateManyWithWhereWithoutPhaseInput[];
|
|
555
|
-
deleteMany?: Prisma.ContractPhaseStepScalarWhereInput | Prisma.ContractPhaseStepScalarWhereInput[];
|
|
556
|
-
};
|
|
557
|
-
export type ContractPhaseStepUncheckedUpdateManyWithoutPhaseNestedInput = {
|
|
558
|
-
create?: Prisma.XOR<Prisma.ContractPhaseStepCreateWithoutPhaseInput, Prisma.ContractPhaseStepUncheckedCreateWithoutPhaseInput> | Prisma.ContractPhaseStepCreateWithoutPhaseInput[] | Prisma.ContractPhaseStepUncheckedCreateWithoutPhaseInput[];
|
|
559
|
-
connectOrCreate?: Prisma.ContractPhaseStepCreateOrConnectWithoutPhaseInput | Prisma.ContractPhaseStepCreateOrConnectWithoutPhaseInput[];
|
|
560
|
-
upsert?: Prisma.ContractPhaseStepUpsertWithWhereUniqueWithoutPhaseInput | Prisma.ContractPhaseStepUpsertWithWhereUniqueWithoutPhaseInput[];
|
|
561
|
-
createMany?: Prisma.ContractPhaseStepCreateManyPhaseInputEnvelope;
|
|
562
|
-
set?: Prisma.ContractPhaseStepWhereUniqueInput | Prisma.ContractPhaseStepWhereUniqueInput[];
|
|
563
|
-
disconnect?: Prisma.ContractPhaseStepWhereUniqueInput | Prisma.ContractPhaseStepWhereUniqueInput[];
|
|
564
|
-
delete?: Prisma.ContractPhaseStepWhereUniqueInput | Prisma.ContractPhaseStepWhereUniqueInput[];
|
|
565
|
-
connect?: Prisma.ContractPhaseStepWhereUniqueInput | Prisma.ContractPhaseStepWhereUniqueInput[];
|
|
566
|
-
update?: Prisma.ContractPhaseStepUpdateWithWhereUniqueWithoutPhaseInput | Prisma.ContractPhaseStepUpdateWithWhereUniqueWithoutPhaseInput[];
|
|
567
|
-
updateMany?: Prisma.ContractPhaseStepUpdateManyWithWhereWithoutPhaseInput | Prisma.ContractPhaseStepUpdateManyWithWhereWithoutPhaseInput[];
|
|
568
|
-
deleteMany?: Prisma.ContractPhaseStepScalarWhereInput | Prisma.ContractPhaseStepScalarWhereInput[];
|
|
569
|
-
};
|
|
570
|
-
export type EnumStepStatusFieldUpdateOperationsInput = {
|
|
571
|
-
set?: $Enums.StepStatus;
|
|
572
|
-
};
|
|
573
|
-
export type ContractPhaseStepCreateNestedOneWithoutRequiredDocumentsInput = {
|
|
574
|
-
create?: Prisma.XOR<Prisma.ContractPhaseStepCreateWithoutRequiredDocumentsInput, Prisma.ContractPhaseStepUncheckedCreateWithoutRequiredDocumentsInput>;
|
|
575
|
-
connectOrCreate?: Prisma.ContractPhaseStepCreateOrConnectWithoutRequiredDocumentsInput;
|
|
576
|
-
connect?: Prisma.ContractPhaseStepWhereUniqueInput;
|
|
577
|
-
};
|
|
578
|
-
export type ContractPhaseStepUpdateOneRequiredWithoutRequiredDocumentsNestedInput = {
|
|
579
|
-
create?: Prisma.XOR<Prisma.ContractPhaseStepCreateWithoutRequiredDocumentsInput, Prisma.ContractPhaseStepUncheckedCreateWithoutRequiredDocumentsInput>;
|
|
580
|
-
connectOrCreate?: Prisma.ContractPhaseStepCreateOrConnectWithoutRequiredDocumentsInput;
|
|
581
|
-
upsert?: Prisma.ContractPhaseStepUpsertWithoutRequiredDocumentsInput;
|
|
582
|
-
connect?: Prisma.ContractPhaseStepWhereUniqueInput;
|
|
583
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.ContractPhaseStepUpdateToOneWithWhereWithoutRequiredDocumentsInput, Prisma.ContractPhaseStepUpdateWithoutRequiredDocumentsInput>, Prisma.ContractPhaseStepUncheckedUpdateWithoutRequiredDocumentsInput>;
|
|
584
|
-
};
|
|
585
|
-
export type ContractPhaseStepCreateNestedOneWithoutApprovalsInput = {
|
|
586
|
-
create?: Prisma.XOR<Prisma.ContractPhaseStepCreateWithoutApprovalsInput, Prisma.ContractPhaseStepUncheckedCreateWithoutApprovalsInput>;
|
|
587
|
-
connectOrCreate?: Prisma.ContractPhaseStepCreateOrConnectWithoutApprovalsInput;
|
|
588
|
-
connect?: Prisma.ContractPhaseStepWhereUniqueInput;
|
|
589
|
-
};
|
|
590
|
-
export type ContractPhaseStepUpdateOneRequiredWithoutApprovalsNestedInput = {
|
|
591
|
-
create?: Prisma.XOR<Prisma.ContractPhaseStepCreateWithoutApprovalsInput, Prisma.ContractPhaseStepUncheckedCreateWithoutApprovalsInput>;
|
|
592
|
-
connectOrCreate?: Prisma.ContractPhaseStepCreateOrConnectWithoutApprovalsInput;
|
|
593
|
-
upsert?: Prisma.ContractPhaseStepUpsertWithoutApprovalsInput;
|
|
594
|
-
connect?: Prisma.ContractPhaseStepWhereUniqueInput;
|
|
595
|
-
update?: Prisma.XOR<Prisma.XOR<Prisma.ContractPhaseStepUpdateToOneWithWhereWithoutApprovalsInput, Prisma.ContractPhaseStepUpdateWithoutApprovalsInput>, Prisma.ContractPhaseStepUncheckedUpdateWithoutApprovalsInput>;
|
|
596
|
-
};
|
|
597
|
-
export type ContractPhaseStepCreateWithoutAssigneeInput = {
|
|
598
|
-
id?: string;
|
|
599
|
-
name: string;
|
|
600
|
-
description?: string | null;
|
|
601
|
-
stepType: $Enums.StepType;
|
|
602
|
-
order: number;
|
|
603
|
-
status?: $Enums.StepStatus;
|
|
604
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
605
|
-
dueDate?: Date | string | null;
|
|
606
|
-
completedAt?: Date | string | null;
|
|
607
|
-
createdAt?: Date | string;
|
|
608
|
-
updatedAt?: Date | string;
|
|
609
|
-
phase: Prisma.ContractPhaseCreateNestedOneWithoutStepsInput;
|
|
610
|
-
requiredDocuments?: Prisma.ContractPhaseStepDocumentCreateNestedManyWithoutStepInput;
|
|
611
|
-
approvals?: Prisma.ContractPhaseStepApprovalCreateNestedManyWithoutStepInput;
|
|
612
|
-
};
|
|
613
|
-
export type ContractPhaseStepUncheckedCreateWithoutAssigneeInput = {
|
|
614
|
-
id?: string;
|
|
615
|
-
phaseId: string;
|
|
616
|
-
name: string;
|
|
617
|
-
description?: string | null;
|
|
618
|
-
stepType: $Enums.StepType;
|
|
619
|
-
order: number;
|
|
620
|
-
status?: $Enums.StepStatus;
|
|
621
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
622
|
-
dueDate?: Date | string | null;
|
|
623
|
-
completedAt?: Date | string | null;
|
|
624
|
-
createdAt?: Date | string;
|
|
625
|
-
updatedAt?: Date | string;
|
|
626
|
-
requiredDocuments?: Prisma.ContractPhaseStepDocumentUncheckedCreateNestedManyWithoutStepInput;
|
|
627
|
-
approvals?: Prisma.ContractPhaseStepApprovalUncheckedCreateNestedManyWithoutStepInput;
|
|
628
|
-
};
|
|
629
|
-
export type ContractPhaseStepCreateOrConnectWithoutAssigneeInput = {
|
|
630
|
-
where: Prisma.ContractPhaseStepWhereUniqueInput;
|
|
631
|
-
create: Prisma.XOR<Prisma.ContractPhaseStepCreateWithoutAssigneeInput, Prisma.ContractPhaseStepUncheckedCreateWithoutAssigneeInput>;
|
|
632
|
-
};
|
|
633
|
-
export type ContractPhaseStepCreateManyAssigneeInputEnvelope = {
|
|
634
|
-
data: Prisma.ContractPhaseStepCreateManyAssigneeInput | Prisma.ContractPhaseStepCreateManyAssigneeInput[];
|
|
635
|
-
skipDuplicates?: boolean;
|
|
636
|
-
};
|
|
637
|
-
export type ContractPhaseStepUpsertWithWhereUniqueWithoutAssigneeInput = {
|
|
638
|
-
where: Prisma.ContractPhaseStepWhereUniqueInput;
|
|
639
|
-
update: Prisma.XOR<Prisma.ContractPhaseStepUpdateWithoutAssigneeInput, Prisma.ContractPhaseStepUncheckedUpdateWithoutAssigneeInput>;
|
|
640
|
-
create: Prisma.XOR<Prisma.ContractPhaseStepCreateWithoutAssigneeInput, Prisma.ContractPhaseStepUncheckedCreateWithoutAssigneeInput>;
|
|
641
|
-
};
|
|
642
|
-
export type ContractPhaseStepUpdateWithWhereUniqueWithoutAssigneeInput = {
|
|
643
|
-
where: Prisma.ContractPhaseStepWhereUniqueInput;
|
|
644
|
-
data: Prisma.XOR<Prisma.ContractPhaseStepUpdateWithoutAssigneeInput, Prisma.ContractPhaseStepUncheckedUpdateWithoutAssigneeInput>;
|
|
645
|
-
};
|
|
646
|
-
export type ContractPhaseStepUpdateManyWithWhereWithoutAssigneeInput = {
|
|
647
|
-
where: Prisma.ContractPhaseStepScalarWhereInput;
|
|
648
|
-
data: Prisma.XOR<Prisma.ContractPhaseStepUpdateManyMutationInput, Prisma.ContractPhaseStepUncheckedUpdateManyWithoutAssigneeInput>;
|
|
649
|
-
};
|
|
650
|
-
export type ContractPhaseStepScalarWhereInput = {
|
|
651
|
-
AND?: Prisma.ContractPhaseStepScalarWhereInput | Prisma.ContractPhaseStepScalarWhereInput[];
|
|
652
|
-
OR?: Prisma.ContractPhaseStepScalarWhereInput[];
|
|
653
|
-
NOT?: Prisma.ContractPhaseStepScalarWhereInput | Prisma.ContractPhaseStepScalarWhereInput[];
|
|
654
|
-
id?: Prisma.StringFilter<"ContractPhaseStep"> | string;
|
|
655
|
-
phaseId?: Prisma.StringFilter<"ContractPhaseStep"> | string;
|
|
656
|
-
name?: Prisma.StringFilter<"ContractPhaseStep"> | string;
|
|
657
|
-
description?: Prisma.StringNullableFilter<"ContractPhaseStep"> | string | null;
|
|
658
|
-
stepType?: Prisma.EnumStepTypeFilter<"ContractPhaseStep"> | $Enums.StepType;
|
|
659
|
-
order?: Prisma.IntFilter<"ContractPhaseStep"> | number;
|
|
660
|
-
status?: Prisma.EnumStepStatusFilter<"ContractPhaseStep"> | $Enums.StepStatus;
|
|
661
|
-
metadata?: Prisma.JsonNullableFilter<"ContractPhaseStep">;
|
|
662
|
-
assigneeId?: Prisma.StringNullableFilter<"ContractPhaseStep"> | string | null;
|
|
663
|
-
dueDate?: Prisma.DateTimeNullableFilter<"ContractPhaseStep"> | Date | string | null;
|
|
664
|
-
completedAt?: Prisma.DateTimeNullableFilter<"ContractPhaseStep"> | Date | string | null;
|
|
665
|
-
createdAt?: Prisma.DateTimeFilter<"ContractPhaseStep"> | Date | string;
|
|
666
|
-
updatedAt?: Prisma.DateTimeFilter<"ContractPhaseStep"> | Date | string;
|
|
667
|
-
};
|
|
668
|
-
export type ContractPhaseStepCreateWithoutPhaseInput = {
|
|
669
|
-
id?: string;
|
|
670
|
-
name: string;
|
|
671
|
-
description?: string | null;
|
|
672
|
-
stepType: $Enums.StepType;
|
|
673
|
-
order: number;
|
|
674
|
-
status?: $Enums.StepStatus;
|
|
675
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
676
|
-
dueDate?: Date | string | null;
|
|
677
|
-
completedAt?: Date | string | null;
|
|
678
|
-
createdAt?: Date | string;
|
|
679
|
-
updatedAt?: Date | string;
|
|
680
|
-
assignee?: Prisma.UserCreateNestedOneWithoutAssignedStepsInput;
|
|
681
|
-
requiredDocuments?: Prisma.ContractPhaseStepDocumentCreateNestedManyWithoutStepInput;
|
|
682
|
-
approvals?: Prisma.ContractPhaseStepApprovalCreateNestedManyWithoutStepInput;
|
|
683
|
-
};
|
|
684
|
-
export type ContractPhaseStepUncheckedCreateWithoutPhaseInput = {
|
|
685
|
-
id?: string;
|
|
686
|
-
name: string;
|
|
687
|
-
description?: string | null;
|
|
688
|
-
stepType: $Enums.StepType;
|
|
689
|
-
order: number;
|
|
690
|
-
status?: $Enums.StepStatus;
|
|
691
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
692
|
-
assigneeId?: string | null;
|
|
693
|
-
dueDate?: Date | string | null;
|
|
694
|
-
completedAt?: Date | string | null;
|
|
695
|
-
createdAt?: Date | string;
|
|
696
|
-
updatedAt?: Date | string;
|
|
697
|
-
requiredDocuments?: Prisma.ContractPhaseStepDocumentUncheckedCreateNestedManyWithoutStepInput;
|
|
698
|
-
approvals?: Prisma.ContractPhaseStepApprovalUncheckedCreateNestedManyWithoutStepInput;
|
|
699
|
-
};
|
|
700
|
-
export type ContractPhaseStepCreateOrConnectWithoutPhaseInput = {
|
|
701
|
-
where: Prisma.ContractPhaseStepWhereUniqueInput;
|
|
702
|
-
create: Prisma.XOR<Prisma.ContractPhaseStepCreateWithoutPhaseInput, Prisma.ContractPhaseStepUncheckedCreateWithoutPhaseInput>;
|
|
703
|
-
};
|
|
704
|
-
export type ContractPhaseStepCreateManyPhaseInputEnvelope = {
|
|
705
|
-
data: Prisma.ContractPhaseStepCreateManyPhaseInput | Prisma.ContractPhaseStepCreateManyPhaseInput[];
|
|
706
|
-
skipDuplicates?: boolean;
|
|
707
|
-
};
|
|
708
|
-
export type ContractPhaseStepUpsertWithWhereUniqueWithoutPhaseInput = {
|
|
709
|
-
where: Prisma.ContractPhaseStepWhereUniqueInput;
|
|
710
|
-
update: Prisma.XOR<Prisma.ContractPhaseStepUpdateWithoutPhaseInput, Prisma.ContractPhaseStepUncheckedUpdateWithoutPhaseInput>;
|
|
711
|
-
create: Prisma.XOR<Prisma.ContractPhaseStepCreateWithoutPhaseInput, Prisma.ContractPhaseStepUncheckedCreateWithoutPhaseInput>;
|
|
712
|
-
};
|
|
713
|
-
export type ContractPhaseStepUpdateWithWhereUniqueWithoutPhaseInput = {
|
|
714
|
-
where: Prisma.ContractPhaseStepWhereUniqueInput;
|
|
715
|
-
data: Prisma.XOR<Prisma.ContractPhaseStepUpdateWithoutPhaseInput, Prisma.ContractPhaseStepUncheckedUpdateWithoutPhaseInput>;
|
|
716
|
-
};
|
|
717
|
-
export type ContractPhaseStepUpdateManyWithWhereWithoutPhaseInput = {
|
|
718
|
-
where: Prisma.ContractPhaseStepScalarWhereInput;
|
|
719
|
-
data: Prisma.XOR<Prisma.ContractPhaseStepUpdateManyMutationInput, Prisma.ContractPhaseStepUncheckedUpdateManyWithoutPhaseInput>;
|
|
720
|
-
};
|
|
721
|
-
export type ContractPhaseStepCreateWithoutRequiredDocumentsInput = {
|
|
722
|
-
id?: string;
|
|
723
|
-
name: string;
|
|
724
|
-
description?: string | null;
|
|
725
|
-
stepType: $Enums.StepType;
|
|
726
|
-
order: number;
|
|
727
|
-
status?: $Enums.StepStatus;
|
|
728
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
729
|
-
dueDate?: Date | string | null;
|
|
730
|
-
completedAt?: Date | string | null;
|
|
731
|
-
createdAt?: Date | string;
|
|
732
|
-
updatedAt?: Date | string;
|
|
733
|
-
phase: Prisma.ContractPhaseCreateNestedOneWithoutStepsInput;
|
|
734
|
-
assignee?: Prisma.UserCreateNestedOneWithoutAssignedStepsInput;
|
|
735
|
-
approvals?: Prisma.ContractPhaseStepApprovalCreateNestedManyWithoutStepInput;
|
|
736
|
-
};
|
|
737
|
-
export type ContractPhaseStepUncheckedCreateWithoutRequiredDocumentsInput = {
|
|
738
|
-
id?: string;
|
|
739
|
-
phaseId: string;
|
|
740
|
-
name: string;
|
|
741
|
-
description?: string | null;
|
|
742
|
-
stepType: $Enums.StepType;
|
|
743
|
-
order: number;
|
|
744
|
-
status?: $Enums.StepStatus;
|
|
745
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
746
|
-
assigneeId?: string | null;
|
|
747
|
-
dueDate?: Date | string | null;
|
|
748
|
-
completedAt?: Date | string | null;
|
|
749
|
-
createdAt?: Date | string;
|
|
750
|
-
updatedAt?: Date | string;
|
|
751
|
-
approvals?: Prisma.ContractPhaseStepApprovalUncheckedCreateNestedManyWithoutStepInput;
|
|
752
|
-
};
|
|
753
|
-
export type ContractPhaseStepCreateOrConnectWithoutRequiredDocumentsInput = {
|
|
754
|
-
where: Prisma.ContractPhaseStepWhereUniqueInput;
|
|
755
|
-
create: Prisma.XOR<Prisma.ContractPhaseStepCreateWithoutRequiredDocumentsInput, Prisma.ContractPhaseStepUncheckedCreateWithoutRequiredDocumentsInput>;
|
|
756
|
-
};
|
|
757
|
-
export type ContractPhaseStepUpsertWithoutRequiredDocumentsInput = {
|
|
758
|
-
update: Prisma.XOR<Prisma.ContractPhaseStepUpdateWithoutRequiredDocumentsInput, Prisma.ContractPhaseStepUncheckedUpdateWithoutRequiredDocumentsInput>;
|
|
759
|
-
create: Prisma.XOR<Prisma.ContractPhaseStepCreateWithoutRequiredDocumentsInput, Prisma.ContractPhaseStepUncheckedCreateWithoutRequiredDocumentsInput>;
|
|
760
|
-
where?: Prisma.ContractPhaseStepWhereInput;
|
|
761
|
-
};
|
|
762
|
-
export type ContractPhaseStepUpdateToOneWithWhereWithoutRequiredDocumentsInput = {
|
|
763
|
-
where?: Prisma.ContractPhaseStepWhereInput;
|
|
764
|
-
data: Prisma.XOR<Prisma.ContractPhaseStepUpdateWithoutRequiredDocumentsInput, Prisma.ContractPhaseStepUncheckedUpdateWithoutRequiredDocumentsInput>;
|
|
765
|
-
};
|
|
766
|
-
export type ContractPhaseStepUpdateWithoutRequiredDocumentsInput = {
|
|
767
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
768
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
769
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
770
|
-
stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
|
|
771
|
-
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
772
|
-
status?: Prisma.EnumStepStatusFieldUpdateOperationsInput | $Enums.StepStatus;
|
|
773
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
774
|
-
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
775
|
-
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
776
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
777
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
778
|
-
phase?: Prisma.ContractPhaseUpdateOneRequiredWithoutStepsNestedInput;
|
|
779
|
-
assignee?: Prisma.UserUpdateOneWithoutAssignedStepsNestedInput;
|
|
780
|
-
approvals?: Prisma.ContractPhaseStepApprovalUpdateManyWithoutStepNestedInput;
|
|
781
|
-
};
|
|
782
|
-
export type ContractPhaseStepUncheckedUpdateWithoutRequiredDocumentsInput = {
|
|
783
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
784
|
-
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
785
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
786
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
787
|
-
stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
|
|
788
|
-
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
789
|
-
status?: Prisma.EnumStepStatusFieldUpdateOperationsInput | $Enums.StepStatus;
|
|
790
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
791
|
-
assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
792
|
-
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
793
|
-
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
794
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
795
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
796
|
-
approvals?: Prisma.ContractPhaseStepApprovalUncheckedUpdateManyWithoutStepNestedInput;
|
|
797
|
-
};
|
|
798
|
-
export type ContractPhaseStepCreateWithoutApprovalsInput = {
|
|
799
|
-
id?: string;
|
|
800
|
-
name: string;
|
|
801
|
-
description?: string | null;
|
|
802
|
-
stepType: $Enums.StepType;
|
|
803
|
-
order: number;
|
|
804
|
-
status?: $Enums.StepStatus;
|
|
805
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
806
|
-
dueDate?: Date | string | null;
|
|
807
|
-
completedAt?: Date | string | null;
|
|
808
|
-
createdAt?: Date | string;
|
|
809
|
-
updatedAt?: Date | string;
|
|
810
|
-
phase: Prisma.ContractPhaseCreateNestedOneWithoutStepsInput;
|
|
811
|
-
assignee?: Prisma.UserCreateNestedOneWithoutAssignedStepsInput;
|
|
812
|
-
requiredDocuments?: Prisma.ContractPhaseStepDocumentCreateNestedManyWithoutStepInput;
|
|
813
|
-
};
|
|
814
|
-
export type ContractPhaseStepUncheckedCreateWithoutApprovalsInput = {
|
|
815
|
-
id?: string;
|
|
816
|
-
phaseId: string;
|
|
817
|
-
name: string;
|
|
818
|
-
description?: string | null;
|
|
819
|
-
stepType: $Enums.StepType;
|
|
820
|
-
order: number;
|
|
821
|
-
status?: $Enums.StepStatus;
|
|
822
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
823
|
-
assigneeId?: string | null;
|
|
824
|
-
dueDate?: Date | string | null;
|
|
825
|
-
completedAt?: Date | string | null;
|
|
826
|
-
createdAt?: Date | string;
|
|
827
|
-
updatedAt?: Date | string;
|
|
828
|
-
requiredDocuments?: Prisma.ContractPhaseStepDocumentUncheckedCreateNestedManyWithoutStepInput;
|
|
829
|
-
};
|
|
830
|
-
export type ContractPhaseStepCreateOrConnectWithoutApprovalsInput = {
|
|
831
|
-
where: Prisma.ContractPhaseStepWhereUniqueInput;
|
|
832
|
-
create: Prisma.XOR<Prisma.ContractPhaseStepCreateWithoutApprovalsInput, Prisma.ContractPhaseStepUncheckedCreateWithoutApprovalsInput>;
|
|
833
|
-
};
|
|
834
|
-
export type ContractPhaseStepUpsertWithoutApprovalsInput = {
|
|
835
|
-
update: Prisma.XOR<Prisma.ContractPhaseStepUpdateWithoutApprovalsInput, Prisma.ContractPhaseStepUncheckedUpdateWithoutApprovalsInput>;
|
|
836
|
-
create: Prisma.XOR<Prisma.ContractPhaseStepCreateWithoutApprovalsInput, Prisma.ContractPhaseStepUncheckedCreateWithoutApprovalsInput>;
|
|
837
|
-
where?: Prisma.ContractPhaseStepWhereInput;
|
|
838
|
-
};
|
|
839
|
-
export type ContractPhaseStepUpdateToOneWithWhereWithoutApprovalsInput = {
|
|
840
|
-
where?: Prisma.ContractPhaseStepWhereInput;
|
|
841
|
-
data: Prisma.XOR<Prisma.ContractPhaseStepUpdateWithoutApprovalsInput, Prisma.ContractPhaseStepUncheckedUpdateWithoutApprovalsInput>;
|
|
842
|
-
};
|
|
843
|
-
export type ContractPhaseStepUpdateWithoutApprovalsInput = {
|
|
844
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
845
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
846
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
847
|
-
stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
|
|
848
|
-
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
849
|
-
status?: Prisma.EnumStepStatusFieldUpdateOperationsInput | $Enums.StepStatus;
|
|
850
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
851
|
-
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
852
|
-
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
853
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
854
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
855
|
-
phase?: Prisma.ContractPhaseUpdateOneRequiredWithoutStepsNestedInput;
|
|
856
|
-
assignee?: Prisma.UserUpdateOneWithoutAssignedStepsNestedInput;
|
|
857
|
-
requiredDocuments?: Prisma.ContractPhaseStepDocumentUpdateManyWithoutStepNestedInput;
|
|
858
|
-
};
|
|
859
|
-
export type ContractPhaseStepUncheckedUpdateWithoutApprovalsInput = {
|
|
860
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
861
|
-
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
862
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
863
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
864
|
-
stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
|
|
865
|
-
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
866
|
-
status?: Prisma.EnumStepStatusFieldUpdateOperationsInput | $Enums.StepStatus;
|
|
867
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
868
|
-
assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
869
|
-
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
870
|
-
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
871
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
872
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
873
|
-
requiredDocuments?: Prisma.ContractPhaseStepDocumentUncheckedUpdateManyWithoutStepNestedInput;
|
|
874
|
-
};
|
|
875
|
-
export type ContractPhaseStepCreateManyAssigneeInput = {
|
|
876
|
-
id?: string;
|
|
877
|
-
phaseId: string;
|
|
878
|
-
name: string;
|
|
879
|
-
description?: string | null;
|
|
880
|
-
stepType: $Enums.StepType;
|
|
881
|
-
order: number;
|
|
882
|
-
status?: $Enums.StepStatus;
|
|
883
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
884
|
-
dueDate?: Date | string | null;
|
|
885
|
-
completedAt?: Date | string | null;
|
|
886
|
-
createdAt?: Date | string;
|
|
887
|
-
updatedAt?: Date | string;
|
|
888
|
-
};
|
|
889
|
-
export type ContractPhaseStepUpdateWithoutAssigneeInput = {
|
|
890
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
891
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
892
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
893
|
-
stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
|
|
894
|
-
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
895
|
-
status?: Prisma.EnumStepStatusFieldUpdateOperationsInput | $Enums.StepStatus;
|
|
896
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
897
|
-
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
898
|
-
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
899
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
900
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
901
|
-
phase?: Prisma.ContractPhaseUpdateOneRequiredWithoutStepsNestedInput;
|
|
902
|
-
requiredDocuments?: Prisma.ContractPhaseStepDocumentUpdateManyWithoutStepNestedInput;
|
|
903
|
-
approvals?: Prisma.ContractPhaseStepApprovalUpdateManyWithoutStepNestedInput;
|
|
904
|
-
};
|
|
905
|
-
export type ContractPhaseStepUncheckedUpdateWithoutAssigneeInput = {
|
|
906
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
907
|
-
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
908
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
909
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
910
|
-
stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
|
|
911
|
-
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
912
|
-
status?: Prisma.EnumStepStatusFieldUpdateOperationsInput | $Enums.StepStatus;
|
|
913
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
914
|
-
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
915
|
-
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
916
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
917
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
918
|
-
requiredDocuments?: Prisma.ContractPhaseStepDocumentUncheckedUpdateManyWithoutStepNestedInput;
|
|
919
|
-
approvals?: Prisma.ContractPhaseStepApprovalUncheckedUpdateManyWithoutStepNestedInput;
|
|
920
|
-
};
|
|
921
|
-
export type ContractPhaseStepUncheckedUpdateManyWithoutAssigneeInput = {
|
|
922
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
923
|
-
phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
924
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
925
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
926
|
-
stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
|
|
927
|
-
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
928
|
-
status?: Prisma.EnumStepStatusFieldUpdateOperationsInput | $Enums.StepStatus;
|
|
929
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
930
|
-
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
931
|
-
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
932
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
933
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
934
|
-
};
|
|
935
|
-
export type ContractPhaseStepCreateManyPhaseInput = {
|
|
936
|
-
id?: string;
|
|
937
|
-
name: string;
|
|
938
|
-
description?: string | null;
|
|
939
|
-
stepType: $Enums.StepType;
|
|
940
|
-
order: number;
|
|
941
|
-
status?: $Enums.StepStatus;
|
|
942
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
943
|
-
assigneeId?: string | null;
|
|
944
|
-
dueDate?: Date | string | null;
|
|
945
|
-
completedAt?: Date | string | null;
|
|
946
|
-
createdAt?: Date | string;
|
|
947
|
-
updatedAt?: Date | string;
|
|
948
|
-
};
|
|
949
|
-
export type ContractPhaseStepUpdateWithoutPhaseInput = {
|
|
950
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
951
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
952
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
953
|
-
stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
|
|
954
|
-
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
955
|
-
status?: Prisma.EnumStepStatusFieldUpdateOperationsInput | $Enums.StepStatus;
|
|
956
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
957
|
-
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
958
|
-
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
959
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
960
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
961
|
-
assignee?: Prisma.UserUpdateOneWithoutAssignedStepsNestedInput;
|
|
962
|
-
requiredDocuments?: Prisma.ContractPhaseStepDocumentUpdateManyWithoutStepNestedInput;
|
|
963
|
-
approvals?: Prisma.ContractPhaseStepApprovalUpdateManyWithoutStepNestedInput;
|
|
964
|
-
};
|
|
965
|
-
export type ContractPhaseStepUncheckedUpdateWithoutPhaseInput = {
|
|
966
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
967
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
968
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
969
|
-
stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
|
|
970
|
-
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
971
|
-
status?: Prisma.EnumStepStatusFieldUpdateOperationsInput | $Enums.StepStatus;
|
|
972
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
973
|
-
assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
974
|
-
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
975
|
-
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
976
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
977
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
978
|
-
requiredDocuments?: Prisma.ContractPhaseStepDocumentUncheckedUpdateManyWithoutStepNestedInput;
|
|
979
|
-
approvals?: Prisma.ContractPhaseStepApprovalUncheckedUpdateManyWithoutStepNestedInput;
|
|
980
|
-
};
|
|
981
|
-
export type ContractPhaseStepUncheckedUpdateManyWithoutPhaseInput = {
|
|
982
|
-
id?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
983
|
-
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
984
|
-
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
985
|
-
stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
|
|
986
|
-
order?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
987
|
-
status?: Prisma.EnumStepStatusFieldUpdateOperationsInput | $Enums.StepStatus;
|
|
988
|
-
metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
|
|
989
|
-
assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
990
|
-
dueDate?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
991
|
-
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
992
|
-
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
993
|
-
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
994
|
-
};
|
|
995
|
-
/**
|
|
996
|
-
* Count Type ContractPhaseStepCountOutputType
|
|
997
|
-
*/
|
|
998
|
-
export type ContractPhaseStepCountOutputType = {
|
|
999
|
-
requiredDocuments: number;
|
|
1000
|
-
approvals: number;
|
|
1001
|
-
};
|
|
1002
|
-
export type ContractPhaseStepCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1003
|
-
requiredDocuments?: boolean | ContractPhaseStepCountOutputTypeCountRequiredDocumentsArgs;
|
|
1004
|
-
approvals?: boolean | ContractPhaseStepCountOutputTypeCountApprovalsArgs;
|
|
1005
|
-
};
|
|
1006
|
-
/**
|
|
1007
|
-
* ContractPhaseStepCountOutputType without action
|
|
1008
|
-
*/
|
|
1009
|
-
export type ContractPhaseStepCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1010
|
-
/**
|
|
1011
|
-
* Select specific fields to fetch from the ContractPhaseStepCountOutputType
|
|
1012
|
-
*/
|
|
1013
|
-
select?: Prisma.ContractPhaseStepCountOutputTypeSelect<ExtArgs> | null;
|
|
1014
|
-
};
|
|
1015
|
-
/**
|
|
1016
|
-
* ContractPhaseStepCountOutputType without action
|
|
1017
|
-
*/
|
|
1018
|
-
export type ContractPhaseStepCountOutputTypeCountRequiredDocumentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1019
|
-
where?: Prisma.ContractPhaseStepDocumentWhereInput;
|
|
1020
|
-
};
|
|
1021
|
-
/**
|
|
1022
|
-
* ContractPhaseStepCountOutputType without action
|
|
1023
|
-
*/
|
|
1024
|
-
export type ContractPhaseStepCountOutputTypeCountApprovalsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1025
|
-
where?: Prisma.ContractPhaseStepApprovalWhereInput;
|
|
1026
|
-
};
|
|
1027
|
-
export type ContractPhaseStepSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1028
|
-
id?: boolean;
|
|
1029
|
-
phaseId?: boolean;
|
|
1030
|
-
name?: boolean;
|
|
1031
|
-
description?: boolean;
|
|
1032
|
-
stepType?: boolean;
|
|
1033
|
-
order?: boolean;
|
|
1034
|
-
status?: boolean;
|
|
1035
|
-
metadata?: boolean;
|
|
1036
|
-
assigneeId?: boolean;
|
|
1037
|
-
dueDate?: boolean;
|
|
1038
|
-
completedAt?: boolean;
|
|
1039
|
-
createdAt?: boolean;
|
|
1040
|
-
updatedAt?: boolean;
|
|
1041
|
-
phase?: boolean | Prisma.ContractPhaseDefaultArgs<ExtArgs>;
|
|
1042
|
-
assignee?: boolean | Prisma.ContractPhaseStep$assigneeArgs<ExtArgs>;
|
|
1043
|
-
requiredDocuments?: boolean | Prisma.ContractPhaseStep$requiredDocumentsArgs<ExtArgs>;
|
|
1044
|
-
approvals?: boolean | Prisma.ContractPhaseStep$approvalsArgs<ExtArgs>;
|
|
1045
|
-
_count?: boolean | Prisma.ContractPhaseStepCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1046
|
-
}, ExtArgs["result"]["contractPhaseStep"]>;
|
|
1047
|
-
export type ContractPhaseStepSelectScalar = {
|
|
1048
|
-
id?: boolean;
|
|
1049
|
-
phaseId?: boolean;
|
|
1050
|
-
name?: boolean;
|
|
1051
|
-
description?: boolean;
|
|
1052
|
-
stepType?: boolean;
|
|
1053
|
-
order?: boolean;
|
|
1054
|
-
status?: boolean;
|
|
1055
|
-
metadata?: boolean;
|
|
1056
|
-
assigneeId?: boolean;
|
|
1057
|
-
dueDate?: boolean;
|
|
1058
|
-
completedAt?: boolean;
|
|
1059
|
-
createdAt?: boolean;
|
|
1060
|
-
updatedAt?: boolean;
|
|
1061
|
-
};
|
|
1062
|
-
export type ContractPhaseStepOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "phaseId" | "name" | "description" | "stepType" | "order" | "status" | "metadata" | "assigneeId" | "dueDate" | "completedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["contractPhaseStep"]>;
|
|
1063
|
-
export type ContractPhaseStepInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1064
|
-
phase?: boolean | Prisma.ContractPhaseDefaultArgs<ExtArgs>;
|
|
1065
|
-
assignee?: boolean | Prisma.ContractPhaseStep$assigneeArgs<ExtArgs>;
|
|
1066
|
-
requiredDocuments?: boolean | Prisma.ContractPhaseStep$requiredDocumentsArgs<ExtArgs>;
|
|
1067
|
-
approvals?: boolean | Prisma.ContractPhaseStep$approvalsArgs<ExtArgs>;
|
|
1068
|
-
_count?: boolean | Prisma.ContractPhaseStepCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1069
|
-
};
|
|
1070
|
-
export type $ContractPhaseStepPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1071
|
-
name: "ContractPhaseStep";
|
|
1072
|
-
objects: {
|
|
1073
|
-
phase: Prisma.$ContractPhasePayload<ExtArgs>;
|
|
1074
|
-
assignee: Prisma.$UserPayload<ExtArgs> | null;
|
|
1075
|
-
requiredDocuments: Prisma.$ContractPhaseStepDocumentPayload<ExtArgs>[];
|
|
1076
|
-
approvals: Prisma.$ContractPhaseStepApprovalPayload<ExtArgs>[];
|
|
1077
|
-
};
|
|
1078
|
-
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1079
|
-
id: string;
|
|
1080
|
-
phaseId: string;
|
|
1081
|
-
name: string;
|
|
1082
|
-
description: string | null;
|
|
1083
|
-
stepType: $Enums.StepType;
|
|
1084
|
-
order: number;
|
|
1085
|
-
status: $Enums.StepStatus;
|
|
1086
|
-
metadata: runtime.JsonValue | null;
|
|
1087
|
-
assigneeId: string | null;
|
|
1088
|
-
dueDate: Date | null;
|
|
1089
|
-
completedAt: Date | null;
|
|
1090
|
-
createdAt: Date;
|
|
1091
|
-
updatedAt: Date;
|
|
1092
|
-
}, ExtArgs["result"]["contractPhaseStep"]>;
|
|
1093
|
-
composites: {};
|
|
1094
|
-
};
|
|
1095
|
-
export type ContractPhaseStepGetPayload<S extends boolean | null | undefined | ContractPhaseStepDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ContractPhaseStepPayload, S>;
|
|
1096
|
-
export type ContractPhaseStepCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ContractPhaseStepFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1097
|
-
select?: ContractPhaseStepCountAggregateInputType | true;
|
|
1098
|
-
};
|
|
1099
|
-
export interface ContractPhaseStepDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1100
|
-
[K: symbol]: {
|
|
1101
|
-
types: Prisma.TypeMap<ExtArgs>['model']['ContractPhaseStep'];
|
|
1102
|
-
meta: {
|
|
1103
|
-
name: 'ContractPhaseStep';
|
|
1104
|
-
};
|
|
1105
|
-
};
|
|
1106
|
-
/**
|
|
1107
|
-
* Find zero or one ContractPhaseStep that matches the filter.
|
|
1108
|
-
* @param {ContractPhaseStepFindUniqueArgs} args - Arguments to find a ContractPhaseStep
|
|
1109
|
-
* @example
|
|
1110
|
-
* // Get one ContractPhaseStep
|
|
1111
|
-
* const contractPhaseStep = await prisma.contractPhaseStep.findUnique({
|
|
1112
|
-
* where: {
|
|
1113
|
-
* // ... provide filter here
|
|
1114
|
-
* }
|
|
1115
|
-
* })
|
|
1116
|
-
*/
|
|
1117
|
-
findUnique<T extends ContractPhaseStepFindUniqueArgs>(args: Prisma.SelectSubset<T, ContractPhaseStepFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ContractPhaseStepClient<runtime.Types.Result.GetResult<Prisma.$ContractPhaseStepPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1118
|
-
/**
|
|
1119
|
-
* Find one ContractPhaseStep that matches the filter or throw an error with `error.code='P2025'`
|
|
1120
|
-
* if no matches were found.
|
|
1121
|
-
* @param {ContractPhaseStepFindUniqueOrThrowArgs} args - Arguments to find a ContractPhaseStep
|
|
1122
|
-
* @example
|
|
1123
|
-
* // Get one ContractPhaseStep
|
|
1124
|
-
* const contractPhaseStep = await prisma.contractPhaseStep.findUniqueOrThrow({
|
|
1125
|
-
* where: {
|
|
1126
|
-
* // ... provide filter here
|
|
1127
|
-
* }
|
|
1128
|
-
* })
|
|
1129
|
-
*/
|
|
1130
|
-
findUniqueOrThrow<T extends ContractPhaseStepFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ContractPhaseStepFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ContractPhaseStepClient<runtime.Types.Result.GetResult<Prisma.$ContractPhaseStepPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1131
|
-
/**
|
|
1132
|
-
* Find the first ContractPhaseStep that matches the filter.
|
|
1133
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1134
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1135
|
-
* @param {ContractPhaseStepFindFirstArgs} args - Arguments to find a ContractPhaseStep
|
|
1136
|
-
* @example
|
|
1137
|
-
* // Get one ContractPhaseStep
|
|
1138
|
-
* const contractPhaseStep = await prisma.contractPhaseStep.findFirst({
|
|
1139
|
-
* where: {
|
|
1140
|
-
* // ... provide filter here
|
|
1141
|
-
* }
|
|
1142
|
-
* })
|
|
1143
|
-
*/
|
|
1144
|
-
findFirst<T extends ContractPhaseStepFindFirstArgs>(args?: Prisma.SelectSubset<T, ContractPhaseStepFindFirstArgs<ExtArgs>>): Prisma.Prisma__ContractPhaseStepClient<runtime.Types.Result.GetResult<Prisma.$ContractPhaseStepPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1145
|
-
/**
|
|
1146
|
-
* Find the first ContractPhaseStep that matches the filter or
|
|
1147
|
-
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1148
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1149
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1150
|
-
* @param {ContractPhaseStepFindFirstOrThrowArgs} args - Arguments to find a ContractPhaseStep
|
|
1151
|
-
* @example
|
|
1152
|
-
* // Get one ContractPhaseStep
|
|
1153
|
-
* const contractPhaseStep = await prisma.contractPhaseStep.findFirstOrThrow({
|
|
1154
|
-
* where: {
|
|
1155
|
-
* // ... provide filter here
|
|
1156
|
-
* }
|
|
1157
|
-
* })
|
|
1158
|
-
*/
|
|
1159
|
-
findFirstOrThrow<T extends ContractPhaseStepFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ContractPhaseStepFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ContractPhaseStepClient<runtime.Types.Result.GetResult<Prisma.$ContractPhaseStepPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1160
|
-
/**
|
|
1161
|
-
* Find zero or more ContractPhaseSteps that matches the filter.
|
|
1162
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1163
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1164
|
-
* @param {ContractPhaseStepFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1165
|
-
* @example
|
|
1166
|
-
* // Get all ContractPhaseSteps
|
|
1167
|
-
* const contractPhaseSteps = await prisma.contractPhaseStep.findMany()
|
|
1168
|
-
*
|
|
1169
|
-
* // Get first 10 ContractPhaseSteps
|
|
1170
|
-
* const contractPhaseSteps = await prisma.contractPhaseStep.findMany({ take: 10 })
|
|
1171
|
-
*
|
|
1172
|
-
* // Only select the `id`
|
|
1173
|
-
* const contractPhaseStepWithIdOnly = await prisma.contractPhaseStep.findMany({ select: { id: true } })
|
|
1174
|
-
*
|
|
1175
|
-
*/
|
|
1176
|
-
findMany<T extends ContractPhaseStepFindManyArgs>(args?: Prisma.SelectSubset<T, ContractPhaseStepFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractPhaseStepPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
1177
|
-
/**
|
|
1178
|
-
* Create a ContractPhaseStep.
|
|
1179
|
-
* @param {ContractPhaseStepCreateArgs} args - Arguments to create a ContractPhaseStep.
|
|
1180
|
-
* @example
|
|
1181
|
-
* // Create one ContractPhaseStep
|
|
1182
|
-
* const ContractPhaseStep = await prisma.contractPhaseStep.create({
|
|
1183
|
-
* data: {
|
|
1184
|
-
* // ... data to create a ContractPhaseStep
|
|
1185
|
-
* }
|
|
1186
|
-
* })
|
|
1187
|
-
*
|
|
1188
|
-
*/
|
|
1189
|
-
create<T extends ContractPhaseStepCreateArgs>(args: Prisma.SelectSubset<T, ContractPhaseStepCreateArgs<ExtArgs>>): Prisma.Prisma__ContractPhaseStepClient<runtime.Types.Result.GetResult<Prisma.$ContractPhaseStepPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1190
|
-
/**
|
|
1191
|
-
* Create many ContractPhaseSteps.
|
|
1192
|
-
* @param {ContractPhaseStepCreateManyArgs} args - Arguments to create many ContractPhaseSteps.
|
|
1193
|
-
* @example
|
|
1194
|
-
* // Create many ContractPhaseSteps
|
|
1195
|
-
* const contractPhaseStep = await prisma.contractPhaseStep.createMany({
|
|
1196
|
-
* data: [
|
|
1197
|
-
* // ... provide data here
|
|
1198
|
-
* ]
|
|
1199
|
-
* })
|
|
1200
|
-
*
|
|
1201
|
-
*/
|
|
1202
|
-
createMany<T extends ContractPhaseStepCreateManyArgs>(args?: Prisma.SelectSubset<T, ContractPhaseStepCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1203
|
-
/**
|
|
1204
|
-
* Delete a ContractPhaseStep.
|
|
1205
|
-
* @param {ContractPhaseStepDeleteArgs} args - Arguments to delete one ContractPhaseStep.
|
|
1206
|
-
* @example
|
|
1207
|
-
* // Delete one ContractPhaseStep
|
|
1208
|
-
* const ContractPhaseStep = await prisma.contractPhaseStep.delete({
|
|
1209
|
-
* where: {
|
|
1210
|
-
* // ... filter to delete one ContractPhaseStep
|
|
1211
|
-
* }
|
|
1212
|
-
* })
|
|
1213
|
-
*
|
|
1214
|
-
*/
|
|
1215
|
-
delete<T extends ContractPhaseStepDeleteArgs>(args: Prisma.SelectSubset<T, ContractPhaseStepDeleteArgs<ExtArgs>>): Prisma.Prisma__ContractPhaseStepClient<runtime.Types.Result.GetResult<Prisma.$ContractPhaseStepPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1216
|
-
/**
|
|
1217
|
-
* Update one ContractPhaseStep.
|
|
1218
|
-
* @param {ContractPhaseStepUpdateArgs} args - Arguments to update one ContractPhaseStep.
|
|
1219
|
-
* @example
|
|
1220
|
-
* // Update one ContractPhaseStep
|
|
1221
|
-
* const contractPhaseStep = await prisma.contractPhaseStep.update({
|
|
1222
|
-
* where: {
|
|
1223
|
-
* // ... provide filter here
|
|
1224
|
-
* },
|
|
1225
|
-
* data: {
|
|
1226
|
-
* // ... provide data here
|
|
1227
|
-
* }
|
|
1228
|
-
* })
|
|
1229
|
-
*
|
|
1230
|
-
*/
|
|
1231
|
-
update<T extends ContractPhaseStepUpdateArgs>(args: Prisma.SelectSubset<T, ContractPhaseStepUpdateArgs<ExtArgs>>): Prisma.Prisma__ContractPhaseStepClient<runtime.Types.Result.GetResult<Prisma.$ContractPhaseStepPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1232
|
-
/**
|
|
1233
|
-
* Delete zero or more ContractPhaseSteps.
|
|
1234
|
-
* @param {ContractPhaseStepDeleteManyArgs} args - Arguments to filter ContractPhaseSteps to delete.
|
|
1235
|
-
* @example
|
|
1236
|
-
* // Delete a few ContractPhaseSteps
|
|
1237
|
-
* const { count } = await prisma.contractPhaseStep.deleteMany({
|
|
1238
|
-
* where: {
|
|
1239
|
-
* // ... provide filter here
|
|
1240
|
-
* }
|
|
1241
|
-
* })
|
|
1242
|
-
*
|
|
1243
|
-
*/
|
|
1244
|
-
deleteMany<T extends ContractPhaseStepDeleteManyArgs>(args?: Prisma.SelectSubset<T, ContractPhaseStepDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1245
|
-
/**
|
|
1246
|
-
* Update zero or more ContractPhaseSteps.
|
|
1247
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1248
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1249
|
-
* @param {ContractPhaseStepUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1250
|
-
* @example
|
|
1251
|
-
* // Update many ContractPhaseSteps
|
|
1252
|
-
* const contractPhaseStep = await prisma.contractPhaseStep.updateMany({
|
|
1253
|
-
* where: {
|
|
1254
|
-
* // ... provide filter here
|
|
1255
|
-
* },
|
|
1256
|
-
* data: {
|
|
1257
|
-
* // ... provide data here
|
|
1258
|
-
* }
|
|
1259
|
-
* })
|
|
1260
|
-
*
|
|
1261
|
-
*/
|
|
1262
|
-
updateMany<T extends ContractPhaseStepUpdateManyArgs>(args: Prisma.SelectSubset<T, ContractPhaseStepUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1263
|
-
/**
|
|
1264
|
-
* Create or update one ContractPhaseStep.
|
|
1265
|
-
* @param {ContractPhaseStepUpsertArgs} args - Arguments to update or create a ContractPhaseStep.
|
|
1266
|
-
* @example
|
|
1267
|
-
* // Update or create a ContractPhaseStep
|
|
1268
|
-
* const contractPhaseStep = await prisma.contractPhaseStep.upsert({
|
|
1269
|
-
* create: {
|
|
1270
|
-
* // ... data to create a ContractPhaseStep
|
|
1271
|
-
* },
|
|
1272
|
-
* update: {
|
|
1273
|
-
* // ... in case it already exists, update
|
|
1274
|
-
* },
|
|
1275
|
-
* where: {
|
|
1276
|
-
* // ... the filter for the ContractPhaseStep we want to update
|
|
1277
|
-
* }
|
|
1278
|
-
* })
|
|
1279
|
-
*/
|
|
1280
|
-
upsert<T extends ContractPhaseStepUpsertArgs>(args: Prisma.SelectSubset<T, ContractPhaseStepUpsertArgs<ExtArgs>>): Prisma.Prisma__ContractPhaseStepClient<runtime.Types.Result.GetResult<Prisma.$ContractPhaseStepPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1281
|
-
/**
|
|
1282
|
-
* Count the number of ContractPhaseSteps.
|
|
1283
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1284
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1285
|
-
* @param {ContractPhaseStepCountArgs} args - Arguments to filter ContractPhaseSteps to count.
|
|
1286
|
-
* @example
|
|
1287
|
-
* // Count the number of ContractPhaseSteps
|
|
1288
|
-
* const count = await prisma.contractPhaseStep.count({
|
|
1289
|
-
* where: {
|
|
1290
|
-
* // ... the filter for the ContractPhaseSteps we want to count
|
|
1291
|
-
* }
|
|
1292
|
-
* })
|
|
1293
|
-
**/
|
|
1294
|
-
count<T extends ContractPhaseStepCountArgs>(args?: Prisma.Subset<T, ContractPhaseStepCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ContractPhaseStepCountAggregateOutputType> : number>;
|
|
1295
|
-
/**
|
|
1296
|
-
* Allows you to perform aggregations operations on a ContractPhaseStep.
|
|
1297
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1298
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1299
|
-
* @param {ContractPhaseStepAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1300
|
-
* @example
|
|
1301
|
-
* // Ordered by age ascending
|
|
1302
|
-
* // Where email contains prisma.io
|
|
1303
|
-
* // Limited to the 10 users
|
|
1304
|
-
* const aggregations = await prisma.user.aggregate({
|
|
1305
|
-
* _avg: {
|
|
1306
|
-
* age: true,
|
|
1307
|
-
* },
|
|
1308
|
-
* where: {
|
|
1309
|
-
* email: {
|
|
1310
|
-
* contains: "prisma.io",
|
|
1311
|
-
* },
|
|
1312
|
-
* },
|
|
1313
|
-
* orderBy: {
|
|
1314
|
-
* age: "asc",
|
|
1315
|
-
* },
|
|
1316
|
-
* take: 10,
|
|
1317
|
-
* })
|
|
1318
|
-
**/
|
|
1319
|
-
aggregate<T extends ContractPhaseStepAggregateArgs>(args: Prisma.Subset<T, ContractPhaseStepAggregateArgs>): Prisma.PrismaPromise<GetContractPhaseStepAggregateType<T>>;
|
|
1320
|
-
/**
|
|
1321
|
-
* Group by ContractPhaseStep.
|
|
1322
|
-
* Note, that providing `undefined` is treated as the value not being there.
|
|
1323
|
-
* Read more here: https://pris.ly/d/null-undefined
|
|
1324
|
-
* @param {ContractPhaseStepGroupByArgs} args - Group by arguments.
|
|
1325
|
-
* @example
|
|
1326
|
-
* // Group by city, order by createdAt, get count
|
|
1327
|
-
* const result = await prisma.user.groupBy({
|
|
1328
|
-
* by: ['city', 'createdAt'],
|
|
1329
|
-
* orderBy: {
|
|
1330
|
-
* createdAt: true
|
|
1331
|
-
* },
|
|
1332
|
-
* _count: {
|
|
1333
|
-
* _all: true
|
|
1334
|
-
* },
|
|
1335
|
-
* })
|
|
1336
|
-
*
|
|
1337
|
-
**/
|
|
1338
|
-
groupBy<T extends ContractPhaseStepGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1339
|
-
orderBy: ContractPhaseStepGroupByArgs['orderBy'];
|
|
1340
|
-
} : {
|
|
1341
|
-
orderBy?: ContractPhaseStepGroupByArgs['orderBy'];
|
|
1342
|
-
}, 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 ? {
|
|
1343
|
-
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1344
|
-
Error,
|
|
1345
|
-
'Field ',
|
|
1346
|
-
P,
|
|
1347
|
-
` in "having" needs to be provided in "by"`
|
|
1348
|
-
];
|
|
1349
|
-
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1350
|
-
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1351
|
-
}[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 ? {} : {
|
|
1352
|
-
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1353
|
-
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1354
|
-
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1355
|
-
}[OrderFields]>(args: Prisma.SubsetIntersection<T, ContractPhaseStepGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetContractPhaseStepGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1356
|
-
/**
|
|
1357
|
-
* Fields of the ContractPhaseStep model
|
|
1358
|
-
*/
|
|
1359
|
-
readonly fields: ContractPhaseStepFieldRefs;
|
|
1360
|
-
}
|
|
1361
|
-
/**
|
|
1362
|
-
* The delegate class that acts as a "Promise-like" for ContractPhaseStep.
|
|
1363
|
-
* Why is this prefixed with `Prisma__`?
|
|
1364
|
-
* Because we want to prevent naming conflicts as mentioned in
|
|
1365
|
-
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1366
|
-
*/
|
|
1367
|
-
export interface Prisma__ContractPhaseStepClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1368
|
-
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1369
|
-
phase<T extends Prisma.ContractPhaseDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ContractPhaseDefaultArgs<ExtArgs>>): Prisma.Prisma__ContractPhaseClient<runtime.Types.Result.GetResult<Prisma.$ContractPhasePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1370
|
-
assignee<T extends Prisma.ContractPhaseStep$assigneeArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ContractPhaseStep$assigneeArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1371
|
-
requiredDocuments<T extends Prisma.ContractPhaseStep$requiredDocumentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ContractPhaseStep$requiredDocumentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractPhaseStepDocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1372
|
-
approvals<T extends Prisma.ContractPhaseStep$approvalsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ContractPhaseStep$approvalsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractPhaseStepApprovalPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1373
|
-
/**
|
|
1374
|
-
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1375
|
-
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1376
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1377
|
-
* @returns A Promise for the completion of which ever callback is executed.
|
|
1378
|
-
*/
|
|
1379
|
-
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>;
|
|
1380
|
-
/**
|
|
1381
|
-
* Attaches a callback for only the rejection of the Promise.
|
|
1382
|
-
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1383
|
-
* @returns A Promise for the completion of the callback.
|
|
1384
|
-
*/
|
|
1385
|
-
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1386
|
-
/**
|
|
1387
|
-
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1388
|
-
* resolved value cannot be modified from the callback.
|
|
1389
|
-
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1390
|
-
* @returns A Promise for the completion of the callback.
|
|
1391
|
-
*/
|
|
1392
|
-
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1393
|
-
}
|
|
1394
|
-
/**
|
|
1395
|
-
* Fields of the ContractPhaseStep model
|
|
1396
|
-
*/
|
|
1397
|
-
export interface ContractPhaseStepFieldRefs {
|
|
1398
|
-
readonly id: Prisma.FieldRef<"ContractPhaseStep", 'String'>;
|
|
1399
|
-
readonly phaseId: Prisma.FieldRef<"ContractPhaseStep", 'String'>;
|
|
1400
|
-
readonly name: Prisma.FieldRef<"ContractPhaseStep", 'String'>;
|
|
1401
|
-
readonly description: Prisma.FieldRef<"ContractPhaseStep", 'String'>;
|
|
1402
|
-
readonly stepType: Prisma.FieldRef<"ContractPhaseStep", 'StepType'>;
|
|
1403
|
-
readonly order: Prisma.FieldRef<"ContractPhaseStep", 'Int'>;
|
|
1404
|
-
readonly status: Prisma.FieldRef<"ContractPhaseStep", 'StepStatus'>;
|
|
1405
|
-
readonly metadata: Prisma.FieldRef<"ContractPhaseStep", 'Json'>;
|
|
1406
|
-
readonly assigneeId: Prisma.FieldRef<"ContractPhaseStep", 'String'>;
|
|
1407
|
-
readonly dueDate: Prisma.FieldRef<"ContractPhaseStep", 'DateTime'>;
|
|
1408
|
-
readonly completedAt: Prisma.FieldRef<"ContractPhaseStep", 'DateTime'>;
|
|
1409
|
-
readonly createdAt: Prisma.FieldRef<"ContractPhaseStep", 'DateTime'>;
|
|
1410
|
-
readonly updatedAt: Prisma.FieldRef<"ContractPhaseStep", 'DateTime'>;
|
|
1411
|
-
}
|
|
1412
|
-
/**
|
|
1413
|
-
* ContractPhaseStep findUnique
|
|
1414
|
-
*/
|
|
1415
|
-
export type ContractPhaseStepFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1416
|
-
/**
|
|
1417
|
-
* Select specific fields to fetch from the ContractPhaseStep
|
|
1418
|
-
*/
|
|
1419
|
-
select?: Prisma.ContractPhaseStepSelect<ExtArgs> | null;
|
|
1420
|
-
/**
|
|
1421
|
-
* Omit specific fields from the ContractPhaseStep
|
|
1422
|
-
*/
|
|
1423
|
-
omit?: Prisma.ContractPhaseStepOmit<ExtArgs> | null;
|
|
1424
|
-
/**
|
|
1425
|
-
* Choose, which related nodes to fetch as well
|
|
1426
|
-
*/
|
|
1427
|
-
include?: Prisma.ContractPhaseStepInclude<ExtArgs> | null;
|
|
1428
|
-
/**
|
|
1429
|
-
* Filter, which ContractPhaseStep to fetch.
|
|
1430
|
-
*/
|
|
1431
|
-
where: Prisma.ContractPhaseStepWhereUniqueInput;
|
|
1432
|
-
};
|
|
1433
|
-
/**
|
|
1434
|
-
* ContractPhaseStep findUniqueOrThrow
|
|
1435
|
-
*/
|
|
1436
|
-
export type ContractPhaseStepFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1437
|
-
/**
|
|
1438
|
-
* Select specific fields to fetch from the ContractPhaseStep
|
|
1439
|
-
*/
|
|
1440
|
-
select?: Prisma.ContractPhaseStepSelect<ExtArgs> | null;
|
|
1441
|
-
/**
|
|
1442
|
-
* Omit specific fields from the ContractPhaseStep
|
|
1443
|
-
*/
|
|
1444
|
-
omit?: Prisma.ContractPhaseStepOmit<ExtArgs> | null;
|
|
1445
|
-
/**
|
|
1446
|
-
* Choose, which related nodes to fetch as well
|
|
1447
|
-
*/
|
|
1448
|
-
include?: Prisma.ContractPhaseStepInclude<ExtArgs> | null;
|
|
1449
|
-
/**
|
|
1450
|
-
* Filter, which ContractPhaseStep to fetch.
|
|
1451
|
-
*/
|
|
1452
|
-
where: Prisma.ContractPhaseStepWhereUniqueInput;
|
|
1453
|
-
};
|
|
1454
|
-
/**
|
|
1455
|
-
* ContractPhaseStep findFirst
|
|
1456
|
-
*/
|
|
1457
|
-
export type ContractPhaseStepFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1458
|
-
/**
|
|
1459
|
-
* Select specific fields to fetch from the ContractPhaseStep
|
|
1460
|
-
*/
|
|
1461
|
-
select?: Prisma.ContractPhaseStepSelect<ExtArgs> | null;
|
|
1462
|
-
/**
|
|
1463
|
-
* Omit specific fields from the ContractPhaseStep
|
|
1464
|
-
*/
|
|
1465
|
-
omit?: Prisma.ContractPhaseStepOmit<ExtArgs> | null;
|
|
1466
|
-
/**
|
|
1467
|
-
* Choose, which related nodes to fetch as well
|
|
1468
|
-
*/
|
|
1469
|
-
include?: Prisma.ContractPhaseStepInclude<ExtArgs> | null;
|
|
1470
|
-
/**
|
|
1471
|
-
* Filter, which ContractPhaseStep to fetch.
|
|
1472
|
-
*/
|
|
1473
|
-
where?: Prisma.ContractPhaseStepWhereInput;
|
|
1474
|
-
/**
|
|
1475
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1476
|
-
*
|
|
1477
|
-
* Determine the order of ContractPhaseSteps to fetch.
|
|
1478
|
-
*/
|
|
1479
|
-
orderBy?: Prisma.ContractPhaseStepOrderByWithRelationInput | Prisma.ContractPhaseStepOrderByWithRelationInput[];
|
|
1480
|
-
/**
|
|
1481
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1482
|
-
*
|
|
1483
|
-
* Sets the position for searching for ContractPhaseSteps.
|
|
1484
|
-
*/
|
|
1485
|
-
cursor?: Prisma.ContractPhaseStepWhereUniqueInput;
|
|
1486
|
-
/**
|
|
1487
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1488
|
-
*
|
|
1489
|
-
* Take `±n` ContractPhaseSteps from the position of the cursor.
|
|
1490
|
-
*/
|
|
1491
|
-
take?: number;
|
|
1492
|
-
/**
|
|
1493
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1494
|
-
*
|
|
1495
|
-
* Skip the first `n` ContractPhaseSteps.
|
|
1496
|
-
*/
|
|
1497
|
-
skip?: number;
|
|
1498
|
-
/**
|
|
1499
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1500
|
-
*
|
|
1501
|
-
* Filter by unique combinations of ContractPhaseSteps.
|
|
1502
|
-
*/
|
|
1503
|
-
distinct?: Prisma.ContractPhaseStepScalarFieldEnum | Prisma.ContractPhaseStepScalarFieldEnum[];
|
|
1504
|
-
};
|
|
1505
|
-
/**
|
|
1506
|
-
* ContractPhaseStep findFirstOrThrow
|
|
1507
|
-
*/
|
|
1508
|
-
export type ContractPhaseStepFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1509
|
-
/**
|
|
1510
|
-
* Select specific fields to fetch from the ContractPhaseStep
|
|
1511
|
-
*/
|
|
1512
|
-
select?: Prisma.ContractPhaseStepSelect<ExtArgs> | null;
|
|
1513
|
-
/**
|
|
1514
|
-
* Omit specific fields from the ContractPhaseStep
|
|
1515
|
-
*/
|
|
1516
|
-
omit?: Prisma.ContractPhaseStepOmit<ExtArgs> | null;
|
|
1517
|
-
/**
|
|
1518
|
-
* Choose, which related nodes to fetch as well
|
|
1519
|
-
*/
|
|
1520
|
-
include?: Prisma.ContractPhaseStepInclude<ExtArgs> | null;
|
|
1521
|
-
/**
|
|
1522
|
-
* Filter, which ContractPhaseStep to fetch.
|
|
1523
|
-
*/
|
|
1524
|
-
where?: Prisma.ContractPhaseStepWhereInput;
|
|
1525
|
-
/**
|
|
1526
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1527
|
-
*
|
|
1528
|
-
* Determine the order of ContractPhaseSteps to fetch.
|
|
1529
|
-
*/
|
|
1530
|
-
orderBy?: Prisma.ContractPhaseStepOrderByWithRelationInput | Prisma.ContractPhaseStepOrderByWithRelationInput[];
|
|
1531
|
-
/**
|
|
1532
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1533
|
-
*
|
|
1534
|
-
* Sets the position for searching for ContractPhaseSteps.
|
|
1535
|
-
*/
|
|
1536
|
-
cursor?: Prisma.ContractPhaseStepWhereUniqueInput;
|
|
1537
|
-
/**
|
|
1538
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1539
|
-
*
|
|
1540
|
-
* Take `±n` ContractPhaseSteps from the position of the cursor.
|
|
1541
|
-
*/
|
|
1542
|
-
take?: number;
|
|
1543
|
-
/**
|
|
1544
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1545
|
-
*
|
|
1546
|
-
* Skip the first `n` ContractPhaseSteps.
|
|
1547
|
-
*/
|
|
1548
|
-
skip?: number;
|
|
1549
|
-
/**
|
|
1550
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1551
|
-
*
|
|
1552
|
-
* Filter by unique combinations of ContractPhaseSteps.
|
|
1553
|
-
*/
|
|
1554
|
-
distinct?: Prisma.ContractPhaseStepScalarFieldEnum | Prisma.ContractPhaseStepScalarFieldEnum[];
|
|
1555
|
-
};
|
|
1556
|
-
/**
|
|
1557
|
-
* ContractPhaseStep findMany
|
|
1558
|
-
*/
|
|
1559
|
-
export type ContractPhaseStepFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1560
|
-
/**
|
|
1561
|
-
* Select specific fields to fetch from the ContractPhaseStep
|
|
1562
|
-
*/
|
|
1563
|
-
select?: Prisma.ContractPhaseStepSelect<ExtArgs> | null;
|
|
1564
|
-
/**
|
|
1565
|
-
* Omit specific fields from the ContractPhaseStep
|
|
1566
|
-
*/
|
|
1567
|
-
omit?: Prisma.ContractPhaseStepOmit<ExtArgs> | null;
|
|
1568
|
-
/**
|
|
1569
|
-
* Choose, which related nodes to fetch as well
|
|
1570
|
-
*/
|
|
1571
|
-
include?: Prisma.ContractPhaseStepInclude<ExtArgs> | null;
|
|
1572
|
-
/**
|
|
1573
|
-
* Filter, which ContractPhaseSteps to fetch.
|
|
1574
|
-
*/
|
|
1575
|
-
where?: Prisma.ContractPhaseStepWhereInput;
|
|
1576
|
-
/**
|
|
1577
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1578
|
-
*
|
|
1579
|
-
* Determine the order of ContractPhaseSteps to fetch.
|
|
1580
|
-
*/
|
|
1581
|
-
orderBy?: Prisma.ContractPhaseStepOrderByWithRelationInput | Prisma.ContractPhaseStepOrderByWithRelationInput[];
|
|
1582
|
-
/**
|
|
1583
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1584
|
-
*
|
|
1585
|
-
* Sets the position for listing ContractPhaseSteps.
|
|
1586
|
-
*/
|
|
1587
|
-
cursor?: Prisma.ContractPhaseStepWhereUniqueInput;
|
|
1588
|
-
/**
|
|
1589
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1590
|
-
*
|
|
1591
|
-
* Take `±n` ContractPhaseSteps from the position of the cursor.
|
|
1592
|
-
*/
|
|
1593
|
-
take?: number;
|
|
1594
|
-
/**
|
|
1595
|
-
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1596
|
-
*
|
|
1597
|
-
* Skip the first `n` ContractPhaseSteps.
|
|
1598
|
-
*/
|
|
1599
|
-
skip?: number;
|
|
1600
|
-
distinct?: Prisma.ContractPhaseStepScalarFieldEnum | Prisma.ContractPhaseStepScalarFieldEnum[];
|
|
1601
|
-
};
|
|
1602
|
-
/**
|
|
1603
|
-
* ContractPhaseStep create
|
|
1604
|
-
*/
|
|
1605
|
-
export type ContractPhaseStepCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1606
|
-
/**
|
|
1607
|
-
* Select specific fields to fetch from the ContractPhaseStep
|
|
1608
|
-
*/
|
|
1609
|
-
select?: Prisma.ContractPhaseStepSelect<ExtArgs> | null;
|
|
1610
|
-
/**
|
|
1611
|
-
* Omit specific fields from the ContractPhaseStep
|
|
1612
|
-
*/
|
|
1613
|
-
omit?: Prisma.ContractPhaseStepOmit<ExtArgs> | null;
|
|
1614
|
-
/**
|
|
1615
|
-
* Choose, which related nodes to fetch as well
|
|
1616
|
-
*/
|
|
1617
|
-
include?: Prisma.ContractPhaseStepInclude<ExtArgs> | null;
|
|
1618
|
-
/**
|
|
1619
|
-
* The data needed to create a ContractPhaseStep.
|
|
1620
|
-
*/
|
|
1621
|
-
data: Prisma.XOR<Prisma.ContractPhaseStepCreateInput, Prisma.ContractPhaseStepUncheckedCreateInput>;
|
|
1622
|
-
};
|
|
1623
|
-
/**
|
|
1624
|
-
* ContractPhaseStep createMany
|
|
1625
|
-
*/
|
|
1626
|
-
export type ContractPhaseStepCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1627
|
-
/**
|
|
1628
|
-
* The data used to create many ContractPhaseSteps.
|
|
1629
|
-
*/
|
|
1630
|
-
data: Prisma.ContractPhaseStepCreateManyInput | Prisma.ContractPhaseStepCreateManyInput[];
|
|
1631
|
-
skipDuplicates?: boolean;
|
|
1632
|
-
};
|
|
1633
|
-
/**
|
|
1634
|
-
* ContractPhaseStep update
|
|
1635
|
-
*/
|
|
1636
|
-
export type ContractPhaseStepUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1637
|
-
/**
|
|
1638
|
-
* Select specific fields to fetch from the ContractPhaseStep
|
|
1639
|
-
*/
|
|
1640
|
-
select?: Prisma.ContractPhaseStepSelect<ExtArgs> | null;
|
|
1641
|
-
/**
|
|
1642
|
-
* Omit specific fields from the ContractPhaseStep
|
|
1643
|
-
*/
|
|
1644
|
-
omit?: Prisma.ContractPhaseStepOmit<ExtArgs> | null;
|
|
1645
|
-
/**
|
|
1646
|
-
* Choose, which related nodes to fetch as well
|
|
1647
|
-
*/
|
|
1648
|
-
include?: Prisma.ContractPhaseStepInclude<ExtArgs> | null;
|
|
1649
|
-
/**
|
|
1650
|
-
* The data needed to update a ContractPhaseStep.
|
|
1651
|
-
*/
|
|
1652
|
-
data: Prisma.XOR<Prisma.ContractPhaseStepUpdateInput, Prisma.ContractPhaseStepUncheckedUpdateInput>;
|
|
1653
|
-
/**
|
|
1654
|
-
* Choose, which ContractPhaseStep to update.
|
|
1655
|
-
*/
|
|
1656
|
-
where: Prisma.ContractPhaseStepWhereUniqueInput;
|
|
1657
|
-
};
|
|
1658
|
-
/**
|
|
1659
|
-
* ContractPhaseStep updateMany
|
|
1660
|
-
*/
|
|
1661
|
-
export type ContractPhaseStepUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1662
|
-
/**
|
|
1663
|
-
* The data used to update ContractPhaseSteps.
|
|
1664
|
-
*/
|
|
1665
|
-
data: Prisma.XOR<Prisma.ContractPhaseStepUpdateManyMutationInput, Prisma.ContractPhaseStepUncheckedUpdateManyInput>;
|
|
1666
|
-
/**
|
|
1667
|
-
* Filter which ContractPhaseSteps to update
|
|
1668
|
-
*/
|
|
1669
|
-
where?: Prisma.ContractPhaseStepWhereInput;
|
|
1670
|
-
/**
|
|
1671
|
-
* Limit how many ContractPhaseSteps to update.
|
|
1672
|
-
*/
|
|
1673
|
-
limit?: number;
|
|
1674
|
-
};
|
|
1675
|
-
/**
|
|
1676
|
-
* ContractPhaseStep upsert
|
|
1677
|
-
*/
|
|
1678
|
-
export type ContractPhaseStepUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1679
|
-
/**
|
|
1680
|
-
* Select specific fields to fetch from the ContractPhaseStep
|
|
1681
|
-
*/
|
|
1682
|
-
select?: Prisma.ContractPhaseStepSelect<ExtArgs> | null;
|
|
1683
|
-
/**
|
|
1684
|
-
* Omit specific fields from the ContractPhaseStep
|
|
1685
|
-
*/
|
|
1686
|
-
omit?: Prisma.ContractPhaseStepOmit<ExtArgs> | null;
|
|
1687
|
-
/**
|
|
1688
|
-
* Choose, which related nodes to fetch as well
|
|
1689
|
-
*/
|
|
1690
|
-
include?: Prisma.ContractPhaseStepInclude<ExtArgs> | null;
|
|
1691
|
-
/**
|
|
1692
|
-
* The filter to search for the ContractPhaseStep to update in case it exists.
|
|
1693
|
-
*/
|
|
1694
|
-
where: Prisma.ContractPhaseStepWhereUniqueInput;
|
|
1695
|
-
/**
|
|
1696
|
-
* In case the ContractPhaseStep found by the `where` argument doesn't exist, create a new ContractPhaseStep with this data.
|
|
1697
|
-
*/
|
|
1698
|
-
create: Prisma.XOR<Prisma.ContractPhaseStepCreateInput, Prisma.ContractPhaseStepUncheckedCreateInput>;
|
|
1699
|
-
/**
|
|
1700
|
-
* In case the ContractPhaseStep was found with the provided `where` argument, update it with this data.
|
|
1701
|
-
*/
|
|
1702
|
-
update: Prisma.XOR<Prisma.ContractPhaseStepUpdateInput, Prisma.ContractPhaseStepUncheckedUpdateInput>;
|
|
1703
|
-
};
|
|
1704
|
-
/**
|
|
1705
|
-
* ContractPhaseStep delete
|
|
1706
|
-
*/
|
|
1707
|
-
export type ContractPhaseStepDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1708
|
-
/**
|
|
1709
|
-
* Select specific fields to fetch from the ContractPhaseStep
|
|
1710
|
-
*/
|
|
1711
|
-
select?: Prisma.ContractPhaseStepSelect<ExtArgs> | null;
|
|
1712
|
-
/**
|
|
1713
|
-
* Omit specific fields from the ContractPhaseStep
|
|
1714
|
-
*/
|
|
1715
|
-
omit?: Prisma.ContractPhaseStepOmit<ExtArgs> | null;
|
|
1716
|
-
/**
|
|
1717
|
-
* Choose, which related nodes to fetch as well
|
|
1718
|
-
*/
|
|
1719
|
-
include?: Prisma.ContractPhaseStepInclude<ExtArgs> | null;
|
|
1720
|
-
/**
|
|
1721
|
-
* Filter which ContractPhaseStep to delete.
|
|
1722
|
-
*/
|
|
1723
|
-
where: Prisma.ContractPhaseStepWhereUniqueInput;
|
|
1724
|
-
};
|
|
1725
|
-
/**
|
|
1726
|
-
* ContractPhaseStep deleteMany
|
|
1727
|
-
*/
|
|
1728
|
-
export type ContractPhaseStepDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1729
|
-
/**
|
|
1730
|
-
* Filter which ContractPhaseSteps to delete
|
|
1731
|
-
*/
|
|
1732
|
-
where?: Prisma.ContractPhaseStepWhereInput;
|
|
1733
|
-
/**
|
|
1734
|
-
* Limit how many ContractPhaseSteps to delete.
|
|
1735
|
-
*/
|
|
1736
|
-
limit?: number;
|
|
1737
|
-
};
|
|
1738
|
-
/**
|
|
1739
|
-
* ContractPhaseStep.assignee
|
|
1740
|
-
*/
|
|
1741
|
-
export type ContractPhaseStep$assigneeArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1742
|
-
/**
|
|
1743
|
-
* Select specific fields to fetch from the User
|
|
1744
|
-
*/
|
|
1745
|
-
select?: Prisma.UserSelect<ExtArgs> | null;
|
|
1746
|
-
/**
|
|
1747
|
-
* Omit specific fields from the User
|
|
1748
|
-
*/
|
|
1749
|
-
omit?: Prisma.UserOmit<ExtArgs> | null;
|
|
1750
|
-
/**
|
|
1751
|
-
* Choose, which related nodes to fetch as well
|
|
1752
|
-
*/
|
|
1753
|
-
include?: Prisma.UserInclude<ExtArgs> | null;
|
|
1754
|
-
where?: Prisma.UserWhereInput;
|
|
1755
|
-
};
|
|
1756
|
-
/**
|
|
1757
|
-
* ContractPhaseStep.requiredDocuments
|
|
1758
|
-
*/
|
|
1759
|
-
export type ContractPhaseStep$requiredDocumentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1760
|
-
/**
|
|
1761
|
-
* Select specific fields to fetch from the ContractPhaseStepDocument
|
|
1762
|
-
*/
|
|
1763
|
-
select?: Prisma.ContractPhaseStepDocumentSelect<ExtArgs> | null;
|
|
1764
|
-
/**
|
|
1765
|
-
* Omit specific fields from the ContractPhaseStepDocument
|
|
1766
|
-
*/
|
|
1767
|
-
omit?: Prisma.ContractPhaseStepDocumentOmit<ExtArgs> | null;
|
|
1768
|
-
/**
|
|
1769
|
-
* Choose, which related nodes to fetch as well
|
|
1770
|
-
*/
|
|
1771
|
-
include?: Prisma.ContractPhaseStepDocumentInclude<ExtArgs> | null;
|
|
1772
|
-
where?: Prisma.ContractPhaseStepDocumentWhereInput;
|
|
1773
|
-
orderBy?: Prisma.ContractPhaseStepDocumentOrderByWithRelationInput | Prisma.ContractPhaseStepDocumentOrderByWithRelationInput[];
|
|
1774
|
-
cursor?: Prisma.ContractPhaseStepDocumentWhereUniqueInput;
|
|
1775
|
-
take?: number;
|
|
1776
|
-
skip?: number;
|
|
1777
|
-
distinct?: Prisma.ContractPhaseStepDocumentScalarFieldEnum | Prisma.ContractPhaseStepDocumentScalarFieldEnum[];
|
|
1778
|
-
};
|
|
1779
|
-
/**
|
|
1780
|
-
* ContractPhaseStep.approvals
|
|
1781
|
-
*/
|
|
1782
|
-
export type ContractPhaseStep$approvalsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1783
|
-
/**
|
|
1784
|
-
* Select specific fields to fetch from the ContractPhaseStepApproval
|
|
1785
|
-
*/
|
|
1786
|
-
select?: Prisma.ContractPhaseStepApprovalSelect<ExtArgs> | null;
|
|
1787
|
-
/**
|
|
1788
|
-
* Omit specific fields from the ContractPhaseStepApproval
|
|
1789
|
-
*/
|
|
1790
|
-
omit?: Prisma.ContractPhaseStepApprovalOmit<ExtArgs> | null;
|
|
1791
|
-
/**
|
|
1792
|
-
* Choose, which related nodes to fetch as well
|
|
1793
|
-
*/
|
|
1794
|
-
include?: Prisma.ContractPhaseStepApprovalInclude<ExtArgs> | null;
|
|
1795
|
-
where?: Prisma.ContractPhaseStepApprovalWhereInput;
|
|
1796
|
-
orderBy?: Prisma.ContractPhaseStepApprovalOrderByWithRelationInput | Prisma.ContractPhaseStepApprovalOrderByWithRelationInput[];
|
|
1797
|
-
cursor?: Prisma.ContractPhaseStepApprovalWhereUniqueInput;
|
|
1798
|
-
take?: number;
|
|
1799
|
-
skip?: number;
|
|
1800
|
-
distinct?: Prisma.ContractPhaseStepApprovalScalarFieldEnum | Prisma.ContractPhaseStepApprovalScalarFieldEnum[];
|
|
1801
|
-
};
|
|
1802
|
-
/**
|
|
1803
|
-
* ContractPhaseStep without action
|
|
1804
|
-
*/
|
|
1805
|
-
export type ContractPhaseStepDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1806
|
-
/**
|
|
1807
|
-
* Select specific fields to fetch from the ContractPhaseStep
|
|
1808
|
-
*/
|
|
1809
|
-
select?: Prisma.ContractPhaseStepSelect<ExtArgs> | null;
|
|
1810
|
-
/**
|
|
1811
|
-
* Omit specific fields from the ContractPhaseStep
|
|
1812
|
-
*/
|
|
1813
|
-
omit?: Prisma.ContractPhaseStepOmit<ExtArgs> | null;
|
|
1814
|
-
/**
|
|
1815
|
-
* Choose, which related nodes to fetch as well
|
|
1816
|
-
*/
|
|
1817
|
-
include?: Prisma.ContractPhaseStepInclude<ExtArgs> | null;
|
|
1818
|
-
};
|
|
1819
|
-
export {};
|