@lcdp/api-react-rest-client 3.1.7-LDS-5578-api-distinct-status-code-accodi.23847291272 → 3.1.7-develop.23855465779
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 +5 -3
- package/auth/src/models/RestError.js +5 -3
- package/auth/src/models/index.d.ts +0 -4
- package/auth/src/models/index.js +0 -4
- package/catalog/src/models/RestError.d.ts +5 -3
- package/catalog/src/models/RestError.js +5 -3
- package/chargebee-hook/src/models/RestError.d.ts +5 -3
- package/chargebee-hook/src/models/RestError.js +5 -3
- package/configuration/src/models/RestError.d.ts +5 -3
- package/configuration/src/models/RestError.js +5 -3
- package/content/src/models/RestError.d.ts +5 -3
- package/content/src/models/RestError.js +5 -3
- package/favorite/src/models/RestError.d.ts +5 -3
- package/favorite/src/models/RestError.js +5 -3
- package/inventory/src/models/RestError.d.ts +5 -3
- package/inventory/src/models/RestError.js +5 -3
- package/invoice/src/models/RestError.d.ts +5 -3
- package/invoice/src/models/RestError.js +5 -3
- package/laboratory-store/src/models/RestError.d.ts +5 -3
- package/laboratory-store/src/models/RestError.js +5 -3
- package/lexicon/src/models/RestError.d.ts +5 -3
- package/lexicon/src/models/RestError.js +5 -3
- package/litigation/src/models/RestError.d.ts +5 -3
- package/litigation/src/models/RestError.js +5 -3
- package/magic-cart/src/models/ExpressOrder.d.ts +3 -3
- package/magic-cart/src/models/ExpressOrder.js +3 -3
- package/magic-cart/src/models/SaleOfferProposal.d.ts +51 -0
- package/magic-cart/src/models/SaleOfferProposal.js +61 -0
- package/magic-cart/src/models/SellerProposal.d.ts +45 -0
- package/magic-cart/src/models/SellerProposal.js +57 -0
- package/magic-cart/src/models/index.d.ts +2 -1
- package/magic-cart/src/models/index.js +2 -1
- package/mangopay-hook/src/models/RestError.d.ts +5 -3
- package/mangopay-hook/src/models/RestError.js +5 -3
- package/notification/src/models/RestError.d.ts +5 -3
- package/notification/src/models/RestError.js +5 -3
- package/order/src/apis/ManageMetaOrderApi.d.ts +45 -0
- package/{shopping-cart/src/apis/SearchCartLineApi.js → order/src/apis/ManageMetaOrderApi.js} +41 -46
- package/order/src/apis/ManageOrderApi.d.ts +8 -8
- package/order/src/apis/ManageOrderApi.js +10 -9
- package/order/src/apis/index.d.ts +1 -2
- package/order/src/apis/index.js +1 -2
- package/order/src/models/AnyMetaOrderWarning.d.ts +26 -0
- package/order/src/models/AnyMetaOrderWarning.js +50 -0
- package/order/src/models/MetaOrder.d.ts +64 -0
- package/order/src/models/MetaOrder.js +70 -0
- package/order/src/models/MetaOrderCreationParameters.d.ts +38 -0
- package/order/src/models/MetaOrderCreationParameters.js +52 -0
- package/order/src/models/MetaOrderCreationSubCartParameters.d.ts +31 -0
- package/order/src/models/MetaOrderCreationSubCartParameters.js +47 -0
- package/order/src/models/MetaOrderPrices.d.ts +79 -0
- package/order/src/models/MetaOrderPrices.js +79 -0
- package/order/src/models/MetaOrderWarning.d.ts +31 -0
- package/order/src/models/MetaOrderWarning.js +47 -0
- package/order/src/models/MetaOrderWithWarnings.d.ts +39 -0
- package/order/src/models/MetaOrderWithWarnings.js +49 -0
- package/order/src/models/Order.d.ts +75 -80
- package/order/src/models/Order.js +48 -53
- package/order/src/models/OrderItemPrices.d.ts +3 -3
- package/order/src/models/{ForeorderItemWarning.d.ts → OrderItemWarning.d.ts} +18 -23
- package/order/src/models/{ForeorderItemWarning.js → OrderItemWarning.js} +15 -18
- package/order/src/models/OrderWarning.d.ts +51 -0
- package/order/src/models/{ForeorderWarning.js → OrderWarning.js} +12 -12
- package/order/src/models/RestError.d.ts +5 -3
- package/order/src/models/RestError.js +5 -3
- package/order/src/models/ShoppedOffer.d.ts +2 -2
- package/order/src/models/ShoppedOffer.js +2 -2
- package/order/src/models/index.d.ts +9 -17
- package/order/src/models/index.js +9 -17
- package/package.json +1 -1
- package/product/src/models/RestError.d.ts +5 -3
- package/product/src/models/RestError.js +5 -3
- package/pub/src/models/RestError.d.ts +5 -3
- package/pub/src/models/RestError.js +5 -3
- package/rfx/src/models/RestError.d.ts +5 -3
- package/rfx/src/models/RestError.js +5 -3
- package/sale-offer/src/models/RestError.d.ts +5 -3
- package/sale-offer/src/models/RestError.js +5 -3
- package/servant/src/models/RestError.d.ts +5 -3
- package/servant/src/models/RestError.js +5 -3
- package/shipment/src/models/RestError.d.ts +5 -3
- package/shipment/src/models/RestError.js +5 -3
- package/shopping-cart/src/apis/ManageCartApi.d.ts +24 -35
- package/shopping-cart/src/apis/ManageCartApi.js +120 -57
- package/shopping-cart/src/apis/ManageCartSubCartApi.d.ts +107 -0
- package/shopping-cart/src/apis/ManageCartSubCartApi.js +556 -0
- package/shopping-cart/src/apis/ManageCartSubCartLineApi.d.ts +151 -0
- package/shopping-cart/src/apis/ManageCartSubCartLineApi.js +879 -0
- package/shopping-cart/src/apis/index.d.ts +2 -3
- package/shopping-cart/src/apis/index.js +2 -3
- package/shopping-cart/src/models/Cart.d.ts +4 -61
- package/shopping-cart/src/models/Cart.js +2 -47
- package/shopping-cart/src/models/CartSubCart.d.ts +76 -0
- package/shopping-cart/src/models/CartSubCart.js +78 -0
- package/shopping-cart/src/models/{CartLine.d.ts → CartSubCartLine.d.ts} +13 -13
- package/shopping-cart/src/models/{CartLine.js → CartSubCartLine.js} +11 -11
- package/shopping-cart/src/models/CartSubCartLineUpdateParameters.d.ts +37 -0
- package/shopping-cart/src/models/CartSubCartLineUpdateParameters.js +49 -0
- package/shopping-cart/src/models/{CartTransport.d.ts → CartSubCartTransport.d.ts} +12 -12
- package/shopping-cart/src/models/{CartTransport.js → CartSubCartTransport.js} +11 -11
- package/shopping-cart/src/models/RestError.d.ts +5 -3
- package/shopping-cart/src/models/RestError.js +5 -3
- package/shopping-cart/src/models/ShoppedOffer.d.ts +2 -2
- package/shopping-cart/src/models/ShoppedOffer.js +2 -2
- package/shopping-cart/src/models/index.d.ts +4 -12
- package/shopping-cart/src/models/index.js +4 -12
- package/smuggler/src/models/RestError.d.ts +5 -3
- package/smuggler/src/models/RestError.js +5 -3
- package/statistic/src/models/RestError.d.ts +5 -3
- package/statistic/src/models/RestError.js +5 -3
- package/third-party/src/models/RestError.d.ts +5 -3
- package/third-party/src/models/RestError.js +5 -3
- package/ubo/src/models/RestError.d.ts +5 -3
- package/ubo/src/models/RestError.js +5 -3
- package/user/src/models/RestError.d.ts +5 -3
- package/user/src/models/RestError.js +5 -3
- package/wish/src/models/RestError.d.ts +5 -3
- package/wish/src/models/RestError.js +5 -3
- package/auth/src/models/AnonymousUser.d.ts +0 -43
- package/auth/src/models/AnonymousUser.js +0 -55
- package/auth/src/models/AnyUser.d.ts +0 -26
- package/auth/src/models/AnyUser.js +0 -50
- package/auth/src/models/IdentifiedUser.d.ts +0 -37
- package/auth/src/models/IdentifiedUser.js +0 -51
- package/auth/src/models/User.d.ts +0 -31
- package/auth/src/models/User.js +0 -47
- package/magic-cart/src/models/ShoppedOffer.d.ts +0 -43
- package/magic-cart/src/models/ShoppedOffer.js +0 -53
- package/order/src/apis/ManageForeorderApi.d.ts +0 -31
- package/order/src/apis/ManageForeorderApi.js +0 -163
- package/order/src/apis/SearchForeorderItemApi.d.ts +0 -44
- package/order/src/apis/SearchForeorderItemApi.js +0 -175
- package/order/src/models/AnyForeorderCreationParameters.d.ts +0 -23
- package/order/src/models/AnyForeorderCreationParameters.js +0 -45
- package/order/src/models/AnyForeorderWarning.d.ts +0 -26
- package/order/src/models/AnyForeorderWarning.js +0 -50
- package/order/src/models/AnyOrderCreationParameters.d.ts +0 -26
- package/order/src/models/AnyOrderCreationParameters.js +0 -50
- package/order/src/models/AnySource.d.ts +0 -26
- package/order/src/models/AnySource.js +0 -50
- package/order/src/models/CartForeorderCreationParameters.d.ts +0 -37
- package/order/src/models/CartForeorderCreationParameters.js +0 -51
- package/order/src/models/CartSource.d.ts +0 -37
- package/order/src/models/CartSource.js +0 -49
- package/order/src/models/CloneOrderCreationParameters.d.ts +0 -37
- package/order/src/models/CloneOrderCreationParameters.js +0 -51
- package/order/src/models/Foreorder.d.ts +0 -155
- package/order/src/models/Foreorder.js +0 -128
- package/order/src/models/ForeorderCreationParameters.d.ts +0 -31
- package/order/src/models/ForeorderCreationParameters.js +0 -47
- package/order/src/models/ForeorderOrderCreationParameters.d.ts +0 -37
- package/order/src/models/ForeorderOrderCreationParameters.js +0 -51
- package/order/src/models/ForeorderWarning.d.ts +0 -51
- package/order/src/models/ForeorderWarningBase.d.ts +0 -37
- package/order/src/models/ForeorderWarningBase.js +0 -51
- package/order/src/models/ForeorderWithWarnings.d.ts +0 -39
- package/order/src/models/ForeorderWithWarnings.js +0 -53
- package/order/src/models/OrderCreationParameters.d.ts +0 -31
- package/order/src/models/OrderCreationParameters.js +0 -47
- package/order/src/models/OrderSource.d.ts +0 -37
- package/order/src/models/OrderSource.js +0 -49
- package/order/src/models/Source.d.ts +0 -31
- package/order/src/models/Source.js +0 -45
- package/shopping-cart/src/apis/ManageCartLineApi.d.ts +0 -45
- package/shopping-cart/src/apis/ManageCartLineApi.js +0 -238
- package/shopping-cart/src/apis/SearchCartApi.d.ts +0 -59
- package/shopping-cart/src/apis/SearchCartApi.js +0 -267
- package/shopping-cart/src/apis/SearchCartLineApi.d.ts +0 -41
- package/shopping-cart/src/models/CartCreationParameters.d.ts +0 -44
- package/shopping-cart/src/models/CartCreationParameters.js +0 -56
- package/shopping-cart/src/models/CartLineUpdateParameters.d.ts +0 -37
- package/shopping-cart/src/models/CartLineUpdateParameters.js +0 -49
- package/shopping-cart/src/models/CartLineWithWarnings.d.ts +0 -39
- package/shopping-cart/src/models/CartLineWithWarnings.js +0 -49
- package/shopping-cart/src/models/CartSummary.d.ts +0 -31
- package/shopping-cart/src/models/CartSummary.js +0 -47
- package/shopping-cart/src/models/CartUpdateParameters.d.ts +0 -31
- package/shopping-cart/src/models/CartUpdateParameters.js +0 -45
- package/shopping-cart/src/models/CartWarning.d.ts +0 -70
- package/shopping-cart/src/models/CartWarning.js +0 -67
- package/shopping-cart/src/models/CartsWithWarnings.d.ts +0 -39
- package/shopping-cart/src/models/CartsWithWarnings.js +0 -49
- package/shopping-cart/src/models/OwnerLink.d.ts +0 -43
- package/shopping-cart/src/models/OwnerLink.js +0 -53
- package/shopping-cart/src/models/PaginatedCarts.d.ts +0 -46
- package/shopping-cart/src/models/PaginatedCarts.js +0 -58
- package/shopping-cart/src/models/PagingMetadata.d.ts +0 -49
- package/shopping-cart/src/models/PagingMetadata.js +0 -55
|
@@ -1,31 +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
|
-
* Summary computed on all visible records
|
|
14
|
-
* @export
|
|
15
|
-
* @interface CartSummary
|
|
16
|
-
*/
|
|
17
|
-
export interface CartSummary {
|
|
18
|
-
/**
|
|
19
|
-
* Total number of lines across all visible records
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof CartSummary
|
|
22
|
-
*/
|
|
23
|
-
lineCount: number;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the CartSummary interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfCartSummary(value: object): value is CartSummary;
|
|
29
|
-
export declare function CartSummaryFromJSON(json: any): CartSummary;
|
|
30
|
-
export declare function CartSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): CartSummary;
|
|
31
|
-
export declare function CartSummaryToJSON(value?: CartSummary | null): any;
|
|
@@ -1,47 +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.CartSummaryToJSON = exports.CartSummaryFromJSONTyped = exports.CartSummaryFromJSON = exports.instanceOfCartSummary = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the CartSummary interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfCartSummary(value) {
|
|
21
|
-
if (!('lineCount' in value) || value['lineCount'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
return true;
|
|
24
|
-
}
|
|
25
|
-
exports.instanceOfCartSummary = instanceOfCartSummary;
|
|
26
|
-
function CartSummaryFromJSON(json) {
|
|
27
|
-
return CartSummaryFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
exports.CartSummaryFromJSON = CartSummaryFromJSON;
|
|
30
|
-
function CartSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'lineCount': json['lineCount'],
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
exports.CartSummaryFromJSONTyped = CartSummaryFromJSONTyped;
|
|
39
|
-
function CartSummaryToJSON(value) {
|
|
40
|
-
if (value == null) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'lineCount': value['lineCount'],
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
exports.CartSummaryToJSON = CartSummaryToJSON;
|
|
@@ -1,31 +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 CartUpdateParameters
|
|
16
|
-
*/
|
|
17
|
-
export interface CartUpdateParameters {
|
|
18
|
-
/**
|
|
19
|
-
* Channel identifier (e.g. "express-order:uuid")
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CartUpdateParameters
|
|
22
|
-
*/
|
|
23
|
-
channel?: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the CartUpdateParameters interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfCartUpdateParameters(value: object): value is CartUpdateParameters;
|
|
29
|
-
export declare function CartUpdateParametersFromJSON(json: any): CartUpdateParameters;
|
|
30
|
-
export declare function CartUpdateParametersFromJSONTyped(json: any, ignoreDiscriminator: boolean): CartUpdateParameters;
|
|
31
|
-
export declare function CartUpdateParametersToJSON(value?: CartUpdateParameters | null): any;
|
|
@@ -1,45 +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.CartUpdateParametersToJSON = exports.CartUpdateParametersFromJSONTyped = exports.CartUpdateParametersFromJSON = exports.instanceOfCartUpdateParameters = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the CartUpdateParameters interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfCartUpdateParameters(value) {
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
exports.instanceOfCartUpdateParameters = instanceOfCartUpdateParameters;
|
|
24
|
-
function CartUpdateParametersFromJSON(json) {
|
|
25
|
-
return CartUpdateParametersFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
exports.CartUpdateParametersFromJSON = CartUpdateParametersFromJSON;
|
|
28
|
-
function CartUpdateParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
-
if (json == null) {
|
|
30
|
-
return json;
|
|
31
|
-
}
|
|
32
|
-
return {
|
|
33
|
-
'channel': json['channel'],
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
exports.CartUpdateParametersFromJSONTyped = CartUpdateParametersFromJSONTyped;
|
|
37
|
-
function CartUpdateParametersToJSON(value) {
|
|
38
|
-
if (value == null) {
|
|
39
|
-
return value;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'channel': value['channel'],
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
exports.CartUpdateParametersToJSON = CartUpdateParametersToJSON;
|
|
@@ -1,70 +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 CartWarning
|
|
16
|
-
*/
|
|
17
|
-
export interface CartWarning {
|
|
18
|
-
/**
|
|
19
|
-
* Type of warning
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CartWarning
|
|
22
|
-
*/
|
|
23
|
-
type: CartWarningTypeEnum;
|
|
24
|
-
/**
|
|
25
|
-
* Id of the cart concerned by the warning
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof CartWarning
|
|
28
|
-
*/
|
|
29
|
-
cartId?: number;
|
|
30
|
-
/**
|
|
31
|
-
* Reference of the offer concerned by the warning
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof CartWarning
|
|
34
|
-
*/
|
|
35
|
-
offerReference: string;
|
|
36
|
-
/**
|
|
37
|
-
* Id of the distribution range concerned by the warning
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof CartWarning
|
|
40
|
-
*/
|
|
41
|
-
distributionRangeId?: number;
|
|
42
|
-
/**
|
|
43
|
-
* Quantity originally requested
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof CartWarning
|
|
46
|
-
*/
|
|
47
|
-
requestedQuantity?: number;
|
|
48
|
-
/**
|
|
49
|
-
* Quantity actually set in the cart
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof CartWarning
|
|
52
|
-
*/
|
|
53
|
-
finalQuantity?: number;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* @export
|
|
57
|
-
*/
|
|
58
|
-
export declare const CartWarningTypeEnum: {
|
|
59
|
-
readonly OUTDATED_AD: "OUTDATED_AD";
|
|
60
|
-
readonly RESTRICTED_PRODUCT: "RESTRICTED_PRODUCT";
|
|
61
|
-
readonly QUANTITY_EXCEEDED: "QUANTITY_EXCEEDED";
|
|
62
|
-
};
|
|
63
|
-
export declare type CartWarningTypeEnum = typeof CartWarningTypeEnum[keyof typeof CartWarningTypeEnum];
|
|
64
|
-
/**
|
|
65
|
-
* Check if a given object implements the CartWarning interface.
|
|
66
|
-
*/
|
|
67
|
-
export declare function instanceOfCartWarning(value: object): value is CartWarning;
|
|
68
|
-
export declare function CartWarningFromJSON(json: any): CartWarning;
|
|
69
|
-
export declare function CartWarningFromJSONTyped(json: any, ignoreDiscriminator: boolean): CartWarning;
|
|
70
|
-
export declare function CartWarningToJSON(value?: CartWarning | null): any;
|
|
@@ -1,67 +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.CartWarningToJSON = exports.CartWarningFromJSONTyped = exports.CartWarningFromJSON = exports.instanceOfCartWarning = exports.CartWarningTypeEnum = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* @export
|
|
19
|
-
*/
|
|
20
|
-
exports.CartWarningTypeEnum = {
|
|
21
|
-
OUTDATED_AD: 'OUTDATED_AD',
|
|
22
|
-
RESTRICTED_PRODUCT: 'RESTRICTED_PRODUCT',
|
|
23
|
-
QUANTITY_EXCEEDED: 'QUANTITY_EXCEEDED'
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the CartWarning interface.
|
|
27
|
-
*/
|
|
28
|
-
function instanceOfCartWarning(value) {
|
|
29
|
-
if (!('type' in value) || value['type'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('offerReference' in value) || value['offerReference'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
return true;
|
|
34
|
-
}
|
|
35
|
-
exports.instanceOfCartWarning = instanceOfCartWarning;
|
|
36
|
-
function CartWarningFromJSON(json) {
|
|
37
|
-
return CartWarningFromJSONTyped(json, false);
|
|
38
|
-
}
|
|
39
|
-
exports.CartWarningFromJSON = CartWarningFromJSON;
|
|
40
|
-
function CartWarningFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
-
if (json == null) {
|
|
42
|
-
return json;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
'type': json['type'],
|
|
46
|
-
'cartId': json['cartId'],
|
|
47
|
-
'offerReference': json['offerReference'],
|
|
48
|
-
'distributionRangeId': json['distributionRangeId'],
|
|
49
|
-
'requestedQuantity': json['requestedQuantity'],
|
|
50
|
-
'finalQuantity': json['finalQuantity'],
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
exports.CartWarningFromJSONTyped = CartWarningFromJSONTyped;
|
|
54
|
-
function CartWarningToJSON(value) {
|
|
55
|
-
if (value == null) {
|
|
56
|
-
return value;
|
|
57
|
-
}
|
|
58
|
-
return {
|
|
59
|
-
'type': value['type'],
|
|
60
|
-
'cartId': value['cartId'],
|
|
61
|
-
'offerReference': value['offerReference'],
|
|
62
|
-
'distributionRangeId': value['distributionRangeId'],
|
|
63
|
-
'requestedQuantity': value['requestedQuantity'],
|
|
64
|
-
'finalQuantity': value['finalQuantity'],
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
exports.CartWarningToJSON = CartWarningToJSON;
|
|
@@ -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
|
-
import type { CartWarning } from './CartWarning';
|
|
13
|
-
import type { Cart } from './Cart';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface CartsWithWarnings
|
|
18
|
-
*/
|
|
19
|
-
export interface CartsWithWarnings {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Array<Cart>}
|
|
23
|
-
* @memberof CartsWithWarnings
|
|
24
|
-
*/
|
|
25
|
-
carts?: Array<Cart>;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {Array<CartWarning>}
|
|
29
|
-
* @memberof CartsWithWarnings
|
|
30
|
-
*/
|
|
31
|
-
warnings?: Array<CartWarning>;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the CartsWithWarnings interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfCartsWithWarnings(value: object): value is CartsWithWarnings;
|
|
37
|
-
export declare function CartsWithWarningsFromJSON(json: any): CartsWithWarnings;
|
|
38
|
-
export declare function CartsWithWarningsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CartsWithWarnings;
|
|
39
|
-
export declare function CartsWithWarningsToJSON(value?: CartsWithWarnings | null): any;
|
|
@@ -1,49 +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.CartsWithWarningsToJSON = exports.CartsWithWarningsFromJSONTyped = exports.CartsWithWarningsFromJSON = exports.instanceOfCartsWithWarnings = void 0;
|
|
17
|
-
var CartWarning_1 = require("./CartWarning");
|
|
18
|
-
var Cart_1 = require("./Cart");
|
|
19
|
-
/**
|
|
20
|
-
* Check if a given object implements the CartsWithWarnings interface.
|
|
21
|
-
*/
|
|
22
|
-
function instanceOfCartsWithWarnings(value) {
|
|
23
|
-
return true;
|
|
24
|
-
}
|
|
25
|
-
exports.instanceOfCartsWithWarnings = instanceOfCartsWithWarnings;
|
|
26
|
-
function CartsWithWarningsFromJSON(json) {
|
|
27
|
-
return CartsWithWarningsFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
exports.CartsWithWarningsFromJSON = CartsWithWarningsFromJSON;
|
|
30
|
-
function CartsWithWarningsFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'carts': (json['carts'] === null || json['carts'] === undefined) ? json['carts'] : json['carts'].map(Cart_1.CartFromJSON),
|
|
36
|
-
'warnings': (json['warnings'] === null || json['warnings'] === undefined) ? json['warnings'] : json['warnings'].map(CartWarning_1.CartWarningFromJSON),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
exports.CartsWithWarningsFromJSONTyped = CartsWithWarningsFromJSONTyped;
|
|
40
|
-
function CartsWithWarningsToJSON(value) {
|
|
41
|
-
if (value == null) {
|
|
42
|
-
return value;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
'carts': (value['carts'] === null || value['carts'] === undefined) ? value['carts'] : value['carts'].map(Cart_1.CartToJSON),
|
|
46
|
-
'warnings': (value['warnings'] === null || value['warnings'] === undefined) ? value['warnings'] : value['warnings'].map(CartWarning_1.CartWarningToJSON),
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
exports.CartsWithWarningsToJSON = CartsWithWarningsToJSON;
|
|
@@ -1,43 +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 OwnerLink
|
|
16
|
-
*/
|
|
17
|
-
export interface OwnerLink {
|
|
18
|
-
/**
|
|
19
|
-
* Any URL that is using http or https protocol
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof OwnerLink
|
|
22
|
-
*/
|
|
23
|
-
href: string;
|
|
24
|
-
/**
|
|
25
|
-
* Unique identifier of the owner
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof OwnerLink
|
|
28
|
-
*/
|
|
29
|
-
id: number;
|
|
30
|
-
/**
|
|
31
|
-
* User nickname
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof OwnerLink
|
|
34
|
-
*/
|
|
35
|
-
nickname?: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the OwnerLink interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfOwnerLink(value: object): value is OwnerLink;
|
|
41
|
-
export declare function OwnerLinkFromJSON(json: any): OwnerLink;
|
|
42
|
-
export declare function OwnerLinkFromJSONTyped(json: any, ignoreDiscriminator: boolean): OwnerLink;
|
|
43
|
-
export declare function OwnerLinkToJSON(value?: OwnerLink | 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.OwnerLinkToJSON = exports.OwnerLinkFromJSONTyped = exports.OwnerLinkFromJSON = exports.instanceOfOwnerLink = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the OwnerLink interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfOwnerLink(value) {
|
|
21
|
-
if (!('href' in value) || value['href'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
24
|
-
return false;
|
|
25
|
-
return true;
|
|
26
|
-
}
|
|
27
|
-
exports.instanceOfOwnerLink = instanceOfOwnerLink;
|
|
28
|
-
function OwnerLinkFromJSON(json) {
|
|
29
|
-
return OwnerLinkFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
exports.OwnerLinkFromJSON = OwnerLinkFromJSON;
|
|
32
|
-
function OwnerLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'href': json['href'],
|
|
38
|
-
'id': json['id'],
|
|
39
|
-
'nickname': json['nickname'],
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
exports.OwnerLinkFromJSONTyped = OwnerLinkFromJSONTyped;
|
|
43
|
-
function OwnerLinkToJSON(value) {
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'href': value['href'],
|
|
49
|
-
'id': value['id'],
|
|
50
|
-
'nickname': value['nickname'],
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
exports.OwnerLinkToJSON = OwnerLinkToJSON;
|
|
@@ -1,46 +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 type { PagingMetadata } from './PagingMetadata';
|
|
13
|
-
import type { CartSummary } from './CartSummary';
|
|
14
|
-
import type { Cart } from './Cart';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface PaginatedCarts
|
|
19
|
-
*/
|
|
20
|
-
export interface PaginatedCarts {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {PagingMetadata}
|
|
24
|
-
* @memberof PaginatedCarts
|
|
25
|
-
*/
|
|
26
|
-
metadata: PagingMetadata;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {CartSummary}
|
|
30
|
-
* @memberof PaginatedCarts
|
|
31
|
-
*/
|
|
32
|
-
summary: CartSummary;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {Array<Cart>}
|
|
36
|
-
* @memberof PaginatedCarts
|
|
37
|
-
*/
|
|
38
|
-
records: Array<Cart>;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Check if a given object implements the PaginatedCarts interface.
|
|
42
|
-
*/
|
|
43
|
-
export declare function instanceOfPaginatedCarts(value: object): value is PaginatedCarts;
|
|
44
|
-
export declare function PaginatedCartsFromJSON(json: any): PaginatedCarts;
|
|
45
|
-
export declare function PaginatedCartsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedCarts;
|
|
46
|
-
export declare function PaginatedCartsToJSON(value?: PaginatedCarts | null): any;
|
|
@@ -1,58 +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.PaginatedCartsToJSON = exports.PaginatedCartsFromJSONTyped = exports.PaginatedCartsFromJSON = exports.instanceOfPaginatedCarts = void 0;
|
|
17
|
-
var PagingMetadata_1 = require("./PagingMetadata");
|
|
18
|
-
var CartSummary_1 = require("./CartSummary");
|
|
19
|
-
var Cart_1 = require("./Cart");
|
|
20
|
-
/**
|
|
21
|
-
* Check if a given object implements the PaginatedCarts interface.
|
|
22
|
-
*/
|
|
23
|
-
function instanceOfPaginatedCarts(value) {
|
|
24
|
-
if (!('metadata' in value) || value['metadata'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('summary' in value) || value['summary'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('records' in value) || value['records'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
return true;
|
|
31
|
-
}
|
|
32
|
-
exports.instanceOfPaginatedCarts = instanceOfPaginatedCarts;
|
|
33
|
-
function PaginatedCartsFromJSON(json) {
|
|
34
|
-
return PaginatedCartsFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
exports.PaginatedCartsFromJSON = PaginatedCartsFromJSON;
|
|
37
|
-
function PaginatedCartsFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
-
if (json == null) {
|
|
39
|
-
return json;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'metadata': (json['metadata'] === null || json['metadata'] === undefined) ? json['metadata'] : (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
|
|
43
|
-
'summary': (json['summary'] === null || json['summary'] === undefined) ? json['summary'] : (0, CartSummary_1.CartSummaryFromJSON)(json['summary']),
|
|
44
|
-
'records': (json['records'] === null || json['records'] === undefined) ? json['records'] : json['records'].map(Cart_1.CartFromJSON),
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
exports.PaginatedCartsFromJSONTyped = PaginatedCartsFromJSONTyped;
|
|
48
|
-
function PaginatedCartsToJSON(value) {
|
|
49
|
-
if (value == null) {
|
|
50
|
-
return value;
|
|
51
|
-
}
|
|
52
|
-
return {
|
|
53
|
-
'metadata': (0, PagingMetadata_1.PagingMetadataToJSON)(value['metadata']),
|
|
54
|
-
'summary': (0, CartSummary_1.CartSummaryToJSON)(value['summary']),
|
|
55
|
-
'records': (value['records'] === null || value['records'] === undefined) ? value['records'] : value['records'].map(Cart_1.CartToJSON),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
exports.PaginatedCartsToJSON = PaginatedCartsToJSON;
|
|
@@ -1,49 +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
|
-
* All information about current and available pages
|
|
14
|
-
* @export
|
|
15
|
-
* @interface PagingMetadata
|
|
16
|
-
*/
|
|
17
|
-
export interface PagingMetadata {
|
|
18
|
-
/**
|
|
19
|
-
* Current page requested. Start at 0. May not be present if user do not request specific page.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof PagingMetadata
|
|
22
|
-
*/
|
|
23
|
-
page?: number;
|
|
24
|
-
/**
|
|
25
|
-
* Number of item per page. 0 means that you only required metadata. May not be present if user do not request specific perPage.
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof PagingMetadata
|
|
28
|
-
*/
|
|
29
|
-
perPage?: number;
|
|
30
|
-
/**
|
|
31
|
-
* Total number of item visible by the client in the request
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof PagingMetadata
|
|
34
|
-
*/
|
|
35
|
-
totalVisible: number;
|
|
36
|
-
/**
|
|
37
|
-
* Total number of item found in database
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof PagingMetadata
|
|
40
|
-
*/
|
|
41
|
-
totalFound: number;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the PagingMetadata interface.
|
|
45
|
-
*/
|
|
46
|
-
export declare function instanceOfPagingMetadata(value: object): value is PagingMetadata;
|
|
47
|
-
export declare function PagingMetadataFromJSON(json: any): PagingMetadata;
|
|
48
|
-
export declare function PagingMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): PagingMetadata;
|
|
49
|
-
export declare function PagingMetadataToJSON(value?: PagingMetadata | null): any;
|