@lcdp/api-react-rest-client 2.1.4-develop.5092298481 → 2.1.4-test-order-by.4883611692
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/auth/src/models/RestError.d.ts +3 -3
- package/auth/src/models/RestError.js +1 -1
- package/banking-operation/src/models/OrderPaymentWallets.d.ts +2 -2
- package/configuration/src/models/RestError.d.ts +3 -3
- package/configuration/src/models/RestError.js +1 -1
- package/content/src/models/RestError.d.ts +3 -3
- package/content/src/models/RestError.js +1 -1
- package/favorite/src/models/RestError.d.ts +3 -3
- package/favorite/src/models/RestError.js +1 -1
- package/inventory/src/models/RestError.d.ts +3 -3
- package/inventory/src/models/RestError.js +1 -1
- package/invoice/src/models/Invoice.d.ts +2 -2
- package/invoice/src/models/RestError.d.ts +3 -3
- package/invoice/src/models/RestError.js +1 -1
- package/laboratory-store/src/models/RestError.d.ts +3 -3
- package/laboratory-store/src/models/RestError.js +1 -1
- package/lexicon/src/models/RestError.d.ts +3 -3
- package/lexicon/src/models/RestError.js +1 -1
- package/litigation/src/models/RestError.d.ts +3 -3
- package/litigation/src/models/RestError.js +1 -1
- package/magic-cart/src/models/ProductLink.d.ts +0 -7
- package/magic-cart/src/models/ProductLink.js +2 -3
- package/magic-cart/src/models/ProductLinkAllOf.d.ts +0 -7
- package/magic-cart/src/models/ProductLinkAllOf.js +0 -3
- package/magic-cart/src/models/index.d.ts +0 -1
- package/magic-cart/src/models/index.js +0 -1
- package/mangopay-hook/src/models/RestError.d.ts +3 -3
- package/mangopay-hook/src/models/RestError.js +1 -1
- package/notification/src/models/RestError.d.ts +3 -3
- package/notification/src/models/RestError.js +1 -1
- package/order/src/models/Order.d.ts +0 -14
- package/order/src/models/Order.js +0 -6
- package/order/src/models/ProductLink.d.ts +0 -7
- package/order/src/models/ProductLink.js +2 -3
- package/order/src/models/ProductLinkAllOf.d.ts +0 -7
- package/order/src/models/ProductLinkAllOf.js +0 -3
- package/order/src/models/RestError.d.ts +3 -3
- package/order/src/models/RestError.js +1 -1
- package/order/src/models/index.d.ts +0 -3
- package/order/src/models/index.js +0 -3
- package/package.json +1 -1
- package/product/src/models/Product.d.ts +2 -3
- package/product/src/models/Product.js +2 -3
- package/product/src/models/ProductCreationOrUpdateParameters.d.ts +2 -3
- package/product/src/models/ProductCreationOrUpdateParameters.js +2 -3
- package/product/src/models/RestError.d.ts +3 -3
- package/product/src/models/RestError.js +1 -1
- package/product/src/models/index.d.ts +0 -1
- package/product/src/models/index.js +0 -1
- package/pub/src/models/RestError.d.ts +3 -3
- package/pub/src/models/RestError.js +1 -1
- package/recommendation/src/models/FavoriteProductRecommendation.d.ts +2 -2
- package/recommendation/src/models/ProductRecommendation.d.ts +2 -2
- package/rfx/src/models/RestError.d.ts +3 -3
- package/rfx/src/models/RestError.js +1 -1
- package/servant/src/models/RestError.d.ts +3 -3
- package/servant/src/models/RestError.js +1 -1
- package/shipment/src/models/RestError.d.ts +3 -3
- package/shipment/src/models/RestError.js +1 -1
- package/shopping-cart/src/models/ProductLink.d.ts +4 -11
- package/shopping-cart/src/models/ProductLink.js +3 -3
- package/shopping-cart/src/models/ProductLinkAllOf.d.ts +4 -11
- package/shopping-cart/src/models/ProductLinkAllOf.js +5 -7
- package/shopping-cart/src/models/RestError.d.ts +3 -3
- package/shopping-cart/src/models/RestError.js +1 -1
- package/shopping-cart/src/models/index.d.ts +0 -1
- package/shopping-cart/src/models/index.js +0 -1
- package/statistic/src/models/RestError.d.ts +3 -3
- package/statistic/src/models/RestError.js +1 -1
- package/subscription/src/models/RestError.d.ts +3 -3
- package/subscription/src/models/RestError.js +1 -1
- package/ubo/src/models/RestError.d.ts +3 -3
- package/ubo/src/models/RestError.js +1 -1
- package/user/src/models/RestError.d.ts +3 -3
- package/user/src/models/RestError.js +1 -1
- package/wish/src/models/RestError.d.ts +3 -3
- package/wish/src/models/RestError.js +1 -1
- package/magic-cart/src/models/ProductStorageType.d.ts +0 -25
- package/magic-cart/src/models/ProductStorageType.js +0 -40
- package/order/src/models/OrderJournal.d.ts +0 -27
- package/order/src/models/OrderJournal.js +0 -41
- package/order/src/models/OrderStorageType.d.ts +0 -25
- package/order/src/models/OrderStorageType.js +0 -40
- package/order/src/models/ProductStorageType.d.ts +0 -25
- package/order/src/models/ProductStorageType.js +0 -40
- package/product/src/models/ProductStorageType.d.ts +0 -25
- package/product/src/models/ProductStorageType.js +0 -40
- package/sale-offer/index.d.ts +0 -1
- package/sale-offer/index.js +0 -17
- package/sale-offer/src/apis/ManageSaleOfferApi.d.ts +0 -74
- package/sale-offer/src/apis/ManageSaleOfferApi.js +0 -371
- package/sale-offer/src/apis/ManageSaleOfferStatusApi.d.ts +0 -32
- package/sale-offer/src/apis/ManageSaleOfferStatusApi.js +0 -160
- package/sale-offer/src/apis/SearchSaleOfferApi.d.ts +0 -105
- package/sale-offer/src/apis/SearchSaleOfferApi.js +0 -333
- package/sale-offer/src/apis/index.d.ts +0 -3
- package/sale-offer/src/apis/index.js +0 -19
- package/sale-offer/src/index.d.ts +0 -3
- package/sale-offer/src/index.js +0 -19
- package/sale-offer/src/models/AnyDistributionMode.d.ts +0 -28
- package/sale-offer/src/models/AnyDistributionMode.js +0 -69
- package/sale-offer/src/models/AnyIdentifiedDistributionMode.d.ts +0 -28
- package/sale-offer/src/models/AnyIdentifiedDistributionMode.js +0 -69
- package/sale-offer/src/models/Barcodes.d.ts +0 -45
- package/sale-offer/src/models/Barcodes.js +0 -48
- package/sale-offer/src/models/DistributionMode.d.ts +0 -39
- package/sale-offer/src/models/DistributionMode.js +0 -45
- package/sale-offer/src/models/DistributionRange.d.ts +0 -39
- package/sale-offer/src/models/DistributionRange.js +0 -45
- package/sale-offer/src/models/HttpLink.d.ts +0 -27
- package/sale-offer/src/models/HttpLink.js +0 -41
- package/sale-offer/src/models/IdentifiedDistributionRange.d.ts +0 -34
- package/sale-offer/src/models/IdentifiedDistributionRange.js +0 -49
- package/sale-offer/src/models/IdentifiedDistributionRangeAllOf.d.ts +0 -33
- package/sale-offer/src/models/IdentifiedDistributionRangeAllOf.js +0 -43
- package/sale-offer/src/models/IdentifiedRangeDistributionMode.d.ts +0 -29
- package/sale-offer/src/models/IdentifiedRangeDistributionMode.js +0 -50
- package/sale-offer/src/models/IdentifiedRangeDistributionModeAllOf.d.ts +0 -28
- package/sale-offer/src/models/IdentifiedRangeDistributionModeAllOf.js +0 -42
- package/sale-offer/src/models/ImageVersions.d.ts +0 -57
- package/sale-offer/src/models/ImageVersions.js +0 -52
- package/sale-offer/src/models/Images.d.ts +0 -40
- package/sale-offer/src/models/Images.js +0 -47
- package/sale-offer/src/models/OwnerLink.d.ts +0 -41
- package/sale-offer/src/models/OwnerLink.js +0 -51
- package/sale-offer/src/models/OwnerLinkAllOf.d.ts +0 -40
- package/sale-offer/src/models/OwnerLinkAllOf.js +0 -47
- package/sale-offer/src/models/OwnerLinkAllOfCompany.d.ts +0 -27
- package/sale-offer/src/models/OwnerLinkAllOfCompany.js +0 -42
- package/sale-offer/src/models/PaginatedObject.d.ts +0 -28
- package/sale-offer/src/models/PaginatedObject.js +0 -42
- package/sale-offer/src/models/PaginatedSaleOffers.d.ts +0 -29
- package/sale-offer/src/models/PaginatedSaleOffers.js +0 -50
- package/sale-offer/src/models/PaginatedSaleOffersAllOf.d.ts +0 -28
- package/sale-offer/src/models/PaginatedSaleOffersAllOf.js +0 -42
- package/sale-offer/src/models/PagingMetadata.d.ts +0 -45
- package/sale-offer/src/models/PagingMetadata.js +0 -47
- package/sale-offer/src/models/ProductImageLink.d.ts +0 -35
- package/sale-offer/src/models/ProductImageLink.js +0 -51
- package/sale-offer/src/models/ProductImageLinkAllOf.d.ts +0 -34
- package/sale-offer/src/models/ProductImageLinkAllOf.js +0 -45
- package/sale-offer/src/models/ProductLink.d.ts +0 -41
- package/sale-offer/src/models/ProductLink.js +0 -51
- package/sale-offer/src/models/ProductLinkAllOf.d.ts +0 -40
- package/sale-offer/src/models/ProductLinkAllOf.js +0 -47
- package/sale-offer/src/models/QuotationDistributionMode.d.ts +0 -28
- package/sale-offer/src/models/QuotationDistributionMode.js +0 -49
- package/sale-offer/src/models/QuotationDistributionModeAllOf.d.ts +0 -27
- package/sale-offer/src/models/QuotationDistributionModeAllOf.js +0 -41
- package/sale-offer/src/models/RangeDistributionMode.d.ts +0 -29
- package/sale-offer/src/models/RangeDistributionMode.js +0 -50
- package/sale-offer/src/models/RangeDistributionModeAllOf.d.ts +0 -28
- package/sale-offer/src/models/RangeDistributionModeAllOf.js +0 -42
- package/sale-offer/src/models/RestError.d.ts +0 -85
- package/sale-offer/src/models/RestError.js +0 -97
- package/sale-offer/src/models/SaleOffer.d.ts +0 -125
- package/sale-offer/src/models/SaleOffer.js +0 -80
- package/sale-offer/src/models/SaleOfferCreationImagesParameters.d.ts +0 -39
- package/sale-offer/src/models/SaleOfferCreationImagesParameters.js +0 -46
- package/sale-offer/src/models/SaleOfferCreationParameters.d.ts +0 -72
- package/sale-offer/src/models/SaleOfferCreationParameters.js +0 -59
- package/sale-offer/src/models/SaleOfferJournal.d.ts +0 -27
- package/sale-offer/src/models/SaleOfferJournal.js +0 -42
- package/sale-offer/src/models/SaleOfferNewVersionParameters.d.ts +0 -54
- package/sale-offer/src/models/SaleOfferNewVersionParameters.js +0 -53
- package/sale-offer/src/models/SaleOfferStatisticLink.d.ts +0 -34
- package/sale-offer/src/models/SaleOfferStatisticLink.js +0 -50
- package/sale-offer/src/models/SaleOfferStatisticLinkAllOf.d.ts +0 -33
- package/sale-offer/src/models/SaleOfferStatisticLinkAllOf.js +0 -44
- package/sale-offer/src/models/SaleOfferStatus.d.ts +0 -28
- package/sale-offer/src/models/SaleOfferStatus.js +0 -43
- package/sale-offer/src/models/Stock.d.ts +0 -39
- package/sale-offer/src/models/Stock.js +0 -46
- package/sale-offer/src/models/UnitaryDistributionMode.d.ts +0 -34
- package/sale-offer/src/models/UnitaryDistributionMode.js +0 -49
- package/sale-offer/src/models/UnitaryDistributionModeAllOf.d.ts +0 -33
- package/sale-offer/src/models/UnitaryDistributionModeAllOf.js +0 -43
- package/sale-offer/src/models/index.d.ts +0 -39
- package/sale-offer/src/models/index.js +0 -55
- package/sale-offer/src/runtime.d.ts +0 -149
- package/sale-offer/src/runtime.js +0 -480
- package/shopping-cart/src/models/ProductStorageType.d.ts +0 -25
- package/shopping-cart/src/models/ProductStorageType.js +0 -40
|
@@ -1,39 +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
|
-
* Tagged images for a sale offer
|
|
14
|
-
* @export
|
|
15
|
-
* @interface SaleOfferCreationImagesParameters
|
|
16
|
-
*/
|
|
17
|
-
export interface SaleOfferCreationImagesParameters {
|
|
18
|
-
/**
|
|
19
|
-
* Image id to display as sale offer first photo
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof SaleOfferCreationImagesParameters
|
|
22
|
-
*/
|
|
23
|
-
first?: number | null;
|
|
24
|
-
/**
|
|
25
|
-
* Image id to display as sale offer secondary photo
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof SaleOfferCreationImagesParameters
|
|
28
|
-
*/
|
|
29
|
-
second?: number | null;
|
|
30
|
-
/**
|
|
31
|
-
* Image id to display as sale offer third photo
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof SaleOfferCreationImagesParameters
|
|
34
|
-
*/
|
|
35
|
-
third?: number | null;
|
|
36
|
-
}
|
|
37
|
-
export declare function SaleOfferCreationImagesParametersFromJSON(json: any): SaleOfferCreationImagesParameters;
|
|
38
|
-
export declare function SaleOfferCreationImagesParametersFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaleOfferCreationImagesParameters;
|
|
39
|
-
export declare function SaleOfferCreationImagesParametersToJSON(value?: SaleOfferCreationImagesParameters | null): any;
|
|
@@ -1,46 +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.SaleOfferCreationImagesParametersToJSON = exports.SaleOfferCreationImagesParametersFromJSONTyped = exports.SaleOfferCreationImagesParametersFromJSON = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
function SaleOfferCreationImagesParametersFromJSON(json) {
|
|
19
|
-
return SaleOfferCreationImagesParametersFromJSONTyped(json, false);
|
|
20
|
-
}
|
|
21
|
-
exports.SaleOfferCreationImagesParametersFromJSON = SaleOfferCreationImagesParametersFromJSON;
|
|
22
|
-
function SaleOfferCreationImagesParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
-
if ((json === undefined) || (json === null)) {
|
|
24
|
-
return json;
|
|
25
|
-
}
|
|
26
|
-
return {
|
|
27
|
-
'first': !(0, runtime_1.exists)(json, 'first') ? json['first'] : json['first'],
|
|
28
|
-
'second': !(0, runtime_1.exists)(json, 'second') ? json['second'] : json['second'],
|
|
29
|
-
'third': !(0, runtime_1.exists)(json, 'third') ? json['third'] : json['third'],
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
exports.SaleOfferCreationImagesParametersFromJSONTyped = SaleOfferCreationImagesParametersFromJSONTyped;
|
|
33
|
-
function SaleOfferCreationImagesParametersToJSON(value) {
|
|
34
|
-
if (value === undefined) {
|
|
35
|
-
return undefined;
|
|
36
|
-
}
|
|
37
|
-
if (value === null) {
|
|
38
|
-
return null;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'first': value.first,
|
|
42
|
-
'second': value.second,
|
|
43
|
-
'third': value.third,
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
exports.SaleOfferCreationImagesParametersToJSON = SaleOfferCreationImagesParametersToJSON;
|
|
@@ -1,72 +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
|
-
import { AnyDistributionMode } from './AnyDistributionMode';
|
|
13
|
-
import { SaleOfferCreationImagesParameters } from './SaleOfferCreationImagesParameters';
|
|
14
|
-
import { Stock } from './Stock';
|
|
15
|
-
/**
|
|
16
|
-
* All these fields are required for ad creation from scratch but optional when copying from an existing ad
|
|
17
|
-
* @export
|
|
18
|
-
* @interface SaleOfferCreationParameters
|
|
19
|
-
*/
|
|
20
|
-
export interface SaleOfferCreationParameters {
|
|
21
|
-
/**
|
|
22
|
-
* Owner of the sale offer
|
|
23
|
-
* @type {number}
|
|
24
|
-
* @memberof SaleOfferCreationParameters
|
|
25
|
-
*/
|
|
26
|
-
ownerId?: number;
|
|
27
|
-
/**
|
|
28
|
-
* Id of the product to create ad on.
|
|
29
|
-
* @type {number}
|
|
30
|
-
* @memberof SaleOfferCreationParameters
|
|
31
|
-
*/
|
|
32
|
-
productId?: number;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {Stock}
|
|
36
|
-
* @memberof SaleOfferCreationParameters
|
|
37
|
-
*/
|
|
38
|
-
stock?: Stock;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {AnyDistributionMode}
|
|
42
|
-
* @memberof SaleOfferCreationParameters
|
|
43
|
-
*/
|
|
44
|
-
distributionMode?: AnyDistributionMode | null;
|
|
45
|
-
/**
|
|
46
|
-
* Free text to describe this ad
|
|
47
|
-
* @type {string}
|
|
48
|
-
* @memberof SaleOfferCreationParameters
|
|
49
|
-
*/
|
|
50
|
-
description?: string | null;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @type {SaleOfferCreationImagesParameters}
|
|
54
|
-
* @memberof SaleOfferCreationParameters
|
|
55
|
-
*/
|
|
56
|
-
images?: SaleOfferCreationImagesParameters;
|
|
57
|
-
/**
|
|
58
|
-
* Rank of this ad. Only useful for laboratories ad yet
|
|
59
|
-
* @type {number}
|
|
60
|
-
* @memberof SaleOfferCreationParameters
|
|
61
|
-
*/
|
|
62
|
-
rank?: number | null;
|
|
63
|
-
/**
|
|
64
|
-
* Labels of the sale offer
|
|
65
|
-
* @type {Array<string>}
|
|
66
|
-
* @memberof SaleOfferCreationParameters
|
|
67
|
-
*/
|
|
68
|
-
tags?: Array<string>;
|
|
69
|
-
}
|
|
70
|
-
export declare function SaleOfferCreationParametersFromJSON(json: any): SaleOfferCreationParameters;
|
|
71
|
-
export declare function SaleOfferCreationParametersFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaleOfferCreationParameters;
|
|
72
|
-
export declare function SaleOfferCreationParametersToJSON(value?: SaleOfferCreationParameters | null): any;
|
|
@@ -1,59 +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.SaleOfferCreationParametersToJSON = exports.SaleOfferCreationParametersFromJSONTyped = exports.SaleOfferCreationParametersFromJSON = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
var AnyDistributionMode_1 = require("./AnyDistributionMode");
|
|
19
|
-
var SaleOfferCreationImagesParameters_1 = require("./SaleOfferCreationImagesParameters");
|
|
20
|
-
var Stock_1 = require("./Stock");
|
|
21
|
-
function SaleOfferCreationParametersFromJSON(json) {
|
|
22
|
-
return SaleOfferCreationParametersFromJSONTyped(json, false);
|
|
23
|
-
}
|
|
24
|
-
exports.SaleOfferCreationParametersFromJSON = SaleOfferCreationParametersFromJSON;
|
|
25
|
-
function SaleOfferCreationParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
-
if ((json === undefined) || (json === null)) {
|
|
27
|
-
return json;
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
'ownerId': !(0, runtime_1.exists)(json, 'ownerId') ? undefined : json['ownerId'],
|
|
31
|
-
'productId': !(0, runtime_1.exists)(json, 'productId') ? undefined : json['productId'],
|
|
32
|
-
'stock': !(0, runtime_1.exists)(json, 'stock') ? undefined : (0, Stock_1.StockFromJSON)(json['stock']),
|
|
33
|
-
'distributionMode': !(0, runtime_1.exists)(json, 'distributionMode') ? json['distributionMode'] : (0, AnyDistributionMode_1.AnyDistributionModeFromJSON)(json['distributionMode']),
|
|
34
|
-
'description': !(0, runtime_1.exists)(json, 'description') ? json['description'] : json['description'],
|
|
35
|
-
'images': !(0, runtime_1.exists)(json, 'images') ? undefined : (0, SaleOfferCreationImagesParameters_1.SaleOfferCreationImagesParametersFromJSON)(json['images']),
|
|
36
|
-
'rank': !(0, runtime_1.exists)(json, 'rank') ? json['rank'] : json['rank'],
|
|
37
|
-
'tags': !(0, runtime_1.exists)(json, 'tags') ? undefined : json['tags'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
exports.SaleOfferCreationParametersFromJSONTyped = SaleOfferCreationParametersFromJSONTyped;
|
|
41
|
-
function SaleOfferCreationParametersToJSON(value) {
|
|
42
|
-
if (value === undefined) {
|
|
43
|
-
return undefined;
|
|
44
|
-
}
|
|
45
|
-
if (value === null) {
|
|
46
|
-
return null;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'ownerId': value.ownerId,
|
|
50
|
-
'productId': value.productId,
|
|
51
|
-
'stock': (0, Stock_1.StockToJSON)(value.stock),
|
|
52
|
-
'distributionMode': (0, AnyDistributionMode_1.AnyDistributionModeToJSON)(value.distributionMode),
|
|
53
|
-
'description': value.description,
|
|
54
|
-
'images': (0, SaleOfferCreationImagesParameters_1.SaleOfferCreationImagesParametersToJSON)(value.images),
|
|
55
|
-
'rank': value.rank,
|
|
56
|
-
'tags': value.tags,
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
exports.SaleOfferCreationParametersToJSON = SaleOfferCreationParametersToJSON;
|
|
@@ -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
|
-
* Journal of the sale offer
|
|
14
|
-
* @export
|
|
15
|
-
* @interface SaleOfferJournal
|
|
16
|
-
*/
|
|
17
|
-
export interface SaleOfferJournal {
|
|
18
|
-
/**
|
|
19
|
-
* Date of the updated status (RFC 3339, section 5.6)
|
|
20
|
-
* @type {Date}
|
|
21
|
-
* @memberof SaleOfferJournal
|
|
22
|
-
*/
|
|
23
|
-
statusUpdatedAt?: Date;
|
|
24
|
-
}
|
|
25
|
-
export declare function SaleOfferJournalFromJSON(json: any): SaleOfferJournal;
|
|
26
|
-
export declare function SaleOfferJournalFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaleOfferJournal;
|
|
27
|
-
export declare function SaleOfferJournalToJSON(value?: SaleOfferJournal | null): any;
|
|
@@ -1,42 +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.SaleOfferJournalToJSON = exports.SaleOfferJournalFromJSONTyped = exports.SaleOfferJournalFromJSON = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
function SaleOfferJournalFromJSON(json) {
|
|
19
|
-
return SaleOfferJournalFromJSONTyped(json, false);
|
|
20
|
-
}
|
|
21
|
-
exports.SaleOfferJournalFromJSON = SaleOfferJournalFromJSON;
|
|
22
|
-
function SaleOfferJournalFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
-
if ((json === undefined) || (json === null)) {
|
|
24
|
-
return json;
|
|
25
|
-
}
|
|
26
|
-
return {
|
|
27
|
-
'statusUpdatedAt': !(0, runtime_1.exists)(json, 'statusUpdatedAt') ? undefined : (new Date(json['statusUpdatedAt'])),
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
exports.SaleOfferJournalFromJSONTyped = SaleOfferJournalFromJSONTyped;
|
|
31
|
-
function SaleOfferJournalToJSON(value) {
|
|
32
|
-
if (value === undefined) {
|
|
33
|
-
return undefined;
|
|
34
|
-
}
|
|
35
|
-
if (value === null) {
|
|
36
|
-
return null;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'statusUpdatedAt': value.statusUpdatedAt === undefined ? undefined : (value.statusUpdatedAt.toISOString()),
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
exports.SaleOfferJournalToJSON = SaleOfferJournalToJSON;
|
|
@@ -1,54 +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
|
-
import { AnyDistributionMode } from './AnyDistributionMode';
|
|
13
|
-
import { SaleOfferCreationImagesParameters } from './SaleOfferCreationImagesParameters';
|
|
14
|
-
import { Stock } from './Stock';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface SaleOfferNewVersionParameters
|
|
19
|
-
*/
|
|
20
|
-
export interface SaleOfferNewVersionParameters {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {Stock}
|
|
24
|
-
* @memberof SaleOfferNewVersionParameters
|
|
25
|
-
*/
|
|
26
|
-
stock?: Stock;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {AnyDistributionMode}
|
|
30
|
-
* @memberof SaleOfferNewVersionParameters
|
|
31
|
-
*/
|
|
32
|
-
distributionMode?: AnyDistributionMode | null;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {SaleOfferCreationImagesParameters}
|
|
36
|
-
* @memberof SaleOfferNewVersionParameters
|
|
37
|
-
*/
|
|
38
|
-
images?: SaleOfferCreationImagesParameters;
|
|
39
|
-
/**
|
|
40
|
-
* Free text to describe this ad
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof SaleOfferNewVersionParameters
|
|
43
|
-
*/
|
|
44
|
-
description?: string | null;
|
|
45
|
-
/**
|
|
46
|
-
* Rank of this ad. Only useful for laboratories ad yet
|
|
47
|
-
* @type {number}
|
|
48
|
-
* @memberof SaleOfferNewVersionParameters
|
|
49
|
-
*/
|
|
50
|
-
rank?: number | null;
|
|
51
|
-
}
|
|
52
|
-
export declare function SaleOfferNewVersionParametersFromJSON(json: any): SaleOfferNewVersionParameters;
|
|
53
|
-
export declare function SaleOfferNewVersionParametersFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaleOfferNewVersionParameters;
|
|
54
|
-
export declare function SaleOfferNewVersionParametersToJSON(value?: SaleOfferNewVersionParameters | null): any;
|
|
@@ -1,53 +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.SaleOfferNewVersionParametersToJSON = exports.SaleOfferNewVersionParametersFromJSONTyped = exports.SaleOfferNewVersionParametersFromJSON = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
var AnyDistributionMode_1 = require("./AnyDistributionMode");
|
|
19
|
-
var SaleOfferCreationImagesParameters_1 = require("./SaleOfferCreationImagesParameters");
|
|
20
|
-
var Stock_1 = require("./Stock");
|
|
21
|
-
function SaleOfferNewVersionParametersFromJSON(json) {
|
|
22
|
-
return SaleOfferNewVersionParametersFromJSONTyped(json, false);
|
|
23
|
-
}
|
|
24
|
-
exports.SaleOfferNewVersionParametersFromJSON = SaleOfferNewVersionParametersFromJSON;
|
|
25
|
-
function SaleOfferNewVersionParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
-
if ((json === undefined) || (json === null)) {
|
|
27
|
-
return json;
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
'stock': !(0, runtime_1.exists)(json, 'stock') ? undefined : (0, Stock_1.StockFromJSON)(json['stock']),
|
|
31
|
-
'distributionMode': !(0, runtime_1.exists)(json, 'distributionMode') ? json['distributionMode'] : (0, AnyDistributionMode_1.AnyDistributionModeFromJSON)(json['distributionMode']),
|
|
32
|
-
'images': !(0, runtime_1.exists)(json, 'images') ? undefined : (0, SaleOfferCreationImagesParameters_1.SaleOfferCreationImagesParametersFromJSON)(json['images']),
|
|
33
|
-
'description': !(0, runtime_1.exists)(json, 'description') ? json['description'] : json['description'],
|
|
34
|
-
'rank': !(0, runtime_1.exists)(json, 'rank') ? json['rank'] : json['rank'],
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
exports.SaleOfferNewVersionParametersFromJSONTyped = SaleOfferNewVersionParametersFromJSONTyped;
|
|
38
|
-
function SaleOfferNewVersionParametersToJSON(value) {
|
|
39
|
-
if (value === undefined) {
|
|
40
|
-
return undefined;
|
|
41
|
-
}
|
|
42
|
-
if (value === null) {
|
|
43
|
-
return null;
|
|
44
|
-
}
|
|
45
|
-
return {
|
|
46
|
-
'stock': (0, Stock_1.StockToJSON)(value.stock),
|
|
47
|
-
'distributionMode': (0, AnyDistributionMode_1.AnyDistributionModeToJSON)(value.distributionMode),
|
|
48
|
-
'images': (0, SaleOfferCreationImagesParameters_1.SaleOfferCreationImagesParametersToJSON)(value.images),
|
|
49
|
-
'description': value.description,
|
|
50
|
-
'rank': value.rank,
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
exports.SaleOfferNewVersionParametersToJSON = SaleOfferNewVersionParametersToJSON;
|
|
@@ -1,34 +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
|
-
import { HttpLink } from './HttpLink';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface SaleOfferStatisticLink
|
|
17
|
-
*/
|
|
18
|
-
export interface SaleOfferStatisticLink extends HttpLink {
|
|
19
|
-
/**
|
|
20
|
-
* Date of the last sale which occurred for this sale offer
|
|
21
|
-
* @type {Date}
|
|
22
|
-
* @memberof SaleOfferStatisticLink
|
|
23
|
-
*/
|
|
24
|
-
lastSaleDate?: Date;
|
|
25
|
-
/**
|
|
26
|
-
* Number of sale during lifespan of this sale offer
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof SaleOfferStatisticLink
|
|
29
|
-
*/
|
|
30
|
-
numberOfSales?: number;
|
|
31
|
-
}
|
|
32
|
-
export declare function SaleOfferStatisticLinkFromJSON(json: any): SaleOfferStatisticLink;
|
|
33
|
-
export declare function SaleOfferStatisticLinkFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaleOfferStatisticLink;
|
|
34
|
-
export declare function SaleOfferStatisticLinkToJSON(value?: SaleOfferStatisticLink | null): any;
|
|
@@ -1,50 +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
|
-
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.SaleOfferStatisticLinkToJSON = exports.SaleOfferStatisticLinkFromJSONTyped = exports.SaleOfferStatisticLinkFromJSON = void 0;
|
|
28
|
-
var runtime_1 = require("../runtime");
|
|
29
|
-
var HttpLink_1 = require("./HttpLink");
|
|
30
|
-
function SaleOfferStatisticLinkFromJSON(json) {
|
|
31
|
-
return SaleOfferStatisticLinkFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
exports.SaleOfferStatisticLinkFromJSON = SaleOfferStatisticLinkFromJSON;
|
|
34
|
-
function SaleOfferStatisticLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if ((json === undefined) || (json === null)) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return __assign(__assign({}, (0, HttpLink_1.HttpLinkFromJSONTyped)(json, ignoreDiscriminator)), { 'lastSaleDate': !(0, runtime_1.exists)(json, 'lastSaleDate') ? undefined : (new Date(json['lastSaleDate'])), 'numberOfSales': !(0, runtime_1.exists)(json, 'numberOfSales') ? undefined : json['numberOfSales'] });
|
|
39
|
-
}
|
|
40
|
-
exports.SaleOfferStatisticLinkFromJSONTyped = SaleOfferStatisticLinkFromJSONTyped;
|
|
41
|
-
function SaleOfferStatisticLinkToJSON(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)), { 'lastSaleDate': value.lastSaleDate === undefined ? undefined : (value.lastSaleDate.toISOString()), 'numberOfSales': value.numberOfSales });
|
|
49
|
-
}
|
|
50
|
-
exports.SaleOfferStatisticLinkToJSON = SaleOfferStatisticLinkToJSON;
|
|
@@ -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 SaleOfferStatisticLinkAllOf
|
|
16
|
-
*/
|
|
17
|
-
export interface SaleOfferStatisticLinkAllOf {
|
|
18
|
-
/**
|
|
19
|
-
* Date of the last sale which occurred for this sale offer
|
|
20
|
-
* @type {Date}
|
|
21
|
-
* @memberof SaleOfferStatisticLinkAllOf
|
|
22
|
-
*/
|
|
23
|
-
lastSaleDate?: Date;
|
|
24
|
-
/**
|
|
25
|
-
* Number of sale during lifespan of this sale offer
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof SaleOfferStatisticLinkAllOf
|
|
28
|
-
*/
|
|
29
|
-
numberOfSales?: number;
|
|
30
|
-
}
|
|
31
|
-
export declare function SaleOfferStatisticLinkAllOfFromJSON(json: any): SaleOfferStatisticLinkAllOf;
|
|
32
|
-
export declare function SaleOfferStatisticLinkAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaleOfferStatisticLinkAllOf;
|
|
33
|
-
export declare function SaleOfferStatisticLinkAllOfToJSON(value?: SaleOfferStatisticLinkAllOf | null): any;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-monolith-service
|
|
6
|
-
* This is the REST API of LCDP 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.SaleOfferStatisticLinkAllOfToJSON = exports.SaleOfferStatisticLinkAllOfFromJSONTyped = exports.SaleOfferStatisticLinkAllOfFromJSON = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
function SaleOfferStatisticLinkAllOfFromJSON(json) {
|
|
19
|
-
return SaleOfferStatisticLinkAllOfFromJSONTyped(json, false);
|
|
20
|
-
}
|
|
21
|
-
exports.SaleOfferStatisticLinkAllOfFromJSON = SaleOfferStatisticLinkAllOfFromJSON;
|
|
22
|
-
function SaleOfferStatisticLinkAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
-
if ((json === undefined) || (json === null)) {
|
|
24
|
-
return json;
|
|
25
|
-
}
|
|
26
|
-
return {
|
|
27
|
-
'lastSaleDate': !(0, runtime_1.exists)(json, 'lastSaleDate') ? undefined : (new Date(json['lastSaleDate'])),
|
|
28
|
-
'numberOfSales': !(0, runtime_1.exists)(json, 'numberOfSales') ? undefined : json['numberOfSales'],
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
exports.SaleOfferStatisticLinkAllOfFromJSONTyped = SaleOfferStatisticLinkAllOfFromJSONTyped;
|
|
32
|
-
function SaleOfferStatisticLinkAllOfToJSON(value) {
|
|
33
|
-
if (value === undefined) {
|
|
34
|
-
return undefined;
|
|
35
|
-
}
|
|
36
|
-
if (value === null) {
|
|
37
|
-
return null;
|
|
38
|
-
}
|
|
39
|
-
return {
|
|
40
|
-
'lastSaleDate': value.lastSaleDate === undefined ? undefined : (value.lastSaleDate.toISOString()),
|
|
41
|
-
'numberOfSales': value.numberOfSales,
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
exports.SaleOfferStatisticLinkAllOfToJSON = SaleOfferStatisticLinkAllOfToJSON;
|
|
@@ -1,28 +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
|
-
* Sale offer status
|
|
14
|
-
* @export
|
|
15
|
-
* @enum {string}
|
|
16
|
-
*/
|
|
17
|
-
export declare enum SaleOfferStatus {
|
|
18
|
-
WAITINGFORPRODUCT = "WAITING_FOR_PRODUCT",
|
|
19
|
-
ENABLED = "ENABLED",
|
|
20
|
-
DISABLED = "DISABLED",
|
|
21
|
-
REFUSED = "REFUSED",
|
|
22
|
-
ARCHIVED = "ARCHIVED",
|
|
23
|
-
HOLIDAY = "HOLIDAY",
|
|
24
|
-
ASKINGFORINVOICE = "ASKING_FOR_INVOICE"
|
|
25
|
-
}
|
|
26
|
-
export declare function SaleOfferStatusFromJSON(json: any): SaleOfferStatus;
|
|
27
|
-
export declare function SaleOfferStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaleOfferStatus;
|
|
28
|
-
export declare function SaleOfferStatusToJSON(value?: SaleOfferStatus | 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.SaleOfferStatusToJSON = exports.SaleOfferStatusFromJSONTyped = exports.SaleOfferStatusFromJSON = exports.SaleOfferStatus = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Sale offer status
|
|
19
|
-
* @export
|
|
20
|
-
* @enum {string}
|
|
21
|
-
*/
|
|
22
|
-
var SaleOfferStatus;
|
|
23
|
-
(function (SaleOfferStatus) {
|
|
24
|
-
SaleOfferStatus["WAITINGFORPRODUCT"] = "WAITING_FOR_PRODUCT";
|
|
25
|
-
SaleOfferStatus["ENABLED"] = "ENABLED";
|
|
26
|
-
SaleOfferStatus["DISABLED"] = "DISABLED";
|
|
27
|
-
SaleOfferStatus["REFUSED"] = "REFUSED";
|
|
28
|
-
SaleOfferStatus["ARCHIVED"] = "ARCHIVED";
|
|
29
|
-
SaleOfferStatus["HOLIDAY"] = "HOLIDAY";
|
|
30
|
-
SaleOfferStatus["ASKINGFORINVOICE"] = "ASKING_FOR_INVOICE";
|
|
31
|
-
})(SaleOfferStatus = exports.SaleOfferStatus || (exports.SaleOfferStatus = {}));
|
|
32
|
-
function SaleOfferStatusFromJSON(json) {
|
|
33
|
-
return SaleOfferStatusFromJSONTyped(json, false);
|
|
34
|
-
}
|
|
35
|
-
exports.SaleOfferStatusFromJSON = SaleOfferStatusFromJSON;
|
|
36
|
-
function SaleOfferStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
return json;
|
|
38
|
-
}
|
|
39
|
-
exports.SaleOfferStatusFromJSONTyped = SaleOfferStatusFromJSONTyped;
|
|
40
|
-
function SaleOfferStatusToJSON(value) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
exports.SaleOfferStatusToJSON = SaleOfferStatusToJSON;
|
|
@@ -1,39 +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 Stock
|
|
16
|
-
*/
|
|
17
|
-
export interface Stock {
|
|
18
|
-
/**
|
|
19
|
-
* Number of element in the quantity
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof Stock
|
|
22
|
-
*/
|
|
23
|
-
remainingQuantity?: number | null;
|
|
24
|
-
/**
|
|
25
|
-
* Lapsing date of items in this stock (RFC 3339, section 5.6)
|
|
26
|
-
* @type {Date}
|
|
27
|
-
* @memberof Stock
|
|
28
|
-
*/
|
|
29
|
-
lapsingDate?: Date | null;
|
|
30
|
-
/**
|
|
31
|
-
* Name of this stock batch
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Stock
|
|
34
|
-
*/
|
|
35
|
-
batch?: string | null;
|
|
36
|
-
}
|
|
37
|
-
export declare function StockFromJSON(json: any): Stock;
|
|
38
|
-
export declare function StockFromJSONTyped(json: any, ignoreDiscriminator: boolean): Stock;
|
|
39
|
-
export declare function StockToJSON(value?: Stock | null): any;
|