@valentine-efagene/qshelter-common 2.0.99 → 2.0.100

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/generated/client/internal/class.js +2 -2
  2. package/dist/generated/client/internal/prismaNamespace.d.ts +56 -0
  3. package/dist/generated/client/internal/prismaNamespace.js +56 -0
  4. package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +56 -0
  5. package/dist/generated/client/internal/prismaNamespaceBrowser.js +56 -0
  6. package/dist/generated/client/models/Amenity.d.ts +183 -3
  7. package/dist/generated/client/models/ApplicationDocument.d.ts +183 -1
  8. package/dist/generated/client/models/ApplicationEvent.d.ts +190 -14
  9. package/dist/generated/client/models/ApplicationPayment.d.ts +225 -1
  10. package/dist/generated/client/models/ApplicationPhase.d.ts +272 -26
  11. package/dist/generated/client/models/DocumentationPhase.d.ts +224 -24
  12. package/dist/generated/client/models/DocumentationStep.d.ts +237 -1
  13. package/dist/generated/client/models/DocumentationStepApproval.d.ts +159 -1
  14. package/dist/generated/client/models/DocumentationStepDocument.d.ts +150 -10
  15. package/dist/generated/client/models/EventHandlerExecution.d.ts +208 -14
  16. package/dist/generated/client/models/PaymentInstallment.d.ts +228 -14
  17. package/dist/generated/client/models/PaymentMethodPhaseDocument.d.ts +178 -14
  18. package/dist/generated/client/models/PaymentMethodPhaseField.d.ts +208 -14
  19. package/dist/generated/client/models/PaymentMethodPhaseStep.d.ts +180 -14
  20. package/dist/generated/client/models/PaymentPhase.d.ts +214 -14
  21. package/dist/generated/client/models/PhaseEventAttachment.d.ts +178 -14
  22. package/dist/generated/client/models/PropertyAmenity.d.ts +145 -11
  23. package/dist/generated/client/models/PropertyDocument.d.ts +164 -12
  24. package/dist/generated/client/models/PropertyMedia.d.ts +183 -17
  25. package/dist/generated/client/models/PropertyPaymentMethodLink.d.ts +159 -13
  26. package/dist/generated/client/models/PropertyPaymentMethodPhase.d.ts +270 -14
  27. package/dist/generated/client/models/PropertyUnit.d.ts +230 -14
  28. package/dist/generated/client/models/PropertyVariant.d.ts +256 -14
  29. package/dist/generated/client/models/PropertyVariantAmenity.d.ts +145 -11
  30. package/dist/generated/client/models/PropertyVariantMedia.d.ts +171 -13
  31. package/dist/generated/client/models/QuestionnaireField.d.ts +232 -14
  32. package/dist/generated/client/models/QuestionnairePhase.d.ts +207 -1
  33. package/dist/generated/client/models/StepEventAttachment.d.ts +178 -14
  34. package/dist/generated/client/models/Tenant.d.ts +11653 -1153
  35. package/dist/src/prisma/tenant.js +26 -32
  36. package/package.json +1 -1
  37. package/prisma/migrations/20260113000000_remove_workflow_analytics_summary/migration.sql +5 -0
  38. package/prisma/migrations/20260113110450_add_tenant_id_to_child_models/migration.sql +334 -0
  39. package/prisma/schema.prisma +143 -30
@@ -12,6 +12,7 @@ export type AggregateDocumentationStepDocument = {
12
12
  };
