Commit Graph

209 Commits

Author SHA1 Message Date
Dmitry Manik
0abdda2e76
Epic: Subscriptions 2 (#250) 2017-11-22 13:21:20 +03:00
Evgeny Levenets
8271b2e389 DC-51: penetrate invoice cart into invoice template (#248) 2017-10-25 15:44:15 +03:00
Dmitry Manik
478235a1bd HG-231: Introduce subscriptions (#163) (#205) 2017-10-23 15:00:48 +03:00
Natalia Pulina
50a6930a2a HG-280: Introduce compute terms for invoice templating (#242) 2017-10-02 19:42:13 +04:00
Andrew Mayorov
23b50e4c46 HG-264: Allow proxies ask for a payment state with a callback tag (#221) (#238)
* HG-264: Bump to rbkmoney/image-build@317d286

* HG-264: Allow proxies ask for a payment state with callback tags

* HG-264: Supply suspend tag with session changes
2017-09-28 19:21:55 +03:00
Natalia Pulina
01ba0fd72f DC-52: add interface for getting computed payment terms (#225) (#233)
* add interface for getting computed payment terms
* use short names for ContractID & ShopID
2017-09-27 16:47:14 +04:00
Pavel Popov
52cb315963 Fix naming in payout proc proto (#228) 2017-09-22 18:46:40 +03:00
Evgeny Levenets
c49c94f171 CAPI-185: make card holder name optional to match swag (#227) 2017-09-22 13:11:44 +03:00
Andrew Mayorov
65cff9f2dc HG-58: List insufficient funds as why refund may fail (#226) 2017-09-21 10:18:01 +03:00
Pavel Popov
3954a8daa6 add legal agreement (#224) 2017-09-15 14:09:47 +03:00
Andrew Mayorov
2223cc606c Make status reasons optional in claims (#223) 2017-09-14 15:59:29 +03:00
Natalia Pulina
b95308d8c8 HG-267: sequences.thrift removed (#222) 2017-09-13 16:51:39 +04:00
Alexey Semenkov
49773b2cc3 HG-58: Allow to refund payment (#210)
* HG-227: Introduce basic payment refunds (#158)

* HG-229: Move moving state parts out (#193)

* MST-112: Add refund status in stat proto (#206)

* HOOK-34: Introduce refunds (#203)

* HG-229: Introduce refund terms (#200)

* HG-229: Make provision terms much more strict (#211)

* HG-262: Use yet unallocated tag for the redesigned holds terms (#219)
2017-09-12 12:36:42 +03:00
Pavel Popov
7ed79bd238 MST-115: Terminal payout tool (#218) 2017-09-06 19:00:36 +03:00
Alexey Semenkov
c4fcf1f96c add amount to payout (#217)
* add amount
2017-09-06 17:37:00 +03:00
Pavel Popov
427459a2aa MST-106: Payouts (#188)
* MST-106: Payouts

* Add proto to erlang release

* MST-106: Fix field sequence

* MST-106: Rename payout type fields

* MST-106: Payout proto improvements (#201)

* MST-106: Add bank card data

* PayoutType -> PayoutTool (#204)

* Align fields nameing between merch_stat and domain (#214)

* SHT-89: get payout info for PAPI (#215)

* SHT-89: get payout info for PAPI
* SHT-89: removed pay2card interface
2017-09-04 18:40:55 +03:00
Alexey Semenkov
44afec3edc HG-237: Introduce hold payments (#209)
* HG-233: Support of holds added (#159)

* HG-236: InvalidOperation ex added (#165)

* HG-236: InvalidPartyStatus, InvalidShopStatus -> CapturePayment, CancelPayment (#167)

* MST-111: holds in mst (#181)

* HG-255: Selector for holds (#207)
2017-08-29 18:51:12 +03:00
Evgeny Levenets
07c5f5c6f7 PIMP-6: fix damsel to prepare for PIMP removal (#208) 2017-08-25 16:50:32 +03:00
Pavel Popov
c23a0b1bac MST-113: Add invoice cart (#202)
* MST-113: Add invoice cart

* MST-113: switch to old field sequence
2017-08-21 15:47:44 +03:00
Evgeny Levenets
74a89b78d3 CAPI-176: fix payment terminal routing (#198) 2017-08-17 14:53:40 +03:00
Natalia Pulina
726d88c2dc HG-249: Introduce seq service (#196) 2017-08-16 18:36:25 +04:00
Alexey Semenkov
1519af6daa Terminal api (pimporter) BJ-177
add domain terminal service
add importer service
2017-08-11 12:01:10 +03:00
Evgeny Levenets
a282232e79 HG-232: add fatal risk score (#191) 2017-08-10 11:43:26 +03:00
Kirill Konanykhin
7aaee14722 SHT-73: Payout processing (pay to card) (#185)
* SHT-73: Payout processing (pay to card)
2017-08-09 16:48:55 +03:00
Andrew Mayorov
23363bdb87 Provide means for a proxy to keep session suspended (#190) 2017-08-09 16:08:39 +03:00
Pavel Popov
d0f6d1e435 BJ-204: Reporting imrovements (#189)
* BJ-204: signatures without maps

* BJ-204: Change arguments in getReport method

* BJ-204: now signature is required
2017-08-09 15:07:22 +03:00
Pavel Popov
15c19463eb Fix: revert payouts in mst (#187)
* Revert "MST-106: Fixes in payout proto (#183)"

This reverts commit b9f872f3b1.

* Revert "MST-106: Payouts (#180)"

This reverts commit 3dcaaa8a05.
2017-08-08 12:35:17 +03:00
Andrew Mayorov
7a3d0b3ff9 BJ-201: Require suspend timeout to be set explicitly (#186) 2017-08-04 11:47:17 +03:00
Evgeny Levenets
8c432f7f76 HG-246: add better support for 54FL (#184)
* add metadata to Party
* add interface for PartyMeta modification
* add cart with lines to invoice
2017-08-03 13:48:31 +03:00
Pavel Popov
b9f872f3b1 MST-106: Fixes in payout proto (#183) 2017-08-03 11:28:05 +03:00
Vladimir Pankrashkin
1a79ed66f6 BM-39: Add payout EventSink to BM (#182) 2017-08-01 16:57:59 +03:00
Pavel Popov
3dcaaa8a05 MST-106: Payouts (#180) 2017-08-01 16:06:29 +03:00
Kirill Konanykhin
8b7b62dccc SHT-72: payout processing event sink (#179) 2017-08-01 15:30:18 +03:00
Pavel Popov
a221d43890 BJ-204: Reporting protocol improvements (#178) 2017-08-01 15:11:09 +03:00
Anton Belyaev
2b2e351ed4 Introduce invoice templates (#166)
* Introduce invoice templates
* Fix Jenkinsfile
2017-07-26 13:32:38 +03:00
Evgeny Levenets
95b03f2a96 HG-244: added PartyID and InvoiceDetails for inspector proxy (#175) 2017-07-26 13:07:03 +03:00
Yevgeniy Poluektov
5f52d21317 add actor_id (#176)
https://rbkmoney.atlassian.net/browse/P2C-2
2017-07-26 12:29:19 +03:00
Yevgeniy Poluektov
c6fdb151ad add masked card number to TransferResult (#174) 2017-07-25 12:44:22 +03:00
Pavel Popov
eafc5b8ea5 BJ-193: Reports (#169)
* BJ-193: Reports

* BJ-193: Add GenerateReport method

* BJ-193: Add report_type

* BJ-193: Change generateReport method to regenerateMethod.

* BJ-193: Add docs and new methods

* BJ-193: expiration -> expired_at

* BJ-193: Remove regenerateReport method

* BJ-193: Review fixes

* BJ-193: Add getReportProcessingStatusById method

* BJ-193: Fixes

* BJ-193: Add created_at

* BJ-193: Remove todo items, remove ReportResponse struct

* BJ-193: add newline at end of file

* BJ-193: Another review fixes

* BJ-193: Add doc for errors

* BJ-193: Add report types

* BJ-193: Add report_type in report struct

* BJ-193: Review fixes

* BJ-193: Remove last semicolon

* BJ-193: Add filtering by report_type in getReports method

* BJ-193: Add InvalidRequest in GeneratePresignedUrl method

* BJ-193: expires_at -> expires_at
2017-07-24 18:26:27 +03:00
Pavel Popov
a82c7d7e4d MST-104: Add error classes (#172)
* MST-104: Add error classes
2017-07-20 16:16:28 +03:00
Alexey Semenkov
4a08335162 add claim to claim create response (#170) 2017-07-18 16:20:26 +03:00
Alexey Semenkov
b665c89c83 HG-192: Introduce multiclaims (#131)
* DC-23: changed PartyManagement interface to claims (#122)

* DC-23: changed PartyManagement interface to work with claims as primary editing method

DC-25: changed PartyChangeset to match with new interface (DC-23)
Moved ShopLocation to Shop level

* added ContractExpiered status and creation timestamp

* changed contracts & shops IDs types from Int to String

* extracted ShopUpdate fields to ShopModification level

* added InvalidChangeset exception

* Claim effects added (v0.1)

* Claim effects v1.0

* Claim effects v1.1

added created_at in all party objects

* Added ShopProxyChanged effect produced by ProxyModification changeset

* added ClaimUpdated event and ClaimRevision property

* added revision check to AcceptClaim

* added revision to deny/revoke methods for uniformity

* added ShopContractChanged to make one-to-one relations beetween change & effect

* Category is back to ShopParams as optional field

* AcceptClaim can throw InvalidChangeset exception

* Added AnonymousEntity to fulfill contract creation requirements

* Renamed AninymousEntity to RegisteredUser

* Added PayoutToolType to distinguish test and live payout tools

* Removed payout tool type due to redundancy

* Added PayoutToolPrototype to incapsulate test payout tool params

* Walker2 API (#125)

* Walker 2 api
new Methods for 
CRUD operations fro Claims, Comments and history(Actions)
WALK-20

* rename to wc_deploy

* add deploy_epic_nexus to list

* fix make cmd

* fixed suspension naming

* elastico interface

get end search party methods
Ft/walk 27/elastico (#133)

* Syncronize walker and payment processing thrifts

* WALK-27: Bump to rbkmoney/image-build@efd28e5 (#138)

* DC-27: added timestamp and revision to claim related events

* DC-27: added updated timestamp to claim

Added timestamp to blocking/suspension statuses (party & shop) for same reason.

* DC-27: removed unnecessary timestamp from accepted status (#143)

* Added missed InvalidContractStatus exception (#144)

* Removed timestamp from ContractTermination changeset

rebased to newest master

* jenkins pr crutch

* update walker 2 interface

* fix signature

* replace strings

* add update and create date

* Event batching v0.1 (obvious one) (#160)

* HG-227: Publish formerly internal events (#161)

* HG-227: Streamline event payload definitions

* HG-227: Publish formerly internal events

* HG-227: Introduce session-level result

* HG-227: Start classifying operation failures

* HG-227: Differentiate between domain and payproc invoicing models

* HG-227: Strip domain models further

* HG-227: Make risk score, route and cash flow required

* HG-227: Give shop location back to proxies (#164)
2017-07-17 13:21:41 +03:00
Yevgeniy Poluektov
b97a4ac43f signer zero api (#168)
https://rbkmoney.atlassian.net/browse/EDS-1
2017-07-14 16:38:07 +03:00
Yevgeniy Poluektov
74582f9eaf add pay2card interface (https://rbkmoney.atlassian.net/browse/SHT-64) 2017-07-06 19:37:03 +03:00
Natalia Pulina
cff31396e6 OperationConflict updated with Conflict (#156)
* DC-39: OperationConflict updated with Conflict

* DC-39: ObjectsNotExistConflict added to OperationConflict, HeadMismatchConflict represented as separate ex

* DC-39: ObsoleteCommitVersion instead of HeadMismatch
2017-06-28 18:22:03 +03:00
Natalia Pulina
c32914f952 CAPI-146: Remove proxy_merch_config.thrift (#150) 2017-06-21 11:44:13 +03:00
Evgeny Levenets
f0627b8750 HG-218: added specific exception to Checkout with bad timestamp (#154) 2017-06-16 18:38:35 +03:00
Evgeny Levenets
05017566dc HG-218: added Checkout(timestamp) interface in PartyManagement (#152) 2017-06-16 14:59:04 +03:00
Alexey Semenkov
206aa02809 add canceled status sht-65 2017-06-16 12:30:51 +03:00
Andrew Mayorov
874759043e HG-195: Introduce payment adjustments (#148)
* HG-195: Simplify create flow in payproc

* HG-195: Introduce payment adjustments

* HG-195: Disallow more than one pending adjustment

* HG-195: Add reason to the payment adjustment

* HG-195: Sprinkle over some comments

* HG-195: Include cash flow diff

* HG-196: Fix according to complaints
2017-06-15 19:24:35 +03:00
Yevgeniy Poluektov
cddae9f9fe remove abs (#149)
https://rbkmoney.atlassian.net/browse/SHT-53
2017-06-02 12:45:46 +03:00
Evgeny Levenets
cffd00b4ca DC-40: added name and description to ContractTemplate and TermSetHierarchy (#147) 2017-05-24 12:41:15 +03:00
Pavel Popov
e8c5cc5556 MST-87: own invoice and payment models (#146)
* MST-87: Switch domain invoice and payment models to own model

* MST-87: Copy and paste domain models

* MST-87: PaymentSession -> PaymentSessionID

* MST-87: More linear invoice, Context -> base.Content
2017-05-23 18:14:41 +04:00
Yevgeniy Poluektov
b77efa50d8 https://rbkmoney.atlassian.net/browse/SHT-25 (#145)
* https://rbkmoney.atlassian.net/browse/SHT-25
2017-05-05 16:53:55 +03:00
Inal Arsanukaev
4018c4162f fix webhooker.thrift (#142) 2017-04-19 18:36:45 +03:00
Inal Arsanukaev
e12385baf8 HOOK-12: Improve filter granulation (#141) 2017-04-17 16:21:21 +03:00
Inal Arsanukaev
a7ec53fa13 Changed webhookId type (#139)
* Changed webhookId type

* Fix type name
2017-04-12 17:28:12 +03:00
Yevgeniy Poluektov
c6acf675ba add enabled flag to webhook (#137)
* add enabled flag to webhook

* refactor
2017-04-11 15:07:49 +03:00
Yevgeniy Poluektov
f4dadb7e2e refactor (#136) 2017-04-10 18:46:28 +03:00
Petr Kozorezov
b0fde8d7cb MG-88: add a function for machine deleting (#134) 2017-04-10 14:29:00 +03:00
Petr Kozorezov
041b701c5f MG-85: add ability to set a history range and a timeout to a timer handler (#132) 2017-04-03 15:08:01 +03:00
Inal Arsanukaev
f4a87ead1e HOOK-1: webhooks interface (#129)
* HOOK-1: webhooks interface

* renamed file and some definitions

* Fixed after comments

* microfix

* microfix2

* microfix3

* added get method
2017-04-03 14:17:05 +03:00
Petr Kozorezov
792cfe469d MG-85: update state processing protocol for explicit timers unsetting (#130) 2017-03-31 16:06:06 +03:00
Petr Kozorezov
d0c4a0602c MG-66: replace binary type with msgpack.Value (opaque) in Automaton (#119) 2017-03-29 14:18:26 +03:00
Vladimir Pankrashkin
0cd0588bbd MST-55: fixed null pointer case for unknown geoid (#127)
* MST-55:  fixed null pointer case for unknown geoid

* MST-55:  review fixes
2017-03-17 18:38:34 +03:00
Evgeny Levenets
07b0898a7b DC-21: change 'category' param to optional at shop creation (#120) 2017-03-06 14:27:08 +03:00
Andrew Mayorov
9ec1a2ec70 HG-170: Expand exception interface in the invoicing service (#121) 2017-03-03 20:24:31 +03:00
Anatoly Cherkasov
fb2f17e1f7 PROX-51: payment renamed payment_info (#118) 2017-02-27 16:48:25 +03:00
Andrew Mayorov
27bc11c3d3 HG-154: Fix inspector selector to use list of decision (#116) 2017-02-03 16:16:37 +03:00
Alexey Semenkov
a603319d4b Обновил shitter api (#115)
* + update status
+ add some more fields for payments

* + rename new to created

* + rename ids

* + rename comment
2017-02-01 19:17:04 +03:00
Andrew Mayorov
4e4e214f52 HG-152: Allow to set up proxy while creating a shop (#114) 2017-02-01 16:22:27 +03:00
Andrew Mayorov
61701d2290 Stuff a couple of hacks in (#113)
* HG-153: Provider transport options for proxies

* HG-151: Provide selector as a means to choose an inspector

* HG-151: Provide the cost range condition

* HG-138: Introduce party related conditions

* Revert "HG-153: Provider transport options for proxies"

This reverts commit e0a541bc18efcef30cafd735a38584ee0df8e08e.

* HG-138: Provide const predicate to ease w/ construction catch-all decisions
2017-02-01 13:38:33 +03:00
Alexey Semenkov
bc7d54b356 Внешний интерфейс shitter-а (#108)
add shitter api for PAPI
2017-01-20 12:50:31 +03:00
Evgeny Levenets
7687bb8de3 DC-15: party management improvements and various fixes (#110) 2017-01-20 12:16:31 +03:00
Alexey Semenkov
f466defc0e Поля необходимые для выплат
+ payoutAccountID
+ abs_account
2017-01-19 16:32:22 +03:00
Andrew Mayorov
c05205983f HG-149: Stuff some party contact info in (#107) 2017-01-17 16:12:35 +03:00
Andrew Mayorov
91298f7e6d HG-131: Provide merchant proxy binding facility (#105)
* HG-131: Provide merchant proxy binding facility

* HG-131: Make a crutch for the capi to know what merchant proxy to use
2017-01-13 17:24:47 +03:00
Evgeny Levenets
7352d74536 HG-129: added user type for security checks in HG (#104) 2017-01-13 14:44:56 +03:00
Andrew Mayorov
737d7a0cf5 HG-130: Fix whoopsies (#102)
* HG-130: Fix whoopsies

* HG-130: Make exception name in line with the function names
2017-01-11 17:33:44 +03:00
Artem Ocheredko
2c4d1a4cce PROX-40 Add invalid request exception for better convenience (#103) 2016-12-27 13:05:43 +03:00
Artem Ocheredko
2b2e19e73b PROX-40 Add missed invoice info and context (#100)
* PROX-40 Add missed invoice info and context

* PROX-40 Add postreview fixes
2016-12-27 11:55:26 +03:00
Petr Kozorezov
d202ee8668 MG-30: add machine failed exception to automaton:start (#101) 2016-12-21 21:02:35 +04:00
Andrew Mayorov
db8eaf9479 HG-118: Design merchant proxy interface (#99)
* HG-118: Rename `InvoiceInfo` into `InvoiceDetails`

* HG-118: Sketch up a merchant proxy interface

* HG-118: Strip off invoice status dramatically

* HG-118: Fix a couple of issues
2016-12-21 15:53:12 +03:00
Andrew Mayorov
74233c7378 HG-115: Strictly identify cash flow accounts in a graph (#95)
* HG-115: Strictly identify cash flow accounts in a graph

* HG-115: Fix review issues

 * Further specify final cash flow to exclude the possibility of ambiguity
 * Use the `Cash` term everywhere instead of ambiguous `Amount`

* HG-115: Fix merge issues

* HG-115: Remove excessive constructs
2016-12-14 14:09:57 +03:00
Inal Arsanukaev
2903ab2540 PROX-25: Merchant proxy interface (#98)
* PROX-25: Merchant proxy interface (#98)

* PROX-25: fixed syntax bug

* PROX-25: fixed syntax bug. v.2

* PROX-25: fixed syntax bug. v.3

* change secrets to string

* PROX-25: Renamed thrift file, fixed camelcase, removed interface for HG

* PROX-25: created new file with interface for HG

* PROX-25: renamed method, added context param to sendCallback method

* PROX-25: removed unused struct

* PROX-25: added exception for createOptions

* Added exception to renderOptions

* Deleted proxy_merch.thrift, camelCase fixed to PascalCase
2016-12-14 13:49:07 +03:00
Andrew Mayorov
5e569fcaaa HG-116: Fix a couple of consistency and clarity issues (#97)
* HG-116: Fix a couple of consistency and clarity issues

* HG-116: Introduce JSON-like type

* HG-116: Fix JSON types and introduce msgpack types

* HG-116: Remove the notion of schema revision

* HG-116: Introduce invoice info, better term needed

* HG-116: Rename `SmthPredicate` -> `SmthDecision`

* HG-116: Add missing namespace declarations

* HG-116: Try to get rid of keyword conflicts

* HG-116: Mention missing support for extreme floats
2016-12-13 20:23:13 +03:00
Evgeny Levenets
bfed187f41 Added test and default contract templates to Globals (#96)
* added test and default contract templates to Globals
* made contract template optional at contract creation
2016-12-12 19:12:03 +03:00
Evgeny Levenets
0a1a4b00cc HG-114: added resident legal entity data required for contract creation (#94) 2016-12-09 18:01:35 +03:00
Artem Ocheredko
6ab8146009 HG-109 Add basic inspector proxy and minor refactoring (#92)
* HG-109 Add basic inspector proxy and minor refactoring. Add terminal selection based of risk scores
2016-12-09 16:03:31 +03:00
Evgeny Levenets
0992e40416 HG-91: contract belongs to party (#91)
* contract belongs to party and shop must be linked with contract upon creation
* one payout account, dumb selectors for currency and category

* Last fix
2016-12-09 15:05:35 +03:00
Yevgeniy Poluektov
bdd9d65731 wrapper for typedef (#93) 2016-12-08 12:46:35 +03:00
Yevgeniy Poluektov
35f80437ef MST-34 Интеграция магисты с колубусом (#89)
магиста теперь отдает айдишники гео объектов вместо их названия, название можно получить используя колумбус в зависимости от требуемого языка на фронте
2016-11-24 13:08:10 +04:00
Artem Ocheredko
1006c962af HG-73 Initial preauth proxy (#87)
* HG-73 Add preauth proxy protocol
2016-11-18 16:54:41 +03:00
Petr Kozorezov
65aa80fc4e MG-21: доработки протокола MG (#84)
* MG-21: add history range to call and repair

* MG-21: add mochine id and namespace to process function

* MG-21: fix review comments

* MG-21: update description for history

* MG-21: move history range from history to machine
2016-11-16 19:32:51 +04:00
Inal Arsanukaev
1a75cdbc91 DUD-5: API for dudoser (#86)
* DUD-5: API for dudoser

* hotfix

* hotfixes-2

* hotfixes-3

* hotfixes-4

* hotfixes-5

* hotfixes-6

* hotfixes-6

* hotfixes-7

* Fixed after discussion

* hotfix-8

* hotfix-9

* hotfix-9

* Fixed after comments

* Fixed after comments. v2

* Fixed spaces

* Fixed after comments-14

* Fixed after comments-15
2016-11-16 18:20:37 +03:00
Vladimir Pankrashkin
815f75e0e5 SHMW-10: accounter interface changes (#85)
* SHMW-10: accounter interface changes

* SHMW-10:  review fixes
2016-11-16 12:36:31 +03:00
Petr Kozorezov
d0a19187a2 MG-19: add a status field to the machine (#72)
MG-19: add an аux state field to the machine
2016-10-31 16:38:02 +04:00
Yevgeniy Poluektov
98f7db3101 remove unused exception type (#83) 2016-10-28 12:48:20 +04:00
Yevgeniy Poluektov
a8be468fad Columbus api enhancement (#82)
add geo id unlnown
add batch method for ip resolving
edit method description
add build status icon
add InvalidRequest to all methods
2016-10-27 16:56:34 +04:00
Alexey Semenkov
557f5493cf Columbus Api Update (#80)
+ add new geoId method
+ update fields
2016-10-24 15:12:25 +04:00