@pax2pay/model-banking 0.1.269 → 0.1.270
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/Logs.ts +10 -0
- package/Client/index.ts +2 -0
- package/Log.ts +7 -0
- package/dist/Client/Logs.d.ts +8 -0
- package/dist/Client/Logs.js +9 -0
- package/dist/Client/Logs.js.map +1 -0
- package/dist/Client/index.d.ts +2 -0
- package/dist/Client/index.js +2 -0
- package/dist/Client/index.js.map +1 -1
- package/dist/Log.d.ts +8 -0
- package/dist/Log.js +2 -0
- package/dist/Log.js.map +1 -0
- package/dist/pax2pay.d.ts +1 -0
- package/package.json +2 -1
- package/pax2pay.ts +1 -0
package/Client/Logs.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { gracely } from "gracely"
|
|
2
|
+
import { http } from "cloudly-http"
|
|
3
|
+
import { Log } from "../Log"
|
|
4
|
+
|
|
5
|
+
export class Logs {
|
|
6
|
+
constructor(private readonly client: http.Client) {}
|
|
7
|
+
async list(resource?: Log.Resource): Promise<Log[] | gracely.Error> {
|
|
8
|
+
return this.client.get<Log[]>(`/audit/${resource}`)
|
|
9
|
+
}
|
|
10
|
+
}
|
package/Client/index.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { Accounts } from "./Accounts"
|
|
|
6
6
|
import { Cards } from "./Cards"
|
|
7
7
|
import { Exchanges } from "./Exchanges"
|
|
8
8
|
import { Labels } from "./Labels"
|
|
9
|
+
import { Logs } from "./Logs"
|
|
9
10
|
import { Operations } from "./Operations"
|
|
10
11
|
import { Organizations } from "./Organizations"
|
|
11
12
|
import { Reports } from "./Reports"
|
|
@@ -24,6 +25,7 @@ export class Client extends rest.Client<gracely.Error> {
|
|
|
24
25
|
readonly exchanges = new Exchanges(this.client)
|
|
25
26
|
readonly organizations = new Organizations(this.client)
|
|
26
27
|
readonly reports = new Reports(this.client)
|
|
28
|
+
readonly logs = new Logs(this.client)
|
|
27
29
|
readonly rules = new Rules(this.client)
|
|
28
30
|
readonly settlements = new Settlements(this.client)
|
|
29
31
|
readonly transactions = new Transactions(this.client)
|
package/Log.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { gracely } from "gracely";
|
|
2
|
+
import { http } from "cloudly-http";
|
|
3
|
+
import { Log } from "../Log";
|
|
4
|
+
export declare class Logs {
|
|
5
|
+
private readonly client;
|
|
6
|
+
constructor(client: http.Client);
|
|
7
|
+
list(resource?: Log.Resource): Promise<Log[] | gracely.Error>;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Logs.js","sourceRoot":"../","sources":["Client/Logs.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,IAAI;IAChB,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IACpD,KAAK,CAAC,IAAI,CAAC,QAAuB;QACjC,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAQ,UAAU,QAAQ,EAAE,CAAC,CAAA;IACpD,CAAC;CACD"}
|
package/dist/Client/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { Accounts } from "./Accounts";
|
|
|
6
6
|
import { Cards } from "./Cards";
|
|
7
7
|
import { Exchanges } from "./Exchanges";
|
|
8
8
|
import { Labels } from "./Labels";
|
|
9
|
+
import { Logs } from "./Logs";
|
|
9
10
|
import { Operations } from "./Operations";
|
|
10
11
|
import { Organizations } from "./Organizations";
|
|
11
12
|
import { Reports } from "./Reports";
|
|
@@ -23,6 +24,7 @@ export declare class Client extends rest.Client<gracely.Error> {
|
|
|
23
24
|
readonly exchanges: Exchanges;
|
|
24
25
|
readonly organizations: Organizations;
|
|
25
26
|
readonly reports: Reports;
|
|
27
|
+
readonly logs: Logs;
|
|
26
28
|
readonly rules: Rules;
|
|
27
29
|
readonly settlements: Settlements;
|
|
28
30
|
readonly transactions: Transactions;
|
package/dist/Client/index.js
CHANGED
|
@@ -5,6 +5,7 @@ import { Accounts } from "./Accounts";
|
|
|
5
5
|
import { Cards } from "./Cards";
|
|
6
6
|
import { Exchanges } from "./Exchanges";
|
|
7
7
|
import { Labels } from "./Labels";
|
|
8
|
+
import { Logs } from "./Logs";
|
|
8
9
|
import { Operations } from "./Operations";
|
|
9
10
|
import { Organizations } from "./Organizations";
|
|
10
11
|
import { Reports } from "./Reports";
|
|
@@ -22,6 +23,7 @@ export class Client extends rest.Client {
|
|
|
22
23
|
this.exchanges = new Exchanges(this.client);
|
|
23
24
|
this.organizations = new Organizations(this.client);
|
|
24
25
|
this.reports = new Reports(this.client);
|
|
26
|
+
this.logs = new Logs(this.client);
|
|
25
27
|
this.rules = new Rules(this.client);
|
|
26
28
|
this.settlements = new Settlements(this.client);
|
|
27
29
|
this.transactions = new Transactions(this.client);
|
package/dist/Client/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AACnC,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,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,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,EAA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CAAC,gBAAgB,CAAC,IAAI,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,WAAW,EAAE,CAAC,CAAA;QAClE,YAAO,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;IAa5C,CAAC;IAXA,MAAM,CAAC,MAAM,CAA0B,MAAc,EAAE,GAAY,EAAE,IAAiC;QACrG,IAAI,UAAsC,CAAA;QAC1C,MAAM,MAAM,GAAW,IAAI,MAAM,CAChC,CAAC,UAAU,GAAG,IAAI,IAAI,CAAC,MAAM,CAAgB,MAAM,EAAE,GAAG,EAAE;YACzD,YAAY,EAAE,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,GAAG,OAAO,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,YAAY,EAAE,MAAM,CAAC,YAAY,EAAE,CAAC;SACxG,CAAC,CAAC,CACH,CAAA;QACD,IAAI,IAAI;YACP,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAA;QACxC,OAAO,MAAoB,CAAA;IAC5B,CAAC;CACD"}
|
package/dist/Log.d.ts
ADDED
package/dist/Log.js
ADDED
package/dist/Log.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Log.js","sourceRoot":"../","sources":["Log.ts"],"names":[],"mappings":""}
|
package/dist/pax2pay.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pax2pay/model-banking",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.270",
|
|
4
4
|
"description": "Library containing data model types and functions for the Pax2Pay Banking API.",
|
|
5
5
|
"author": "Pax2Pay Ltd",
|
|
6
6
|
"license": "MIT",
|
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
"authly": "^3.0.12",
|
|
75
75
|
"cloudly-http": "^0.1.7",
|
|
76
76
|
"cloudly-rest": "^0.1.3",
|
|
77
|
+
"cloudly-storage": "^0.10.6",
|
|
77
78
|
"cryptly": "^4.0.4",
|
|
78
79
|
"gracely": "^2.0.8",
|
|
79
80
|
"isly": "0.1.13",
|
package/pax2pay.ts
CHANGED