* use specific exceptions instead of InvalidRequest
* remove unused stuff
* make payout_tool truly optional
* adapt to new exceptions and add PayoutScheduleRef check
* use hg_domain:exist instead of get
* add payout tool currency check
* rbkmoney/damsel@83d6c99
* HG-339: Introduce partial refunds (#176)
* HG-339: Enrich refund with payment cash for old events (#177)
* HG-341: Introduce provision and service terms for partial refunds (#180)
* HG-348: Make refund id using sequences service (#186)
* HG-348: Make refund id using sequences service
* HG-348: Bump to rbkmoney/scoper@cbe3abc
* HG-339: rebar.config fixed
* HG-339: seq_proto -> hg_proto.app.src (#188)
* HG-339: Cant start simultaneous partial refunds (#189)
* HG-339: Bump rbkmoney/damsel@349d26c, Bump rbkmoney/dominant@007326a
* HG-312: add payout terms support (#174)
* add payout terms support
* add payout method condition support
* clean up hg_party a little bit
* separate payment institution stuff
* CAPI-251: add varset support to payment institution terms computation (#178)
* add varset support to payment institution terms computation
* add more science to pmnt_institution test
* HG-343: add marshaling for old models (#183)
* bump damsel and dominant
* remove policy from payout service terms
* rename SheduleRef to PayoutSheduleRef to match damsel naming
* add marshaling for old models: international bank account, international legal entity, shop
* HG-343: fix old contract unmarshalling (#184)
* HG-343: fix old contract params unmarshalling (#184)
* linter fix
* HG-343: add support for merchant payout account (#185)
* add support for merchant payout account
* fix exceptions for ComputeTerms methods
* HG-314: Let it learn new payment tool and storage schema
* HG-314: Add forgotten payment tool condition assertions
* HG-314: Increase healthcheck timeouts just for the fun of it
* HG-326: Introduce new rounding rule for cashflow volume (#169)
* BA-52: Bump to master rbkmoney/damsel@620cca5
* BA-52: Bump to master rbkmoney/dominant@68d75c0
* use scoper lib for log meta scoping
* remove woody_event_handler behaviour from hg_client_api (unused)
* update tests config for scoper
* bump up dmt_client (now with scoper support)
* HG-264: Adapt to the modified protocol
* HG-264: Generalize hg_machine interfaces a little
* HG-264: Hack up GetPayment interface for proxies
* HG-264: Bump to rbkmoney/damsel@23b50e4
* HG-260: add ability to retrieve terms for contract & shop (#127)
* add ability to retrieve terms for contract & shop
* switch to epic damsel rbkmoney/damsel@caa8dcb
* fix selector reducer
First problem was in selector reducer. In case of {decisions, [D1, D2, ..., Dn]}, If D1 reduce to <some_non_const_condition, some_value> and D2 reduce to <const_bool_condition, some_value>, then reducer generate invalid thrift structure like {decisions, [ReducedD1, {_true_, <some_value>}, ..., ReducedDn]}.
Second problem was in condition solver: party condition evals to false in case of missing shop in var_set, even if no shop condition specified.
* HG-276: ability to retrieve terms of contract for invoice (#129)
* BA-36: Bump to rbkmoney/damsel@release/erlang/master
* HG-173: changed party interface to claims (#79)
* DC-45: implemented dirty version of event batching (#92)
* DC-45: implemented dirty version of event batching
* DC-45: Make invoice machines emit changes within single event
* HG-229: Embrace new events hierarchy (#94)
* HG-229: Bump to rbkmoney/damsel@7bb67fc
* HG-229: Embrace new events hierarchy
* HG-229: Fix long time broken typespecs
* HG-229: Employ session results + further decouple sessions from payment
* HG-229: Better classify payment errors
* HG-229: Implement model splitting
* HG-229: Stuff location with something meaningful
* HG-229: Overcome a couple of rebase related issues
* HG-229: Drop event filtering facilities altogether
* HG-229: Make result more explicit
* HG-229: Lessen verbosity on cleaning up
* HG-192: Handle missing shop properly (#95)
* HG-173: fixed some shop-related asserts (#97)
* HG-219: Bump to upstream rbkmoney/damsel@b665c89
* HG-190: Cut down on extraneous mg calls a little
* HG-190: Switch to rbkmoney/damsel@4018c41
* HG-190: Abuse persistent timers in the invoice machine
* HG-190: Drop merchant proxy logic altogether
* HG-190: Add one more test on invoice timings
* HG-190: Fix confusing timer management
* HG-190: Oops
* HG-190: Switch to damsel upstream, bump to rbkmoney/machinegun@a5a8653
* HG-190: Bump to rbkmoney/machinegun@707c2f8
* HG-153: Implement setting transport options up for proxies
* HG-153: Reduce inpector selector during payment init
* HG-151: Implement cost range condition
* HG-151: Reimplement inspector tests using selector
* HG-138: Shitcode up a party-related selectors implementation
* HG-153: Use proxy transport options from the app env
* HG-138: Implement const predicate reduction
* HG-138: Bump to rbkmoney/damsel@61701d2
* HG-138: Bump up dominant and build image
* HG-138: Make compose more insistent on health checking
* HG-152: Bump to rbkmoney/image-service-erlang@13454a9
* HG-138: Bump up dominant again
* HG-153: Make cash range check fail upon misconfiguration
* HG-130: Adapt to the damsel with breaking changes
* HG-131: Implement merchant proxy binding
* HG-131: Refactor shitty code a bit
* HG-131: Add upsert facility to help filling dmt up in tests
* HG-131: Name children properly to run more than one proxy handler
* HG-131: Fix a spec
* HG-131: Narrow a number of cases w/ asserting nonempty history
* HG-131: Drop unnecessary handling of woody errors
* HG-131: Shitcode a merchant proxy integration
* HG-131: Switch to the damsel upstream
* HG-131: Fix confusing type declarations
* HG-131: Adhere to the callback interface
* HG-131: Ensure proxy setup accepted automatically
* HG-130: Adapt to the damsel with breaking changes
* HG-130: Switch to proper damsel master
* HG-130: Hack around a damsel's whoopsie
* HG-130: Bump dominant and machinegun images