@develit-services/bank 0.0.8 → 0.0.10

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.
@@ -66,423 +66,6 @@ const getBatchesInputSchema = zod.z.object({
66
66
  offset: zod.z.number().min(0).optional().default(0)
67
67
  });
68
68
 
69
- const monthAgo = new Date(
70
- Date.now() - 30 * 24 * 60 * 60 * 1e3
71
- // 30 days ago
72
- );
73
- const stagingAccounts = [
74
- {
75
- connectorKey: "MOCK_COBS",
76
- id: "staging-czk",
77
- identification: {
78
- number: "1234567890",
79
- bankCode: "5051",
80
- iban: "CZ0350510000000000000449",
81
- holderName: "Devizov\xE1 Burza a.s."
82
- },
83
- fallbackLastSync: monthAgo,
84
- currency: "CZK",
85
- production: false
86
- },
87
- {
88
- connectorKey: "MOCK_COBS",
89
- id: "staging-eur",
90
- identification: {
91
- number: "2345678901",
92
- bankCode: "5051",
93
- iban: "CZ0750510000000000000668",
94
- holderName: "Devizov\xE1 Burza a.s."
95
- },
96
- fallbackLastSync: monthAgo,
97
- currency: "EUR",
98
- production: false
99
- },
100
- {
101
- connectorKey: "FIO",
102
- id: "kleinpetr-test",
103
- identification: {
104
- number: "2502130437",
105
- bankCode: "2010",
106
- iban: "CZ8520100000002502130437",
107
- holderName: "Petr Klein"
108
- },
109
- fallbackLastSync: monthAgo,
110
- currency: "CZK",
111
- production: true
112
- },
113
- {
114
- connectorKey: "MOCK",
115
- id: "id-test",
116
- identification: {
117
- number: "777777777",
118
- bankCode: "0800",
119
- iban: "PL0000000000002444430437",
120
- holderName: "Test Test"
121
- },
122
- fallbackLastSync: monthAgo,
123
- currency: "PLN",
124
- production: false
125
- }
126
- // {
127
- // connectorKey: 'MOCK_COBS',
128
- // id: 'staging-usd',
129
- // identification: {
130
- // iban: 'CZ3456789012345678901234',
131
- // accountNumberWithBankCode: '3456789012/3456',
132
- // },
133
- // currency: 'USD',
134
- // bankCode: '0800',
135
- // accountNumber: '3456789012',
136
- // production: false,
137
- // },
138
- ];
139
- const productionAccounts = [
140
- // Banka CREDITAS (2250)
141
- {
142
- connectorKey: "CREDITAS",
143
- id: "2250-CZK",
144
- identification: {
145
- number: "100602391",
146
- bankCode: "2250",
147
- iban: "CZ5122500000000100602391",
148
- holderName: "Devizov\xE1 Burza a.s."
149
- },
150
- fallbackLastSync: monthAgo,
151
- currency: "CZK",
152
- production: true
153
- },
154
- {
155
- connectorKey: "CREDITAS",
156
- id: "2250-EUR",
157
- identification: {
158
- number: "100602404",
159
- bankCode: "2250",
160
- iban: "CZ8822500000000100602404",
161
- holderName: "Devizov\xE1 Burza a.s."
162
- },
163
- fallbackLastSync: monthAgo,
164
- currency: "EUR",
165
- production: true
166
- },
167
- {
168
- connectorKey: "CREDITAS",
169
- id: "2250-USD",
170
- identification: {
171
- number: "100602412",
172
- bankCode: "2250",
173
- iban: "CZ6622500000000100602412",
174
- holderName: "Devizov\xE1 Burza a.s."
175
- },
176
- fallbackLastSync: monthAgo,
177
- currency: "USD",
178
- production: true
179
- },
180
- {
181
- connectorKey: "CREDITAS",
182
- id: "2250-GBP",
183
- identification: {
184
- number: "100602420",
185
- bankCode: "2250",
186
- iban: "CZ4422500000000100602420",
187
- holderName: "Devizov\xE1 Burza a.s."
188
- },
189
- fallbackLastSync: monthAgo,
190
- currency: "GBP",
191
- production: true
192
- },
193
- {
194
- connectorKey: "CREDITAS",
195
- id: "2250-CHF",
196
- identification: {
197
- number: "100602439",
198
- bankCode: "2250",
199
- iban: "CZ1622500000000100602439",
200
- holderName: "Devizov\xE1 Burza a.s."
201
- },
202
- fallbackLastSync: monthAgo,
203
- currency: "CHF",
204
- production: true
205
- },
206
- {
207
- connectorKey: "CREDITAS",
208
- id: "2250-PLN",
209
- identification: {
210
- number: "100602447",
211
- bankCode: "2250",
212
- iban: "CZ9122500000000100602447",
213
- holderName: "Devizov\xE1 Burza a.s."
214
- },
215
- fallbackLastSync: monthAgo,
216
- currency: "PLN",
217
- production: true
218
- },
219
- // Fio banka (2010)
220
- {
221
- connectorKey: "FINBRICKS",
222
- id: "2010-CZK",
223
- identification: {
224
- number: "2500845869",
225
- bankCode: "2010",
226
- iban: "CZ0420100000002500845869",
227
- holderName: "Devizov\xE1 Burza a.s."
228
- },
229
- fallbackLastSync: monthAgo,
230
- currency: "CZK",
231
- production: true
232
- },
233
- {
234
- connectorKey: "FINBRICKS",
235
- id: "2010-EUR",
236
- identification: {
237
- number: "2600884128",
238
- bankCode: "2010",
239
- iban: "CZ0820100000002600884128",
240
- holderName: "Devizov\xE1 Burza a.s."
241
- },
242
- fallbackLastSync: monthAgo,
243
- currency: "EUR",
244
- production: true
245
- },
246
- {
247
- connectorKey: "FINBRICKS",
248
- id: "2010-USD",
249
- identification: {
250
- number: "2700884133",
251
- bankCode: "2010",
252
- iban: "CZ1420100000002700884133",
253
- holderName: "Devizov\xE1 Burza a.s."
254
- },
255
- fallbackLastSync: monthAgo,
256
- currency: "USD",
257
- production: true
258
- },
259
- {
260
- connectorKey: "FINBRICKS",
261
- id: "2010-CHF",
262
- identification: {
263
- number: "2401098351",
264
- bankCode: "2010",
265
- iban: "CZ0920100000002401098351",
266
- holderName: "Devizov\xE1 Burza a.s."
267
- },
268
- fallbackLastSync: monthAgo,
269
- currency: "CHF",
270
- production: true
271
- },
272
- {
273
- connectorKey: "FINBRICKS",
274
- id: "2010-GBP",
275
- identification: {
276
- number: "2400884131",
277
- bankCode: "2010",
278
- iban: "CZ3320100000002400884131",
279
- holderName: "Devizov\xE1 Burza a.s."
280
- },
281
- fallbackLastSync: monthAgo,
282
- currency: "GBP",
283
- production: true
284
- },
285
- {
286
- connectorKey: "FINBRICKS",
287
- id: "2010-PLN",
288
- identification: {
289
- number: "2701098353",
290
- bankCode: "2010",
291
- iban: "CZ8720100000002701098353",
292
- holderName: "Devizov\xE1 Burza a.s."
293
- },
294
- fallbackLastSync: monthAgo,
295
- currency: "PLN",
296
- production: true
297
- },
298
- {
299
- connectorKey: "FINBRICKS",
300
- id: "2010-CAD",
301
- identification: {
302
- number: "2701478102",
303
- bankCode: "2010",
304
- iban: "CZ5520100000002701478102",
305
- holderName: "Devizov\xE1 Burza a.s."
306
- },
307
- fallbackLastSync: monthAgo,
308
- currency: "CAD",
309
- production: true
310
- },
311
- // Komerční banka (0100)
312
- {
313
- connectorKey: "FINBRICKS",
314
- id: "0100-CZK",
315
- identification: {
316
- number: "115-1483630297",
317
- bankCode: "0100",
318
- iban: "CZ5901000001151483630297",
319
- holderName: "Devizov\xE1 Burza a.s."
320
- },
321
- fallbackLastSync: monthAgo,
322
- currency: "CZK",
323
- production: true
324
- },
325
- {
326
- connectorKey: "FINBRICKS",
327
- id: "0100-EUR",
328
- identification: {
329
- number: "115-1484940297",
330
- bankCode: "0100",
331
- iban: "CZ4201000001151484940297",
332
- holderName: "Devizov\xE1 Burza a.s."
333
- },
334
- fallbackLastSync: monthAgo,
335
- currency: "EUR",
336
- production: true
337
- },
338
- {
339
- connectorKey: "FINBRICKS",
340
- id: "0100-USD",
341
- identification: {
342
- number: "115-1483960237",
343
- bankCode: "0100",
344
- iban: "CZ6201000001151483960237",
345
- holderName: "Devizov\xE1 Burza a.s."
346
- },
347
- fallbackLastSync: monthAgo,
348
- currency: "USD",
349
- production: true
350
- },
351
- {
352
- connectorKey: "FINBRICKS",
353
- id: "0100-PLN",
354
- identification: {
355
- number: "115-6674290267",
356
- bankCode: "0100",
357
- iban: "CZ3501000001156674290267",
358
- holderName: "Devizov\xE1 Burza a.s."
359
- },
360
- fallbackLastSync: monthAgo,
361
- currency: "PLN",
362
- production: true
363
- },
364
- {
365
- connectorKey: "FINBRICKS",
366
- id: "0100-SEK",
367
- identification: {
368
- number: "115-9578110207",
369
- bankCode: "0100",
370
- iban: "CZ2401000001159578110207",
371
- holderName: "Devizov\xE1 Burza a.s."
372
- },
373
- fallbackLastSync: monthAgo,
374
- currency: "SEK",
375
- production: true
376
- },
377
- // Česká spořitelna (0800)
378
- {
379
- connectorKey: "ERSTE",
380
- id: "0800-CZK",
381
- identification: {
382
- number: "4413926379",
383
- bankCode: "0800",
384
- iban: "CZ7908000000004413926379",
385
- holderName: "Devizov\xE1 Burza a.s."
386
- },
387
- fallbackLastSync: monthAgo,
388
- currency: "CZK",
389
- production: true
390
- },
391
- {
392
- connectorKey: "ERSTE",
393
- id: "0800-EUR",
394
- identification: {
395
- number: "1966646293",
396
- bankCode: "0800",
397
- iban: "CZ2308000000001966646293",
398
- holderName: "Devizov\xE1 Burza a.s."
399
- },
400
- fallbackLastSync: monthAgo,
401
- currency: "EUR",
402
- production: true
403
- },
404
- {
405
- connectorKey: "ERSTE",
406
- id: "0800-USD",
407
- identification: {
408
- number: "1978982243",
409
- bankCode: "0800",
410
- iban: "CZ1908000000001978982243",
411
- holderName: "Devizov\xE1 Burza a.s."
412
- },
413
- fallbackLastSync: monthAgo,
414
- currency: "USD",
415
- production: true
416
- },
417
- {
418
- connectorKey: "ERSTE",
419
- id: "0800-HUF",
420
- identification: {
421
- number: "13461252",
422
- bankCode: "0800",
423
- iban: "CZ1908000000000013461252",
424
- holderName: "Devizov\xE1 Burza a.s."
425
- },
426
- fallbackLastSync: monthAgo,
427
- currency: "HUF",
428
- production: true
429
- },
430
- // MONETA Money Bank (0600)
431
- {
432
- connectorKey: "FINBRICKS",
433
- id: "0600-CZK",
434
- identification: {
435
- number: "224252186",
436
- bankCode: "0600",
437
- iban: "CZ5906000000000224252186",
438
- holderName: "Devizov\xE1 Burza a.s."
439
- },
440
- fallbackLastSync: monthAgo,
441
- currency: "CZK",
442
- production: true
443
- },
444
- {
445
- connectorKey: "FINBRICKS",
446
- id: "0600-EUR",
447
- identification: {
448
- number: "224252231",
449
- bankCode: "0600",
450
- iban: "CZ0806000000000224252231",
451
- holderName: "Devizov\xE1 Burza a.s."
452
- },
453
- fallbackLastSync: monthAgo,
454
- currency: "EUR",
455
- production: true
456
- },
457
- {
458
- connectorKey: "FINBRICKS",
459
- id: "0600-USD",
460
- identification: {
461
- number: "224252290",
462
- bankCode: "0600",
463
- iban: "CZ6406000000000224252290",
464
- holderName: "Devizov\xE1 Burza a.s."
465
- },
466
- fallbackLastSync: monthAgo,
467
- currency: "USD",
468
- production: true
469
- },
470
- // NEY spořitelní družstvo (2260)
471
- {
472
- connectorKey: "FINBRICKS",
473
- id: "2260-CZK",
474
- identification: {
475
- number: "1702700014",
476
- bankCode: "2260",
477
- iban: "CZ7422600000001702700014",
478
- holderName: "Devizov\xE1 Burza a.s."
479
- },
480
- fallbackLastSync: monthAgo,
481
- currency: "CZK",
482
- production: true
483
- }
484
- ];
485
-
486
69
  const createPaymentCommand = (db$1, { payment }) => {
487
70
  return {
488
71
  command: db$1.insert(db.tables.payment).values(payment).returning()
@@ -643,13 +226,14 @@ var __decorateClass = (decorators, target, key, kind) => {
643
226
  return result;
644
227
  };
645
228
  class BankServiceBase extends backendSdk.develitWorker(cloudflare_workers.WorkerEntrypoint) {
646
- constructor(ctx, env) {
229
+ constructor(ctx, env, configAccounts) {
647
230
  super(ctx, env);
648
231
  this.name = "bank-service";
232
+ this.configAccounts = configAccounts;
649
233
  this.db = d1.drizzle(this.env.BANK_D1, { schema: db.tables });
650
234
  }
651
235
  get accounts() {
652
- return this.env.ENVIRONMENT === "production" ? productionAccounts : stagingAccounts;
236
+ return this.env.ENVIRONMENT === "production" ? this.configAccounts.productionAccounts : this.configAccounts.stagingAccounts;
653
237
  }
654
238
  accountFetchInterval(connectorKey) {
655
239
  switch (connectorKey) {
@@ -1210,15 +794,436 @@ __decorateClass([
1210
794
  __decorateClass([
1211
795
  backendSdk.action("getBatches")
1212
796
  ], BankServiceBase.prototype, "getBatches");
1213
- function defineBankService() {
797
+ function defineBankService({
798
+ configAccounts
799
+ }) {
1214
800
  return class BankService extends BankServiceBase {
1215
801
  constructor(ctx, env) {
1216
- super(ctx, env);
802
+ super(ctx, env, configAccounts);
1217
803
  }
1218
804
  };
1219
805
  }
1220
806
 
1221
- const BankService = defineBankService();
807
+ const monthAgo = new Date(
808
+ Date.now() - 30 * 24 * 60 * 60 * 1e3
809
+ // 30 days ago
810
+ );
811
+ const BankService = defineBankService({
812
+ configAccounts: {
813
+ stagingAccounts: [
814
+ {
815
+ connectorKey: "MOCK_COBS",
816
+ id: "staging-czk",
817
+ identification: {
818
+ number: "1234567890",
819
+ bankCode: "5051",
820
+ iban: "CZ0350510000000000000449",
821
+ holderName: "Devizov\xE1 Burza a.s."
822
+ },
823
+ fallbackLastSync: monthAgo,
824
+ currency: "CZK",
825
+ production: false
826
+ },
827
+ {
828
+ connectorKey: "MOCK_COBS",
829
+ id: "staging-eur",
830
+ identification: {
831
+ number: "2345678901",
832
+ bankCode: "5051",
833
+ iban: "CZ0750510000000000000668",
834
+ holderName: "Devizov\xE1 Burza a.s."
835
+ },
836
+ fallbackLastSync: monthAgo,
837
+ currency: "EUR",
838
+ production: false
839
+ },
840
+ {
841
+ connectorKey: "FIO",
842
+ id: "kleinpetr-test",
843
+ identification: {
844
+ number: "2502130437",
845
+ bankCode: "2010",
846
+ iban: "CZ8520100000002502130437",
847
+ holderName: "Petr Klein"
848
+ },
849
+ fallbackLastSync: monthAgo,
850
+ currency: "CZK",
851
+ production: true
852
+ },
853
+ {
854
+ connectorKey: "MOCK",
855
+ id: "id-test",
856
+ identification: {
857
+ number: "777777777",
858
+ bankCode: "0800",
859
+ iban: "PL0000000000002444430437",
860
+ holderName: "Test Test"
861
+ },
862
+ fallbackLastSync: monthAgo,
863
+ currency: "PLN",
864
+ production: false
865
+ }
866
+ // {
867
+ // connectorKey: 'MOCK_COBS',
868
+ // id: 'staging-usd',
869
+ // identification: {
870
+ // iban: 'CZ3456789012345678901234',
871
+ // accountNumberWithBankCode: '3456789012/3456',
872
+ // },
873
+ // currency: 'USD',
874
+ // bankCode: '0800',
875
+ // accountNumber: '3456789012',
876
+ // production: false,
877
+ // },
878
+ ],
879
+ productionAccounts: [
880
+ // Banka CREDITAS (2250)
881
+ {
882
+ connectorKey: "CREDITAS",
883
+ id: "2250-CZK",
884
+ identification: {
885
+ number: "100602391",
886
+ bankCode: "2250",
887
+ iban: "CZ5122500000000100602391",
888
+ holderName: "Devizov\xE1 Burza a.s."
889
+ },
890
+ fallbackLastSync: monthAgo,
891
+ currency: "CZK",
892
+ production: true
893
+ },
894
+ {
895
+ connectorKey: "CREDITAS",
896
+ id: "2250-EUR",
897
+ identification: {
898
+ number: "100602404",
899
+ bankCode: "2250",
900
+ iban: "CZ8822500000000100602404",
901
+ holderName: "Devizov\xE1 Burza a.s."
902
+ },
903
+ fallbackLastSync: monthAgo,
904
+ currency: "EUR",
905
+ production: true
906
+ },
907
+ {
908
+ connectorKey: "CREDITAS",
909
+ id: "2250-USD",
910
+ identification: {
911
+ number: "100602412",
912
+ bankCode: "2250",
913
+ iban: "CZ6622500000000100602412",
914
+ holderName: "Devizov\xE1 Burza a.s."
915
+ },
916
+ fallbackLastSync: monthAgo,
917
+ currency: "USD",
918
+ production: true
919
+ },
920
+ {
921
+ connectorKey: "CREDITAS",
922
+ id: "2250-GBP",
923
+ identification: {
924
+ number: "100602420",
925
+ bankCode: "2250",
926
+ iban: "CZ4422500000000100602420",
927
+ holderName: "Devizov\xE1 Burza a.s."
928
+ },
929
+ fallbackLastSync: monthAgo,
930
+ currency: "GBP",
931
+ production: true
932
+ },
933
+ {
934
+ connectorKey: "CREDITAS",
935
+ id: "2250-CHF",
936
+ identification: {
937
+ number: "100602439",
938
+ bankCode: "2250",
939
+ iban: "CZ1622500000000100602439",
940
+ holderName: "Devizov\xE1 Burza a.s."
941
+ },
942
+ fallbackLastSync: monthAgo,
943
+ currency: "CHF",
944
+ production: true
945
+ },
946
+ {
947
+ connectorKey: "CREDITAS",
948
+ id: "2250-PLN",
949
+ identification: {
950
+ number: "100602447",
951
+ bankCode: "2250",
952
+ iban: "CZ9122500000000100602447",
953
+ holderName: "Devizov\xE1 Burza a.s."
954
+ },
955
+ fallbackLastSync: monthAgo,
956
+ currency: "PLN",
957
+ production: true
958
+ },
959
+ // Fio banka (2010)
960
+ {
961
+ connectorKey: "FINBRICKS",
962
+ id: "2010-CZK",
963
+ identification: {
964
+ number: "2500845869",
965
+ bankCode: "2010",
966
+ iban: "CZ0420100000002500845869",
967
+ holderName: "Devizov\xE1 Burza a.s."
968
+ },
969
+ fallbackLastSync: monthAgo,
970
+ currency: "CZK",
971
+ production: true
972
+ },
973
+ {
974
+ connectorKey: "FINBRICKS",
975
+ id: "2010-EUR",
976
+ identification: {
977
+ number: "2600884128",
978
+ bankCode: "2010",
979
+ iban: "CZ0820100000002600884128",
980
+ holderName: "Devizov\xE1 Burza a.s."
981
+ },
982
+ fallbackLastSync: monthAgo,
983
+ currency: "EUR",
984
+ production: true
985
+ },
986
+ {
987
+ connectorKey: "FINBRICKS",
988
+ id: "2010-USD",
989
+ identification: {
990
+ number: "2700884133",
991
+ bankCode: "2010",
992
+ iban: "CZ1420100000002700884133",
993
+ holderName: "Devizov\xE1 Burza a.s."
994
+ },
995
+ fallbackLastSync: monthAgo,
996
+ currency: "USD",
997
+ production: true
998
+ },
999
+ {
1000
+ connectorKey: "FINBRICKS",
1001
+ id: "2010-CHF",
1002
+ identification: {
1003
+ number: "2401098351",
1004
+ bankCode: "2010",
1005
+ iban: "CZ0920100000002401098351",
1006
+ holderName: "Devizov\xE1 Burza a.s."
1007
+ },
1008
+ fallbackLastSync: monthAgo,
1009
+ currency: "CHF",
1010
+ production: true
1011
+ },
1012
+ {
1013
+ connectorKey: "FINBRICKS",
1014
+ id: "2010-GBP",
1015
+ identification: {
1016
+ number: "2400884131",
1017
+ bankCode: "2010",
1018
+ iban: "CZ3320100000002400884131",
1019
+ holderName: "Devizov\xE1 Burza a.s."
1020
+ },
1021
+ fallbackLastSync: monthAgo,
1022
+ currency: "GBP",
1023
+ production: true
1024
+ },
1025
+ {
1026
+ connectorKey: "FINBRICKS",
1027
+ id: "2010-PLN",
1028
+ identification: {
1029
+ number: "2701098353",
1030
+ bankCode: "2010",
1031
+ iban: "CZ8720100000002701098353",
1032
+ holderName: "Devizov\xE1 Burza a.s."
1033
+ },
1034
+ fallbackLastSync: monthAgo,
1035
+ currency: "PLN",
1036
+ production: true
1037
+ },
1038
+ {
1039
+ connectorKey: "FINBRICKS",
1040
+ id: "2010-CAD",
1041
+ identification: {
1042
+ number: "2701478102",
1043
+ bankCode: "2010",
1044
+ iban: "CZ5520100000002701478102",
1045
+ holderName: "Devizov\xE1 Burza a.s."
1046
+ },
1047
+ fallbackLastSync: monthAgo,
1048
+ currency: "CAD",
1049
+ production: true
1050
+ },
1051
+ // Komerční banka (0100)
1052
+ {
1053
+ connectorKey: "FINBRICKS",
1054
+ id: "0100-CZK",
1055
+ identification: {
1056
+ number: "115-1483630297",
1057
+ bankCode: "0100",
1058
+ iban: "CZ5901000001151483630297",
1059
+ holderName: "Devizov\xE1 Burza a.s."
1060
+ },
1061
+ fallbackLastSync: monthAgo,
1062
+ currency: "CZK",
1063
+ production: true
1064
+ },
1065
+ {
1066
+ connectorKey: "FINBRICKS",
1067
+ id: "0100-EUR",
1068
+ identification: {
1069
+ number: "115-1484940297",
1070
+ bankCode: "0100",
1071
+ iban: "CZ4201000001151484940297",
1072
+ holderName: "Devizov\xE1 Burza a.s."
1073
+ },
1074
+ fallbackLastSync: monthAgo,
1075
+ currency: "EUR",
1076
+ production: true
1077
+ },
1078
+ {
1079
+ connectorKey: "FINBRICKS",
1080
+ id: "0100-USD",
1081
+ identification: {
1082
+ number: "115-1483960237",
1083
+ bankCode: "0100",
1084
+ iban: "CZ6201000001151483960237",
1085
+ holderName: "Devizov\xE1 Burza a.s."
1086
+ },
1087
+ fallbackLastSync: monthAgo,
1088
+ currency: "USD",
1089
+ production: true
1090
+ },
1091
+ {
1092
+ connectorKey: "FINBRICKS",
1093
+ id: "0100-PLN",
1094
+ identification: {
1095
+ number: "115-6674290267",
1096
+ bankCode: "0100",
1097
+ iban: "CZ3501000001156674290267",
1098
+ holderName: "Devizov\xE1 Burza a.s."
1099
+ },
1100
+ fallbackLastSync: monthAgo,
1101
+ currency: "PLN",
1102
+ production: true
1103
+ },
1104
+ {
1105
+ connectorKey: "FINBRICKS",
1106
+ id: "0100-SEK",
1107
+ identification: {
1108
+ number: "115-9578110207",
1109
+ bankCode: "0100",
1110
+ iban: "CZ2401000001159578110207",
1111
+ holderName: "Devizov\xE1 Burza a.s."
1112
+ },
1113
+ fallbackLastSync: monthAgo,
1114
+ currency: "SEK",
1115
+ production: true
1116
+ },
1117
+ // Česká spořitelna (0800)
1118
+ {
1119
+ connectorKey: "ERSTE",
1120
+ id: "0800-CZK",
1121
+ identification: {
1122
+ number: "4413926379",
1123
+ bankCode: "0800",
1124
+ iban: "CZ7908000000004413926379",
1125
+ holderName: "Devizov\xE1 Burza a.s."
1126
+ },
1127
+ fallbackLastSync: monthAgo,
1128
+ currency: "CZK",
1129
+ production: true
1130
+ },
1131
+ {
1132
+ connectorKey: "ERSTE",
1133
+ id: "0800-EUR",
1134
+ identification: {
1135
+ number: "1966646293",
1136
+ bankCode: "0800",
1137
+ iban: "CZ2308000000001966646293",
1138
+ holderName: "Devizov\xE1 Burza a.s."
1139
+ },
1140
+ fallbackLastSync: monthAgo,
1141
+ currency: "EUR",
1142
+ production: true
1143
+ },
1144
+ {
1145
+ connectorKey: "ERSTE",
1146
+ id: "0800-USD",
1147
+ identification: {
1148
+ number: "1978982243",
1149
+ bankCode: "0800",
1150
+ iban: "CZ1908000000001978982243",
1151
+ holderName: "Devizov\xE1 Burza a.s."
1152
+ },
1153
+ fallbackLastSync: monthAgo,
1154
+ currency: "USD",
1155
+ production: true
1156
+ },
1157
+ {
1158
+ connectorKey: "ERSTE",
1159
+ id: "0800-HUF",
1160
+ identification: {
1161
+ number: "13461252",
1162
+ bankCode: "0800",
1163
+ iban: "CZ1908000000000013461252",
1164
+ holderName: "Devizov\xE1 Burza a.s."
1165
+ },
1166
+ fallbackLastSync: monthAgo,
1167
+ currency: "HUF",
1168
+ production: true
1169
+ },
1170
+ // MONETA Money Bank (0600)
1171
+ {
1172
+ connectorKey: "FINBRICKS",
1173
+ id: "0600-CZK",
1174
+ identification: {
1175
+ number: "224252186",
1176
+ bankCode: "0600",
1177
+ iban: "CZ5906000000000224252186",
1178
+ holderName: "Devizov\xE1 Burza a.s."
1179
+ },
1180
+ fallbackLastSync: monthAgo,
1181
+ currency: "CZK",
1182
+ production: true
1183
+ },
1184
+ {
1185
+ connectorKey: "FINBRICKS",
1186
+ id: "0600-EUR",
1187
+ identification: {
1188
+ number: "224252231",
1189
+ bankCode: "0600",
1190
+ iban: "CZ0806000000000224252231",
1191
+ holderName: "Devizov\xE1 Burza a.s."
1192
+ },
1193
+ fallbackLastSync: monthAgo,
1194
+ currency: "EUR",
1195
+ production: true
1196
+ },
1197
+ {
1198
+ connectorKey: "FINBRICKS",
1199
+ id: "0600-USD",
1200
+ identification: {
1201
+ number: "224252290",
1202
+ bankCode: "0600",
1203
+ iban: "CZ6406000000000224252290",
1204
+ holderName: "Devizov\xE1 Burza a.s."
1205
+ },
1206
+ fallbackLastSync: monthAgo,
1207
+ currency: "USD",
1208
+ production: true
1209
+ },
1210
+ // NEY spořitelní družstvo (2260)
1211
+ {
1212
+ connectorKey: "FINBRICKS",
1213
+ id: "2260-CZK",
1214
+ identification: {
1215
+ number: "1702700014",
1216
+ bankCode: "2260",
1217
+ iban: "CZ7422600000001702700014",
1218
+ holderName: "Devizov\xE1 Burza a.s."
1219
+ },
1220
+ fallbackLastSync: monthAgo,
1221
+ currency: "CZK",
1222
+ production: true
1223
+ }
1224
+ ]
1225
+ }
1226
+ });
1222
1227
 
1223
1228
  exports.default = BankService;
1224
1229
  exports.defineBankService = defineBankService;