@lcdp/api-react-rest-client 2.0.4-develop.4175536114 → 2.0.4

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 (47) hide show
  1. package/magic-cart/src/models/DistributionMode.d.ts +0 -12
  2. package/magic-cart/src/models/DistributionMode.js +0 -4
  3. package/magic-cart/src/models/QuotationDistributionMode.d.ts +0 -6
  4. package/magic-cart/src/models/QuotationDistributionMode.js +2 -23
  5. package/magic-cart/src/models/SaleOfferLink.d.ts +6 -0
  6. package/magic-cart/src/models/SaleOfferLink.js +2 -2
  7. package/magic-cart/src/models/SaleOfferLinkAllOf.d.ts +6 -0
  8. package/magic-cart/src/models/SaleOfferLinkAllOf.js +2 -0
  9. package/magic-cart/src/models/UnitaryDistributionMode.d.ts +2 -2
  10. package/magic-cart/src/models/UnitaryDistributionMode.js +2 -2
  11. package/magic-cart/src/models/UnitaryDistributionModeAllOf.d.ts +2 -2
  12. package/magic-cart/src/models/UnitaryDistributionModeAllOf.js +2 -2
  13. package/magic-cart/src/models/index.d.ts +0 -1
  14. package/magic-cart/src/models/index.js +0 -1
  15. package/package.json +1 -1
  16. package/sale-offer/src/apis/SearchSaleOfferApi.d.ts +2 -6
  17. package/sale-offer/src/apis/SearchSaleOfferApi.js +2 -6
  18. package/sale-offer/src/models/DistributionMode.d.ts +0 -12
  19. package/sale-offer/src/models/DistributionMode.js +0 -4
  20. package/sale-offer/src/models/QuotationDistributionMode.d.ts +0 -6
  21. package/sale-offer/src/models/QuotationDistributionMode.js +2 -23
  22. package/sale-offer/src/models/UnitaryDistributionMode.d.ts +2 -2
  23. package/sale-offer/src/models/UnitaryDistributionMode.js +2 -2
  24. package/sale-offer/src/models/UnitaryDistributionModeAllOf.d.ts +2 -2
  25. package/sale-offer/src/models/UnitaryDistributionModeAllOf.js +2 -2
  26. package/sale-offer/src/models/index.d.ts +0 -1
  27. package/sale-offer/src/models/index.js +0 -1
  28. package/shopping-cart/src/models/CartSubCartLine.d.ts +6 -0
  29. package/shopping-cart/src/models/CartSubCartLine.js +2 -0
  30. package/shopping-cart/src/models/DistributionMode.d.ts +0 -12
  31. package/shopping-cart/src/models/DistributionMode.js +0 -4
  32. package/shopping-cart/src/models/QuotationDistributionMode.d.ts +0 -6
  33. package/shopping-cart/src/models/QuotationDistributionMode.js +2 -23
  34. package/shopping-cart/src/models/UnitaryDistributionMode.d.ts +2 -2
  35. package/shopping-cart/src/models/UnitaryDistributionMode.js +2 -2
  36. package/shopping-cart/src/models/UnitaryDistributionModeAllOf.d.ts +2 -2
  37. package/shopping-cart/src/models/UnitaryDistributionModeAllOf.js +2 -2
  38. package/shopping-cart/src/models/index.d.ts +0 -1
  39. package/shopping-cart/src/models/index.js +0 -1
  40. package/statistic/src/apis/SearchSaleOfferStatisticsApi.d.ts +1 -12
  41. package/statistic/src/apis/SearchSaleOfferStatisticsApi.js +4 -77
  42. package/magic-cart/src/models/QuotationDistributionModeAllOf.d.ts +0 -27
  43. package/magic-cart/src/models/QuotationDistributionModeAllOf.js +0 -41
  44. package/sale-offer/src/models/QuotationDistributionModeAllOf.d.ts +0 -27
  45. package/sale-offer/src/models/QuotationDistributionModeAllOf.js +0 -41
  46. package/shopping-cart/src/models/QuotationDistributionModeAllOf.d.ts +0 -27
  47. package/shopping-cart/src/models/QuotationDistributionModeAllOf.js +0 -41
@@ -21,18 +21,6 @@ export interface DistributionMode {
21
21
  * @memberof DistributionMode
22
22
  */
23
23
  type: string;
24
- /**
25
- * Minimum buyable quantity for each order
26
- * @type {number}
27
- * @memberof DistributionMode
28
- */
29
- minimalQuantity: number;
30
- /**
31
- * Maximum buyable quantity for each order Null value signify there is no limit of buyable quantity (just limited by Stock.remainingQuantity)
32
- * @type {number}
33
- * @memberof DistributionMode
34
- */
35
- maximalQuantity: number | null;
36
24
  }
37
25
  export declare function DistributionModeFromJSON(json: any): DistributionMode;
38
26
  export declare function DistributionModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): DistributionMode;
@@ -24,8 +24,6 @@ function DistributionModeFromJSONTyped(json, ignoreDiscriminator) {
24
24
  }
25
25
  return {
26
26
  'type': json['type'],
27
- 'minimalQuantity': json['minimalQuantity'],
28
- 'maximalQuantity': json['maximalQuantity'],
29
27
  };
30
28
  }
31
29
  exports.DistributionModeFromJSONTyped = DistributionModeFromJSONTyped;
@@ -38,8 +36,6 @@ function DistributionModeToJSON(value) {
38
36
  }
39
37
  return {
40
38
  'type': value.type,
41
- 'minimalQuantity': value.minimalQuantity,
42
- 'maximalQuantity': value.maximalQuantity,
43
39
  };
44
40
  }
45
41
  exports.DistributionModeToJSON = DistributionModeToJSON;
@@ -16,12 +16,6 @@ import { DistributionMode } from './DistributionMode';
16
16
  * @interface QuotationDistributionMode
17
17
  */
18
18
  export interface QuotationDistributionMode extends DistributionMode {
19
- /**
20
- * Sold by this step value
21
- * @type {number}
22
- * @memberof QuotationDistributionMode
23
- */
24
- soldBy: number;
25
19
  }
26
20
  export declare function QuotationDistributionModeFromJSON(json: any): QuotationDistributionMode;
27
21
  export declare function QuotationDistributionModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): QuotationDistributionMode;
@@ -12,38 +12,17 @@
12
12
  * https://openapi-generator.tech
13
13
  * Do not edit the class manually.
14
14
  */
15
- var __assign = (this && this.__assign) || function () {
16
- __assign = Object.assign || function(t) {
17
- for (var s, i = 1, n = arguments.length; i < n; i++) {
18
- s = arguments[i];
19
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
20
- t[p] = s[p];
21
- }
22
- return t;
23
- };
24
- return __assign.apply(this, arguments);
25
- };
26
15
  Object.defineProperty(exports, "__esModule", { value: true });
27
16
  exports.QuotationDistributionModeToJSON = exports.QuotationDistributionModeFromJSONTyped = exports.QuotationDistributionModeFromJSON = void 0;
