@colijnit/mainapi 255.1.6 → 255.1.7

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.
@@ -9,5 +9,7 @@ export declare enum InternalParam {
9
9
  KAS_MAG_CC_POP = "KAS_MAG_CC_POP",
10
10
  SellDirectlyFromSuppl = "SELL_DIRECTLY_FROM_SUPPL",
11
11
  UPLOAD_3D_MODEL = "UPLOAD_3D_MODEL",
12
- HOMEDECOHUB = "HOMEDECOHUB"
12
+ HOMEDECOHUB = "HOMEDECOHUB",
13
+ PickingList = "JS_PICKINGLIJST",
14
+ TransManualSave = "TRANS_MANUAL_SAVE"
13
15
  }
@@ -14,4 +14,6 @@ var InternalParam;
14
14
  InternalParam["SellDirectlyFromSuppl"] = "SELL_DIRECTLY_FROM_SUPPL";
15
15
  InternalParam["UPLOAD_3D_MODEL"] = "UPLOAD_3D_MODEL";
16
16
  InternalParam["HOMEDECOHUB"] = "HOMEDECOHUB";
17
+ InternalParam["PickingList"] = "JS_PICKINGLIJST";
18
+ InternalParam["TransManualSave"] = "TRANS_MANUAL_SAVE";
17
19
  })(InternalParam = exports.InternalParam || (exports.InternalParam = {}));
@@ -14,13 +14,14 @@ const sequence_name_enum_1 = require("./enum/sequence-name.enum");
14
14
  const domain_name_enum_1 = require("./enum/domain-name.enum");
15
15
  const preset_bo_1 = require("./model/preset.bo");
16
16
  const report_type_enum_1 = require("./enum/report-type.enum");
17
+ const internal_param_enum_1 = require("./enum/internal-param.enum");
17
18
  const options = {
18
19
  url: 'http'
19
20
  };
20
21
  const localOptions = {
21
22
  url: "http://localhost:8080/ione",
22
23
  schema: "815",
23
- version: "253",
24
+ version: "255",
24
25
  useLoginEncryption: true,
25
26
  username: "patrick",
26
27
  password: "vankeulen1234567890!"
@@ -125,4 +126,9 @@ describe("Connector", () => {
125
126
  const result = yield connector.getPostalCodeRetrieval('4462gp', '6');
126
127
  expect(result).toBeDefined();
127
128
  }));
129
+ it('getInternalParameter', () => __awaiter(void 0, void 0, void 0, function* () {
130
+ yield connector.connect();
131
+ const result = yield connector.getInternalParameterValue(internal_param_enum_1.InternalParam.TransManualSave);
132
+ expect(result).toBeDefined();
133
+ }));
128
134
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/mainapi",
3
- "version": "255.1.6",
3
+ "version": "255.1.7",
4
4
  "scripts": {
5
5
  "build": "grunt clean && tsc",
6
6
  "browserify": "browserify build/connector.js --s colijn -o dist/out-tsc/bundle.js",