@valentine-efagene/qshelter-common 2.0.125 → 2.0.127

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.
@@ -288,6 +288,11 @@ export type ApplicationPayment = Prisma.ApplicationPaymentModel;
288
288
  *
289
289
  */
290
290
  export type ApplicationDocument = Prisma.ApplicationDocumentModel;
291
+ /**
292
+ * Model DocumentReview
293
+ *
294
+ */
295
+ export type DocumentReview = Prisma.DocumentReviewModel;
291
296
  /**
292
297
  * Model DocumentTemplate
293
298
  *
@@ -305,6 +305,11 @@ export type ApplicationPayment = Prisma.ApplicationPaymentModel;
305
305
  *
306
306
  */
307
307
  export type ApplicationDocument = Prisma.ApplicationDocumentModel;
308
+ /**
309
+ * Model DocumentReview
310
+ *
311
+ */
312
+ export type DocumentReview = Prisma.DocumentReviewModel;
308
313
  /**
309
314
  * Model DocumentTemplate
310
315
  *
@@ -784,6 +784,36 @@ export type EnumDocumentStatusWithAggregatesFilter<$PrismaModel = never> = {
784
784
  _min?: Prisma.NestedEnumDocumentStatusFilter<$PrismaModel>;
785
785
  _max?: Prisma.NestedEnumDocumentStatusFilter<$PrismaModel>;
786
786
  };
787
+ export type EnumReviewPartyFilter<$PrismaModel = never> = {
788
+ equals?: $Enums.ReviewParty | Prisma.EnumReviewPartyFieldRefInput<$PrismaModel>;
789
+ in?: $Enums.ReviewParty[];
790
+ notIn?: $Enums.ReviewParty[];
791
+ not?: Prisma.NestedEnumReviewPartyFilter<$PrismaModel> | $Enums.ReviewParty;
792
+ };
793
+ export type EnumReviewDecisionFilter<$PrismaModel = never> = {
794
+ equals?: $Enums.ReviewDecision | Prisma.EnumReviewDecisionFieldRefInput<$PrismaModel>;
795
+ in?: $Enums.ReviewDecision[];
796
+ notIn?: $Enums.ReviewDecision[];
797
+ not?: Prisma.NestedEnumReviewDecisionFilter<$PrismaModel> | $Enums.ReviewDecision;
798
+ };
799
+ export type EnumReviewPartyWithAggregatesFilter<$PrismaModel = never> = {
800
+ equals?: $Enums.ReviewParty | Prisma.EnumReviewPartyFieldRefInput<$PrismaModel>;
801
+ in?: $Enums.ReviewParty[];
802
+ notIn?: $Enums.ReviewParty[];
803
+ not?: Prisma.NestedEnumReviewPartyWithAggregatesFilter<$PrismaModel> | $Enums.ReviewParty;
804
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
805
+ _min?: Prisma.NestedEnumReviewPartyFilter<$PrismaModel>;
806
+ _max?: Prisma.NestedEnumReviewPartyFilter<$PrismaModel>;
807
+ };
808
+ export type EnumReviewDecisionWithAggregatesFilter<$PrismaModel = never> = {
809
+ equals?: $Enums.ReviewDecision | Prisma.EnumReviewDecisionFieldRefInput<$PrismaModel>;
810
+ in?: $Enums.ReviewDecision[];
811
+ notIn?: $Enums.ReviewDecision[];
812
+ not?: Prisma.NestedEnumReviewDecisionWithAggregatesFilter<$PrismaModel> | $Enums.ReviewDecision;
813
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
814
+ _min?: Prisma.NestedEnumReviewDecisionFilter<$PrismaModel>;
815
+ _max?: Prisma.NestedEnumReviewDecisionFilter<$PrismaModel>;
816
+ };
787
817
  export type EnumOfferLetterTypeFilter<$PrismaModel = never> = {
788
818
  equals?: $Enums.OfferLetterType | Prisma.EnumOfferLetterTypeFieldRefInput<$PrismaModel>;
789
819
  in?: $Enums.OfferLetterType[];
@@ -1808,6 +1838,36 @@ export type NestedEnumDocumentStatusWithAggregatesFilter<$PrismaModel = never> =
1808
1838
  _min?: Prisma.NestedEnumDocumentStatusFilter<$PrismaModel>;
1809
1839
  _max?: Prisma.NestedEnumDocumentStatusFilter<$PrismaModel>;
1810
1840
  };
1841
+ export type NestedEnumReviewPartyFilter<$PrismaModel = never> = {
1842
+ equals?: $Enums.ReviewParty | Prisma.EnumReviewPartyFieldRefInput<$PrismaModel>;
1843
+ in?: $Enums.ReviewParty[];
1844
+ notIn?: $Enums.ReviewParty[];
1845
+ not?: Prisma.NestedEnumReviewPartyFilter<$PrismaModel> | $Enums.ReviewParty;
1846
+ };
1847
+ export type NestedEnumReviewDecisionFilter<$PrismaModel = never> = {
1848
+ equals?: $Enums.ReviewDecision | Prisma.EnumReviewDecisionFieldRefInput<$PrismaModel>;
1849
+ in?: $Enums.ReviewDecision[];
1850
+ notIn?: $Enums.ReviewDecision[];
1851
+ not?: Prisma.NestedEnumReviewDecisionFilter<$PrismaModel> | $Enums.ReviewDecision;
1852
+ };
1853
+ export type NestedEnumReviewPartyWithAggregatesFilter<$PrismaModel = never> = {
1854
+ equals?: $Enums.ReviewParty | Prisma.EnumReviewPartyFieldRefInput<$PrismaModel>;
1855
+ in?: $Enums.ReviewParty[];
1856
+ notIn?: $Enums.ReviewParty[];
1857
+ not?: Prisma.NestedEnumReviewPartyWithAggregatesFilter<$PrismaModel> | $Enums.ReviewParty;
1858
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
1859
+ _min?: Prisma.NestedEnumReviewPartyFilter<$PrismaModel>;
1860
+ _max?: Prisma.NestedEnumReviewPartyFilter<$PrismaModel>;
1861
+ };
1862
+ export type NestedEnumReviewDecisionWithAggregatesFilter<$PrismaModel = never> = {
1863
+ equals?: $Enums.ReviewDecision | Prisma.EnumReviewDecisionFieldRefInput<$PrismaModel>;
1864
+ in?: $Enums.ReviewDecision[];
1865
+ notIn?: $Enums.ReviewDecision[];
1866
+ not?: Prisma.NestedEnumReviewDecisionWithAggregatesFilter<$PrismaModel> | $Enums.ReviewDecision;
1867
+ _count?: Prisma.NestedIntFilter<$PrismaModel>;
1868
+ _min?: Prisma.NestedEnumReviewDecisionFilter<$PrismaModel>;
1869
+ _max?: Prisma.NestedEnumReviewDecisionFilter<$PrismaModel>;
1870
+ };
1811
1871
  export type NestedEnumOfferLetterTypeFilter<$PrismaModel = never> = {
1812
1872
  equals?: $Enums.OfferLetterType | Prisma.EnumOfferLetterTypeFieldRefInput<$PrismaModel>;
1813
1873
  in?: $Enums.OfferLetterType[];
@@ -161,8 +161,12 @@ export declare const ApprovalDecision: {
161
161
  };
162
162
  export type ApprovalDecision = (typeof ApprovalDecision)[keyof typeof ApprovalDecision];
163
163
  export declare const OrganizationType: {
164
+ readonly PLATFORM: "PLATFORM";
164
165
  readonly BANK: "BANK";
165
166
  readonly DEVELOPER: "DEVELOPER";
167
+ readonly LEGAL: "LEGAL";
168
+ readonly INSURER: "INSURER";
169
+ readonly GOVERNMENT: "GOVERNMENT";
166
170
  };
167
171
  export type OrganizationType = (typeof OrganizationType)[keyof typeof OrganizationType];
168
172
  export declare const OrganizationStatus: {
@@ -216,6 +220,24 @@ export declare const CompletionCriterion: {
216
220
  readonly STEPS_COMPLETED: "STEPS_COMPLETED";
217
221
  };
218
222
  export type CompletionCriterion = (typeof CompletionCriterion)[keyof typeof CompletionCriterion];
223
+ export declare const ReviewParty: {
224
+ readonly INTERNAL: "INTERNAL";
225
+ readonly BANK: "BANK";
226
+ readonly DEVELOPER: "DEVELOPER";
227
+ readonly LEGAL: "LEGAL";
228
+ readonly GOVERNMENT: "GOVERNMENT";
229
+ readonly INSURER: "INSURER";
230
+ readonly CUSTOMER: "CUSTOMER";
231
+ };
232
+ export type ReviewParty = (typeof ReviewParty)[keyof typeof ReviewParty];
233
+ export declare const ReviewDecision: {
234
+ readonly PENDING: "PENDING";
235
+ readonly APPROVED: "APPROVED";
236
+ readonly REJECTED: "REJECTED";
237
+ readonly CHANGES_REQUESTED: "CHANGES_REQUESTED";
238
+ readonly WAIVED: "WAIVED";
239
+ };
240
+ export type ReviewDecision = (typeof ReviewDecision)[keyof typeof ReviewDecision];
219
241
  export declare const DocumentStatus: {
220
242
  readonly DRAFT: "DRAFT";
221
243
  readonly PENDING: "PENDING";
@@ -152,8 +152,12 @@ export const ApprovalDecision = {
152
152
  REQUEST_CHANGES: 'REQUEST_CHANGES'
153
153
  };
154
154
  export const OrganizationType = {
155
+ PLATFORM: 'PLATFORM',
155
156
  BANK: 'BANK',
156
- DEVELOPER: 'DEVELOPER'
157
+ DEVELOPER: 'DEVELOPER',
158
+ LEGAL: 'LEGAL',
159
+ INSURER: 'INSURER',
160
+ GOVERNMENT: 'GOVERNMENT'
157
161
  };
158
162
  export const OrganizationStatus = {
159
163
  PENDING: 'PENDING',
@@ -200,6 +204,22 @@ export const CompletionCriterion = {
200
204
  PAYMENT_AMOUNT: 'PAYMENT_AMOUNT',
201
205
  STEPS_COMPLETED: 'STEPS_COMPLETED'
202
206
  };
207
+ export const ReviewParty = {
208
+ INTERNAL: 'INTERNAL',
209
+ BANK: 'BANK',
210
+ DEVELOPER: 'DEVELOPER',
211
+ LEGAL: 'LEGAL',
212
+ GOVERNMENT: 'GOVERNMENT',
213
+ INSURER: 'INSURER',
214
+ CUSTOMER: 'CUSTOMER'
215
+ };
216
+ export const ReviewDecision = {
217
+ PENDING: 'PENDING',
218
+ APPROVED: 'APPROVED',
219
+ REJECTED: 'REJECTED',
220
+ CHANGES_REQUESTED: 'CHANGES_REQUESTED',
221
+ WAIVED: 'WAIVED'
222
+ };
203
223
  export const DocumentStatus = {
204
224
  DRAFT: 'DRAFT',
205
225
  PENDING: 'PENDING',
@@ -727,6 +727,17 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
727
727
  get applicationDocument(): Prisma.ApplicationDocumentDelegate<ExtArgs, {
728
728
  omit: OmitOpts;
729
729
  }>;
730
+ /**
731
+ * `prisma.documentReview`: Exposes CRUD operations for the **DocumentReview** model.
732
+ * Example usage:
733
+ * ```ts
734
+ * // Fetch zero or more DocumentReviews
735
+ * const documentReviews = await prisma.documentReview.findMany()
736
+ * ```
737
+ */
738
+ get documentReview(): Prisma.DocumentReviewDelegate<ExtArgs, {
739
+ omit: OmitOpts;
740
+ }>;
730
741
  /**
731
742
  * `prisma.documentTemplate`: Exposes CRUD operations for the **DocumentTemplate** model.
732
743
  * Example usage: