@pax2pay/model-banking 0.1.147 → 0.1.149
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/Card/Preset.ts +8 -0
- package/Card/Stack.ts +1 -1
- package/Transaction/Creatable.ts +0 -4
- package/Transaction/Incoming.ts +9 -19
- package/Transaction/index.ts +9 -8
- package/dist/Card/Preset.d.ts +2 -0
- package/dist/Card/Preset.js +7 -0
- package/dist/Card/Preset.js.map +1 -1
- package/dist/Card/Stack.d.ts +3 -3
- package/dist/Card/Stack.js +1 -1
- package/dist/Card/Stack.js.map +1 -1
- package/dist/CounterBalances/Counterbalance.d.ts +5 -5
- package/dist/CounterBalances/index.d.ts +2 -2
- package/dist/Operation/Changes.d.ts +2 -2
- package/dist/Transaction/Creatable.d.ts +0 -2
- package/dist/Transaction/Creatable.js +0 -2
- package/dist/Transaction/Creatable.js.map +1 -1
- package/dist/Transaction/Incoming.d.ts +5 -7
- package/dist/Transaction/Incoming.js +10 -12
- package/dist/Transaction/Incoming.js.map +1 -1
- package/dist/Transaction/index.d.ts +2 -6
- package/dist/Transaction/index.js +7 -7
- package/dist/Transaction/index.js.map +1 -1
- package/package.json +1 -1
package/Card/Preset.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { isly } from "isly"
|
|
2
|
+
import { Stack } from "./Stack"
|
|
2
3
|
|
|
3
4
|
export type Preset = typeof Preset.names[number]
|
|
4
5
|
|
|
@@ -8,4 +9,11 @@ export namespace Preset {
|
|
|
8
9
|
export const type = isly.string(names)
|
|
9
10
|
export const is = type.is
|
|
10
11
|
export const flaw = type.flaw
|
|
12
|
+
export const presets: Record<Preset, Stack> = {
|
|
13
|
+
"p2p-mc-200": "uk-tpl-marqeta",
|
|
14
|
+
"test-mc-200": "testUK-marqeta",
|
|
15
|
+
"test-pg-200": "test-paxgiro",
|
|
16
|
+
"test-ta-mc-200": "test-tpl-paxgiro",
|
|
17
|
+
"test-ta-pg-200": "test-tpl-paxgiro",
|
|
18
|
+
}
|
|
11
19
|
}
|
package/Card/Stack.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { isly } from "isly"
|
|
|
3
3
|
export type Stack = typeof Stack.stacks[number]
|
|
4
4
|
|
|
5
5
|
export namespace Stack {
|
|
6
|
-
export const stacks = ["test-paxgiro", "test-tpl-paxgiro", "uk-tpl-marqeta"] as const
|
|
6
|
+
export const stacks = ["test-paxgiro", "test-tpl-paxgiro", "testUK-marqeta", "uk-tpl-marqeta"] as const
|
|
7
7
|
export const type = isly.string(stacks)
|
|
8
8
|
export const is = type.is
|
|
9
9
|
export const flaw = type.flaw
|
package/Transaction/Creatable.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { isoly } from "isoly"
|
|
2
2
|
import { isly } from "isly"
|
|
3
|
-
import { Operation } from "../Operation"
|
|
4
3
|
import { Rail } from "../Rail"
|
|
5
4
|
|
|
6
5
|
export interface Creatable {
|
|
@@ -8,16 +7,13 @@ export interface Creatable {
|
|
|
8
7
|
currency: isoly.Currency
|
|
9
8
|
amount: number
|
|
10
9
|
description: string
|
|
11
|
-
operations?: Operation.Creatable[]
|
|
12
10
|
}
|
|
13
|
-
|
|
14
11
|
export namespace Creatable {
|
|
15
12
|
export const type = isly.object<Creatable>({
|
|
16
13
|
counterpart: isly.fromIs("Rail", Rail.is),
|
|
17
14
|
currency: isly.fromIs("isoly.Currency", isoly.Currency.is),
|
|
18
15
|
amount: isly.number(),
|
|
19
16
|
description: isly.string(),
|
|
20
|
-
operations: isly.array(isly.fromIs("Operation.Creatable", Operation.Creatable.is)).optional(),
|
|
21
17
|
})
|
|
22
18
|
export const is = type.is
|
|
23
19
|
export const flaw = type.flaw
|
package/Transaction/Incoming.ts
CHANGED
|
@@ -1,29 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { isly } from "isly"
|
|
2
2
|
import { Rail } from "../Rail"
|
|
3
3
|
import { Creatable as TransactionCreatable } from "./Creatable"
|
|
4
4
|
import { Reference as TransactionReference } from "./Reference"
|
|
5
5
|
|
|
6
6
|
export interface Incoming extends TransactionCreatable {
|
|
7
7
|
account: Rail
|
|
8
|
-
counterpart: Rail
|
|
9
|
-
currency: isoly.Currency
|
|
10
|
-
amount: number
|
|
11
|
-
reference?: TransactionReference
|
|
12
8
|
posted: string
|
|
13
|
-
|
|
9
|
+
reference?: TransactionReference
|
|
14
10
|
}
|
|
15
|
-
|
|
16
11
|
export namespace Incoming {
|
|
17
|
-
export
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
typeof value.amount == "number" &&
|
|
25
|
-
typeof value.posted == "string" &&
|
|
26
|
-
typeof value.description == "string"
|
|
27
|
-
)
|
|
28
|
-
}
|
|
12
|
+
export const type = TransactionCreatable.type.extend<Incoming>({
|
|
13
|
+
account: isly.fromIs("Rail", Rail.is),
|
|
14
|
+
posted: isly.string(),
|
|
15
|
+
reference: TransactionReference.type.optional(),
|
|
16
|
+
})
|
|
17
|
+
export const is = type.is
|
|
18
|
+
export const flaw = type.flaw
|
|
29
19
|
}
|
package/Transaction/index.ts
CHANGED
|
@@ -24,7 +24,6 @@ export interface Transaction extends Transaction.Creatable {
|
|
|
24
24
|
oldFlags: string[]
|
|
25
25
|
notes: Transaction.Note[]
|
|
26
26
|
}
|
|
27
|
-
|
|
28
27
|
export namespace Transaction {
|
|
29
28
|
export type Creatable = TransactionCreatable
|
|
30
29
|
export const Creatable = TransactionCreatable
|
|
@@ -44,15 +43,15 @@ export namespace Transaction {
|
|
|
44
43
|
accountId: isly.string(),
|
|
45
44
|
account: isly.fromIs("Rail", Rail.is),
|
|
46
45
|
id: isly.fromIs("cryptly.Identifier", cryptly.Identifier.is).readonly(),
|
|
47
|
-
reference:
|
|
46
|
+
reference: Reference.type.readonly().optional(),
|
|
48
47
|
posted: isly.string(),
|
|
49
48
|
transacted: isly.string().optional(),
|
|
50
49
|
balance: isly.number(),
|
|
51
|
-
operations:
|
|
50
|
+
operations: Operation.type.array(),
|
|
52
51
|
status: Status.type,
|
|
53
52
|
flags: isly.array(isly.string() || "review"),
|
|
54
53
|
oldFlags: isly.string().array(),
|
|
55
|
-
notes:
|
|
54
|
+
notes: Note.type.array(),
|
|
56
55
|
})
|
|
57
56
|
export const is = type.is
|
|
58
57
|
export const flaw = type.flaw
|
|
@@ -61,7 +60,8 @@ export namespace Transaction {
|
|
|
61
60
|
organization: string,
|
|
62
61
|
accountId: string,
|
|
63
62
|
account: Rail,
|
|
64
|
-
transaction: Creatable
|
|
63
|
+
transaction: Creatable,
|
|
64
|
+
operations: Operation.Creatable[],
|
|
65
65
|
result: number
|
|
66
66
|
): Transaction {
|
|
67
67
|
const id = cryptly.Identifier.generate(8)
|
|
@@ -78,7 +78,7 @@ export namespace Transaction {
|
|
|
78
78
|
posted: timestamp,
|
|
79
79
|
balance: result,
|
|
80
80
|
...transaction,
|
|
81
|
-
operations:
|
|
81
|
+
operations: operations.map(o => Operation.fromCreatable(id, o)),
|
|
82
82
|
status: "created",
|
|
83
83
|
flags: [],
|
|
84
84
|
oldFlags: [],
|
|
@@ -88,7 +88,8 @@ export namespace Transaction {
|
|
|
88
88
|
export function fromIncoming(
|
|
89
89
|
organization: string,
|
|
90
90
|
accountId: string,
|
|
91
|
-
transaction: Incoming
|
|
91
|
+
transaction: Incoming,
|
|
92
|
+
operations: Operation.Creatable[],
|
|
92
93
|
result: number
|
|
93
94
|
): Transaction {
|
|
94
95
|
const id = cryptly.Identifier.generate(8)
|
|
@@ -102,7 +103,7 @@ export namespace Transaction {
|
|
|
102
103
|
id: id,
|
|
103
104
|
balance: result,
|
|
104
105
|
...transaction,
|
|
105
|
-
operations:
|
|
106
|
+
operations: operations.map(o => Operation.fromCreatable(id, o)),
|
|
106
107
|
status: "created",
|
|
107
108
|
flags: [],
|
|
108
109
|
oldFlags: [],
|
package/dist/Card/Preset.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { isly } from "isly";
|
|
2
|
+
import { Stack } from "./Stack";
|
|
2
3
|
export type Preset = typeof Preset.names[number];
|
|
3
4
|
export declare namespace Preset {
|
|
4
5
|
const names: readonly ["p2p-mc-200", "test-mc-200", "test-pg-200", "test-ta-pg-200", "test-ta-mc-200"];
|
|
5
6
|
const type: isly.Type<"p2p-mc-200" | "test-mc-200" | "test-pg-200" | "test-ta-pg-200" | "test-ta-mc-200">;
|
|
6
7
|
const is: isly.Type.IsFunction<"p2p-mc-200" | "test-mc-200" | "test-pg-200" | "test-ta-pg-200" | "test-ta-mc-200">;
|
|
7
8
|
const flaw: isly.Type.FlawFunction;
|
|
9
|
+
const presets: Record<Preset, Stack>;
|
|
8
10
|
}
|
package/dist/Card/Preset.js
CHANGED
|
@@ -5,5 +5,12 @@ export var Preset;
|
|
|
5
5
|
Preset.type = isly.string(Preset.names);
|
|
6
6
|
Preset.is = Preset.type.is;
|
|
7
7
|
Preset.flaw = Preset.type.flaw;
|
|
8
|
+
Preset.presets = {
|
|
9
|
+
"p2p-mc-200": "uk-tpl-marqeta",
|
|
10
|
+
"test-mc-200": "testUK-marqeta",
|
|
11
|
+
"test-pg-200": "test-paxgiro",
|
|
12
|
+
"test-ta-mc-200": "test-tpl-paxgiro",
|
|
13
|
+
"test-ta-pg-200": "test-tpl-paxgiro",
|
|
14
|
+
};
|
|
8
15
|
})(Preset || (Preset = {}));
|
|
9
16
|
//# sourceMappingURL=Preset.js.map
|
package/dist/Card/Preset.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Preset.js","sourceRoot":"../","sources":["Card/Preset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;
|
|
1
|
+
{"version":3,"file":"Preset.js","sourceRoot":"../","sources":["Card/Preset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAM3B,MAAM,KAAW,MAAM,CAYtB;AAZD,WAAiB,MAAM;IACT,YAAK,GAAG,CAAC,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,CAAU,CAAA;IACjG,WAAI,GAAG,IAAI,CAAC,MAAM,CAAC,OAAA,KAAK,CAAC,CAAA;IACzB,SAAE,GAAG,OAAA,IAAI,CAAC,EAAE,CAAA;IACZ,WAAI,GAAG,OAAA,IAAI,CAAC,IAAI,CAAA;IAChB,cAAO,GAA0B;QAC7C,YAAY,EAAE,gBAAgB;QAC9B,aAAa,EAAE,gBAAgB;QAC/B,aAAa,EAAE,cAAc;QAC7B,gBAAgB,EAAE,kBAAkB;QACpC,gBAAgB,EAAE,kBAAkB;KACpC,CAAA;AACF,CAAC,EAZgB,MAAM,KAAN,MAAM,QAYtB"}
|
package/dist/Card/Stack.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { isly } from "isly";
|
|
2
2
|
export type Stack = typeof Stack.stacks[number];
|
|
3
3
|
export declare namespace Stack {
|
|
4
|
-
const stacks: readonly ["test-paxgiro", "test-tpl-paxgiro", "uk-tpl-marqeta"];
|
|
5
|
-
const type: isly.Type<"test-paxgiro" | "test-tpl-paxgiro" | "uk-tpl-marqeta">;
|
|
6
|
-
const is: isly.Type.IsFunction<"test-paxgiro" | "test-tpl-paxgiro" | "uk-tpl-marqeta">;
|
|
4
|
+
const stacks: readonly ["test-paxgiro", "test-tpl-paxgiro", "testUK-marqeta", "uk-tpl-marqeta"];
|
|
5
|
+
const type: isly.Type<"test-paxgiro" | "test-tpl-paxgiro" | "testUK-marqeta" | "uk-tpl-marqeta">;
|
|
6
|
+
const is: isly.Type.IsFunction<"test-paxgiro" | "test-tpl-paxgiro" | "testUK-marqeta" | "uk-tpl-marqeta">;
|
|
7
7
|
const flaw: isly.Type.FlawFunction;
|
|
8
8
|
}
|
package/dist/Card/Stack.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isly } from "isly";
|
|
2
2
|
export var Stack;
|
|
3
3
|
(function (Stack) {
|
|
4
|
-
Stack.stacks = ["test-paxgiro", "test-tpl-paxgiro", "uk-tpl-marqeta"];
|
|
4
|
+
Stack.stacks = ["test-paxgiro", "test-tpl-paxgiro", "testUK-marqeta", "uk-tpl-marqeta"];
|
|
5
5
|
Stack.type = isly.string(Stack.stacks);
|
|
6
6
|
Stack.is = Stack.type.is;
|
|
7
7
|
Stack.flaw = Stack.type.flaw;
|
package/dist/Card/Stack.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stack.js","sourceRoot":"../","sources":["Card/Stack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAI3B,MAAM,KAAW,KAAK,CAKrB;AALD,WAAiB,KAAK;IACR,YAAM,GAAG,CAAC,cAAc,EAAE,kBAAkB,EAAE,gBAAgB,CAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"Stack.js","sourceRoot":"../","sources":["Card/Stack.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAI3B,MAAM,KAAW,KAAK,CAKrB;AALD,WAAiB,KAAK;IACR,YAAM,GAAG,CAAC,cAAc,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,gBAAgB,CAAU,CAAA;IAC1F,UAAI,GAAG,IAAI,CAAC,MAAM,CAAC,MAAA,MAAM,CAAC,CAAA;IAC1B,QAAE,GAAG,MAAA,IAAI,CAAC,EAAE,CAAA;IACZ,UAAI,GAAG,MAAA,IAAI,CAAC,IAAI,CAAA;AAC9B,CAAC,EALgB,KAAK,KAAL,KAAK,QAKrB"}
|
|
@@ -3,12 +3,12 @@ export type Counterbalance = Partial<Record<Counterbalance.Entry, number>>;
|
|
|
3
3
|
export declare namespace Counterbalance {
|
|
4
4
|
type Entry = typeof Entry.values[number];
|
|
5
5
|
namespace Entry {
|
|
6
|
-
const values: readonly [...("fee.test-paxgiro" | "fee.test-tpl-paxgiro" | "fee.uk-tpl-marqeta" | "settle.test-paxgiro" | "settle.test-tpl-paxgiro" | "settle.uk-tpl-marqeta" | "incoming.paxgiro" | "incoming.clearbank" | "outgoing.paxgiro" | "outgoing.clearbank")[], "internal", "fee.other"];
|
|
7
|
-
const type: isly.Type<"internal" | "fee.test-paxgiro" | "fee.test-tpl-paxgiro" | "fee.uk-tpl-marqeta" | "settle.test-paxgiro" | "settle.test-tpl-paxgiro" | "settle.uk-tpl-marqeta" | "incoming.paxgiro" | "incoming.clearbank" | "outgoing.paxgiro" | "outgoing.clearbank" | "fee.other">;
|
|
8
|
-
const is: isly.Type.IsFunction<"internal" | "fee.test-paxgiro" | "fee.test-tpl-paxgiro" | "fee.uk-tpl-marqeta" | "settle.test-paxgiro" | "settle.test-tpl-paxgiro" | "settle.uk-tpl-marqeta" | "incoming.paxgiro" | "incoming.clearbank" | "outgoing.paxgiro" | "outgoing.clearbank" | "fee.other">;
|
|
6
|
+
const values: readonly [...("fee.test-paxgiro" | "fee.test-tpl-paxgiro" | "fee.testUK-marqeta" | "fee.uk-tpl-marqeta" | "settle.test-paxgiro" | "settle.test-tpl-paxgiro" | "settle.testUK-marqeta" | "settle.uk-tpl-marqeta" | "incoming.paxgiro" | "incoming.clearbank" | "outgoing.paxgiro" | "outgoing.clearbank")[], "internal", "fee.other"];
|
|
7
|
+
const type: isly.Type<"internal" | "fee.test-paxgiro" | "fee.test-tpl-paxgiro" | "fee.testUK-marqeta" | "fee.uk-tpl-marqeta" | "settle.test-paxgiro" | "settle.test-tpl-paxgiro" | "settle.testUK-marqeta" | "settle.uk-tpl-marqeta" | "incoming.paxgiro" | "incoming.clearbank" | "outgoing.paxgiro" | "outgoing.clearbank" | "fee.other">;
|
|
8
|
+
const is: isly.Type.IsFunction<"internal" | "fee.test-paxgiro" | "fee.test-tpl-paxgiro" | "fee.testUK-marqeta" | "fee.uk-tpl-marqeta" | "settle.test-paxgiro" | "settle.test-tpl-paxgiro" | "settle.testUK-marqeta" | "settle.uk-tpl-marqeta" | "incoming.paxgiro" | "incoming.clearbank" | "outgoing.paxgiro" | "outgoing.clearbank" | "fee.other">;
|
|
9
9
|
const flaw: isly.Type.FlawFunction;
|
|
10
10
|
}
|
|
11
|
-
const type: isly.Type<Partial<Record<"internal" | "fee.test-paxgiro" | "fee.test-tpl-paxgiro" | "fee.uk-tpl-marqeta" | "settle.test-paxgiro" | "settle.test-tpl-paxgiro" | "settle.uk-tpl-marqeta" | "incoming.paxgiro" | "incoming.clearbank" | "outgoing.paxgiro" | "outgoing.clearbank" | "fee.other", number>>>;
|
|
12
|
-
const is: isly.Type.IsFunction<Partial<Record<"internal" | "fee.test-paxgiro" | "fee.test-tpl-paxgiro" | "fee.uk-tpl-marqeta" | "settle.test-paxgiro" | "settle.test-tpl-paxgiro" | "settle.uk-tpl-marqeta" | "incoming.paxgiro" | "incoming.clearbank" | "outgoing.paxgiro" | "outgoing.clearbank" | "fee.other", number>>>;
|
|
11
|
+
const type: isly.Type<Partial<Record<"internal" | "fee.test-paxgiro" | "fee.test-tpl-paxgiro" | "fee.testUK-marqeta" | "fee.uk-tpl-marqeta" | "settle.test-paxgiro" | "settle.test-tpl-paxgiro" | "settle.testUK-marqeta" | "settle.uk-tpl-marqeta" | "incoming.paxgiro" | "incoming.clearbank" | "outgoing.paxgiro" | "outgoing.clearbank" | "fee.other", number>>>;
|
|
12
|
+
const is: isly.Type.IsFunction<Partial<Record<"internal" | "fee.test-paxgiro" | "fee.test-tpl-paxgiro" | "fee.testUK-marqeta" | "fee.uk-tpl-marqeta" | "settle.test-paxgiro" | "settle.test-tpl-paxgiro" | "settle.testUK-marqeta" | "settle.uk-tpl-marqeta" | "incoming.paxgiro" | "incoming.clearbank" | "outgoing.paxgiro" | "outgoing.clearbank" | "fee.other", number>>>;
|
|
13
13
|
const flaw: isly.Type.FlawFunction;
|
|
14
14
|
}
|
|
@@ -8,7 +8,7 @@ export declare namespace Counterbalances {
|
|
|
8
8
|
namespace Counterbalance {
|
|
9
9
|
type Entry = CounterbalancesCounterBalance.Entry;
|
|
10
10
|
}
|
|
11
|
-
const type: isly.Type<Partial<Record<"BTN" | "CHE" | "MKD" | "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL", Partial<Record<"internal" | "fee.test-paxgiro" | "fee.test-tpl-paxgiro" | "fee.uk-tpl-marqeta" | "settle.test-paxgiro" | "settle.test-tpl-paxgiro" | "settle.uk-tpl-marqeta" | "incoming.paxgiro" | "incoming.clearbank" | "outgoing.paxgiro" | "outgoing.clearbank" | "fee.other", number>>>>>;
|
|
12
|
-
const is: isly.Type.IsFunction<Partial<Record<"BTN" | "CHE" | "MKD" | "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL", Partial<Record<"internal" | "fee.test-paxgiro" | "fee.test-tpl-paxgiro" | "fee.uk-tpl-marqeta" | "settle.test-paxgiro" | "settle.test-tpl-paxgiro" | "settle.uk-tpl-marqeta" | "incoming.paxgiro" | "incoming.clearbank" | "outgoing.paxgiro" | "outgoing.clearbank" | "fee.other", number>>>>>;
|
|
11
|
+
const type: isly.Type<Partial<Record<"BTN" | "CHE" | "MKD" | "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL", Partial<Record<"internal" | "fee.test-paxgiro" | "fee.test-tpl-paxgiro" | "fee.testUK-marqeta" | "fee.uk-tpl-marqeta" | "settle.test-paxgiro" | "settle.test-tpl-paxgiro" | "settle.testUK-marqeta" | "settle.uk-tpl-marqeta" | "incoming.paxgiro" | "incoming.clearbank" | "outgoing.paxgiro" | "outgoing.clearbank" | "fee.other", number>>>>>;
|
|
12
|
+
const is: isly.Type.IsFunction<Partial<Record<"BTN" | "CHE" | "MKD" | "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL", Partial<Record<"internal" | "fee.test-paxgiro" | "fee.test-tpl-paxgiro" | "fee.testUK-marqeta" | "fee.uk-tpl-marqeta" | "settle.test-paxgiro" | "settle.test-tpl-paxgiro" | "settle.testUK-marqeta" | "settle.uk-tpl-marqeta" | "incoming.paxgiro" | "incoming.clearbank" | "outgoing.paxgiro" | "outgoing.clearbank" | "fee.other", number>>>>>;
|
|
13
13
|
const flaw: isly.Type.FlawFunction;
|
|
14
14
|
}
|
|
@@ -6,8 +6,8 @@ export type Changes = Partial<Record<Changes.Entry, Change>>;
|
|
|
6
6
|
export declare namespace Changes {
|
|
7
7
|
type Entry = Balances.Balance.Entry | Counterbalances.Counterbalance.Entry;
|
|
8
8
|
namespace Entry {
|
|
9
|
-
const values: ("actual" | "incomingReserved" | "outgoingReserved" | "internal" | "fee.test-paxgiro" | "fee.test-tpl-paxgiro" | "fee.uk-tpl-marqeta" | "settle.test-paxgiro" | "settle.test-tpl-paxgiro" | "settle.uk-tpl-marqeta" | "incoming.paxgiro" | "incoming.clearbank" | "outgoing.paxgiro" | "outgoing.clearbank" | "fee.other")[];
|
|
10
|
-
const type: isly.Type<"actual" | "incomingReserved" | "outgoingReserved" | "internal" | "fee.test-paxgiro" | "fee.test-tpl-paxgiro" | "fee.uk-tpl-marqeta" | "settle.test-paxgiro" | "settle.test-tpl-paxgiro" | "settle.uk-tpl-marqeta" | "incoming.paxgiro" | "incoming.clearbank" | "outgoing.paxgiro" | "outgoing.clearbank" | "fee.other">;
|
|
9
|
+
const values: ("actual" | "incomingReserved" | "outgoingReserved" | "internal" | "fee.test-paxgiro" | "fee.test-tpl-paxgiro" | "fee.testUK-marqeta" | "fee.uk-tpl-marqeta" | "settle.test-paxgiro" | "settle.test-tpl-paxgiro" | "settle.testUK-marqeta" | "settle.uk-tpl-marqeta" | "incoming.paxgiro" | "incoming.clearbank" | "outgoing.paxgiro" | "outgoing.clearbank" | "fee.other")[];
|
|
10
|
+
const type: isly.Type<"actual" | "incomingReserved" | "outgoingReserved" | "internal" | "fee.test-paxgiro" | "fee.test-tpl-paxgiro" | "fee.testUK-marqeta" | "fee.uk-tpl-marqeta" | "settle.test-paxgiro" | "settle.test-tpl-paxgiro" | "settle.testUK-marqeta" | "settle.uk-tpl-marqeta" | "incoming.paxgiro" | "incoming.clearbank" | "outgoing.paxgiro" | "outgoing.clearbank" | "fee.other">;
|
|
11
11
|
}
|
|
12
12
|
const type: isly.Type<Partial<Record<Entry, Change<"add" | "subtract">>>>;
|
|
13
13
|
const is: isly.Type.IsFunction<Partial<Record<Entry, Change<"add" | "subtract">>>>;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { isoly } from "isoly";
|
|
2
2
|
import { isly } from "isly";
|
|
3
|
-
import { Operation } from "../Operation";
|
|
4
3
|
import { Rail } from "../Rail";
|
|
5
4
|
export interface Creatable {
|
|
6
5
|
counterpart: Rail;
|
|
7
6
|
currency: isoly.Currency;
|
|
8
7
|
amount: number;
|
|
9
8
|
description: string;
|
|
10
|
-
operations?: Operation.Creatable[];
|
|
11
9
|
}
|
|
12
10
|
export declare namespace Creatable {
|
|
13
11
|
const type: isly.object.ExtendableType<Creatable>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { isoly } from "isoly";
|
|
2
2
|
import { isly } from "isly";
|
|
3
|
-
import { Operation } from "../Operation";
|
|
4
3
|
import { Rail } from "../Rail";
|
|
5
4
|
export var Creatable;
|
|
6
5
|
(function (Creatable) {
|
|
@@ -9,7 +8,6 @@ export var Creatable;
|
|
|
9
8
|
currency: isly.fromIs("isoly.Currency", isoly.Currency.is),
|
|
10
9
|
amount: isly.number(),
|
|
11
10
|
description: isly.string(),
|
|
12
|
-
operations: isly.array(isly.fromIs("Operation.Creatable", Operation.Creatable.is)).optional(),
|
|
13
11
|
});
|
|
14
12
|
Creatable.is = Creatable.type.is;
|
|
15
13
|
Creatable.flaw = Creatable.type.flaw;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Creatable.js","sourceRoot":"../","sources":["Transaction/Creatable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Creatable.js","sourceRoot":"../","sources":["Transaction/Creatable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAQ9B,MAAM,KAAW,SAAS,CAUzB;AAVD,WAAiB,SAAS;IACZ,cAAI,GAAG,IAAI,CAAC,MAAM,CAAY;QAC1C,WAAW,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC;QACzC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC1D,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE;QACrB,WAAW,EAAE,IAAI,CAAC,MAAM,EAAE;KAC1B,CAAC,CAAA;IACW,YAAE,GAAG,UAAA,IAAI,CAAC,EAAE,CAAA;IACZ,cAAI,GAAG,UAAA,IAAI,CAAC,IAAI,CAAA;IAChB,aAAG,GAAG,UAAA,IAAI,CAAC,GAAG,CAAA;AAC5B,CAAC,EAVgB,SAAS,KAAT,SAAS,QAUzB"}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { isly } from "isly";
|
|
2
2
|
import { Rail } from "../Rail";
|
|
3
3
|
import { Creatable as TransactionCreatable } from "./Creatable";
|
|
4
4
|
import { Reference as TransactionReference } from "./Reference";
|
|
5
5
|
export interface Incoming extends TransactionCreatable {
|
|
6
6
|
account: Rail;
|
|
7
|
-
counterpart: Rail;
|
|
8
|
-
currency: isoly.Currency;
|
|
9
|
-
amount: number;
|
|
10
|
-
reference?: TransactionReference;
|
|
11
7
|
posted: string;
|
|
12
|
-
|
|
8
|
+
reference?: TransactionReference;
|
|
13
9
|
}
|
|
14
10
|
export declare namespace Incoming {
|
|
15
|
-
|
|
11
|
+
const type: isly.object.ExtendableType<Incoming>;
|
|
12
|
+
const is: isly.Type.IsFunction<Incoming>;
|
|
13
|
+
const flaw: isly.Type.FlawFunction;
|
|
16
14
|
}
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { isly } from "isly";
|
|
2
2
|
import { Rail } from "../Rail";
|
|
3
|
+
import { Creatable as TransactionCreatable } from "./Creatable";
|
|
4
|
+
import { Reference as TransactionReference } from "./Reference";
|
|
3
5
|
export var Incoming;
|
|
4
6
|
(function (Incoming) {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
typeof value.posted == "string" &&
|
|
13
|
-
typeof value.description == "string");
|
|
14
|
-
}
|
|
15
|
-
Incoming.is = is;
|
|
7
|
+
Incoming.type = TransactionCreatable.type.extend({
|
|
8
|
+
account: isly.fromIs("Rail", Rail.is),
|
|
9
|
+
posted: isly.string(),
|
|
10
|
+
reference: TransactionReference.type.optional(),
|
|
11
|
+
});
|
|
12
|
+
Incoming.is = Incoming.type.is;
|
|
13
|
+
Incoming.flaw = Incoming.type.flaw;
|
|
16
14
|
})(Incoming || (Incoming = {}));
|
|
17
15
|
//# sourceMappingURL=Incoming.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Incoming.js","sourceRoot":"../","sources":["Transaction/Incoming.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Incoming.js","sourceRoot":"../","sources":["Transaction/Incoming.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,SAAS,IAAI,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAC/D,OAAO,EAAE,SAAS,IAAI,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAO/D,MAAM,KAAW,QAAQ,CAQxB;AARD,WAAiB,QAAQ;IACX,aAAI,GAAG,oBAAoB,CAAC,IAAI,CAAC,MAAM,CAAW;QAC9D,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,EAAE,CAAC;QACrC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE;QACrB,SAAS,EAAE,oBAAoB,CAAC,IAAI,CAAC,QAAQ,EAAE;KAC/C,CAAC,CAAA;IACW,WAAE,GAAG,SAAA,IAAI,CAAC,EAAE,CAAA;IACZ,aAAI,GAAG,SAAA,IAAI,CAAC,IAAI,CAAA;AAC9B,CAAC,EARgB,QAAQ,KAAR,QAAQ,QAQxB"}
|
|
@@ -41,12 +41,8 @@ export declare namespace Transaction {
|
|
|
41
41
|
const is: isly.Type.IsFunction<Transaction>;
|
|
42
42
|
const flaw: isly.Type.FlawFunction;
|
|
43
43
|
const get: isly.Type.GetFunction<Transaction>;
|
|
44
|
-
function fromCreatable(organization: string, accountId: string, account: Rail, transaction: Creatable
|
|
45
|
-
|
|
46
|
-
}, result: number): Transaction;
|
|
47
|
-
function fromIncoming(organization: string, accountId: string, transaction: Incoming & {
|
|
48
|
-
operations: Operation.Creatable[];
|
|
49
|
-
}, result: number): Transaction;
|
|
44
|
+
function fromCreatable(organization: string, accountId: string, account: Rail, transaction: Creatable, operations: Operation.Creatable[], result: number): Transaction;
|
|
45
|
+
function fromIncoming(organization: string, accountId: string, transaction: Incoming, operations: Operation.Creatable[], result: number): Transaction;
|
|
50
46
|
function isIdentifier(value: cryptly.Identifier | any): value is cryptly.Identifier;
|
|
51
47
|
function flag(transaction: Transaction, note: Note): void;
|
|
52
48
|
}
|
|
@@ -20,20 +20,20 @@ export var Transaction;
|
|
|
20
20
|
accountId: isly.string(),
|
|
21
21
|
account: isly.fromIs("Rail", Rail.is),
|
|
22
22
|
id: isly.fromIs("cryptly.Identifier", cryptly.Identifier.is).readonly(),
|
|
23
|
-
reference:
|
|
23
|
+
reference: Transaction.Reference.type.readonly().optional(),
|
|
24
24
|
posted: isly.string(),
|
|
25
25
|
transacted: isly.string().optional(),
|
|
26
26
|
balance: isly.number(),
|
|
27
|
-
operations:
|
|
27
|
+
operations: Operation.type.array(),
|
|
28
28
|
status: Transaction.Status.type,
|
|
29
29
|
flags: isly.array(isly.string() || "review"),
|
|
30
30
|
oldFlags: isly.string().array(),
|
|
31
|
-
notes:
|
|
31
|
+
notes: Transaction.Note.type.array(),
|
|
32
32
|
});
|
|
33
33
|
Transaction.is = Transaction.type.is;
|
|
34
34
|
Transaction.flaw = Transaction.type.flaw;
|
|
35
35
|
Transaction.get = Transaction.type.get;
|
|
36
|
-
function fromCreatable(organization, accountId, account, transaction, result) {
|
|
36
|
+
function fromCreatable(organization, accountId, account, transaction, operations, result) {
|
|
37
37
|
const id = cryptly.Identifier.generate(8);
|
|
38
38
|
const timestamp = isoly.DateTime.now();
|
|
39
39
|
if ("id" in transaction)
|
|
@@ -48,7 +48,7 @@ export var Transaction;
|
|
|
48
48
|
posted: timestamp,
|
|
49
49
|
balance: result,
|
|
50
50
|
...transaction,
|
|
51
|
-
operations:
|
|
51
|
+
operations: operations.map(o => Operation.fromCreatable(id, o)),
|
|
52
52
|
status: "created",
|
|
53
53
|
flags: [],
|
|
54
54
|
oldFlags: [],
|
|
@@ -56,7 +56,7 @@ export var Transaction;
|
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
58
|
Transaction.fromCreatable = fromCreatable;
|
|
59
|
-
function fromIncoming(organization, accountId, transaction, result) {
|
|
59
|
+
function fromIncoming(organization, accountId, transaction, operations, result) {
|
|
60
60
|
const id = cryptly.Identifier.generate(8);
|
|
61
61
|
if ("id" in transaction)
|
|
62
62
|
delete transaction.id;
|
|
@@ -68,7 +68,7 @@ export var Transaction;
|
|
|
68
68
|
id: id,
|
|
69
69
|
balance: result,
|
|
70
70
|
...transaction,
|
|
71
|
-
operations:
|
|
71
|
+
operations: operations.map(o => Operation.fromCreatable(id, o)),
|
|
72
72
|
status: "created",
|
|
73
73
|
flags: [],
|
|
74
74
|
oldFlags: [],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Transaction/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAA;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,SAAS,IAAI,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAC/D,OAAO,EAAE,QAAQ,IAAI,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAC5D,OAAO,EAAE,IAAI,IAAI,eAAe,EAAE,MAAM,QAAQ,CAAA;AAChD,OAAO,EAAE,SAAS,IAAI,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAC/D,OAAO,EAAE,MAAM,IAAI,iBAAiB,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Transaction/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAA;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,SAAS,IAAI,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAC/D,OAAO,EAAE,QAAQ,IAAI,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAC5D,OAAO,EAAE,IAAI,IAAI,eAAe,EAAE,MAAM,QAAQ,CAAA;AAChD,OAAO,EAAE,SAAS,IAAI,oBAAoB,EAAE,MAA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