@pax2pay/model-banking 0.1.86 → 0.1.88
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/Authorization/Creatable.ts +23 -0
- package/Authorization/index.ts +70 -0
- package/Card/Changeable.ts +0 -2
- package/Card/Creatable.ts +3 -2
- package/Card/index.ts +3 -2
- package/dist/Card/Changeable.d.ts +0 -1
- package/dist/Card/Changeable.js +0 -1
- package/dist/Card/Changeable.js.map +1 -1
- package/dist/Card/Creatable.d.ts +2 -1
- package/dist/Card/Creatable.js +2 -1
- package/dist/Card/Creatable.js.map +1 -1
- package/dist/Card/index.d.ts +2 -1
- package/dist/Card/index.js +2 -1
- package/dist/Card/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { isoly } from "isoly"
|
|
2
|
+
import { isly } from "isly"
|
|
3
|
+
import { Acquirer } from "../Acquirer"
|
|
4
|
+
import { Merchant } from "../Merchant"
|
|
5
|
+
|
|
6
|
+
export interface Creatable {
|
|
7
|
+
card: string
|
|
8
|
+
amount: [isoly.Currency, number]
|
|
9
|
+
merchant: Merchant
|
|
10
|
+
acquirer: Acquirer
|
|
11
|
+
description: string
|
|
12
|
+
}
|
|
13
|
+
export namespace Creatable {
|
|
14
|
+
export const type = isly.object<Creatable>({
|
|
15
|
+
card: isly.string(),
|
|
16
|
+
amount: isly.tuple(isly.fromIs("isoly.Currency", isoly.Currency.is), isly.number()),
|
|
17
|
+
merchant: Merchant.type,
|
|
18
|
+
acquirer: Acquirer.type,
|
|
19
|
+
description: isly.string(),
|
|
20
|
+
})
|
|
21
|
+
export const is = type.is
|
|
22
|
+
export const flaw = type.flaw
|
|
23
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { cryptly } from "cryptly"
|
|
2
|
+
import { isoly } from "isoly"
|
|
3
|
+
import { isly } from "isly"
|
|
4
|
+
import { Acquirer } from "../Acquirer"
|
|
5
|
+
import { Card } from "../Card"
|
|
6
|
+
import { Merchant } from "../Merchant"
|
|
7
|
+
import { Transaction } from "../Transaction"
|
|
8
|
+
import { Creatable as AuthorizationCreatable } from "./Creatable"
|
|
9
|
+
|
|
10
|
+
export interface Authorization {
|
|
11
|
+
id: cryptly.Identifier
|
|
12
|
+
card: string
|
|
13
|
+
created: isoly.DateTime
|
|
14
|
+
amount: [isoly.Currency, number]
|
|
15
|
+
merchant: Merchant
|
|
16
|
+
acquirer: Acquirer
|
|
17
|
+
description: string
|
|
18
|
+
transaction?: string
|
|
19
|
+
status?: "approved" | { code: string; reason: string }
|
|
20
|
+
}
|
|
21
|
+
export namespace Authorization {
|
|
22
|
+
export function fromCreatable(authorization: Authorization.Creatable): Authorization {
|
|
23
|
+
return {
|
|
24
|
+
id: cryptly.Identifier.generate(8),
|
|
25
|
+
card: authorization.card,
|
|
26
|
+
created: isoly.DateTime.now(),
|
|
27
|
+
amount: authorization.amount,
|
|
28
|
+
merchant: authorization.merchant,
|
|
29
|
+
acquirer: authorization.acquirer,
|
|
30
|
+
description: authorization.description,
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
export const type = isly.object<Authorization>({
|
|
34
|
+
id: isly.fromIs("Authorization.id", cryptly.Identifier.is),
|
|
35
|
+
card: isly.string(),
|
|
36
|
+
created: isly.fromIs("Authorization.created", isoly.DateTime.is),
|
|
37
|
+
amount: isly.tuple(isly.fromIs("isoly.Currency", isoly.Currency.is), isly.number()),
|
|
38
|
+
merchant: Merchant.type,
|
|
39
|
+
acquirer: Acquirer.type,
|
|
40
|
+
description: isly.string(),
|
|
41
|
+
transaction: isly.string().optional(),
|
|
42
|
+
status: isly
|
|
43
|
+
.union(
|
|
44
|
+
isly.string("approved"),
|
|
45
|
+
isly.object<{ code: string; reason: string }>({ code: isly.string(), reason: isly.string() })
|
|
46
|
+
)
|
|
47
|
+
.optional(),
|
|
48
|
+
})
|
|
49
|
+
export const is = type.is
|
|
50
|
+
export const flaw = type.flaw
|
|
51
|
+
|
|
52
|
+
export function toTransaction(authorization: Authorization, card: Card): Transaction.Creatable {
|
|
53
|
+
return {
|
|
54
|
+
amount: authorization.amount[1],
|
|
55
|
+
currency: authorization.amount[0],
|
|
56
|
+
description: authorization.description,
|
|
57
|
+
counterpart: {
|
|
58
|
+
type: "mastercard",
|
|
59
|
+
iin: card.details.iin,
|
|
60
|
+
expiry: card.details.expiry,
|
|
61
|
+
last4: card.details.last4,
|
|
62
|
+
holder: card.details.holder,
|
|
63
|
+
id: card.id,
|
|
64
|
+
merchant: authorization.merchant,
|
|
65
|
+
},
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
export type Creatable = AuthorizationCreatable
|
|
69
|
+
export const Creatable = AuthorizationCreatable
|
|
70
|
+
}
|
package/Card/Changeable.ts
CHANGED
|
@@ -4,14 +4,12 @@ import { Meta } from "./Meta"
|
|
|
4
4
|
|
|
5
5
|
export type Changeable = {
|
|
6
6
|
limit?: [isoly.Currency, number]
|
|
7
|
-
rules?: string[]
|
|
8
7
|
meta?: Meta
|
|
9
8
|
}
|
|
10
9
|
|
|
11
10
|
export namespace Changeable {
|
|
12
11
|
export const type = isly.object<Changeable>({
|
|
13
12
|
limit: isly.tuple(isly.fromIs("isoly.Currency", isoly.Currency.is), isly.number()).optional(),
|
|
14
|
-
rules: isly.string().array().optional(),
|
|
15
13
|
meta: isly.fromIs("Card.Meta", Meta.is).optional(),
|
|
16
14
|
})
|
|
17
15
|
export const is = type.is
|
package/Card/Creatable.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { isoly } from "isoly"
|
|
2
2
|
import { isly } from "isly"
|
|
3
|
+
import { Rule } from "../Rule"
|
|
3
4
|
import { Expiry } from "./Expiry"
|
|
4
5
|
import { Meta } from "./Meta"
|
|
5
6
|
import { Preset } from "./Preset"
|
|
@@ -14,7 +15,7 @@ export interface Creatable {
|
|
|
14
15
|
holder: string
|
|
15
16
|
}
|
|
16
17
|
limit: [isoly.Currency, number]
|
|
17
|
-
rules?:
|
|
18
|
+
rules?: Rule[]
|
|
18
19
|
meta?: Meta
|
|
19
20
|
}
|
|
20
21
|
|
|
@@ -29,7 +30,7 @@ export namespace Creatable {
|
|
|
29
30
|
holder: isly.string(),
|
|
30
31
|
}),
|
|
31
32
|
limit: isly.tuple(isly.fromIs("isoly.Currency", isoly.Currency.is), isly.number()),
|
|
32
|
-
rules:
|
|
33
|
+
rules: Rule.type.array().optional(),
|
|
33
34
|
meta: isly.fromIs("Card.Meta", Meta.is).optional(),
|
|
34
35
|
})
|
|
35
36
|
export const is = type.is
|
package/Card/index.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { cryptly } from "cryptly"
|
|
|
2
2
|
import { isoly } from "isoly"
|
|
3
3
|
import { isly } from "isly"
|
|
4
4
|
import { Realm } from "../Realm"
|
|
5
|
+
import { Rule } from "../Rule"
|
|
5
6
|
import { Changeable as CardChangeable } from "./Changeable"
|
|
6
7
|
import { Creatable as CardCreatable } from "./Creatable"
|
|
7
8
|
import { Expiry as CardExpiry } from "./Expiry"
|
|
@@ -29,7 +30,7 @@ export interface Card {
|
|
|
29
30
|
spent: [isoly.Currency, number]
|
|
30
31
|
status: "active" | "cancelled"
|
|
31
32
|
history: CardOperation[]
|
|
32
|
-
rules:
|
|
33
|
+
rules: Rule[]
|
|
33
34
|
meta?: CardMeta
|
|
34
35
|
}
|
|
35
36
|
|
|
@@ -85,7 +86,7 @@ export namespace Card {
|
|
|
85
86
|
spent: isly.tuple(isly.fromIs("isoly.Currency", isoly.Currency.is), isly.number()),
|
|
86
87
|
status: isly.union(isly.string("active"), isly.string("cancelled")),
|
|
87
88
|
history: isly.array(CardOperation.type),
|
|
88
|
-
rules:
|
|
89
|
+
rules: Rule.type.array(),
|
|
89
90
|
meta: isly.fromIs("Card.Meta", CardMeta.is).optional(),
|
|
90
91
|
})
|
|
91
92
|
export const is = type.is
|
package/dist/Card/Changeable.js
CHANGED
|
@@ -5,7 +5,6 @@ export var Changeable;
|
|
|
5
5
|
(function (Changeable) {
|
|
6
6
|
Changeable.type = isly.object({
|
|
7
7
|
limit: isly.tuple(isly.fromIs("isoly.Currency", isoly.Currency.is), isly.number()).optional(),
|
|
8
|
-
rules: isly.string().array().optional(),
|
|
9
8
|
meta: isly.fromIs("Card.Meta", Meta.is).optional(),
|
|
10
9
|
});
|
|
11
10
|
Changeable.is = Changeable.type.is;
|
|
@@ -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,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;
|
|
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;AAC3B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAO7B,MAAM,KAAW,UAAU,CAQ1B;AARD,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;IACW,aAAE,GAAG,WAAA,IAAI,CAAC,EAAE,CAAA;IACZ,eAAI,GAAG,WAAA,IAAI,CAAC,IAAI,CAAA;IAChB,cAAG,GAAG,WAAA,IAAI,CAAC,GAAG,CAAA;AAC5B,CAAC,EARgB,UAAU,KAAV,UAAU,QAQ1B"}
|
package/dist/Card/Creatable.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { isoly } from "isoly";
|
|
2
2
|
import { isly } from "isly";
|
|
3
|
+
import { Rule } from "../Rule";
|
|
3
4
|
import { Expiry } from "./Expiry";
|
|
4
5
|
import { Meta } from "./Meta";
|
|
5
6
|
import { Preset } from "./Preset";
|
|
@@ -13,7 +14,7 @@ export interface Creatable {
|
|
|
13
14
|
holder: string;
|
|
14
15
|
};
|
|
15
16
|
limit: [isoly.Currency, number];
|
|
16
|
-
rules?:
|
|
17
|
+
rules?: Rule[];
|
|
17
18
|
meta?: Meta;
|
|
18
19
|
}
|
|
19
20
|
export declare namespace Creatable {
|
package/dist/Card/Creatable.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { isoly } from "isoly";
|
|
2
2
|
import { isly } from "isly";
|
|
3
|
+
import { Rule } from "../Rule";
|
|
3
4
|
import { Expiry } from "./Expiry";
|
|
4
5
|
import { Meta } from "./Meta";
|
|
5
6
|
import { Preset } from "./Preset";
|
|
@@ -15,7 +16,7 @@ export var Creatable;
|
|
|
15
16
|
holder: isly.string(),
|
|
16
17
|
}),
|
|
17
18
|
limit: isly.tuple(isly.fromIs("isoly.Currency", isoly.Currency.is), isly.number()),
|
|
18
|
-
rules:
|
|
19
|
+
rules: Rule.type.array().optional(),
|
|
19
20
|
meta: isly.fromIs("Card.Meta", Meta.is).optional(),
|
|
20
21
|
});
|
|
21
22
|
Creatable.is = Creatable.type.is;
|
|
@@ -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,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,MAAM,EAAE,MAAM,U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AI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAChC,MAAM,EAAE,MAAM,CAAC,IAAI;QACnB,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC;YACpB,GAAG,EAAE,IAAI,CAAC,MAAM,EAAE;YAClB,MAAM,EAAE,MAAM,CAAC,IAAI;YACnB,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE;SACrB,CAAC;QACF,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,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;QACnC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;KAClD,CAAC,CAAA;IACW,YAAE,GAAG,UAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAfgB,SAAS,KAAT,SAAS,QAezB"}
|
package/dist/Card/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { isoly } from "isoly";
|
|
2
2
|
import { isly } from "isly";
|
|
3
3
|
import { Realm } from "../Realm";
|
|
4
|
+
import { Rule } from "../Rule";
|
|
4
5
|
import { Changeable as CardChangeable } from "./Changeable";
|
|
5
6
|
import { Creatable as CardCreatable } from "./Creatable";
|
|
6
7
|
import { Expiry as CardExpiry } from "./Expiry";
|
|
@@ -27,7 +28,7 @@ export interface Card {
|
|
|
27
28
|
spent: [isoly.Currency, number];
|
|
28
29
|
status: "active" | "cancelled";
|
|
29
30
|
history: CardOperation[];
|
|
30
|
-
rules:
|
|
31
|
+
rules: Rule[];
|
|
31
32
|
meta?: CardMeta;
|
|
32
33
|
}
|
|
33
34
|
export declare namespace Card {
|
package/dist/Card/index.js
CHANGED
|
@@ -2,6 +2,7 @@ import { cryptly } from "cryptly";
|
|
|
2
2
|
import { isoly } from "isoly";
|
|
3
3
|
import { isly } from "isly";
|
|
4
4
|
import { Realm } from "../Realm";
|
|
5
|
+
import { Rule } from "../Rule";
|
|
5
6
|
import { Changeable as CardChangeable } from "./Changeable";
|
|
6
7
|
import { Creatable as CardCreatable } from "./Creatable";
|
|
7
8
|
import { Expiry as CardExpiry } from "./Expiry";
|
|
@@ -56,7 +57,7 @@ export var Card;
|
|
|
56
57
|
spent: isly.tuple(isly.fromIs("isoly.Currency", isoly.Currency.is), isly.number()),
|
|
57
58
|
status: isly.union(isly.string("active"), isly.string("cancelled")),
|
|
58
59
|
history: isly.array(CardOperation.type),
|
|
59
|
-
rules:
|
|
60
|
+
rules: Rule.type.array(),
|
|
60
61
|
meta: isly.fromIs("Card.Meta", CardMeta.is).optional(),
|
|
61
62
|
});
|
|
62
63
|
Card.is = Card.type.is;
|
package/dist/Card/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAA;AAChC,OAAO,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,cAAc,CAAA;AAC3D,OAAO,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,aAAa,CAAA;AACxD,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,UAAU,CAAA;AAC/C,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,aAAa,CAAA;AACxD,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,UAAU,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