fc-landmark 2.0.0 → 2.0.1

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.
package/dist/axios.js CHANGED
@@ -1,30 +1,30 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- const axios_1 = __importDefault(require("axios"));
7
- const globals_1 = require("./globals");
8
- const injectRequestId = (data) => {
9
- if (data) {
10
- data.requestId = globals_1.MyGlobal.requestId;
11
- data.rootRequestId = globals_1.MyGlobal.rootRequestId;
12
- }
13
- return data;
14
- };
15
- let axiosMiddleware = {
16
- get: (urlPath, configs) => {
17
- return axios_1.default.get(urlPath, configs);
18
- },
19
- put: (urlPath, data, configs) => {
20
- return axios_1.default.put(urlPath, data, configs);
21
- },
22
- post: (urlPath, data, configs) => {
23
- return axios_1.default.post(urlPath, data, configs);
24
- },
25
- delete: (urlPath, configs) => {
26
- return axios_1.default.delete(urlPath, configs);
27
- },
28
- };
29
- exports.default = axiosMiddleware;
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const axios_1 = __importDefault(require("axios"));
7
+ const globals_1 = require("./globals");
8
+ const injectRequestId = (data) => {
9
+ if (data) {
10
+ data.requestId = globals_1.MyGlobal.requestId;
11
+ data.rootRequestId = globals_1.MyGlobal.rootRequestId;
12
+ }
13
+ return data;
14
+ };
15
+ let axiosMiddleware = {
16
+ get: (urlPath, configs) => {
17
+ return axios_1.default.get(urlPath, configs);
18
+ },
19
+ put: (urlPath, data, configs) => {
20
+ return axios_1.default.put(urlPath, data, configs);
21
+ },
22
+ post: (urlPath, data, configs) => {
23
+ return axios_1.default.post(urlPath, data, configs);
24
+ },
25
+ delete: (urlPath, configs) => {
26
+ return axios_1.default.delete(urlPath, configs);
27
+ },
28
+ };
29
+ exports.default = axiosMiddleware;
30
30
  //# sourceMappingURL=axios.js.map
