@valentine-efagene/qshelter-common 2.0.51 → 2.0.53

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.
Files changed (118) hide show
  1. package/dist/src/middleware/tenant.js +3 -3
  2. package/package.json +1 -1
  3. package/dist/generated/client/models/ContractPhaseStep.d.ts +0 -1819
  4. package/dist/generated/client/models/ContractPhaseStep.js +0 -1
  5. package/dist/generated/client/models/ContractPhaseStepApproval.d.ts +0 -1253
  6. package/dist/generated/client/models/ContractPhaseStepApproval.js +0 -1
  7. package/dist/generated/client/models/ContractPhaseStepDocument.d.ts +0 -1052
  8. package/dist/generated/client/models/ContractPhaseStepDocument.js +0 -1
  9. package/dist/generated/client/models/Mortgage.d.ts +0 -2777
  10. package/dist/generated/client/models/Mortgage.js +0 -1
  11. package/dist/generated/client/models/MortgageDocument.d.ts +0 -1118
  12. package/dist/generated/client/models/MortgageDocument.js +0 -1
  13. package/dist/generated/client/models/MortgageDownpaymentInstallment.d.ts +0 -1189
  14. package/dist/generated/client/models/MortgageDownpaymentInstallment.js +0 -1
  15. package/dist/generated/client/models/MortgageDownpaymentPayment.d.ts +0 -1189
  16. package/dist/generated/client/models/MortgageDownpaymentPayment.js +0 -1
  17. package/dist/generated/client/models/MortgageDownpaymentPlan.d.ts +0 -1428
  18. package/dist/generated/client/models/MortgageDownpaymentPlan.js +0 -1
  19. package/dist/generated/client/models/MortgageStep.d.ts +0 -1222
  20. package/dist/generated/client/models/MortgageStep.js +0 -1
  21. package/dist/generated/client/models/MortgageTransition.d.ts +0 -1118
  22. package/dist/generated/client/models/MortgageTransition.js +0 -1
  23. package/dist/generated/client/models/MortgageTransitionEvent.d.ts +0 -1052
  24. package/dist/generated/client/models/MortgageTransitionEvent.js +0 -1
  25. package/dist/generated/client/models/MortgageType.d.ts +0 -1052
  26. package/dist/generated/client/models/MortgageType.js +0 -1
  27. package/dist/generated/client/models/Payment.d.ts +0 -2026
  28. package/dist/generated/client/models/Payment.js +0 -1
  29. package/dist/generated/client/models/PaymentInstallment.d.ts +0 -1539
  30. package/dist/generated/client/models/PaymentInstallment.js +0 -1
  31. package/dist/generated/client/models/PaymentSchedule.d.ts +0 -1450
  32. package/dist/generated/client/models/PaymentSchedule.js +0 -1
  33. package/dist/index.d.ts +0 -6
  34. package/dist/index.js +0 -6
  35. package/dist/src/generated/client/client.d.ts +0 -201
  36. package/dist/src/generated/client/client.js +0 -32
  37. package/dist/src/generated/client/commonInputTypes.d.ts +0 -403
  38. package/dist/src/generated/client/commonInputTypes.js +0 -10
  39. package/dist/src/generated/client/enums.d.ts +0 -1
  40. package/dist/src/generated/client/enums.js +0 -10
  41. package/dist/src/generated/client/internal/class.d.ts +0 -511
  42. package/dist/src/generated/client/internal/class.js +0 -40
  43. package/dist/src/generated/client/internal/prismaNamespace.d.ts +0 -3571
  44. package/dist/src/generated/client/internal/prismaNamespace.js +0 -739
  45. package/dist/src/generated/client/models/Amenity.d.ts +0 -1020
  46. package/dist/src/generated/client/models/Amenity.js +0 -1
  47. package/dist/src/generated/client/models/Contract.d.ts +0 -2099
  48. package/dist/src/generated/client/models/Contract.js +0 -1
  49. package/dist/src/generated/client/models/ContractDocument.d.ts +0 -1118
  50. package/dist/src/generated/client/models/ContractDocument.js +0 -1
  51. package/dist/src/generated/client/models/DeviceEndpoint.d.ts +0 -1118
  52. package/dist/src/generated/client/models/DeviceEndpoint.js +0 -1
  53. package/dist/src/generated/client/models/EmailPreference.d.ts +0 -1151
  54. package/dist/src/generated/client/models/EmailPreference.js +0 -1
  55. package/dist/src/generated/client/models/Mortgage.d.ts +0 -2777
  56. package/dist/src/generated/client/models/Mortgage.js +0 -1
  57. package/dist/src/generated/client/models/MortgageDocument.d.ts +0 -1118
  58. package/dist/src/generated/client/models/MortgageDocument.js +0 -1
  59. package/dist/src/generated/client/models/MortgageDownpaymentInstallment.d.ts +0 -1189
  60. package/dist/src/generated/client/models/MortgageDownpaymentInstallment.js +0 -1
  61. package/dist/src/generated/client/models/MortgageDownpaymentPayment.d.ts +0 -1189
  62. package/dist/src/generated/client/models/MortgageDownpaymentPayment.js +0 -1
  63. package/dist/src/generated/client/models/MortgageDownpaymentPlan.d.ts +0 -1428
  64. package/dist/src/generated/client/models/MortgageDownpaymentPlan.js +0 -1
  65. package/dist/src/generated/client/models/MortgageStep.d.ts +0 -1222
  66. package/dist/src/generated/client/models/MortgageStep.js +0 -1
  67. package/dist/src/generated/client/models/MortgageTransition.d.ts +0 -1118
  68. package/dist/src/generated/client/models/MortgageTransition.js +0 -1
  69. package/dist/src/generated/client/models/MortgageTransitionEvent.d.ts +0 -1052
  70. package/dist/src/generated/client/models/MortgageTransitionEvent.js +0 -1
  71. package/dist/src/generated/client/models/MortgageType.d.ts +0 -1052
  72. package/dist/src/generated/client/models/MortgageType.js +0 -1
  73. package/dist/src/generated/client/models/OAuthState.d.ts +0 -864
  74. package/dist/src/generated/client/models/OAuthState.js +0 -1
  75. package/dist/src/generated/client/models/PasswordReset.d.ts +0 -1085
  76. package/dist/src/generated/client/models/PasswordReset.js +0 -1
  77. package/dist/src/generated/client/models/Payment.d.ts +0 -2026
  78. package/dist/src/generated/client/models/Payment.js +0 -1
  79. package/dist/src/generated/client/models/PaymentInstallment.d.ts +0 -1539
  80. package/dist/src/generated/client/models/PaymentInstallment.js +0 -1
  81. package/dist/src/generated/client/models/PaymentPlan.d.ts +0 -2148
  82. package/dist/src/generated/client/models/PaymentPlan.js +0 -1
  83. package/dist/src/generated/client/models/PaymentSchedule.d.ts +0 -1450
  84. package/dist/src/generated/client/models/PaymentSchedule.js +0 -1
  85. package/dist/src/generated/client/models/Permission.d.ts +0 -1115
  86. package/dist/src/generated/client/models/Permission.js +0 -1
  87. package/dist/src/generated/client/models/Property.d.ts +0 -3254
  88. package/dist/src/generated/client/models/Property.js +0 -1
  89. package/dist/src/generated/client/models/PropertyAmenity.d.ts +0 -1080
  90. package/dist/src/generated/client/models/PropertyAmenity.js +0 -1
  91. package/dist/src/generated/client/models/PropertyDocument.d.ts +0 -1118
  92. package/dist/src/generated/client/models/PropertyDocument.js +0 -1
  93. package/dist/src/generated/client/models/PropertyMedia.d.ts +0 -1331
  94. package/dist/src/generated/client/models/PropertyMedia.js +0 -1
  95. package/dist/src/generated/client/models/RefreshToken.d.ts +0 -1085
  96. package/dist/src/generated/client/models/RefreshToken.js +0 -1
  97. package/dist/src/generated/client/models/Role.d.ts +0 -1153
  98. package/dist/src/generated/client/models/Role.js +0 -1
  99. package/dist/src/generated/client/models/RolePermission.d.ts +0 -1080
  100. package/dist/src/generated/client/models/RolePermission.js +0 -1
  101. package/dist/src/generated/client/models/Settings.d.ts +0 -916
  102. package/dist/src/generated/client/models/Settings.js +0 -1
  103. package/dist/src/generated/client/models/Social.d.ts +0 -1090
  104. package/dist/src/generated/client/models/Social.js +0 -1
  105. package/dist/src/generated/client/models/Tenant.d.ts +0 -1082
  106. package/dist/src/generated/client/models/Tenant.js +0 -1
  107. package/dist/src/generated/client/models/Transaction.d.ts +0 -1222
  108. package/dist/src/generated/client/models/Transaction.js +0 -1
  109. package/dist/src/generated/client/models/User.d.ts +0 -4239
  110. package/dist/src/generated/client/models/User.js +0 -1
  111. package/dist/src/generated/client/models/UserRole.d.ts +0 -1080
  112. package/dist/src/generated/client/models/UserRole.js +0 -1
  113. package/dist/src/generated/client/models/UserSuspension.d.ts +0 -1085
  114. package/dist/src/generated/client/models/UserSuspension.js +0 -1
  115. package/dist/src/generated/client/models/Wallet.d.ts +0 -1191
  116. package/dist/src/generated/client/models/Wallet.js +0 -1
  117. package/dist/src/generated/client/models.d.ts +0 -37
  118. package/dist/src/generated/client/models.js +0 -1
