custom ECB sql file
This commit is contained in:
Binary file not shown.
@@ -13,6 +13,11 @@ pub struct PreviewEcbConversionRequest {
|
||||
/// conversion_context: transaction, statement, or decisive date.
|
||||
#[prost(string, tag = "4")]
|
||||
pub anchor_date: ::prost::alloc::string::String,
|
||||
/// Required. Profile whose custom exchange rate table is consulted before the
|
||||
/// ECB observations, so the preview matches what posting into that profile
|
||||
/// would do.
|
||||
#[prost(string, tag = "5")]
|
||||
pub profile_name: ::prost::alloc::string::String,
|
||||
}
|
||||
/// The conversion and immutable local ECB observation that would be used now.
|
||||
/// No rounding is performed and no conversion evidence is persisted.
|
||||
@@ -48,6 +53,17 @@ pub struct PreviewEcbConversionResponse {
|
||||
pub import_batch_id: ::core::option::Option<i64>,
|
||||
#[prost(string, optional, tag = "15")]
|
||||
pub source_endpoint: ::core::option::Option<::prost::alloc::string::String>,
|
||||
/// Present only when determination_method is custom_rate. rate_date and
|
||||
/// units_per_eur then describe the hand-entered row identified here, and the
|
||||
/// ECB observation fields above are empty.
|
||||
#[prost(int64, optional, tag = "16")]
|
||||
pub custom_rate_table_definition_id: ::core::option::Option<i64>,
|
||||
#[prost(int64, optional, tag = "17")]
|
||||
pub custom_rate_record_id: ::core::option::Option<i64>,
|
||||
#[prost(int64, optional, tag = "18")]
|
||||
pub custom_rate_row_revision: ::core::option::Option<i64>,
|
||||
#[prost(string, optional, tag = "19")]
|
||||
pub custom_rate_note: ::core::option::Option<::prost::alloc::string::String>,
|
||||
}
|
||||
/// Identify one logical money cell whose conversion history should be inspected.
|
||||
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
|
||||
@@ -112,10 +128,22 @@ pub struct EcbConversionEvidence {
|
||||
pub source_endpoint: ::core::option::Option<::prost::alloc::string::String>,
|
||||
#[prost(string, tag = "18")]
|
||||
pub evidence_created_at: ::prost::alloc::string::String,
|
||||
/// Present only when determination_method is custom_rate. The hand-entered row
|
||||
/// that supplied rate_date and units_per_eur. The row itself stays editable, so
|
||||
/// the figures above are the immutable record of what was actually applied.
|
||||
#[prost(int64, optional, tag = "19")]
|
||||
pub custom_rate_table_definition_id: ::core::option::Option<i64>,
|
||||
#[prost(int64, optional, tag = "20")]
|
||||
pub custom_rate_record_id: ::core::option::Option<i64>,
|
||||
#[prost(int64, optional, tag = "21")]
|
||||
pub custom_rate_row_revision: ::core::option::Option<i64>,
|
||||
#[prost(string, optional, tag = "22")]
|
||||
pub custom_rate_note: ::core::option::Option<::prost::alloc::string::String>,
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct ListEcbConversionEvidenceResponse {
|
||||
/// True when at least one evidence row for this cell used an ECB rate.
|
||||
/// True when at least one evidence row for this cell used a rate, whether it
|
||||
/// came from ECB or from a hand-entered custom row.
|
||||
#[prost(bool, tag = "1")]
|
||||
pub has_exchange: bool,
|
||||
/// Newest-first immutable history for this page.
|
||||
|
||||
Reference in New Issue
Block a user