@valentine-efagene/qshelter-common 2.0.91 → 2.0.93

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.
@@ -160,6 +160,12 @@ export type PropertyPaymentMethodLink = Prisma.PropertyPaymentMethodLinkModel;
160
160
  *
161
161
  */
162
162
  export type PropertyPaymentMethodPhase = Prisma.PropertyPaymentMethodPhaseModel;
163
+ /**
164
+ * Model PhaseEventAttachment
165
+ * Phase Event Attachment - Links event handlers to phase template triggers
166
+ * When a phase transitions (complete, payment received, etc.), attached handlers fire
167
+ */
168
+ export type PhaseEventAttachment = Prisma.PhaseEventAttachmentModel;
163
169
  /**
164
170
  * Model PaymentMethodPhaseStep
165
171
  *
@@ -177,6 +177,12 @@ export type PropertyPaymentMethodLink = Prisma.PropertyPaymentMethodLinkModel;
177
177
  *
178
178
  */
179
179
  export type PropertyPaymentMethodPhase = Prisma.PropertyPaymentMethodPhaseModel;
180
+ /**
181
+ * Model PhaseEventAttachment
182
+ * Phase Event Attachment - Links event handlers to phase template triggers
183
+ * When a phase transitions (complete, payment received, etc.), attached handlers fire
184
+ */
185
+ export type PhaseEventAttachment = Prisma.PhaseEventAttachmentModel;
180
186
  /**
181
187
  * Model PaymentMethodPhaseStep
182
188
  *
@@ -384,6 +384,21 @@ export type JsonNullableWithAggregatesFilterBase<$PrismaModel = never> = {
384
384
  _min?: Prisma.NestedJsonNullableFilter<$PrismaModel>;
385
385
  _max?: Prisma.NestedJsonNullableFilter<$PrismaModel>;
386
386
  };
387
+ export type EnumPhaseTriggerFilter<$PrismaModel = never> = {
388
+ equals?: $Enums.PhaseTrigger | Prisma.EnumPhaseTriggerFieldRefInput<$PrismaModel>;
389
+ in?: $Enums.PhaseTrigger[];
390
+ notIn?: $Enums.PhaseTrigger[];
391
+ not?: Prisma.NestedEnumPhaseTriggerFilter<$PrismaModel> | $Enums.PhaseTrigger;
392
+ };
393
+ export type EnumPhaseTriggerWithAggregatesFilter<$PrismaModel = never> = {
394
+ equals?: $Enums.PhaseTrigger | Prisma.EnumPhaseTriggerFieldRefInput<$PrismaModel>;
395
+ in?: $Enums.PhaseTrigger[];
396
+ notIn?: $Enums.PhaseTrigger[];
397
+ not?: Prisma.NestedEnumPhaseTriggerWithAggregatesFilter<$PrismaModel> | $Enums.PhaseTrigger;
398
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
399
+ _min?: Prisma.NestedEnumPhaseTriggerFilter<$PrismaModel>;
400
+ _max?: Prisma.NestedEnumPhaseTriggerFilter<$PrismaModel>;
401
+ };
387
402
  export type EnumStepTypeFilter<$PrismaModel = never> = {
388
403
  equals?: $Enums.StepType | Prisma.EnumStepTypeFieldRefInput<$PrismaModel>;
389
404
  in?: $Enums.StepType[];
@@ -1173,6 +1188,21 @@ export type NestedJsonNullableFilterBase<$PrismaModel = never> = {
1173
1188
  gte?: runtime.InputJsonValue;
1174
1189
  not?: runtime.InputJsonValue | Prisma.JsonFieldRefInput<$PrismaModel> | Prisma.JsonNullValueFilter;
1175
1190
  };
1191
+ export type NestedEnumPhaseTriggerFilter<$PrismaModel = never> = {
1192
+ equals?: $Enums.PhaseTrigger | Prisma.EnumPhaseTriggerFieldRefInput<$PrismaModel>;
1193
+ in?: $Enums.PhaseTrigger[];
1194
+ notIn?: $Enums.PhaseTrigger[];
1195
+ not?: Prisma.NestedEnumPhaseTriggerFilter<$PrismaModel> | $Enums.PhaseTrigger;
1196
+ };
1197
+ export type NestedEnumPhaseTriggerWithAggregatesFilter<$PrismaModel = never> = {
1198
+ equals?: $Enums.PhaseTrigger | Prisma.EnumPhaseTriggerFieldRefInput<$PrismaModel>;
1199
+ in?: $Enums.PhaseTrigger[];
1200
+ notIn?: $Enums.PhaseTrigger[];
1201
+ not?: Prisma.NestedEnumPhaseTriggerWithAggregatesFilter<$PrismaModel> | $Enums.PhaseTrigger;
1202
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
1203
+ _min?: Prisma.NestedEnumPhaseTriggerFilter<$PrismaModel>;
1204
+ _max?: Prisma.NestedEnumPhaseTriggerFilter<$PrismaModel>;
1205
+ };
1176
1206
  export type NestedEnumStepTypeFilter<$PrismaModel = never> = {
1177
1207
  equals?: $Enums.StepType | Prisma.EnumStepTypeFieldRefInput<$PrismaModel>;
1178
1208
  in?: $Enums.StepType[];
@@ -84,6 +84,14 @@ export declare const StepTrigger: {
84
84
  readonly ON_START: "ON_START";
85
85
  };
86
86
  export type StepTrigger = (typeof StepTrigger)[keyof typeof StepTrigger];
87
+ export declare const PhaseTrigger: {
88
+ readonly ON_ACTIVATE: "ON_ACTIVATE";
89
+ readonly ON_COMPLETE: "ON_COMPLETE";
90
+ readonly ON_CANCEL: "ON_CANCEL";
91
+ readonly ON_PAYMENT_RECEIVED: "ON_PAYMENT_RECEIVED";
92
+ readonly ON_ALL_PAYMENTS_RECEIVED: "ON_ALL_PAYMENTS_RECEIVED";
93
+ };
94
+ export type PhaseTrigger = (typeof PhaseTrigger)[keyof typeof PhaseTrigger];
87
95
  export declare const InstallmentStatus: {
88
96
  readonly PENDING: "PENDING";
89
97
  readonly PAID: "PAID";
@@ -84,6 +84,13 @@ export const StepTrigger = {
84
84
  ON_RESUBMIT: 'ON_RESUBMIT',
85
85
  ON_START: 'ON_START'
86
86
  };
87
+ export const PhaseTrigger = {
88
+ ON_ACTIVATE: 'ON_ACTIVATE',
89
+ ON_COMPLETE: 'ON_COMPLETE',
90
+ ON_CANCEL: 'ON_CANCEL',
91
+ ON_PAYMENT_RECEIVED: 'ON_PAYMENT_RECEIVED',
92
+ ON_ALL_PAYMENTS_RECEIVED: 'ON_ALL_PAYMENTS_RECEIVED'
93
+ };
87
94
  export const InstallmentStatus = {
88
95
  PENDING: 'PENDING',
89
96
  PAID: 'PAID',
@@ -452,6 +452,17 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
452
452
  get propertyPaymentMethodPhase(): Prisma.PropertyPaymentMethodPhaseDelegate<ExtArgs, {
453
453
  omit: OmitOpts;
454
454
  }>;
455
+ /**
456
+ * `prisma.phaseEventAttachment`: Exposes CRUD operations for the **PhaseEventAttachment** model.
457
+ * Example usage:
458
+ * ```ts
459
+ * // Fetch zero or more PhaseEventAttachments
460
+ * const phaseEventAttachments = await prisma.phaseEventAttachment.findMany()
461
+ * ```
462
+ */
463
+ get phaseEventAttachment(): Prisma.PhaseEventAttachmentDelegate<ExtArgs, {
464
+ omit: OmitOpts;
465
+ }>;
455
466
  /**
456
467
  * `prisma.paymentMethodPhaseStep`: Exposes CRUD operations for the **PaymentMethodPhaseStep** model.
457
468
  * Example usage: