@pax2pay/model-banking 0.1.599 → 0.1.601

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.
@@ -76,6 +76,8 @@
76
76
  "category": "Flight",
77
77
  "startsWith": [
78
78
  "pegasus",
79
+ "PEGASUS",
80
+ "Pegasus",
79
81
  "flypegasus"
80
82
  ]
81
83
  },
@@ -953,5 +955,33 @@
953
955
  "startsWith": [
954
956
  "PLUS ULTRA"
955
957
  ]
958
+ },
959
+ {
960
+ "name": "Boliviana de Aviacion",
961
+ "mccs": [
962
+ 4511
963
+ ],
964
+ "category": "Flight",
965
+ "startsWith": [
966
+ "BOLIVIANA"
967
+ ]
968
+ },
969
+ {
970
+ "name": "Caribbean Airlines",
971
+ "unambiguousMcc": 3234,
972
+ "category": "Flight",
973
+ "startsWith": [
974
+ "CARIBBEAN AI"
975
+ ]
976
+ },
977
+ {
978
+ "name": "Vietnam Air",
979
+ "mccs": [
980
+ 4511
981
+ ],
982
+ "category": "Flight",
983
+ "startsWith": [
984
+ "VIETNAM AIR"
985
+ ]
956
986
  }
957
987
  ]
@@ -51,7 +51,8 @@
51
51
  ],
52
52
  "category": "Lodging",
53
53
  "startsWith": [
54
- "LEONARDO HOTEL"
54
+ "LEONARDO HOTEL",
55
+ "LEONARDO"
55
56
  ]
56
57
  },
57
58
  {
@@ -106,7 +107,6 @@
106
107
  3509,
107
108
  3513,
108
109
  6513,
109
- 3690,
110
110
  3740
111
111
  ],
112
112
  "category": "Lodging",
@@ -144,12 +144,14 @@
144
144
  7011,
145
145
  3533,
146
146
  3501,
147
- 6513,
148
- 3672
147
+ 6513
149
148
  ],
150
149
  "category": "Lodging",
151
150
  "startsWith": [
152
- "IBIS"
151
+ "IBIS",
152
+ "Hotel Ibis",
153
+ "HTL IBIS",
154
+ "ACCOR* IBIS"
153
155
  ]
154
156
  },
