Module Values.TestConversionRequestSource

This operation mimics the latter half of a typical Outbound EDI request. It takes an input JSON/XML in the B2Bi shape as input, converts it to an X12 EDI string, and return that string.

Sourcetype nonrec t = {
  1. source : ConversionSource.t;
    (*

    Specify the source file for an outbound EDI request.

    *)
  2. target : ConversionTarget.t;
    (*

    Specify the format (X12 is the only currently supported format), and other details for the conversion target.

    *)
}
Sourceval context_ : string
Sourceval make : source:ConversionSource.t -> target:ConversionTarget.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `String of InputFileSourceFileContentString.t | `Structure of (string * [> `Enum of string | `String of BucketName.t | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `Integer of X12ElementLengthValidationRuleMaxLengthInteger.t | `List of [> `String of String_.t ] list | `String of ElementId.t ]) list ]) list ] list ]) list ]) list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t