diff --git a/clearing-parent/backend-api/src/main/resources/meta/data.xml b/clearing-parent/backend-api/src/main/resources/meta/data.xml index b281b18b9..d3ba4270f 100644 --- a/clearing-parent/backend-api/src/main/resources/meta/data.xml +++ b/clearing-parent/backend-api/src/main/resources/meta/data.xml @@ -1,5 +1,5 @@ - + @@ -8,6 +8,7 @@
+
@@ -112,7 +113,7 @@ - + @@ -157,6 +158,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -181,6 +212,7 @@ + @@ -220,6 +252,8 @@ + + @@ -228,7 +262,9 @@ - + + + @@ -252,6 +288,7 @@ + @@ -289,6 +326,7 @@ + @@ -304,6 +342,8 @@ + + @@ -375,6 +415,9 @@ + + + diff --git a/clearing-parent/backend-api/src/main/resources/meta/market.xml b/clearing-parent/backend-api/src/main/resources/meta/market.xml index f14d524a9..9f996f376 100644 --- a/clearing-parent/backend-api/src/main/resources/meta/market.xml +++ b/clearing-parent/backend-api/src/main/resources/meta/market.xml @@ -1,5 +1,5 @@ - + @@ -90,6 +90,8 @@ + + diff --git a/clearing-parent/backend-api/src/main/resources/meta/meta.json b/clearing-parent/backend-api/src/main/resources/meta/meta.json index d261cce5a..39b1d5a09 100644 --- a/clearing-parent/backend-api/src/main/resources/meta/meta.json +++ b/clearing-parent/backend-api/src/main/resources/meta/meta.json @@ -1,6 +1,6 @@ { - "version": "3.10.0.77", + "version": "3.11.0.78", "enums": { @@ -1320,6 +1320,29 @@ } ] } + , + "majorSign": { + + "name": "Справочник типов конвертируемости валюты", + + "class": "ru.clearing.platform.dictionary.MajorSign", + + "table": "major_sign", + + "fields": [ + {"code": "id", + "name": "Идентификатор","shortname": "ID","type": 1 + } + , + {"code": "code", + "name": "Код","shortname": "Код","type": 12 + } + , + {"code": "name", + "name": "Наименование типа","shortname": "Наименование","type": 2,"length": 50 + } + ] + } , "courierType": { @@ -1343,6 +1366,83 @@ } ] } + , + "currencySettlementType": { + + "name": "Справочник типов расчетов валютных пар", + + "class": "ru.clearing.platform.dictionary.CurrencySettlementType", + + "table": "currency_settlement_type", + + "fields": [ + {"code": "id", + "name": "Идентификатор","shortname": "ID","type": 1 + } + , + {"code": "code", + "name": "Код","shortname": "Код","type": 12 + } + , + {"code": "name", + "name": "Тип расчета","shortname": "Тип расчета","type": 2,"length": 50 + } + ] + } + , + "currencyPair": { + + "name": "Справочник способов доставки документа", + + "class": "ru.clearing.platform.dictionary.СurrencyPair", + + "table": "currency_pair", + + "fields": [ + {"code": "id", + "name": "Идентификатор","shortname": "ID","type": 1 + } + , + {"code": "code", + "name": "Код","shortname": "Код","type": 12 + } + , + {"code": "baseCurrencyId", + "name": "Код валюты лота","shortname": "Валюта лота","link": "currencyCode","type": 12 + } + , + {"code": "quoteCurrencyId", + "name": "Код сопряженной валюты","shortname": "Сопряженная валюта","link": "currencyCode","type": 12 + } + , + {"code": "majorSign", + "name": "Код признака конвертируемости валюты","shortname": "Конвертируемость валюты","link": "majorSign","type": 12 + } + ] + } + , + "gatewayResultStatus": { + + "name": "Справочник статусов обработки", + + "class": "ru.clearing.platform.dictionary.GatewayResultStatus", + + "table": "gateway_result_status", + + "fields": [ + {"code": "id", + "name": "Идентификатор записи","shortname": "ID","type": 1 + } + , + {"code": "code", + "name": "Код","shortname": "Код","type": 12 + } + , + {"code": "name", + "name": "Статус обработки","shortname": "Статус","type": 2,"length": 255 + } + ] + } , "resultStatus": { @@ -2397,6 +2497,75 @@ } ] } + , + "settlementHouseProperties": { + + "name": "Параметры расчетной организации", + + "destination": "settlement-house-properties", + + "class": "ru.clearing.classes.statics.data.company.SettlementHouseProperties", + + "logUpdates": "true", + + "table": "settlement_house_properties", + + "fields": [ + {"code": "companyId", + "type": 1,"name": "Наименование компании","shortname": "Компания","searchable": true,"sortable": true,"visible": true,"link": "company","linkCode": "shortName" + } + , + {"code": "currencyCode", + "type": 12,"name": "Код валюты","shortname": "Валюта","searchable": true,"sortable": true,"visible": true,"link": "currencyCode","linkCode": "code" + } + , + {"code": "id", + "type": 1,"name": "Идентификатор записи","shortname": "ID","searchable": true,"sortable": true + } + ] + ,"actions":[ + {"method":"post", + + "name": "Добавление параметра РО", + + "fields": [ + {"code": "companyId", + "type": 1,"name": "Наименование компании","shortname": "Компания","link": "company","linkCode": "shortName","required": true + } + , + {"code": "currencyCode", + "type": 12,"name": "Код валюты","shortname": "Валюта","link": "currencyCode","linkCode": "code","required": true + } + ] + } + , + {"method":"put", + + "name": "Изменение параметра РО", + + "fields": [ + {"code": "id", + "type": 1,"name": "Идентификатор записи","shortname": "ID","link": "settlementHouseProperties","linkCode": "id","required": true + } + , + {"code": "currencyCode", + "type": 12,"name": "Код валюты","shortname": "Валюта","link": "currencyCode","linkCode": "code","required": true + } + ] + } + , + {"method":"delete", + + "name": "Удаление параметра РО", + + "fields": [ + {"code": "id", + "type": 1,"name": "Идентификатор записи","shortname": "ID","link": "settlementHouseProperties","linkCode": "id","required": true + } + ] + } + ] + } , "security": { @@ -3383,6 +3552,14 @@ {"code": "workflowStatus", "type": 12,"dbname": "Код статуса листинга в системе","name": "Наименование статуса листинга в системе","shortname": "Статус","searchable": true,"sortable": true,"visible": true,"link": "workflowStatus" } + , + {"code": "minStep", + "type": 11,"name": "Шаг цены","shortname": "Шаг цены","visible": true,"searchable": true,"sortable": true + } + , + {"code": "precision", + "type": 11,"name": "Точность","shortname": "Точность","visible": true,"searchable": true,"sortable": true + } , {"code": "id", "type": 1,"name": "Идентификатор записи","shortname": "ID","searchable": true,"sortable": true @@ -3479,6 +3656,225 @@ } ] } + , + "currencyPairSecurity": { + + "name": "Валютные пары", + + "destination": "securities/currency-pair-securities", + + "class": "ru.clearing.classes.statics.data.security.CurrencyPairSecurity", + + "logUpdates": "true", + + "table": "currency_pair_security", + + "fields": [ + {"code": "baseUnitSize", + "type": 11,"name": "Количество валюты лота","shortname": "Количество","visible": true,"searchable": true,"sortable": true + } + , + {"code": "currencyPairId", + "type": 1,"dbname": "Идентификатор валютной пары","name": "Валютная пара","shortname": "Инструмент","searchable": true,"sortable": true,"ignore": true,"link": "currencyPair" + } + , + {"code": "code", + "type": 2,"length": 255,"name": "Наименование валютной пары","shortname": "Валютная пара","searchable": true,"sortable": true,"visible": true,"link": "currencyPair","linkKeyCode": "id","linkCode": "name" + } + , + {"code": "settlementType", + "type": 12,"dbname": "Код статуса","name": "Наименование статуса","shortname": "Статус","searchable": true,"sortable": true,"visible": true,"link": "currencySettlementType","linkCode": "code" + } + , + {"code": "clearingOrganization", + "type": 2,"length": 255,"name": "Наименование клиринговой организации","shortname": "Клиринговая организация","searchable": true,"sortable": true,"visible": true + } + , + {"code": "settlementOrganization", + "type": 2,"length": 255,"name": "Наименование расчетной организации","shortname": "Расчетная организация","searchable": true,"sortable": true,"visible": true + } + , + {"code": "securityId", + "type": 1,"name": "Наименование инструмента","shortname": "Инструмент","searchable": true,"sortable": true,"link": "security","linkCode": "shortName" + } + , + {"code": "securitySymbol", + "type": 2,"length": 255,"name": "Код инструмента","shortname": "Код","searchable": true,"sortable": true,"visible": true,"extends": "security" + } + , + {"code": "shortName", + "type": 2,"length": 255,"name": "Краткое наименование инструмента","shortname": "Краткое наименование","searchable": true,"sortable": true,"visible": true,"extends": "security" + } + , + {"code": "fullName", + "type": 2,"length": 255,"name": "Полное наименование инструмента","shortname": "Наименование","searchable": true,"sortable": true,"visible": true,"extends": "security" + } + , + {"code": "shortNameEng", + "type": 2,"length": 255,"name": "Краткое наименование инструмента на английском","shortname": "Краткое наименование на английском","searchable": true,"sortable": true,"visible": true,"extends": "security" + } + , + {"code": "fullNameEng", + "type": 2,"length": 255,"name": "Полное наименование инструмента на английском","shortname": "Наименование на английском","searchable": true,"sortable": true,"visible": true,"extends": "security" + } + , + {"code": "workflowStatus", + "type": 12,"dbname": "Код статуса","name": "Наименование статуса","shortname": "Статус","searchable": true,"sortable": true,"visible": true,"link": "workflowStatus","extends": "security" + } + , + {"code": "id", + "type": 1,"name": "Идентификатор записи","shortname": "ID","searchable": true,"sortable": true + } + , + {"code": "createdAt", + "field": "created","type": 4,"webtype": "5","name": "Время создания записи","shortname": "Создано","searchable": true,"sortable": true + } + , + {"code": "updatedAt", + "field": "updated","type": 4,"webtype": "5","name": "Время изменения записи","shortname": "Изменено","searchable": true,"sortable": true + } + ] + ,"actions":[ + {"method":"post", + + "name": "Добавление валютной пары", + + "confirmation": "securitySymbol,shortName,fullName,section,lotCurrencyCode,counterPartyLotCurrencyCode,lots,price,accuracy,amountLotsCurrency,settlementDate,workflowStatus", + + "fields": [ + {"code": "instrumentType", + "type": 12,"name": "Наименование типа инструмента","shortname": "Тип инструмента","link": "instrumentType","required": true,"enabled": false + } + , + {"code": "securitySymbol", + "type": 2,"length": 255,"name": "Код инструмента","shortname": "Код","required": true + } + , + {"code": "shortName", + "type": 2,"length": 255,"name": "Краткое наименование инструмента","shortname": "Краткое наименование","required": true + } + , + {"code": "fullName", + "type": 2,"length": 255,"name": "Полное наименование инструмента","shortname": "Наименование","required": true + } + , + {"code": "market", + "type": 12,"name": "Наименование режима","shortname": "Режим","link": "market","linkKeyCode": "code","linkCode": "description","required": true + } + , + {"code": "currencyPairId", + "type": 1,"dbname": "Идентификатор валютной пары","name": "Валютная пара","shortname": "Инструмент","link": "currencyPair","required": true + } + , + {"code": "lotSize", + "type": 11,"name": "Размер лота","shortname": "Лот","required": true + } + , + {"code": "minStep", + "type": 11,"name": "Шаг цены","shortname": "Шаг цены","required": true + } + , + {"code": "baseUnitSize", + "type": 11,"name": "Количество валюты лота","shortname": "Количество","required": true + } + , + {"code": "settlementType", + "type": 12,"dbname": "Код статуса","name": "Наименование статуса","shortname": "Статус","link": "currencySettlementType","required": true + } + , + {"code": "workflowStatus", + "type": 12,"dbname": "Код статуса","name": "Наименование статуса","shortname": "Статус","link": "workflowStatus","extends": "security","required": true + } + , + {"code": "settlementOrganization", + "type": 2,"length": 255,"name": "Наименование расчетной организации","shortname": "Расчетная организация","required": true + } + , + {"code": "clearingOrganization", + "type": 2,"length": 255,"name": "Наименование клиринговой организации","shortname": "Клиринговая организация","required": true,"enabled": false + } + ] + } + , + {"method":"put", + + "name": "Изменение валютной пары", + + "confirmation": "securitySymbol,shortName,fullName,section,lotCurrencyCode,counterPartyLotCurrencyCode,lots,price,accuracy,amountLotsCurrency,settlementDate,workflowStatus", + + "fields": [ + {"code": "id", + "type": 1,"name": "Идентификатор записи","shortname": "ID","link": "currencySecurity","linkCode": "id","required": true + } + , + {"code": "instrumentType", + "type": 12,"name": "Наименование типа инструмента","shortname": "Тип инструмента","link": "instrumentType","required": true,"enabled": false + } + , + {"code": "securitySymbol", + "type": 2,"length": 255,"name": "Код инструмента","shortname": "Код","required": true + } + , + {"code": "shortName", + "type": 2,"length": 255,"name": "Краткое наименование инструмента","shortname": "Краткое наименование","required": true + } + , + {"code": "fullName", + "type": 2,"length": 255,"name": "Полное наименование инструмента","shortname": "Наименование","required": true + } + , + {"code": "market", + "type": 12,"name": "Наименование режима","shortname": "Режим","link": "market","linkKeyCode": "code","linkCode": "description","required": true + } + , + {"code": "currencyPairId", + "type": 1,"dbname": "Идентификатор валютной пары","name": "Валютная пара","shortname": "Инструмент","link": "currencyPair","required": true + } + , + {"code": "lotSize", + "type": 11,"name": "Размер лота","shortname": "Лот","required": true + } + , + {"code": "minStep", + "type": 11,"name": "Шаг цены","shortname": "Шаг цены","required": true + } + , + {"code": "baseUnitSize", + "type": 11,"name": "Количество валюты лота","shortname": "Количество","required": true + } + , + {"code": "settlementType", + "type": 12,"dbname": "Код статуса","name": "Наименование статуса","shortname": "Статус","link": "currencySettlementType","required": true + } + , + {"code": "workflowStatus", + "type": 12,"dbname": "Код статуса","name": "Наименование статуса","shortname": "Статус","link": "workflowStatus","extends": "security","required": true + } + , + {"code": "settlementOrganization", + "type": 2,"length": 255,"name": "Наименование расчетной организации","shortname": "Расчетная организация","required": true + } + , + {"code": "clearingOrganization", + "type": 2,"length": 255,"name": "Наименование клиринговой организации","shortname": "Клиринговая организация","required": true,"enabled": false + } + ] + } + , + {"method":"delete", + + "name": "Блокировка валютной пары", + + "confirmation": "securitySymbol,shortName", + + "fields": [ + {"code": "id", + "type": 1,"name": "Идентификатор записи","shortname": "ID","link": "currencySecurity","linkCode": "id","required": true + } + ] + } + ] + } , "market": { @@ -3614,6 +4010,10 @@ {"code": "depoAccountId", "type": 1,"dbname": "Идентификатор депозитарного счета","name": "Номер депозитарного счета","shortname": "Депозитарный счет","searchable": true,"sortable": true,"link": "account","linkCode": "account" } + , + {"code": "currencyAccountId", + "type": 1,"dbname": "Идентификатор валютного счета","name": "Номер валютного счета","shortname": "Валютный счет","searchable": true,"sortable": true,"link": "account","linkCode": "account" + } , {"code": "status", "type": 12,"dbname": "Код статуса","name": "Наименование статуса","shortname": "Статус","searchable": true,"sortable": true,"link": "workflowStatus" @@ -3656,6 +4056,10 @@ {"code": "depoAccountId", "type": 1,"name": "Номер депозитарного счета","shortname": "Депозитарный счет","link": "account","linkCode": "account" } + , + {"code": "currencyAccountList", + "type": 7,"name": "Список валютных счетов","shortname": "Список валютных счетов","link": "account","linkCode": "account" + } , {"code": "status", "type": 12,"name": "Наименование статуса","shortname": "Статус","link": "workflowStatus" @@ -3695,6 +4099,10 @@ {"code": "depoAccountId", "type": 1,"name": "Номер депозитарного счета","shortname": "Депозитарный счет","link": "account","linkCode": "account" } + , + {"code": "currencyAccountList", + "type": 7,"name": "Список валютных счетов","shortname": "Список валютных счетов","link": "account","linkCode": "account" + } , {"code": "status", "type": 12,"name": "Наименование статуса","shortname": "Статус","link": "workflowStatus" @@ -3855,6 +4263,96 @@ } ] } + , + "tradingClearingRegistryList": { + + "name": "Список счетов ТКР", + + "destination": "trading-clearing-registries-list", + + "class": "ru.clearing.classes.statics.data.registry.TradingClearingRegistryList", + + "logUpdates": "true", + + "table": "trading_clearing_registry_list", + + "fields": [ + {"code": "tradingClearingRegistryId", + "type": 1,"dbname": "Идентификатор торгово-клирингового регистра","name": "Торгово-клиринговый регистр","shortname": "Торгово-клиринговый регистр","searchable": true,"sortable": true,"link": "tradingClearingRegistry" + } + , + {"code": "accountId", + "type": 1,"dbname": "Идентификатор валютного счета","name": "Номер валютного счета","shortname": "Денежный счет","searchable": true,"sortable": true,"visible": true,"link": "account","linkCode": "account" + } + , + {"code": "currency", + "type": 12,"dbname": "Код валюты","name": "Код валюты","shortname": "Валюта","searchable": true,"sortable": true,"visible": true,"link": "currencyCode","linkCode": "code" + } + , + {"code": "status", + "type": 12,"dbname": "Код статуса","name": "Наименование статуса","shortname": "Статус","searchable": true,"sortable": true,"visible": true,"link": "serviceStatus" + } + , + {"code": "id", + "type": 1,"name": "Идентификатор записи","shortname": "ID","searchable": true,"sortable": true + } + , + {"code": "createdAt", + "field": "created","type": 4,"name": "Дата и время создания записи","shortname": "Создано","searchable": true,"sortable": true,"ignore": true + } + , + {"code": "updatedAt", + "field": "updated","type": 4,"name": "Дата и время изменения записи","shortname": "Изменено","searchable": true,"sortable": true,"ignore": true + } + ] + ,"actions":[ + {"method":"post", + + "name": "Добавление списка счетов ТКР", + + "confirmation": "tradingClearingRegistryId,accountId,status", + + "fields": [ + {"code": "tradingClearingRegistryId", + "type": 1,"name": "Торгово-клиринговый регистр","shortname": "ТКР","link": "tradingClearingRegistry","linkCode": "code" + } + , + {"code": "currencyAccountList", + "type": 7,"name": "Список валютных счетов","shortname": "Список валютных счетов","link": "account","linkCode": "account" + } + , + {"code": "status", + "type": 12,"name": "Наименование статуса","shortname": "Статус","link": "serviceStatus","required": true + } + ] + } + , + {"method":"put", + + "name": "Изменение списка счетов ТКР", + + "confirmation": "tradingClearingRegistryId,accountId,status", + + "fields": [ + {"code": "id", + "type": 1,"name": "Идентификатор записи","shortname": "ID","link": "clientCode","linkCode": "id","required": true + } + , + {"code": "tradingClearingRegistryId", + "type": 1,"name": "Торгово-клиринговый регистр","shortname": "ТКР","link": "tradingClearingRegistry","linkCode": "code" + } + , + {"code": "currencyAccountList", + "type": 7,"name": "Список валютных счетов","shortname": "Список валютных счетов","link": "account","linkCode": "account" + } + , + {"code": "status", + "type": 12,"name": "Наименование статуса","shortname": "Статус","link": "serviceStatus","required": true + } + ] + } + ] + } , "registry": { @@ -4227,6 +4725,10 @@ {"code": "relationId", "type": 1,"dbname": "Идентификатор договорных отношений","name": "Договорные отношения","shortname": "Договор","searchable": true,"sortable": true,"link": "relation","ignore": true } + , + {"code": "currency", + "type": 12,"dbname": "Код валюты","name": "Код валюты","shortname": "Валюта","searchable": true,"sortable": true,"visible": true,"link": "currencyCode","linkCode": "code" + } , {"code": "status", "type": 12,"dbname": "Код статуса","name": "Наименование статуса","shortname": "Статус","searchable": true,"sortable": true,"visible": true,"link": "serviceStatus" @@ -4688,11 +5190,11 @@ } , {"code": "accountId", - "type": 1,"dbname": "Идентификатор счета","name": "Счет депо КС","shortname": "Счет депо КС","searchable": true,"sortable": true,"visible": true,"link": "account","linkCode": "account" + "type": 1,"dbname": "Идентификатор счета","name": "Номер счета","shortname": "Счет","searchable": true,"sortable": true,"visible": true,"link": "account","linkCode": "account" } , {"code": "accountSymbolValue", - "type": 2,"length": 255,"name": "Счет РДЦ","shortname": "Счет РДЦ","searchable": true,"sortable": true,"visible": true + "type": 2,"length": 255,"name": "Значение реквизита","shortname": "Значение","searchable": true,"sortable": true,"visible": true } ] ,"actions":[ @@ -4702,15 +5204,13 @@ "confirmation": "accountId,accountSymbolValue", - "class": "ru.spcex.clearing.backendapi.controller.request.cud.account.AccountSymbolsNewAction", - "fields": [ {"code": "accountId", - "type": 1,"dbname": "Идентификатор счета","name": "Счет депо КС","shortname": "Счет депо КС","link": "account","linkCode": "account","required": true + "type": 1,"dbname": "Идентификатор счета","name": "Номер счета","shortname": "Счет","link": "account","linkCode": "account","required": true } , {"code": "accountSymbolValue", - "type": 2,"length": 255,"name": "Счет РДЦ","shortname": "Счет РДЦ","required": true + "type": 2,"length": 255,"name": "Значение реквизита","shortname": "Значение","required": true } ] } @@ -5485,6 +5985,28 @@ "fields": [] } , + {"method":"post", + + "destination": "ADLR", + + "group": "Формирование реестров", + + "name": "Формирование реестра обязательств, допущенных к клирингу", + + "fields": [] + } + , + {"method":"post", + + "destination": "CDLR", + + "group": "Формирование реестров", + + "name": "Формирование реестра обязательств, прошедших процедуру контроля обеспечения", + + "fields": [] + } + , {"method":"post", "destination": "GORR", @@ -5507,6 +6029,17 @@ "fields": [] } , + {"method":"post", + + "destination": "EXLR", + + "group": "Формирование реестров", + + "name": "Формирование реестра обязательств, исключенных из клирингового пула", + + "fields": [] + } + , {"method":"post", "destination": "LBSR", @@ -5515,7 +6048,11 @@ "name": "Формирование реестра учета обязательств", - "fields": [] + "fields": [ + {"code": "settlementDate", + "type": 6,"name": "Дата","shortname": "Дата" + } + ] } , {"method":"post", @@ -5581,6 +6118,28 @@ "name": "Завершение неудачных клиринговых сессий", + "fields": [] + } + , + {"method":"post", + + "destination": "MTCR", + + "group": "Формирование отчетности", + + "name": "Формирование файлов с МТКР", + + "fields": [] + } + , + {"method":"post", + + "destination": "LIMC", + + "group": "Обмен с Торговой системой", + + "name": "Выгрузка в Торговую систему остатков по валют (отправка lim)", + "fields": [] } ] @@ -6148,6 +6707,142 @@ } ] + } + , + "executionCurrency": { + + "name": "Сделки с валютными инструментами", + + "destination": "execution-currency", + + "class": "ru.clearing.classes.statics.data.execution.ExecutionCurrency", + + "logUpdates": "true", + + "table": "execution_currency", + + "fields": [ + {"code": "exchangeExecutionId", + "type": 1,"name": "Идентификационный номер сделки в Торговой системе","shortname": "Номер сделки","visible": true,"searchable": true,"sortable": true + } + , + {"code": "exchangeExecutionTime", + "type": 4,"name": "Время заключения сделки в Торговой системе","shortname": "Время заключения сделки","visible": true,"searchable": true,"sortable": true + } + , + {"code": "exchangeExecutionMicroseconds", + "type": 4,"name": "Микросекунды заключения сделки в Торговой системе","shortname": "Микросекунды заключения сделки","visible": true,"searchable": true,"sortable": true + } + , + {"code": "tradingDate", + "type": 6,"name": "Дата заключения сделки","shortname": "Дата заключения сделки","visible": true,"searchable": true,"sortable": true + } + , + {"code": "settlementDate", + "type": 6,"name": "Дата расчетов","shortname": "Дата расчетов","visible": true,"searchable": true,"sortable": true + } + , + {"code": "settlementCode", + "type": 2,"length": 12,"name": "Код расчетов при размещении","shortname": "Код расчетов при размещении","visible": false,"searchable": true,"sortable": true,"ignore": true + } + , + {"code": "securityId", + "type": 1,"dbname": "Идентификатор финансового инструмента","name": "Финансовый инструмент","shortname": "Код биржевого инструмента / товара","searchable": true,"sortable": true,"link": "security","linkCode": "securitySymbol","ignore": true + } + , + {"code": "securitySymbol", + "type": 2,"length": 255,"name": "Код инструмента в Торговой Системе","shortname": "Код инструмента","visible": true,"searchable": true,"sortable": true + } + , + {"code": "securityName", + "type": 2,"length": 255,"name": "Краткое наименование инструмента","shortname": "Наименование инструмента","searchable": true,"sortable": true,"visible": true + } + , + {"code": "companyId", + "type": 1,"dbname": "Идентификатор компании","name": "Наименование компании","shortname": "Компания","visible": true,"searchable": true,"sortable": true,"link": "company","linkCode": "shortName" + } + , + {"code": "partytradingClearingRegistryId", + "type": 1,"dbname": "Идентификатор торгово-клирингового регистра","name": "Торгово-клиринговый регистр","shortname": "ТКР","visible": true,"searchable": true,"sortable": true,"link": "tradingClearingRegistry","linkCode": "code" + } + , + {"code": "partyTradingClearingRegistry", + "type": 2,"length": 20,"dbname": "Торгово-клиринговый регистр ","name": "Торгово-клиринговый регистр ","shortname": "ТКР ","searchable": true,"sortable": true,"ignore": true + } + , + {"code": "counterPartyId", + "type": 1,"dbname": "Идентификатор компании-партнера, с которой заключена сделка","name": "Наименование компании-партнера, с которой заключена сделка","shortname": "Партнер","visible": false,"searchable": true,"sortable": true,"link": "company","linkCode": "shortName" + } + , + {"code": "counterPartyTradingClearingRegistryId", + "type": 1,"dbname": "Идентификатор торгово-клирингового регистра партнера","name": "Торгово-клиринговый регистр партнера","shortname": "ТКР партнера","visible": true,"searchable": true,"sortable": true,"link": "tradingClearingRegistry","linkCode": "code","ignore": true + } + , + {"code": "counterPartyTradingClearingRegistry", + "type": 2,"length": 20,"dbname": "Торгово-клиринговый регистр партнера","name": "Торгово-клиринговый регистр партнера","shortname": "ТКР партнера","visible": true,"searchable": true,"sortable": true + } + , + {"code": "market", + "type": 12,"dbname": "Код секции валютного инструмента","name": "Секция валютного инструмента","shortname": "Секция","visible": true,"searchable": true,"sortable": true,"link": "market","linkKeyCode": "code","linkCode": "description" + } + , + {"code": "price", + "type": 10,"name": "Цена","shortname": "Цена","visible": true,"searchable": true,"sortable": true + } + , + {"code": "lotSize", + "type": 11,"name": "Размер лота","shortname": "Лот","searchable": true,"sortable": true,"visible": true,"linkKeyCode": "securityId","linkCode": "lotSize","link": "listing","extends": "listing" + } + , + {"code": "lots", + "type": 11,"name": "Количество лотов","shortname": "Лоты","visible": true,"searchable": true,"sortable": true + } + , + {"code": "settlementAmount", + "type": 11,"name": "Объем сделки в валюте лота","shortname": "Объем в валюте","visible": true,"searchable": true,"sortable": true + } + , + {"code": "quantity", + "type": 11,"name": "Количество штук","shortname": "Количество штук","visible": true,"searchable": true,"sortable": true + } + , + {"code": "side", + "type": 12,"dbname": "Код направления сделки","name": "Направление сделки","shortname": "Направление","visible": true,"searchable": true,"sortable": true,"link": "side" + } + , + {"code": "сurrencyCode", + "type": 12,"name": "Код валюты лота","shortname": "Код валюты лота","searchable": true,"sortable": true,"link": "currencyCode","linkCode": "code" + } + , + {"code": "settlementOrganization", + "type": 2,"length": 255,"name": "Наименование расчетной организации","shortname": "Расчетная организация","searchable": true,"sortable": true,"visible": true + } + , + {"code": "coverageStatus", + "type": 12,"dbname": "Код статуса достаточности обеспечения","name": "Cтатус достаточности обеспечения","shortname": "Обеспеченность","searchable": true,"sortable": true,"link": "allowed" + } + , + {"code": "sessionId", + "type": 1,"dbname": "Идентификатор клиринговой сессии","name": "Клиринговая сессия","shortname": "Сессия","visible": true,"searchable": true,"sortable": true,"link": "session" + } + , + {"code": "clearingDate", + "type": 6,"name": "Дата клиринга","shortname": "Дата клиринга","visible": false,"searchable": true,"sortable": true + } + , + {"code": "id", + "type": 1,"name": "Идентификатор записи","shortname": "ID","visible": false,"searchable": true,"sortable": true + } + , + {"code": "createdAt", + "field": "created","type": 4,"webtype": "5","dbname": "Дата-время создания записи","name": "Время создания записи","shortname": "Создано","visible": false,"searchable": true,"sortable": true + } + , + {"code": "updatedAt", + "field": "updated","type": 4,"webtype": "5","dbname": "Дата-время изменения записи","name": "Время изменения записи","shortname": "Изменено","visible": false,"searchable": true,"sortable": true + } + ] + } , "depoBalanceRegister": { @@ -6182,6 +6877,14 @@ {"code": "sessionId", "type": 1,"dbname": "Идентификатор клиринговой сессии","name": "Клиринговая сессия","shortname": "Сессия","visible": true,"searchable": true,"sortable": true,"link": "session","ignore": true } + , + {"code": "setHouseName", + "type": 2,"length": 255,"name": "Наименование РД","shortname": "Наименование РД","searchable": true,"sortable": true,"visible": true + } + , + {"code": "number", + "type": 2,"length": 255,"name": "Номер отчета","shortname": "Номер отчета","searchable": true,"sortable": true,"visible": true + } , {"code": "depoCode", "type": 2,"length": 50,"name": "Код раздела субсчета/счета депо","shortname": "Код счета депо","searchable": true,"sortable": true @@ -6215,24 +6918,40 @@ "type": 2,"length": 255,"name": "Наименование РО","shortname": "Наименование РО","searchable": true,"sortable": true,"visible": true } , - {"code": "account", - "type": 2,"length": 50,"name": "Номер торгового/клирингового счета","shortname": "Номер торгового/клирингового счета","searchable": true,"sortable": true,"visible": true + {"code": "number", + "type": 2,"length": 255,"name": "Номер отчета","shortname": "Номер отчета","searchable": true,"sortable": true,"visible": true } , - {"code": "infoAccount", - "type": 2,"length": 50,"name": "Номер счета внутреннего учета СПВБ","shortname": "Номер счета внутреннего учета СПВБ","searchable": true,"sortable": true,"visible": true,"ignore": true + {"code": "createdAt", + "type": 4,"webtype": "5","dbname": "Дата-время создания записи","name": "Время создания записи","shortname": "Создано","searchable": true,"sortable": true + } + , + {"code": "currencyCode", + "type": 12,"dbname": "Код валюты","name": "Код валюты","shortname": "Валюта","searchable": true,"sortable": true,"visible": true,"link": "currencyCode","linkCode": "code" + } + , + {"code": "companyId", + "type": 1,"dbname": "Идентификатор компании","name": "Наименование компании","shortname": "Компания","searchable": true,"sortable": true,"visible": true,"link": "company","linkCode": "shortName" + } + , + {"code": "account", + "type": 2,"length": 50,"name": "Номер торгового /клирингового счета/ счета внутреннего учета СПВБ","shortname": "Счет","searchable": true,"sortable": true,"visible": true } , {"code": "remainderSum", "type": 10,"name": "Остаток денежных средств","shortname": "Остаток","searchable": true,"sortable": true } , - {"code": "blockedSum", - "type": 10,"name": "Сумма блокированных денежных средств","shortname": "Блокированные","searchable": true,"sortable": true,"ignore": true + {"code": "infoAccount", + "type": 2,"length": 50,"name": "Номер счета внутреннего учета СПВБ","shortname": "Номер счета внутреннего учета СПВБ","searchable": true,"sortable": true,"visible": true,"ignore": true } , - {"code": "unblockedSum", - "type": 10,"name": "Сумма свободных денежных средств","shortname": "Свободные","searchable": true,"sortable": true,"ignore": true + {"code": "companyFullName", + "type": 2,"length": 255,"name": "Полное наименование компании","shortname": "Полное наименование компании","searchable": true,"sortable": true,"visible": true,"ignore": true + } + , + {"code": "id", + "type": 1,"name": "Идентификатор записи","shortname": "ID","searchable": true,"sortable": true,"ignore": true } , {"code": "inn", @@ -6243,20 +6962,12 @@ "type": 1,"dbname": "Идентификатор клиринговой сессии","name": "Клиринговая сессия","shortname": "Сессия","visible": true,"searchable": true,"sortable": true,"link": "session","ignore": true } , - {"code": "companyFullName", - "type": 2,"length": 255,"name": "Полное наименование компании","shortname": "Полное наименование компании","searchable": true,"sortable": true,"visible": true,"ignore": true + {"code": "blockedSum", + "type": 10,"name": "Сумма блокированных денежных средств","shortname": "Блокированные","searchable": true,"sortable": true,"ignore": true } , - {"code": "companyId", - "type": 1,"dbname": "Идентификатор компании","name": "Наименование компании","shortname": "Компания","searchable": true,"sortable": true,"visible": true,"link": "company","linkCode": "shortName" - } - , - {"code": "id", - "type": 1,"name": "Идентификатор записи","shortname": "ID","searchable": true,"sortable": true,"ignore": true - } - , - {"code": "createdAt", - "field": "created","type": 4,"webtype": "5","dbname": "Дата-время создания записи","name": "Время создания записи","shortname": "Создано","searchable": true,"sortable": true + {"code": "unblockedSum", + "type": 10,"name": "Сумма свободных денежных средств","shortname": "Свободные","searchable": true,"sortable": true,"ignore": true } , {"code": "updatedAt", @@ -6584,6 +7295,94 @@ } ] + } + , + "pairSdf": { + + "name": "Пары файлов", + + "destination": "pair-sdf", + + "class": "ru.clearing.classes.statics.data.register.PairSdf", + + "table": "pair_sdf", + + "fields": [ + {"code": "id", + "type": 1,"name": "Идентификатор записи","shortname": "ID","searchable": true,"sortable": true + } + , + {"code": "createdAt", + "field": "created","type": 4,"webtype": "5","name": "Время создания записи","shortname": "Создано","searchable": true,"sortable": true + } + , + {"code": "updatedAt", + "field": "updated","type": 4,"webtype": "5","name": "Время изменения записи","shortname": "Изменено","searchable": true,"sortable": true + } + , + {"code": "inSDfId", + "type": 2,"length": 255,"name": "Идентификатор входящего файла","shortname": "Входящая запись","searchable": true,"sortable": true,"ignore": true + } + , + {"code": "inSDf", + "type": 2,"length": 255,"name": "Входящий файл","shortname": "Входящий","searchable": true,"sortable": true + } + , + {"code": "outSDfId", + "type": 2,"length": 255,"name": "Идентификатор исходящего файла","shortname": "Исходящий файл","searchable": true,"sortable": true,"ignore": true + } + , + {"code": "outSDf", + "type": 2,"length": 255,"name": "Исходящий файл","shortname": "Исходящий файл","searchable": true,"sortable": true + } + ] + + } + , + "gatewayResult": { + + "name": "Результат запроса к gateway", + + "destination": "gateway-result", + + "class": "ru.clearing.classes.statics.data.register.GatewayResult", + + "table": "gateway_result", + + "fields": [ + {"code": "id", + "type": 1,"name": "Идентификатор записи","shortname": "ID","searchable": true,"sortable": true + } + , + {"code": "createdAt", + "field": "created","type": 4,"webtype": "5","name": "Время создания записи","shortname": "Создано","searchable": true,"sortable": true + } + , + {"code": "updatedAt", + "field": "updated","type": 4,"webtype": "5","name": "Время изменения записи","shortname": "Изменено","searchable": true,"sortable": true + } + , + {"code": "requestId", + "type": 2,"length": 255,"name": "ID запроса","shortname": "ID","searchable": true,"sortable": true + } + , + {"code": "nameRequest", + "type": 2,"length": 255,"name": "Наименование запроса","shortname": "Наименование","searchable": true,"sortable": true + } + , + {"code": "request", + "type": 2,"length": 1023,"name": "Тело запроса","shortname": "Запрос","searchable": true,"sortable": true + } + , + {"code": "result", + "type": 2,"length": 1023,"name": "Тело ответа","shortname": "Ответ","searchable": true,"sortable": true + } + , + {"code": "gatewayResultStatus", + "type": 12,"name": "Статус запроса","shortname": "Статус","searchable": true,"sortable": true,"link": "gatewayResultStatus" + } + ] + } , "liabilitiesRegister": { @@ -7055,11 +7854,11 @@ } , {"code": "updatedAt", - "field": "updated","type": 4,"webtype": "5","dbname": "Дата-время изменения записи","name": "Время изменения записи","shortname": "Изменено","searchable": true,"sortable": true + "field": "updated","type": 4,"webtype": "5","dbname": "Дата-время изменения записи","name": "Время прочтения записи","shortname": "Прочитано","searchable": true,"sortable": true } , {"code": "senderId", - "type": 1,"dbname": "Идентификатор отправителя","name": "Наименование отправителя","shortname": "Отправитель","searchable": true,"sortable": true,"visible": true,"link": "userCls","linkCode": "identifier" + "type": 1,"dbname": "Идентификатор компании-отправителя","name": "Наименование компании-отправителя","shortname": "Отправитель","searchable": true,"sortable": true,"link": "company","ignore": true } , {"code": "addresseeId", @@ -7664,6 +8463,18 @@ {"code": "generationId", "type": 1,"name": "Идентификатор взаимодействия","shortname": "ID взаимодействия","searchable": true,"sortable": true,"visible": true } + , + {"code": "Doc_Num", + "field": "Doc_Num","type": 2,"length": 3,"name": "Номер выгружаемого документа","shortname": "Номер выгружаемого документа","searchable": true,"sortable": true,"visible": true + } + , + {"code": "Doc_Date", + "field": "Doc_Date","type": 6,"name": "Дата выгружаемого документа","shortname": "Дата выгружаемого документа","searchable": true,"sortable": true,"visible": true + } + , + {"code": "pay_val", + "type": 2,"length": 12,"name": "Валюта документа","shortname": "Валюта","searchable": true,"sortable": true,"visible": true + } ] } @@ -7738,6 +8549,18 @@ {"code": "inSDfId", "type": 1,"name": "Идентификатор соответствующей записи из таблицы-источника","shortname": "Входящая запись","searchable": true,"sortable": true,"visible": true } + , + {"code": "Doc_Num", + "field": "Doc_Num","type": 2,"length": 3,"name": "Номер выгружаемого документа","shortname": "Номер выгружаемого документа","searchable": true,"sortable": true,"visible": true + } + , + {"code": "Doc_Date", + "field": "Doc_Date","type": 6,"name": "Дата выгружаемого документа","shortname": "Дата выгружаемого документа","searchable": true,"sortable": true,"visible": true + } + , + {"code": "pay_val", + "type": 2,"length": 12,"name": "Валюта документа","shortname": "Валюта","searchable": true,"sortable": true,"visible": true + } ] } @@ -8588,6 +9411,26 @@ {"code": "generationId", "type": 1,"name": "Идентификатор взаимодействия","shortname": "ID взаимодействия","searchable": true,"sortable": true,"visible": true } + , + {"code": "Doc_Num", + "field": "Doc_Num","type": 2,"length": 3,"name": "Номер выгружаемого документа","shortname": "Номер выгружаемого документа","searchable": true,"sortable": true,"visible": true + } + , + {"code": "Doc_Date", + "field": "Doc_Date","type": 6,"name": "Дата выгружаемого документа","shortname": "Дата выгружаемого документа","searchable": true,"sortable": true,"visible": true + } + , + {"code": "Value_date", + "field": "Value_date","type": 2,"length": 8,"name": "Дата валютирования","shortname": "Дата валютирования","searchable": true,"sortable": true,"visible": true + } + , + {"code": "Swift_ben", + "field": "Swift_ben","type": 2,"length": 11,"name": "Свифт банка бенефициара","shortname": "Свифт банка бенефициара","searchable": true,"sortable": true,"visible": true + } + , + {"code": "Swift_intermed", + "field": "Swift_intermed","type": 2,"length": 11,"name": "Swift_intermed","shortname": "Swift_intermed","searchable": true,"sortable": true,"visible": true + } ] } @@ -8778,6 +9621,26 @@ {"code": "generationId", "type": 1,"name": "Идентификатор взаимодействия","shortname": "ID взаимодействия","searchable": true,"sortable": true,"visible": true } + , + {"code": "Doc_Num", + "field": "Doc_Num","type": 2,"length": 3,"name": "Номер выгружаемого документа","shortname": "Номер выгружаемого документа","searchable": true,"sortable": true,"visible": true + } + , + {"code": "Doc_Date", + "field": "Doc_Date","type": 6,"name": "Дата выгружаемого документа","shortname": "Дата выгружаемого документа","searchable": true,"sortable": true,"visible": true + } + , + {"code": "Value_date", + "field": "Value_date","type": 2,"length": 8,"name": "Дата валютирования","shortname": "Дата валютирования","searchable": true,"sortable": true,"visible": true + } + , + {"code": "Swift_ben", + "field": "Swift_ben","type": 2,"length": 11,"name": "Свифт банка бенефициара","shortname": "Свифт банка бенефициара","searchable": true,"sortable": true,"visible": true + } + , + {"code": "Swift_intermed", + "field": "Swift_intermed","type": 2,"length": 11,"name": "Swift_intermed","shortname": "Swift_intermed","searchable": true,"sortable": true,"visible": true + } ] } @@ -9002,6 +9865,30 @@ {"code": "generationId", "type": 1,"name": "Идентификатор взаимодействия","shortname": "ID взаимодействия","searchable": true,"sortable": true,"visible": true } + , + {"code": "Doc_Num", + "field": "Doc_Num","type": 2,"length": 3,"name": "Номер выгружаемого документа","shortname": "Номер выгружаемого документа","searchable": true,"sortable": true,"visible": true + } + , + {"code": "Doc_Date", + "field": "Doc_Date","type": 6,"name": "Дата выгружаемого документа","shortname": "Дата выгружаемого документа","searchable": true,"sortable": true,"visible": true + } + , + {"code": "dt_in", + "type": 2,"length": 22,"name": "Входящий дебетовый остаток","shortname": "Входящий дебетовый остаток","searchable": true,"sortable": true,"visible": true + } + , + {"code": "kt_in", + "type": 2,"length": 22,"name": "Входящий кредитовый остаток","shortname": "Входящий кредитовый остаток","searchable": true,"sortable": true,"visible": true + } + , + {"code": "dt_out", + "type": 2,"length": 22,"name": "Исходящий дебетовый остаток","shortname": "Исходящий дебетовый остаток","searchable": true,"sortable": true,"visible": true + } + , + {"code": "kt_out", + "type": 2,"length": 22,"name": "Исходящий кредитовый остаток","shortname": "Исходящий кредитовый остаток","searchable": true,"sortable": true,"visible": true + } ] } diff --git a/clearing-parent/backend-api/src/main/resources/meta/meta.xml b/clearing-parent/backend-api/src/main/resources/meta/meta.xml index f064acc63..7b2c1cf59 100644 --- a/clearing-parent/backend-api/src/main/resources/meta/meta.xml +++ b/clearing-parent/backend-api/src/main/resources/meta/meta.xml @@ -1,6 +1,6 @@ - + @@ -105,7 +105,6 @@ - @@ -186,26 +185,26 @@ - - - - - - - + + - - - - + + + + - - - - + + + + - - + + + + + + + @@ -263,11 +262,11 @@ - - + + - - + + @@ -293,11 +292,33 @@ - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -315,61 +336,61 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - + + + + + + + - - - - - - - + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + @@ -554,8 +575,41 @@ + + + + + + + + + + + + + + + + + + + @@ -784,6 +838,8 @@ + + @@ -808,6 +864,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -820,15 +930,15 @@ - - + + - + - + @@ -837,6 +947,7 @@ + @@ -847,6 +958,7 @@ + @@ -856,6 +968,7 @@ + @@ -867,8 +980,8 @@ - - + + @@ -895,6 +1008,28 @@ + + + + + + + + + + + + + + + + + + + + + + @@ -944,6 +1079,24 @@ + @@ -962,7 +1115,7 @@ - + @@ -980,13 +1133,31 @@ + - + + @@ -1019,7 +1190,7 @@ - + @@ -1037,7 +1208,7 @@ - + @@ -1073,7 +1244,7 @@ - + @@ -1086,12 +1257,12 @@ - - + + - - - + + + @@ -1105,10 +1276,10 @@ - + - +
@@ -1141,8 +1312,8 @@ - - + + @@ -1165,20 +1336,20 @@ - - - - - - + + + + + +
- - - - - - + + + + + + @@ -1205,34 +1376,34 @@ - - - - - - + + + + + +
- - - - - - - - - - - - - + + + + + + + + + + + + + - + @@ -1269,11 +1440,18 @@ + + + + + + + @@ -1284,12 +1462,15 @@ - + + + + + - - + @@ -1423,29 +1604,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + <сurrencyCode type="12" name="Код валюты лота" shortname="Код валюты лота" searchable="true" sortable="true" link="currencyCode" linkCode="code"/> + + + + + + + + - + - + - - + + + + - - + + + + + - - + + + - - - - + + @@ -1461,7 +1678,7 @@ - + @@ -1475,7 +1692,7 @@ - + @@ -1497,7 +1714,7 @@ - + @@ -1518,6 +1735,25 @@ + + + + + + + + + + + + + + + + + + + @@ -1571,8 +1807,8 @@ - - + + @@ -1627,11 +1863,11 @@ - - + + - + @@ -1649,7 +1885,7 @@ - + @@ -1771,6 +2007,9 @@ + + + @@ -1788,6 +2027,9 @@ + + + @@ -1872,7 +2114,7 @@ - + @@ -1981,6 +2223,11 @@ + + + + + @@ -2027,6 +2274,11 @@ + + + + + @@ -2080,6 +2332,12 @@ + + + + + + @@ -2128,7 +2386,7 @@ - + diff --git a/clearing-parent/backend-api/src/test/resources/meta.json b/clearing-parent/backend-api/src/test/resources/meta.json index d261cce5a..39b1d5a09 100644 --- a/clearing-parent/backend-api/src/test/resources/meta.json +++ b/clearing-parent/backend-api/src/test/resources/meta.json @@ -1,6 +1,6 @@ { - "version": "3.10.0.77", + "version": "3.11.0.78", "enums": { @@ -1320,6 +1320,29 @@ } ] } + , + "majorSign": { + + "name": "Справочник типов конвертируемости валюты", + + "class": "ru.clearing.platform.dictionary.MajorSign", + + "table": "major_sign", + + "fields": [ + {"code": "id", + "name": "Идентификатор","shortname": "ID","type": 1 + } + , + {"code": "code", + "name": "Код","shortname": "Код","type": 12 + } + , + {"code": "name", + "name": "Наименование типа","shortname": "Наименование","type": 2,"length": 50 + } + ] + } , "courierType": { @@ -1343,6 +1366,83 @@ } ] } + , + "currencySettlementType": { + + "name": "Справочник типов расчетов валютных пар", + + "class": "ru.clearing.platform.dictionary.CurrencySettlementType", + + "table": "currency_settlement_type", + + "fields": [ + {"code": "id", + "name": "Идентификатор","shortname": "ID","type": 1 + } + , + {"code": "code", + "name": "Код","shortname": "Код","type": 12 + } + , + {"code": "name", + "name": "Тип расчета","shortname": "Тип расчета","type": 2,"length": 50 + } + ] + } + , + "currencyPair": { + + "name": "Справочник способов доставки документа", + + "class": "ru.clearing.platform.dictionary.СurrencyPair", + + "table": "currency_pair", + + "fields": [ + {"code": "id", + "name": "Идентификатор","shortname": "ID","type": 1 + } + , + {"code": "code", + "name": "Код","shortname": "Код","type": 12 + } + , + {"code": "baseCurrencyId", + "name": "Код валюты лота","shortname": "Валюта лота","link": "currencyCode","type": 12 + } + , + {"code": "quoteCurrencyId", + "name": "Код сопряженной валюты","shortname": "Сопряженная валюта","link": "currencyCode","type": 12 + } + , + {"code": "majorSign", + "name": "Код признака конвертируемости валюты","shortname": "Конвертируемость валюты","link": "majorSign","type": 12 + } + ] + } + , + "gatewayResultStatus": { + + "name": "Справочник статусов обработки", + + "class": "ru.clearing.platform.dictionary.GatewayResultStatus", + + "table": "gateway_result_status", + + "fields": [ + {"code": "id", + "name": "Идентификатор записи","shortname": "ID","type": 1 + } + , + {"code": "code", + "name": "Код","shortname": "Код","type": 12 + } + , + {"code": "name", + "name": "Статус обработки","shortname": "Статус","type": 2,"length": 255 + } + ] + } , "resultStatus": { @@ -2397,6 +2497,75 @@ } ] } + , + "settlementHouseProperties": { + + "name": "Параметры расчетной организации", + + "destination": "settlement-house-properties", + + "class": "ru.clearing.classes.statics.data.company.SettlementHouseProperties", + + "logUpdates": "true", + + "table": "settlement_house_properties", + + "fields": [ + {"code": "companyId", + "type": 1,"name": "Наименование компании","shortname": "Компания","searchable": true,"sortable": true,"visible": true,"link": "company","linkCode": "shortName" + } + , + {"code": "currencyCode", + "type": 12,"name": "Код валюты","shortname": "Валюта","searchable": true,"sortable": true,"visible": true,"link": "currencyCode","linkCode": "code" + } + , + {"code": "id", + "type": 1,"name": "Идентификатор записи","shortname": "ID","searchable": true,"sortable": true + } + ] + ,"actions":[ + {"method":"post", + + "name": "Добавление параметра РО", + + "fields": [ + {"code": "companyId", + "type": 1,"name": "Наименование компании","shortname": "Компания","link": "company","linkCode": "shortName","required": true + } + , + {"code": "currencyCode", + "type": 12,"name": "Код валюты","shortname": "Валюта","link": "currencyCode","linkCode": "code","required": true + } + ] + } + , + {"method":"put", + + "name": "Изменение параметра РО", + + "fields": [ + {"code": "id", + "type": 1,"name": "Идентификатор записи","shortname": "ID","link": "settlementHouseProperties","linkCode": "id","required": true + } + , + {"code": "currencyCode", + "type": 12,"name": "Код валюты","shortname": "Валюта","link": "currencyCode","linkCode": "code","required": true + } + ] + } + , + {"method":"delete", + + "name": "Удаление параметра РО", + + "fields": [ + {"code": "id", + "type": 1,"name": "Идентификатор записи","shortname": "ID","link": "settlementHouseProperties","linkCode": "id","required": true + } + ] + } + ] + } , "security": { @@ -3383,6 +3552,14 @@ {"code": "workflowStatus", "type": 12,"dbname": "Код статуса листинга в системе","name": "Наименование статуса листинга в системе","shortname": "Статус","searchable": true,"sortable": true,"visible": true,"link": "workflowStatus" } + , + {"code": "minStep", + "type": 11,"name": "Шаг цены","shortname": "Шаг цены","visible": true,"searchable": true,"sortable": true + } + , + {"code": "precision", + "type": 11,"name": "Точность","shortname": "Точность","visible": true,"searchable": true,"sortable": true + } , {"code": "id", "type": 1,"name": "Идентификатор записи","shortname": "ID","searchable": true,"sortable": true @@ -3479,6 +3656,225 @@ } ] } + , + "currencyPairSecurity": { + + "name": "Валютные пары", + + "destination": "securities/currency-pair-securities", + + "class": "ru.clearing.classes.statics.data.security.CurrencyPairSecurity", + + "logUpdates": "true", + + "table": "currency_pair_security", + + "fields": [ + {"code": "baseUnitSize", + "type": 11,"name": "Количество валюты лота","shortname": "Количество","visible": true,"searchable": true,"sortable": true + } + , + {"code": "currencyPairId", + "type": 1,"dbname": "Идентификатор валютной пары","name": "Валютная пара","shortname": "Инструмент","searchable": true,"sortable": true,"ignore": true,"link": "currencyPair" + } + , + {"code": "code", + "type": 2,"length": 255,"name": "Наименование валютной пары","shortname": "Валютная пара","searchable": true,"sortable": true,"visible": true,"link": "currencyPair","linkKeyCode": "id","linkCode": "name" + } + , + {"code": "settlementType", + "type": 12,"dbname": "Код статуса","name": "Наименование статуса","shortname": "Статус","searchable": true,"sortable": true,"visible": true,"link": "currencySettlementType","linkCode": "code" + } + , + {"code": "clearingOrganization", + "type": 2,"length": 255,"name": "Наименование клиринговой организации","shortname": "Клиринговая организация","searchable": true,"sortable": true,"visible": true + } + , + {"code": "settlementOrganization", + "type": 2,"length": 255,"name": "Наименование расчетной организации","shortname": "Расчетная организация","searchable": true,"sortable": true,"visible": true + } + , + {"code": "securityId", + "type": 1,"name": "Наименование инструмента","shortname": "Инструмент","searchable": true,"sortable": true,"link": "security","linkCode": "shortName" + } + , + {"code": "securitySymbol", + "type": 2,"length": 255,"name": "Код инструмента","shortname": "Код","searchable": true,"sortable": true,"visible": true,"extends": "security" + } + , + {"code": "shortName", + "type": 2,"length": 255,"name": "Краткое наименование инструмента","shortname": "Краткое наименование","searchable": true,"sortable": true,"visible": true,"extends": "security" + } + , + {"code": "fullName", + "type": 2,"length": 255,"name": "Полное наименование инструмента","shortname": "Наименование","searchable": true,"sortable": true,"visible": true,"extends": "security" + } + , + {"code": "shortNameEng", + "type": 2,"length": 255,"name": "Краткое наименование инструмента на английском","shortname": "Краткое наименование на английском","searchable": true,"sortable": true,"visible": true,"extends": "security" + } + , + {"code": "fullNameEng", + "type": 2,"length": 255,"name": "Полное наименование инструмента на английском","shortname": "Наименование на английском","searchable": true,"sortable": true,"visible": true,"extends": "security" + } + , + {"code": "workflowStatus", + "type": 12,"dbname": "Код статуса","name": "Наименование статуса","shortname": "Статус","searchable": true,"sortable": true,"visible": true,"link": "workflowStatus","extends": "security" + } + , + {"code": "id", + "type": 1,"name": "Идентификатор записи","shortname": "ID","searchable": true,"sortable": true + } + , + {"code": "createdAt", + "field": "created","type": 4,"webtype": "5","name": "Время создания записи","shortname": "Создано","searchable": true,"sortable": true + } + , + {"code": "updatedAt", + "field": "updated","type": 4,"webtype": "5","name": "Время изменения записи","shortname": "Изменено","searchable": true,"sortable": true + } + ] + ,"actions":[ + {"method":"post", + + "name": "Добавление валютной пары", + + "confirmation": "securitySymbol,shortName,fullName,section,lotCurrencyCode,counterPartyLotCurrencyCode,lots,price,accuracy,amountLotsCurrency,settlementDate,workflowStatus", + + "fields": [ + {"code": "instrumentType", + "type": 12,"name": "Наименование типа инструмента","shortname": "Тип инструмента","link": "instrumentType","required": true,"enabled": false + } + , + {"code": "securitySymbol", + "type": 2,"length": 255,"name": "Код инструмента","shortname": "Код","required": true + } + , + {"code": "shortName", + "type": 2,"length": 255,"name": "Краткое наименование инструмента","shortname": "Краткое наименование","required": true + } + , + {"code": "fullName", + "type": 2,"length": 255,"name": "Полное наименование инструмента","shortname": "Наименование","required": true + } + , + {"code": "market", + "type": 12,"name": "Наименование режима","shortname": "Режим","link": "market","linkKeyCode": "code","linkCode": "description","required": true + } + , + {"code": "currencyPairId", + "type": 1,"dbname": "Идентификатор валютной пары","name": "Валютная пара","shortname": "Инструмент","link": "currencyPair","required": true + } + , + {"code": "lotSize", + "type": 11,"name": "Размер лота","shortname": "Лот","required": true + } + , + {"code": "minStep", + "type": 11,"name": "Шаг цены","shortname": "Шаг цены","required": true + } + , + {"code": "baseUnitSize", + "type": 11,"name": "Количество валюты лота","shortname": "Количество","required": true + } + , + {"code": "settlementType", + "type": 12,"dbname": "Код статуса","name": "Наименование статуса","shortname": "Статус","link": "currencySettlementType","required": true + } + , + {"code": "workflowStatus", + "type": 12,"dbname": "Код статуса","name": "Наименование статуса","shortname": "Статус","link": "workflowStatus","extends": "security","required": true + } + , + {"code": "settlementOrganization", + "type": 2,"length": 255,"name": "Наименование расчетной организации","shortname": "Расчетная организация","required": true + } + , + {"code": "clearingOrganization", + "type": 2,"length": 255,"name": "Наименование клиринговой организации","shortname": "Клиринговая организация","required": true,"enabled": false + } + ] + } + , + {"method":"put", + + "name": "Изменение валютной пары", + + "confirmation": "securitySymbol,shortName,fullName,section,lotCurrencyCode,counterPartyLotCurrencyCode,lots,price,accuracy,amountLotsCurrency,settlementDate,workflowStatus", + + "fields": [ + {"code": "id", + "type": 1,"name": "Идентификатор записи","shortname": "ID","link": "currencySecurity","linkCode": "id","required": true + } + , + {"code": "instrumentType", + "type": 12,"name": "Наименование типа инструмента","shortname": "Тип инструмента","link": "instrumentType","required": true,"enabled": false + } + , + {"code": "securitySymbol", + "type": 2,"length": 255,"name": "Код инструмента","shortname": "Код","required": true + } + , + {"code": "shortName", + "type": 2,"length": 255,"name": "Краткое наименование инструмента","shortname": "Краткое наименование","required": true + } + , + {"code": "fullName", + "type": 2,"length": 255,"name": "Полное наименование инструмента","shortname": "Наименование","required": true + } + , + {"code": "market", + "type": 12,"name": "Наименование режима","shortname": "Режим","link": "market","linkKeyCode": "code","linkCode": "description","required": true + } + , + {"code": "currencyPairId", + "type": 1,"dbname": "Идентификатор валютной пары","name": "Валютная пара","shortname": "Инструмент","link": "currencyPair","required": true + } + , + {"code": "lotSize", + "type": 11,"name": "Размер лота","shortname": "Лот","required": true + } + , + {"code": "minStep", + "type": 11,"name": "Шаг цены","shortname": "Шаг цены","required": true + } + , + {"code": "baseUnitSize", + "type": 11,"name": "Количество валюты лота","shortname": "Количество","required": true + } + , + {"code": "settlementType", + "type": 12,"dbname": "Код статуса","name": "Наименование статуса","shortname": "Статус","link": "currencySettlementType","required": true + } + , + {"code": "workflowStatus", + "type": 12,"dbname": "Код статуса","name": "Наименование статуса","shortname": "Статус","link": "workflowStatus","extends": "security","required": true + } + , + {"code": "settlementOrganization", + "type": 2,"length": 255,"name": "Наименование расчетной организации","shortname": "Расчетная организация","required": true + } + , + {"code": "clearingOrganization", + "type": 2,"length": 255,"name": "Наименование клиринговой организации","shortname": "Клиринговая организация","required": true,"enabled": false + } + ] + } + , + {"method":"delete", + + "name": "Блокировка валютной пары", + + "confirmation": "securitySymbol,shortName", + + "fields": [ + {"code": "id", + "type": 1,"name": "Идентификатор записи","shortname": "ID","link": "currencySecurity","linkCode": "id","required": true + } + ] + } + ] + } , "market": { @@ -3614,6 +4010,10 @@ {"code": "depoAccountId", "type": 1,"dbname": "Идентификатор депозитарного счета","name": "Номер депозитарного счета","shortname": "Депозитарный счет","searchable": true,"sortable": true,"link": "account","linkCode": "account" } + , + {"code": "currencyAccountId", + "type": 1,"dbname": "Идентификатор валютного счета","name": "Номер валютного счета","shortname": "Валютный счет","searchable": true,"sortable": true,"link": "account","linkCode": "account" + } , {"code": "status", "type": 12,"dbname": "Код статуса","name": "Наименование статуса","shortname": "Статус","searchable": true,"sortable": true,"link": "workflowStatus" @@ -3656,6 +4056,10 @@ {"code": "depoAccountId", "type": 1,"name": "Номер депозитарного счета","shortname": "Депозитарный счет","link": "account","linkCode": "account" } + , + {"code": "currencyAccountList", + "type": 7,"name": "Список валютных счетов","shortname": "Список валютных счетов","link": "account","linkCode": "account" + } , {"code": "status", "type": 12,"name": "Наименование статуса","shortname": "Статус","link": "workflowStatus" @@ -3695,6 +4099,10 @@ {"code": "depoAccountId", "type": 1,"name": "Номер депозитарного счета","shortname": "Депозитарный счет","link": "account","linkCode": "account" } + , + {"code": "currencyAccountList", + "type": 7,"name": "Список валютных счетов","shortname": "Список валютных счетов","link": "account","linkCode": "account" + } , {"code": "status", "type": 12,"name": "Наименование статуса","shortname": "Статус","link": "workflowStatus" @@ -3855,6 +4263,96 @@ } ] } + , + "tradingClearingRegistryList": { + + "name": "Список счетов ТКР", + + "destination": "trading-clearing-registries-list", + + "class": "ru.clearing.classes.statics.data.registry.TradingClearingRegistryList", + + "logUpdates": "true", + + "table": "trading_clearing_registry_list", + + "fields": [ + {"code": "tradingClearingRegistryId", + "type": 1,"dbname": "Идентификатор торгово-клирингового регистра","name": "Торгово-клиринговый регистр","shortname": "Торгово-клиринговый регистр","searchable": true,"sortable": true,"link": "tradingClearingRegistry" + } + , + {"code": "accountId", + "type": 1,"dbname": "Идентификатор валютного счета","name": "Номер валютного счета","shortname": "Денежный счет","searchable": true,"sortable": true,"visible": true,"link": "account","linkCode": "account" + } + , + {"code": "currency", + "type": 12,"dbname": "Код валюты","name": "Код валюты","shortname": "Валюта","searchable": true,"sortable": true,"visible": true,"link": "currencyCode","linkCode": "code" + } + , + {"code": "status", + "type": 12,"dbname": "Код статуса","name": "Наименование статуса","shortname": "Статус","searchable": true,"sortable": true,"visible": true,"link": "serviceStatus" + } + , + {"code": "id", + "type": 1,"name": "Идентификатор записи","shortname": "ID","searchable": true,"sortable": true + } + , + {"code": "createdAt", + "field": "created","type": 4,"name": "Дата и время создания записи","shortname": "Создано","searchable": true,"sortable": true,"ignore": true + } + , + {"code": "updatedAt", + "field": "updated","type": 4,"name": "Дата и время изменения записи","shortname": "Изменено","searchable": true,"sortable": true,"ignore": true + } + ] + ,"actions":[ + {"method":"post", + + "name": "Добавление списка счетов ТКР", + + "confirmation": "tradingClearingRegistryId,accountId,status", + + "fields": [ + {"code": "tradingClearingRegistryId", + "type": 1,"name": "Торгово-клиринговый регистр","shortname": "ТКР","link": "tradingClearingRegistry","linkCode": "code" + } + , + {"code": "currencyAccountList", + "type": 7,"name": "Список валютных счетов","shortname": "Список валютных счетов","link": "account","linkCode": "account" + } + , + {"code": "status", + "type": 12,"name": "Наименование статуса","shortname": "Статус","link": "serviceStatus","required": true + } + ] + } + , + {"method":"put", + + "name": "Изменение списка счетов ТКР", + + "confirmation": "tradingClearingRegistryId,accountId,status", + + "fields": [ + {"code": "id", + "type": 1,"name": "Идентификатор записи","shortname": "ID","link": "clientCode","linkCode": "id","required": true + } + , + {"code": "tradingClearingRegistryId", + "type": 1,"name": "Торгово-клиринговый регистр","shortname": "ТКР","link": "tradingClearingRegistry","linkCode": "code" + } + , + {"code": "currencyAccountList", + "type": 7,"name": "Список валютных счетов","shortname": "Список валютных счетов","link": "account","linkCode": "account" + } + , + {"code": "status", + "type": 12,"name": "Наименование статуса","shortname": "Статус","link": "serviceStatus","required": true + } + ] + } + ] + } , "registry": { @@ -4227,6 +4725,10 @@ {"code": "relationId", "type": 1,"dbname": "Идентификатор договорных отношений","name": "Договорные отношения","shortname": "Договор","searchable": true,"sortable": true,"link": "relation","ignore": true } + , + {"code": "currency", + "type": 12,"dbname": "Код валюты","name": "Код валюты","shortname": "Валюта","searchable": true,"sortable": true,"visible": true,"link": "currencyCode","linkCode": "code" + } , {"code": "status", "type": 12,"dbname": "Код статуса","name": "Наименование статуса","shortname": "Статус","searchable": true,"sortable": true,"visible": true,"link": "serviceStatus" @@ -4688,11 +5190,11 @@ } , {"code": "accountId", - "type": 1,"dbname": "Идентификатор счета","name": "Счет депо КС","shortname": "Счет депо КС","searchable": true,"sortable": true,"visible": true,"link": "account","linkCode": "account" + "type": 1,"dbname": "Идентификатор счета","name": "Номер счета","shortname": "Счет","searchable": true,"sortable": true,"visible": true,"link": "account","linkCode": "account" } , {"code": "accountSymbolValue", - "type": 2,"length": 255,"name": "Счет РДЦ","shortname": "Счет РДЦ","searchable": true,"sortable": true,"visible": true + "type": 2,"length": 255,"name": "Значение реквизита","shortname": "Значение","searchable": true,"sortable": true,"visible": true } ] ,"actions":[ @@ -4702,15 +5204,13 @@ "confirmation": "accountId,accountSymbolValue", - "class": "ru.spcex.clearing.backendapi.controller.request.cud.account.AccountSymbolsNewAction", - "fields": [ {"code": "accountId", - "type": 1,"dbname": "Идентификатор счета","name": "Счет депо КС","shortname": "Счет депо КС","link": "account","linkCode": "account","required": true + "type": 1,"dbname": "Идентификатор счета","name": "Номер счета","shortname": "Счет","link": "account","linkCode": "account","required": true } , {"code": "accountSymbolValue", - "type": 2,"length": 255,"name": "Счет РДЦ","shortname": "Счет РДЦ","required": true + "type": 2,"length": 255,"name": "Значение реквизита","shortname": "Значение","required": true } ] } @@ -5485,6 +5985,28 @@ "fields": [] } , + {"method":"post", + + "destination": "ADLR", + + "group": "Формирование реестров", + + "name": "Формирование реестра обязательств, допущенных к клирингу", + + "fields": [] + } + , + {"method":"post", + + "destination": "CDLR", + + "group": "Формирование реестров", + + "name": "Формирование реестра обязательств, прошедших процедуру контроля обеспечения", + + "fields": [] + } + , {"method":"post", "destination": "GORR", @@ -5507,6 +6029,17 @@ "fields": [] } , + {"method":"post", + + "destination": "EXLR", + + "group": "Формирование реестров", + + "name": "Формирование реестра обязательств, исключенных из клирингового пула", + + "fields": [] + } + , {"method":"post", "destination": "LBSR", @@ -5515,7 +6048,11 @@ "name": "Формирование реестра учета обязательств", - "fields": [] + "fields": [ + {"code": "settlementDate", + "type": 6,"name": "Дата","shortname": "Дата" + } + ] } , {"method":"post", @@ -5581,6 +6118,28 @@ "name": "Завершение неудачных клиринговых сессий", + "fields": [] + } + , + {"method":"post", + + "destination": "MTCR", + + "group": "Формирование отчетности", + + "name": "Формирование файлов с МТКР", + + "fields": [] + } + , + {"method":"post", + + "destination": "LIMC", + + "group": "Обмен с Торговой системой", + + "name": "Выгрузка в Торговую систему остатков по валют (отправка lim)", + "fields": [] } ] @@ -6148,6 +6707,142 @@ } ] + } + , + "executionCurrency": { + + "name": "Сделки с валютными инструментами", + + "destination": "execution-currency", + + "class": "ru.clearing.classes.statics.data.execution.ExecutionCurrency", + + "logUpdates": "true", + + "table": "execution_currency", + + "fields": [ + {"code": "exchangeExecutionId", + "type": 1,"name": "Идентификационный номер сделки в Торговой системе","shortname": "Номер сделки","visible": true,"searchable": true,"sortable": true + } + , + {"code": "exchangeExecutionTime", + "type": 4,"name": "Время заключения сделки в Торговой системе","shortname": "Время заключения сделки","visible": true,"searchable": true,"sortable": true + } + , + {"code": "exchangeExecutionMicroseconds", + "type": 4,"name": "Микросекунды заключения сделки в Торговой системе","shortname": "Микросекунды заключения сделки","visible": true,"searchable": true,"sortable": true + } + , + {"code": "tradingDate", + "type": 6,"name": "Дата заключения сделки","shortname": "Дата заключения сделки","visible": true,"searchable": true,"sortable": true + } + , + {"code": "settlementDate", + "type": 6,"name": "Дата расчетов","shortname": "Дата расчетов","visible": true,"searchable": true,"sortable": true + } + , + {"code": "settlementCode", + "type": 2,"length": 12,"name": "Код расчетов при размещении","shortname": "Код расчетов при размещении","visible": false,"searchable": true,"sortable": true,"ignore": true + } + , + {"code": "securityId", + "type": 1,"dbname": "Идентификатор финансового инструмента","name": "Финансовый инструмент","shortname": "Код биржевого инструмента / товара","searchable": true,"sortable": true,"link": "security","linkCode": "securitySymbol","ignore": true + } + , + {"code": "securitySymbol", + "type": 2,"length": 255,"name": "Код инструмента в Торговой Системе","shortname": "Код инструмента","visible": true,"searchable": true,"sortable": true + } + , + {"code": "securityName", + "type": 2,"length": 255,"name": "Краткое наименование инструмента","shortname": "Наименование инструмента","searchable": true,"sortable": true,"visible": true + } + , + {"code": "companyId", + "type": 1,"dbname": "Идентификатор компании","name": "Наименование компании","shortname": "Компания","visible": true,"searchable": true,"sortable": true,"link": "company","linkCode": "shortName" + } + , + {"code": "partytradingClearingRegistryId", + "type": 1,"dbname": "Идентификатор торгово-клирингового регистра","name": "Торгово-клиринговый регистр","shortname": "ТКР","visible": true,"searchable": true,"sortable": true,"link": "tradingClearingRegistry","linkCode": "code" + } + , + {"code": "partyTradingClearingRegistry", + "type": 2,"length": 20,"dbname": "Торгово-клиринговый регистр ","name": "Торгово-клиринговый регистр ","shortname": "ТКР ","searchable": true,"sortable": true,"ignore": true + } + , + {"code": "counterPartyId", + "type": 1,"dbname": "Идентификатор компании-партнера, с которой заключена сделка","name": "Наименование компании-партнера, с которой заключена сделка","shortname": "Партнер","visible": false,"searchable": true,"sortable": true,"link": "company","linkCode": "shortName" + } + , + {"code": "counterPartyTradingClearingRegistryId", + "type": 1,"dbname": "Идентификатор торгово-клирингового регистра партнера","name": "Торгово-клиринговый регистр партнера","shortname": "ТКР партнера","visible": true,"searchable": true,"sortable": true,"link": "tradingClearingRegistry","linkCode": "code","ignore": true + } + , + {"code": "counterPartyTradingClearingRegistry", + "type": 2,"length": 20,"dbname": "Торгово-клиринговый регистр партнера","name": "Торгово-клиринговый регистр партнера","shortname": "ТКР партнера","visible": true,"searchable": true,"sortable": true + } + , + {"code": "market", + "type": 12,"dbname": "Код секции валютного инструмента","name": "Секция валютного инструмента","shortname": "Секция","visible": true,"searchable": true,"sortable": true,"link": "market","linkKeyCode": "code","linkCode": "description" + } + , + {"code": "price", + "type": 10,"name": "Цена","shortname": "Цена","visible": true,"searchable": true,"sortable": true + } + , + {"code": "lotSize", + "type": 11,"name": "Размер лота","shortname": "Лот","searchable": true,"sortable": true,"visible": true,"linkKeyCode": "securityId","linkCode": "lotSize","link": "listing","extends": "listing" + } + , + {"code": "lots", + "type": 11,"name": "Количество лотов","shortname": "Лоты","visible": true,"searchable": true,"sortable": true + } + , + {"code": "settlementAmount", + "type": 11,"name": "Объем сделки в валюте лота","shortname": "Объем в валюте","visible": true,"searchable": true,"sortable": true + } + , + {"code": "quantity", + "type": 11,"name": "Количество штук","shortname": "Количество штук","visible": true,"searchable": true,"sortable": true + } + , + {"code": "side", + "type": 12,"dbname": "Код направления сделки","name": "Направление сделки","shortname": "Направление","visible": true,"searchable": true,"sortable": true,"link": "side" + } + , + {"code": "сurrencyCode", + "type": 12,"name": "Код валюты лота","shortname": "Код валюты лота","searchable": true,"sortable": true,"link": "currencyCode","linkCode": "code" + } + , + {"code": "settlementOrganization", + "type": 2,"length": 255,"name": "Наименование расчетной организации","shortname": "Расчетная организация","searchable": true,"sortable": true,"visible": true + } + , + {"code": "coverageStatus", + "type": 12,"dbname": "Код статуса достаточности обеспечения","name": "Cтатус достаточности обеспечения","shortname": "Обеспеченность","searchable": true,"sortable": true,"link": "allowed" + } + , + {"code": "sessionId", + "type": 1,"dbname": "Идентификатор клиринговой сессии","name": "Клиринговая сессия","shortname": "Сессия","visible": true,"searchable": true,"sortable": true,"link": "session" + } + , + {"code": "clearingDate", + "type": 6,"name": "Дата клиринга","shortname": "Дата клиринга","visible": false,"searchable": true,"sortable": true + } + , + {"code": "id", + "type": 1,"name": "Идентификатор записи","shortname": "ID","visible": false,"searchable": true,"sortable": true + } + , + {"code": "createdAt", + "field": "created","type": 4,"webtype": "5","dbname": "Дата-время создания записи","name": "Время создания записи","shortname": "Создано","visible": false,"searchable": true,"sortable": true + } + , + {"code": "updatedAt", + "field": "updated","type": 4,"webtype": "5","dbname": "Дата-время изменения записи","name": "Время изменения записи","shortname": "Изменено","visible": false,"searchable": true,"sortable": true + } + ] + } , "depoBalanceRegister": { @@ -6182,6 +6877,14 @@ {"code": "sessionId", "type": 1,"dbname": "Идентификатор клиринговой сессии","name": "Клиринговая сессия","shortname": "Сессия","visible": true,"searchable": true,"sortable": true,"link": "session","ignore": true } + , + {"code": "setHouseName", + "type": 2,"length": 255,"name": "Наименование РД","shortname": "Наименование РД","searchable": true,"sortable": true,"visible": true + } + , + {"code": "number", + "type": 2,"length": 255,"name": "Номер отчета","shortname": "Номер отчета","searchable": true,"sortable": true,"visible": true + } , {"code": "depoCode", "type": 2,"length": 50,"name": "Код раздела субсчета/счета депо","shortname": "Код счета депо","searchable": true,"sortable": true @@ -6215,24 +6918,40 @@ "type": 2,"length": 255,"name": "Наименование РО","shortname": "Наименование РО","searchable": true,"sortable": true,"visible": true } , - {"code": "account", - "type": 2,"length": 50,"name": "Номер торгового/клирингового счета","shortname": "Номер торгового/клирингового счета","searchable": true,"sortable": true,"visible": true + {"code": "number", + "type": 2,"length": 255,"name": "Номер отчета","shortname": "Номер отчета","searchable": true,"sortable": true,"visible": true } , - {"code": "infoAccount", - "type": 2,"length": 50,"name": "Номер счета внутреннего учета СПВБ","shortname": "Номер счета внутреннего учета СПВБ","searchable": true,"sortable": true,"visible": true,"ignore": true + {"code": "createdAt", + "type": 4,"webtype": "5","dbname": "Дата-время создания записи","name": "Время создания записи","shortname": "Создано","searchable": true,"sortable": true + } + , + {"code": "currencyCode", + "type": 12,"dbname": "Код валюты","name": "Код валюты","shortname": "Валюта","searchable": true,"sortable": true,"visible": true,"link": "currencyCode","linkCode": "code" + } + , + {"code": "companyId", + "type": 1,"dbname": "Идентификатор компании","name": "Наименование компании","shortname": "Компания","searchable": true,"sortable": true,"visible": true,"link": "company","linkCode": "shortName" + } + , + {"code": "account", + "type": 2,"length": 50,"name": "Номер торгового /клирингового счета/ счета внутреннего учета СПВБ","shortname": "Счет","searchable": true,"sortable": true,"visible": true } , {"code": "remainderSum", "type": 10,"name": "Остаток денежных средств","shortname": "Остаток","searchable": true,"sortable": true } , - {"code": "blockedSum", - "type": 10,"name": "Сумма блокированных денежных средств","shortname": "Блокированные","searchable": true,"sortable": true,"ignore": true + {"code": "infoAccount", + "type": 2,"length": 50,"name": "Номер счета внутреннего учета СПВБ","shortname": "Номер счета внутреннего учета СПВБ","searchable": true,"sortable": true,"visible": true,"ignore": true } , - {"code": "unblockedSum", - "type": 10,"name": "Сумма свободных денежных средств","shortname": "Свободные","searchable": true,"sortable": true,"ignore": true + {"code": "companyFullName", + "type": 2,"length": 255,"name": "Полное наименование компании","shortname": "Полное наименование компании","searchable": true,"sortable": true,"visible": true,"ignore": true + } + , + {"code": "id", + "type": 1,"name": "Идентификатор записи","shortname": "ID","searchable": true,"sortable": true,"ignore": true } , {"code": "inn", @@ -6243,20 +6962,12 @@ "type": 1,"dbname": "Идентификатор клиринговой сессии","name": "Клиринговая сессия","shortname": "Сессия","visible": true,"searchable": true,"sortable": true,"link": "session","ignore": true } , - {"code": "companyFullName", - "type": 2,"length": 255,"name": "Полное наименование компании","shortname": "Полное наименование компании","searchable": true,"sortable": true,"visible": true,"ignore": true + {"code": "blockedSum", + "type": 10,"name": "Сумма блокированных денежных средств","shortname": "Блокированные","searchable": true,"sortable": true,"ignore": true } , - {"code": "companyId", - "type": 1,"dbname": "Идентификатор компании","name": "Наименование компании","shortname": "Компания","searchable": true,"sortable": true,"visible": true,"link": "company","linkCode": "shortName" - } - , - {"code": "id", - "type": 1,"name": "Идентификатор записи","shortname": "ID","searchable": true,"sortable": true,"ignore": true - } - , - {"code": "createdAt", - "field": "created","type": 4,"webtype": "5","dbname": "Дата-время создания записи","name": "Время создания записи","shortname": "Создано","searchable": true,"sortable": true + {"code": "unblockedSum", + "type": 10,"name": "Сумма свободных денежных средств","shortname": "Свободные","searchable": true,"sortable": true,"ignore": true } , {"code": "updatedAt", @@ -6584,6 +7295,94 @@ } ] + } + , + "pairSdf": { + + "name": "Пары файлов", + + "destination": "pair-sdf", + + "class": "ru.clearing.classes.statics.data.register.PairSdf", + + "table": "pair_sdf", + + "fields": [ + {"code": "id", + "type": 1,"name": "Идентификатор записи","shortname": "ID","searchable": true,"sortable": true + } + , + {"code": "createdAt", + "field": "created","type": 4,"webtype": "5","name": "Время создания записи","shortname": "Создано","searchable": true,"sortable": true + } + , + {"code": "updatedAt", + "field": "updated","type": 4,"webtype": "5","name": "Время изменения записи","shortname": "Изменено","searchable": true,"sortable": true + } + , + {"code": "inSDfId", + "type": 2,"length": 255,"name": "Идентификатор входящего файла","shortname": "Входящая запись","searchable": true,"sortable": true,"ignore": true + } + , + {"code": "inSDf", + "type": 2,"length": 255,"name": "Входящий файл","shortname": "Входящий","searchable": true,"sortable": true + } + , + {"code": "outSDfId", + "type": 2,"length": 255,"name": "Идентификатор исходящего файла","shortname": "Исходящий файл","searchable": true,"sortable": true,"ignore": true + } + , + {"code": "outSDf", + "type": 2,"length": 255,"name": "Исходящий файл","shortname": "Исходящий файл","searchable": true,"sortable": true + } + ] + + } + , + "gatewayResult": { + + "name": "Результат запроса к gateway", + + "destination": "gateway-result", + + "class": "ru.clearing.classes.statics.data.register.GatewayResult", + + "table": "gateway_result", + + "fields": [ + {"code": "id", + "type": 1,"name": "Идентификатор записи","shortname": "ID","searchable": true,"sortable": true + } + , + {"code": "createdAt", + "field": "created","type": 4,"webtype": "5","name": "Время создания записи","shortname": "Создано","searchable": true,"sortable": true + } + , + {"code": "updatedAt", + "field": "updated","type": 4,"webtype": "5","name": "Время изменения записи","shortname": "Изменено","searchable": true,"sortable": true + } + , + {"code": "requestId", + "type": 2,"length": 255,"name": "ID запроса","shortname": "ID","searchable": true,"sortable": true + } + , + {"code": "nameRequest", + "type": 2,"length": 255,"name": "Наименование запроса","shortname": "Наименование","searchable": true,"sortable": true + } + , + {"code": "request", + "type": 2,"length": 1023,"name": "Тело запроса","shortname": "Запрос","searchable": true,"sortable": true + } + , + {"code": "result", + "type": 2,"length": 1023,"name": "Тело ответа","shortname": "Ответ","searchable": true,"sortable": true + } + , + {"code": "gatewayResultStatus", + "type": 12,"name": "Статус запроса","shortname": "Статус","searchable": true,"sortable": true,"link": "gatewayResultStatus" + } + ] + } , "liabilitiesRegister": { @@ -7055,11 +7854,11 @@ } , {"code": "updatedAt", - "field": "updated","type": 4,"webtype": "5","dbname": "Дата-время изменения записи","name": "Время изменения записи","shortname": "Изменено","searchable": true,"sortable": true + "field": "updated","type": 4,"webtype": "5","dbname": "Дата-время изменения записи","name": "Время прочтения записи","shortname": "Прочитано","searchable": true,"sortable": true } , {"code": "senderId", - "type": 1,"dbname": "Идентификатор отправителя","name": "Наименование отправителя","shortname": "Отправитель","searchable": true,"sortable": true,"visible": true,"link": "userCls","linkCode": "identifier" + "type": 1,"dbname": "Идентификатор компании-отправителя","name": "Наименование компании-отправителя","shortname": "Отправитель","searchable": true,"sortable": true,"link": "company","ignore": true } , {"code": "addresseeId", @@ -7664,6 +8463,18 @@ {"code": "generationId", "type": 1,"name": "Идентификатор взаимодействия","shortname": "ID взаимодействия","searchable": true,"sortable": true,"visible": true } + , + {"code": "Doc_Num", + "field": "Doc_Num","type": 2,"length": 3,"name": "Номер выгружаемого документа","shortname": "Номер выгружаемого документа","searchable": true,"sortable": true,"visible": true + } + , + {"code": "Doc_Date", + "field": "Doc_Date","type": 6,"name": "Дата выгружаемого документа","shortname": "Дата выгружаемого документа","searchable": true,"sortable": true,"visible": true + } + , + {"code": "pay_val", + "type": 2,"length": 12,"name": "Валюта документа","shortname": "Валюта","searchable": true,"sortable": true,"visible": true + } ] } @@ -7738,6 +8549,18 @@ {"code": "inSDfId", "type": 1,"name": "Идентификатор соответствующей записи из таблицы-источника","shortname": "Входящая запись","searchable": true,"sortable": true,"visible": true } + , + {"code": "Doc_Num", + "field": "Doc_Num","type": 2,"length": 3,"name": "Номер выгружаемого документа","shortname": "Номер выгружаемого документа","searchable": true,"sortable": true,"visible": true + } + , + {"code": "Doc_Date", + "field": "Doc_Date","type": 6,"name": "Дата выгружаемого документа","shortname": "Дата выгружаемого документа","searchable": true,"sortable": true,"visible": true + } + , + {"code": "pay_val", + "type": 2,"length": 12,"name": "Валюта документа","shortname": "Валюта","searchable": true,"sortable": true,"visible": true + } ] } @@ -8588,6 +9411,26 @@ {"code": "generationId", "type": 1,"name": "Идентификатор взаимодействия","shortname": "ID взаимодействия","searchable": true,"sortable": true,"visible": true } + , + {"code": "Doc_Num", + "field": "Doc_Num","type": 2,"length": 3,"name": "Номер выгружаемого документа","shortname": "Номер выгружаемого документа","searchable": true,"sortable": true,"visible": true + } + , + {"code": "Doc_Date", + "field": "Doc_Date","type": 6,"name": "Дата выгружаемого документа","shortname": "Дата выгружаемого документа","searchable": true,"sortable": true,"visible": true + } + , + {"code": "Value_date", + "field": "Value_date","type": 2,"length": 8,"name": "Дата валютирования","shortname": "Дата валютирования","searchable": true,"sortable": true,"visible": true + } + , + {"code": "Swift_ben", + "field": "Swift_ben","type": 2,"length": 11,"name": "Свифт банка бенефициара","shortname": "Свифт банка бенефициара","searchable": true,"sortable": true,"visible": true + } + , + {"code": "Swift_intermed", + "field": "Swift_intermed","type": 2,"length": 11,"name": "Swift_intermed","shortname": "Swift_intermed","searchable": true,"sortable": true,"visible": true + } ] } @@ -8778,6 +9621,26 @@ {"code": "generationId", "type": 1,"name": "Идентификатор взаимодействия","shortname": "ID взаимодействия","searchable": true,"sortable": true,"visible": true } + , + {"code": "Doc_Num", + "field": "Doc_Num","type": 2,"length": 3,"name": "Номер выгружаемого документа","shortname": "Номер выгружаемого документа","searchable": true,"sortable": true,"visible": true + } + , + {"code": "Doc_Date", + "field": "Doc_Date","type": 6,"name": "Дата выгружаемого документа","shortname": "Дата выгружаемого документа","searchable": true,"sortable": true,"visible": true + } + , + {"code": "Value_date", + "field": "Value_date","type": 2,"length": 8,"name": "Дата валютирования","shortname": "Дата валютирования","searchable": true,"sortable": true,"visible": true + } + , + {"code": "Swift_ben", + "field": "Swift_ben","type": 2,"length": 11,"name": "Свифт банка бенефициара","shortname": "Свифт банка бенефициара","searchable": true,"sortable": true,"visible": true + } + , + {"code": "Swift_intermed", + "field": "Swift_intermed","type": 2,"length": 11,"name": "Swift_intermed","shortname": "Swift_intermed","searchable": true,"sortable": true,"visible": true + } ] } @@ -9002,6 +9865,30 @@ {"code": "generationId", "type": 1,"name": "Идентификатор взаимодействия","shortname": "ID взаимодействия","searchable": true,"sortable": true,"visible": true } + , + {"code": "Doc_Num", + "field": "Doc_Num","type": 2,"length": 3,"name": "Номер выгружаемого документа","shortname": "Номер выгружаемого документа","searchable": true,"sortable": true,"visible": true + } + , + {"code": "Doc_Date", + "field": "Doc_Date","type": 6,"name": "Дата выгружаемого документа","shortname": "Дата выгружаемого документа","searchable": true,"sortable": true,"visible": true + } + , + {"code": "dt_in", + "type": 2,"length": 22,"name": "Входящий дебетовый остаток","shortname": "Входящий дебетовый остаток","searchable": true,"sortable": true,"visible": true + } + , + {"code": "kt_in", + "type": 2,"length": 22,"name": "Входящий кредитовый остаток","shortname": "Входящий кредитовый остаток","searchable": true,"sortable": true,"visible": true + } + , + {"code": "dt_out", + "type": 2,"length": 22,"name": "Исходящий дебетовый остаток","shortname": "Исходящий дебетовый остаток","searchable": true,"sortable": true,"visible": true + } + , + {"code": "kt_out", + "type": 2,"length": 22,"name": "Исходящий кредитовый остаток","shortname": "Исходящий кредитовый остаток","searchable": true,"sortable": true,"visible": true + } ] } diff --git a/clearing-parent/backend-api/src/test/resources/meta.xml b/clearing-parent/backend-api/src/test/resources/meta.xml new file mode 100644 index 000000000..375a812d3 --- /dev/null +++ b/clearing-parent/backend-api/src/test/resources/meta.xml @@ -0,0 +1,2492 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <сurrencyCode type="12" name="Код валюты лота" shortname="Код валюты лота" searchable="true" sortable="true" link="currencyCode" linkCode="code"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +