From d06e92c51cb3432b3284d0d35ba0f08bb64cbd01 Mon Sep 17 00:00:00 2001 From: anandsahil Date: Mon, 22 Jul 2019 17:36:38 +0200 Subject: [PATCH] add iso pain format XCT order type --- lib/predefinedOrders/XCT.js | 8 ++++++++ lib/predefinedOrders/index.js | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 lib/predefinedOrders/XCT.js diff --git a/lib/predefinedOrders/XCT.js b/lib/predefinedOrders/XCT.js new file mode 100644 index 0000000..f587cbd --- /dev/null +++ b/lib/predefinedOrders/XCT.js @@ -0,0 +1,8 @@ +'use strict'; + +module.exports = document => ({ + version: 'h004', + orderDetails: { OrderType: 'XCT', OrderAttribute: 'OZHNN', StandardOrderParams: {} }, + operation: 'upload', + document, +}); diff --git a/lib/predefinedOrders/index.js b/lib/predefinedOrders/index.js index 3ebc4b2..6109796 100644 --- a/lib/predefinedOrders/index.js +++ b/lib/predefinedOrders/index.js @@ -12,6 +12,7 @@ const CDS = require('./CDS'); const CCT = require('./CCT'); const CCS = require('./CCS'); const XE3 = require('./XE3'); +const XCT = require('./XCT'); const STA = require('./STA'); const VMK = require('./VMK'); @@ -35,7 +36,7 @@ module.exports = { CCT, CCS, XE3, - + XCT, STA, VMK, HAA,