import * as $ from "@wildboar/asn1/functional"; import { Code } from "../CommonProtocolSpecification/Code.ta.mjs"; import { type ERROR } from "../CommonProtocolSpecification/ERROR.oca.mjs"; /** * @summary OPERATION * @description * * ### ASN.1 Definition: * * ```asn1 * OPERATION ::= CLASS { * &ArgumentType OPTIONAL, * &ResultType OPTIONAL, * &Errors ERROR OPTIONAL, * &operationCode Code UNIQUE OPTIONAL } * WITH SYNTAX { * [ARGUMENT &ArgumentType] * [RESULT &ResultType] * [ERRORS &Errors] * [CODE &operationCode] } * ``` * * @interface */ export interface OPERATION { /** * @summary A fixed string that can be used for external programs to determine the object class of this object. */ readonly class: "OPERATION"; /** * @summary A map of type fields to their corresponding decoders. */ readonly decoderFor: Partial<{ [_K in keyof OPERATION]: $.ASN1Decoder[_K]>; }>; /** * @summary A map of type fields to their corresponding encoders. */ readonly encoderFor: Partial<{ [_K in keyof OPERATION]: $.ASN1Encoder[_K]>; }>; /** * @summary &ArgumentType */ readonly "&ArgumentType": ArgumentType; /** * @summary &ResultType */ readonly "&ResultType": ResultType; /** * @summary &Errors */ readonly "&Errors"?: ERROR[]; /** * @summary &operationCode */ readonly "&operationCode"?: Code; } //# sourceMappingURL=OPERATION.oca.d.mts.map