28
- var DistributionMode_1 = require("./DistributionMode");
29
17
  function QuotationDistributionModeFromJSON(json) {
30
18
  return QuotationDistributionModeFromJSONTyped(json, false);
31
19
  }
32
20
  exports.QuotationDistributionModeFromJSON = QuotationDistributionModeFromJSON;
33
21
  function QuotationDistributionModeFromJSONTyped(json, ignoreDiscriminator) {
34
- if ((json === undefined) || (json === null)) {
35
- return json;
36
- }
37
- return __assign(__assign({}, (0, DistributionMode_1.DistributionModeFromJSONTyped)(json, ignoreDiscriminator)), { 'soldBy': json['soldBy'] });
22
+ return json;
38
23
  }
39
24
  exports.QuotationDistributionModeFromJSONTyped = QuotationDistributionModeFromJSONTyped;
40
25
  function QuotationDistributionModeToJSON(value) {
41
- if (value === undefined) {
42
- return undefined;
43
- }
44
- if (value === null) {
45
- return null;
46
- }
47
- return __assign(__assign({}, (0, DistributionMode_1.DistributionModeToJSON)(value)), { 'soldBy': value.soldBy });
26
+ return value;
48
27
  }
49
28
  exports.QuotationDistributionModeToJSON = QuotationDistributionModeToJSON;
@@ -36,6 +36,12 @@ export interface SaleOfferLink extends HttpLink {
36
36
  * @memberof SaleOfferLink
37
37
  */
38
38
  stock: Stock;
39
+ /**
40
+ *
41
+ * @type {number}
42
+ * @memberof SaleOfferLink
43
+ */
44
+ minimalQuantity: number;
39
45
  /**
40
46
  * Best Rebate for this sale offer
41
47
  * @type {number}
@@ -37,7 +37,7 @@ function SaleOfferLinkFromJSONTyped(json, ignoreDiscriminator) {
37
37
  if ((json === undefined) || (json === null)) {
38
38
  return json;
39
39
  }
40
- return __assign(__assign({}, (0, HttpLink_1.HttpLinkFromJSONTyped)(json, ignoreDiscriminator)), { 'reference': json['reference'], 'distributionMode': (0, AnyIdentifiedDistributionMode_1.AnyIdentifiedDistributionModeFromJSON)(json['distributionMode']), 'stock': (0, Stock_1.StockFromJSON)(json['stock']), 'bestRebate': !(0, runtime_1.exists)(json, 'bestRebate') ? undefined : json['bestRebate'] });
40
+ return __assign(__assign({}, (0, HttpLink_1.HttpLinkFromJSONTyped)(json, ignoreDiscriminator)), { 'reference': json['reference'], 'distributionMode': (0, AnyIdentifiedDistributionMode_1.AnyIdentifiedDistributionModeFromJSON)(json['distributionMode']), 'stock': (0, Stock_1.StockFromJSON)(json['stock']), 'minimalQuantity': json['minimalQuantity'], 'bestRebate': !(0, runtime_1.exists)(json, 'bestRebate') ? undefined : json['bestRebate'] });
41
41
  }
42
42
  exports.SaleOfferLinkFromJSONTyped = SaleOfferLinkFromJSONTyped;
43
43
  function SaleOfferLinkToJSON(value) {
@@ -47,6 +47,6 @@ function SaleOfferLinkToJSON(value) {
47
47
  if (value === null) {
48
48
  return null;
49
49
  }
50
- return __assign(__assign({}, (0, HttpLink_1.HttpLinkToJSON)(value)), { 'reference': value.reference, 'distributionMode': (0, AnyIdentifiedDistributionMode_1.AnyIdentifiedDistributionModeToJSON)(value.distributionMode), 'stock': (0, Stock_1.StockToJSON)(value.stock), 'bestRebate': value.bestRebate });
50
+ return __assign(__assign({}, (0, HttpLink_1.HttpLinkToJSON)(value)), { 'reference': value.reference, 'distributionMode': (0, AnyIdentifiedDistributionMode_1.AnyIdentifiedDistributionModeToJSON)(value.distributionMode), 'stock': (0, Stock_1.StockToJSON)(value.stock), 'minimalQuantity': value.minimalQuantity, 'bestRebate': value.bestRebate });
51
51
  }
52
52
  exports.SaleOfferLinkToJSON = SaleOfferLinkToJSON;
@@ -35,6 +35,12 @@ export interface SaleOfferLinkAllOf {
35
35
  * @memberof SaleOfferLinkAllOf
36
36
  */
37
37
  stock: Stock;
38
+ /**
39
+ *
40
+ * @type {number}
41
+ * @memberof SaleOfferLinkAllOf
42
+ */
43
+ minimalQuantity: number;
38
44
  /**
39
45
  * Best Rebate for this sale offer
40
46
  * @type {number}
@@ -29,6 +29,7 @@ function SaleOfferLinkAllOfFromJSONTyped(json, ignoreDiscriminator) {
29
29
  'reference': json['reference'],
30
30
  'distributionMode': (0, AnyIdentifiedDistributionMode_1.AnyIdentifiedDistributionModeFromJSON)(json['distributionMode']),
31
31
  'stock': (0, Stock_1.StockFromJSON)(json['stock']),
32
+ 'minimalQuantity': json['minimalQuantity'],
32
33
  'bestRebate': !(0, runtime_1.exists)(json, 'bestRebate') ? undefined : json['bestRebate'],
33
34
  };
34
35
  }
@@ -44,6 +45,7 @@ function SaleOfferLinkAllOfToJSON(value) {
44
45
  'reference': value.reference,
45
46
  'distributionMode': (0, AnyIdentifiedDistributionMode_1.AnyIdentifiedDistributionModeToJSON)(value.distributionMode),
46
47
  'stock': (0, Stock_1.StockToJSON)(value.stock),
48
+ 'minimalQuantity': value.minimalQuantity,
47
49
  'bestRebate': value.bestRebate,
48
50
  };
49
51
  }
@@ -23,11 +23,11 @@ export interface UnitaryDistributionMode extends DistributionMode {
23
23
  */
24
24
  unitPrice: number;
25
25
  /**
26
- * Sold by this step value
26
+ * Minimal quantity.
27
27
  * @type {number}
28
28
  * @memberof UnitaryDistributionMode
29
29
  */
30
- soldBy: number;
30
+ minimalQuantity: number;
31
31
  }
32
32
  export declare function UnitaryDistributionModeFromJSON(json: any): UnitaryDistributionMode;
33
33
  export declare function UnitaryDistributionModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnitaryDistributionMode;
