@zuplo/runtime 6.54.23 → 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.
- package/out/esm/index.js +28 -28
- package/out/types/index.d.ts +14 -0
- package/package.json +1 -1
package/out/types/index.d.ts
CHANGED
|
@@ -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.
|