@zuplo/runtime 6.54.24 → 6.54.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6081,6 +6081,20 @@ declare interface OpenMeterMeteringInboundPolicy_2 {
6081
6081
  export declare type OpenMeterMeteringInboundPolicyOptions =
6082
6082
  OpenMeterMeteringInboundPolicy_2;
6083
6083
 
6084
+ export declare class OpenMeterMeteringPolicy {
6085
+ static setRequestProperties(
6086
+ context: ZuploContext,
6087
+ properties: OpenMeterMeteringProperties
6088
+ ): void;
6089
+ }
6090
+
6091
+ declare interface OpenMeterMeteringProperties {
6092
+ eventType: string;
6093
+ customerId: string;
6094
+ meterValue?: number;
6095
+ data?: Record<string, unknown>;
6096
+ }
6097
+
6084
6098
  /**
6085
6099
  * A policy that can modify the outgoing HTTP response before it is returned
6086
6100
  * to the client. Outbound policies run after the handler has generated a response.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zuplo/runtime",
3
3
  "type": "module",
4
- "version": "6.54.24",
4
+ "version": "6.54.26",
5
5
  "repository": "https://github.com/zuplo/zuplo",
6
6
  "author": "Zuplo, Inc.",
7
7
  "exports": {