@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.
@@ -157,6 +157,12 @@ export type PropertyPaymentMethodPhase = Prisma.PropertyPaymentMethodPhaseModel;
157
157
  *
158
158
  */
159
159
  export type PaymentMethodPhaseStep = Prisma.PaymentMethodPhaseStepModel;
160
+ /**
161
+ * Model StepEventAttachment
162
+ * Step Event Attachment - Links event handlers to step template triggers
163
+ * When a step transitions (complete, reject, etc.), attached handlers fire
164
+ */
165
+ export type StepEventAttachment = Prisma.StepEventAttachmentModel;
160
166
  /**
161
167
  * Model PaymentMethodPhaseDocument
162
168
  *
@@ -174,6 +174,12 @@ export type PropertyPaymentMethodPhase = Prisma.PropertyPaymentMethodPhaseModel;
174
174
  *
175
175
  */
176
176
  export type PaymentMethodPhaseStep = Prisma.PaymentMethodPhaseStepModel;
177
+ /**
178
+ * Model StepEventAttachment
179
+ * Step Event Attachment - Links event handlers to step template triggers
180
+ * When a step transitions (complete, reject, etc.), attached handlers fire
181
+ */
182
+ export type StepEventAttachment = Prisma.StepEventAttachmentModel;
177
183
  /**
178
184
  * Model PaymentMethodPhaseDocument
179
185
  *
@@ -384,6 +384,21 @@ export type EnumStepTypeWithAggregatesFilter<$PrismaModel = never> = {
384
384
  _min?: Prisma.NestedEnumStepTypeFilter<$PrismaModel>;
385
385
  _max?: Prisma.NestedEnumStepTypeFilter<$PrismaModel>;
386
386
  };
387
+ export type EnumStepTriggerFilter<$PrismaModel = never> = {
388
+ equals?: $Enums.StepTrigger | Prisma.EnumStepTriggerFieldRefInput<$PrismaModel>;
389
+ in?: $Enums.StepTrigger[];
390
+ notIn?: $Enums.StepTrigger[];
391
+ not?: Prisma.NestedEnumStepTriggerFilter<$PrismaModel> | $Enums.StepTrigger;
392
+ };
393
+ export type EnumStepTriggerWithAggregatesFilter<$PrismaModel = never> = {
394
+ equals?: $Enums.StepTrigger | Prisma.EnumStepTriggerFieldRefInput<$PrismaModel>;
395
+ in?: $Enums.StepTrigger[];
396
+ notIn?: $Enums.StepTrigger[];
397
+ not?: Prisma.NestedEnumStepTriggerWithAggregatesFilter<$PrismaModel> | $Enums.StepTrigger;
398
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
399
+ _min?: Prisma.NestedEnumStepTriggerFilter<$PrismaModel>;
400
+ _max?: Prisma.NestedEnumStepTriggerFilter<$PrismaModel>;
401
+ };
387
402
  export type EnumContractStatusFilter<$PrismaModel = never> = {
388
403
  equals?: $Enums.ContractStatus | Prisma.EnumContractStatusFieldRefInput<$PrismaModel>;
389
404
  in?: $Enums.ContractStatus[];
@@ -1008,6 +1023,21 @@ export type NestedEnumStepTypeWithAggregatesFilter<$PrismaModel = never> = {
1008
1023
  _min?: Prisma.NestedEnumStepTypeFilter<$PrismaModel>;
1009
1024
  _max?: Prisma.NestedEnumStepTypeFilter<$PrismaModel>;
1010
1025
  };
1026
+ export type NestedEnumStepTriggerFilter<$PrismaModel = never> = {
1027
+ equals?: $Enums.StepTrigger | Prisma.EnumStepTriggerFieldRefInput<$PrismaModel>;
1028
+ in?: $Enums.StepTrigger[];
1029
+ notIn?: $Enums.StepTrigger[];
1030
+ not?: Prisma.NestedEnumStepTriggerFilter<$PrismaModel> | $Enums.StepTrigger;
1031
+ };
1032
+ export type NestedEnumStepTriggerWithAggregatesFilter<$PrismaModel = never> = {
1033
+ equals?: $Enums.StepTrigger | Prisma.EnumStepTriggerFieldRefInput<$PrismaModel>;
1034
+ in?: $Enums.StepTrigger[];
1035
+ notIn?: $Enums.StepTrigger[];
1036
+ not?: Prisma.NestedEnumStepTriggerWithAggregatesFilter<$PrismaModel> | $Enums.StepTrigger;
1037
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
1038
+ _min?: Prisma.NestedEnumStepTriggerFilter<$PrismaModel>;
1039
+ _max?: Prisma.NestedEnumStepTriggerFilter<$PrismaModel>;
1040
+ };
1011
1041
  export type NestedEnumContractStatusFilter<$PrismaModel = never> = {
1012
1042
  equals?: $Enums.ContractStatus | Prisma.EnumContractStatusFieldRefInput<$PrismaModel>;
1013
1043
  in?: $Enums.ContractStatus[];
@@ -63,6 +63,14 @@ export declare const StepStatus: {
63
63
  readonly AWAITING_REVIEW: "AWAITING_REVIEW";
64
64
  };
65
65
  export type StepStatus = (typeof StepStatus)[keyof typeof StepStatus];
66
+ export declare const StepTrigger: {
67
+ readonly ON_COMPLETE: "ON_COMPLETE";
68
+ readonly ON_REJECT: "ON_REJECT";
69
+ readonly ON_SUBMIT: "ON_SUBMIT";
70
+ readonly ON_RESUBMIT: "ON_RESUBMIT";
71
+ readonly ON_START: "ON_START";
72
+ };
73
+ export type StepTrigger = (typeof StepTrigger)[keyof typeof StepTrigger];
66
74
  export declare const InstallmentStatus: {
67
75
  readonly PENDING: "PENDING";
68
76
  readonly PAID: "PAID";
@@ -161,12 +169,12 @@ export declare const OfferLetterStatus: {
161
169
  };
162
170
  export type OfferLetterStatus = (typeof OfferLetterStatus)[keyof typeof OfferLetterStatus];
163
171
  export declare const EventHandlerType: {
164
- readonly INTERNAL: "INTERNAL";
165
- readonly WEBHOOK: "WEBHOOK";
166
- readonly WORKFLOW: "WORKFLOW";
167
- readonly NOTIFICATION: "NOTIFICATION";
168
- readonly SNS: "SNS";
169
- readonly SCRIPT: "SCRIPT";
172
+ readonly SEND_EMAIL: "SEND_EMAIL";
173
+ readonly SEND_SMS: "SEND_SMS";
174
+ readonly SEND_PUSH: "SEND_PUSH";
175
+ readonly CALL_WEBHOOK: "CALL_WEBHOOK";
176
+ readonly ADVANCE_WORKFLOW: "ADVANCE_WORKFLOW";
177
+ readonly RUN_AUTOMATION: "RUN_AUTOMATION";
170
178
  };
171
179
  export type EventHandlerType = (typeof EventHandlerType)[keyof typeof EventHandlerType];
172
180
  export declare const ActorType: {
@@ -65,6 +65,13 @@ export const StepStatus = {
65
65
  ACTION_REQUIRED: 'ACTION_REQUIRED',
66
66
  AWAITING_REVIEW: 'AWAITING_REVIEW'
67
67
  };
68
+ export const StepTrigger = {
69
+ ON_COMPLETE: 'ON_COMPLETE',
70
+ ON_REJECT: 'ON_REJECT',
71
+ ON_SUBMIT: 'ON_SUBMIT',
72
+ ON_RESUBMIT: 'ON_RESUBMIT',
73
+ ON_START: 'ON_START'
74
+ };
68
75
  export const InstallmentStatus = {
69
76
  PENDING: 'PENDING',
70
77
  PAID: 'PAID',
@@ -152,12 +159,12 @@ export const OfferLetterStatus = {
152
159
  CANCELLED: 'CANCELLED'
153
160
  };
154
161
  export const EventHandlerType = {
155
- INTERNAL: 'INTERNAL',
156
- WEBHOOK: 'WEBHOOK',
157
- WORKFLOW: 'WORKFLOW',
158
- NOTIFICATION: 'NOTIFICATION',
159
- SNS: 'SNS',
160
- SCRIPT: 'SCRIPT'
162
+ SEND_EMAIL: 'SEND_EMAIL',
163
+ SEND_SMS: 'SEND_SMS',
164
+ SEND_PUSH: 'SEND_PUSH',
165
+ CALL_WEBHOOK: 'CALL_WEBHOOK',
166
+ ADVANCE_WORKFLOW: 'ADVANCE_WORKFLOW',
167
+ RUN_AUTOMATION: 'RUN_AUTOMATION'
161
168
  };
162
169
  export const ActorType = {
163
170
  USER: 'USER',
@@ -452,6 +452,17 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
452
452
  get paymentMethodPhaseStep(): Prisma.PaymentMethodPhaseStepDelegate<ExtArgs, {
453
453
  omit: OmitOpts;
454
454
  }>;
455
+ /**
456
+ * `prisma.stepEventAttachment`: Exposes CRUD operations for the **StepEventAttachment** model.
457
+ * Example usage:
458
+ * ```ts
459
+ * // Fetch zero or more StepEventAttachments
460
+ * const stepEventAttachments = await prisma.stepEventAttachment.findMany()
461
+ * ```
462
+ */
463
+ get stepEventAttachment(): Prisma.StepEventAttachmentDelegate<ExtArgs, {
464
+ omit: OmitOpts;
465
+ }>;
455
466
  /**
456
467
  * `prisma.paymentMethodPhaseDocument`: Exposes CRUD operations for the **PaymentMethodPhaseDocument** model.
457
468
  * Example usage: