Commit Graph

463 Commits

Author SHA1 Message Date
Andrey Fadeev
edf8e47d78
Add indexes to domain.Residence enum (#456) 2019-07-02 12:46:01 +03:00
Boris
291a6ed902
PROXY-322 mobile commerce, suspend add timeout behaviour (#453)
add mobile commerce, suspend timeout behaviour
2019-07-01 13:50:00 +03:00
Alexey
25232b2bdb
HG-458: New adjustment status, refund error class, optional trx_info for RefundCreated evt (#451) 2019-06-28 14:14:00 +03:00
Артем
47767ae734
FF-93: FIX - Get rate point (#455)
* changed to get rate point instead of rate table

* minor
2019-06-28 12:12:39 +03:00
Артем
1a88905f44
FF-93: Hold/capture withdrawal (#449)
* added hold/capture withdrawal

* fixed

* added 2 vars - simple and table

* fixed

* fixed

* minor

* fixed

* minor
2019-06-26 16:22:43 +03:00
Andrey Fadeev
2f1a27c60e
HG-472 Try to inject priority field into exists TerminalRef (#439) 2019-06-24 16:45:43 +03:00
a.romanov
0b8b408b91
BJ-502 Add access token to digital wallet struct (#450)
* BJ-502 Add access token to digital wallet struct

* Code review fix
2019-06-20 17:34:58 +03:00
Roman Pushkov
e8ad32f418
add TransactionData to StatPayment (#448) 2019-06-14 11:20:10 +03:00
Roman Pushkov
d99319c1db
HG-477: Allow provider fee selection by terminal (#447)
* add terminal_is condition, remove terms from terminal

* deprecate terms in Terminal instead of deleting

* revert, make payment provision terms fields optional
2019-05-30 14:07:59 +03:00
Pospolita Nikita
70373bd27b
dark merch stats added (#446)
* dark merch stats added

* review fix

* review fix
2019-05-24 15:34:44 +03:00
Roman Pushkov
cb98b8ab1a
Revert "HG-477: Allow provider fee selection by terminal (#441)" (#444)
This reverts commit 62f34cecd7.
2019-05-22 13:26:49 +03:00
Pavel Popov
26d842ae5b
Add crypto currency in PaymentToolCondition (#443)
* Add crypto currency in PaymentToolCondition

* Review fixes
2019-05-21 17:21:25 +03:00
Andrew Mayorov
b065cb3d7b
Expose transition validation flag in repair params (#442) 2019-05-20 15:31:30 +03:00
Roman Pushkov
62f34cecd7
HG-477: Allow provider fee selection by terminal (#441)
* add terminal_is to conditions

* remove payment provision terms from terminal
2019-05-20 12:15:17 +03:00
Anatolii Karlov
f64ac93818
BJ-445: add crypto currency transfer request user iteraction (#436) 2019-05-17 18:13:45 +03:00
Артем
b2bd59b4e5
DC-98: Shop cart to payment and refund (#427)
* added shop cart to payment and refund

* added cart to merch stat

* on the way to deleting capture new

* saved cart only in capture status, not payment

* fix
2019-05-17 12:07:25 +03:00
Anatoly Cherkasov
ff13e2313d
PROX-295: add ewallet (#440)
* PROX-295: add crypto wallet
2019-05-15 13:44:12 +03:00
Pavel Popov
1ea3e7476f
Full invoices and payments (#438)
* Full invoices and payments

* Refactored structure

* fix review

* fix review
2019-05-13 18:12:51 +03:00
Andrew Mayorov
3883e6a0be
Allow to define payment context through params (#437) 2019-04-30 17:43:41 +03:00
ndiezel0
02be09ec89
CDS-71: Redone Keyring (#435)
* CDS-76: Change rotate to use keyshare (#413)

* CDS-76: Change rotate to use keyshare

* CDS-76: Add extra exceptions (#414)

* CDS-75: Keyring init (#415)

* CDS-75: Change Keyring.Init and add Keyring.Validate

* CDS-75: fixed missed exception

* CDS-75: add exception for double init and method to cancel it

* CDS-75: Rename `Init` to `StartInit`

Co-Authored-By: ndiezel0 <ndiezel0@gmail.com>

* CDS-75: introduce InvalidStatus exception, remove PublicKey and refactor

* CDS-75: fix typos and add comment

* CDS-75: void instead of Success

Co-Authored-By: ndiezel0 <ndiezel0@gmail.com>

* CDS-75: add Unlocked/Locked and OperationAborted

* CDS-75: add OperationAborted to relevant methods

* CDS-75: change relevant methods to use InvalidStatus

* CDS-75: add comments to `EncryptedMasterKeyShare`

* CDS-75: divide Status into Status and Activity

* CDS-75: changes due to realization

* CDS-75: add InvalidActivity exception to ValidateInit (#417)

* CDS-75: fix Status typo (#418)

* CDS-75: Add ShareholderId to all MasterKeyShare methods (#420)

* CDS-75: Add ShareholderId to all MasterKeyShare methods

* CDS-75: added missing ValidateInit

* CDS-75: Add VerificationFailed exception (#421)

* CDS-76: Refactor Unlock and Rotate to be similar to Init (#423)

* CDS-76: Add missing Activity enums (#424)

*  CDS-25: Add methods for re-keying (#419)

* CDS-25: Add methods for re-initialization

* CDS-25: add relevant comments

* CDS-25: change to rekey and make GetState universal

* CDS-25: rename `StartReKey` to `StartRekey`

Co-Authored-By: ndiezel0 <ndiezel0@gmail.com>

* CDS-25: change GetShate to GetStates to get all states

* CDS-25: Add detailed status

* CDS-25: use ShareholderId instead

* CDS-25: typo fix

* CDS-25: rename GetStates tp GetState

Co-Authored-By: ndiezel0 <ndiezel0@gmail.com>

* CDS-25: typos fixes

* CDS-25: add requiredness and make ShareSubmitters a map

* CDS-25: Add missing params and exception (#429)

* CDS-84: Make lifetime optional (#432)

* CDS-71: fix typo

* CDS-71: rename SignedMasterKeyShare and clarify what is confirm and validate

* CDS-71: clarification that SignedMasterKeyShare is JWS
2019-04-26 18:54:35 +03:00
Sergey Elin
71ae936f38
HG-471: Added type NoRouteFoundFailure for PaymentFailure (#434) 2019-04-25 10:23:08 +03:00
Anatoly Cherkasov
ef27dd7a0d
BJ-429: ThreeDsVerificaion -> ThreeDsVerification (#431) 2019-04-19 13:08:52 +03:00
Anatoly Cherkasov
1ca5bcd53f
BJ-429: add additional trx info (#430)
* BJ-429: add additional trx info
2019-04-16 17:55:27 +03:00
Sergei
c40c89d653
CDS-83: add PutCard and PutSession methods to cds storage service (#426)
Revert changes made in #425
2019-04-11 17:28:28 +03:00
Sergei
45dc92c870
CDS-83: add IdempotencyKeyConflict exception to PutCardData method (#425) 2019-04-10 20:23:55 +03:00
Sergei
dcf42cc135
CDS-83: add params arg with idempotency_key field to PutCardData method (#422) 2019-04-10 15:49:38 +03:00
Sergei
e51512a536
CAPI-340 Invoice idempotency (#416)
* Add external_id to InvoiceParams, InvoiceWithTemplateParams, InvoicePaymentParams
* Add external_id to  Invoice and InvoicePayment structs
* Add invoice id to InvoiceParams and InvoiceWithTemplateParams
* Add payment id to InvoicePaymentParams
2019-04-02 18:38:22 +03:00
Alexey
27b28aa4be
HG-461: Manual refund handle (#410) 2019-02-25 12:04:22 +03:00
Andrew Mayorov
3866369025
Allow to redefine action upon adhoc repair (#411) 2019-02-22 18:08:13 +03:00
Артем
aab11dfa2d
DC-115: Partial capture permit (#407) 2019-02-22 11:05:25 +03:00
Anatolii Karlov
93d3665e38
PAYOUT-112: add type in payout search request (#408)
* PAYOUT-112: add type in payout search request

* PAYOUT-112: fix enum title

* PAYOUT-112: fix
2019-02-21 15:41:14 +03:00
Артем
101572eb51
DC-113: Empty cvv (#406) 2019-02-19 12:07:27 +03:00
Артем
3abdcb4788
added capture struct (#404) 2019-02-01 13:45:02 +03:00
Evgeny Levenets
18abfb502e
DC-104: rename 'PayoutProviders' to 'WithdrawalProviders' (#403)
for consistency
2019-01-30 15:37:51 +03:00
Alexey
9914f719bf
DC-111: Add subagent to SystemAccount (#402) 2019-01-29 12:57:21 +03:00
Артем
fa8b44506d
DC-110: Partial capture (#401) 2019-01-28 13:52:37 +03:00
Артем
c01bded319
DC-107: Partial capture (#400) 2019-01-24 16:02:48 +03:00
Kostya
741a2a1efa
BJ-348 Add new method for service geo location (#399)
* Add new method for service geo location
2019-01-10 18:33:19 +03:00
Evgeny Levenets
1c28959c1a
DC-104: add payout providers (#398) 2018-12-26 20:27:44 +03:00
Pavel Popov
0fca200469
Extended changes for wallet payouts (#397)
* Extended changes for wallet payouts

* params -> shop_params

* Add amount in payout

* Add fee in payout

* Small refactor

* Review changes

* Add wallet type in magista
2018-12-24 16:36:42 +03:00
Pavel Popov
f11097581e
Wallet payouts (#395)
* Wallet payouts

* Add payout id in params

* Add metadata

* Add InvalidPayoutTool exception

* Cleanup

* Add Get method

* Add InsufficientFunds exception
2018-12-12 12:12:33 +03:00
Артем
de069ae8e6
DC-105: Wallet payout tool (#394) 2018-12-10 14:00:35 +03:00
Артем
45c8524d34
added optional sequence to event struct (#392) (#393) 2018-11-12 15:27:03 +03:00
Pavel Popov
5711f534bd
Payment domain revision in merch stat (#387) 2018-10-23 13:52:43 +03:00
Артем
71f152f5ce
HG-439: Invoice repair handle (#390) 2018-10-18 12:45:47 +03:00
Andrey Fadeev
192ba019f0
FF-7 Add more wallet accounts to cash flow and more vars to terms (#389)
* Add more wallet accounts to cash flow
* Add varset to terms retrival method argruments
* Remove obsolete wallet cash_flow names
2018-10-15 15:49:08 +03:00
Alexey
e044dd7fd9
DC-102: Improve compatibility (#391) 2018-10-12 16:24:58 +03:00
Alexey
970089c2b3
DC-102: Add Bank object to domain (#388) 2018-10-11 11:50:58 +03:00
Evgeny Levenets
8235b6f6df
HG-392: add primitive fistful limits (#385) 2018-10-04 18:07:15 +03:00
Alexey
9dd2741a3c
DC-102: Add Residence to BankCardConditionDefinition (#384) 2018-10-04 12:30:40 +03:00
Andrew Mayorov
4c78d0d545
HG-411: Add some exceptions w/ invalid status for refund operation (#383) 2018-10-02 16:35:41 +03:00
Pavel Popov
7b81c1576a
Fix in merch stat proto (#382)
* Fix in merch stat proto

* Add payment tool and contact info in customer payer
2018-10-01 20:03:37 +03:00
Alexey
1351a0ce70
CAPI-304: add metadata to bankcard (#381) 2018-09-27 17:27:52 +03:00
Alexey
f532ed0520
CAPI-304: Add additional fields to domainBankCard to handle binbase data (#380)
* Add additional fields to handle binbase data

* these fields should be optional

* reorder fields back

* renaming for clarity
2018-09-27 12:12:43 +03:00
Evgeny Levenets
2afe121230 DC-96: direct recurrents (via first payment) (#359) 2018-09-26 14:55:10 +03:00
Andrew Mayorov
4a5f2393f9
Drop stateproc proto altogether (#378) 2018-09-20 13:48:34 +03:00
Артем
c02205395c
Get party revision function (#377) 2018-09-18 14:59:25 +03:00
Andrey Fadeev
ed3116fd7e
HG-424 Add customer binding start timestamp (#375) 2018-09-17 18:30:11 +03:00
Andrey Fadeev
9f238cee7a
HG-422 Party revision to various payment structures (#372)
* Try to add party_revision to recurrent payment tool
* Add party_revision to refund and adjustment
2018-09-17 16:18:37 +03:00
Anton Belyaev
84344a32c0
Align international bank acc in merchstat (#374) 2018-09-16 22:03:51 +03:00
Anton Belyaev
ba0c901c52
HG-396: Payout tool related updates (#368)
* Add PayoutToolInfoChanged effect
* Discard redundant backward compatibility
2018-09-13 17:50:10 +03:00
Andrew Mayorov
4529702db5
Generalize the notion of InternationalBankAccount (#358)
* Drop local bank code from InternationalBankAccount
* Unify bank accounts + make it possible to modify them
2018-08-31 19:53:40 +03:00
Evgeny Levenets
01a0ab11f0
DC-97: add limit to 'Pull' function in domain config (#360) 2018-08-28 16:20:41 +03:00
Andrey Fadeev
f780cf7c2e
HG-386 Remove wallet management methods from party management (#356) 2018-08-22 00:19:27 +03:00
Andrey Fadeev
abda90bd81
HG-250 Add fallback risk scoring to inspector config (#354) 2018-08-02 13:53:49 +03:00
Andrey Fadeev
807e01b757
HG-250 Add payment failyre reasons caused by routing (#352) 2018-07-26 15:45:38 +03:00
Evgeny Levenets
1f07d422cf
Add some details to InvalidCardData exception (#350) 2018-07-25 10:55:30 +03:00
Pavel Popov
bb3d376df8
Payout amount filter (#348)
* Payout amount filter

* Add currency filter

* Other review fixes
2018-07-18 17:08:46 +03:00
Evgeny Levenets
dab5394c8c
fix legacy structures in config causing dominant crashing (#349)
* fix legacy structures in config causing dominant crashing

* add TODO
2018-07-18 15:18:13 +03:00
Andrey Fadeev
2593ffe260
HG-381 Add owner_id and shop_id to InvoicePaymentStarted event (#347) 2018-07-18 14:01:57 +03:00
Evgeny Levenets
36907b0e50
DC-83: add RBKWallet to party management (#325)
* DC-83: add RBKWallet to party management (#311)

* DC-83: new exceptions for wallets & contractors (#330)

* CDS-57: introduce identity storage service (#338)

* HOOK-86: Hooks for wallets (#337)

* HG-364 CDS-57 Rename indentity docs erlang namespace. (#339)

Renamig is caused by review rbkmoney/cds#55

* HG-364 CDS-57 Simplify cds ident protocol. Move mask functions to API (#340)

* HG-371: Introduce simplistic withdrawal processing (#333)

* HG-371: add cumulative limits (#341)

* add turnover limits to wallet service terms
* add some thoughts in form of TODOs

* Add rbkmoney to DigitalWalletProvider enum (#343)

* DC-92: add ability to compute terms for wallet (#344)
2018-07-17 17:32:10 +03:00
Pavel Popov
c1f91276ff
Add api for report cancellation (#346) 2018-07-09 19:32:26 +03:00
Andrey Fadeev
e0be900435
DC-94 Split payment start message into multiple stages (#345) 2018-07-04 17:56:19 +03:00
Pavel Popov
ea026e0258
Contract id in payout (#342) 2018-06-26 11:23:24 +03:00
Vladimir Pankrashkin
1510cd7caa
GP-5: Add GooglePay support (#336) 2018-05-28 15:19:50 +03:00
Pavel Popov
1005b6c6f2
Payment short id (#335) 2018-05-22 15:41:55 +03:00
Vladimir Pankrashkin
5b4e65da73
SHMW-30: Add option to refer account creation time (#334)
* SHMW-30: Add option to refer account creation time

* SHMW-30: Add option to refer account creation time in acc
2018-05-16 16:08:45 +03:00
Evgeny Levenets
ec88305207
DC-84: add act preferences to contract (#317) (#329)
* DC-84: add act preferences to contract (#317)

* add act preferences to contract
* enrich calendar with first day of week
* use business schedule to generalize all schedules

* Add other preferences for reports (#331)

* Add other preferences for reports

* Add reference parameter

* Review fixes

* Review fixes

* Remove unused fields
2018-05-16 16:03:37 +03:00
Andrew Mayorov
5e54b264b5 HG-357: Introduce apple pay in domain (#320)
* HG-357: Introduce apple pay in domain (#318)

* HG-357: Remove deprecated constructs from domain config (#322)

* BJ-279: Tokenized data extraction api (#319)

* BJ-279: Tokenized data extraction api

* BJ-279: Review fixes

*  CDS-55: Move verification data from card data to session data (#326)

* CDS-55: fix CardSecurityCode (#327)

* Apple pay in merch stat (#332)

* Apple pay in merch stat

* Review fixes
2018-05-08 12:28:28 +03:00
Vladimir Pankrashkin
cd58cb5dbb MST-173: Existing statistics api modified to support chunk streaming mode (#316) 2018-04-20 21:29:58 +03:00
Evgeny Levenets
9fbdcd8101
HG-334: new exceptions for claims (#308)
* new exceptions for claims should replace InvalidRequest
* decompose reason to shop & contract
2018-04-19 19:44:56 +03:00
Pavel Popov
5e0b522e1d
Payout currency in model for search (#328) 2018-04-18 15:08:01 +03:00
Pavel Popov
b0806eb1d5
Report improvements (#324)
* Add datetimes in payment and invoice statuses (#323)

* Switch to optional
2018-04-09 16:22:50 +03:00
Petr Kozorezov
2003e8fa1a
update payment errors list (#321)
* update payment errors list

* apply review comments
2018-03-30 16:56:12 +03:00
Pavel Popov
fcf17cc5eb
Stat error mapping (#310) 2018-03-28 16:17:44 +03:00
Pavel Popov
b9b7538ae3
MST-170: Search for refunds (#314)
* Search for refunds

* Add other identificators (invoice, payment, party and shop id)

* Add datetime in statuses
2018-03-27 13:50:26 +03:00
Natalia Pulina
73652893ee
HG-330: New ex InconsistentPaymentCurrency -> refundPayment (#315) 2018-03-22 15:42:45 +03:00
Inal Arsanukaev
4f6ecfe59d
PAYOUT-73: Manual sending report (#313)
* PAYOUT-73: Manual sending report

* Excluded -> included

* Fixed comment for GeneratePayouts

* Joined and renamed method
2018-03-21 17:53:36 +03:00
Inal Arsanukaev
17857b0aa8
HOOK: fix structure to union (#312) 2018-03-16 16:29:27 +03:00
Pavel Popov
2bfa1a5f2c
Nonresidents payouts stats (#307)
* Nonresidents payouts stats
2018-03-15 13:03:41 +03:00
Natalia Pulina
cdf69d5c85
HG-330: Introduce partial refunds (#291)
* HG-330: Introduce partial refunds and terms (#289)

* HG-332: InvoicePaymentRefund is enriched with cash (#290)

* HG-330:
- TimeSpan added;
- optional cash in InvoicePaymentRefundParams;
- ex InvoicePaymentAmountExceeded added.

* HG-330: TimeSpanSelector for eligibility_time

* HG-330: Add some comments, use InvoicePaymentMaximumAmountExceeded ex

* HG-330: InvoicePaymentAmountExceeded fixed

* HG-339: operation_amount -> CashFlowConstant (#300)

* HG-341: Introduce provision terms for partial refunds (#301)

* HOOK-76: Partial refunds for webhooks (#309)
2018-03-06 17:04:49 +03:00
Vladimir Pankrashkin
a46ee27a7c
Ft/bm 43/geck support (#306)
* BM-43: Pull up stock event info definition
2018-03-01 15:02:35 +03:00
Vladimir Pankrashkin
50433e33d9
BM-43: Add BM interface with Geck support (#305)
* BM-43: Add BM interface with Geck support

* BM-43: Review fix: replace binary with base.Content

* BM-43: Version is string now (support epic)

* BM-43: Rollback - no epic support

* BM-43: No chance, no rules here
2018-02-28 17:11:03 +03:00
Andrew Mayorov
3dd66accb3
DC-66: Introduce payout terms (#283)
* DC-66: Introduce payout terms (#269)
* DC-66: Generalize cash flow constants
* DC-78: add ability to disable scheduled payouts (#284)
* DC-76: add ability to calculate fees for payout (#285)
* HG-312: add payout method condition (#294)
* HG-312: change InvalidRequest to OperationNotPermitted (#295)
* DC-80: enlarge international entities (#297)
* PAYOUT-52: Nonresidents in payout events (#298)
* CAPI-251: add varset for payment institution terms computation (#302)
2018-02-26 15:14:59 +03:00
Petr Kozorezov
c3ea314f4f
HG-338: introduce new errors for universal mapping; remove obsolete proxies files (#293)
* HG-338: introduce new errors for universal mapping; remove obsolete proxies files

* apply review comments

* add error static to dynamic converting example

* apply review comments

* apply more review comments

* apply more review comments

* refactor a static representation for payment processing errors

* add namespaces

* apply more review comments

* apply more review comments

* apply more and more and more review comments
2018-02-15 15:55:50 +03:00
Andrew Mayorov
7904077554
Allow for ad-hoc repairs w/ the ability to push arbitrary changes (#303) 2018-02-15 11:20:36 +03:00
Andrew Mayorov
32fc7d9ed8
Make Keyring service exception interface complete (#288) 2018-01-26 16:29:00 +03:00
Andrew Mayorov
620cca5366
DC-69: Introduce digital wallet as a payment method (#268)
* HG-325: Introduce concept of rounding for CashVolumeShare (#279)
2018-01-24 16:14:35 +03:00
Evgeny Levenets
284cb1ad85
BA-43: Bring payment institutions on the table (#259)
DC-62: add payment institution (#254)
  * add payment institution
  * add PaymentInstitutionRealm to identify test or live one
  * bump build image for the best thrift compiler
  * add PaymentInstitutionRef to contract creation params
  * remove shop, contract and party proto entirely

DC-64: add discrete party revisioning (#258)
  * add discrete party revisioning
  * add special PartyCreated change to separate service interface and event payload

DC-64: make party revisioning in change instead of event (#261)

DC-71: add international legal entity and bank account (#270)

DC-75: add migration data to Globals (#277)

DC-75: add backwards compatibility to party events (#278)
  * add notes about party revisioning
2018-01-19 16:44:26 +03:00
Pavel Popov
ee5c9c4b56
Payout processing improvements (#263)
* Payout processing improvements
2018-01-18 14:55:19 +03:00
Anatoly Cherkasov
b1da1ba687
PROX-136: removed optional token (#282) 2018-01-17 17:59:42 +03:00
Natalia Pulina
9c28359a39
HG-319: Introduce user_interaction in SleepIntent (#276) 2018-01-10 13:16:19 +03:00
Andrew Mayorov
d0b94a3eb8
Signal cds keyring is locked w/ a woody unavailable error (#275) 2017-12-25 14:58:02 +03:00
Inal Arsanukaev
4e48813adb
WALK-42: Added exceptions in throws (#262)
* WALK-42: Added exceptions in throws

* Using typedef

* Remove unused exeptions from getClaim
2017-11-29 19:38:09 +03:00
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
Andrew Mayorov
b059a28dc1 HG-64: Expand proxy context + discard terminal descriptors (#78)
* HG-64: Expand proxy context + favor options instead of terminal descriptors

* HG-64: Add a TODO bullet

* HG-64: Fix compilation issue
2016-10-20 13:47:12 +03:00
Igor Savchuk
7a56dfce89 add some payment systems (#79)
* add some payment systems

* bringen visa und mastercard zu anfang
2016-10-20 12:44:47 +02:00
Andrew Mayorov
29d6caf9d1 HG-64: Pass routing and cash flow data down w/ events (#76)
* HG-64: Pass routing and cash flow data down w/ events

* HG-64: Change system account designation

* HG-64: Praise the javac overlord

* HG-64: Imply single limit

* HG-64: Include shop details in the prototype

* HG-64: Write a couple of comments
2016-10-17 17:27:32 +03:00
Artem Ocheredko
1a085d37c8 CAPI-32 Remove excessive field (#77) 2016-10-14 22:03:43 +03:00
Artem Ocheredko
5e264e070d HG-67 Fix category mismatch in party management (#75) 2016-10-13 19:33:13 +03:00
Andrew Mayorov
07af34c8ee HG-64: Streamline invoicing service (#74)
* HG-64: Streamline invoicing service

* HG-64: Bump image tag up

* HG-64: Forward-declare a couple of exceptions
2016-10-13 16:16:41 +03:00
Artem Ocheredko
25a49e4426 HG-67 Add and elegant crutch to avoid dealing with contract shop services (#69) 2016-10-11 20:50:53 +03:00
Artem Ocheredko
12d4663343 HG-66 Modify payment processing to satisfy new domain requirements (#68) 2016-10-11 17:39:48 +03:00
Artem Ocheredko
1698e333ba HG-66 Add account management (#65)
* HG-66 Add account management
2016-10-10 18:36:37 +03:00
Andrew Mayorov
4b6544893b HG-30: Domain redesign (#64)
* HG-30: Dump a preliminary domain redesign

* HG-30: Fix implicit requiredness

* HG-30: Bring contractor object back to domain

* HG-30: Use the term 'Cash' as a notion of financial resources

* HG-30: Describe what 'Terminal' is more thoroughly

* HG-30: Bring together a couple of known unsolved problems

* HG-30: Throw down some notes on planned domain structure
2016-10-10 16:14:58 +03:00
Igor Savchuk
f3f72ad6fb add dummy domain object (#52) 2016-10-08 15:07:07 +03:00
Evgeny Levenets
406fd17f79 HG-69: Added contact info to Payer struct (#66)
* HG-69: Added ContactInfo to Payer struct
2016-10-07 13:40:54 +03:00
Igor Savchuk
1f55723832 fix proxy typo (#63) 2016-09-29 19:14:19 +03:00
Petr Kozorezov
5b8572cfb7 MG-17: add a new version of EventSink:GetHistory with an explicit event_sink_id 2016-09-28 16:33:25 +04:00
Andrew Mayorov
1907454d45 HG-61: Allow proxy to request user interaction while going to suspend (#61) 2016-09-27 16:25:18 +03:00
Andrew Mayorov
222647466c HG-61: Introduce suspend intent and callbacks (#59)
* HG-61: Introduce suspend intent + callbacks, redesign proxy interfaces

* HG-61: Declare required namespaces

* HG-61: Bring back the notion of payment cancellation

* HG-41: Reference coredocs doc which explains a set of payment statuses
2016-09-27 16:01:50 +03:00
Andrew Mayorov
fc2b572995 HG-60: Introduce a notion of user interaction and related events (#58)
* HG-60: Introduce a notion of user interaction and related events

* HG-60: Declare required namespaces

* HG-60: Imply more general templates

* HG-60: Simplify HTTP request significantly
2016-09-23 23:54:14 +03:00
Alexey Semenkov
b1af2c83bf Ft/mst 28/geo api (#57)
+ add Columbus api (geo service)
2016-09-22 13:44:28 +03:00
Vladimir Pankrashkin
7117acb805 SHMW-2: first protocol version (#54)
* SHMW-1: first protocol version

* SHMW-2: review fixes: changed `from/to` -> `from/to_id`

* SHMW-2: modified Makefile

* SHMW-2: review fixes

* SHMW-2: restore corrupted makefile

* SHMW-2: review fixes

* SHMW-2: review fixes:capitalize ID

* SHMW-2: review fixes:added plan update

* SHMW-2: review fixes: discussion results[Season 2]
2016-09-13 17:11:13 +03:00
Andrew Mayorov
71887ddee8 HG-47: Fix a couple of issues which tainted party management interfaces (#53)
* HG-47: Fix function return type

* HG-47: Fix union field name

* HG-47: Feature claim revocation

* HG-47: Add invalid party status as a possible failure in claim revocation

* HG-47: Fix naming of claim status tags
2016-09-09 13:11:33 +03:00
Petr Kozorezov
78b7bac323 MG-16: доработки API mg (#50)
* MG-16: add event id to SinkEvent

* MG-16: correct functions names according styleguide

* MG-16: add direction to HistoryRange and delete EventSink:GetLastEventID

* MG-16: replace Call with Args

* MG-15: remove unused exception
2016-08-25 13:23:14 +04:00
Andrew Mayorov
c2a01157b3 HG-49: Make it possible to properly mark events from parties (#49) 2016-08-11 11:07:40 +00:00
Andrew Mayorov
fb43ca0f55 HG-48: Ask for shop id upon invoice creation (#48) 2016-08-10 12:51:01 +00:00
Andrew Mayorov
e305b7c33b HG-47: Design party management interfaces (#44)
* HG-47: Change regulatory domain for timestamps to RFC 3339

* HG-47: Draft party management interfaces + update related domain types

* HG-47: Isolate any possible party modification in changeset

* HG-47: Make blockage / suspension signaling more straightfowrard

* HG-47: Fix a bit Makefile sanity

* HG-47: Introduce ownership to invoices

* HG-47: Distinguish between shop name and id + autogenerate latter

* HG-47: Simplify ShopUpdate definition

* HG-47: Use refs to a category instead

* HG-47: Separate party definition from data revision + provide GetShop function

* HG-47: Include party events into processing event set

* HG-47: Barely acknowledge party creation rather than reply with initial state

* HG-47: Fuse domain objects into party state as is + fix wording
2016-08-10 12:06:59 +00:00
Andrew Mayorov
c3c1218409 HG-48: Fix InvoicePaymentParams definition (#47) 2016-08-08 10:33:36 +00:00
Vladimir Pankrashkin
59f01ac9ec MST-1: magista protocol fixes (#43)
* MST-1: fixes: changed return types, added total records count (without limit/offset), added new exception

* MST-1: text fixes
2016-08-08 11:11:42 +03:00
Petr Kozorezov
7dcb752743 MG-15: откат части переезда на новое api (#45)
* Revert "MG-15: fixes after review"

This reverts commit e34411f5f2.

* Revert "MG-15: add ability to specify machine data to load (contex or history)"

This reverts commit ff42ac3d87.

* Revert "MG-15: add machine context"

This reverts commit c2f1588883.

* MG-16: remove the destroy machine function

* MG-15: add a namespace parament to all automaton functions

* MG-15: rename the automoton functions in accordance with the damsel convention

* MG-15: replace the overcomplicated structure Args with a simple typedef
2016-08-05 12:28:00 +04:00
Andrew Mayorov
edd24240a5 Streamline event interfaces (#42)
* HG-40: Fix events structure + expose event w/ opaque state changes

* HG-45: Unexpose event w/ opaque state changes
2016-07-29 11:07:02 +00:00
Vladimir Pankrashkin
a66e33a56d MST-1: Thrift protocol for magista service (#40)
* MST-1: Thrift protocol for magista service

* MST-1: Review fixes: changed names in domain

* MST-1: Review fixes: changed service name

* MST-1: Review fixes: changed erlang namespace
2016-07-28 15:01:03 +03:00
Petr Kozorezov
e34411f5f2 MG-15: fixes after review 2016-07-22 14:23:09 +03:00
Petr Kozorezov
ff42ac3d87 MG-15: add ability to specify machine data to load (contex or history) 2016-07-20 19:06:57 +03:00
Petr Kozorezov
e572229e31 MG-15: remove the machine id generation on start 2016-07-20 15:09:26 +03:00
Petr Kozorezov
c2f1588883 MG-15: add machine context 2016-07-20 14:58:46 +03:00
Vladimir Pankrashkin
fcd05bd748 MB-21: Up range bounds changed to optional (#33)
This commit will change BM client protocol: upper range bound was changed to optional to allow infinite request stream.
2016-07-05 10:51:11 +03:00
Igor Savchuk
5e3795cfe4 [HG-32] domain_config.thrift refactored (#25) 2016-07-01 14:18:41 +03:00
Evgeniy Shishkin
a3a29d711f MG-12: EventSource field + EventSink comment (#32)
* MG-12: add EventSource type/field; add important comment to EventSink interface

* MG-12: use base.ID type instead of binary
2016-06-30 13:42:08 +04:00
Vladimir Pankrashkin
0127915bb4 MB-21: Fixed wrong type range types 2016-06-29 12:38:43 +03:00
Vladimir Pankrashkin
46419de8e5 Ft/hw-3/hwprotocol (#29)
* MB-21: BM Thrift protocol

* MB-21: BM Thrift protocol

* MB-21: Review fixes, added erl namespace

* MB-21: Comment fixes

* MB-21: Removed commas in enum

* MB-21: Removed event filter

* MB-21: One more iteration

* MB-21: One more iteration
2016-06-24 20:10:21 +03:00
Evgeniy Shishkin
918cf7ff18 MG-11: Спроектировать интерфейс EventSink в state processing (#26)
* MG-11: introduce EventSink draft

* MG-11: change comment for GetHistory

* MG-11: add NoLastEvent exception

* MG-11: rearrage comments similar to payment_processing arragment to narrow style differences

* MG-11: change GetLastEventID to make it slightly less complex

* MG-11: correct syntax mistake

* MG-11: add timestamp for event as requested by Java team; change some comment layout for better look

* MG-11: change names of Event structure to make it similar to payment_processing Event

* MG-11: fix comment
2016-06-24 13:19:35 +03:00
tolkonepiu
566634679c HG-37: Change "Void" to "Rescind" and more (#24)
* Change "Void" to "Rescind"

* Add java namespaces

* Add created_at field in Event struct
2016-06-21 19:45:09 +04:00
Andrew Mayorov
643996f8da HG-36: Preliminary EventSink service + slight event model redesign (#22)
* HG-36: Preliminary EventSink service + slight event model redesign

* HG-36: Add Java namespace

* HG-36: Convert EventSource into a union

* HG-36: Dedicated exception for GetLastEventID

* HG-36: Add doc + event payload type hierarchy

* HG-36: Fix tag ordering

* HG-36: Make exceptional conditions clearer

* HG-36: Rename ev -> payload

* HG-36: Change status types to unions + proper namespacing
2016-06-16 18:07:06 +03:00
Andrew Mayorov
4ce946e3ef HG-4: Share EventID type between closely related services (#21)
* HG-4: Remove now useless docs

* HG-4: Make EventID numeric as defined in state_processing
2016-06-15 13:21:44 +03:00
Evgeniy Shishkin
4f7d9c9170 MG-9: Расширить сущности SignalResult, CallResult списоком событий (#17)
* MG-6: getHistory/3 added; EventId added; MachineNotFound, EventNotFound exceptions added

* MG-6: name clashes fixed using namespaces

* MG-6: CallResult - event changed to EventBody; SignalResult - event changed to EventBody

* MG-6: EventId type changed to i64

* ft/MG-6 : add specification comment to getHistory method

* MG-6: removed namespaces

* MG-8: add HistoryRange structure; fix params in getHistory; fix comments

* MG-6: change EventId to EventID

* MG-6: remove redundant comment

* MG-9: extend CallResult/SignalResult with events list

* MG-9: change comment to better reflect recent changes

* MG-9: use EventBody instead of raw binary
2016-06-14 11:16:56 +03:00
Evgeniy Shishkin
b66dd688ed MG-6: add MachineFailed exception (#18)
* MG-6: add MachineFailed exception

* MG-6: add comment for MachineFailed exception

* MG-6: make names for Automaton methods exceptions look similar to other exception names
2016-06-14 11:16:09 +03:00
Igor Savchuk
4b8afa9736 Comment cds (#20) 2016-06-10 18:53:11 +03:00
Andrew Mayorov
8770c2fde5 HG-19: Outline a provider proxy protocol (#14)
* HG-19: Outline a provider proxy protocol

* HG-4: Fix naming w/ respect to Golang rules

* HG-4: Add exception to signal that there's active payment

* HG-19: Denormalize currency in domain structures

* HG-4: Make invoice details non-mandatory

* HG-4: Associate invoice with domain data revision

* HG-4: Fix incorrect PaymentSession type

* HG-19: Propose a documentation

* HG-4: Add generic exception for invalid requests

* HG-19: Fix ambiguity
2016-06-02 14:38:27 +03:00