@lssm/module.audit-trail 0.0.0-canary-20251217083314 → 1.41.0

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 (132) hide show
  1. package/dist/audit-trail.feature.js +1 -57
  2. package/dist/contracts/index.js +1 -373
  3. package/dist/entities/index.js +1 -126
  4. package/dist/index.js +1 -6
  5. package/dist/storage/index.js +1 -105
  6. package/package.json +11 -12
  7. package/dist/audit-trail.feature.d.ts +0 -11
  8. package/dist/contracts/index.d.ts +0 -582
  9. package/dist/entities/index.d.ts +0 -90
  10. package/dist/index.d.ts +0 -6
  11. package/dist/libs/contracts/dist/capabilities/openbanking.js +0 -88
  12. package/dist/libs/contracts/dist/client/index.js +0 -5
  13. package/dist/libs/contracts/dist/client/react/feature-render.js +0 -2
  14. package/dist/libs/contracts/dist/client/react/form-render.js +0 -4
  15. package/dist/libs/contracts/dist/client/react/index.js +0 -4
  16. package/dist/libs/contracts/dist/contract-registry/index.js +0 -1
  17. package/dist/libs/contracts/dist/contract-registry/schemas.js +0 -60
  18. package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -16
  19. package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -16
  20. package/dist/libs/contracts/dist/docs/index.js +0 -29
  21. package/dist/libs/contracts/dist/docs/presentations.js +0 -71
  22. package/dist/libs/contracts/dist/docs/registry.js +0 -44
  23. package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -16
  24. package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -16
  25. package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -16
  26. package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -16
  27. package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -16
  28. package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -80
  29. package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +0 -57
  30. package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -16
  31. package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +0 -357
  32. package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +0 -37
  33. package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +0 -16
  34. package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +0 -20
  35. package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +0 -48
  36. package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +0 -79
  37. package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -84
  38. package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +0 -45
  39. package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +0 -67
  40. package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -40
  41. package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +0 -69
  42. package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +0 -47
  43. package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +0 -62
  44. package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +0 -155
  45. package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +0 -20
  46. package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +0 -101
  47. package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +0 -20
  48. package/dist/libs/contracts/dist/events.js +0 -1
  49. package/dist/libs/contracts/dist/experiments/evaluator.js +0 -1
  50. package/dist/libs/contracts/dist/index.js +0 -71
  51. package/dist/libs/contracts/dist/install.js +0 -2
  52. package/dist/libs/contracts/dist/integrations/contracts.js +0 -377
  53. package/dist/libs/contracts/dist/integrations/index.js +0 -18
  54. package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +0 -228
  55. package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +0 -159
  56. package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +0 -3
  57. package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +0 -210
  58. package/dist/libs/contracts/dist/integrations/openbanking/models.js +0 -242
  59. package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +0 -13
  60. package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +0 -52
  61. package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +0 -75
  62. package/dist/libs/contracts/dist/integrations/providers/gmail.js +0 -87
  63. package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +0 -66
  64. package/dist/libs/contracts/dist/integrations/providers/index.js +0 -11
  65. package/dist/libs/contracts/dist/integrations/providers/mistral.js +0 -68
  66. package/dist/libs/contracts/dist/integrations/providers/postmark.js +0 -68
  67. package/dist/libs/contracts/dist/integrations/providers/powens.js +0 -116
  68. package/dist/libs/contracts/dist/integrations/providers/qdrant.js +0 -73
  69. package/dist/libs/contracts/dist/integrations/providers/registry.js +0 -10
  70. package/dist/libs/contracts/dist/integrations/providers/stripe.js +0 -83
  71. package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +0 -61
  72. package/dist/libs/contracts/dist/jsonschema.js +0 -1
  73. package/dist/libs/contracts/dist/knowledge/contracts.js +0 -306
  74. package/dist/libs/contracts/dist/knowledge/index.js +0 -7
  75. package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +0 -34
  76. package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +0 -34
  77. package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +0 -38
  78. package/dist/libs/contracts/dist/knowledge/spaces/index.js +0 -6
  79. package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +0 -34
  80. package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +0 -37
  81. package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +0 -34
  82. package/dist/libs/contracts/dist/llm/exporters.js +0 -19
  83. package/dist/libs/contracts/dist/llm/index.js +0 -2
  84. package/dist/libs/contracts/dist/llm/prompts.js +0 -1
  85. package/dist/libs/contracts/dist/onboarding-base.js +0 -196
  86. package/dist/libs/contracts/dist/openapi.js +0 -1
  87. package/dist/libs/contracts/dist/ownership.js +0 -21
  88. package/dist/libs/contracts/dist/presentations.js +0 -1
  89. package/dist/libs/contracts/dist/presentations.v2.js +0 -11
  90. package/dist/libs/contracts/dist/prompt.js +0 -1
  91. package/dist/libs/contracts/dist/promptRegistry.js +0 -1
  92. package/dist/libs/contracts/dist/regenerator/index.js +0 -1
  93. package/dist/libs/contracts/dist/regenerator/service.js +0 -6
  94. package/dist/libs/contracts/dist/registry.js +0 -2
  95. package/dist/libs/contracts/dist/resources.js +0 -1
  96. package/dist/libs/contracts/dist/schema/dist/EnumType.js +0 -2
  97. package/dist/libs/contracts/dist/schema/dist/FieldType.js +0 -49
  98. package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -236
  99. package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +0 -39
  100. package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
  101. package/dist/libs/contracts/dist/schema/dist/entity/index.js +0 -2
  102. package/dist/libs/contracts/dist/schema/dist/entity/types.js +0 -1
  103. package/dist/libs/contracts/dist/schema/dist/index.js +0 -6
  104. package/dist/libs/contracts/dist/server/graphql-pothos.js +0 -6
  105. package/dist/libs/contracts/dist/server/index.js +0 -8
  106. package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +0 -4
  107. package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +0 -2
  108. package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +0 -1
  109. package/dist/libs/contracts/dist/server/mcp/registerResources.js +0 -2
  110. package/dist/libs/contracts/dist/server/mcp/registerTools.js +0 -1
  111. package/dist/libs/contracts/dist/server/provider-mcp.js +0 -1
  112. package/dist/libs/contracts/dist/server/rest-elysia.js +0 -1
  113. package/dist/libs/contracts/dist/server/rest-express.js +0 -1
  114. package/dist/libs/contracts/dist/server/rest-generic.js +0 -1
  115. package/dist/libs/contracts/dist/server/rest-next-app.js +0 -1
  116. package/dist/libs/contracts/dist/server/rest-next-pages.js +0 -1
  117. package/dist/libs/contracts/dist/spec.js +0 -34
  118. package/dist/libs/contracts/dist/telemetry/index.js +0 -1
  119. package/dist/libs/contracts/dist/telemetry/tracker.js +0 -1
  120. package/dist/libs/contracts/dist/tests/index.js +0 -1
  121. package/dist/libs/contracts/dist/tests/runner.js +0 -2
  122. package/dist/libs/contracts/dist/workflow/index.js +0 -1
  123. package/dist/libs/contracts/dist/workflow/runner.js +0 -1
  124. package/dist/libs/schema/dist/EnumType.js +0 -56
  125. package/dist/libs/schema/dist/FieldType.js +0 -49
  126. package/dist/libs/schema/dist/ScalarTypeEnum.js +0 -236
  127. package/dist/libs/schema/dist/SchemaModel.js +0 -3
  128. package/dist/libs/schema/dist/entity/defineEntity.js +0 -230
  129. package/dist/libs/schema/dist/entity/index.js +0 -2
  130. package/dist/libs/schema/dist/entity/types.js +0 -1
  131. package/dist/libs/schema/dist/index.js +0 -6
  132. package/dist/storage/index.d.ts +0 -87
