@pax2pay/model-banking 0.1.105 → 0.1.107

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/Creatable.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { isoly } from "isoly"
2
2
  import { isly } from "isly"
3
- import { Rule } from "../Rule"
3
+ import { Rule, type as ruleType } from "../Rule/Rule"
4
4
  import { Expiry } from "./Expiry"
5
5
  import { Meta } from "./Meta"
6
6
  import { Preset } from "./Preset"
@@ -28,7 +28,7 @@ export namespace Creatable {
28
28
  holder: isly.string(),
29
29
  }),
30
30
  limit: isly.tuple(isly.fromIs("isoly.Currency", isoly.Currency.is), isly.number()),
31
- rules: Rule.type.array().optional(),
31
+ rules: ruleType.array().optional(),
32
32
  meta: isly.fromIs("Card.Meta", Meta.is).optional(),
33
33
  })
34
34
  export const is = type.is
package/Card/index.ts CHANGED
@@ -1,7 +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
+ import { Rule, type as ruleType } from "../Rule/Rule"
5
5
  import { Changeable as CardChangeable } from "./Changeable"
6
6
  import { Creatable as CardCreatable } from "./Creatable"
7
7
  import { Expiry as CardExpiry } from "./Expiry"
@@ -54,7 +54,7 @@ export namespace Card {
54
54
  spent: isly.tuple(isly.fromIs("isoly.Currency", isoly.Currency.is), isly.number()),
55
55
  status: isly.union(isly.string("active"), isly.string("cancelled")),
56
56
  history: isly.array(CardOperation.type),
57
- rules: Rule.type.array(),
57
+ rules: ruleType.array(),
58
58
  meta: isly.fromIs("Card.Meta", CardMeta.is).optional(),
59
59
  })
60
60
  export const is = type.is
package/Rule/Rule.ts ADDED
@@ -0,0 +1,29 @@
1
+ import { isly } from "isly"
2
+
3
+ export interface Rule {
4
+ name: string
5
+ description: string
6
+ action: Action
7
+ type: Kind
8
+ condition: string
9
+ flags: string[]
10
+ }
11
+
12
+ export const actions = ["review", "reject", "flag"] as const
13
+ export type Action = typeof actions[number]
14
+ export const kinds = ["authorization", "outbound", "inbound"] as const
15
+ export type Kind = typeof kinds[number]
16
+
17
+ export const type = isly.object<Rule>({
18
+ name: isly.string(),
19
+ description: isly.string(),
20
+ action: isly.string(actions),
21
+ type: isly.string(kinds),
22
+ condition: isly.string(),
23
+ flags: isly.string().array(),
24
+ })
25
+ export const is = type.is
26
+ export const flaw = type.flaw
27
+ export function stringify(rule: Rule): string {
28
+ return `{ label: ${rule.name}, action: ${rule.action}, type: ${rule.type}, condition: ${rule.condition}, description: ${rule.description}. }`
29
+ }
@@ -1,9 +1,12 @@
1
- import type { Authorization as ModelAuthorization } from "../../Authorization"
1
+ import { Authorization as ModelAuthorization } from "../../Authorization"
2
2
 
3
- export type Authorization = ModelAuthorization
3
+ export type Authorization = ModelAuthorization.Creatable
4
4
 
