|
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 |
|
|
67f6456ba1
|
some adding urls
|
2024-02-01 11:12:08 +03:00 |
|
|
d614710c80
|
merge dev in ref intrf
|
2024-01-31 23:25:30 +03:00 |
|
|
cc6257d063
|
Update cart.go
|
2024-01-25 18:44:30 +00: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 |
|
|
47ae9d2e23
|
Merge branch 'staging' into 'dev'
# Conflicts:
# .gitlab-ci.yml
|
2024-01-13 23:43:03 +00: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 |
|
|
2489fbec59
|
fix: util for calculate cart purchases amount was not multiply price of privilege on amount
|
2023-12-29 21:46:57 +03:00 |
|
|
3fe47bb46f
|
--
|
2023-12-29 19:11:27 +03:00 |
|
|
5fd36ba387
|
--
|
2023-12-29 17:18:50 +03:00 |
|
|
7216828df7
|
--
|
2023-12-29 17:10:03 +03:00 |
|
|
254c05105b
|
Update history.go
|
2023-12-29 13:58:55 +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 |
|
|
8b1a064e26
|
fix name map
|
2023-12-01 12:24:38 +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 |
|
|
721ed64fdc
|
fix: add workaround for custom prices handling
|
2023-11-16 01:46:13 +03:00 |
|
|
dedfe552a5
|
fix: add workaround for custom prices handling
|
2023-11-16 01:40:48 +03:00 |
|
|
780f614aa4
|
debug: add logging for broker
|
2023-11-15 17:17:05 +03:00 |
|
|
1d8a3781e1
|
debug: add logging for broker
|
2023-11-15 17:11:37 +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 |
|
Maxim Dolgushin
|
20f616a36d
|
start new swagger implementation
|
2023-11-05 20:58:41 +07:00 |
|
Maxim Dolgushin
|
a606f318a8
|
remove some interfaces
|
2023-11-05 14:09:50 +07:00 |
|
Maxim Dolgushin
|
5ecadc71dd
|
move GetHistories
|
2023-11-05 13:37:57 +07:00 |
|
|
676f6e1b57
|
fix: set sort of history
|
2023-10-16 16:16:41 +03:00 |
|
|
2d7f02fd49
|
fix: set sort of history
|
2023-10-16 15:12:12 +03:00 |
|
|
d961f14ef5
|
fix: send term to discount service
|
2023-10-03 00:27:56 +03:00 |
|
|
2ad9df6569
|
Update tariff.go
|
2023-09-28 20:56:42 +00:00 |
|
|
c03daca64f
|
Update tariff.go
|
2023-09-28 20:53:01 +00:00 |
|
|
36518ff61d
|
Update tariff.go
|
2023-09-20 20:04:15 +00:00 |
|
|
c63db0165a
|
debug: rewrite discount products to privileges
|
2023-09-20 01:17:55 +03:00 |
|
|
75fe1144e7
|
debug: rewrite discount products to privileges
|
2023-09-20 01:11:11 +03:00 |
|
|
ab557c7b30
|
debug: rewrite discount products to privileges
|
2023-09-20 00:59:16 +03:00 |
|
|
d9761c57b1
|
Update tariff.go
|
2023-09-19 21:43:08 +00:00 |
|
|
5b7b2405aa
|
Update cart.go
|
2023-09-16 21:01:44 +00:00 |
|
|
a783f0d804
|
debug: logging pay process
|
2023-09-15 22:55:39 +03:00 |
|
|
56a2dd1e36
|
fix: remove regexp from dto
|
2023-09-15 02:01:53 +03:00 |
|
|
f1857750fd
|
fix: remove regexp from dto
|
2023-09-15 01:23:20 +03:00 |
|
|
6a50acdee8
|
fix: remove regexp from dto
|
2023-09-15 01:12:25 +03:00 |
|
|
62a9faffbe
|
fix: remove regexp from dto
|
2023-09-15 01:08:35 +03:00 |
|
|
a375aee477
|
fix: remove regexp from dto
|
2023-09-15 01:01:38 +03:00 |
|
|
c172dadf06
|
Update history.go
|
2023-09-14 21:15:47 +00:00 |
|
|
c48718ca51
|
feat: add tariff data for payCard history event
|
2023-09-14 23:02:19 +03:00 |
|
|
9ed0084b72
|
feat: shorter event type constant
|
2023-09-14 22:56:36 +03:00 |
|
kroyzen
|
4f472700e8
|
feat: filter history by type
|
2023-09-14 13:02:32 +03:00 |
|
Kirill
|
f31b22c97d
|
feat: history details
|
2023-09-10 14:54:41 +00:00 |
|
Kirill
|
c6ae1872ef
|
test(e2e): add & pay tariff
|
2023-09-09 22:44:46 +00:00 |
|
|
9a1911f0cb
|
Update tariff.go
|
2023-08-19 17:57:26 +00:00 |
|
|
a117acb306
|
Update tariff.go
|
2023-08-19 17:48:46 +00:00 |
|
|
a9a4cb57d1
|
Update cart.go
|
2023-08-19 14:31:49 +00:00 |
|
|
c38b20ffc0
|
fix: linter
|
2023-08-18 21:43:22 +03:00 |
|
|
f39e5a66f0
|
Update cart.go
|
2023-08-18 16:57:12 +00:00 |
|
|
476f54c2f2
|
Update cart.go
|
2023-08-18 16:45:27 +00:00 |
|
|
f4b39119f1
|
Update cart.go
|
2023-08-18 16:40:07 +00:00 |
|
|
c1e0926d2c
|
Update cart.go
|
2023-08-18 16:28:31 +00:00 |
|
kroyzen
|
5d53e04858
|
feat(broker/tariff): add amount & type
|
2023-08-02 17:22:50 +03:00 |
|
|
394b4222e4
|
fix: govet account service
|
2023-07-25 19:18:54 +03:00 |
|
|
6b9935cb43
|
feat: add default currencies
|
2023-07-25 19:12:51 +03:00 |
|
|
8b4275c245
|
Update 2 files
- /internal/service/wallet/wallet.go
- /internal/service/account/account.go
|
2023-07-25 15:46:40 +00:00 |
|
Kirill
|
091e42f91f
|
test: fix initialize tests
|
2023-07-06 22:17:08 +03:00 |
|
Kirill
|
5409141801
|
feat: env kafka
|
2023-07-06 22:09:12 +03:00 |
|
Kirill
|
c71e158b9c
|
feat: broker
|
2023-07-06 21:50:46 +03:00 |
|
Kirill
|
bea86e2512
|
style: logs
|
2023-07-02 20:09:16 +03:00 |
|
Kirill
|
c3e000d207
|
feat: set access token on get tariffs
|
2023-06-29 16:31:16 +03:00 |
|
Kirill
|
6e156ce3a7
|
ci: fix env hosts
|
2023-06-22 12:32:06 +03:00 |
|
Kirill
|
186d338017
|
test(integration): change account name
|
2023-06-16 13:34:54 +03:00 |
|
Kirill
|
8a74754b9b
|
style: some style fixes
|
2023-06-16 13:14:06 +03:00 |
|
Kirill
|
7b589821e8
|
test(integration): set verification status
|
2023-06-16 12:47:11 +03:00 |
|
Kirill
|
c8f062a175
|
fix: history service deps
|
2023-06-15 19:04:04 +03:00 |
|
Kirill
|
5cab3c5377
|
refactor: echotools error util to errors pkg
|
2023-06-15 19:01:32 +03:00 |
|
Kirill
|
cea2068f7a
|
feat: update account name
|
2023-06-15 19:00:01 +03:00 |
|
Kirill
|
91d372a4f0
|
feat: set account verification status
|
2023-06-15 18:44:53 +03:00 |
|
Kirill
|
e405fed897
|
feat: customer controller & insert history method
|
2023-06-15 16:32:36 +03:00 |
|
Kirill
|
d86b342c29
|
feat: Sanitize models
|
2023-06-15 15:45:38 +03:00 |
|
Kirill
|
4c913b4cfb
|
feat: actualize history model
|
2023-06-15 15:31:34 +03:00 |
|
Kirill
|
fb9d4d62d7
|
fix: nil deps
|
2023-06-14 20:28:43 +03:00 |
|
Kirill
|
d84ff22db4
|
feat: dev env
|
2023-06-14 17:07:19 +03:00 |
|
Kirill
|
d27b09a12c
|
feat: return url on get payment link
|
2023-06-14 11:19:42 +03:00 |
|
Kirill
|
6cc3b49a81
|
fix: errors settype return type
|
2023-06-14 11:04:38 +03:00 |
|
Kirill
|
09f11889a6
|
fix: app run args in modules
|
2023-06-14 01:54:48 +03:00 |
|
Kirill
|
f679de4f5d
|
refactor: errors pkg & tests
|
2023-06-14 01:51:34 +03:00 |
|
Kirill
|
0b83d6f10b
|
feat: grpc server
|
2023-06-14 01:41:33 +03:00 |
|
Kirill
|
9455902e95
|
chore: todo history comment
|
2023-06-14 01:20:40 +03:00 |
|
Kirill
|
7ec428cc48
|
chore: dot end comment
|
2023-06-14 01:19:42 +03:00 |
|
Kirill
|
4ac89ee3c4
|
refactor: wallet deps
|
2023-06-13 22:33:40 +03:00 |
|
Kirill
|
b63d508746
|
feat: remove unused genarate link method from wallet
|
2023-06-13 22:30:53 +03:00 |
|
Kirill
|
bd8fdae583
|
feat: callback
|
2023-06-13 22:20:11 +03:00 |
|
Kirill
|
40b3fb6ff5
|
chore: new env
|
2023-06-13 19:21:20 +03:00 |
|
Kirill
|
de1aced10b
|
feat: payment service initialize
|
2023-06-13 19:09:17 +03:00 |
|
Kirill
|
de9ba0e80c
|
feat: payment service
|
2023-06-13 18:59:04 +03:00 |
|
Kirill
|
91cca28f0c
|
feat(controller/wallet): get payment link
|
2023-06-13 18:02:10 +03:00 |
|
Kirill
|
c89be93c72
|
docs(swagger): return 3.0.1 version
|
2023-06-13 17:01:07 +03:00 |
|
Kirill
|
657db37ff6
|
chore: todo currency validate
|
2023-06-13 15:32:08 +03:00 |
|
Kirill
|
80a0eec3b7
|
feat: payment grpc client
|
2023-06-13 15:19:51 +03:00 |
|
Kirill
|
3fc7a00bc5
|
refactor: replace all interface modules to interface folder
|
2023-06-13 13:42:23 +03:00 |
|
Kirill
|
4e81f89c24
|
refactor: payment system
|
2023-06-01 14:38:53 +03:00 |
|
Kirill
|
1c4bd425d2
|
feat: actualize models
|
2023-06-01 00:28:35 +03:00 |
|
Kirill
|
ef9ad224a1
|
feat: set status
|
2023-05-30 17:12:27 +03:00 |
|
Kirill
|
fe13ff34d3
|
feat: set status
|
2023-05-30 16:38:56 +03:00 |
|
Kirill
|
e330fb4e6b
|
fix: init tests
|
2023-05-30 16:29:04 +03:00 |
|
Kirill
|
500f62e70c
|
feat: stub change account method
|
2023-05-30 16:20:52 +03:00 |
|
Kirill
|
4a7b405232
|
style(utils/tariff): sum
|
2023-05-30 16:08:58 +03:00 |
|
Kirill
|
4731085774
|
feat: not require translate
|
2023-05-30 15:02:32 +03:00 |
|
Kirill
|
0d35c343cc
|
feat: init pay method
|
2023-05-30 14:33:57 +03:00 |
|
Kirill
|
ab0959df6b
|
fix: create history body validate
|
2023-05-24 14:20:35 +03:00 |
|
Kirill
|
aeb9a42265
|
feat: initialize currency client
|
2023-05-23 19:09:06 +03:00 |
|
Kirill
|
8ad36152b1
|
fix: init history services
|
2023-05-23 18:42:22 +03:00 |
|
Kirill
|
8144653db3
|
feat: init history service
|
2023-05-23 18:33:23 +03:00 |
|
Kirill
|
82af0a7945
|
feat: create history
|
2023-05-23 18:24:52 +03:00 |
|
Kirill
|
7aa91c9f67
|
feat: history
|
2023-05-23 13:52:27 +03:00 |
|
Kirill
|
c2274e383b
|
feat(wallet): float64 to int64
|
2023-05-22 19:42:15 +03:00 |
|
Kirill
|
aaf64c8732
|
style: tariff privilege names
|
2023-05-22 15:52:00 +03:00 |
|
Kirill
|
d7b9a2836e
|
feat: translate currency
|
2023-05-22 15:43:15 +03:00 |
|
Kirill
|
eca6e8c087
|
feat(cart): implement hubadmin service
|
2023-05-19 13:22:59 +03:00 |
|
Kirill
|
492345a64a
|
feat(cart): implement hubadmin
|
2023-05-19 12:08:15 +03:00 |
|
Kirill
|
2f6fbbe486
|
feat: init cart modules
|
2023-05-19 10:21:45 +03:00 |
|
Kirill
|
9a6961984c
|
feat(repository/account): add/remove item from cart
|
2023-05-19 10:18:33 +03:00 |
|
Kirill
|
69a5c5cc12
|
feat: cart service
|
2023-05-19 10:09:04 +03:00 |
|
Kirill
|
ced9d0c8e3
|
feat: init cart controller
|
2023-05-19 09:57:36 +03:00 |
|
Kirill
|
c65508e01b
|
fix: export error type
|
2023-05-19 08:25:25 +03:00 |
|
Kirill
|
6391836d30
|
fix: update currencies
|
2023-05-19 08:21:52 +03:00 |
|
Kirill
|
8cc9a028a2
|
fix(service/currency): put
|
2023-05-19 08:00:31 +03:00 |
|
Kirill
|
0cb1d6bb1b
|
test: initialize packages
|
2023-05-19 07:50:40 +03:00 |
|
Kirill
|
de8e8c14e4
|
feat: init currency crud
|
2023-05-18 22:43:43 +03:00 |
|
Kirill
|
a57d1db0ab
|
feat: account crud complete & errors wrapper & security
|
2023-05-18 15:26:37 +03:00 |
|
kroyzen
|
7060ec31f7
|
feat: account crud
|
2023-05-17 23:27:09 +03:00 |
|
gelik
|
8bfd447d46
|
feat: oapi gen
|
2023-05-17 06:39:29 +03:00 |
|
gelik
|
35541bb9a3
|
feat: init lf project
|
2023-05-16 07:01:55 +03:00 |
|
gelik
|
9526f3e32f
|
feat:init project
|
2023-05-16 04:12:34 +03:00 |
|