@lcdp/api-react-rest-client 3.1.0-develop.21471280289 → 3.1.0-explo-rd.21477452226

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lcdp/api-react-rest-client",
3
- "version": "3.1.0-develop.21471280289",
3
+ "version": "3.1.0-explo-rd.21477452226",
4
4
  "scripts": {
5
5
  "build": "tsc"
6
6
  },
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { HttpLink } from './HttpLink';
12
+ import type { CartSubCart } from './CartSubCart';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -30,10 +30,10 @@ export interface Cart {
30
30
  lineCount?: number;
31
31
  /**
32
32
  *
33
- * @type {Array<HttpLink>}
33
+ * @type {Array<CartSubCart>}
34
34
  * @memberof Cart
35
35
  */
36
- subCarts?: Array<HttpLink>;
36
+ subCarts?: Array<CartSubCart>;
37
37
  }
38
38
  /**
39
39
  * Check if a given object implements the Cart interface.
@@ -14,7 +14,7 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CartToJSON = exports.CartFromJSONTyped = exports.CartFromJSON = exports.instanceOfCart = void 0;
17
- var HttpLink_1 = require("./HttpLink");
17
+ var CartSubCart_1 = require("./CartSubCart");
18
18
  /**
19
19
  * Check if a given object implements the Cart interface.
20
20
  */
@@ -33,7 +33,7 @@ function CartFromJSONTyped(json, ignoreDiscriminator) {
33
33
  return {
34
34
  'id': json['id'],
35
35
  'lineCount': json['lineCount'],
36
- 'subCarts': (json['subCarts'] === null || json['subCarts'] === undefined) ? json['subCarts'] : json['subCarts'].map(HttpLink_1.HttpLinkFromJSON),
36
+ 'subCarts': (json['subCarts'] === null || json['subCarts'] === undefined) ? json['subCarts'] : json['subCarts'].map(CartSubCart_1.CartSubCartFromJSON),
37
37
  };
38
38
  }
39
39
  exports.CartFromJSONTyped = CartFromJSONTyped;
@@ -44,7 +44,7 @@ function CartToJSON(value) {
44
44
  return {
45
45
  'id': value['id'],
46
46
  'lineCount': value['lineCount'],
47
- 'subCarts': (value['subCarts'] === null || value['subCarts'] === undefined) ? value['subCarts'] : value['subCarts'].map(HttpLink_1.HttpLinkToJSON),
47
+ 'subCarts': (value['subCarts'] === null || value['subCarts'] === undefined) ? value['subCarts'] : value['subCarts'].map(CartSubCart_1.CartSubCartToJSON),
48
48
  };
49
49
  }
50
50
  exports.CartToJSON = CartToJSON;
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { CartSubCartLine } from './CartSubCartLine';
12
13
  import type { CartSubCartTransport } from './CartSubCartTransport';
13
- import type { HttpLink } from './HttpLink';
14
14
  import type { SellerLink } from './SellerLink';
15
15
  /**
16
16
  *
@@ -50,10 +50,10 @@ export interface CartSubCart {
50
50
  lineCount: number;
51
51
  /**
52
52
  *
53
- * @type {HttpLink}
53
+ * @type {Array<CartSubCartLine>}
54
54
  * @memberof CartSubCart
55
55
  */
56
- lines: HttpLink;
56
+ lines: Array<CartSubCartLine>;
57
57
  /**
58
58
  * Total buyer commission for this sub cart
59
59
  * @type {number}
@@ -14,8 +14,8 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CartSubCartToJSON = exports.CartSubCartFromJSONTyped = exports.CartSubCartFromJSON = exports.instanceOfCartSubCart = void 0;
17
+ var CartSubCartLine_1 = require("./CartSubCartLine");
17
18
  var CartSubCartTransport_1 = require("./CartSubCartTransport");
18
- var HttpLink_1 = require("./HttpLink");
19
19
  var SellerLink_1 = require("./SellerLink");
20
20
  /**
21
21
  * Check if a given object implements the CartSubCart interface.
@@ -54,7 +54,7 @@ function CartSubCartFromJSONTyped(json, ignoreDiscriminator) {
54
54
  'transport': (json['transport'] === null || json['transport'] === undefined) ? json['transport'] : (0, CartSubCartTransport_1.CartSubCartTransportFromJSON)(json['transport']),
55
55
  'seller': (json['seller'] === null || json['seller'] === undefined) ? json['seller'] : (0, SellerLink_1.SellerLinkFromJSON)(json['seller']),
56
56
  'lineCount': json['lineCount'],
57
- 'lines': (json['lines'] === null || json['lines'] === undefined) ? json['lines'] : (0, HttpLink_1.HttpLinkFromJSON)(json['lines']),
57
+ 'lines': (json['lines'] === null || json['lines'] === undefined) ? json['lines'] : json['lines'].map(CartSubCartLine_1.CartSubCartLineFromJSON),
58
58
  'totalBuyerCommissionExcludingTaxes': json['totalBuyerCommissionExcludingTaxes'],
59
59
  'totalExcludingTaxes': json['totalExcludingTaxes'],
60
60
  };
@@ -70,7 +70,7 @@ function CartSubCartToJSON(value) {
70
70
  'transport': (0, CartSubCartTransport_1.CartSubCartTransportToJSON)(value['transport']),
71
71
  'seller': (0, SellerLink_1.SellerLinkToJSON)(value['seller']),
72
72
  'lineCount': value['lineCount'],
73
- 'lines': (0, HttpLink_1.HttpLinkToJSON)(value['lines']),
73
+ 'lines': (value['lines'] === null || value['lines'] === undefined) ? value['lines'] : value['lines'].map(CartSubCartLine_1.CartSubCartLineToJSON),
74
74
  'totalBuyerCommissionExcludingTaxes': value['totalBuyerCommissionExcludingTaxes'],
75
75
  'totalExcludingTaxes': value['totalExcludingTaxes'],
76
76
  };