@@ -34,7 +34,7 @@ function UnitaryDistributionModeFromJSONTyped(json, ignoreDiscriminator) {
34
34
  if ((json === undefined) || (json === null)) {
35
35
  return json;
36
36
  }
37
- return __assign(__assign({}, (0, DistributionMode_1.DistributionModeFromJSONTyped)(json, ignoreDiscriminator)), { 'unitPrice': json['unitPrice'], 'soldBy': json['soldBy'] });
37
+ return __assign(__assign({}, (0, DistributionMode_1.DistributionModeFromJSONTyped)(json, ignoreDiscriminator)), { 'unitPrice': json['unitPrice'], 'minimalQuantity': json['minimalQuantity'] });
38
38
  }
39
39
  exports.UnitaryDistributionModeFromJSONTyped = UnitaryDistributionModeFromJSONTyped;
40
40
  function UnitaryDistributionModeToJSON(value) {
@@ -44,6 +44,6 @@ function UnitaryDistributionModeToJSON(value) {
44
44
  if (value === null) {
45
45
  return null;
46
46
  }
47
- return __assign(__assign({}, (0, DistributionMode_1.DistributionModeToJSON)(value)), { 'unitPrice': value.unitPrice, 'soldBy': value.soldBy });
47
+ return __assign(__assign({}, (0, DistributionMode_1.DistributionModeToJSON)(value)), { 'unitPrice': value.unitPrice, 'minimalQuantity': value.minimalQuantity });
48
48
  }
49
49
  exports.UnitaryDistributionModeToJSON = UnitaryDistributionModeToJSON;
@@ -22,11 +22,11 @@ export interface UnitaryDistributionModeAllOf {
22
22
  */
23
23
  unitPrice: number;
24
24
  /**
25
- * Sold by this step value
25
+ * Minimal quantity.
26
26
  * @type {number}
27
27
  * @memberof UnitaryDistributionModeAllOf
28
28
  */
29
- soldBy: number;
29
+ minimalQuantity: number;
30
30
  }
31
31
  export declare function UnitaryDistributionModeAllOfFromJSON(json: any): UnitaryDistributionModeAllOf;
32
32
  export declare function UnitaryDistributionModeAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnitaryDistributionModeAllOf;
@@ -24,7 +24,7 @@ function UnitaryDistributionModeAllOfFromJSONTyped(json, ignoreDiscriminator) {
24
24
  }
25
25
  return {
26
26
  'unitPrice': json['unitPrice'],
27
- 'soldBy': json['soldBy'],
27
+ 'minimalQuantity': json['minimalQuantity'],
28
28
  };
29
29
  }
30
30
  exports.UnitaryDistributionModeAllOfFromJSONTyped = UnitaryDistributionModeAllOfFromJSONTyped;
@@ -37,7 +37,7 @@ function UnitaryDistributionModeAllOfToJSON(value) {
37
37
  }
38
38
  return {
39
39
  'unitPrice': value.unitPrice,
40
- 'soldBy': value.soldBy,
40
+ 'minimalQuantity': value.minimalQuantity,
41
41
  };
42
42
  }
43
43
  exports.UnitaryDistributionModeAllOfToJSON = UnitaryDistributionModeAllOfToJSON;
@@ -13,7 +13,6 @@ export * from './IdentifiedRangeDistributionModeAllOf';
13
13
  export * from './ProductLink';
14
14
  export * from './ProductLinkAllOf';
15
15
  export * from './QuotationDistributionMode';
16
- export * from './QuotationDistributionModeAllOf';
17
16
  export * from './SaleOfferLink';
18
17
  export * from './SaleOfferLinkAllOf';
19
18
  export * from './SaleOfferProposal';
@@ -29,7 +29,6 @@ __exportStar(require("./IdentifiedRangeDistributionModeAllOf"), exports);
29
29
  __exportStar(require("./ProductLink"), exports);
30
30
  __exportStar(require("./ProductLinkAllOf"), exports);
31
31
  __exportStar(require("./QuotationDistributionMode"), exports);
32
- __exportStar(require("./QuotationDistributionModeAllOf"), exports);
33
32
  __exportStar(require("./SaleOfferLink"), exports);
34
33
  __exportStar(require("./SaleOfferLinkAllOf"), exports);
