@springtree/eva-services-carrier-post-nl 1.2.2 → 1.4.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.
@@ -41,12 +41,12 @@ export declare namespace CarrierPostNL {
41
41
  }
42
42
  /**
43
43
  * List the available PostNL timeframe options for the given order.
44
-
45
- * The `StartDate` and `EndDate` parameters are required and inclusive, the time portions will be ignored.
46
- * Will cross-reference PostNL timeframes with EVA stock availability and return only valid options for both
47
- * When `SkipAvailabilityChecks` is true, the ExpectedAvailabilityDate on the lines is ignored
48
-
49
- 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.
44
+
45
+ * The `StartDate` and `EndDate` parameters are required and inclusive, the time portions will be ignored.
46
+ * Will cross-reference PostNL timeframes with EVA stock availability and return only valid options for both
47
+ * When `SkipAvailabilityChecks` is true, the ExpectedAvailabilityDate on the lines is ignored
48
+
49
+ 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.
50
50
  *
51
51
  * @export
52
52
  * @class PostNLGetAvailableTimeframesForOrder
@@ -1 +1 @@
1
- {"version":3,"file":"EVA.Carrier.PostNL.Services.d.ts","sourceRoot":"","sources":["../src/EVA.Carrier.PostNL.Services.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAEtE,yBAAiB,aAAa,CAAC;IAE7B;;;;;;OAMG;IACH,MAAa,oCAAqC,YAAW,qBAAqB;QAChF,IAAI,SAAwD;QAC5D,IAAI,SAA8D;QAClE,OAAO,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,CAAC;QAClE,QAAQ,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,oBAAoB,CAAC;KAC1C;IAED;;;;;;OAMG;IACH,MAAa,wCAAyC,YAAW,qBAAqB;QACpF,IAAI,SAA4D;QAChE,IAAI,SAAkE;QACtE,OAAO,CAAC,EAAE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9D,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,CAAC;KACxE;IAED;;;;;;OAMG;IACH,MAAa,mCAAoC,YAAW,qBAAqB;QAC/E,IAAI,SAAuD;QAC3D,IAAI,SAAkD;QACtD,OAAO,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,CAAC;QACjE,QAAQ,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,oBAAoB,CAAC;KAC1C;CACF"}
@@ -10,7 +10,7 @@ export var CarrierPostNL;
10
10
  class PostNLCreateShippingLabelForShipment {
11
11
  constructor() {
12
12
  this.name = 'CarrierPostNL:PostNLCreateShippingLabelForShipment';
13
- this.path = '/api/carrier/postnl/PostNLCreateShippingLabelForShipment';
13
+ this.path = '/message/PostNLCreateShippingLabelForShipment';
14
14
  }
15
15
  }
16
16
  CarrierPostNL.PostNLCreateShippingLabelForShipment = PostNLCreateShippingLabelForShipment;
@@ -24,7 +24,7 @@ export var CarrierPostNL;
24
24
  class PostNLGetAvailablePickUpLocationsForArea {
25
25
  constructor() {
26
26
  this.name = 'CarrierPostNL:PostNLGetAvailablePickUpLocationsForArea';
27
- this.path = '/api/carrier/postnl/PostNLGetAvailablePickUpLocationsForArea';
27
+ this.path = '/message/PostNLGetAvailablePickUpLocationsForArea';
28
28
  }
29
29
  }
30
30
  CarrierPostNL.PostNLGetAvailablePickUpLocationsForArea = PostNLGetAvailablePickUpLocationsForArea;
@@ -38,18 +38,18 @@ export var CarrierPostNL;
38
38
  class PostNLGetAvailablePickUpLocationsForOrder {
39
39
  constructor() {
40
40
  this.name = 'CarrierPostNL:PostNLGetAvailablePickUpLocationsForOrder';
41
- this.path = '/api/carrier/postnl/PostNLGetAvailablePickUpLocationsForOrder';
41
+ this.path = '/message/PostNLGetAvailablePickUpLocationsForOrder';
42
42
  }
43
43
  }
44
44
  CarrierPostNL.PostNLGetAvailablePickUpLocationsForOrder = PostNLGetAvailablePickUpLocationsForOrder;
45
45
  /**
46
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.
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
53
  *
54
54
  * @export
55
55
  * @class PostNLGetAvailableTimeframesForOrder
@@ -58,7 +58,7 @@ export var CarrierPostNL;
58
58
  class PostNLGetAvailableTimeframesForOrder {
59
59
  constructor() {
60
60
  this.name = 'CarrierPostNL:PostNLGetAvailableTimeframesForOrder';
61
- this.path = '/api/carrier/postnl/PostNLGetAvailableTimeframesForOrder';
61
+ this.path = '/message/PostNLGetAvailableTimeframesForOrder';
62
62
  }
63
63
  }
64
64
  CarrierPostNL.PostNLGetAvailableTimeframesForOrder = PostNLGetAvailableTimeframesForOrder;
@@ -72,7 +72,7 @@ export var CarrierPostNL;
72
72
  class PostNLGetShippingOptionsForOrder {
73
73
  constructor() {
74
74
  this.name = 'CarrierPostNL:PostNLGetShippingOptionsForOrder';
75
- this.path = '/api/carrier/postnl/PostNLGetShippingOptionsForOrder';
75
+ this.path = '/message/PostNLGetShippingOptionsForOrder';
76
76
  }
77
77
  }
78
78
  CarrierPostNL.PostNLGetShippingOptionsForOrder = PostNLGetShippingOptionsForOrder;
@@ -86,7 +86,7 @@ export var CarrierPostNL;
86
86
  class PostNLUpdateShippingOptionsForOrder {
87
87
  constructor() {
88
88
  this.name = 'CarrierPostNL:PostNLUpdateShippingOptionsForOrder';
89
- this.path = '/api/carrier/postnl/PostNLUpdateShippingOptionsForOrder';
89
+ this.path = '/message/PostNLUpdateShippingOptionsForOrder';
90
90
  }
91
91
  }
92
92
  CarrierPostNL.PostNLUpdateShippingOptionsForOrder = PostNLUpdateShippingOptionsForOrder;
@@ -1 +1 @@
1
- {"version":3,"file":"EVA.Carrier.PostNL.Services.js","sourceRoot":"","sources":["../src/EVA.Carrier.PostNL.Services.ts"],"names":[],"mappings":"AAEA,MAAM,KAAW,aAAa,CA2F7B;AA3FD,WAAiB,aAAa;IAE5B;;;;;;OAMG;IACH,MAAa,oCAAoC;QAAjD;YACE,SAAI,GAAG,oDAAoD,CAAC;YAC5D,SAAI,GAAG,0DAA0D,CAAC;QAGpE,CAAC;KAAA;IALY,kDAAoC,uCAKhD,CAAA;IAED;;;;;;OAMG;IACH,MAAa,wCAAwC;QAArD;YACE,SAAI,GAAG,wDAAwD,CAAC;YAChE,SAAI,GAAG,8DAA8D,CAAC;QAGxE,CAAC;KAAA;IALY,sDAAwC,2CAKpD,CAAA;IAED;;;;;;OAMG;IACH,MAAa,yCAAyC;QAAtD;YACE,SAAI,GAAG,yDAAyD,CAAC;YACjE,SAAI,GAAG,+DAA+D,CAAC;QAGzE,CAAC;KAAA;IALY,uDAAyC,4CAKrD,CAAA;IAED;;;;;;;;;;;;OAYG;IACH,MAAa,oCAAoC;QAAjD;YACE,SAAI,GAAG,oDAAoD,CAAC;YAC5D,SAAI,GAAG,0DAA0D,CAAC;QAGpE,CAAC;KAAA;IALY,kDAAoC,uCAKhD,CAAA;IAED;;;;;;OAMG;IACH,MAAa,gCAAgC;QAA7C;YACE,SAAI,GAAG,gDAAgD,CAAC;YACxD,SAAI,GAAG,sDAAsD,CAAC;QAGhE,CAAC;KAAA;IALY,8CAAgC,mCAK5C,CAAA;IAED;;;;;;OAMG;IACH,MAAa,mCAAmC;QAAhD;YACE,SAAI,GAAG,mDAAmD,CAAC;YAC3D,SAAI,GAAG,yDAAyD,CAA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@@ -10,7 +10,7 @@ var CarrierPostNL;
10
10
  class PostNLCreateShippingLabelForShipment {
11
11
  constructor() {
12
12
  this.name = 'CarrierPostNL:PostNLCreateShippingLabelForShipment';
13
- this.path = '/api/carrier/postnl/PostNLCreateShippingLabelForShipment';
13
+ this.path = '/message/PostNLCreateShippingLabelForShipment';
14
14
  }
15
15
  }
16
16
  CarrierPostNL.PostNLCreateShippingLabelForShipment = PostNLCreateShippingLabelForShipment;
@@ -24,7 +24,7 @@ var CarrierPostNL;
24
24
  class PostNLGetAvailablePickUpLocationsForArea {
25
25
  constructor() {
26
26
  this.name = 'CarrierPostNL:PostNLGetAvailablePickUpLocationsForArea';
27
- this.path = '/api/carrier/postnl/PostNLGetAvailablePickUpLocationsForArea';
27
+ this.path = '/message/PostNLGetAvailablePickUpLocationsForArea';
28
28
  }
29
29
  }
30
30
  CarrierPostNL.PostNLGetAvailablePickUpLocationsForArea = PostNLGetAvailablePickUpLocationsForArea;
@@ -38,18 +38,18 @@ var CarrierPostNL;
38
38
  class PostNLGetAvailablePickUpLocationsForOrder {
39
39
  constructor() {
40
40
  this.name = 'CarrierPostNL:PostNLGetAvailablePickUpLocationsForOrder';
41
- this.path = '/api/carrier/postnl/PostNLGetAvailablePickUpLocationsForOrder';
41
+ this.path = '/message/PostNLGetAvailablePickUpLocationsForOrder';
42
42
  }
43
43
  }
44
44
  CarrierPostNL.PostNLGetAvailablePickUpLocationsForOrder = PostNLGetAvailablePickUpLocationsForOrder;
45
45
  /**
46
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.
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
53
  *
54
54
  * @export
55
55
  * @class PostNLGetAvailableTimeframesForOrder
@@ -58,7 +58,7 @@ var CarrierPostNL;
58
58
  class PostNLGetAvailableTimeframesForOrder {
59
59
  constructor() {
60
60
  this.name = 'CarrierPostNL:PostNLGetAvailableTimeframesForOrder';
61
- this.path = '/api/carrier/postnl/PostNLGetAvailableTimeframesForOrder';
61
+ this.path = '/message/PostNLGetAvailableTimeframesForOrder';
62
62
  }
63
63
  }
64
64
  CarrierPostNL.PostNLGetAvailableTimeframesForOrder = PostNLGetAvailableTimeframesForOrder;
@@ -72,7 +72,7 @@ var CarrierPostNL;
72
72
  class PostNLGetShippingOptionsForOrder {
73
73
  constructor() {
74
74
  this.name = 'CarrierPostNL:PostNLGetShippingOptionsForOrder';
75
- this.path = '/api/carrier/postnl/PostNLGetShippingOptionsForOrder';
75
+ this.path = '/message/PostNLGetShippingOptionsForOrder';
76
76
  }
77
77
  }
78
78
  CarrierPostNL.PostNLGetShippingOptionsForOrder = PostNLGetShippingOptionsForOrder;
@@ -86,7 +86,7 @@ var CarrierPostNL;
86
86
  class PostNLUpdateShippingOptionsForOrder {
87
87
  constructor() {
88
88
  this.name = 'CarrierPostNL:PostNLUpdateShippingOptionsForOrder';
89
- this.path = '/api/carrier/postnl/PostNLUpdateShippingOptionsForOrder';
89
+ this.path = '/message/PostNLUpdateShippingOptionsForOrder';
90
90
  }
91
91
  }
92
92
  CarrierPostNL.PostNLUpdateShippingOptionsForOrder = PostNLUpdateShippingOptionsForOrder;
@@ -1,104 +1,104 @@
1
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';
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.
6
53
 
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 = '/api/carrier/postnl/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 = '/api/carrier/postnl/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 = '/api/carrier/postnl/PostNLGetAvailablePickUpLocationsForOrder';
48
- }
49
- }
50
- CarrierPostNL.PostNLGetAvailablePickUpLocationsForOrder = PostNLGetAvailablePickUpLocationsForOrder;
51
- /**
52
- * List the available PostNL timeframe options for the given order.
53
-
54
54
  * The `StartDate` and `EndDate` parameters are required and inclusive, the time portions will be ignored.
55
55
  * Will cross-reference PostNL timeframes with EVA stock availability and return only valid options for both
56
56
  * When `SkipAvailabilityChecks` is true, the ExpectedAvailabilityDate on the lines is ignored
57
-
57
+
58
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 = '/api/carrier/postnl/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 = '/api/carrier/postnl/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 = '/api/carrier/postnl/PostNLUpdateShippingOptionsForOrder';
96
- }
97
- }
98
- CarrierPostNL.PostNLUpdateShippingOptionsForOrder = PostNLUpdateShippingOptionsForOrder;
99
- })(exports.CarrierPostNL || (exports.CarrierPostNL = {}));
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
100
 
101
- Object.defineProperty(exports, '__esModule', { value: true });
101
+ Object.defineProperty(exports, '__esModule', { value: true });
102
102
 
103
- })));
103
+ }));
104
104
  //# sourceMappingURL=eva-services-carrier-post-nl.umd.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@springtree/eva-services-carrier-post-nl",
3
- "version": "1.2.2",
3
+ "version": "1.4.0",
4
4
  "description": "The EVA service repository for EVA.Carrier.PostNL",
5
5
  "keywords": [],
6
6
  "author": "SpringTree <info@springtree.nl>",
@@ -33,5 +33,5 @@
33
33
  "peerDependencies": {
34
34
  "@springtree/eva-services-core": "^1.0.0"
35
35
  },
36
- "gitHead": "605e3707bd877face542d685235892d553843c8d"
36
+ "gitHead": "8c2f19a98f8713ade25a33a422b2334851d04fc6"
37
37
  }
package/CHANGELOG.md DELETED
@@ -1,144 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## 1.2.2 (2021-03-08)
7
-
8
- **Note:** Version bump only for package @springtree/eva-services-carrier-post-nl
9
-
10
-
11
-
12
-
13
-
14
- ## 1.2.1 (2021-02-22)
15
-
16
- **Note:** Version bump only for package @springtree/eva-services-carrier-post-nl
17
-
18
-
19
-
20
-
21
-
22
- # 1.2.0 (2021-02-22)
23
-
24
-
25
- ### Features
26
-
27
- * **sdk-react:** add wish list state ([99d567f](https://github.com/springtreesolutions/eva-sdk-repo/commit/99d567f5af7b2bd8a1ea3e3a4bf8700ae0ef8d87))
28
-
29
-
30
-
31
-
32
-
33
- ## 1.1.9 (2021-02-22)
34
-
35
- **Note:** Version bump only for package @springtree/eva-services-carrier-post-nl
36
-
37
-
38
-
39
-
40
-
41
- ## 1.1.8 (2021-02-22)
42
-
43
- **Note:** Version bump only for package @springtree/eva-services-carrier-post-nl
44
-
45
-
46
-
47
-
48
-
49
- ## 1.1.7 (2021-02-19)
50
-
51
- **Note:** Version bump only for package @springtree/eva-services-carrier-post-nl
52
-
53
-
54
-
55
-
56
-
57
- ## 1.1.6 (2021-02-19)
58
-
59
- **Note:** Version bump only for package @springtree/eva-services-carrier-post-nl
60
-
61
-
62
-
63
-
64
-
65
- ## 1.1.5 (2021-02-19)
66
-
67
- **Note:** Version bump only for package @springtree/eva-services-carrier-post-nl
68
-
69
-
70
-
71
-
72
-
73
- ## 1.1.4 (2021-02-19)
74
-
75
- **Note:** Version bump only for package @springtree/eva-services-carrier-post-nl
76
-
77
-
78
-
79
-
80
-
81
- ## 1.1.3 (2021-02-19)
82
-
83
- **Note:** Version bump only for package @springtree/eva-services-carrier-post-nl
84
-
85
-
86
-
87
-
88
-
89
- ## 1.1.2 (2021-02-19)
90
-
91
- **Note:** Version bump only for package @springtree/eva-services-carrier-post-nl
92
-
93
-
94
-
95
-
96
-
97
- ## 1.1.1 (2021-02-19)
98
-
99
- **Note:** Version bump only for package @springtree/eva-services-carrier-post-nl
100
-
101
-
102
-
103
-
104
-
105
- # 1.1.0 (2020-04-30)
106
-
107
-
108
- ### Features
109
-
110
- * **service:** add setting and option to set station ID header ([8f0a683](https://github.com/springtreesolutions/eva-sdk-repo/commit/8f0a683cb323be16b9dc696a35eac295ff1b3fc1))
111
- * **typings:** update to latest ([a767432](https://github.com/springtreesolutions/eva-sdk-repo/commit/a7674325001f8979135838e1a08c8c69ab15bf48))
112
-
113
-
114
-
115
-
116
-
117
- ## [1.0.2](https://github.com/springtreesolutions/eva-sdk-repo/compare/@springtree/eva-services-carrier-post-nl@1.0.1...@springtree/eva-services-carrier-post-nl@1.0.2) (2019-12-20)
118
-
119
- **Note:** Version bump only for package @springtree/eva-services-carrier-post-nl
120
-
121
-
122
-
123
-
124
-
125
- ## [1.0.1](https://github.com/springtreesolutions/eva-sdk-repo/compare/@springtree/eva-services-carrier-post-nl@1.0.0...@springtree/eva-services-carrier-post-nl@1.0.1) (2019-09-20)
126
-
127
- **Note:** Version bump only for package @springtree/eva-services-carrier-post-nl
128
-
129
-
130
-
131
-
132
-
133
- # 1.0.0 (2019-09-20)
134
-
135
-
136
- ### Bug Fixes
137
-
138
- * **npm:** public package scope ([f223f30](https://github.com/springtreesolutions/eva-sdk-repo/commit/f223f30))
139
- * **npm:** setup inter package peer dependencies ([eef5fa9](https://github.com/springtreesolutions/eva-sdk-repo/commit/eef5fa9))
140
-
141
-
142
- ### Features
143
-
144
- * **services:** lots of registries ([ba5abf8](https://github.com/springtreesolutions/eva-sdk-repo/commit/ba5abf8))