@valentine-efagene/qshelter-common 2.0.69 → 2.0.72

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.
@@ -190,6 +190,7 @@ export type PaymentMethodPhaseStepWhereInput = {
190
190
  createdAt?: Prisma.DateTimeFilter<"PaymentMethodPhaseStep"> | Date | string;
191
191
  updatedAt?: Prisma.DateTimeFilter<"PaymentMethodPhaseStep"> | Date | string;
192
192
  phase?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseScalarRelationFilter, Prisma.PropertyPaymentMethodPhaseWhereInput>;
193
+ eventAttachments?: Prisma.StepEventAttachmentListRelationFilter;
193
194
  };
194
195
  export type PaymentMethodPhaseStepOrderByWithRelationInput = {
195
196
  id?: Prisma.SortOrder;
@@ -201,6 +202,7 @@ export type PaymentMethodPhaseStepOrderByWithRelationInput = {
201
202
  createdAt?: Prisma.SortOrder;
202
203
  updatedAt?: Prisma.SortOrder;
203
204
  phase?: Prisma.PropertyPaymentMethodPhaseOrderByWithRelationInput;
205
+ eventAttachments?: Prisma.StepEventAttachmentOrderByRelationAggregateInput;
204
206
  _relevance?: Prisma.PaymentMethodPhaseStepOrderByRelevanceInput;
205
207
  };
206
208
  export type PaymentMethodPhaseStepWhereUniqueInput = Prisma.AtLeast<{
@@ -216,6 +218,7 @@ export type PaymentMethodPhaseStepWhereUniqueInput = Prisma.AtLeast<{
216
218
  createdAt?: Prisma.DateTimeFilter<"PaymentMethodPhaseStep"> | Date | string;
217
219
  updatedAt?: Prisma.DateTimeFilter<"PaymentMethodPhaseStep"> | Date | string;
218
220
  phase?: Prisma.XOR<Prisma.PropertyPaymentMethodPhaseScalarRelationFilter, Prisma.PropertyPaymentMethodPhaseWhereInput>;
221
+ eventAttachments?: Prisma.StepEventAttachmentListRelationFilter;
219
222
  }, "id">;
220
223
  export type PaymentMethodPhaseStepOrderByWithAggregationInput = {
221
224
  id?: Prisma.SortOrder;
@@ -254,6 +257,7 @@ export type PaymentMethodPhaseStepCreateInput = {
254
257
  createdAt?: Date | string;
255
258
  updatedAt?: Date | string;
256
259
  phase: Prisma.PropertyPaymentMethodPhaseCreateNestedOneWithoutStepsInput;
260
+ eventAttachments?: Prisma.StepEventAttachmentCreateNestedManyWithoutStepInput;
257
261
  };
258
262
  export type PaymentMethodPhaseStepUncheckedCreateInput = {
259
263
  id?: string;
@@ -264,6 +268,7 @@ export type PaymentMethodPhaseStepUncheckedCreateInput = {
264
268
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
265
269
  createdAt?: Date | string;
266
270
  updatedAt?: Date | string;
271
+ eventAttachments?: Prisma.StepEventAttachmentUncheckedCreateNestedManyWithoutStepInput;
267
272
  };
268
273
  export type PaymentMethodPhaseStepUpdateInput = {
269
274
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -274,6 +279,7 @@ export type PaymentMethodPhaseStepUpdateInput = {
274
279
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
275
280
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
276
281
  phase?: Prisma.PropertyPaymentMethodPhaseUpdateOneRequiredWithoutStepsNestedInput;
282
+ eventAttachments?: Prisma.StepEventAttachmentUpdateManyWithoutStepNestedInput;
277
283
  };
278
284
  export type PaymentMethodPhaseStepUncheckedUpdateInput = {
279
285
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -284,6 +290,7 @@ export type PaymentMethodPhaseStepUncheckedUpdateInput = {
284
290
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
285
291
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
286
292
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
293
+ eventAttachments?: Prisma.StepEventAttachmentUncheckedUpdateManyWithoutStepNestedInput;
287
294
  };
288
295
  export type PaymentMethodPhaseStepCreateManyInput = {
289
296
  id?: string;
@@ -361,6 +368,10 @@ export type PaymentMethodPhaseStepMinOrderByAggregateInput = {
361
368
  export type PaymentMethodPhaseStepSumOrderByAggregateInput = {
362
369
  order?: Prisma.SortOrder;
363
370
  };
371
+ export type PaymentMethodPhaseStepScalarRelationFilter = {
372
+ is?: Prisma.PaymentMethodPhaseStepWhereInput;
373
+ isNot?: Prisma.PaymentMethodPhaseStepWhereInput;
374
+ };
364
375
  export type PaymentMethodPhaseStepCreateNestedManyWithoutPhaseInput = {
365
376
  create?: Prisma.XOR<Prisma.PaymentMethodPhaseStepCreateWithoutPhaseInput, Prisma.PaymentMethodPhaseStepUncheckedCreateWithoutPhaseInput> | Prisma.PaymentMethodPhaseStepCreateWithoutPhaseInput[] | Prisma.PaymentMethodPhaseStepUncheckedCreateWithoutPhaseInput[];
366
377
  connectOrCreate?: Prisma.PaymentMethodPhaseStepCreateOrConnectWithoutPhaseInput | Prisma.PaymentMethodPhaseStepCreateOrConnectWithoutPhaseInput[];
@@ -402,6 +413,18 @@ export type PaymentMethodPhaseStepUncheckedUpdateManyWithoutPhaseNestedInput = {
402
413
  export type EnumStepTypeFieldUpdateOperationsInput = {
403
414
  set?: $Enums.StepType;
404
415
  };
416
+ export type PaymentMethodPhaseStepCreateNestedOneWithoutEventAttachmentsInput = {
417
+ create?: Prisma.XOR<Prisma.PaymentMethodPhaseStepCreateWithoutEventAttachmentsInput, Prisma.PaymentMethodPhaseStepUncheckedCreateWithoutEventAttachmentsInput>;
418
+ connectOrCreate?: Prisma.PaymentMethodPhaseStepCreateOrConnectWithoutEventAttachmentsInput;
419
+ connect?: Prisma.PaymentMethodPhaseStepWhereUniqueInput;
420
+ };
421
+ export type PaymentMethodPhaseStepUpdateOneRequiredWithoutEventAttachmentsNestedInput = {
422
+ create?: Prisma.XOR<Prisma.PaymentMethodPhaseStepCreateWithoutEventAttachmentsInput, Prisma.PaymentMethodPhaseStepUncheckedCreateWithoutEventAttachmentsInput>;
423
+ connectOrCreate?: Prisma.PaymentMethodPhaseStepCreateOrConnectWithoutEventAttachmentsInput;
424
+ upsert?: Prisma.PaymentMethodPhaseStepUpsertWithoutEventAttachmentsInput;
425
+ connect?: Prisma.PaymentMethodPhaseStepWhereUniqueInput;
426
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PaymentMethodPhaseStepUpdateToOneWithWhereWithoutEventAttachmentsInput, Prisma.PaymentMethodPhaseStepUpdateWithoutEventAttachmentsInput>, Prisma.PaymentMethodPhaseStepUncheckedUpdateWithoutEventAttachmentsInput>;
427
+ };
405
428
  export type PaymentMethodPhaseStepCreateWithoutPhaseInput = {
406
429
  id?: string;
407
430
  name: string;
@@ -410,6 +433,7 @@ export type PaymentMethodPhaseStepCreateWithoutPhaseInput = {
410
433
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
411
434
  createdAt?: Date | string;
412
435
  updatedAt?: Date | string;
436
+ eventAttachments?: Prisma.StepEventAttachmentCreateNestedManyWithoutStepInput;
413
437
  };
414
438
  export type PaymentMethodPhaseStepUncheckedCreateWithoutPhaseInput = {
415
439
  id?: string;
@@ -419,6 +443,7 @@ export type PaymentMethodPhaseStepUncheckedCreateWithoutPhaseInput = {
419
443
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
420
444
  createdAt?: Date | string;
421
445
  updatedAt?: Date | string;
446
+ eventAttachments?: Prisma.StepEventAttachmentUncheckedCreateNestedManyWithoutStepInput;
422
447
  };
423
448
  export type PaymentMethodPhaseStepCreateOrConnectWithoutPhaseInput = {
424
449
  where: Prisma.PaymentMethodPhaseStepWhereUniqueInput;
@@ -454,6 +479,59 @@ export type PaymentMethodPhaseStepScalarWhereInput = {
454
479
  createdAt?: Prisma.DateTimeFilter<"PaymentMethodPhaseStep"> | Date | string;
455
480
  updatedAt?: Prisma.DateTimeFilter<"PaymentMethodPhaseStep"> | Date | string;
456
481
  };
482
+ export type PaymentMethodPhaseStepCreateWithoutEventAttachmentsInput = {
483
+ id?: string;
484
+ name: string;
485
+ stepType: $Enums.StepType;
486
+ order: number;
487
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
488
+ createdAt?: Date | string;
489
+ updatedAt?: Date | string;
490
+ phase: Prisma.PropertyPaymentMethodPhaseCreateNestedOneWithoutStepsInput;
491
+ };
492
+ export type PaymentMethodPhaseStepUncheckedCreateWithoutEventAttachmentsInput = {
493
+ id?: string;
494
+ phaseId: string;
495
+ name: string;
496
+ stepType: $Enums.StepType;
497
+ order: number;
498
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
499
+ createdAt?: Date | string;
500
+ updatedAt?: Date | string;
501
+ };
502
+ export type PaymentMethodPhaseStepCreateOrConnectWithoutEventAttachmentsInput = {
503
+ where: Prisma.PaymentMethodPhaseStepWhereUniqueInput;
504
+ create: Prisma.XOR<Prisma.PaymentMethodPhaseStepCreateWithoutEventAttachmentsInput, Prisma.PaymentMethodPhaseStepUncheckedCreateWithoutEventAttachmentsInput>;
505
+ };
506
+ export type PaymentMethodPhaseStepUpsertWithoutEventAttachmentsInput = {
507
+ update: Prisma.XOR<Prisma.PaymentMethodPhaseStepUpdateWithoutEventAttachmentsInput, Prisma.PaymentMethodPhaseStepUncheckedUpdateWithoutEventAttachmentsInput>;
508
+ create: Prisma.XOR<Prisma.PaymentMethodPhaseStepCreateWithoutEventAttachmentsInput, Prisma.PaymentMethodPhaseStepUncheckedCreateWithoutEventAttachmentsInput>;
509
+ where?: Prisma.PaymentMethodPhaseStepWhereInput;
510
+ };
511
+ export type PaymentMethodPhaseStepUpdateToOneWithWhereWithoutEventAttachmentsInput = {
512
+ where?: Prisma.PaymentMethodPhaseStepWhereInput;
513
+ data: Prisma.XOR<Prisma.PaymentMethodPhaseStepUpdateWithoutEventAttachmentsInput, Prisma.PaymentMethodPhaseStepUncheckedUpdateWithoutEventAttachmentsInput>;
514
+ };
515
+ export type PaymentMethodPhaseStepUpdateWithoutEventAttachmentsInput = {
516
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
517
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
518
+ stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
519
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
520
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
521
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
522
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
523
+ phase?: Prisma.PropertyPaymentMethodPhaseUpdateOneRequiredWithoutStepsNestedInput;
524
+ };
525
+ export type PaymentMethodPhaseStepUncheckedUpdateWithoutEventAttachmentsInput = {
526
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
527
+ phaseId?: Prisma.StringFieldUpdateOperationsInput | string;
528
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
529
+ stepType?: Prisma.EnumStepTypeFieldUpdateOperationsInput | $Enums.StepType;
530
+ order?: Prisma.IntFieldUpdateOperationsInput | number;
531
+ metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
532
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
533
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
534
+ };
457
535
  export type PaymentMethodPhaseStepCreateManyPhaseInput = {
458
536
  id?: string;
459
537
  name: string;
@@ -471,6 +549,7 @@ export type PaymentMethodPhaseStepUpdateWithoutPhaseInput = {
471
549
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
472
550
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
473
551
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
552
+ eventAttachments?: Prisma.StepEventAttachmentUpdateManyWithoutStepNestedInput;
474
553
  };
475
554
  export type PaymentMethodPhaseStepUncheckedUpdateWithoutPhaseInput = {
476
555
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -480,6 +559,7 @@ export type PaymentMethodPhaseStepUncheckedUpdateWithoutPhaseInput = {
480
559
  metadata?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
481
560
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
482
561
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
562
+ eventAttachments?: Prisma.StepEventAttachmentUncheckedUpdateManyWithoutStepNestedInput;
483
563
  };
484
564
  export type PaymentMethodPhaseStepUncheckedUpdateManyWithoutPhaseInput = {
485
565
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -490,6 +570,30 @@ export type PaymentMethodPhaseStepUncheckedUpdateManyWithoutPhaseInput = {
490
570
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
491
571
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
492
572
  };
573
+ /**
574
+ * Count Type PaymentMethodPhaseStepCountOutputType
575
+ */
576
+ export type PaymentMethodPhaseStepCountOutputType = {
577
+ eventAttachments: number;
578
+ };
579
+ export type PaymentMethodPhaseStepCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
580
+ eventAttachments?: boolean | PaymentMethodPhaseStepCountOutputTypeCountEventAttachmentsArgs;
581
+ };
582
+ /**
583
+ * PaymentMethodPhaseStepCountOutputType without action
584
+ */
585
+ export type PaymentMethodPhaseStepCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
586
+ /**
587
+ * Select specific fields to fetch from the PaymentMethodPhaseStepCountOutputType
588
+ */
589
+ select?: Prisma.PaymentMethodPhaseStepCountOutputTypeSelect<ExtArgs> | null;
590
+ };
591
+ /**
592
+ * PaymentMethodPhaseStepCountOutputType without action
593
+ */
594
+ export type PaymentMethodPhaseStepCountOutputTypeCountEventAttachmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
595
+ where?: Prisma.StepEventAttachmentWhereInput;
596
+ };
493
597
  export type PaymentMethodPhaseStepSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
494
598
  id?: boolean;
495
599
  phaseId?: boolean;
@@ -500,6 +604,8 @@ export type PaymentMethodPhaseStepSelect<ExtArgs extends runtime.Types.Extension
500
604
  createdAt?: boolean;
501
605
  updatedAt?: boolean;
502
606
  phase?: boolean | Prisma.PropertyPaymentMethodPhaseDefaultArgs<ExtArgs>;
607
+ eventAttachments?: boolean | Prisma.PaymentMethodPhaseStep$eventAttachmentsArgs<ExtArgs>;
608
+ _count?: boolean | Prisma.PaymentMethodPhaseStepCountOutputTypeDefaultArgs<ExtArgs>;
503
609
  }, ExtArgs["result"]["paymentMethodPhaseStep"]>;
504
610
  export type PaymentMethodPhaseStepSelectScalar = {
505
611
  id?: boolean;
@@ -514,11 +620,14 @@ export type PaymentMethodPhaseStepSelectScalar = {
514
620
  export type PaymentMethodPhaseStepOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "phaseId" | "name" | "stepType" | "order" | "metadata" | "createdAt" | "updatedAt", ExtArgs["result"]["paymentMethodPhaseStep"]>;
515
621
  export type PaymentMethodPhaseStepInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
516
622
  phase?: boolean | Prisma.PropertyPaymentMethodPhaseDefaultArgs<ExtArgs>;
623
+ eventAttachments?: boolean | Prisma.PaymentMethodPhaseStep$eventAttachmentsArgs<ExtArgs>;
624
+ _count?: boolean | Prisma.PaymentMethodPhaseStepCountOutputTypeDefaultArgs<ExtArgs>;
517
625
  };
518
626
  export type $PaymentMethodPhaseStepPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
519
627
  name: "PaymentMethodPhaseStep";
520
628
  objects: {
521
629
  phase: Prisma.$PropertyPaymentMethodPhasePayload<ExtArgs>;
630
+ eventAttachments: Prisma.$StepEventAttachmentPayload<ExtArgs>[];
522
631
  };
523
632
  scalars: runtime.Types.Extensions.GetPayloadResult<{
524
633
  id: string;
@@ -807,6 +916,7 @@ export interface PaymentMethodPhaseStepDelegate<ExtArgs extends runtime.Types.Ex
807
916
  export interface Prisma__PaymentMethodPhaseStepClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
808
917
  readonly [Symbol.toStringTag]: "PrismaPromise";
809
918
  phase<T extends Prisma.PropertyPaymentMethodPhaseDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PropertyPaymentMethodPhaseDefaultArgs<ExtArgs>>): Prisma.Prisma__PropertyPaymentMethodPhaseClient<runtime.Types.Result.GetResult<Prisma.$PropertyPaymentMethodPhasePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
919
+ eventAttachments<T extends Prisma.PaymentMethodPhaseStep$eventAttachmentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PaymentMethodPhaseStep$eventAttachmentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StepEventAttachmentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
810
920
  /**
811
921
  * Attaches callbacks for the resolution and/or rejection of the Promise.
812
922
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -1167,6 +1277,29 @@ export type PaymentMethodPhaseStepDeleteManyArgs<ExtArgs extends runtime.Types.E
1167
1277
  */
1168
1278
  limit?: number;
1169
1279
  };
1280
+ /**
1281
+ * PaymentMethodPhaseStep.eventAttachments
1282
+ */
1283
+ export type PaymentMethodPhaseStep$eventAttachmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1284
+ /**
1285
+ * Select specific fields to fetch from the StepEventAttachment
1286
+ */
1287
+ select?: Prisma.StepEventAttachmentSelect<ExtArgs> | null;
1288
+ /**
1289
+ * Omit specific fields from the StepEventAttachment
1290
+ */
1291
+ omit?: Prisma.StepEventAttachmentOmit<ExtArgs> | null;
1292
+ /**
1293
+ * Choose, which related nodes to fetch as well
1294
+ */
1295
+ include?: Prisma.StepEventAttachmentInclude<ExtArgs> | null;
1296
+ where?: Prisma.StepEventAttachmentWhereInput;
1297
+ orderBy?: Prisma.StepEventAttachmentOrderByWithRelationInput | Prisma.StepEventAttachmentOrderByWithRelationInput[];
1298
+ cursor?: Prisma.StepEventAttachmentWhereUniqueInput;
1299
+ take?: number;
1300
+ skip?: number;
1301
+ distinct?: Prisma.StepEventAttachmentScalarFieldEnum | Prisma.StepEventAttachmentScalarFieldEnum[];
1302
+ };
1170
1303
  /**
1171
1304
  * PaymentMethodPhaseStep without action
1172
1305
  */