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