@degenerate/generic 0.2.7 → 0.3.2

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 (162) hide show
  1. package/dist/application/audit-log/additional-ids/create-audit-log-additional-ids-with-query.d.ts.map +1 -1
  2. package/dist/application/audit-log/additional-ids/create-multiple-path-alai.d.ts.map +1 -1
  3. package/dist/application/audit-log/additional-ids/create-query-audit-log-for-alai.d.ts.map +1 -1
  4. package/dist/application/audit-log/create-application-audit-log.d.ts.map +1 -1
  5. package/dist/application/audit-log/create-application-audit-log.js +1 -1
  6. package/dist/application/database/firestore/generics/add-items-to-database.d.ts.map +1 -1
  7. package/dist/application/database/firestore/generics/add-items-to-database.js +2 -2
  8. package/dist/application/database/firestore/generics/add-or-update-items-to-database.d.ts.map +1 -1
  9. package/dist/application/database/firestore/generics/add-or-update-items-to-database.js +3 -3
  10. package/dist/application/database/firestore/generics/create-database-change-information.d.ts.map +1 -1
  11. package/dist/application/database/firestore/generics/delete-items-on-database.d.ts.map +1 -1
  12. package/dist/application/database/firestore/generics/delete-items-on-database.js +2 -2
  13. package/dist/application/database/firestore/generics/get-item-from-database.d.ts.map +1 -1
  14. package/dist/application/database/firestore/generics/get-item-from-database.js +2 -2
  15. package/dist/application/database/firestore/generics/get-items-different-path-on-database.d.ts.map +1 -1
  16. package/dist/application/database/firestore/generics/get-items-different-path-on-database.js +2 -2
  17. package/dist/application/database/firestore/generics/get-items-from-database.d.ts.map +1 -1
  18. package/dist/application/database/firestore/generics/get-items-from-database.js +1 -1
  19. package/dist/application/database/firestore/generics/update-items-on-database.d.ts.map +1 -1
  20. package/dist/application/database/firestore/generics/update-items-on-database.js +2 -2
  21. package/dist/application/database/firestore/generics/update-items-properties-on-database.d.ts.map +1 -1
  22. package/dist/application/database/firestore/generics/update-items-properties-on-database.js +2 -2
  23. package/dist/authorization/index.d.ts +1 -0
  24. package/dist/authorization/index.d.ts.map +1 -1
  25. package/dist/authorization/index.js +1 -0
  26. package/dist/authorization/jwt/keys/create-public-key-pem.d.ts.map +1 -1
  27. package/dist/authorization/jwt/keys/create-secret-key-pem.d.ts.map +1 -1
  28. package/dist/authorization/jwt/sign/create-authorization-issuer.d.ts.map +1 -1
  29. package/dist/authorization/jwt/sign/create-authorization-subject.d.ts.map +1 -1
  30. package/dist/authorization/jwt/sign/create-jwt-options.d.ts +7 -1
  31. package/dist/authorization/jwt/sign/create-jwt-options.d.ts.map +1 -1
  32. package/dist/authorization/jwt/sign/create-jwt-signed-token.d.ts.map +1 -1
  33. package/dist/authorization/jwt/transform/transform-token-payload-to-safe-payload.d.ts.map +1 -1
  34. package/dist/authorization/jwt/verify/get-decoded-jwt-header.d.ts.map +1 -1
  35. package/dist/authorization/jwt/verify/get-decoded-jwt-signed-token-payload.d.ts.map +1 -1
  36. package/dist/authorization/jwt/verify/verify-jwt-signed-token.d.ts.map +1 -1
  37. package/dist/authorization/safe/request/decode-bearer-token.d.ts.map +1 -1
  38. package/dist/authorization/safe/request/decode-safe-request.d.ts.map +1 -1
  39. package/dist/authorization/safe/request/determine-issuer-from-request.d.ts.map +1 -1
  40. package/dist/authorization/safe/request/issuer/determine-issuer-from-bearer-token.d.ts.map +1 -1
  41. package/dist/authorization/safe/request/verify-jwt-bearer-token-for-audience.d.ts +31 -0
  42. package/dist/authorization/safe/request/verify-jwt-bearer-token-for-audience.d.ts.map +1 -0
  43. package/dist/authorization/safe/request/verify-jwt-bearer-token-for-audience.js +50 -0
  44. package/dist/authorization/safe/validation/jwt/payload/verify-authorization-audience.d.ts.map +1 -1
  45. package/dist/authorization/safe/validation/jwt/payload/verify-authorization-expiration-time.d.ts.map +1 -1
  46. package/dist/authorization/safe/validation/jwt/payload/verify-authorization-issued-at-time.d.ts.map +1 -1
  47. package/dist/authorization/safe/validation/jwt/payload/verify-authorization-issuer.d.ts.map +1 -1
  48. package/dist/authorization/safe/validation/jwt/payload/verify-authorization-not-before-time.d.ts.map +1 -1
  49. package/dist/authorization/safe/validation/jwt/payload/verify-authorization-subject.d.ts.map +1 -1
  50. package/dist/authorization/safe/validation/jwt/verify-token-header.d.ts.map +1 -1
  51. package/dist/authorization/safe/validation/jwt/verify-token-payload.d.ts.map +1 -1
  52. package/dist/crypto/calculate-combined-hash.d.ts.map +1 -1
  53. package/dist/crypto/calculate-hash.d.ts +1 -1
  54. package/dist/crypto/calculate-hash.d.ts.map +1 -1
  55. package/dist/crypto/calculate-hash.js +1 -1
  56. package/dist/crypto/index.d.ts +1 -0
  57. package/dist/crypto/index.d.ts.map +1 -1
  58. package/dist/crypto/index.js +1 -0
  59. package/dist/crypto/private-public-keys/create-key-pair-from-mnemonic.d.ts.map +1 -1
  60. package/dist/crypto/private-public-keys/create-key-pair-from-private-key.d.ts.map +1 -1
  61. package/dist/crypto/private-public-keys/create-key-pair-from-private-key.js +1 -1
  62. package/dist/crypto/private-public-keys/create-key-pair-from-public-key.d.ts +11 -0
  63. package/dist/crypto/private-public-keys/create-key-pair-from-public-key.d.ts.map +1 -0
  64. package/dist/crypto/private-public-keys/create-key-pair-from-public-key.js +51 -0
  65. package/dist/crypto/private-public-keys/generation/create-entropy-for-elliptical-curve.d.ts.map +1 -1
  66. package/dist/crypto/private-public-keys/generation/generate-key-pair.d.ts.map +1 -1
  67. package/dist/crypto/private-public-keys/generation/get-private-public-key-from-keypair.d.ts.map +1 -1
  68. package/dist/crypto/signature/create-crypto-signature.d.ts +11 -0
  69. package/dist/crypto/signature/create-crypto-signature.d.ts.map +1 -1
  70. package/dist/crypto/signature/create-crypto-signature.js +14 -1
  71. package/dist/crypto/signature/verify-crypto-signature-by-data.d.ts +4 -0
  72. package/dist/crypto/signature/verify-crypto-signature-by-data.d.ts.map +1 -1
  73. package/dist/crypto/signature/verify-crypto-signature-by-data.js +8 -2
  74. package/dist/crypto/signature/verify-crypto-signature-by-hash.d.ts +4 -0
  75. package/dist/crypto/signature/verify-crypto-signature-by-hash.d.ts.map +1 -1
  76. package/dist/crypto/signature/verify-crypto-signature-by-hash.js +7 -1
  77. package/dist/errors/index.d.ts +2 -0
  78. package/dist/errors/index.d.ts.map +1 -1
  79. package/dist/errors/index.js +2 -0
  80. package/dist/errors/share-data/share-data-errors.d.ts +92 -1
  81. package/dist/errors/share-data/share-data-errors.d.ts.map +1 -1
  82. package/dist/errors/share-data/share-data-errors.js +130 -1
  83. package/dist/errors/shareblock/shareblock-errors.d.ts +40 -0
  84. package/dist/errors/shareblock/shareblock-errors.d.ts.map +1 -0
  85. package/dist/errors/shareblock/shareblock-errors.js +50 -0
  86. package/dist/errors/validation/crypto-validation-errors.d.ts +8 -0
  87. package/dist/errors/validation/crypto-validation-errors.d.ts.map +1 -0
  88. package/dist/errors/validation/crypto-validation-errors.js +15 -0
  89. package/dist/helpers/array/array-helpers.d.ts.map +1 -1
  90. package/dist/helpers/crypto/cryptography-helpers.d.ts.map +1 -1
  91. package/dist/helpers/data/data-helpers.d.ts.map +1 -1
  92. package/dist/helpers/file/file-helpers.d.ts.map +1 -1
  93. package/dist/helpers/id-helpers.d.ts.map +1 -1
  94. package/dist/helpers/lodash/lodash-helpers.d.ts.map +1 -1
  95. package/dist/helpers/object-helpers.d.ts.map +1 -1
  96. package/dist/helpers/object-validation-helpers.d.ts.map +1 -1
  97. package/dist/helpers/request/params-object-helpers.d.ts +6 -13
  98. package/dist/helpers/request/params-object-helpers.d.ts.map +1 -1
  99. package/dist/helpers/request/params-object-helpers.js +11 -21
  100. package/dist/helpers/request/query-object-helpers.d.ts.map +1 -1
  101. package/dist/helpers/request/request-object-helpers.d.ts.map +1 -1
  102. package/dist/models/application/audit-log/application-audit-log-models.d.ts +82 -92
  103. package/dist/models/application/audit-log/application-audit-log-models.d.ts.map +1 -1
  104. package/dist/models/application/database/firestore-models.d.ts +158 -307
  105. package/dist/models/application/database/firestore-models.d.ts.map +1 -1
  106. package/dist/models/authorization/authorization-models.d.ts +34 -44
  107. package/dist/models/authorization/authorization-models.d.ts.map +1 -1
  108. package/dist/models/authorization/authorization-models.js +2 -2
  109. package/dist/models/crypto/crypto-models.d.ts +1 -7
  110. package/dist/models/crypto/crypto-models.d.ts.map +1 -1
  111. package/dist/models/data/data-models.d.ts +27 -13
  112. package/dist/models/data/data-models.d.ts.map +1 -1
  113. package/dist/models/data/data-models.js +23 -2
  114. package/dist/models/dynamic-execution/dynamic-execution-models.d.ts +1 -9
  115. package/dist/models/dynamic-execution/dynamic-execution-models.d.ts.map +1 -1
  116. package/dist/models/events/share-event-models.d.ts +91 -120
  117. package/dist/models/events/share-event-models.d.ts.map +1 -1
  118. package/dist/models/events/share-event-models.js +35 -4
  119. package/dist/models/functions/share-data-function-models.d.ts +23 -193
  120. package/dist/models/functions/share-data-function-models.d.ts.map +1 -1
  121. package/dist/models/functions/share-data-function-models.js +1 -1
  122. package/dist/models/generic/request-response-models.d.ts +1 -7
  123. package/dist/models/generic/request-response-models.d.ts.map +1 -1
  124. package/dist/models/index.d.ts +4 -1
  125. package/dist/models/index.d.ts.map +1 -1
  126. package/dist/models/index.js +4 -1
  127. package/dist/models/rules/share-rule-models.d.ts +759 -1116
  128. package/dist/models/rules/share-rule-models.d.ts.map +1 -1
  129. package/dist/models/rules/share-rule-models.js +6 -6
  130. package/dist/models/safe/safe-transaction-models.d.ts +28 -30
  131. package/dist/models/safe/safe-transaction-models.d.ts.map +1 -1
  132. package/dist/models/safe/transactions/authorities-transactions-models.d.ts +77 -419
  133. package/dist/models/safe/transactions/authorities-transactions-models.d.ts.map +1 -1
  134. package/dist/models/safe/transactions/authorities-transactions-models.js +3 -3
  135. package/dist/models/safe/transactions/events-transactions-models.d.ts +22 -372
  136. package/dist/models/safe/transactions/events-transactions-models.d.ts.map +1 -1
  137. package/dist/models/safe/transactions/events-transactions-models.js +1 -1
  138. package/dist/models/safe/transactions/functions-transactions-models.d.ts +22 -372
  139. package/dist/models/safe/transactions/functions-transactions-models.d.ts.map +1 -1
  140. package/dist/models/safe/transactions/functions-transactions-models.js +1 -1
  141. package/dist/models/safe/transactions/rules-transactions-models.d.ts +59 -603
  142. package/dist/models/safe/transactions/rules-transactions-models.d.ts.map +1 -1
  143. package/dist/models/safe/transactions/sharedata-transactions-models.d.ts +251 -388
  144. package/dist/models/safe/transactions/sharedata-transactions-models.d.ts.map +1 -1
  145. package/dist/models/safe/transactions/sharedata-transactions-models.js +30 -4
  146. package/dist/models/share-data/share-data-crypto-models.d.ts +307 -0
  147. package/dist/models/share-data/share-data-crypto-models.d.ts.map +1 -0
  148. package/dist/models/share-data/share-data-crypto-models.js +91 -0
  149. package/dist/models/share-data/share-data-models.d.ts +114 -0
  150. package/dist/models/share-data/share-data-models.d.ts.map +1 -0
  151. package/dist/models/share-data/{share-data.js → share-data-models.js} +1 -1
  152. package/dist/models/share-data/share-data-persistence-models.d.ts +158 -0
  153. package/dist/models/share-data/share-data-persistence-models.d.ts.map +1 -0
  154. package/dist/models/share-data/share-data-persistence-models.js +94 -0
  155. package/dist/models/shareblock/shareblock-models.d.ts +280 -0
  156. package/dist/models/shareblock/shareblock-models.d.ts.map +1 -0
  157. package/dist/models/shareblock/shareblock-models.js +222 -0
  158. package/dist/transactions/authority/create-safe-transaction-authority-data.d.ts.map +1 -1
  159. package/dist/transactions/authority/create-safe-transaction-authority.d.ts.map +1 -1
  160. package/package.json +30 -22
  161. package/dist/models/share-data/share-data.d.ts +0 -181
  162. package/dist/models/share-data/share-data.d.ts.map +0 -1
