@pax2pay/model-banking 0.1.515 → 0.1.517
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/Client/Users/Invites.ts +1 -1
- package/Transaction/Status.ts +1 -0
- package/dist/cjs/Authorization/Status.d.ts +2 -2
- package/dist/cjs/Client/Users/Invites.js +1 -1
- package/dist/cjs/Client/Users/Invites.js.map +1 -1
- 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/Client/Users/Invites.js +1 -1
- package/dist/mjs/Client/Users/Invites.js.map +1 -1
- 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/Client/Users/Invites.ts
CHANGED
|
@@ -15,6 +15,6 @@ export class Invites {
|
|
|
15
15
|
return await this.client.get<User.Invite[]>("/user/invite")
|
|
16
16
|
}
|
|
17
17
|
async remove(identifier: string): Promise<User.Invite | gracely.Error> {
|
|
18
|
-
return await this.client.delete<User.Invite>(`/user/invite
|
|
18
|
+
return await this.client.delete<User.Invite>(`/user/invite/${identifier}`)
|
|
19
19
|
}
|
|
20
20
|
}
|
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
|
}
|
|
@@ -16,7 +16,7 @@ class Invites {
|
|
|
16
16
|
return await this.client.get("/user/invite");
|
|
17
17
|
}
|
|
18
18
|
async remove(identifier) {
|
|
19
|
-
return await this.client.delete(`/user/invite
|
|
19
|
+
return await this.client.delete(`/user/invite/${identifier}`);
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
exports.Invites = Invites;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Invites.js","sourceRoot":"","sources":["../../../../Client/Users/Invites.ts"],"names":[],"mappings":";;;AAIA,MAAa,OAAO;IACU;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IAEpD,KAAK,CAAC,MAAM,CAAC,SAAgC;QAC5C,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAc,cAAc,EAAE,SAAS,CAAC,CAAA;IACtE,CAAC;IACD,KAAK,CAAC,KAAK,CAAC,UAAkB;QAC7B,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAc,gBAAgB,UAAU,EAAE,CAAC,CAAA;IACxE,CAAC;IACD,KAAK,CAAC,IAAI;QACT,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAgB,cAAc,CAAC,CAAA;IAC5D,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,UAAkB;QAC9B,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,MAAM,CAAc,
|
|
1
|
+
{"version":3,"file":"Invites.js","sourceRoot":"","sources":["../../../../Client/Users/Invites.ts"],"names":[],"mappings":";;;AAIA,MAAa,OAAO;IACU;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IAEpD,KAAK,CAAC,MAAM,CAAC,SAAgC;QAC5C,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAc,cAAc,EAAE,SAAS,CAAC,CAAA;IACtE,CAAC;IACD,KAAK,CAAC,KAAK,CAAC,UAAkB;QAC7B,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAc,gBAAgB,UAAU,EAAE,CAAC,CAAA;IACxE,CAAC;IACD,KAAK,CAAC,IAAI;QACT,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAgB,cAAc,CAAC,CAAA;IAC5D,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,UAAkB;QAC9B,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,MAAM,CAAc,gBAAgB,UAAU,EAAE,CAAC,CAAA;IAC3E,CAAC;CACD;AAfD,0BAeC"}
|
|
@@ -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
|
}
|
|
@@ -13,7 +13,7 @@ export class Invites {
|
|
|
13
13
|
return await this.client.get("/user/invite");
|
|
14
14
|
}
|
|
15
15
|
async remove(identifier) {
|
|
16
|
-
return await this.client.delete(`/user/invite
|
|
16
|
+
return await this.client.delete(`/user/invite/${identifier}`);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
//# sourceMappingURL=Invites.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Invites.js","sourceRoot":"","sources":["../../../../Client/Users/Invites.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,OAAO;IACU;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IAEpD,KAAK,CAAC,MAAM,CAAC,SAAgC;QAC5C,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAc,cAAc,EAAE,SAAS,CAAC,CAAA;IACtE,CAAC;IACD,KAAK,CAAC,KAAK,CAAC,UAAkB;QAC7B,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAc,gBAAgB,UAAU,EAAE,CAAC,CAAA;IACxE,CAAC;IACD,KAAK,CAAC,IAAI;QACT,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAgB,cAAc,CAAC,CAAA;IAC5D,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,UAAkB;QAC9B,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,MAAM,CAAc,
|
|
1
|
+
{"version":3,"file":"Invites.js","sourceRoot":"","sources":["../../../../Client/Users/Invites.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,OAAO;IACU;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IAEpD,KAAK,CAAC,MAAM,CAAC,SAAgC;QAC5C,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAc,cAAc,EAAE,SAAS,CAAC,CAAA;IACtE,CAAC;IACD,KAAK,CAAC,KAAK,CAAC,UAAkB;QAC7B,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAc,gBAAgB,UAAU,EAAE,CAAC,CAAA;IACxE,CAAC;IACD,KAAK,CAAC,IAAI;QACT,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAgB,cAAc,CAAC,CAAA;IAC5D,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,UAAkB;QAC9B,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,MAAM,CAAc,gBAAgB,UAAU,EAAE,CAAC,CAAA;IAC3E,CAAC;CACD"}
|
|
@@ -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"}
|