35
34
  __exportStar(require("./SaleOfferProposal"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lcdp/api-react-rest-client",
3
- "version": "2.0.4-develop.4175536114",
3
+ "version": "2.0.4",
4
4
  "scripts": {
5
5
  "build": "tsc"
6
6
  },
@@ -77,16 +77,12 @@ export declare enum GetSaleOffersOrderByEnum {
77
77
  STOCKBATCHdesc = "STOCK_BATCH:desc",
78
78
  STOCKREMAININGQUANTITYasc = "STOCK_REMAINING_QUANTITY:asc",
79
79
  STOCKREMAININGQUANTITYdesc = "STOCK_REMAINING_QUANTITY:desc",
80
+ MINIMALQUANTITYasc = "MINIMAL_QUANTITY:asc",
81
+ MINIMALQUANTITYdesc = "MINIMAL_QUANTITY:desc",
80
82
  STATUSasc = "STATUS:asc",
81
83
  STATUSdesc = "STATUS:desc",
82
84
  DISTRIBUTIONMODETYPEasc = "DISTRIBUTION_MODE_TYPE:asc",
83
85
  DISTRIBUTIONMODETYPEdesc = "DISTRIBUTION_MODE_TYPE:desc",
84
- DISTRIBUTIONMODEMAXIMALQUANTITYasc = "DISTRIBUTION_MODE_MAXIMAL_QUANTITY:asc",
85
- DISTRIBUTIONMODEMAXIMALQUANTITYdesc = "DISTRIBUTION_MODE_MAXIMAL_QUANTITY:desc",
86
- DISTRIBUTIONMODEMINIMALQUANTITYasc = "DISTRIBUTION_MODE_MINIMAL_QUANTITY:asc",
87
- DISTRIBUTIONMODEMINIMALQUANTITYdesc = "DISTRIBUTION_MODE_MINIMAL_QUANTITY:desc",
88
- DISTRIBUTIONMODESOLDBYasc = "DISTRIBUTION_MODE_SOLD_BY:asc",
89
- DISTRIBUTIONMODESOLDBYdesc = "DISTRIBUTION_MODE_SOLD_BY:desc",
90
86
  OWNERCOMPANYLEGALNAMEasc = "OWNER_COMPANY_LEGAL_NAME:asc",
91
87
  OWNERCOMPANYLEGALNAMEdesc = "OWNER_COMPANY_LEGAL_NAME:desc",
92
88
  CREATEDATdesc = "CREATED_AT:desc",
@@ -304,16 +304,12 @@ var GetSaleOffersOrderByEnum;
304
304
  GetSaleOffersOrderByEnum["STOCKBATCHdesc"] = "STOCK_BATCH:desc";
305
305
  GetSaleOffersOrderByEnum["STOCKREMAININGQUANTITYasc"] = "STOCK_REMAINING_QUANTITY:asc";
306
306
  GetSaleOffersOrderByEnum["STOCKREMAININGQUANTITYdesc"] = "STOCK_REMAINING_QUANTITY:desc";
307
+ GetSaleOffersOrderByEnum["MINIMALQUANTITYasc"] = "MINIMAL_QUANTITY:asc";
308
+ GetSaleOffersOrderByEnum["MINIMALQUANTITYdesc"] = "MINIMAL_QUANTITY:desc";
307
309
  GetSaleOffersOrderByEnum["STATUSasc"] = "STATUS:asc";
308
310
  GetSaleOffersOrderByEnum["STATUSdesc"] = "STATUS:desc";
309
311
  GetSaleOffersOrderByEnum["DISTRIBUTIONMODETYPEasc"] = "DISTRIBUTION_MODE_TYPE:asc";
310
312
  GetSaleOffersOrderByEnum["DISTRIBUTIONMODETYPEdesc"] = "DISTRIBUTION_MODE_TYPE:desc";
311
- GetSaleOffersOrderByEnum["DISTRIBUTIONMODEMAXIMALQUANTITYasc"] = "DISTRIBUTION_MODE_MAXIMAL_QUANTITY:asc";
312
- GetSaleOffersOrderByEnum["DISTRIBUTIONMODEMAXIMALQUANTITYdesc"] = "DISTRIBUTION_MODE_MAXIMAL_QUANTITY:desc";
313
- GetSaleOffersOrderByEnum["DISTRIBUTIONMODEMINIMALQUANTITYasc"] = "DISTRIBUTION_MODE_MINIMAL_QUANTITY:asc";
314
- GetSaleOffersOrderByEnum["DISTRIBUTIONMODEMINIMALQUANTITYdesc"] = "DISTRIBUTION_MODE_MINIMAL_QUANTITY:desc";
315
- GetSaleOffersOrderByEnum["DISTRIBUTIONMODESOLDBYasc"] = "DISTRIBUTION_MODE_SOLD_BY:asc";
316
- GetSaleOffersOrderByEnum["DISTRIBUTIONMODESOLDBYdesc"] = "DISTRIBUTION_MODE_SOLD_BY:desc";
317
313
  GetSaleOffersOrderByEnum["OWNERCOMPANYLEGALNAMEasc"] = "OWNER_COMPANY_LEGAL_NAME:asc";
318
314
  GetSaleOffersOrderByEnum["OWNERCOMPANYLEGALNAMEdesc"] = "OWNER_COMPANY_LEGAL_NAME:desc";
319
315
  GetSaleOffersOrderByEnum["CREATEDATdesc"] = "CREATED_AT:desc";
@@ -21,18 +21,6 @@ export interface DistributionMode {
21
21
  * @memberof DistributionMode
22
22
  */
23
23
  type: string;
24
- /**
25
- * Minimum buyable quantity for each order
26
- * @type {number}
27
- * @memberof DistributionMode
28
- */
29
- minimalQuantity: number;
30
- /**
31
- * Maximum buyable quantity for each order Null value signify there is no limit of buyable quantity (just limited by Stock.remainingQuantity)
32
- * @type {number}
33
- * @memberof DistributionMode
34
- */
35
- maximalQuantity: number | null;
36
24
  }
37
25
  export declare function DistributionModeFromJSON(json: any): DistributionMode;
38
26
  export declare function DistributionModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): DistributionMode;
@@ -24,8 +24,6 @@ function DistributionModeFromJSONTyped(json, ignoreDiscriminator) {
24
24
  }
25
25
  return {
26
26
  'type': json['type'],
27
- 'minimalQuantity': json['minimalQuantity'],
28
- 'maximalQuantity': json['maximalQuantity'],
29
27
  };
30
28
  }
31
29
  exports.DistributionModeFromJSONTyped = DistributionModeFromJSONTyped;
@@ -38,8 +36,6 @@ function DistributionModeToJSON(value) {
38
36
  }
39
37
  return {
40
38
  'type': value.type,
41
- 'minimalQuantity': value.minimalQuantity,
42
- 'maximalQuantity': value.maximalQuantity,
43
39
  };
44
40
  }
45
41
  exports.DistributionModeToJSON = DistributionModeToJSON;
@@ -16,12 +16,6 @@ import { DistributionMode } from './DistributionMode';
16
16
  * @interface QuotationDistributionMode
17
17
  */
18
18
  export interface QuotationDistributionMode extends DistributionMode {
19
- /**
20
- * Sold by this step value
21
- * @type {number}
22
- * @memberof QuotationDistributionMode
23
- */
24
- soldBy: number;
25
19
  }
26
20
  export declare function QuotationDistributionModeFromJSON(json: any): QuotationDistributionMode;
27
21
  export declare function QuotationDistributionModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): QuotationDistributionMode;
@@ -12,38 +12,17 @@
12
12
  * https://openapi-generator.tech
13
13
  * Do not edit the class manually.
14
14
  */
15
- var __assign = (this && this.__assign) || function () {
16
- __assign = Object.assign || function(t) {
17
- for (var s, i = 1, n = arguments.length; i < n; i++) {
18
- s = arguments[i];
19
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
20
- t[p] = s[p];
21
- }
22
- return t;
23
- };
24
- return __assign.apply(this, arguments);
25
- };
26
15
  Object.defineProperty(exports, "__esModule", { value: true });
27
16
  exports.QuotationDistributionModeToJSON = exports.QuotationDistributionModeFromJSONTyped = exports.QuotationDistributionModeFromJSON = void 0;
28
- var DistributionMode_1 = require("./DistributionMode");
29
17
  function QuotationDistributionModeFromJSON(json) {
30
18
  return QuotationDistributionModeFromJSONTyped(json, false);
31
19
  }
32
20
  exports.QuotationDistributionModeFromJSON = QuotationDistributionModeFromJSON;
33
21
  function QuotationDistributionModeFromJSONTyped(json, ignoreDiscriminator) {
34
- if ((json === undefined) || (json === null)) {
35
- return json;
36
- }
37
- return __assign(__assign({}, (0, DistributionMode_1.DistributionModeFromJSONTyped)(json, ignoreDiscriminator)), { 'soldBy': json['soldBy'] });
22
+ return json;
38
23
  }
39
24
  exports.QuotationDistributionModeFromJSONTyped = QuotationDistributionModeFromJSONTyped;
40
25
  function QuotationDistributionModeToJSON(value) {
41
- if (value === undefined) {
42
- return undefined;
43
- }
44
- if (value === null) {
45
- return null;
46
- }
47
- return __assign(__assign({}, (0, DistributionMode_1.DistributionModeToJSON)(value)), { 'soldBy': value.soldBy });
26
+ return value;
48
27
  }
49
28
  exports.QuotationDistributionModeToJSON = QuotationDistributionModeToJSON;
@@ -23,11 +23,11 @@ export interface UnitaryDistributionMode extends DistributionMode {
23
23
  */
24
24
  unitPrice: number;
25
25
  /**
26
- * Sold by this step value
26
+ * Minimal quantity.
27
27
  * @type {number}
28
28
  * @memberof UnitaryDistributionMode
29
29
  */
30
- soldBy: number;
30
+ minimalQuantity: number;
31
31
  }