package/package.json CHANGED
@@ -1,13 +1,12 @@
1
1
  {
2
2
  "name": "@lssm/module.audit-trail",
3
- "version": "0.0.0-canary-20251217083314",
3
+ "version": "1.41.0",
4
4
  "description": "Audit trail module for tracking and querying system events",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
7
7
  "type": "module",
8
8
  "scripts": {
9
9
  "publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
10
- "publish:pkg:canary": "bun publish:pkg --tag canary",
11
10
  "build": "bun build:bundle && bun build:types",
12
11
  "build:bundle": "tsdown",
13
12
  "build:types": "tsc --noEmit",
@@ -18,22 +17,22 @@
18
17
  "lint:check": "eslint src"
19
18
  },
20
19
  "dependencies": {
21
- "@lssm/lib.schema": "0.0.0-canary-20251217083314",
22
- "@lssm/lib.contracts": "0.0.0-canary-20251217083314",
23
- "@lssm/lib.bus": "0.0.0-canary-20251217083314",
20
+ "@lssm/lib.schema": "workspace:*",
21
+ "@lssm/lib.contracts": "workspace:*",
22
+ "@lssm/lib.bus": "workspace:*",
24
23
  "zod": "^4.1.13"
25
24
  },
26
25
  "devDependencies": {
27
- "@lssm/tool.typescript": "0.0.0-canary-20251217083314",
28
- "@lssm/tool.tsdown": "0.0.0-canary-20251217083314",
26
+ "@lssm/tool.typescript": "workspace:*",
27
+ "@lssm/tool.tsdown": "workspace:*",
29
28
  "typescript": "^5.9.3"
30
29
  },
31
30
  "exports": {
32
- ".": "./dist/index.js",
33
- "./audit-trail.feature": "./dist/audit-trail.feature.js",
34
- "./contracts": "./dist/contracts/index.js",
35
- "./entities": "./dist/entities/index.js",
36
- "./storage": "./dist/storage/index.js",
31
+ ".": "./src/index.ts",
32
+ "./audit-trail.feature": "./src/audit-trail.feature.ts",
33
+ "./contracts": "./src/contracts/index.ts",
34
+ "./entities": "./src/entities/index.ts",
35
+ "./storage": "./src/storage/index.ts",
37
36
  "./*": "./*"
38
37
  },
39
38
  "module": "./dist/index.js",
@@ -1,11 +0,0 @@
1
- import { FeatureModuleSpec } from "@lssm/lib.contracts";
2
-
3
- //#region src/audit-trail.feature.d.ts
4
-
5
- /**
6
- * Audit Trail feature module that bundles audit log querying,
7
- * export, and statistics capabilities.
8
- */
9
- declare const AuditTrailFeature: FeatureModuleSpec;
10
- //#endregion
11
- export { AuditTrailFeature };
@@ -1,582 +0,0 @@
1
- import * as _lssm_lib_contracts0 from "@lssm/lib.contracts";
2
- import * as _lssm_lib_schema0 from "@lssm/lib.schema";
3
-
4
- //#region src/contracts/index.d.ts
5
- declare const AuditLogModel: _lssm_lib_schema0.SchemaModel<{
6
- id: {
7
- type: _lssm_lib_schema0.FieldType<string, string>;
8
- isOptional: false;
9
- };
10
- eventName: {
11
- type: _lssm_lib_schema0.FieldType<string, string>;
12
- isOptional: false;
13
- };
14
- eventVersion: {
15
- type: _lssm_lib_schema0.FieldType<number, number>;
16
- isOptional: false;
17
- };
18
- payload: {
19
- type: _lssm_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
20
- isOptional: false;
21
- };
22
- actorId: {
23
- type: _lssm_lib_schema0.FieldType<string, string>;
24
- isOptional: true;
25
- };
26
- actorType: {
27
- type: _lssm_lib_schema0.FieldType<string, string>;
28
- isOptional: true;
29
- };
30
- actorEmail: {
31
- type: _lssm_lib_schema0.FieldType<string, string>;
32
- isOptional: true;
33
- };
34
- targetId: {
35
- type: _lssm_lib_schema0.FieldType<string, string>;
36
- isOptional: true;
37
- };
38
- targetType: {
39
- type: _lssm_lib_schema0.FieldType<string, string>;
40
- isOptional: true;
41
- };
42
- orgId: {
43
- type: _lssm_lib_schema0.FieldType<string, string>;
44
- isOptional: true;
45
- };
46
- traceId: {
47
- type: _lssm_lib_schema0.FieldType<string, string>;
48
- isOptional: true;
49
- };
50
- clientIp: {
51
- type: _lssm_lib_schema0.FieldType<string, string>;
52
- isOptional: true;
53
- };
54
- occurredAt: {
55
- type: _lssm_lib_schema0.FieldType<Date, string>;
56
- isOptional: false;
57
- };
58
- recordedAt: {
59
- type: _lssm_lib_schema0.FieldType<Date, string>;
60
- isOptional: false;
61
- };
62
- }>;
63
- declare const AuditQueryInputModel: _lssm_lib_schema0.SchemaModel<{
64
- eventName: {
65
- type: _lssm_lib_schema0.FieldType<string, string>;
66
- isOptional: true;
67
- };
68
- actorId: {
69
- type: _lssm_lib_schema0.FieldType<string, string>;
70
- isOptional: true;
71
- };
72
- targetId: {
73
- type: _lssm_lib_schema0.FieldType<string, string>;
74
- isOptional: true;
75
- };
76
- targetType: {
77
- type: _lssm_lib_schema0.FieldType<string, string>;
78
- isOptional: true;
79
- };
80
- orgId: {
81
- type: _lssm_lib_schema0.FieldType<string, string>;
82
- isOptional: true;
83
- };
84
- traceId: {
85
- type: _lssm_lib_schema0.FieldType<string, string>;
86
- isOptional: true;
87
- };
88
- from: {
89
- type: _lssm_lib_schema0.FieldType<Date, string>;
90
- isOptional: true;
91
- };
92
- to: {
93
- type: _lssm_lib_schema0.FieldType<Date, string>;
94
- isOptional: true;
95
- };
96
- limit: {
97
- type: _lssm_lib_schema0.FieldType<number, number>;
98
- isOptional: true;
99
- defaultValue: number;
100
- };
101
- offset: {
102
- type: _lssm_lib_schema0.FieldType<number, number>;
103
- isOptional: true;
104
- defaultValue: number;
105
- };
106
- }>;
107
- declare const AuditQueryOutputModel: _lssm_lib_schema0.SchemaModel<{
108
- logs: {
109
- type: _lssm_lib_schema0.SchemaModel<{
110
- id: {
111
- type: _lssm_lib_schema0.FieldType<string, string>;
112
- isOptional: false;
113
- };
114
- eventName: {
115
- type: _lssm_lib_schema0.FieldType<string, string>;
116
- isOptional: false;
117
- };
118
- eventVersion: {
119
- type: _lssm_lib_schema0.FieldType<number, number>;
120
- isOptional: false;
121
- };
122
- payload: {
123
- type: _lssm_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
124
- isOptional: false;
125
- };
126
- actorId: {
127
- type: _lssm_lib_schema0.FieldType<string, string>;
128
- isOptional: true;
129
- };
130
- actorType: {
131
- type: _lssm_lib_schema0.FieldType<string, string>;
132
- isOptional: true;
133
- };
134
- actorEmail: {
135
- type: _lssm_lib_schema0.FieldType<string, string>;
136
- isOptional: true;
137
- };
138
- targetId: {
139
- type: _lssm_lib_schema0.FieldType<string, string>;
140
- isOptional: true;
141
- };
142
- targetType: {
143
- type: _lssm_lib_schema0.FieldType<string, string>;
144
- isOptional: true;
145
- };
146
- orgId: {
147
- type: _lssm_lib_schema0.FieldType<string, string>;
148
- isOptional: true;
149
- };
150
- traceId: {
151
- type: _lssm_lib_schema0.FieldType<string, string>;
152
- isOptional: true;
153
- };
154
- clientIp: {
155
- type: _lssm_lib_schema0.FieldType<string, string>;
156
- isOptional: true;
157
- };
158
- occurredAt: {
159
- type: _lssm_lib_schema0.FieldType<Date, string>;
160
- isOptional: false;
161
- };
162
- recordedAt: {
163
- type: _lssm_lib_schema0.FieldType<Date, string>;
164
- isOptional: false;
165
- };
166
- }>;
167
- isArray: true;
168
- isOptional: false;
169
- };
170
- total: {
171
- type: _lssm_lib_schema0.FieldType<number, number>;
172
- isOptional: false;
173
- };
174
- hasMore: {
175
- type: _lssm_lib_schema0.FieldType<boolean, boolean>;
176
- isOptional: false;
177
- };
178
- }>;
179
- declare const ExportFormatEnum: _lssm_lib_schema0.EnumType<[string, string, string]>;
180
- declare const AuditExportInputModel: _lssm_lib_schema0.SchemaModel<{
181
- orgId: {
182
- type: _lssm_lib_schema0.FieldType<string, string>;
183
- isOptional: false;
184
- };
185
- from: {
186
- type: _lssm_lib_schema0.FieldType<Date, string>;
187
- isOptional: false;
188
- };
189
- to: {
190
- type: _lssm_lib_schema0.FieldType<Date, string>;
191
- isOptional: false;
192
- };
193
- format: {
194
- type: _lssm_lib_schema0.EnumType<[string, string, string]>;
195
- isOptional: true;
196
- defaultValue: string;
197
- };
198
- eventNames: {
199
- type: _lssm_lib_schema0.FieldType<string, string>;
200
- isArray: true;
201
- isOptional: true;
202
- };
203
- }>;
204
- declare const ExportStatusEnum: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
205
- declare const AuditExportOutputModel: _lssm_lib_schema0.SchemaModel<{
206
- exportId: {
207
- type: _lssm_lib_schema0.FieldType<string, string>;
208
- isOptional: false;
209
- };
210
- status: {
211
- type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
212
- isOptional: false;
213
- };
214
- downloadUrl: {
215
- type: _lssm_lib_schema0.FieldType<string, string>;
216
- isOptional: true;
217
- };
218
- }>;
219
- declare const AuditStatsInputModel: _lssm_lib_schema0.SchemaModel<{
220
- orgId: {
221
- type: _lssm_lib_schema0.FieldType<string, string>;
222
- isOptional: true;
223
- };
224
- from: {
225
- type: _lssm_lib_schema0.FieldType<Date, string>;
226
- isOptional: true;
227
- };
228
- to: {
229
- type: _lssm_lib_schema0.FieldType<Date, string>;
230
- isOptional: true;
231
- };
232
- }>;
233
- declare const AuditStatsOutputModel: _lssm_lib_schema0.SchemaModel<{
234
- totalLogs: {
235
- type: _lssm_lib_schema0.FieldType<number, number>;
236
- isOptional: false;
237
- };
238
- uniqueActors: {
239
- type: _lssm_lib_schema0.FieldType<number, number>;
240
- isOptional: false;
241
- };
242
- uniqueTargets: {
243
- type: _lssm_lib_schema0.FieldType<number, number>;
244
- isOptional: false;
245
- };
246
- eventCounts: {
247
- type: _lssm_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
248
- isOptional: false;
249
- };
250
- }>;
251
- /**
252
- * Query audit logs.
253
- */
254
- declare const QueryAuditLogsContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema0.SchemaModel<{
255
- eventName: {
256
- type: _lssm_lib_schema0.FieldType<string, string>;
257
- isOptional: true;
258
- };
259
- actorId: {
260
- type: _lssm_lib_schema0.FieldType<string, string>;
261
- isOptional: true;
262
- };
263
- targetId: {
264
- type: _lssm_lib_schema0.FieldType<string, string>;
265
- isOptional: true;
266
- };
267
- targetType: {
268
- type: _lssm_lib_schema0.FieldType<string, string>;
269
- isOptional: true;
270
- };
271
- orgId: {
272
- type: _lssm_lib_schema0.FieldType<string, string>;
273
- isOptional: true;
274
- };
275
- traceId: {
276
- type: _lssm_lib_schema0.FieldType<string, string>;
277
- isOptional: true;
278
- };
279
- from: {
280
- type: _lssm_lib_schema0.FieldType<Date, string>;
281
- isOptional: true;
282
- };
283
- to: {
284
- type: _lssm_lib_schema0.FieldType<Date, string>;
285
- isOptional: true;
286
- };
287
- limit: {
288
- type: _lssm_lib_schema0.FieldType<number, number>;
289
- isOptional: true;
290
- defaultValue: number;
291
- };
292
- offset: {
293
- type: _lssm_lib_schema0.FieldType<number, number>;
294
- isOptional: true;
295
- defaultValue: number;
296
- };
297
- }>, _lssm_lib_schema0.SchemaModel<{
298
- logs: {
299
- type: _lssm_lib_schema0.SchemaModel<{
300
- id: {
301
- type: _lssm_lib_schema0.FieldType<string, string>;
302
- isOptional: false;
303
- };
304
- eventName: {
305
- type: _lssm_lib_schema0.FieldType<string, string>;
306
- isOptional: false;
307
- };
308
- eventVersion: {
309
- type: _lssm_lib_schema0.FieldType<number, number>;
310
- isOptional: false;
311
- };
312
- payload: {
313
- type: _lssm_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
314
- isOptional: false;
315
- };
316
- actorId: {
317
- type: _lssm_lib_schema0.FieldType<string, string>;
318
- isOptional: true;
319
- };
320
- actorType: {
321
- type: _lssm_lib_schema0.FieldType<string, string>;
322
- isOptional: true;
323
- };
324
- actorEmail: {
325
- type: _lssm_lib_schema0.FieldType<string, string>;
326
- isOptional: true;
327
- };
328
- targetId: {
329
- type: _lssm_lib_schema0.FieldType<string, string>;
330
- isOptional: true;
331
- };
332
- targetType: {
333
- type: _lssm_lib_schema0.FieldType<string, string>;
334
- isOptional: true;
335
- };
336
- orgId: {
337
- type: _lssm_lib_schema0.FieldType<string, string>;
338
- isOptional: true;
339
- };
340
- traceId: {
341
- type: _lssm_lib_schema0.FieldType<string, string>;
342
- isOptional: true;
343
- };
344
- clientIp: {
345
- type: _lssm_lib_schema0.FieldType<string, string>;
346
- isOptional: true;
347
- };
348
- occurredAt: {
349
- type: _lssm_lib_schema0.FieldType<Date, string>;
350
- isOptional: false;
351
- };
352
- recordedAt: {
353
- type: _lssm_lib_schema0.FieldType<Date, string>;
354
- isOptional: false;
355
- };
356
- }>;
357
- isArray: true;
358
- isOptional: false;
359
- };
360
- total: {
361
- type: _lssm_lib_schema0.FieldType<number, number>;
362
- isOptional: false;
363
- };
364
- hasMore: {
365
- type: _lssm_lib_schema0.FieldType<boolean, boolean>;
366
- isOptional: false;
367
- };
368
- }>, undefined>;
369
- /**
370
- * Get audit log by ID.
371
- */
372
- declare const GetAuditLogContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema0.SchemaModel<{
373
- logId: {
374
- type: _lssm_lib_schema0.FieldType<string, string>;
375
- isOptional: false;
376
- };
377
- }>, _lssm_lib_schema0.SchemaModel<{
378
- id: {
379
- type: _lssm_lib_schema0.FieldType<string, string>;
380
- isOptional: false;
381
- };
382
- eventName: {
383
- type: _lssm_lib_schema0.FieldType<string, string>;
384
- isOptional: false;
385
- };
386
- eventVersion: {
387
- type: _lssm_lib_schema0.FieldType<number, number>;
388
- isOptional: false;
389
- };
390
- payload: {
391
- type: _lssm_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
392
- isOptional: false;
393
- };
394
- actorId: {
395
- type: _lssm_lib_schema0.FieldType<string, string>;
396
- isOptional: true;
397
- };
398
- actorType: {
399
- type: _lssm_lib_schema0.FieldType<string, string>;
400
- isOptional: true;
401
- };
402
- actorEmail: {
403
- type: _lssm_lib_schema0.FieldType<string, string>;
404
- isOptional: true;
405
- };
406
- targetId: {
407
- type: _lssm_lib_schema0.FieldType<string, string>;
408
- isOptional: true;
409
- };
410
- targetType: {
411
- type: _lssm_lib_schema0.FieldType<string, string>;
412
- isOptional: true;
413
- };
414
- orgId: {
415
- type: _lssm_lib_schema0.FieldType<string, string>;
416
- isOptional: true;
417
- };
418
- traceId: {
419
- type: _lssm_lib_schema0.FieldType<string, string>;
420
- isOptional: true;
421
- };
422
- clientIp: {
423
- type: _lssm_lib_schema0.FieldType<string, string>;
424
- isOptional: true;
425
- };
426
- occurredAt: {
427
- type: _lssm_lib_schema0.FieldType<Date, string>;
428
- isOptional: false;
429
- };
430
- recordedAt: {
431
- type: _lssm_lib_schema0.FieldType<Date, string>;
432
- isOptional: false;
433
- };
434
- }>, undefined>;
435
- /**
436
- * Get audit logs by trace ID.
437
- */
438
- declare const GetAuditTraceContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema0.SchemaModel<{
439
- traceId: {
440
- type: _lssm_lib_schema0.FieldType<string, string>;
441
- isOptional: false;
442
- };
443
- }>, _lssm_lib_schema0.SchemaModel<{
444
- logs: {
445
- type: _lssm_lib_schema0.SchemaModel<{
446
- id: {
447
- type: _lssm_lib_schema0.FieldType<string, string>;
448
- isOptional: false;
449
- };
450
- eventName: {
451
- type: _lssm_lib_schema0.FieldType<string, string>;
452
- isOptional: false;
453
- };
454
- eventVersion: {
455
- type: _lssm_lib_schema0.FieldType<number, number>;
456
- isOptional: false;
457
- };
458
- payload: {
459
- type: _lssm_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
460
- isOptional: false;
461
- };
462
- actorId: {
463
- type: _lssm_lib_schema0.FieldType<string, string>;
464
- isOptional: true;
465
- };
466
- actorType: {
467
- type: _lssm_lib_schema0.FieldType<string, string>;
468
- isOptional: true;
469
- };
470
- actorEmail: {
471
- type: _lssm_lib_schema0.FieldType<string, string>;
472
- isOptional: true;
473
- };
474
- targetId: {
475
- type: _lssm_lib_schema0.FieldType<string, string>;
476
- isOptional: true;
477
- };
478
- targetType: {
479
- type: _lssm_lib_schema0.FieldType<string, string>;
480
- isOptional: true;
481
- };
482
- orgId: {
483
- type: _lssm_lib_schema0.FieldType<string, string>;
484
- isOptional: true;
485
- };
486
- traceId: {
487
- type: _lssm_lib_schema0.FieldType<string, string>;
488
- isOptional: true;
489
- };
490
- clientIp: {
491
- type: _lssm_lib_schema0.FieldType<string, string>;
492
- isOptional: true;
493
- };
494
- occurredAt: {
495
- type: _lssm_lib_schema0.FieldType<Date, string>;
496
- isOptional: false;
497
- };
498
- recordedAt: {
499
- type: _lssm_lib_schema0.FieldType<Date, string>;
500
- isOptional: false;
501
- };
502
- }>;
503
- isArray: true;
504
- isOptional: false;
505
- };
506
- }>, undefined>;
507
- /**
508
- * Export audit logs.
509
- */
510
- declare const ExportAuditLogsContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema0.SchemaModel<{
511
- orgId: {
512
- type: _lssm_lib_schema0.FieldType<string, string>;
513
- isOptional: false;
514
- };
515
- from: {
516
- type: _lssm_lib_schema0.FieldType<Date, string>;
517
- isOptional: false;
518
- };
519
- to: {
520
- type: _lssm_lib_schema0.FieldType<Date, string>;
521
- isOptional: false;
522
- };
523
- format: {
524
- type: _lssm_lib_schema0.EnumType<[string, string, string]>;
525
- isOptional: true;
526
- defaultValue: string;
527
- };
528
- eventNames: {
529
- type: _lssm_lib_schema0.FieldType<string, string>;
530
- isArray: true;
531
- isOptional: true;
532
- };
533
- }>, _lssm_lib_schema0.SchemaModel<{
534
- exportId: {
535
- type: _lssm_lib_schema0.FieldType<string, string>;
536
- isOptional: false;
537
- };
538
- status: {
539
- type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
540
- isOptional: false;
541
- };
542
- downloadUrl: {
543
- type: _lssm_lib_schema0.FieldType<string, string>;
544
- isOptional: true;
545
- };
546
- }>, undefined>;
547
- /**
548
- * Get audit statistics.
549
- */
550
- declare const GetAuditStatsContract: _lssm_lib_contracts0.ContractSpec<_lssm_lib_schema0.SchemaModel<{
551
- orgId: {
552
- type: _lssm_lib_schema0.FieldType<string, string>;
553
- isOptional: true;
554
- };
555
- from: {
556
- type: _lssm_lib_schema0.FieldType<Date, string>;
557
- isOptional: true;
558
- };
559
- to: {
560
- type: _lssm_lib_schema0.FieldType<Date, string>;
561
- isOptional: true;
562
- };
563
- }>, _lssm_lib_schema0.SchemaModel<{
564
- totalLogs: {
565
- type: _lssm_lib_schema0.FieldType<number, number>;
566
- isOptional: false;
567
- };
568
- uniqueActors: {
569
- type: _lssm_lib_schema0.FieldType<number, number>;
570
- isOptional: false;
571
- };
572
- uniqueTargets: {
573
- type: _lssm_lib_schema0.FieldType<number, number>;
574
- isOptional: false;
575
- };
576
- eventCounts: {
577
- type: _lssm_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
578
- isOptional: false;
579
- };
580
- }>, undefined>;
581
- //#endregion
582
- export { AuditExportInputModel, AuditExportOutputModel, AuditLogModel, AuditQueryInputModel, AuditQueryOutputModel, AuditStatsInputModel, AuditStatsOutputModel, ExportAuditLogsContract, ExportFormatEnum, ExportStatusEnum, GetAuditLogContract, GetAuditStatsContract, GetAuditTraceContract, QueryAuditLogsContract };