@lcdp/api-react-rest-client 0.0.2-LDS-2733-fix-concurrency-in-lcdp-sdk.5 → 0.0.2-develop.0
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/configuration/src/apis/ManageVariableApi.d.ts +53 -1
- package/configuration/src/apis/ManageVariableApi.js +54 -1
- package/configuration/src/apis/SearchVariableApi.d.ts +53 -1
- package/configuration/src/apis/SearchVariableApi.js +54 -1
- package/magic-cart/src/apis/ManageMagicCartApi.d.ts +29 -0
- package/magic-cart/src/apis/{ManageExpressOrderApi.js → ManageMagicCartApi.js} +17 -16
- package/magic-cart/src/apis/index.d.ts +1 -1
- package/magic-cart/src/apis/index.js +1 -1
- package/magic-cart/src/models/AnyMagicCartCreationParameters.d.ts +25 -0
- package/magic-cart/src/models/AnyMagicCartCreationParameters.js +64 -0
- package/magic-cart/src/models/MagicCart.d.ts +28 -0
- package/magic-cart/src/models/MagicCart.js +43 -0
- package/magic-cart/src/models/MagicCartWithInitialCreationParameters.d.ts +29 -0
- package/magic-cart/src/models/MagicCartWithInitialCreationParameters.js +50 -0
- package/magic-cart/src/models/MagicCartWithInitialCreationParametersAllOf.d.ts +28 -0
- package/magic-cart/src/models/MagicCartWithInitialCreationParametersAllOf.js +42 -0
- package/magic-cart/src/models/MagicCartWithNeedCreationParameters.d.ts +29 -0
- package/magic-cart/src/models/MagicCartWithNeedCreationParameters.js +50 -0
- package/magic-cart/src/models/MagicCartWithNeedCreationParametersAllOf.d.ts +28 -0
- package/magic-cart/src/models/MagicCartWithNeedCreationParametersAllOf.js +42 -0
- package/magic-cart/src/models/MagicNeed.d.ts +39 -0
- package/magic-cart/src/models/{ExpressOrderNeed.js → MagicNeed.js} +10 -8
- package/magic-cart/src/models/MagicProductBus.d.ts +33 -0
- package/magic-cart/src/models/{HttpLink.js → MagicProductBus.js} +12 -10
- package/magic-cart/src/models/MagicProposal.d.ts +39 -0
- package/magic-cart/src/models/{DistributionRange.js → MagicProposal.js} +12 -12
- package/magic-cart/src/models/index.d.ts +9 -24
- package/magic-cart/src/models/index.js +9 -24
- package/mangopay-hook/src/apis/MangopayHookApi.d.ts +13 -0
- package/mangopay-hook/src/apis/MangopayHookApi.js +63 -1
- package/package.json +1 -1
- package/product/src/apis/SearchProductApi.d.ts +0 -1
- package/product/src/apis/SearchProductApi.js +0 -3
- package/shopping-cart/src/models/CartSubCartLine.d.ts +6 -0
- package/shopping-cart/src/models/CartSubCartLine.js +2 -0
- package/user/src/models/UserDelegatedServices.d.ts +1 -1
- package/magic-cart/src/apis/ManageExpressOrderApi.d.ts +0 -31
- package/magic-cart/src/models/AnyIdentifiedDistributionMode.d.ts +0 -28
- package/magic-cart/src/models/AnyIdentifiedDistributionMode.js +0 -69
- package/magic-cart/src/models/Barcodes.d.ts +0 -45
- package/magic-cart/src/models/Barcodes.js +0 -48
- package/magic-cart/src/models/DistributionMode.d.ts +0 -27
- package/magic-cart/src/models/DistributionMode.js +0 -41
- package/magic-cart/src/models/DistributionRange.d.ts +0 -39
- package/magic-cart/src/models/ExpressOrder.d.ts +0 -28
- package/magic-cart/src/models/ExpressOrder.js +0 -43
- package/magic-cart/src/models/ExpressOrderCreationParameters.d.ts +0 -28
- package/magic-cart/src/models/ExpressOrderCreationParameters.js +0 -43
- package/magic-cart/src/models/ExpressOrderNeed.d.ts +0 -33
- package/magic-cart/src/models/HttpLink.d.ts +0 -27
- package/magic-cart/src/models/IdentifiedDistributionRange.d.ts +0 -34
- package/magic-cart/src/models/IdentifiedDistributionRange.js +0 -49
- package/magic-cart/src/models/IdentifiedDistributionRangeAllOf.d.ts +0 -33
- package/magic-cart/src/models/IdentifiedDistributionRangeAllOf.js +0 -43
- package/magic-cart/src/models/IdentifiedRangeDistributionMode.d.ts +0 -29
- package/magic-cart/src/models/IdentifiedRangeDistributionMode.js +0 -50
- package/magic-cart/src/models/IdentifiedRangeDistributionModeAllOf.d.ts +0 -28
- package/magic-cart/src/models/IdentifiedRangeDistributionModeAllOf.js +0 -42
- package/magic-cart/src/models/ProductLink.d.ts +0 -41
- package/magic-cart/src/models/ProductLink.js +0 -50
- package/magic-cart/src/models/ProductLinkAllOf.d.ts +0 -40
- package/magic-cart/src/models/ProductLinkAllOf.js +0 -46
- package/magic-cart/src/models/QuotationDistributionMode.d.ts +0 -22
- package/magic-cart/src/models/QuotationDistributionMode.js +0 -28
- package/magic-cart/src/models/SaleOfferLink.d.ts +0 -54
- package/magic-cart/src/models/SaleOfferLink.js +0 -52
- package/magic-cart/src/models/SaleOfferLinkAllOf.d.ts +0 -53
- package/magic-cart/src/models/SaleOfferLinkAllOf.js +0 -52
- package/magic-cart/src/models/SaleOfferProposal.d.ts +0 -47
- package/magic-cart/src/models/SaleOfferProposal.js +0 -49
- package/magic-cart/src/models/SellerProposal.d.ts +0 -41
- package/magic-cart/src/models/SellerProposal.js +0 -47
- package/magic-cart/src/models/Stock.d.ts +0 -39
- package/magic-cart/src/models/Stock.js +0 -46
- package/magic-cart/src/models/UnitaryDistributionMode.d.ts +0 -34
- package/magic-cart/src/models/UnitaryDistributionMode.js +0 -49
- package/magic-cart/src/models/UnitaryDistributionModeAllOf.d.ts +0 -33
- package/magic-cart/src/models/UnitaryDistributionModeAllOf.js +0 -43
- package/magic-cart/src/models/UserLink.d.ts +0 -34
- package/magic-cart/src/models/UserLink.js +0 -49
- package/magic-cart/src/models/UserLinkAllOf.d.ts +0 -33
- package/magic-cart/src/models/UserLinkAllOf.js +0 -43
|
@@ -1,49 +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
|
-
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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
exports.IdentifiedDistributionRangeToJSON = exports.IdentifiedDistributionRangeFromJSONTyped = exports.IdentifiedDistributionRangeFromJSON = void 0;
|
|
28
|
-
var DistributionRange_1 = require("./DistributionRange");
|
|
29
|
-
function IdentifiedDistributionRangeFromJSON(json) {
|
|
30
|
-
return IdentifiedDistributionRangeFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
exports.IdentifiedDistributionRangeFromJSON = IdentifiedDistributionRangeFromJSON;
|
|
33
|
-
function IdentifiedDistributionRangeFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if ((json === undefined) || (json === null)) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return __assign(__assign({}, (0, DistributionRange_1.DistributionRangeFromJSONTyped)(json, ignoreDiscriminator)), { 'id': json['id'], 'rebate': json['rebate'] });
|
|
38
|
-
}
|
|
39
|
-
exports.IdentifiedDistributionRangeFromJSONTyped = IdentifiedDistributionRangeFromJSONTyped;
|
|
40
|
-
function IdentifiedDistributionRangeToJSON(value) {
|
|
41
|
-
if (value === undefined) {
|
|
42
|
-
return undefined;
|
|
43
|
-
}
|
|
44
|
-
if (value === null) {
|
|
45
|
-
return null;
|
|
46
|
-
}
|
|
47
|
-
return __assign(__assign({}, (0, DistributionRange_1.DistributionRangeToJSON)(value)), { 'id': value.id, 'rebate': value.rebate });
|
|
48
|
-
}
|
|
49
|
-
exports.IdentifiedDistributionRangeToJSON = IdentifiedDistributionRangeToJSON;
|
|
@@ -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 IdentifiedDistributionRangeAllOf
|
|
16
|
-
*/
|
|
17
|
-
export interface IdentifiedDistributionRangeAllOf {
|
|
18
|
-
/**
|
|
19
|
-
* Range id.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof IdentifiedDistributionRangeAllOf
|
|
22
|
-
*/
|
|
23
|
-
id: number;
|
|
24
|
-
/**
|
|
25
|
-
* Rebate for this distribution range
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof IdentifiedDistributionRangeAllOf
|
|
28
|
-
*/
|
|
29
|
-
rebate: number;
|
|
30
|
-
}
|
|
31
|
-
export declare function IdentifiedDistributionRangeAllOfFromJSON(json: any): IdentifiedDistributionRangeAllOf;
|
|
32
|
-
export declare function IdentifiedDistributionRangeAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): IdentifiedDistributionRangeAllOf;
|
|
33
|
-
export declare function IdentifiedDistributionRangeAllOfToJSON(value?: IdentifiedDistributionRangeAllOf | 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.IdentifiedDistributionRangeAllOfToJSON = exports.IdentifiedDistributionRangeAllOfFromJSONTyped = exports.IdentifiedDistributionRangeAllOfFromJSON = void 0;
|
|
17
|
-
function IdentifiedDistributionRangeAllOfFromJSON(json) {
|
|
18
|
-
return IdentifiedDistributionRangeAllOfFromJSONTyped(json, false);
|
|
19
|
-
}
|
|
20
|
-
exports.IdentifiedDistributionRangeAllOfFromJSON = IdentifiedDistributionRangeAllOfFromJSON;
|
|
21
|
-
function IdentifiedDistributionRangeAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
-
if ((json === undefined) || (json === null)) {
|
|
23
|
-
return json;
|
|
24
|
-
}
|
|
25
|
-
return {
|
|
26
|
-
'id': json['id'],
|
|
27
|
-
'rebate': json['rebate'],
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
exports.IdentifiedDistributionRangeAllOfFromJSONTyped = IdentifiedDistributionRangeAllOfFromJSONTyped;
|
|
31
|
-
function IdentifiedDistributionRangeAllOfToJSON(value) {
|
|
32
|
-
if (value === undefined) {
|
|
33
|
-
return undefined;
|
|
34
|
-
}
|
|
35
|
-
if (value === null) {
|
|
36
|
-
return null;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'id': value.id,
|
|
40
|
-
'rebate': value.rebate,
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
exports.IdentifiedDistributionRangeAllOfToJSON = IdentifiedDistributionRangeAllOfToJSON;
|
|
@@ -1,29 +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
|
-
import { DistributionMode } from './DistributionMode';
|
|
13
|
-
import { IdentifiedDistributionRange } from './IdentifiedDistributionRange';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface IdentifiedRangeDistributionMode
|
|
18
|
-
*/
|
|
19
|
-
export interface IdentifiedRangeDistributionMode extends DistributionMode {
|
|
20
|
-
/**
|
|
21
|
-
* Available range to buy product.
|
|
22
|
-
* @type {Array<IdentifiedDistributionRange>}
|
|
23
|
-
* @memberof IdentifiedRangeDistributionMode
|
|
24
|
-
*/
|
|
25
|
-
ranges: Array<IdentifiedDistributionRange>;
|
|
26
|
-
}
|
|
27
|
-
export declare function IdentifiedRangeDistributionModeFromJSON(json: any): IdentifiedRangeDistributionMode;
|
|
28
|
-
export declare function IdentifiedRangeDistributionModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): IdentifiedRangeDistributionMode;
|
|
29
|
-
export declare function IdentifiedRangeDistributionModeToJSON(value?: IdentifiedRangeDistributionMode | null): any;
|
|
@@ -1,50 +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
|
-
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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
exports.IdentifiedRangeDistributionModeToJSON = exports.IdentifiedRangeDistributionModeFromJSONTyped = exports.IdentifiedRangeDistributionModeFromJSON = void 0;
|
|
28
|
-
var DistributionMode_1 = require("./DistributionMode");
|
|
29
|
-
var IdentifiedDistributionRange_1 = require("./IdentifiedDistributionRange");
|
|
30
|
-
function IdentifiedRangeDistributionModeFromJSON(json) {
|
|
31
|
-
return IdentifiedRangeDistributionModeFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
exports.IdentifiedRangeDistributionModeFromJSON = IdentifiedRangeDistributionModeFromJSON;
|
|
34
|
-
function IdentifiedRangeDistributionModeFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if ((json === undefined) || (json === null)) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return __assign(__assign({}, (0, DistributionMode_1.DistributionModeFromJSONTyped)(json, ignoreDiscriminator)), { 'ranges': (json['ranges'].map(IdentifiedDistributionRange_1.IdentifiedDistributionRangeFromJSON)) });
|
|
39
|
-
}
|
|
40
|
-
exports.IdentifiedRangeDistributionModeFromJSONTyped = IdentifiedRangeDistributionModeFromJSONTyped;
|
|
41
|
-
function IdentifiedRangeDistributionModeToJSON(value) {
|
|
42
|
-
if (value === undefined) {
|
|
43
|
-
return undefined;
|
|
44
|
-
}
|
|
45
|
-
if (value === null) {
|
|
46
|
-
return null;
|
|
47
|
-
}
|
|
48
|
-
return __assign(__assign({}, (0, DistributionMode_1.DistributionModeToJSON)(value)), { 'ranges': (value.ranges.map(IdentifiedDistributionRange_1.IdentifiedDistributionRangeToJSON)) });
|
|
49
|
-
}
|
|
50
|
-
exports.IdentifiedRangeDistributionModeToJSON = IdentifiedRangeDistributionModeToJSON;
|
|
@@ -1,28 +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
|
-
import { IdentifiedDistributionRange } from './IdentifiedDistributionRange';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface IdentifiedRangeDistributionModeAllOf
|
|
17
|
-
*/
|
|
18
|
-
export interface IdentifiedRangeDistributionModeAllOf {
|
|
19
|
-
/**
|
|
20
|
-
* Available range to buy product.
|
|
21
|
-
* @type {Array<IdentifiedDistributionRange>}
|
|
22
|
-
* @memberof IdentifiedRangeDistributionModeAllOf
|
|
23
|
-
*/
|
|
24
|
-
ranges: Array<IdentifiedDistributionRange>;
|
|
25
|
-
}
|
|
26
|
-
export declare function IdentifiedRangeDistributionModeAllOfFromJSON(json: any): IdentifiedRangeDistributionModeAllOf;
|
|
27
|
-
export declare function IdentifiedRangeDistributionModeAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): IdentifiedRangeDistributionModeAllOf;
|
|
28
|
-
export declare function IdentifiedRangeDistributionModeAllOfToJSON(value?: IdentifiedRangeDistributionModeAllOf | null): any;
|
|
@@ -1,42 +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.IdentifiedRangeDistributionModeAllOfToJSON = exports.IdentifiedRangeDistributionModeAllOfFromJSONTyped = exports.IdentifiedRangeDistributionModeAllOfFromJSON = void 0;
|
|
17
|
-
var IdentifiedDistributionRange_1 = require("./IdentifiedDistributionRange");
|
|
18
|
-
function IdentifiedRangeDistributionModeAllOfFromJSON(json) {
|
|
19
|
-
return IdentifiedRangeDistributionModeAllOfFromJSONTyped(json, false);
|
|
20
|
-
}
|
|
21
|
-
exports.IdentifiedRangeDistributionModeAllOfFromJSON = IdentifiedRangeDistributionModeAllOfFromJSON;
|
|
22
|
-
function IdentifiedRangeDistributionModeAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
-
if ((json === undefined) || (json === null)) {
|
|
24
|
-
return json;
|
|
25
|
-
}
|
|
26
|
-
return {
|
|
27
|
-
'ranges': (json['ranges'].map(IdentifiedDistributionRange_1.IdentifiedDistributionRangeFromJSON)),
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
exports.IdentifiedRangeDistributionModeAllOfFromJSONTyped = IdentifiedRangeDistributionModeAllOfFromJSONTyped;
|
|
31
|
-
function IdentifiedRangeDistributionModeAllOfToJSON(value) {
|
|
32
|
-
if (value === undefined) {
|
|
33
|
-
return undefined;
|
|
34
|
-
}
|
|
35
|
-
if (value === null) {
|
|
36
|
-
return null;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'ranges': (value.ranges.map(IdentifiedDistributionRange_1.IdentifiedDistributionRangeToJSON)),
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
exports.IdentifiedRangeDistributionModeAllOfToJSON = IdentifiedRangeDistributionModeAllOfToJSON;
|
|
@@ -1,41 +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
|
-
import { Barcodes } from './Barcodes';
|
|
13
|
-
import { HttpLink } from './HttpLink';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface ProductLink
|
|
18
|
-
*/
|
|
19
|
-
export interface ProductLink extends HttpLink {
|
|
20
|
-
/**
|
|
21
|
-
* Identifier of the product
|
|
22
|
-
* @type {number}
|
|
23
|
-
* @memberof ProductLink
|
|
24
|
-
*/
|
|
25
|
-
id: number;
|
|
26
|
-
/**
|
|
27
|
-
* Name of the product
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof ProductLink
|
|
30
|
-
*/
|
|
31
|
-
name: string;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {Barcodes}
|
|
35
|
-
* @memberof ProductLink
|
|
36
|
-
*/
|
|
37
|
-
barcodes: Barcodes;
|
|
38
|
-
}
|
|
39
|
-
export declare function ProductLinkFromJSON(json: any): ProductLink;
|
|
40
|
-
export declare function ProductLinkFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductLink;
|
|
41
|
-
export declare function ProductLinkToJSON(value?: ProductLink | null): any;
|
|
@@ -1,50 +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
|
-
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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
exports.ProductLinkToJSON = exports.ProductLinkFromJSONTyped = exports.ProductLinkFromJSON = void 0;
|
|
28
|
-
var Barcodes_1 = require("./Barcodes");
|
|
29
|
-
var HttpLink_1 = require("./HttpLink");
|
|
30
|
-
function ProductLinkFromJSON(json) {
|
|
31
|
-
return ProductLinkFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
exports.ProductLinkFromJSON = ProductLinkFromJSON;
|
|
34
|
-
function ProductLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if ((json === undefined) || (json === null)) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return __assign(__assign({}, (0, HttpLink_1.HttpLinkFromJSONTyped)(json, ignoreDiscriminator)), { 'id': json['id'], 'name': json['name'], 'barcodes': (0, Barcodes_1.BarcodesFromJSON)(json['barcodes']) });
|
|
39
|
-
}
|
|
40
|
-
exports.ProductLinkFromJSONTyped = ProductLinkFromJSONTyped;
|
|
41
|
-
function ProductLinkToJSON(value) {
|
|
42
|
-
if (value === undefined) {
|
|
43
|
-
return undefined;
|
|
44
|
-
}
|
|
45
|
-
if (value === null) {
|
|
46
|
-
return null;
|
|
47
|
-
}
|
|
48
|
-
return __assign(__assign({}, (0, HttpLink_1.HttpLinkToJSON)(value)), { 'id': value.id, 'name': value.name, 'barcodes': (0, Barcodes_1.BarcodesToJSON)(value.barcodes) });
|
|
49
|
-
}
|
|
50
|
-
exports.ProductLinkToJSON = ProductLinkToJSON;
|
|
@@ -1,40 +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
|
-
import { Barcodes } from './Barcodes';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductLinkAllOf
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductLinkAllOf {
|
|
19
|
-
/**
|
|
20
|
-
* Identifier of the product
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof ProductLinkAllOf
|
|
23
|
-
*/
|
|
24
|
-
id: number;
|
|
25
|
-
/**
|
|
26
|
-
* Name of the product
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof ProductLinkAllOf
|
|
29
|
-
*/
|
|
30
|
-
name: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {Barcodes}
|
|
34
|
-
* @memberof ProductLinkAllOf
|
|
35
|
-
*/
|
|
36
|
-
barcodes: Barcodes;
|
|
37
|
-
}
|
|
38
|
-
export declare function ProductLinkAllOfFromJSON(json: any): ProductLinkAllOf;
|
|
39
|
-
export declare function ProductLinkAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductLinkAllOf;
|
|
40
|
-
export declare function ProductLinkAllOfToJSON(value?: ProductLinkAllOf | null): any;
|
|
@@ -1,46 +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.ProductLinkAllOfToJSON = exports.ProductLinkAllOfFromJSONTyped = exports.ProductLinkAllOfFromJSON = void 0;
|
|
17
|
-
var Barcodes_1 = require("./Barcodes");
|
|
18
|
-
function ProductLinkAllOfFromJSON(json) {
|
|
19
|
-
return ProductLinkAllOfFromJSONTyped(json, false);
|
|
20
|
-
}
|
|
21
|
-
exports.ProductLinkAllOfFromJSON = ProductLinkAllOfFromJSON;
|
|
22
|
-
function ProductLinkAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
-
if ((json === undefined) || (json === null)) {
|
|
24
|
-
return json;
|
|
25
|
-
}
|
|
26
|
-
return {
|
|
27
|
-
'id': json['id'],
|
|
28
|
-
'name': json['name'],
|
|
29
|
-
'barcodes': (0, Barcodes_1.BarcodesFromJSON)(json['barcodes']),
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
exports.ProductLinkAllOfFromJSONTyped = ProductLinkAllOfFromJSONTyped;
|
|
33
|
-
function ProductLinkAllOfToJSON(value) {
|
|
34
|
-
if (value === undefined) {
|
|
35
|
-
return undefined;
|
|
36
|
-
}
|
|
37
|
-
if (value === null) {
|
|
38
|
-
return null;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'id': value.id,
|
|
42
|
-
'name': value.name,
|
|
43
|
-
'barcodes': (0, Barcodes_1.BarcodesToJSON)(value.barcodes),
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
exports.ProductLinkAllOfToJSON = ProductLinkAllOfToJSON;
|
|
@@ -1,22 +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
|
-
import { DistributionMode } from './DistributionMode';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface QuotationDistributionMode
|
|
17
|
-
*/
|
|
18
|
-
export interface QuotationDistributionMode extends DistributionMode {
|
|
19
|
-
}
|
|
20
|
-
export declare function QuotationDistributionModeFromJSON(json: any): QuotationDistributionMode;
|
|
21
|
-
export declare function QuotationDistributionModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): QuotationDistributionMode;
|
|
22
|
-
export declare function QuotationDistributionModeToJSON(value?: QuotationDistributionMode | null): any;
|
|
@@ -1,28 +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.QuotationDistributionModeToJSON = exports.QuotationDistributionModeFromJSONTyped = exports.QuotationDistributionModeFromJSON = void 0;
|
|
17
|
-
function QuotationDistributionModeFromJSON(json) {
|
|
18
|
-
return QuotationDistributionModeFromJSONTyped(json, false);
|
|
19
|
-
}
|
|
20
|
-
exports.QuotationDistributionModeFromJSON = QuotationDistributionModeFromJSON;
|
|
21
|
-
function QuotationDistributionModeFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
-
return json;
|
|
23
|
-
}
|
|
24
|
-
exports.QuotationDistributionModeFromJSONTyped = QuotationDistributionModeFromJSONTyped;
|
|
25
|
-
function QuotationDistributionModeToJSON(value) {
|
|
26
|
-
return value;
|
|
27
|
-
}
|
|
28
|
-
exports.QuotationDistributionModeToJSON = QuotationDistributionModeToJSON;
|
|
@@ -1,54 +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
|
-
import { AnyIdentifiedDistributionMode } from './AnyIdentifiedDistributionMode';
|
|
13
|
-
import { HttpLink } from './HttpLink';
|
|
14
|
-
import { Stock } from './Stock';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface SaleOfferLink
|
|
19
|
-
*/
|
|
20
|
-
export interface SaleOfferLink extends HttpLink {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof SaleOfferLink
|
|
25
|
-
*/
|
|
26
|
-
reference: string;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {AnyIdentifiedDistributionMode}
|
|
30
|
-
* @memberof SaleOfferLink
|
|
31
|
-
*/
|
|
32
|
-
distributionMode: AnyIdentifiedDistributionMode;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {Stock}
|
|
36
|
-
* @memberof SaleOfferLink
|
|
37
|
-
*/
|
|
38
|
-
stock: Stock;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {number}
|
|
42
|
-
* @memberof SaleOfferLink
|
|
43
|
-
*/
|
|
44
|
-
minimalQuantity: number;
|
|
45
|
-
/**
|
|
46
|
-
* Best Rebate for this sale offer
|
|
47
|
-
* @type {number}
|
|
48
|
-
* @memberof SaleOfferLink
|
|
49
|
-
*/
|
|
50
|
-
bestRebate?: number;
|
|
51
|
-
}
|
|
52
|
-
export declare function SaleOfferLinkFromJSON(json: any): SaleOfferLink;
|
|
53
|
-
export declare function SaleOfferLinkFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaleOfferLink;
|
|
54
|
-
export declare function SaleOfferLinkToJSON(value?: SaleOfferLink | null): any;
|
|
@@ -1,52 +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
|
-
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
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
exports.SaleOfferLinkToJSON = exports.SaleOfferLinkFromJSONTyped = exports.SaleOfferLinkFromJSON = void 0;
|
|
28
|
-
var runtime_1 = require("../runtime");
|
|
29
|
-
var AnyIdentifiedDistributionMode_1 = require("./AnyIdentifiedDistributionMode");
|
|
30
|
-
var HttpLink_1 = require("./HttpLink");
|
|
31
|
-
var Stock_1 = require("./Stock");
|
|
32
|
-
function SaleOfferLinkFromJSON(json) {
|
|
33
|
-
return SaleOfferLinkFromJSONTyped(json, false);
|
|
34
|
-
}
|
|
35
|
-
exports.SaleOfferLinkFromJSON = SaleOfferLinkFromJSON;
|
|
36
|
-
function SaleOfferLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if ((json === undefined) || (json === null)) {
|
|
38
|
-
return json;
|
|
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']), 'minimalQuantity': json['minimalQuantity'], 'bestRebate': !(0, runtime_1.exists)(json, 'bestRebate') ? undefined : json['bestRebate'] });
|
|
41
|
-
}
|
|
42
|
-
exports.SaleOfferLinkFromJSONTyped = SaleOfferLinkFromJSONTyped;
|
|
43
|
-
function SaleOfferLinkToJSON(value) {
|
|
44
|
-
if (value === undefined) {
|
|
45
|
-
return undefined;
|
|
46
|
-
}
|
|
47
|
-
if (value === null) {
|
|
48
|
-
return null;
|
|
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), 'minimalQuantity': value.minimalQuantity, 'bestRebate': value.bestRebate });
|
|
51
|
-
}
|
|
52
|
-
exports.SaleOfferLinkToJSON = SaleOfferLinkToJSON;
|
|
@@ -1,53 +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
|
-
import { AnyIdentifiedDistributionMode } from './AnyIdentifiedDistributionMode';
|
|
13
|
-
import { Stock } from './Stock';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface SaleOfferLinkAllOf
|
|
18
|
-
*/
|
|
19
|
-
export interface SaleOfferLinkAllOf {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof SaleOfferLinkAllOf
|
|
24
|
-
*/
|
|
25
|
-
reference: string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {AnyIdentifiedDistributionMode}
|
|
29
|
-
* @memberof SaleOfferLinkAllOf
|
|
30
|
-
*/
|
|
31
|
-
distributionMode: AnyIdentifiedDistributionMode;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {Stock}
|
|
35
|
-
* @memberof SaleOfferLinkAllOf
|
|
36
|
-
*/
|
|
37
|
-
stock: Stock;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {number}
|
|
41
|
-
* @memberof SaleOfferLinkAllOf
|
|
42
|
-
*/
|
|
43
|
-
minimalQuantity: number;
|
|
44
|
-
/**
|
|
45
|
-
* Best Rebate for this sale offer
|
|
46
|
-
* @type {number}
|
|
47
|
-
* @memberof SaleOfferLinkAllOf
|
|
48
|
-
*/
|
|
49
|
-
bestRebate?: number;
|
|
50
|
-
}
|
|
51
|
-
export declare function SaleOfferLinkAllOfFromJSON(json: any): SaleOfferLinkAllOf;
|
|
52
|
-
export declare function SaleOfferLinkAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaleOfferLinkAllOf;
|
|
53
|
-
export declare function SaleOfferLinkAllOfToJSON(value?: SaleOfferLinkAllOf | null): any;
|