32
32
  export declare function UnitaryDistributionModeFromJSON(json: any): UnitaryDistributionMode;
33
33
  export declare function UnitaryDistributionModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnitaryDistributionMode;
@@ -34,7 +34,7 @@ function UnitaryDistributionModeFromJSONTyped(json, ignoreDiscriminator) {
34
34
  if ((json === undefined) || (json === null)) {
35
35
  return json;
36
36
  }
37
- return __assign(__assign({}, (0, DistributionMode_1.DistributionModeFromJSONTyped)(json, ignoreDiscriminator)), { 'unitPrice': json['unitPrice'], 'soldBy': json['soldBy'] });
37
+ return __assign(__assign({}, (0, DistributionMode_1.DistributionModeFromJSONTyped)(json, ignoreDiscriminator)), { 'unitPrice': json['unitPrice'], 'minimalQuantity': json['minimalQuantity'] });
38
38
  }
39
39
  exports.UnitaryDistributionModeFromJSONTyped = UnitaryDistributionModeFromJSONTyped;
40
40
  function UnitaryDistributionModeToJSON(value) {
@@ -44,6 +44,6 @@ function UnitaryDistributionModeToJSON(value) {
44
44
  if (value === null) {
45
45
  return null;
46
46
  }
47
- return __assign(__assign({}, (0, DistributionMode_1.DistributionModeToJSON)(value)), { 'unitPrice': value.unitPrice, 'soldBy': value.soldBy });
47
+ return __assign(__assign({}, (0, DistributionMode_1.DistributionModeToJSON)(value)), { 'unitPrice': value.unitPrice, 'minimalQuantity': value.minimalQuantity });
48
48
  }
49
49
  exports.UnitaryDistributionModeToJSON = UnitaryDistributionModeToJSON;
@@ -22,11 +22,11 @@ export interface UnitaryDistributionModeAllOf {
22
22
  */
23
23
  unitPrice: number;
24
24
  /**
25
- * Sold by this step value
25
+ * Minimal quantity.
26
26
  * @type {number}
27
27
  * @memberof UnitaryDistributionModeAllOf
28
28
  */
29
- soldBy: number;
29
+ minimalQuantity: number;
30
30
  }
31
31
  export declare function UnitaryDistributionModeAllOfFromJSON(json: any): UnitaryDistributionModeAllOf;
32
32
  export declare function UnitaryDistributionModeAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnitaryDistributionModeAllOf;
@@ -24,7 +24,7 @@ function UnitaryDistributionModeAllOfFromJSONTyped(json, ignoreDiscriminator) {
24
24
  }
25
25
  return {
26
26
  'unitPrice': json['unitPrice'],
27
- 'soldBy': json['soldBy'],
27
+ 'minimalQuantity': json['minimalQuantity'],
28
28
  };
29
29
  }
30
30
  exports.UnitaryDistributionModeAllOfFromJSONTyped = UnitaryDistributionModeAllOfFromJSONTyped;
@@ -37,7 +37,7 @@ function UnitaryDistributionModeAllOfToJSON(value) {
37
37
  }
38
38
  return {
39
39
  'unitPrice': value.unitPrice,
40
- 'soldBy': value.soldBy,
40
+ 'minimalQuantity': value.minimalQuantity,
41
41
  };
42
42
  }
43
43
  exports.UnitaryDistributionModeAllOfToJSON = UnitaryDistributionModeAllOfToJSON;
@@ -22,7 +22,6 @@ export * from './ProductImageLinkAllOf';
22
22
  export * from './ProductLink';
23
23
  export * from './ProductLinkAllOf';
24
24
  export * from './QuotationDistributionMode';
25
- export * from './QuotationDistributionModeAllOf';
26
25
  export * from './RangeDistributionMode';
27
26
  export * from './RangeDistributionModeAllOf';
28
27
  export * from './RestError';
@@ -38,7 +38,6 @@ __exportStar(require("./ProductImageLinkAllOf"), exports);
38
38
  __exportStar(require("./ProductLink"), exports);
39
39
  __exportStar(require("./ProductLinkAllOf"), exports);
40
40
  __exportStar(require("./QuotationDistributionMode"), exports);
41
- __exportStar(require("./QuotationDistributionModeAllOf"), exports);
42
41
  __exportStar(require("./RangeDistributionMode"), exports);
43
42
  __exportStar(require("./RangeDistributionModeAllOf"), exports);
44
43
  __exportStar(require("./RestError"), exports);
@@ -41,6 +41,12 @@ export interface CartSubCartLine {
41
41
  * @memberof CartSubCartLine
42
42
  */
43
43
  saleOffer?: SaleOfferLink;
44
+ /**
45
+ * Indicate if the line has a good quantity
46
+ * @type {boolean}
47
+ * @memberof CartSubCartLine
48
+ */
49
+ goodQuantity?: boolean;
44
50
  /**
45
51
  *
46
52
  * @type {number}
@@ -30,6 +30,7 @@ function CartSubCartLineFromJSONTyped(json, ignoreDiscriminator) {
30
30
  'quantity': !(0, runtime_1.exists)(json, 'quantity') ? undefined : json['quantity'],
31
31
  'product': !(0, runtime_1.exists)(json, 'product') ? undefined : (0, ProductLink_1.ProductLinkFromJSON)(json['product']),
32
32
  'saleOffer': !(0, runtime_1.exists)(json, 'saleOffer') ? undefined : (0, SaleOfferLink_1.SaleOfferLinkFromJSON)(json['saleOffer']),
33
+ 'goodQuantity': !(0, runtime_1.exists)(json, 'goodQuantity') ? undefined : json['goodQuantity'],
33
34
  'distributionRangeId': !(0, runtime_1.exists)(json, 'distributionRangeId') ? undefined : json['distributionRangeId'],
34
35
  'totalExcludingTaxes': !(0, runtime_1.exists)(json, 'totalExcludingTaxes') ? undefined : json['totalExcludingTaxes'],
35
36
  };
@@ -47,6 +48,7 @@ function CartSubCartLineToJSON(value) {
47
48
  'quantity': value.quantity,
48
49
  'product': (0, ProductLink_1.ProductLinkToJSON)(value.product),
49
50
  'saleOffer': (0, SaleOfferLink_1.SaleOfferLinkToJSON)(value.saleOffer),
51
+ 'goodQuantity': value.goodQuantity,
50
52
  'distributionRangeId': value.distributionRangeId,
51
53
  'totalExcludingTaxes': value.totalExcludingTaxes,
52
54
  };
@@ -21,18 +21,6 @@ export interface DistributionMode {
21
21
  * @memberof DistributionMode
22
22
  */
23
23
  type: string;
24
- /**
25
- * Minimum buyable quantity for each order
26
- * @type {number}
27
- * @memberof DistributionMode
28
- */
29
- minimalQuantity: number;
30
- /**
31
- * Maximum buyable quantity for each order Null value signify there is no limit of buyable quantity (just limited by Stock.remainingQuantity)
32
- * @type {number}
33
- * @memberof DistributionMode
34
- */
35
- maximalQuantity: number | null;
36
24
  }