@@ -7,27 +7,17 @@ export declare const IDatabaseAuditLogUpdatesSchema: z.ZodObject<{
7
7
  alai: z.ZodArray<z.ZodObject<{
8
8
  referencePath: z.ZodString;
9
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
- }>;
10
+ }, z.core.$strip>>;
11
+ auditLogSubType: z.ZodUnion<readonly [z.ZodEnum<{
12
+ administrator: "administrator";
13
+ }>, z.ZodEnum<{
14
+ multiplePathALAI: "multiplePathALAI";
15
+ }>, z.ZodEnum<{
16
+ userRelatedProfile: "userRelatedProfile";
17
+ }>, z.ZodEnum<{
18
+ profile: "profile";
19
+ }>]>;
20
+ }, z.core.$strip>;
31
21
  export type IDatabaseAuditLogUpdates = z.infer<typeof IDatabaseAuditLogUpdatesSchema>;
32
22
  /**
33
23
  * This contains the information that is needed to pass a change to the generic database functions.
@@ -36,33 +26,19 @@ export declare const IDatabaseChangeInformationSchema: z.ZodObject<{
36
26
  alai: z.ZodArray<z.ZodObject<{
37
27
  referencePath: z.ZodString;
38
28
  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"]>]>;
29
+ }, z.core.$strip>>;
30
+ auditLogSubType: z.ZodUnion<readonly [z.ZodEnum<{
31
+ administrator: "administrator";
32
+ }>, z.ZodEnum<{
33
+ multiplePathALAI: "multiplePathALAI";
34
+ }>, z.ZodEnum<{
35
+ userRelatedProfile: "userRelatedProfile";
36
+ }>, z.ZodEnum<{
37
+ profile: "profile";
38
+ }>]>;
47
39
  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
- }>;
40
+ itemDocRef: z.ZodCustom<admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>, admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>>;
41
+ }, z.core.$strip>;
66
42
  export type IDatabaseChangeInformation = z.infer<typeof IDatabaseChangeInformationSchema>;
67
43
  /**
68
44
  * This contains the information that is needed to pass a change to the generic database functions.
@@ -73,47 +49,27 @@ export declare const IDatabasePropertyChangeInformationSchema: z.ZodObject<{
73
49
  alai: z.ZodArray<z.ZodObject<{
74
50
  referencePath: z.ZodString;
75
51
  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"]>]>;
52
+ }, z.core.$strip>>;
53
+ auditLogSubType: z.ZodUnion<readonly [z.ZodEnum<{
54
+ administrator: "administrator";
55
+ }>, z.ZodEnum<{
56
+ multiplePathALAI: "multiplePathALAI";
57
+ }>, z.ZodEnum<{
58
+ userRelatedProfile: "userRelatedProfile";
59
+ }>, z.ZodEnum<{
60
+ profile: "profile";
61
+ }>]>;
84
62
  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
- }>;
63
+ itemDocRef: z.ZodCustom<admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>, admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>>;
64
+ }, z.core.$strip>;
103
65
  export type IDatabasePropertyChangeInformation = z.infer<typeof IDatabasePropertyChangeInformationSchema>;
104
66
  /**
105
67
  * This contains the information for a record and its reference
106
68
  */
