@zuplo/runtime 5.1806.0 → 5.1808.0
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/index.d.ts +1 -20
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2542,26 +2542,7 @@ export declare interface MoesifInboundPolicyOptions {
|
|
|
2542
2542
|
logResponseBody?: boolean;
|
|
2543
2543
|
}
|
|
2544
2544
|
|
|
2545
|
-
|
|
2546
|
-
* The Monetization policy enables you to track & monetize by your API's usage
|
|
2547
|
-
*
|
|
2548
|
-
* @remarks
|
|
2549
|
-
* The Monetization policy allows you to track and monetize the usage of our API resources,
|
|
2550
|
-
* declaratively and programatically.
|
|
2551
|
-
*
|
|
2552
|
-
* @title Monetization
|
|
2553
|
-
* @public
|
|
2554
|
-
* @param request - The ZuploRequest
|
|
2555
|
-
* @param context - The ZuploContext
|
|
2556
|
-
* @param options - The policy options set in policies.json
|
|
2557
|
-
* @param policyName - The name of the policy as set in policies.json
|
|
2558
|
-
* @returns A Request or a Response
|
|
2559
|
-
*/
|
|
2560
|
-
export declare class MonetizationInboundPolicy extends InboundPolicy<MonetizationInboundPolicyOptions> {
|
|
2561
|
-
static getSubscription(context: ZuploContext): StoredMeteringSubscriptionWithQuotas | undefined;
|
|
2562
|
-
static setMeters(context: ZuploContext, meters: MonetizationPolicyMeters): void;
|
|
2563
|
-
handler(request: ZuploRequest<RequestGeneric>, context: ZuploContext): Promise<ZuploRequest<RequestGeneric> | Response>;
|
|
2564
|
-
}
|
|
2545
|
+
/* Excluded from this release type: MonetizationInboundPolicy */
|
|
2565
2546
|
|
|
2566
2547
|
/**
|
|
2567
2548
|
* The options for this policy.
|