5
5
  export namespace Authorization {
6
- export function from(authorization: ModelAuthorization): Authorization {
6
+ export function from(authorization: ModelAuthorization.Creatable): Authorization {
7
7
  return authorization
8
8
  }
9
+ export const type = ModelAuthorization.Creatable.type
10
+ export const is = type.is
11
+ export const flaw = type.flaw
9
12
  }
@@ -1,4 +1,4 @@
1
- import type { Card as ModelCard } from "../../Card"
1
+ import { Card as ModelCard } from "../../Card"
2
2
 
3
3
  export type Card = ModelCard
4
4
 
@@ -6,4 +6,7 @@ export namespace Card {
6
6
  export function from(card: ModelCard): Card {
7
7
  return card
8
8
  }
9
+ export const type = ModelCard.type
10
+ export const is = type.is
11
+ export const flaw = type.flaw
9
12
  }
@@ -0,0 +1,14 @@
1
+ import { isly } from "isly"
2
+ import { Authorization } from "./Authorization"
3
+ import { Card } from "./Card"
4
+
5
+ export interface Partial {
6
+ authorization: Authorization
7
+ card: Card
8
+ }
9
+
10
+ export namespace Partial {
11
+ export const type = isly.object<Partial>({ card: Card.type, authorization: Authorization.type })
12
+ export const is = type.is
13
+ export const flaw = type.flaw
14
+ }
@@ -5,6 +5,7 @@ import { Transaction as ModelTransaction } from "../../Transaction"
5
5
  import { Account as StateAccount } from "./Account"
6
6
  import { Authorization as StateAuthorization } from "./Authorization"
7
7
  import { Card as StateCard } from "./Card"
8
+ import { Partial as StatePartial } from "./Partial"
8
9
  import { Transaction as StateTransaction } from "./Transaction"
9
10
 
10
11
  export interface State {
@@ -28,6 +29,8 @@ export namespace State {
28
29
  transaction: Transaction.from(transaction),
29
30
  }
30
31
  }
32
+ export type Partial = StatePartial
33
+ export const Partial = StatePartial
31
34
  export type Account = StateAccount
32
35
  export const Account = StateAccount
33
36
  export type Authorization = StateAuthorization
package/Rule/index.ts CHANGED
@@ -1,22 +1,15 @@
1
1
  import { selectively } from "selectively"
2
- import { isly } from "isly"
3
2
  import { definitions } from "./definitions"
3
+ import * as ModelRule from "./Rule"
4
4
  import { State as RuleState } from "./State"
5
5
 
6
- export interface Rule {
7
- name: string
8
- description: string
9
- action: Rule.Action
10
- type: Rule.Kind
11
- condition: string
12
- flags: string[]
13
- }
6
+ export type Rule = ModelRule.Rule
14
7
 
15
8
  export namespace Rule {
16
- export const actions = ["review", "reject", "flag"] as const
17
- export type Action = typeof actions[number]
18
- export const kinds = ["authorization", "outbound", "inbound"] as const
19
- export type Kind = typeof kinds[number]
9
+ export const actions = ModelRule.actions
10
+ export type Action = ModelRule.Action
11
+ export const kinds = ModelRule.kinds
12
+ export type Kind = ModelRule.Kind
20
13
  export type State = RuleState
21
14
  export const State = RuleState
22
15
  export namespace State {
@@ -26,19 +19,10 @@ export namespace Rule {
26
19
  export type Transaction = RuleState.Transaction
27
20
  }
28
21
 
29
- export const type = isly.object<Rule>({
30
- name: isly.string(),
31
- description: isly.string(),
32
- action: isly.string(actions),
33
- type: isly.string(kinds),
34
- condition: isly.string(),
35
- flags: isly.string().array(),
36
- })
37
- export const is = type.is
38
- export const flaw = type.flaw
39
- export function stringify(rule: Rule): string {
40
- return `{ label: ${rule.name}, action: ${rule.action}, type: ${rule.type}, condition: ${rule.condition}, description: ${rule.description}. }`
41
- }
22
+ export const type = ModelRule.type
23
+ export const is = ModelRule.type.is
24
+ export const flaw = ModelRule.type.flaw
25
+ export const stringify = ModelRule.stringify
42
26
  export function evaluate(
43
27
  rules: Rule[],
44
28
  state: State,
@@ -1,6 +1,6 @@
1
1
  import { isoly } from "isoly";
2
2
  import { isly } from "isly";
3
- import { Rule } from "../Rule";
3
+ import { Rule } from "../Rule/Rule";
4
4
  import { Expiry } from "./Expiry";
5
5
  import { Meta } from "./Meta";
6
6
  import { Preset } from "./Preset";
@@ -1,6 +1,6 @@
1
1
  import { isoly } from "isoly";
2
2
  import { isly } from "isly";
3
- import { Rule } from "../Rule";
3
+ import { type as ruleType } from "../Rule/Rule";
4
4
  import { Expiry } from "./Expiry";
5
5
  import { Meta } from "./Meta";
6
6
  import { Preset } from "./Preset";
@@ -15,7 +15,7 @@ export var Creatable;
15
15
  holder: isly.string(),
16
16
  }),
17
17
  limit: isly.tuple(isly.fromIs("isoly.Currency", isoly.Currency.is), isly.number()),
18
- rules: Rule.type.array().optional(),
18
+ rules: ruleType.array().optional(),
19
19
  meta: isly.fromIs("Card.Meta", Meta.is).optional(),
20
20
  });
