@zuplo/runtime 5.1645.0 → 5.1647.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 +6 -6
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -3241,21 +3241,21 @@ export declare class ResponseSentEvent extends Event {
|
|
|
3241
3241
|
/* Excluded from this release type: ResponseValidationOutboundPolicy */
|
|
3242
3242
|
|
|
3243
3243
|
/**
|
|
3244
|
-
* The options for this policy
|
|
3244
|
+
* The options for this policy.
|
|
3245
3245
|
*/
|
|
3246
3246
|
export declare interface ResponseValidationOutboundPolicyOptions {
|
|
3247
3247
|
/**
|
|
3248
|
-
*
|
|
3248
|
+
* The log level to use when logging validation errors.
|
|
3249
3249
|
*/
|
|
3250
3250
|
logLevel?: "error" | "warn" | "info" | "debug";
|
|
3251
3251
|
validateBody?: ValidationOptions_2;
|
|
3252
3252
|
validateHeaders?: ValidationOptions1_2;
|
|
3253
3253
|
/**
|
|
3254
|
-
*
|
|
3254
|
+
* Whether to include the request in the logs.
|
|
3255
3255
|
*/
|
|
3256
3256
|
includeResponseInLogs?: boolean;
|
|
3257
3257
|
/**
|
|
3258
|
-
*
|
|
3258
|
+
* Specify whether to include the request in the logs.
|
|
3259
3259
|
*/
|
|
3260
3260
|
includeRequestInLogs?: boolean;
|
|
3261
3261
|
}
|
|
@@ -3963,7 +3963,7 @@ declare type ValidationOptions = "none" | "log-only" | "reject-and-log" | "rejec
|
|
|
3963
3963
|
declare type ValidationOptions1 = "none" | "log-only" | "reject-and-log" | "reject-only";
|
|
3964
3964
|
|
|
3965
3965
|
/**
|
|
3966
|
-
*
|
|
3966
|
+
* The action to perform when validation fails.
|
|
3967
3967
|
*/
|
|
3968
3968
|
declare type ValidationOptions1_2 = "none" | "log-only" | "return-error-and-log" | "return-error-only";
|
|
3969
3969
|
|
|
@@ -3978,7 +3978,7 @@ declare type ValidationOptions2 = "none" | "log-only" | "reject-and-log" | "reje
|
|
|
3978
3978
|
declare type ValidationOptions3 = "none" | "log-only" | "reject-and-log" | "reject-only";
|
|
3979
3979
|
|
|
3980
3980
|
/**
|
|
3981
|
-
*
|
|
3981
|
+
* The action to perform when validation fails.
|
|
3982
3982
|
*/
|
|
3983
3983
|
declare type ValidationOptions_2 = "none" | "log-only" | "return-error-and-log" | "return-error-only";
|
|
3984
3984
|
|