107
69
  export declare const IDatabaseRecordAndRefSchema: z.ZodObject<{
108
70
  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
- }>;
71
+ recordDocRef: z.ZodCustom<admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>, admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>>;
72
+ }, z.core.$strip>;
117
73
  export type IDatabaseRecordAndRef = z.infer<typeof IDatabaseRecordAndRefSchema>;
118
74
  /**
119
75
  * This contains the information records and audit logs for database changes
@@ -121,280 +77,175 @@ export type IDatabaseRecordAndRef = z.infer<typeof IDatabaseRecordAndRefSchema>;
121
77
  export declare const IDatabaseUpdatesSchema: z.ZodObject<{
122
78
  recordsandRefs: z.ZodArray<z.ZodObject<{
123
79
  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">;
80
+ recordDocRef: z.ZodCustom<admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>, admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>>;
81
+ }, z.core.$strip>>;
132
82
  auditLogInfo: z.ZodObject<{
133
83
  additionalAuditLogIds: z.ZodArray<z.ZodObject<{
134
84
  referencePath: z.ZodString;
135
85
  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"]>]>;
86
+ }, z.core.$strip>>;
87
+ applicationAuditLogAction: z.ZodEnum<{
88
+ file: "file";
89
+ create: "create";
90
+ update: "update";
91
+ delete: "delete";
92
+ read: "read";
93
+ list: "list";
94
+ }>;
95
+ applicationAuditLogType: z.ZodEnum<{
96
+ authorizedAuthority: "authorizedAuthority";
97
+ global: "global";
98
+ }>;
99
+ applicationAuditLogSubType: z.ZodUnion<readonly [z.ZodEnum<{
100
+ administrator: "administrator";
101
+ }>, z.ZodEnum<{
102
+ multiplePathALAI: "multiplePathALAI";
103
+ }>, z.ZodEnum<{
104
+ userRelatedProfile: "userRelatedProfile";
105
+ }>, z.ZodEnum<{
106
+ profile: "profile";
107
+ }>]>;
146
108
  createdAt: z.ZodNumber;
147
109
  createdBy: z.ZodString;
148
110
  currentData: z.ZodOptional<z.ZodAny>;
149
111
  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
- }>;
112
+ }, z.core.$strip>;
113
+ }, z.core.$strip>;
212
114
  export type IDatabaseUpdates = z.infer<typeof IDatabaseUpdatesSchema>;
213
- export declare const OrderByDirectionSchema: z.ZodEnum<["desc", "asc"]>;
115
+ export declare const OrderByDirectionSchema: z.ZodEnum<{
116
+ desc: "desc";
117
+ asc: "asc";
118
+ }>;
214
119
  export type OrderByDirection = z.infer<typeof OrderByDirectionSchema>;
215
- export declare const WhereFilterOpSchema: z.ZodEnum<["<", "<=", "==", "!=", ">=", ">", "array-contains", "in", "not-in", "array-contains-any"]>;
120
+ export declare const WhereFilterOpSchema: z.ZodEnum<{
121
+ "<": "<";
122
+ "<=": "<=";
123
+ "==": "==";
124
+ "!=": "!=";
125
+ ">=": ">=";
126
+ ">": ">";
127
+ "array-contains": "array-contains";
128
+ in: "in";
129
+ "not-in": "not-in";
130
+ "array-contains-any": "array-contains-any";
131
+ }>;
216
132
  export type WhereFilterOp = z.infer<typeof WhereFilterOpSchema>;
217
133
  /**
218
134
  * This contains the information to get a single item from the database.
219
135
  */
