@degenerate/generic 0.1.8 → 0.1.10

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.
Files changed (47) hide show
  1. package/dist/application/audit-log/create-application-audit-log.d.ts.map +1 -1
  2. package/dist/application/audit-log/create-application-audit-log.js +1 -1
  3. package/dist/application/database/firestore/generics/add-items-to-database.d.ts.map +1 -1
  4. package/dist/application/database/firestore/generics/add-items-to-database.js +2 -2
  5. package/dist/application/database/firestore/generics/add-or-update-items-to-database.d.ts.map +1 -1
  6. package/dist/application/database/firestore/generics/add-or-update-items-to-database.js +3 -3
  7. package/dist/application/database/firestore/generics/delete-items-on-database.d.ts.map +1 -1
  8. package/dist/application/database/firestore/generics/delete-items-on-database.js +2 -2
  9. package/dist/application/database/firestore/generics/get-item-from-database.d.ts.map +1 -1
  10. package/dist/application/database/firestore/generics/get-item-from-database.js +2 -2
  11. package/dist/application/database/firestore/generics/get-items-different-path-on-database.d.ts.map +1 -1
  12. package/dist/application/database/firestore/generics/get-items-different-path-on-database.js +2 -2
  13. package/dist/application/database/firestore/generics/get-items-from-database.d.ts.map +1 -1
  14. package/dist/application/database/firestore/generics/get-items-from-database.js +2 -2
  15. package/dist/application/database/firestore/generics/update-items-on-database.d.ts.map +1 -1
  16. package/dist/application/database/firestore/generics/update-items-on-database.js +2 -2
  17. package/dist/application/database/firestore/generics/update-items-properties-on-database.d.ts.map +1 -1
  18. package/dist/application/database/firestore/generics/update-items-properties-on-database.js +2 -2
  19. package/dist/authorization/safe/authorization/authorized-authorities.d.ts.map +1 -1
  20. package/dist/errors/request/request-errors.d.ts +1 -1
  21. package/dist/errors/request/request-errors.d.ts.map +1 -1
  22. package/dist/helpers/request/params-object-helpers.d.ts +7 -1
  23. package/dist/helpers/request/params-object-helpers.d.ts.map +1 -1
  24. package/dist/helpers/request/params-object-helpers.js +10 -1
  25. package/dist/helpers/request/request-object-helpers.d.ts +16 -1
  26. package/dist/helpers/request/request-object-helpers.d.ts.map +1 -1
  27. package/dist/helpers/request/request-object-helpers.js +25 -2
  28. package/dist/models/application/audit-log/application-audit-log-models.d.ts +144 -60
  29. package/dist/models/application/audit-log/application-audit-log-models.d.ts.map +1 -1
  30. package/dist/models/application/audit-log/application-audit-log-models.js +87 -41
  31. package/dist/models/application/database/firestore-models.d.ts +370 -54
  32. package/dist/models/application/database/firestore-models.d.ts.map +1 -1
  33. package/dist/models/application/database/firestore-models.js +119 -1
  34. package/dist/models/authorization/authorization-models.d.ts +76 -33
  35. package/dist/models/authorization/authorization-models.d.ts.map +1 -1
  36. package/dist/models/authorization/authorization-models.js +80 -12
  37. package/dist/models/rules/share-rule-models.d.ts.map +1 -1
  38. package/dist/transactions/authority/create-safe-transaction-authority-data.d.ts +14 -0
  39. package/dist/transactions/authority/create-safe-transaction-authority-data.d.ts.map +1 -0
  40. package/dist/transactions/authority/create-safe-transaction-authority-data.js +21 -0
  41. package/dist/transactions/authority/create-safe-transaction-authority.d.ts +15 -0
  42. package/dist/transactions/authority/create-safe-transaction-authority.d.ts.map +1 -0
  43. package/dist/transactions/authority/create-safe-transaction-authority.js +29 -0
  44. package/dist/transactions/index.d.ts +3 -0
  45. package/dist/transactions/index.d.ts.map +1 -0
  46. package/dist/transactions/index.js +20 -0
  47. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"application-audit-log-models.d.ts","sourceRoot":"","sources":["../../../../src/models/application/audit-log/application-audit-log-models.ts"],"names":[],"mappings":"AAEA;;;GAGG;AAIH,MAAM,MAAM,oBAAoB,GAAG,gCAAgC,CAAC;AACpE;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC7C,qBAAqB,EAAE,iCAAiC,EAAE,CAAC;IAC3D,yBAAyB,EAAE,yBAAyB,CAAC;IACrD,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,YAAY,CAAC,EAAE,GAAG,CAAC;CACtB;AAED;;;;;;;;;;GAUG;AACH,MAAM,WAAW,iCAAiC;IAC9C,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,oBAAY,yBAAyB;IACjC,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,IAAI,SAAS;CAChB;AAED;;GAEG;AACH,oBAAY,uBAAuB;IAC/B,mBAAmB,wBAAwB,CAAE,qCAAqC;IAClF,MAAM,WAAW;CACpB;AAKD;;GAEG;AACH,oBAAY,2BAA2B;IACnC,gBAAgB,qBAAqB;CACxC;AAMD;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;CACzC;AAMD;;GAEG;AAEH,MAAM,MAAM,0BAA0B,GAAG,6BAA6B,GAAG,mBAAmB,GAAG,yBAAyB,GAClH,2BAA2B,CAAC;AAIlC;;GAEG;AACH,oBAAY,6BAA6B;IACrC,aAAa,kBAAkB;CAClC;AAMD;;GAEG;AACH,oBAAY,mBAAmB;IAC3B,OAAO,YAAY;CACtB;AAMD;;GAEG;AACH,oBAAY,yBAAyB;IACjC,kBAAkB,uBAAuB;CAC5C"}
