@zuplo/runtime 6.67.19 → 6.67.20
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 +1 -1
- package/out/esm/index.js.map +1 -1
- package/out/types/index.d.ts +13 -0
- package/package.json +1 -1
package/out/types/index.d.ts
CHANGED
|
@@ -5924,6 +5924,19 @@ export declare type MonetizationInboundPolicyOptions = {
|
|
|
5924
5924
|
*/
|
|
5925
5925
|
module: string;
|
|
5926
5926
|
};
|
|
5927
|
+
/**
|
|
5928
|
+
* The function that runs after a backend response is available and returns meter usage values for final metering.
|
|
5929
|
+
*/
|
|
5930
|
+
finalFunction?: {
|
|
5931
|
+
/**
|
|
5932
|
+
* Specifies the export to load your custom final function, e.g. `default`, `resolveFinalMeters`.
|
|
5933
|
+
*/
|
|
5934
|
+
export: string;
|
|
5935
|
+
/**
|
|
5936
|
+
* Specifies the module to load your custom final function, in the format `$import(./modules/my-module)`.
|
|
5937
|
+
*/
|
|
5938
|
+
module: string;
|
|
5939
|
+
};
|
|
5927
5940
|
/**
|
|
5928
5941
|
* A list of successful status codes and ranges "200-299, 304" that should trigger a metering call.
|
|
5929
5942
|
*/
|