@pax2pay/model-banking 0.1.371 → 0.1.372

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.
@@ -33,7 +33,7 @@ export namespace State {
33
33
  export const type = isly.string<Outcome>(values)
34
34
  }
35
35
  export interface Evaluated extends State {
36
- outcomes: Record<Rule.Other.Action | "charge", Rule[]>
36
+ outcomes: globalThis.Partial<Record<Rule.Action, Rule[]>>
37
37
  outcome: Outcome
38
38
  flags: string[]
39
39
  notes: ModelTransaction.Note[]
@@ -32,7 +32,7 @@ export declare namespace State {
32
32
  const type: isly.Type<"review" | "reject" | "approve">;
33
33
  }
34
34
  interface Evaluated extends State {
35
- outcomes: Record<Rule.Other.Action | "charge", Rule[]>;
35
+ outcomes: globalThis.Partial<Record<Rule.Action, Rule[]>>;
36
36
  outcome: Outcome;
37
37
  flags: string[];
38
38
  notes: ModelTransaction.Note[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/model-banking",
3
- "version": "0.1.371",
3
+ "version": "0.1.372",
4
4
  "description": "Library containing data model types and functions for the Pax2Pay Banking API.",
5
5
  "author": "Pax2Pay Ltd",
6
6
  "license": "MIT",