@f-o-t/ofx 2.4.2 → 2.4.5
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/dist/extractors.d.ts +10 -0
- package/dist/extractors.d.ts.map +1 -0
- package/dist/generator.d.ts +147 -0
- package/dist/generator.d.ts.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1260 -0
- package/dist/index.js.map +15 -0
- package/dist/parser.d.ts +26 -0
- package/dist/parser.d.ts.map +1 -0
- package/dist/schemas.d.ts +1626 -0
- package/dist/schemas.d.ts.map +1 -0
- package/dist/stream.d.ts +106 -0
- package/dist/stream.d.ts.map +1 -0
- package/dist/utils.d.ts +18 -0
- package/dist/utils.d.ts.map +1 -0
- package/package.json +34 -33
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,UAAU,YAAY;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IAC3C,MAAM,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,QAAA,MAAM,oBAAoB;;;;;;;iBAOxB,CAAC;AAEH,KAAK,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAM3D,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,cAAc,CAW/D;AAGD,wBAAgB,aAAa,CAAC,GAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAI5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,eAAe;;;;;;;;;;iBAU1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAG5B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
|
package/dist/stream.d.ts
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { type OFXBalance, type OFXBankAccount, type OFXCreditCardAccount, type OFXHeader, type OFXTransaction } from "./schemas";
|
|
2
|
+
export interface StreamOptions {
|
|
3
|
+
encoding?: string;
|
|
4
|
+
}
|
|
5
|
+
export type StreamEvent = {
|
|
6
|
+
type: "header";
|
|
7
|
+
data: OFXHeader;
|
|
8
|
+
} | {
|
|
9
|
+
type: "transaction";
|
|
10
|
+
data: OFXTransaction;
|
|
11
|
+
} | {
|
|
12
|
+
type: "account";
|
|
13
|
+
data: OFXBankAccount | OFXCreditCardAccount;
|
|
14
|
+
} | {
|
|
15
|
+
type: "balance";
|
|
16
|
+
data: {
|
|
17
|
+
ledger?: OFXBalance;
|
|
18
|
+
available?: OFXBalance;
|
|
19
|
+
};
|
|
20
|
+
} | {
|
|
21
|
+
type: "complete";
|
|
22
|
+
transactionCount: number;
|
|
23
|
+
};
|
|
24
|
+
export interface BatchFileInput {
|
|
25
|
+
filename: string;
|
|
26
|
+
buffer: Uint8Array;
|
|
27
|
+
}
|
|
28
|
+
export type BatchStreamEvent = {
|
|
29
|
+
type: "file_start";
|
|
30
|
+
fileIndex: number;
|
|
31
|
+
filename: string;
|
|
32
|
+
} | {
|
|
33
|
+
type: "header";
|
|
34
|
+
fileIndex: number;
|
|
35
|
+
data: OFXHeader;
|
|
36
|
+
} | {
|
|
37
|
+
type: "transaction";
|
|
38
|
+
fileIndex: number;
|
|
39
|
+
data: OFXTransaction;
|
|
40
|
+
} | {
|
|
41
|
+
type: "account";
|
|
42
|
+
fileIndex: number;
|
|
43
|
+
data: OFXBankAccount | OFXCreditCardAccount;
|
|
44
|
+
} | {
|
|
45
|
+
type: "balance";
|
|
46
|
+
fileIndex: number;
|
|
47
|
+
data: {
|
|
48
|
+
ledger?: OFXBalance;
|
|
49
|
+
available?: OFXBalance;
|
|
50
|
+
};
|
|
51
|
+
} | {
|
|
52
|
+
type: "file_complete";
|
|
53
|
+
fileIndex: number;
|
|
54
|
+
filename: string;
|
|
55
|
+
transactionCount: number;
|
|
56
|
+
} | {
|
|
57
|
+
type: "file_error";
|
|
58
|
+
fileIndex: number;
|
|
59
|
+
filename: string;
|
|
60
|
+
error: string;
|
|
61
|
+
} | {
|
|
62
|
+
type: "batch_complete";
|
|
63
|
+
totalFiles: number;
|
|
64
|
+
totalTransactions: number;
|
|
65
|
+
errorCount: number;
|
|
66
|
+
};
|
|
67
|
+
export interface BatchParsedFile {
|
|
68
|
+
fileIndex: number;
|
|
69
|
+
filename: string;
|
|
70
|
+
header?: OFXHeader;
|
|
71
|
+
transactions: OFXTransaction[];
|
|
72
|
+
accounts: (OFXBankAccount | OFXCreditCardAccount)[];
|
|
73
|
+
balances: {
|
|
74
|
+
ledger?: OFXBalance;
|
|
75
|
+
available?: OFXBalance;
|
|
76
|
+
}[];
|
|
77
|
+
error?: string;
|
|
78
|
+
}
|
|
79
|
+
export declare function parseStream(input: ReadableStream<Uint8Array> | AsyncIterable<string>, options?: StreamOptions): AsyncGenerator<StreamEvent>;
|
|
80
|
+
export declare function parseStreamToArray(input: ReadableStream<Uint8Array> | AsyncIterable<string>, options?: StreamOptions): Promise<{
|
|
81
|
+
header?: OFXHeader;
|
|
82
|
+
transactions: OFXTransaction[];
|
|
83
|
+
accounts: (OFXBankAccount | OFXCreditCardAccount)[];
|
|
84
|
+
balances: {
|
|
85
|
+
ledger?: OFXBalance;
|
|
86
|
+
available?: OFXBalance;
|
|
87
|
+
}[];
|
|
88
|
+
}>;
|
|
89
|
+
/**
|
|
90
|
+
* Streaming batch parser - processes files sequentially, yielding events.
|
|
91
|
+
* Yields control between files for UI responsiveness.
|
|
92
|
+
*
|
|
93
|
+
* @param files - Array of files with filename and buffer
|
|
94
|
+
* @param options - Stream options (encoding)
|
|
95
|
+
* @yields BatchStreamEvent for each file start, transaction, completion, or error
|
|
96
|
+
*/
|
|
97
|
+
export declare function parseBatchStream(files: BatchFileInput[], options?: StreamOptions): AsyncGenerator<BatchStreamEvent>;
|
|
98
|
+
/**
|
|
99
|
+
* Convenience function that collects streaming batch results into arrays.
|
|
100
|
+
*
|
|
101
|
+
* @param files - Array of files with filename and buffer
|
|
102
|
+
* @param options - Stream options (encoding)
|
|
103
|
+
* @returns Array of parsed file results
|
|
104
|
+
*/
|
|
105
|
+
export declare function parseBatchStreamToArray(files: BatchFileInput[], options?: StreamOptions): Promise<BatchParsedFile[]>;
|
|
106
|
+
//# sourceMappingURL=stream.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stream.d.ts","sourceRoot":"","sources":["../src/stream.ts"],"names":[],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AC,EAAE,aAAa,GACvB,OAAO,CAAC;IACR,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,YAAY,EAAE,cAAc,EAAE,CAAC;IAC/B,QAAQ,EAAE,CAAC,cAAc,GAAG,oBAAoB,CAAC,EAAE,CAAC;IACpD,QAAQ,EAAE;QAAE,MAAM,CAAC,EAAE,UAAU,CAAC;QAAC,SAAS,CAAC,EAAE,UAAU,CAAA;KAAE,EAAE,CAAC;CAC9D,CAAC,CA8BD;AAiBD;;;;;;;GAOG;AACH,wBAAuB,gBAAgB,CACpC,KAAK,EAAE,cAAc,EAAE,EACvB,OAAO,CAAC,EAAE,aAAa,GACvB,cAAc,CAAC,gBAAgB,CAAC,CAmElC;AAED;;;;;;GAMG;AACH,wBAAsB,uBAAuB,CAC1C,KAAK,EAAE,cAAc,EAAE,EACvB,OAAO,CAAC,EAAE,aAAa,GACvB,OAAO,CAAC,eAAe,EAAE,CAAC,CAwC5B"}
|
package/dist/utils.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const toInt: (val: string) => number;
|
|
2
|
+
export declare const toFloat: (val: string) => number;
|
|
3
|
+
export declare const toArray: <T>(value: T | T[]) => T[];
|
|
4
|
+
export declare const ENTITY_MAP: Record<string, string>;
|
|
5
|
+
export declare const ENTITY_REGEX: RegExp;
|
|
6
|
+
export declare function decodeEntities(text: string): string;
|
|
7
|
+
export declare const pad: (n: number, width?: number) => string;
|
|
8
|
+
export declare function escapeOfxText(text: string): string;
|
|
9
|
+
/**
|
|
10
|
+
* Format amount for OFX output.
|
|
11
|
+
* Uses string-based formatting to avoid floating-point precision issues.
|
|
12
|
+
*/
|
|
13
|
+
export declare function formatAmount(amount: number): string;
|
|
14
|
+
export declare function formatOfxDate(date: Date, timezone?: {
|
|
15
|
+
offset: number;
|
|
16
|
+
name: string;
|
|
17
|
+
}): string;
|
|
18
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"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
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
2
|
+
"name": "@f-o-t/ofx",
|
|
3
|
+
"version": "2.4.5",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"files": [
|
|
6
|
+
"dist"
|
|
7
|
+
],
|
|
8
|
+
"main": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"default": "./dist/index.js"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "bun x --bun fot build",
|
|
18
|
+
"test": "bun x --bun fot test",
|
|
19
|
+
"lint": "bun x --bun fot lint",
|
|
20
|
+
"format": "bun x --bun fot format",
|
|
21
|
+
"typecheck": "bun x --bun fot typecheck"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"zod": "^4.3.6"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@f-o-t/cli": "^1.0.0",
|
|
28
|
+
"@f-o-t/config": "^1.0.0",
|
|
29
|
+
"@types/bun": "latest"
|
|
30
|
+
},
|
|
31
|
+
"repository": {
|
|
32
|
+
"type": "git",
|
|
33
|
+
"url": "https://github.com/F-O-T/libraries.git",
|
|
34
|
+
"directory": "libraries/ofx"
|
|
35
|
+
}
|
|
35
36
|
}
|