@lcdp/api-react-rest-client 2.10.2 → 2.10.3-LDS-4202-apimonolithsmuggler-patch-rank-.13371919628

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,7 +16,7 @@
16
16
  */
17
17
  export interface DistributionMode {
18
18
  /**
19
- * Type of distribution for this ad
19
+ * Type of distribution for this sale offer
20
20
  * @type {string}
21
21
  * @memberof DistributionMode
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface QuotationDistributionMode {
18
18
  /**
19
- * Type of distribution for this ad
19
+ * Type of distribution for this sale offer
20
20
  * @type {string}
21
21
  * @memberof QuotationDistributionMode
22
22
  */
@@ -17,7 +17,7 @@ import type { DistributionRange } from './DistributionRange';
17
17
  */
18
18
  export interface RangeDistributionMode {
19
19
  /**
20
- * Type of distribution for this ad
20
+ * Type of distribution for this sale offer
21
21
  * @type {string}
22
22
  * @memberof RangeDistributionMode
23
23
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface UnitaryDistributionMode {
18
18
  /**
19
- * Type of distribution for this ad
19
+ * Type of distribution for this sale offer
20
20
  * @type {string}
21
21
  * @memberof UnitaryDistributionMode
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface DistributionMode {
18
18
  /**
19
- * Type of distribution for this ad
19
+ * Type of distribution for this sale offer
20
20
  * @type {string}
21
21
  * @memberof DistributionMode
22
22
  */
@@ -17,7 +17,7 @@ import type { IdentifiedDistributionRange } from './IdentifiedDistributionRange'
17
17
  */
18
18
  export interface IdentifiedRangeDistributionMode {
19
19
  /**
20
- * Type of distribution for this ad
20
+ * Type of distribution for this sale offer
21
21
  * @type {string}
22
22
  * @memberof IdentifiedRangeDistributionMode
23
23
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface QuotationDistributionMode {
18
18
  /**
19
- * Type of distribution for this ad
19
+ * Type of distribution for this sale offer
20
20
  * @type {string}
21
21
  * @memberof QuotationDistributionMode
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface UnitaryDistributionMode {
18
18
  /**
19
- * Type of distribution for this ad
19
+ * Type of distribution for this sale offer
20
20
  * @type {string}
21
21
  * @memberof UnitaryDistributionMode
22
22
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lcdp/api-react-rest-client",
3
- "version": "2.10.2",
3
+ "version": "2.10.3-LDS-4202-apimonolithsmuggler-patch-rank-.13371919628",
4
4
  "scripts": {
5
5
  "build": "tsc"
6
6
  },
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface DistributionMode {
18
18
  /**
19
- * Type of distribution for this ad
19
+ * Type of distribution for this sale offer
20
20
  * @type {string}
21
21
  * @memberof DistributionMode
22
22
  */
@@ -17,7 +17,7 @@ import type { IdentifiedDistributionRange } from './IdentifiedDistributionRange'
17
17
  */
18
18
  export interface IdentifiedRangeDistributionMode {
19
19
  /**
20
- * Type of distribution for this ad
20
+ * Type of distribution for this sale offer
21
21
  * @type {string}
22
22
  * @memberof IdentifiedRangeDistributionMode
23
23
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface QuotationDistributionMode {
18
18
  /**
19
- * Type of distribution for this ad
19
+ * Type of distribution for this sale offer
20
20
  * @type {string}
21
21
  * @memberof QuotationDistributionMode
22
22
  */
@@ -17,7 +17,7 @@ import type { DistributionRange } from './DistributionRange';
17
17
  */
18
18
  export interface RangeDistributionMode {
19
19
  /**
20
- * Type of distribution for this ad
20
+ * Type of distribution for this sale offer
21
21
  * @type {string}
22
22
  * @memberof RangeDistributionMode
23
23
  */
@@ -111,7 +111,7 @@ export interface SaleOffer {
111
111
  */
112
112
  images: Images;
113
113
  /**
114
- * Rank of this ad. Only useful for laboratories ad yet
114
+ * Rank of this sale offer. Only useful for laboratories sale offer yet
115
115
  * @type {number}
116
116
  * @memberof SaleOffer
117
117
  */
@@ -13,7 +13,7 @@ import type { AnyDistributionMode } from './AnyDistributionMode';
13
13
  import type { Stock } from './Stock';
14
14
  import type { SaleOfferCreationImagesParameters } from './SaleOfferCreationImagesParameters';
15
15
  /**
16
- * All these fields are optional when copying from an existing ad.
16
+ * All these fields are optional when copying from an existing sale offer.
17
17
  * List of fields required in case of sale offer creation from scratch :
18
18
  * - ownerId
19
19
  * - productId
@@ -30,7 +30,7 @@ export interface SaleOfferCreationParameters {
30
30
  */
31
31
  ownerId?: number;
32
32
  /**
33
- * Id of the product to create ad on.
33
+ * Id of the product to create sale offer on.
34
34
  * @type {number}
35
35
  * @memberof SaleOfferCreationParameters
36
36
  */
@@ -48,7 +48,7 @@ export interface SaleOfferCreationParameters {
48
48
  */
49
49
  distributionMode?: AnyDistributionMode;
50
50
  /**
51
- * Free text to describe this ad
51
+ * Free text to describe this sale offer
52
52
  * @type {string}
53
53
  * @memberof SaleOfferCreationParameters
54
54
  */
@@ -60,7 +60,7 @@ export interface SaleOfferCreationParameters {
60
60
  */
61
61
  images?: SaleOfferCreationImagesParameters;
62
62
  /**
63
- * Rank of this ad. Only useful for laboratories ad yet
63
+ * Rank of this sale offer. Only useful for laboratories sale offer yet
64
64
  * @type {number}
65
65
  * @memberof SaleOfferCreationParameters
66
66
  */
@@ -37,13 +37,13 @@ export interface SaleOfferNewVersionParameters {
37
37
  */
38
38
  images?: SaleOfferCreationImagesParameters;
39
39
  /**
40
- * Free text to describe this ad
40
+ * Free text to describe this sale offer
41
41
  * @type {string}
42
42
  * @memberof SaleOfferNewVersionParameters
43
43
  */
44
44
  description?: string | null;
45
45
  /**
46
- * Rank of this ad. Only useful for laboratories ad yet
46
+ * Rank of this sale offer. Only useful for laboratories sale offer yet
47
47
  * @type {number}
48
48
  * @memberof SaleOfferNewVersionParameters
49
49
  */
@@ -35,6 +35,12 @@ export interface SaleOfferUpdateParameters {
35
35
  * @memberof SaleOfferUpdateParameters
36
36
  */
37
37
  stock?: SaleOfferUpdateParametersStock;
38
+ /**
39
+ * Rank of this sale offer. Only useful for laboratories sale offer yet
40
+ * @type {number}
41
+ * @memberof SaleOfferUpdateParameters
42
+ */
43
+ rank?: number | null;
38
44
  }
39
45
  /**
40
46
  * Check if a given object implements the SaleOfferUpdateParameters interface.
@@ -34,6 +34,7 @@ function SaleOfferUpdateParametersFromJSONTyped(json, ignoreDiscriminator) {
34
34
  return {
35
35
  'status': (json['status'] === null || json['status'] === undefined) ? json['status'] : (0, SaleOfferStatus_1.SaleOfferStatusFromJSON)(json['status']),
36
36
  'stock': (json['stock'] === null || json['stock'] === undefined) ? json['stock'] : (0, SaleOfferUpdateParametersStock_1.SaleOfferUpdateParametersStockFromJSON)(json['stock']),
37
+ 'rank': json['rank'],
37
38
  };
38
39
  }
39
40
  exports.SaleOfferUpdateParametersFromJSONTyped = SaleOfferUpdateParametersFromJSONTyped;
@@ -44,6 +45,7 @@ function SaleOfferUpdateParametersToJSON(value) {
44
45
  return {
45
46
  'status': (0, SaleOfferStatus_1.SaleOfferStatusToJSON)(value['status']),
46
47
  'stock': (0, SaleOfferUpdateParametersStock_1.SaleOfferUpdateParametersStockToJSON)(value['stock']),
48
+ 'rank': value['rank'],
47
49
  };
48
50
  }
49
51
  exports.SaleOfferUpdateParametersToJSON = SaleOfferUpdateParametersToJSON;
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface UnitaryDistributionMode {
18
18
  /**
19
- * Type of distribution for this ad
19
+ * Type of distribution for this sale offer
20
20
  * @type {string}
21
21
  * @memberof UnitaryDistributionMode
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface DistributionMode {
18
18
  /**
19
- * Type of distribution for this ad
19
+ * Type of distribution for this sale offer
20
20
  * @type {string}
21
21
  * @memberof DistributionMode
22
22
  */
@@ -17,7 +17,7 @@ import type { IdentifiedDistributionRange } from './IdentifiedDistributionRange'
17
17
  */
18
18
  export interface IdentifiedRangeDistributionMode {
19
19
  /**
20
- * Type of distribution for this ad
20
+ * Type of distribution for this sale offer
21
21
  * @type {string}
22
22
  * @memberof IdentifiedRangeDistributionMode
23
23
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface QuotationDistributionMode {
18
18
  /**
19
- * Type of distribution for this ad
19
+ * Type of distribution for this sale offer
20
20
  * @type {string}
21
21
  * @memberof QuotationDistributionMode
22
22
  */
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface UnitaryDistributionMode {
18
18
  /**
19
- * Type of distribution for this ad
19
+ * Type of distribution for this sale offer
20
20
  * @type {string}
21
21
  * @memberof UnitaryDistributionMode
22
22
  */