@fayz-ai/plugin-financial 0.25.10 → 0.26.1

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.
@@ -0,0 +1,26 @@
1
+ import React from 'react';
2
+ import type { ImportedStatementLine } from '@fayz-ai/financial/domain/reconciliation';
3
+ import type { FinancialDataProvider } from '@fayz-ai/financial/data/provider';
4
+ interface Group {
5
+ key: string;
6
+ direction: 'credit' | 'debit';
7
+ label: string;
8
+ document: string | null;
9
+ lines: ImportedStatementLine[];
10
+ total: number;
11
+ }
12
+ /** "PIX TRANSF JUERG H23/10" and "PIX TRANSF JUERG H05/09" are one shape. */
13
+ export declare function descriptionShape(description: string): string;
14
+ export declare function groupLines(lines: ImportedStatementLine[]): Group[];
15
+ export declare function BatchClassifyModal({ provider, bankAccountId, dateRange, onClose, onDone }: {
16
+ provider: FinancialDataProvider;
17
+ bankAccountId: string;
18
+ dateRange: {
19
+ from?: string;
20
+ to?: string;
21
+ };
22
+ onClose: () => void;
23
+ onDone: () => void;
24
+ }): React.JSX.Element;
25
+ export {};
26
+ //# sourceMappingURL=BatchClassify.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BatchClassify.d.ts","sourceRoot":"","sources":["../../src/components/BatchClassify.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAA;AAS3D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAA;AACrF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAA;AAgB7E,UAAU,KAAK;IACb,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,QAAQ,GAAG,OAAO,CAAA;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,KAAK,EAAE,qBAAqB,EAAE,CAAA;IAC9B,KAAK,EAAE,MAAM,CAAA;CACd;AAUD,6EAA6E;AAC7E,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAQ5D;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,qBAAqB,EAAE,GAAG,KAAK,EAAE,CAelE;AAeD,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,aAAa,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE;IAC1F,QAAQ,EAAE,qBAAqB,CAAA;IAC/B,aAAa,EAAE,MAAM,CAAA;IACrB,SAAS,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,EAAE,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;IACzC,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,MAAM,EAAE,MAAM,IAAI,CAAA;CACnB,qBAgMA"}
package/dist/index.js CHANGED
@@ -5655,7 +5655,7 @@ function createFinancialPlugin(options) {
5655
5655
  locales: financialLocales
5656
5656
  };
5657
5657
  }
5658
- var FinancialPage = React5__default.lazy(() => import('./FinancialPage-P3NTK76C.js').then((m) => ({ default: m.FinancialPage })));
5658
+ var FinancialPage = React5__default.lazy(() => import('./FinancialPage-3JOQUJ6B.js').then((m) => ({ default: m.FinancialPage })));
5659
5659
  var FinancialGeneralSettings = lazyComponent(() => import('./FinancialGeneralSettings-WXJOCJPZ.js').then((m) => m.FinancialGeneralSettings));
5660
5660
  var CommissionRulesView = lazyComponent(() => import('./CommissionRulesView-2RW4ZCDT.js').then((m) => m.CommissionRulesView));
5661
5661
  var PersonStatementWidget = lazyComponent(() => import('./PersonStatementWidget-ULXXXYZ4.js').then((m) => m.PersonStatementWidget));
@@ -1 +1 @@
1
- {"version":3,"file":"ReconciliationView.d.ts","sourceRoot":"","sources":["../../src/views/ReconciliationView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAA;AAwIxE,wBAAgB,kBAAkB,sBAihBjC"}
1
+ {"version":3,"file":"ReconciliationView.d.ts","sourceRoot":"","sources":["../../src/views/ReconciliationView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAA;AAyIxE,wBAAgB,kBAAkB,sBAqhBjC"}
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "status": "beta",
5
5
  "dependencies": []
6
6
  },
7
- "version": "0.25.10",
7
+ "version": "0.26.1",
8
8
  "description": "Fayz SDK — plugin-financial plugin",
9
9
  "type": "module",
10
10
  "sideEffects": false,
@@ -38,11 +38,11 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@tanstack/react-table": "^8.20.0",
41
- "@fayz-ai/admin": "^0.63.0",
41
+ "@fayz-ai/admin": "^0.66.0",
42
42
  "@fayz-ai/contracts": "^0.4.0",
43
- "@fayz-ai/core": "^0.63.0",
44
- "@fayz-ai/financial": "^0.1.11",
45
- "@fayz-ai/ui": "^0.63.0"
43
+ "@fayz-ai/core": "^0.66.0",
44
+ "@fayz-ai/financial": "^0.1.12",
45
+ "@fayz-ai/ui": "^0.66.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@types/node": "^20.0.0",