220
- export declare const IDatabaseGetItemSchema: z.ZodObject<z.objectUtil.extendShape<{
136
+ export declare const IDatabaseGetItemSchema: z.ZodObject<{
221
137
  alai: z.ZodArray<z.ZodObject<{
222
138
  referencePath: z.ZodString;
223
139
  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>>;
140
+ }, z.core.$strip>>;
141
+ auditLogSubType: z.ZodUnion<readonly [z.ZodEnum<{
142
+ administrator: "administrator";
143
+ }>, z.ZodEnum<{
144
+ multiplePathALAI: "multiplePathALAI";
145
+ }>, z.ZodEnum<{
146
+ userRelatedProfile: "userRelatedProfile";
147
+ }>, z.ZodEnum<{
148
+ profile: "profile";
149
+ }>]>;
150
+ itemDocRef: z.ZodCustom<admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>, admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>>;
234
151
  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>;
242
- throwErrorOnNotFound: boolean;
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
- }>;
152
+ }, z.core.$strip>;
252
153
  export type IDatabaseGetItem = z.infer<typeof IDatabaseGetItemSchema>;
253
154
  /**
254
155
  * This contains the information that is needed to get information from the database.
255
156
  */
256
157
  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
- }, {
263
- fieldPath: string | admin.firestore.FieldPath;
264
- direction: "desc" | "asc";
265
- }>;
158
+ fieldPath: z.ZodUnion<readonly [z.ZodString, z.ZodCustom<admin.firestore.FieldPath, admin.firestore.FieldPath>]>;
159
+ direction: z.ZodEnum<{
160
+ desc: "desc";
161
+ asc: "asc";
162
+ }>;
163
+ }, z.core.$strip>;
266
164
  export type IDatabaseOrderBy = z.infer<typeof IDatabaseOrderBySchema>;
