@lcdp/api-react-rest-client 2.1.2-LDS-2801-afficher-des-produits-recommand.4425661693 → 2.1.2-develop.4345729489

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.
Files changed (45) hide show
  1. package/auth/src/models/HttpLink.d.ts +1 -1
  2. package/banking-operation/src/models/HttpLink.d.ts +1 -1
  3. package/factory/src/models/HttpLink.d.ts +1 -1
  4. package/favorite/src/models/HttpLink.d.ts +1 -1
  5. package/inventory/src/models/HttpLink.d.ts +1 -1
  6. package/invoice/src/models/HttpLink.d.ts +1 -1
  7. package/laboratory-store/src/models/HttpLink.d.ts +1 -1
  8. package/laboratory-store/src/models/ImageVersions.d.ts +6 -6
  9. package/laboratory-store-log/src/models/HttpLink.d.ts +1 -1
  10. package/magic-cart/src/models/HttpLink.d.ts +1 -1
  11. package/message/src/models/HttpLink.d.ts +1 -1
  12. package/notification/src/models/HttpLink.d.ts +1 -1
  13. package/order/src/models/HttpLink.d.ts +1 -1
  14. package/order-log/src/models/HttpLink.d.ts +1 -1
  15. package/package.json +1 -1
  16. package/product/src/models/HttpLink.d.ts +1 -1
  17. package/product/src/models/ImageVersions.d.ts +6 -6
  18. package/pub/src/models/HttpLink.d.ts +1 -1
  19. package/pub/src/models/ImageVersions.d.ts +6 -6
  20. package/recommendation/src/models/HttpLink.d.ts +1 -1
  21. package/rfx/src/models/HttpLink.d.ts +1 -1
  22. package/sale-offer/src/models/HttpLink.d.ts +1 -1
  23. package/sale-offer/src/models/ImageVersions.d.ts +6 -6
  24. package/sale-offer-log/src/models/HttpLink.d.ts +1 -1
  25. package/shipment/src/models/HttpLink.d.ts +1 -1
  26. package/shipment/src/models/Shipment.d.ts +3 -3
  27. package/shipment/src/models/Shipment.js +3 -3
  28. package/shipment/src/models/index.d.ts +0 -1
  29. package/shipment/src/models/index.js +0 -1
  30. package/shopping-cart/src/apis/ManageCartSubCartApi.d.ts +2 -15
  31. package/shopping-cart/src/apis/ManageCartSubCartApi.js +4 -18
  32. package/shopping-cart/src/models/CartSubCart.d.ts +7 -13
  33. package/shopping-cart/src/models/CartSubCart.js +8 -9
  34. package/shopping-cart/src/models/CartSubCartLine.d.ts +5 -5
  35. package/shopping-cart/src/models/CartSubCartLine.js +5 -5
  36. package/shopping-cart/src/models/CartSubCartTransport.d.ts +4 -10
  37. package/shopping-cart/src/models/CartSubCartTransport.js +4 -5
  38. package/shopping-cart/src/models/HttpLink.d.ts +1 -1
  39. package/statistic/src/models/HttpLink.d.ts +1 -1
  40. package/subscription/src/models/HttpLink.d.ts +1 -1
  41. package/thread/src/models/HttpLink.d.ts +1 -1
  42. package/user/src/models/HttpLink.d.ts +1 -1
  43. package/wish/src/models/HttpLink.d.ts +1 -1
  44. package/shipment/src/models/ShipmentLabels.d.ts +0 -33
  45. package/shipment/src/models/ShipmentLabels.js +0 -44
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,37 +16,37 @@
16
16
  */
