@pax2pay/model-banking 0.1.474 → 0.1.476
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 +14 -7
- package/Client/Organizations/index.ts +6 -3
- package/Client/Transactions/index.ts +5 -2
- package/Client/index.ts +39 -22
- package/Identity.ts +55 -17
- package/Operation/Signer.ts +5 -2
- package/Operation/index.ts +1 -1
- package/dist/cjs/Client/Accounts/Buffer.js +1 -0
- package/dist/cjs/Client/Accounts/Buffer.js.map +1 -1
- package/dist/cjs/Client/Accounts/Counterparts.js +1 -0
- package/dist/cjs/Client/Accounts/Counterparts.js.map +1 -1
- package/dist/cjs/Client/Accounts/History.js +1 -0
- package/dist/cjs/Client/Accounts/History.js.map +1 -1
- package/dist/cjs/Client/Accounts/Rails.js +1 -0
- package/dist/cjs/Client/Accounts/Rails.js.map +1 -1
- package/dist/cjs/Client/Accounts/Rules.js +1 -0
- package/dist/cjs/Client/Accounts/Rules.js.map +1 -1
- package/dist/cjs/Client/Accounts/Status.js +1 -0
- package/dist/cjs/Client/Accounts/Status.js.map +1 -1
- package/dist/cjs/Client/Accounts/index.js +7 -0
- package/dist/cjs/Client/Accounts/index.js.map +1 -1
- package/dist/cjs/Client/Audit.js +1 -0
- package/dist/cjs/Client/Audit.js.map +1 -1
- package/dist/cjs/Client/Cards.js +1 -0
- package/dist/cjs/Client/Cards.js.map +1 -1
- package/dist/cjs/Client/Exchanges.js +1 -0
- package/dist/cjs/Client/Exchanges.js.map +1 -1
- package/dist/cjs/Client/Labels.js +2 -0
- package/dist/cjs/Client/Labels.js.map +1 -1
- package/dist/cjs/Client/Logs.js +1 -0
- package/dist/cjs/Client/Logs.js.map +1 -1
- package/dist/cjs/Client/Operations.js +1 -0
- package/dist/cjs/Client/Operations.js.map +1 -1
- package/dist/cjs/Client/Organizations/Groups.js +1 -0
- package/dist/cjs/Client/Organizations/Groups.js.map +1 -1
- package/dist/cjs/Client/Organizations/Rules.js +1 -0
- package/dist/cjs/Client/Organizations/Rules.js.map +1 -1
- package/dist/cjs/Client/Organizations/index.js +3 -0
- package/dist/cjs/Client/Organizations/index.js.map +1 -1
- package/dist/cjs/Client/Processor/Tpl.js +1 -0
- package/dist/cjs/Client/Processor/Tpl.js.map +1 -1
- package/dist/cjs/Client/Processor/index.js +2 -0
- package/dist/cjs/Client/Processor/index.js.map +1 -1
- package/dist/cjs/Client/Reports.js +1 -0
- package/dist/cjs/Client/Reports.js.map +1 -1
- package/dist/cjs/Client/Rules.js +1 -0
- package/dist/cjs/Client/Rules.js.map +1 -1
- package/dist/cjs/Client/Settlements.js +1 -0
- package/dist/cjs/Client/Settlements.js.map +1 -1
- package/dist/cjs/Client/Transactions/Notes.js +1 -0
- package/dist/cjs/Client/Transactions/Notes.js.map +1 -1
- package/dist/cjs/Client/Transactions/index.js +2 -0
- package/dist/cjs/Client/Transactions/index.js.map +1 -1
- package/dist/cjs/Client/Treasury.js +1 -0
- package/dist/cjs/Client/Treasury.js.map +1 -1
- package/dist/cjs/Client/Version.js +1 -0
- package/dist/cjs/Client/Version.js.map +1 -1
- package/dist/cjs/Client/index.d.ts +3 -3
- package/dist/cjs/Client/index.js +34 -14
- package/dist/cjs/Client/index.js.map +1 -1
- package/dist/cjs/Identity.d.ts +19 -6
- package/dist/cjs/Identity.js +20 -22
- package/dist/cjs/Identity.js.map +1 -1
- package/dist/cjs/Operation/Signer.d.ts +1 -0
- package/dist/cjs/Operation/Signer.js +2 -0
- package/dist/cjs/Operation/Signer.js.map +1 -1
- package/dist/cjs/Operation/index.d.ts +1 -1
- package/dist/cjs/Operation/index.js.map +1 -1
- package/dist/mjs/Client/Accounts/Buffer.js +1 -0
- package/dist/mjs/Client/Accounts/Buffer.js.map +1 -1
- package/dist/mjs/Client/Accounts/Counterparts.js +1 -0
- package/dist/mjs/Client/Accounts/Counterparts.js.map +1 -1
- package/dist/mjs/Client/Accounts/History.js +1 -0
- package/dist/mjs/Client/Accounts/History.js.map +1 -1
- package/dist/mjs/Client/Accounts/Rails.js +1 -0
- package/dist/mjs/Client/Accounts/Rails.js.map +1 -1
- package/dist/mjs/Client/Accounts/Rules.js +1 -0
- package/dist/mjs/Client/Accounts/Rules.js.map +1 -1
- package/dist/mjs/Client/Accounts/Status.js +1 -0
- package/dist/mjs/Client/Accounts/Status.js.map +1 -1
- package/dist/mjs/Client/Accounts/index.js +7 -0
- package/dist/mjs/Client/Accounts/index.js.map +1 -1
- package/dist/mjs/Client/Audit.js +1 -0
- package/dist/mjs/Client/Audit.js.map +1 -1
- package/dist/mjs/Client/Cards.js +1 -0
- package/dist/mjs/Client/Cards.js.map +1 -1
- package/dist/mjs/Client/Exchanges.js +1 -0
- package/dist/mjs/Client/Exchanges.js.map +1 -1
- package/dist/mjs/Client/Labels.js +2 -0
- package/dist/mjs/Client/Labels.js.map +1 -1
- package/dist/mjs/Client/Logs.js +1 -0
- package/dist/mjs/Client/Logs.js.map +1 -1
- package/dist/mjs/Client/Operations.js +1 -0
- package/dist/mjs/Client/Operations.js.map +1 -1
- package/dist/mjs/Client/Organizations/Groups.js +1 -0
- package/dist/mjs/Client/Organizations/Groups.js.map +1 -1
- package/dist/mjs/Client/Organizations/Rules.js +1 -0
- package/dist/mjs/Client/Organizations/Rules.js.map +1 -1
- package/dist/mjs/Client/Organizations/index.js +3 -0
- package/dist/mjs/Client/Organizations/index.js.map +1 -1
- package/dist/mjs/Client/Processor/Tpl.js +1 -0
- package/dist/mjs/Client/Processor/Tpl.js.map +1 -1
- package/dist/mjs/Client/Processor/index.js +2 -0
- package/dist/mjs/Client/Processor/index.js.map +1 -1
- package/dist/mjs/Client/Reports.js +1 -0
- package/dist/mjs/Client/Reports.js.map +1 -1
- package/dist/mjs/Client/Rules.js +1 -0
- package/dist/mjs/Client/Rules.js.map +1 -1
- package/dist/mjs/Client/Settlements.js +1 -0
- package/dist/mjs/Client/Settlements.js.map +1 -1
- package/dist/mjs/Client/Transactions/Notes.js +1 -0
- package/dist/mjs/Client/Transactions/Notes.js.map +1 -1
- package/dist/mjs/Client/Transactions/index.js +2 -0
- package/dist/mjs/Client/Transactions/index.js.map +1 -1
- package/dist/mjs/Client/Treasury.js +1 -0
- package/dist/mjs/Client/Treasury.js.map +1 -1
- package/dist/mjs/Client/Version.js +1 -0
- package/dist/mjs/Client/Version.js.map +1 -1
- package/dist/mjs/Client/index.d.ts +3 -3
- package/dist/mjs/Client/index.js +34 -14
- package/dist/mjs/Client/index.js.map +1 -1
- package/dist/mjs/Identity.d.ts +19 -6
- package/dist/mjs/Identity.js +20 -22
- package/dist/mjs/Identity.js.map +1 -1
- package/dist/mjs/Operation/Signer.d.ts +1 -0
- package/dist/mjs/Operation/Signer.js +2 -0
- package/dist/mjs/Operation/Signer.js.map +1 -1
- package/dist/mjs/Operation/index.d.ts +1 -1
- package/dist/mjs/Operation/index.js.map +1 -1
- package/package.json +3 -3
- package/tsconfig.json +4 -4
package/Client/Accounts/index.ts
CHANGED
|
@@ -9,14 +9,21 @@ import { Rules } from "./Rules"
|
|
|
9
9
|
import { Status } from "./Status"
|
|
10
10
|
|
|
11
11
|
export class Accounts {
|
|
12
|
-
readonly buffer
|
|
13
|
-
readonly Rails
|
|
14
|
-
readonly rules
|
|
15
|
-
readonly status
|
|
16
|
-
readonly counterparts
|
|
17
|
-
readonly history
|
|
12
|
+
readonly buffer: Buffer
|
|
13
|
+
readonly Rails: Rails
|
|
14
|
+
readonly rules: Rules
|
|
15
|
+
readonly status: Status
|
|
16
|
+
readonly counterparts: Counterparts
|
|
17
|
+
readonly history: History
|
|
18
|
+
constructor(private readonly client: http.Client) {
|
|
19
|
+
this.buffer = new Buffer(this.client)
|
|
20
|
+
this.Rails = new Rails(this.client)
|
|
21
|
+
this.rules = new Rules(this.client)
|
|
22
|
+
this.status = new Status(this.client)
|
|
23
|
+
this.counterparts = new Counterparts(this.client)
|
|
24
|
+
this.history = new History(this.client)
|
|
25
|
+
}
|
|
18
26
|
|
|
19
|
-
constructor(private readonly client: http.Client) {}
|
|
20
27
|
async create(account: Account.Creatable): Promise<Account | gracely.Error> {
|
|
21
28
|
return this.client.post<Account>("/account", account)
|
|
22
29
|
}
|
|
@@ -5,10 +5,13 @@ import { Groups } from "./Groups"
|
|
|
5
5
|
import { Rules } from "./Rules"
|
|
6
6
|
|
|
7
7
|
export class Organizations {
|
|
8
|
-
readonly Rules
|
|
9
|
-
readonly groups
|
|
8
|
+
readonly Rules: Rules
|
|
9
|
+
readonly groups: Groups
|
|
10
|
+
constructor(private readonly client: http.Client) {
|
|
11
|
+
this.Rules = new Rules(this.client)
|
|
12
|
+
this.groups = new Groups(this.client)
|
|
13
|
+
}
|
|
10
14
|
|
|
11
|
-
constructor(private readonly client: http.Client) {}
|
|
12
15
|
async list(options?: {
|
|
13
16
|
limit?: string
|
|
14
17
|
cursor?: string
|
|
@@ -9,8 +9,11 @@ import { Transaction } from "../../Transaction"
|
|
|
9
9
|
import { Notes } from "./Notes"
|
|
10
10
|
|
|
11
11
|
export class Transactions {
|
|
12
|
-
readonly Notes
|
|
13
|
-
constructor(private readonly client: http.Client) {
|
|
12
|
+
readonly Notes: Notes
|
|
13
|
+
constructor(private readonly client: http.Client) {
|
|
14
|
+
this.Notes = new Notes(this.client)
|
|
15
|
+
}
|
|
16
|
+
|
|
14
17
|
async create(account: string, transaction: Transaction.Creatable): Promise<Transaction | gracely.Error> {
|
|
15
18
|
return this.client.post<Transaction>(`/account/${account}/transaction`, transaction)
|
|
16
19
|
}
|
package/Client/index.ts
CHANGED
|
@@ -20,28 +20,22 @@ import { Version } from "./Version"
|
|
|
20
20
|
export class Client {
|
|
21
21
|
realm?: string
|
|
22
22
|
organization?: string
|
|
23
|
-
readonly accounts
|
|
24
|
-
readonly cards
|
|
25
|
-
readonly operations
|
|
26
|
-
readonly exchanges
|
|
27
|
-
readonly organizations
|
|
28
|
-
readonly reports
|
|
29
|
-
readonly audits
|
|
30
|
-
readonly logs
|
|
31
|
-
readonly rules
|
|
32
|
-
readonly settlements
|
|
33
|
-
readonly transactions
|
|
34
|
-
readonly treasury
|
|
35
|
-
readonly flags
|
|
36
|
-
readonly groups
|
|
37
|
-
readonly
|
|
38
|
-
|
|
39
|
-
readonly processors = new Processor(this.client)
|
|
40
|
-
readonly version = new Version(this.client)
|
|
41
|
-
onUnauthorized?: (client: Client) => Promise<boolean>
|
|
42
|
-
private constructor(private readonly client: http.Client<gracely.Error>) {
|
|
43
|
-
this.client.onUnauthorized = async () => this.onUnauthorized != undefined && (await this.onUnauthorized(this))
|
|
44
|
-
}
|
|
23
|
+
readonly accounts: Accounts
|
|
24
|
+
readonly cards: Cards
|
|
25
|
+
readonly operations: Operations
|
|
26
|
+
readonly exchanges: Exchanges
|
|
27
|
+
readonly organizations: Organizations
|
|
28
|
+
readonly reports: Reports
|
|
29
|
+
readonly audits: Audit
|
|
30
|
+
readonly logs: Logs
|
|
31
|
+
readonly rules: Rules
|
|
32
|
+
readonly settlements: Settlements
|
|
33
|
+
readonly transactions: Transactions
|
|
34
|
+
readonly treasury: Treasury
|
|
35
|
+
readonly flags: Labels
|
|
36
|
+
readonly groups: Labels
|
|
37
|
+
readonly processors: Processor
|
|
38
|
+
readonly version: Version
|
|
45
39
|
set key(value: string | undefined) {
|
|
46
40
|
this.client.key = value
|
|
47
41
|
}
|
|
@@ -54,6 +48,29 @@ export class Client {
|
|
|
54
48
|
get onError(): ((request: http.Request, response: http.Response) => Promise<boolean>) | undefined {
|
|
55
49
|
return this.client.onError
|
|
56
50
|
}
|
|
51
|
+
private constructor(private readonly client: http.Client<gracely.Error>) {
|
|
52
|
+
this.client.onUnauthorized = async () => this.onUnauthorized != undefined && (await this.onUnauthorized(this))
|
|
53
|
+
this.accounts = new Accounts(this.client)
|
|
54
|
+
this.cards = new Cards(this.client)
|
|
55
|
+
this.operations = new Operations(this.client)
|
|
56
|
+
this.exchanges = new Exchanges(this.client)
|
|
57
|
+
this.organizations = new Organizations(this.client)
|
|
58
|
+
this.reports = new Reports(this.client)
|
|
59
|
+
this.audits = new Audit(this.client)
|
|
60
|
+
this.logs = new Logs(this.client)
|
|
61
|
+
this.rules = new Rules(this.client)
|
|
62
|
+
this.settlements = new Settlements(this.client)
|
|
63
|
+
this.transactions = new Transactions(this.client)
|
|
64
|
+
this.treasury = new Treasury(this.client)
|
|
65
|
+
this.flags = new Labels(this.client, "flag")
|
|
66
|
+
this.groups = new Labels(this.client, "group")
|
|
67
|
+
this.processors = new Processor(this.client)
|
|
68
|
+
this.version = new Version(this.client)
|
|
69
|
+
}
|
|
70
|
+
readonly userwidgets = (server: string, application: string) =>
|
|
71
|
+
new userwidgets.ClientCollection(new http.Client(server), { application })
|
|
72
|
+
onUnauthorized?: (client: Client) => Promise<boolean>
|
|
73
|
+
|
|
57
74
|
static create(server: string, key?: string): Client {
|
|
58
75
|
const httpClient: http.Client<gracely.Error> = new http.Client<gracely.Error>(server, key, {
|
|
59
76
|
appendHeader: request => ({
|
package/Identity.ts
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
|
+
import { gracely } from "gracely"
|
|
1
2
|
import { userwidgets } from "@userwidgets/model"
|
|
2
3
|
import { Key } from "./Key"
|
|
3
4
|
import { Realm } from "./Realm"
|
|
4
5
|
|
|
5
|
-
export class Identity {
|
|
6
|
+
export class Identity<T extends Identity.Require = never> {
|
|
6
7
|
#realms: Realm[] | undefined
|
|
7
8
|
get realms(): Realm[] | undefined {
|
|
8
9
|
return (this.#realms ??= Identity.getRealms(this.key.permissions))
|
|
9
10
|
}
|
|
10
11
|
|
|
11
|
-
constructor(
|
|
12
|
+
constructor(
|
|
13
|
+
readonly key: Key,
|
|
14
|
+
readonly realm: T["realm"] extends true ? Realm : Realm | undefined,
|
|
15
|
+
readonly organization: T["organization"] extends true ? string : string | undefined
|
|
16
|
+
) {}
|
|
12
17
|
check(constraint: Key.Permissions | Key.Permissions[], realm?: Realm, organization?: string): boolean {
|
|
13
18
|
return Array.isArray(constraint)
|
|
14
19
|
? constraint.some(c => this.check(c, realm, organization))
|
|
@@ -25,32 +30,53 @@ export class Identity {
|
|
|
25
30
|
)
|
|
26
31
|
}
|
|
27
32
|
|
|
28
|
-
static async authenticate<T extends
|
|
33
|
+
static async authenticate<T extends Identity.Require = Record<string, never>>(
|
|
34
|
+
header: Identity.Header,
|
|
35
|
+
constraint: Key.Permissions | Key.Permissions[],
|
|
36
|
+
requires?: T,
|
|
37
|
+
verifier?: userwidgets.User.Key.Verifier<Key>,
|
|
38
|
+
output?: "undefined"
|
|
39
|
+
): Promise<Identity<T> | undefined>
|
|
40
|
+
static async authenticate<T extends Identity.Require = Record<string, never>>(
|
|
29
41
|
header: { authorization?: string | undefined; realm?: Realm; organization?: string },
|
|
30
42
|
constraint: Key.Permissions | Key.Permissions[],
|
|
31
43
|
requires?: T,
|
|
32
|
-
verifier
|
|
33
|
-
|
|
44
|
+
verifier?: userwidgets.User.Key.Verifier<Key>,
|
|
45
|
+
output?: "error"
|
|
46
|
+
): Promise<Identity<T> | gracely.Error>
|
|
47
|
+
static async authenticate<T extends Identity.Require = Record<string, never>>(
|
|
48
|
+
header: { authorization?: string | undefined; realm?: Realm; organization?: string },
|
|
49
|
+
constraint: Key.Permissions | Key.Permissions[],
|
|
50
|
+
requires?: T,
|
|
51
|
+
verifier: userwidgets.User.Key.Verifier<Key> = productionVerifier,
|
|
52
|
+
output: "error" | "undefined" = "undefined"
|
|
53
|
+
): Promise<Identity<T> | (gracely.Error | undefined)> {
|
|
54
|
+
let result: Identity<T> | gracely.Error | undefined
|
|
34
55
|
const authorization = header.authorization?.startsWith("Bearer ")
|
|
35
56
|
? header.authorization.replace("Bearer ", "")
|
|
36
57
|
: undefined
|
|
37
58
|
const key = await Identity.verify(authorization, verifier)
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
59
|
+
if (!key)
|
|
60
|
+
output !== "undefined" && (result = gracely.client.unauthorized())
|
|
61
|
+
else {
|
|
62
|
+
const realms = Identity.getRealms(key.permissions)
|
|
63
|
+
const identity = new Identity(
|
|
42
64
|
key,
|
|
43
65
|
(realms?.length == 1 ? realms[0] : header.realm) as Realm,
|
|
44
66
|
(key.organization ?? header.organization) as string
|
|
45
67
|
)
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
68
|
+
const requirement = (
|
|
69
|
+
value: Identity | undefined
|
|
70
|
+
): value is
|
|
71
|
+
| (keyof T extends keyof Identity ? Required<Pick<Identity, keyof T>> & Identity : Identity)
|
|
72
|
+
| undefined =>
|
|
73
|
+
(requires?.organization ? !!identity?.organization : true) &&
|
|
74
|
+
(requires?.realm ? Realm.type.is(identity?.realm) : true)
|
|
75
|
+
result =
|
|
76
|
+
(identity?.check(constraint) && requirement(identity) && identity) ||
|
|
77
|
+
(output === "undefined" ? undefined : gracely.client.forbidden())
|
|
78
|
+
}
|
|
79
|
+
return result
|
|
54
80
|
}
|
|
55
81
|
static async verify(
|
|
56
82
|
authorization: string | undefined,
|
|
@@ -68,6 +94,18 @@ export class Identity {
|
|
|
68
94
|
]
|
|
69
95
|
}
|
|
70
96
|
}
|
|
97
|
+
|
|
98
|
+
export namespace Identity {
|
|
99
|
+
export type Require = {
|
|
100
|
+
realm?: true
|
|
101
|
+
organization?: true
|
|
102
|
+
}
|
|
103
|
+
export interface Header {
|
|
104
|
+
authorization?: string | undefined
|
|
105
|
+
realm?: Realm
|
|
106
|
+
organization?: string
|
|
107
|
+
}
|
|
108
|
+
}
|
|
71
109
|
const publicKey =
|
|
72
110
|
"MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA2W8CD2kpfS4QIRV2/rgm4NVvsvJsYNMHtnIl9ADvO3A81hAmRKvOAPVoXICe6+EuZ47jGjGL7f48GEoQuITfBPv/MosCDj1YhJ56ILDynCSd8FlxDrhv8pl5IquST7tcL6Hc6m+vuvoTLrFQ5QqNxv0a5eDd/YTrWv7SUuRfBEhYd/wMysGynN3QauHqy5ceBCt1nv1MJLGlSzczMRK7wjy1zi2g9NCHZBOoo1HXOpi727Xh+YXHc9EP2TN0oOXyxykv45nkGIDI0Qek3/pfkavClBffc1sEqA+rUx7YqRN9KGYxwLMLug+NOOh3ptqjfobXbR5fx/sUWhvcjUMTE1JreTrWYbGmVnjd/SeYSClfmGhdTBUfqnZbaABv0ruTXva18qRhP4y143vHMk/k8HzbuROTKAzrtEeLIjgwUgDcnE+JwDqcb8tKSGV6i++TiTldlSBCRTT4dK2hpHJje80b2abqtrbCkxbJlT98UsAAoiq2eW1X6lYmCfiGCJPkfswibQ2tPAKKNe/2xuHPsjx4FuXGmV0dbzmCwSIQoApXqOvKzoNFi6AaKIjxfNmiEigLwKpNrw08H0lVZbq/9MMxI3TzMTZjY9QmBKVLSGy3Z6IJqZpyK22lv7whJcllG0Qw8tv8+7wmC8SR3+4jpuxuFGZ+69CW+otx+CPMJjcCAwEAAQ=="
|
|
73
111
|
const productionVerifier = userwidgets.User.Key.Verifier.create<Key>(publicKey)
|
package/Operation/Signer.ts
CHANGED
|
@@ -2,9 +2,11 @@ import { cryptly } from "cryptly"
|
|
|
2
2
|
import type { Operation } from "./index"
|
|
3
3
|
|
|
4
4
|
export class Signer {
|
|
5
|
-
private readonly signer
|
|
5
|
+
private readonly signer: cryptly.Signer
|
|
6
|
+
private constructor(private readonly keys: { public?: string; private?: string }) {
|
|
7
|
+
this.signer = cryptly.Signer.create("RSA", "SHA-256", this.keys.public, this.keys.private)
|
|
8
|
+
}
|
|
6
9
|
|
|
7
|
-
private constructor(private readonly keys: { public?: string; private?: string }) {}
|
|
8
10
|
async sign(operation: Operation & { previous: string }): Promise<string> {
|
|
9
11
|
return this.signer.sign(JSON.stringify(operation))
|
|
10
12
|
}
|
|
@@ -16,3 +18,4 @@ export class Signer {
|
|
|
16
18
|
return new Signer(keys)
|
|
17
19
|
}
|
|
18
20
|
}
|
|
21
|
+
export namespace Signer {}
|
package/Operation/index.ts
CHANGED
|
@@ -29,7 +29,7 @@ export namespace Operation {
|
|
|
29
29
|
})
|
|
30
30
|
return result
|
|
31
31
|
}
|
|
32
|
-
export
|
|
32
|
+
export import Signer = OperationSigner
|
|
33
33
|
export import Creatable = OperationCreatable
|
|
34
34
|
export import Changes = OperationChanges
|
|
35
35
|
export import Change = OperationChange
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Buffer.js","sourceRoot":"","sources":["../../../../Client/Accounts/Buffer.ts"],"names":[],"mappings":";;;AAKA,MAAa,MAAM;
|
|
1
|
+
{"version":3,"file":"Buffer.js","sourceRoot":"","sources":["../../../../Client/Accounts/Buffer.ts"],"names":[],"mappings":";;;AAKA,MAAa,MAAM;IACW;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IACpD,KAAK,CAAC,OAAO,CAAC,OAAe,EAAE,QAAwB,EAAE,MAAc;QACtE,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAc,YAAY,OAAO,aAAa,QAAQ,SAAS,EAAE,MAAM,CAAC,CAAA;IAC/F,CAAC;CACD;AALD,wBAKC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Counterparts.js","sourceRoot":"","sources":["../../../../Client/Accounts/Counterparts.ts"],"names":[],"mappings":";;;AAIA,MAAa,YAAY;
|
|
1
|
+
{"version":3,"file":"Counterparts.js","sourceRoot":"","sources":["../../../../Client/Accounts/Counterparts.ts"],"names":[],"mappings":";;;AAIA,MAAa,YAAY;IACK;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IACpD,KAAK,CAAC,OAAO,CAAC,OAAe,EAAE,IAAY,EAAE,OAAqB;QACjE,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAe,YAAY,OAAO,gBAAgB,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;IACzF,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,OAAe,EAAE,IAAY;QACzC,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAe,YAAY,OAAO,gBAAgB,IAAI,EAAE,CAAC,CAAA;IACnF,CAAC;CACD;AARD,oCAQC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"History.js","sourceRoot":"","sources":["../../../../Client/Accounts/History.ts"],"names":[],"mappings":";;;AAIA,MAAa,OAAO;
|
|
1
|
+
{"version":3,"file":"History.js","sourceRoot":"","sources":["../../../../Client/Accounts/History.ts"],"names":[],"mappings":";;;AAIA,MAAa,OAAO;IACU;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IACpD,KAAK,CAAC,IAAI,CAAC,OAAe;QACzB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAoB,YAAY,OAAO,UAAU,CAAC,CAAA;IACzE,CAAC;CACD;AALD,0BAKC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Rails.js","sourceRoot":"","sources":["../../../../Client/Accounts/Rails.ts"],"names":[],"mappings":";;;AAKA,MAAa,KAAK;
|
|
1
|
+
{"version":3,"file":"Rails.js","sourceRoot":"","sources":["../../../../Client/Accounts/Rails.ts"],"names":[],"mappings":";;;AAKA,MAAa,KAAK;IACY;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IACpD,KAAK,CAAC,MAAM,CAAC,OAAe,EAAE,QAAkB;QAC/C,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAO,YAAY,OAAO,OAAO,EAAE,QAAQ,CAAC,CAAA;IACpE,CAAC;CACD;AALD,sBAKC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Rules.js","sourceRoot":"","sources":["../../../../Client/Accounts/Rules.ts"],"names":[],"mappings":";;;AAIA,MAAa,KAAK;
|
|
1
|
+
{"version":3,"file":"Rules.js","sourceRoot":"","sources":["../../../../Client/Accounts/Rules.ts"],"names":[],"mappings":";;;AAIA,MAAa,KAAK;IACY;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IACpD,KAAK,CAAC,MAAM,CAAC,OAAe,EAAE,IAAU;QACvC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAO,YAAY,OAAO,OAAO,EAAE,IAAI,CAAC,CAAA;IAChE,CAAC;IACD,KAAK,CAAC,OAAO,CAAC,OAAe,EAAE,IAAU;QACxC,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAO,YAAY,OAAO,SAAS,IAAI,CAAC,IAAI,EAAE,EAAE,IAAI,CAAC,CAAA;IAC5E,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,OAAe,EAAE,IAAY;QACzC,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAO,YAAY,OAAO,SAAS,IAAI,EAAE,CAAC,CAAA;IACpE,CAAC;CACD;AAXD,sBAWC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Status.js","sourceRoot":"","sources":["../../../../Client/Accounts/Status.ts"],"names":[],"mappings":";;;AAIA,MAAa,MAAM;
|
|
1
|
+
{"version":3,"file":"Status.js","sourceRoot":"","sources":["../../../../Client/Accounts/Status.ts"],"names":[],"mappings":";;;AAIA,MAAa,MAAM;IACW;IAA7B,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;AALD,wBAKC"}
|
|
@@ -8,6 +8,13 @@ const Rails_1 = require("./Rails");
|
|
|
8
8
|
const Rules_1 = require("./Rules");
|
|
9
9
|
const Status_1 = require("./Status");
|
|
10
10
|
class Accounts {
|
|
11
|
+
client;
|
|
12
|
+
buffer;
|
|
13
|
+
Rails;
|
|
14
|
+
rules;
|
|
15
|
+
status;
|
|
16
|
+
counterparts;
|
|
17
|
+
history;
|
|
11
18
|
constructor(client) {
|
|
12
19
|
this.client = client;
|
|
13
20
|
this.buffer = new Buffer_1.Buffer(this.client);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Client/Accounts/index.ts"],"names":[],"mappings":";;;AAGA,qCAAiC;AACjC,iDAA6C;AAC7C,uCAAmC;AACnC,mCAA+B;AAC/B,mCAA+B;AAC/B,qCAAiC;AAEjC,MAAa,QAAQ;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Client/Accounts/index.ts"],"names":[],"mappings":";;;AAGA,qCAAiC;AACjC,iDAA6C;AAC7C,uCAAmC;AACnC,mCAA+B;AAC/B,mCAA+B;AAC/B,qCAAiC;AAEjC,MAAa,QAAQ;IAOS;IANpB,MAAM,CAAQ;IACd,KAAK,CAAO;IACZ,KAAK,CAAO;IACZ,MAAM,CAAQ;IACd,YAAY,CAAc;IAC1B,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,KAAK,GAAG,IAAI,aAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACnC,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,YAAY,GAAG,IAAI,2BAAY,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACjD,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;AA7BD,4BA6BC"}
|
package/dist/cjs/Client/Audit.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Audit.js","sourceRoot":"","sources":["../../../Client/Audit.ts"],"names":[],"mappings":";;;AAEA,+CAAmC;AAGnC,MAAa,KAAK;
|
|
1
|
+
{"version":3,"file":"Audit.js","sourceRoot":"","sources":["../../../Client/Audit.ts"],"names":[],"mappings":";;;AAEA,+CAAmC;AAGnC,MAAa,KAAK;IACY;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IACpD,KAAK,CAAC,IAAI,CACT,OAAsG;QAEtG,MAAM,OAAO,GAAG,OAAO,IAAI,mBAAI,CAAC,MAAM,CAAC,SAAS,CAAC,OAAO,CAAC,CAAA;QACzD,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CACrB,SAAS,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAG,GAAG,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE,GAAG,OAAO,CAAC,CAAC,CAAC,GAAG,GAAG,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAC1F,CAAA;IACF,CAAC;CACD;AAVD,sBAUC"}
|
package/dist/cjs/Client/Cards.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Cards.js","sourceRoot":"","sources":["../../../Client/Cards.ts"],"names":[],"mappings":";;;AAEA,+CAAmC;AAGnC,MAAa,KAAK;
|
|
1
|
+
{"version":3,"file":"Cards.js","sourceRoot":"","sources":["../../../Client/Cards.ts"],"names":[],"mappings":";;;AAEA,+CAAmC;AAGnC,MAAa,KAAK;IACY;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IAEpD,KAAK,CAAC,KAAK,CAAC,IAAY;QAEvB,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;QAEA,MAAM,MAAM,GACX,OAAO,EAAE,KAAK,IAAI,OAAO,EAAE,GAAG;YAC7B,CAAC,CAAC,UAAU,OAAO,EAAE,KAAK,QAAQ,OAAO,EAAE,GAAG,EAAE;YAChD,CAAC,CAAC,OAAO,EAAE,KAAK;gBAChB,CAAC,CAAC,UAAU,OAAO,EAAE,KAAK,EAAE;gBAC5B,CAAC,CAAC,OAAO,EAAE,GAAG;oBACd,CAAC,CAAC,QAAQ,OAAO,EAAE,GAAG,EAAE;oBACxB,CAAC,CAAC,EAAE,CAAA;QACN,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CACrB,QAAQ,MAAM,EAAE,EAChB,OAAO,IAAI,CAAC,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,OAAO,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAC7D,CAAA;IACF,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;IACD,KAAK,CAAC,UAAU,CACf,MAAmB,EACnB,KAAsB,EACtB,OAA6C;QAE7C,MAAM,OAAO,GAAG,mBAAI,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE,GAAG,OAAO,EAAE,GAAG,KAAK,EAAE,CAAC,CAAA;QAC/D,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CACrB,oBAAoB,MAAM,IAAI,OAAO,EAAE,CACvC,CAAA;IACF,CAAC;CACD;AA5CD,sBA4CC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Exchanges.js","sourceRoot":"","sources":["../../../Client/Exchanges.ts"],"names":[],"mappings":";;;AAKA,MAAa,SAAS;
|
|
1
|
+
{"version":3,"file":"Exchanges.js","sourceRoot":"","sources":["../../../Client/Exchanges.ts"],"names":[],"mappings":";;;AAKA,MAAa,SAAS;IACQ;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IACpD,KAAK,CAAC,KAAK,CAAC,QAAwB;QACnC,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAiB,wBAAwB,QAAQ,EAAE,CAAC,CAAA;IAC3E,CAAC;CACD;AALD,8BAKC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Labels.js","sourceRoot":"","sources":["../../../Client/Labels.ts"],"names":[],"mappings":";;;AAIA,MAAa,MAAM;
|
|
1
|
+
{"version":3,"file":"Labels.js","sourceRoot":"","sources":["../../../Client/Labels.ts"],"names":[],"mappings":";;;AAIA,MAAa,MAAM;IACW;IAA8B;IAA3D,YAA6B,MAAmB,EAAW,IAAgB;QAA9C,WAAM,GAAN,MAAM,CAAa;QAAW,SAAI,GAAJ,IAAI,CAAY;IAAG,CAAC;IAC/E,KAAK,CAAC,MAAM,CAAC,KAAY;QACxB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAQ,UAAU,IAAI,CAAC,IAAI,EAAE,EAAE,KAAK,CAAC,CAAA;IAC7D,CAAC;IACD,KAAK,CAAC,OAAO,CAAC,KAAY;QACzB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAQ,UAAU,IAAI,CAAC,IAAI,EAAE,EAAE,KAAK,CAAC,CAAA;IAC5D,CAAC;IACD,KAAK,CAAC,IAAI;QACT,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAU,UAAU,IAAI,CAAC,IAAI,EAAE,CAAC,CAAA;IACvD,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,IAAY;QACxB,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE,CAAC,CAAA;IACzD,CAAC;CACD;AAdD,wBAcC"}
|
package/dist/cjs/Client/Logs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logs.js","sourceRoot":"","sources":["../../../Client/Logs.ts"],"names":[],"mappings":";;;AAKA,MAAa,IAAI;
|
|
1
|
+
{"version":3,"file":"Logs.js","sourceRoot":"","sources":["../../../Client/Logs.ts"],"names":[],"mappings":";;;AAKA,MAAa,IAAI;IACa;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IACpD,KAAK,CAAC,IAAI,CAAC,OAKV;QACA,MAAM,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC;YAC5B,GAAG,CAAC,OAAO,EAAE,SAAS,IAAI,EAAE,CAAC;SAC7B,CAAC;aACA,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;aAC5B,IAAI,CAAC,GAAG,CAAC,CAAA;QACX,MAAM,IAAI,GAAG,OAAO,EAAE,UAAU,CAAC,CAAC,CAAC,QAAQ,OAAO,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,MAAM,CAAA;QACxE,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAA0C,IAAI,GAAG,CAAC,KAAK,IAAI,GAAG,GAAG,KAAK,CAAC,EAAE;YACpG,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;YACtD,GAAG,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SAC/D,CAAC,CAAA;IACH,CAAC;CACD;AAnBD,oBAmBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Operations.js","sourceRoot":"","sources":["../../../Client/Operations.ts"],"names":[],"mappings":";;;AAIA,MAAa,UAAU;
|
|
1
|
+
{"version":3,"file":"Operations.js","sourceRoot":"","sources":["../../../Client/Operations.ts"],"names":[],"mappings":";;;AAIA,MAAa,UAAU;IACO;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IACpD,KAAK,CAAC,IAAI,CAAC,OAMV;QACA,MAAM,MAAM,GACX,OAAO,EAAE,KAAK,IAAI,OAAO,EAAE,GAAG;YAC7B,CAAC,CAAC,UAAU,OAAO,EAAE,KAAK,QAAQ,OAAO,EAAE,GAAG,EAAE;YAChD,CAAC,CAAC,OAAO,EAAE,KAAK;gBAChB,CAAC,CAAC,UAAU,OAAO,EAAE,KAAK,EAAE;gBAC5B,CAAC,CAAC,OAAO,EAAE,GAAG;oBACd,CAAC,CAAC,QAAQ,OAAO,EAAE,GAAG,EAAE;oBACxB,CAAC,CAAC,EAAE,CAAA;QACN,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CACrB,aAAa,MAAM,EAAE,EACrB,OAAO,IAAI,CAAC,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,OAAO,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAC7D,CAAA;IACF,CAAC;CACD;AAtBD,gCAsBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Groups.js","sourceRoot":"","sources":["../../../../Client/Organizations/Groups.ts"],"names":[],"mappings":";;;AAIA,MAAa,MAAM;
|
|
1
|
+
{"version":3,"file":"Groups.js","sourceRoot":"","sources":["../../../../Client/Organizations/Groups.ts"],"names":[],"mappings":";;;AAIA,MAAa,MAAM;IACW;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IACpD,KAAK,CAAC,OAAO,CAAC,YAAoB,EAAE,MAAgB;QACnD,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAe,qBAAqB,EAAE,MAAM,EAAE;YACnE,YAAY;SACZ,CAAC,CAAA;IACH,CAAC;CACD;AAPD,wBAOC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Rules.js","sourceRoot":"","sources":["../../../../Client/Organizations/Rules.ts"],"names":[],"mappings":";;;AAIA,MAAa,KAAK;
|
|
1
|
+
{"version":3,"file":"Rules.js","sourceRoot":"","sources":["../../../../Client/Organizations/Rules.ts"],"names":[],"mappings":";;;AAIA,MAAa,KAAK;IACY;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IACpD,KAAK,CAAC,MAAM,CAAC,YAAoB,EAAE,IAAU;QAC5C,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAO,oBAAoB,EAAE,IAAI,EAAE;YACzD,YAAY;SACZ,CAAC,CAAA;IACH,CAAC;IACD,KAAK,CAAC,OAAO,CAAC,YAAoB,EAAE,IAAU;QAC7C,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAO,sBAAsB,IAAI,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE;YACrE,YAAY;SACZ,CAAC,CAAA;IACH,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,YAAoB,EAAE,IAAY;QAC9C,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAO,sBAAsB,IAAI,EAAE,EAAE;YAC7D,YAAY;SACZ,CAAC,CAAA;IACH,CAAC;CACD;AAjBD,sBAiBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Client/Organizations/index.ts"],"names":[],"mappings":";;;AAGA,qCAAiC;AACjC,mCAA+B;AAE/B,MAAa,aAAa;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Client/Organizations/index.ts"],"names":[],"mappings":";;;AAGA,qCAAiC;AACjC,mCAA+B;AAE/B,MAAa,aAAa;IAGI;IAFpB,KAAK,CAAO;IACZ,MAAM,CAAQ;IACvB,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;QAC/C,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;IACtC,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,OAGV;QACA,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAmD,eAAe,EAAE,OAAO,CAAC,CAAA;IACnG,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,YAA0B;QACtC,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAe,eAAe,EAAE,YAAY,CAAC,CAAA;IACrE,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,EAAU,EAAE,UAAmC;QAC3D,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,CAAe,iBAAiB,EAAE,EAAE,EAAE,UAAU,CAAC,CAAA;IAC1E,CAAC;CACD;AApBD,sCAoBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tpl.js","sourceRoot":"","sources":["../../../../Client/Processor/Tpl.ts"],"names":[],"mappings":";;;AAMA,MAAa,GAAG;
|
|
1
|
+
{"version":3,"file":"Tpl.js","sourceRoot":"","sources":["../../../../Client/Processor/Tpl.ts"],"names":[],"mappings":";;;AAMA,MAAa,GAAG;IACc;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IAEpD,KAAK,CAAC,YAAY,CACjB,KAAiB,EACjB,CAAC,KAAK,EAAE,GAAG,CAA0D,EACrE,MAAe,EACf,KAAc;QAEd,MAAM,MAAM,GACX,UAAU,KAAK,QAAQ,GAAG,EAAE,GAAG,GAAG,MAAM,CAAC,CAAC,CAAC,WAAW,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,UAAU,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE,CAAA;QAC5G,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,CAC3B,cAAc,KAAK,oBAAoB,MAAM,EAAE,CAC/C,CAAA;IACF,CAAC;CACD;AAfD,kBAeC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Client/Processor/index.ts"],"names":[],"mappings":";;;AACA,+BAA2B;AAE3B,MAAa,SAAS;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../Client/Processor/index.ts"],"names":[],"mappings":";;;AACA,+BAA2B;AAE3B,MAAa,SAAS;IAEQ;IADpB,GAAG,CAAK;IACjB,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;QAC/C,IAAI,CAAC,GAAG,GAAG,IAAI,SAAG,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;IAChC,CAAC;CACD;AALD,8BAKC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Reports.js","sourceRoot":"","sources":["../../../Client/Reports.ts"],"names":[],"mappings":";;;AAIA,MAAa,OAAO;
|
|
1
|
+
{"version":3,"file":"Reports.js","sourceRoot":"","sources":["../../../Client/Reports.ts"],"names":[],"mappings":";;;AAIA,MAAa,OAAO;IACU;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IACpD,KAAK,CAAC,SAAS,CAAC,KAAiB,EAAE,EAAU;QAC5C,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAS,cAAc,KAAK,SAAS,EAAE,UAAU,CAAC,CAAA;IACzE,CAAC;CACD;AALD,0BAKC"}
|
package/dist/cjs/Client/Rules.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Rules.js","sourceRoot":"","sources":["../../../Client/Rules.ts"],"names":[],"mappings":";;;AAIA,MAAa,KAAK;
|
|
1
|
+
{"version":3,"file":"Rules.js","sourceRoot":"","sources":["../../../Client/Rules.ts"],"names":[],"mappings":";;;AAIA,MAAa,KAAK;IACY;IAA7B,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IACpD,KAAK,CAAC,MAAM,CAAC,IAAU;QACtB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAO,OAAO,EAAE,IAAI,CAAC,CAAA;IAC7C,CAAC;IACD,KAAK,CAAC,IAAI;QACT,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAS,OAAO,CAAC,CAAA;IACxC,CAAC;IACD,KAAK,CAAC,OAAO,CAAC,IAAU;QACvB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAO,SAAS,IAAI,CAAC,IAAI,EAAE,EAAE,IAAI,CAAC,CAAA;IACzD,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,IAAY;QACxB,OAAO,IAAI,CAAC,MAAM,CAAC,MAAM,CAAO,SAAS,IAAI,EAAE,CAAC,CAAA;IACjD,CAAC;CACD;AAdD,sBAcC"}
|