@pax2pay/model-banking 0.1.644 → 0.1.646
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/Accounts/index.ts +0 -6
- package/Client/Cards.ts +7 -13
- package/Client/index.ts +0 -3
- package/Realm.ts +2 -2
- package/Supplier/index.ts +6 -2
- package/dist/cjs/Client/Accounts/index.d.ts +0 -4
- package/dist/cjs/Client/Accounts/index.js +0 -6
- package/dist/cjs/Client/Accounts/index.js.map +1 -1
- package/dist/cjs/Client/Cards.d.ts +4 -11
- package/dist/cjs/Client/Cards.js +0 -4
- package/dist/cjs/Client/Cards.js.map +1 -1
- package/dist/cjs/Client/index.d.ts +0 -2
- package/dist/cjs/Client/index.js +0 -3
- package/dist/cjs/Client/index.js.map +1 -1
- package/dist/cjs/Realm.d.ts +1 -1
- package/dist/cjs/Realm.js +1 -1
- package/dist/cjs/Realm.js.map +1 -1
- package/dist/cjs/Supplier/index.d.ts +4 -1
- package/dist/cjs/Supplier/index.js +6 -2
- package/dist/cjs/Supplier/index.js.map +1 -1
- package/dist/cjs/pax2pay.d.ts +0 -1
- package/dist/cjs/pax2pay.js +1 -3
- package/dist/cjs/pax2pay.js.map +1 -1
- package/dist/mjs/Client/Accounts/index.d.ts +0 -4
- package/dist/mjs/Client/Accounts/index.js +0 -6
- package/dist/mjs/Client/Accounts/index.js.map +1 -1
- package/dist/mjs/Client/Cards.d.ts +4 -11
- package/dist/mjs/Client/Cards.js +0 -4
- package/dist/mjs/Client/Cards.js.map +1 -1
- package/dist/mjs/Client/index.d.ts +0 -2
- package/dist/mjs/Client/index.js +0 -3
- package/dist/mjs/Client/index.js.map +1 -1
- package/dist/mjs/Realm.d.ts +1 -1
- package/dist/mjs/Realm.js +1 -1
- package/dist/mjs/Realm.js.map +1 -1
- package/dist/mjs/Supplier/index.d.ts +4 -1
- package/dist/mjs/Supplier/index.js +6 -2
- package/dist/mjs/Supplier/index.js.map +1 -1
- package/dist/mjs/pax2pay.d.ts +0 -1
- package/dist/mjs/pax2pay.js +0 -1
- package/dist/mjs/pax2pay.js.map +1 -1
- package/package.json +1 -1
- package/pax2pay.ts +0 -1
- package/Client/Accounts/Buffer.ts +0 -11
- package/Client/Accounts/Counterparts.ts +0 -13
- package/Client/Exchanges.ts +0 -11
- package/Exchange.ts +0 -19
- package/dist/cjs/Client/Accounts/Buffer.d.ts +0 -9
- package/dist/cjs/Client/Accounts/Buffer.js +0 -14
- package/dist/cjs/Client/Accounts/Buffer.js.map +0 -1
- package/dist/cjs/Client/Accounts/Counterparts.d.ts +0 -9
- package/dist/cjs/Client/Accounts/Counterparts.js +0 -17
- package/dist/cjs/Client/Accounts/Counterparts.js.map +0 -1
- package/dist/cjs/Client/Exchanges.d.ts +0 -9
- package/dist/cjs/Client/Exchanges.js +0 -14
- package/dist/cjs/Client/Exchanges.js.map +0 -1
- package/dist/cjs/Exchange.d.ts +0 -187
- package/dist/cjs/Exchange.js +0 -15
- package/dist/cjs/Exchange.js.map +0 -1
- package/dist/mjs/Client/Accounts/Buffer.d.ts +0 -9
- package/dist/mjs/Client/Accounts/Buffer.js +0 -10
- package/dist/mjs/Client/Accounts/Buffer.js.map +0 -1
- package/dist/mjs/Client/Accounts/Counterparts.d.ts +0 -9
- package/dist/mjs/Client/Accounts/Counterparts.js +0 -13
- package/dist/mjs/Client/Accounts/Counterparts.js.map +0 -1
- package/dist/mjs/Client/Exchanges.d.ts +0 -9
- package/dist/mjs/Client/Exchanges.js +0 -10
- package/dist/mjs/Client/Exchanges.js.map +0 -1
- package/dist/mjs/Exchange.d.ts +0 -187
- package/dist/mjs/Exchange.js +0 -12
- package/dist/mjs/Exchange.js.map +0 -1
package/Client/Accounts/index.ts
CHANGED
|
@@ -1,29 +1,23 @@
|
|
|
1
1
|
import { gracely } from "gracely"
|
|
2
2
|
import { http } from "cloudly-http"
|
|
3
3
|
import { Account } from "../../Account"
|
|
4
|
-
import { Buffer } from "./Buffer"
|
|
5
4
|
import { Charge } from "./Charge"
|
|
6
|
-
import { Counterparts } from "./Counterparts"
|
|
7
5
|
import { Details } from "./Details"
|
|
8
6
|
import { History } from "./History"
|
|
9
7
|
import { Rules } from "./Rules"
|
|
10
8
|
import { Status } from "./Status"
|
|
11
9
|
|
|
12
10
|
export class Accounts {
|
|
13
|
-
readonly buffer: Buffer
|
|
14
11
|
readonly charge: Charge
|
|
15
12
|
readonly details: Details
|
|
16
13
|
readonly rules: Rules
|
|
17
14
|
readonly status: Status
|
|
18
|
-
readonly counterparts: Counterparts
|
|
19
15
|
readonly history: History
|
|
20
16
|
constructor(private readonly client: http.Client) {
|
|
21
|
-
this.buffer = new Buffer(this.client)
|
|
22
17
|
this.charge = new Charge(this.client)
|
|
23
18
|
this.details = new Details(this.client)
|
|
24
19
|
this.rules = new Rules(this.client)
|
|
25
20
|
this.status = new Status(this.client)
|
|
26
|
-
this.counterparts = new Counterparts(this.client)
|
|
27
21
|
this.history = new History(this.client)
|
|
28
22
|
}
|
|
29
23
|
|
package/Client/Cards.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { gracely } from "gracely"
|
|
2
|
-
import { isoly } from "isoly"
|
|
3
2
|
import { http } from "cloudly-http"
|
|
4
3
|
import { Card } from "../Card"
|
|
5
4
|
|
|
@@ -7,27 +6,22 @@ export class Cards {
|
|
|
7
6
|
constructor(private readonly client: http.Client) {}
|
|
8
7
|
|
|
9
8
|
async fetch(card: string): Promise<Card | gracely.Error> {
|
|
10
|
-
// I mean it's supposed to return Card.Storable
|
|
11
9
|
return this.client.get<Card>(`/card/${card}`)
|
|
12
10
|
}
|
|
13
11
|
async create(card: Card.Creatable): Promise<Card | gracely.Error> {
|
|
14
12
|
return this.client.post<Card>("/card", card)
|
|
15
13
|
}
|
|
16
|
-
async list(options?: {
|
|
14
|
+
async list(options?: {
|
|
15
|
+
account?: string
|
|
16
|
+
organization?: string
|
|
17
|
+
scheme?: Card.Scheme
|
|
18
|
+
limit?: number
|
|
19
|
+
cursor?: string
|
|
20
|
+
}): Promise<(Card[] & { cursor?: string }) | gracely.Error> {
|
|
17
21
|
const search = options && "?" + http.Search.stringify(options)
|
|
18
22
|
return this.client.get<Card[] & { cursor?: string }>(`/card${search ? search : ""}`)
|
|
19
23
|
}
|
|
20
24
|
async update(id: string, card: Card.Changeable): Promise<Card | gracely.Error> {
|
|
21
25
|
return this.client.patch<Card>(`/card/${id}`, card)
|
|
22
26
|
}
|
|
23
|
-
async statistics(
|
|
24
|
-
scheme: Card.Scheme,
|
|
25
|
-
range: isoly.DateRange,
|
|
26
|
-
options?: { limit?: number; cursor?: string }
|
|
27
|
-
): Promise<{ new: number; old: number; withTransaction: number; cursor?: string } | gracely.Error> {
|
|
28
|
-
const queries = http.Search.stringify({ ...options, ...range })
|
|
29
|
-
return this.client.get<{ new: number; old: number; withTransaction: number; cursor?: string }>(
|
|
30
|
-
`/card/statistics/${scheme}?${queries}`
|
|
31
|
-
)
|
|
32
|
-
}
|
|
33
27
|
}
|
package/Client/index.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { http } from "cloudly-http"
|
|
|
3
3
|
import { Accounts } from "./Accounts"
|
|
4
4
|
import { Audit } from "./Audit"
|
|
5
5
|
import { Cards } from "./Cards"
|
|
6
|
-
import { Exchanges } from "./Exchanges"
|
|
7
6
|
import { Labels } from "./Labels"
|
|
8
7
|
import { Logs } from "./Logs"
|
|
9
8
|
import { MCCPolicies } from "./MCCPolicies"
|
|
@@ -24,7 +23,6 @@ export class Client {
|
|
|
24
23
|
readonly accounts: Accounts
|
|
25
24
|
readonly audits: Audit
|
|
26
25
|
readonly cards: Cards
|
|
27
|
-
readonly exchanges: Exchanges
|
|
28
26
|
readonly flags: Labels
|
|
29
27
|
readonly groups: Labels
|
|
30
28
|
readonly logs: Logs
|
|
@@ -57,7 +55,6 @@ export class Client {
|
|
|
57
55
|
this.accounts = new Accounts(this.client)
|
|
58
56
|
this.audits = new Audit(this.client)
|
|
59
57
|
this.cards = new Cards(this.client)
|
|
60
|
-
this.exchanges = new Exchanges(this.client)
|
|
61
58
|
this.flags = new Labels(this.client, "flag")
|
|
62
59
|
this.groups = new Labels(this.client, "group")
|
|
63
60
|
this.logs = new Logs(this.client)
|
package/Realm.ts
CHANGED
|
@@ -15,12 +15,12 @@ export namespace Realm {
|
|
|
15
15
|
export const currency: Record<Realm, isoly.Currency> = { test: "EUR", uk: "GBP", eea: "EUR" }
|
|
16
16
|
export const suppliers: Record<Realm, modelSupplier[]> = {
|
|
17
17
|
test: ["paxgiro", "bankingcircle"],
|
|
18
|
-
uk: ["
|
|
18
|
+
uk: ["bankingcircle"],
|
|
19
19
|
eea: [],
|
|
20
20
|
}
|
|
21
21
|
export interface Suppliers extends Record<Realm, modelSupplier[]> {
|
|
22
22
|
test: ["paxgiro", "bankingcircle"]
|
|
23
|
-
uk: ["
|
|
23
|
+
uk: ["bankingcircle"]
|
|
24
24
|
eea: []
|
|
25
25
|
}
|
|
26
26
|
export type Supplier<P extends keyof Suppliers> = Pick<Suppliers, P>[P][number]
|
package/Supplier/index.ts
CHANGED
|
@@ -6,10 +6,14 @@ export type Supplier = (typeof Supplier.names)[number]
|
|
|
6
6
|
export namespace Supplier {
|
|
7
7
|
export const names = ["paxgiro", "clearbank", "bankingcircle"] as const
|
|
8
8
|
export const type = isly.string<Supplier>(names)
|
|
9
|
+
export const decommissioned = ["clearbank"] as const
|
|
10
|
+
export type Decommissioned = (typeof decommissioned)[number]
|
|
11
|
+
export function isDecommissioned(supplier: Supplier | any): supplier is Decommissioned {
|
|
12
|
+
return decommissioned.includes(supplier)
|
|
13
|
+
}
|
|
9
14
|
export const currencies: Record<Realm, Partial<Record<Supplier, isoly.Currency[]>>> = {
|
|
10
15
|
eea: {},
|
|
11
16
|
uk: {
|
|
12
|
-
clearbank: ["GBP"],
|
|
13
17
|
bankingcircle: ["EUR", "GBP", "USD", "DKK", "CHF", "PLN", "SEK", "HUF"],
|
|
14
18
|
},
|
|
15
19
|
test: {
|
|
@@ -20,6 +24,6 @@ export namespace Supplier {
|
|
|
20
24
|
export const realm = {
|
|
21
25
|
eea: [],
|
|
22
26
|
test: ["paxgiro", "bankingcircle"],
|
|
23
|
-
uk: ["
|
|
27
|
+
uk: ["bankingcircle"],
|
|
24
28
|
} as const satisfies Record<Realm, Supplier[]>
|
|
25
29
|
}
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
import { gracely } from "gracely";
|
|
2
2
|
import { http } from "cloudly-http";
|
|
3
3
|
import { Account } from "../../Account";
|
|
4
|
-
import { Buffer } from "./Buffer";
|
|
5
4
|
import { Charge } from "./Charge";
|
|
6
|
-
import { Counterparts } from "./Counterparts";
|
|
7
5
|
import { Details } from "./Details";
|
|
8
6
|
import { History } from "./History";
|
|
9
7
|
import { Rules } from "./Rules";
|
|
10
8
|
import { Status } from "./Status";
|
|
11
9
|
export declare class Accounts {
|
|
12
10
|
private readonly client;
|
|
13
|
-
readonly buffer: Buffer;
|
|
14
11
|
readonly charge: Charge;
|
|
15
12
|
readonly details: Details;
|
|
16
13
|
readonly rules: Rules;
|
|
17
14
|
readonly status: Status;
|
|
18
|
-
readonly counterparts: Counterparts;
|
|
19
15
|
readonly history: History;
|
|
20
16
|
constructor(client: http.Client);
|
|
21
17
|
create(account: Account.Creatable): Promise<Account | gracely.Error>;
|
|
@@ -1,30 +1,24 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Accounts = void 0;
|
|
4
|
-
const Buffer_1 = require("./Buffer");
|
|
5
4
|
const Charge_1 = require("./Charge");
|
|
6
|
-
const Counterparts_1 = require("./Counterparts");
|
|
7
5
|
const Details_1 = require("./Details");
|
|
8
6
|
const History_1 = require("./History");
|
|
9
7
|
const Rules_1 = require("./Rules");
|
|
10
8
|
const Status_1 = require("./Status");
|
|
11
9
|
class Accounts {
|
|
12
10
|
client;
|
|
13
|
-
buffer;
|
|
14
11
|
charge;
|
|
15
12
|
details;
|
|
16
13
|
rules;
|
|
17
14
|
status;
|
|
18
|
-
counterparts;
|
|
19
15
|
history;
|
|
20
16
|
constructor(client) {
|
|
21
17
|
this.client = client;
|
|
22
|
-
this.buffer = new Buffer_1.Buffer(this.client);
|
|
23
18
|
this.charge = new Charge_1.Charge(this.client);
|
|
24
19
|
this.details = new Details_1.Details(this.client);
|
|
25
20
|
this.rules = new Rules_1.Rules(this.client);
|
|
26
21
|
this.status = new Status_1.Status(this.client);
|
|
27
|
-
this.counterparts = new Counterparts_1.Counterparts(this.client);
|
|
28
22
|
this.history = new History_1.History(this.client);
|
|
29
23
|
}
|
|
30
24
|
async create(account) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Client/Accounts/index.ts"],"names":[],"mappings":";;;AAGA,qCAAiC;AACjC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Client/Accounts/index.ts"],"names":[],"mappings":";;;AAGA,qCAAiC;AACjC,uCAAmC;AACnC,uCAAmC;AACnC,mCAA+B;AAC/B,qCAAiC;AAEjC,MAAa,QAAQ;IAMS;IALpB,MAAM,CAAQ;IACd,OAAO,CAAS;IAChB,KAAK,CAAO;IACZ,MAAM,CAAQ;IACd,OAAO,CAAS;IACzB,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;QAC/C,IAAI,CAAC,MAAM,GAAG,IAAI,eAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACrC,IAAI,CAAC,OAAO,GAAG,IAAI,iBAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACvC,IAAI,CAAC,KAAK,GAAG,IAAI,aAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACnC,IAAI,CAAC,MAAM,GAAG,IAAI,eAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACrC,IAAI,CAAC,OAAO,GAAG,IAAI,iBAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;IACxC,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,OAA0B;QACtC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAU,UAAU,EAAE,OAAO,CAAC,CAAA;IACtD,CAAC;IACD,KAAK,CAAC,GAAG,CAAC,OAAe;QACxB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAU,YAAY,OAAO,EAAE,CAAC,CAAA;IACvD,CAAC;IACD,KAAK,CAAC,IAAI,CAAC,OAIV;QACA,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAA8C,UAAU,EAAE,OAAO,CAAC,CAAA;IACzF,CAAC;CACD;AA3BD,4BA2BC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { gracely } from "gracely";
|
|
2
|
-
import { isoly } from "isoly";
|
|
3
2
|
import { http } from "cloudly-http";
|
|
4
3
|
import { Card } from "../Card";
|
|
5
4
|
export declare class Cards {
|
|
@@ -8,19 +7,13 @@ export declare class Cards {
|
|
|
8
7
|
fetch(card: string): Promise<Card | gracely.Error>;
|
|
9
8
|
create(card: Card.Creatable): Promise<Card | gracely.Error>;
|
|
10
9
|
list(options?: {
|
|
11
|
-
|
|
10
|
+
account?: string;
|
|
11
|
+
organization?: string;
|
|
12
|
+
scheme?: Card.Scheme;
|
|
13
|
+
limit?: number;
|
|
12
14
|
cursor?: string;
|
|
13
15
|
}): Promise<(Card[] & {
|
|
14
16
|
cursor?: string;
|
|
15
17
|
}) | gracely.Error>;
|
|
16
18
|
update(id: string, card: Card.Changeable): Promise<Card | gracely.Error>;
|
|
17
|
-
statistics(scheme: Card.Scheme, range: isoly.DateRange, options?: {
|
|
18
|
-
limit?: number;
|
|
19
|
-
cursor?: string;
|
|
20
|
-
}): Promise<{
|
|
21
|
-
new: number;
|
|
22
|
-
old: number;
|
|
23
|
-
withTransaction: number;
|
|
24
|
-
cursor?: string;
|
|
25
|
-
} | gracely.Error>;
|
|
26
19
|
}
|
package/dist/cjs/Client/Cards.js
CHANGED
|
@@ -20,10 +20,6 @@ class Cards {
|
|
|
20
20
|
async update(id, card) {
|
|
21
21
|
return this.client.patch(`/card/${id}`, card);
|
|
22
22
|
}
|
|
23
|
-
async statistics(scheme, range, options) {
|
|
24
|
-
const queries = cloudly_http_1.http.Search.stringify({ ...options, ...range });
|
|
25
|
-
return this.client.get(`/card/statistics/${scheme}?${queries}`);
|
|
26
|
-
}
|
|
27
23
|
}
|
|
28
24
|
exports.Cards = Cards;
|
|
29
25
|
//# sourceMappingURL=Cards.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Cards.js","sourceRoot":"","sources":["../../../Client/Cards.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Cards.js","sourceRoot":"","sources":["../../../Client/Cards.ts"],"names":[],"mappings":";;;AACA,+CAAmC;AAGnC,MAAa,KAAK;IACY;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IAEpD,KAAK,CAAC,KAAK,CAAC,IAAY;QACvB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAO,SAAS,IAAI,EAAE,CAAC,CAAA;IAC9C,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,IAAoB;QAChC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAO,OAAO,EAAE,IAAI,CAAC,CAAA;IAC7C,CAAC;IACD,KAAK,CAAC,IAAI,CAAC,OAMV;QACA,MAAM,MAAM,GAAG,OAAO,IAAI,GAAG,GAAG,mBAAI,CAAC,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,CAAA;QAC9D,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAA+B,QAAQ,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA;IACrF,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,EAAU,EAAE,IAAqB;QAC7C,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAO,SAAS,EAAE,EAAE,EAAE,IAAI,CAAC,CAAA;IACpD,CAAC;CACD;AAtBD,sBAsBC"}
|
|
@@ -2,7 +2,6 @@ import { http } from "cloudly-http";
|
|
|
2
2
|
import { Accounts } from "./Accounts";
|
|
3
3
|
import { Audit } from "./Audit";
|
|
4
4
|
import { Cards } from "./Cards";
|
|
5
|
-
import { Exchanges } from "./Exchanges";
|
|
6
5
|
import { Labels } from "./Labels";
|
|
7
6
|
import { Logs } from "./Logs";
|
|
8
7
|
import { MCCPolicies } from "./MCCPolicies";
|
|
@@ -24,7 +23,6 @@ export declare class Client {
|
|
|
24
23
|
readonly accounts: Accounts;
|
|
25
24
|
readonly audits: Audit;
|
|
26
25
|
readonly cards: Cards;
|
|
27
|
-
readonly exchanges: Exchanges;
|
|
28
26
|
readonly flags: Labels;
|
|
29
27
|
readonly groups: Labels;
|
|
30
28
|
readonly logs: Logs;
|
package/dist/cjs/Client/index.js
CHANGED
|
@@ -5,7 +5,6 @@ const cloudly_http_1 = require("cloudly-http");
|
|
|
5
5
|
const Accounts_1 = require("./Accounts");
|
|
6
6
|
const Audit_1 = require("./Audit");
|
|
7
7
|
const Cards_1 = require("./Cards");
|
|
8
|
-
const Exchanges_1 = require("./Exchanges");
|
|
9
8
|
const Labels_1 = require("./Labels");
|
|
10
9
|
const Logs_1 = require("./Logs");
|
|
11
10
|
const MCCPolicies_1 = require("./MCCPolicies");
|
|
@@ -27,7 +26,6 @@ class Client {
|
|
|
27
26
|
accounts;
|
|
28
27
|
audits;
|
|
29
28
|
cards;
|
|
30
|
-
exchanges;
|
|
31
29
|
flags;
|
|
32
30
|
groups;
|
|
33
31
|
logs;
|
|
@@ -61,7 +59,6 @@ class Client {
|
|
|
61
59
|
this.accounts = new Accounts_1.Accounts(this.client);
|
|
62
60
|
this.audits = new Audit_1.Audit(this.client);
|
|
63
61
|
this.cards = new Cards_1.Cards(this.client);
|
|
64
|
-
this.exchanges = new Exchanges_1.Exchanges(this.client);
|
|
65
62
|
this.flags = new Labels_1.Labels(this.client, "flag");
|
|
66
63
|
this.groups = new Labels_1.Labels(this.client, "group");
|
|
67
64
|
this.logs = new Logs_1.Logs(this.client);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../Client/index.ts"],"names":[],"mappings":";;;AACA,+CAAmC;AACnC,yCAAqC;AACrC,mCAA+B;AAC/B,mCAA+B;AAC/B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../Client/index.ts"],"names":[],"mappings":";;;AACA,+CAAmC;AACnC,yCAAqC;AACrC,mCAA+B;AAC/B,mCAA+B;AAC/B,qCAAiC;AACjC,iCAA6B;AAC7B,+CAA2C;AAC3C,6BAAyB;AACzB,6CAAyC;AACzC,mDAA+C;AAC/C,2CAAuC;AACvC,uCAAmC;AACnC,mCAA+B;AAC/B,+CAA2C;AAC3C,iDAAmE;AACnE,yCAAqC;AACrC,mCAA+B;AAC/B,uCAAmC;AACnC,MAAa,MAAM;IAiCmB;IAhCrC,KAAK,CAAS;IACd,YAAY,CAAS;IACZ,QAAQ,CAAU;IAClB,MAAM,CAAO;IACb,KAAK,CAAO;IACZ,KAAK,CAAQ;IACb,MAAM,CAAQ;IACd,IAAI,CAAM;IACV,WAAW,CAAa;IACxB,EAAE,CAAI;IACN,UAAU,CAAY;IACtB,aAAa,CAAe;IAC5B,UAAU,CAAW;IACrB,OAAO,CAAS;IAChB,KAAK,CAAO;IACZ,WAAW,CAAa;IACxB,YAAY,CAAoB;IAChC,QAAQ,CAAU;IAClB,KAAK,CAAO;IACZ,OAAO,CAAS;IACzB,IAAI,GAAG,CAAC,KAAyB;QAChC,IAAI,CAAC,MAAM,CAAC,GAAG,GAAG,KAAK,CAAA;IACxB,CAAC;IACD,IAAI,GAAG;QACN,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAA;IACvB,CAAC;IACD,IAAI,OAAO,CAAC,KAAyF;QACpG,IAAI,CAA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AAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC;oBACzB,MAAM,GAAG,mBAAI,CAAC,QAAQ,CAAC,MAAM,CAC5B,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,QAAQ,EAAE;wBACrC,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,IAAI,QAAQ,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;qBACtE,CAAC,CACF,CAAA;gBACF,CAAC;gBACD,OAAO,MAAM,CAAA;YACd,CAAC;SACD,CAAC,CAAA;QACF,MAAM,MAAM,GAAW,IAAI,MAAM,CAAC,UAAU,CAAC,CAAA;QAC7C,OAAO,MAAM,CAAA;IACd,CAAC;CACD;AAjFD,wBAiFC;AACD,WAAiB,MAAM;IACR,mBAAY,GAAG,2BAAkB,CAAA;AAChD,CAAC,EAFgB,MAAM,sBAAN,MAAM,QAEtB"}
|
package/dist/cjs/Realm.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare namespace Realm {
|
|
|
16
16
|
const suppliers: Record<Realm, modelSupplier[]>;
|
|
17
17
|
interface Suppliers extends Record<Realm, modelSupplier[]> {
|
|
18
18
|
test: ["paxgiro", "bankingcircle"];
|
|
19
|
-
uk: ["
|
|
19
|
+
uk: ["bankingcircle"];
|
|
20
20
|
eea: [];
|
|
21
21
|
}
|
|
22
22
|
type Supplier<P extends keyof Suppliers> = Pick<Suppliers, P>[P][number];
|
package/dist/cjs/Realm.js
CHANGED
package/dist/cjs/Realm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Realm.js","sourceRoot":"","sources":["../../Realm.ts"],"names":[],"mappings":";;;AACA,+BAA2B;AAE3B,+BAA2B;AAI3B,IAAiB,KAAK,CAwBrB;AAxBD,WAAiB,KAAK;IACR,YAAM,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,KAAK,CAAU,CAAA;IACvC,UAAI,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AA;IAOD,IAAiB,QAAQ,CAIxB;IAJD,WAAiB,QAAQ;QACxB,SAAgB,EAAE,CAAC,KAAY,EAAE,QAA6B;YAC7D,OAAO,MAAA,SAAS,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;QAC3C,CAAC;QAFe,WAAE,KAEjB,CAAA;IACF,CAAC,EAJgB,QAAQ,GAAR,cAAQ,KAAR,cAAQ,QAIxB;AACF,CAAC,EAxBgB,KAAK,qBAAL,KAAK,QAwBrB"}
|
|
@@ -5,10 +5,13 @@ export type Supplier = (typeof Supplier.names)[number];
|
|
|
5
5
|
export declare namespace Supplier {
|
|
6
6
|
const names: readonly ["paxgiro", "clearbank", "bankingcircle"];
|
|
7
7
|
const type: isly.Type<"paxgiro" | "clearbank" | "bankingcircle">;
|
|
8
|
+
const decommissioned: readonly ["clearbank"];
|
|
9
|
+
type Decommissioned = (typeof decommissioned)[number];
|
|
10
|
+
function isDecommissioned(supplier: Supplier | any): supplier is Decommissioned;
|
|
8
11
|
const currencies: Record<Realm, Partial<Record<Supplier, isoly.Currency[]>>>;
|
|
9
12
|
const realm: {
|
|
10
13
|
readonly eea: [];
|
|
11
14
|
readonly test: ["paxgiro", "bankingcircle"];
|
|
12
|
-
readonly uk: ["
|
|
15
|
+
readonly uk: ["bankingcircle"];
|
|
13
16
|
};
|
|
14
17
|
}
|
|
@@ -6,10 +6,14 @@ var Supplier;
|
|
|
6
6
|
(function (Supplier) {
|
|
7
7
|
Supplier.names = ["paxgiro", "clearbank", "bankingcircle"];
|
|
8
8
|
Supplier.type = isly_1.isly.string(Supplier.names);
|
|
9
|
+
Supplier.decommissioned = ["clearbank"];
|
|
10
|
+
function isDecommissioned(supplier) {
|
|
11
|
+
return Supplier.decommissioned.includes(supplier);
|
|
12
|
+
}
|
|
13
|
+
Supplier.isDecommissioned = isDecommissioned;
|
|
9
14
|
Supplier.currencies = {
|
|
10
15
|
eea: {},
|
|
11
16
|
uk: {
|
|
12
|
-
clearbank: ["GBP"],
|
|
13
17
|
bankingcircle: ["EUR", "GBP", "USD", "DKK", "CHF", "PLN", "SEK", "HUF"],
|
|
14
18
|
},
|
|
15
19
|
test: {
|
|
@@ -20,7 +24,7 @@ var Supplier;
|
|
|
20
24
|
Supplier.realm = {
|
|
21
25
|
eea: [],
|
|
22
26
|
test: ["paxgiro", "bankingcircle"],
|
|
23
|
-
uk: ["
|
|
27
|
+
uk: ["bankingcircle"],
|
|
24
28
|
};
|
|
25
29
|
})(Supplier || (exports.Supplier = Supplier = {}));
|
|
26
30
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../Supplier/index.ts"],"names":[],"mappings":";;;AACA,+BAA2B;AAI3B,IAAiB,QAAQ,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../Supplier/index.ts"],"names":[],"mappings":";;;AACA,+BAA2B;AAI3B,IAAiB,QAAQ,CAuBxB;AAvBD,WAAiB,QAAQ;IACX,cAAK,GAAG,CAAC,SAAS,EAAE,WAAW,EAAE,eAAe,CAAU,CAAA;IAC1D,aAAI,GAAG,WAAI,CAAC,MAAM,CAAW,SAAA,KAAK,CAAC,CAAA;IACnC,uBAAc,GAAG,CAAC,WAAW,CAAU,CAAA;IAEpD,SAAgB,gBAAgB,CAAC,QAAwB;QACxD,OAAO,SAAA,cAAc,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;IACzC,CAAC;IAFe,yBAAgB,mBAE/B,CAAA;IACY,mBAAU,GAA+D;QACrF,GAAG,EAAE,EAAE;QACP,EAAE,EAAE;YACH,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC;SACvE;QACD,IAAI,EAAE;YACL,OAAO,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC;YACrC,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,CAAC;SACvE;KACD,CAAA;IACY,cAAK,GAAG;QACpB,GAAG,EAAE,EAAE;QACP,IAAI,EAAE,CAAC,SAAS,EAAE,eAAe,CAAC;QAClC,EAAE,EAAE,CAAC,eAAe,CAAC;KACwB,CAAA;AAC/C,CAAC,EAvBgB,QAAQ,wBAAR,QAAQ,QAuBxB"}
|
package/dist/cjs/pax2pay.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ export { Balance } from "./Balance";
|
|
|
9
9
|
export { Balances } from "./Balances";
|
|
10
10
|
export { Card } from "./Card";
|
|
11
11
|
export { Client } from "./Client";
|
|
12
|
-
export { Exchange } from "./Exchange";
|
|
13
12
|
export { fx } from "./fx";
|
|
14
13
|
export { Holidays } from "./Holidays";
|
|
15
14
|
export { Identifier } from "./Identifier";
|
package/dist/cjs/pax2pay.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.zodHelper = exports.Quarter = exports.Warning = exports.User = exports.Treasury = exports.Transaction = exports.Supplier = exports.Settlement = exports.Rule = exports.reports = exports.Report = exports.Realm = exports.Rail = exports.Organization = exports.Operation = exports.Merchant = exports.MCCPolicy = exports.Log = exports.Label = exports.Identifier = exports.Holidays = exports.fx = exports.
|
|
3
|
+
exports.zodHelper = exports.Quarter = exports.Warning = exports.User = exports.Treasury = exports.Transaction = exports.Supplier = exports.Settlement = exports.Rule = exports.reports = exports.Report = exports.Realm = exports.Rail = exports.Organization = exports.Operation = exports.Merchant = exports.MCCPolicy = exports.Log = exports.Label = exports.Identifier = exports.Holidays = exports.fx = exports.Client = exports.Card = exports.Balances = exports.Balance = exports.Backup = exports.Authorization = exports.Audit = exports.Amounts = exports.Amount = exports.Acquirer = exports.Account = void 0;
|
|
4
4
|
var Account_1 = require("./Account");
|
|
5
5
|
Object.defineProperty(exports, "Account", { enumerable: true, get: function () { return Account_1.Account; } });
|
|
6
6
|
var Acquirer_1 = require("./Acquirer");
|
|
@@ -23,8 +23,6 @@ var Card_1 = require("./Card");
|
|
|
23
23
|
Object.defineProperty(exports, "Card", { enumerable: true, get: function () { return Card_1.Card; } });
|
|
24
24
|
var Client_1 = require("./Client");
|
|
25
25
|
Object.defineProperty(exports, "Client", { enumerable: true, get: function () { return Client_1.Client; } });
|
|
26
|
-
var Exchange_1 = require("./Exchange");
|
|
27
|
-
Object.defineProperty(exports, "Exchange", { enumerable: true, get: function () { return Exchange_1.Exchange; } });
|
|
28
26
|
var fx_1 = require("./fx");
|
|
29
27
|
Object.defineProperty(exports, "fx", { enumerable: true, get: function () { return fx_1.fx; } });
|
|
30
28
|
var Holidays_1 = require("./Holidays");
|
package/dist/cjs/pax2pay.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pax2pay.js","sourceRoot":"","sources":["../../pax2pay.ts"],"names":[],"mappings":";;;AAAA,qCAAmC;AAA1B,kGAAA,OAAO,OAAA;AAChB,uCAAqC;AAA5B,oGAAA,QAAQ,OAAA;AACjB,mCAAiC;AAAxB,gGAAA,MAAM,OAAA;AACf,qCAAmC;AAA1B,kGAAA,OAAO,OAAA;AAChB,iCAA+B;AAAtB,8FAAA,KAAK,OAAA;AACd,iDAA+C;AAAtC,8GAAA,aAAa,OAAA;AACtB,mCAAiC;AAAxB,gGAAA,MAAM,OAAA;AACf,qCAAmC;AAA1B,kGAAA,OAAO,OAAA;AAChB,uCAAqC;AAA5B,oGAAA,QAAQ,OAAA;AACjB,+BAA6B;AAApB,4FAAA,IAAI,OAAA;AACb,mCAAiC;AAAxB,gGAAA,MAAM,OAAA;AACf,
|
|
1
|
+
{"version":3,"file":"pax2pay.js","sourceRoot":"","sources":["../../pax2pay.ts"],"names":[],"mappings":";;;AAAA,qCAAmC;A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,OAAA;AAChB,qCAAmC;AAA1B,kGAAA,OAAO,OAAA;AAChB,6BAAiC;AAAxB,gGAAA,SAAS,OAAA"}
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
import { gracely } from "gracely";
|
|
2
2
|
import { http } from "cloudly-http";
|
|
3
3
|
import { Account } from "../../Account";
|
|
4
|
-
import { Buffer } from "./Buffer";
|
|
5
4
|
import { Charge } from "./Charge";
|
|
6
|
-
import { Counterparts } from "./Counterparts";
|
|
7
5
|
import { Details } from "./Details";
|
|
8
6
|
import { History } from "./History";
|
|
9
7
|
import { Rules } from "./Rules";
|
|
10
8
|
import { Status } from "./Status";
|
|
11
9
|
export declare class Accounts {
|
|
12
10
|
private readonly client;
|
|
13
|
-
readonly buffer: Buffer;
|
|
14
11
|
readonly charge: Charge;
|
|
15
12
|
readonly details: Details;
|
|
16
13
|
readonly rules: Rules;
|
|
17
14
|
readonly status: Status;
|
|
18
|
-
readonly counterparts: Counterparts;
|
|
19
15
|
readonly history: History;
|
|
20
16
|
constructor(client: http.Client);
|
|
21
17
|
create(account: Account.Creatable): Promise<Account | gracely.Error>;
|
|
@@ -1,27 +1,21 @@
|
|
|
1
|
-
import { Buffer } from "./Buffer";
|
|
2
1
|
import { Charge } from "./Charge";
|
|
3
|
-
import { Counterparts } from "./Counterparts";
|
|
4
2
|
import { Details } from "./Details";
|
|
5
3
|
import { History } from "./History";
|
|
6
4
|
import { Rules } from "./Rules";
|
|
7
5
|
import { Status } from "./Status";
|
|
8
6
|
export class Accounts {
|
|
9
7
|
client;
|
|
10
|
-
buffer;
|
|
11
8
|
charge;
|
|
12
9
|
details;
|
|
13
10
|
rules;
|
|
14
11
|
status;
|
|
15
|
-
counterparts;
|
|
16
12
|
history;
|
|
17
13
|
constructor(client) {
|
|
18
14
|
this.client = client;
|
|
19
|
-
this.buffer = new Buffer(this.client);
|
|
20
15
|
this.charge = new Charge(this.client);
|
|
21
16
|
this.details = new Details(this.client);
|
|
22
17
|
this.rules = new Rules(this.client);
|
|
23
18
|
this.status = new Status(this.client);
|
|
24
|
-
this.counterparts = new Counterparts(this.client);
|
|
25
19
|
this.history = new History(this.client);
|
|
26
20
|
}
|
|
27
21
|
async create(account) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Client/Accounts/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Client/Accounts/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,MAAM,OAAO,QAAQ;IAMS;IALpB,MAAM,CAAQ;IACd,OAAO,CAAS;IAChB,KAAK,CAAO;IACZ,MAAM,CAAQ;IACd,OAAO,CAAS;IACzB,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;QAC/C,IAAI,CAAC,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACrC,IAAI,CAAC,OAAO,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACvC,IAAI,CAAC,KAAK,GAAG,IAAI,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACnC,IAAI,CAAC,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACrC,IAAI,CAAC,OAAO,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;IACxC,CAAC;IAED,KAAK,CAAC,MAAM,CAAC,OAA0B;QACtC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAU,UAAU,EAAE,OAAO,CAAC,CAAA;IACtD,CAAC;IACD,KAAK,CAAC,GAAG,CAAC,OAAe;QACxB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAU,YAAY,OAAO,EAAE,CAAC,CAAA;IACvD,CAAC;IACD,KAAK,CAAC,IAAI,CAAC,OAIV;QACA,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAA8C,UAAU,EAAE,OAAO,CAAC,CAAA;IACzF,CAAC;CACD"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { gracely } from "gracely";
|
|
2
|
-
import { isoly } from "isoly";
|
|
3
2
|
import { http } from "cloudly-http";
|
|
4
3
|
import { Card } from "../Card";
|
|
5
4
|
export declare class Cards {
|
|
@@ -8,19 +7,13 @@ export declare class Cards {
|
|
|
8
7
|
fetch(card: string): Promise<Card | gracely.Error>;
|
|
9
8
|
create(card: Card.Creatable): Promise<Card | gracely.Error>;
|
|
10
9
|
list(options?: {
|
|
11
|
-
|
|
10
|
+
account?: string;
|
|
11
|
+
organization?: string;
|
|
12
|
+
scheme?: Card.Scheme;
|
|
13
|
+
limit?: number;
|
|
12
14
|
cursor?: string;
|
|
13
15
|
}): Promise<(Card[] & {
|
|
14
16
|
cursor?: string;
|
|
15
17
|
}) | gracely.Error>;
|
|
16
18
|
update(id: string, card: Card.Changeable): Promise<Card | gracely.Error>;
|
|
17
|
-
statistics(scheme: Card.Scheme, range: isoly.DateRange, options?: {
|
|
18
|
-
limit?: number;
|
|
19
|
-
cursor?: string;
|
|
20
|
-
}): Promise<{
|
|
21
|
-
new: number;
|
|
22
|
-
old: number;
|
|
23
|
-
withTransaction: number;
|
|
24
|
-
cursor?: string;
|
|
25
|
-
} | gracely.Error>;
|
|
26
19
|
}
|
package/dist/mjs/Client/Cards.js
CHANGED
|
@@ -17,9 +17,5 @@ export class Cards {
|
|
|
17
17
|
async update(id, card) {
|
|
18
18
|
return this.client.patch(`/card/${id}`, card);
|
|
19
19
|
}
|
|
20
|
-
async statistics(scheme, range, options) {
|
|
21
|
-
const queries = http.Search.stringify({ ...options, ...range });
|
|
22
|
-
return this.client.get(`/card/statistics/${scheme}?${queries}`);
|
|
23
|
-
}
|
|
24
20
|
}
|
|
25
21
|
//# sourceMappingURL=Cards.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Cards.js","sourceRoot":"","sources":["../../../Client/Cards.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Cards.js","sourceRoot":"","sources":["../../../Client/Cards.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAGnC,MAAM,OAAO,KAAK;IACY;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IAEpD,KAAK,CAAC,KAAK,CAAC,IAAY;QACvB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAO,SAAS,IAAI,EAAE,CAAC,CAAA;IAC9C,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,IAAoB;QAChC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAO,OAAO,EAAE,IAAI,CAAC,CAAA;IAC7C,CAAC;IACD,KAAK,CAAC,IAAI,CAAC,OAMV;QACA,MAAM,MAAM,GAAG,OAAO,IAAI,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,CAAA;QAC9D,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAA+B,QAAQ,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA;IACrF,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,EAAU,EAAE,IAAqB;QAC7C,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAO,SAAS,EAAE,EAAE,EAAE,IAAI,CAAC,CAAA;IACpD,CAAC;CACD"}
|
|
@@ -2,7 +2,6 @@ import { http } from "cloudly-http";
|
|
|
2
2
|
import { Accounts } from "./Accounts";
|
|
3
3
|
import { Audit } from "./Audit";
|
|
4
4
|
import { Cards } from "./Cards";
|
|
5
|
-
import { Exchanges } from "./Exchanges";
|
|
6
5
|
import { Labels } from "./Labels";
|
|
7
6
|
import { Logs } from "./Logs";
|
|
8
7
|
import { MCCPolicies } from "./MCCPolicies";
|
|
@@ -24,7 +23,6 @@ export declare class Client {
|
|
|
24
23
|
readonly accounts: Accounts;
|
|
25
24
|
readonly audits: Audit;
|
|
26
25
|
readonly cards: Cards;
|
|
27
|
-
readonly exchanges: Exchanges;
|
|
28
26
|
readonly flags: Labels;
|
|
29
27
|
readonly groups: Labels;
|
|
30
28
|
readonly logs: Logs;
|
package/dist/mjs/Client/index.js
CHANGED
|
@@ -2,7 +2,6 @@ import { http } from "cloudly-http";
|
|
|
2
2
|
import { Accounts } from "./Accounts";
|
|
3
3
|
import { Audit } from "./Audit";
|
|
4
4
|
import { Cards } from "./Cards";
|
|
5
|
-
import { Exchanges } from "./Exchanges";
|
|
6
5
|
import { Labels } from "./Labels";
|
|
7
6
|
import { Logs } from "./Logs";
|
|
8
7
|
import { MCCPolicies } from "./MCCPolicies";
|
|
@@ -24,7 +23,6 @@ export class Client {
|
|
|
24
23
|
accounts;
|
|
25
24
|
audits;
|
|
26
25
|
cards;
|
|
27
|
-
exchanges;
|
|
28
26
|
flags;
|
|
29
27
|
groups;
|
|
30
28
|
logs;
|
|
@@ -58,7 +56,6 @@ export class Client {
|
|
|
58
56
|
this.accounts = new Accounts(this.client);
|
|
59
57
|
this.audits = new Audit(this.client);
|
|
60
58
|
this.cards = new Cards(this.client);
|
|
61
|
-
this.exchanges = new Exchanges(this.client);
|
|
62
59
|
this.flags = new Labels(this.client, "flag");
|
|
63
60
|
this.groups = new Labels(this.client, "group");
|
|
64
61
|
this.logs = new Logs(this.client);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../Client/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../Client/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AACnC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAC7B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,EAAE,EAAE,MAAM,MAAM,CAAA;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,YAAY,IAAI,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CA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16,7 @@ export declare namespace Realm {
|
|
|
16
16
|
const suppliers: Record<Realm, modelSupplier[]>;
|
|
17
17
|
interface Suppliers extends Record<Realm, modelSupplier[]> {
|
|
18
18
|
test: ["paxgiro", "bankingcircle"];
|
|
19
|
-
uk: ["
|
|
19
|
+
uk: ["bankingcircle"];
|
|
20
20
|
eea: [];
|
|
21
21
|
}
|
|
22
22
|
type Supplier<P extends keyof Suppliers> = Pick<Suppliers, P>[P][number];
|
package/dist/mjs/Realm.js
CHANGED
package/dist/mjs/Realm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Realm.js","sourceRoot":"","sources":["../../Realm.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAE3B,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAA;AAI3B,MAAM,KAAW,KAAK,CAwBrB;AAxBD,WAAiB,KAAK;IACR,YAAM,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,KAAK,CAAU,CAAA;IACvC,UAAI,GAAG,IAAI,CAAC,MAAM,CAAQ,MAAA,MAAM,CAAC,CAAA;IACjC,aAAO,GAAG,GAAG,CAAC,IAAI,CAAC,MAAA,MAAM,CAAC,CAAA;IACvC,SAAgB,QAAQ;QACvB,OAAO,MAAA,MAAM,CAAC,QAAQ,EAAE,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,GAAG,CAAA;IACrD,CAAC;IAFe,cAAQ,WAEvB,CAAA;IACY,cAAQ,GAAkC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,CAAA;IAChF,eAAS,GAAmC;QACxD,IAAI,EAAE,CAAC,SAAS,EAAE,eAAe,CAAC;QAClC,EAAE,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"Realm.js","sourceRoot":"","sources":["../../Realm.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI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