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