damsel/proto/elastico.thrift
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

24 lines
830 B
Thrift
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

include "domain.thrift"
include "base.thrift"
namespace java com.rbkmoney.damsel.elastico
namespace erlang elastico
typedef domain.PartyID PartyID
typedef domain.ShopID ShopID
/* В эластико нет Party с таким идентификатором */
exception PartyNotFound {}
service Elastico {
/**
* Получить информацию об организации по ее идентификатору
**/
domain.Party getPartyById(1: string partyId) throws (1: PartyNotFound ex1)
/**
* Возвращает список организаций содержащих в описании или любых других полях данный текст.
**/
list<domain.Party> searchParty(1: string text)
}