17
17
  export interface ImageVersions {
18
18
  /**
19
- * URL to S3 file (width 128px, height computed with original image aspect ratio)
19
+ * URI to S3 file (width 128px, height computed with original image aspect ratio)
20
20
  * @type {string}
21
21
  * @memberof ImageVersions
22
22
  */
23
23
  xsmall?: string;
24
24
  /**
25
- * URL to S3 file (width 256px, height computed with original image aspect ratio)
25
+ * URI to S3 file (width 256px, height computed with original image aspect ratio)
26
26
  * @type {string}
27
27
  * @memberof ImageVersions
28
28
  */
29
29
  small?: string;
30
30
  /**
31
- * URL to S3 file (width 512px, height computed with original image aspect ratio)
31
+ * URI to S3 file (width 512px, height computed with original image aspect ratio)
32
32
  * @type {string}
33
33
  * @memberof ImageVersions
34
34
  */
35
35
  medium?: string;
36
36
  /**
37
- * URL to S3 file (width 1024px, height computed with original image aspect ratio)
37
+ * URI to S3 file (width 1024px, height computed with original image aspect ratio)
38
38
  * @type {string}
39
39
  * @memberof ImageVersions
40
40
  */
41
41
  large?: string;
42
42
  /**
43
- * URL to S3 file (width 2048px, height computed with original image aspect ratio)
43
+ * URI to S3 file (width 2048px, height computed with original image aspect ratio)
44
44
  * @type {string}
45
45
  * @memberof ImageVersions
46
46
  */
47
47
  xlarge?: string;
48
48
  /**
49
- * URL to S3 file (Original size)
49
+ * URI to S3 file (Original size)
50
50
  * @type {string}
51
51
  * @memberof ImageVersions
52
52
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lcdp/api-react-rest-client",
3
- "version": "2.1.2-LDS-2801-afficher-des-produits-recommand.4425661693",
3
+ "version": "2.1.2-develop.4345729489",
4
4
  "scripts": {
5
5
  "build": "tsc"
6
6
  },
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,37 +16,37 @@
16
16
  */
17
17
  export interface ImageVersions {
18
18
  /**
19
- * URL to S3 file (width 128px, height computed with original image aspect ratio)
19
+ * URI to S3 file (width 128px, height computed with original image aspect ratio)
20
20
  * @type {string}
21
21
  * @memberof ImageVersions
22
22
  */
23
23
  xsmall?: string;
24
24
  /**
25
- * URL to S3 file (width 256px, height computed with original image aspect ratio)
25
+ * URI to S3 file (width 256px, height computed with original image aspect ratio)
26
26
  * @type {string}
27
27
  * @memberof ImageVersions
28
28
  */
29
29
  small?: string;
30
30
  /**
31
- * URL to S3 file (width 512px, height computed with original image aspect ratio)
31
+ * URI to S3 file (width 512px, height computed with original image aspect ratio)
32
32
  * @type {string}
33
33
  * @memberof ImageVersions
34
34
  */
35
35
  medium?: string;
36
36
  /**
37
- * URL to S3 file (width 1024px, height computed with original image aspect ratio)
37
+ * URI to S3 file (width 1024px, height computed with original image aspect ratio)
38
38
  * @type {string}
39
39
  * @memberof ImageVersions
40
40
  */
41
41
  large?: string;
42
42
  /**
43
- * URL to S3 file (width 2048px, height computed with original image aspect ratio)
43
+ * URI to S3 file (width 2048px, height computed with original image aspect ratio)
44
44
  * @type {string}
45
45
  * @memberof ImageVersions
46
46
  */
47
47
  xlarge?: string;
48
48
  /**
49
- * URL to S3 file (Original size)
49
+ * URI to S3 file (Original size)
50
50
  * @type {string}
51
51
  * @memberof ImageVersions
52
52
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,37 +16,37 @@
16
16
  */
17
17
  export interface ImageVersions {
18
18
  /**
19
- * URL to S3 file (width 128px, height computed with original image aspect ratio)
19
+ * URI to S3 file (width 128px, height computed with original image aspect ratio)
20
20
  * @type {string}
21
21
  * @memberof ImageVersions
22
22
  */
23
23
  xsmall?: string;
24
24
  /**
25
- * URL to S3 file (width 256px, height computed with original image aspect ratio)
25
+ * URI to S3 file (width 256px, height computed with original image aspect ratio)
26
26
  * @type {string}
27
27
  * @memberof ImageVersions
28
28
  */
29
29
  small?: string;
30
30
  /**
31
- * URL to S3 file (width 512px, height computed with original image aspect ratio)
31
+ * URI to S3 file (width 512px, height computed with original image aspect ratio)
32
32
  * @type {string}
33
33
  * @memberof ImageVersions
34
34
  */
35
35
  medium?: string;
36
36
  /**
37
- * URL to S3 file (width 1024px, height computed with original image aspect ratio)
37
+ * URI to S3 file (width 1024px, height computed with original image aspect ratio)
38
38
  * @type {string}
39
39
  * @memberof ImageVersions
40
40
  */
41
41
  large?: string;
42
42
  /**
43
- * URL to S3 file (width 2048px, height computed with original image aspect ratio)
43
+ * URI to S3 file (width 2048px, height computed with original image aspect ratio)
44
44
  * @type {string}
45
45
  * @memberof ImageVersions
46
46
  */
47
47
  xlarge?: string;
48
48
  /**
49
- * URL to S3 file (Original size)
49
+ * URI to S3 file (Original size)
50
50
  * @type {string}
51
51
  * @memberof ImageVersions
52
52
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,37 +16,37 @@
16
16
  */
17
17
  export interface ImageVersions {
18
18
  /**
19
- * URL to S3 file (width 128px, height computed with original image aspect ratio)
19
+ * URI to S3 file (width 128px, height computed with original image aspect ratio)
20
20
  * @type {string}
21
21
  * @memberof ImageVersions
22
22
  */
23
23
  xsmall?: string;
24
24
  /**
25
- * URL to S3 file (width 256px, height computed with original image aspect ratio)
25
+ * URI to S3 file (width 256px, height computed with original image aspect ratio)
26
26
  * @type {string}
27
27
  * @memberof ImageVersions
28
28
  */
29
29
  small?: string;
30
30
  /**
31
- * URL to S3 file (width 512px, height computed with original image aspect ratio)
31
+ * URI to S3 file (width 512px, height computed with original image aspect ratio)
32
32
  * @type {string}
33
33
  * @memberof ImageVersions
34
34
  */
35
35
  medium?: string;
36
36
  /**
37
- * URL to S3 file (width 1024px, height computed with original image aspect ratio)
37
+ * URI to S3 file (width 1024px, height computed with original image aspect ratio)
38
38
  * @type {string}
39
39
  * @memberof ImageVersions
40
40
  */
41
41
  large?: string;
42
42
  /**
43
- * URL to S3 file (width 2048px, height computed with original image aspect ratio)
43
+ * URI to S3 file (width 2048px, height computed with original image aspect ratio)
44
44
  * @type {string}
45
45
  * @memberof ImageVersions
46
46
  */
47
47
  xlarge?: string;
48
48
  /**
49
- * URL to S3 file (Original size)
49
+ * URI to S3 file (Original size)
50
50
  * @type {string}
51
51
  * @memberof ImageVersions
52
52
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { ShipmentLabels } from './ShipmentLabels';
12
+ import { HttpLink } from './HttpLink';
13
13
  import { ShipmentParcel } from './ShipmentParcel';
14
14
  /**
15
15
  * A shipment is a transport request for X parcels.
@@ -25,10 +25,10 @@ export interface Shipment {
25
25
  reservationNumber?: string;
26
26
  /**
27
27
  *
28
- * @type {ShipmentLabels}
28
+ * @type {HttpLink}
29
29
  * @memberof Shipment
30
30
  */
31
- labels?: ShipmentLabels;
31
+ label?: HttpLink;
32
32
  /**
33
33
  * Pickup date for this shipment
34
34
  * @type {Date}
@@ -15,7 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ShipmentToJSON = exports.ShipmentFromJSONTyped = exports.ShipmentFromJSON = void 0;
17
17
  var runtime_1 = require("../runtime");
18
- var ShipmentLabels_1 = require("./ShipmentLabels");
18
+ var HttpLink_1 = require("./HttpLink");
19
19
  var ShipmentParcel_1 = require("./ShipmentParcel");
20
20
  function ShipmentFromJSON(json) {
21
21
  return ShipmentFromJSONTyped(json, false);
@@ -27,7 +27,7 @@ function ShipmentFromJSONTyped(json, ignoreDiscriminator) {
27
27
  }
28
28
  return {
29
29
  'reservationNumber': !(0, runtime_1.exists)(json, 'reservationNumber') ? undefined : json['reservationNumber'],
30
- 'labels': !(0, runtime_1.exists)(json, 'labels') ? undefined : (0, ShipmentLabels_1.ShipmentLabelsFromJSON)(json['labels']),
30
+ 'label': !(0, runtime_1.exists)(json, 'label') ? undefined : (0, HttpLink_1.HttpLinkFromJSON)(json['label']),
31
31
  'pickupDate': !(0, runtime_1.exists)(json, 'pickupDate') ? undefined : (new Date(json['pickupDate'])),
32
32
  'parcels': !(0, runtime_1.exists)(json, 'parcels') ? undefined : (json['parcels'].map(ShipmentParcel_1.ShipmentParcelFromJSON)),
33
33
  'createdAt': !(0, runtime_1.exists)(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
@@ -43,7 +43,7 @@ function ShipmentToJSON(value) {
43
43
  }
44
44
  return {
45
45
  'reservationNumber': value.reservationNumber,
46
- 'labels': (0, ShipmentLabels_1.ShipmentLabelsToJSON)(value.labels),
46
+ 'label': (0, HttpLink_1.HttpLinkToJSON)(value.label),
47
47
  'pickupDate': value.pickupDate === undefined ? undefined : (value.pickupDate.toISOString()),
48
48
  'parcels': value.parcels === undefined ? undefined : (value.parcels.map(ShipmentParcel_1.ShipmentParcelToJSON)),
49
49
  'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
@@ -13,7 +13,6 @@ export * from './RestError';
13
13
  export * from './Shipment';
14
14
  export * from './ShipmentCreationParameters';
15
15
  export * from './ShipmentError';
16
- export * from './ShipmentLabels';
17
16
  export * from './ShipmentParcel';
18
17
  export * from './ShipmentParcelStatus';
19
18
  export * from './SkybillLink';
@@ -29,7 +29,6 @@ __exportStar(require("./RestError"), exports);
29
29
  __exportStar(require("./Shipment"), exports);
30
30
  __exportStar(require("./ShipmentCreationParameters"), exports);
31
31
  __exportStar(require("./ShipmentError"), exports);
32
- __exportStar(require("./ShipmentLabels"), exports);
33
32
  __exportStar(require("./ShipmentParcel"), exports);
34
33
  __exportStar(require("./ShipmentParcelStatus"), exports);
35
34
  __exportStar(require("./SkybillLink"), exports);
@@ -17,9 +17,6 @@ export interface DeleteCurrentCartSubCartRequest {
17
17
  export interface GetCurrentCartSubCartRequest {
18
18
  subCartId: number;
19
19
  }
20
- export interface GetCurrentCartSubCartsRequest {
21
- orderBy?: GetCurrentCartSubCartsOrderByEnum;
22
- }
23
20
  /**
24
21
  * no description
25
22
  */
@@ -43,19 +40,9 @@ export declare class ManageCartSubCartApi extends BaseAPI {
43
40
  /**
44
41
  * Get user cart split by SubCart
45
42
  */
46
- getCurrentCartSubCartsRaw(requestParameters: GetCurrentCartSubCartsRequest): Promise<ApiResponse<Array<CartSubCart> | BlobWithMeta>>;
43
+ getCurrentCartSubCartsRaw(): Promise<ApiResponse<Array<CartSubCart> | BlobWithMeta>>;
47
44
  /**
48
45
  * Get user cart split by SubCart
49
46
  */
50
- getCurrentCartSubCarts(requestParameters: GetCurrentCartSubCartsRequest): Promise<Array<CartSubCart> | BlobWithMeta>;
51
- }
52
- /**
53
- * @export
54
- * @enum {string}
55
- */
56
- export declare enum GetCurrentCartSubCartsOrderByEnum {
57
- UPDATEDATasc = "UPDATED_AT:asc",
58
- UPDATEDATdesc = "UPDATED_AT:desc",
59
- TOTALEXCLUDINGTAXESasc = "TOTAL_EXCLUDING_TAXES:asc",
60
- TOTALEXCLUDINGTAXESdesc = "TOTAL_EXCLUDING_TAXES:desc"
47
+ getCurrentCartSubCarts(): Promise<Array<CartSubCart> | BlobWithMeta>;
61
48
  }
@@ -64,7 +64,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
64
64
  }
65
65
  };
66
66
  Object.defineProperty(exports, "__esModule", { value: true });
67
- exports.GetCurrentCartSubCartsOrderByEnum = exports.ManageCartSubCartApi = void 0;
67
+ exports.ManageCartSubCartApi = void 0;
68
68
  var runtime_1 = require("../runtime");
69
69
  var models_1 = require("../models");
70
70
  /**
@@ -211,16 +211,13 @@ var ManageCartSubCartApi = /** @class */ (function (_super) {
211
211
  /**
212
212
  * Get user cart split by SubCart
213
213
  */
214
- ManageCartSubCartApi.prototype.getCurrentCartSubCartsRaw = function (requestParameters) {
214
+ ManageCartSubCartApi.prototype.getCurrentCartSubCartsRaw = function () {
215
215
  return __awaiter(this, void 0, void 0, function () {
216
216
  var queryParameters, headerParameters, token, tokenString, response, contentType, response_3;
217
217
  return __generator(this, function (_a) {
218
218
  switch (_a.label) {
219
219
  case 0:
220
220
  queryParameters = {};
221
- if (requestParameters.orderBy !== undefined) {
222
- queryParameters['orderBy'] = requestParameters.orderBy;
223
- }
224
221
  headerParameters = {};
225
222
  if (this.configuration && this.configuration.apiKey) {
226
223
  headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
@@ -267,12 +264,12 @@ var ManageCartSubCartApi = /** @class */ (function (_super) {
267
264
  /**
268
265
  * Get user cart split by SubCart
269
266
  */
270
- ManageCartSubCartApi.prototype.getCurrentCartSubCarts = function (requestParameters) {
267
+ ManageCartSubCartApi.prototype.getCurrentCartSubCarts = function () {
271
268
  return __awaiter(this, void 0, void 0, function () {
272
269
  var response;
273
270
  return __generator(this, function (_a) {
274
271
  switch (_a.label) {
275
- case 0: return [4 /*yield*/, this.getCurrentCartSubCartsRaw(requestParameters)];
272
+ case 0: return [4 /*yield*/, this.getCurrentCartSubCartsRaw()];
276
273
  case 1:
277
274
  response = _a.sent();
278
275
  return [4 /*yield*/, response.value()];
@@ -284,14 +281,3 @@ var ManageCartSubCartApi = /** @class */ (function (_super) {
284
281
  return ManageCartSubCartApi;
285
282
  }(runtime_1.BaseAPI));
286
283
  exports.ManageCartSubCartApi = ManageCartSubCartApi;
287
- /**
288
- * @export
289
- * @enum {string}
290
- */
291
- var GetCurrentCartSubCartsOrderByEnum;
292
- (function (GetCurrentCartSubCartsOrderByEnum) {
293
- GetCurrentCartSubCartsOrderByEnum["UPDATEDATasc"] = "UPDATED_AT:asc";
294
- GetCurrentCartSubCartsOrderByEnum["UPDATEDATdesc"] = "UPDATED_AT:desc";
295
- GetCurrentCartSubCartsOrderByEnum["TOTALEXCLUDINGTAXESasc"] = "TOTAL_EXCLUDING_TAXES:asc";
296
- GetCurrentCartSubCartsOrderByEnum["TOTALEXCLUDINGTAXESdesc"] = "TOTAL_EXCLUDING_TAXES:desc";
297
- })(GetCurrentCartSubCartsOrderByEnum = exports.GetCurrentCartSubCartsOrderByEnum || (exports.GetCurrentCartSubCartsOrderByEnum = {}));
@@ -23,49 +23,43 @@ export interface CartSubCart {
23
23
  * @type {number}
24
24
  * @memberof CartSubCart
25
25
  */
26
- id: number;
27
- /**
28
- * Last update date of this sub cart
29
- * @type {Date}
30
- * @memberof CartSubCart
31
- */
32
- updatedAt: Date;
26
+ id?: number;
33
27
  /**
34
28
  *
35
29
  * @type {CartSubCartTransport}
36
30
  * @memberof CartSubCart
37
31
  */
38
- transport: CartSubCartTransport;
32
+ transport?: CartSubCartTransport;
39
33
  /**
40
34
  *
41
35
  * @type {SellerLink}
42
36
  * @memberof CartSubCart
43
37
  */
44
- seller: SellerLink;
38
+ seller?: SellerLink;
45
39
  /**
46
40
  *
47
41
  * @type {number}
48
42
  * @memberof CartSubCart
49
43
  */
50
- lineCount: number;
44
+ lineCount?: number;
51
45
  /**
52
46
  *
53
47
  * @type {HttpLink}
54
48
  * @memberof CartSubCart
55
49
  */
56
- lines: HttpLink;
50
+ lines?: HttpLink;
57
51
  /**
58
52
  * Total buyer commission for this sub cart
59
53
  * @type {number}
60
54
  * @memberof CartSubCart
61
55
  */
62
- totalBuyerCommissionExcludingTaxes: number;
56
+ totalBuyerCommissionExcludingTaxes?: number;
63
57
  /**
64
58
  * Total price of the cart excluding taxes
65
59
  * @type {number}
66
60
  * @memberof CartSubCart
67
61
  */
68
- totalExcludingTaxes: number;
62
+ totalExcludingTaxes?: number;
69
63
  }
70
64
  export declare function CartSubCartFromJSON(json: any): CartSubCart;
71
65
  export declare function CartSubCartFromJSONTyped(json: any, ignoreDiscriminator: boolean): CartSubCart;
@@ -14,6 +14,7 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CartSubCartToJSON = exports.CartSubCartFromJSONTyped = exports.CartSubCartFromJSON = void 0;
17
+ var runtime_1 = require("../runtime");
17
18
  var CartSubCartTransport_1 = require("./CartSubCartTransport");
18
19
  var HttpLink_1 = require("./HttpLink");
19
20
  var SellerLink_1 = require("./SellerLink");
@@ -26,14 +27,13 @@ function CartSubCartFromJSONTyped(json, ignoreDiscriminator) {
26
27
  return json;
27
28
  }
28
29
  return {
29
- 'id': json['id'],
30
- 'updatedAt': (new Date(json['updatedAt'])),
31
- 'transport': (0, CartSubCartTransport_1.CartSubCartTransportFromJSON)(json['transport']),
32
- 'seller': (0, SellerLink_1.SellerLinkFromJSON)(json['seller']),
33
- 'lineCount': json['lineCount'],
34
- 'lines': (0, HttpLink_1.HttpLinkFromJSON)(json['lines']),
35
- 'totalBuyerCommissionExcludingTaxes': json['totalBuyerCommissionExcludingTaxes'],
36
- 'totalExcludingTaxes': json['totalExcludingTaxes'],
30
+ 'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
31
+ 'transport': !(0, runtime_1.exists)(json, 'transport') ? undefined : (0, CartSubCartTransport_1.CartSubCartTransportFromJSON)(json['transport']),
32
+ 'seller': !(0, runtime_1.exists)(json, 'seller') ? undefined : (0, SellerLink_1.SellerLinkFromJSON)(json['seller']),
33
+ 'lineCount': !(0, runtime_1.exists)(json, 'lineCount') ? undefined : json['lineCount'],
34
+ 'lines': !(0, runtime_1.exists)(json, 'lines') ? undefined : (0, HttpLink_1.HttpLinkFromJSON)(json['lines']),
35
+ 'totalBuyerCommissionExcludingTaxes': !(0, runtime_1.exists)(json, 'totalBuyerCommissionExcludingTaxes') ? undefined : json['totalBuyerCommissionExcludingTaxes'],
36
+ 'totalExcludingTaxes': !(0, runtime_1.exists)(json, 'totalExcludingTaxes') ? undefined : json['totalExcludingTaxes'],
37
37
  };
38
38
  }
39
39
  exports.CartSubCartFromJSONTyped = CartSubCartFromJSONTyped;
@@ -46,7 +46,6 @@ function CartSubCartToJSON(value) {
46
46
  }
47
47
  return {
48
48
  'id': value.id,
49
- 'updatedAt': (value.updatedAt.toISOString()),
50
49
  'transport': (0, CartSubCartTransport_1.CartSubCartTransportToJSON)(value.transport),
51
50
  'seller': (0, SellerLink_1.SellerLinkToJSON)(value.seller),
52
51
  'lineCount': value.lineCount,
@@ -22,25 +22,25 @@ export interface CartSubCartLine {
22
22
  * @type {number}
23
23
  * @memberof CartSubCartLine
24
24
  */
25
- id: number;
25
+ id?: number;
26
26
  /**
27
27
  * Quantity desired by the buyer
28
28
  * @type {number}
29
29
  * @memberof CartSubCartLine
30
30
  */
31
- quantity: number;
31
+ quantity?: number;
32
32
  /**
33
33
  *
34
34
  * @type {ProductLink}
35
35
  * @memberof CartSubCartLine
36
36
  */
37
- product: ProductLink;
37
+ product?: ProductLink;
38
38
  /**
39
39
  *
40
40
  * @type {SaleOfferLink}
41
41
  * @memberof CartSubCartLine
42
42
  */
43
- saleOffer: SaleOfferLink;
43
+ saleOffer?: SaleOfferLink;
44
44
  /**
45
45
  *
46
46
  * @type {number}
@@ -52,7 +52,7 @@ export interface CartSubCartLine {
52
52
  * @type {number}
53
53
  * @memberof CartSubCartLine
54
54
  */
55
- totalExcludingTaxes: number;
55
+ totalExcludingTaxes?: number;
56
56
  }
57
57
  export declare function CartSubCartLineFromJSON(json: any): CartSubCartLine;
58
58
  export declare function CartSubCartLineFromJSONTyped(json: any, ignoreDiscriminator: boolean): CartSubCartLine;
@@ -26,12 +26,12 @@ function CartSubCartLineFromJSONTyped(json, ignoreDiscriminator) {
26
26
  return json;
27
27
  }
28
28
  return {
29
- 'id': json['id'],
30
- 'quantity': json['quantity'],
31
- 'product': (0, ProductLink_1.ProductLinkFromJSON)(json['product']),
32
- 'saleOffer': (0, SaleOfferLink_1.SaleOfferLinkFromJSON)(json['saleOffer']),
29
+ 'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
30
+ 'quantity': !(0, runtime_1.exists)(json, 'quantity') ? undefined : json['quantity'],
31
+ 'product': !(0, runtime_1.exists)(json, 'product') ? undefined : (0, ProductLink_1.ProductLinkFromJSON)(json['product']),
32
+ 'saleOffer': !(0, runtime_1.exists)(json, 'saleOffer') ? undefined : (0, SaleOfferLink_1.SaleOfferLinkFromJSON)(json['saleOffer']),
33
33
  'distributionRangeId': !(0, runtime_1.exists)(json, 'distributionRangeId') ? undefined : json['distributionRangeId'],
34
- 'totalExcludingTaxes': json['totalExcludingTaxes'],
34
+ 'totalExcludingTaxes': !(0, runtime_1.exists)(json, 'totalExcludingTaxes') ? undefined : json['totalExcludingTaxes'],
35
35
  };
36
36
  }
37
37
  exports.CartSubCartLineFromJSONTyped = CartSubCartLineFromJSONTyped;
@@ -20,25 +20,19 @@ export interface CartSubCartTransport {
20
20
  * @type {number}
21
21
  * @memberof CartSubCartTransport
22
22
  */
23
- minimumPrice: number | null;
23
+ minimumPrice?: number | null;
24
24
  /**
25
25
  * Total shipping fees price of the sub cart excluding taxes
26
26
  * @type {number}
27
27
  * @memberof CartSubCartTransport
28
28
  */
29
- totalShippingFeesExcludingTaxes: number;
29
+ totalShippingFeesExcludingTaxes?: number;
30
30
  /**
31
- * Limit in euro (totalExcludingTaxes) to achieve to have free shipping fees. If no free carriage threshold reachable, value is null.
31
+ * Limit in euro (totalExcludingTaxes) to achieve to have free sheeping fees. If no fee carriage threshold, value is null.
32
32
  * @type {number}
33
33
  * @memberof CartSubCartTransport
34
34
  */
35
- freeCarriageThreshold: number | null;
36
- /**
37
- * Delivery delay in days
38
- * @type {number}
39
- * @memberof CartSubCartTransport
40
- */
41
- deliveryDelay: number;
35
+ freeCarriageThreshold?: number | null;
42
36
  }
43
37
  export declare function CartSubCartTransportFromJSON(json: any): CartSubCartTransport;
44
38
  export declare function CartSubCartTransportFromJSONTyped(json: any, ignoreDiscriminator: boolean): CartSubCartTransport;
@@ -14,6 +14,7 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CartSubCartTransportToJSON = exports.CartSubCartTransportFromJSONTyped = exports.CartSubCartTransportFromJSON = void 0;
17
+ var runtime_1 = require("../runtime");
17
18
  function CartSubCartTransportFromJSON(json) {
18
19
  return CartSubCartTransportFromJSONTyped(json, false);
19
20
  }
@@ -23,10 +24,9 @@ function CartSubCartTransportFromJSONTyped(json, ignoreDiscriminator) {
23
24
  return json;
24
25
  }
25
26
  return {
26
- 'minimumPrice': json['minimumPrice'],
27
- 'totalShippingFeesExcludingTaxes': json['totalShippingFeesExcludingTaxes'],
28
- 'freeCarriageThreshold': json['freeCarriageThreshold'],
29
- 'deliveryDelay': json['deliveryDelay'],
27
+ 'minimumPrice': !(0, runtime_1.exists)(json, 'minimumPrice') ? json['minimumPrice'] : json['minimumPrice'],
28
+ 'totalShippingFeesExcludingTaxes': !(0, runtime_1.exists)(json, 'totalShippingFeesExcludingTaxes') ? undefined : json['totalShippingFeesExcludingTaxes'],
29
+ 'freeCarriageThreshold': !(0, runtime_1.exists)(json, 'freeCarriageThreshold') ? json['freeCarriageThreshold'] : json['freeCarriageThreshold'],
30
30
  };
31
31
  }
32
32
  exports.CartSubCartTransportFromJSONTyped = CartSubCartTransportFromJSONTyped;
@@ -41,7 +41,6 @@ function CartSubCartTransportToJSON(value) {
41
41
  'minimumPrice': value.minimumPrice,
42
42
  'totalShippingFeesExcludingTaxes': value.totalShippingFeesExcludingTaxes,
43
43
  'freeCarriageThreshold': value.freeCarriageThreshold,
44
- 'deliveryDelay': value.deliveryDelay,
45
44
  };
46
45
  }
47
46
  exports.CartSubCartTransportToJSON = CartSubCartTransportToJSON;
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface HttpLink {
18
18
  /**
19
- * Any URL that is using http or https protocol
19
+ * Any URI that is using http or https protocol
20
20
  * @type {string}
21
21
  * @memberof HttpLink
22
22
  */
@@ -1,33 +0,0 @@
1
- /**
2
- * lcdp-monolith-service
3
- * This is the REST API of LCDP shipment
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: contact@lecomptoirdespharmacies.fr
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface ShipmentLabels
16
- */
17
- export interface ShipmentLabels {
18
- /**
19
- * URI to PDF file
20
- * @type {string}
21
- * @memberof ShipmentLabels
22
- */
23
- pdf?: string;
24
- /**
25
- * URI to ZPL file
26
- * @type {string}
27
- * @memberof ShipmentLabels
28
- */
29
- zpl?: string;
30
- }
31
- export declare function ShipmentLabelsFromJSON(json: any): ShipmentLabels;
32
- export declare function ShipmentLabelsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ShipmentLabels;
33
- export declare function ShipmentLabelsToJSON(value?: ShipmentLabels | null): any;
@@ -1,44 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * lcdp-monolith-service
6
- * This is the REST API of LCDP shipment
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- * Contact: contact@lecomptoirdespharmacies.fr
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ShipmentLabelsToJSON = exports.ShipmentLabelsFromJSONTyped = exports.ShipmentLabelsFromJSON = void 0;
17
- var runtime_1 = require("../runtime");
18
- function ShipmentLabelsFromJSON(json) {
19
- return ShipmentLabelsFromJSONTyped(json, false);
20
- }
21
- exports.ShipmentLabelsFromJSON = ShipmentLabelsFromJSON;
22
- function ShipmentLabelsFromJSONTyped(json, ignoreDiscriminator) {
23
- if ((json === undefined) || (json === null)) {
24
- return json;
25
- }
26
- return {
27
- 'pdf': !(0, runtime_1.exists)(json, 'pdf') ? undefined : json['pdf'],
28
- 'zpl': !(0, runtime_1.exists)(json, 'zpl') ? undefined : json['zpl'],
29
- };
30
- }
31
- exports.ShipmentLabelsFromJSONTyped = ShipmentLabelsFromJSONTyped;
32
- function ShipmentLabelsToJSON(value) {
33
- if (value === undefined) {
34
- return undefined;
35
- }
36
- if (value === null) {
37
- return null;
38
- }
39
- return {
40
- 'pdf': value.pdf,
41
- 'zpl': value.zpl,
42
- };
43
- }
44
- exports.ShipmentLabelsToJSON = ShipmentLabelsToJSON;