@springtree/eva-services-carrier-post-nl 1.4.0 → 2.0.0
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/lib/EVA.Carrier.PostNL.Services.js +24 -24
- package/lib/EVA.Carrier.PostNL.Services.js.map +1 -1
- package/package.json +7 -6
- package/lib/eva-services-carrier-post-nl.es5.js +0 -96
- package/lib/eva-services-carrier-post-nl.es5.js.map +0 -1
- package/lib/eva-services-carrier-post-nl.umd.js +0 -104
- package/lib/eva-services-carrier-post-nl.umd.js.map +0 -1
|
@@ -8,10 +8,10 @@ export var CarrierPostNL;
|
|
|
8
8
|
* @implements {EvaService}
|
|
9
9
|
*/
|
|
10
10
|
class PostNLCreateShippingLabelForShipment {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
name = 'CarrierPostNL:PostNLCreateShippingLabelForShipment';
|
|
12
|
+
path = '/message/PostNLCreateShippingLabelForShipment';
|
|
13
|
+
request;
|
|
14
|
+
response;
|
|
15
15
|
}
|
|
16
16
|
CarrierPostNL.PostNLCreateShippingLabelForShipment = PostNLCreateShippingLabelForShipment;
|
|
17
17
|
/**
|
|
@@ -22,10 +22,10 @@ export var CarrierPostNL;
|
|
|
22
22
|
* @implements {EvaService}
|
|
23
23
|
*/
|
|
24
24
|
class PostNLGetAvailablePickUpLocationsForArea {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
name = 'CarrierPostNL:PostNLGetAvailablePickUpLocationsForArea';
|
|
26
|
+
path = '/message/PostNLGetAvailablePickUpLocationsForArea';
|
|
27
|
+
request;
|
|
28
|
+
response;
|
|
29
29
|
}
|
|
30
30
|
CarrierPostNL.PostNLGetAvailablePickUpLocationsForArea = PostNLGetAvailablePickUpLocationsForArea;
|
|
31
31
|
/**
|
|
@@ -36,10 +36,10 @@ export var CarrierPostNL;
|
|
|
36
36
|
* @implements {EvaService}
|
|
37
37
|
*/
|
|
38
38
|
class PostNLGetAvailablePickUpLocationsForOrder {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
name = 'CarrierPostNL:PostNLGetAvailablePickUpLocationsForOrder';
|
|
40
|
+
path = '/message/PostNLGetAvailablePickUpLocationsForOrder';
|
|
41
|
+
request;
|
|
42
|
+
response;
|
|
43
43
|
}
|
|
44
44
|
CarrierPostNL.PostNLGetAvailablePickUpLocationsForOrder = PostNLGetAvailablePickUpLocationsForOrder;
|
|
45
45
|
/**
|
|
@@ -56,10 +56,10 @@ Only lines set to PostNL will be used for the EVA stock availability check; unle
|
|
|
56
56
|
* @implements {EvaService}
|
|
57
57
|
*/
|
|
58
58
|
class PostNLGetAvailableTimeframesForOrder {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
name = 'CarrierPostNL:PostNLGetAvailableTimeframesForOrder';
|
|
60
|
+
path = '/message/PostNLGetAvailableTimeframesForOrder';
|
|
61
|
+
request;
|
|
62
|
+
response;
|
|
63
63
|
}
|
|
64
64
|
CarrierPostNL.PostNLGetAvailableTimeframesForOrder = PostNLGetAvailableTimeframesForOrder;
|
|
65
65
|
/**
|
|
@@ -70,10 +70,10 @@ Only lines set to PostNL will be used for the EVA stock availability check; unle
|
|
|
70
70
|
* @implements {EvaService}
|
|
71
71
|
*/
|
|
72
72
|
class PostNLGetShippingOptionsForOrder {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
name = 'CarrierPostNL:PostNLGetShippingOptionsForOrder';
|
|
74
|
+
path = '/message/PostNLGetShippingOptionsForOrder';
|
|
75
|
+
request;
|
|
76
|
+
response;
|
|
77
77
|
}
|
|
78
78
|
CarrierPostNL.PostNLGetShippingOptionsForOrder = PostNLGetShippingOptionsForOrder;
|
|
79
79
|
/**
|
|
@@ -84,10 +84,10 @@ Only lines set to PostNL will be used for the EVA stock availability check; unle
|
|
|
84
84
|
* @implements {EvaService}
|
|
85
85
|
*/
|
|
86
86
|
class PostNLUpdateShippingOptionsForOrder {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
87
|
+
name = 'CarrierPostNL:PostNLUpdateShippingOptionsForOrder';
|
|
88
|
+
path = '/message/PostNLUpdateShippingOptionsForOrder';
|
|
89
|
+
request;
|
|
90
|
+
response;
|
|
91
91
|
}
|
|
92
92
|
CarrierPostNL.PostNLUpdateShippingOptionsForOrder = PostNLUpdateShippingOptionsForOrder;
|
|
93
93
|
})(CarrierPostNL || (CarrierPostNL = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EVA.Carrier.PostNL.Services.js","sourceRoot":"","sources":["../src/EVA.Carrier.PostNL.Services.ts"],"names":[],"mappings":"AAEE,MAAM,KAAW,aAAa,CA2F7B;AA3FD,WAAiB,aAAa;IAE5B;;;;;;OAMG;IACH,MAAa,oCAAoC;
|
|
1
|
+
{"version":3,"file":"EVA.Carrier.PostNL.Services.js","sourceRoot":"","sources":["../src/EVA.Carrier.PostNL.Services.ts"],"names":[],"mappings":"AAEE,MAAM,KAAW,aAAa,CA2F7B;AA3FD,WAAiB,aAAa;IAE5B;;;;;;OAMG;IACH,MAAa,oCAAoC;QAC/C,IAAI,GAAG,oDAAoD,CAAC;QAC5D,IAAI,GAAG,+CAA+C,CAAC;QACvD,OAAO,CAA2D;QAClE,QAAQ,CAAiC;KAC1C;IALY,kDAAoC,uCAKhD,CAAA;IAED;;;;;;OAMG;IACH,MAAa,wCAAwC;QACnD,IAAI,GAAG,wDAAwD,CAAC;QAChE,IAAI,GAAG,mDAAmD,CAAC;QAC3D,OAAO,CAA+D;QACtE,QAAQ,CAAuE;KAChF;IALY,sDAAwC,2CAKpD,CAAA;IAED;;;;;;OAMG;IACH,MAAa,yCAAyC;QACpD,IAAI,GAAG,yDAAyD,CAAC;QACjE,IAAI,GAAG,oDAAoD,CAAC;QAC5D,OAAO,CAAgE;QACvE,QAAQ,CAAwE;KACjF;IALY,uDAAyC,4CAKrD,CAAA;IAED;;;;;;;;;;;;OAYG;IACH,MAAa,oCAAoC;QAC/C,IAAI,GAAG,oDAAoD,CAAC;QAC5D,IAAI,GAAG,+CAA+C,CAAC;QACvD,OAAO,CAA2D;QAClE,QAAQ,CAAmE;KAC5E;IALY,kDAAoC,uCAKhD,CAAA;IAED;;;;;;OAMG;IACH,MAAa,gCAAgC;QAC3C,IAAI,GAAG,gDAAgD,CAAC;QACxD,IAAI,GAAG,2CAA2C,CAAC;QACnD,OAAO,CAAuD;QAC9D,QAAQ,CAA+D;KACxE;IALY,8CAAgC,mCAK5C,CAAA;IAED;;;;;;OAMG;IACH,MAAa,mCAAmC;QAC9C,IAAI,GAAG,mDAAmD,CAAC;QAC3D,IAAI,GAAG,8CAA8C,CAAC;QACtD,OAAO,CAA0D;QACjE,QAAQ,CAAiC;KAC1C;IALY,iDAAmC,sCAK/C,CAAA;AACH,CAAC,EA3FgB,aAAa,KAAb,aAAa,QA2F7B"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@springtree/eva-services-carrier-post-nl",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "The EVA service repository for EVA.Carrier.PostNL",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"author": "SpringTree <info@springtree.nl>",
|
|
7
7
|
"license": "UNLICENSED",
|
|
8
|
-
"main": "lib/eva-services-carrier-post-nl.
|
|
8
|
+
"main": "lib/eva-services-carrier-post-nl.js",
|
|
9
9
|
"directories": {
|
|
10
10
|
"lib": "lib",
|
|
11
11
|
"test": "__tests__"
|
|
@@ -28,10 +28,11 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/springtreesolutions/eva-sdk-repo#readme",
|
|
30
30
|
"typings": "lib/eva-services-carrier-post-nl.d.ts",
|
|
31
|
-
"module": "lib/eva-services-carrier-post-nl.
|
|
31
|
+
"module": "lib/eva-services-carrier-post-nl.js",
|
|
32
|
+
"type": "module",
|
|
32
33
|
"private": false,
|
|
33
|
-
"
|
|
34
|
-
"@springtree/eva-services-core": "^
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@springtree/eva-services-core": "^2.0.0"
|
|
35
36
|
},
|
|
36
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "e5a13ab2e6c139966aa0907cff56676c3b8753dd"
|
|
37
38
|
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
var CarrierPostNL;
|
|
2
|
-
(function (CarrierPostNL) {
|
|
3
|
-
/**
|
|
4
|
-
* Creates a shipment barcode & label from PostNL, setting barcode as tracking number and attach label as order document, while also printing it to your current or optionally specified station.
|
|
5
|
-
*
|
|
6
|
-
* @export
|
|
7
|
-
* @class PostNLCreateShippingLabelForShipment
|
|
8
|
-
* @implements {EvaService}
|
|
9
|
-
*/
|
|
10
|
-
class PostNLCreateShippingLabelForShipment {
|
|
11
|
-
constructor() {
|
|
12
|
-
this.name = 'CarrierPostNL:PostNLCreateShippingLabelForShipment';
|
|
13
|
-
this.path = '/message/PostNLCreateShippingLabelForShipment';
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
CarrierPostNL.PostNLCreateShippingLabelForShipment = PostNLCreateShippingLabelForShipment;
|
|
17
|
-
/**
|
|
18
|
-
* List the available PostNL PickupPoints for the given order, in the requested area.
|
|
19
|
-
*
|
|
20
|
-
* @export
|
|
21
|
-
* @class PostNLGetAvailablePickUpLocationsForArea
|
|
22
|
-
* @implements {EvaService}
|
|
23
|
-
*/
|
|
24
|
-
class PostNLGetAvailablePickUpLocationsForArea {
|
|
25
|
-
constructor() {
|
|
26
|
-
this.name = 'CarrierPostNL:PostNLGetAvailablePickUpLocationsForArea';
|
|
27
|
-
this.path = '/message/PostNLGetAvailablePickUpLocationsForArea';
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
CarrierPostNL.PostNLGetAvailablePickUpLocationsForArea = PostNLGetAvailablePickUpLocationsForArea;
|
|
31
|
-
/**
|
|
32
|
-
* List the available PostNL PickupPoints for the given order. The locations will be based on the ShippingAddress of the Order.
|
|
33
|
-
*
|
|
34
|
-
* @export
|
|
35
|
-
* @class PostNLGetAvailablePickUpLocationsForOrder
|
|
36
|
-
* @implements {EvaService}
|
|
37
|
-
*/
|
|
38
|
-
class PostNLGetAvailablePickUpLocationsForOrder {
|
|
39
|
-
constructor() {
|
|
40
|
-
this.name = 'CarrierPostNL:PostNLGetAvailablePickUpLocationsForOrder';
|
|
41
|
-
this.path = '/message/PostNLGetAvailablePickUpLocationsForOrder';
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
CarrierPostNL.PostNLGetAvailablePickUpLocationsForOrder = PostNLGetAvailablePickUpLocationsForOrder;
|
|
45
|
-
/**
|
|
46
|
-
* List the available PostNL timeframe options for the given order.
|
|
47
|
-
|
|
48
|
-
* The `StartDate` and `EndDate` parameters are required and inclusive, the time portions will be ignored.
|
|
49
|
-
* Will cross-reference PostNL timeframes with EVA stock availability and return only valid options for both
|
|
50
|
-
* When `SkipAvailabilityChecks` is true, the ExpectedAvailabilityDate on the lines is ignored
|
|
51
|
-
|
|
52
|
-
Only lines set to PostNL will be used for the EVA stock availability check; unless no lines apply, in which case all lines are considered.
|
|
53
|
-
*
|
|
54
|
-
* @export
|
|
55
|
-
* @class PostNLGetAvailableTimeframesForOrder
|
|
56
|
-
* @implements {EvaService}
|
|
57
|
-
*/
|
|
58
|
-
class PostNLGetAvailableTimeframesForOrder {
|
|
59
|
-
constructor() {
|
|
60
|
-
this.name = 'CarrierPostNL:PostNLGetAvailableTimeframesForOrder';
|
|
61
|
-
this.path = '/message/PostNLGetAvailableTimeframesForOrder';
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
CarrierPostNL.PostNLGetAvailableTimeframesForOrder = PostNLGetAvailableTimeframesForOrder;
|
|
65
|
-
/**
|
|
66
|
-
* Return the selected PostNL shipping options for the given Order.
|
|
67
|
-
*
|
|
68
|
-
* @export
|
|
69
|
-
* @class PostNLGetShippingOptionsForOrder
|
|
70
|
-
* @implements {EvaService}
|
|
71
|
-
*/
|
|
72
|
-
class PostNLGetShippingOptionsForOrder {
|
|
73
|
-
constructor() {
|
|
74
|
-
this.name = 'CarrierPostNL:PostNLGetShippingOptionsForOrder';
|
|
75
|
-
this.path = '/message/PostNLGetShippingOptionsForOrder';
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
CarrierPostNL.PostNLGetShippingOptionsForOrder = PostNLGetShippingOptionsForOrder;
|
|
79
|
-
/**
|
|
80
|
-
* Set the requested PostNL shipping options for the given Order.
|
|
81
|
-
*
|
|
82
|
-
* @export
|
|
83
|
-
* @class PostNLUpdateShippingOptionsForOrder
|
|
84
|
-
* @implements {EvaService}
|
|
85
|
-
*/
|
|
86
|
-
class PostNLUpdateShippingOptionsForOrder {
|
|
87
|
-
constructor() {
|
|
88
|
-
this.name = 'CarrierPostNL:PostNLUpdateShippingOptionsForOrder';
|
|
89
|
-
this.path = '/message/PostNLUpdateShippingOptionsForOrder';
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
CarrierPostNL.PostNLUpdateShippingOptionsForOrder = PostNLUpdateShippingOptionsForOrder;
|
|
93
|
-
})(CarrierPostNL || (CarrierPostNL = {}));
|
|
94
|
-
|
|
95
|
-
export { CarrierPostNL };
|
|
96
|
-
//# sourceMappingURL=eva-services-carrier-post-nl.es5.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eva-services-carrier-post-nl.es5.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.evaServicesCarrierPostNl = {}));
|
|
5
|
-
})(this, (function (exports) { 'use strict';
|
|
6
|
-
|
|
7
|
-
exports.CarrierPostNL = void 0;
|
|
8
|
-
(function (CarrierPostNL) {
|
|
9
|
-
/**
|
|
10
|
-
* Creates a shipment barcode & label from PostNL, setting barcode as tracking number and attach label as order document, while also printing it to your current or optionally specified station.
|
|
11
|
-
*
|
|
12
|
-
* @export
|
|
13
|
-
* @class PostNLCreateShippingLabelForShipment
|
|
14
|
-
* @implements {EvaService}
|
|
15
|
-
*/
|
|
16
|
-
class PostNLCreateShippingLabelForShipment {
|
|
17
|
-
constructor() {
|
|
18
|
-
this.name = 'CarrierPostNL:PostNLCreateShippingLabelForShipment';
|
|
19
|
-
this.path = '/message/PostNLCreateShippingLabelForShipment';
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
CarrierPostNL.PostNLCreateShippingLabelForShipment = PostNLCreateShippingLabelForShipment;
|
|
23
|
-
/**
|
|
24
|
-
* List the available PostNL PickupPoints for the given order, in the requested area.
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @class PostNLGetAvailablePickUpLocationsForArea
|
|
28
|
-
* @implements {EvaService}
|
|
29
|
-
*/
|
|
30
|
-
class PostNLGetAvailablePickUpLocationsForArea {
|
|
31
|
-
constructor() {
|
|
32
|
-
this.name = 'CarrierPostNL:PostNLGetAvailablePickUpLocationsForArea';
|
|
33
|
-
this.path = '/message/PostNLGetAvailablePickUpLocationsForArea';
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
CarrierPostNL.PostNLGetAvailablePickUpLocationsForArea = PostNLGetAvailablePickUpLocationsForArea;
|
|
37
|
-
/**
|
|
38
|
-
* List the available PostNL PickupPoints for the given order. The locations will be based on the ShippingAddress of the Order.
|
|
39
|
-
*
|
|
40
|
-
* @export
|
|
41
|
-
* @class PostNLGetAvailablePickUpLocationsForOrder
|
|
42
|
-
* @implements {EvaService}
|
|
43
|
-
*/
|
|
44
|
-
class PostNLGetAvailablePickUpLocationsForOrder {
|
|
45
|
-
constructor() {
|
|
46
|
-
this.name = 'CarrierPostNL:PostNLGetAvailablePickUpLocationsForOrder';
|
|
47
|
-
this.path = '/message/PostNLGetAvailablePickUpLocationsForOrder';
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
CarrierPostNL.PostNLGetAvailablePickUpLocationsForOrder = PostNLGetAvailablePickUpLocationsForOrder;
|
|
51
|
-
/**
|
|
52
|
-
* List the available PostNL timeframe options for the given order.
|
|
53
|
-
|
|
54
|
-
* The `StartDate` and `EndDate` parameters are required and inclusive, the time portions will be ignored.
|
|
55
|
-
* Will cross-reference PostNL timeframes with EVA stock availability and return only valid options for both
|
|
56
|
-
* When `SkipAvailabilityChecks` is true, the ExpectedAvailabilityDate on the lines is ignored
|
|
57
|
-
|
|
58
|
-
Only lines set to PostNL will be used for the EVA stock availability check; unless no lines apply, in which case all lines are considered.
|
|
59
|
-
*
|
|
60
|
-
* @export
|
|
61
|
-
* @class PostNLGetAvailableTimeframesForOrder
|
|
62
|
-
* @implements {EvaService}
|
|
63
|
-
*/
|
|
64
|
-
class PostNLGetAvailableTimeframesForOrder {
|
|
65
|
-
constructor() {
|
|
66
|
-
this.name = 'CarrierPostNL:PostNLGetAvailableTimeframesForOrder';
|
|
67
|
-
this.path = '/message/PostNLGetAvailableTimeframesForOrder';
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
CarrierPostNL.PostNLGetAvailableTimeframesForOrder = PostNLGetAvailableTimeframesForOrder;
|
|
71
|
-
/**
|
|
72
|
-
* Return the selected PostNL shipping options for the given Order.
|
|
73
|
-
*
|
|
74
|
-
* @export
|
|
75
|
-
* @class PostNLGetShippingOptionsForOrder
|
|
76
|
-
* @implements {EvaService}
|
|
77
|
-
*/
|
|
78
|
-
class PostNLGetShippingOptionsForOrder {
|
|
79
|
-
constructor() {
|
|
80
|
-
this.name = 'CarrierPostNL:PostNLGetShippingOptionsForOrder';
|
|
81
|
-
this.path = '/message/PostNLGetShippingOptionsForOrder';
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
CarrierPostNL.PostNLGetShippingOptionsForOrder = PostNLGetShippingOptionsForOrder;
|
|
85
|
-
/**
|
|
86
|
-
* Set the requested PostNL shipping options for the given Order.
|
|
87
|
-
*
|
|
88
|
-
* @export
|
|
89
|
-
* @class PostNLUpdateShippingOptionsForOrder
|
|
90
|
-
* @implements {EvaService}
|
|
91
|
-
*/
|
|
92
|
-
class PostNLUpdateShippingOptionsForOrder {
|
|
93
|
-
constructor() {
|
|
94
|
-
this.name = 'CarrierPostNL:PostNLUpdateShippingOptionsForOrder';
|
|
95
|
-
this.path = '/message/PostNLUpdateShippingOptionsForOrder';
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
CarrierPostNL.PostNLUpdateShippingOptionsForOrder = PostNLUpdateShippingOptionsForOrder;
|
|
99
|
-
})(exports.CarrierPostNL || (exports.CarrierPostNL = {}));
|
|
100
|
-
|
|
101
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
102
|
-
|
|
103
|
-
}));
|
|
104
|
-
//# sourceMappingURL=eva-services-carrier-post-nl.umd.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eva-services-carrier-post-nl.umd.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|