@zuplo/runtime 6.52.1 → 6.52.2
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 +41 -41
- package/out/types/index.d.ts +35 -0
- package/package.json +1 -1
package/out/types/index.d.ts
CHANGED
|
@@ -4451,6 +4451,41 @@ export declare interface PropelAuthJwtInboundPolicyOptions {
|
|
|
4451
4451
|
verifierKey: string;
|
|
4452
4452
|
}
|
|
4453
4453
|
|
|
4454
|
+
/**
|
|
4455
|
+
* Extracts a query parameter and sets it as a header in the request.
|
|
4456
|
+
*
|
|
4457
|
+
* @title Convert Query Parameter to Header
|
|
4458
|
+
* @public
|
|
4459
|
+
* @param request - The ZuploRequest
|
|
4460
|
+
* @param context - The ZuploContext
|
|
4461
|
+
* @param options - The policy options set in policies.json
|
|
4462
|
+
* @param policyName - The name of the policy as set in policies.json
|
|
4463
|
+
* @returns A Request or a Response
|
|
4464
|
+
*/
|
|
4465
|
+
export declare const QueryParamToHeaderInboundPolicy: InboundPolicyHandler<QueryParamToHeaderInboundPolicyOptions>;
|
|
4466
|
+
|
|
4467
|
+
/**
|
|
4468
|
+
* The options for the query parameter to header inbound policy.
|
|
4469
|
+
*/
|
|
4470
|
+
export declare interface QueryParamToHeaderInboundPolicyOptions {
|
|
4471
|
+
/**
|
|
4472
|
+
* The name of the query parameter to extract.
|
|
4473
|
+
*/
|
|
4474
|
+
queryParam: string;
|
|
4475
|
+
/**
|
|
4476
|
+
* The name of the header to set.
|
|
4477
|
+
*/
|
|
4478
|
+
headerName: string;
|
|
4479
|
+
/**
|
|
4480
|
+
* The value template for the header. Use {value} to substitute the query parameter value.
|
|
4481
|
+
*/
|
|
4482
|
+
headerValue: string;
|
|
4483
|
+
/**
|
|
4484
|
+
* Whether to remove the query parameter from the URL after extracting it.
|
|
4485
|
+
*/
|
|
4486
|
+
removeFromUrl?: boolean;
|
|
4487
|
+
}
|
|
4488
|
+
|
|
4454
4489
|
export declare interface QuotaDetail {
|
|
4455
4490
|
key: string;
|
|
4456
4491
|
allowances: {
|