@pax2pay/model-banking 0.1.552 → 0.1.554
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client/Organizations/index.ts +2 -2
- package/dist/cjs/Client/Organizations/index.d.ts +1 -1
- package/dist/cjs/Client/Organizations/index.js +2 -2
- package/dist/cjs/Client/Organizations/index.js.map +1 -1
- package/dist/cjs/pax2pay.d.ts +0 -1
- package/dist/cjs/pax2pay.js +1 -3
- package/dist/cjs/pax2pay.js.map +1 -1
- package/dist/mjs/Client/Organizations/index.d.ts +1 -1
- package/dist/mjs/Client/Organizations/index.js +2 -2
- package/dist/mjs/Client/Organizations/index.js.map +1 -1
- package/dist/mjs/pax2pay.d.ts +0 -1
- package/dist/mjs/pax2pay.js +0 -1
- package/dist/mjs/pax2pay.js.map +1 -1
- package/package.json +1 -2
- package/pax2pay.ts +0 -1
- package/Analytics/Configuration/AuditLog.ts +0 -31
- package/Analytics/Configuration/Base.ts +0 -31
- package/Analytics/Configuration/Ledger/Base.ts +0 -29
- package/Analytics/Configuration/Ledger/index.ts +0 -5
- package/Analytics/Configuration/Transaction.ts +0 -142
- package/Analytics/Configuration/index.ts +0 -14
- package/Analytics/Event/AuditLog.ts +0 -20
- package/Analytics/Event/Base.ts +0 -12
- package/Analytics/Event/Ledger/Account.ts +0 -23
- package/Analytics/Event/Ledger/Base.ts +0 -7
- package/Analytics/Event/Ledger/Card.ts +0 -21
- package/Analytics/Event/Ledger/Operation.ts +0 -28
- package/Analytics/Event/Ledger/Organization.ts +0 -20
- package/Analytics/Event/Ledger/Rule.ts +0 -38
- package/Analytics/Event/Ledger/Transaction.ts +0 -22
- package/Analytics/Event/Ledger/User.ts +0 -21
- package/Analytics/Event/Ledger/index.ts +0 -19
- package/Analytics/Event/index.ts +0 -19
- package/Analytics/index.ts +0 -7
- package/dist/cjs/Analytics/Configuration/AuditLog.d.ts +0 -32
- package/dist/cjs/Analytics/Configuration/AuditLog.js +0 -30
- package/dist/cjs/Analytics/Configuration/AuditLog.js.map +0 -1
- package/dist/cjs/Analytics/Configuration/Base.d.ts +0 -21
- package/dist/cjs/Analytics/Configuration/Base.js +0 -27
- package/dist/cjs/Analytics/Configuration/Base.js.map +0 -1
- package/dist/cjs/Analytics/Configuration/Ledger/Base.d.ts +0 -31
- package/dist/cjs/Analytics/Configuration/Ledger/Base.js +0 -25
- package/dist/cjs/Analytics/Configuration/Ledger/Base.js.map +0 -1
- package/dist/cjs/Analytics/Configuration/Ledger/index.d.ts +0 -4
- package/dist/cjs/Analytics/Configuration/Ledger/index.js +0 -9
- package/dist/cjs/Analytics/Configuration/Ledger/index.js.map +0 -1
- package/dist/cjs/Analytics/Configuration/Transaction.d.ts +0 -11
- package/dist/cjs/Analytics/Configuration/Transaction.js +0 -141
- package/dist/cjs/Analytics/Configuration/Transaction.js.map +0 -1
- package/dist/cjs/Analytics/Configuration/index.d.ts +0 -13
- package/dist/cjs/Analytics/Configuration/index.js +0 -15
- package/dist/cjs/Analytics/Configuration/index.js.map +0 -1
- package/dist/cjs/Analytics/Event/AuditLog.d.ts +0 -13
- package/dist/cjs/Analytics/Event/AuditLog.js +0 -18
- package/dist/cjs/Analytics/Event/AuditLog.js.map +0 -1
- package/dist/cjs/Analytics/Event/Base.d.ts +0 -14
- package/dist/cjs/Analytics/Event/Base.js +0 -3
- package/dist/cjs/Analytics/Event/Base.js.map +0 -1
- package/dist/cjs/Analytics/Event/Ledger/Account.d.ts +0 -16
- package/dist/cjs/Analytics/Event/Ledger/Account.js +0 -20
- package/dist/cjs/Analytics/Event/Ledger/Account.js.map +0 -1
- package/dist/cjs/Analytics/Event/Ledger/Base.d.ts +0 -6
- package/dist/cjs/Analytics/Event/Ledger/Base.js +0 -3
- package/dist/cjs/Analytics/Event/Ledger/Base.js.map +0 -1
- package/dist/cjs/Analytics/Event/Ledger/Card.d.ts +0 -12
- package/dist/cjs/Analytics/Event/Ledger/Card.js +0 -20
- package/dist/cjs/Analytics/Event/Ledger/Card.js.map +0 -1
- package/dist/cjs/Analytics/Event/Ledger/Operation.d.ts +0 -13
- package/dist/cjs/Analytics/Event/Ledger/Operation.js +0 -20
- package/dist/cjs/Analytics/Event/Ledger/Operation.js.map +0 -1
- package/dist/cjs/Analytics/Event/Ledger/Organization.d.ts +0 -13
- package/dist/cjs/Analytics/Event/Ledger/Organization.js +0 -18
- package/dist/cjs/Analytics/Event/Ledger/Organization.js.map +0 -1
- package/dist/cjs/Analytics/Event/Ledger/Rule.d.ts +0 -18
- package/dist/cjs/Analytics/Event/Ledger/Rule.js +0 -25
- package/dist/cjs/Analytics/Event/Ledger/Rule.js.map +0 -1
- package/dist/cjs/Analytics/Event/Ledger/Transaction.d.ts +0 -14
- package/dist/cjs/Analytics/Event/Ledger/Transaction.js +0 -19
- package/dist/cjs/Analytics/Event/Ledger/Transaction.js.map +0 -1
- package/dist/cjs/Analytics/Event/Ledger/User.d.ts +0 -13
- package/dist/cjs/Analytics/Event/Ledger/User.js +0 -18
- package/dist/cjs/Analytics/Event/Ledger/User.js.map +0 -1
- package/dist/cjs/Analytics/Event/Ledger/index.d.ts +0 -18
- package/dist/cjs/Analytics/Event/Ledger/index.js +0 -21
- package/dist/cjs/Analytics/Event/Ledger/index.js.map +0 -1
- package/dist/cjs/Analytics/Event/index.d.ts +0 -11
- package/dist/cjs/Analytics/Event/index.js +0 -11
- package/dist/cjs/Analytics/Event/index.js.map +0 -1
- package/dist/cjs/Analytics/index.d.ts +0 -6
- package/dist/cjs/Analytics/index.js +0 -11
- package/dist/cjs/Analytics/index.js.map +0 -1
- package/dist/mjs/Analytics/Configuration/AuditLog.d.ts +0 -32
- package/dist/mjs/Analytics/Configuration/AuditLog.js +0 -27
- package/dist/mjs/Analytics/Configuration/AuditLog.js.map +0 -1
- package/dist/mjs/Analytics/Configuration/Base.d.ts +0 -21
- package/dist/mjs/Analytics/Configuration/Base.js +0 -24
- package/dist/mjs/Analytics/Configuration/Base.js.map +0 -1
- package/dist/mjs/Analytics/Configuration/Ledger/Base.d.ts +0 -31
- package/dist/mjs/Analytics/Configuration/Ledger/Base.js +0 -22
- package/dist/mjs/Analytics/Configuration/Ledger/Base.js.map +0 -1
- package/dist/mjs/Analytics/Configuration/Ledger/index.d.ts +0 -4
- package/dist/mjs/Analytics/Configuration/Ledger/index.js +0 -6
- package/dist/mjs/Analytics/Configuration/Ledger/index.js.map +0 -1
- package/dist/mjs/Analytics/Configuration/Transaction.d.ts +0 -11
- package/dist/mjs/Analytics/Configuration/Transaction.js +0 -138
- package/dist/mjs/Analytics/Configuration/Transaction.js.map +0 -1
- package/dist/mjs/Analytics/Configuration/index.d.ts +0 -13
- package/dist/mjs/Analytics/Configuration/index.js +0 -12
- package/dist/mjs/Analytics/Configuration/index.js.map +0 -1
- package/dist/mjs/Analytics/Event/AuditLog.d.ts +0 -13
- package/dist/mjs/Analytics/Event/AuditLog.js +0 -15
- package/dist/mjs/Analytics/Event/AuditLog.js.map +0 -1
- package/dist/mjs/Analytics/Event/Base.d.ts +0 -14
- package/dist/mjs/Analytics/Event/Base.js +0 -2
- package/dist/mjs/Analytics/Event/Base.js.map +0 -1
- package/dist/mjs/Analytics/Event/Ledger/Account.d.ts +0 -16
- package/dist/mjs/Analytics/Event/Ledger/Account.js +0 -17
- package/dist/mjs/Analytics/Event/Ledger/Account.js.map +0 -1
- package/dist/mjs/Analytics/Event/Ledger/Base.d.ts +0 -6
- package/dist/mjs/Analytics/Event/Ledger/Base.js +0 -2
- package/dist/mjs/Analytics/Event/Ledger/Base.js.map +0 -1
- package/dist/mjs/Analytics/Event/Ledger/Card.d.ts +0 -12
- package/dist/mjs/Analytics/Event/Ledger/Card.js +0 -17
- package/dist/mjs/Analytics/Event/Ledger/Card.js.map +0 -1
- package/dist/mjs/Analytics/Event/Ledger/Operation.d.ts +0 -13
- package/dist/mjs/Analytics/Event/Ledger/Operation.js +0 -17
- package/dist/mjs/Analytics/Event/Ledger/Operation.js.map +0 -1
- package/dist/mjs/Analytics/Event/Ledger/Organization.d.ts +0 -13
- package/dist/mjs/Analytics/Event/Ledger/Organization.js +0 -15
- package/dist/mjs/Analytics/Event/Ledger/Organization.js.map +0 -1
- package/dist/mjs/Analytics/Event/Ledger/Rule.d.ts +0 -18
- package/dist/mjs/Analytics/Event/Ledger/Rule.js +0 -22
- package/dist/mjs/Analytics/Event/Ledger/Rule.js.map +0 -1
- package/dist/mjs/Analytics/Event/Ledger/Transaction.d.ts +0 -14
- package/dist/mjs/Analytics/Event/Ledger/Transaction.js +0 -16
- package/dist/mjs/Analytics/Event/Ledger/Transaction.js.map +0 -1
- package/dist/mjs/Analytics/Event/Ledger/User.d.ts +0 -13
- package/dist/mjs/Analytics/Event/Ledger/User.js +0 -15
- package/dist/mjs/Analytics/Event/Ledger/User.js.map +0 -1
- package/dist/mjs/Analytics/Event/Ledger/index.d.ts +0 -18
- package/dist/mjs/Analytics/Event/Ledger/index.js +0 -18
- package/dist/mjs/Analytics/Event/Ledger/index.js.map +0 -1
- package/dist/mjs/Analytics/Event/index.d.ts +0 -11
- package/dist/mjs/Analytics/Event/index.js +0 -8
- package/dist/mjs/Analytics/Event/index.js.map +0 -1
- package/dist/mjs/Analytics/index.d.ts +0 -6
- package/dist/mjs/Analytics/index.js +0 -8
- package/dist/mjs/Analytics/index.js.map +0 -1
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Operation = void 0;
|
|
4
|
-
const isoly_1 = require("isoly");
|
|
5
|
-
var Operation;
|
|
6
|
-
(function (Operation) {
|
|
7
|
-
function create(value, realm, action, organization, account) {
|
|
8
|
-
return {
|
|
9
|
-
realm,
|
|
10
|
-
entity: { type: "operation", id: value.signature ?? "" },
|
|
11
|
-
organization,
|
|
12
|
-
account,
|
|
13
|
-
action,
|
|
14
|
-
created: isoly_1.isoly.DateTime.now(),
|
|
15
|
-
value,
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
Operation.create = create;
|
|
19
|
-
})(Operation || (exports.Operation = Operation = {}));
|
|
20
|
-
//# sourceMappingURL=Operation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Operation.js","sourceRoot":"","sources":["../../../../../Analytics/Event/Ledger/Operation.ts"],"names":[],"mappings":";;;AAAA,iCAA6B;AAS7B,IAAiB,SAAS,CAkBzB;AAlBD,WAAiB,SAAS;IACzB,SAAgB,MAAM,CACrB,KAAqB,EACrB,KAAY,EACZ,MAA2B,EAC3B,YAAqB,EACrB,OAAgB;QAEhB,OAAO;YACN,KAAK;YACL,MAAM,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,EAAE,KAAK,CAAC,SAAS,IAAI,EAAE,EAAE;YACxD,YAAY;YACZ,OAAO;YACP,MAAM;YACN,OAAO,EAAE,aAAK,CAAC,QAAQ,CAAC,GAAG,EAAE;YAC7B,KAAK;SACL,CAAA;IACF,CAAC;IAhBe,gBAAM,SAgBrB,CAAA;AACF,CAAC,EAlBgB,SAAS,yBAAT,SAAS,QAkBzB"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Organization as modelOrganization } from "../../../Organization";
|
|
2
|
-
import { Realm } from "../../../Realm";
|
|
3
|
-
import { Base } from "./Base";
|
|
4
|
-
export interface Organization extends Base<modelOrganization> {
|
|
5
|
-
entity: {
|
|
6
|
-
type: "organization";
|
|
7
|
-
id: string;
|
|
8
|
-
};
|
|
9
|
-
action: "created" | "updated";
|
|
10
|
-
}
|
|
11
|
-
export declare namespace Organization {
|
|
12
|
-
function create(value: modelOrganization, realm: Realm, action: Organization["action"]): Organization;
|
|
13
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Organization = void 0;
|
|
4
|
-
const isoly_1 = require("isoly");
|
|
5
|
-
var Organization;
|
|
6
|
-
(function (Organization) {
|
|
7
|
-
function create(value, realm, action) {
|
|
8
|
-
return {
|
|
9
|
-
realm,
|
|
10
|
-
entity: { type: "organization", id: value.code },
|
|
11
|
-
action,
|
|
12
|
-
created: isoly_1.isoly.DateTime.now(),
|
|
13
|
-
value,
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
Organization.create = create;
|
|
17
|
-
})(Organization || (exports.Organization = Organization = {}));
|
|
18
|
-
//# sourceMappingURL=Organization.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Organization.js","sourceRoot":"","sources":["../../../../../Analytics/Event/Ledger/Organization.ts"],"names":[],"mappings":";;;AAAA,iCAA6B;AAS7B,IAAiB,YAAY,CAU5B;AAVD,WAAiB,YAAY;IAC5B,SAAgB,MAAM,CAAC,KAAwB,EAAE,KAAY,EAAE,MAA8B;QAC5F,OAAO;YACN,KAAK;YACL,MAAM,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE,EAAE,EAAE,KAAK,CAAC,IAAI,EAAE;YAChD,MAAM;YACN,OAAO,EAAE,aAAK,CAAC,QAAQ,CAAC,GAAG,EAAE;YAC7B,KAAK;SACL,CAAA;IACF,CAAC;IARe,mBAAM,SAQrB,CAAA;AACF,CAAC,EAVgB,YAAY,4BAAZ,YAAY,QAU5B"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Realm } from "../../../Realm";
|
|
2
|
-
import { Rule as modelRule } from "../../../Rule";
|
|
3
|
-
import { Base } from "./Base";
|
|
4
|
-
export interface Rule extends Base<modelRule> {
|
|
5
|
-
entity: {
|
|
6
|
-
type: "rule";
|
|
7
|
-
id: string;
|
|
8
|
-
};
|
|
9
|
-
action: "created" | "updated" | "removed";
|
|
10
|
-
meta: {
|
|
11
|
-
ruleType: modelRule.Kind;
|
|
12
|
-
ruleCategory: modelRule.Category;
|
|
13
|
-
ruleAction: modelRule.Action;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
export declare namespace Rule {
|
|
17
|
-
function create(value: modelRule, realm: Realm, action: Rule["action"], organization?: string, account?: string): Rule;
|
|
18
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Rule = void 0;
|
|
4
|
-
const isoly_1 = require("isoly");
|
|
5
|
-
var Rule;
|
|
6
|
-
(function (Rule) {
|
|
7
|
-
function create(value, realm, action, organization, account) {
|
|
8
|
-
return {
|
|
9
|
-
realm,
|
|
10
|
-
entity: { type: "rule", id: value.code },
|
|
11
|
-
organization,
|
|
12
|
-
account,
|
|
13
|
-
action,
|
|
14
|
-
created: isoly_1.isoly.DateTime.now(),
|
|
15
|
-
meta: {
|
|
16
|
-
ruleType: value.type,
|
|
17
|
-
ruleCategory: value.category,
|
|
18
|
-
ruleAction: value.action,
|
|
19
|
-
},
|
|
20
|
-
value,
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
Rule.create = create;
|
|
24
|
-
})(Rule || (exports.Rule = Rule = {}));
|
|
25
|
-
//# sourceMappingURL=Rule.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Rule.js","sourceRoot":"","sources":["../../../../../Analytics/Event/Ledger/Rule.ts"],"names":[],"mappings":";;;AAAA,iCAA6B;AAc7B,IAAiB,IAAI,CAuBpB;AAvBD,WAAiB,IAAI;IACpB,SAAgB,MAAM,CACrB,KAAgB,EAChB,KAAY,EACZ,MAAsB,EACtB,YAAqB,EACrB,OAAgB;QAEhB,OAAO;YACN,KAAK;YACL,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,KAAK,CAAC,IAAI,EAAE;YACxC,YAAY;YACZ,OAAO;YACP,MAAM;YACN,OAAO,EAAE,aAAK,CAAC,QAAQ,CAAC,GAAG,EAAE;YAC7B,IAAI,EAAE;gBACL,QAAQ,EAAE,KAAK,CAAC,IAAI;gBACpB,YAAY,EAAE,KAAK,CAAC,QAAQ;gBAC5B,UAAU,EAAE,KAAK,CAAC,MAAM;aACxB;YACD,KAAK;SACL,CAAA;IACF,CAAC;IArBe,WAAM,SAqBrB,CAAA;AACF,CAAC,EAvBgB,IAAI,oBAAJ,IAAI,QAuBpB"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Realm } from "../../../Realm";
|
|
2
|
-
import { Transaction as modelTransaction } from "../../../Transaction";
|
|
3
|
-
import { Base } from "./Base";
|
|
4
|
-
export interface Transaction extends Base<modelTransaction> {
|
|
5
|
-
entity: {
|
|
6
|
-
type: "transaction";
|
|
7
|
-
id: string;
|
|
8
|
-
};
|
|
9
|
-
action: "created" | "finalized" | "cancelled" | "failed" | "updated";
|
|
10
|
-
isError?: true;
|
|
11
|
-
}
|
|
12
|
-
export declare namespace Transaction {
|
|
13
|
-
function create(value: modelTransaction, realm: Realm, action: Transaction["action"]): Transaction;
|
|
14
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Transaction = void 0;
|
|
4
|
-
const isoly_1 = require("isoly");
|
|
5
|
-
var Transaction;
|
|
6
|
-
(function (Transaction) {
|
|
7
|
-
function create(value, realm, action) {
|
|
8
|
-
return {
|
|
9
|
-
realm,
|
|
10
|
-
entity: { type: "transaction", id: value.id },
|
|
11
|
-
action,
|
|
12
|
-
...(action == "failed" ? { isError: true } : {}),
|
|
13
|
-
created: isoly_1.isoly.DateTime.now(),
|
|
14
|
-
value,
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
Transaction.create = create;
|
|
18
|
-
})(Transaction || (exports.Transaction = Transaction = {}));
|
|
19
|
-
//# sourceMappingURL=Transaction.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Transaction.js","sourceRoot":"","sources":["../../../../../Analytics/Event/Ledger/Transaction.ts"],"names":[],"mappings":";;;AAAA,iCAA6B;AAU7B,IAAiB,WAAW,CAW3B;AAXD,WAAiB,WAAW;IAC3B,SAAgB,MAAM,CAAC,KAAuB,EAAE,KAAY,EAAE,MAA6B;QAC1F,OAAO;YACN,KAAK;YACL,MAAM,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE;YAC7C,MAAM;YACN,GAAG,CAAC,MAAM,IAAI,QAAQ,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YAChD,OAAO,EAAE,aAAK,CAAC,QAAQ,CAAC,GAAG,EAAE;YAC7B,KAAK;SACL,CAAA;IACF,CAAC;IATe,kBAAM,SASrB,CAAA;AACF,CAAC,EAXgB,WAAW,2BAAX,WAAW,QAW3B"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { userwidgets } from "@userwidgets/model";
|
|
2
|
-
import { Realm } from "../../../Realm";
|
|
3
|
-
import { Base } from "./Base";
|
|
4
|
-
export type User = Base<userwidgets.User> & {
|
|
5
|
-
entity: {
|
|
6
|
-
type: "user";
|
|
7
|
-
id: string;
|
|
8
|
-
};
|
|
9
|
-
action: "created" | "updated" | "removed";
|
|
10
|
-
};
|
|
11
|
-
export declare namespace User {
|
|
12
|
-
function create(value: userwidgets.User, realm: Realm, action: User["action"]): User;
|
|
13
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.User = void 0;
|
|
4
|
-
const isoly_1 = require("isoly");
|
|
5
|
-
var User;
|
|
6
|
-
(function (User) {
|
|
7
|
-
function create(value, realm, action) {
|
|
8
|
-
return {
|
|
9
|
-
realm,
|
|
10
|
-
entity: { type: "user", id: value.email },
|
|
11
|
-
action,
|
|
12
|
-
created: isoly_1.isoly.DateTime.now(),
|
|
13
|
-
value,
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
User.create = create;
|
|
17
|
-
})(User || (exports.User = User = {}));
|
|
18
|
-
//# sourceMappingURL=User.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../../../../Analytics/Event/Ledger/User.ts"],"names":[],"mappings":";;;AAAA,iCAA6B;AAU7B,IAAiB,IAAI,CAUpB;AAVD,WAAiB,IAAI;IACpB,SAAgB,MAAM,CAAC,KAAuB,EAAE,KAAY,EAAE,MAAsB;QACnF,OAAO;YACN,KAAK;YACL,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,KAAK,CAAC,KAAK,EAAE;YACzC,MAAM;YACN,OAAO,EAAE,aAAK,CAAC,QAAQ,CAAC,GAAG,EAAE;YAC7B,KAAK;SACL,CAAA;IACF,CAAC;IARe,WAAM,SAQrB,CAAA;AACF,CAAC,EAVgB,IAAI,oBAAJ,IAAI,QAUpB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Account as AccountEvent } from "./Account";
|
|
2
|
-
import { Base as EventBase } from "./Base";
|
|
3
|
-
import { Card as CardEvent } from "./Card";
|
|
4
|
-
import { Operation as OperationEvent } from "./Operation";
|
|
5
|
-
import { Organization as OrganizationEvent } from "./Organization";
|
|
6
|
-
import { Rule as RuleEvent } from "./Rule";
|
|
7
|
-
import { Transaction as TransactionEvent } from "./Transaction";
|
|
8
|
-
import { User as UserEvent } from "./User";
|
|
9
|
-
export declare namespace Ledger {
|
|
10
|
-
type Base<T> = EventBase<T>;
|
|
11
|
-
export import Transaction = TransactionEvent;
|
|
12
|
-
export import Account = AccountEvent;
|
|
13
|
-
export import Organization = OrganizationEvent;
|
|
14
|
-
export import Rule = RuleEvent;
|
|
15
|
-
export import Operation = OperationEvent;
|
|
16
|
-
export import User = UserEvent;
|
|
17
|
-
export import Card = CardEvent;
|
|
18
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Ledger = void 0;
|
|
4
|
-
const Account_1 = require("./Account");
|
|
5
|
-
const Card_1 = require("./Card");
|
|
6
|
-
const Operation_1 = require("./Operation");
|
|
7
|
-
const Organization_1 = require("./Organization");
|
|
8
|
-
const Rule_1 = require("./Rule");
|
|
9
|
-
const Transaction_1 = require("./Transaction");
|
|
10
|
-
const User_1 = require("./User");
|
|
11
|
-
var Ledger;
|
|
12
|
-
(function (Ledger) {
|
|
13
|
-
Ledger.Transaction = Transaction_1.Transaction;
|
|
14
|
-
Ledger.Account = Account_1.Account;
|
|
15
|
-
Ledger.Organization = Organization_1.Organization;
|
|
16
|
-
Ledger.Rule = Rule_1.Rule;
|
|
17
|
-
Ledger.Operation = Operation_1.Operation;
|
|
18
|
-
Ledger.User = User_1.User;
|
|
19
|
-
Ledger.Card = Card_1.Card;
|
|
20
|
-
})(Ledger || (exports.Ledger = Ledger = {}));
|
|
21
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../Analytics/Event/Ledger/index.ts"],"names":[],"mappings":";;;AAAA,uCAAmD;AAEnD,iCAA0C;AAC1C,2CAAyD;AACzD,iDAAkE;AAClE,iCAA0C;AAC1C,+CAA+D;AAC/D,iCAA0C;AAE1C,IAAiB,MAAM,CAStB;AATD,WAAiB,MAAM;IAER,kBAAW,GAAG,yBAAgB,CAAA;IAC9B,cAAO,GAAG,iBAAY,CAAA;IACtB,mBAAY,GAAG,2BAAiB,CAAA;IAChC,WAAI,GAAG,WAAS,CAAA;IAChB,gBAAS,GAAG,qBAAc,CAAA;IAC1B,WAAI,GAAG,WAAS,CAAA;IAChB,WAAI,GAAG,WAAS,CAAA;AAC/B,CAAC,EATgB,MAAM,sBAAN,MAAM,QAStB"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { AuditLog as AuditLogEvent } from "./AuditLog";
|
|
2
|
-
import { Base as EventBase } from "./Base";
|
|
3
|
-
import { Ledger as EventLedger } from "./Ledger";
|
|
4
|
-
export type Event = (Event.Ledger.Transaction | Event.Ledger.Operation | Event.Ledger.Organization | Event.Ledger.Rule | Event.Ledger.Account | Event.Ledger.Card | Event.Ledger.User | Event.AuditLog) & {
|
|
5
|
-
version: string;
|
|
6
|
-
};
|
|
7
|
-
export declare namespace Event {
|
|
8
|
-
type Base<T> = EventBase<T>;
|
|
9
|
-
export import Ledger = EventLedger;
|
|
10
|
-
export import AuditLog = AuditLogEvent;
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Event = void 0;
|
|
4
|
-
const AuditLog_1 = require("./AuditLog");
|
|
5
|
-
const Ledger_1 = require("./Ledger");
|
|
6
|
-
var Event;
|
|
7
|
-
(function (Event) {
|
|
8
|
-
Event.Ledger = Ledger_1.Ledger;
|
|
9
|
-
Event.AuditLog = AuditLog_1.AuditLog;
|
|
10
|
-
})(Event || (exports.Event = Event = {}));
|
|
11
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Analytics/Event/index.ts"],"names":[],"mappings":";;;AAAA,yCAAsD;AAEtD,qCAAgD;AAYhD,IAAiB,KAAK,CAIrB;AAJD,WAAiB,KAAK;IAEP,YAAM,GAAG,eAAW,CAAA;IACpB,cAAQ,GAAG,mBAAa,CAAA;AACvC,CAAC,EAJgB,KAAK,qBAAL,KAAK,QAIrB"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Analytics = void 0;
|
|
4
|
-
const Configuration_1 = require("./Configuration");
|
|
5
|
-
const Event_1 = require("./Event");
|
|
6
|
-
var Analytics;
|
|
7
|
-
(function (Analytics) {
|
|
8
|
-
Analytics.Event = Event_1.Event;
|
|
9
|
-
Analytics.Configuration = Configuration_1.Configuration;
|
|
10
|
-
})(Analytics || (exports.Analytics = Analytics = {}));
|
|
11
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../Analytics/index.ts"],"names":[],"mappings":";;;AAAA,mDAAyE;AACzE,mCAAiD;AAEjD,IAAiB,SAAS,CAGzB;AAHD,WAAiB,SAAS;IACX,eAAK,GAAG,aAAc,CAAA;IACtB,uBAAa,GAAG,6BAAsB,CAAA;AACrD,CAAC,EAHgB,SAAS,yBAAT,SAAS,QAGzB"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { listener } from "cloudly-analytics-common";
|
|
2
|
-
export declare namespace AuditLog {
|
|
3
|
-
const mapping: {
|
|
4
|
-
readonly auditCreated: "value.created";
|
|
5
|
-
readonly resourceId: "value.resource.id";
|
|
6
|
-
readonly resourceType: "value.resource.type";
|
|
7
|
-
readonly resourceAction: "value.resource.action";
|
|
8
|
-
readonly before: {
|
|
9
|
-
readonly selector: "value.resource.before";
|
|
10
|
-
readonly transform: "stringify";
|
|
11
|
-
};
|
|
12
|
-
readonly after: {
|
|
13
|
-
readonly selector: "value.resource.after";
|
|
14
|
-
readonly transform: "stringify";
|
|
15
|
-
};
|
|
16
|
-
readonly by: "value.by";
|
|
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";
|
|
29
|
-
};
|
|
30
|
-
type Fields = keyof typeof mapping;
|
|
31
|
-
const schema: listener.BigQueryApi.BaseField<Fields>[];
|
|
32
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Base } from "./Base";
|
|
2
|
-
export var AuditLog;
|
|
3
|
-
(function (AuditLog) {
|
|
4
|
-
AuditLog.mapping = {
|
|
5
|
-
...Base.mapping,
|
|
6
|
-
auditCreated: "value.created",
|
|
7
|
-
resourceId: "value.resource.id",
|
|
8
|
-
resourceType: "value.resource.type",
|
|
9
|
-
resourceAction: "value.resource.action",
|
|
10
|
-
before: { selector: "value.resource.before", transform: "stringify" },
|
|
11
|
-
after: { selector: "value.resource.after", transform: "stringify" },
|
|
12
|
-
by: "value.by",
|
|
13
|
-
messages: "value.messages"
|
|
14
|
-
};
|
|
15
|
-
AuditLog.schema = [
|
|
16
|
-
...Base.schema,
|
|
17
|
-
{ name: "auditCreated", type: "TIMESTAMP" },
|
|
18
|
-
{ name: "resourceId", type: "STRING" },
|
|
19
|
-
{ name: "resourceType", type: "STRING" },
|
|
20
|
-
{ name: "resourceAction", type: "STRING" },
|
|
21
|
-
{ name: "before", type: "STRING" },
|
|
22
|
-
{ name: "after", type: "STRING" },
|
|
23
|
-
{ name: "by", type: "STRING" },
|
|
24
|
-
{ name: "messages", type: "STRING", mode: "REPEATED" },
|
|
25
|
-
];
|
|
26
|
-
})(AuditLog || (AuditLog = {}));
|
|
27
|
-
//# sourceMappingURL=AuditLog.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,eAAM,GAA6C;QAC/D,GAAG,IAAI,CAAC,MAAM;QACd,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,WAAW,EAAE;QAC3C,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE;QACtC,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,QAAQ,EAAE;QACxC,EAAE,IAAI,EAAE,gBAAgB,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC1C,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE;QACjC,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC9B,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE;KACtD,CAAA;AACF,CAAC,EA1BgB,QAAQ,KAAR,QAAQ,QA0BxB"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { listener } from "cloudly-analytics-common";
|
|
2
|
-
import { Event } from "../Event";
|
|
3
|
-
import type { FlattenKeys } from ".";
|
|
4
|
-
export declare namespace Base {
|
|
5
|
-
type Selectors = FlattenKeys<Required<Omit<Event.Base<any>, "value">>> | "version" | "source";
|
|
6
|
-
const mapping: {
|
|
7
|
-
readonly realm: "realm";
|
|
8
|
-
readonly entityType: "entity.type";
|
|
9
|
-
readonly entity: "entity.id";
|
|
10
|
-
readonly action: "action";
|
|
11
|
-
readonly created: "created";
|
|
12
|
-
readonly isError: {
|
|
13
|
-
readonly selector: "isError";
|
|
14
|
-
readonly transform: "boolean";
|
|
15
|
-
};
|
|
16
|
-
readonly version: "version";
|
|
17
|
-
readonly source: "source";
|
|
18
|
-
};
|
|
19
|
-
type Fields = keyof typeof mapping;
|
|
20
|
-
const schema: listener.BigQueryApi.BaseField<Fields>[];
|
|
21
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export var Base;
|
|
2
|
-
(function (Base) {
|
|
3
|
-
Base.mapping = {
|
|
4
|
-
realm: "realm",
|
|
5
|
-
entityType: "entity.type",
|
|
6
|
-
entity: "entity.id",
|
|
7
|
-
action: "action",
|
|
8
|
-
created: "created",
|
|
9
|
-
isError: { selector: "isError", transform: "boolean" },
|
|
10
|
-
version: "version",
|
|
11
|
-
source: "source",
|
|
12
|
-
};
|
|
13
|
-
Base.schema = [
|
|
14
|
-
{ name: "realm", type: "STRING" },
|
|
15
|
-
{ name: "entity", type: "STRING" },
|
|
16
|
-
{ name: "entityType", type: "STRING" },
|
|
17
|
-
{ name: "action", type: "STRING" },
|
|
18
|
-
{ name: "created", type: "TIMESTAMP" },
|
|
19
|
-
{ name: "isError", type: "BOOLEAN", mode: "NULLABLE" },
|
|
20
|
-
{ name: "source", type: "STRING" },
|
|
21
|
-
{ name: "version", type: "STRING" },
|
|
22
|
-
];
|
|
23
|
-
})(Base || (Base = {}));
|
|
24
|
-
//# sourceMappingURL=Base.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Base.js","sourceRoot":"","sources":["../../../../Analytics/Configuration/Base.ts"],"names":[],"mappings":"AAIA,MAAM,KAAW,IAAI,CA0BpB;AA1BD,WAAiB,IAAI;IAIP,YAAO,GAAG;QACtB,KAAK,EAAE,OAAO;QACd,UAAU,EAAE,aAAa;QACzB,MAAM,EAAE,WAAW;QACnB,MAAM,EAAE,QAAQ;QAChB,OAAO,EAAE,SAAS;QAClB,OAAO,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE;QACtD,OAAO,EAAE,SAAS;QAClB,MAAM,EAAE,QAAQ;KAEgD,CAAC;IAErD,WAAM,GAA6C;QAC/D,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE;QACjC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClC,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE;QACtC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,EAAE;QACtC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE;QACtD,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE;QAClC,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE;KACnC,CAAA;AACF,CAAC,EA1BgB,IAAI,KAAJ,IAAI,QA0BpB"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { listener } from "cloudly-analytics-common";
|
|
2
|
-
import { Event } from "../../Event";
|
|
3
|
-
import { FlattenKeys } from "..";
|
|
4
|
-
export declare namespace Base {
|
|
5
|
-
type Selectors = FlattenKeys<Required<Event.Ledger.Base<any>>> | "version" | "source";
|
|
6
|
-
const mapping: {
|
|
7
|
-
readonly organization: "organization";
|
|
8
|
-
readonly account: "account";
|
|
9
|
-
readonly meta: {
|
|
10
|
-
readonly selector: "meta";
|
|
11
|
-
readonly transform: "array";
|
|
12
|
-
};
|
|
13
|
-
readonly value: {
|
|
14
|
-
readonly selector: "value";
|
|
15
|
-
readonly transform: "stringify";
|
|
16
|
-
};
|
|
17
|
-
readonly realm: "realm";
|
|
18
|
-
readonly entityType: "entity.type";
|
|
19
|
-
readonly entity: "entity.id";
|
|
20
|
-
readonly action: "action";
|
|
21
|
-
readonly created: "created";
|
|
22
|
-
readonly isError: {
|
|
23
|
-
readonly selector: "isError";
|
|
24
|
-
readonly transform: "boolean";
|
|
25
|
-
};
|
|
26
|
-
readonly version: "version";
|
|
27
|
-
readonly source: "source";
|
|
28
|
-
};
|
|
29
|
-
type Fields = keyof typeof mapping;
|
|
30
|
-
const schema: listener.BigQueryApi.BaseField<Fields>[];
|
|
31
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Base as ConfigBase } from "../Base";
|
|
2
|
-
export var Base;
|
|
3
|
-
(function (Base) {
|
|
4
|
-
Base.mapping = {
|
|
5
|
-
...ConfigBase.mapping,
|
|
6
|
-
organization: "organization",
|
|
7
|
-
account: "account",
|
|
8
|
-
meta: { selector: "meta", transform: "array" },
|
|
9
|
-
value: { selector: "value", transform: "stringify" }
|
|
10
|
-
};
|
|
11
|
-
Base.schema = [
|
|
12
|
-
...ConfigBase.schema,
|
|
13
|
-
{ name: "organization", type: "STRING", mode: "NULLABLE" },
|
|
14
|
-
{ name: "account", type: "STRING", mode: "NULLABLE" },
|
|
15
|
-
{ name: "meta", type: "RECORD", mode: "REPEATED", fields: [
|
|
16
|
-
{ name: "key", type: "STRING" },
|
|
17
|
-
{ name: "value", type: "STRING" },
|
|
18
|
-
] },
|
|
19
|
-
{ name: "value", type: "STRING" }
|
|
20
|
-
];
|
|
21
|
-
})(Base || (Base = {}));
|
|
22
|
-
//# sourceMappingURL=Base.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Base.js","sourceRoot":"","sources":["../../../../../Analytics/Configuration/Ledger/Base.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,SAAS,CAAA;AAE5C,MAAM,KAAW,IAAI,CAuBpB;AAvBD,WAAiB,IAAI;IAIP,YAAO,GAAG;QACtB,GAAG,UAAU,CAAC,OAAO;QACrB,YAAY,EAAE,cAAc;QAC5B,OAAO,EAAE,SAAS;QAClB,IAAI,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE;QAC9C,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE;KAEY,CAAC;IAErD,WAAM,GAA6C;QAC/D,GAAG,UAAU,CAAC,MAAM;QACpB,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE;QAC1D,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE;QACrD,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,EAAE;gBACzD,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE;gBAC/B,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE;aACjC,EAAC;QACF,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE;KACjC,CAAA;AACF,CAAC,EAvBgB,IAAI,KAAJ,IAAI,QAuBpB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../Analytics/Configuration/Ledger/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,QAAQ,CAAA;AAE3C,MAAM,KAAW,MAAM,CAEtB;AAFD,WAAiB,MAAM;IACR,WAAI,GAAG,UAAU,CAAA;AAChC,CAAC,EAFgB,MAAM,KAAN,MAAM,QAEtB"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { filter, listener } from "cloudly-analytics-common";
|
|
2
|
-
import { Transaction as ModelTransaction } from "../../Transaction";
|
|
3
|
-
import type { FlattenKeys } from ".";
|
|
4
|
-
import { Base } from "./Base";
|
|
5
|
-
export declare namespace Transaction {
|
|
6
|
-
type Selectors = Base.Selectors | `value.${FlattenKeys<Required<ModelTransaction>>}${"[*]" | ""}`;
|
|
7
|
-
export const mapping: filter.Mapping.RecordWithSelector<Selectors>;
|
|
8
|
-
export type Fields = keyof typeof mapping;
|
|
9
|
-
export const schema: listener.BigQueryApi.BaseField<Fields>[];
|
|
10
|
-
export {};
|
|
11
|
-
}
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
import { Base } from "./Base";
|
|
2
|
-
export var Transaction;
|
|
3
|
-
(function (Transaction) {
|
|
4
|
-
Transaction.mapping = {
|
|
5
|
-
...Base.mapping,
|
|
6
|
-
counterpartType: "value.counterpart.type",
|
|
7
|
-
counterpart: { selector: "value.counterpart", transform: "stringify" },
|
|
8
|
-
counterpartCode: "value.counterpart.code",
|
|
9
|
-
currency: "value.currency",
|
|
10
|
-
amount: { selector: "value.amount.total", transform: "string" },
|
|
11
|
-
description: "value.description",
|
|
12
|
-
organization: "value.organization",
|
|
13
|
-
account: "value.accountId",
|
|
14
|
-
accountName: "value.accountName",
|
|
15
|
-
accountAddress: { selector: "value.account", transform: "stringify" },
|
|
16
|
-
accountType: "value.account.type",
|
|
17
|
-
type: "value.type",
|
|
18
|
-
direction: "value.direction",
|
|
19
|
-
id: "value.id",
|
|
20
|
-
referenceSupplier: "value.reference.supplier",
|
|
21
|
-
referenceReference: "value.reference.reference",
|
|
22
|
-
referenceReturnId: "value.reference.returnId",
|
|
23
|
-
referenceEndToEndId: "value.reference.endToEndId",
|
|
24
|
-
posted: "value.posted",
|
|
25
|
-
transacted: "value.transacted",
|
|
26
|
-
by: "value.by",
|
|
27
|
-
actualBalance: { selector: "value.balance.actual", transform: "string" },
|
|
28
|
-
reservedBalance: { selector: "value.balance.reserved", transform: "string" },
|
|
29
|
-
availableBalance: { selector: "value.balance.available", transform: "string" },
|
|
30
|
-
operations: {
|
|
31
|
-
selector: "value.operations[*]",
|
|
32
|
-
transform: {
|
|
33
|
-
account: "account",
|
|
34
|
-
currency: "currency",
|
|
35
|
-
changes: {
|
|
36
|
-
selector: "changes",
|
|
37
|
-
transform: [
|
|
38
|
-
"array",
|
|
39
|
-
{
|
|
40
|
-
key: "key",
|
|
41
|
-
value: {
|
|
42
|
-
selector: "value",
|
|
43
|
-
transform: {
|
|
44
|
-
type: "type",
|
|
45
|
-
amount: { selector: "amount", transform: "string" },
|
|
46
|
-
status: "status",
|
|
47
|
-
result: { selector: "result", transform: "string" },
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
],
|
|
52
|
-
},
|
|
53
|
-
type: "type",
|
|
54
|
-
transaction: "transaction",
|
|
55
|
-
counter: { selector: "counter", transform: "string" },
|
|
56
|
-
created: "created",
|
|
57
|
-
signature: "signature",
|
|
58
|
-
previous: "previous",
|
|
59
|
-
},
|
|
60
|
-
},
|
|
61
|
-
status: "value.status",
|
|
62
|
-
rail: "value.rail",
|
|
63
|
-
flags: "value.flags",
|
|
64
|
-
oldFlags: "value.oldFlags",
|
|
65
|
-
notes: { selector: "value.notes", transform: "stringify" },
|
|
66
|
-
risk: { selector: "value.risk", transform: "string" },
|
|
67
|
-
state: { selector: "value.state", transform: "stringify" },
|
|
68
|
-
};
|
|
69
|
-
Transaction.schema = [
|
|
70
|
-
...Base.schema,
|
|
71
|
-
{ name: "counterpartType", type: "STRING" },
|
|
72
|
-
{ name: "counterpart", type: "STRING" },
|
|
73
|
-
{ name: "counterpartCode", type: "STRING", mode: "NULLABLE" },
|
|
74
|
-
{ name: "currency", type: "STRING" },
|
|
75
|
-
{ name: "amount", type: "NUMERIC" },
|
|
76
|
-
{ name: "description", type: "STRING" },
|
|
77
|
-
{ name: "organization", type: "STRING" },
|
|
78
|
-
{ name: "account", type: "STRING" },
|
|
79
|
-
{ name: "accountName", type: "STRING", mode: "NULLABLE" },
|
|
80
|
-
{ name: "accountAddress", type: "STRING" },
|
|
81
|
-
{ name: "accountType", type: "STRING" },
|
|
82
|
-
{ name: "type", type: "STRING", mode: "NULLABLE" },
|
|
83
|
-
{ name: "direction", type: "STRING", mode: "NULLABLE" },
|
|
84
|
-
{ name: "id", type: "STRING" },
|
|
85
|
-
{ name: "referenceSupplier", type: "STRING", mode: "NULLABLE" },
|
|
86
|
-
{ name: "referenceReference", type: "STRING", mode: "NULLABLE" },
|
|
87
|
-
{ name: "referenceReturnId", type: "STRING", mode: "NULLABLE" },
|
|
88
|
-
{ name: "referenceEndToEndId", type: "STRING", mode: "NULLABLE" },
|
|
89
|
-
{ name: "posted", type: "TIMESTAMP" },
|
|
90
|
-
{ name: "transacted", type: "TIMESTAMP", mode: "NULLABLE" },
|
|
91
|
-
{ name: "by", type: "STRING", mode: "NULLABLE" },
|
|
92
|
-
{ name: "charge", type: "NUMERIC", mode: "NULLABLE" },
|
|
93
|
-
{ name: "actualBalance", type: "NUMERIC" },
|
|
94
|
-
{ name: "reservedBalance", type: "NUMERIC" },
|
|
95
|
-
{ name: "availableBalance", type: "NUMERIC" },
|
|
96
|
-
{
|
|
97
|
-
name: "operations",
|
|
98
|
-
type: "RECORD",
|
|
99
|
-
mode: "REPEATED",
|
|
100
|
-
fields: [
|
|
101
|
-
{ name: "account", type: "STRING" },
|
|
102
|
-
{ name: "currency", type: "STRING" },
|
|
103
|
-
{
|
|
104
|
-
name: "changes",
|
|
105
|
-
type: "RECORD",
|
|
106
|
-
mode: "REPEATED",
|
|
107
|
-
fields: [
|
|
108
|
-
{ name: "key", type: "STRING" },
|
|
109
|
-
{
|
|
110
|
-
name: "value",
|
|
111
|
-
type: "RECORD",
|
|
112
|
-
fields: [
|
|
113
|
-
{ name: "type", type: "STRING" },
|
|
114
|
-
{ name: "amount", type: "NUMERIC" },
|
|
115
|
-
{ name: "status", type: "STRING" },
|
|
116
|
-
{ name: "result", type: "NUMERIC", mode: "NULLABLE" },
|
|
117
|
-
],
|
|
118
|
-
},
|
|
119
|
-
],
|
|
120
|
-
},
|
|
121
|
-
{ name: "type", type: "STRING" },
|
|
122
|
-
{ name: "transaction", type: "STRING" },
|
|
123
|
-
{ name: "counter", type: "NUMERIC" },
|
|
124
|
-
{ name: "created", type: "TIMESTAMP" },
|
|
125
|
-
{ name: "signature", type: "STRING" },
|
|
126
|
-
{ name: "previous", type: "STRING" },
|
|
127
|
-
],
|
|
128
|
-
},
|
|
129
|
-
{ name: "status", type: "STRING" },
|
|
130
|
-
{ name: "rail", type: "STRING", mode: "NULLABLE" },
|
|
131
|
-
{ name: "flags", type: "STRING", mode: "REPEATED" },
|
|
132
|
-
{ name: "oldFlags", type: "STRING", mode: "REPEATED" },
|
|
133
|
-
{ name: "notes", type: "STRING" },
|
|
134
|
-
{ name: "risk", type: "NUMERIC", mode: "NULLABLE" },
|
|
135
|
-
{ name: "state", type: "STRING", mode: "NULLABLE" },
|
|
136
|
-
];
|
|
137
|
-
})(Transaction || (Transaction = {}));
|
|
138
|
-
//# sourceMappingURL=Transaction.js.map
|