Commit Graph

178 Commits

Author SHA1 Message Date
679d6ee389 feat: add items for request money 2024-05-02 14:33:24 +03:00
81baff6eff add rpc stream resp taking from stream codeword 2024-04-28 11:20:58 +03:00
44a2da6ec1 update openapi 2024-04-26 19:00:22 +03:00
7348b0b362 add promo LTV stats 2024-04-26 18:49:40 +03:00
ddda50045b fix interface impliment and add emty req to codeword rpc svc 2024-04-25 21:27:08 +03:00
a4b157188c remove req body from rpc codeword 2024-04-25 20:25:19 +03:00
cd691c882d update openapi 2024-04-25 19:47:17 +03:00
8ba11c62b3 add codeword client to api 2024-04-25 15:53:33 +03:00
ef5fc30f0a add ne after testing 2024-04-24 15:35:55 +03:00
7d3bb7c675 refactor with new ag query 2024-04-24 15:20:21 +03:00
eea77bf2e9 -- 2024-04-23 23:11:38 +03:00
199ead77ec fix: find users logo stat by from instead of quizFrom 2024-04-23 21:22:15 +03:00
08932fc512 fix: add privatekeys 2024-04-23 20:50:21 +03:00
8294412f38 fix: quizLogoStat - filter unexexistant fields 2024-04-23 20:22:01 +03:00
4d25cc0577 update controller RequestMoney 2024-04-18 21:39:33 +03:00
9eea94a6ae WIP: add receipt data 2024-04-18 20:10:23 +03:00
816d8935c7 fix circle query 2024-04-16 20:02:44 +03:00
25ee1c1a4a test cool 2024-04-15 15:12:21 +03:00
78c0748c13 add logostat method need test 2024-04-15 12:27:00 +03:00
4c39c2c300 Update 3 files
- /internal/interface/swagger/api.2.go
- /internal/models/config.go
- /internal/app/app.go
2024-04-13 13:41:52 +03:00
e9fe718226 Update 2 files
- /internal/models/account.go
- /internal/interface/swagger/api.2.go
2024-04-12 23:31:56 +00:00
da713efdd6 Update api.2.go 2024-04-09 18:56:58 +00:00
c16d92980d remove todo 2024-03-23 13:06:39 +03:00
c9bdc6c501 add parse cookie for addaccount method 2024-03-22 21:51:36 +03:00
a49ba93b6b fix: удалил ненужные подробности из обращений к treasurer 2024-03-19 21:50:27 +03:00
f73680cbde add delete discounts if user have cash and user!=" 2024-03-11 21:44:01 +03:00
d4fc763816 del first api layer 2024-03-11 20:21:32 +03:00
be0eee473b fix: change history model 2024-03-09 22:39:05 +03:00
98432999b6 fix: перенёс логику получения чужой истории на апи2 2024-03-07 19:43:00 +03:00
ff6d9ce793 fix: change rspay money to float 2024-02-23 02:53:53 +03:00
eb8ad44a11 -- 2024-02-17 15:19:22 +03:00
69ac569054 init all clients 2024-02-16 22:28:20 +03:00
c773229fef -- 2024-02-16 20:57:25 +03:00
a52ed62b5f replace types in openapi 2024-02-16 18:27:54 +03:00
f2644c7d56 replace types in openapi 2024-02-16 18:23:32 +03:00
bc4363c2bc add to reqbody money< and move emailaddress to config 2024-02-15 12:03:24 +03:00
94c8b9b4d5 hardcode email for rspay 2024-02-10 04:27:51 +03:00
da7fe4c4d6 add rspay logic 2024-02-05 15:24:56 +03:00
0ff591fa33 add mail client 2024-02-05 14:13:36 +03:00
48972046fd fix return normal wallet struct 2024-02-05 11:23:35 +03:00
873cfdfca3 integrate with verify client 2024-02-04 23:20:52 +03:00
6a5ab55787 add rspay route 2024-02-04 22:30:57 +03:00
2f9d24d7b1 replace mongo pkg add common 2024-02-02 15:15:03 +03:00
145066f06f add test 2024-02-02 12:56:33 +03:00
370a2c7e2c add test 2024-02-01 22:46:20 +03:00
fbf19a2630 add test 2024-02-01 16:48:29 +03:00
e289cffba5 add test 2024-02-01 15:58:51 +03:00
4c2e997cb8 add test 2024-02-01 15:26:45 +03:00
5a3bc59597 test buy tariff passed 2024-02-01 12:39:34 +03:00
d614710c80 merge dev in ref intrf 2024-01-31 23:25:30 +03:00
Maxim Dolgushin
abb6624dc6 initial replacement api 2024-01-14 03:07:49 +03:00
ee03e03d2a Merge branch 'dev' into 'staging'
Dev

