@valentine-efagene/qshelter-common 2.0.119 → 2.0.121
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.
- package/dist/generated/client/browser.d.ts +11 -0
- package/dist/generated/client/client.d.ts +11 -0
- package/dist/generated/client/commonInputTypes.d.ts +260 -0
- package/dist/generated/client/enums.d.ts +79 -0
- package/dist/generated/client/enums.js +71 -1
- package/dist/generated/client/internal/class.d.ts +22 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +277 -2
- package/dist/generated/client/internal/prismaNamespace.js +109 -4
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +110 -1
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +109 -4
- package/dist/generated/client/models/DocumentationPhase.d.ts +243 -1
- package/dist/generated/client/models/DocumentationPlanStep.d.ts +241 -1
- package/dist/generated/client/models/DocumentationStep.d.ts +1017 -1
- package/dist/generated/client/models/Organization.d.ts +1930 -0
- package/dist/generated/client/models/Organization.js +1 -0
- package/dist/generated/client/models/OrganizationMember.d.ts +1598 -0
- package/dist/generated/client/models/OrganizationMember.js +1 -0
- package/dist/generated/client/models/QuestionnairePhase.d.ts +165 -0
- package/dist/generated/client/models/QuestionnairePlanQuestion.d.ts +25 -22
- package/dist/generated/client/models/Tenant.d.ts +555 -0
- package/dist/generated/client/models/User.d.ts +776 -0
- package/dist/generated/client/models.d.ts +2 -0
- package/dist/src/middleware/auth-context.d.ts +30 -1
- package/dist/src/middleware/auth-context.js +34 -1
- package/dist/src/prisma/tenant.js +2 -0
- package/dist/src/utils/condition-operators.d.ts +5 -23
- package/dist/src/utils/condition-operators.js +6 -19
- package/dist/src/utils/documentation-enums.d.ts +6 -0
- package/dist/src/utils/documentation-enums.js +6 -0
- package/package.json +1 -1
- package/prisma/migrations/20260115123703_add_organizations/migration.sql +69 -0
- package/prisma/migrations/20260115125519_add_requires_manual_review_to_step/migration.sql +2 -0
- package/prisma/migrations/20260115134106_add_conditional_step_support/migration.sql +11 -0
- package/prisma/schema.prisma +191 -1
|
@@ -35,6 +35,17 @@ export type UserRole = Prisma.UserRoleModel;
|
|
|
35
35
|
* Enables federated users across multiple tenants with different roles per tenant
|
|
36
36
|
*/
|
|
37
37
|
export type TenantMembership = Prisma.TenantMembershipModel;
|
|
38
|
+
/**
|
|
39
|
+
* Model Organization
|
|
40
|
+
* Organization: Banks, Developers, and other partner entities
|
|
41
|
+
*/
|
|
42
|
+
export type Organization = Prisma.OrganizationModel;
|
|
43
|
+
/**
|
|
44
|
+
* Model OrganizationMember
|
|
45
|
+
* OrganizationMember: Links users to organizations with roles and permissions
|
|
46
|
+
* Supports maker-checker workflows via canApprove and approvalLimit
|
|
47
|
+
*/
|
|
48
|
+
export type OrganizationMember = Prisma.OrganizationMemberModel;
|
|
38
49
|
/**
|
|
39
50
|
* Model Tenant
|
|
40
51
|
*
|
|
@@ -52,6 +52,17 @@ export type UserRole = Prisma.UserRoleModel;
|
|
|
52
52
|
* Enables federated users across multiple tenants with different roles per tenant
|
|
53
53
|
*/
|
|
54
54
|
export type TenantMembership = Prisma.TenantMembershipModel;
|
|
55
|
+
/**
|
|
56
|
+
* Model Organization
|
|
57
|
+
* Organization: Banks, Developers, and other partner entities
|
|
58
|
+
*/
|
|
59
|
+
export type Organization = Prisma.OrganizationModel;
|
|
60
|
+
/**
|
|
61
|
+
* Model OrganizationMember
|
|
62
|
+
* OrganizationMember: Links users to organizations with roles and permissions
|
|
63
|
+
* Supports maker-checker workflows via canApprove and approvalLimit
|
|
64
|
+
*/
|
|
65
|
+
export type OrganizationMember = Prisma.OrganizationMemberModel;
|
|
55
66
|
/**
|
|
56
67
|
* Model Tenant
|
|
57
68
|
*
|
|
@@ -176,6 +176,76 @@ export type EnumPermissionEffectWithAggregatesFilter<$PrismaModel = never> = {
|
|
|
176
176
|
_min?: Prisma.NestedEnumPermissionEffectFilter<$PrismaModel>;
|
|
177
177
|
_max?: Prisma.NestedEnumPermissionEffectFilter<$PrismaModel>;
|
|
178
178
|
};
|
|
179
|
+
export type EnumOrganizationTypeFilter<$PrismaModel = never> = {
|
|
180
|
+
equals?: $Enums.OrganizationType | Prisma.EnumOrganizationTypeFieldRefInput<$PrismaModel>;
|
|
181
|
+
in?: $Enums.OrganizationType[];
|
|
182
|
+
notIn?: $Enums.OrganizationType[];
|
|
183
|
+
not?: Prisma.NestedEnumOrganizationTypeFilter<$PrismaModel> | $Enums.OrganizationType;
|
|
184
|
+
};
|
|
185
|
+
export type EnumOrganizationStatusFilter<$PrismaModel = never> = {
|
|
186
|
+
equals?: $Enums.OrganizationStatus | Prisma.EnumOrganizationStatusFieldRefInput<$PrismaModel>;
|
|
187
|
+
in?: $Enums.OrganizationStatus[];
|
|
188
|
+
notIn?: $Enums.OrganizationStatus[];
|
|
189
|
+
not?: Prisma.NestedEnumOrganizationStatusFilter<$PrismaModel> | $Enums.OrganizationStatus;
|
|
190
|
+
};
|
|
191
|
+
export type EnumOrganizationTypeWithAggregatesFilter<$PrismaModel = never> = {
|
|
192
|
+
equals?: $Enums.OrganizationType | Prisma.EnumOrganizationTypeFieldRefInput<$PrismaModel>;
|
|
193
|
+
in?: $Enums.OrganizationType[];
|
|
194
|
+
notIn?: $Enums.OrganizationType[];
|
|
195
|
+
not?: Prisma.NestedEnumOrganizationTypeWithAggregatesFilter<$PrismaModel> | $Enums.OrganizationType;
|
|
196
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
197
|
+
_min?: Prisma.NestedEnumOrganizationTypeFilter<$PrismaModel>;
|
|
198
|
+
_max?: Prisma.NestedEnumOrganizationTypeFilter<$PrismaModel>;
|
|
199
|
+
};
|
|
200
|
+
export type EnumOrganizationStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
201
|
+
equals?: $Enums.OrganizationStatus | Prisma.EnumOrganizationStatusFieldRefInput<$PrismaModel>;
|
|
202
|
+
in?: $Enums.OrganizationStatus[];
|
|
203
|
+
notIn?: $Enums.OrganizationStatus[];
|
|
204
|
+
not?: Prisma.NestedEnumOrganizationStatusWithAggregatesFilter<$PrismaModel> | $Enums.OrganizationStatus;
|
|
205
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
206
|
+
_min?: Prisma.NestedEnumOrganizationStatusFilter<$PrismaModel>;
|
|
207
|
+
_max?: Prisma.NestedEnumOrganizationStatusFilter<$PrismaModel>;
|
|
208
|
+
};
|
|
209
|
+
export type EnumOrganizationRoleFilter<$PrismaModel = never> = {
|
|
210
|
+
equals?: $Enums.OrganizationRole | Prisma.EnumOrganizationRoleFieldRefInput<$PrismaModel>;
|
|
211
|
+
in?: $Enums.OrganizationRole[];
|
|
212
|
+
notIn?: $Enums.OrganizationRole[];
|
|
213
|
+
not?: Prisma.NestedEnumOrganizationRoleFilter<$PrismaModel> | $Enums.OrganizationRole;
|
|
214
|
+
};
|
|
215
|
+
export type DecimalNullableFilter<$PrismaModel = never> = {
|
|
216
|
+
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel> | null;
|
|
217
|
+
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | null;
|
|
218
|
+
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | null;
|
|
219
|
+
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
220
|
+
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
221
|
+
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
222
|
+
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
223
|
+
not?: Prisma.NestedDecimalNullableFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
224
|
+
};
|
|
225
|
+
export type EnumOrganizationRoleWithAggregatesFilter<$PrismaModel = never> = {
|
|
226
|
+
equals?: $Enums.OrganizationRole | Prisma.EnumOrganizationRoleFieldRefInput<$PrismaModel>;
|
|
227
|
+
in?: $Enums.OrganizationRole[];
|
|
228
|
+
notIn?: $Enums.OrganizationRole[];
|
|
229
|
+
not?: Prisma.NestedEnumOrganizationRoleWithAggregatesFilter<$PrismaModel> | $Enums.OrganizationRole;
|
|
230
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
231
|
+
_min?: Prisma.NestedEnumOrganizationRoleFilter<$PrismaModel>;
|
|
232
|
+
_max?: Prisma.NestedEnumOrganizationRoleFilter<$PrismaModel>;
|
|
233
|
+
};
|
|
234
|
+
export type DecimalNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
235
|
+
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel> | null;
|
|
236
|
+
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | null;
|
|
237
|
+
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | null;
|
|
238
|
+
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
239
|
+
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
240
|
+
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
241
|
+
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
242
|
+
not?: Prisma.NestedDecimalNullableWithAggregatesFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
243
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
244
|
+
_avg?: Prisma.NestedDecimalNullableFilter<$PrismaModel>;
|
|
245
|
+
_sum?: Prisma.NestedDecimalNullableFilter<$PrismaModel>;
|
|
246
|
+
_min?: Prisma.NestedDecimalNullableFilter<$PrismaModel>;
|
|
247
|
+
_max?: Prisma.NestedDecimalNullableFilter<$PrismaModel>;
|
|
248
|
+
};
|
|
179
249
|
export type FloatFilter<$PrismaModel = never> = {
|
|
180
250
|
equals?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
181
251
|
in?: number[];
|
|
@@ -319,6 +389,24 @@ export type EnumStepTypeFilter<$PrismaModel = never> = {
|
|
|
319
389
|
notIn?: $Enums.StepType[];
|
|
320
390
|
not?: Prisma.NestedEnumStepTypeFilter<$PrismaModel> | $Enums.StepType;
|
|
321
391
|
};
|
|
392
|
+
export type EnumGateActorNullableFilter<$PrismaModel = never> = {
|
|
393
|
+
equals?: $Enums.GateActor | Prisma.EnumGateActorFieldRefInput<$PrismaModel> | null;
|
|
394
|
+
in?: $Enums.GateActor[] | null;
|
|
395
|
+
notIn?: $Enums.GateActor[] | null;
|
|
396
|
+
not?: Prisma.NestedEnumGateActorNullableFilter<$PrismaModel> | $Enums.GateActor | null;
|
|
397
|
+
};
|
|
398
|
+
export type EnumGateActionNullableFilter<$PrismaModel = never> = {
|
|
399
|
+
equals?: $Enums.GateAction | Prisma.EnumGateActionFieldRefInput<$PrismaModel> | null;
|
|
400
|
+
in?: $Enums.GateAction[] | null;
|
|
401
|
+
notIn?: $Enums.GateAction[] | null;
|
|
402
|
+
not?: Prisma.NestedEnumGateActionNullableFilter<$PrismaModel> | $Enums.GateAction | null;
|
|
403
|
+
};
|
|
404
|
+
export type EnumGateRejectBehaviorNullableFilter<$PrismaModel = never> = {
|
|
405
|
+
equals?: $Enums.GateRejectBehavior | Prisma.EnumGateRejectBehaviorFieldRefInput<$PrismaModel> | null;
|
|
406
|
+
in?: $Enums.GateRejectBehavior[] | null;
|
|
407
|
+
notIn?: $Enums.GateRejectBehavior[] | null;
|
|
408
|
+
not?: Prisma.NestedEnumGateRejectBehaviorNullableFilter<$PrismaModel> | $Enums.GateRejectBehavior | null;
|
|
409
|
+
};
|
|
322
410
|
export type EnumStepTypeWithAggregatesFilter<$PrismaModel = never> = {
|
|
323
411
|
equals?: $Enums.StepType | Prisma.EnumStepTypeFieldRefInput<$PrismaModel>;
|
|
324
412
|
in?: $Enums.StepType[];
|
|
@@ -328,6 +416,33 @@ export type EnumStepTypeWithAggregatesFilter<$PrismaModel = never> = {
|
|
|
328
416
|
_min?: Prisma.NestedEnumStepTypeFilter<$PrismaModel>;
|
|
329
417
|
_max?: Prisma.NestedEnumStepTypeFilter<$PrismaModel>;
|
|
330
418
|
};
|
|
419
|
+
export type EnumGateActorNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
420
|
+
equals?: $Enums.GateActor | Prisma.EnumGateActorFieldRefInput<$PrismaModel> | null;
|
|
421
|
+
in?: $Enums.GateActor[] | null;
|
|
422
|
+
notIn?: $Enums.GateActor[] | null;
|
|
423
|
+
not?: Prisma.NestedEnumGateActorNullableWithAggregatesFilter<$PrismaModel> | $Enums.GateActor | null;
|
|
424
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
425
|
+
_min?: Prisma.NestedEnumGateActorNullableFilter<$PrismaModel>;
|
|
426
|
+
_max?: Prisma.NestedEnumGateActorNullableFilter<$PrismaModel>;
|
|
427
|
+
};
|
|
428
|
+
export type EnumGateActionNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
429
|
+
equals?: $Enums.GateAction | Prisma.EnumGateActionFieldRefInput<$PrismaModel> | null;
|
|
430
|
+
in?: $Enums.GateAction[] | null;
|
|
431
|
+
notIn?: $Enums.GateAction[] | null;
|
|
432
|
+
not?: Prisma.NestedEnumGateActionNullableWithAggregatesFilter<$PrismaModel> | $Enums.GateAction | null;
|
|
433
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
434
|
+
_min?: Prisma.NestedEnumGateActionNullableFilter<$PrismaModel>;
|
|
435
|
+
_max?: Prisma.NestedEnumGateActionNullableFilter<$PrismaModel>;
|
|
436
|
+
};
|
|
437
|
+
export type EnumGateRejectBehaviorNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
438
|
+
equals?: $Enums.GateRejectBehavior | Prisma.EnumGateRejectBehaviorFieldRefInput<$PrismaModel> | null;
|
|
439
|
+
in?: $Enums.GateRejectBehavior[] | null;
|
|
440
|
+
notIn?: $Enums.GateRejectBehavior[] | null;
|
|
441
|
+
not?: Prisma.NestedEnumGateRejectBehaviorNullableWithAggregatesFilter<$PrismaModel> | $Enums.GateRejectBehavior | null;
|
|
442
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
443
|
+
_min?: Prisma.NestedEnumGateRejectBehaviorNullableFilter<$PrismaModel>;
|
|
444
|
+
_max?: Prisma.NestedEnumGateRejectBehaviorNullableFilter<$PrismaModel>;
|
|
445
|
+
};
|
|
331
446
|
export type EnumScoringStrategyFilter<$PrismaModel = never> = {
|
|
332
447
|
equals?: $Enums.ScoringStrategy | Prisma.EnumScoringStrategyFieldRefInput<$PrismaModel>;
|
|
333
448
|
in?: $Enums.ScoringStrategy[];
|
|
@@ -364,6 +479,12 @@ export type EnumQuestionTypeFilter<$PrismaModel = never> = {
|
|
|
364
479
|
notIn?: $Enums.QuestionType[];
|
|
365
480
|
not?: Prisma.NestedEnumQuestionTypeFilter<$PrismaModel> | $Enums.QuestionType;
|
|
366
481
|
};
|
|
482
|
+
export type EnumQuestionCategoryNullableFilter<$PrismaModel = never> = {
|
|
483
|
+
equals?: $Enums.QuestionCategory | Prisma.EnumQuestionCategoryFieldRefInput<$PrismaModel> | null;
|
|
484
|
+
in?: $Enums.QuestionCategory[] | null;
|
|
485
|
+
notIn?: $Enums.QuestionCategory[] | null;
|
|
486
|
+
not?: Prisma.NestedEnumQuestionCategoryNullableFilter<$PrismaModel> | $Enums.QuestionCategory | null;
|
|
487
|
+
};
|
|
367
488
|
export type EnumQuestionTypeWithAggregatesFilter<$PrismaModel = never> = {
|
|
368
489
|
equals?: $Enums.QuestionType | Prisma.EnumQuestionTypeFieldRefInput<$PrismaModel>;
|
|
369
490
|
in?: $Enums.QuestionType[];
|
|
@@ -373,6 +494,15 @@ export type EnumQuestionTypeWithAggregatesFilter<$PrismaModel = never> = {
|
|
|
373
494
|
_min?: Prisma.NestedEnumQuestionTypeFilter<$PrismaModel>;
|
|
374
495
|
_max?: Prisma.NestedEnumQuestionTypeFilter<$PrismaModel>;
|
|
375
496
|
};
|
|
497
|
+
export type EnumQuestionCategoryNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
498
|
+
equals?: $Enums.QuestionCategory | Prisma.EnumQuestionCategoryFieldRefInput<$PrismaModel> | null;
|
|
499
|
+
in?: $Enums.QuestionCategory[] | null;
|
|
500
|
+
notIn?: $Enums.QuestionCategory[] | null;
|
|
501
|
+
not?: Prisma.NestedEnumQuestionCategoryNullableWithAggregatesFilter<$PrismaModel> | $Enums.QuestionCategory | null;
|
|
502
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
503
|
+
_min?: Prisma.NestedEnumQuestionCategoryNullableFilter<$PrismaModel>;
|
|
504
|
+
_max?: Prisma.NestedEnumQuestionCategoryNullableFilter<$PrismaModel>;
|
|
505
|
+
};
|
|
376
506
|
export type EnumPaymentFrequencyFilter<$PrismaModel = never> = {
|
|
377
507
|
equals?: $Enums.PaymentFrequency | Prisma.EnumPaymentFrequencyFieldRefInput<$PrismaModel>;
|
|
378
508
|
in?: $Enums.PaymentFrequency[];
|
|
@@ -1110,6 +1240,76 @@ export type NestedEnumPermissionEffectWithAggregatesFilter<$PrismaModel = never>
|
|
|
1110
1240
|
_min?: Prisma.NestedEnumPermissionEffectFilter<$PrismaModel>;
|
|
1111
1241
|
_max?: Prisma.NestedEnumPermissionEffectFilter<$PrismaModel>;
|
|
1112
1242
|
};
|
|
1243
|
+
export type NestedEnumOrganizationTypeFilter<$PrismaModel = never> = {
|
|
1244
|
+
equals?: $Enums.OrganizationType | Prisma.EnumOrganizationTypeFieldRefInput<$PrismaModel>;
|
|
1245
|
+
in?: $Enums.OrganizationType[];
|
|
1246
|
+
notIn?: $Enums.OrganizationType[];
|
|
1247
|
+
not?: Prisma.NestedEnumOrganizationTypeFilter<$PrismaModel> | $Enums.OrganizationType;
|
|
1248
|
+
};
|
|
1249
|
+
export type NestedEnumOrganizationStatusFilter<$PrismaModel = never> = {
|
|
1250
|
+
equals?: $Enums.OrganizationStatus | Prisma.EnumOrganizationStatusFieldRefInput<$PrismaModel>;
|
|
1251
|
+
in?: $Enums.OrganizationStatus[];
|
|
1252
|
+
notIn?: $Enums.OrganizationStatus[];
|
|
1253
|
+
not?: Prisma.NestedEnumOrganizationStatusFilter<$PrismaModel> | $Enums.OrganizationStatus;
|
|
1254
|
+
};
|
|
1255
|
+
export type NestedEnumOrganizationTypeWithAggregatesFilter<$PrismaModel = never> = {
|
|
1256
|
+
equals?: $Enums.OrganizationType | Prisma.EnumOrganizationTypeFieldRefInput<$PrismaModel>;
|
|
1257
|
+
in?: $Enums.OrganizationType[];
|
|
1258
|
+
notIn?: $Enums.OrganizationType[];
|
|
1259
|
+
not?: Prisma.NestedEnumOrganizationTypeWithAggregatesFilter<$PrismaModel> | $Enums.OrganizationType;
|
|
1260
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
1261
|
+
_min?: Prisma.NestedEnumOrganizationTypeFilter<$PrismaModel>;
|
|
1262
|
+
_max?: Prisma.NestedEnumOrganizationTypeFilter<$PrismaModel>;
|
|
1263
|
+
};
|
|
1264
|
+
export type NestedEnumOrganizationStatusWithAggregatesFilter<$PrismaModel = never> = {
|
|
1265
|
+
equals?: $Enums.OrganizationStatus | Prisma.EnumOrganizationStatusFieldRefInput<$PrismaModel>;
|
|
1266
|
+
in?: $Enums.OrganizationStatus[];
|
|
1267
|
+
notIn?: $Enums.OrganizationStatus[];
|
|
1268
|
+
not?: Prisma.NestedEnumOrganizationStatusWithAggregatesFilter<$PrismaModel> | $Enums.OrganizationStatus;
|
|
1269
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
1270
|
+
_min?: Prisma.NestedEnumOrganizationStatusFilter<$PrismaModel>;
|
|
1271
|
+
_max?: Prisma.NestedEnumOrganizationStatusFilter<$PrismaModel>;
|
|
1272
|
+
};
|
|
1273
|
+
export type NestedEnumOrganizationRoleFilter<$PrismaModel = never> = {
|
|
1274
|
+
equals?: $Enums.OrganizationRole | Prisma.EnumOrganizationRoleFieldRefInput<$PrismaModel>;
|
|
1275
|
+
in?: $Enums.OrganizationRole[];
|
|
1276
|
+
notIn?: $Enums.OrganizationRole[];
|
|
1277
|
+
not?: Prisma.NestedEnumOrganizationRoleFilter<$PrismaModel> | $Enums.OrganizationRole;
|
|
1278
|
+
};
|
|
1279
|
+
export type NestedDecimalNullableFilter<$PrismaModel = never> = {
|
|
1280
|
+
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel> | null;
|
|
1281
|
+
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | null;
|
|
1282
|
+
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | null;
|
|
1283
|
+
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
1284
|
+
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
1285
|
+
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
1286
|
+
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
1287
|
+
not?: Prisma.NestedDecimalNullableFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
1288
|
+
};
|
|
1289
|
+
export type NestedEnumOrganizationRoleWithAggregatesFilter<$PrismaModel = never> = {
|
|
1290
|
+
equals?: $Enums.OrganizationRole | Prisma.EnumOrganizationRoleFieldRefInput<$PrismaModel>;
|
|
1291
|
+
in?: $Enums.OrganizationRole[];
|
|
1292
|
+
notIn?: $Enums.OrganizationRole[];
|
|
1293
|
+
not?: Prisma.NestedEnumOrganizationRoleWithAggregatesFilter<$PrismaModel> | $Enums.OrganizationRole;
|
|
1294
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
1295
|
+
_min?: Prisma.NestedEnumOrganizationRoleFilter<$PrismaModel>;
|
|
1296
|
+
_max?: Prisma.NestedEnumOrganizationRoleFilter<$PrismaModel>;
|
|
1297
|
+
};
|
|
1298
|
+
export type NestedDecimalNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
1299
|
+
equals?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel> | null;
|
|
1300
|
+
in?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | null;
|
|
1301
|
+
notIn?: runtime.Decimal[] | runtime.DecimalJsLike[] | number[] | string[] | null;
|
|
1302
|
+
lt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
1303
|
+
lte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
1304
|
+
gt?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
1305
|
+
gte?: runtime.Decimal | runtime.DecimalJsLike | number | string | Prisma.DecimalFieldRefInput<$PrismaModel>;
|
|
1306
|
+
not?: Prisma.NestedDecimalNullableWithAggregatesFilter<$PrismaModel> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
1307
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
1308
|
+
_avg?: Prisma.NestedDecimalNullableFilter<$PrismaModel>;
|
|
1309
|
+
_sum?: Prisma.NestedDecimalNullableFilter<$PrismaModel>;
|
|
1310
|
+
_min?: Prisma.NestedDecimalNullableFilter<$PrismaModel>;
|
|
1311
|
+
_max?: Prisma.NestedDecimalNullableFilter<$PrismaModel>;
|
|
1312
|
+
};
|
|
1113
1313
|
export type NestedFloatFilter<$PrismaModel = never> = {
|
|
1114
1314
|
equals?: number | Prisma.FloatFieldRefInput<$PrismaModel>;
|
|
1115
1315
|
in?: number[];
|
|
@@ -1213,6 +1413,24 @@ export type NestedEnumStepTypeFilter<$PrismaModel = never> = {
|
|
|
1213
1413
|
notIn?: $Enums.StepType[];
|
|
1214
1414
|
not?: Prisma.NestedEnumStepTypeFilter<$PrismaModel> | $Enums.StepType;
|
|
1215
1415
|
};
|
|
1416
|
+
export type NestedEnumGateActorNullableFilter<$PrismaModel = never> = {
|
|
1417
|
+
equals?: $Enums.GateActor | Prisma.EnumGateActorFieldRefInput<$PrismaModel> | null;
|
|
1418
|
+
in?: $Enums.GateActor[] | null;
|
|
1419
|
+
notIn?: $Enums.GateActor[] | null;
|
|
1420
|
+
not?: Prisma.NestedEnumGateActorNullableFilter<$PrismaModel> | $Enums.GateActor | null;
|
|
1421
|
+
};
|
|
1422
|
+
export type NestedEnumGateActionNullableFilter<$PrismaModel = never> = {
|
|
1423
|
+
equals?: $Enums.GateAction | Prisma.EnumGateActionFieldRefInput<$PrismaModel> | null;
|
|
1424
|
+
in?: $Enums.GateAction[] | null;
|
|
1425
|
+
notIn?: $Enums.GateAction[] | null;
|
|
1426
|
+
not?: Prisma.NestedEnumGateActionNullableFilter<$PrismaModel> | $Enums.GateAction | null;
|
|
1427
|
+
};
|
|
1428
|
+
export type NestedEnumGateRejectBehaviorNullableFilter<$PrismaModel = never> = {
|
|
1429
|
+
equals?: $Enums.GateRejectBehavior | Prisma.EnumGateRejectBehaviorFieldRefInput<$PrismaModel> | null;
|
|
1430
|
+
in?: $Enums.GateRejectBehavior[] | null;
|
|
1431
|
+
notIn?: $Enums.GateRejectBehavior[] | null;
|
|
1432
|
+
not?: Prisma.NestedEnumGateRejectBehaviorNullableFilter<$PrismaModel> | $Enums.GateRejectBehavior | null;
|
|
1433
|
+
};
|
|
1216
1434
|
export type NestedEnumStepTypeWithAggregatesFilter<$PrismaModel = never> = {
|
|
1217
1435
|
equals?: $Enums.StepType | Prisma.EnumStepTypeFieldRefInput<$PrismaModel>;
|
|
1218
1436
|
in?: $Enums.StepType[];
|
|
@@ -1222,6 +1440,33 @@ export type NestedEnumStepTypeWithAggregatesFilter<$PrismaModel = never> = {
|
|
|
1222
1440
|
_min?: Prisma.NestedEnumStepTypeFilter<$PrismaModel>;
|
|
1223
1441
|
_max?: Prisma.NestedEnumStepTypeFilter<$PrismaModel>;
|
|
1224
1442
|
};
|
|
1443
|
+
export type NestedEnumGateActorNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
1444
|
+
equals?: $Enums.GateActor | Prisma.EnumGateActorFieldRefInput<$PrismaModel> | null;
|
|
1445
|
+
in?: $Enums.GateActor[] | null;
|
|
1446
|
+
notIn?: $Enums.GateActor[] | null;
|
|
1447
|
+
not?: Prisma.NestedEnumGateActorNullableWithAggregatesFilter<$PrismaModel> | $Enums.GateActor | null;
|
|
1448
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
1449
|
+
_min?: Prisma.NestedEnumGateActorNullableFilter<$PrismaModel>;
|
|
1450
|
+
_max?: Prisma.NestedEnumGateActorNullableFilter<$PrismaModel>;
|
|
1451
|
+
};
|
|
1452
|
+
export type NestedEnumGateActionNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
1453
|
+
equals?: $Enums.GateAction | Prisma.EnumGateActionFieldRefInput<$PrismaModel> | null;
|
|
1454
|
+
in?: $Enums.GateAction[] | null;
|
|
1455
|
+
notIn?: $Enums.GateAction[] | null;
|
|
1456
|
+
not?: Prisma.NestedEnumGateActionNullableWithAggregatesFilter<$PrismaModel> | $Enums.GateAction | null;
|
|
1457
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
1458
|
+
_min?: Prisma.NestedEnumGateActionNullableFilter<$PrismaModel>;
|
|
1459
|
+
_max?: Prisma.NestedEnumGateActionNullableFilter<$PrismaModel>;
|
|
1460
|
+
};
|
|
1461
|
+
export type NestedEnumGateRejectBehaviorNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
1462
|
+
equals?: $Enums.GateRejectBehavior | Prisma.EnumGateRejectBehaviorFieldRefInput<$PrismaModel> | null;
|
|
1463
|
+
in?: $Enums.GateRejectBehavior[] | null;
|
|
1464
|
+
notIn?: $Enums.GateRejectBehavior[] | null;
|
|
1465
|
+
not?: Prisma.NestedEnumGateRejectBehaviorNullableWithAggregatesFilter<$PrismaModel> | $Enums.GateRejectBehavior | null;
|
|
1466
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
1467
|
+
_min?: Prisma.NestedEnumGateRejectBehaviorNullableFilter<$PrismaModel>;
|
|
1468
|
+
_max?: Prisma.NestedEnumGateRejectBehaviorNullableFilter<$PrismaModel>;
|
|
1469
|
+
};
|
|
1225
1470
|
export type NestedEnumScoringStrategyFilter<$PrismaModel = never> = {
|
|
1226
1471
|
equals?: $Enums.ScoringStrategy | Prisma.EnumScoringStrategyFieldRefInput<$PrismaModel>;
|
|
1227
1472
|
in?: $Enums.ScoringStrategy[];
|
|
@@ -1258,6 +1503,12 @@ export type NestedEnumQuestionTypeFilter<$PrismaModel = never> = {
|
|
|
1258
1503
|
notIn?: $Enums.QuestionType[];
|
|
1259
1504
|
not?: Prisma.NestedEnumQuestionTypeFilter<$PrismaModel> | $Enums.QuestionType;
|
|
1260
1505
|
};
|
|
1506
|
+
export type NestedEnumQuestionCategoryNullableFilter<$PrismaModel = never> = {
|
|
1507
|
+
equals?: $Enums.QuestionCategory | Prisma.EnumQuestionCategoryFieldRefInput<$PrismaModel> | null;
|
|
1508
|
+
in?: $Enums.QuestionCategory[] | null;
|
|
1509
|
+
notIn?: $Enums.QuestionCategory[] | null;
|
|
1510
|
+
not?: Prisma.NestedEnumQuestionCategoryNullableFilter<$PrismaModel> | $Enums.QuestionCategory | null;
|
|
1511
|
+
};
|
|
1261
1512
|
export type NestedEnumQuestionTypeWithAggregatesFilter<$PrismaModel = never> = {
|
|
1262
1513
|
equals?: $Enums.QuestionType | Prisma.EnumQuestionTypeFieldRefInput<$PrismaModel>;
|
|
1263
1514
|
in?: $Enums.QuestionType[];
|
|
@@ -1267,6 +1518,15 @@ export type NestedEnumQuestionTypeWithAggregatesFilter<$PrismaModel = never> = {
|
|
|
1267
1518
|
_min?: Prisma.NestedEnumQuestionTypeFilter<$PrismaModel>;
|
|
1268
1519
|
_max?: Prisma.NestedEnumQuestionTypeFilter<$PrismaModel>;
|
|
1269
1520
|
};
|
|
1521
|
+
export type NestedEnumQuestionCategoryNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
1522
|
+
equals?: $Enums.QuestionCategory | Prisma.EnumQuestionCategoryFieldRefInput<$PrismaModel> | null;
|
|
1523
|
+
in?: $Enums.QuestionCategory[] | null;
|
|
1524
|
+
notIn?: $Enums.QuestionCategory[] | null;
|
|
1525
|
+
not?: Prisma.NestedEnumQuestionCategoryNullableWithAggregatesFilter<$PrismaModel> | $Enums.QuestionCategory | null;
|
|
1526
|
+
_count?: Prisma.NestedIntNullableFilter<$PrismaModel>;
|
|
1527
|
+
_min?: Prisma.NestedEnumQuestionCategoryNullableFilter<$PrismaModel>;
|
|
1528
|
+
_max?: Prisma.NestedEnumQuestionCategoryNullableFilter<$PrismaModel>;
|
|
1529
|
+
};
|
|
1270
1530
|
export type NestedEnumPaymentFrequencyFilter<$PrismaModel = never> = {
|
|
1271
1531
|
equals?: $Enums.PaymentFrequency | Prisma.EnumPaymentFrequencyFieldRefInput<$PrismaModel>;
|
|
1272
1532
|
in?: $Enums.PaymentFrequency[];
|
|
@@ -34,6 +34,17 @@ export declare const ApplicationStatus: {
|
|
|
34
34
|
readonly SUPERSEDED: "SUPERSEDED";
|
|
35
35
|
};
|
|
36
36
|
export type ApplicationStatus = (typeof ApplicationStatus)[keyof typeof ApplicationStatus];
|
|
37
|
+
export declare const ApplicationTrigger: {
|
|
38
|
+
readonly SUBMIT: "SUBMIT";
|
|
39
|
+
readonly APPROVE: "APPROVE";
|
|
40
|
+
readonly REJECT: "REJECT";
|
|
41
|
+
readonly CANCEL: "CANCEL";
|
|
42
|
+
readonly COMPLETE: "COMPLETE";
|
|
43
|
+
readonly TERMINATE: "TERMINATE";
|
|
44
|
+
readonly TRANSFER: "TRANSFER";
|
|
45
|
+
readonly SUPERSEDE: "SUPERSEDE";
|
|
46
|
+
};
|
|
47
|
+
export type ApplicationTrigger = (typeof ApplicationTrigger)[keyof typeof ApplicationTrigger];
|
|
37
48
|
export declare const TransferRequestStatus: {
|
|
38
49
|
readonly PENDING: "PENDING";
|
|
39
50
|
readonly APPROVED: "APPROVED";
|
|
@@ -64,8 +75,29 @@ export declare const StepType: {
|
|
|
64
75
|
readonly GENERATE_DOCUMENT: "GENERATE_DOCUMENT";
|
|
65
76
|
readonly PRE_APPROVAL: "PRE_APPROVAL";
|
|
66
77
|
readonly UNDERWRITING: "UNDERWRITING";
|
|
78
|
+
readonly GATE: "GATE";
|
|
67
79
|
};
|
|
68
80
|
export type StepType = (typeof StepType)[keyof typeof StepType];
|
|
81
|
+
export declare const GateActor: {
|
|
82
|
+
readonly ADMIN: "ADMIN";
|
|
83
|
+
readonly CUSTOMER: "CUSTOMER";
|
|
84
|
+
readonly SPECIFIC_ROLE: "SPECIFIC_ROLE";
|
|
85
|
+
};
|
|
86
|
+
export type GateActor = (typeof GateActor)[keyof typeof GateActor];
|
|
87
|
+
export declare const GateAction: {
|
|
88
|
+
readonly APPROVE: "APPROVE";
|
|
89
|
+
readonly ACKNOWLEDGE: "ACKNOWLEDGE";
|
|
90
|
+
readonly CONFIRM: "CONFIRM";
|
|
91
|
+
readonly CONSENT: "CONSENT";
|
|
92
|
+
};
|
|
93
|
+
export type GateAction = (typeof GateAction)[keyof typeof GateAction];
|
|
94
|
+
export declare const GateRejectBehavior: {
|
|
95
|
+
readonly BLOCK: "BLOCK";
|
|
96
|
+
readonly RESTART_STEP: "RESTART_STEP";
|
|
97
|
+
readonly RESTART_PHASE: "RESTART_PHASE";
|
|
98
|
+
readonly TERMINATE: "TERMINATE";
|
|
99
|
+
};
|
|
100
|
+
export type GateRejectBehavior = (typeof GateRejectBehavior)[keyof typeof GateRejectBehavior];
|
|
69
101
|
export declare const StepStatus: {
|
|
70
102
|
readonly PENDING: "PENDING";
|
|
71
103
|
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
@@ -77,6 +109,19 @@ export declare const StepStatus: {
|
|
|
77
109
|
readonly AWAITING_REVIEW: "AWAITING_REVIEW";
|
|
78
110
|
};
|
|
79
111
|
export type StepStatus = (typeof StepStatus)[keyof typeof StepStatus];
|
|
112
|
+
export declare const ConditionOperator: {
|
|
113
|
+
readonly EQUALS: "EQUALS";
|
|
114
|
+
readonly NOT_EQUALS: "NOT_EQUALS";
|
|
115
|
+
readonly IN: "IN";
|
|
116
|
+
readonly NOT_IN: "NOT_IN";
|
|
117
|
+
readonly GREATER_THAN: "GREATER_THAN";
|
|
118
|
+
readonly LESS_THAN: "LESS_THAN";
|
|
119
|
+
readonly GREATER_THAN_OR_EQUAL: "GREATER_THAN_OR_EQUAL";
|
|
120
|
+
readonly LESS_THAN_OR_EQUAL: "LESS_THAN_OR_EQUAL";
|
|
121
|
+
readonly EXISTS: "EXISTS";
|
|
122
|
+
readonly NOT_EXISTS: "NOT_EXISTS";
|
|
123
|
+
};
|
|
124
|
+
export type ConditionOperator = (typeof ConditionOperator)[keyof typeof ConditionOperator];
|
|
80
125
|
export declare const StepTrigger: {
|
|
81
126
|
readonly ON_COMPLETE: "ON_COMPLETE";
|
|
82
127
|
readonly ON_REJECT: "ON_REJECT";
|
|
@@ -115,6 +160,25 @@ export declare const ApprovalDecision: {
|
|
|
115
160
|
readonly REQUEST_CHANGES: "REQUEST_CHANGES";
|
|
116
161
|
};
|
|
117
162
|
export type ApprovalDecision = (typeof ApprovalDecision)[keyof typeof ApprovalDecision];
|
|
163
|
+
export declare const OrganizationType: {
|
|
164
|
+
readonly BANK: "BANK";
|
|
165
|
+
readonly DEVELOPER: "DEVELOPER";
|
|
166
|
+
};
|
|
167
|
+
export type OrganizationType = (typeof OrganizationType)[keyof typeof OrganizationType];
|
|
168
|
+
export declare const OrganizationStatus: {
|
|
169
|
+
readonly PENDING: "PENDING";
|
|
170
|
+
readonly ACTIVE: "ACTIVE";
|
|
171
|
+
readonly SUSPENDED: "SUSPENDED";
|
|
172
|
+
readonly INACTIVE: "INACTIVE";
|
|
173
|
+
};
|
|
174
|
+
export type OrganizationStatus = (typeof OrganizationStatus)[keyof typeof OrganizationStatus];
|
|
175
|
+
export declare const OrganizationRole: {
|
|
176
|
+
readonly ADMIN: "ADMIN";
|
|
177
|
+
readonly MANAGER: "MANAGER";
|
|
178
|
+
readonly OFFICER: "OFFICER";
|
|
179
|
+
readonly VIEWER: "VIEWER";
|
|
180
|
+
};
|
|
181
|
+
export type OrganizationRole = (typeof OrganizationRole)[keyof typeof OrganizationRole];
|
|
118
182
|
export declare const TerminationType: {
|
|
119
183
|
readonly BUYER_WITHDRAWAL: "BUYER_WITHDRAWAL";
|
|
120
184
|
readonly SELLER_WITHDRAWAL: "SELLER_WITHDRAWAL";
|
|
@@ -314,6 +378,21 @@ export declare const QuestionnaireCategory: {
|
|
|
314
378
|
readonly CUSTOM: "CUSTOM";
|
|
315
379
|
};
|
|
316
380
|
export type QuestionnaireCategory = (typeof QuestionnaireCategory)[keyof typeof QuestionnaireCategory];
|
|
381
|
+
export declare const QuestionCategory: {
|
|
382
|
+
readonly ELIGIBILITY: "ELIGIBILITY";
|
|
383
|
+
readonly EMPLOYMENT: "EMPLOYMENT";
|
|
384
|
+
readonly INCOME: "INCOME";
|
|
385
|
+
readonly AFFORDABILITY: "AFFORDABILITY";
|
|
386
|
+
readonly EXPENSES: "EXPENSES";
|
|
387
|
+
readonly APPLICATION_TYPE: "APPLICATION_TYPE";
|
|
388
|
+
readonly PERSONAL: "PERSONAL";
|
|
389
|
+
readonly PREFERENCES: "PREFERENCES";
|
|
390
|
+
readonly PROPERTY: "PROPERTY";
|
|
391
|
+
readonly CREDIT: "CREDIT";
|
|
392
|
+
readonly ASSETS: "ASSETS";
|
|
393
|
+
readonly CUSTOM: "CUSTOM";
|
|
394
|
+
};
|
|
395
|
+
export type QuestionCategory = (typeof QuestionCategory)[keyof typeof QuestionCategory];
|
|
317
396
|
export declare const PaymentMethodChangeStatus: {
|
|
318
397
|
readonly PENDING_DOCUMENTS: "PENDING_DOCUMENTS";
|
|
319
398
|
readonly DOCUMENTS_SUBMITTED: "DOCUMENTS_SUBMITTED";
|
|
@@ -39,6 +39,16 @@ export const ApplicationStatus = {
|
|
|
39
39
|
TRANSFERRED: 'TRANSFERRED',
|
|
40
40
|
SUPERSEDED: 'SUPERSEDED'
|
|
41
41
|
};
|
|
42
|
+
export const ApplicationTrigger = {
|
|
43
|
+
SUBMIT: 'SUBMIT',
|
|
44
|
+
APPROVE: 'APPROVE',
|
|
45
|
+
REJECT: 'REJECT',
|
|
46
|
+
CANCEL: 'CANCEL',
|
|
47
|
+
COMPLETE: 'COMPLETE',
|
|
48
|
+
TERMINATE: 'TERMINATE',
|
|
49
|
+
TRANSFER: 'TRANSFER',
|
|
50
|
+
SUPERSEDE: 'SUPERSEDE'
|
|
51
|
+
};
|
|
42
52
|
export const TransferRequestStatus = {
|
|
43
53
|
PENDING: 'PENDING',
|
|
44
54
|
APPROVED: 'APPROVED',
|
|
@@ -66,7 +76,25 @@ export const StepType = {
|
|
|
66
76
|
WAIT: 'WAIT',
|
|
67
77
|
GENERATE_DOCUMENT: 'GENERATE_DOCUMENT',
|
|
68
78
|
PRE_APPROVAL: 'PRE_APPROVAL',
|
|
69
|
-
UNDERWRITING: 'UNDERWRITING'
|
|
79
|
+
UNDERWRITING: 'UNDERWRITING',
|
|
80
|
+
GATE: 'GATE'
|
|
81
|
+
};
|
|
82
|
+
export const GateActor = {
|
|
83
|
+
ADMIN: 'ADMIN',
|
|
84
|
+
CUSTOMER: 'CUSTOMER',
|
|
85
|
+
SPECIFIC_ROLE: 'SPECIFIC_ROLE'
|
|
86
|
+
};
|
|
87
|
+
export const GateAction = {
|
|
88
|
+
APPROVE: 'APPROVE',
|
|
89
|
+
ACKNOWLEDGE: 'ACKNOWLEDGE',
|
|
90
|
+
CONFIRM: 'CONFIRM',
|
|
91
|
+
CONSENT: 'CONSENT'
|
|
92
|
+
};
|
|
93
|
+
export const GateRejectBehavior = {
|
|
94
|
+
BLOCK: 'BLOCK',
|
|
95
|
+
RESTART_STEP: 'RESTART_STEP',
|
|
96
|
+
RESTART_PHASE: 'RESTART_PHASE',
|
|
97
|
+
TERMINATE: 'TERMINATE'
|
|
70
98
|
};
|
|
71
99
|
export const StepStatus = {
|
|
72
100
|
PENDING: 'PENDING',
|
|
@@ -78,6 +106,18 @@ export const StepStatus = {
|
|
|
78
106
|
ACTION_REQUIRED: 'ACTION_REQUIRED',
|
|
79
107
|
AWAITING_REVIEW: 'AWAITING_REVIEW'
|
|
80
108
|
};
|
|
109
|
+
export const ConditionOperator = {
|
|
110
|
+
EQUALS: 'EQUALS',
|
|
111
|
+
NOT_EQUALS: 'NOT_EQUALS',
|
|
112
|
+
IN: 'IN',
|
|
113
|
+
NOT_IN: 'NOT_IN',
|
|
114
|
+
GREATER_THAN: 'GREATER_THAN',
|
|
115
|
+
LESS_THAN: 'LESS_THAN',
|
|
116
|
+
GREATER_THAN_OR_EQUAL: 'GREATER_THAN_OR_EQUAL',
|
|
117
|
+
LESS_THAN_OR_EQUAL: 'LESS_THAN_OR_EQUAL',
|
|
118
|
+
EXISTS: 'EXISTS',
|
|
119
|
+
NOT_EXISTS: 'NOT_EXISTS'
|
|
120
|
+
};
|
|
81
121
|
export const StepTrigger = {
|
|
82
122
|
ON_COMPLETE: 'ON_COMPLETE',
|
|
83
123
|
ON_REJECT: 'ON_REJECT',
|
|
@@ -111,6 +151,22 @@ export const ApprovalDecision = {
|
|
|
111
151
|
REJECTED: 'REJECTED',
|
|
112
152
|
REQUEST_CHANGES: 'REQUEST_CHANGES'
|
|
113
153
|
};
|
|
154
|
+
export const OrganizationType = {
|
|
155
|
+
BANK: 'BANK',
|
|
156
|
+
DEVELOPER: 'DEVELOPER'
|
|
157
|
+
};
|
|
158
|
+
export const OrganizationStatus = {
|
|
159
|
+
PENDING: 'PENDING',
|
|
160
|
+
ACTIVE: 'ACTIVE',
|
|
161
|
+
SUSPENDED: 'SUSPENDED',
|
|
162
|
+
INACTIVE: 'INACTIVE'
|
|
163
|
+
};
|
|
164
|
+
export const OrganizationRole = {
|
|
165
|
+
ADMIN: 'ADMIN',
|
|
166
|
+
MANAGER: 'MANAGER',
|
|
167
|
+
OFFICER: 'OFFICER',
|
|
168
|
+
VIEWER: 'VIEWER'
|
|
169
|
+
};
|
|
114
170
|
export const TerminationType = {
|
|
115
171
|
BUYER_WITHDRAWAL: 'BUYER_WITHDRAWAL',
|
|
116
172
|
SELLER_WITHDRAWAL: 'SELLER_WITHDRAWAL',
|
|
@@ -290,6 +346,20 @@ export const QuestionnaireCategory = {
|
|
|
290
346
|
COMPLIANCE: 'COMPLIANCE',
|
|
291
347
|
CUSTOM: 'CUSTOM'
|
|
292
348
|
};
|
|
349
|
+
export const QuestionCategory = {
|
|
350
|
+
ELIGIBILITY: 'ELIGIBILITY',
|
|
351
|
+
EMPLOYMENT: 'EMPLOYMENT',
|
|
352
|
+
INCOME: 'INCOME',
|
|
353
|
+
AFFORDABILITY: 'AFFORDABILITY',
|
|
354
|
+
EXPENSES: 'EXPENSES',
|
|
355
|
+
APPLICATION_TYPE: 'APPLICATION_TYPE',
|
|
356
|
+
PERSONAL: 'PERSONAL',
|
|
357
|
+
PREFERENCES: 'PREFERENCES',
|
|
358
|
+
PROPERTY: 'PROPERTY',
|
|
359
|
+
CREDIT: 'CREDIT',
|
|
360
|
+
ASSETS: 'ASSETS',
|
|
361
|
+
CUSTOM: 'CUSTOM'
|
|
362
|
+
};
|
|
293
363
|
export const PaymentMethodChangeStatus = {
|
|
294
364
|
PENDING_DOCUMENTS: 'PENDING_DOCUMENTS',
|
|
295
365
|
DOCUMENTS_SUBMITTED: 'DOCUMENTS_SUBMITTED',
|
|
@@ -177,6 +177,28 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
|
|
|
177
177
|
get tenantMembership(): Prisma.TenantMembershipDelegate<ExtArgs, {
|
|
178
178
|
omit: OmitOpts;
|
|
179
179
|
}>;
|
|
180
|
+
/**
|
|
181
|
+
* `prisma.organization`: Exposes CRUD operations for the **Organization** model.
|
|
182
|
+
* Example usage:
|
|
183
|
+
* ```ts
|
|
184
|
+
* // Fetch zero or more Organizations
|
|
185
|
+
* const organizations = await prisma.organization.findMany()
|
|
186
|
+
* ```
|
|
187
|
+
*/
|
|
188
|
+
get organization(): Prisma.OrganizationDelegate<ExtArgs, {
|
|
189
|
+
omit: OmitOpts;
|
|
190
|
+
}>;
|
|
191
|
+
/**
|
|
192
|
+
* `prisma.organizationMember`: Exposes CRUD operations for the **OrganizationMember** model.
|
|
193
|
+
* Example usage:
|
|
194
|
+
* ```ts
|
|
195
|
+
* // Fetch zero or more OrganizationMembers
|
|
196
|
+
* const organizationMembers = await prisma.organizationMember.findMany()
|
|
197
|
+
* ```
|
|
198
|
+
*/
|
|
199
|
+
get organizationMember(): Prisma.OrganizationMemberDelegate<ExtArgs, {
|
|
200
|
+
omit: OmitOpts;
|
|
201
|
+
}>;
|
|
180
202
|
/**
|
|
181
203
|
* `prisma.tenant`: Exposes CRUD operations for the **Tenant** model.
|
|
182
204
|
* Example usage:
|