13
13
  export type DocumentationStepDocumentMinAggregateOutputType = {
14
14
  id: string | null;
15
+ tenantId: string | null;
15
16
  stepId: string | null;
16
17
  documentType: string | null;
17
18
  isRequired: boolean | null;
@@ -19,6 +20,7 @@ export type DocumentationStepDocumentMinAggregateOutputType = {
19
20
  };
20
21
  export type DocumentationStepDocumentMaxAggregateOutputType = {
21
22
  id: string | null;
23
+ tenantId: string | null;
22
24
  stepId: string | null;
23
25
  documentType: string | null;
24
26
  isRequired: boolean | null;
@@ -26,6 +28,7 @@ export type DocumentationStepDocumentMaxAggregateOutputType = {
26
28
  };
27
29
  export type DocumentationStepDocumentCountAggregateOutputType = {
28
30
  id: number;
31
+ tenantId: number;
29
32
  stepId: number;
30
33
  documentType: number;
31
34
  isRequired: number;
@@ -34,6 +37,7 @@ export type DocumentationStepDocumentCountAggregateOutputType = {
34
37
  };
35
38
  export type DocumentationStepDocumentMinAggregateInputType = {
36
39
  id?: true;
40
+ tenantId?: true;
37
41
  stepId?: true;
38
42
  documentType?: true;
39
43
  isRequired?: true;
@@ -41,6 +45,7 @@ export type DocumentationStepDocumentMinAggregateInputType = {
41
45
  };
42
46
  export type DocumentationStepDocumentMaxAggregateInputType = {
43
47
  id?: true;
48
+ tenantId?: true;
44
49
  stepId?: true;
45
50
  documentType?: true;
46
51
  isRequired?: true;
@@ -48,6 +53,7 @@ export type DocumentationStepDocumentMaxAggregateInputType = {
48
53
  };
49
54
  export type DocumentationStepDocumentCountAggregateInputType = {
50
55
  id?: true;
56
+ tenantId?: true;
51
57
  stepId?: true;
52
58
  documentType?: true;
53
59
  isRequired?: true;
@@ -118,6 +124,7 @@ export type DocumentationStepDocumentGroupByArgs<ExtArgs extends runtime.Types.E
118
124
  };
119
125
  export type DocumentationStepDocumentGroupByOutputType = {
120
126
  id: string;
127
+ tenantId: string;
121
128
  stepId: string;
122
129
  documentType: string;
123
130
  isRequired: boolean;
@@ -134,18 +141,22 @@ export type DocumentationStepDocumentWhereInput = {
134
141
  OR?: Prisma.DocumentationStepDocumentWhereInput[];
135
142
  NOT?: Prisma.DocumentationStepDocumentWhereInput | Prisma.DocumentationStepDocumentWhereInput[];
136
143
  id?: Prisma.StringFilter<"DocumentationStepDocument"> | string;
144
+ tenantId?: Prisma.StringFilter<"DocumentationStepDocument"> | string;
137
145
  stepId?: Prisma.StringFilter<"DocumentationStepDocument"> | string;
138
146
  documentType?: Prisma.StringFilter<"DocumentationStepDocument"> | string;
139
147
  isRequired?: Prisma.BoolFilter<"DocumentationStepDocument"> | boolean;
140
148
  createdAt?: Prisma.DateTimeFilter<"DocumentationStepDocument"> | Date | string;
149
+ tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
141
150
  step?: Prisma.XOR<Prisma.DocumentationStepScalarRelationFilter, Prisma.DocumentationStepWhereInput>;
142
151
  };
143
152
  export type DocumentationStepDocumentOrderByWithRelationInput = {
144
153
  id?: Prisma.SortOrder;
154
+ tenantId?: Prisma.SortOrder;
145
155
  stepId?: Prisma.SortOrder;
146
156
  documentType?: Prisma.SortOrder;
147
157
  isRequired?: Prisma.SortOrder;
148
158
  createdAt?: Prisma.SortOrder;
159
+ tenant?: Prisma.TenantOrderByWithRelationInput;
149
160
  step?: Prisma.DocumentationStepOrderByWithRelationInput;
150
161
  _relevance?: Prisma.DocumentationStepDocumentOrderByRelevanceInput;
151
162
  };
@@ -154,14 +165,17 @@ export type DocumentationStepDocumentWhereUniqueInput = Prisma.AtLeast<{
154
165
  AND?: Prisma.DocumentationStepDocumentWhereInput | Prisma.DocumentationStepDocumentWhereInput[];
155
166
  OR?: Prisma.DocumentationStepDocumentWhereInput[];
156
167
  NOT?: Prisma.DocumentationStepDocumentWhereInput | Prisma.DocumentationStepDocumentWhereInput[];
168
+ tenantId?: Prisma.StringFilter<"DocumentationStepDocument"> | string;
157
169
  stepId?: Prisma.StringFilter<"DocumentationStepDocument"> | string;
158
170
  documentType?: Prisma.StringFilter<"DocumentationStepDocument"> | string;
159
171
  isRequired?: Prisma.BoolFilter<"DocumentationStepDocument"> | boolean;
160
172
  createdAt?: Prisma.DateTimeFilter<"DocumentationStepDocument"> | Date | string;
173
+ tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>;
161
174
  step?: Prisma.XOR<Prisma.DocumentationStepScalarRelationFilter, Prisma.DocumentationStepWhereInput>;
162
175
  }, "id">;
163
176
  export type DocumentationStepDocumentOrderByWithAggregationInput = {
164
177
  id?: Prisma.SortOrder;
178
+ tenantId?: Prisma.SortOrder;
165
179
  stepId?: Prisma.SortOrder;
166
180
  documentType?: Prisma.SortOrder;
167
181
  isRequired?: Prisma.SortOrder;
@@ -175,6 +189,7 @@ export type DocumentationStepDocumentScalarWhereWithAggregatesInput = {
175
189
  OR?: Prisma.DocumentationStepDocumentScalarWhereWithAggregatesInput[];
176
190
  NOT?: Prisma.DocumentationStepDocumentScalarWhereWithAggregatesInput | Prisma.DocumentationStepDocumentScalarWhereWithAggregatesInput[];
177
191
  id?: Prisma.StringWithAggregatesFilter<"DocumentationStepDocument"> | string;
192
+ tenantId?: Prisma.StringWithAggregatesFilter<"DocumentationStepDocument"> | string;
178
193
  stepId?: Prisma.StringWithAggregatesFilter<"DocumentationStepDocument"> | string;
179
194
  documentType?: Prisma.StringWithAggregatesFilter<"DocumentationStepDocument"> | string;
180
195
  isRequired?: Prisma.BoolWithAggregatesFilter<"DocumentationStepDocument"> | boolean;
@@ -185,10 +200,12 @@ export type DocumentationStepDocumentCreateInput = {
185
200
  documentType: string;
186
201
  isRequired?: boolean;
187
202
  createdAt?: Date | string;
203
+ tenant: Prisma.TenantCreateNestedOneWithoutDocumentationStepDocumentsInput;
188
204
  step: Prisma.DocumentationStepCreateNestedOneWithoutRequiredDocumentsInput;
189
205
  };
190
206
  export type DocumentationStepDocumentUncheckedCreateInput = {
191
207
  id?: string;
208
+ tenantId: string;
192
209
  stepId: string;
193
210
  documentType: string;
194
211
  isRequired?: boolean;
@@ -199,10 +216,12 @@ export type DocumentationStepDocumentUpdateInput = {
199
216
  documentType?: Prisma.StringFieldUpdateOperationsInput | string;
200
217
  isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean;
201
218
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
219
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentationStepDocumentsNestedInput;
202
220
  step?: Prisma.DocumentationStepUpdateOneRequiredWithoutRequiredDocumentsNestedInput;
203
221
  };
204
222
  export type DocumentationStepDocumentUncheckedUpdateInput = {
205
223
  id?: Prisma.StringFieldUpdateOperationsInput | string;
224
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
206
225
  stepId?: Prisma.StringFieldUpdateOperationsInput | string;
207
226
  documentType?: Prisma.StringFieldUpdateOperationsInput | string;
208
227
  isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean;
@@ -210,6 +229,7 @@ export type DocumentationStepDocumentUncheckedUpdateInput = {
210
229
  };
211
230
  export type DocumentationStepDocumentCreateManyInput = {
212
231
  id?: string;
232
+ tenantId: string;
213
233
  stepId: string;
214
234
  documentType: string;
215
235
  isRequired?: boolean;
@@ -223,6 +243,7 @@ export type DocumentationStepDocumentUpdateManyMutationInput = {
223
243
  };
224
244
  export type DocumentationStepDocumentUncheckedUpdateManyInput = {
225
245
  id?: Prisma.StringFieldUpdateOperationsInput | string;
246
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
226
247
  stepId?: Prisma.StringFieldUpdateOperationsInput | string;
227
248
  documentType?: Prisma.StringFieldUpdateOperationsInput | string;
228
249
  isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean;
@@ -243,6 +264,7 @@ export type DocumentationStepDocumentOrderByRelevanceInput = {
243
264
  };
244
265
  export type DocumentationStepDocumentCountOrderByAggregateInput = {
245
266
  id?: Prisma.SortOrder;
267
+ tenantId?: Prisma.SortOrder;
246
268
  stepId?: Prisma.SortOrder;
247
269
  documentType?: Prisma.SortOrder;
248
270
  isRequired?: Prisma.SortOrder;
@@ -250,6 +272,7 @@ export type DocumentationStepDocumentCountOrderByAggregateInput = {
250
272
  };
251
273
  export type DocumentationStepDocumentMaxOrderByAggregateInput = {
252
274
  id?: Prisma.SortOrder;
275
+ tenantId?: Prisma.SortOrder;
253
276
  stepId?: Prisma.SortOrder;
254
277
  documentType?: Prisma.SortOrder;
255
278
  isRequired?: Prisma.SortOrder;
@@ -257,11 +280,50 @@ export type DocumentationStepDocumentMaxOrderByAggregateInput = {
257
280
  };
258
281
  export type DocumentationStepDocumentMinOrderByAggregateInput = {
259
282
  id?: Prisma.SortOrder;
283
+ tenantId?: Prisma.SortOrder;
260
284
  stepId?: Prisma.SortOrder;
261
285
  documentType?: Prisma.SortOrder;
262
286
  isRequired?: Prisma.SortOrder;
263
287
  createdAt?: Prisma.SortOrder;
264
288
  };
289
+ export type DocumentationStepDocumentCreateNestedManyWithoutTenantInput = {
290
+ create?: Prisma.XOR<Prisma.DocumentationStepDocumentCreateWithoutTenantInput, Prisma.DocumentationStepDocumentUncheckedCreateWithoutTenantInput> | Prisma.DocumentationStepDocumentCreateWithoutTenantInput[] | Prisma.DocumentationStepDocumentUncheckedCreateWithoutTenantInput[];
291
+ connectOrCreate?: Prisma.DocumentationStepDocumentCreateOrConnectWithoutTenantInput | Prisma.DocumentationStepDocumentCreateOrConnectWithoutTenantInput[];
292
+ createMany?: Prisma.DocumentationStepDocumentCreateManyTenantInputEnvelope;
293
+ connect?: Prisma.DocumentationStepDocumentWhereUniqueInput | Prisma.DocumentationStepDocumentWhereUniqueInput[];
294
+ };
295
+ export type DocumentationStepDocumentUncheckedCreateNestedManyWithoutTenantInput = {
296
+ create?: Prisma.XOR<Prisma.DocumentationStepDocumentCreateWithoutTenantInput, Prisma.DocumentationStepDocumentUncheckedCreateWithoutTenantInput> | Prisma.DocumentationStepDocumentCreateWithoutTenantInput[] | Prisma.DocumentationStepDocumentUncheckedCreateWithoutTenantInput[];
297
+ connectOrCreate?: Prisma.DocumentationStepDocumentCreateOrConnectWithoutTenantInput | Prisma.DocumentationStepDocumentCreateOrConnectWithoutTenantInput[];
298
+ createMany?: Prisma.DocumentationStepDocumentCreateManyTenantInputEnvelope;
299
+ connect?: Prisma.DocumentationStepDocumentWhereUniqueInput | Prisma.DocumentationStepDocumentWhereUniqueInput[];
300
+ };
301
+ export type DocumentationStepDocumentUpdateManyWithoutTenantNestedInput = {
302
+ create?: Prisma.XOR<Prisma.DocumentationStepDocumentCreateWithoutTenantInput, Prisma.DocumentationStepDocumentUncheckedCreateWithoutTenantInput> | Prisma.DocumentationStepDocumentCreateWithoutTenantInput[] | Prisma.DocumentationStepDocumentUncheckedCreateWithoutTenantInput[];
303
+ connectOrCreate?: Prisma.DocumentationStepDocumentCreateOrConnectWithoutTenantInput | Prisma.DocumentationStepDocumentCreateOrConnectWithoutTenantInput[];
304
+ upsert?: Prisma.DocumentationStepDocumentUpsertWithWhereUniqueWithoutTenantInput | Prisma.DocumentationStepDocumentUpsertWithWhereUniqueWithoutTenantInput[];
305
+ createMany?: Prisma.DocumentationStepDocumentCreateManyTenantInputEnvelope;
306
+ set?: Prisma.DocumentationStepDocumentWhereUniqueInput | Prisma.DocumentationStepDocumentWhereUniqueInput[];
307
+ disconnect?: Prisma.DocumentationStepDocumentWhereUniqueInput | Prisma.DocumentationStepDocumentWhereUniqueInput[];
308
+ delete?: Prisma.DocumentationStepDocumentWhereUniqueInput | Prisma.DocumentationStepDocumentWhereUniqueInput[];
309
+ connect?: Prisma.DocumentationStepDocumentWhereUniqueInput | Prisma.DocumentationStepDocumentWhereUniqueInput[];
310
+ update?: Prisma.DocumentationStepDocumentUpdateWithWhereUniqueWithoutTenantInput | Prisma.DocumentationStepDocumentUpdateWithWhereUniqueWithoutTenantInput[];
311
+ updateMany?: Prisma.DocumentationStepDocumentUpdateManyWithWhereWithoutTenantInput | Prisma.DocumentationStepDocumentUpdateManyWithWhereWithoutTenantInput[];
312
+ deleteMany?: Prisma.DocumentationStepDocumentScalarWhereInput | Prisma.DocumentationStepDocumentScalarWhereInput[];
313
+ };
314
+ export type DocumentationStepDocumentUncheckedUpdateManyWithoutTenantNestedInput = {
315
+ create?: Prisma.XOR<Prisma.DocumentationStepDocumentCreateWithoutTenantInput, Prisma.DocumentationStepDocumentUncheckedCreateWithoutTenantInput> | Prisma.DocumentationStepDocumentCreateWithoutTenantInput[] | Prisma.DocumentationStepDocumentUncheckedCreateWithoutTenantInput[];
316
+ connectOrCreate?: Prisma.DocumentationStepDocumentCreateOrConnectWithoutTenantInput | Prisma.DocumentationStepDocumentCreateOrConnectWithoutTenantInput[];
317
+ upsert?: Prisma.DocumentationStepDocumentUpsertWithWhereUniqueWithoutTenantInput | Prisma.DocumentationStepDocumentUpsertWithWhereUniqueWithoutTenantInput[];
318
+ createMany?: Prisma.DocumentationStepDocumentCreateManyTenantInputEnvelope;
319
+ set?: Prisma.DocumentationStepDocumentWhereUniqueInput | Prisma.DocumentationStepDocumentWhereUniqueInput[];
320
+ disconnect?: Prisma.DocumentationStepDocumentWhereUniqueInput | Prisma.DocumentationStepDocumentWhereUniqueInput[];
321
+ delete?: Prisma.DocumentationStepDocumentWhereUniqueInput | Prisma.DocumentationStepDocumentWhereUniqueInput[];
322
+ connect?: Prisma.DocumentationStepDocumentWhereUniqueInput | Prisma.DocumentationStepDocumentWhereUniqueInput[];
323
+ update?: Prisma.DocumentationStepDocumentUpdateWithWhereUniqueWithoutTenantInput | Prisma.DocumentationStepDocumentUpdateWithWhereUniqueWithoutTenantInput[];
324
+ updateMany?: Prisma.DocumentationStepDocumentUpdateManyWithWhereWithoutTenantInput | Prisma.DocumentationStepDocumentUpdateManyWithWhereWithoutTenantInput[];
325
+ deleteMany?: Prisma.DocumentationStepDocumentScalarWhereInput | Prisma.DocumentationStepDocumentScalarWhereInput[];
326
+ };
265
327
  export type DocumentationStepDocumentCreateNestedManyWithoutStepInput = {
266
328
  create?: Prisma.XOR<Prisma.DocumentationStepDocumentCreateWithoutStepInput, Prisma.DocumentationStepDocumentUncheckedCreateWithoutStepInput> | Prisma.DocumentationStepDocumentCreateWithoutStepInput[] | Prisma.DocumentationStepDocumentUncheckedCreateWithoutStepInput[];
267
329
  connectOrCreate?: Prisma.DocumentationStepDocumentCreateOrConnectWithoutStepInput | Prisma.DocumentationStepDocumentCreateOrConnectWithoutStepInput[];
@@ -300,14 +362,62 @@ export type DocumentationStepDocumentUncheckedUpdateManyWithoutStepNestedInput =
300
362
  updateMany?: Prisma.DocumentationStepDocumentUpdateManyWithWhereWithoutStepInput | Prisma.DocumentationStepDocumentUpdateManyWithWhereWithoutStepInput[];
301
363
  deleteMany?: Prisma.DocumentationStepDocumentScalarWhereInput | Prisma.DocumentationStepDocumentScalarWhereInput[];
302
364
  };
365
+ export type DocumentationStepDocumentCreateWithoutTenantInput = {
366
+ id?: string;
367
+ documentType: string;
368
+ isRequired?: boolean;
369
+ createdAt?: Date | string;
370
+ step: Prisma.DocumentationStepCreateNestedOneWithoutRequiredDocumentsInput;
371
+ };
372
+ export type DocumentationStepDocumentUncheckedCreateWithoutTenantInput = {
373
+ id?: string;
374
+ stepId: string;
375
+ documentType: string;
376
+ isRequired?: boolean;
377
+ createdAt?: Date | string;
378
+ };
379
+ export type DocumentationStepDocumentCreateOrConnectWithoutTenantInput = {
380
+ where: Prisma.DocumentationStepDocumentWhereUniqueInput;
381
+ create: Prisma.XOR<Prisma.DocumentationStepDocumentCreateWithoutTenantInput, Prisma.DocumentationStepDocumentUncheckedCreateWithoutTenantInput>;
382
+ };
383
+ export type DocumentationStepDocumentCreateManyTenantInputEnvelope = {
384
+ data: Prisma.DocumentationStepDocumentCreateManyTenantInput | Prisma.DocumentationStepDocumentCreateManyTenantInput[];
385
+ skipDuplicates?: boolean;
386
+ };
387
+ export type DocumentationStepDocumentUpsertWithWhereUniqueWithoutTenantInput = {
388
+ where: Prisma.DocumentationStepDocumentWhereUniqueInput;
389
+ update: Prisma.XOR<Prisma.DocumentationStepDocumentUpdateWithoutTenantInput, Prisma.DocumentationStepDocumentUncheckedUpdateWithoutTenantInput>;
390
+ create: Prisma.XOR<Prisma.DocumentationStepDocumentCreateWithoutTenantInput, Prisma.DocumentationStepDocumentUncheckedCreateWithoutTenantInput>;
391
+ };
392
+ export type DocumentationStepDocumentUpdateWithWhereUniqueWithoutTenantInput = {
393
+ where: Prisma.DocumentationStepDocumentWhereUniqueInput;
394
+ data: Prisma.XOR<Prisma.DocumentationStepDocumentUpdateWithoutTenantInput, Prisma.DocumentationStepDocumentUncheckedUpdateWithoutTenantInput>;
395
+ };
396
+ export type DocumentationStepDocumentUpdateManyWithWhereWithoutTenantInput = {
397
+ where: Prisma.DocumentationStepDocumentScalarWhereInput;
398
+ data: Prisma.XOR<Prisma.DocumentationStepDocumentUpdateManyMutationInput, Prisma.DocumentationStepDocumentUncheckedUpdateManyWithoutTenantInput>;
399
+ };
400
+ export type DocumentationStepDocumentScalarWhereInput = {
401
+ AND?: Prisma.DocumentationStepDocumentScalarWhereInput | Prisma.DocumentationStepDocumentScalarWhereInput[];
402
+ OR?: Prisma.DocumentationStepDocumentScalarWhereInput[];
403
+ NOT?: Prisma.DocumentationStepDocumentScalarWhereInput | Prisma.DocumentationStepDocumentScalarWhereInput[];
404
+ id?: Prisma.StringFilter<"DocumentationStepDocument"> | string;
405
+ tenantId?: Prisma.StringFilter<"DocumentationStepDocument"> | string;
406
+ stepId?: Prisma.StringFilter<"DocumentationStepDocument"> | string;
407
+ documentType?: Prisma.StringFilter<"DocumentationStepDocument"> | string;
408
+ isRequired?: Prisma.BoolFilter<"DocumentationStepDocument"> | boolean;
409
+ createdAt?: Prisma.DateTimeFilter<"DocumentationStepDocument"> | Date | string;
410
+ };
303
411
  export type DocumentationStepDocumentCreateWithoutStepInput = {
304
412
  id?: string;
305
413
  documentType: string;
306
414
  isRequired?: boolean;
307
415
  createdAt?: Date | string;
416
+ tenant: Prisma.TenantCreateNestedOneWithoutDocumentationStepDocumentsInput;
308
417
  };
309
418
  export type DocumentationStepDocumentUncheckedCreateWithoutStepInput = {
310
419
  id?: string;
420
+ tenantId: string;
311
421
  documentType: string;
312
422
  isRequired?: boolean;
313
423
  createdAt?: Date | string;
@@ -333,18 +443,37 @@ export type DocumentationStepDocumentUpdateManyWithWhereWithoutStepInput = {
333
443
  where: Prisma.DocumentationStepDocumentScalarWhereInput;
334
444
  data: Prisma.XOR<Prisma.DocumentationStepDocumentUpdateManyMutationInput, Prisma.DocumentationStepDocumentUncheckedUpdateManyWithoutStepInput>;
335
445
  };
336
- export type DocumentationStepDocumentScalarWhereInput = {
337
- AND?: Prisma.DocumentationStepDocumentScalarWhereInput | Prisma.DocumentationStepDocumentScalarWhereInput[];
338
- OR?: Prisma.DocumentationStepDocumentScalarWhereInput[];
339
- NOT?: Prisma.DocumentationStepDocumentScalarWhereInput | Prisma.DocumentationStepDocumentScalarWhereInput[];
340
- id?: Prisma.StringFilter<"DocumentationStepDocument"> | string;
341
- stepId?: Prisma.StringFilter<"DocumentationStepDocument"> | string;
342
- documentType?: Prisma.StringFilter<"DocumentationStepDocument"> | string;
343
- isRequired?: Prisma.BoolFilter<"DocumentationStepDocument"> | boolean;
344
- createdAt?: Prisma.DateTimeFilter<"DocumentationStepDocument"> | Date | string;
446
+ export type DocumentationStepDocumentCreateManyTenantInput = {
447
+ id?: string;
448
+ stepId: string;
449
+ documentType: string;
450
+ isRequired?: boolean;
451
+ createdAt?: Date | string;
452
+ };
453
+ export type DocumentationStepDocumentUpdateWithoutTenantInput = {
454
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
455
+ documentType?: Prisma.StringFieldUpdateOperationsInput | string;
456
+ isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean;
457
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
458
+ step?: Prisma.DocumentationStepUpdateOneRequiredWithoutRequiredDocumentsNestedInput;
459
+ };
460
+ export type DocumentationStepDocumentUncheckedUpdateWithoutTenantInput = {
461
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
462
+ stepId?: Prisma.StringFieldUpdateOperationsInput | string;
463
+ documentType?: Prisma.StringFieldUpdateOperationsInput | string;
464
+ isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean;
465
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
466
+ };
467
+ export type DocumentationStepDocumentUncheckedUpdateManyWithoutTenantInput = {
468
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
469
+ stepId?: Prisma.StringFieldUpdateOperationsInput | string;
470
+ documentType?: Prisma.StringFieldUpdateOperationsInput | string;
471
+ isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean;
472
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
345
473
  };
346
474
  export type DocumentationStepDocumentCreateManyStepInput = {
347
475
  id?: string;
476
+ tenantId: string;
348
477
  documentType: string;
349
478
  isRequired?: boolean;
350
479
  createdAt?: Date | string;
@@ -354,45 +483,54 @@ export type DocumentationStepDocumentUpdateWithoutStepInput = {
354
483
  documentType?: Prisma.StringFieldUpdateOperationsInput | string;
355
484
  isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean;
356
485
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
486
+ tenant?: Prisma.TenantUpdateOneRequiredWithoutDocumentationStepDocumentsNestedInput;
357
487
  };
358
488
  export type DocumentationStepDocumentUncheckedUpdateWithoutStepInput = {
359
489
  id?: Prisma.StringFieldUpdateOperationsInput | string;
490
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
360
491
  documentType?: Prisma.StringFieldUpdateOperationsInput | string;
361
492
  isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean;
362
493
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
363
494
  };
364
495
  export type DocumentationStepDocumentUncheckedUpdateManyWithoutStepInput = {
365
496
  id?: Prisma.StringFieldUpdateOperationsInput | string;
497
+ tenantId?: Prisma.StringFieldUpdateOperationsInput | string;
366
498
  documentType?: Prisma.StringFieldUpdateOperationsInput | string;
367
499
  isRequired?: Prisma.BoolFieldUpdateOperationsInput | boolean;
368
500
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
369
501
  };
370
502
  export type DocumentationStepDocumentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
371
503
  id?: boolean;
504
+ tenantId?: boolean;
372
505
  stepId?: boolean;
373
506
  documentType?: boolean;
374
507
  isRequired?: boolean;
375
508
  createdAt?: boolean;
509
+ tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
376
510
  step?: boolean | Prisma.DocumentationStepDefaultArgs<ExtArgs>;
377
511
  }, ExtArgs["result"]["documentationStepDocument"]>;
378
512
  export type DocumentationStepDocumentSelectScalar = {
379
513
  id?: boolean;
514
+ tenantId?: boolean;
380
515
  stepId?: boolean;
381
516
  documentType?: boolean;
382
517
  isRequired?: boolean;
383
518
  createdAt?: boolean;
384
519
  };
385
- export type DocumentationStepDocumentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "stepId" | "documentType" | "isRequired" | "createdAt", ExtArgs["result"]["documentationStepDocument"]>;
520
+ export type DocumentationStepDocumentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "stepId" | "documentType" | "isRequired" | "createdAt", ExtArgs["result"]["documentationStepDocument"]>;
386
521
  export type DocumentationStepDocumentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
522
+ tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>;
387
523
  step?: boolean | Prisma.DocumentationStepDefaultArgs<ExtArgs>;
388
524
  };
389
525
  export type $DocumentationStepDocumentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
390
526
  name: "DocumentationStepDocument";
391
527
  objects: {
528
+ tenant: Prisma.$TenantPayload<ExtArgs>;
392
529
  step: Prisma.$DocumentationStepPayload<ExtArgs>;
393
530
  };
394
531
  scalars: runtime.Types.Extensions.GetPayloadResult<{
395
532
  id: string;
533
+ tenantId: string;
396
534
  stepId: string;
397
535
  documentType: string;
398
536
  isRequired: boolean;
@@ -674,6 +812,7 @@ export interface DocumentationStepDocumentDelegate<ExtArgs extends runtime.Types
674
812
  */
675
813
  export interface Prisma__DocumentationStepDocumentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
676
814
  readonly [Symbol.toStringTag]: "PrismaPromise";
815
+ tenant<T extends Prisma.TenantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TenantDefaultArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
677
816
  step<T extends Prisma.DocumentationStepDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DocumentationStepDefaultArgs<ExtArgs>>): Prisma.Prisma__DocumentationStepClient<runtime.Types.Result.GetResult<Prisma.$DocumentationStepPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
678
817
  /**
679
818
  * Attaches callbacks for the resolution and/or rejection of the Promise.
@@ -701,6 +840,7 @@ export interface Prisma__DocumentationStepDocumentClient<T, Null = never, ExtArg
701
840
  */
702
841
  export interface DocumentationStepDocumentFieldRefs {
703
842
  readonly id: Prisma.FieldRef<"DocumentationStepDocument", 'String'>;
843
+ readonly tenantId: Prisma.FieldRef<"DocumentationStepDocument", 'String'>;
704
844
  readonly stepId: Prisma.FieldRef<"DocumentationStepDocument", 'String'>;
705
845
  readonly documentType: Prisma.FieldRef<"DocumentationStepDocument", 'String'>;
706
846
  readonly isRequired: Prisma.FieldRef<"DocumentationStepDocument", 'Boolean'>;