@pax2pay/model-banking 0.1.404 → 0.1.406
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/Account/Status.ts +22 -0
- package/Account/index.ts +8 -0
- package/CODEOWNERS +1 -1
- package/Client/Accounts/Status.ts +10 -0
- package/Client/Accounts/index.ts +2 -0
- package/dist/Account/Status.d.ts +18 -0
- package/dist/Account/Status.js +19 -0
- package/dist/Account/Status.js.map +1 -0
- package/dist/Account/index.d.ts +5 -0
- package/dist/Account/index.js +7 -0
- package/dist/Account/index.js.map +1 -1
- package/dist/Client/Accounts/Status.d.ts +8 -0
- package/dist/Client/Accounts/Status.js +9 -0
- package/dist/Client/Accounts/Status.js.map +1 -0
- package/dist/Client/Accounts/index.d.ts +2 -0
- package/dist/Client/Accounts/index.js +2 -0
- package/dist/Client/Accounts/index.js.map +1 -1
- package/dist/Warning/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { isly } from "isly"
|
|
2
|
+
|
|
3
|
+
export type Status = {
|
|
4
|
+
mode: Status.Mode
|
|
5
|
+
reason?: Status.Reason
|
|
6
|
+
}
|
|
7
|
+
export namespace Status {
|
|
8
|
+
export type Mode = typeof Mode.values[number] | (string & Record<never, never>)
|
|
9
|
+
export namespace Mode {
|
|
10
|
+
export const values = ["active", "frozen", "closed"] as const
|
|
11
|
+
}
|
|
12
|
+
export type Reason = typeof Reason.values[number] | (string & Record<never, never>)
|
|
13
|
+
export namespace Reason {
|
|
14
|
+
export const values = ["overdraft", "other"] as const
|
|
15
|
+
}
|
|
16
|
+
export const type = isly.object<Status>({
|
|
17
|
+
mode: isly.string<Mode>(Mode.values),
|
|
18
|
+
reason: isly.string().optional(),
|
|
19
|
+
})
|
|
20
|
+
export const is = type.is
|
|
21
|
+
export const flaw = type.flaw
|
|
22
|
+
}
|
package/Account/index.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { Balances } from "../Balances"
|
|
|
5
5
|
import { Rail } from "../Rail"
|
|
6
6
|
import { Rule } from "../Rule"
|
|
7
7
|
import { Creatable as AccountCreatable } from "./Creatable"
|
|
8
|
+
import { Status as AccountStatus } from "./Status"
|
|
8
9
|
|
|
9
10
|
export interface Account extends Account.Creatable {
|
|
10
11
|
id: cryptly.Identifier
|
|
@@ -14,8 +15,13 @@ export interface Account extends Account.Creatable {
|
|
|
14
15
|
counterparts?: Record<string, Rail.Address>
|
|
15
16
|
key?: string
|
|
16
17
|
rules?: Rule[]
|
|
18
|
+
status: AccountStatus
|
|
17
19
|
}
|
|
18
20
|
export namespace Account {
|
|
21
|
+
export type Legacy = Omit<Account, "status">
|
|
22
|
+
export function fromLegacy(maybeLegacy: Legacy | Account, status?: AccountStatus): Account {
|
|
23
|
+
return { ...maybeLegacy, status: status ?? ("status" in maybeLegacy ? maybeLegacy.status : { mode: "active" }) }
|
|
24
|
+
}
|
|
19
25
|
export const type = isly.object<Account>({
|
|
20
26
|
name: isly.string(),
|
|
21
27
|
id: isly.string(),
|
|
@@ -25,6 +31,7 @@ export namespace Account {
|
|
|
25
31
|
counterparts: isly.record<Record<string, Rail.Address>>(isly.string(), Rail.Address.type).optional(),
|
|
26
32
|
key: isly.string().optional(),
|
|
27
33
|
rules: Rule.type.array().optional(),
|
|
34
|
+
status: AccountStatus.type,
|
|
28
35
|
})
|
|
29
36
|
export const is = type.is
|
|
30
37
|
export const flaw = type.flaw
|
|
@@ -32,4 +39,5 @@ export namespace Account {
|
|
|
32
39
|
return cryptly.Identifier.is(value, 8)
|
|
33
40
|
}
|
|
34
41
|
export import Creatable = AccountCreatable
|
|
42
|
+
export import Status = AccountStatus
|
|
35
43
|
}
|
package/CODEOWNERS
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@
|
|
1
|
+
* @pax2pay/banking
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { gracely } from "gracely"
|
|
2
|
+
import { http } from "cloudly-http"
|
|
3
|
+
import { Account } from "../../Account"
|
|
4
|
+
|
|
5
|
+
export class Status {
|
|
6
|
+
constructor(private readonly client: http.Client) {}
|
|
7
|
+
async replace(account: string, status: Account.Status): Promise<Account.Status | gracely.Error> {
|
|
8
|
+
return this.client.put<Account.Status>(`/account/${account}/status`, status)
|
|
9
|
+
}
|
|
10
|
+
}
|
package/Client/Accounts/index.ts
CHANGED
|
@@ -6,11 +6,13 @@ import { Buffer } from "./Buffer"
|
|
|
6
6
|
import { Counterparts } from "./Counterparts"
|
|
7
7
|
import { Rails } from "./Rails"
|
|
8
8
|
import { Rules } from "./Rules"
|
|
9
|
+
import { Status } from "./Status"
|
|
9
10
|
|
|
10
11
|
export class Accounts extends rest.Collection<gracely.Error> {
|
|
11
12
|
readonly buffer = new Buffer(this.client)
|
|
12
13
|
readonly Rails = new Rails(this.client)
|
|
13
14
|
readonly rules = new Rules(this.client)
|
|
15
|
+
readonly status = new Status(this.client)
|
|
14
16
|
readonly counterparts = new Counterparts(this.client)
|
|
15
17
|
|
|
16
18
|
constructor(client: http.Client) {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
export type Status = {
|
|
3
|
+
mode: Status.Mode;
|
|
4
|
+
reason?: Status.Reason;
|
|
5
|
+
};
|
|
6
|
+
export declare namespace Status {
|
|
7
|
+
type Mode = typeof Mode.values[number] | (string & Record<never, never>);
|
|
8
|
+
namespace Mode {
|
|
9
|
+
const values: readonly ["active", "frozen", "closed"];
|
|
10
|
+
}
|
|
11
|
+
type Reason = typeof Reason.values[number] | (string & Record<never, never>);
|
|
12
|
+
namespace Reason {
|
|
13
|
+
const values: readonly ["overdraft", "other"];
|
|
14
|
+
}
|
|
15
|
+
const type: isly.object.ExtendableType<Status>;
|
|
16
|
+
const is: isly.Type.IsFunction<Status>;
|
|
17
|
+
const flaw: isly.Type.FlawFunction;
|
|
18
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
export var Status;
|
|
3
|
+
(function (Status) {
|
|
4
|
+
let Mode;
|
|
5
|
+
(function (Mode) {
|
|
6
|
+
Mode.values = ["active", "frozen", "closed"];
|
|
7
|
+
})(Mode = Status.Mode || (Status.Mode = {}));
|
|
8
|
+
let Reason;
|
|
9
|
+
(function (Reason) {
|
|
10
|
+
Reason.values = ["overdraft", "other"];
|
|
11
|
+
})(Reason = Status.Reason || (Status.Reason = {}));
|
|
12
|
+
Status.type = isly.object({
|
|
13
|
+
mode: isly.string(Mode.values),
|
|
14
|
+
reason: isly.string().optional(),
|
|
15
|
+
});
|
|
16
|
+
Status.is = Status.type.is;
|
|
17
|
+
Status.flaw = Status.type.flaw;
|
|
18
|
+
})(Status || (Status = {}));
|
|
19
|
+
//# sourceMappingURL=Status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Status.js","sourceRoot":"../","sources":["Account/Status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAM3B,MAAM,KAAW,MAAM,CAetB;AAfD,WAAiB,MAAM;IAEtB,IAAiB,IAAI,CAEpB;IAFD,WAAiB,IAAI;QACP,WAAM,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,QAAQ,CAAU,CAAA;IAC9D,CAAC,EAFgB,IAAI,GAAJ,WAAI,KAAJ,WAAI,QAEpB;IAED,IAAiB,MAAM,CAEtB;IAFD,WAAiB,MAAM;QACT,aAAM,GAAG,CAAC,WAAW,EAAE,OAAO,CAAU,CAAA;IACtD,CAAC,EAFgB,MAAM,GAAN,aAAM,KAAN,aAAM,QAEtB;IACY,WAAI,GAAG,IAAI,CAAC,MAAM,CAAS;QACvC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAO,IAAI,CAAC,MAAM,CAAC;QACpC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAChC,CAAC,CAAA;IACW,SAAE,GAAG,OAAA,IAAI,CAAC,EAAE,CAAA;IACZ,WAAI,GAAG,OAAA,IAAI,CAAC,IAAI,CAAA;AAC9B,CAAC,EAfgB,MAAM,KAAN,MAAM,QAetB"}
|
package/dist/Account/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { Balances } from "../Balances";
|
|
|
5
5
|
import { Rail } from "../Rail";
|
|
6
6
|
import { Rule } from "../Rule";
|
|
7
7
|
import { Creatable as AccountCreatable } from "./Creatable";
|
|
8
|
+
import { Status as AccountStatus } from "./Status";
|
|
8
9
|
export interface Account extends Account.Creatable {
|
|
9
10
|
id: cryptly.Identifier;
|
|
10
11
|
created: isoly.DateTime;
|
|
@@ -13,11 +14,15 @@ export interface Account extends Account.Creatable {
|
|
|
13
14
|
counterparts?: Record<string, Rail.Address>;
|
|
14
15
|
key?: string;
|
|
15
16
|
rules?: Rule[];
|
|
17
|
+
status: AccountStatus;
|
|
16
18
|
}
|
|
17
19
|
export declare namespace Account {
|
|
20
|
+
type Legacy = Omit<Account, "status">;
|
|
21
|
+
function fromLegacy(maybeLegacy: Legacy | Account, status?: AccountStatus): Account;
|
|
18
22
|
const type: isly.object.ExtendableType<Account>;
|
|
19
23
|
const is: isly.Type.IsFunction<Account>;
|
|
20
24
|
const flaw: isly.Type.FlawFunction;
|
|
21
25
|
function isIdentifier(value: cryptly.Identifier | any): value is cryptly.Identifier;
|
|
22
26
|
export import Creatable = AccountCreatable;
|
|
27
|
+
export import Status = AccountStatus;
|
|
23
28
|
}
|
package/dist/Account/index.js
CHANGED
|
@@ -5,8 +5,13 @@ import { Balances } from "../Balances";
|
|
|
5
5
|
import { Rail } from "../Rail";
|
|
6
6
|
import { Rule } from "../Rule";
|
|
7
7
|
import { Creatable as AccountCreatable } from "./Creatable";
|
|
8
|
+
import { Status as AccountStatus } from "./Status";
|
|
8
9
|
export var Account;
|
|
9
10
|
(function (Account) {
|
|
11
|
+
function fromLegacy(maybeLegacy, status) {
|
|
12
|
+
return { ...maybeLegacy, status: status ?? ("status" in maybeLegacy ? maybeLegacy.status : { mode: "active" }) };
|
|
13
|
+
}
|
|
14
|
+
Account.fromLegacy = fromLegacy;
|
|
10
15
|
Account.type = isly.object({
|
|
11
16
|
name: isly.string(),
|
|
12
17
|
id: isly.string(),
|
|
@@ -16,6 +21,7 @@ export var Account;
|
|
|
16
21
|
counterparts: isly.record(isly.string(), Rail.Address.type).optional(),
|
|
17
22
|
key: isly.string().optional(),
|
|
18
23
|
rules: Rule.type.array().optional(),
|
|
24
|
+
status: AccountStatus.type,
|
|
19
25
|
});
|
|
20
26
|
Account.is = Account.type.is;
|
|
21
27
|
Account.flaw = Account.type.flaw;
|
|
@@ -24,5 +30,6 @@ export var Account;
|
|
|
24
30
|
}
|
|
25
31
|
Account.isIdentifier = isIdentifier;
|
|
26
32
|
Account.Creatable = AccountCreatable;
|
|
33
|
+
Account.Status = AccountStatus;
|
|
27
34
|
})(Account || (Account = {}));
|
|
28
35
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Account/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,SAAS,IAAI,gBAAgB,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Account/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACjC,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAC9B,OAAO,EAAE,SAAS,IAAI,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAC3D,OAAO,EAAE,MAAM,IAAI,aAAa,EAAE,MAAM,UAAU,CAAA;AAYlD,MAAM,KAAW,OAAO,CAuBvB;AAvBD,WAAiB,OAAO;IAEvB,SAAgB,UAAU,CAAC,WAA6B,EAAE,MAAsB;QAC/E,OAAO,EAAE,GAAG,WAAW,EAAE,MAAM,EAAE,MAAM,IAAI,CAAC,QAAQ,IAAI,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAA;IACjH,CAAC;IAFe,kBAAU,aAEzB,CAAA;IACY,YAAI,GAAG,IAAI,CAAC,MAAM,CAAU;QACxC,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;QACnB,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE;QACjB,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,gBAAgB,EAAE,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC;QACzD,QAAQ,EAAE,QAAQ,CAAC,IAAI;QACvB,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE;QAChC,YAAY,EAAE,IAAI,CAAC,MAAM,CAA+B,IAAI,CAAC,MAAM,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE;QACpG,GAAG,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC7B,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;QACnC,MAAM,EAAE,aAAa,CAAC,IAAI;KAC1B,CAAC,CAAA;IACW,UAAE,GAAG,QAAA,IAAI,CAAC,EAAE,CAAA;IACZ,YAAI,GAAG,QAAA,IAAI,CAAC,IAAI,CAAA;IAC7B,SAAgB,YAAY,CAAC,KAA+B;QAC3D,OAAO,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;IACvC,CAAC;IAFe,oBAAY,eAE3B,CAAA;IACa,iBAAS,GAAG,gBAAgB,CAAA;IAC5B,cAAM,GAAG,aAAa,CAAA;AACrC,CAAC,EAvBgB,OAAO,KAAP,OAAO,QAuBvB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { gracely } from "gracely";
|
|
2
|
+
import { http } from "cloudly-http";
|
|
3
|
+
import { Account } from "../../Account";
|
|
4
|
+
export declare class Status {
|
|
5
|
+
private readonly client;
|
|
6
|
+
constructor(client: http.Client);
|
|
7
|
+
replace(account: string, status: Account.Status): Promise<Account.Status | gracely.Error>;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Status.js","sourceRoot":"../","sources":["Client/Accounts/Status.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,MAAM;IAClB,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IACpD,KAAK,CAAC,OAAO,CAAC,OAAe,EAAE,MAAsB;QACpD,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAiB,YAAY,OAAO,SAAS,EAAE,MAAM,CAAC,CAAA;IAC7E,CAAC;CACD"}
|
|
@@ -6,10 +6,12 @@ import { Buffer } from "./Buffer";
|
|
|
6
6
|
import { Counterparts } from "./Counterparts";
|
|
7
7
|
import { Rails } from "./Rails";
|
|
8
8
|
import { Rules } from "./Rules";
|
|
9
|
+
import { Status } from "./Status";
|
|
9
10
|
export declare class Accounts extends rest.Collection<gracely.Error> {
|
|
10
11
|
readonly buffer: Buffer;
|
|
11
12
|
readonly Rails: Rails;
|
|
12
13
|
readonly rules: Rules;
|
|
14
|
+
readonly status: Status;
|
|
13
15
|
readonly counterparts: Counterparts;
|
|
14
16
|
constructor(client: http.Client);
|
|
15
17
|
create(account: Account.Creatable): Promise<Account | gracely.Error>;
|
|
@@ -3,12 +3,14 @@ import { Buffer } from "./Buffer";
|
|
|
3
3
|
import { Counterparts } from "./Counterparts";
|
|
4
4
|
import { Rails } from "./Rails";
|
|
5
5
|
import { Rules } from "./Rules";
|
|
6
|
+
import { Status } from "./Status";
|
|
6
7
|
export class Accounts extends rest.Collection {
|
|
7
8
|
constructor(client) {
|
|
8
9
|
super(client);
|
|
9
10
|
this.buffer = new Buffer(this.client);
|
|
10
11
|
this.Rails = new Rails(this.client);
|
|
11
12
|
this.rules = new Rules(this.client);
|
|
13
|
+
this.status = new Status(this.client);
|
|
12
14
|
this.counterparts = new Counterparts(this.client);
|
|
13
15
|
}
|
|
14
16
|
async create(account) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Accounts/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,cAAc,CAAA;AAEpC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Accounts/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,cAAc,CAAA;AAEpC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,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;AAEjC,MAAM,OAAO,QAAS,SAAQ,IAAI,CAAC,UAAyB;IAO3D,YAAY,MAAmB;QAC9B,KAAK,CAAC,MAAM,CAAC,CAAA;QAPL,WAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QAChC,UAAK,GAAG,IAAI,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QAC9B,UAAK,GAAG,IAAI,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QAC9B,WAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QAChC,iBAAY,GAAG,IAAI,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;IAIrD,CAAC;IACD,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"}
|
package/dist/Warning/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare namespace Warning {
|
|
|
11
11
|
export import Issue = WarningIssue;
|
|
12
12
|
namespace Type {
|
|
13
13
|
type Snapshot = WarningSnapshot["type"];
|
|
14
|
-
const Snapshot: isly.Type<"counterbalance" | "missing-buffer" | "missing-emoney" | "missing-fiat" | "
|
|
14
|
+
const Snapshot: isly.Type<"overdraft" | "counterbalance" | "missing-buffer" | "missing-emoney" | "missing-fiat" | "stale-fiat">;
|
|
15
15
|
type Settlement = WarningSettlement["type"];
|
|
16
16
|
const Settlement: isly.Type<"missing-file" | "negative-amount" | "unknown-entry">;
|
|
17
17
|
}
|