@pax2pay/model-banking 0.1.515 → 0.1.516
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/Transaction/Status.ts +1 -0
- package/dist/cjs/Authorization/Status.d.ts +2 -2
- package/dist/cjs/Transaction/Status.d.ts +2 -2
- package/dist/cjs/Transaction/Status.js +1 -0
- package/dist/cjs/Transaction/Status.js.map +1 -1
- package/dist/mjs/Authorization/Status.d.ts +2 -2
- package/dist/mjs/Transaction/Status.d.ts +2 -2
- package/dist/mjs/Transaction/Status.js +1 -0
- package/dist/mjs/Transaction/Status.js.map +1 -1
- package/package.json +1 -1
package/Transaction/Status.ts
CHANGED
|
@@ -3,10 +3,10 @@ import { isly } from "isly";
|
|
|
3
3
|
import { Transaction } from "../Transaction";
|
|
4
4
|
export type Status = "approved" | Status.Failed;
|
|
5
5
|
export declare namespace Status {
|
|
6
|
-
const failures: readonly ["insufficient funds", "cancelled card", "card expired", "exceeds limit", "invalid csc", "system failure", "invalid request", "expired", "denied", "card not found", "account not found", "other"];
|
|
6
|
+
const failures: readonly ["insufficient funds", "cancelled card", "card expired", "exceeds limit", "invalid csc", "system failure", "invalid request", "expired", "denied", "merchant lock violation", "card not found", "account not found", "other"];
|
|
7
7
|
type Failed = typeof failures[number];
|
|
8
8
|
namespace Failed {
|
|
9
9
|
function from(error: gracely.Error | Transaction.Status.Reason): Failed;
|
|
10
10
|
}
|
|
11
|
-
const type: isly.Type<"other" | "insufficient funds" | "cancelled card" | "card expired" | "exceeds limit" | "invalid csc" | "system failure" | "invalid request" | "expired" | "denied" | "card not found" | "account not found" | "approved">;
|
|
11
|
+
const type: isly.Type<"other" | "insufficient funds" | "cancelled card" | "card expired" | "exceeds limit" | "invalid csc" | "system failure" | "invalid request" | "expired" | "denied" | "merchant lock violation" | "card not found" | "account not found" | "approved">;
|
|
12
12
|
}
|
|
@@ -7,8 +7,8 @@ export declare namespace Status {
|
|
|
7
7
|
const failures: readonly ["rejected", "cancelled"];
|
|
8
8
|
type Fail = typeof failures[number];
|
|
9
9
|
const Fail: isly.Type<"rejected" | "cancelled">;
|
|
10
|
-
const reasons: readonly ["insufficient funds", "cancelled card", "card expired", "exceeds limit", "invalid csc", "system failure", "invalid request", "expired", "denied"];
|
|
10
|
+
const reasons: readonly ["insufficient funds", "cancelled card", "card expired", "exceeds limit", "invalid csc", "system failure", "invalid request", "expired", "denied", "merchant lock violation"];
|
|
11
11
|
type Reason = typeof reasons[number];
|
|
12
|
-
const Reason: isly.Type<"insufficient funds" | "cancelled card" | "card expired" | "exceeds limit" | "invalid csc" | "system failure" | "invalid request" | "expired" | "denied">;
|
|
12
|
+
const Reason: isly.Type<"insufficient funds" | "cancelled card" | "card expired" | "exceeds limit" | "invalid csc" | "system failure" | "invalid request" | "expired" | "denied" | "merchant lock violation">;
|
|
13
13
|
const type: isly.Type<Status>;
|
|
14
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Status.js","sourceRoot":"","sources":["../../../Transaction/Status.ts"],"names":[],"mappings":";;;AAAA,+BAA2B;AAG3B,IAAiB,MAAM,
|
|
1
|
+
{"version":3,"file":"Status.js","sourceRoot":"","sources":["../../../Transaction/Status.ts"],"names":[],"mappings":";;;AAAA,+BAA2B;AAG3B,IAAiB,MAAM,CA0BtB;AA1BD,WAAiB,MAAM;IAET,gBAAS,GAAG,CAAC,SAAS,EAAE,QAAQ,EAAE,YAAY,EAAE,WAAW,CAAU,CAAA;IAErE,cAAO,GAAG,WAAI,CAAC,MAAM,CAAU,OAAA,SAAS,CAAC,CAAA;IACzC,eAAQ,GAAG,CAAC,UAAU,EAAE,WAAW,CAAU,CAAA;IAE7C,WAAI,GAAG,WAAI,CAAC,MAAM,CAAO,OAAA,QAAQ,CAAC,CAAA;IAClC,cAAO,GAAG;QACtB,oBAAoB;QACpB,gBAAgB;QAChB,cAAc;QACd,eAAe;QACf,aAAa;QACb,gBAAgB;QAChB,iBAAiB;QACjB,SAAS;QACT,QAAQ;QACR,yBAAyB;KAChB,CAAA;IAEG,aAAM,GAAG,WAAI,CAAC,MAAM,CAAS,OAAA,OAAO,CAAC,CAAA;IACrC,WAAI,GAAG,WAAI,CAAC,KAAK,CAC7B,OAAA,OAAO,EACP,WAAI,CAAC,KAAK,CAAwB,OAAA,IAAI,EAAE,OAAA,MAAM,CAAC,CAC/C,CAAA;AACF,CAAC,EA1BgB,MAAM,sBAAN,MAAM,QA0BtB"}
|
|
@@ -3,10 +3,10 @@ import { isly } from "isly";
|
|
|
3
3
|
import { Transaction } from "../Transaction";
|
|
4
4
|
export type Status = "approved" | Status.Failed;
|
|
5
5
|
export declare namespace Status {
|
|
6
|
-
const failures: readonly ["insufficient funds", "cancelled card", "card expired", "exceeds limit", "invalid csc", "system failure", "invalid request", "expired", "denied", "card not found", "account not found", "other"];
|
|
6
|
+
const failures: readonly ["insufficient funds", "cancelled card", "card expired", "exceeds limit", "invalid csc", "system failure", "invalid request", "expired", "denied", "merchant lock violation", "card not found", "account not found", "other"];
|
|
7
7
|
type Failed = typeof failures[number];
|
|
8
8
|
namespace Failed {
|
|
9
9
|
function from(error: gracely.Error | Transaction.Status.Reason): Failed;
|
|
10
10
|
}
|
|
11
|
-
const type: isly.Type<"other" | "insufficient funds" | "cancelled card" | "card expired" | "exceeds limit" | "invalid csc" | "system failure" | "invalid request" | "expired" | "denied" | "card not found" | "account not found" | "approved">;
|
|
11
|
+
const type: isly.Type<"other" | "insufficient funds" | "cancelled card" | "card expired" | "exceeds limit" | "invalid csc" | "system failure" | "invalid request" | "expired" | "denied" | "merchant lock violation" | "card not found" | "account not found" | "approved">;
|
|
12
12
|
}
|
|
@@ -7,8 +7,8 @@ export declare namespace Status {
|
|
|
7
7
|
const failures: readonly ["rejected", "cancelled"];
|
|
8
8
|
type Fail = typeof failures[number];
|
|
9
9
|
const Fail: isly.Type<"rejected" | "cancelled">;
|
|
10
|
-
const reasons: readonly ["insufficient funds", "cancelled card", "card expired", "exceeds limit", "invalid csc", "system failure", "invalid request", "expired", "denied"];
|
|
10
|
+
const reasons: readonly ["insufficient funds", "cancelled card", "card expired", "exceeds limit", "invalid csc", "system failure", "invalid request", "expired", "denied", "merchant lock violation"];
|
|
11
11
|
type Reason = typeof reasons[number];
|
|
12
|
-
const Reason: isly.Type<"insufficient funds" | "cancelled card" | "card expired" | "exceeds limit" | "invalid csc" | "system failure" | "invalid request" | "expired" | "denied">;
|
|
12
|
+
const Reason: isly.Type<"insufficient funds" | "cancelled card" | "card expired" | "exceeds limit" | "invalid csc" | "system failure" | "invalid request" | "expired" | "denied" | "merchant lock violation">;
|
|
13
13
|
const type: isly.Type<Status>;
|
|
14
14
|
}
|
|
@@ -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,
|
|
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,CA0BtB;AA1BD,WAAiB,MAAM;IAET,gBAAS,GAAG,CAAC,SAAS,EAAE,QAAQ,EAAE,YAAY,EAAE,WAAW,CAAU,CAAA;IAErE,cAAO,GAAG,IAAI,CAAC,MAAM,CAAU,OAAA,SAAS,CAAC,CAAA;IACzC,eAAQ,GAAG,CAAC,UAAU,EAAE,WAAW,CAAU,CAAA;IAE7C,WAAI,GAAG,IAAI,CAAC,MAAM,CAAO,OAAA,QAAQ,CAAC,CAAA;IAClC,cAAO,GAAG;QACtB,oBAAoB;QACpB,gBAAgB;QAChB,cAAc;QACd,eAAe;QACf,aAAa;QACb,gBAAgB;QAChB,iBAAiB;QACjB,SAAS;QACT,QAAQ;QACR,yBAAyB;KAChB,CAAA;IAEG,aAAM,GAAG,IAAI,CAAC,MAAM,CAAS,OAAA,OAAO,CAAC,CAAA;IACrC,WAAI,GAAG,IAAI,CAAC,KAAK,CAC7B,OAAA,OAAO,EACP,IAAI,CAAC,KAAK,CAAwB,OAAA,IAAI,EAAE,OAAA,MAAM,CAAC,CAC/C,CAAA;AACF,CAAC,EA1BgB,MAAM,KAAN,MAAM,QA0BtB"}
|