@lcdp/api-react-rest-client 2.5.3-develop.6379847017 → 2.5.3

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.
@@ -16,29 +16,17 @@
16
16
  */
17
17
  export interface ExpressOrderNeed {
18
18
  /**
19
- * Concerned product
19
+ *
20
20
  * @type {number}
21
21
  * @memberof ExpressOrderNeed
22
22
  */
23
23
  productId: number;
24
24
  /**
25
- * Minimal quantity needed
25
+ *
26
26
  * @type {number}
27
27
  * @memberof ExpressOrderNeed
28
28
  */
29
29
  quantity: number;
30
- /**
31
- * minimalDiscount can be negative cause discount can be negative
32
- * @type {number}
33
- * @memberof ExpressOrderNeed
34
- */
35
- minimalDiscount?: number | null;
36
- /**
37
- * The lapsing date must be reached after this date. (see ISO-8601 https://tc39.es/proposal-temporal/docs/duration.html)
38
- * @type {string}
39
- * @memberof ExpressOrderNeed
40
- */
41
- minimalLapsingDuration?: string | null;
42
30
  }
43
31
  export declare function ExpressOrderNeedFromJSON(json: any): ExpressOrderNeed;
44
32
  export declare function ExpressOrderNeedFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExpressOrderNeed;
@@ -14,7 +14,6 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ExpressOrderNeedToJSON = exports.ExpressOrderNeedFromJSONTyped = exports.ExpressOrderNeedFromJSON = void 0;
17
- var runtime_1 = require("../runtime");
18
17
  function ExpressOrderNeedFromJSON(json) {
19
18
  return ExpressOrderNeedFromJSONTyped(json, false);
20
19
  }
@@ -26,8 +25,6 @@ function ExpressOrderNeedFromJSONTyped(json, ignoreDiscriminator) {
26
25
  return {
27
26
  'productId': json['productId'],
28
27
  'quantity': json['quantity'],
29
- 'minimalDiscount': !(0, runtime_1.exists)(json, 'minimalDiscount') ? json['minimalDiscount'] : json['minimalDiscount'],
30
- 'minimalLapsingDuration': !(0, runtime_1.exists)(json, 'minimalLapsingDuration') ? json['minimalLapsingDuration'] : json['minimalLapsingDuration'],
31
28
  };
32
29
  }
33
30
  exports.ExpressOrderNeedFromJSONTyped = ExpressOrderNeedFromJSONTyped;
@@ -41,8 +38,6 @@ function ExpressOrderNeedToJSON(value) {
41
38
  return {
42
39
  'productId': value.productId,
43
40
  'quantity': value.quantity,
44
- 'minimalDiscount': value.minimalDiscount,
45
- 'minimalLapsingDuration': value.minimalLapsingDuration,
46
41
  };
47
42
  }
48
43
  exports.ExpressOrderNeedToJSON = ExpressOrderNeedToJSON;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lcdp/api-react-rest-client",
3
- "version": "2.5.3-develop.6379847017",
3
+ "version": "2.5.3",
4
4
  "scripts": {
5
5
  "build": "tsc"
6
6
  },