@pax2pay/model-banking 0.1.365 → 0.1.366
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.
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { filter, listener } from "cloudly-analytics-common"
|
|
2
2
|
import { Audit } from "../../Audit"
|
|
3
|
+
import { Base } from "./Base"
|
|
3
4
|
|
|
4
5
|
export namespace AuditLog {
|
|
5
|
-
type Selectors = `value.${Exclude<keyof Audit, "resource"> | `resource.${keyof Audit["resource"]}`}`
|
|
6
|
+
type Selectors = Base.Selectors | `value.${Exclude<keyof Audit, "resource"> | `resource.${keyof Audit["resource"]}`}`
|
|
6
7
|
export const mapping = {
|
|
8
|
+
...Base.mapping,
|
|
7
9
|
auditCreated: "value.created",
|
|
8
10
|
resourceId: "value.resource.id",
|
|
9
11
|
resourceType: "value.resource.type",
|
|
@@ -16,6 +18,7 @@ export namespace AuditLog {
|
|
|
16
18
|
} as const satisfies filter.Mapping.RecordWithSelector<Selectors>;
|
|
17
19
|
export type Fields = keyof typeof mapping
|
|
18
20
|
export const schema: listener.BigQueryApi.BaseField<Fields>[] = [
|
|
21
|
+
...Base.schema,
|
|
19
22
|
{ name: "auditCreated", type: "TIMESTAMP" },
|
|
20
23
|
{ name: "resourceId", type: "STRING" },
|
|
21
24
|
{ name: "resourceType", type: "STRING" },
|
|
@@ -15,6 +15,17 @@ export declare namespace AuditLog {
|
|
|
15
15
|
};
|
|
16
16
|
readonly by: "value.by";
|
|
17
17
|
readonly messages: "value.messages";
|
|
18
|
+
readonly realm: "realm";
|
|
19
|
+
readonly entityType: "entity.type";
|
|
20
|
+
readonly entity: "entity.id";
|
|
21
|
+
readonly action: "action";
|
|
22
|
+
readonly created: "created";
|
|
23
|
+
readonly isError: {
|
|
24
|
+
readonly selector: "isError";
|
|
25
|
+
readonly transform: "boolean";
|
|
26
|
+
};
|
|
27
|
+
readonly version: "version";
|
|
28
|
+
readonly source: "source";
|
|
18
29
|
};
|
|
19
30
|
type Fields = keyof typeof mapping;
|
|
20
31
|
const schema: listener.BigQueryApi.BaseField<Fields>[];
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { Base } from "./Base";
|
|
1
2
|
export var AuditLog;
|
|
2
3
|
(function (AuditLog) {
|
|
3
4
|
AuditLog.mapping = {
|
|
5
|
+
...Base.mapping,
|
|
4
6
|
auditCreated: "value.created",
|
|
5
7
|
resourceId: "value.resource.id",
|
|
6
8
|
resourceType: "value.resource.type",
|
|
@@ -11,6 +13,7 @@ export var AuditLog;
|
|
|
11
13
|
messages: "value.messages"
|
|
12
14
|
};
|
|
13
15
|
AuditLog.schema = [
|
|
16
|
+
...Base.schema,
|
|
14
17
|
{ name: "auditCreated", type: "TIMESTAMP" },
|
|
15
18
|
{ name: "resourceId", type: "STRING" },
|
|
16
19
|
{ name: "resourceType", type: "STRING" },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuditLog.js","sourceRoot":"../","sources":["Analytics/Configuration/AuditLog.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AuditLog.js","sourceRoot":"../","sources":["Analytics/Configuration/AuditLog.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAE7B,MAAM,KAAW,QAAQ,CA0BxB;AA1BD,WAAiB,QAAQ;IAEX,gBAAO,GAAG;QACtB,GAAG,IAAI,CAAC,OAAO;QACf,YAAY,EAAE,eAAe;QAC7B,UAAU,EAAE,mBAAmB;QAC/B,YAAY,EAAE,qBAAqB;QACnC,cAAc,EAAE,uBAAuB;QACvC,MAAM,EAAE,EAAE,QAAQ,EAAE,uBAAuB,EAAE,SAAS,EAAE,WAAW,EAAE;QACrE,KAAK,EAAE,EAAE,QAAQ,EAAE,sBAAsB,EAAE,SAAS,EAAE,WAAW,EAAE;QACnE,EAAE,EAAE,UAAU;QACd,QAAQ,EAAE,gBAAgB;KAEsC,CAAC;IAErD,e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