+source currency pick fix +fx side propagation

This commit is contained in:
Stephan D
2026-02-26 02:39:48 +01:00
parent 008427483c
commit 70b1c2a9cc
73 changed files with 2123 additions and 656 deletions

View File

@@ -152,6 +152,10 @@ message StepExecution {
Failure failure = 7;
// External references produced by the step.
repeated ExternalReference refs = 8;
// Reporting visibility for user/backoffice/audit projections.
ReportVisibility report_visibility = 9;
// Optional user-facing operation label.
string user_label = 10;
}
// Kept local on purpose: no shared enum exists for orchestration step runtime.
@@ -172,6 +176,20 @@ enum StepExecutionState {
STEP_EXECUTION_STATE_SKIPPED = 6;
}
// ReportVisibility determines which audience should see the step.
enum ReportVisibility {
// Default zero value.
REPORT_VISIBILITY_UNSPECIFIED = 0;
// Hidden from all external reports.
REPORT_VISIBILITY_HIDDEN = 1;
// Visible to end users.
REPORT_VISIBILITY_USER = 2;
// Visible to backoffice operators.
REPORT_VISIBILITY_BACKOFFICE = 3;
// Visible only for audit/compliance review.
REPORT_VISIBILITY_AUDIT = 4;
}
// Failure describes a normalized step failure.
message Failure {
// Broad, shared failure category.

View File

@@ -6,6 +6,7 @@ option go_package = "github.com/tech/sendico/pkg/proto/payments/quotation/v2;quo
import "api/proto/payments/shared/v1/shared.proto";
import "api/proto/common/money/v1/money.proto";
import "api/proto/common/fx/v1/fx.proto";
import "api/proto/common/payment/v1/settlement.proto";
import "api/proto/payments/endpoint/v1/endpoint.proto";
import "api/proto/payments/quotation/v2/interface.proto";
@@ -19,6 +20,7 @@ message QuoteIntent {
payments.quotation.v2.FeeTreatment fee_treatment = 5;
string settlement_currency = 6;
string comment = 7;
common.fx.v1.Side fx_side = 8;
}
// QuotePaymentRequest is the request to quote a single v2 payment.