@pax2pay/model-banking 0.1.612 → 0.1.614
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/Amount.ts +0 -6
- package/Card/Changeable.ts +0 -13
- package/Card/Creatable.ts +0 -28
- package/Card/Expiry.ts +0 -14
- package/Card/Operation/Authorization.ts +1 -13
- package/Card/Operation/Card.ts +0 -14
- package/Card/Operation/index.ts +0 -5
- package/Card/Preset.ts +0 -5
- package/Card/Restriction/Merchant.ts +0 -2
- package/Card/Restriction/index.ts +0 -8
- package/Card/Restriction/merchants/Merchant.ts +2 -2
- package/Card/Scheme.ts +0 -5
- package/Card/index.ts +0 -37
- package/Client/Transactions/index.ts +0 -21
- package/Rail/index.ts +0 -2
- package/Realm.ts +0 -5
- package/Rule/Base.ts +0 -26
- package/Rule/Other.ts +0 -6
- package/Rule/type.ts +0 -5
- package/Treasury/Snapshot/Reconciliation.ts +4 -0
- package/Treasury/Snapshot/index.ts +3 -1
- package/Warning/Snapshot/Reconciliation.ts +20 -0
- package/Warning/Snapshot/index.ts +15 -9
- package/dist/cjs/Amount.d.ts +0 -2
- package/dist/cjs/Amount.js +0 -3
- package/dist/cjs/Amount.js.map +1 -1
- package/dist/cjs/Card/Changeable.d.ts +0 -2
- package/dist/cjs/Card/Changeable.js +0 -13
- package/dist/cjs/Card/Changeable.js.map +1 -1
- package/dist/cjs/Card/Creatable.d.ts +0 -2
- package/dist/cjs/Card/Creatable.js +0 -28
- package/dist/cjs/Card/Creatable.js.map +1 -1
- package/dist/cjs/Card/Expiry.d.ts +0 -2
- package/dist/cjs/Card/Expiry.js +0 -11
- package/dist/cjs/Card/Expiry.js.map +1 -1
- package/dist/cjs/Card/Operation/Authorization.d.ts +0 -2
- package/dist/cjs/Card/Operation/Authorization.js +0 -12
- package/dist/cjs/Card/Operation/Authorization.js.map +1 -1
- package/dist/cjs/Card/Operation/Card.d.ts +0 -2
- package/dist/cjs/Card/Operation/Card.js +0 -14
- package/dist/cjs/Card/Operation/Card.js.map +1 -1
- package/dist/cjs/Card/Operation/index.d.ts +0 -2
- package/dist/cjs/Card/Operation/index.js +0 -5
- package/dist/cjs/Card/Operation/index.js.map +1 -1
- package/dist/cjs/Card/Preset.d.ts +0 -2
- package/dist/cjs/Card/Preset.js +0 -5
- package/dist/cjs/Card/Preset.js.map +1 -1
- package/dist/cjs/Card/Restriction/Merchant.d.ts +0 -2
- package/dist/cjs/Card/Restriction/Merchant.js +0 -2
- package/dist/cjs/Card/Restriction/Merchant.js.map +1 -1
- package/dist/cjs/Card/Restriction/index.d.ts +0 -2
- package/dist/cjs/Card/Restriction/index.js +0 -8
- package/dist/cjs/Card/Restriction/index.js.map +1 -1
- package/dist/cjs/Card/Restriction/merchants/Merchant.d.ts +1 -2
- package/dist/cjs/Card/Restriction/merchants/Merchant.js +8 -8
- package/dist/cjs/Card/Restriction/merchants/Merchant.js.map +1 -1
- package/dist/cjs/Card/Scheme.d.ts +0 -2
- package/dist/cjs/Card/Scheme.js +0 -5
- package/dist/cjs/Card/Scheme.js.map +1 -1
- package/dist/cjs/Card/index.d.ts +0 -2
- package/dist/cjs/Card/index.js +0 -38
- package/dist/cjs/Card/index.js.map +1 -1
- package/dist/cjs/Client/Transactions/index.d.ts +0 -16
- package/dist/cjs/Client/Transactions/index.js +0 -27
- package/dist/cjs/Client/Transactions/index.js.map +1 -1
- package/dist/cjs/Rail/index.d.ts +0 -2
- package/dist/cjs/Rail/index.js +0 -2
- package/dist/cjs/Rail/index.js.map +1 -1
- package/dist/cjs/Realm.d.ts +0 -2
- package/dist/cjs/Realm.js +0 -5
- package/dist/cjs/Realm.js.map +1 -1
- package/dist/cjs/Rule/Base.d.ts +0 -4
- package/dist/cjs/Rule/Base.js +0 -26
- package/dist/cjs/Rule/Base.js.map +1 -1
- package/dist/cjs/Rule/Other.d.ts +0 -3
- package/dist/cjs/Rule/Other.js +0 -6
- package/dist/cjs/Rule/Other.js.map +1 -1
- package/dist/cjs/Rule/type.js.map +1 -1
- package/dist/cjs/Treasury/Snapshot/Reconciliation.d.ts +4 -0
- package/dist/cjs/Treasury/Snapshot/Reconciliation.js +3 -0
- package/dist/cjs/Treasury/Snapshot/Reconciliation.js.map +1 -0
- package/dist/cjs/Treasury/Snapshot/index.d.ts +3 -0
- package/dist/cjs/Treasury/Snapshot/index.js.map +1 -1
- package/dist/cjs/Warning/Snapshot/Reconciliation.d.ts +15 -0
- package/dist/cjs/Warning/Snapshot/Reconciliation.js +16 -0
- package/dist/cjs/Warning/Snapshot/Reconciliation.js.map +1 -0
- package/dist/cjs/Warning/Snapshot/index.d.ts +6 -4
- package/dist/cjs/Warning/Snapshot/index.js +6 -4
- package/dist/cjs/Warning/Snapshot/index.js.map +1 -1
- package/dist/cjs/Warning/index.d.ts +1 -1
- package/dist/mjs/Amount.d.ts +0 -2
- package/dist/mjs/Amount.js +0 -3
- package/dist/mjs/Amount.js.map +1 -1
- package/dist/mjs/Card/Changeable.d.ts +0 -2
- package/dist/mjs/Card/Changeable.js +0 -13
- package/dist/mjs/Card/Changeable.js.map +1 -1
- package/dist/mjs/Card/Creatable.d.ts +0 -2
- package/dist/mjs/Card/Creatable.js +0 -28
- package/dist/mjs/Card/Creatable.js.map +1 -1
- package/dist/mjs/Card/Expiry.d.ts +0 -2
- package/dist/mjs/Card/Expiry.js +0 -11
- package/dist/mjs/Card/Expiry.js.map +1 -1
- package/dist/mjs/Card/Operation/Authorization.d.ts +0 -2
- package/dist/mjs/Card/Operation/Authorization.js +0 -12
- package/dist/mjs/Card/Operation/Authorization.js.map +1 -1
- package/dist/mjs/Card/Operation/Card.d.ts +0 -2
- package/dist/mjs/Card/Operation/Card.js +0 -14
- package/dist/mjs/Card/Operation/Card.js.map +1 -1
- package/dist/mjs/Card/Operation/index.d.ts +0 -2
- package/dist/mjs/Card/Operation/index.js +0 -5
- package/dist/mjs/Card/Operation/index.js.map +1 -1
- package/dist/mjs/Card/Preset.d.ts +0 -2
- package/dist/mjs/Card/Preset.js +0 -5
- package/dist/mjs/Card/Preset.js.map +1 -1
- package/dist/mjs/Card/Restriction/Merchant.d.ts +0 -2
- package/dist/mjs/Card/Restriction/Merchant.js +0 -2
- package/dist/mjs/Card/Restriction/Merchant.js.map +1 -1
- package/dist/mjs/Card/Restriction/index.d.ts +0 -2
- package/dist/mjs/Card/Restriction/index.js +0 -8
- package/dist/mjs/Card/Restriction/index.js.map +1 -1
- package/dist/mjs/Card/Restriction/merchants/Merchant.d.ts +1 -2
- package/dist/mjs/Card/Restriction/merchants/Merchant.js +2 -2
- package/dist/mjs/Card/Restriction/merchants/Merchant.js.map +1 -1
- package/dist/mjs/Card/Scheme.d.ts +0 -2
- package/dist/mjs/Card/Scheme.js +0 -5
- package/dist/mjs/Card/Scheme.js.map +1 -1
- package/dist/mjs/Card/index.d.ts +0 -2
- package/dist/mjs/Card/index.js +0 -38
- package/dist/mjs/Card/index.js.map +1 -1
- package/dist/mjs/Client/Transactions/index.d.ts +0 -16
- package/dist/mjs/Client/Transactions/index.js +0 -27
- package/dist/mjs/Client/Transactions/index.js.map +1 -1
- package/dist/mjs/Rail/index.d.ts +0 -2
- package/dist/mjs/Rail/index.js +0 -2
- package/dist/mjs/Rail/index.js.map +1 -1
- package/dist/mjs/Realm.d.ts +0 -2
- package/dist/mjs/Realm.js +0 -5
- package/dist/mjs/Realm.js.map +1 -1
- package/dist/mjs/Rule/Base.d.ts +0 -4
- package/dist/mjs/Rule/Base.js +0 -26
- package/dist/mjs/Rule/Base.js.map +1 -1
- package/dist/mjs/Rule/Other.d.ts +0 -3
- package/dist/mjs/Rule/Other.js +0 -6
- package/dist/mjs/Rule/Other.js.map +1 -1
- package/dist/mjs/Rule/type.js.map +1 -1
- package/dist/mjs/Treasury/Snapshot/Reconciliation.d.ts +4 -0
- package/dist/mjs/Treasury/Snapshot/Reconciliation.js +2 -0
- package/dist/mjs/Treasury/Snapshot/Reconciliation.js.map +1 -0
- package/dist/mjs/Treasury/Snapshot/index.d.ts +3 -0
- package/dist/mjs/Treasury/Snapshot/index.js.map +1 -1
- package/dist/mjs/Warning/Snapshot/Reconciliation.d.ts +15 -0
- package/dist/mjs/Warning/Snapshot/Reconciliation.js +13 -0
- package/dist/mjs/Warning/Snapshot/Reconciliation.js.map +1 -0
- package/dist/mjs/Warning/Snapshot/index.d.ts +6 -4
- package/dist/mjs/Warning/Snapshot/index.js +6 -4
- package/dist/mjs/Warning/Snapshot/index.js.map +1 -1
- package/dist/mjs/Warning/index.d.ts +1 -1
- package/package.json +1 -6
|
@@ -2,9 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Transactions = void 0;
|
|
4
4
|
const cloudly_http_1 = require("cloudly-http");
|
|
5
|
-
const isly2_1 = require("isly2");
|
|
6
|
-
const Rail_1 = require("../../Rail");
|
|
7
|
-
const Transaction_1 = require("../../Transaction");
|
|
8
5
|
const Notes_1 = require("./Notes");
|
|
9
6
|
class Transactions {
|
|
10
7
|
client;
|
|
@@ -39,28 +36,4 @@ class Transactions {
|
|
|
39
36
|
}
|
|
40
37
|
}
|
|
41
38
|
exports.Transactions = Transactions;
|
|
42
|
-
(function (Transactions) {
|
|
43
|
-
let Query;
|
|
44
|
-
(function (Query) {
|
|
45
|
-
Query.type = isly2_1.isly.object({
|
|
46
|
-
id: isly2_1.isly.string().optional(),
|
|
47
|
-
account: isly2_1.isly.string().optional(),
|
|
48
|
-
limit: isly2_1.isly.number().optional(),
|
|
49
|
-
cursor: isly2_1.isly.string().optional(),
|
|
50
|
-
start: isly2_1.isly.string().optional(),
|
|
51
|
-
end: isly2_1.isly.string().optional(),
|
|
52
|
-
currency: isly2_1.isly.string().optional(),
|
|
53
|
-
organization: isly2_1.isly.string().optional(),
|
|
54
|
-
rail: Rail_1.Rail.type2.optional(),
|
|
55
|
-
type: isly2_1.isly.string("value", ...Transaction_1.Transaction.types).optional(),
|
|
56
|
-
});
|
|
57
|
-
function parse(query) {
|
|
58
|
-
if (typeof query == "string") {
|
|
59
|
-
query = query ? cloudly_http_1.http.Search.parse(query.replace("?", "")) : {};
|
|
60
|
-
}
|
|
61
|
-
return Query.type.prune(query) ?? {};
|
|
62
|
-
}
|
|
63
|
-
Query.parse = parse;
|
|
64
|
-
})(Query = Transactions.Query || (Transactions.Query = {}));
|
|
65
|
-
})(Transactions || (exports.Transactions = Transactions = {}));
|
|
66
39
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Client/Transactions/index.ts"],"names":[],"mappings":";;;AAEA,+CAAmC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Client/Transactions/index.ts"],"names":[],"mappings":";;;AAEA,+CAAmC;AAOnC,mCAA+B;AAE/B,MAAa,YAAY;IAEK;IADpB,KAAK,CAAO;IACrB,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;QAC/C,IAAI,CAAC,KAAK,GAAG,IAAI,aAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;IACpC,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,OAAe,EAAE,WAAkC;QAC/D,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAc,YAAY,OAAO,cAAc,EAAE,WAAW,CAAC,CAAA;IACrF,CAAC;IACD,KAAK,CAAC,IAAI,CAAC,OAAqC;QAC/C,MAAM,KAAK,GAAG,CAAC,OAAO;YACrB,CAAC,CAAC,SAAS;YACX,CAAC,CAAC,OAAO,OAAO,IAAI,QAAQ;gBAC3B,CAAC,CAAC,OAAO;gBACT,CAAC,CAAC,mBAAI,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE,GAAG,OAAO,EAAE,UAAU,EAAE,OAAO,CAAC,UAAU,EAAE,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;QACpF,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAC3B,cAAc,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,CAC3C,CAAA;IACF,CAAC;IACD,KAAK,CAAC,KAAK,CAAC,WAAmB,EAAE,OAAgB;QAChD,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CACrB,OAAO,CAAC,CAAC,CAAC,YAAY,OAAO,gBAAgB,WAAW,EAAE,CAAC,CAAC,CAAC,gBAAgB,WAAW,EAAE,CAC1F,CAAA;IACF,CAAC;IACD,KAAK,CAAC,aAAa,CAAC,aAAqB;QACxC,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAc,gBAAgB,aAAa,YAAY,CAAC,CAAA;IAC/E,CAAC;IACD,KAAK,CAAC,QAAQ,CAAC,aAAqB;QACnC,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAa,gBAAgB,aAAa,QAAQ,CAAC,CAAA;IAC1E,CAAC;IACD,KAAK,CAAC,UAAU,CACf,KAAsB,EACtB,OAAwF;QAExF,MAAM,KAAK,GAAG,GAAG,GAAG,mBAAI,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE,GAAG,OAAO,EAAE,GAAG,KAAK,EAAE,CAAC,CAAA;QACnE,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAyB,0BAA0B,KAAK,EAAE,CAAC,CAAA;IAClF,CAAC;CACD;AArCD,oCAqCC"}
|
package/dist/cjs/Rail/index.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { isly } from "isly";
|
|
2
|
-
import { isly as isly2 } from "isly2";
|
|
3
2
|
import { Address as RailAddress } from "./Address";
|
|
4
3
|
export type Rail = (typeof Rail.rails)[number];
|
|
5
4
|
export declare namespace Rail {
|
|
6
5
|
const rails: readonly ["internal", "paxgiro", "paxgiro-credit", "mastercard", "diners", "visa", "fasterpayments", "chaps", "bacs", "transfer", "credit"];
|
|
7
6
|
const type: isly.Type<"paxgiro" | "mastercard" | "diners" | "visa" | "internal" | "transfer" | "paxgiro-credit" | "fasterpayments" | "chaps" | "bacs" | "credit">;
|
|
8
|
-
const type2: isly2.String<"paxgiro" | "mastercard" | "diners" | "visa" | "internal" | "transfer" | "paxgiro-credit" | "fasterpayments" | "chaps" | "bacs" | "credit">;
|
|
9
7
|
export import Address = RailAddress;
|
|
10
8
|
}
|
package/dist/cjs/Rail/index.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Rail = void 0;
|
|
4
4
|
const isly_1 = require("isly");
|
|
5
|
-
const isly2_1 = require("isly2");
|
|
6
5
|
const Address_1 = require("./Address");
|
|
7
6
|
var Rail;
|
|
8
7
|
(function (Rail) {
|
|
@@ -20,7 +19,6 @@ var Rail;
|
|
|
20
19
|
"credit",
|
|
21
20
|
];
|
|
22
21
|
Rail.type = isly_1.isly.string(Rail.rails);
|
|
23
|
-
Rail.type2 = isly2_1.isly.string("value", ...Rail.rails);
|
|
24
22
|
Rail.Address = Address_1.Address;
|
|
25
23
|
})(Rail || (exports.Rail = Rail = {}));
|
|
26
24
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../Rail/index.ts"],"names":[],"mappings":";;;AAAA,+BAA2B;AAC3B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../Rail/index.ts"],"names":[],"mappings":";;;AAAA,+BAA2B;AAC3B,uCAAkD;AAGlD,IAAiB,IAAI,CAgBpB;AAhBD,WAAiB,IAAI;IACP,UAAK,GAAG;QACpB,UAAU;QACV,SAAS;QACT,gBAAgB;QAChB,YAAY;QACZ,QAAQ;QACR,MAAM;QACN,gBAAgB;QAChB,OAAO;QACP,MAAM;QACN,UAAU;QACV,QAAQ;KACC,CAAA;IACG,SAAI,GAAG,WAAI,CAAC,MAAM,CAAO,KAAA,KAAK,CAAC,CAAA;IAC9B,YAAO,GAAG,iBAAW,CAAA;AACpC,CAAC,EAhBgB,IAAI,oBAAJ,IAAI,QAgBpB"}
|
package/dist/cjs/Realm.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { isoly } from "isoly";
|
|
2
2
|
import { isly } from "isly";
|
|
3
|
-
import { isly as isly2 } from "isly2";
|
|
4
3
|
import { Supplier as modelSupplier } from "./Supplier";
|
|
5
4
|
import { zod } from "./zod";
|
|
6
5
|
export type Realm = zod.infer<typeof Realm.typeZod>;
|
|
@@ -12,7 +11,6 @@ export declare namespace Realm {
|
|
|
12
11
|
uk: "uk";
|
|
13
12
|
eea: "eea";
|
|
14
13
|
}>;
|
|
15
|
-
const type2: isly2.String<"test" | "uk" | "eea">;
|
|
16
14
|
function toString(): string;
|
|
17
15
|
const currency: Record<Realm, isoly.Currency>;
|
|
18
16
|
const suppliers: Record<Realm, modelSupplier[]>;
|
package/dist/cjs/Realm.js
CHANGED
|
@@ -2,17 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Realm = void 0;
|
|
4
4
|
const isly_1 = require("isly");
|
|
5
|
-
const isly2_1 = require("isly2");
|
|
6
5
|
const zod_1 = require("./zod");
|
|
7
6
|
var Realm;
|
|
8
7
|
(function (Realm) {
|
|
9
8
|
Realm.realms = ["test", "uk", "eea"];
|
|
10
9
|
Realm.type = isly_1.isly.string(Realm.realms);
|
|
11
10
|
Realm.typeZod = zod_1.zod.enum(Realm.realms);
|
|
12
|
-
Realm.type2 = isly2_1.isly
|
|
13
|
-
.string("value", ...Realm.realms)
|
|
14
|
-
.rename("Realm")
|
|
15
|
-
.describe("Financial jurisdiction.");
|
|
16
11
|
function toString() {
|
|
17
12
|
return Realm.realms.toString().replaceAll(",", ", ") + ".";
|
|
18
13
|
}
|
package/dist/cjs/Realm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Realm.js","sourceRoot":"","sources":["../../Realm.ts"],"names":[],"mappings":";;;AACA,+BAA2B;
|
|
1
|
+
{"version":3,"file":"Realm.js","sourceRoot":"","sources":["../../Realm.ts"],"names":[],"mappings":";;;AACA,+BAA2B;AAE3B,+BAA2B;AAI3B,IAAiB,KAAK,CAwBrB;AAxBD,WAAiB,KAAK;IACR,YAAM,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,KAAK,CAAU,CAAA;IACvC,UAAI,GAAG,WAAI,CAAC,MAAM,CAAQ,MAAA,MAAM,CAAC,CAAA;IACjC,aAAO,GAAG,SAAG,CAAC,IAAI,CAAC,MAAA,MAAM,CAAC,CAAA;IACvC,SAAgB,QAAQ;QACvB,OAAO,MAAA,MAAM,CAAC,QAAQ,EAAE,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,GAAG,CAAA;IACrD,CAAC;IAFe,cAAQ,WAEvB,CAAA;IACY,cAAQ,GAAkC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,CAAA;IAChF,eAAS,GAAmC;QACxD,IAAI,EAAE,CAAC,SAAS,EAAE,eAAe,CAAC;QAClC,EAAE,EAAE,CAAC,WAAW,EAAE,eAAe,CAAC;QAClC,GAAG,EAAE,EAAE;KACP,CAAA;IAOD,IAAiB,QAAQ,CAIxB;IAJD,WAAiB,QAAQ;QACxB,SAAgB,EAAE,CAAC,KAAY,EAAE,QAA6B;YAC7D,OAAO,MAAA,SAAS,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;QAC3C,CAAC;QAFe,WAAE,KAEjB,CAAA;IACF,CAAC,EAJgB,QAAQ,GAAR,cAAQ,KAAR,cAAQ,QAIxB;AACF,CAAC,EAxBgB,KAAK,qBAAL,KAAK,QAwBrB"}
|
package/dist/cjs/Rule/Base.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { isly } from "isly";
|
|
2
|
-
import { isly as isly2 } from "isly2";
|
|
3
2
|
import { Preset } from "../Card/Preset";
|
|
4
3
|
export interface Base {
|
|
5
4
|
code: string;
|
|
@@ -17,15 +16,12 @@ export declare namespace Base {
|
|
|
17
16
|
namespace Kind {
|
|
18
17
|
const values: readonly ["authorization", "outbound", "inbound", "capture", "refund"];
|
|
19
18
|
const type: isly.Type<"authorization" | "outbound" | "inbound" | "capture" | "refund">;
|
|
20
|
-
const type2: isly2.String<"authorization" | "outbound" | "inbound" | "capture" | "refund">;
|
|
21
19
|
function is(kind: Kind, rule: Base, groups: string[] | undefined, preset: Preset | undefined): boolean;
|
|
22
20
|
}
|
|
23
21
|
type Category = (typeof Category.values)[number];
|
|
24
22
|
namespace Category {
|
|
25
23
|
const values: readonly ["fincrime", "product", "customer"];
|
|
26
24
|
const type: isly.Type<"fincrime" | "product" | "customer">;
|
|
27
|
-
const type2: isly2.String<"fincrime" | "product" | "customer">;
|
|
28
25
|
}
|
|
29
26
|
const type: import("isly/dist/cjs/object").IslyObject<Base, object>;
|
|
30
|
-
const type2: isly2.Object<Base>;
|
|
31
27
|
}
|
package/dist/cjs/Rule/Base.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Base = void 0;
|
|
4
4
|
const isly_1 = require("isly");
|
|
5
|
-
const isly2_1 = require("isly2");
|
|
6
5
|
const Preset_1 = require("../Card/Preset");
|
|
7
6
|
var Base;
|
|
8
7
|
(function (Base) {
|
|
@@ -10,10 +9,6 @@ var Base;
|
|
|
10
9
|
(function (Kind) {
|
|
11
10
|
Kind.values = ["authorization", "outbound", "inbound", "capture", "refund"];
|
|
12
11
|
Kind.type = isly_1.isly.string(Kind.values);
|
|
13
|
-
Kind.type2 = isly2_1.isly
|
|
14
|
-
.string("value", ...Kind.values)
|
|
15
|
-
.rename("Kind")
|
|
16
|
-
.describe("The type of the rule.");
|
|
17
12
|
function is(kind, rule, groups, preset) {
|
|
18
13
|
const applyRuleForGroup = !rule.groups || rule.groups.some(ruleGroup => groups?.some(organizationGroup => organizationGroup == ruleGroup));
|
|
19
14
|
const applyRuleForPreset = !rule.presets || rule.presets.some(rulePreset => preset == rulePreset);
|
|
@@ -25,10 +20,6 @@ var Base;
|
|
|
25
20
|
(function (Category) {
|
|
26
21
|
Category.values = ["fincrime", "product", "customer"];
|
|
27
22
|
Category.type = isly_1.isly.string(Category.values);
|
|
28
|
-
Category.type2 = isly2_1.isly
|
|
29
|
-
.string("value", ...Category.values)
|
|
30
|
-
.rename("Category")
|
|
31
|
-
.describe("The category of the rule.");
|
|
32
23
|
})(Category = Base.Category || (Base.Category = {}));
|
|
33
24
|
Base.type = isly_1.isly.object({
|
|
34
25
|
code: isly_1.isly.string(/^[a-z0-9\-_]+$/),
|
|
@@ -41,22 +32,5 @@ var Base;
|
|
|
41
32
|
groups: isly_1.isly.string().array().optional(),
|
|
42
33
|
presets: Preset_1.Preset.type.array().optional(),
|
|
43
34
|
});
|
|
44
|
-
Base.type2 = isly2_1.isly.object({
|
|
45
|
-
code: isly2_1.isly
|
|
46
|
-
.string("value", /^[a-z0-9\-_]+$/)
|
|
47
|
-
.rename("Code")
|
|
48
|
-
.describe("The unique identifier of the rule."),
|
|
49
|
-
name: isly2_1.isly.string().rename("Name").describe("The name of the rule."),
|
|
50
|
-
description: isly2_1.isly.string().rename("Description").describe("The description of the rule."),
|
|
51
|
-
type: Kind.type2,
|
|
52
|
-
category: Category.type2,
|
|
53
|
-
condition: isly2_1.isly
|
|
54
|
-
.string()
|
|
55
|
-
.rename("Condition")
|
|
56
|
-
.describe("The condition to evaluate, determines if the action is applied or not."),
|
|
57
|
-
flags: isly2_1.isly.string().array().rename("Flags").describe("The flags to set when the rule is applied."),
|
|
58
|
-
groups: isly2_1.isly.string().array().optional().rename("Groups").describe("The groups the rule applies to."),
|
|
59
|
-
presets: Preset_1.Preset.type2.array().optional().rename("Presets").describe("The presets the rule applies to."),
|
|
60
|
-
});
|
|
61
35
|
})(Base || (exports.Base = Base = {}));
|
|
62
36
|
//# sourceMappingURL=Base.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Base.js","sourceRoot":"","sources":["../../../Rule/Base.ts"],"names":[],"mappings":";;;AAAA,+BAA2B;AAC3B,
|
|
1
|
+
{"version":3,"file":"Base.js","sourceRoot":"","sources":["../../../Rule/Base.ts"],"names":[],"mappings":";;;AAAA,+BAA2B;AAC3B,2CAAuC;AAavC,IAAiB,IAAI,CA4BpB;AA5BD,WAAiB,IAAI;IAEpB,IAAiB,IAAI,CASpB;IATD,WAAiB,IAAI;QACP,WAAM,GAAG,CAAC,eAAe,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,CAAU,CAAA;QAC/E,SAAI,GAAG,WAAI,CAAC,MAAM,CAAO,KAAA,MAAM,CAAC,CAAA;QAC7C,SAAgB,EAAE,CAAC,IAAU,EAAE,IAAU,EAAE,MAA4B,EAAE,MAA0B;YAClG,MAAM,iBAAiB,GACtB,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,IAAI,CAAC,iBAAiB,CAAC,EAAE,CAAC,iBAAiB,IAAI,SAAS,CAAC,CAAC,CAAA;YACjH,MAAM,kBAAkB,GAAG,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC,MAAM,IAAI,UAAU,CAAC,CAAA;YACjG,OAAO,IAAI,IAAI,IAAI,CAAC,IAAI,IAAI,iBAAiB,IAAI,kBAAkB,CAAA;QACpE,CAAC;QALe,OAAE,KAKjB,CAAA;IACF,CAAC,EATgB,IAAI,GAAJ,SAAI,KAAJ,SAAI,QASpB;IAED,IAAiB,QAAQ,CAGxB;IAHD,WAAiB,QAAQ;QACX,eAAM,GAAG,CAAC,UAAU,EAAE,SAAS,EAAE,UAAU,CAAU,CAAA;QACrD,aAAI,GAAG,WAAI,CAAC,MAAM,CAAW,SAAA,MAAM,CAAC,CAAA;IAClD,CAAC,EAHgB,QAAQ,GAAR,aAAQ,KAAR,aAAQ,QAGxB;IACY,SAAI,GAAG,WAAI,CAAC,MAAM,CAAO;QACrC,IAAI,EAAE,WAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC;QACnC,IAAI,EAAE,WAAI,CAAC,MAAM,EAAE;QACnB,WAAW,EAAE,WAAI,CAAC,MAAM,EAAE;QAC1B,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,QAAQ,EAAE,QAAQ,CAAC,IAAI;QACvB,SAAS,EAAE,WAAI,CAAC,MAAM,EAAE;QACxB,KAAK,EAAE,WAAI,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE;QAC5B,MAAM,EAAE,WAAI,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;QACxC,OAAO,EAAE,eAAM,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;KACvC,CAAC,CAAA;AACH,CAAC,EA5BgB,IAAI,oBAAJ,IAAI,QA4BpB"}
|
package/dist/cjs/Rule/Other.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { isly } from "isly";
|
|
2
|
-
import { isly as isly2 } from "isly2";
|
|
3
2
|
import type { Note } from "../Transaction/Note";
|
|
4
3
|
import { Base } from "./Base";
|
|
5
4
|
import type { State } from "./State";
|
|
@@ -11,10 +10,8 @@ export declare namespace Other {
|
|
|
11
10
|
namespace Action {
|
|
12
11
|
const values: readonly ["review", "reject", "flag"];
|
|
13
12
|
const type: isly.Type<"reject" | "review" | "flag">;
|
|
14
|
-
const type2: isly2.String<"reject" | "review" | "flag">;
|
|
15
13
|
}
|
|
16
14
|
const type: import("isly/dist/cjs/object").IslyObject<Other, Base>;
|
|
17
|
-
const type2: isly2.Object<Other>;
|
|
18
15
|
function evaluate(rules: Other[], state: State): {
|
|
19
16
|
outcomes: Record<Other.Action, Other[]>;
|
|
20
17
|
notes: Note[];
|
package/dist/cjs/Rule/Other.js
CHANGED
|
@@ -3,7 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Other = void 0;
|
|
4
4
|
const isoly_1 = require("isoly");
|
|
5
5
|
const isly_1 = require("isly");
|
|
6
|
-
const isly2_1 = require("isly2");
|
|
7
6
|
const Base_1 = require("./Base");
|
|
8
7
|
const control_1 = require("./control");
|
|
9
8
|
var Other;
|
|
@@ -12,13 +11,8 @@ var Other;
|
|
|
12
11
|
(function (Action) {
|
|
13
12
|
Action.values = ["review", "reject", "flag"];
|
|
14
13
|
Action.type = isly_1.isly.string(Action.values);
|
|
15
|
-
Action.type2 = isly2_1.isly
|
|
16
|
-
.string("value", ...Action.values)
|
|
17
|
-
.rename("Action")
|
|
18
|
-
.describe("The action to take when the rule is applied.");
|
|
19
14
|
})(Action = Other.Action || (Other.Action = {}));
|
|
20
15
|
Other.type = Base_1.Base.type.extend({ action: Action.type });
|
|
21
|
-
Other.type2 = Base_1.Base.type2.extend({ action: Action.type2 });
|
|
22
16
|
function evaluate(rules, state) {
|
|
23
17
|
const now = isoly_1.isoly.DateTime.now();
|
|
24
18
|
const result = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Other.js","sourceRoot":"","sources":["../../../Rule/Other.ts"],"names":[],"mappings":";;;AAAA,iCAA6B;AAC7B,+BAA2B;
|
|
1
|
+
{"version":3,"file":"Other.js","sourceRoot":"","sources":["../../../Rule/Other.ts"],"names":[],"mappings":";;;AAAA,iCAA6B;AAC7B,+BAA2B;AAE3B,iCAA6B;AAC7B,uCAAmC;AAMnC,IAAiB,KAAK,CAoCrB;AApCD,WAAiB,KAAK;IAErB,IAAiB,MAAM,CAGtB;IAHD,WAAiB,MAAM;QACT,aAAM,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAU,CAAA;QAC9C,WAAI,GAAG,WAAI,CAAC,MAAM,CAAS,OAAA,MAAM,CAAC,CAAA;IAChD,CAAC,EAHgB,MAAM,GAAN,YAAM,KAAN,YAAM,QAGtB;IACY,UAAI,GAAG,WAAI,CAAC,IAAI,CAAC,MAAM,CAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,IAAI,EAAE,CAAC,CAAA;IACpE,SAAgB,QAAQ,CACvB,KAAc,EACd,KAAY;QAEZ,MAAM,GAAG,GAAG,aAAK,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAA;QAChC,MAAM,MAAM,GAAgC;YAC3C,QAAQ,EAAE;gBACT,MAAM,EAAE,EAAE;gBACV,MAAM,EAAE,EAAE;gBACV,IAAI,EAAE,EAAE;aACR;YACD,KAAK,EAAE,EAAE;YACT,KAAK,EAAE,IAAI,GAAG,EAAU;SACxB,CAAA;QACD,IACC,KAAK,CAAC,WAAW,CAAC,KAAK,IAAI,UAAU;YACrC,CAAC,MAAM,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,IAAI,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,EAC5E,CAAC;YACF,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;gBAC1B,IAAI,IAAA,iBAAO,EAAC,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC;oBAC1B,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;oBACvC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAA;oBAC/E,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAA;oBAC5C,IAAI,CAAC,MAAM,IAAI,QAAQ,IAAI,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAA;gBACtD,CAAC;YACF,CAAC;QACF,CAAC;QACD,OAAO,MAAM,CAAA;IACd,CAAC;IA5Be,cAAQ,WA4BvB,CAAA;AACF,CAAC,EApCgB,KAAK,qBAAL,KAAK,QAoCrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../Rule/type.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../Rule/type.ts"],"names":[],"mappings":";;;AAAA,mCAA+B;AAElB,QAAA,IAAI,GAAG,aAAK,CAAC,IAAI,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Reconciliation.js","sourceRoot":"","sources":["../../../../Treasury/Snapshot/Reconciliation.ts"],"names":[],"mappings":""}
|
|
@@ -7,10 +7,12 @@ import { Account as SnapshotAccount } from "./Account";
|
|
|
7
7
|
import { Emoney as SnapshotEmoney } from "./Emoney";
|
|
8
8
|
import { Fiat as SnapshotFiat } from "./Fiat";
|
|
9
9
|
import { funding as snapshotFunding } from "./funding";
|
|
10
|
+
import { Reconciliation as SnapshotReconciliation } from "./Reconciliation";
|
|
10
11
|
export interface Snapshot {
|
|
11
12
|
warnings: Warning.Snapshot[];
|
|
12
13
|
emoney: Balance.Extended & {
|
|
13
14
|
total?: number;
|
|
15
|
+
reconciliation?: Snapshot.Reconciliation;
|
|
14
16
|
};
|
|
15
17
|
currency: isoly.Currency;
|
|
16
18
|
supplier: Supplier;
|
|
@@ -26,6 +28,7 @@ export interface Snapshot {
|
|
|
26
28
|
}
|
|
27
29
|
export declare namespace Snapshot {
|
|
28
30
|
export import funding = snapshotFunding;
|
|
31
|
+
type Reconciliation = SnapshotReconciliation;
|
|
29
32
|
type Emoney = SnapshotEmoney;
|
|
30
33
|
type Fiat = SnapshotFiat;
|
|
31
34
|
export import Account = SnapshotAccount;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Treasury/Snapshot/index.ts"],"names":[],"mappings":";;;AAAA,iCAA6B;AAC7B,+BAA2B;AAC3B,2CAAuC;AACvC,6CAAyC;AACzC,mDAA+C;AAC/C,2CAAuC;AACvC,uCAAsD;AAGtD,uCAAsD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Treasury/Snapshot/index.ts"],"names":[],"mappings":";;;AAAA,iCAA6B;AAC7B,+BAA2B;AAC3B,2CAAuC;AACvC,6CAAyC;AACzC,mDAA+C;AAC/C,2CAAuC;AACvC,uCAAsD;AAGtD,uCAAsD;AAkBtD,IAAiB,QAAQ,CA0BxB;AA1BD,WAAiB,QAAQ;IACV,gBAAO,GAAG,iBAAe,CAAA;IAIzB,gBAAO,GAAG,iBAAe,CAAA;IACvC,SAAgB,QAAQ,CAAC,QAAkB;QAC1C,MAAM,QAAQ,GAAG,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAA;QACpC,MAAM,MAAM,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,IAAI,CAAC,CAAA;QAC1C,OAAO,QAAQ,IAAI,MAAM,CAAA;IAC1B,CAAC;IAJe,iBAAQ,WAIvB,CAAA;IACY,aAAI,GAAG,WAAI,CAAC,MAAM,CAAW;QACzC,QAAQ,EAAE,iBAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,EAAE;QACvC,MAAM,EAAE,iBAAO,CAAC,QAAQ;QACxB,QAAQ,EAAE,WAAI,CAAC,MAAM,CAAC,UAAU,EAAE,aAAK,CAAC,QAAQ,CAAC,EAAE,CAAC;QACpD,QAAQ,EAAE,mBAAQ,CAAC,IAAI;QACvB,IAAI,EAAE,WAAI,CAAC,MAAM,CAAC;YACjB,IAAI,EAAE,WAAI,CAAC,MAAM,EAAE;YACnB,MAAM,EAAE,WAAI,CAAC,MAAM,EAAE;YACrB,KAAK,EAAE,WAAI,CAAC,MAAM,EAAE;YACpB,KAAK,EAAE,WAAI,CAAC,MAAM,EAAE;YACpB,MAAM,EAAE,WAAI,CAAC,MAAM,EAAE;YACrB,QAAQ,EAAE,SAAA,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE;SAC9B,CAAC;QACF,KAAK,EAAE,yBAAW,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE;KACpC,CAAC,CAAA;AACH,CAAC,EA1BgB,QAAQ,wBAAR,QAAQ,QA0BxB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { isoly } from "isoly";
|
|
2
|
+
import { Base } from "../Base";
|
|
3
|
+
export interface Reconciliation extends Base {
|
|
4
|
+
type: "reconciliation";
|
|
5
|
+
severity?: "high";
|
|
6
|
+
delta: {
|
|
7
|
+
account: number;
|
|
8
|
+
operation: number;
|
|
9
|
+
};
|
|
10
|
+
currency: isoly.Currency;
|
|
11
|
+
account: string;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace Reconciliation {
|
|
14
|
+
const type: import("isly/dist/cjs/object").IslyObject<Reconciliation, Base>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Reconciliation = void 0;
|
|
4
|
+
const isly_1 = require("isly");
|
|
5
|
+
const Base_1 = require("../Base");
|
|
6
|
+
var Reconciliation;
|
|
7
|
+
(function (Reconciliation) {
|
|
8
|
+
Reconciliation.type = Base_1.Base.type.extend({
|
|
9
|
+
type: isly_1.isly.string("reconciliation"),
|
|
10
|
+
severity: isly_1.isly.string(["high"]).optional(),
|
|
11
|
+
currency: isly_1.isly.string(),
|
|
12
|
+
delta: isly_1.isly.object({ account: isly_1.isly.number(), operation: isly_1.isly.number() }),
|
|
13
|
+
account: isly_1.isly.string(),
|
|
14
|
+
});
|
|
15
|
+
})(Reconciliation || (exports.Reconciliation = Reconciliation = {}));
|
|
16
|
+
//# sourceMappingURL=Reconciliation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Reconciliation.js","sourceRoot":"","sources":["../../../../Warning/Snapshot/Reconciliation.ts"],"names":[],"mappings":";;;AACA,+BAA2B;AAC3B,kCAA8B;AAS9B,IAAiB,cAAc,CAQ9B;AARD,WAAiB,cAAc;IACjB,mBAAI,GAAG,WAAI,CAAC,IAAI,CAAC,MAAM,CAAiB;QACpD,IAAI,EAAE,WAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC;QACnC,QAAQ,EAAE,WAAI,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,EAAE;QAC1C,QAAQ,EAAE,WAAI,CAAC,MAAM,EAAE;QACvB,KAAK,EAAE,WAAI,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,WAAI,CAAC,MAAM,EAAE,EAAE,SAAS,EAAE,WAAI,CAAC,MAAM,EAAE,EAAE,CAAC;QACxE,OAAO,EAAE,WAAI,CAAC,MAAM,EAAE;KACtB,CAAC,CAAA;AACH,CAAC,EARgB,cAAc,8BAAd,cAAc,QAQ9B"}
|
|
@@ -5,15 +5,17 @@ import { MissingEmoney as WarningMissingEmoney } from "./MissingEmoney";
|
|
|
5
5
|
import { MissingFiat as WarningMissingFiat } from "./MissingFiat";
|
|
6
6
|
import { MissingTransaction as WarningMissingTransaction } from "./MissingTransaction";
|
|
7
7
|
import { Overdraft as WarningOverdraft } from "./Overdraft";
|
|
8
|
+
import { Reconciliation as WarningReconciliation } from "./Reconciliation";
|
|
8
9
|
import { StaleFiat as WarningStaleFiat } from "./StaleFiat";
|
|
9
|
-
export type Snapshot = Snapshot.
|
|
10
|
+
export type Snapshot = Snapshot.DeltaFiat | Snapshot.MissingBuffer | Snapshot.MissingEmoney | Snapshot.MissingFiat | Snapshot.MissingTransaction | Snapshot.Overdraft | Snapshot.Reconciliation | Snapshot.StaleFiat;
|
|
10
11
|
export declare namespace Snapshot {
|
|
11
|
-
export import
|
|
12
|
-
export import StaleFiat = WarningStaleFiat;
|
|
12
|
+
export import DeltaFiat = WarningDeltaFiat;
|
|
13
13
|
export import MissingBuffer = WarningMissingBuffer;
|
|
14
14
|
export import MissingEmoney = WarningMissingEmoney;
|
|
15
15
|
export import MissingFiat = WarningMissingFiat;
|
|
16
16
|
export import MissingTransaction = WarningMissingTransaction;
|
|
17
|
-
export import
|
|
17
|
+
export import Overdraft = WarningOverdraft;
|
|
18
|
+
export import Reconciliation = WarningReconciliation;
|
|
19
|
+
export import StaleFiat = WarningStaleFiat;
|
|
18
20
|
const type: isly.Type<Snapshot>;
|
|
19
21
|
}
|
|
@@ -8,16 +8,18 @@ const MissingEmoney_1 = require("./MissingEmoney");
|
|
|
8
8
|
const MissingFiat_1 = require("./MissingFiat");
|
|
9
9
|
const MissingTransaction_1 = require("./MissingTransaction");
|
|
10
10
|
const Overdraft_1 = require("./Overdraft");
|
|
11
|
+
const Reconciliation_1 = require("./Reconciliation");
|
|
11
12
|
const StaleFiat_1 = require("./StaleFiat");
|
|
12
13
|
var Snapshot;
|
|
13
14
|
(function (Snapshot) {
|
|
14
|
-
Snapshot.
|
|
15
|
-
Snapshot.StaleFiat = StaleFiat_1.StaleFiat;
|
|
15
|
+
Snapshot.DeltaFiat = DeltaFiat_1.DeltaFiat;
|
|
16
16
|
Snapshot.MissingBuffer = MissingBuffer_1.MissingBuffer;
|
|
17
17
|
Snapshot.MissingEmoney = MissingEmoney_1.MissingEmoney;
|
|
18
18
|
Snapshot.MissingFiat = MissingFiat_1.MissingFiat;
|
|
19
19
|
Snapshot.MissingTransaction = MissingTransaction_1.MissingTransaction;
|
|
20
|
-
Snapshot.
|
|
21
|
-
Snapshot.
|
|
20
|
+
Snapshot.Overdraft = Overdraft_1.Overdraft;
|
|
21
|
+
Snapshot.Reconciliation = Reconciliation_1.Reconciliation;
|
|
22
|
+
Snapshot.StaleFiat = StaleFiat_1.StaleFiat;
|
|
23
|
+
Snapshot.type = isly_1.isly.union(Snapshot.DeltaFiat.type, Snapshot.MissingBuffer.type, Snapshot.MissingEmoney.type, Snapshot.MissingFiat.type, Snapshot.MissingTransaction.type, Snapshot.Overdraft.type, Snapshot.Reconciliation.type, Snapshot.StaleFiat.type);
|
|
22
24
|
})(Snapshot || (exports.Snapshot = Snapshot = {}));
|
|
23
25
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Warning/Snapshot/index.ts"],"names":[],"mappings":";;;AAAA,+BAA2B;AAC3B,2CAA2D;AAC3D,mDAAuE;AACvE,mDAAuE;AACvE,+CAAiE;AACjE,6DAAsF;AACtF,2CAA2D;AAC3D,2CAA2D;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Warning/Snapshot/index.ts"],"names":[],"mappings":";;;AAAA,+BAA2B;AAC3B,2CAA2D;AAC3D,mDAAuE;AACvE,mDAAuE;AACvE,+CAAiE;AACjE,6DAAsF;AACtF,2CAA2D;AAC3D,qDAA0E;AAC1E,2CAA2D;AAY3D,IAAiB,QAAQ,CAoBxB;AApBD,WAAiB,QAAQ;IACV,kBAAS,GAAG,qBAAgB,CAAA;IAC5B,sBAAa,GAAG,6BAAoB,CAAA;IACpC,sBAAa,GAAG,6BAAoB,CAAA;IACpC,oBAAW,GAAG,yBAAkB,CAAA;IAChC,2BAAkB,GAAG,uCAAyB,CAAA;IAC9C,kBAAS,GAAG,qBAAgB,CAAA;IAC5B,uBAAc,GAAG,+BAAqB,CAAA;IACtC,kBAAS,GAAG,qBAAgB,CAAA;IAE7B,aAAI,GAAG,WAAI,CAAC,KAAK,CAC7B,SAAA,SAAS,CAAC,IAAI,EACd,SAAA,aAAa,CAAC,IAAI,EAClB,SAAA,aAAa,CAAC,IAAI,EAClB,SAAA,WAAW,CAAC,IAAI,EAChB,SAAA,kBAAkB,CAAC,IAAI,EACvB,SAAA,SAAS,CAAC,IAAI,EACd,SAAA,cAAc,CAAC,IAAI,EACnB,SAAA,SAAS,CAAC,IAAI,CACd,CAAA;AACF,CAAC,EApBgB,QAAQ,wBAAR,QAAQ,QAoBxB"}
|
|
@@ -11,7 +11,7 @@ export declare namespace Warning {
|
|
|
11
11
|
export import Issue = WarningIssue;
|
|
12
12
|
namespace Type {
|
|
13
13
|
type Snapshot = WarningSnapshot["type"];
|
|
14
|
-
const Snapshot: isly.Type<"overdraft" | "delta-fiat" | "missing-buffer" | "missing-emoney" | "missing-fiat" | "missing-transaction" | "stale-fiat">;
|
|
14
|
+
const Snapshot: isly.Type<"overdraft" | "delta-fiat" | "missing-buffer" | "missing-emoney" | "missing-fiat" | "missing-transaction" | "reconciliation" | "stale-fiat">;
|
|
15
15
|
type Settlement = WarningSettlement["type"];
|
|
16
16
|
const Settlement: isly.Type<"missing-file" | "negative-amount" | "unknown-entry">;
|
|
17
17
|
}
|
package/dist/mjs/Amount.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { isoly } from "isoly";
|
|
2
2
|
import { isly } from "isly";
|
|
3
|
-
import { isly as isly2 } from "isly2";
|
|
4
3
|
import { Amounts } from "./Amounts";
|
|
5
4
|
export type Amount = [isoly.Currency, number];
|
|
6
5
|
export declare namespace Amount {
|
|
7
6
|
function toAmounts(amount?: Amount): Amounts;
|
|
8
7
|
const type: isly.Type<Amount>;
|
|
9
|
-
const type2: isly2.Tuple<Amount>;
|
|
10
8
|
}
|
package/dist/mjs/Amount.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { isoly } from "isoly";
|
|
2
|
-
import { isoly as isoly2 } from "isoly2";
|
|
3
2
|
import { isly } from "isly";
|
|
4
|
-
import { isly as isly2 } from "isly2";
|
|
5
3
|
export var Amount;
|
|
6
4
|
(function (Amount) {
|
|
7
5
|
function toAmounts(amount) {
|
|
@@ -9,6 +7,5 @@ export var Amount;
|
|
|
9
7
|
}
|
|
10
8
|
Amount.toAmounts = toAmounts;
|
|
11
9
|
Amount.type = isly.tuple(isly.string(isoly.Currency.values), isly.number());
|
|
12
|
-
Amount.type2 = isly2.tuple(isoly2.Currency.type, isly2.number().rename("Amount").describe("Amount in a specified currency."));
|
|
13
10
|
})(Amount || (Amount = {}));
|
|
14
11
|
//# sourceMappingURL=Amount.js.map
|
package/dist/mjs/Amount.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Amount.js","sourceRoot":"","sources":["../../Amount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Amount.js","sourceRoot":"","sources":["../../Amount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAK3B,MAAM,KAAW,MAAM,CAKtB;AALD,WAAiB,MAAM;IACtB,SAAgB,SAAS,CAAC,MAAe;QACxC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,WAAW,CAAS,CAAC,MAAM,CAAC,CAAC,CAAA;IAC3D,CAAC;IAFe,gBAAS,YAExB,CAAA;IACY,WAAI,GAAG,IAAI,CAAC,KAAK,CAAS,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,CAAA;AAC1F,CAAC,EALgB,MAAM,KAAN,MAAM,QAKtB"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { isly as isly2 } from "isly2";
|
|
2
1
|
import { Amount } from "../Amount";
|
|
3
2
|
import { Meta } from "./Meta";
|
|
4
3
|
export type Changeable = {
|
|
@@ -7,5 +6,4 @@ export type Changeable = {
|
|
|
7
6
|
};
|
|
8
7
|
export declare namespace Changeable {
|
|
9
8
|
const type: import("isly/dist/cjs/object").IslyObject<Changeable, object>;
|
|
10
|
-
const type2: isly2.Object<Changeable>;
|
|
11
9
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { isoly } from "isoly";
|
|
2
|
-
import { isoly as isoly2 } from "isoly2";
|
|
3
2
|
import { isly } from "isly";
|
|
4
|
-
import { isly as isly2 } from "isly2";
|
|
5
3
|
import { Meta } from "./Meta";
|
|
6
4
|
export var Changeable;
|
|
7
5
|
(function (Changeable) {
|
|
@@ -9,16 +7,5 @@ export var Changeable;
|
|
|
9
7
|
limit: isly.tuple(isly.fromIs("isoly.Currency", isoly.Currency.is), isly.number()).optional(),
|
|
10
8
|
meta: isly.fromIs("Card.Meta", Meta.is).optional(),
|
|
11
9
|
});
|
|
12
|
-
Changeable.type2 = isly2
|
|
13
|
-
.object({
|
|
14
|
-
limit: isly2
|
|
15
|
-
.tuple(isoly2.Currency.type, isly2.number())
|
|
16
|
-
.optional()
|
|
17
|
-
.rename("Limit")
|
|
18
|
-
.describe("The new limit of the card."),
|
|
19
|
-
meta: isly2.from("Card.Meta", Meta.is).optional().rename("Meta").describe("The new meta data of the card."),
|
|
20
|
-
})
|
|
21
|
-
.rename("Changeable")
|
|
22
|
-
.describe("Changeable card properties.");
|
|
23
10
|
})(Changeable || (Changeable = {}));
|
|
24
11
|
//# sourceMappingURL=Changeable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Changeable.js","sourceRoot":"","sources":["../../../Card/Changeable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Changeable.js","sourceRoot":"","sources":["../../../Card/Changeable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAE3B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAO7B,MAAM,KAAW,UAAU,CAK1B;AALD,WAAiB,UAAU;IACb,eAAI,GAAG,IAAI,CAAC,MAAM,CAAa;QAC3C,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;QAC7F,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;KAClD,CAAC,CAAA;AACH,CAAC,EALgB,UAAU,KAAV,UAAU,QAK1B"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { isoly } from "isoly";
|
|
2
|
-
import { isly as isly2 } from "isly2";
|
|
3
2
|
import { Amount } from "../Amount";
|
|
4
3
|
import type { Rule } from "../Rule";
|
|
5
4
|
import { Expiry } from "./Expiry";
|
|
@@ -24,5 +23,4 @@ export interface Creatable {
|
|
|
24
23
|
}
|
|
25
24
|
export declare namespace Creatable {
|
|
26
25
|
const type: import("isly/dist/cjs/object").IslyObject<Creatable, object>;
|
|
27
|
-
const type2: isly2.Object<Creatable>;
|
|
28
26
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { isoly } from "isoly";
|
|
2
|
-
import { isoly as isoly2 } from "isoly2";
|
|
3
2
|
import { isly } from "isly";
|
|
4
|
-
import { isly as isly2 } from "isly2";
|
|
5
3
|
import { type as ruleType } from "../Rule/type";
|
|
6
4
|
import { Expiry } from "./Expiry";
|
|
7
5
|
import { Meta } from "./Meta";
|
|
@@ -20,31 +18,5 @@ export var Creatable;
|
|
|
20
18
|
key: isly.string().optional(),
|
|
21
19
|
restricted: isly.object({ to: Restriction.type.optional() }).optional(),
|
|
22
20
|
});
|
|
23
|
-
Creatable.type2 = isly2.object({
|
|
24
|
-
account: isly2.string().rename("Account").describe("The account id the card was created on."),
|
|
25
|
-
number: isly2.string().optional().rename("Number").describe("The card identifier of the user of the api."),
|
|
26
|
-
preset: Preset.type2,
|
|
27
|
-
details: isly2
|
|
28
|
-
.object({ expiry: Expiry.type2, holder: isly2.string() })
|
|
29
|
-
.rename("Details")
|
|
30
|
-
.describe("The card details, the information that will be displayed on the card."),
|
|
31
|
-
limit: isly2
|
|
32
|
-
.tuple(isoly2.Currency.type, isly2.number().rename("Amount").describe("Amount in a specified currency."))
|
|
33
|
-
.rename("Limit")
|
|
34
|
-
.describe("Maximum amount that can be spent on the card."),
|
|
35
|
-
rules: isly2
|
|
36
|
-
.from("Rule", ruleType.is)
|
|
37
|
-
.array()
|
|
38
|
-
.optional()
|
|
39
|
-
.rename("Rules")
|
|
40
|
-
.describe("Card rules that applies to authorizations made with the card."),
|
|
41
|
-
meta: isly2.from("Meta", Meta.is).optional(),
|
|
42
|
-
key: isly2.string().optional(),
|
|
43
|
-
restricted: isly2
|
|
44
|
-
.object({ to: Restriction.type2.optional() })
|
|
45
|
-
.optional()
|
|
46
|
-
.rename("Restrictions")
|
|
47
|
-
.describe("Set of restrictions that apply to the card."),
|
|
48
|
-
});
|
|
49
21
|
})(Creatable || (Creatable = {}));
|
|
50
22
|
//# sourceMappingURL=Creatable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Creatable.js","sourceRoot":"","sources":["../../../Card/Creatable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Creatable.js","sourceRoot":"","sources":["../../../Card/Creatable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAG3B,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,cAAc,CAAA;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAiB3C,MAAM,KAAW,SAAS,CAYzB;AAZD,WAAiB,SAAS;IACZ,cAAI,GAAG,IAAI,CAAC,MAAM,CAAY;QAC1C,OAAO,EAAE,IAAI,CAAC,MAAM,EAAE;QACtB,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAChC,MAAM,EAAE,MAAM,CAAC,IAAI;QACnB,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC;QACpE,KAAK,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC;QAClF,KAAK,EAAE,QAAQ,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;QAClC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;QAClD,GAAG,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC7B,UAAU,EAAE,IAAI,CAAC,MAAM,CAAoC,EAAE,EAAE,EAAE,WAAW,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,QAAQ,EAAE;KAC1G,CAAC,CAAA;AACH,CAAC,EAZgB,SAAS,KAAT,SAAS,QAYzB"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { isoly } from "isoly";
|
|
2
2
|
import { isly } from "isly";
|
|
3
|
-
import { isly as isly2 } from "isly2";
|
|
4
3
|
declare const year: readonly [23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40];
|
|
5
4
|
type Year = (typeof year)[number];
|
|
6
5
|
declare const month: readonly [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
|
|
@@ -8,7 +7,6 @@ type Month = (typeof month)[number];
|
|
|
8
7
|
export type Expiry = [Year, Month];
|
|
9
8
|
export declare namespace Expiry {
|
|
10
9
|
const type: isly.Type<Expiry>;
|
|
11
|
-
const type2: isly2.Tuple<Expiry>;
|
|
12
10
|
function toDateTime(expiry: Expiry): isoly.DateTime;
|
|
13
11
|
function isExpired(expiry: Expiry): boolean;
|
|
14
12
|
}
|
package/dist/mjs/Card/Expiry.js
CHANGED
|
@@ -1,21 +1,10 @@
|
|
|
1
1
|
import { isoly } from "isoly";
|
|
2
2
|
import { isly } from "isly";
|
|
3
|
-
import { isly as isly2 } from "isly2";
|
|
4
3
|
const year = [23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40];
|
|
5
4
|
const month = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];
|
|
6
5
|
export var Expiry;
|
|
7
6
|
(function (Expiry) {
|
|
8
7
|
Expiry.type = isly.tuple(isly.number([...year]), isly.number([...month]));
|
|
9
|
-
Expiry.type2 = isly2
|
|
10
|
-
.tuple(isly2
|
|
11
|
-
.number("value", ...year)
|
|
12
|
-
.rename("Year")
|
|
13
|
-
.describe("Year of expiry."), isly2
|
|
14
|
-
.number("value", ...month)
|
|
15
|
-
.rename("Month")
|
|
16
|
-
.describe("Month of expiry."))
|
|
17
|
-
.rename("Expiry")
|
|
18
|
-
.describe("The year and month the card is valid ([yy, mm]).");
|
|
19
8
|
function toDateTime(expiry) {
|
|
20
9
|
return isoly.DateTime.nextMonth("20" + expiry[0].toString() + "-" + expiry[1].toString().padStart(2, "0") + "-01T00:00:01.000Z");
|
|
21
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Expiry.js","sourceRoot":"","sources":["../../../Card/Expiry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"Expiry.js","sourceRoot":"","sources":["../../../Card/Expiry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAE3B,MAAM,IAAI,GAAG,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAU,CAAA;AAG9F,MAAM,KAAK,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,CAAU,CAAA;AAI9D,MAAM,KAAW,MAAM,CAetB;AAfD,WAAiB,MAAM;IACT,WAAI,GAAG,IAAI,CAAC,KAAK,CAAS,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAA;IACvF,SAAgB,UAAU,CAAC,MAAc;QACxC,OAAO,KAAK,CAAC,QAAQ,CAAC,SAAS,CAC9B,IAAI,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,GAAG,GAAG,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,GAAG,mBAAmB,CAC/F,CAAA;IACF,CAAC;IAJe,iBAAU,aAIzB,CAAA;IACD,SAAgB,SAAS,CAAC,MAAc;QACvC,MAAM,GAAG,GAAG,KAAK,CAAC,QAAQ,CAAC,GAAG,EAAE,CAAA;QAChC,MAAM,UAAU,GAAG,IAAI,GAAG,MAAM,CAAC,CAAC,CAAC,CAAA;QACnC,OAAO,CACN,UAAU,GAAG,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC;YACxC,CAAC,UAAU,IAAI,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CACvF,CAAA;IACF,CAAC;IAPe,gBAAS,YAOxB,CAAA;AACF,CAAC,EAfgB,MAAM,KAAN,MAAM,QAetB"}
|