finishing version 50

This commit is contained in:
Filipriec
2026-08-30 23:59:13 +02:00
parent 04b45e125c
commit 829b4c9e07
8 changed files with 56 additions and 26 deletions

View File

@@ -31,7 +31,8 @@ use common::proto::komp_ac::search::{
ColumnConstraint, MatchMode, SearchOrder, SearchRequest, SearchResponse,
};
use common::proto::komp_ac::table_definition::{
CreateCustomExchangeRatesTableRequest, CreateCustomExchangeRatesTableResponse,
ApplyInvoiceTemplateTableRequest, CreateCustomExchangeRatesTableRequest,
CreateCustomExchangeRatesTableResponse, CreateInvoiceTemplateTableResponse,
GetProfileDetailsRequest, GetProfileDetailsResponse, GetTableCatalogRequest,
GetTableCatalogResponse, ListColumnTypesResponse, PostTableDefinitionRequest,
ProfileTreeResponse, PutTableDefinitionRequest, PutTableDefinitionResponse,
@@ -1204,7 +1205,7 @@ impl GrpcClient {
pub async fn create_invoice_template_table(
&mut self,
request: common::proto::komp_ac::table_definition::CreateInvoiceTemplateTableRequest,
) -> Result<common::proto::komp_ac::table_definition::CreateInvoiceTemplateTableResponse> {
) -> Result<CreateInvoiceTemplateTableResponse> {
let request = self.authenticated_request(request)?;
Ok(self
.table_definition_client
@@ -1214,6 +1215,19 @@ impl GrpcClient {
.into_inner())
}
pub async fn apply_invoice_template_table(
&mut self,
request: ApplyInvoiceTemplateTableRequest,
) -> Result<CreateInvoiceTemplateTableResponse> {
let request = self.authenticated_request(request)?;
Ok(self
.table_definition_client
.apply_invoice_template_table(request)
.await
.context("gRPC ApplyInvoiceTemplateTable call failed")?
.into_inner())
}
pub async fn list_rate_sources(
&mut self,
) -> Result<common::proto::komp_ac::exchange_rates::ListRateSourcesResponse> {