@pax2pay/model-banking 0.1.630 → 0.1.632
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/PasswordResets.ts +17 -0
- package/Client/Users/index.ts +5 -0
- package/Treasury/Snapshot/Check/Checks.ts +0 -1
- package/Treasury/Snapshot/Check/index.ts +0 -3
- package/User/index.ts +20 -0
- package/dist/cjs/Client/Users/PasswordResets.d.ts +10 -0
- package/dist/cjs/Client/Users/PasswordResets.js +20 -0
- package/dist/cjs/Client/Users/PasswordResets.js.map +1 -0
- package/dist/cjs/Client/Users/index.d.ts +2 -0
- package/dist/cjs/Client/Users/index.js +5 -0
- package/dist/cjs/Client/Users/index.js.map +1 -1
- package/dist/cjs/Treasury/Snapshot/Check/Checks.d.ts +2 -2
- package/dist/cjs/Treasury/Snapshot/Check/Checks.js +0 -1
- package/dist/cjs/Treasury/Snapshot/Check/Checks.js.map +1 -1
- package/dist/cjs/Treasury/Snapshot/Check/index.d.ts +1 -3
- package/dist/cjs/Treasury/Snapshot/Check/index.js.map +1 -1
- package/dist/cjs/User/index.d.ts +20 -0
- package/dist/cjs/User/index.js +14 -0
- package/dist/cjs/User/index.js.map +1 -1
- package/dist/mjs/Client/Users/PasswordResets.d.ts +10 -0
- package/dist/mjs/Client/Users/PasswordResets.js +16 -0
- package/dist/mjs/Client/Users/PasswordResets.js.map +1 -0
- package/dist/mjs/Client/Users/index.d.ts +2 -0
- package/dist/mjs/Client/Users/index.js +5 -0
- package/dist/mjs/Client/Users/index.js.map +1 -1
- package/dist/mjs/Treasury/Snapshot/Check/Checks.d.ts +2 -2
- package/dist/mjs/Treasury/Snapshot/Check/Checks.js +0 -1
- package/dist/mjs/Treasury/Snapshot/Check/Checks.js.map +1 -1
- package/dist/mjs/Treasury/Snapshot/Check/index.d.ts +1 -3
- package/dist/mjs/Treasury/Snapshot/Check/index.js.map +1 -1
- package/dist/mjs/User/index.d.ts +20 -0
- package/dist/mjs/User/index.js +14 -0
- package/dist/mjs/User/index.js.map +1 -1
- package/package.json +1 -1
- package/Treasury/Snapshot/Check/UnallocatedFunds.ts +0 -7
- package/dist/cjs/Treasury/Snapshot/Check/UnallocatedFunds.d.ts +0 -6
- package/dist/cjs/Treasury/Snapshot/Check/UnallocatedFunds.js +0 -3
- package/dist/cjs/Treasury/Snapshot/Check/UnallocatedFunds.js.map +0 -1
- package/dist/mjs/Treasury/Snapshot/Check/UnallocatedFunds.d.ts +0 -6
- package/dist/mjs/Treasury/Snapshot/Check/UnallocatedFunds.js +0 -2
- package/dist/mjs/Treasury/Snapshot/Check/UnallocatedFunds.js.map +0 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { gracely } from "gracely"
|
|
2
|
+
import { http } from "cloudly-http"
|
|
3
|
+
import { User } from "../../User"
|
|
4
|
+
|
|
5
|
+
export class PasswordResets {
|
|
6
|
+
constructor(private readonly client: http.Client) {}
|
|
7
|
+
|
|
8
|
+
async create(creatable: User.PasswordReset.Creatable): Promise<gracely.Result | gracely.Error> {
|
|
9
|
+
return await this.client.post<gracely.Result>("/user/password-reset", creatable)
|
|
10
|
+
}
|
|
11
|
+
async fetch(emailHash: string, token: string): Promise<User.PasswordReset | gracely.Error> {
|
|
12
|
+
return await this.client.get<User.PasswordReset>(`/user/password-reset/${emailHash}/${token}`)
|
|
13
|
+
}
|
|
14
|
+
async confirm(emailHash: string, token: string, reset: User.Password.Creatable): Promise<User | gracely.Error> {
|
|
15
|
+
return await this.client.post<User>(`/user/password-reset/${emailHash}/${token}/confirm`, reset)
|
|
16
|
+
}
|
|
17
|
+
}
|
package/Client/Users/index.ts
CHANGED
|
@@ -2,12 +2,17 @@ import { gracely } from "gracely"
|
|
|
2
2
|
import { http } from "cloudly-http"
|
|
3
3
|
import { User } from "../../User"
|
|
4
4
|
import { Invites } from "./Invites"
|
|
5
|
+
import { PasswordResets } from "./PasswordResets"
|
|
5
6
|
|
|
6
7
|
export class Users {
|
|
7
8
|
#invites?: Invites
|
|
8
9
|
get invites(): Invites {
|
|
9
10
|
return (this.#invites ??= new Invites(this.client))
|
|
10
11
|
}
|
|
12
|
+
#passwordResets?: PasswordResets
|
|
13
|
+
get passwordResets(): PasswordResets {
|
|
14
|
+
return (this.#passwordResets ??= new PasswordResets(this.client))
|
|
15
|
+
}
|
|
11
16
|
constructor(private readonly client: http.Client) {}
|
|
12
17
|
|
|
13
18
|
async create(user: User.Creatable): Promise<User | gracely.Error> {
|
|
@@ -9,7 +9,6 @@ export namespace Checks {
|
|
|
9
9
|
"ledger integrity", // Proves Opening Balance + Operations = Closing Balance
|
|
10
10
|
"overdraft", // Warns if any customer accounts fall below zero
|
|
11
11
|
"transaction match", // Proves all external bank txns have a 1:1 internal ledger txn
|
|
12
|
-
"unallocated funds", // Never flags, only zero
|
|
13
12
|
"unidentified funds", // Flags any received money not yet assigned to a customer
|
|
14
13
|
] as const
|
|
15
14
|
export const type = isly.string(value)
|
|
@@ -6,7 +6,6 @@ import { LedgerIntegrity as CheckLedgerIntegrity } from "./LedgerIntegrity"
|
|
|
6
6
|
import { Overdraft as CheckOverdraft } from "./Overdraft"
|
|
7
7
|
import { Result as CheckResult } from "./Result"
|
|
8
8
|
import { TransactionMatch as CheckTransactionMatch } from "./TransactionMatch"
|
|
9
|
-
import { UnallocatedFunds as CheckUnallocatedFunds } from "./UnallocatedFunds"
|
|
10
9
|
import { UnidentifiedFunds as CheckUnidentifiedFunds } from "./UnidentifiedFunds"
|
|
11
10
|
|
|
12
11
|
export type Check =
|
|
@@ -16,7 +15,6 @@ export type Check =
|
|
|
16
15
|
| Check.LedgerIntegrity
|
|
17
16
|
| Check.Overdraft
|
|
18
17
|
| Check.TransactionMatch
|
|
19
|
-
| Check.UnallocatedFunds
|
|
20
18
|
| Check.UnidentifiedFunds
|
|
21
19
|
export namespace Check {
|
|
22
20
|
export import Result = CheckResult
|
|
@@ -27,6 +25,5 @@ export namespace Check {
|
|
|
27
25
|
export type LedgerIntegrity = CheckLedgerIntegrity
|
|
28
26
|
export type Overdraft = CheckOverdraft
|
|
29
27
|
export type TransactionMatch = CheckTransactionMatch
|
|
30
|
-
export type UnallocatedFunds = CheckUnallocatedFunds
|
|
31
28
|
export type UnidentifiedFunds = CheckUnidentifiedFunds
|
|
32
29
|
}
|
package/User/index.ts
CHANGED
|
@@ -61,4 +61,24 @@ export namespace User {
|
|
|
61
61
|
export const type = isly.object<Creatable>({ email: isly.string(), access: Access.type })
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
+
export type PasswordReset = Pick<PasswordReset.Storable, "email">
|
|
65
|
+
export namespace PasswordReset {
|
|
66
|
+
export interface Storable {
|
|
67
|
+
emailHash: string
|
|
68
|
+
token: string
|
|
69
|
+
email: string
|
|
70
|
+
messageId?: string
|
|
71
|
+
created: isoly.DateTime
|
|
72
|
+
expires: isoly.DateTime
|
|
73
|
+
}
|
|
74
|
+
export namespace Storable {
|
|
75
|
+
export function toModel(storable: Storable): PasswordReset {
|
|
76
|
+
return { email: storable.email }
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
export type Creatable = zod.infer<typeof Creatable.typeZod>
|
|
80
|
+
export namespace Creatable {
|
|
81
|
+
export const typeZod = zod.object({ email: zod.string() })
|
|
82
|
+
}
|
|
83
|
+
}
|
|
64
84
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { gracely } from "gracely";
|
|
2
|
+
import { http } from "cloudly-http";
|
|
3
|
+
import { User } from "../../User";
|
|
4
|
+
export declare class PasswordResets {
|
|
5
|
+
private readonly client;
|
|
6
|
+
constructor(client: http.Client);
|
|
7
|
+
create(creatable: User.PasswordReset.Creatable): Promise<gracely.Result | gracely.Error>;
|
|
8
|
+
fetch(emailHash: string, token: string): Promise<User.PasswordReset | gracely.Error>;
|
|
9
|
+
confirm(emailHash: string, token: string, reset: User.Password.Creatable): Promise<User | gracely.Error>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PasswordResets = void 0;
|
|
4
|
+
class PasswordResets {
|
|
5
|
+
client;
|
|
6
|
+
constructor(client) {
|
|
7
|
+
this.client = client;
|
|
8
|
+
}
|
|
9
|
+
async create(creatable) {
|
|
10
|
+
return await this.client.post("/user/password-reset", creatable);
|
|
11
|
+
}
|
|
12
|
+
async fetch(emailHash, token) {
|
|
13
|
+
return await this.client.get(`/user/password-reset/${emailHash}/${token}`);
|
|
14
|
+
}
|
|
15
|
+
async confirm(emailHash, token, reset) {
|
|
16
|
+
return await this.client.post(`/user/password-reset/${emailHash}/${token}/confirm`, reset);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.PasswordResets = PasswordResets;
|
|
20
|
+
//# sourceMappingURL=PasswordResets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PasswordResets.js","sourceRoot":"","sources":["../../../../Client/Users/PasswordResets.ts"],"names":[],"mappings":";;;AAIA,MAAa,cAAc;IACG;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IAEpD,KAAK,CAAC,MAAM,CAAC,SAAuC;QACnD,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAiB,sBAAsB,EAAE,SAAS,CAAC,CAAA;IACjF,CAAC;IACD,KAAK,CAAC,KAAK,CAAC,SAAiB,EAAE,KAAa;QAC3C,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAqB,wBAAwB,SAAS,IAAI,KAAK,EAAE,CAAC,CAAA;IAC/F,CAAC;IACD,KAAK,CAAC,OAAO,CAAC,SAAiB,EAAE,KAAa,EAAE,KAA8B;QAC7E,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAO,wBAAwB,SAAS,IAAI,KAAK,UAAU,EAAE,KAAK,CAAC,CAAA;IACjG,CAAC;CACD;AAZD,wCAYC"}
|
|
@@ -2,10 +2,12 @@ import { gracely } from "gracely";
|
|
|
2
2
|
import { http } from "cloudly-http";
|
|
3
3
|
import { User } from "../../User";
|
|
4
4
|
import { Invites } from "./Invites";
|
|
5
|
+
import { PasswordResets } from "./PasswordResets";
|
|
5
6
|
export declare class Users {
|
|
6
7
|
#private;
|
|
7
8
|
private readonly client;
|
|
8
9
|
get invites(): Invites;
|
|
10
|
+
get passwordResets(): PasswordResets;
|
|
9
11
|
constructor(client: http.Client);
|
|
10
12
|
create(user: User.Creatable): Promise<User | gracely.Error>;
|
|
11
13
|
fetch(email: string): Promise<User | gracely.Error>;
|
|
@@ -2,12 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Users = void 0;
|
|
4
4
|
const Invites_1 = require("./Invites");
|
|
5
|
+
const PasswordResets_1 = require("./PasswordResets");
|
|
5
6
|
class Users {
|
|
6
7
|
client;
|
|
7
8
|
#invites;
|
|
8
9
|
get invites() {
|
|
9
10
|
return (this.#invites ??= new Invites_1.Invites(this.client));
|
|
10
11
|
}
|
|
12
|
+
#passwordResets;
|
|
13
|
+
get passwordResets() {
|
|
14
|
+
return (this.#passwordResets ??= new PasswordResets_1.PasswordResets(this.client));
|
|
15
|
+
}
|
|
11
16
|
constructor(client) {
|
|
12
17
|
this.client = client;
|
|
13
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Client/Users/index.ts"],"names":[],"mappings":";;;AAGA,uCAAmC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Client/Users/index.ts"],"names":[],"mappings":";;;AAGA,uCAAmC;AACnC,qDAAiD;AAEjD,MAAa,KAAK;IASY;IAR7B,QAAQ,CAAU;IAClB,IAAI,OAAO;QACV,OAAO,CAAC,IAAI,CAAC,QAAQ,KAAK,IAAI,iBAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAA;IACpD,CAAC;IACD,eAAe,CAAiB;IAChC,IAAI,cAAc;QACjB,OAAO,CAAC,IAAI,CAAC,eAAe,KAAK,IAAI,+BAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAA;IAClE,CAAC;IACD,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IAEpD,KAAK,CAAC,MAAM,CAAC,IAAoB;QAChC,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAO,OAAO,EAAE,IAAI,CAAC,CAAA;IACnD,CAAC;IACD,KAAK,CAAC,KAAK,CAAC,KAAa;QACxB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAO,SAAS,KAAK,EAAE,CAAC,CAAA;IACrD,CAAC;IACD,KAAK,CAAC,IAAI;QACT,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAS,OAAO,CAAC,CAAA;IAC9C,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,KAAa;QACzB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,MAAM,CAAO,SAAS,KAAK,EAAE,CAAC,CAAA;IACxD,CAAC;IACD,KAAK,CAAC,YAAY,CAAC,KAAa,EAAE,MAAmB;QACpD,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAO,SAAS,KAAK,SAAS,EAAE,MAAM,CAAC,CAAA;IACpE,CAAC;IACD,KAAK,CAAC,SAAS,CAAC,KAAa;QAC5B,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAO,SAAS,KAAK,WAAW,CAAC,CAAA;IAC3D,CAAC;CACD;AA7BD,sBA6BC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isly } from "isly";
|
|
2
2
|
export type Checks = (typeof Checks.value)[number];
|
|
3
3
|
export declare namespace Checks {
|
|
4
|
-
const value: readonly ["bank feed integrity", "external reconciliation", "internal reconciliation", "ledger integrity", "overdraft", "transaction match", "
|
|
5
|
-
const type: isly.Type<"overdraft" | "bank feed integrity" | "external reconciliation" | "internal reconciliation" | "ledger integrity" | "transaction match" | "
|
|
4
|
+
const value: readonly ["bank feed integrity", "external reconciliation", "internal reconciliation", "ledger integrity", "overdraft", "transaction match", "unidentified funds"];
|
|
5
|
+
const type: isly.Type<"overdraft" | "bank feed integrity" | "external reconciliation" | "internal reconciliation" | "ledger integrity" | "transaction match" | "unidentified funds">;
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checks.js","sourceRoot":"","sources":["../../../../../Treasury/Snapshot/Check/Checks.ts"],"names":[],"mappings":";;;AAAA,+BAA2B;AAG3B,IAAiB,MAAM,
|
|
1
|
+
{"version":3,"file":"Checks.js","sourceRoot":"","sources":["../../../../../Treasury/Snapshot/Check/Checks.ts"],"names":[],"mappings":";;;AAAA,+BAA2B;AAG3B,IAAiB,MAAM,CAWtB;AAXD,WAAiB,MAAM;IACT,YAAK,GAAG;QACpB,qBAAqB;QACrB,yBAAyB;QACzB,yBAAyB;QACzB,kBAAkB;QAClB,WAAW;QACX,mBAAmB;QACnB,oBAAoB;KACX,CAAA;IACG,WAAI,GAAG,WAAI,CAAC,MAAM,CAAC,OAAA,KAAK,CAAC,CAAA;AACvC,CAAC,EAXgB,MAAM,sBAAN,MAAM,QAWtB"}
|
|
@@ -6,9 +6,8 @@ import { LedgerIntegrity as CheckLedgerIntegrity } from "./LedgerIntegrity";
|
|
|
6
6
|
import { Overdraft as CheckOverdraft } from "./Overdraft";
|
|
7
7
|
import { Result as CheckResult } from "./Result";
|
|
8
8
|
import { TransactionMatch as CheckTransactionMatch } from "./TransactionMatch";
|
|
9
|
-
import { UnallocatedFunds as CheckUnallocatedFunds } from "./UnallocatedFunds";
|
|
10
9
|
import { UnidentifiedFunds as CheckUnidentifiedFunds } from "./UnidentifiedFunds";
|
|
11
|
-
export type Check = Check.BankFeedIntegrity | Check.ExternalReconciliation | Check.InternalReconciliation | Check.LedgerIntegrity | Check.Overdraft | Check.TransactionMatch | Check.
|
|
10
|
+
export type Check = Check.BankFeedIntegrity | Check.ExternalReconciliation | Check.InternalReconciliation | Check.LedgerIntegrity | Check.Overdraft | Check.TransactionMatch | Check.UnidentifiedFunds;
|
|
12
11
|
export declare namespace Check {
|
|
13
12
|
export import Result = CheckResult;
|
|
14
13
|
export import Checks = CheckChecks;
|
|
@@ -18,6 +17,5 @@ export declare namespace Check {
|
|
|
18
17
|
type LedgerIntegrity = CheckLedgerIntegrity;
|
|
19
18
|
type Overdraft = CheckOverdraft;
|
|
20
19
|
type TransactionMatch = CheckTransactionMatch;
|
|
21
|
-
type UnallocatedFunds = CheckUnallocatedFunds;
|
|
22
20
|
type UnidentifiedFunds = CheckUnidentifiedFunds;
|
|
23
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../Treasury/Snapshot/Check/index.ts"],"names":[],"mappings":";;;AACA,qCAAgD;AAKhD,qCAAgD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../Treasury/Snapshot/Check/index.ts"],"names":[],"mappings":";;;AACA,qCAAgD;AAKhD,qCAAgD;AAYhD,IAAiB,KAAK,CAUrB;AAVD,WAAiB,KAAK;IACP,YAAM,GAAG,eAAW,CAAA;IACpB,YAAM,GAAG,eAAW,CAAA;AAQnC,CAAC,EAVgB,KAAK,qBAAL,KAAK,QAUrB"}
|
package/dist/cjs/User/index.d.ts
CHANGED
|
@@ -141,4 +141,24 @@ export declare namespace User {
|
|
|
141
141
|
}, object>;
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
|
+
type PasswordReset = Pick<PasswordReset.Storable, "email">;
|
|
145
|
+
namespace PasswordReset {
|
|
146
|
+
interface Storable {
|
|
147
|
+
emailHash: string;
|
|
148
|
+
token: string;
|
|
149
|
+
email: string;
|
|
150
|
+
messageId?: string;
|
|
151
|
+
created: isoly.DateTime;
|
|
152
|
+
expires: isoly.DateTime;
|
|
153
|
+
}
|
|
154
|
+
namespace Storable {
|
|
155
|
+
function toModel(storable: Storable): PasswordReset;
|
|
156
|
+
}
|
|
157
|
+
type Creatable = zod.infer<typeof Creatable.typeZod>;
|
|
158
|
+
namespace Creatable {
|
|
159
|
+
const typeZod: zod.ZodObject<{
|
|
160
|
+
email: zod.ZodString;
|
|
161
|
+
}, zod.z.core.$strip>;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
144
164
|
}
|
package/dist/cjs/User/index.js
CHANGED
|
@@ -51,5 +51,19 @@ var User;
|
|
|
51
51
|
Creatable.type = isly_1.isly.object({ email: isly_1.isly.string(), access: User.Access.type });
|
|
52
52
|
})(Creatable = Invite.Creatable || (Invite.Creatable = {}));
|
|
53
53
|
})(Invite = User.Invite || (User.Invite = {}));
|
|
54
|
+
let PasswordReset;
|
|
55
|
+
(function (PasswordReset) {
|
|
56
|
+
let Storable;
|
|
57
|
+
(function (Storable) {
|
|
58
|
+
function toModel(storable) {
|
|
59
|
+
return { email: storable.email };
|
|
60
|
+
}
|
|
61
|
+
Storable.toModel = toModel;
|
|
62
|
+
})(Storable = PasswordReset.Storable || (PasswordReset.Storable = {}));
|
|
63
|
+
let Creatable;
|
|
64
|
+
(function (Creatable) {
|
|
65
|
+
Creatable.typeZod = zod_1.zod.object({ email: zod_1.zod.string() });
|
|
66
|
+
})(Creatable = PasswordReset.Creatable || (PasswordReset.Creatable = {}));
|
|
67
|
+
})(PasswordReset = User.PasswordReset || (User.PasswordReset = {}));
|
|
54
68
|
})(User || (exports.User = User = {}));
|
|
55
69
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../User/index.ts"],"names":[],"mappings":";;;AAAA,iCAA6B;AAC7B,+BAA2B;AAE3B,gCAA4B;AAC5B,qCAA+C;AAC/C,yCAAqD;AACrD,+BAAsC;AACtC,+BAAsC;AACtC,yCAAqD;AASrD,IAAiB,IAAI,
|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AAiB,aAAa;QAS7B,IAAiB,QAAQ,CAIxB;QAJD,WAAiB,QAAQ;YACxB,SAAgB,OAAO,CAAC,QAAkB;gBACzC,OAAO,EAAE,KAAK,EAAE,QAAQ,CAAC,KAAK,EAAE,CAAA;YACjC,CAAC;YAFe,gBAAO,UAEtB,CAAA;QACF,CAAC,EAJgB,QAAQ,GAAR,sBAAQ,KAAR,sBAAQ,QAIxB;QAED,IAAiB,SAAS,CAEzB;QAFD,WAAiB,SAAS;YACZ,iBAAO,GAAG,SAAG,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,SAAG,CAAC,MAAM,EAAE,EAAE,CAAC,CAAA;QAC3D,CAAC,EAFgB,SAAS,GAAT,uBAAS,KAAT,uBAAS,QAEzB;IACF,CAAC,EAlBgB,aAAa,GAAb,kBAAa,KAAb,kBAAa,QAkB7B;AACF,CAAC,EAlEgB,IAAI,oBAAJ,IAAI,QAkEpB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { gracely } from "gracely";
|
|
2
|
+
import { http } from "cloudly-http";
|
|
3
|
+
import { User } from "../../User";
|
|
4
|
+
export declare class PasswordResets {
|
|
5
|
+
private readonly client;
|
|
6
|
+
constructor(client: http.Client);
|
|
7
|
+
create(creatable: User.PasswordReset.Creatable): Promise<gracely.Result | gracely.Error>;
|
|
8
|
+
fetch(emailHash: string, token: string): Promise<User.PasswordReset | gracely.Error>;
|
|
9
|
+
confirm(emailHash: string, token: string, reset: User.Password.Creatable): Promise<User | gracely.Error>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export class PasswordResets {
|
|
2
|
+
client;
|
|
3
|
+
constructor(client) {
|
|
4
|
+
this.client = client;
|
|
5
|
+
}
|
|
6
|
+
async create(creatable) {
|
|
7
|
+
return await this.client.post("/user/password-reset", creatable);
|
|
8
|
+
}
|
|
9
|
+
async fetch(emailHash, token) {
|
|
10
|
+
return await this.client.get(`/user/password-reset/${emailHash}/${token}`);
|
|
11
|
+
}
|
|
12
|
+
async confirm(emailHash, token, reset) {
|
|
13
|
+
return await this.client.post(`/user/password-reset/${emailHash}/${token}/confirm`, reset);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=PasswordResets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PasswordResets.js","sourceRoot":"","sources":["../../../../Client/Users/PasswordResets.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,cAAc;IACG;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IAEpD,KAAK,CAAC,MAAM,CAAC,SAAuC;QACnD,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAiB,sBAAsB,EAAE,SAAS,CAAC,CAAA;IACjF,CAAC;IACD,KAAK,CAAC,KAAK,CAAC,SAAiB,EAAE,KAAa;QAC3C,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAqB,wBAAwB,SAAS,IAAI,KAAK,EAAE,CAAC,CAAA;IAC/F,CAAC;IACD,KAAK,CAAC,OAAO,CAAC,SAAiB,EAAE,KAAa,EAAE,KAA8B;QAC7E,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAO,wBAAwB,SAAS,IAAI,KAAK,UAAU,EAAE,KAAK,CAAC,CAAA;IACjG,CAAC;CACD"}
|
|
@@ -2,10 +2,12 @@ import { gracely } from "gracely";
|
|
|
2
2
|
import { http } from "cloudly-http";
|
|
3
3
|
import { User } from "../../User";
|
|
4
4
|
import { Invites } from "./Invites";
|
|
5
|
+
import { PasswordResets } from "./PasswordResets";
|
|
5
6
|
export declare class Users {
|
|
6
7
|
#private;
|
|
7
8
|
private readonly client;
|
|
8
9
|
get invites(): Invites;
|
|
10
|
+
get passwordResets(): PasswordResets;
|
|
9
11
|
constructor(client: http.Client);
|
|
10
12
|
create(user: User.Creatable): Promise<User | gracely.Error>;
|
|
11
13
|
fetch(email: string): Promise<User | gracely.Error>;
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
import { Invites } from "./Invites";
|
|
2
|
+
import { PasswordResets } from "./PasswordResets";
|
|
2
3
|
export class Users {
|
|
3
4
|
client;
|
|
4
5
|
#invites;
|
|
5
6
|
get invites() {
|
|
6
7
|
return (this.#invites ??= new Invites(this.client));
|
|
7
8
|
}
|
|
9
|
+
#passwordResets;
|
|
10
|
+
get passwordResets() {
|
|
11
|
+
return (this.#passwordResets ??= new PasswordResets(this.client));
|
|
12
|
+
}
|
|
8
13
|
constructor(client) {
|
|
9
14
|
this.client = client;
|
|
10
15
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Client/Users/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Client/Users/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEjD,MAAM,OAAO,KAAK;IASY;IAR7B,QAAQ,CAAU;IAClB,IAAI,OAAO;QACV,OAAO,CAAC,IAAI,CAAC,QAAQ,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAA;IACpD,CAAC;IACD,eAAe,CAAiB;IAChC,IAAI,cAAc;QACjB,OAAO,CAAC,IAAI,CAAC,eAAe,KAAK,IAAI,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAA;IAClE,CAAC;IACD,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IAEpD,KAAK,CAAC,MAAM,CAAC,IAAoB;QAChC,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAO,OAAO,EAAE,IAAI,CAAC,CAAA;IACnD,CAAC;IACD,KAAK,CAAC,KAAK,CAAC,KAAa;QACxB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAO,SAAS,KAAK,EAAE,CAAC,CAAA;IACrD,CAAC;IACD,KAAK,CAAC,IAAI;QACT,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAS,OAAO,CAAC,CAAA;IAC9C,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,KAAa;QACzB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,MAAM,CAAO,SAAS,KAAK,EAAE,CAAC,CAAA;IACxD,CAAC;IACD,KAAK,CAAC,YAAY,CAAC,KAAa,EAAE,MAAmB;QACpD,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAAO,SAAS,KAAK,SAAS,EAAE,MAAM,CAAC,CAAA;IACpE,CAAC;IACD,KAAK,CAAC,SAAS,CAAC,KAAa;QAC5B,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAO,SAAS,KAAK,WAAW,CAAC,CAAA;IAC3D,CAAC;CACD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { isly } from "isly";
|
|
2
2
|
export type Checks = (typeof Checks.value)[number];
|
|
3
3
|
export declare namespace Checks {
|
|
4
|
-
const value: readonly ["bank feed integrity", "external reconciliation", "internal reconciliation", "ledger integrity", "overdraft", "transaction match", "
|
|
5
|
-
const type: isly.Type<"overdraft" | "bank feed integrity" | "external reconciliation" | "internal reconciliation" | "ledger integrity" | "transaction match" | "
|
|
4
|
+
const value: readonly ["bank feed integrity", "external reconciliation", "internal reconciliation", "ledger integrity", "overdraft", "transaction match", "unidentified funds"];
|
|
5
|
+
const type: isly.Type<"overdraft" | "bank feed integrity" | "external reconciliation" | "internal reconciliation" | "ledger integrity" | "transaction match" | "unidentified funds">;
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Checks.js","sourceRoot":"","sources":["../../../../../Treasury/Snapshot/Check/Checks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAG3B,MAAM,KAAW,MAAM,
|
|
1
|
+
{"version":3,"file":"Checks.js","sourceRoot":"","sources":["../../../../../Treasury/Snapshot/Check/Checks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAG3B,MAAM,KAAW,MAAM,CAWtB;AAXD,WAAiB,MAAM;IACT,YAAK,GAAG;QACpB,qBAAqB;QACrB,yBAAyB;QACzB,yBAAyB;QACzB,kBAAkB;QAClB,WAAW;QACX,mBAAmB;QACnB,oBAAoB;KACX,CAAA;IACG,WAAI,GAAG,IAAI,CAAC,MAAM,CAAC,OAAA,KAAK,CAAC,CAAA;AACvC,CAAC,EAXgB,MAAM,KAAN,MAAM,QAWtB"}
|
|
@@ -6,9 +6,8 @@ import { LedgerIntegrity as CheckLedgerIntegrity } from "./LedgerIntegrity";
|
|
|
6
6
|
import { Overdraft as CheckOverdraft } from "./Overdraft";
|
|
7
7
|
import { Result as CheckResult } from "./Result";
|
|
8
8
|
import { TransactionMatch as CheckTransactionMatch } from "./TransactionMatch";
|
|
9
|
-
import { UnallocatedFunds as CheckUnallocatedFunds } from "./UnallocatedFunds";
|
|
10
9
|
import { UnidentifiedFunds as CheckUnidentifiedFunds } from "./UnidentifiedFunds";
|
|
11
|
-
export type Check = Check.BankFeedIntegrity | Check.ExternalReconciliation | Check.InternalReconciliation | Check.LedgerIntegrity | Check.Overdraft | Check.TransactionMatch | Check.
|
|
10
|
+
export type Check = Check.BankFeedIntegrity | Check.ExternalReconciliation | Check.InternalReconciliation | Check.LedgerIntegrity | Check.Overdraft | Check.TransactionMatch | Check.UnidentifiedFunds;
|
|
12
11
|
export declare namespace Check {
|
|
13
12
|
export import Result = CheckResult;
|
|
14
13
|
export import Checks = CheckChecks;
|
|
@@ -18,6 +17,5 @@ export declare namespace Check {
|
|
|
18
17
|
type LedgerIntegrity = CheckLedgerIntegrity;
|
|
19
18
|
type Overdraft = CheckOverdraft;
|
|
20
19
|
type TransactionMatch = CheckTransactionMatch;
|
|
21
|
-
type UnallocatedFunds = CheckUnallocatedFunds;
|
|
22
20
|
type UnidentifiedFunds = CheckUnidentifiedFunds;
|
|
23
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../Treasury/Snapshot/Check/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,UAAU,CAAA;AAKhD,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../Treasury/Snapshot/Check/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,UAAU,CAAA;AAKhD,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,UAAU,CAAA;AAYhD,MAAM,KAAW,KAAK,CAUrB;AAVD,WAAiB,KAAK;IACP,YAAM,GAAG,WAAW,CAAA;IACpB,YAAM,GAAG,WAAW,CAAA;AAQnC,CAAC,EAVgB,KAAK,KAAL,KAAK,QAUrB"}
|
package/dist/mjs/User/index.d.ts
CHANGED
|
@@ -141,4 +141,24 @@ export declare namespace User {
|
|
|
141
141
|
}, object>;
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
|
+
type PasswordReset = Pick<PasswordReset.Storable, "email">;
|
|
145
|
+
namespace PasswordReset {
|
|
146
|
+
interface Storable {
|
|
147
|
+
emailHash: string;
|
|
148
|
+
token: string;
|
|
149
|
+
email: string;
|
|
150
|
+
messageId?: string;
|
|
151
|
+
created: isoly.DateTime;
|
|
152
|
+
expires: isoly.DateTime;
|
|
153
|
+
}
|
|
154
|
+
namespace Storable {
|
|
155
|
+
function toModel(storable: Storable): PasswordReset;
|
|
156
|
+
}
|
|
157
|
+
type Creatable = zod.infer<typeof Creatable.typeZod>;
|
|
158
|
+
namespace Creatable {
|
|
159
|
+
const typeZod: zod.ZodObject<{
|
|
160
|
+
email: zod.ZodString;
|
|
161
|
+
}, zod.z.core.$strip>;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
144
164
|
}
|
package/dist/mjs/User/index.js
CHANGED
|
@@ -48,5 +48,19 @@ export var User;
|
|
|
48
48
|
Creatable.type = isly.object({ email: isly.string(), access: User.Access.type });
|
|
49
49
|
})(Creatable = Invite.Creatable || (Invite.Creatable = {}));
|
|
50
50
|
})(Invite = User.Invite || (User.Invite = {}));
|
|
51
|
+
let PasswordReset;
|
|
52
|
+
(function (PasswordReset) {
|
|
53
|
+
let Storable;
|
|
54
|
+
(function (Storable) {
|
|
55
|
+
function toModel(storable) {
|
|
56
|
+
return { email: storable.email };
|
|
57
|
+
}
|
|
58
|
+
Storable.toModel = toModel;
|
|
59
|
+
})(Storable = PasswordReset.Storable || (PasswordReset.Storable = {}));
|
|
60
|
+
let Creatable;
|
|
61
|
+
(function (Creatable) {
|
|
62
|
+
Creatable.typeZod = zod.object({ email: zod.string() });
|
|
63
|
+
})(Creatable = PasswordReset.Creatable || (PasswordReset.Creatable = {}));
|
|
64
|
+
})(PasswordReset = User.PasswordReset || (User.PasswordReset = {}));
|
|
51
65
|
})(User || (User = {}));
|
|
52
66
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../User/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAE3B,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAA;AAC5B,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,UAAU,CAAA;AAC/C,OAAO,EAAE,QAAQ,IAAI,YAAY,EAAE,MAAM,YAAY,CAAA;AACrD,OAAO,EAA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"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UnallocatedFunds.js","sourceRoot":"","sources":["../../../../../Treasury/Snapshot/Check/UnallocatedFunds.ts"],"names":[],"mappings":""}
|