37
25
  export declare function DistributionModeFromJSON(json: any): DistributionMode;
38
26
  export declare function DistributionModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): DistributionMode;
@@ -24,8 +24,6 @@ function DistributionModeFromJSONTyped(json, ignoreDiscriminator) {
24
24
  }
25
25
  return {
26
26
  'type': json['type'],
27
- 'minimalQuantity': json['minimalQuantity'],
28
- 'maximalQuantity': json['maximalQuantity'],
29
27
  };
30
28
  }
31
29
  exports.DistributionModeFromJSONTyped = DistributionModeFromJSONTyped;
@@ -38,8 +36,6 @@ function DistributionModeToJSON(value) {
38
36
  }
39
37
  return {
40
38
  'type': value.type,
41
- 'minimalQuantity': value.minimalQuantity,
42
- 'maximalQuantity': value.maximalQuantity,
43
39
  };
44
40
  }
45
41
  exports.DistributionModeToJSON = DistributionModeToJSON;
@@ -16,12 +16,6 @@ import { DistributionMode } from './DistributionMode';
16
16
  * @interface QuotationDistributionMode
17
17
  */
18
18
  export interface QuotationDistributionMode extends DistributionMode {
19
- /**
20
- * Sold by this step value
21
- * @type {number}
22
- * @memberof QuotationDistributionMode
23
- */
24
- soldBy: number;
25
19
  }
26
20
  export declare function QuotationDistributionModeFromJSON(json: any): QuotationDistributionMode;
27
21
  export declare function QuotationDistributionModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): QuotationDistributionMode;
@@ -12,38 +12,17 @@
12
12
  * https://openapi-generator.tech
13
13
  * Do not edit the class manually.
14
14
  */
15
- var __assign = (this && this.__assign) || function () {
16
- __assign = Object.assign || function(t) {
17
- for (var s, i = 1, n = arguments.length; i < n; i++) {
18
- s = arguments[i];
19
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
20
- t[p] = s[p];
21
- }
22
- return t;
23
- };
24
- return __assign.apply(this, arguments);
25
- };
26
15
  Object.defineProperty(exports, "__esModule", { value: true });
27
16
  exports.QuotationDistributionModeToJSON = exports.QuotationDistributionModeFromJSONTyped = exports.QuotationDistributionModeFromJSON = void 0;
28
- var DistributionMode_1 = require("./DistributionMode");
29
17
  function QuotationDistributionModeFromJSON(json) {
30
18
  return QuotationDistributionModeFromJSONTyped(json, false);
31
19
  }
32
20
  exports.QuotationDistributionModeFromJSON = QuotationDistributionModeFromJSON;
33
21
  function QuotationDistributionModeFromJSONTyped(json, ignoreDiscriminator) {
34
- if ((json === undefined) || (json === null)) {
35
- return json;
36
- }
37
- return __assign(__assign({}, (0, DistributionMode_1.DistributionModeFromJSONTyped)(json, ignoreDiscriminator)), { 'soldBy': json['soldBy'] });
22
+ return json;
38
23
  }
39
24
  exports.QuotationDistributionModeFromJSONTyped = QuotationDistributionModeFromJSONTyped;
40
25
  function QuotationDistributionModeToJSON(value) {
41
- if (value === undefined) {
42
- return undefined;
43
- }
44
- if (value === null) {
45
- return null;
46
- }
47
- return __assign(__assign({}, (0, DistributionMode_1.DistributionModeToJSON)(value)), { 'soldBy': value.soldBy });
26
+ return value;
48
27
  }
49
28
  exports.QuotationDistributionModeToJSON = QuotationDistributionModeToJSON;
@@ -23,11 +23,11 @@ export interface UnitaryDistributionMode extends DistributionMode {
23
23
  */
24
24
  unitPrice: number;
25
25
  /**
26
- * Sold by this step value
26
+ * Minimal quantity.
27
27
  * @type {number}
28
28
  * @memberof UnitaryDistributionMode
29
29
  */
30
- soldBy: number;
30
+ minimalQuantity: number;
31
31
  }
32
32
  export declare function UnitaryDistributionModeFromJSON(json: any): UnitaryDistributionMode;
33
33
  export declare function UnitaryDistributionModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnitaryDistributionMode;
@@ -34,7 +34,7 @@ function UnitaryDistributionModeFromJSONTyped(json, ignoreDiscriminator) {
34
34
  if ((json === undefined) || (json === null)) {
35
35
  return json;
36
36
  }
37
- return __assign(__assign({}, (0, DistributionMode_1.DistributionModeFromJSONTyped)(json, ignoreDiscriminator)), { 'unitPrice': json['unitPrice'], 'soldBy': json['soldBy'] });
37
+ return __assign(__assign({}, (0, DistributionMode_1.DistributionModeFromJSONTyped)(json, ignoreDiscriminator)), { 'unitPrice': json['unitPrice'], 'minimalQuantity': json['minimalQuantity'] });
38
38
  }
39
39
  exports.UnitaryDistributionModeFromJSONTyped = UnitaryDistributionModeFromJSONTyped;
40
40
  function UnitaryDistributionModeToJSON(value) {
@@ -44,6 +44,6 @@ function UnitaryDistributionModeToJSON(value) {
44
44
  if (value === null) {
45
45
  return null;
46
46
  }
47
- return __assign(__assign({}, (0, DistributionMode_1.DistributionModeToJSON)(value)), { 'unitPrice': value.unitPrice, 'soldBy': value.soldBy });
47
+ return __assign(__assign({}, (0, DistributionMode_1.DistributionModeToJSON)(value)), { 'unitPrice': value.unitPrice, 'minimalQuantity': value.minimalQuantity });
48
48
  }
49
49
  exports.UnitaryDistributionModeToJSON = UnitaryDistributionModeToJSON;
@@ -22,11 +22,11 @@ export interface UnitaryDistributionModeAllOf {
22
22
  */
23
23
  unitPrice: number;
24
24
  /**
25
- * Sold by this step value
25
+ * Minimal quantity.
26
26
  * @type {number}
27
27
  * @memberof UnitaryDistributionModeAllOf
28
28
  */
29
- soldBy: number;
29
+ minimalQuantity: number;
30
30
  }
31
31
  export declare function UnitaryDistributionModeAllOfFromJSON(json: any): UnitaryDistributionModeAllOf;
32
32
  export declare function UnitaryDistributionModeAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnitaryDistributionModeAllOf;
@@ -24,7 +24,7 @@ function UnitaryDistributionModeAllOfFromJSONTyped(json, ignoreDiscriminator) {
24
24
  }
25
25
  return {
26
26
  'unitPrice': json['unitPrice'],
27
- 'soldBy': json['soldBy'],
27
+ 'minimalQuantity': json['minimalQuantity'],
28
28
  };
29
29
  }