@@ -1,1253 +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 ContractPhaseStepApproval
6
- *
7
- */
8
- export type ContractPhaseStepApprovalModel = runtime.Types.Result.DefaultSelection<Prisma.$ContractPhaseStepApprovalPayload>;
9
- export type AggregateContractPhaseStepApproval = {
10
- _count: ContractPhaseStepApprovalCountAggregateOutputType | null;
11
- _min: ContractPhaseStepApprovalMinAggregateOutputType | null;
12
- _max: ContractPhaseStepApprovalMaxAggregateOutputType | null;
13
- };
14
- export type ContractPhaseStepApprovalMinAggregateOutputType = {
15
- id: string | null;
16
- stepId: string | null;
17
- approverId: string | null;
18
- decision: $Enums.ApprovalDecision | null;
19
- comment: string | null;
20
- decidedAt: Date | null;
21
- createdAt: Date | null;
22
- };
23
- export type ContractPhaseStepApprovalMaxAggregateOutputType = {
24
- id: string | null;
25
- stepId: string | null;
26
- approverId: string | null;
27
- decision: $Enums.ApprovalDecision | null;
28
- comment: string | null;
29
- decidedAt: Date | null;
30
- createdAt: Date | null;
31
- };
32
- export type ContractPhaseStepApprovalCountAggregateOutputType = {
33
- id: number;
34
- stepId: number;
35
- approverId: number;
36
- decision: number;
37
- comment: number;
38
- decidedAt: number;
39
- createdAt: number;
40
- _all: number;
41
- };
42
- export type ContractPhaseStepApprovalMinAggregateInputType = {
43
- id?: true;
44
- stepId?: true;
45
- approverId?: true;
46
- decision?: true;
47
- comment?: true;
48
- decidedAt?: true;
49
- createdAt?: true;
50
- };
51
- export type ContractPhaseStepApprovalMaxAggregateInputType = {
52
- id?: true;
53
- stepId?: true;
54
- approverId?: true;
55
- decision?: true;
56
- comment?: true;
57
- decidedAt?: true;
58
- createdAt?: true;
59
- };
60
- export type ContractPhaseStepApprovalCountAggregateInputType = {
61
- id?: true;
62
- stepId?: true;
63
- approverId?: true;
64
- decision?: true;
65
- comment?: true;
66
- decidedAt?: true;
67
- createdAt?: true;
68
- _all?: true;
69
- };
70
- export type ContractPhaseStepApprovalAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
71
- /**
72
- * Filter which ContractPhaseStepApproval to aggregate.
73
- */
74
- where?: Prisma.ContractPhaseStepApprovalWhereInput;
75
- /**
76
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
77
- *
78
- * Determine the order of ContractPhaseStepApprovals to fetch.
79
- */
80
- orderBy?: Prisma.ContractPhaseStepApprovalOrderByWithRelationInput | Prisma.ContractPhaseStepApprovalOrderByWithRelationInput[];
81
- /**
82
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
83
- *
84
- * Sets the start position
85
- */
86
- cursor?: Prisma.ContractPhaseStepApprovalWhereUniqueInput;
87
- /**
88
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
89
- *
90
- * Take `±n` ContractPhaseStepApprovals from the position of the cursor.
91
- */
92
- take?: number;
93
- /**
94
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
95
- *
96
- * Skip the first `n` ContractPhaseStepApprovals.
97
- */
98
- skip?: number;
99
- /**
100
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
101
- *
102
- * Count returned ContractPhaseStepApprovals
103
- **/
104
- _count?: true | ContractPhaseStepApprovalCountAggregateInputType;
105
- /**
106
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
107
- *
108
- * Select which fields to find the minimum value
109
- **/
110
- _min?: ContractPhaseStepApprovalMinAggregateInputType;
111
- /**
112
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
113
- *
114
- * Select which fields to find the maximum value
115
- **/
116
- _max?: ContractPhaseStepApprovalMaxAggregateInputType;
117
- };
118
- export type GetContractPhaseStepApprovalAggregateType<T extends ContractPhaseStepApprovalAggregateArgs> = {
119
- [P in keyof T & keyof AggregateContractPhaseStepApproval]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateContractPhaseStepApproval[P]> : Prisma.GetScalarType<T[P], AggregateContractPhaseStepApproval[P]>;
120
- };
121
- export type ContractPhaseStepApprovalGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
122
- where?: Prisma.ContractPhaseStepApprovalWhereInput;
123
- orderBy?: Prisma.ContractPhaseStepApprovalOrderByWithAggregationInput | Prisma.ContractPhaseStepApprovalOrderByWithAggregationInput[];
124
- by: Prisma.ContractPhaseStepApprovalScalarFieldEnum[] | Prisma.ContractPhaseStepApprovalScalarFieldEnum;
125
- having?: Prisma.ContractPhaseStepApprovalScalarWhereWithAggregatesInput;
126
- take?: number;
127
- skip?: number;
128
- _count?: ContractPhaseStepApprovalCountAggregateInputType | true;
129
- _min?: ContractPhaseStepApprovalMinAggregateInputType;
130
- _max?: ContractPhaseStepApprovalMaxAggregateInputType;
131
- };
132
- export type ContractPhaseStepApprovalGroupByOutputType = {
133
- id: string;
134
- stepId: string;
135
- approverId: string | null;
136
- decision: $Enums.ApprovalDecision;
137
- comment: string | null;
138
- decidedAt: Date;
139
- createdAt: Date;
140
- _count: ContractPhaseStepApprovalCountAggregateOutputType | null;
141
- _min: ContractPhaseStepApprovalMinAggregateOutputType | null;
142
- _max: ContractPhaseStepApprovalMaxAggregateOutputType | null;
143
- };
144
- type GetContractPhaseStepApprovalGroupByPayload<T extends ContractPhaseStepApprovalGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ContractPhaseStepApprovalGroupByOutputType, T['by']> & {
145
- [P in ((keyof T) & (keyof ContractPhaseStepApprovalGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ContractPhaseStepApprovalGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ContractPhaseStepApprovalGroupByOutputType[P]>;
146
- }>>;
147
- export type ContractPhaseStepApprovalWhereInput = {
148
- AND?: Prisma.ContractPhaseStepApprovalWhereInput | Prisma.ContractPhaseStepApprovalWhereInput[];
149
- OR?: Prisma.ContractPhaseStepApprovalWhereInput[];
150
- NOT?: Prisma.ContractPhaseStepApprovalWhereInput | Prisma.ContractPhaseStepApprovalWhereInput[];
151
- id?: Prisma.StringFilter<"ContractPhaseStepApproval"> | string;
152
- stepId?: Prisma.StringFilter<"ContractPhaseStepApproval"> | string;
153
- approverId?: Prisma.StringNullableFilter<"ContractPhaseStepApproval"> | string | null;
154
- decision?: Prisma.EnumApprovalDecisionFilter<"ContractPhaseStepApproval"> | $Enums.ApprovalDecision;
155
- comment?: Prisma.StringNullableFilter<"ContractPhaseStepApproval"> | string | null;
156
- decidedAt?: Prisma.DateTimeFilter<"ContractPhaseStepApproval"> | Date | string;
157
- createdAt?: Prisma.DateTimeFilter<"ContractPhaseStepApproval"> | Date | string;
158
- step?: Prisma.XOR<Prisma.ContractPhaseStepScalarRelationFilter, Prisma.ContractPhaseStepWhereInput>;
159
- approver?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
160
- };
161
- export type ContractPhaseStepApprovalOrderByWithRelationInput = {
162
- id?: Prisma.SortOrder;
163
- stepId?: Prisma.SortOrder;
164
- approverId?: Prisma.SortOrderInput | Prisma.SortOrder;
165
- decision?: Prisma.SortOrder;
166
- comment?: Prisma.SortOrderInput | Prisma.SortOrder;
167
- decidedAt?: Prisma.SortOrder;
168
- createdAt?: Prisma.SortOrder;
169
- step?: Prisma.ContractPhaseStepOrderByWithRelationInput;
170
- approver?: Prisma.UserOrderByWithRelationInput;
171
- _relevance?: Prisma.ContractPhaseStepApprovalOrderByRelevanceInput;
172
- };
173
- export type ContractPhaseStepApprovalWhereUniqueInput = Prisma.AtLeast<{
174
- id?: string;
175
- AND?: Prisma.ContractPhaseStepApprovalWhereInput | Prisma.ContractPhaseStepApprovalWhereInput[];
176
- OR?: Prisma.ContractPhaseStepApprovalWhereInput[];
177
- NOT?: Prisma.ContractPhaseStepApprovalWhereInput | Prisma.ContractPhaseStepApprovalWhereInput[];
178
- stepId?: Prisma.StringFilter<"ContractPhaseStepApproval"> | string;
179
- approverId?: Prisma.StringNullableFilter<"ContractPhaseStepApproval"> | string | null;
180
- decision?: Prisma.EnumApprovalDecisionFilter<"ContractPhaseStepApproval"> | $Enums.ApprovalDecision;
181
- comment?: Prisma.StringNullableFilter<"ContractPhaseStepApproval"> | string | null;
182
- decidedAt?: Prisma.DateTimeFilter<"ContractPhaseStepApproval"> | Date | string;
183
- createdAt?: Prisma.DateTimeFilter<"ContractPhaseStepApproval"> | Date | string;
184
- step?: Prisma.XOR<Prisma.ContractPhaseStepScalarRelationFilter, Prisma.ContractPhaseStepWhereInput>;
185
- approver?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null;
186
- }, "id">;
187
- export type ContractPhaseStepApprovalOrderByWithAggregationInput = {
188
- id?: Prisma.SortOrder;
189
- stepId?: Prisma.SortOrder;
190
- approverId?: Prisma.SortOrderInput | Prisma.SortOrder;
191
- decision?: Prisma.SortOrder;
192
- comment?: Prisma.SortOrderInput | Prisma.SortOrder;
193
- decidedAt?: Prisma.SortOrder;
194
- createdAt?: Prisma.SortOrder;
195
- _count?: Prisma.ContractPhaseStepApprovalCountOrderByAggregateInput;
196
- _max?: Prisma.ContractPhaseStepApprovalMaxOrderByAggregateInput;
197
- _min?: Prisma.ContractPhaseStepApprovalMinOrderByAggregateInput;
198
- };
199
- export type ContractPhaseStepApprovalScalarWhereWithAggregatesInput = {
200
- AND?: Prisma.ContractPhaseStepApprovalScalarWhereWithAggregatesInput | Prisma.ContractPhaseStepApprovalScalarWhereWithAggregatesInput[];
201
- OR?: Prisma.ContractPhaseStepApprovalScalarWhereWithAggregatesInput[];
202
- NOT?: Prisma.ContractPhaseStepApprovalScalarWhereWithAggregatesInput | Prisma.ContractPhaseStepApprovalScalarWhereWithAggregatesInput[];
203
- id?: Prisma.StringWithAggregatesFilter<"ContractPhaseStepApproval"> | string;
204
- stepId?: Prisma.StringWithAggregatesFilter<"ContractPhaseStepApproval"> | string;
205
- approverId?: Prisma.StringNullableWithAggregatesFilter<"ContractPhaseStepApproval"> | string | null;
206
- decision?: Prisma.EnumApprovalDecisionWithAggregatesFilter<"ContractPhaseStepApproval"> | $Enums.ApprovalDecision;
207
- comment?: Prisma.StringNullableWithAggregatesFilter<"ContractPhaseStepApproval"> | string | null;
208
- decidedAt?: Prisma.DateTimeWithAggregatesFilter<"ContractPhaseStepApproval"> | Date | string;
209
- createdAt?: Prisma.DateTimeWithAggregatesFilter<"ContractPhaseStepApproval"> | Date | string;
210
- };
211
- export type ContractPhaseStepApprovalCreateInput = {
212
- id?: string;
213
- decision: $Enums.ApprovalDecision;
214
- comment?: string | null;
215
- decidedAt?: Date | string;
216
- createdAt?: Date | string;
217
- step: Prisma.ContractPhaseStepCreateNestedOneWithoutApprovalsInput;
218
- approver?: Prisma.UserCreateNestedOneWithoutStepApprovalsInput;
219
- };
220
- export type ContractPhaseStepApprovalUncheckedCreateInput = {
221
- id?: string;
222
- stepId: string;
223
- approverId?: string | null;
224
- decision: $Enums.ApprovalDecision;
225
- comment?: string | null;
226
- decidedAt?: Date | string;
227
- createdAt?: Date | string;
228
- };
229
- export type ContractPhaseStepApprovalUpdateInput = {
230
- id?: Prisma.StringFieldUpdateOperationsInput | string;
231
- decision?: Prisma.EnumApprovalDecisionFieldUpdateOperationsInput | $Enums.ApprovalDecision;
232
- comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
233
- decidedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
234
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
235
- step?: Prisma.ContractPhaseStepUpdateOneRequiredWithoutApprovalsNestedInput;
236
- approver?: Prisma.UserUpdateOneWithoutStepApprovalsNestedInput;
237
- };
238
- export type ContractPhaseStepApprovalUncheckedUpdateInput = {
239
- id?: Prisma.StringFieldUpdateOperationsInput | string;
240
- stepId?: Prisma.StringFieldUpdateOperationsInput | string;
241
- approverId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
242
- decision?: Prisma.EnumApprovalDecisionFieldUpdateOperationsInput | $Enums.ApprovalDecision;
243
- comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
244
- decidedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
245
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
246
- };
247
- export type ContractPhaseStepApprovalCreateManyInput = {
248
- id?: string;
249
- stepId: string;
250
- approverId?: string | null;
251
- decision: $Enums.ApprovalDecision;
252
- comment?: string | null;
253
- decidedAt?: Date | string;
254
- createdAt?: Date | string;
255
- };
256
- export type ContractPhaseStepApprovalUpdateManyMutationInput = {
257
- id?: Prisma.StringFieldUpdateOperationsInput | string;
258
- decision?: Prisma.EnumApprovalDecisionFieldUpdateOperationsInput | $Enums.ApprovalDecision;
259
- comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
260
- decidedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
261
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
262
- };
263
- export type ContractPhaseStepApprovalUncheckedUpdateManyInput = {
264
- id?: Prisma.StringFieldUpdateOperationsInput | string;
265
- stepId?: Prisma.StringFieldUpdateOperationsInput | string;
266
- approverId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
267
- decision?: Prisma.EnumApprovalDecisionFieldUpdateOperationsInput | $Enums.ApprovalDecision;
268
- comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
269
- decidedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
270
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
271
- };
272
- export type ContractPhaseStepApprovalListRelationFilter = {
273
- every?: Prisma.ContractPhaseStepApprovalWhereInput;
274
- some?: Prisma.ContractPhaseStepApprovalWhereInput;
275
- none?: Prisma.ContractPhaseStepApprovalWhereInput;
276
- };
277
- export type ContractPhaseStepApprovalOrderByRelationAggregateInput = {
278
- _count?: Prisma.SortOrder;
279
- };
280
- export type ContractPhaseStepApprovalOrderByRelevanceInput = {
281
- fields: Prisma.ContractPhaseStepApprovalOrderByRelevanceFieldEnum | Prisma.ContractPhaseStepApprovalOrderByRelevanceFieldEnum[];
282
- sort: Prisma.SortOrder;
283
- search: string;
284
- };
285
- export type ContractPhaseStepApprovalCountOrderByAggregateInput = {
286
- id?: Prisma.SortOrder;
287
- stepId?: Prisma.SortOrder;
288
- approverId?: Prisma.SortOrder;
289
- decision?: Prisma.SortOrder;
290
- comment?: Prisma.SortOrder;
291
- decidedAt?: Prisma.SortOrder;
292
- createdAt?: Prisma.SortOrder;
293
- };
294
- export type ContractPhaseStepApprovalMaxOrderByAggregateInput = {
295
- id?: Prisma.SortOrder;
296
- stepId?: Prisma.SortOrder;
297
- approverId?: Prisma.SortOrder;
298
- decision?: Prisma.SortOrder;
299
- comment?: Prisma.SortOrder;
300
- decidedAt?: Prisma.SortOrder;
301
- createdAt?: Prisma.SortOrder;
302
- };
303
- export type ContractPhaseStepApprovalMinOrderByAggregateInput = {
304
- id?: Prisma.SortOrder;
305
- stepId?: Prisma.SortOrder;
306
- approverId?: Prisma.SortOrder;
307
- decision?: Prisma.SortOrder;
308
- comment?: Prisma.SortOrder;
309
- decidedAt?: Prisma.SortOrder;
310
- createdAt?: Prisma.SortOrder;
311
- };
312
- export type ContractPhaseStepApprovalCreateNestedManyWithoutApproverInput = {
313
- create?: Prisma.XOR<Prisma.ContractPhaseStepApprovalCreateWithoutApproverInput, Prisma.ContractPhaseStepApprovalUncheckedCreateWithoutApproverInput> | Prisma.ContractPhaseStepApprovalCreateWithoutApproverInput[] | Prisma.ContractPhaseStepApprovalUncheckedCreateWithoutApproverInput[];
314
- connectOrCreate?: Prisma.ContractPhaseStepApprovalCreateOrConnectWithoutApproverInput | Prisma.ContractPhaseStepApprovalCreateOrConnectWithoutApproverInput[];
315
- createMany?: Prisma.ContractPhaseStepApprovalCreateManyApproverInputEnvelope;
316
- connect?: Prisma.ContractPhaseStepApprovalWhereUniqueInput | Prisma.ContractPhaseStepApprovalWhereUniqueInput[];
317
- };
318
- export type ContractPhaseStepApprovalUncheckedCreateNestedManyWithoutApproverInput = {
319
- create?: Prisma.XOR<Prisma.ContractPhaseStepApprovalCreateWithoutApproverInput, Prisma.ContractPhaseStepApprovalUncheckedCreateWithoutApproverInput> | Prisma.ContractPhaseStepApprovalCreateWithoutApproverInput[] | Prisma.ContractPhaseStepApprovalUncheckedCreateWithoutApproverInput[];
320
- connectOrCreate?: Prisma.ContractPhaseStepApprovalCreateOrConnectWithoutApproverInput | Prisma.ContractPhaseStepApprovalCreateOrConnectWithoutApproverInput[];
321
- createMany?: Prisma.ContractPhaseStepApprovalCreateManyApproverInputEnvelope;
322
- connect?: Prisma.ContractPhaseStepApprovalWhereUniqueInput | Prisma.ContractPhaseStepApprovalWhereUniqueInput[];
323
- };
324
- export type ContractPhaseStepApprovalUpdateManyWithoutApproverNestedInput = {
325
- create?: Prisma.XOR<Prisma.ContractPhaseStepApprovalCreateWithoutApproverInput, Prisma.ContractPhaseStepApprovalUncheckedCreateWithoutApproverInput> | Prisma.ContractPhaseStepApprovalCreateWithoutApproverInput[] | Prisma.ContractPhaseStepApprovalUncheckedCreateWithoutApproverInput[];
326
- connectOrCreate?: Prisma.ContractPhaseStepApprovalCreateOrConnectWithoutApproverInput | Prisma.ContractPhaseStepApprovalCreateOrConnectWithoutApproverInput[];
327
- upsert?: Prisma.ContractPhaseStepApprovalUpsertWithWhereUniqueWithoutApproverInput | Prisma.ContractPhaseStepApprovalUpsertWithWhereUniqueWithoutApproverInput[];
328
- createMany?: Prisma.ContractPhaseStepApprovalCreateManyApproverInputEnvelope;
329
- set?: Prisma.ContractPhaseStepApprovalWhereUniqueInput | Prisma.ContractPhaseStepApprovalWhereUniqueInput[];
330
- disconnect?: Prisma.ContractPhaseStepApprovalWhereUniqueInput | Prisma.ContractPhaseStepApprovalWhereUniqueInput[];
331
- delete?: Prisma.ContractPhaseStepApprovalWhereUniqueInput | Prisma.ContractPhaseStepApprovalWhereUniqueInput[];
332
- connect?: Prisma.ContractPhaseStepApprovalWhereUniqueInput | Prisma.ContractPhaseStepApprovalWhereUniqueInput[];
333
- update?: Prisma.ContractPhaseStepApprovalUpdateWithWhereUniqueWithoutApproverInput | Prisma.ContractPhaseStepApprovalUpdateWithWhereUniqueWithoutApproverInput[];
334
- updateMany?: Prisma.ContractPhaseStepApprovalUpdateManyWithWhereWithoutApproverInput | Prisma.ContractPhaseStepApprovalUpdateManyWithWhereWithoutApproverInput[];
335
- deleteMany?: Prisma.ContractPhaseStepApprovalScalarWhereInput | Prisma.ContractPhaseStepApprovalScalarWhereInput[];
336
- };
337
- export type ContractPhaseStepApprovalUncheckedUpdateManyWithoutApproverNestedInput = {
338
- create?: Prisma.XOR<Prisma.ContractPhaseStepApprovalCreateWithoutApproverInput, Prisma.ContractPhaseStepApprovalUncheckedCreateWithoutApproverInput> | Prisma.ContractPhaseStepApprovalCreateWithoutApproverInput[] | Prisma.ContractPhaseStepApprovalUncheckedCreateWithoutApproverInput[];
339
- connectOrCreate?: Prisma.ContractPhaseStepApprovalCreateOrConnectWithoutApproverInput | Prisma.ContractPhaseStepApprovalCreateOrConnectWithoutApproverInput[];
340
- upsert?: Prisma.ContractPhaseStepApprovalUpsertWithWhereUniqueWithoutApproverInput | Prisma.ContractPhaseStepApprovalUpsertWithWhereUniqueWithoutApproverInput[];
341
- createMany?: Prisma.ContractPhaseStepApprovalCreateManyApproverInputEnvelope;
342
- set?: Prisma.ContractPhaseStepApprovalWhereUniqueInput | Prisma.ContractPhaseStepApprovalWhereUniqueInput[];
343
- disconnect?: Prisma.ContractPhaseStepApprovalWhereUniqueInput | Prisma.ContractPhaseStepApprovalWhereUniqueInput[];
344
- delete?: Prisma.ContractPhaseStepApprovalWhereUniqueInput | Prisma.ContractPhaseStepApprovalWhereUniqueInput[];
345
- connect?: Prisma.ContractPhaseStepApprovalWhereUniqueInput | Prisma.ContractPhaseStepApprovalWhereUniqueInput[];
346
- update?: Prisma.ContractPhaseStepApprovalUpdateWithWhereUniqueWithoutApproverInput | Prisma.ContractPhaseStepApprovalUpdateWithWhereUniqueWithoutApproverInput[];
347
- updateMany?: Prisma.ContractPhaseStepApprovalUpdateManyWithWhereWithoutApproverInput | Prisma.ContractPhaseStepApprovalUpdateManyWithWhereWithoutApproverInput[];
348
- deleteMany?: Prisma.ContractPhaseStepApprovalScalarWhereInput | Prisma.ContractPhaseStepApprovalScalarWhereInput[];
349
- };
350
- export type ContractPhaseStepApprovalCreateNestedManyWithoutStepInput = {
351
- create?: Prisma.XOR<Prisma.ContractPhaseStepApprovalCreateWithoutStepInput, Prisma.ContractPhaseStepApprovalUncheckedCreateWithoutStepInput> | Prisma.ContractPhaseStepApprovalCreateWithoutStepInput[] | Prisma.ContractPhaseStepApprovalUncheckedCreateWithoutStepInput[];
352
- connectOrCreate?: Prisma.ContractPhaseStepApprovalCreateOrConnectWithoutStepInput | Prisma.ContractPhaseStepApprovalCreateOrConnectWithoutStepInput[];
353
- createMany?: Prisma.ContractPhaseStepApprovalCreateManyStepInputEnvelope;
354
- connect?: Prisma.ContractPhaseStepApprovalWhereUniqueInput | Prisma.ContractPhaseStepApprovalWhereUniqueInput[];
355
- };
356
- export type ContractPhaseStepApprovalUncheckedCreateNestedManyWithoutStepInput = {
357
- create?: Prisma.XOR<Prisma.ContractPhaseStepApprovalCreateWithoutStepInput, Prisma.ContractPhaseStepApprovalUncheckedCreateWithoutStepInput> | Prisma.ContractPhaseStepApprovalCreateWithoutStepInput[] | Prisma.ContractPhaseStepApprovalUncheckedCreateWithoutStepInput[];
358
- connectOrCreate?: Prisma.ContractPhaseStepApprovalCreateOrConnectWithoutStepInput | Prisma.ContractPhaseStepApprovalCreateOrConnectWithoutStepInput[];
359
- createMany?: Prisma.ContractPhaseStepApprovalCreateManyStepInputEnvelope;
360
- connect?: Prisma.ContractPhaseStepApprovalWhereUniqueInput | Prisma.ContractPhaseStepApprovalWhereUniqueInput[];
361
- };
362
- export type ContractPhaseStepApprovalUpdateManyWithoutStepNestedInput = {
363
- create?: Prisma.XOR<Prisma.ContractPhaseStepApprovalCreateWithoutStepInput, Prisma.ContractPhaseStepApprovalUncheckedCreateWithoutStepInput> | Prisma.ContractPhaseStepApprovalCreateWithoutStepInput[] | Prisma.ContractPhaseStepApprovalUncheckedCreateWithoutStepInput[];
364
- connectOrCreate?: Prisma.ContractPhaseStepApprovalCreateOrConnectWithoutStepInput | Prisma.ContractPhaseStepApprovalCreateOrConnectWithoutStepInput[];
365
- upsert?: Prisma.ContractPhaseStepApprovalUpsertWithWhereUniqueWithoutStepInput | Prisma.ContractPhaseStepApprovalUpsertWithWhereUniqueWithoutStepInput[];
366
- createMany?: Prisma.ContractPhaseStepApprovalCreateManyStepInputEnvelope;
367
- set?: Prisma.ContractPhaseStepApprovalWhereUniqueInput | Prisma.ContractPhaseStepApprovalWhereUniqueInput[];
368
- disconnect?: Prisma.ContractPhaseStepApprovalWhereUniqueInput | Prisma.ContractPhaseStepApprovalWhereUniqueInput[];
369
- delete?: Prisma.ContractPhaseStepApprovalWhereUniqueInput | Prisma.ContractPhaseStepApprovalWhereUniqueInput[];
370
- connect?: Prisma.ContractPhaseStepApprovalWhereUniqueInput | Prisma.ContractPhaseStepApprovalWhereUniqueInput[];
371
- update?: Prisma.ContractPhaseStepApprovalUpdateWithWhereUniqueWithoutStepInput | Prisma.ContractPhaseStepApprovalUpdateWithWhereUniqueWithoutStepInput[];
372
- updateMany?: Prisma.ContractPhaseStepApprovalUpdateManyWithWhereWithoutStepInput | Prisma.ContractPhaseStepApprovalUpdateManyWithWhereWithoutStepInput[];
373
- deleteMany?: Prisma.ContractPhaseStepApprovalScalarWhereInput | Prisma.ContractPhaseStepApprovalScalarWhereInput[];
374
- };
375
- export type ContractPhaseStepApprovalUncheckedUpdateManyWithoutStepNestedInput = {
376
- create?: Prisma.XOR<Prisma.ContractPhaseStepApprovalCreateWithoutStepInput, Prisma.ContractPhaseStepApprovalUncheckedCreateWithoutStepInput> | Prisma.ContractPhaseStepApprovalCreateWithoutStepInput[] | Prisma.ContractPhaseStepApprovalUncheckedCreateWithoutStepInput[];
377
- connectOrCreate?: Prisma.ContractPhaseStepApprovalCreateOrConnectWithoutStepInput | Prisma.ContractPhaseStepApprovalCreateOrConnectWithoutStepInput[];
378
- upsert?: Prisma.ContractPhaseStepApprovalUpsertWithWhereUniqueWithoutStepInput | Prisma.ContractPhaseStepApprovalUpsertWithWhereUniqueWithoutStepInput[];
379
- createMany?: Prisma.ContractPhaseStepApprovalCreateManyStepInputEnvelope;
380
- set?: Prisma.ContractPhaseStepApprovalWhereUniqueInput | Prisma.ContractPhaseStepApprovalWhereUniqueInput[];
381
- disconnect?: Prisma.ContractPhaseStepApprovalWhereUniqueInput | Prisma.ContractPhaseStepApprovalWhereUniqueInput[];
382
- delete?: Prisma.ContractPhaseStepApprovalWhereUniqueInput | Prisma.ContractPhaseStepApprovalWhereUniqueInput[];
383
- connect?: Prisma.ContractPhaseStepApprovalWhereUniqueInput | Prisma.ContractPhaseStepApprovalWhereUniqueInput[];
384
- update?: Prisma.ContractPhaseStepApprovalUpdateWithWhereUniqueWithoutStepInput | Prisma.ContractPhaseStepApprovalUpdateWithWhereUniqueWithoutStepInput[];
385
- updateMany?: Prisma.ContractPhaseStepApprovalUpdateManyWithWhereWithoutStepInput | Prisma.ContractPhaseStepApprovalUpdateManyWithWhereWithoutStepInput[];
386
- deleteMany?: Prisma.ContractPhaseStepApprovalScalarWhereInput | Prisma.ContractPhaseStepApprovalScalarWhereInput[];
387
- };
388
- export type EnumApprovalDecisionFieldUpdateOperationsInput = {
389
- set?: $Enums.ApprovalDecision;
390
- };
391
- export type ContractPhaseStepApprovalCreateWithoutApproverInput = {
392
- id?: string;
393
- decision: $Enums.ApprovalDecision;
394
- comment?: string | null;
395
- decidedAt?: Date | string;
396
- createdAt?: Date | string;
397
- step: Prisma.ContractPhaseStepCreateNestedOneWithoutApprovalsInput;
398
- };
399
- export type ContractPhaseStepApprovalUncheckedCreateWithoutApproverInput = {
400
- id?: string;
401
- stepId: string;
402
- decision: $Enums.ApprovalDecision;
403
- comment?: string | null;
404
- decidedAt?: Date | string;
405
- createdAt?: Date | string;
406
- };
407
- export type ContractPhaseStepApprovalCreateOrConnectWithoutApproverInput = {
408
- where: Prisma.ContractPhaseStepApprovalWhereUniqueInput;
409
- create: Prisma.XOR<Prisma.ContractPhaseStepApprovalCreateWithoutApproverInput, Prisma.ContractPhaseStepApprovalUncheckedCreateWithoutApproverInput>;
410
- };
411
- export type ContractPhaseStepApprovalCreateManyApproverInputEnvelope = {
412
- data: Prisma.ContractPhaseStepApprovalCreateManyApproverInput | Prisma.ContractPhaseStepApprovalCreateManyApproverInput[];
413
- skipDuplicates?: boolean;
414
- };
415
- export type ContractPhaseStepApprovalUpsertWithWhereUniqueWithoutApproverInput = {
416
- where: Prisma.ContractPhaseStepApprovalWhereUniqueInput;
417
- update: Prisma.XOR<Prisma.ContractPhaseStepApprovalUpdateWithoutApproverInput, Prisma.ContractPhaseStepApprovalUncheckedUpdateWithoutApproverInput>;
418
- create: Prisma.XOR<Prisma.ContractPhaseStepApprovalCreateWithoutApproverInput, Prisma.ContractPhaseStepApprovalUncheckedCreateWithoutApproverInput>;
419
- };
420
- export type ContractPhaseStepApprovalUpdateWithWhereUniqueWithoutApproverInput = {
421
- where: Prisma.ContractPhaseStepApprovalWhereUniqueInput;
422
- data: Prisma.XOR<Prisma.ContractPhaseStepApprovalUpdateWithoutApproverInput, Prisma.ContractPhaseStepApprovalUncheckedUpdateWithoutApproverInput>;
423
- };
424
- export type ContractPhaseStepApprovalUpdateManyWithWhereWithoutApproverInput = {
425
- where: Prisma.ContractPhaseStepApprovalScalarWhereInput;
426
- data: Prisma.XOR<Prisma.ContractPhaseStepApprovalUpdateManyMutationInput, Prisma.ContractPhaseStepApprovalUncheckedUpdateManyWithoutApproverInput>;
427
- };
428
- export type ContractPhaseStepApprovalScalarWhereInput = {
429
- AND?: Prisma.ContractPhaseStepApprovalScalarWhereInput | Prisma.ContractPhaseStepApprovalScalarWhereInput[];
430
- OR?: Prisma.ContractPhaseStepApprovalScalarWhereInput[];
431
- NOT?: Prisma.ContractPhaseStepApprovalScalarWhereInput | Prisma.ContractPhaseStepApprovalScalarWhereInput[];
432
- id?: Prisma.StringFilter<"ContractPhaseStepApproval"> | string;
433
- stepId?: Prisma.StringFilter<"ContractPhaseStepApproval"> | string;
434
- approverId?: Prisma.StringNullableFilter<"ContractPhaseStepApproval"> | string | null;
435
- decision?: Prisma.EnumApprovalDecisionFilter<"ContractPhaseStepApproval"> | $Enums.ApprovalDecision;
436
- comment?: Prisma.StringNullableFilter<"ContractPhaseStepApproval"> | string | null;
437
- decidedAt?: Prisma.DateTimeFilter<"ContractPhaseStepApproval"> | Date | string;
438
- createdAt?: Prisma.DateTimeFilter<"ContractPhaseStepApproval"> | Date | string;
439
- };
440
- export type ContractPhaseStepApprovalCreateWithoutStepInput = {
441
- id?: string;
442
- decision: $Enums.ApprovalDecision;
443
- comment?: string | null;
444
- decidedAt?: Date | string;
445
- createdAt?: Date | string;
446
- approver?: Prisma.UserCreateNestedOneWithoutStepApprovalsInput;
447
- };
448
- export type ContractPhaseStepApprovalUncheckedCreateWithoutStepInput = {
449
- id?: string;
450
- approverId?: string | null;
451
- decision: $Enums.ApprovalDecision;
452
- comment?: string | null;
453
- decidedAt?: Date | string;
454
- createdAt?: Date | string;
455
- };
456
- export type ContractPhaseStepApprovalCreateOrConnectWithoutStepInput = {
457
- where: Prisma.ContractPhaseStepApprovalWhereUniqueInput;
458
- create: Prisma.XOR<Prisma.ContractPhaseStepApprovalCreateWithoutStepInput, Prisma.ContractPhaseStepApprovalUncheckedCreateWithoutStepInput>;
459
- };
460
- export type ContractPhaseStepApprovalCreateManyStepInputEnvelope = {
461
- data: Prisma.ContractPhaseStepApprovalCreateManyStepInput | Prisma.ContractPhaseStepApprovalCreateManyStepInput[];
462
- skipDuplicates?: boolean;
463
- };
464
- export type ContractPhaseStepApprovalUpsertWithWhereUniqueWithoutStepInput = {
465
- where: Prisma.ContractPhaseStepApprovalWhereUniqueInput;
466
- update: Prisma.XOR<Prisma.ContractPhaseStepApprovalUpdateWithoutStepInput, Prisma.ContractPhaseStepApprovalUncheckedUpdateWithoutStepInput>;
467
- create: Prisma.XOR<Prisma.ContractPhaseStepApprovalCreateWithoutStepInput, Prisma.ContractPhaseStepApprovalUncheckedCreateWithoutStepInput>;
468
- };
469
- export type ContractPhaseStepApprovalUpdateWithWhereUniqueWithoutStepInput = {
470
- where: Prisma.ContractPhaseStepApprovalWhereUniqueInput;
471
- data: Prisma.XOR<Prisma.ContractPhaseStepApprovalUpdateWithoutStepInput, Prisma.ContractPhaseStepApprovalUncheckedUpdateWithoutStepInput>;
472
- };
473
- export type ContractPhaseStepApprovalUpdateManyWithWhereWithoutStepInput = {
474
- where: Prisma.ContractPhaseStepApprovalScalarWhereInput;
475
- data: Prisma.XOR<Prisma.ContractPhaseStepApprovalUpdateManyMutationInput, Prisma.ContractPhaseStepApprovalUncheckedUpdateManyWithoutStepInput>;
476
- };
477
- export type ContractPhaseStepApprovalCreateManyApproverInput = {
478
- id?: string;
479
- stepId: string;
480
- decision: $Enums.ApprovalDecision;
481
- comment?: string | null;
482
- decidedAt?: Date | string;
483
- createdAt?: Date | string;
484
- };
485
- export type ContractPhaseStepApprovalUpdateWithoutApproverInput = {
486
- id?: Prisma.StringFieldUpdateOperationsInput | string;
487
- decision?: Prisma.EnumApprovalDecisionFieldUpdateOperationsInput | $Enums.ApprovalDecision;
488
- comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
489
- decidedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
490
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
491
- step?: Prisma.ContractPhaseStepUpdateOneRequiredWithoutApprovalsNestedInput;
492
- };
493
- export type ContractPhaseStepApprovalUncheckedUpdateWithoutApproverInput = {
494
- id?: Prisma.StringFieldUpdateOperationsInput | string;
495
- stepId?: Prisma.StringFieldUpdateOperationsInput | string;
496
- decision?: Prisma.EnumApprovalDecisionFieldUpdateOperationsInput | $Enums.ApprovalDecision;
497
- comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
498
- decidedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
499
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
500
- };
501
- export type ContractPhaseStepApprovalUncheckedUpdateManyWithoutApproverInput = {
502
- id?: Prisma.StringFieldUpdateOperationsInput | string;
503
- stepId?: Prisma.StringFieldUpdateOperationsInput | string;
504
- decision?: Prisma.EnumApprovalDecisionFieldUpdateOperationsInput | $Enums.ApprovalDecision;
505
- comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
506
- decidedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
507
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
508
- };
509
- export type ContractPhaseStepApprovalCreateManyStepInput = {
510
- id?: string;
511
- approverId?: string | null;
512
- decision: $Enums.ApprovalDecision;
513
- comment?: string | null;
514
- decidedAt?: Date | string;
515
- createdAt?: Date | string;
516
- };
517
- export type ContractPhaseStepApprovalUpdateWithoutStepInput = {
518
- id?: Prisma.StringFieldUpdateOperationsInput | string;
519
- decision?: Prisma.EnumApprovalDecisionFieldUpdateOperationsInput | $Enums.ApprovalDecision;
520
- comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
521
- decidedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
522
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
523
- approver?: Prisma.UserUpdateOneWithoutStepApprovalsNestedInput;
524
- };
525
- export type ContractPhaseStepApprovalUncheckedUpdateWithoutStepInput = {
526
- id?: Prisma.StringFieldUpdateOperationsInput | string;
527
- approverId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
528
- decision?: Prisma.EnumApprovalDecisionFieldUpdateOperationsInput | $Enums.ApprovalDecision;
529
- comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
530
- decidedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
531
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
532
- };
533
- export type ContractPhaseStepApprovalUncheckedUpdateManyWithoutStepInput = {
534
- id?: Prisma.StringFieldUpdateOperationsInput | string;
535
- approverId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
536
- decision?: Prisma.EnumApprovalDecisionFieldUpdateOperationsInput | $Enums.ApprovalDecision;
537
- comment?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
538
- decidedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
539
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
540
- };
541
- export type ContractPhaseStepApprovalSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
542
- id?: boolean;
543
- stepId?: boolean;
544
- approverId?: boolean;
545
- decision?: boolean;
546
- comment?: boolean;
547
- decidedAt?: boolean;
548
- createdAt?: boolean;
549
- step?: boolean | Prisma.ContractPhaseStepDefaultArgs<ExtArgs>;
550
- approver?: boolean | Prisma.ContractPhaseStepApproval$approverArgs<ExtArgs>;
551
- }, ExtArgs["result"]["contractPhaseStepApproval"]>;
552
- export type ContractPhaseStepApprovalSelectScalar = {
553
- id?: boolean;
554
- stepId?: boolean;
555
- approverId?: boolean;
556
- decision?: boolean;
557
- comment?: boolean;
558
- decidedAt?: boolean;
559
- createdAt?: boolean;
560
- };
561
- export type ContractPhaseStepApprovalOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "stepId" | "approverId" | "decision" | "comment" | "decidedAt" | "createdAt", ExtArgs["result"]["contractPhaseStepApproval"]>;
562
- export type ContractPhaseStepApprovalInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
563
- step?: boolean | Prisma.ContractPhaseStepDefaultArgs<ExtArgs>;
564
- approver?: boolean | Prisma.ContractPhaseStepApproval$approverArgs<ExtArgs>;
565
- };
566
- export type $ContractPhaseStepApprovalPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
567
- name: "ContractPhaseStepApproval";
568
- objects: {
569
- step: Prisma.$ContractPhaseStepPayload<ExtArgs>;
570
- approver: Prisma.$UserPayload<ExtArgs> | null;
571
- };
572
- scalars: runtime.Types.Extensions.GetPayloadResult<{
573
- id: string;
574
- stepId: string;
575
- approverId: string | null;
576
- decision: $Enums.ApprovalDecision;
577
- comment: string | null;
578
- decidedAt: Date;
579
- createdAt: Date;
580
- }, ExtArgs["result"]["contractPhaseStepApproval"]>;
581
- composites: {};
582
- };
583
- export type ContractPhaseStepApprovalGetPayload<S extends boolean | null | undefined | ContractPhaseStepApprovalDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ContractPhaseStepApprovalPayload, S>;
584
- export type ContractPhaseStepApprovalCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ContractPhaseStepApprovalFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
585
- select?: ContractPhaseStepApprovalCountAggregateInputType | true;
586
- };
587
- export interface ContractPhaseStepApprovalDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
588
- [K: symbol]: {
589
- types: Prisma.TypeMap<ExtArgs>['model']['ContractPhaseStepApproval'];
590
- meta: {
591
- name: 'ContractPhaseStepApproval';
592
- };
593
- };
594
- /**
595
- * Find zero or one ContractPhaseStepApproval that matches the filter.
596
- * @param {ContractPhaseStepApprovalFindUniqueArgs} args - Arguments to find a ContractPhaseStepApproval
597
- * @example
598
- * // Get one ContractPhaseStepApproval
599
- * const contractPhaseStepApproval = await prisma.contractPhaseStepApproval.findUnique({
600
- * where: {
601
- * // ... provide filter here
602
- * }
603
- * })
604
- */
605
- findUnique<T extends ContractPhaseStepApprovalFindUniqueArgs>(args: Prisma.SelectSubset<T, ContractPhaseStepApprovalFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ContractPhaseStepApprovalClient<runtime.Types.Result.GetResult<Prisma.$ContractPhaseStepApprovalPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
606
- /**
607
- * Find one ContractPhaseStepApproval that matches the filter or throw an error with `error.code='P2025'`
608
- * if no matches were found.
609
- * @param {ContractPhaseStepApprovalFindUniqueOrThrowArgs} args - Arguments to find a ContractPhaseStepApproval
610
- * @example
611
- * // Get one ContractPhaseStepApproval
612
- * const contractPhaseStepApproval = await prisma.contractPhaseStepApproval.findUniqueOrThrow({
613
- * where: {
614
- * // ... provide filter here
615
- * }
616
- * })
617
- */
618
- findUniqueOrThrow<T extends ContractPhaseStepApprovalFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ContractPhaseStepApprovalFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ContractPhaseStepApprovalClient<runtime.Types.Result.GetResult<Prisma.$ContractPhaseStepApprovalPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
619
- /**
620
- * Find the first ContractPhaseStepApproval that matches the filter.
621
- * Note, that providing `undefined` is treated as the value not being there.
622
- * Read more here: https://pris.ly/d/null-undefined
623
- * @param {ContractPhaseStepApprovalFindFirstArgs} args - Arguments to find a ContractPhaseStepApproval
624
- * @example
625
- * // Get one ContractPhaseStepApproval
626
- * const contractPhaseStepApproval = await prisma.contractPhaseStepApproval.findFirst({
627
- * where: {
628
- * // ... provide filter here
629
- * }
630
- * })
631
- */
632
- findFirst<T extends ContractPhaseStepApprovalFindFirstArgs>(args?: Prisma.SelectSubset<T, ContractPhaseStepApprovalFindFirstArgs<ExtArgs>>): Prisma.Prisma__ContractPhaseStepApprovalClient<runtime.Types.Result.GetResult<Prisma.$ContractPhaseStepApprovalPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
633
- /**
634
- * Find the first ContractPhaseStepApproval that matches the filter or
635
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
636
- * Note, that providing `undefined` is treated as the value not being there.
637
- * Read more here: https://pris.ly/d/null-undefined
638
- * @param {ContractPhaseStepApprovalFindFirstOrThrowArgs} args - Arguments to find a ContractPhaseStepApproval
639
- * @example
640
- * // Get one ContractPhaseStepApproval
641
- * const contractPhaseStepApproval = await prisma.contractPhaseStepApproval.findFirstOrThrow({
642
- * where: {
643
- * // ... provide filter here
644
- * }
645
- * })
646
- */
647
- findFirstOrThrow<T extends ContractPhaseStepApprovalFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ContractPhaseStepApprovalFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ContractPhaseStepApprovalClient<runtime.Types.Result.GetResult<Prisma.$ContractPhaseStepApprovalPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
648
- /**
649
- * Find zero or more ContractPhaseStepApprovals that matches the filter.
650
- * Note, that providing `undefined` is treated as the value not being there.
651
- * Read more here: https://pris.ly/d/null-undefined
652
- * @param {ContractPhaseStepApprovalFindManyArgs} args - Arguments to filter and select certain fields only.
653
- * @example
654
- * // Get all ContractPhaseStepApprovals
655
- * const contractPhaseStepApprovals = await prisma.contractPhaseStepApproval.findMany()
656
- *
657
- * // Get first 10 ContractPhaseStepApprovals
658
- * const contractPhaseStepApprovals = await prisma.contractPhaseStepApproval.findMany({ take: 10 })
659
- *
660
- * // Only select the `id`
661
- * const contractPhaseStepApprovalWithIdOnly = await prisma.contractPhaseStepApproval.findMany({ select: { id: true } })
662
- *
663
- */
664
- findMany<T extends ContractPhaseStepApprovalFindManyArgs>(args?: Prisma.SelectSubset<T, ContractPhaseStepApprovalFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ContractPhaseStepApprovalPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
665
- /**
666
- * Create a ContractPhaseStepApproval.
667
- * @param {ContractPhaseStepApprovalCreateArgs} args - Arguments to create a ContractPhaseStepApproval.
668
- * @example
669
- * // Create one ContractPhaseStepApproval
670
- * const ContractPhaseStepApproval = await prisma.contractPhaseStepApproval.create({
671
- * data: {
672
- * // ... data to create a ContractPhaseStepApproval
673
- * }
674
- * })
675
- *
676
- */
677
- create<T extends ContractPhaseStepApprovalCreateArgs>(args: Prisma.SelectSubset<T, ContractPhaseStepApprovalCreateArgs<ExtArgs>>): Prisma.Prisma__ContractPhaseStepApprovalClient<runtime.Types.Result.GetResult<Prisma.$ContractPhaseStepApprovalPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
678
- /**
679
- * Create many ContractPhaseStepApprovals.
680
- * @param {ContractPhaseStepApprovalCreateManyArgs} args - Arguments to create many ContractPhaseStepApprovals.
681
- * @example
682
- * // Create many ContractPhaseStepApprovals
683
- * const contractPhaseStepApproval = await prisma.contractPhaseStepApproval.createMany({
684
- * data: [
685
- * // ... provide data here
686
- * ]
687
- * })
688
- *
689
- */
690
- createMany<T extends ContractPhaseStepApprovalCreateManyArgs>(args?: Prisma.SelectSubset<T, ContractPhaseStepApprovalCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
691
- /**
692
- * Delete a ContractPhaseStepApproval.
693
- * @param {ContractPhaseStepApprovalDeleteArgs} args - Arguments to delete one ContractPhaseStepApproval.
694
- * @example
695
- * // Delete one ContractPhaseStepApproval
696
- * const ContractPhaseStepApproval = await prisma.contractPhaseStepApproval.delete({
697
- * where: {
698
- * // ... filter to delete one ContractPhaseStepApproval
699
- * }
700
- * })
701
- *
702
- */
703
- delete<T extends ContractPhaseStepApprovalDeleteArgs>(args: Prisma.SelectSubset<T, ContractPhaseStepApprovalDeleteArgs<ExtArgs>>): Prisma.Prisma__ContractPhaseStepApprovalClient<runtime.Types.Result.GetResult<Prisma.$ContractPhaseStepApprovalPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
704
- /**
705
- * Update one ContractPhaseStepApproval.
706
- * @param {ContractPhaseStepApprovalUpdateArgs} args - Arguments to update one ContractPhaseStepApproval.
707
- * @example
708
- * // Update one ContractPhaseStepApproval
709
- * const contractPhaseStepApproval = await prisma.contractPhaseStepApproval.update({
710
- * where: {
711
- * // ... provide filter here
712
- * },
713
- * data: {
714
- * // ... provide data here
715
- * }
716
- * })
717
- *
718
- */
719
- update<T extends ContractPhaseStepApprovalUpdateArgs>(args: Prisma.SelectSubset<T, ContractPhaseStepApprovalUpdateArgs<ExtArgs>>): Prisma.Prisma__ContractPhaseStepApprovalClient<runtime.Types.Result.GetResult<Prisma.$ContractPhaseStepApprovalPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
720
- /**
721
- * Delete zero or more ContractPhaseStepApprovals.
722
- * @param {ContractPhaseStepApprovalDeleteManyArgs} args - Arguments to filter ContractPhaseStepApprovals to delete.
723
- * @example
724
- * // Delete a few ContractPhaseStepApprovals
725
- * const { count } = await prisma.contractPhaseStepApproval.deleteMany({
726
- * where: {
727
- * // ... provide filter here
728
- * }
729
- * })
730
- *
731
- */
732
- deleteMany<T extends ContractPhaseStepApprovalDeleteManyArgs>(args?: Prisma.SelectSubset<T, ContractPhaseStepApprovalDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
733
- /**
734
- * Update zero or more ContractPhaseStepApprovals.
735
- * Note, that providing `undefined` is treated as the value not being there.
736
- * Read more here: https://pris.ly/d/null-undefined
737
- * @param {ContractPhaseStepApprovalUpdateManyArgs} args - Arguments to update one or more rows.
738
- * @example
739
- * // Update many ContractPhaseStepApprovals
740
- * const contractPhaseStepApproval = await prisma.contractPhaseStepApproval.updateMany({
741
- * where: {
742
- * // ... provide filter here
743
- * },
744
- * data: {
745
- * // ... provide data here
746
- * }
747
- * })
748
- *
749
- */
750
- updateMany<T extends ContractPhaseStepApprovalUpdateManyArgs>(args: Prisma.SelectSubset<T, ContractPhaseStepApprovalUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
751
- /**
752
- * Create or update one ContractPhaseStepApproval.
753
- * @param {ContractPhaseStepApprovalUpsertArgs} args - Arguments to update or create a ContractPhaseStepApproval.
754
- * @example
755
- * // Update or create a ContractPhaseStepApproval
756
- * const contractPhaseStepApproval = await prisma.contractPhaseStepApproval.upsert({
757
- * create: {
758
- * // ... data to create a ContractPhaseStepApproval
759
- * },
760
- * update: {
761
- * // ... in case it already exists, update
762
- * },
763
- * where: {
764
- * // ... the filter for the ContractPhaseStepApproval we want to update
765
- * }
766
- * })
767
- */
768
- upsert<T extends ContractPhaseStepApprovalUpsertArgs>(args: Prisma.SelectSubset<T, ContractPhaseStepApprovalUpsertArgs<ExtArgs>>): Prisma.Prisma__ContractPhaseStepApprovalClient<runtime.Types.Result.GetResult<Prisma.$ContractPhaseStepApprovalPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
769
- /**
770
- * Count the number of ContractPhaseStepApprovals.
771
- * Note, that providing `undefined` is treated as the value not being there.
772
- * Read more here: https://pris.ly/d/null-undefined
773
- * @param {ContractPhaseStepApprovalCountArgs} args - Arguments to filter ContractPhaseStepApprovals to count.
774
- * @example
775
- * // Count the number of ContractPhaseStepApprovals
776
- * const count = await prisma.contractPhaseStepApproval.count({
777
- * where: {
778
- * // ... the filter for the ContractPhaseStepApprovals we want to count
779
- * }
780
- * })
781
- **/
782
- count<T extends ContractPhaseStepApprovalCountArgs>(args?: Prisma.Subset<T, ContractPhaseStepApprovalCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ContractPhaseStepApprovalCountAggregateOutputType> : number>;
783
- /**
784
- * Allows you to perform aggregations operations on a ContractPhaseStepApproval.
785
- * Note, that providing `undefined` is treated as the value not being there.
786
- * Read more here: https://pris.ly/d/null-undefined
787
- * @param {ContractPhaseStepApprovalAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
788
- * @example
789
- * // Ordered by age ascending
790
- * // Where email contains prisma.io
791
- * // Limited to the 10 users
792
- * const aggregations = await prisma.user.aggregate({
793
- * _avg: {
794
- * age: true,
795
- * },
796
- * where: {
797
- * email: {
798
- * contains: "prisma.io",
799
- * },
800
- * },
801
- * orderBy: {
802
- * age: "asc",
803
- * },
804
- * take: 10,
805
- * })
806
- **/
807
- aggregate<T extends ContractPhaseStepApprovalAggregateArgs>(args: Prisma.Subset<T, ContractPhaseStepApprovalAggregateArgs>): Prisma.PrismaPromise<GetContractPhaseStepApprovalAggregateType<T>>;
808
- /**
809
- * Group by ContractPhaseStepApproval.
810
- * Note, that providing `undefined` is treated as the value not being there.
811
- * Read more here: https://pris.ly/d/null-undefined
812
- * @param {ContractPhaseStepApprovalGroupByArgs} args - Group by arguments.
813
- * @example
814
- * // Group by city, order by createdAt, get count
815
- * const result = await prisma.user.groupBy({
816
- * by: ['city', 'createdAt'],
817
- * orderBy: {
818
- * createdAt: true
819
- * },
820
- * _count: {
821
- * _all: true
822
- * },
823
- * })
824
- *
825
- **/
826
- groupBy<T extends ContractPhaseStepApprovalGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
827
- orderBy: ContractPhaseStepApprovalGroupByArgs['orderBy'];
828
- } : {
829
- orderBy?: ContractPhaseStepApprovalGroupByArgs['orderBy'];
830
- }, 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 ? {
831
- [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
832
- Error,
833
- 'Field ',
834
- P,
835
- ` in "having" needs to be provided in "by"`
836
- ];
837
- }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
838
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
839
- }[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 ? {} : {
840
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
841
- }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
842
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
843
- }[OrderFields]>(args: Prisma.SubsetIntersection<T, ContractPhaseStepApprovalGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetContractPhaseStepApprovalGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
844
- /**
845
- * Fields of the ContractPhaseStepApproval model
846
- */
847
- readonly fields: ContractPhaseStepApprovalFieldRefs;
848
- }
849
- /**
850
- * The delegate class that acts as a "Promise-like" for ContractPhaseStepApproval.
851
- * Why is this prefixed with `Prisma__`?
852
- * Because we want to prevent naming conflicts as mentioned in
853
- * https://github.com/prisma/prisma-client-js/issues/707
854
- */
855
- export interface Prisma__ContractPhaseStepApprovalClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
856
- readonly [Symbol.toStringTag]: "PrismaPromise";
857
- step<T extends Prisma.ContractPhaseStepDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ContractPhaseStepDefaultArgs<ExtArgs>>): Prisma.Prisma__ContractPhaseStepClient<runtime.Types.Result.GetResult<Prisma.$ContractPhaseStepPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
858
- approver<T extends Prisma.ContractPhaseStepApproval$approverArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ContractPhaseStepApproval$approverArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
859
- /**
860
- * Attaches callbacks for the resolution and/or rejection of the Promise.
861
- * @param onfulfilled The callback to execute when the Promise is resolved.
862
- * @param onrejected The callback to execute when the Promise is rejected.
863
- * @returns A Promise for the completion of which ever callback is executed.
864
- */
865
- 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>;
866
- /**
867
- * Attaches a callback for only the rejection of the Promise.
868
- * @param onrejected The callback to execute when the Promise is rejected.
869
- * @returns A Promise for the completion of the callback.
870
- */
871
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
872
- /**
873
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
874
- * resolved value cannot be modified from the callback.
875
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
876
- * @returns A Promise for the completion of the callback.
877
- */
878
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
879
- }
880
- /**
881
- * Fields of the ContractPhaseStepApproval model
882
- */
883
- export interface ContractPhaseStepApprovalFieldRefs {
884
- readonly id: Prisma.FieldRef<"ContractPhaseStepApproval", 'String'>;
885
- readonly stepId: Prisma.FieldRef<"ContractPhaseStepApproval", 'String'>;
886
- readonly approverId: Prisma.FieldRef<"ContractPhaseStepApproval", 'String'>;
887
- readonly decision: Prisma.FieldRef<"ContractPhaseStepApproval", 'ApprovalDecision'>;
888
- readonly comment: Prisma.FieldRef<"ContractPhaseStepApproval", 'String'>;
889
- readonly decidedAt: Prisma.FieldRef<"ContractPhaseStepApproval", 'DateTime'>;
890
- readonly createdAt: Prisma.FieldRef<"ContractPhaseStepApproval", 'DateTime'>;
891
- }
892
- /**
893
- * ContractPhaseStepApproval findUnique
894
- */
895
- export type ContractPhaseStepApprovalFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
896
- /**
897
- * Select specific fields to fetch from the ContractPhaseStepApproval
898
- */
899
- select?: Prisma.ContractPhaseStepApprovalSelect<ExtArgs> | null;
900
- /**
901
- * Omit specific fields from the ContractPhaseStepApproval
902
- */
903
- omit?: Prisma.ContractPhaseStepApprovalOmit<ExtArgs> | null;
904
- /**
905
- * Choose, which related nodes to fetch as well
906
- */
907
- include?: Prisma.ContractPhaseStepApprovalInclude<ExtArgs> | null;
908
- /**
909
- * Filter, which ContractPhaseStepApproval to fetch.
910
- */
911
- where: Prisma.ContractPhaseStepApprovalWhereUniqueInput;
912
- };
913
- /**
914
- * ContractPhaseStepApproval findUniqueOrThrow
915
- */
916
- export type ContractPhaseStepApprovalFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
917
- /**
918
- * Select specific fields to fetch from the ContractPhaseStepApproval
919
- */
920
- select?: Prisma.ContractPhaseStepApprovalSelect<ExtArgs> | null;
921
- /**
922
- * Omit specific fields from the ContractPhaseStepApproval
923
- */
924
- omit?: Prisma.ContractPhaseStepApprovalOmit<ExtArgs> | null;
925
- /**
926
- * Choose, which related nodes to fetch as well
927
- */
928
- include?: Prisma.ContractPhaseStepApprovalInclude<ExtArgs> | null;
929
- /**
930
- * Filter, which ContractPhaseStepApproval to fetch.
931
- */
932
- where: Prisma.ContractPhaseStepApprovalWhereUniqueInput;
933
- };
934
- /**
935
- * ContractPhaseStepApproval findFirst
936
- */
937
- export type ContractPhaseStepApprovalFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
938
- /**
939
- * Select specific fields to fetch from the ContractPhaseStepApproval
940
- */
941
- select?: Prisma.ContractPhaseStepApprovalSelect<ExtArgs> | null;
942
- /**
943
- * Omit specific fields from the ContractPhaseStepApproval
944
- */
945
- omit?: Prisma.ContractPhaseStepApprovalOmit<ExtArgs> | null;
946
- /**
947
- * Choose, which related nodes to fetch as well
948
- */
949
- include?: Prisma.ContractPhaseStepApprovalInclude<ExtArgs> | null;
950
- /**
951
- * Filter, which ContractPhaseStepApproval to fetch.
952
- */
953
- where?: Prisma.ContractPhaseStepApprovalWhereInput;
954
- /**
955
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
956
- *
957
- * Determine the order of ContractPhaseStepApprovals to fetch.
958
- */
959
- orderBy?: Prisma.ContractPhaseStepApprovalOrderByWithRelationInput | Prisma.ContractPhaseStepApprovalOrderByWithRelationInput[];
960
- /**
961
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
962
- *
963
- * Sets the position for searching for ContractPhaseStepApprovals.
964
- */
965
- cursor?: Prisma.ContractPhaseStepApprovalWhereUniqueInput;
966
- /**
967
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
968
- *
969
- * Take `±n` ContractPhaseStepApprovals from the position of the cursor.
970
- */
971
- take?: number;
972
- /**
973
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
974
- *
975
- * Skip the first `n` ContractPhaseStepApprovals.
976
- */
977
- skip?: number;
978
- /**
979
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
980
- *
981
- * Filter by unique combinations of ContractPhaseStepApprovals.
982
- */
983
- distinct?: Prisma.ContractPhaseStepApprovalScalarFieldEnum | Prisma.ContractPhaseStepApprovalScalarFieldEnum[];
984
- };
985
- /**
986
- * ContractPhaseStepApproval findFirstOrThrow
987
- */
988
- export type ContractPhaseStepApprovalFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
989
- /**
990
- * Select specific fields to fetch from the ContractPhaseStepApproval
991
- */
992
- select?: Prisma.ContractPhaseStepApprovalSelect<ExtArgs> | null;
993
- /**
994
- * Omit specific fields from the ContractPhaseStepApproval
995
- */
996
- omit?: Prisma.ContractPhaseStepApprovalOmit<ExtArgs> | null;
997
- /**
998
- * Choose, which related nodes to fetch as well
999
- */
1000
- include?: Prisma.ContractPhaseStepApprovalInclude<ExtArgs> | null;
1001
- /**
1002
- * Filter, which ContractPhaseStepApproval to fetch.
1003
- */
1004
- where?: Prisma.ContractPhaseStepApprovalWhereInput;
1005
- /**
1006
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1007
- *
1008
- * Determine the order of ContractPhaseStepApprovals to fetch.
1009
- */
1010
- orderBy?: Prisma.ContractPhaseStepApprovalOrderByWithRelationInput | Prisma.ContractPhaseStepApprovalOrderByWithRelationInput[];
1011
- /**
1012
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1013
- *
1014
- * Sets the position for searching for ContractPhaseStepApprovals.
1015
- */
1016
- cursor?: Prisma.ContractPhaseStepApprovalWhereUniqueInput;
1017
- /**
1018
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1019
- *
1020
- * Take `±n` ContractPhaseStepApprovals from the position of the cursor.
1021
- */
1022
- take?: number;
1023
- /**
1024
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1025
- *
1026
- * Skip the first `n` ContractPhaseStepApprovals.
1027
- */
1028
- skip?: number;
1029
- /**
1030
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1031
- *
1032
- * Filter by unique combinations of ContractPhaseStepApprovals.
1033
- */
1034
- distinct?: Prisma.ContractPhaseStepApprovalScalarFieldEnum | Prisma.ContractPhaseStepApprovalScalarFieldEnum[];
1035
- };
1036
- /**
1037
- * ContractPhaseStepApproval findMany
1038
- */
1039
- export type ContractPhaseStepApprovalFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1040
- /**
1041
- * Select specific fields to fetch from the ContractPhaseStepApproval
1042
- */
1043
- select?: Prisma.ContractPhaseStepApprovalSelect<ExtArgs> | null;
1044
- /**
1045
- * Omit specific fields from the ContractPhaseStepApproval
1046
- */
1047
- omit?: Prisma.ContractPhaseStepApprovalOmit<ExtArgs> | null;
1048
- /**
1049
- * Choose, which related nodes to fetch as well
1050
- */
1051
- include?: Prisma.ContractPhaseStepApprovalInclude<ExtArgs> | null;
1052
- /**
1053
- * Filter, which ContractPhaseStepApprovals to fetch.
1054
- */
1055
- where?: Prisma.ContractPhaseStepApprovalWhereInput;
1056
- /**
1057
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1058
- *
1059
- * Determine the order of ContractPhaseStepApprovals to fetch.
1060
- */
1061
- orderBy?: Prisma.ContractPhaseStepApprovalOrderByWithRelationInput | Prisma.ContractPhaseStepApprovalOrderByWithRelationInput[];
1062
- /**
1063
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1064
- *
1065
- * Sets the position for listing ContractPhaseStepApprovals.
1066
- */
1067
- cursor?: Prisma.ContractPhaseStepApprovalWhereUniqueInput;
1068
- /**
1069
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1070
- *
1071
- * Take `±n` ContractPhaseStepApprovals from the position of the cursor.
1072
- */
1073
- take?: number;
1074
- /**
1075
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1076
- *
1077
- * Skip the first `n` ContractPhaseStepApprovals.
1078
- */
1079
- skip?: number;
1080
- distinct?: Prisma.ContractPhaseStepApprovalScalarFieldEnum | Prisma.ContractPhaseStepApprovalScalarFieldEnum[];
1081
- };
1082
- /**
1083
- * ContractPhaseStepApproval create
1084
- */
1085
- export type ContractPhaseStepApprovalCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1086
- /**
1087
- * Select specific fields to fetch from the ContractPhaseStepApproval
1088
- */
1089
- select?: Prisma.ContractPhaseStepApprovalSelect<ExtArgs> | null;
1090
- /**
1091
- * Omit specific fields from the ContractPhaseStepApproval
1092
- */
1093
- omit?: Prisma.ContractPhaseStepApprovalOmit<ExtArgs> | null;
1094
- /**
1095
- * Choose, which related nodes to fetch as well
1096
- */
1097
- include?: Prisma.ContractPhaseStepApprovalInclude<ExtArgs> | null;
1098
- /**
1099
- * The data needed to create a ContractPhaseStepApproval.
1100
- */
1101
- data: Prisma.XOR<Prisma.ContractPhaseStepApprovalCreateInput, Prisma.ContractPhaseStepApprovalUncheckedCreateInput>;
1102
- };
1103
- /**
1104
- * ContractPhaseStepApproval createMany
1105
- */
1106
- export type ContractPhaseStepApprovalCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1107
- /**
1108
- * The data used to create many ContractPhaseStepApprovals.
1109
- */
1110
- data: Prisma.ContractPhaseStepApprovalCreateManyInput | Prisma.ContractPhaseStepApprovalCreateManyInput[];
1111
- skipDuplicates?: boolean;
1112
- };
1113
- /**
1114
- * ContractPhaseStepApproval update
1115
- */
1116
- export type ContractPhaseStepApprovalUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1117
- /**
1118
- * Select specific fields to fetch from the ContractPhaseStepApproval
1119
- */
1120
- select?: Prisma.ContractPhaseStepApprovalSelect<ExtArgs> | null;
1121
- /**
1122
- * Omit specific fields from the ContractPhaseStepApproval
1123
- */
1124
- omit?: Prisma.ContractPhaseStepApprovalOmit<ExtArgs> | null;
1125
- /**
1126
- * Choose, which related nodes to fetch as well
1127
- */
1128
- include?: Prisma.ContractPhaseStepApprovalInclude<ExtArgs> | null;
1129
- /**
1130
- * The data needed to update a ContractPhaseStepApproval.
1131
- */
1132
- data: Prisma.XOR<Prisma.ContractPhaseStepApprovalUpdateInput, Prisma.ContractPhaseStepApprovalUncheckedUpdateInput>;
1133
- /**
1134
- * Choose, which ContractPhaseStepApproval to update.
1135
- */
1136
- where: Prisma.ContractPhaseStepApprovalWhereUniqueInput;
1137
- };
1138
- /**
1139
- * ContractPhaseStepApproval updateMany
1140
- */
1141
- export type ContractPhaseStepApprovalUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1142
- /**
1143
- * The data used to update ContractPhaseStepApprovals.
1144
- */
1145
- data: Prisma.XOR<Prisma.ContractPhaseStepApprovalUpdateManyMutationInput, Prisma.ContractPhaseStepApprovalUncheckedUpdateManyInput>;
1146
- /**
1147
- * Filter which ContractPhaseStepApprovals to update
1148
- */
1149
- where?: Prisma.ContractPhaseStepApprovalWhereInput;
1150
- /**
1151
- * Limit how many ContractPhaseStepApprovals to update.
1152
- */
1153
- limit?: number;
1154
- };
1155
- /**
1156
- * ContractPhaseStepApproval upsert
1157
- */
1158
- export type ContractPhaseStepApprovalUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1159
- /**
1160
- * Select specific fields to fetch from the ContractPhaseStepApproval
1161
- */
1162
- select?: Prisma.ContractPhaseStepApprovalSelect<ExtArgs> | null;
1163
- /**
1164
- * Omit specific fields from the ContractPhaseStepApproval
1165
- */
1166
- omit?: Prisma.ContractPhaseStepApprovalOmit<ExtArgs> | null;
1167
- /**
1168
- * Choose, which related nodes to fetch as well
1169
- */
1170
- include?: Prisma.ContractPhaseStepApprovalInclude<ExtArgs> | null;
1171
- /**
1172
- * The filter to search for the ContractPhaseStepApproval to update in case it exists.
1173
- */
1174
- where: Prisma.ContractPhaseStepApprovalWhereUniqueInput;
1175
- /**
1176
- * In case the ContractPhaseStepApproval found by the `where` argument doesn't exist, create a new ContractPhaseStepApproval with this data.
1177
- */
1178
- create: Prisma.XOR<Prisma.ContractPhaseStepApprovalCreateInput, Prisma.ContractPhaseStepApprovalUncheckedCreateInput>;
1179
- /**
1180
- * In case the ContractPhaseStepApproval was found with the provided `where` argument, update it with this data.
1181
- */
1182
- update: Prisma.XOR<Prisma.ContractPhaseStepApprovalUpdateInput, Prisma.ContractPhaseStepApprovalUncheckedUpdateInput>;
1183
- };
1184
- /**
1185
- * ContractPhaseStepApproval delete
1186
- */
1187
- export type ContractPhaseStepApprovalDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1188
- /**
1189
- * Select specific fields to fetch from the ContractPhaseStepApproval
1190
- */
1191
- select?: Prisma.ContractPhaseStepApprovalSelect<ExtArgs> | null;
1192
- /**
1193
- * Omit specific fields from the ContractPhaseStepApproval
1194
- */
1195
- omit?: Prisma.ContractPhaseStepApprovalOmit<ExtArgs> | null;
1196
- /**
1197
- * Choose, which related nodes to fetch as well
1198
- */
1199
- include?: Prisma.ContractPhaseStepApprovalInclude<ExtArgs> | null;
1200
- /**
1201
- * Filter which ContractPhaseStepApproval to delete.
1202
- */
1203
- where: Prisma.ContractPhaseStepApprovalWhereUniqueInput;
1204
- };
1205
- /**
1206
- * ContractPhaseStepApproval deleteMany
1207
- */
1208
- export type ContractPhaseStepApprovalDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1209
- /**
1210
- * Filter which ContractPhaseStepApprovals to delete
1211
- */
1212
- where?: Prisma.ContractPhaseStepApprovalWhereInput;
1213
- /**
1214
- * Limit how many ContractPhaseStepApprovals to delete.
1215
- */
1216
- limit?: number;
1217
- };
1218
- /**
1219
- * ContractPhaseStepApproval.approver
1220
- */
1221
- export type ContractPhaseStepApproval$approverArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1222
- /**
1223
- * Select specific fields to fetch from the User
1224
- */
1225
- select?: Prisma.UserSelect<ExtArgs> | null;
1226
- /**
1227
- * Omit specific fields from the User
1228
- */
1229
- omit?: Prisma.UserOmit<ExtArgs> | null;
1230
- /**
1231
- * Choose, which related nodes to fetch as well
1232
- */
1233
- include?: Prisma.UserInclude<ExtArgs> | null;
1234
- where?: Prisma.UserWhereInput;
1235
- };
1236
- /**
1237
- * ContractPhaseStepApproval without action
1238
- */
1239
- export type ContractPhaseStepApprovalDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1240
- /**
1241
- * Select specific fields to fetch from the ContractPhaseStepApproval
1242
- */
1243
- select?: Prisma.ContractPhaseStepApprovalSelect<ExtArgs> | null;
1244
- /**
1245
- * Omit specific fields from the ContractPhaseStepApproval
1246
- */
1247
- omit?: Prisma.ContractPhaseStepApprovalOmit<ExtArgs> | null;
1248
- /**
1249
- * Choose, which related nodes to fetch as well
1250
- */
1251
- include?: Prisma.ContractPhaseStepApprovalInclude<ExtArgs> | null;
1252
- };
1253
- export {};