See merge request pena-services/customer!32
2024-01-14 02:51:30 +03:00
2178a94fba Merge branch 'dev' into 'LTV'
# Conflicts:
#   internal/interface/swagger/api.gen.go
#   internal/interface/swagger/models.gen.go
2024-01-13 23:39:14 +00:00
e45f4d9aa5 fix ltv linter#2 2023-12-23 11:19:14 +03:00
61fb3f4e3a fix ltv linter 2023-12-23 11:14:01 +03:00
0a8f184207 add test ltv 2023-12-23 01:27:45 +03:00
962aa779a0 add calculateltv route 2023-12-22 18:12:43 +03:00
0cf5950797 fix openapi 2023-12-20 16:06:21 +03:00
dd4b90fbc5 gen getrecent -> getrecenttariffs 2023-12-20 15:59:59 +03:00
ffc564df5f history list add accountID 2023-12-20 15:42:41 +03:00
Maxim Dolgushin
f96851af5c \start new swagger implementation 2023-12-07 19:29:02 +03:00
4f500f5ea5 mergeconflicts 2023-12-01 20:46:53 +03:00
4461d96bb4 fix linter#3 2023-12-01 14:59:27 +03:00
55ad27ce30 fix linter#2 2023-12-01 14:52:06 +03:00
87bc32ca80 fix linter 2023-12-01 14:27:44 +03:00
9b2633b474 add post formdata for sendreport 2023-11-29 22:01:14 +03:00
213e18d383 add type for method send data 2023-11-28 02:38:22 +03:00
4bd16862d2 fix returning ok and nil in sendreport controller 2023-11-27 12:10:13 +03:00
4a3cf4be25 fix: add unwind and group stages to recent tariffs obtaining 2023-11-26 23:19:38 +03:00
3d0db1f54b refactoring of the sendreports method and adding the necessary clients 2023-11-26 16:02:01 +03:00
Maxim Dolgushin
4f8963f8a3 remove some interfaces 2023-11-26 13:59:08 +03:00
Maxim Dolgushin
32eb736b14 move GetHistories 2023-11-26 13:46:11 +03:00
Maxim Dolgushin
5114839587 move GetHistories 2023-11-26 13:19:46 +03:00
7614255851 add settings for /sendreport 2023-11-25 21:28:26 +03:00
Maxim Dolgushin
5cefe5805b add failing test for /sendReport 2023-11-25 15:02:42 +03:00
Maxim Dolgushin
2e4dbc7cc0 regenerate 2023-11-25 14:57:55 +03:00
66fd4545a7 fix: remove linter that dosn't allow add todo on the top of the func 2023-11-25 14:23:19 +03:00
0a232e505d add route /recent and fix history repo 2023-11-25 13:36:08 +03:00
1231ee9aaa duplicate processing 2023-11-25 13:36:08 +03:00
ae5e06be33 fix pipeline 2023-11-25 13:36:07 +03:00
c149d6a743 update issue 3 2023-11-25 13:36:07 +03:00
298e079f0f fix: history now filtered by userId 2023-11-21 01:07:13 +03:00
Maxim Dolgushin
5fc7161ffe error refactoring done 2023-11-08 14:04:18 +07:00
Maxim Dolgushin
8226f2cbaa more error cleanups #3 2023-11-08 13:41:25 +07:00
Maxim Dolgushin
13c955d65f safe append 2023-11-08 13:08:27 +07:00
Maxim Dolgushin
a32f4d5efd more error cleanups #2 2023-11-08 13:06:19 +07:00
Maxim Dolgushin
38bb4fb43c refactor pagination 2023-11-08 12:52:47 +07:00
Maxim Dolgushin
ccbc975957 libraries only return errors 2023-11-08 12:39:13 +07:00
Maxim Dolgushin
cf6046d2fe more error cleanups 2023-11-08 12:14:13 +07:00
Maxim Dolgushin
9a369e5784 begin errors refactoring 2023-11-08 11:40:38 +07:00
Maxim Dolgushin
2c0b1c65c3 integration tests imply initialization 2023-11-07 15:19:40 +07:00
Maxim Dolgushin
c305d6c393 finish implementint API2 2023-11-07 15:13:22 +07:00
Maxim Dolgushin
f02d22e79d cart done 2023-11-07 12:14:04 +07:00
Maxim Dolgushin
3d8bcfc6a6 account done 2023-11-06 19:02:13 +07:00
Maxim Dolgushin
0efdedab25 get direct account 2023-11-06 18:54:15 +07:00
Maxim Dolgushin
f37abc8c7a remove account 2023-11-06 18:51:55 +07:00
Maxim Dolgushin
cbbcb19b50 account methods 2023-11-06 17:30:07 +07:00
Maxim Dolgushin
58724d8bb6 delete account 2023-11-06 16:31:39 +07:00
Maxim Dolgushin
66d488e6a6 health check 2023-11-06 15:30:41 +07:00
Maxim Dolgushin
15d33a6fe1 initial replacement api 2023-11-06 14:27:06 +07:00