package/dist/axios.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"axios.js","sourceRoot":"","sources":["../src/axios.ts"],"names":[],"mappings":";;;;;AAAA,kDAA0B;AAE1B,uCAA4C;AAG5C,MAAM,eAAe,GAAG,CAAC,IAAkB,EAAE,EAAE;IAC3C,IAAG,IAAI,EAAE;QACL,IAAI,CAAC,SAAS,GAAG,kBAAG,CAAC,SAAS,CAAC;QAC/B,IAAI,CAAC,aAAa,GAAG,kBAAG,CAAC,aAAa,CAAC;KAC1C;IACD,OAAO,IAAI,CAAC;AAChB,CAAC,CAAA;AAED,IAAI,eAAe,GAAwB;IACvC,GAAG,EAAE,CAAC,OAAe,EAAE,OAAqB,EAAE,EAAE;QAC5C,OAAO,eAAK,CAAC,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IACvC,CAAC;IACD,GAAG,EAAE,CAAC,OAAe,EAAE,IAAkB,EAAE,OAAqB,EAAE,EAAE;QAChE,OAAO,eAAK,CAAC,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IAC7C,CAAC;IACD,IAAI,EAAE,CAAC,OAAe,EAAE,IAAkB,EAAE,OAAqB,EAAE,EAAE;QACjE,OAAO,eAAK,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IAC9C,CAAC;IACD,MAAM,EAAE,CAAC,OAAe,EAAE,OAAqB,EAAE,EAAE;QAC/C,OAAO,eAAK,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC1C,CAAC;CACJ,CAAA;AAED,kBAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"axios.js","sourceRoot":"","sources":["../src/axios.ts"],"names":[],"mappings":";;;;;AAAA,kDAA0B;AAE1B,uCAA4C;AAG5C,MAAM,eAAe,GAAG,CAAC,IAAkB,EAAE,EAAE;IAC3C,IAAG,IAAI,EAAE,CAAC;QACN,IAAI,CAAC,SAAS,GAAG,kBAAG,CAAC,SAAS,CAAC;QAC/B,IAAI,CAAC,aAAa,GAAG,kBAAG,CAAC,aAAa,CAAC;IAC3C,CAAC;IACD,OAAO,IAAI,CAAC;AAChB,CAAC,CAAA;AAED,IAAI,eAAe,GAAwB;IACvC,GAAG,EAAE,CAAC,OAAe,EAAE,OAAqB,EAAE,EAAE;QAC5C,OAAO,eAAK,CAAC,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IACvC,CAAC;IACD,GAAG,EAAE,CAAC,OAAe,EAAE,IAAkB,EAAE,OAAqB,EAAE,EAAE;QAChE,OAAO,eAAK,CAAC,GAAG,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IAC7C,CAAC;IACD,IAAI,EAAE,CAAC,OAAe,EAAE,IAAkB,EAAE,OAAqB,EAAE,EAAE;QACjE,OAAO,eAAK,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IAC9C,CAAC;IACD,MAAM,EAAE,CAAC,OAAe,EAAE,OAAqB,EAAE,EAAE;QAC/C,OAAO,eAAK,CAAC,MAAM,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC1C,CAAC;CACJ,CAAA;AAED,kBAAe,eAAe,CAAC"}
package/dist/core.js CHANGED
@@ -1,19 +1,19 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.setRequredGlobals = void 0;
7
- const globals_1 = require("./globals");
8
- const axios_1 = __importDefault(require("./axios"));
9
- const setRequredGlobals = (logger, flclerror, rootRequestId, requestId) => {
10
- globals_1.MyGlobal.logger = logger || undefined;
11
- globals_1.MyGlobal.flclError = flclerror || undefined;
12
- globals_1.MyGlobal.rootRequestId = rootRequestId || '';
13
- globals_1.MyGlobal.requestId = requestId || '';
14
- globals_1.MyGlobal.axios = axios_1.default;
15
- globals_1.MyGlobal.ship_url = "https://api.landmarkglobal.com/v2/Import.php",
16
- globals_1.MyGlobal.track_url = "https://api.landmarkglobal.com/v2/Track.php";
17
- };
18
- exports.setRequredGlobals = setRequredGlobals;
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.setRequredGlobals = void 0;
7
+ const globals_1 = require("./globals");
8
+ const axios_1 = __importDefault(require("./axios"));
9
+ const setRequredGlobals = (logger, flclerror, rootRequestId, requestId) => {
10
+ globals_1.MyGlobal.logger = logger || undefined;
11
+ globals_1.MyGlobal.flclError = flclerror || undefined;
12
+ globals_1.MyGlobal.rootRequestId = rootRequestId || '';
13
+ globals_1.MyGlobal.requestId = requestId || '';
14
+ globals_1.MyGlobal.axios = axios_1.default;
15
+ globals_1.MyGlobal.ship_url = "https://api.landmarkglobal.com/v2/Import.php",
16
+ globals_1.MyGlobal.track_url = "https://api.landmarkglobal.com/v2/Track.php";
17
+ };
18
+ exports.setRequredGlobals = setRequredGlobals;
19
19
  //# sourceMappingURL=core.js.map
