From e8f65d1e82150aa18d52b34d3ec09ff63ad24ca1 Mon Sep 17 00:00:00 2001 From: Alex Goth <64845621+GAlexIHU@users.noreply.github.com> Date: Fri, 2 Aug 2024 17:13:29 +0200 Subject: [PATCH] fix: expose missing handler and types (#1290) --- openmeter/entitlement/httpdriver/handlers.go | 1 + openmeter/entitlement/httpdriver/types.go | 3 +++ 2 files changed, 4 insertions(+) diff --git a/openmeter/entitlement/httpdriver/handlers.go b/openmeter/entitlement/httpdriver/handlers.go index 0900e7a14..e7feb4565 100644 --- a/openmeter/entitlement/httpdriver/handlers.go +++ b/openmeter/entitlement/httpdriver/handlers.go @@ -24,6 +24,7 @@ type ( ResetEntitlementUsageHandler = httpdriver.ResetEntitlementUsageHandler ListEntitlementsHandler = httpdriver.ListEntitlementsHandler GetEntitlementHandler = httpdriver.GetEntitlementHandler + GetEntitlementByIdHandler = httpdriver.GetEntitlementByIdHandler DeleteEntitlementHandler = httpdriver.DeleteEntitlementHandler ) diff --git a/openmeter/entitlement/httpdriver/types.go b/openmeter/entitlement/httpdriver/types.go index cb8de05c4..f22cc024e 100644 --- a/openmeter/entitlement/httpdriver/types.go +++ b/openmeter/entitlement/httpdriver/types.go @@ -13,6 +13,7 @@ type ( ResetEntitlementUsageHandlerRequest = httpdriver.ResetEntitlementUsageHandlerRequest ListEntitlementsHandlerRequest = httpdriver.ListEntitlementsHandlerRequest GetEntitlementHandlerRequest = httpdriver.GetEntitlementHandlerRequest + GetEntitlementByIdHandlerRequest = httpdriver.GetEntitlementByIdHandlerRequest DeleteEntitlementHandlerRequest = httpdriver.DeleteEntitlementHandlerRequest ) @@ -27,6 +28,7 @@ type ( ResetEntitlementUsageHandlerResponse = httpdriver.ResetEntitlementUsageHandlerResponse ListEntitlementsHandlerResponse = httpdriver.ListEntitlementsHandlerResponse GetEntitlementHandlerResponse = httpdriver.GetEntitlementHandlerResponse + GetEntitlementByIdHandlerResponse = httpdriver.GetEntitlementByIdHandlerResponse DeleteEntitlementHandlerResponse = httpdriver.DeleteEntitlementHandlerResponse ) @@ -41,5 +43,6 @@ type ( ResetEntitlementUsageHandlerParams = httpdriver.ResetEntitlementUsageHandlerParams ListEntitlementsHandlerParams = httpdriver.ListEntitlementsHandlerParams GetEntitlementHandlerParams = httpdriver.GetEntitlementHandlerParams + GetEntitlementByIdHandlerParams = httpdriver.GetEntitlementByIdHandlerParams DeleteEntitlementHandlerParams = httpdriver.DeleteEntitlementHandlerParams )