@pax2pay/model-banking 0.1.226 → 0.1.227

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.
@@ -2,7 +2,7 @@ import { isly } from "isly"
2
2
 
3
3
  export type Status = typeof Status.values[number]
4
4
  export namespace Status {
5
- export const values = ["created", "approved", "rejected", "processing", "finalized"] as const
5
+ export const values = ["created", "approved", "rejected", "processing", "finalized", "cancelled"] as const
6
6
  export const type = isly.string(values)
7
7
  export const is = type.is
8
8
  export const flaw = type.flaw
@@ -1,8 +1,8 @@
1
1
  import { isly } from "isly";
2
2
  export type Status = typeof Status.values[number];
3
3
  export declare namespace Status {
4
- const values: readonly ["created", "approved", "rejected", "processing", "finalized"];
5
- const type: isly.Type<"rejected" | "created" | "approved" | "processing" | "finalized">;
6
- const is: isly.Type.IsFunction<"rejected" | "created" | "approved" | "processing" | "finalized">;
4
+ const values: readonly ["created", "approved", "rejected", "processing", "finalized", "cancelled"];
5
+ const type: isly.Type<"rejected" | "created" | "cancelled" | "approved" | "processing" | "finalized">;
6
+ const is: isly.Type.IsFunction<"rejected" | "created" | "cancelled" | "approved" | "processing" | "finalized">;
7
7
  const flaw: isly.Type.FlawFunction;
8
8
  }
@@ -1,7 +1,7 @@
1
1
  import { isly } from "isly";
2
2
  export var Status;
3
3
  (function (Status) {
4
- Status.values = ["created", "approved", "rejected", "processing", "finalized"];
4
+ Status.values = ["created", "approved", "rejected", "processing", "finalized", "cancelled"];
5
5
  Status.type = isly.string(Status.values);
6
6
  Status.is = Status.type.is;
7
7
  Status.flaw = Status.type.flaw;
@@ -1 +1 @@
1
- {"version":3,"file":"Status.js","sourceRoot":"../","sources":["Transaction/Status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAG3B,MAAM,KAAW,MAAM,CAKtB;AALD,WAAiB,MAAM;IACT,aAAM,GAAG,CAAC,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,CAAU,CAAA;IAChF,WAAI,GAAG,IAAI,CAAC,MAAM,CAAC,OAAA,MAAM,CAAC,CAAA;IAC1B,SAAE,GAAG,OAAA,IAAI,CAAC,EAAE,CAAA;IACZ,WAAI,GAAG,OAAA,IAAI,CAAC,IAAI,CAAA;AAC9B,CAAC,EALgB,MAAM,KAAN,MAAM,QAKtB"}
1
+ {"version":3,"file":"Status.js","sourceRoot":"../","sources":["Transaction/Status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAG3B,MAAM,KAAW,MAAM,CAKtB;AALD,WAAiB,MAAM;IACT,aAAM,GAAG,CAAC,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,CAAU,CAAA;IAC7F,WAAI,GAAG,IAAI,CAAC,MAAM,CAAC,OAAA,MAAM,CAAC,CAAA;IAC1B,SAAE,GAAG,OAAA,IAAI,CAAC,EAAE,CAAA;IACZ,WAAI,GAAG,OAAA,IAAI,CAAC,IAAI,CAAA;AAC9B,CAAC,EALgB,MAAM,KAAN,MAAM,QAKtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/model-banking",
3
- "version": "0.1.226",
3
+ "version": "0.1.227",
4
4
  "description": "Library containing data model types and functions for the Pax2Pay Banking API.",
5
5
  "author": "Pax2Pay Ltd",
6
6
  "license": "MIT",