30
30
  exports.UnitaryDistributionModeAllOfFromJSONTyped = UnitaryDistributionModeAllOfFromJSONTyped;
@@ -37,7 +37,7 @@ function UnitaryDistributionModeAllOfToJSON(value) {
37
37
  }
38
38
  return {
39
39
  'unitPrice': value.unitPrice,
40
- 'soldBy': value.soldBy,
40
+ 'minimalQuantity': value.minimalQuantity,
41
41
  };
42
42
  }
43
43
  exports.UnitaryDistributionModeAllOfToJSON = UnitaryDistributionModeAllOfToJSON;
@@ -15,7 +15,6 @@ export * from './IdentifiedRangeDistributionModeAllOf';
15
15
  export * from './ProductLink';
16
16
  export * from './ProductLinkAllOf';
17
17
  export * from './QuotationDistributionMode';
18
- export * from './QuotationDistributionModeAllOf';
19
18
  export * from './RestError';
20
19
  export * from './SaleOfferLink';
21
20
  export * from './SaleOfferLinkAllOf';
@@ -31,7 +31,6 @@ __exportStar(require("./IdentifiedRangeDistributionModeAllOf"), exports);
31
31
  __exportStar(require("./ProductLink"), exports);
32
32
  __exportStar(require("./ProductLinkAllOf"), exports);
33
33
  __exportStar(require("./QuotationDistributionMode"), exports);
34
- __exportStar(require("./QuotationDistributionModeAllOf"), exports);
35
34
  __exportStar(require("./RestError"), exports);
36
35
  __exportStar(require("./SaleOfferLink"), exports);
37
36
  __exportStar(require("./SaleOfferLinkAllOf"), exports);