21
21
  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,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAejC,MAAM,KAAW,SAAS,CAczB;AAdD,WAAiB,SAAS;IACZ,cAAI,GAAG,IAAI,CAAC,MAAM,CAAY;QAC1C,OAAO,EAAE,IAAI,CAAC,MA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AC,QAAQ,EAAE;QAChC,MAAM,EAAE,MAAM,CAAC,IAAI;QACnB,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC;YACpB,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,QAAQ,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;QAClC,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,EAdgB,SAAS,KAAT,SAAS,QAczB"}
@@ -1,7 +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
+ import { Rule } from "../Rule/Rule";
5
5
  import { Changeable as CardChangeable } from "./Changeable";
6
6
  import { Creatable as CardCreatable } from "./Creatable";
7
7
  import { Expiry as CardExpiry } from "./Expiry";
@@ -1,7 +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
+ import { type as ruleType } from "../Rule/Rule";
5
5
  import { Changeable as CardChangeable } from "./Changeable";
6
6
  import { Creatable as CardCreatable } from "./Creatable";
7
7
  import { Expiry as CardExpiry } from "./Expiry";
@@ -30,7 +30,7 @@ export var Card;
30
30
  spent: isly.tuple(isly.fromIs("isoly.Currency", isoly.Currency.is), isly.number()),
31
31
  status: isly.union(isly.string("active"), isly.string("cancelled")),
32
32
  history: isly.array(CardOperation.type),
33
- rules: Rule.type.array(),
33
+ rules: ruleType.array(),
34
34
  meta: isly.fromIs("Card.Meta", CardMeta.is).optional(),
35
35
  });
36
36
  Card.is = Card.type.is;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../","sources":["Card/index.ts"],"names":[],"mappings":"AAAA,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,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,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,CAAA;AA0B/C,MAAM,KAAW,IAAI,CAqCpB;AArCD,WAAiB,IAAI;IACP,SAAI,GAAG,IAAI,CAAC,MAAM,CAAO;QACrC,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE;QACjB,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAChC,OAAO,EAAE,IAAI,CAAC,MAAM,EAAE;QACtB,YAAY,EAAE,IAAI,CAAC,MAAM,EAAE;QAC3B,KAAK,EAAE,KAAK,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,MAAM,EAAE;QACtB,MAAM,EAAE,UAAU,CAAC,IAAI;QACvB,SAAS,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACnC,OAAO,EAAE,IAAI,CAAC,M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I,CAAC,MAAM,EAAE;YACrB,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE;SACpB,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,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC;QAClF,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;QACnE,OAAO,EAAE,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC;QACvC,KAAK,EAAE,QAAQ,CAAC,KAAK,EAAE;QACvB,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;KACtD,CAAC,CAAA;IACW,OAAE,GAAG,KAAA,IAAI,CAAC,EAAE,CAAA;IAEZ,cAAS,GAAG,aAAa,CAAA;IAEzB,WAAM,GAAG,UAAU,CAAA;IAEnB,SAAI,GAAG,QAAQ,CAAA;IAEf,WAAM,GAAG,UAAU,CAAA;IAEnB,eAAU,GAAG,cAAc,CAAA;IAE3B,cAAS,GAAG,aAAa,CAAA;AACvC,CAAC,EArCgB,IAAI,KAAJ,IAAI,QAqCpB"}
