UNPKG

@wildboar/copp

Version:

Connection-oriented presentation protocol (COPP) data structures and business logic in TypeScript

53 lines 3.76 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports._encode_Default_context_result = exports._decode_Default_context_result = exports._encode_Result = exports._decode_Result = exports.provider_rejection = exports.Result_provider_rejection = exports.user_rejection = exports.Result_user_rejection = exports.acceptance = exports.Result_acceptance = void 0; const Result_ta_1 = require("../ISO8823-PRESENTATION/Result.ta"); var Result_ta_2 = require("../ISO8823-PRESENTATION/Result.ta"); Object.defineProperty(exports, "Result_acceptance", { enumerable: true, get: function () { return Result_ta_2.Result_acceptance; } }); /* IMPORTED_LONG_NAMED_INTEGER */ Object.defineProperty(exports, "acceptance", { enumerable: true, get: function () { return Result_ta_2.acceptance; } }); /* IMPORTED_SHORT_NAMED_INTEGER */ Object.defineProperty(exports, "Result_user_rejection", { enumerable: true, get: function () { return Result_ta_2.Result_user_rejection; } }); /* IMPORTED_LONG_NAMED_INTEGER */ Object.defineProperty(exports, "user_rejection", { enumerable: true, get: function () { return Result_ta_2.user_rejection; } }); /* IMPORTED_SHORT_NAMED_INTEGER */ Object.defineProperty(exports, "Result_provider_rejection", { enumerable: true, get: function () { return Result_ta_2.Result_provider_rejection; } }); /* IMPORTED_LONG_NAMED_INTEGER */ Object.defineProperty(exports, "provider_rejection", { enumerable: true, get: function () { return Result_ta_2.provider_rejection; } }); /* IMPORTED_SHORT_NAMED_INTEGER */ Object.defineProperty(exports, "_decode_Result", { enumerable: true, get: function () { return Result_ta_2._decode_Result; } }); Object.defineProperty(exports, "_encode_Result", { enumerable: true, get: function () { return Result_ta_2._encode_Result; } }); /* END_OF_SYMBOL_DEFINITION Default_context_result */ /* START_OF_SYMBOL_DEFINITION _cached_decoder_for_Default_context_result */ let _cached_decoder_for_Default_context_result = null; /* END_OF_SYMBOL_DEFINITION _cached_decoder_for_Default_context_result */ /* START_OF_SYMBOL_DEFINITION _decode_Default_context_result */ /** * @summary Decodes an ASN.1 element into a(n) Default_context_result * @function * @param {_Element} el The element being decoded. * @returns {Default_context_result} The decoded data structure. */ function _decode_Default_context_result(el) { if (!_cached_decoder_for_Default_context_result) { _cached_decoder_for_Default_context_result = Result_ta_1._decode_Result; } return _cached_decoder_for_Default_context_result(el); } exports._decode_Default_context_result = _decode_Default_context_result; /* END_OF_SYMBOL_DEFINITION _decode_Default_context_result */ /* START_OF_SYMBOL_DEFINITION _cached_encoder_for_Default_context_result */ let _cached_encoder_for_Default_context_result = null; /* END_OF_SYMBOL_DEFINITION _cached_encoder_for_Default_context_result */ /* START_OF_SYMBOL_DEFINITION _encode_Default_context_result */ /** * @summary Encodes a(n) Default_context_result into an ASN.1 Element. * @function * @param {value} el The element being decoded. * @param elGetter A function that can be used to get new ASN.1 elements. * @returns {_Element} The Default_context_result, encoded as an ASN.1 Element. */ function _encode_Default_context_result(value, elGetter) { if (!_cached_encoder_for_Default_context_result) { _cached_encoder_for_Default_context_result = Result_ta_1._encode_Result; } return _cached_encoder_for_Default_context_result(value, elGetter); } exports._encode_Default_context_result = _encode_Default_context_result; /* END_OF_SYMBOL_DEFINITION _encode_Default_context_result */ /* eslint-enable */ //# sourceMappingURL=Default-context-result.ta.js.map