@valentine-efagene/qshelter-common 2.0.98 → 2.0.99
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 +5 -0
- package/dist/generated/client/client.d.ts +5 -0
- package/dist/generated/client/commonInputTypes.d.ts +90 -0
- package/dist/generated/client/enums.d.ts +26 -0
- package/dist/generated/client/enums.js +23 -0
- package/dist/generated/client/internal/class.d.ts +11 -0
- package/dist/generated/client/internal/class.js +2 -2
- package/dist/generated/client/internal/prismaNamespace.d.ts +120 -1
- package/dist/generated/client/internal/prismaNamespace.js +39 -1
- package/dist/generated/client/internal/prismaNamespaceBrowser.d.ts +40 -0
- package/dist/generated/client/internal/prismaNamespaceBrowser.js +39 -1
- package/dist/generated/client/models/WorkflowBlocker.d.ts +1432 -0
- package/dist/generated/client/models/WorkflowBlocker.js +1 -0
- package/dist/generated/client/models/index.d.ts +1 -0
- package/dist/generated/client/models/index.js +1 -0
- package/dist/generated/client/models.d.ts +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +1 -0
- package/dist/src/middleware/auth-context.d.ts +63 -6
- package/dist/src/middleware/auth-context.js +132 -13
- package/dist/src/types/action-status.d.ts +137 -0
- package/dist/src/types/action-status.js +402 -0
- package/package.json +1 -1
- package/prisma/schema.prisma +136 -36
|
@@ -326,3 +326,8 @@ export type PropertyTransferRequest = Prisma.PropertyTransferRequestModel;
|
|
|
326
326
|
*
|
|
327
327
|
*/
|
|
328
328
|
export type ApprovalRequest = Prisma.ApprovalRequestModel;
|
|
329
|
+
/**
|
|
330
|
+
* Model WorkflowBlocker
|
|
331
|
+
* Workflow Blocker - Records who is blocking workflow and for how long
|
|
332
|
+
*/
|
|
333
|
+
export type WorkflowBlocker = Prisma.WorkflowBlockerModel;
|
|
@@ -343,3 +343,8 @@ export type PropertyTransferRequest = Prisma.PropertyTransferRequestModel;
|
|
|
343
343
|
*
|
|
344
344
|
*/
|
|
345
345
|
export type ApprovalRequest = Prisma.ApprovalRequestModel;
|
|
346
|
+
/**
|
|
347
|
+
* Model WorkflowBlocker
|
|
348
|
+
* Workflow Blocker - Records who is blocking workflow and for how long
|
|
349
|
+
*/
|
|
350
|
+
export type WorkflowBlocker = Prisma.WorkflowBlockerModel;
|
|
@@ -849,6 +849,51 @@ export type EnumApprovalDecisionNullableWithAggregatesFilter<$PrismaModel = neve
|
|
|
849
849
|
_min?: Prisma.NestedEnumApprovalDecisionNullableFilter<$PrismaModel>;
|
|
850
850
|
_max?: Prisma.NestedEnumApprovalDecisionNullableFilter<$PrismaModel>;
|
|
851
851
|
};
|
|
852
|
+
export type EnumBlockerActorFilter<$PrismaModel = never> = {
|
|
853
|
+
equals?: $Enums.BlockerActor | Prisma.EnumBlockerActorFieldRefInput<$PrismaModel>;
|
|
854
|
+
in?: $Enums.BlockerActor[];
|
|
855
|
+
notIn?: $Enums.BlockerActor[];
|
|
856
|
+
not?: Prisma.NestedEnumBlockerActorFilter<$PrismaModel> | $Enums.BlockerActor;
|
|
857
|
+
};
|
|
858
|
+
export type EnumBlockerCategoryFilter<$PrismaModel = never> = {
|
|
859
|
+
equals?: $Enums.BlockerCategory | Prisma.EnumBlockerCategoryFieldRefInput<$PrismaModel>;
|
|
860
|
+
in?: $Enums.BlockerCategory[];
|
|
861
|
+
notIn?: $Enums.BlockerCategory[];
|
|
862
|
+
not?: Prisma.NestedEnumBlockerCategoryFilter<$PrismaModel> | $Enums.BlockerCategory;
|
|
863
|
+
};
|
|
864
|
+
export type EnumBlockerUrgencyFilter<$PrismaModel = never> = {
|
|
865
|
+
equals?: $Enums.BlockerUrgency | Prisma.EnumBlockerUrgencyFieldRefInput<$PrismaModel>;
|
|
866
|
+
in?: $Enums.BlockerUrgency[];
|
|
867
|
+
notIn?: $Enums.BlockerUrgency[];
|
|
868
|
+
not?: Prisma.NestedEnumBlockerUrgencyFilter<$PrismaModel> | $Enums.BlockerUrgency;
|
|
869
|
+
};
|
|
870
|
+
export type EnumBlockerActorWithAggregatesFilter<$PrismaModel = never> = {
|
|
871
|
+
equals?: $Enums.BlockerActor | Prisma.EnumBlockerActorFieldRefInput<$PrismaModel>;
|
|
872
|
+
in?: $Enums.BlockerActor[];
|
|
873
|
+
notIn?: $Enums.BlockerActor[];
|
|
874
|
+
not?: Prisma.NestedEnumBlockerActorWithAggregatesFilter<$PrismaModel> | $Enums.BlockerActor;
|
|
875
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
876
|
+
_min?: Prisma.NestedEnumBlockerActorFilter<$PrismaModel>;
|
|
877
|
+
_max?: Prisma.NestedEnumBlockerActorFilter<$PrismaModel>;
|
|
878
|
+
};
|
|
879
|
+
export type EnumBlockerCategoryWithAggregatesFilter<$PrismaModel = never> = {
|
|
880
|
+
equals?: $Enums.BlockerCategory | Prisma.EnumBlockerCategoryFieldRefInput<$PrismaModel>;
|
|
881
|
+
in?: $Enums.BlockerCategory[];
|
|
882
|
+
notIn?: $Enums.BlockerCategory[];
|
|
883
|
+
not?: Prisma.NestedEnumBlockerCategoryWithAggregatesFilter<$PrismaModel> | $Enums.BlockerCategory;
|
|
884
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
885
|
+
_min?: Prisma.NestedEnumBlockerCategoryFilter<$PrismaModel>;
|
|
886
|
+
_max?: Prisma.NestedEnumBlockerCategoryFilter<$PrismaModel>;
|
|
887
|
+
};
|
|
888
|
+
export type EnumBlockerUrgencyWithAggregatesFilter<$PrismaModel = never> = {
|
|
889
|
+
equals?: $Enums.BlockerUrgency | Prisma.EnumBlockerUrgencyFieldRefInput<$PrismaModel>;
|
|
890
|
+
in?: $Enums.BlockerUrgency[];
|
|
891
|
+
notIn?: $Enums.BlockerUrgency[];
|
|
892
|
+
not?: Prisma.NestedEnumBlockerUrgencyWithAggregatesFilter<$PrismaModel> | $Enums.BlockerUrgency;
|
|
893
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
894
|
+
_min?: Prisma.NestedEnumBlockerUrgencyFilter<$PrismaModel>;
|
|
895
|
+
_max?: Prisma.NestedEnumBlockerUrgencyFilter<$PrismaModel>;
|
|
896
|
+
};
|
|
852
897
|
export type NestedStringFilter<$PrismaModel = never> = {
|
|
853
898
|
equals?: string | Prisma.StringFieldRefInput<$PrismaModel>;
|
|
854
899
|
in?: string[];
|
|
@@ -1653,3 +1698,48 @@ export type NestedEnumApprovalDecisionNullableWithAggregatesFilter<$PrismaModel
|
|
|
1653
1698
|
_min?: Prisma.NestedEnumApprovalDecisionNullableFilter<$PrismaModel>;
|
|
1654
1699
|
_max?: Prisma.NestedEnumApprovalDecisionNullableFilter<$PrismaModel>;
|
|
1655
1700
|
};
|
|
1701
|
+
export type NestedEnumBlockerActorFilter<$PrismaModel = never> = {
|
|
1702
|
+
equals?: $Enums.BlockerActor | Prisma.EnumBlockerActorFieldRefInput<$PrismaModel>;
|
|
1703
|
+
in?: $Enums.BlockerActor[];
|
|
1704
|
+
notIn?: $Enums.BlockerActor[];
|
|
1705
|
+
not?: Prisma.NestedEnumBlockerActorFilter<$PrismaModel> | $Enums.BlockerActor;
|
|
1706
|
+
};
|
|
1707
|
+
export type NestedEnumBlockerCategoryFilter<$PrismaModel = never> = {
|
|
1708
|
+
equals?: $Enums.BlockerCategory | Prisma.EnumBlockerCategoryFieldRefInput<$PrismaModel>;
|
|
1709
|
+
in?: $Enums.BlockerCategory[];
|
|
1710
|
+
notIn?: $Enums.BlockerCategory[];
|
|
1711
|
+
not?: Prisma.NestedEnumBlockerCategoryFilter<$PrismaModel> | $Enums.BlockerCategory;
|
|
1712
|
+
};
|
|
1713
|
+
export type NestedEnumBlockerUrgencyFilter<$PrismaModel = never> = {
|
|
1714
|
+
equals?: $Enums.BlockerUrgency | Prisma.EnumBlockerUrgencyFieldRefInput<$PrismaModel>;
|
|
1715
|
+
in?: $Enums.BlockerUrgency[];
|
|
1716
|
+
notIn?: $Enums.BlockerUrgency[];
|
|
1717
|
+
not?: Prisma.NestedEnumBlockerUrgencyFilter<$PrismaModel> | $Enums.BlockerUrgency;
|
|
1718
|
+
};
|
|
1719
|
+
export type NestedEnumBlockerActorWithAggregatesFilter<$PrismaModel = never> = {
|
|
1720
|
+
equals?: $Enums.BlockerActor | Prisma.EnumBlockerActorFieldRefInput<$PrismaModel>;
|
|
1721
|
+
in?: $Enums.BlockerActor[];
|
|
1722
|
+
notIn?: $Enums.BlockerActor[];
|
|
1723
|
+
not?: Prisma.NestedEnumBlockerActorWithAggregatesFilter<$PrismaModel> | $Enums.BlockerActor;
|
|
1724
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
1725
|
+
_min?: Prisma.NestedEnumBlockerActorFilter<$PrismaModel>;
|
|
1726
|
+
_max?: Prisma.NestedEnumBlockerActorFilter<$PrismaModel>;
|
|
1727
|
+
};
|
|
1728
|
+
export type NestedEnumBlockerCategoryWithAggregatesFilter<$PrismaModel = never> = {
|
|
1729
|
+
equals?: $Enums.BlockerCategory | Prisma.EnumBlockerCategoryFieldRefInput<$PrismaModel>;
|
|
1730
|
+
in?: $Enums.BlockerCategory[];
|
|
1731
|
+
notIn?: $Enums.BlockerCategory[];
|
|
1732
|
+
not?: Prisma.NestedEnumBlockerCategoryWithAggregatesFilter<$PrismaModel> | $Enums.BlockerCategory;
|
|
1733
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
1734
|
+
_min?: Prisma.NestedEnumBlockerCategoryFilter<$PrismaModel>;
|
|
1735
|
+
_max?: Prisma.NestedEnumBlockerCategoryFilter<$PrismaModel>;
|
|
1736
|
+
};
|
|
1737
|
+
export type NestedEnumBlockerUrgencyWithAggregatesFilter<$PrismaModel = never> = {
|
|
1738
|
+
equals?: $Enums.BlockerUrgency | Prisma.EnumBlockerUrgencyFieldRefInput<$PrismaModel>;
|
|
1739
|
+
in?: $Enums.BlockerUrgency[];
|
|
1740
|
+
notIn?: $Enums.BlockerUrgency[];
|
|
1741
|
+
not?: Prisma.NestedEnumBlockerUrgencyWithAggregatesFilter<$PrismaModel> | $Enums.BlockerUrgency;
|
|
1742
|
+
_count?: Prisma.NestedIntFilter<$PrismaModel>;
|
|
1743
|
+
_min?: Prisma.NestedEnumBlockerUrgencyFilter<$PrismaModel>;
|
|
1744
|
+
_max?: Prisma.NestedEnumBlockerUrgencyFilter<$PrismaModel>;
|
|
1745
|
+
};
|
|
@@ -318,3 +318,29 @@ export declare const ApprovalRequestPriority: {
|
|
|
318
318
|
readonly URGENT: "URGENT";
|
|
319
319
|
};
|
|
320
320
|
export type ApprovalRequestPriority = (typeof ApprovalRequestPriority)[keyof typeof ApprovalRequestPriority];
|
|
321
|
+
export declare const BlockerActor: {
|
|
322
|
+
readonly CUSTOMER: "CUSTOMER";
|
|
323
|
+
readonly ADMIN: "ADMIN";
|
|
324
|
+
readonly SYSTEM: "SYSTEM";
|
|
325
|
+
readonly EXTERNAL: "EXTERNAL";
|
|
326
|
+
};
|
|
327
|
+
export type BlockerActor = (typeof BlockerActor)[keyof typeof BlockerActor];
|
|
328
|
+
export declare const BlockerCategory: {
|
|
329
|
+
readonly UPLOAD: "UPLOAD";
|
|
330
|
+
readonly RESUBMISSION: "RESUBMISSION";
|
|
331
|
+
readonly SIGNATURE: "SIGNATURE";
|
|
332
|
+
readonly REVIEW: "REVIEW";
|
|
333
|
+
readonly APPROVAL: "APPROVAL";
|
|
334
|
+
readonly PAYMENT: "PAYMENT";
|
|
335
|
+
readonly PROCESSING: "PROCESSING";
|
|
336
|
+
readonly EXTERNAL_CHECK: "EXTERNAL_CHECK";
|
|
337
|
+
readonly QUESTIONNAIRE: "QUESTIONNAIRE";
|
|
338
|
+
};
|
|
339
|
+
export type BlockerCategory = (typeof BlockerCategory)[keyof typeof BlockerCategory];
|
|
340
|
+
export declare const BlockerUrgency: {
|
|
341
|
+
readonly LOW: "LOW";
|
|
342
|
+
readonly NORMAL: "NORMAL";
|
|
343
|
+
readonly HIGH: "HIGH";
|
|
344
|
+
readonly CRITICAL: "CRITICAL";
|
|
345
|
+
};
|
|
346
|
+
export type BlockerUrgency = (typeof BlockerUrgency)[keyof typeof BlockerUrgency];
|
|
@@ -292,3 +292,26 @@ export const ApprovalRequestPriority = {
|
|
|
292
292
|
HIGH: 'HIGH',
|
|
293
293
|
URGENT: 'URGENT'
|
|
294
294
|
};
|
|
295
|
+
export const BlockerActor = {
|
|
296
|
+
CUSTOMER: 'CUSTOMER',
|
|
297
|
+
ADMIN: 'ADMIN',
|
|
298
|
+
SYSTEM: 'SYSTEM',
|
|
299
|
+
EXTERNAL: 'EXTERNAL'
|
|
300
|
+
};
|
|
301
|
+
export const BlockerCategory = {
|
|
302
|
+
UPLOAD: 'UPLOAD',
|
|
303
|
+
RESUBMISSION: 'RESUBMISSION',
|
|
304
|
+
SIGNATURE: 'SIGNATURE',
|
|
305
|
+
REVIEW: 'REVIEW',
|
|
306
|
+
APPROVAL: 'APPROVAL',
|
|
307
|
+
PAYMENT: 'PAYMENT',
|
|
308
|
+
PROCESSING: 'PROCESSING',
|
|
309
|
+
EXTERNAL_CHECK: 'EXTERNAL_CHECK',
|
|
310
|
+
QUESTIONNAIRE: 'QUESTIONNAIRE'
|
|
311
|
+
};
|
|
312
|
+
export const BlockerUrgency = {
|
|
313
|
+
LOW: 'LOW',
|
|
314
|
+
NORMAL: 'NORMAL',
|
|
315
|
+
HIGH: 'HIGH',
|
|
316
|
+
CRITICAL: 'CRITICAL'
|
|
317
|
+
};
|
|
@@ -804,5 +804,16 @@ export interface PrismaClient<in LogOpts extends Prisma.LogLevel = never, in out
|
|
|
804
804
|
get approvalRequest(): Prisma.ApprovalRequestDelegate<ExtArgs, {
|
|
805
805
|
omit: OmitOpts;
|
|
806
806
|
}>;
|
|
807
|
+
/**
|
|
808
|
+
* `prisma.workflowBlocker`: Exposes CRUD operations for the **WorkflowBlocker** model.
|
|
809
|
+
* Example usage:
|
|
810
|
+
* ```ts
|
|
811
|
+
* // Fetch zero or more WorkflowBlockers
|
|
812
|
+
* const workflowBlockers = await prisma.workflowBlocker.findMany()
|
|
813
|
+
* ```
|
|
814
|
+
*/
|
|
815
|
+
get workflowBlocker(): Prisma.WorkflowBlockerDelegate<ExtArgs, {
|
|
816
|
+
omit: OmitOpts;
|
|
817
|
+
}>;
|
|
807
818
|
}
|
|
808
819
|
export declare function getPrismaClientClass(): PrismaClientConstructor;
|