@pax2pay/model-banking 0.1.93 → 0.1.94

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.
@@ -0,0 +1,3 @@
1
+ import { Account as ModelAccount } from "../../Account"
2
+
3
+ export type Account = ModelAccount
@@ -0,0 +1,3 @@
1
+ import { Authorization as ModelAuthorization } from "../../Authorization"
2
+
3
+ export type Authorization = ModelAuthorization
@@ -0,0 +1,3 @@
1
+ import { Card as ModelCard } from "../../Card"
2
+
3
+ export type Card = ModelCard
@@ -0,0 +1,3 @@
1
+ import { Transaction as ModelTransaction } from "../../Transaction"
2
+
3
+ export type Transaction = ModelTransaction
@@ -0,0 +1,11 @@
1
+ import { Account } from "./Account"
2
+ import { Authorization } from "./Authorization"
3
+ import { Card } from "./Card"
4
+ import { Transaction } from "./Transaction"
5
+
6
+ export interface State {
7
+ authorization: Authorization
8
+ transaction: Transaction
9
+ account: Account
10
+ card: Card
11
+ }
package/Rule/index.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { selectively } from "selectively"
2
2
  import { isly } from "isly"
3
3
  import { definitions } from "./definitions"
4
+ import { State as RuleState } from "./State"
4
5
 
5
6
  export interface Rule {
6
7
  name: string
@@ -16,6 +17,7 @@ export namespace Rule {
16
17
  export type Action = typeof actions[number]
17
18
  export const kinds = ["authorization", "outbound", "inbound"] as const
18
19
  export type Kind = typeof kinds[number]
20
+ export type State = RuleState
19
21
  export const type = isly.object<Rule>({
20
22
  name: isly.string(),
21
23
  description: isly.string(),
@@ -0,0 +1,2 @@
1
+ import { Account as ModelAccount } from "../../Account";
2
+ export type Account = ModelAccount;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Account.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Account.js","sourceRoot":"../","sources":["Rule/State/Account.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { Authorization as ModelAuthorization } from "../../Authorization";
2
+ export type Authorization = ModelAuthorization;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Authorization.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Authorization.js","sourceRoot":"../","sources":["Rule/State/Authorization.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { Card as ModelCard } from "../../Card";
2
+ export type Card = ModelCard;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Card.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Card.js","sourceRoot":"../","sources":["Rule/State/Card.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { Transaction as ModelTransaction } from "../../Transaction";
2
+ export type Transaction = ModelTransaction;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Transaction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Transaction.js","sourceRoot":"../","sources":["Rule/State/Transaction.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ import { Account } from "./Account";
2
+ import { Authorization } from "./Authorization";
3
+ import { Card } from "./Card";
4
+ import { Transaction } from "./Transaction";
5
+ export interface State {
6
+ authorization: Authorization;
7
+ transaction: Transaction;
8
+ account: Account;
9
+ card: Card;
10
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"../","sources":["Rule/State/index.ts"],"names":[],"mappings":""}
@@ -1,5 +1,6 @@
1
1
  import { selectively } from "selectively";
2
2
  import { isly } from "isly";
3
+ import { State as RuleState } from "./State";
3
4
  export interface Rule {
4
5
  name: string;
5
6
  description: string;
@@ -13,6 +14,7 @@ export declare namespace Rule {
13
14
  type Action = typeof actions[number];
14
15
  const kinds: readonly ["authorization", "outbound", "inbound"];
15
16
  type Kind = typeof kinds[number];
17
+ type State = RuleState;
16
18
  const type: isly.object.ExtendableType<Rule>;
17
19
  const is: isly.Type.IsFunction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CAAC,CAAA;IACW,OAAE,GAAG,KAAA,IAAI,CAAC,EAAE,CAAA;IACZ,SAAI,GAAG,KAAA,IAAI,CAAC,IAAI,CAAA;IAC7B,SAAgB,SAAS,CAAC,IAAU;QACnC,OAAO,YAAY,IAAI,CAAC,IAAI,aAAa,IAAI,CAAC,MAAM,WAAW,IAAI,CAAC,IAAI,gBAAgB,IAAI,CAAC,SAAS,kBAAkB,IAAI,CAAC,WAAW,KAAK,CAAA;IAC9I,CAAC;IAFe,cAAS,YAExB,CAAA;IACD,SAAgB,QAAQ,CACvB,KAAa,EACb,KAAQ,EACR,MAA+C;QAE/C,MAAM,MAAM,GAA2B,EAAE,MAAM,EAAE,EAAE,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,EAhCgB,IAAI,KAAJ,IAAI,QAgCpB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/model-banking",
3
- "version": "0.1.93",
3
+ "version": "0.1.94",
4
4
  "description": "Library containing data model types and functions for the Pax2Pay Banking API.",
5
5
  "author": "Pax2Pay Ltd",
6
6
  "license": "MIT",