155
157
  {
@@ -207,7 +209,6 @@
207
209
  "unambiguousMcc": 3543,
208
210
  "mccs": [
209
211
  7011,
210
- 3543,
211
212
  6513,
212
213
  3501,
213
214
  4411
@@ -248,5 +249,261 @@
248
249
  "startsWith": [
249
250
  "CROWNE PLAZA"
250
251
  ]
252
+ },
253
+ {
254
+ "name": "WMM Hotel Betriebs GmbH",
255
+ "mccs": [
256
+ 7011
257
+ ],
258
+ "category": "Lodging",
259
+ "startsWith": [
260
+ "WMM"
261
+ ]
262
+ },
263
+ {
264
+ "name": "the niu Hotels",
265
+ "mccs": [
266
+ 7011
267
+ ],
268
+ "category": "Lodging",
269
+ "startsWith": [
270
+ "the niu"
271
+ ]
272
+ },
273
+ {
274
+ "name": "Radisson Hotels",
275
+ "unambiguousMcc": 3649,
276
+ "mccs": [
277
+ 7011,
278
+ 6513,
279
+ 3586,
280
+ 3553,
281
+ 3583
282
+ ],
283
+ "category": "Lodging",
284
+ "startsWith": [
285
+ "Radisson"
286
+ ]
287
+ },
288
+ {
289
+ "name": "ACHAT Hotels",
290
+ "mccs": [
291
+ 7011
292
+ ],
293
+ "category": "Lodging",
294
+ "startsWith": [
295
+ "ACHAT HOTEL"
296
+ ]
297
+ },
298
+ {
299
+ "name": "ARCOTEL Hotels",
300
+ "mccs": [
301
+ 7011
302
+ ],
303
+ "category": "Lodging",
304
+ "startsWith": [
305
+ "ARCOTEL"
306
+ ]
307
+ },
308
+ {
309
+ "name": "Gruppo UNA Hotels and Resorts",
310
+ "mccs": [
311
+ 7011
312
+ ],
313
+ "category": "Lodging",
314
+ "contains": [
315
+ "GRUPPOUNA"
316
+ ]
317
+ },
318
+ {
319
+ "name": "B&B Hotels",
320
+ "mccs": [
321
+ 7011
322
+ ],
323
+ "category": "Lodging",
324
+ "startsWith": [
325
+ "BB *"
326
+ ]
327
+ },
328
+ {
329
+ "name": "DORMERO Hotels",
330
+ "mccs": [
331
+ 7011
332
+ ],
333
+ "category": "Lodging",
334
+ "startsWith": [
335
+ "DORMERO"
336
+ ]
337
+ },
338
+ {
339
+ "name": "Dorint Hotels",
340
+ "unambiguousMcc": 3623,
341
+ "mccs": [
342
+ 7011
343
+ ],
344
+ "category": "Lodging",
345
+ "startsWith": [
346
+ "DORINT"
347
+ ]
348
+ },
349
+ {
350
+ "name": "Schani Hotels",
351
+ "mccs": [
352
+ 7011
353
+ ],
354
+ "category": "Lodging",
355
+ "startsWith": [
356
+ "HotelSchaniDonauGmbH"
357
+ ]
358
+ },
359
+ {
360
+ "name": "INNSiDE",
361
+ "mccs": [
362
+ 7011,
363
+ 3548
364
+ ],
365
+ "category": "Lodging",
366
+ "startsWith": [
367
+ "INNSIDE"
368
+ ]
369
+ },
370
+ {
371
+ "name": "IntercityHotel",
372
+ "mccs": [
373
+ 7011,
374
+ 3643
375
+ ],
376
+ "category": "Lodging",
377
+ "startsWith": [
378
+ "INTERCITY HOTEL",
379
+ "INTERCITYHOTEL"
380
+ ]
381
+ },
382
+ {
383
+ "name": "Lindner Hotels & Resorts",
384
+ "mccs": [
385
+ 7011
386
+ ],
387
+ "category": "Lodging",
388
+ "startsWith": [
389
+ "LINDNER"
390
+ ]
391
+ },
392
+ {
393
+ "name": "Limehome",
394
+ "mccs": [
395
+ 7011
396
+ ],
397
+ "category": "Lodging",
398
+ "startsWith": [
399
+ "Limehome"
400
+ ]
401
+ },
402
+ {
403
+ "name": "Moxy Hotels",
404
+ "mccs": [
405
+ 7011,
406
+ 3509,
407
+ 3740
408
+ ],
409
+ "category": "Lodging",
410
+ "startsWith": [
411
+ "MOXY"
412
+ ]
413
+ },
414
+ {
415
+ "name": "Roompay",
416
+ "mccs": [
417
+ 7011
418
+ ],
419
+ "category": "Lodging",
420
+ "startsWith": [
421
+ "ROOMPAY"
422
+ ]
423
+ },
424
+ {
425
+ "name": "Rioca Hotels",
426
+ "mccs": [
427
+ 7011
428
+ ],
429
+ "category": "Lodging",
430
+ "startsWith": [
431
+ "RIOCA"
432
+ ]
433
+ },
434
+ {
435
+ "name": "Adagio",
436
+ "mccs": [
437
+ 7011
438
+ ],
439
+ "category": "Lodging",
440
+ "startsWith": [
441
+ "Adagio"
442
+ ]
443
+ },
444
+ {
445
+ "name": "Barcelo Hotel Group",
446
+ "mccs": [
447
+ 7011
448
+ ],
449
+ "category": "Lodging",
450
+ "startsWith": [
451
+ "BARCELO *"
452
+ ]
453
+ },
454
+ {
455
+ "name": "Campanile Hotels",
456
+ "unambiguousMcc": 3672,
457
+ "mccs": [
458
+ 7011,
459
+ 3677,
460
+ 3501
461
+ ],
462
+ "category": "Lodging",
463
+ "startsWith": [
464
+ "CAMPANILE"
465
+ ]
466
+ },
467
+ {
468
+ "name": "Clayton Hotels",
469
+ "mccs": [
470
+ 7011
471
+ ],
472
+ "category": "Lodging",
473
+ "startsWith": [
474
+ "Clayton"
475
+ ]
476
+ },
477
+ {
478
+ "name": "Palace Catania",
479
+ "mccs": [
480
+ 7011
481
+ ],
482
+ "category": "Lodging",
483
+ "contains": [
484
+ "PALACE-CATANIA"
485
+ ]
486
+ },
487
+ {
488
+ "name": "Milano Verticle",
489
+ "mccs": [
490
+ 7011
491
+ ],
492
+ "category": "Lodging",
493
+ "contains": [
494
+ "MILANO-VERTICALE"
495
+ ]
496
+ },
497
+ {
498
+ "name": "Courtyard by Marriott",
499
+ "unambiguousMcc": 3690,
500
+ "mccs": [
501
+ 7011,
502
+ 3509
503
+ ],
504
+ "category": "Lodging",
505
+ "startsWith": [
506
+ "COURTYARD"
507
+ ]
251
508
  }
252
509
  ]
