@zuplo/runtime 5.1808.0 → 5.1810.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 CHANGED
@@ -4183,6 +4183,25 @@ export declare function webSocketHandler(request: ZuploRequest, context: ZuploCo
4183
4183
  */
4184
4184
  export declare function webSocketPipelineHandler(request: ZuploRequest, context: ZuploContext): Promise<Response>;
4185
4185
 
4186
+ /**
4187
+ * Parses XML and converts it to JSON
4188
+ *
4189
+ * @title Xml to JSON Outbound
4190
+ * @public
4191
+ * @param request - The ZuploRequest
4192
+ * @param context - The ZuploContext
4193
+ * @param options - The policy options set in policies.json
4194
+ * @param policyName - The name of the policy as set in policies.json
4195
+ * @returns A Request or a Response
4196
+ */
4197
+ export declare const XmlToJsonOutboundPolicy: OutboundPolicyHandler<XmlToJsonPolicyOptions>;
4198
+
4199
+ /**
4200
+ * The options for this policy.
4201
+ */
4202
+ export declare interface XmlToJsonPolicyOptions {
4203
+ }
4204
+
4186
4205
  /**
4187
4206
  * This is a simple wrapper around the data-center HTTP cache
4188
4207
  * to enable simple objects to be stored by a string key. This is