@pax2pay/model-banking 0.1.153 → 0.1.154
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/Transactions/index.ts +2 -8
- package/Client/index.ts +2 -6
- package/dist/Client/Transactions/index.d.ts +1 -6
- package/dist/Client/Transactions/index.js +1 -5
- package/dist/Client/Transactions/index.js.map +1 -1
- package/dist/Client/index.d.ts +2 -6
- package/dist/Client/index.js +2 -5
- package/dist/Client/index.js.map +1 -1
- package/package.json +1 -1
- package/Client/Transactions/Indices.ts +0 -28
- package/dist/Client/Transactions/Indices.d.ts +0 -16
- package/dist/Client/Transactions/Indices.js +0 -17
- package/dist/Client/Transactions/Indices.js.map +0 -1
|
@@ -3,7 +3,6 @@ import { isoly } from "isoly"
|
|
|
3
3
|
import { http } from "cloudly-http"
|
|
4
4
|
import * as rest from "cloudly-rest"
|
|
5
5
|
import { Transaction } from "../../Transaction"
|
|
6
|
-
import { Indices as TransactionIndex } from "./Indices"
|
|
7
6
|
import { Notes } from "./Notes"
|
|
8
7
|
|
|
9
8
|
export class Transactions extends rest.Collection<gracely.Error> {
|
|
@@ -25,12 +24,12 @@ export class Transactions extends rest.Collection<gracely.Error> {
|
|
|
25
24
|
account?: string
|
|
26
25
|
limit?: number
|
|
27
26
|
cursor?: string
|
|
28
|
-
index?:
|
|
27
|
+
index?: "review"
|
|
29
28
|
dateRange?: isoly.DateRange
|
|
30
29
|
}): Promise<(Transaction[] & { cursor?: string | undefined }) | gracely.Error> {
|
|
31
30
|
const query = Object.entries({
|
|
32
31
|
...(options?.cursor ? { cursor: options.cursor } : {}),
|
|
33
|
-
...(options?.index ? { index: options
|
|
32
|
+
...(options?.index ? { index: options?.index } : {}),
|
|
34
33
|
...(options?.dateRange ?? {}),
|
|
35
34
|
})
|
|
36
35
|
.map(([k, v]) => `${k}=${v}`)
|
|
@@ -49,8 +48,3 @@ export class Transactions extends rest.Collection<gracely.Error> {
|
|
|
49
48
|
return result
|
|
50
49
|
}
|
|
51
50
|
}
|
|
52
|
-
|
|
53
|
-
export namespace Transactions {
|
|
54
|
-
export type Index = TransactionIndex
|
|
55
|
-
export const Index = TransactionIndex
|
|
56
|
-
}
|
package/Client/index.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { Operations } from "./Operations"
|
|
|
9
9
|
import { Organizations } from "./Organizations"
|
|
10
10
|
import { Rules } from "./Rules"
|
|
11
11
|
import { Settlements } from "./Settlements"
|
|
12
|
-
import { Transactions
|
|
12
|
+
import { Transactions } from "./Transactions"
|
|
13
13
|
import { Treasury } from "./Treasury"
|
|
14
14
|
import { Version } from "./Version"
|
|
15
15
|
|
|
@@ -22,7 +22,7 @@ export class Client extends rest.Client<gracely.Error> {
|
|
|
22
22
|
readonly organizations = new Organizations(this.client)
|
|
23
23
|
readonly rules = new Rules(this.client)
|
|
24
24
|
readonly settlements = new Settlements(this.client)
|
|
25
|
-
readonly transactions = new
|
|
25
|
+
readonly transactions = new Transactions(this.client)
|
|
26
26
|
readonly treasury = new Treasury(this.client)
|
|
27
27
|
readonly flags = new Flags(this.client)
|
|
28
28
|
readonly userwidgets = new userwidgets.ClientCollection(this.client, { pathPrefix: "/widgets" })
|
|
@@ -41,9 +41,5 @@ export class Client extends rest.Client<gracely.Error> {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
export namespace Client {
|
|
44
|
-
export const Transactions = ClientTransactions
|
|
45
|
-
export namespace Transactions {
|
|
46
|
-
export type Index = ClientTransactions.Index
|
|
47
|
-
}
|
|
48
44
|
export type Unauthorized = (client: rest.Client<never>) => Promise<boolean>
|
|
49
45
|
}
|
|
@@ -3,7 +3,6 @@ import { isoly } from "isoly";
|
|
|
3
3
|
import { http } from "cloudly-http";
|
|
4
4
|
import * as rest from "cloudly-rest";
|
|
5
5
|
import { Transaction } from "../../Transaction";
|
|
6
|
-
import { Indices as TransactionIndex } from "./Indices";
|
|
7
6
|
import { Notes } from "./Notes";
|
|
8
7
|
export declare class Transactions extends rest.Collection<gracely.Error> {
|
|
9
8
|
readonly Notes: Notes;
|
|
@@ -13,13 +12,9 @@ export declare class Transactions extends rest.Collection<gracely.Error> {
|
|
|
13
12
|
account?: string;
|
|
14
13
|
limit?: number;
|
|
15
14
|
cursor?: string;
|
|
16
|
-
index?:
|
|
15
|
+
index?: "review";
|
|
17
16
|
dateRange?: isoly.DateRange;
|
|
18
17
|
}): Promise<(Transaction[] & {
|
|
19
18
|
cursor?: string | undefined;
|
|
20
19
|
}) | gracely.Error>;
|
|
21
20
|
}
|
|
22
|
-
export declare namespace Transactions {
|
|
23
|
-
type Index = TransactionIndex;
|
|
24
|
-
const Index: typeof TransactionIndex;
|
|
25
|
-
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { gracely } from "gracely";
|
|
2
2
|
import { http } from "cloudly-http";
|
|
3
3
|
import * as rest from "cloudly-rest";
|
|
4
|
-
import { Indices as TransactionIndex } from "./Indices";
|
|
5
4
|
import { Notes } from "./Notes";
|
|
6
5
|
export class Transactions extends rest.Collection {
|
|
7
6
|
constructor(client) {
|
|
@@ -20,7 +19,7 @@ export class Transactions extends rest.Collection {
|
|
|
20
19
|
async list(options) {
|
|
21
20
|
const query = Object.entries({
|
|
22
21
|
...(options?.cursor ? { cursor: options.cursor } : {}),
|
|
23
|
-
...(options?.index ? { index: options
|
|
22
|
+
...(options?.index ? { index: options?.index } : {}),
|
|
24
23
|
...(options?.dateRange ?? {}),
|
|
25
24
|
})
|
|
26
25
|
.map(([k, v]) => `${k}=${v}`)
|
|
@@ -37,7 +36,4 @@ export class Transactions extends rest.Collection {
|
|
|
37
36
|
return result;
|
|
38
37
|
}
|
|
39
38
|
}
|
|
40
|
-
(function (Transactions) {
|
|
41
|
-
Transactions.Index = TransactionIndex;
|
|
42
|
-
})(Transactions || (Transactions = {}));
|
|
43
39
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","s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ist/Client/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { Operations } from "./Operations";
|
|
|
9
9
|
import { Organizations } from "./Organizations";
|
|
10
10
|
import { Rules } from "./Rules";
|
|
11
11
|
import { Settlements } from "./Settlements";
|
|
12
|
-
import { Transactions
|
|
12
|
+
import { Transactions } from "./Transactions";
|
|
13
13
|
import { Treasury } from "./Treasury";
|
|
14
14
|
import { Version } from "./Version";
|
|
15
15
|
export declare class Client extends rest.Client<gracely.Error> {
|
|
@@ -21,7 +21,7 @@ export declare class Client extends rest.Client<gracely.Error> {
|
|
|
21
21
|
readonly organizations: Organizations;
|
|
22
22
|
readonly rules: Rules;
|
|
23
23
|
readonly settlements: Settlements;
|
|
24
|
-
readonly transactions:
|
|
24
|
+
readonly transactions: Transactions;
|
|
25
25
|
readonly treasury: Treasury;
|
|
26
26
|
readonly flags: Flags;
|
|
27
27
|
readonly userwidgets: userwidgets.ClientCollection;
|
|
@@ -29,9 +29,5 @@ export declare class Client extends rest.Client<gracely.Error> {
|
|
|
29
29
|
static create<T = Record<string, any>>(server: string, key: string, load?: (client: http.Client) => T): Client & T;
|
|
30
30
|
}
|
|
31
31
|
export declare namespace Client {
|
|
32
|
-
const Transactions: typeof ClientTransactions;
|
|
33
|
-
namespace Transactions {
|
|
34
|
-
type Index = ClientTransactions.Index;
|
|
35
|
-
}
|
|
36
32
|
type Unauthorized = (client: rest.Client<never>) => Promise<boolean>;
|
|
37
33
|
}
|
package/dist/Client/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import { Operations } from "./Operations";
|
|
|
8
8
|
import { Organizations } from "./Organizations";
|
|
9
9
|
import { Rules } from "./Rules";
|
|
10
10
|
import { Settlements } from "./Settlements";
|
|
11
|
-
import { Transactions
|
|
11
|
+
import { Transactions } from "./Transactions";
|
|
12
12
|
import { Treasury } from "./Treasury";
|
|
13
13
|
import { Version } from "./Version";
|
|
14
14
|
export class Client extends rest.Client {
|
|
@@ -20,7 +20,7 @@ export class Client extends rest.Client {
|
|
|
20
20
|
this.organizations = new Organizations(this.client);
|
|
21
21
|
this.rules = new Rules(this.client);
|
|
22
22
|
this.settlements = new Settlements(this.client);
|
|
23
|
-
this.transactions = new
|
|
23
|
+
this.transactions = new Transactions(this.client);
|
|
24
24
|
this.treasury = new Treasury(this.client);
|
|
25
25
|
this.flags = new Flags(this.client);
|
|
26
26
|
this.userwidgets = new userwidgets.ClientCollection(this.client, { pathPrefix: "/widgets" });
|
|
@@ -36,7 +36,4 @@ export class Client extends rest.Client {
|
|
|
36
36
|
return result;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
(function (Client) {
|
|
40
|
-
Client.Transactions = ClientTransactions;
|
|
41
|
-
})(Client || (Client = {}));
|
|
42
39
|
//# sourceMappingURL=index.js.map
|
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,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA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,IAAI,CAAC,MAAM,CAAC,CAAA;QAC9B,gBAAW,GAAG,IAAI,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC,CAAA;QACvF,YAAO,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;IAa5C,CAAC;IAXA,MAAM,CAAC,MAAM,CAA0B,MAAc,EAAE,GAAW,EAAE,IAAiC;QACpG,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/package.json
CHANGED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { isoly } from "isoly"
|
|
2
|
-
import { isly } from "isly"
|
|
3
|
-
|
|
4
|
-
export type Indices =
|
|
5
|
-
| ["currency", isoly.Currency]
|
|
6
|
-
| ["direction", Indices.Direction]
|
|
7
|
-
| ["rail", Indices.Rail]
|
|
8
|
-
| ["status", Indices.Status]
|
|
9
|
-
export namespace Indices {
|
|
10
|
-
const direction = ["inbound", "outbound"] as const
|
|
11
|
-
export type Direction = typeof direction[number]
|
|
12
|
-
const rail = "internal"
|
|
13
|
-
export type Rail = typeof rail
|
|
14
|
-
const status = ["review", "created", "approved", "rejected", "processing", "finalized"] as const
|
|
15
|
-
export type Status = typeof status[number]
|
|
16
|
-
export const type = isly.union(
|
|
17
|
-
isly.tuple<Indices>(isly.string("currency"), isly.fromIs("isoly.Currency", isoly.Currency.is)),
|
|
18
|
-
isly.tuple<Indices>(isly.string("direction"), isly.string(direction)),
|
|
19
|
-
isly.tuple<Indices>(isly.string("rail"), isly.string(rail)),
|
|
20
|
-
isly.tuple<Indices>(isly.string("status"), isly.string(status))
|
|
21
|
-
)
|
|
22
|
-
export const is = type.is
|
|
23
|
-
export const flaw = type.flaw
|
|
24
|
-
export function parse(value: string | undefined): Indices | undefined {
|
|
25
|
-
const indices = value?.split(",")
|
|
26
|
-
return is(indices) ? indices : undefined
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { isoly } from "isoly";
|
|
2
|
-
import { isly } from "isly";
|
|
3
|
-
export type Indices = ["currency", isoly.Currency] | ["direction", Indices.Direction] | ["rail", Indices.Rail] | ["status", Indices.Status];
|
|
4
|
-
export declare namespace Indices {
|
|
5
|
-
const direction: readonly ["inbound", "outbound"];
|
|
6
|
-
export type Direction = typeof direction[number];
|
|
7
|
-
const rail = "internal";
|
|
8
|
-
export type Rail = typeof rail;
|
|
9
|
-
const status: readonly ["review", "created", "approved", "rejected", "processing", "finalized"];
|
|
10
|
-
export type Status = typeof status[number];
|
|
11
|
-
export const type: isly.Type<Indices>;
|
|
12
|
-
export const is: isly.Type.IsFunction<Indices>;
|
|
13
|
-
export const flaw: isly.Type.FlawFunction;
|
|
14
|
-
export function parse(value: string | undefined): Indices | undefined;
|
|
15
|
-
export {};
|
|
16
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { isoly } from "isoly";
|
|
2
|
-
import { isly } from "isly";
|
|
3
|
-
export var Indices;
|
|
4
|
-
(function (Indices) {
|
|
5
|
-
const direction = ["inbound", "outbound"];
|
|
6
|
-
const rail = "internal";
|
|
7
|
-
const status = ["review", "created", "approved", "rejected", "processing", "finalized"];
|
|
8
|
-
Indices.type = isly.union(isly.tuple(isly.string("currency"), isly.fromIs("isoly.Currency", isoly.Currency.is)), isly.tuple(isly.string("direction"), isly.string(direction)), isly.tuple(isly.string("rail"), isly.string(rail)), isly.tuple(isly.string("status"), isly.string(status)));
|
|
9
|
-
Indices.is = Indices.type.is;
|
|
10
|
-
Indices.flaw = Indices.type.flaw;
|
|
11
|
-
function parse(value) {
|
|
12
|
-
const indices = value?.split(",");
|
|
13
|
-
return Indices.is(indices) ? indices : undefined;
|
|
14
|
-
}
|
|
15
|
-
Indices.parse = parse;
|
|
16
|
-
})(Indices || (Indices = {}));
|
|
17
|
-
//# sourceMappingURL=Indices.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Indices.js","sourceRoot":"../","sources":["Client/Transactions/Indices.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAO3B,MAAM,KAAW,OAAO,CAmBvB;AAnBD,WAAiB,OAAO;IACvB,MAAM,SAAS,GAAG,CAAC,SAAS,EAAE,UAAU,CAAU,CAAA;IAElD,MAAM,IAAI,GAAG,UAAU,CAAA;IAEvB,MAAM,MAAM,GAAG,CAAC,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,YAAY,EAAE,WAAW,CAAU,CAAA;IAEnF,YAAI,GAAG,IAAI,CAAC,KAAK,CAC7B,IAAI,CAAC,KAAK,CAAU,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,EAC9F,IAAI,CAAC,KAAK,CAAU,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,EAAE,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,EACrE,IAAI,CAAC,KAAK,CAAU,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,E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