package/dist/globals.js CHANGED
@@ -1,5 +1,5 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MyGlobal = void 0;
4
- exports.MyGlobal = {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MyGlobal = void 0;
4
+ exports.MyGlobal = {};
5
5
  //# sourceMappingURL=globals.js.map
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LandMark = void 0;
4
- var landmark_1 = require("./landmark");
5
- Object.defineProperty(exports, "LandMark", { enumerable: true, get: function () { return landmark_1.LandMark; } });
6
- //export default ECMS;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LandMark = void 0;
4
+ var landmark_1 = require("./landmark");
5
+ Object.defineProperty(exports, "LandMark", { enumerable: true, get: function () { return landmark_1.LandMark; } });
6
+ //export default ECMS;
7
7
  //# sourceMappingURL=index.js.map
package/dist/landmark.js CHANGED
@@ -1,76 +1,76 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.LandMark = void 0;
16
- const shipment_1 = __importDefault(require("./shipment"));
17
- const tracking_1 = __importDefault(require("./tracking"));
18
- const core_1 = require("./core");
19
- const globals_1 = require("./globals");
20
- class LandMark {
21
- constructor(username, password, clientId, test, vendorEORINumber, vendorIOSSNumber, logger, flclerror, rootRequestId, requestId) {
22
- this.username = username;
23
- this.password = password;
24
- this.test = test;
25
- this.clientId = clientId;
26
- this.vendorEORINumber = vendorEORINumber;
27
- this.vendorIOSSNumber = vendorIOSSNumber;
28
- (0, core_1.setRequredGlobals)(logger, flclerror, rootRequestId, requestId);
29
- }
30
- createShipmet(args) {
31
- var _a, _b, _c, _d;
32
- return __awaiter(this, void 0, void 0, function* () {
33
- try {
34
- let shipObj = new shipment_1.default();
35
- (_a = globals_1.MyGlobal.logger) === null || _a === void 0 ? void 0 : _a.info({ npm: 'fc-landmark', className: 'Landmark', methodName: 'createShipmet', propertyName: 'landMarkShipmentInput', propertyValue: args });
36
- let landmarkShipmentRequest = shipObj.buildShipmentRequest(args, this.username, this.password, this.test, this.clientId, this.vendorEORINumber, this.vendorIOSSNumber);
37
- (_b = globals_1.MyGlobal.logger) === null || _b === void 0 ? void 0 : _b.info({ npm: 'fc-landmark', className: 'Landmark', methodName: 'createShipmet', propertyName: 'landMarkShipmentRequest', propertyValue: landmarkShipmentRequest });
38
- let landmarkShipmentRes = yield shipObj.createShipment(landmarkShipmentRequest);
39
- if (landmarkShipmentRes.hasOwnProperty("ImportResponse") && landmarkShipmentRes['ImportResponse']['Errors']) {
40
- throw new Error(landmarkShipmentRes['ImportResponse']['Errors']['Error']['ErrorMessage']['_text']);
41
- }
42
- let response = shipObj.buildResponse(landmarkShipmentRes, args);
43
- (_c = globals_1.MyGlobal.logger) === null || _c === void 0 ? void 0 : _c.info({ npm: 'fc-landmark', className: 'Landmark', methodName: 'createShipmet', propertyName: 'response', propertyValue: response });
44
- return response;
45
- }
46
- catch (e) {
47
- (_d = globals_1.MyGlobal.logger) === null || _d === void 0 ? void 0 : _d.error(globals_1.MyGlobal.flclError.create({ npm: 'fc-landmark', className: 'Landmark', methodName: 'createShipmet', propertyName: 'landMark_ERROR', cause: e, message: 'Exception while creating shipment in Landmark' }));
48
- throw e;
49
- }
50
- });
51
- }
52
- getTrackingInfo(args) {
53
- var _a, _b, _c, _d;
54
- return __awaiter(this, void 0, void 0, function* () {
55
- try {
56
- let trackObj = new tracking_1.default();
57
- (_a = globals_1.MyGlobal.logger) === null || _a === void 0 ? void 0 : _a.info({ npm: 'fc-landmark', className: 'Landmark', methodName: 'getTrackingInfo', propertyName: 'LandmarkInput', propertyValue: args });
58
- let landmarkTrackRequest = trackObj.buildTrackingRequest(args, this.username, this.password, this.test, this.clientId);
59
- (_b = globals_1.MyGlobal.logger) === null || _b === void 0 ? void 0 : _b.info({ npm: 'fc-landmark', className: 'Landmark', methodName: 'getTrackingInfo', propertyName: 'LandmarkTrackRequest', propertyValue: landmarkTrackRequest });
60
- let landMarkTrackingRes = yield trackObj.trackInfo(landmarkTrackRequest);
61
- if (landMarkTrackingRes.hasOwnProperty("TrackResponse") && landMarkTrackingRes['TrackResponse']['Errors']) {
62
- throw new Error(landMarkTrackingRes['TrackResponse']['Errors']['Error']['ErrorMessage']['_text']);
63
- }
64
- let response = trackObj.buildResponse(landMarkTrackingRes, args);
65
- (_c = globals_1.MyGlobal.logger) === null || _c === void 0 ? void 0 : _c.info({ npm: 'fc-landmark', className: 'Landmark', methodName: 'getTrackingInfo', propertyName: 'response', propertyValue: response });
66
- return response;
67
- }
68
- catch (e) {
69
- (_d = globals_1.MyGlobal.logger) === null || _d === void 0 ? void 0 : _d.error(globals_1.MyGlobal.flclError.create({ npm: 'fc-landmark', className: 'Landmark', methodName: 'getTrackingInfo', propertyName: 'landMark_ERROR', cause: e, message: 'Exception while get trackinfo in Landmark' }));
70
- throw e;
71
- }
72
- });
73
- }
74
- }
75
- exports.LandMark = LandMark;
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ var __importDefault = (this && this.__importDefault) || function (mod) {
12
+ return (mod && mod.__esModule) ? mod : { "default": mod };
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.LandMark = void 0;
16
+ const shipment_1 = __importDefault(require("./shipment"));
17
+ const tracking_1 = __importDefault(require("./tracking"));
18
+ const core_1 = require("./core");
19
+ const globals_1 = require("./globals");
20
+ class LandMark {
21
+ constructor(username, password, clientId, test, vendorEORINumber, vendorIOSSNumber, logger, flclerror, rootRequestId, requestId) {
22
+ this.username = username;
23
+ this.password = password;
24
+ this.test = test;
25
+ this.clientId = clientId;
26
+ this.vendorEORINumber = vendorEORINumber;
27
+ this.vendorIOSSNumber = vendorIOSSNumber;
28
+ (0, core_1.setRequredGlobals)(logger, flclerror, rootRequestId, requestId);
29
+ }
30
+ createShipmet(args_1) {
31
+ return __awaiter(this, arguments, void 0, function* (args, dangerousGoodsDeatils = "") {
32
+ var _a, _b, _c, _d;
33
+ try {
34
+ let shipObj = new shipment_1.default();
35
+ (_a = globals_1.MyGlobal.logger) === null || _a === void 0 ? void 0 : _a.info({ npm: 'fc-landmark', className: 'Landmark', methodName: 'createShipmet', propertyName: 'landMarkShipmentInput', propertyValue: args });
36
+ let landmarkShipmentRequest = shipObj.buildShipmentRequest(args, dangerousGoodsDeatils, this.username, this.password, this.test, this.clientId, this.vendorEORINumber, this.vendorIOSSNumber);
37
+ (_b = globals_1.MyGlobal.logger) === null || _b === void 0 ? void 0 : _b.info({ npm: 'fc-landmark', className: 'Landmark', methodName: 'createShipmet', propertyName: 'landMarkShipmentRequest', propertyValue: landmarkShipmentRequest });
38
+ let landmarkShipmentRes = yield shipObj.createShipment(landmarkShipmentRequest);
39
+ if (landmarkShipmentRes.hasOwnProperty("ImportResponse") && landmarkShipmentRes['ImportResponse']['Errors']) {
40
+ throw new Error(landmarkShipmentRes['ImportResponse']['Errors']['Error']['ErrorMessage']['_text']);
41
+ }
42
+ let response = shipObj.buildResponse(landmarkShipmentRes, args);
43
+ (_c = globals_1.MyGlobal.logger) === null || _c === void 0 ? void 0 : _c.info({ npm: 'fc-landmark', className: 'Landmark', methodName: 'createShipmet', propertyName: 'response', propertyValue: response });
44
+ return response;
45
+ }
46
+ catch (e) {
47
+ (_d = globals_1.MyGlobal.logger) === null || _d === void 0 ? void 0 : _d.error(globals_1.MyGlobal.flclError.create({ npm: 'fc-landmark', className: 'Landmark', methodName: 'createShipmet', propertyName: 'landMark_ERROR', cause: e, message: 'Exception while creating shipment in Landmark' }));
48
+ throw e;
49
+ }
50
+ });
51
+ }
52
+ getTrackingInfo(args) {
53
+ return __awaiter(this, void 0, void 0, function* () {
54
+ var _a, _b, _c, _d;
55
+ try {
56
+ let trackObj = new tracking_1.default();
57
+ (_a = globals_1.MyGlobal.logger) === null || _a === void 0 ? void 0 : _a.info({ npm: 'fc-landmark', className: 'Landmark', methodName: 'getTrackingInfo', propertyName: 'LandmarkInput', propertyValue: args });
58
+ let landmarkTrackRequest = trackObj.buildTrackingRequest(args, this.username, this.password, this.test, this.clientId);
59
+ (_b = globals_1.MyGlobal.logger) === null || _b === void 0 ? void 0 : _b.info({ npm: 'fc-landmark', className: 'Landmark', methodName: 'getTrackingInfo', propertyName: 'LandmarkTrackRequest', propertyValue: landmarkTrackRequest });
60
+ let landMarkTrackingRes = yield trackObj.trackInfo(landmarkTrackRequest);
61
+ if (landMarkTrackingRes.hasOwnProperty("TrackResponse") && landMarkTrackingRes['TrackResponse']['Errors']) {
62
+ throw new Error(landMarkTrackingRes['TrackResponse']['Errors']['Error']['ErrorMessage']['_text']);
63
+ }
64
+ let response = trackObj.buildResponse(landMarkTrackingRes, args);
65
+ (_c = globals_1.MyGlobal.logger) === null || _c === void 0 ? void 0 : _c.info({ npm: 'fc-landmark', className: 'Landmark', methodName: 'getTrackingInfo', propertyName: 'response', propertyValue: response });
66
+ return response;
67
+ }
68
+ catch (e) {
69
+ (_d = globals_1.MyGlobal.logger) === null || _d === void 0 ? void 0 : _d.error(globals_1.MyGlobal.flclError.create({ npm: 'fc-landmark', className: 'Landmark', methodName: 'getTrackingInfo', propertyName: 'landMark_ERROR', cause: e, message: 'Exception while get trackinfo in Landmark' }));
70
+ throw e;
71
+ }
72
+ });
73
+ }
74
+ }
75
+ exports.LandMark = LandMark;
76
76
  //# sourceMappingURL=landmark.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"landmark.js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