@@ -59,7 +59,7 @@ export const merchants = {
59
59
  pegasus: {
60
60
  name: "pegasus",
61
61
  mccs: ["4511"],
62
- startsWith: ["pegasus", "flypegasus"],
62
+ startsWith: ["pegasus", "PEGASUS", "Pegasus", "flypegasus"],
63
63
  },
64
64
  "royal air maroc": {
65
65
  name: "royal air maroc",
@@ -605,6 +605,21 @@ export const merchants = {
605
605
  mccs: ["4511"],
606
606
  startsWith: ["PLUS ULTRA"],
607
607
  },
608
+ "boliviana de aviacion": {
609
+ name: "boliviana de aviacion",
610
+ mccs: ["4511"],
611
+ startsWith: ["BOLIVIANA"],
612
+ },
613
+ "caribbean airlines": {
614
+ name: "caribbean airlines",
615
+ unambiguousMcc: "3234",
616
+ startsWith: ["CARIBBEAN AI"],
617
+ },
618
+ "vietnam air": {
619
+ name: "vietnam air",
620
+ mccs: ["4511"],
621
+ startsWith: ["VIETNAM AIR"],
622
+ },
608
623
  parkwing: {
609
624
  name: "parkwing",
610
625
  mccs: ["4582"],
@@ -665,10 +680,35 @@ export const merchants = {
665
680
  mccs: ["4722"],
666
681
  startsWith: ["BKG*"],
667
682
  },
668
- advertising: {
669
- name: "advertising",
683
+ "expedia group": {
684
+ name: "expedia group",
685
+ mccs: ["4722"],
686
+ startsWith: ["EG*", "Expedia"],
687
+ },
688
+ "google ads": {
689
+ name: "google ads",
670
690
  mccs: ["7311", "5818"],
671
- contains: ["FACEBK", "google *ad", "googleadwords", "facebook"],
691
+ contains: ["google ads", "google *ad", "GOOGLE*ADS", "googleadwords"],
692
+ },
693
+ "facebook ads": {
694
+ name: "facebook ads",
695
+ mccs: ["7311", "5818"],
696
+ contains: ["FACEBK", "facebook"],
697
+ },
698
+ "milan airport shop": {
699
+ name: "milan airport shop",
700
+ mccs: ["4582", "4111"],
701
+ contains: ["MILAN AIRPORTS"],
702
+ },
703
+ blacklane: {
704
+ name: "blacklane",
705
+ mccs: ["4121"],
706
+ startsWith: ["BLACKLANE"],
707
+ },
708
+ "visit britain gov": {
709
+ name: "visit britain gov",
710
+ mccs: ["9399"],
711
+ startsWith: ["UKVI"],
672
712
  },
673
713
  "best western": {
674
714
  name: "best western",
@@ -694,7 +734,7 @@ export const merchants = {
694
734
  "leonardo hotels": {
695
735
  name: "leonardo hotels",
696
736
  mccs: ["7011"],
697
- startsWith: ["LEONARDO HOTEL"],
737
+ startsWith: ["LEONARDO HOTEL", "LEONARDO"],
698
738
  },
699
739
  "hotel mercure": {
700
740
  name: "hotel mercure",
@@ -720,7 +760,7 @@ export const merchants = {
720
760
  },
721
761
  "marriott hotels": {
722
762
  name: "marriott hotels",
723
- mccs: ["7011", "3509", "3513", "6513", "3690", "3740"],
763
+ mccs: ["7011", "3509", "3513", "6513", "3740"],
724
764
  startsWith: ["MARRIOTT"],
725
765
  },
726
766
  "sheraton hotels and resorts": {
@@ -735,8 +775,8 @@ export const merchants = {
735
775
  },
736
776
  "ibis hotels": {
737
777
  name: "ibis hotels",
738
- mccs: ["7011", "3533", "3501", "6513", "3672"],
739
- startsWith: ["IBIS"],
778
+ mccs: ["7011", "3533", "3501", "6513"],
779
+ startsWith: ["IBIS", "Hotel Ibis", "HTL IBIS", "ACCOR* IBIS"],
740
780
  },
741
781
  "hyatt hotels & resorts": {
742
782
  name: "hyatt hotels & resorts",
@@ -756,7 +796,7 @@ export const merchants = {
756
796
  "four seasons": {
757
797
  name: "four seasons",
758
798
  unambiguousMcc: "3543",
759
- mccs: ["7011", "3543", "6513", "3501", "4411"],
799
+ mccs: ["7011", "6513", "3501", "4411"],
760
800
  startsWith: ["FOUR SEASONS", "FOURSEASONS"],
761
801
  },
762
802
  "doubletree by hilton": {
@@ -769,4 +809,128 @@ export const merchants = {
769
809
  mccs: ["7011", "6513", "3750", "3501", "3504", "3655"],
770
810
  startsWith: ["CROWNE PLAZA"],
771
811
  },
812
+ "wmm hotel betriebs gmbh": {
813
+ name: "wmm hotel betriebs gmbh",
814
+ mccs: ["7011"],
815
+ startsWith: ["WMM"],
816
+ },
817
+ "the niu hotels": {
818
+ name: "the niu hotels",
819
+ mccs: ["7011"],
820
+ startsWith: ["the niu"],
821
+ },
822
+ "radisson hotels": {
823
+ name: "radisson hotels",
824
+ unambiguousMcc: "3649",
825
+ mccs: ["7011", "6513", "3586", "3553", "3583"],
826
+ startsWith: ["Radisson"],
827
+ },
828
+ "achat hotels": {
829
+ name: "achat hotels",
830
+ mccs: ["7011"],
831
+ startsWith: ["ACHAT HOTEL"],
832
+ },
833
+ "arcotel hotels": {
834
+ name: "arcotel hotels",
835
+ mccs: ["7011"],
836
+ startsWith: ["ARCOTEL"],
837
+ },
838
+ "gruppo una hotels and resorts": {
839
+ name: "gruppo una hotels and resorts",
840
+ mccs: ["7011"],
841
+ contains: ["GRUPPOUNA"],
842
+ },
843
+ "b&b hotels": {
844
+ name: "b&b hotels",
845
+ mccs: ["7011"],
846
+ startsWith: ["BB *"],
847
+ },
848
+ "dormero hotels": {
849
+ name: "dormero hotels",
850
+ mccs: ["7011"],
851
+ startsWith: ["DORMERO"],
852
+ },
853
+ "dorint hotels": {
854
+ name: "dorint hotels",
855
+ unambiguousMcc: "3623",
856
+ mccs: ["7011"],
857
+ startsWith: ["DORINT"],
858
+ },
859
+ "schani hotels": {
860
+ name: "schani hotels",
861
+ mccs: ["7011"],
862
+ startsWith: ["HotelSchaniDonauGmbH"],
863
+ },
864
+ innside: {
865
+ name: "innside",
866
+ mccs: ["7011", "3548"],
867
+ startsWith: ["INNSIDE"],
868
+ },
869
+ intercityhotel: {
870
+ name: "intercityhotel",
871
+ mccs: ["7011", "3643"],
872
+ startsWith: ["INTERCITY HOTEL", "INTERCITYHOTEL"],
873
+ },
874
+ "lindner hotels & resorts": {
875
+ name: "lindner hotels & resorts",
876
+ mccs: ["7011"],
877
+ startsWith: ["LINDNER"],
878
+ },
879
+ limehome: {
880
+ name: "limehome",
881
+ mccs: ["7011"],
882
+ startsWith: ["Limehome"],
883
+ },
884
+ "moxy hotels": {
885
+ name: "moxy hotels",
886
+ mccs: ["7011", "3509", "3740"],
887
+ startsWith: ["MOXY"],
888
+ },
889
+ roompay: {
890
+ name: "roompay",
891
+ mccs: ["7011"],
892
+ startsWith: ["ROOMPAY"],
893
+ },
894
+ "rioca hotels": {
895
+ name: "rioca hotels",
896
+ mccs: ["7011"],
897
+ startsWith: ["RIOCA"],
898
+ },
899
+ adagio: {
900
+ name: "adagio",
901
+ mccs: ["7011"],
902
+ startsWith: ["Adagio"],
903
+ },
904
+ "barcelo hotel group": {
905
+ name: "barcelo hotel group",
906
+ mccs: ["7011"],
907
+ startsWith: ["BARCELO *"],
908
+ },
909
+ "campanile hotels": {
910
+ name: "campanile hotels",
911
+ unambiguousMcc: "3672",
912
+ mccs: ["7011", "3677", "3501"],
913
+ startsWith: ["CAMPANILE"],
914
+ },
915
+ "clayton hotels": {
916
+ name: "clayton hotels",
917
+ mccs: ["7011"],
918
+ startsWith: ["Clayton"],
919
+ },
920
+ "palace catania": {
921
+ name: "palace catania",
922
+ mccs: ["7011"],
923
+ contains: ["PALACE-CATANIA"],
924
+ },
925
+ "milano verticle": {
926
+ name: "milano verticle",
927
+ mccs: ["7011"],
928
+ contains: ["MILANO-VERTICALE"],
929
+ },
930
+ "courtyard by marriott": {
931
+ name: "courtyard by marriott",
932
+ unambiguousMcc: "3690",
933
+ mccs: ["7011", "3509"],
934
+ startsWith: ["COURTYARD"],
935
+ },
772
936
  } as const
@@ -123,17 +123,65 @@
123
123
  ]
124
124
  },
125
125
  {
126
- "name": "Advertising",
126
+ "name": "Expedia Group",
127
+ "mccs": [
128
+ 4722
129
+ ],
130
+ "category": "Travel Agency",
131
+ "startsWith": [
132
+ "EG*",
133
+ "Expedia"
134
+ ]
135
+ },
136
+ {
137
+ "name": "Google Ads",
127
138
  "mccs": [
128
139
  7311,
129
140
  5818
130
141
  ],
131
142
  "contains": [
132
- "FACEBK",
143
+ "google ads",
133
144
  "google *ad",
134
- "googleadwords",
145
+ "GOOGLE*ADS",
146
+ "googleadwords"
147
+ ],
148
+ "category": "Advertising"
149
+ },
150
+ {
151
+ "name": "Facebook Ads",
152
+ "mccs": [
153
+ 7311,
154
+ 5818
155
+ ],
156
+ "contains": [
157
+ "FACEBK",
135
158
  "facebook"
136
159
  ],
137
160
  "category": "Advertising"
161
+ },
162
+ {
163
+ "name": "Milan Airport Shop",
164
+ "mccs": [
165
+ 4582,
166
+ 4111
167
+ ],
168
+ "category": "Retail",
169
+ "contains": "MILAN AIRPORTS"
170
+ },
171
+ {
172
+ "name": "Blacklane",
173
+ "mccs": [
174
+ 4121
175
+ ],
176
+ "category": "Alternative Transportation",
177
+ "startsWith": "BLACKLANE"
178
+ },
179
+ {
180
+ "name": "Visit Britain Gov",
181
+ "mccs": [
182
+ 9399
183
+ ],
184
+ "category": "Government Services",
185
+ "startsWith": "UKVI"
138
186
  }
139
187
  ]
@@ -3,9 +3,10 @@ import { Supplier } from "../Supplier"
3
3
 
4
4
  export interface Reference {
5
5
  supplier?: Supplier
6
- reference?: string
6
+ reference?: string // Suppliers id for the transaction
7
7
  returnId?: string
8
8
  endToEndId?: string
9
+ instruction?: string // SWIFT instruction id, TransactionReference on Banking circle hook
9
10
  }
10
11
 
11
12
  export namespace Reference {
@@ -14,5 +15,6 @@ export namespace Reference {
14
15
  reference: isly.string().optional(),
15
16
  returnId: isly.string().optional(),
16
17
  endToEndId: isly.string().optional(),
18
+ instruction: isly.string().optional(),
17
19
  })
18
20
  }