1
+ {"version":3,"file":"application-audit-log-models.d.ts","sourceRoot":"","sources":["../../../../src/models/application/audit-log/application-audit-log-models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;GAEG;AACH,eAAO,MAAM,mCAAmC,8BAE9C,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;AAEhG;;GAEG;AACH,eAAO,MAAM,+BAA+B,mEAO1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AAEjF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAI9E;;GAEG;AACH,eAAO,MAAM,oCAAoC;;;;;;;;;EAG/C,CAAC;AAEH,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC"}
@@ -1,59 +1,105 @@
1
1
  "use strict";
2
- /* eslint-disable @typescript-eslint/no-explicit-any */
3
2
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.PublicDataAuditLogSubType = exports.UserAuditLogSubType = exports.AdministrationAuditLogSubType = exports.MultiplePathAuditLogSubType = exports.ApplicationAuditLogType = exports.ApplicationAuditLogAction = void 0;
3
+ exports.QueryObjectAndValueForAuditLogSchema = exports.IApplicationAuditLogSchema = exports.IApplicationAuditLogUnstructuredSchema = exports.AdditionalApplicationAuditLogIdsSchema = exports.ApplicationAuditLogSubTypeSchema = exports.UserAuditLogSubTypeSchema = exports.PublicDataAuditLogSubTypeSchema = exports.MultiplePathAuditLogSubTypeSchema = exports.ApplicationAuditLogTypeSchema = exports.ApplicationAuditLogActionSchema = exports.AdministrationAuditLogSubTypeSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ //#region Enums
6
+ /**
7
+ * This contains the enum for the audit log sub types for the administrator classes.
8
+ */
9
+ exports.AdministrationAuditLogSubTypeSchema = zod_1.z.enum([
10
+ 'administrator',
11
+ ]);
5
12
  /**
6
13
  * This contains the enum for the audit log actions.
7
14
  */
8
- var ApplicationAuditLogAction;
9
- (function (ApplicationAuditLogAction) {
10
- ApplicationAuditLogAction["create"] = "create";
11
- ApplicationAuditLogAction["update"] = "update";
12
- ApplicationAuditLogAction["delete"] = "delete";
13
- ApplicationAuditLogAction["read"] = "read";
14
- ApplicationAuditLogAction["list"] = "list";
15
- ApplicationAuditLogAction["file"] = "file";
16
- })(ApplicationAuditLogAction || (exports.ApplicationAuditLogAction = ApplicationAuditLogAction = {}));
15
+ exports.ApplicationAuditLogActionSchema = zod_1.z.enum([
16
+ 'create',
17
+ 'update',
18
+ 'delete',
19
+ 'read',
20
+ 'list',
21
+ 'file',
22
+ ]);
23
+ //#region ApplicationAuditLogSubType
17
24
  /**
18
25
  * This contains the model for the audit logs that are generated in the system.
19
26
  */
20
- var ApplicationAuditLogType;
21
- (function (ApplicationAuditLogType) {
22
- ApplicationAuditLogType["authorizedAuthority"] = "authorizedAuthority";
23
- ApplicationAuditLogType["global"] = "global";
24
- })(ApplicationAuditLogType || (exports.ApplicationAuditLogType = ApplicationAuditLogType = {}));
25
- //#region Multiple Path Audit Log Types
27
+ exports.ApplicationAuditLogTypeSchema = zod_1.z.enum([
28
+ 'authorizedAuthority', // the authorized authority audit log
29
+ 'global', // the global audit log for the application
30
+ ]);
26
31
  /**
27
32
  * This contains the enum for the audit log sub types for the multiple path classes.
28
33
  */
29
- var MultiplePathAuditLogSubType;
30
- (function (MultiplePathAuditLogSubType) {
31
- MultiplePathAuditLogSubType["multiplePathALAI"] = "multiplePathALAI";
32
- })(MultiplePathAuditLogSubType || (exports.MultiplePathAuditLogSubType = MultiplePathAuditLogSubType = {}));
33
- //#region Administration Audit Log Types
34
+ exports.MultiplePathAuditLogSubTypeSchema = zod_1.z.enum([
35
+ 'multiplePathALAI',
36
+ ]);
34
37
  /**
35
- * This contains the enum for the audit log sub types for the administrator classes.
38
+ * This contains the enum for the audit log sub types for the public data classes.
36
39
  */
37
- var AdministrationAuditLogSubType;
38
- (function (AdministrationAuditLogSubType) {
39
- AdministrationAuditLogSubType["administrator"] = "administrator";
40
- })(AdministrationAuditLogSubType || (exports.AdministrationAuditLogSubType = AdministrationAuditLogSubType = {}));
41
- // #endregion Administration Audit Log Types
42
- //#region User Audit Log Types
40
+ exports.PublicDataAuditLogSubTypeSchema = zod_1.z.enum([
41
+ 'userRelatedProfile',
42
+ ]);
43
43
  /**
44
44
  * This contains the enum for the audit log sub types for the user classes.
45
45
  */
46
- var UserAuditLogSubType;
47
- (function (UserAuditLogSubType) {
48
- UserAuditLogSubType["profile"] = "profile";
49
- })(UserAuditLogSubType || (exports.UserAuditLogSubType = UserAuditLogSubType = {}));
50
- //#endregion User Audit Log Types
51
- //#region Public Data audit log types
46
+ exports.UserAuditLogSubTypeSchema = zod_1.z.enum([
47
+ 'profile', // the details of the user profile
48
+ ]);
52
49
  /**
53
- * This contains the enum for the audit log sub types for the public data classes.
50
+ * This contains the enum for the audit log sub types.
51
+ */
52
+ exports.ApplicationAuditLogSubTypeSchema = zod_1.z.union([
53
+ exports.AdministrationAuditLogSubTypeSchema,
54
+ exports.MultiplePathAuditLogSubTypeSchema,
55
+ exports.PublicDataAuditLogSubTypeSchema,
56
+ exports.UserAuditLogSubTypeSchema,
57
+ ]);
58
+ //#endregion ApplicationAuditLogSubType
59
+ //#end region Enums
60
+ /**
61
+ * This contains interfaces for the audit logs that are generated in the system.
62
+ * This type of audit log is used to create and log application functions within a non structured database.
63
+ */
64
+ //#region Application Audit Log Models
65
+ /**
66
+ * This contains the additional audit log Ids in order of the access in the application
67
+ * for database this would be the reference path and reference Id
68
+ * for User Financial data this would be
69
+ * [
70
+ * { referencePath: 'Administrator', referenceId: '{{ administratorId }} ' }, // These are every path downstream from the root data
71
+ * { referencePath: 'Accounts', referenceId: '{{ accountId }}' },
72
+ * ]
73
+ *
74
+ * These are available in the helper files based on the Application Audit Log Sub Types.
75
+ */
76
+ exports.AdditionalApplicationAuditLogIdsSchema = zod_1.z.object({
77
+ referencePath: zod_1.z.string(), // the reference path (User, FinancialInstitution, etc.)
78
+ referenceId: zod_1.z.string(), // the reference Id (The Id of the item accessed)
79
+ });
80
+ /**
81
+ * Application Audit Log Unstructured Schema
82
+ */
83
+ exports.IApplicationAuditLogUnstructuredSchema = zod_1.z.object({
84
+ additionalAuditLogIds: zod_1.z.array(exports.AdditionalApplicationAuditLogIdsSchema), // additional audit log Ids
85
+ applicationAuditLogAction: exports.ApplicationAuditLogActionSchema, // the action of the audit log
86
+ applicationAuditLogType: exports.ApplicationAuditLogTypeSchema, // the type of audit log
87
+ applicationAuditLogSubType: exports.ApplicationAuditLogSubTypeSchema, // the sub type of audit log
88
+ createdAt: zod_1.z.number(), // the date that the audit log was created
89
+ createdBy: zod_1.z.string(), // the user Id of the user that created the audit log
90
+ currentData: zod_1.z.any().optional(), // the current data
91
+ previousData: zod_1.z.any().optional(), // the previous data
92
+ });
93
+ /**
94
+ * This contains the interface for the application audit log.
95
+ */
96
+ exports.IApplicationAuditLogSchema = exports.IApplicationAuditLogUnstructuredSchema;
97
+ //#region AuditLog Helpers
98
+ /**
99
+ * This contains the interface for keeping the query audit log and value.
54
100
  */
55
- var PublicDataAuditLogSubType;
56
- (function (PublicDataAuditLogSubType) {
57
- PublicDataAuditLogSubType["userRelatedProfile"] = "userRelatedProfile";
58
- })(PublicDataAuditLogSubType || (exports.PublicDataAuditLogSubType = PublicDataAuditLogSubType = {}));
59
- //#endregion Public Data audit log types
101
+ exports.QueryObjectAndValueForAuditLogSchema = zod_1.z.object({
102
+ queryObject: zod_1.z.string(),
103
+ queryValue: zod_1.z.union([zod_1.z.string(), zod_1.z.number(), zod_1.z.boolean()]),
104
+ });
105
+ //#endregion AuditLog Helpers
@@ -1,84 +1,400 @@
1
- import { CollectionReference, DocumentReference } from 'firebase-admin/firestore';
2
1
  import * as admin from 'firebase-admin';
3
- import { IAdditionalApplicationAuditLogIds, ApplicationAuditLogSubType, IApplicationAuditLog } from '../audit-log/application-audit-log-models';
2
+ import { z } from 'zod';
3
+ /**
4
+ * This contains the additional information audit logs.
5
+ */
6
+ export declare const IDatabaseAuditLogUpdatesSchema: z.ZodObject<{
7
+ alai: z.ZodArray<z.ZodObject<{
8
+ referencePath: z.ZodString;
9
+ referenceId: z.ZodString;
10
+ }, "strip", z.ZodTypeAny, {
11
+ referencePath: string;
12
+ referenceId: string;
13
+ }, {
14
+ referencePath: string;
15
+ referenceId: string;
16
+ }>, "many">;
17
+ auditLogSubType: z.ZodUnion<[z.ZodEnum<["administrator"]>, z.ZodEnum<["multiplePathALAI"]>, z.ZodEnum<["userRelatedProfile"]>, z.ZodEnum<["profile"]>]>;
18
+ }, "strip", z.ZodTypeAny, {
19
+ alai: {
20
+ referencePath: string;
21
+ referenceId: string;
22
+ }[];
23
+ auditLogSubType: "administrator" | "multiplePathALAI" | "userRelatedProfile" | "profile";
24
+ }, {
25
+ alai: {
26
+ referencePath: string;
27
+ referenceId: string;
28
+ }[];
29
+ auditLogSubType: "administrator" | "multiplePathALAI" | "userRelatedProfile" | "profile";
30
+ }>;
31
+ export type IDatabaseAuditLogUpdates = z.infer<typeof IDatabaseAuditLogUpdatesSchema>;
4
32
  /**
5
33
  * This contains the information that is needed to pass a change to the generic database functions.
6
34
  */
7
- export interface IDatabaseChangeInformation {
8
- alai: IAdditionalApplicationAuditLogIds[];
9
- auditLogSubType: ApplicationAuditLogSubType;
10
- item: unknown;
11
- itemDocRef: DocumentReference;
12
- }
35
+ export declare const IDatabaseChangeInformationSchema: z.ZodObject<{
36
+ alai: z.ZodArray<z.ZodObject<{
37
+ referencePath: z.ZodString;
38
+ referenceId: z.ZodString;
39
+ }, "strip", z.ZodTypeAny, {
40
+ referencePath: string;
41
+ referenceId: string;
42
+ }, {
43
+ referencePath: string;
44
+ referenceId: string;
45
+ }>, "many">;
46
+ auditLogSubType: z.ZodUnion<[z.ZodEnum<["administrator"]>, z.ZodEnum<["multiplePathALAI"]>, z.ZodEnum<["userRelatedProfile"]>, z.ZodEnum<["profile"]>]>;
47
+ item: z.ZodUnknown;
48
+ itemDocRef: z.ZodType<admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>, z.ZodTypeDef, admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>>;
49
+ }, "strip", z.ZodTypeAny, {
50
+ alai: {
51
+ referencePath: string;
52
+ referenceId: string;
53
+ }[];
54
+ auditLogSubType: "administrator" | "multiplePathALAI" | "userRelatedProfile" | "profile";
55
+ itemDocRef: admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>;
56
+ item?: unknown;
57
+ }, {
58
+ alai: {
59
+ referencePath: string;
60
+ referenceId: string;
61
+ }[];
62
+ auditLogSubType: "administrator" | "multiplePathALAI" | "userRelatedProfile" | "profile";
63
+ itemDocRef: admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>;
64
+ item?: unknown;
65
+ }>;
66
+ export type IDatabaseChangeInformation = z.infer<typeof IDatabaseChangeInformationSchema>;
13
67
  /**
14
68
  * This contains the information that is needed to pass a change to the generic database functions.
15
69
  * It allows for a property of an object to be retrieved and updated without needing the original
16
70
  * object when called.
17
71
  */
18
- export interface IDatabasePropertyChangeInformation {
19
- alai: IAdditionalApplicationAuditLogIds[];
20
- auditLogSubType: ApplicationAuditLogSubType;
21
- partialObjectUpdate: any;
22
- itemDocRef: DocumentReference;
23
- }
72
+ export declare const IDatabasePropertyChangeInformationSchema: z.ZodObject<{
73
+ alai: z.ZodArray<z.ZodObject<{
74
+ referencePath: z.ZodString;
75
+ referenceId: z.ZodString;
76
+ }, "strip", z.ZodTypeAny, {
77
+ referencePath: string;
78
+ referenceId: string;
79
+ }, {
80
+ referencePath: string;
81
+ referenceId: string;
82
+ }>, "many">;
83
+ auditLogSubType: z.ZodUnion<[z.ZodEnum<["administrator"]>, z.ZodEnum<["multiplePathALAI"]>, z.ZodEnum<["userRelatedProfile"]>, z.ZodEnum<["profile"]>]>;
84
+ partialObjectUpdate: z.ZodAny;
85
+ itemDocRef: z.ZodType<admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>, z.ZodTypeDef, admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>>;
86
+ }, "strip", z.ZodTypeAny, {
87
+ alai: {
88
+ referencePath: string;
89
+ referenceId: string;
90
+ }[];
91
+ auditLogSubType: "administrator" | "multiplePathALAI" | "userRelatedProfile" | "profile";
92
+ itemDocRef: admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>;
93
+ partialObjectUpdate?: any;
94
+ }, {
95
+ alai: {
96
+ referencePath: string;
97
+ referenceId: string;
98
+ }[];
99
+ auditLogSubType: "administrator" | "multiplePathALAI" | "userRelatedProfile" | "profile";
100
+ itemDocRef: admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>;
101
+ partialObjectUpdate?: any;
102
+ }>;
103
+ export type IDatabasePropertyChangeInformation = z.infer<typeof IDatabasePropertyChangeInformationSchema>;
24
104
  /**
25
- * This contains the information records and audit logs for database changes
105
+ * This contains the information for a record and its reference
26
106
  */
27
- export interface IDatabaseUpdates {
28
- recordsandRefs: IDatabaseRecordAndRef[];
29
- auditLogInfo: IApplicationAuditLog;
30
- }
107
+ export declare const IDatabaseRecordAndRefSchema: z.ZodObject<{
108
+ record: z.ZodUnknown;
109
+ recordDocRef: z.ZodType<admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>, z.ZodTypeDef, admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>>;
110
+ }, "strip", z.ZodTypeAny, {
111
+ recordDocRef: admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>;
112
+ record?: unknown;
113
+ }, {
114
+ recordDocRef: admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>;
115
+ record?: unknown;
116
+ }>;
117
+ export type IDatabaseRecordAndRef = z.infer<typeof IDatabaseRecordAndRefSchema>;
31
118
  /**
32
- * This contains the database record and document reference to update.
119
+ * This contains the information records and audit logs for database changes
33
120
  */
34
- export interface IDatabaseRecordAndRef {
35
- record: unknown;
36
- recordDocRef: DocumentReference;
37
- }
121
+ export declare const IDatabaseUpdatesSchema: z.ZodObject<{
122
+ recordsandRefs: z.ZodArray<z.ZodObject<{
123
+ record: z.ZodUnknown;
124
+ recordDocRef: z.ZodType<admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>, z.ZodTypeDef, admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>>;
125
+ }, "strip", z.ZodTypeAny, {
126
+ recordDocRef: admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>;
127
+ record?: unknown;
128
+ }, {
129
+ recordDocRef: admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>;
130
+ record?: unknown;
131
+ }>, "many">;
132
+ auditLogInfo: z.ZodObject<{
133
+ additionalAuditLogIds: z.ZodArray<z.ZodObject<{
134
+ referencePath: z.ZodString;
135
+ referenceId: z.ZodString;
136
+ }, "strip", z.ZodTypeAny, {
137
+ referencePath: string;
138
+ referenceId: string;
139
+ }, {
140
+ referencePath: string;
141
+ referenceId: string;
142
+ }>, "many">;
143
+ applicationAuditLogAction: z.ZodEnum<["create", "update", "delete", "read", "list", "file"]>;
144
+ applicationAuditLogType: z.ZodEnum<["authorizedAuthority", "global"]>;
145
+ applicationAuditLogSubType: z.ZodUnion<[z.ZodEnum<["administrator"]>, z.ZodEnum<["multiplePathALAI"]>, z.ZodEnum<["userRelatedProfile"]>, z.ZodEnum<["profile"]>]>;
146
+ createdAt: z.ZodNumber;
147
+ createdBy: z.ZodString;
148
+ currentData: z.ZodOptional<z.ZodAny>;
149
+ previousData: z.ZodOptional<z.ZodAny>;
150
+ }, "strip", z.ZodTypeAny, {
151
+ additionalAuditLogIds: {
152
+ referencePath: string;
153
+ referenceId: string;
154
+ }[];
155
+ applicationAuditLogAction: "create" | "update" | "delete" | "read" | "list" | "file";
156
+ applicationAuditLogType: "authorizedAuthority" | "global";
157
+ applicationAuditLogSubType: "administrator" | "multiplePathALAI" | "userRelatedProfile" | "profile";
158
+ createdAt: number;
159
+ createdBy: string;
160
+ currentData?: any;
161
+ previousData?: any;
162
+ }, {
163
+ additionalAuditLogIds: {
164
+ referencePath: string;
165
+ referenceId: string;
166
+ }[];
167
+ applicationAuditLogAction: "create" | "update" | "delete" | "read" | "list" | "file";
168
+ applicationAuditLogType: "authorizedAuthority" | "global";
169
+ applicationAuditLogSubType: "administrator" | "multiplePathALAI" | "userRelatedProfile" | "profile";
170
+ createdAt: number;
171
+ createdBy: string;
172
+ currentData?: any;
173
+ previousData?: any;
174
+ }>;
175
+ }, "strip", z.ZodTypeAny, {
176
+ recordsandRefs: {
177
+ recordDocRef: admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>;
178
+ record?: unknown;
179
+ }[];
180
+ auditLogInfo: {
181
+ additionalAuditLogIds: {
182
+ referencePath: string;
183
+ referenceId: string;
184
+ }[];
185
+ applicationAuditLogAction: "create" | "update" | "delete" | "read" | "list" | "file";
186
+ applicationAuditLogType: "authorizedAuthority" | "global";
187
+ applicationAuditLogSubType: "administrator" | "multiplePathALAI" | "userRelatedProfile" | "profile";
188
+ createdAt: number;
189
+ createdBy: string;
190
+ currentData?: any;
191
+ previousData?: any;
192
+ };
193
+ }, {
194
+ recordsandRefs: {
195
+ recordDocRef: admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>;
196
+ record?: unknown;
197
+ }[];
198
+ auditLogInfo: {
199
+ additionalAuditLogIds: {
200
+ referencePath: string;
201
+ referenceId: string;
202
+ }[];
203
+ applicationAuditLogAction: "create" | "update" | "delete" | "read" | "list" | "file";
204
+ applicationAuditLogType: "authorizedAuthority" | "global";
205
+ applicationAuditLogSubType: "administrator" | "multiplePathALAI" | "userRelatedProfile" | "profile";
206
+ createdAt: number;
207
+ createdBy: string;
208
+ currentData?: any;
209
+ previousData?: any;
210
+ };
211
+ }>;
212
+ export type IDatabaseUpdates = z.infer<typeof IDatabaseUpdatesSchema>;
213
+ export declare const OrderByDirectionSchema: z.ZodEnum<["desc", "asc"]>;
214
+ export type OrderByDirection = z.infer<typeof OrderByDirectionSchema>;
215
+ export declare const WhereFilterOpSchema: z.ZodEnum<["<", "<=", "==", "!=", ">=", ">", "array-contains", "in", "not-in", "array-contains-any"]>;
216
+ export type WhereFilterOp = z.infer<typeof WhereFilterOpSchema>;
38
217
  /**
39
218
  * This contains the information to get a single item from the database.
40
219
  */
41
- export interface IDatabaseGetItem extends IDatabaseAuditLogUpdates {
42
- itemDocRef: DocumentReference;
220
+ export declare const IDatabaseGetItemSchema: z.ZodObject<z.objectUtil.extendShape<{
221
+ alai: z.ZodArray<z.ZodObject<{
222
+ referencePath: z.ZodString;
223
+ referenceId: z.ZodString;
224
+ }, "strip", z.ZodTypeAny, {
225
+ referencePath: string;
226
+ referenceId: string;
227
+ }, {
228
+ referencePath: string;
229
+ referenceId: string;
230
+ }>, "many">;
231
+ auditLogSubType: z.ZodUnion<[z.ZodEnum<["administrator"]>, z.ZodEnum<["multiplePathALAI"]>, z.ZodEnum<["userRelatedProfile"]>, z.ZodEnum<["profile"]>]>;
232
+ }, {
233
+ itemDocRef: z.ZodType<admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>, z.ZodTypeDef, admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>>;
234
+ throwErrorOnNotFound: z.ZodBoolean;
235
+ }>, "strip", z.ZodTypeAny, {
236
+ alai: {
237
+ referencePath: string;
238
+ referenceId: string;
239
+ }[];
240
+ auditLogSubType: "administrator" | "multiplePathALAI" | "userRelatedProfile" | "profile";
241
+ itemDocRef: admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>;
43
242
  throwErrorOnNotFound: boolean;
44
- }
45
- /**
46
- * This contains the information that is needed to get multiple items from the database.
47
- */
48
- export interface IDatabaseGetInformation extends IDatabaseAuditLogUpdates {
49
- itemColRef: CollectionReference;
50
- lastId: string;
51
- orderBy?: IDatabaseOrderBy;
52
- queryFields: IDatabaseQueryFields[];
53
- isMaxSizeDocumentSet?: boolean;
54
- }
243
+ }, {
244
+ alai: {
245
+ referencePath: string;
246
+ referenceId: string;
247
+ }[];
248
+ auditLogSubType: "administrator" | "multiplePathALAI" | "userRelatedProfile" | "profile";
249
+ itemDocRef: admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>;
250
+ throwErrorOnNotFound: boolean;
251
+ }>;
252
+ export type IDatabaseGetItem = z.infer<typeof IDatabaseGetItemSchema>;
55
253
  /**
56
254
  * This contains the information that is needed to get information from the database.
57
255
  */
58
- export interface IDatabaseOrderBy {
256
+ export declare const IDatabaseOrderBySchema: z.ZodObject<{
257
+ fieldPath: z.ZodUnion<[z.ZodString, z.ZodType<admin.firestore.FieldPath, z.ZodTypeDef, admin.firestore.FieldPath>]>;
258
+ direction: z.ZodEnum<["desc", "asc"]>;
259
+ }, "strip", z.ZodTypeAny, {
260
+ fieldPath: string | admin.firestore.FieldPath;
261
+ direction: "desc" | "asc";
262
+ }, {
59
263
  fieldPath: string | admin.firestore.FieldPath;
60
- direction: admin.firestore.OrderByDirection;
61
- }
264
+ direction: "desc" | "asc";
265
+ }>;
266
+ export type IDatabaseOrderBy = z.infer<typeof IDatabaseOrderBySchema>;
62
267
  /**
63
268
  * This contains the query information for the database if it is required
64
269
  */
65
- export interface IDatabaseQueryFields {
270
+ export declare const IDatabaseQueryFieldsSchema: z.ZodObject<{
271
+ fieldPath: z.ZodUnion<[z.ZodString, z.ZodType<admin.firestore.FieldPath, z.ZodTypeDef, admin.firestore.FieldPath>]>;
272
+ opStr: z.ZodEnum<["<", "<=", "==", "!=", ">=", ">", "array-contains", "in", "not-in", "array-contains-any"]>;
273
+ value: z.ZodAny;
274
+ }, "strip", z.ZodTypeAny, {
66
275
  fieldPath: string | admin.firestore.FieldPath;
67
- opStr: admin.firestore.WhereFilterOp;
68
- value: any;
69
- }
276
+ opStr: "<" | "<=" | "==" | "!=" | ">=" | ">" | "array-contains" | "in" | "not-in" | "array-contains-any";
277
+ value?: any;
278
+ }, {
279
+ fieldPath: string | admin.firestore.FieldPath;
280
+ opStr: "<" | "<=" | "==" | "!=" | ">=" | ">" | "array-contains" | "in" | "not-in" | "array-contains-any";
281
+ value?: any;
282
+ }>;
283
+ export type IDatabaseQueryFields = z.infer<typeof IDatabaseQueryFieldsSchema>;
70
284
  /**
71
- * This contains the information to delete a single item from the database.
285
+ * This contains the information that is needed to get multiple items from the database.
72
286
  */
73
- export interface IDatabaseDeleteItem extends IDatabaseAuditLogUpdates {
74
- itemDocRef: DocumentReference;
75
- throwErrorOnNotFound: boolean;
76
- }
287
+ export declare const IDatabaseGetInformationSchema: z.ZodObject<z.objectUtil.extendShape<{
288
+ alai: z.ZodArray<z.ZodObject<{
289
+ referencePath: z.ZodString;
290
+ referenceId: z.ZodString;
291
+ }, "strip", z.ZodTypeAny, {
292
+ referencePath: string;
293
+ referenceId: string;
294
+ }, {
295
+ referencePath: string;
296
+ referenceId: string;
297
+ }>, "many">;
298
+ auditLogSubType: z.ZodUnion<[z.ZodEnum<["administrator"]>, z.ZodEnum<["multiplePathALAI"]>, z.ZodEnum<["userRelatedProfile"]>, z.ZodEnum<["profile"]>]>;
299
+ }, {
300
+ itemColRef: z.ZodType<admin.firestore.CollectionReference<admin.firestore.DocumentData, admin.firestore.DocumentData>, z.ZodTypeDef, admin.firestore.CollectionReference<admin.firestore.DocumentData, admin.firestore.DocumentData>>;
301
+ lastId: z.ZodString;
302
+ orderBy: z.ZodOptional<z.ZodObject<{
303
+ fieldPath: z.ZodUnion<[z.ZodString, z.ZodType<admin.firestore.FieldPath, z.ZodTypeDef, admin.firestore.FieldPath>]>;
304
+ direction: z.ZodEnum<["desc", "asc"]>;
305
+ }, "strip", z.ZodTypeAny, {
306
+ fieldPath: string | admin.firestore.FieldPath;
307
+ direction: "desc" | "asc";
308
+ }, {
309
+ fieldPath: string | admin.firestore.FieldPath;
310
+ direction: "desc" | "asc";
311
+ }>>;
312
+ queryFields: z.ZodArray<z.ZodObject<{
313
+ fieldPath: z.ZodUnion<[z.ZodString, z.ZodType<admin.firestore.FieldPath, z.ZodTypeDef, admin.firestore.FieldPath>]>;
314
+ opStr: z.ZodEnum<["<", "<=", "==", "!=", ">=", ">", "array-contains", "in", "not-in", "array-contains-any"]>;
315
+ value: z.ZodAny;
316
+ }, "strip", z.ZodTypeAny, {
317
+ fieldPath: string | admin.firestore.FieldPath;
318
+ opStr: "<" | "<=" | "==" | "!=" | ">=" | ">" | "array-contains" | "in" | "not-in" | "array-contains-any";
319
+ value?: any;
320
+ }, {
321
+ fieldPath: string | admin.firestore.FieldPath;
322
+ opStr: "<" | "<=" | "==" | "!=" | ">=" | ">" | "array-contains" | "in" | "not-in" | "array-contains-any";
323
+ value?: any;
324
+ }>, "many">;
325
+ isMaxSizeDocumentSet: z.ZodOptional<z.ZodBoolean>;
326
+ }>, "strip", z.ZodTypeAny, {
327
+ alai: {
328
+ referencePath: string;
329
+ referenceId: string;
330
+ }[];
331
+ auditLogSubType: "administrator" | "multiplePathALAI" | "userRelatedProfile" | "profile";
332
+ itemColRef: admin.firestore.CollectionReference<admin.firestore.DocumentData, admin.firestore.DocumentData>;
333
+ lastId: string;
334
+ queryFields: {
335
+ fieldPath: string | admin.firestore.FieldPath;
336
+ opStr: "<" | "<=" | "==" | "!=" | ">=" | ">" | "array-contains" | "in" | "not-in" | "array-contains-any";
337
+ value?: any;
338
+ }[];
339
+ orderBy?: {
340
+ fieldPath: string | admin.firestore.FieldPath;
341
+ direction: "desc" | "asc";
342
+ } | undefined;
343
+ isMaxSizeDocumentSet?: boolean | undefined;
344
+ }, {
345
+ alai: {
346
+ referencePath: string;
347
+ referenceId: string;
348
+ }[];
349
+ auditLogSubType: "administrator" | "multiplePathALAI" | "userRelatedProfile" | "profile";
350
+ itemColRef: admin.firestore.CollectionReference<admin.firestore.DocumentData, admin.firestore.DocumentData>;
351
+ lastId: string;
352
+ queryFields: {
353
+ fieldPath: string | admin.firestore.FieldPath;
354
+ opStr: "<" | "<=" | "==" | "!=" | ">=" | ">" | "array-contains" | "in" | "not-in" | "array-contains-any";
355
+ value?: any;
356
+ }[];
357
+ orderBy?: {
358
+ fieldPath: string | admin.firestore.FieldPath;
359
+ direction: "desc" | "asc";
360
+ } | undefined;
361
+ isMaxSizeDocumentSet?: boolean | undefined;
362
+ }>;
363
+ export type IDatabaseGetInformation = z.infer<typeof IDatabaseGetInformationSchema>;
77
364
  /**
78
- * This contains the additional information audit logs.
365
+ * This contains the information to delete a single item from the database.
79
366
  */
80
- export interface IDatabaseAuditLogUpdates {
81
- alai: IAdditionalApplicationAuditLogIds[];
82
- auditLogSubType: ApplicationAuditLogSubType;
83
- }
367
+ export declare const IDatabaseDeleteItemSchema: z.ZodObject<z.objectUtil.extendShape<{
368
+ alai: z.ZodArray<z.ZodObject<{
369
+ referencePath: z.ZodString;
370
+ referenceId: z.ZodString;
371
+ }, "strip", z.ZodTypeAny, {
372
+ referencePath: string;
373
+ referenceId: string;
374
+ }, {
375
+ referencePath: string;
376
+ referenceId: string;
377
+ }>, "many">;
378
+ auditLogSubType: z.ZodUnion<[z.ZodEnum<["administrator"]>, z.ZodEnum<["multiplePathALAI"]>, z.ZodEnum<["userRelatedProfile"]>, z.ZodEnum<["profile"]>]>;
379
+ }, {
380
+ itemDocRef: z.ZodType<admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>, z.ZodTypeDef, admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>>;
381
+ throwErrorOnNotFound: z.ZodBoolean;
382
+ }>, "strip", z.ZodTypeAny, {
383
+ alai: {
384
+ referencePath: string;
385
+ referenceId: string;
386
+ }[];
387
+ auditLogSubType: "administrator" | "multiplePathALAI" | "userRelatedProfile" | "profile";
388
+ itemDocRef: admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>;
389
+ throwErrorOnNotFound: boolean;
390
+ }, {
391
+ alai: {
392
+ referencePath: string;
393
+ referenceId: string;
394
+ }[];
395
+ auditLogSubType: "administrator" | "multiplePathALAI" | "userRelatedProfile" | "profile";
396
+ itemDocRef: admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>;
397
+ throwErrorOnNotFound: boolean;
398
+ }>;
399
+ export type IDatabaseDeleteItem = z.infer<typeof IDatabaseDeleteItemSchema>;
84
400
  //# sourceMappingURL=firestore-models.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"firestore-models.d.ts","sourceRoot":"","sources":["../../../../src/models/application/database/firestore-models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClF,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAC;AACxC,OAAO,EACH,iCAAiC,EACjC,0BAA0B,EAC1B,oBAAoB,EACvB,MAAM,2CAA2C,CAAC;AAMnD;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC,IAAI,EAAE,iCAAiC,EAAE,CAAC;IAC1C,eAAe,EAAE,0BAA0B,CAAC;IAC5C,IAAI,EAAE,OAAO,CAAC;IACd,UAAU,EAAE,iBAAiB,CAAC;CACjC;AAED;;;;GAIG;AACH,MAAM,WAAW,kCAAkC;IAC/C,IAAI,EAAE,iCAAiC,EAAE,CAAC;IAC1C,eAAe,EAAE,0BAA0B,CAAC;IAE5C,mBAAmB,EAAE,GAAG,CAAC;IACzB,UAAU,EAAE,iBAAiB,CAAC;CACjC;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,cAAc,EAAE,qBAAqB,EAAE,CAAC;IACxC,YAAY,EAAE,oBAAoB,CAAC;CACtC;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,EAAE,iBAAiB,CAAC;CACnC;AAMD;;GAEG;AACH,MAAM,WAAW,gBAAiB,SAAQ,wBAAwB;IAC9D,UAAU,EAAE,iBAAiB,CAAC;IAC9B,oBAAoB,EAAE,OAAO,CAAC;CACjC;AAED;;GAEG;AACH,MAAM,WAAW,uBAAwB,SAAQ,wBAAwB;IACrE,UAAU,EAAE,mBAAmB,CAAC;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,WAAW,EAAE,oBAAoB,EAAE,CAAC;IACpC,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAClC;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,SAAS,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC,SAAS,CAAC;IAC9C,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC;CAC/C;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC,SAAS,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC,SAAS,CAAC;IAC9C,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,aAAa,CAAC;IAErC,KAAK,EAAE,GAAG,CAAC;CACd;AAMD;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,wBAAwB;IACjE,UAAU,EAAE,iBAAiB,CAAC;IAC9B,oBAAoB,EAAE,OAAO,CAAC;CACjC;AAMD;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC,IAAI,EAAE,iCAAiC,EAAE,CAAC;IAC1C,eAAe,EAAE,0BAA0B,CAAC;CAC/C"}
1
+ {"version":3,"file":"firestore-models.d.ts","sourceRoot":"","sources":["../../../../src/models/application/database/firestore-models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB;;GAEG;AAEH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;EAGzC,CAAC;AAEH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAMtF;;GAEG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK3C,CAAC;AAEH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAE1F;;;;GAIG;AACH,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