@@ -0,0 +1,17 @@
1
+ import { isly } from "isly";
2
+ export interface Rule {
3
+ name: string;
4
+ description: string;
5
+ action: Action;
6
+ type: Kind;
7
+ condition: string;
8
+ flags: string[];
9
+ }
10
+ export declare const actions: readonly ["review", "reject", "flag"];
11
+ export type Action = typeof actions[number];
12
+ export declare const kinds: readonly ["authorization", "outbound", "inbound"];
13
+ export type Kind = typeof kinds[number];
14
+ export declare const type: isly.object.ExtendableType<Rule>;
15
+ export declare const is: isly.Type.IsFunction<Rule>;
16
+ export declare const flaw: isly.Type.FlawFunction;
17
+ export declare function stringify(rule: Rule): string;
@@ -0,0 +1,17 @@
1
+ import { isly } from "isly";
2
+ export const actions = ["review", "reject", "flag"];
3
+ export const kinds = ["authorization", "outbound", "inbound"];
4
+ export const type = isly.object({
5
+ name: isly.string(),
6
+ description: isly.string(),
7
+ action: isly.string(actions),
8
+ type: isly.string(kinds),
9
+ condition: isly.string(),
10
+ flags: isly.string().array(),
11
+ });
12
+ export const is = type.is;
13
+ export const flaw = type.flaw;
14
+ export function stringify(rule) {
15
+ return `{ label: ${rule.name}, action: ${rule.action}, type: ${rule.type}, condition: ${rule.condition}, description: ${rule.description}. }`;
16
+ }
17
+ //# sourceMappingURL=Rule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Rule.js","sourceRoot":"../","sources":["Rule/Rule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAW3B,MAAM,CAAC,MAAM,OAAO,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAU,CAAA;AAE5D,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,eAAe,EAAE,UAAU,EAAE,SAAS,CAAU,CAAA;AAGtE,MAAM,CAAC,MAAM,IAAI,GAAG,IAAI,CAAC,MAAM,CAAO;IACrC,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;IACnB,WAAW,EAAE,IAAI,CAAC,MAAM,EAAE;IAC1B,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC;IAC5B,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC;IACxB,SAAS,EAAE,IAAI,CAAC,MAAM,EAAE;IACxB,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE;CAC5B,CAAC,CAAA;AACF,MAAM,CAAC,MAAM,EAAE,GAAG,IAAI,CAAC,EAAE,CAAA;AACzB,MAAM,CAAC,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAA;AAC7B,MAAM,UAAU,SAAS,CAAC,IAAU;IACnC,OAAO,YAAY,IAAI,CAAC,IAAI,aAAa,IAAI,CAAC,MAAM,WAAW,IAAI,CAAC,IAAI,gBAAgB,IAAI,CAAC,SAAS,kBAAkB,IAAI,CAAC,WAAW,KAAK,CAAA;AAC9I,CAAC"}
@@ -1,5 +1,8 @@
1
- import type { Authorization as ModelAuthorization } from "../../Authorization";
2
- export type Authorization = ModelAuthorization;
1
+ import { Authorization as ModelAuthorization } from "../../Authorization";
2
+ export type Authorization = ModelAuthorization.Creatable;
3
3
  export declare namespace Authorization {
4
- function from(authorization: ModelAuthorization): Authorization;
4
+ function from(authorization: ModelAuthorization.Creatable): Authorization;
5
+ const type: import("isly/dist/object").object.ExtendableType<import("../../Authorization/Creatable").Creatable>;
6
+ const is: import("isly/dist/Type").Type.IsFunction<import("../../Authorization/Creatable").Creatable>;
7
+ const flaw: import("isly/dist/Type").Type.FlawFunction;
5
8
  }
@@ -1,8 +1,12 @@
1
+ import { Authorization as ModelAuthorization } from "../../Authorization";
1
2
  export var Authorization;
2
3
  (function (Authorization) {
3
4
  function from(authorization) {
4
5
  return authorization;
5
6
  }
6
7
  Authorization.from = from;
8
+ Authorization.type = ModelAuthorization.Creatable.type;
9
+ Authorization.is = Authorization.type.is;
10
+ Authorization.flaw = Authorization.type.flaw;
7
11
  })(Authorization || (Authorization = {}));
8
12
  //# sourceMappingURL=Authorization.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Authorization.js","sourceRoot":"../","sources":["Rule/State/Authorization.ts"],"names":[],"mappings":"AAIA,MAAM,KAAW,aAAa,CAI7B;AAJD,WAAiB,aAAa;IAC7B,SAAgB,IAAI,CAAC,aAAiC;QACrD,OAAO,aAAa,CAAA;IACrB,CAAC;IAFe,kBAAI,OAEnB,CAAA;AACF,CAAC,EAJgB,aAAa,KAAb,aAAa,QAI7B"}
