Commit Graph

34 Commits

Author SHA1 Message Date
Maik Marschner
c1b87a9e32 Fix bank letter script not working from the root directory like all other scripts. 2024-09-25 16:00:46 +02:00
Herrie
9ef50081ca
Merge branch 'master' into herrie/additionalConfigItems 2021-03-30 11:03:35 +02:00
Herman van Hazendonk
d192e61d29 Add additional bank configuration items
For prettier generation of bank letters and other bits used in examples:

Expand the bank config to include:

* "bankFullName" used in the INI letter's which are sent to the bank.
* "bankShortName" used in the filename for the generated letters and in other places if needed.
* "languageCode" used for determining which template to use for the bank (currently "en" and "de" are supported).
* "storageLocation" can be used to specify a local or network path where to store downloaded files.

* In bankLetter.js: Use the current script folder as output for the bank's letter in HTML format instead of the user/os homedir folder.

Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2021-03-30 11:02:36 +02:00
Dimitar Nanov
13f6d03cb2
Merge pull request #51 from Herrie82/herrie/multibank
Examples: Improve config implementation for multibank
2021-03-30 08:53:35 +03:00
Dimitar Nanov
57a15f0722
Merge pull request #49 from Herrie82/herrie/gazprumm
Add support for Bank GPB AO (Gazprombank Russia)
2021-03-29 09:13:59 +03:00
Herman van Hazendonk
de92265c95 Examples: Improve config implementation for multibank.
When using the software with multiple banks, the current config file solution wasn't very flexible. We had some different local implementation at our end. In order to use upstream software directly without any changes, suggesting to merge these changes. For me locally it would mean I can get rid of a lot of local example code which are currently bank and even entity specific and can be made more generic.
This will also allow multiple EBICS connections with the same bank for different entities as well, in case this is needed. In our case we have multiple EBICS connections with the same bank.

Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2021-03-26 19:57:54 +01:00
Herman van Hazendonk
8af3cb50c5 Add sample code for zipped CAMT statements
Some banks provide zipped CAMT statements, add some example code on how to write these to a file.

Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2021-03-24 22:14:21 +01:00
Herman van Hazendonk
a628e00b9b Add support for Bank GPB AO (Gazprombank Russia)
Add custom order types (G02, G52, G53, G1R and G1V) and examples for Bank GPB AO (Gazprombank Russia).

Pain.001.001.06 (RUB) - G1R
Pain.001.001.06 (FCY/FX/RLS) - G1V
Pain.002.001.06 - G02
Camt.052.001.05 - G52
Camt.053.001.05 - G53

Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2021-03-24 22:13:18 +01:00
nanov
7053a03286 chore: update deps 2020-03-06 06:47:56 +02:00
nanov
be76a52ae5 chore: adjust samples 2020-03-06 06:43:17 +02:00
nanov
4b0bf0eba6 fix(examples): orders ref 2019-12-30 11:36:11 +02:00
nanov
e060863356 fix keyStoragePath 2019-12-30 11:28:33 +02:00
nanov
fb464078dc fix(examples): bankLetter setup 2019-12-30 11:10:48 +02:00
nanov
3d4c94dff8 fix(examples): serverAddress -> url 2019-12-30 11:07:24 +02:00
nanov
e98a1f8cc3 fix: loadConfig in exmaples 2019-12-30 09:37:19 +02:00
nanov
f6dfdf4c40 feat: generalize examples 2019-12-18 16:48:05 +02:00
Dimitar Nanov
fcbf4ca165
Merge pull request #28 from Herrie82/herrie/config
examples: Externalize configuration values and allow for multiple env…
2019-12-18 10:37:02 +02:00
Herrie
d38460011c Add XG1 order type and example
XG1 order type is used for ISO XML 20022 CGI (Common Global Implementation) which should be a unified format that works within a country (irrespective of bank).

Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2019-11-29 14:38:46 +01:00
Herrie
c3d3decd6a examples: Externalize configuration values and allow for multiple environments
In order to more easily manage testing of various order types as well as production, development etc. environments, externalize this config values.

Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2019-11-29 13:12:15 +01:00
Dimitar Nanov
6d882f56fe
Merge pull request #26 from Herrie82/herrie/DKI
* Add DKI, C52, C53 order types.
* Some examples for STA, VMK, C52, C53, DKI and HKD order types.
* Rename example for HBT into HTD.
2019-11-26 18:15:32 +02:00
Herrie
f8c9cc7ba8 Add C52/C53 order types and examples
Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2019-11-25 16:22:39 +01:00
Herrie
0c08d534ff Add examples for MT940 and MT942
Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2019-11-25 16:22:39 +01:00
Herrie
ad7d55ce7c Add example for HKD order type
Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2019-11-25 16:20:59 +01:00
Herrie
c15e19d22f Rename send-hbt-order.js to send-htd-order.js
To reflect the name of the order type correctly.

Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2019-11-25 16:20:59 +01:00
Herrie
d2473bb81d Add DKI order type
To download Exchange rate files and fix syntax error.

Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2019-11-25 16:20:59 +01:00
Dimitar Nanov
ea52c71fb2
Merge pull request #24 from Herrie82/herrie/english
feat: Add English template & flexible generation
2019-11-19 19:46:46 +02:00
Herrie
95403cbe6f Bank Letter: Add English template & flexible generation
Allow for both German (de) and English (en) initialization letters.

Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2019-11-19 16:57:13 +01:00
Herman van Hazendonk
0b9d93f745 Various fixes for spelling
Various minor spelling mistake fixes.

Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2019-11-19 14:48:26 +01:00
Yago Perez
eb9fbf5834
Change HBT order text 2019-10-03 00:10:52 +02:00
Yago Perez
166c61aec4
examples/send-hbt-order.js 2019-10-02 23:58:37 +02:00
Yago Perez
5a63e19aab
examples/save-bank-kesy.js 2019-10-02 23:58:35 +02:00
Yago Perez
9e6c318372
keys -> passphrase 2019-10-02 23:58:33 +02:00
Yago Perez
ce6e58b3f3
examples/bankLetter.js 2019-10-02 23:58:29 +02:00
Yago Perez
7dad7c8787
initialize.js 2019-10-02 23:56:51 +02:00