Repository navigation
Commit 1f5edfa
authored
Read Amazon report files on the server and add finance tools (#1645)
* Read Amazon report files on the server and add finance tools
A REST tool can now follow a download link in its response (endpointMapping.download): fetched server-side through fetchOutbound (SSRF-guarded, no credentials, size caps), gunzipped, parsed as TSV/CSV/JSON and returned one page at a time. amazon_seller_download_report_document uses it.
Add amazon_seller_list_transactions, amazon_seller_get_finance_summary and amazon_seller_list_service_fee_events, since listFinancialEvents has no event-type filter.
The OpenAPI importer now reads Swagger 2.0 'in: body' parameters. Tools imported from Swagger 2.0 specs (Amazon SP-API) sent no body and no Content-Type, which Amazon answers with 400.
* Regenerate llms-full.txt for the new download section
* Cap decompressed report downloads at 32 MB1 parent 73cbbc5 commit 1f5edfa
12 files changed
Lines changed: 923 additions & 11 deletions
File tree
- docs
- packages/backend/src
- adapters
- intl
- connectors
- engines
- parsers
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
819 | 819 | | |
820 | 820 | | |
821 | 821 | | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
822 | 867 | | |
823 | 868 | | |
824 | 869 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| |||
0 commit comments