267
165
  /**
268
166
  * This contains the query information for the database if it is required
269
167
  */
270
168
  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"]>;
169
+ fieldPath: z.ZodUnion<readonly [z.ZodString, z.ZodCustom<admin.firestore.FieldPath, admin.firestore.FieldPath>]>;
170
+ opStr: z.ZodEnum<{
171
+ "<": "<";
172
+ "<=": "<=";
173
+ "==": "==";
174
+ "!=": "!=";
175
+ ">=": ">=";
176
+ ">": ">";
177
+ "array-contains": "array-contains";
178
+ in: "in";
179
+ "not-in": "not-in";
180
+ "array-contains-any": "array-contains-any";
181
+ }>;
273
182
  value: z.ZodAny;
274
- }, "strip", z.ZodTypeAny, {
275
- fieldPath: string | admin.firestore.FieldPath;
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
- }>;
183
+ }, z.core.$strip>;
283
184
  export type IDatabaseQueryFields = z.infer<typeof IDatabaseQueryFieldsSchema>;
284
185
  /**
285
186
  * This contains the information that is needed to get multiple items from the database.
286
187
  */
287
- export declare const IDatabaseGetInformationSchema: z.ZodObject<z.objectUtil.extendShape<{
188
+ export declare const IDatabaseGetInformationSchema: z.ZodObject<{
288
189
  alai: z.ZodArray<z.ZodObject<{
289
190
  referencePath: z.ZodString;
290
191
  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>>;
192
+ }, z.core.$strip>>;
193
+ auditLogSubType: z.ZodUnion<readonly [z.ZodEnum<{
194
+ administrator: "administrator";
195
+ }>, z.ZodEnum<{
196
+ multiplePathALAI: "multiplePathALAI";
197
+ }>, z.ZodEnum<{
198
+ userRelatedProfile: "userRelatedProfile";
199
+ }>, z.ZodEnum<{
200
+ profile: "profile";
201
+ }>]>;
202
+ itemColRef: z.ZodCustom<admin.firestore.CollectionReference<admin.firestore.DocumentData, admin.firestore.DocumentData>, admin.firestore.CollectionReference<admin.firestore.DocumentData, admin.firestore.DocumentData>>;
301
203
  lastId: z.ZodString;
302
204
  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
- }>>;
205
+ fieldPath: z.ZodUnion<readonly [z.ZodString, z.ZodCustom<admin.firestore.FieldPath, admin.firestore.FieldPath>]>;
206
+ direction: z.ZodEnum<{
207
+ desc: "desc";
208
+ asc: "asc";
209
+ }>;
210
+ }, z.core.$strip>>;
312
211
  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"]>;
