@lcdp/api-react-rest-client 2.0.4-develop.4173023694 → 2.0.4-develop.4174283795
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/magic-cart/src/models/DistributionMode.d.ts +13 -2
- package/magic-cart/src/models/DistributionMode.js +10 -14
- package/magic-cart/src/models/index.d.ts +0 -2
- package/magic-cart/src/models/index.js +0 -2
- package/package.json +1 -1
- package/sale-offer/src/models/DistributionMode.d.ts +13 -2
- package/sale-offer/src/models/DistributionMode.js +10 -14
- package/sale-offer/src/models/index.d.ts +0 -2
- package/sale-offer/src/models/index.js +0 -2
- package/shopping-cart/src/models/DistributionMode.d.ts +13 -2
- package/shopping-cart/src/models/DistributionMode.js +10 -14
- package/shopping-cart/src/models/index.d.ts +0 -2
- package/shopping-cart/src/models/index.js +0 -2
- package/magic-cart/src/models/DistributionModeAllOf.d.ts +0 -27
- package/magic-cart/src/models/DistributionModeAllOf.js +0 -41
- package/magic-cart/src/models/DistributionModeConstraints.d.ts +0 -33
- package/magic-cart/src/models/DistributionModeConstraints.js +0 -43
- package/sale-offer/src/models/DistributionModeAllOf.d.ts +0 -27
- package/sale-offer/src/models/DistributionModeAllOf.js +0 -41
- package/sale-offer/src/models/DistributionModeConstraints.d.ts +0 -33
- package/sale-offer/src/models/DistributionModeConstraints.js +0 -43
- package/shopping-cart/src/models/DistributionModeAllOf.d.ts +0 -27
- package/shopping-cart/src/models/DistributionModeAllOf.js +0 -41
- package/shopping-cart/src/models/DistributionModeConstraints.d.ts +0 -33
- package/shopping-cart/src/models/DistributionModeConstraints.js +0 -43
|
@@ -9,19 +9,30 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { DistributionModeConstraints } from './DistributionModeConstraints';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
16
15
|
* @interface DistributionMode
|
|
17
16
|
*/
|
|
18
|
-
export interface DistributionMode
|
|
17
|
+
export interface DistributionMode {
|
|
19
18
|
/**
|
|
20
19
|
* Type of distribution for this ad
|
|
21
20
|
* @type {string}
|
|
22
21
|
* @memberof DistributionMode
|
|
23
22
|
*/
|
|
24
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;
|
|
25
36
|
}
|
|
26
37
|
export declare function DistributionModeFromJSON(json: any): DistributionMode;
|
|
27
38
|
export declare function DistributionModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): DistributionMode;
|
|
@@ -12,20 +12,8 @@
|
|
|
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.DistributionModeToJSON = exports.DistributionModeFromJSONTyped = exports.DistributionModeFromJSON = void 0;
|
|
28
|
-
var DistributionModeConstraints_1 = require("./DistributionModeConstraints");
|
|
29
17
|
function DistributionModeFromJSON(json) {
|
|
30
18
|
return DistributionModeFromJSONTyped(json, false);
|
|
31
19
|
}
|
|
@@ -34,7 +22,11 @@ function DistributionModeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
22
|
if ((json === undefined) || (json === null)) {
|
|
35
23
|
return json;
|
|
36
24
|
}
|
|
37
|
-
return
|
|
25
|
+
return {
|
|
26
|
+
'type': json['type'],
|
|
27
|
+
'minimalQuantity': json['minimalQuantity'],
|
|
28
|
+
'maximalQuantity': json['maximalQuantity'],
|
|
29
|
+
};
|
|
38
30
|
}
|
|
39
31
|
exports.DistributionModeFromJSONTyped = DistributionModeFromJSONTyped;
|
|
40
32
|
function DistributionModeToJSON(value) {
|
|
@@ -44,6 +36,10 @@ function DistributionModeToJSON(value) {
|
|
|
44
36
|
if (value === null) {
|
|
45
37
|
return null;
|
|
46
38
|
}
|
|
47
|
-
return
|
|
39
|
+
return {
|
|
40
|
+
'type': value.type,
|
|
41
|
+
'minimalQuantity': value.minimalQuantity,
|
|
42
|
+
'maximalQuantity': value.maximalQuantity,
|
|
43
|
+
};
|
|
48
44
|
}
|
|
49
45
|
exports.DistributionModeToJSON = DistributionModeToJSON;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export * from './AnyIdentifiedDistributionMode';
|
|
2
2
|
export * from './Barcodes';
|
|
3
3
|
export * from './DistributionMode';
|
|
4
|
-
export * from './DistributionModeAllOf';
|
|
5
|
-
export * from './DistributionModeConstraints';
|
|
6
4
|
export * from './DistributionRange';
|
|
7
5
|
export * from './ExpressOrder';
|
|
8
6
|
export * from './ExpressOrderCreationParameters';
|
|
@@ -17,8 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./AnyIdentifiedDistributionMode"), exports);
|
|
18
18
|
__exportStar(require("./Barcodes"), exports);
|
|
19
19
|
__exportStar(require("./DistributionMode"), exports);
|
|
20
|
-
__exportStar(require("./DistributionModeAllOf"), exports);
|
|
21
|
-
__exportStar(require("./DistributionModeConstraints"), exports);
|
|
22
20
|
__exportStar(require("./DistributionRange"), exports);
|
|
23
21
|
__exportStar(require("./ExpressOrder"), exports);
|
|
24
22
|
__exportStar(require("./ExpressOrderCreationParameters"), exports);
|
package/package.json
CHANGED
|
@@ -9,19 +9,30 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { DistributionModeConstraints } from './DistributionModeConstraints';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
16
15
|
* @interface DistributionMode
|
|
17
16
|
*/
|
|
18
|
-
export interface DistributionMode
|
|
17
|
+
export interface DistributionMode {
|
|
19
18
|
/**
|
|
20
19
|
* Type of distribution for this ad
|
|
21
20
|
* @type {string}
|
|
22
21
|
* @memberof DistributionMode
|
|
23
22
|
*/
|
|
24
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;
|
|
25
36
|
}
|
|
26
37
|
export declare function DistributionModeFromJSON(json: any): DistributionMode;
|
|
27
38
|
export declare function DistributionModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): DistributionMode;
|
|
@@ -12,20 +12,8 @@
|
|
|
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.DistributionModeToJSON = exports.DistributionModeFromJSONTyped = exports.DistributionModeFromJSON = void 0;
|
|
28
|
-
var DistributionModeConstraints_1 = require("./DistributionModeConstraints");
|
|
29
17
|
function DistributionModeFromJSON(json) {
|
|
30
18
|
return DistributionModeFromJSONTyped(json, false);
|
|
31
19
|
}
|
|
@@ -34,7 +22,11 @@ function DistributionModeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
22
|
if ((json === undefined) || (json === null)) {
|
|
35
23
|
return json;
|
|
36
24
|
}
|
|
37
|
-
return
|
|
25
|
+
return {
|
|
26
|
+
'type': json['type'],
|
|
27
|
+
'minimalQuantity': json['minimalQuantity'],
|
|
28
|
+
'maximalQuantity': json['maximalQuantity'],
|
|
29
|
+
};
|
|
38
30
|
}
|
|
39
31
|
exports.DistributionModeFromJSONTyped = DistributionModeFromJSONTyped;
|
|
40
32
|
function DistributionModeToJSON(value) {
|
|
@@ -44,6 +36,10 @@ function DistributionModeToJSON(value) {
|
|
|
44
36
|
if (value === null) {
|
|
45
37
|
return null;
|
|
46
38
|
}
|
|
47
|
-
return
|
|
39
|
+
return {
|
|
40
|
+
'type': value.type,
|
|
41
|
+
'minimalQuantity': value.minimalQuantity,
|
|
42
|
+
'maximalQuantity': value.maximalQuantity,
|
|
43
|
+
};
|
|
48
44
|
}
|
|
49
45
|
exports.DistributionModeToJSON = DistributionModeToJSON;
|
|
@@ -2,8 +2,6 @@ export * from './AnyDistributionMode';
|
|
|
2
2
|
export * from './AnyIdentifiedDistributionMode';
|
|
3
3
|
export * from './Barcodes';
|
|
4
4
|
export * from './DistributionMode';
|
|
5
|
-
export * from './DistributionModeAllOf';
|
|
6
|
-
export * from './DistributionModeConstraints';
|
|
7
5
|
export * from './DistributionRange';
|
|
8
6
|
export * from './HttpLink';
|
|
9
7
|
export * from './IdentifiedDistributionRange';
|
|
@@ -18,8 +18,6 @@ __exportStar(require("./AnyDistributionMode"), exports);
|
|
|
18
18
|
__exportStar(require("./AnyIdentifiedDistributionMode"), exports);
|
|
19
19
|
__exportStar(require("./Barcodes"), exports);
|
|
20
20
|
__exportStar(require("./DistributionMode"), exports);
|
|
21
|
-
__exportStar(require("./DistributionModeAllOf"), exports);
|
|
22
|
-
__exportStar(require("./DistributionModeConstraints"), exports);
|
|
23
21
|
__exportStar(require("./DistributionRange"), exports);
|
|
24
22
|
__exportStar(require("./HttpLink"), exports);
|
|
25
23
|
__exportStar(require("./IdentifiedDistributionRange"), exports);
|
|
@@ -9,19 +9,30 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { DistributionModeConstraints } from './DistributionModeConstraints';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
16
15
|
* @interface DistributionMode
|
|
17
16
|
*/
|
|
18
|
-
export interface DistributionMode
|
|
17
|
+
export interface DistributionMode {
|
|
19
18
|
/**
|
|
20
19
|
* Type of distribution for this ad
|
|
21
20
|
* @type {string}
|
|
22
21
|
* @memberof DistributionMode
|
|
23
22
|
*/
|
|
24
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;
|
|
25
36
|
}
|
|
26
37
|
export declare function DistributionModeFromJSON(json: any): DistributionMode;
|
|
27
38
|
export declare function DistributionModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): DistributionMode;
|
|
@@ -12,20 +12,8 @@
|
|
|
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.DistributionModeToJSON = exports.DistributionModeFromJSONTyped = exports.DistributionModeFromJSON = void 0;
|
|
28
|
-
var DistributionModeConstraints_1 = require("./DistributionModeConstraints");
|
|
29
17
|
function DistributionModeFromJSON(json) {
|
|
30
18
|
return DistributionModeFromJSONTyped(json, false);
|
|
31
19
|
}
|
|
@@ -34,7 +22,11 @@ function DistributionModeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
22
|
if ((json === undefined) || (json === null)) {
|
|
35
23
|
return json;
|
|
36
24
|
}
|
|
37
|
-
return
|
|
25
|
+
return {
|
|
26
|
+
'type': json['type'],
|
|
27
|
+
'minimalQuantity': json['minimalQuantity'],
|
|
28
|
+
'maximalQuantity': json['maximalQuantity'],
|
|
29
|
+
};
|
|
38
30
|
}
|
|
39
31
|
exports.DistributionModeFromJSONTyped = DistributionModeFromJSONTyped;
|
|
40
32
|
function DistributionModeToJSON(value) {
|
|
@@ -44,6 +36,10 @@ function DistributionModeToJSON(value) {
|
|
|
44
36
|
if (value === null) {
|
|
45
37
|
return null;
|
|
46
38
|
}
|
|
47
|
-
return
|
|
39
|
+
return {
|
|
40
|
+
'type': value.type,
|
|
41
|
+
'minimalQuantity': value.minimalQuantity,
|
|
42
|
+
'maximalQuantity': value.maximalQuantity,
|
|
43
|
+
};
|
|
48
44
|
}
|
|
49
45
|
exports.DistributionModeToJSON = DistributionModeToJSON;
|
|
@@ -6,8 +6,6 @@ export * from './CartSubCartLine';
|
|
|
6
6
|
export * from './CartSubCartLineUpdateParameters';
|
|
7
7
|
export * from './CartSubCartTransport';
|
|
8
8
|
export * from './DistributionMode';
|
|
9
|
-
export * from './DistributionModeAllOf';
|
|
10
|
-
export * from './DistributionModeConstraints';
|
|
11
9
|
export * from './DistributionRange';
|
|
12
10
|
export * from './HttpLink';
|
|
13
11
|
export * from './IdentifiedDistributionRange';
|
|
@@ -22,8 +22,6 @@ __exportStar(require("./CartSubCartLine"), exports);
|
|
|
22
22
|
__exportStar(require("./CartSubCartLineUpdateParameters"), exports);
|
|
23
23
|
__exportStar(require("./CartSubCartTransport"), exports);
|
|
24
24
|
__exportStar(require("./DistributionMode"), exports);
|
|
25
|
-
__exportStar(require("./DistributionModeAllOf"), exports);
|
|
26
|
-
__exportStar(require("./DistributionModeConstraints"), exports);
|
|
27
25
|
__exportStar(require("./DistributionRange"), exports);
|
|
28
26
|
__exportStar(require("./HttpLink"), exports);
|
|
29
27
|
__exportStar(require("./IdentifiedDistributionRange"), exports);
|
|
@@ -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 DistributionModeAllOf
|
|
16
|
-
*/
|
|
17
|
-
export interface DistributionModeAllOf {
|
|
18
|
-
/**
|
|
19
|
-
* Type of distribution for this ad
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof DistributionModeAllOf
|
|
22
|
-
*/
|
|
23
|
-
type: string;
|
|
24
|
-
}
|
|
25
|
-
export declare function DistributionModeAllOfFromJSON(json: any): DistributionModeAllOf;
|
|
26
|
-
export declare function DistributionModeAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): DistributionModeAllOf;
|
|
27
|
-
export declare function DistributionModeAllOfToJSON(value?: DistributionModeAllOf | 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.DistributionModeAllOfToJSON = exports.DistributionModeAllOfFromJSONTyped = exports.DistributionModeAllOfFromJSON = void 0;
|
|
17
|
-
function DistributionModeAllOfFromJSON(json) {
|
|
18
|
-
return DistributionModeAllOfFromJSONTyped(json, false);
|
|
19
|
-
}
|
|
20
|
-
exports.DistributionModeAllOfFromJSON = DistributionModeAllOfFromJSON;
|
|
21
|
-
function DistributionModeAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
-
if ((json === undefined) || (json === null)) {
|
|
23
|
-
return json;
|
|
24
|
-
}
|
|
25
|
-
return {
|
|
26
|
-
'type': json['type'],
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
exports.DistributionModeAllOfFromJSONTyped = DistributionModeAllOfFromJSONTyped;
|
|
30
|
-
function DistributionModeAllOfToJSON(value) {
|
|
31
|
-
if (value === undefined) {
|
|
32
|
-
return undefined;
|
|
33
|
-
}
|
|
34
|
-
if (value === null) {
|
|
35
|
-
return null;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'type': value.type,
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
exports.DistributionModeAllOfToJSON = DistributionModeAllOfToJSON;
|
|
@@ -1,33 +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 DistributionModeConstraints
|
|
16
|
-
*/
|
|
17
|
-
export interface DistributionModeConstraints {
|
|
18
|
-
/**
|
|
19
|
-
* Minimum buyable quantity for each order
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof DistributionModeConstraints
|
|
22
|
-
*/
|
|
23
|
-
minimalQuantity: number;
|
|
24
|
-
/**
|
|
25
|
-
* Maximum buyable quantity for each order Null value signify there is no limit of buyable quantity (just limited by Stock.remainingQuantity)
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof DistributionModeConstraints
|
|
28
|
-
*/
|
|
29
|
-
maximalQuantity: number | null;
|
|
30
|
-
}
|
|
31
|
-
export declare function DistributionModeConstraintsFromJSON(json: any): DistributionModeConstraints;
|
|
32
|
-
export declare function DistributionModeConstraintsFromJSONTyped(json: any, ignoreDiscriminator: boolean): DistributionModeConstraints;
|
|
33
|
-
export declare function DistributionModeConstraintsToJSON(value?: DistributionModeConstraints | null): any;
|
|
@@ -1,43 +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.DistributionModeConstraintsToJSON = exports.DistributionModeConstraintsFromJSONTyped = exports.DistributionModeConstraintsFromJSON = void 0;
|
|
17
|
-
function DistributionModeConstraintsFromJSON(json) {
|
|
18
|
-
return DistributionModeConstraintsFromJSONTyped(json, false);
|
|
19
|
-
}
|
|
20
|
-
exports.DistributionModeConstraintsFromJSON = DistributionModeConstraintsFromJSON;
|
|
21
|
-
function DistributionModeConstraintsFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
-
if ((json === undefined) || (json === null)) {
|
|
23
|
-
return json;
|
|
24
|
-
}
|
|
25
|
-
return {
|
|
26
|
-
'minimalQuantity': json['minimalQuantity'],
|
|
27
|
-
'maximalQuantity': json['maximalQuantity'],
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
exports.DistributionModeConstraintsFromJSONTyped = DistributionModeConstraintsFromJSONTyped;
|
|
31
|
-
function DistributionModeConstraintsToJSON(value) {
|
|
32
|
-
if (value === undefined) {
|
|
33
|
-
return undefined;
|
|
34
|
-
}
|
|
35
|
-
if (value === null) {
|
|
36
|
-
return null;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'minimalQuantity': value.minimalQuantity,
|
|
40
|
-
'maximalQuantity': value.maximalQuantity,
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
exports.DistributionModeConstraintsToJSON = DistributionModeConstraintsToJSON;
|
|
@@ -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 DistributionModeAllOf
|
|
16
|
-
*/
|
|
17
|
-
export interface DistributionModeAllOf {
|
|
18
|
-
/**
|
|
19
|
-
* Type of distribution for this ad
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof DistributionModeAllOf
|
|
22
|
-
*/
|
|
23
|
-
type: string;
|
|
24
|
-
}
|
|
25
|
-
export declare function DistributionModeAllOfFromJSON(json: any): DistributionModeAllOf;
|
|
26
|
-
export declare function DistributionModeAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): DistributionModeAllOf;
|
|
27
|
-
export declare function DistributionModeAllOfToJSON(value?: DistributionModeAllOf | 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.DistributionModeAllOfToJSON = exports.DistributionModeAllOfFromJSONTyped = exports.DistributionModeAllOfFromJSON = void 0;
|
|
17
|
-
function DistributionModeAllOfFromJSON(json) {
|
|
18
|
-
return DistributionModeAllOfFromJSONTyped(json, false);
|
|
19
|
-
}
|
|
20
|
-
exports.DistributionModeAllOfFromJSON = DistributionModeAllOfFromJSON;
|
|
21
|
-
function DistributionModeAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
-
if ((json === undefined) || (json === null)) {
|
|
23
|
-
return json;
|
|
24
|
-
}
|
|
25
|
-
return {
|
|
26
|
-
'type': json['type'],
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
exports.DistributionModeAllOfFromJSONTyped = DistributionModeAllOfFromJSONTyped;
|
|
30
|
-
function DistributionModeAllOfToJSON(value) {
|
|
31
|
-
if (value === undefined) {
|
|
32
|
-
return undefined;
|
|
33
|
-
}
|
|
34
|
-
if (value === null) {
|
|
35
|
-
return null;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'type': value.type,
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
exports.DistributionModeAllOfToJSON = DistributionModeAllOfToJSON;
|
|
@@ -1,33 +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 DistributionModeConstraints
|
|
16
|
-
*/
|
|
17
|
-
export interface DistributionModeConstraints {
|
|
18
|
-
/**
|
|
19
|
-
* Minimum buyable quantity for each order
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof DistributionModeConstraints
|
|
22
|
-
*/
|
|
23
|
-
minimalQuantity: number;
|
|
24
|
-
/**
|
|
25
|
-
* Maximum buyable quantity for each order Null value signify there is no limit of buyable quantity (just limited by Stock.remainingQuantity)
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof DistributionModeConstraints
|
|
28
|
-
*/
|
|
29
|
-
maximalQuantity: number | null;
|
|
30
|
-
}
|
|
31
|
-
export declare function DistributionModeConstraintsFromJSON(json: any): DistributionModeConstraints;
|
|
32
|
-
export declare function DistributionModeConstraintsFromJSONTyped(json: any, ignoreDiscriminator: boolean): DistributionModeConstraints;
|
|
33
|
-
export declare function DistributionModeConstraintsToJSON(value?: DistributionModeConstraints | null): any;
|
|
@@ -1,43 +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.DistributionModeConstraintsToJSON = exports.DistributionModeConstraintsFromJSONTyped = exports.DistributionModeConstraintsFromJSON = void 0;
|
|
17
|
-
function DistributionModeConstraintsFromJSON(json) {
|
|
18
|
-
return DistributionModeConstraintsFromJSONTyped(json, false);
|
|
19
|
-
}
|
|
20
|
-
exports.DistributionModeConstraintsFromJSON = DistributionModeConstraintsFromJSON;
|
|
21
|
-
function DistributionModeConstraintsFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
-
if ((json === undefined) || (json === null)) {
|
|
23
|
-
return json;
|
|
24
|
-
}
|
|
25
|
-
return {
|
|
26
|
-
'minimalQuantity': json['minimalQuantity'],
|
|
27
|
-
'maximalQuantity': json['maximalQuantity'],
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
exports.DistributionModeConstraintsFromJSONTyped = DistributionModeConstraintsFromJSONTyped;
|
|
31
|
-
function DistributionModeConstraintsToJSON(value) {
|
|
32
|
-
if (value === undefined) {
|
|
33
|
-
return undefined;
|
|
34
|
-
}
|
|
35
|
-
if (value === null) {
|
|
36
|
-
return null;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'minimalQuantity': value.minimalQuantity,
|
|
40
|
-
'maximalQuantity': value.maximalQuantity,
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
exports.DistributionModeConstraintsToJSON = DistributionModeConstraintsToJSON;
|
|
@@ -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 DistributionModeAllOf
|
|
16
|
-
*/
|
|
17
|
-
export interface DistributionModeAllOf {
|
|
18
|
-
/**
|
|
19
|
-
* Type of distribution for this ad
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof DistributionModeAllOf
|
|
22
|
-
*/
|
|
23
|
-
type: string;
|
|
24
|
-
}
|
|
25
|
-
export declare function DistributionModeAllOfFromJSON(json: any): DistributionModeAllOf;
|
|
26
|
-
export declare function DistributionModeAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): DistributionModeAllOf;
|
|
27
|
-
export declare function DistributionModeAllOfToJSON(value?: DistributionModeAllOf | 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.DistributionModeAllOfToJSON = exports.DistributionModeAllOfFromJSONTyped = exports.DistributionModeAllOfFromJSON = void 0;
|
|
17
|
-
function DistributionModeAllOfFromJSON(json) {
|
|
18
|
-
return DistributionModeAllOfFromJSONTyped(json, false);
|
|
19
|
-
}
|
|
20
|
-
exports.DistributionModeAllOfFromJSON = DistributionModeAllOfFromJSON;
|
|
21
|
-
function DistributionModeAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
-
if ((json === undefined) || (json === null)) {
|
|
23
|
-
return json;
|
|
24
|
-
}
|
|
25
|
-
return {
|
|
26
|
-
'type': json['type'],
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
exports.DistributionModeAllOfFromJSONTyped = DistributionModeAllOfFromJSONTyped;
|
|
30
|
-
function DistributionModeAllOfToJSON(value) {
|
|
31
|
-
if (value === undefined) {
|
|
32
|
-
return undefined;
|
|
33
|
-
}
|
|
34
|
-
if (value === null) {
|
|
35
|
-
return null;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'type': value.type,
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
exports.DistributionModeAllOfToJSON = DistributionModeAllOfToJSON;
|
|
@@ -1,33 +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 DistributionModeConstraints
|
|
16
|
-
*/
|
|
17
|
-
export interface DistributionModeConstraints {
|
|
18
|
-
/**
|
|
19
|
-
* Minimum buyable quantity for each order
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof DistributionModeConstraints
|
|
22
|
-
*/
|
|
23
|
-
minimalQuantity: number;
|
|
24
|
-
/**
|
|
25
|
-
* Maximum buyable quantity for each order Null value signify there is no limit of buyable quantity (just limited by Stock.remainingQuantity)
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof DistributionModeConstraints
|
|
28
|
-
*/
|
|
29
|
-
maximalQuantity: number | null;
|
|
30
|
-
}
|
|
31
|
-
export declare function DistributionModeConstraintsFromJSON(json: any): DistributionModeConstraints;
|
|
32
|
-
export declare function DistributionModeConstraintsFromJSONTyped(json: any, ignoreDiscriminator: boolean): DistributionModeConstraints;
|
|
33
|
-
export declare function DistributionModeConstraintsToJSON(value?: DistributionModeConstraints | null): any;
|
|
@@ -1,43 +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.DistributionModeConstraintsToJSON = exports.DistributionModeConstraintsFromJSONTyped = exports.DistributionModeConstraintsFromJSON = void 0;
|
|
17
|
-
function DistributionModeConstraintsFromJSON(json) {
|
|
18
|
-
return DistributionModeConstraintsFromJSONTyped(json, false);
|
|
19
|
-
}
|
|
20
|
-
exports.DistributionModeConstraintsFromJSON = DistributionModeConstraintsFromJSON;
|
|
21
|
-
function DistributionModeConstraintsFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
-
if ((json === undefined) || (json === null)) {
|
|
23
|
-
return json;
|
|
24
|
-
}
|
|
25
|
-
return {
|
|
26
|
-
'minimalQuantity': json['minimalQuantity'],
|
|
27
|
-
'maximalQuantity': json['maximalQuantity'],
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
exports.DistributionModeConstraintsFromJSONTyped = DistributionModeConstraintsFromJSONTyped;
|
|
31
|
-
function DistributionModeConstraintsToJSON(value) {
|
|
32
|
-
if (value === undefined) {
|
|
33
|
-
return undefined;
|
|
34
|
-
}
|
|
35
|
-
if (value === null) {
|
|
36
|
-
return null;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'minimalQuantity': value.minimalQuantity,
|
|
40
|
-
'maximalQuantity': value.maximalQuantity,
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
exports.DistributionModeConstraintsToJSON = DistributionModeConstraintsToJSON;
|