diff --git a/dirigible-bank-server-data/BankAccounts.csv b/dirigible-bank-server-data/BankAccounts.csv new file mode 100644 index 0000000..b52f5ba --- /dev/null +++ b/dirigible-bank-server-data/BankAccounts.csv @@ -0,0 +1,30 @@ +BANKACCOUNTS_ID,BANKACCOUNTS_AMOUNT,BANKACCOUNTS_PROPERTY3,BANKACCOUNTS_USERS,BANKACCOUNTS_BANKACCOUNTTYPE,BANKACCOUNTS_BANKACCOUNTSTATUS,BANKACCOUNTS_CREATIONDATE,BANKACCOUNTS_CURRENCY +1,3455.28,BG17PIBS1712,1,2,1,2023-03-11,30 +2,4632.65,BG17PIBS1713,2,1,1,2023-02-10,2 +3,2988.46,BG17PIBS1714,3,1,1,2023-04-29,30 +4,3019.97,BG17PIBS1715,4,1,1,2024-01-23,2 +5,2461.03,BG17PIBS1716,5,1,1,2023-12-04,30 +6,1987.54,BG17PIBS1717,6,1,1,2023-05-17,2 +7,7912.66,BG17PIBS1718,7,1,1,2023-05-31,30 +8,12013.98,BG17PIBS1719,8,1,1,2023-07-06,30 +9,4555.33,BG17PIBS1720,9,1,1,2024-01-11,30 +10,3992.67,BG17PIBS1721,10,1,1,2023-11-08,2 +11,6000.29,BG17PIBS1722,11,1,1,2023-08-14,30 +12,3324.45,BG17PIBS1723,12,1,1,2023-10-12,30 +13,2654.18,BG17PIBS1724,13,1,1,2023-05-16,30 +14,1998.56,BG17PIBS1725,14,1,1,2023-11-21,30 +15,2854.23,BG17PIBS1726,15,1,1,2024-02-23,30 +16,8882.49,BG17PIBS1727,16,1,1,2023-02-22,30 +17,2765.98,BG17PIBS1728,17,1,1,2023-01-30,2 +18,1784.34,BG17PIBS1729,18,1,1,2023-12-15,2 +19,2764.09,BG17PIBS1730,19,1,1,2023-08-06,2 +20,1234.54,BG17PIBS1731,20,1,1,2024-04-13,2 +21,8423.23,BG17PIBS1732,21,1,1,2023-08-27,30 +22,4567.32,BG17PIBS1733,22,1,1,2023-09-05,2 +23,2468.65,BG17PIBS1734,23,1,1,2023-12-17,30 +24,9876.45,BG17PIBS1735,24,1,1,2024-03-08,2 +25,1546.76,BG17PIBS1736,25,1,1,2023-06-25,30 +26,11000.76,BG17PIBS1737,26,1,1,2023-06-11,30 +27,3467.76,BG17PIBS1738,27,1,1,2023-03-19,30 +28,4789.91,BG17PIBS1739,28,1,1,2023-05-18,30 +29,4000.0,BG17PIBS1740,29,1,1,2024-04-22,30 diff --git a/dirigible-bank-server-data/Cards.csv b/dirigible-bank-server-data/Cards.csv new file mode 100644 index 0000000..55d2f31 --- /dev/null +++ b/dirigible-bank-server-data/Cards.csv @@ -0,0 +1,31 @@ +CARDS_ID,CARDS_USERS,CARDS_CARDNUMBER,CARDS_EXPIRATIONDATE,CARDS_CARDTYPE +1,1,1234567890123450,2025-05-02,2 +2,2,1234567890324560,2025-05-01,2 +3,3,1234567890678900,2025-05-01,2 +4,4,1234567890123890,2025-05-01,2 +5,5,1234567890908760,2025-05-01,2 +6,6,1234567890809740,2025-05-01,2 +7,7,1234567890123670,2025-05-01,2 +8,8,1234567890345670,2025-05-01,2 +9,9,1234567890871380,2025-05-01,2 +10,10,1234567898023450,2025-05-01,2 +11,11,1234567898723400,2025-05-01,2 +12,12,1234567890345610,2025-05-01,2 +13,13,1234567890,2025-05-01,2 +14,14,1234567890123870,2025-05-01,2 +15,15,1234567890547290,2025-05-01,2 +16,16,1234567890571090,2025-05-01,2 +17,17,1234567890886490,2025-05-01,2 +18,18,1234567890126580,2025-05-01,2 +19,19,1234567890022450,2025-05-01,2 +20,20,1234567890562890,2025-05-01,2 +21,21,1234567890247810,2025-05-01,2 +22,22,1234567890445820,2025-05-01,2 +23,23,1234567890542170,2025-05-01,2 +24,24,1234567890457280,2025-05-01,2 +25,25,1234567890471910,2025-05-01,2 +26,26,1234567890671940,2025-05-01,2 +27,27,1234567890882540,2025-05-01,2 +28,28,1234567890326740,2025-05-01,2 +29,29,1234567890326741,2025-05-02,2 +30,29,1234567890326742,2025-05-02,2 diff --git a/dirigible-bank-server-data/Users.csv b/dirigible-bank-server-data/Users.csv new file mode 100644 index 0000000..e707adc --- /dev/null +++ b/dirigible-bank-server-data/Users.csv @@ -0,0 +1,30 @@ +USERS_ID,USERS_FNAME,USERS_LNAME,USERS_EMAIL,USERS_PASSWORD,USERS_PHONE,USERS_COUNTRY +1,Victoria,Radenkova,radenkovaviktoriq@gm,pi_smart,0888025834,34 +2,Velizar,Alexandrov,alexandrovvel@gmail,pi_smart,359882377147,34 +3,Gabriela,Hinkova,gabrielahinkova5@gma,pi_smart,359887553395,34 +4,Boryana,Ivanova,boriana2006@gmail.co,pi_smart,359879209836,34 +5,Anna,Radchenkova,a.radchenkova1@gmail,pi_smart,3598889765433,34 +6,Bojidar,Dimitrov,bojidardimitrov@gm,pi_smart,359882467845,34 +7,Gergana,Mihova,gerganam06@gmail.com,pi_smart,359988897617,34 +8,Viktor,Kirov,viktor.kirov.2006@gm,pi_smart,359882476857,34 +9,Natalia,Kirova,nataliak19@gmail.com,pi_smart,359888436785,34 +10,Martin,Iliev,ilievm911@gmail.com,pi_smart,359887712345,34 +11,Nikola,Peev,_peev__@gmail.com,pi_smart,359887613579,34 +12,Niya,Bozhilska,bozhilska_n@abv.bg,pi_smart,359887613573,34 +13,Iliana,Mihailova,iliana.m@abv.bg,pi_smart,359887614573,34 +14,Antonio,Bozkhov,tonkata06@abv.bg,pi_smart,359887613573,34 +15,Boris,Georgiev,bobi.g@abv.bg,pi_smart,359897613573,34 +16,Alexandar,Hristov,nhristov.a@gmail.com,pi_smart,359897613512,34 +17,Bilyana,Georgie,bibizari019@gmail.c,pi_smart,359897611234,34 +18,Mariya,Lilkova,mimi04@abv.bg,pi_smart,359897671234,34 +19,Desislava,Pencheva,pencheva33@abv.bg,pi_smart,359897671228,34 +20,Kaloyan,Mishev,koko5@abv.bg,pi_smart,359897551228,34 +21,Violeta,Atanasova,vili13.5@gmail.com,pi_smart,359897551226,34 +22,Petar,Velkov,pepi56_v@abv.bg,pi_smart,359897531226,34 +23,Nevena,Borisova,neviborisova@abv.bg,pi_smart,359897531826,34 +24,Lili,Sabeva,sabewa15@abv.bg,pi_smart,359897531829,34 +25,Kiril,Mishev,mishev@abv.bg,pi_smart,359897531839,34 +26,Antoaneta,Popova,tonipopova78@gmail.d,pi_smart,359897532839,34 +27,Klara,Nenova,nenova86@abv.bg,pi_smart,359897532830,34 +28,Dalia,Marinova,dalimali23@abv.bg,pi_smart,359898532830,34 +29,Tomislav,Ivanov,tomyivanov06@gmail,pi_smart,0878712704,34 diff --git a/dirigible-bank-server-data/dirigible-bank-server-data.csvim b/dirigible-bank-server-data/dirigible-bank-server-data.csvim index 8d45856..418af72 100644 --- a/dirigible-bank-server-data/dirigible-bank-server-data.csvim +++ b/dirigible-bank-server-data/dirigible-bank-server-data.csvim @@ -32,6 +32,39 @@ "delimEnclosing": "\"", "distinguishEmptyFromNull": true, "version": "1.0" + }, + { + "table": "PI_BANKACCOUNTS", + "schema": "PUBLIC", + "file": "/dirigible-bank-server-data/BankAccounts.csv", + "header": true, + "useHeaderNames": true, + "delimField": ",", + "delimEnclosing": "\"", + "distinguishEmptyFromNull": true, + "version": "1.0" + }, + { + "table": "PI_USERS", + "schema": "PUBLIC", + "file": "/dirigible-bank-server-data/Users.csv", + "header": true, + "useHeaderNames": true, + "delimField": ",", + "delimEnclosing": "\"", + "distinguishEmptyFromNull": true, + "version": "1.0" + }, + { + "table": "PI_CARDS", + "schema": "PUBLIC", + "file": "/dirigible-bank-server-data/Cards.csv", + "header": true, + "useHeaderNames": true, + "delimField": ",", + "delimEnclosing": "\"", + "distinguishEmptyFromNull": true, + "version": "1.0" } ] } \ No newline at end of file diff --git a/dirigible-bank-server/edm.edm b/dirigible-bank-server/edm.edm index 3bce19b..07f1ee1 100644 --- a/dirigible-bank-server/edm.edm +++ b/dirigible-bank-server/edm.edm @@ -4,7 +4,7 @@ - + @@ -88,5 +88,5 @@ - + \ No newline at end of file diff --git a/dirigible-bank-server/edm.gen b/dirigible-bank-server/edm.gen index 85305a3..5bc6e47 100644 --- a/dirigible-bank-server/edm.gen +++ b/dirigible-bank-server/edm.gen @@ -1,7 +1,7 @@ { "tablePrefix": "PI_", "brand": "Proper Invest Bank", - "brandUrl": "https://github.com/TIVMOF/online_bank.git", + "brandUrl": "https://github.com/TIVMOF/online_bank", "title": "PI Smart Server", "description": "Server", "projectName": "dirigible-bank-server", @@ -169,7 +169,7 @@ "calculatedPropertyExpressionCreate": "", "calculatedPropertyExpressionUpdate": "", "dataAutoIncrement": false, - "dataLength": "255", + "dataLength": "700", "dataName": "USERS_EMAIL", "dataNullable": false, "dataPrecision": "NaN", diff --git a/dirigible-bank-server/edm.model b/dirigible-bank-server/edm.model index 0cc0473..270811d 100644 --- a/dirigible-bank-server/edm.model +++ b/dirigible-bank-server/edm.model @@ -65,7 +65,7 @@ "calculatedPropertyExpressionCreate": "", "calculatedPropertyExpressionUpdate": "", "dataAutoIncrement": "false", - "dataLength": "255", + "dataLength": "700", "dataName": "USERS_EMAIL", "dataNullable": "false", "dataPrecision": "NaN", diff --git a/dirigible-bank-server/gen/api/users/UsersService.ts b/dirigible-bank-server/gen/api/users/UsersService.ts index 611c637..c496532 100644 --- a/dirigible-bank-server/gen/api/users/UsersService.ts +++ b/dirigible-bank-server/gen/api/users/UsersService.ts @@ -134,8 +134,8 @@ class UsersService { if (entity.Email === null || entity.Email === undefined) { throw new ValidationError(`The 'Email' property is required, provide a valid value`); } - if (entity.Email?.length > 255) { - throw new ValidationError(`The 'Email' exceeds the maximum length of [255] characters`); + if (entity.Email?.length > 700) { + throw new ValidationError(`The 'Email' exceeds the maximum length of [700] characters`); } if (entity.Password === null || entity.Password === undefined) { throw new ValidationError(`The 'Password' property is required, provide a valid value`); diff --git a/dirigible-bank-server/gen/index.html b/dirigible-bank-server/gen/index.html index 62992c9..6f69e0a 100644 --- a/dirigible-bank-server/gen/index.html +++ b/dirigible-bank-server/gen/index.html @@ -36,7 +36,7 @@ .constant('branding', { name: 'PI Smart Server', brand: 'Proper Invest Bank', - brandUrl: 'https://github.com/TIVMOF/online_bank.git', + brandUrl: 'https://github.com/TIVMOF/online_bank', icons: { faviconIco: '/services/web/ide-branding/images/favicon.ico', favicon32: '/services/web/ide-branding/images/favicon-32x32.png', diff --git a/dirigible-bank-server/gen/schema/dirigible-bank-server.schema b/dirigible-bank-server/gen/schema/dirigible-bank-server.schema index b5e972c..10112b2 100644 --- a/dirigible-bank-server/gen/schema/dirigible-bank-server.schema +++ b/dirigible-bank-server/gen/schema/dirigible-bank-server.schema @@ -29,7 +29,7 @@ }, { "type": "VARCHAR", - "length": 255, + "length": 700, "precision": "NaN", "scale": "NaN", "name": "USERS_EMAIL" diff --git a/dirigible-bank-server/gen/ui/bankAccount/index.html b/dirigible-bank-server/gen/ui/bankAccount/index.html index d2c7fd0..cfd566b 100644 --- a/dirigible-bank-server/gen/ui/bankAccount/index.html +++ b/dirigible-bank-server/gen/ui/bankAccount/index.html @@ -33,7 +33,7 @@ .constant('branding', { name: 'PI Smart Server', brand: 'Proper Invest Bank', - brandUrl: 'https://github.com/TIVMOF/online_bank.git', + brandUrl: 'https://github.com/TIVMOF/online_bank', icons: { faviconIco: '/services/web/ide-branding/images/favicon.ico', favicon32: '/services/web/ide-branding/images/favicon-32x32.png', diff --git a/dirigible-bank-server/gen/ui/cards/index.html b/dirigible-bank-server/gen/ui/cards/index.html index 746cc2c..ce2ff02 100644 --- a/dirigible-bank-server/gen/ui/cards/index.html +++ b/dirigible-bank-server/gen/ui/cards/index.html @@ -33,7 +33,7 @@ .constant('branding', { name: 'PI Smart Server', brand: 'Proper Invest Bank', - brandUrl: 'https://github.com/TIVMOF/online_bank.git', + brandUrl: 'https://github.com/TIVMOF/online_bank', icons: { faviconIco: '/services/web/ide-branding/images/favicon.ico', favicon32: '/services/web/ide-branding/images/favicon-32x32.png', diff --git a/dirigible-bank-server/gen/ui/entities/index.html b/dirigible-bank-server/gen/ui/entities/index.html index 32faf64..7e9f429 100644 --- a/dirigible-bank-server/gen/ui/entities/index.html +++ b/dirigible-bank-server/gen/ui/entities/index.html @@ -33,7 +33,7 @@ .constant('branding', { name: 'PI Smart Server', brand: 'Proper Invest Bank', - brandUrl: 'https://github.com/TIVMOF/online_bank.git', + brandUrl: 'https://github.com/TIVMOF/online_bank', icons: { faviconIco: '/services/web/ide-branding/images/favicon.ico', favicon32: '/services/web/ide-branding/images/favicon-32x32.png', diff --git a/dirigible-bank-server/gen/ui/transactions/index.html b/dirigible-bank-server/gen/ui/transactions/index.html index 200a48d..b15778e 100644 --- a/dirigible-bank-server/gen/ui/transactions/index.html +++ b/dirigible-bank-server/gen/ui/transactions/index.html @@ -33,7 +33,7 @@ .constant('branding', { name: 'PI Smart Server', brand: 'Proper Invest Bank', - brandUrl: 'https://github.com/TIVMOF/online_bank.git', + brandUrl: 'https://github.com/TIVMOF/online_bank', icons: { faviconIco: '/services/web/ide-branding/images/favicon.ico', favicon32: '/services/web/ide-branding/images/favicon-32x32.png', diff --git a/dirigible-bank-server/gen/ui/users/index.html b/dirigible-bank-server/gen/ui/users/index.html index 00054a2..0b77876 100644 --- a/dirigible-bank-server/gen/ui/users/index.html +++ b/dirigible-bank-server/gen/ui/users/index.html @@ -33,7 +33,7 @@ .constant('branding', { name: 'PI Smart Server', brand: 'Proper Invest Bank', - brandUrl: 'https://github.com/TIVMOF/online_bank.git', + brandUrl: 'https://github.com/TIVMOF/online_bank', icons: { faviconIco: '/services/web/ide-branding/images/favicon.ico', favicon32: '/services/web/ide-branding/images/favicon-32x32.png',