1
+ {"version":3,"file":"Authorization.js","sourceRoot":"../","sources":["Rule/State/Authorization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,IAAI,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AAIzE,MAAM,KAAW,aAAa,CAO7B;AAPD,WAAiB,aAAa;IAC7B,SAAgB,IAAI,CAAC,aAA2C;QAC/D,OAAO,aAAa,CAAA;IACrB,CAAC;IAFe,kBAAI,OAEnB,CAAA;IACY,kBAAI,GAAG,kBAAkB,CAAC,SAAS,CAAC,IAAI,CAAA;IACxC,gBAAE,GAAG,cAAA,IAAI,CAAC,EAAE,CAAA;IACZ,kBAAI,GAAG,cAAA,IAAI,CAAC,IAAI,CAAA;AAC9B,CAAC,EAPgB,aAAa,KAAb,aAAa,QAO7B"}
@@ -1,5 +1,8 @@
1
- import type { Card as ModelCard } from "../../Card";
1
+ import { Card as ModelCard } from "../../Card";
2
2
  export type Card = ModelCard;
3
3
  export declare namespace Card {
4
4
  function from(card: ModelCard): Card;
5
+ const type: import("isly/dist/object").object.ExtendableType<ModelCard>;
6
+ const is: import("isly/dist/Type").Type.IsFunction<ModelCard>;
7
+ const flaw: import("isly/dist/Type").Type.FlawFunction;
5
8
  }
@@ -1,8 +1,12 @@
1
+ import { Card as ModelCard } from "../../Card";
1
2
  export var Card;
2
3
  (function (Card) {
3
4
  function from(card) {
4
5
  return card;
5
6
  }
6
7
  Card.from = from;
8
+ Card.type = ModelCard.type;
9
+ Card.is = Card.type.is;
10
+ Card.flaw = Card.type.flaw;
7
11
  })(Card || (Card = {}));
8
12
  //# sourceMappingURL=Card.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Card.js","sourceRoot":"../","sources":["Rule/State/Card.ts"],"names":[],"mappings":"AAIA,MAAM,KAAW,IAAI,CAIpB;AAJD,WAAiB,IAAI;IACpB,SAAgB,IAAI,CAAC,IAAe;QACnC,OAAO,IAAI,CAAA;IACZ,CAAC;IAFe,SAAI,OAEnB,CAAA;AACF,CAAC,EAJgB,IAAI,KAAJ,IAAI,QAIpB"}
1
+ {"version":3,"file":"Card.js","sourceRoot":"../","sources":["Rule/State/Card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,SAAS,EAAE,MAAM,YAAY,CAAA;AAI9C,MAAM,KAAW,IAAI,CAOpB;AAPD,WAAiB,IAAI;IACpB,SAAgB,IAAI,CAAC,IAAe;QACnC,OAAO,IAAI,CAAA;IACZ,CAAC;IAFe,SAAI,OAEnB,CAAA;IACY,SAAI,GAAG,SAAS,CAAC,IAAI,CAAA;IACrB,OAAE,GAAG,KAAA,IAAI,CAAC,EAAE,CAAA;IACZ,SAAI,GAAG,KAAA,IAAI,CAAC,IAAI,CAAA;AAC9B,CAAC,EAPgB,IAAI,KAAJ,IAAI,QAOpB"}
@@ -0,0 +1,12 @@
1
+ import { isly } from "isly";
2
+ import { Authorization } from "./Authorization";
3
+ import { Card } from "./Card";
4
+ export interface Partial {
5
+ authorization: Authorization;
6
+ card: Card;
7
+ }
8
+ export declare namespace Partial {
9
+ const type: isly.object.ExtendableType<Partial>;
10
+ const is: isly.Type.IsFunction<Partial>;
11
+ const flaw: isly.Type.FlawFunction;
12
+ }
@@ -0,0 +1,10 @@
1
+ import { isly } from "isly";
2
+ import { Authorization } from "./Authorization";
3
+ import { Card } from "./Card";
4
+ export var Partial;
5
+ (function (Partial) {
6
+ Partial.type = isly.object({ card: Card.type, authorization: Authorization.type });
7
+ Partial.is = Partial.type.is;
8
+ Partial.flaw = Partial.type.flaw;
9
+ })(Partial || (Partial = {}));
10
+ //# sourceMappingURL=Partial.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Partial.js","sourceRoot":"../","sources":["Rule/State/Partial.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAO7B,MAAM,KAAW,OAAO,CAIvB;AAJD,WAAiB,OAAO;IACV,YAAI,GAAG,IAAI,CAAC,MAAM,CAAU,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,aAAa,EAAE,aAAa,CAAC,IAAI,EAAE,CAAC,CAAA;IACnF,UAAE,GAAG,QAAA,IAAI,CAAC,EAAE,CAAA;IACZ,YAAI,GAAG,QAAA,IAAI,CAAC,IAAI,CAAA;AAC9B,CAAC,EAJgB,OAAO,KAAP,OAAO,QAIvB"}
@@ -5,6 +5,7 @@ import { Transaction as ModelTransaction } from "../../Transaction";
5
5
  import { Account as StateAccount } from "./Account";
6
6
  import { Authorization as StateAuthorization } from "./Authorization";
7
7
  import { Card as StateCard } from "./Card";
8
+ import { Partial as StatePartial } from "./Partial";
8
9
  import { Transaction as StateTransaction } from "./Transaction";
9
10
  export interface State {
10
11
  account: StateAccount;
@@ -14,6 +15,8 @@ export interface State {
14
15
  }
15
16
  export declare namespace State {
16
17
  function from(account: ModelAccount, transaction: ModelTransaction, authorization?: ModelAuthorization, card?: ModelCard): State;
18
+ type Partial = StatePartial;
19
+ const Partial: typeof StatePartial;
17
20
  type Account = StateAccount;
18
21
  const Account: typeof StateAccount;
19
22
  type Authorization = StateAuthorization;
@@ -1,6 +1,7 @@
1
1
  import { Account as StateAccount } from "./Account";
2
2
  import { Authorization as StateAuthorization } from "./Authorization";
3
3
  import { Card as StateCard } from "./Card";
4
+ import { Partial as StatePartial } from "./Partial";
4
5
  import { Transaction as StateTransaction } from "./Transaction";
5
6
  export var State;
6
7
  (function (State) {
@@ -13,6 +14,7 @@ export var State;
13
14
  };
14
15
  }
15
16
  State.from = from;
17
+ State.Partial = StatePartial;
16
18
  State.Account = StateAccount;
17
19
  State.Authorization = StateAuthorization;
18
20
  State.Card = StateCard;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"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AA;AACnD,OAAO,EAAE,WAAW,IAAI,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAS/D,MAAM,KAAW,KAAK,CAwBrB;AAxBD,WAAiB,KAAK;IACrB,SAAgB,IAAI,CACnB,OAAqB,EACrB,WAA6B,EAC7B,aAAkC,EAClC,IAAgB;QAEhB,OAAO;YACN,OAAO,EAAE,MAAA,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC;YAC9B,aAAa,EAAE,aAAa,IAAI,MAAA,aAAa,CAAC,IAAI,CAAC,aAAa,CAAC;YACjE,IAAI,EAAE,IAAI,IAAI,MAAA,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;YAC7B,WAAW,EAAE,MAAA,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC;SAC1C,CAAA;IACF,CAAC;IAZe,UAAI,OAYnB,CAAA;IAEY,aAAO,GAAG,YAAY,CAAA;IAEtB,aAAO,GAAG,YAAY,CAAA;IAEtB,mBAAa,GAAG,kBAAkB,CAAA;IAElC,UAAI,GAAG,SAAS,CAAA;IAEhB,iBAAW,GAAG,gBAAgB,CAAA;AAC5C,CAAC,EAxBgB,KAAK,KAAL,KAAK,QAwBrB"}
@@ -1,19 +1,12 @@
1
1
  import { selectively } from "selectively";
2
- import { isly } from "isly";
2
+ import * as ModelRule from "./Rule";
3
3
  import { State as RuleState } from "./State";
4
- export interface Rule {
5
- name: string;
6
- description: string;
7
- action: Rule.Action;
8
- type: Rule.Kind;
9
- condition: string;
10
- flags: string[];
11
- }
4
+ export type Rule = ModelRule.Rule;
12
5
  export declare namespace Rule {
13
6
  const actions: readonly ["review", "reject", "flag"];
14
- type Action = typeof actions[number];
7
+ type Action = ModelRule.Action;
15
8
  const kinds: readonly ["authorization", "outbound", "inbound"];
16
- type Kind = typeof kinds[number];
9
+ type Kind = ModelRule.Kind;
17
10
  type State = RuleState;
18
11
  const State: typeof RuleState;
19
12
  namespace State {
@@ -22,9 +15,9 @@ export declare namespace Rule {
22
15
  type Card = RuleState.Card;
23
16
  type Transaction = RuleState.Transaction;
24
17
  }
25
- const type: isly.object.ExtendableType<Rule>;
26
- const is: isly.Type.IsFunction<Rule>;
27
- const flaw: isly.Type.FlawFunction;
28
- function stringify(rule: Rule): string;
18
+ const type: import("isly/dist/object").object.ExtendableType<ModelRule.Rule>;
19
+ const is: import("isly/dist/Type").Type.IsFunction<ModelRule.Rule>;
20
+ const flaw: import("isly/dist/Type").Type.FlawFunction;
21
+ const stringify: typeof ModelRule.stringify;
29
22
  function evaluate(rules: Rule[], state: State, macros?: Record<string, selectively.Definition>): Record<Action, Rule[]>;
30
23
  }
@@ -1,26 +1,16 @@
1
1
  import { selectively } from "selectively";
2
- import { isly } from "isly";
3
2
  import { definitions } from "./definitions";
3
+ import * as ModelRule from "./Rule";
4
4
  import { State as RuleState } from "./State";
5
5
  export var Rule;
6
6
  (function (Rule) {
7
- Rule.actions = ["review", "reject", "flag"];
8
- Rule.kinds = ["authorization", "outbound", "inbound"];
7
+ Rule.actions = ModelRule.actions;
8
+ Rule.kinds = ModelRule.kinds;
9
9
  Rule.State = RuleState;
10
- Rule.type = isly.object({
11
- name: isly.string(),
12
- description: isly.string(),
13
- action: isly.string(Rule.actions),
14
- type: isly.string(Rule.kinds),
15
- condition: isly.string(),
16
- flags: isly.string().array(),
17
- });
18
- Rule.is = Rule.type.is;
19
- Rule.flaw = Rule.type.flaw;
20
- function stringify(rule) {
21
- return `{ label: ${rule.name}, action: ${rule.action}, type: ${rule.type}, condition: ${rule.condition}, description: ${rule.description}. }`;
22
- }
23
- Rule.stringify = stringify;
10
+ Rule.type = ModelRule.type;
11
+ Rule.is = ModelRule.type.is;
12
+ Rule.flaw = ModelRule.type.flaw;
13
+ Rule.stringify = ModelRule.stringify;
24
14
  function evaluate(rules, state, macros) {
25
15
  const result = { review: [], reject: [], flag: [] };
26
16
  rules.forEach(r => selectively.resolve({ ...macros, ...definitions }, selectively.parse(r.condition)).is(state) &&
@@ -1 +1 @@
1
- {"version":3,"file":"index.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E,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,CAAA;QAC3E,KAAK,CAAC,OAAO,CACZ,CAAC,CAAC,EAAE,CACH,WAAW,CAAC,OAAO,CAAC,EAAE,GAAG,MAAM,EAAE,GAAG,WAAW,EAAE,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC;YAC5F,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CACzB,CAAA;QACD,OAAO,MAAM,CAAA;IACd,CAAC;IAZe,aAAQ,WAYvB,CAAA;AACF,CAAC,EA/BgB,IAAI,KAAJ,IAAI,QA+BpB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/model-banking",
3
- "version": "0.1.105",
3
+ "version": "0.1.107",
4
4
  "description": "Library containing data model types and functions for the Pax2Pay Banking API.",
5
5
  "author": "Pax2Pay Ltd",
6
6
  "license": "MIT",