@@ -10,10 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { BaseAPI, ApiResponse, BlobWithMeta } from '../runtime';
13
- import { PaginatedSaleOfferStatistics, SaleOfferStatistic } from '../models';
14
- export interface GetSaleOfferStatisticRequest {
15
- saleOfferStatisticId: string;
16
- }
13
+ import { PaginatedSaleOfferStatistics } from '../models';
17
14
  export interface GetSaleOfferStatisticsRequest {
18
15
  refEq?: Array<string>;
19
16
  oEq?: Array<number>;
@@ -25,14 +22,6 @@ export interface GetSaleOfferStatisticsRequest {
25
22
  * no description
26
23
  */
27
24
  export declare class SearchSaleOfferStatisticsApi extends BaseAPI {
28
- /**
29
- * Get a sale offer statistic
30
- */
31
- getSaleOfferStatisticRaw(requestParameters: GetSaleOfferStatisticRequest): Promise<ApiResponse<SaleOfferStatistic | BlobWithMeta>>;
32
- /**
33
- * Get a sale offer statistic
34
- */
35
- getSaleOfferStatistic(requestParameters: GetSaleOfferStatisticRequest): Promise<SaleOfferStatistic | BlobWithMeta>;
36
25
  /**
37
26
  * Search sale offers statistics
38
27
  */
@@ -75,85 +75,12 @@ var SearchSaleOfferStatisticsApi = /** @class */ (function (_super) {
75
75
  function SearchSaleOfferStatisticsApi() {
76
76
  return _super !== null && _super.apply(this, arguments) || this;
77
77
  }
78
- /**
79
- * Get a sale offer statistic
80
- */
81
- SearchSaleOfferStatisticsApi.prototype.getSaleOfferStatisticRaw = function (requestParameters) {
82
- return __awaiter(this, void 0, void 0, function () {
83
- var queryParameters, headerParameters, token, tokenString, response, contentType, response_1;
84
- return __generator(this, function (_a) {
85
- switch (_a.label) {
86
- case 0:
87
- if (requestParameters.saleOfferStatisticId === null || requestParameters.saleOfferStatisticId === undefined) {
88
- throw new runtime_1.RequiredError('saleOfferStatisticId', 'Required parameter requestParameters.saleOfferStatisticId was null or undefined when calling getSaleOfferStatistic.');
89
- }
90
- queryParameters = {};
91
- headerParameters = {};
92
- if (this.configuration && this.configuration.apiKey) {
93
- headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
94
- }
95
- if (this.configuration && this.configuration.accessToken) {
96
- token = this.configuration.accessToken;
97
- tokenString = typeof token === 'function' ? token("bearerAuth", []) : token;
98
- if (tokenString) {
99
- headerParameters["Authorization"] = "Bearer ".concat(tokenString);
100
- }
101
- }
102
- _a.label = 1;
103
- case 1:
104
- _a.trys.push([1, 3, , 4]);
105
- return [4 /*yield*/, this.request({
106
- path: "/sale-offer-statistics/{saleOfferStatisticId}".replace("{".concat("saleOfferStatisticId", "}"), encodeURIComponent(String(requestParameters.saleOfferStatisticId))),
107
- method: 'GET',
108
- headers: headerParameters,
109
- query: queryParameters,
110
- })];
111
- case 2:
112
- response = _a.sent();
113
- contentType = response.headers.get("content-type");
114
- if (contentType && contentType.indexOf("application/json") !== -1) {
115
- return [2 /*return*/, new runtime_1.JSONApiResponse(response, function (jsonValue) { return (0, models_1.SaleOfferStatisticFromJSON)(jsonValue); })];
116
- }
117
- else if (contentType && contentType.indexOf("text/plain") !== -1) {
118
- return [2 /*return*/, new runtime_1.TextApiResponse(response)];
119
- }
120
- else {
121
- // TODO : Better handling of others application types
122
- return [2 /*return*/, new runtime_1.BlobWithMetaApiResponse(response)];
123
- }
124
- return [3 /*break*/, 4];
125
- case 3:
126
- response_1 = _a.sent();
127
- console.debug(response_1);
128
- throw response_1;
129
- case 4: return [2 /*return*/];
130
- }
131
- });
132
- });
133
- };
134
- /**
135
- * Get a sale offer statistic
136
- */
137
- SearchSaleOfferStatisticsApi.prototype.getSaleOfferStatistic = function (requestParameters) {
138
- return __awaiter(this, void 0, void 0, function () {
139
- var response;
140
- return __generator(this, function (_a) {
141
- switch (_a.label) {
142
- case 0: return [4 /*yield*/, this.getSaleOfferStatisticRaw(requestParameters)];
143
- case 1:
144
- response = _a.sent();
145
- return [4 /*yield*/, response.value()];
146
- case 2: return [2 /*return*/, _a.sent()];
147
- }
148
- });
149
- });
150
- };
151
78
  /**
152
79
  * Search sale offers statistics
153
80
  */
154
81
  SearchSaleOfferStatisticsApi.prototype.getSaleOfferStatisticsRaw = function (requestParameters) {
155
82
  return __awaiter(this, void 0, void 0, function () {
156
- var queryParameters, headerParameters, token, tokenString, response, contentType, response_2;
83
+ var queryParameters, headerParameters, token, tokenString, response, contentType, response_1;
157
84
  return __generator(this, function (_a) {
158
85
  switch (_a.label) {
159
86
  case 0:
@@ -208,9 +135,9 @@ var SearchSaleOfferStatisticsApi = /** @class */ (function (_super) {
208
135
  }
209
136
  return [3 /*break*/, 4];
210
137
  case 3:
211
- response_2 = _a.sent();
212
- console.debug(response_2);
213
- throw response_2;
138
+ response_1 = _a.sent();
139
+ console.debug(response_1);
140
+ throw response_1;
214
141
  case 4: return [2 /*return*/];
215
142
  }
216
143
  });
@@ -1,27 +0,0 @@
1
- /**
2
- * lcdp-magic-cart
3
- * This is the REST API of Magic cart
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 QuotationDistributionModeAllOf
16
- */
17
- export interface QuotationDistributionModeAllOf {
18
- /**
19
- * Sold by this step value
20
- * @type {number}
21
- * @memberof QuotationDistributionModeAllOf
22
- */
23
- soldBy: number;
24
- }
25
- export declare function QuotationDistributionModeAllOfFromJSON(json: any): QuotationDistributionModeAllOf;
26
- export declare function QuotationDistributionModeAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): QuotationDistributionModeAllOf;
27
- export declare function QuotationDistributionModeAllOfToJSON(value?: QuotationDistributionModeAllOf | null): any;
@@ -1,41 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * lcdp-magic-cart
6
- * This is the REST API of Magic cart
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.QuotationDistributionModeAllOfToJSON = exports.QuotationDistributionModeAllOfFromJSONTyped = exports.QuotationDistributionModeAllOfFromJSON = void 0;
17
- function QuotationDistributionModeAllOfFromJSON(json) {
18
- return QuotationDistributionModeAllOfFromJSONTyped(json, false);
19
- }
20
- exports.QuotationDistributionModeAllOfFromJSON = QuotationDistributionModeAllOfFromJSON;
21
- function QuotationDistributionModeAllOfFromJSONTyped(json, ignoreDiscriminator) {
22
- if ((json === undefined) || (json === null)) {
23
- return json;
24
- }
25
- return {
26
- 'soldBy': json['soldBy'],
27
- };
28
- }
29
- exports.QuotationDistributionModeAllOfFromJSONTyped = QuotationDistributionModeAllOfFromJSONTyped;
30
- function QuotationDistributionModeAllOfToJSON(value) {
31
- if (value === undefined) {
32
- return undefined;
33
- }
34
- if (value === null) {
35
- return null;
36
- }
37
- return {
38
- 'soldBy': value.soldBy,
39
- };
40
- }
41
- exports.QuotationDistributionModeAllOfToJSON = QuotationDistributionModeAllOfToJSON;
@@ -1,27 +0,0 @@
1
- /**
2
- * lcdp-monolith-service
3
- * This is the REST API of LCDP products
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 QuotationDistributionModeAllOf
16
- */
17
- export interface QuotationDistributionModeAllOf {
18
- /**
19
- * Sold by this step value
20
- * @type {number}
21
- * @memberof QuotationDistributionModeAllOf
22
- */
23
- soldBy: number;
24
- }
25
- export declare function QuotationDistributionModeAllOfFromJSON(json: any): QuotationDistributionModeAllOf;
26
- export declare function QuotationDistributionModeAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): QuotationDistributionModeAllOf;
27
- export declare function QuotationDistributionModeAllOfToJSON(value?: QuotationDistributionModeAllOf | null): any;
@@ -1,41 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * lcdp-monolith-service
6
- * This is the REST API of LCDP products
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.QuotationDistributionModeAllOfToJSON = exports.QuotationDistributionModeAllOfFromJSONTyped = exports.QuotationDistributionModeAllOfFromJSON = void 0;
17
- function QuotationDistributionModeAllOfFromJSON(json) {
18
- return QuotationDistributionModeAllOfFromJSONTyped(json, false);
19
- }
20
- exports.QuotationDistributionModeAllOfFromJSON = QuotationDistributionModeAllOfFromJSON;
21
- function QuotationDistributionModeAllOfFromJSONTyped(json, ignoreDiscriminator) {
22
- if ((json === undefined) || (json === null)) {
23
- return json;
24
- }
25
- return {
26
- 'soldBy': json['soldBy'],
27
- };
28
- }
29
- exports.QuotationDistributionModeAllOfFromJSONTyped = QuotationDistributionModeAllOfFromJSONTyped;
30
- function QuotationDistributionModeAllOfToJSON(value) {
31
- if (value === undefined) {
32
- return undefined;
33
- }
34
- if (value === null) {
35
- return null;
36
- }
37
- return {
38
- 'soldBy': value.soldBy,
39
- };
40
- }
41
- exports.QuotationDistributionModeAllOfToJSON = QuotationDistributionModeAllOfToJSON;
@@ -1,27 +0,0 @@
1
- /**
2
- * lcdp-monolith-service
3
- * This is the REST API of LCDP products
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 QuotationDistributionModeAllOf
16
- */
17
- export interface QuotationDistributionModeAllOf {
18
- /**
19
- * Sold by this step value
20
- * @type {number}
21
- * @memberof QuotationDistributionModeAllOf
22
- */
23
- soldBy: number;
24
- }
25
- export declare function QuotationDistributionModeAllOfFromJSON(json: any): QuotationDistributionModeAllOf;
26
- export declare function QuotationDistributionModeAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): QuotationDistributionModeAllOf;
27
- export declare function QuotationDistributionModeAllOfToJSON(value?: QuotationDistributionModeAllOf | null): any;
@@ -1,41 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * lcdp-monolith-service
6
- * This is the REST API of LCDP products
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.QuotationDistributionModeAllOfToJSON = exports.QuotationDistributionModeAllOfFromJSONTyped = exports.QuotationDistributionModeAllOfFromJSON = void 0;
17
- function QuotationDistributionModeAllOfFromJSON(json) {
18
- return QuotationDistributionModeAllOfFromJSONTyped(json, false);
19
- }
20
- exports.QuotationDistributionModeAllOfFromJSON = QuotationDistributionModeAllOfFromJSON;
21
- function QuotationDistributionModeAllOfFromJSONTyped(json, ignoreDiscriminator) {
22
- if ((json === undefined) || (json === null)) {
23
- return json;
24
- }
25
- return {
26
- 'soldBy': json['soldBy'],
27
- };
28
- }
29
- exports.QuotationDistributionModeAllOfFromJSONTyped = QuotationDistributionModeAllOfFromJSONTyped;
30
- function QuotationDistributionModeAllOfToJSON(value) {
31
- if (value === undefined) {
32
- return undefined;
33
- }
34
- if (value === null) {
35
- return null;
36
- }
37
- return {
38
- 'soldBy': value.soldBy,
39
- };
40
- }
41
- exports.QuotationDistributionModeAllOfToJSON = QuotationDistributionModeAllOfToJSON;