@lcdp/api-react-rest-client 2.1.4-develop.5077941181 → 2.1.4-develop.5078116277

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.
@@ -193,12 +193,6 @@ export interface Order {
193
193
  * @memberof Order
194
194
  */
195
195
  availableItemsOperations: HttpLink;
196
- /**
197
- * Date when free shipping was reached
198
- * @type {Date}
199
- * @memberof Order
200
- */
201
- freeShippingReachedDate?: Date;
202
196
  /**
203
197
  * Labels of the order
204
198
  * @type {Array<string>}
@@ -62,7 +62,6 @@ function OrderFromJSONTyped(json, ignoreDiscriminator) {
62
62
  'anomalies': (0, Anomalies_1.AnomaliesFromJSON)(json['anomalies']),
63
63
  'reservations': (0, HttpLink_1.HttpLinkFromJSON)(json['reservations']),
64
64
  'availableItemsOperations': (0, HttpLink_1.HttpLinkFromJSON)(json['availableItemsOperations']),
65
- 'freeShippingReachedDate': !(0, runtime_1.exists)(json, 'freeShippingReachedDate') ? undefined : (new Date(json['freeShippingReachedDate'])),
66
65
  'tags': json['tags'],
67
66
  'journal': (0, OrderJournal_1.OrderJournalFromJSON)(json['journal']),
68
67
  };
@@ -104,7 +103,6 @@ function OrderToJSON(value) {
104
103
  'anomalies': (0, Anomalies_1.AnomaliesToJSON)(value.anomalies),
105
104
  'reservations': (0, HttpLink_1.HttpLinkToJSON)(value.reservations),
106
105
  'availableItemsOperations': (0, HttpLink_1.HttpLinkToJSON)(value.availableItemsOperations),
107
- 'freeShippingReachedDate': value.freeShippingReachedDate === undefined ? undefined : ((0, runtime_1.toDateISOString)(value.freeShippingReachedDate)),
108
106
  'tags': value.tags,
109
107
  'journal': (0, OrderJournal_1.OrderJournalToJSON)(value.journal),
110
108
  };
@@ -14,7 +14,6 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.OrderJournalToJSON = exports.OrderJournalFromJSONTyped = exports.OrderJournalFromJSON = void 0;
17
- var runtime_1 = require("../runtime");
18
17
  function OrderJournalFromJSON(json) {
19
18
  return OrderJournalFromJSONTyped(json, false);
20
19
  }
@@ -36,7 +35,7 @@ function OrderJournalToJSON(value) {
36
35
  return null;
37
36
  }
38
37
  return {
39
- 'freeShippingReachedDate': (value.freeShippingReachedDate === null ? null : (0, runtime_1.toDateISOString)(value.freeShippingReachedDate)),
38
+ 'freeShippingReachedDate': (value.freeShippingReachedDate === null ? null : value.freeShippingReachedDate.toISOString()),
40
39
  };
41
40
  }
42
41
  exports.OrderJournalToJSON = OrderJournalToJSON;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lcdp/api-react-rest-client",
3
- "version": "2.1.4-develop.5077941181",
3
+ "version": "2.1.4-develop.5078116277",
4
4
  "scripts": {
5
5
  "build": "tsc"
6
6
  },