212
+ fieldPath: z.ZodUnion<readonly [z.ZodString, z.ZodCustom<admin.firestore.FieldPath, admin.firestore.FieldPath>]>;
213
+ opStr: z.ZodEnum<{
214
+ "<": "<";
215
+ "<=": "<=";
216
+ "==": "==";
217
+ "!=": "!=";
218
+ ">=": ">=";
219
+ ">": ">";
220
+ "array-contains": "array-contains";
221
+ in: "in";
222
+ "not-in": "not-in";
223
+ "array-contains-any": "array-contains-any";
224
+ }>;
315
225
  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">;
226
+ }, z.core.$strip>>;
325
227
  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
- }>;
228
+ }, z.core.$strip>;
363
229
  export type IDatabaseGetInformation = z.infer<typeof IDatabaseGetInformationSchema>;
364
230
  /**
365
231
  * This contains the information to delete a single item from the database.
366
232
  */
367
- export declare const IDatabaseDeleteItemSchema: z.ZodObject<z.objectUtil.extendShape<{
233
+ export declare const IDatabaseDeleteItemSchema: z.ZodObject<{
368
234
  alai: z.ZodArray<z.ZodObject<{
369
235
  referencePath: z.ZodString;
370
236
  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>>;
237
+ }, z.core.$strip>>;
238
+ auditLogSubType: z.ZodUnion<readonly [z.ZodEnum<{
239
+ administrator: "administrator";
240
+ }>, z.ZodEnum<{
241
+ multiplePathALAI: "multiplePathALAI";
242
+ }>, z.ZodEnum<{
243
+ userRelatedProfile: "userRelatedProfile";
244
+ }>, z.ZodEnum<{
245
+ profile: "profile";
246
+ }>]>;
247
+ itemDocRef: z.ZodCustom<admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>, admin.firestore.DocumentReference<admin.firestore.DocumentData, admin.firestore.DocumentData>>;
381
248
  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
- }>;
249
+ }, z.core.$strip>;
399
250
  export type IDatabaseDeleteItem = z.infer<typeof IDatabaseDeleteItemSchema>;
400
251
  //# 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,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,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKnD,CAAC;AAEH,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wCAAwC,CAAC,CAAC;AAE1G;;GAEG;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;EAGtC,CAAC;AAEH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;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