@lcdp/api-react-rest-client 3.1.7 → 3.1.8-LDS-5585-monolith-create-foreorder-sur-a.23895949813
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 -5
- package/auth/src/models/RestError.js +3 -5
- package/catalog/src/models/RestError.d.ts +3 -5
- package/catalog/src/models/RestError.js +3 -5
- package/chargebee-hook/src/models/RestError.d.ts +3 -5
- package/chargebee-hook/src/models/RestError.js +3 -5
- package/configuration/src/models/RestError.d.ts +3 -5
- package/configuration/src/models/RestError.js +3 -5
- package/content/src/models/RestError.d.ts +3 -5
- package/content/src/models/RestError.js +3 -5
- package/favorite/src/models/RestError.d.ts +3 -5
- package/favorite/src/models/RestError.js +3 -5
- package/inventory/src/models/RestError.d.ts +3 -5
- package/inventory/src/models/RestError.js +3 -5
- package/invoice/src/models/RestError.d.ts +3 -5
- package/invoice/src/models/RestError.js +3 -5
- package/laboratory-store/src/models/RestError.d.ts +3 -5
- package/laboratory-store/src/models/RestError.js +3 -5
- package/lexicon/src/models/RestError.d.ts +3 -5
- package/lexicon/src/models/RestError.js +3 -5
- package/litigation/src/models/RestError.d.ts +3 -5
- package/litigation/src/models/RestError.js +3 -5
- package/magic-cart/src/models/ExpressOrder.d.ts +4 -4
- package/magic-cart/src/models/ExpressOrder.js +7 -3
- package/magic-cart/src/models/ShoppedOffer.d.ts +43 -0
- package/magic-cart/src/models/ShoppedOffer.js +53 -0
- package/magic-cart/src/models/index.d.ts +1 -2
- package/magic-cart/src/models/index.js +1 -2
- package/mangopay-hook/src/models/RestError.d.ts +3 -5
- package/mangopay-hook/src/models/RestError.js +3 -5
- package/notification/src/models/RestError.d.ts +3 -5
- package/notification/src/models/RestError.js +3 -5
- package/order/src/apis/ManageForeorderApi.d.ts +31 -0
- package/order/src/apis/ManageForeorderApi.js +163 -0
- package/order/src/apis/ManageOrderApi.d.ts +8 -8
- package/order/src/apis/ManageOrderApi.js +9 -10
- package/order/src/apis/SearchForeorderItemApi.d.ts +44 -0
- package/order/src/apis/SearchForeorderItemApi.js +175 -0
- package/order/src/apis/index.d.ts +2 -1
- package/order/src/apis/index.js +2 -1
- package/order/src/models/AnyForeorderCreationParameters.d.ts +23 -0
- package/order/src/models/AnyForeorderCreationParameters.js +45 -0
- package/order/src/models/AnyForeorderWarning.d.ts +26 -0
- package/order/src/models/AnyForeorderWarning.js +50 -0
- package/order/src/models/AnyOrderCreationParameters.d.ts +26 -0
- package/order/src/models/AnyOrderCreationParameters.js +50 -0
- package/order/src/models/AnySource.d.ts +26 -0
- package/order/src/models/AnySource.js +50 -0
- package/order/src/models/CartForeorderCreationParameters.d.ts +37 -0
- package/order/src/models/CartForeorderCreationParameters.js +51 -0
- package/order/src/models/CartSource.d.ts +37 -0
- package/order/src/models/CartSource.js +49 -0
- package/order/src/models/CloneOrderCreationParameters.d.ts +37 -0
- package/order/src/models/CloneOrderCreationParameters.js +51 -0
- package/order/src/models/Foreorder.d.ts +155 -0
- package/order/src/models/Foreorder.js +128 -0
- package/order/src/models/ForeorderCreationParameters.d.ts +31 -0
- package/order/src/models/ForeorderCreationParameters.js +47 -0
- package/order/src/models/{OrderItemWarning.d.ts → ForeorderItemWarning.d.ts} +23 -18
- package/order/src/models/{OrderItemWarning.js → ForeorderItemWarning.js} +18 -15
- package/order/src/models/ForeorderOrderCreationParameters.d.ts +37 -0
- package/order/src/models/ForeorderOrderCreationParameters.js +51 -0
- package/order/src/models/ForeorderWarning.d.ts +52 -0
- package/order/src/models/{OrderWarning.js → ForeorderWarning.js} +14 -13
- package/order/src/models/ForeorderWarningBase.d.ts +37 -0
- package/order/src/models/ForeorderWarningBase.js +51 -0
- package/order/src/models/ForeorderWithWarnings.d.ts +39 -0
- package/order/src/models/ForeorderWithWarnings.js +53 -0
- package/order/src/models/Order.d.ts +80 -75
- package/order/src/models/Order.js +53 -48
- package/order/src/models/OrderAddedItem.d.ts +9 -9
- package/order/src/models/OrderAddedItem.js +18 -0
- package/order/src/models/OrderCreationParameters.d.ts +31 -0
- package/order/src/models/OrderCreationParameters.js +47 -0
- package/order/src/models/OrderItem.d.ts +9 -9
- package/order/src/models/OrderItem.js +18 -0
- package/order/src/models/OrderItemPrices.d.ts +8 -8
- package/order/src/models/OrderItemPrices.js +10 -0
- package/order/src/models/OrderPrices.d.ts +9 -9
- package/order/src/models/OrderPrices.js +18 -0
- package/order/src/models/OrderRefundedItem.d.ts +9 -9
- package/order/src/models/OrderRefundedItem.js +18 -0
- package/order/src/models/OrderRemovedItem.d.ts +9 -9
- package/order/src/models/OrderRemovedItem.js +18 -0
- package/order/src/models/OrderSource.d.ts +37 -0
- package/order/src/models/OrderSource.js +49 -0
- package/order/src/models/Reservation.d.ts +7 -7
- package/order/src/models/Reservation.js +14 -0
- package/order/src/models/RestError.d.ts +3 -5
- package/order/src/models/RestError.js +3 -5
- package/order/src/models/ShoppedOffer.d.ts +2 -2
- package/order/src/models/ShoppedOffer.js +2 -2
- package/order/src/models/Source.d.ts +31 -0
- package/order/src/models/Source.js +45 -0
- package/order/src/models/index.d.ts +17 -9
- package/order/src/models/index.js +17 -9
- package/package.json +1 -1
- package/product/src/models/RestError.d.ts +3 -5
- package/product/src/models/RestError.js +3 -5
- package/pub/src/models/RestError.d.ts +3 -5
- package/pub/src/models/RestError.js +3 -5
- package/rfx/src/models/RestError.d.ts +3 -5
- package/rfx/src/models/RestError.js +3 -5
- package/sale-offer/src/models/RestError.d.ts +3 -5
- package/sale-offer/src/models/RestError.js +3 -5
- package/servant/src/models/RestError.d.ts +3 -5
- package/servant/src/models/RestError.js +3 -5
- package/shipment/src/models/RestError.d.ts +3 -5
- package/shipment/src/models/RestError.js +3 -5
- package/shopping-cart/src/apis/ManageCartApi.d.ts +35 -24
- package/shopping-cart/src/apis/ManageCartApi.js +57 -120
- package/shopping-cart/src/apis/ManageCartLineApi.d.ts +45 -0
- package/shopping-cart/src/apis/ManageCartLineApi.js +238 -0
- package/shopping-cart/src/apis/SearchCartApi.d.ts +59 -0
- package/shopping-cart/src/apis/SearchCartApi.js +267 -0
- package/shopping-cart/src/apis/SearchCartLineApi.d.ts +41 -0
- package/{order/src/apis/ManageMetaOrderApi.js → shopping-cart/src/apis/SearchCartLineApi.js} +46 -41
- package/shopping-cart/src/apis/index.d.ts +3 -2
- package/shopping-cart/src/apis/index.js +3 -2
- package/shopping-cart/src/models/Cart.d.ts +61 -4
- package/shopping-cart/src/models/Cart.js +47 -2
- package/shopping-cart/src/models/CartCreationParameters.d.ts +44 -0
- package/shopping-cart/src/models/CartCreationParameters.js +56 -0
- package/shopping-cart/src/models/{CartSubCartLine.d.ts → CartLine.d.ts} +13 -13
- package/shopping-cart/src/models/{CartSubCartLine.js → CartLine.js} +11 -11
- package/shopping-cart/src/models/CartLineUpdateParameters.d.ts +37 -0
- package/shopping-cart/src/models/CartLineUpdateParameters.js +49 -0
- package/shopping-cart/src/models/CartLineWithWarnings.d.ts +39 -0
- package/shopping-cart/src/models/CartLineWithWarnings.js +49 -0
- package/shopping-cart/src/models/CartSummary.d.ts +31 -0
- package/shopping-cart/src/models/CartSummary.js +47 -0
- package/shopping-cart/src/models/{CartSubCartTransport.d.ts → CartTransport.d.ts} +12 -12
- package/shopping-cart/src/models/{CartSubCartTransport.js → CartTransport.js} +11 -11
- package/shopping-cart/src/models/CartUpdateParameters.d.ts +31 -0
- package/shopping-cart/src/models/CartUpdateParameters.js +45 -0
- package/shopping-cart/src/models/CartWarning.d.ts +70 -0
- package/shopping-cart/src/models/CartWarning.js +67 -0
- package/shopping-cart/src/models/CartsWithWarnings.d.ts +39 -0
- package/shopping-cart/src/models/CartsWithWarnings.js +49 -0
- package/shopping-cart/src/models/OwnerLink.d.ts +43 -0
- package/shopping-cart/src/models/OwnerLink.js +53 -0
- package/shopping-cart/src/models/PaginatedCarts.d.ts +46 -0
- package/shopping-cart/src/models/PaginatedCarts.js +58 -0
- package/shopping-cart/src/models/PagingMetadata.d.ts +49 -0
- package/shopping-cart/src/models/PagingMetadata.js +55 -0
- package/shopping-cart/src/models/RestError.d.ts +3 -5
- package/shopping-cart/src/models/RestError.js +3 -5
- 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 +12 -4
- package/shopping-cart/src/models/index.js +12 -4
- package/smuggler/src/models/RestError.d.ts +3 -5
- package/smuggler/src/models/RestError.js +3 -5
- package/statistic/src/models/RestError.d.ts +3 -5
- package/statistic/src/models/RestError.js +3 -5
- package/third-party/src/models/RestError.d.ts +3 -5
- package/third-party/src/models/RestError.js +3 -5
- package/ubo/src/models/RestError.d.ts +3 -5
- package/ubo/src/models/RestError.js +3 -5
- package/user/src/models/RestError.d.ts +3 -5
- package/user/src/models/RestError.js +3 -5
- package/wish/src/models/RestError.d.ts +3 -5
- package/wish/src/models/RestError.js +3 -5
- package/magic-cart/src/models/SaleOfferProposal.d.ts +0 -51
- package/magic-cart/src/models/SaleOfferProposal.js +0 -61
- package/magic-cart/src/models/SellerProposal.d.ts +0 -45
- package/magic-cart/src/models/SellerProposal.js +0 -57
- package/order/src/apis/ManageMetaOrderApi.d.ts +0 -45
- package/order/src/models/AnyMetaOrderWarning.d.ts +0 -26
- package/order/src/models/AnyMetaOrderWarning.js +0 -50
- package/order/src/models/MetaOrder.d.ts +0 -64
- package/order/src/models/MetaOrder.js +0 -70
- package/order/src/models/MetaOrderCreationParameters.d.ts +0 -38
- package/order/src/models/MetaOrderCreationParameters.js +0 -52
- package/order/src/models/MetaOrderCreationSubCartParameters.d.ts +0 -31
- package/order/src/models/MetaOrderCreationSubCartParameters.js +0 -47
- package/order/src/models/MetaOrderPrices.d.ts +0 -79
- package/order/src/models/MetaOrderPrices.js +0 -79
- package/order/src/models/MetaOrderWarning.d.ts +0 -31
- package/order/src/models/MetaOrderWarning.js +0 -47
- package/order/src/models/MetaOrderWithWarnings.d.ts +0 -39
- package/order/src/models/MetaOrderWithWarnings.js +0 -49
- package/order/src/models/OrderWarning.d.ts +0 -51
- package/shopping-cart/src/apis/ManageCartSubCartApi.d.ts +0 -107
- package/shopping-cart/src/apis/ManageCartSubCartApi.js +0 -556
- package/shopping-cart/src/apis/ManageCartSubCartLineApi.d.ts +0 -151
- package/shopping-cart/src/apis/ManageCartSubCartLineApi.js +0 -879
- package/shopping-cart/src/models/CartSubCart.d.ts +0 -76
- package/shopping-cart/src/models/CartSubCart.js +0 -78
- package/shopping-cart/src/models/CartSubCartLineUpdateParameters.d.ts +0 -37
- package/shopping-cart/src/models/CartSubCartLineUpdateParameters.js +0 -49
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-service
|
|
3
|
-
* This is the REST API of LCDP orders
|
|
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 OrderWarning
|
|
16
|
-
*/
|
|
17
|
-
export interface OrderWarning {
|
|
18
|
-
/**
|
|
19
|
-
* What type of warning is it
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof OrderWarning
|
|
22
|
-
*/
|
|
23
|
-
type: string;
|
|
24
|
-
/**
|
|
25
|
-
* User nickname of the seller associated to this order
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof OrderWarning
|
|
28
|
-
*/
|
|
29
|
-
sellerNickname: string;
|
|
30
|
-
/**
|
|
31
|
-
* Warning cause
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof OrderWarning
|
|
34
|
-
*/
|
|
35
|
-
cause: OrderWarningCauseEnum;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
|
-
export declare const OrderWarningCauseEnum: {
|
|
41
|
-
readonly MINIMUM_PRICE: "MINIMUM_PRICE";
|
|
42
|
-
readonly FORBIDDEN_SELLER: "FORBIDDEN_SELLER";
|
|
43
|
-
};
|
|
44
|
-
export declare type OrderWarningCauseEnum = typeof OrderWarningCauseEnum[keyof typeof OrderWarningCauseEnum];
|
|
45
|
-
/**
|
|
46
|
-
* Check if a given object implements the OrderWarning interface.
|
|
47
|
-
*/
|
|
48
|
-
export declare function instanceOfOrderWarning(value: object): value is OrderWarning;
|
|
49
|
-
export declare function OrderWarningFromJSON(json: any): OrderWarning;
|
|
50
|
-
export declare function OrderWarningFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderWarning;
|
|
51
|
-
export declare function OrderWarningToJSON(value?: OrderWarning | null): any;
|
|
@@ -1,107 +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 * as runtime from '../runtime';
|
|
13
|
-
import type { CartSubCart } from '../models/index';
|
|
14
|
-
export interface DeleteCartSubCartRequest {
|
|
15
|
-
cartId: number;
|
|
16
|
-
subCartId: number;
|
|
17
|
-
}
|
|
18
|
-
export interface DeleteCurrentCartSubCartRequest {
|
|
19
|
-
subCartId: number;
|
|
20
|
-
}
|
|
21
|
-
export interface GetCartSubCartRequest {
|
|
22
|
-
cartId: number;
|
|
23
|
-
subCartId: number;
|
|
24
|
-
}
|
|
25
|
-
export interface GetCartSubCartsRequest {
|
|
26
|
-
cartId: number;
|
|
27
|
-
orderBy?: GetCartSubCartsOrderByEnum;
|
|
28
|
-
}
|
|
29
|
-
export interface GetCurrentCartSubCartRequest {
|
|
30
|
-
subCartId: number;
|
|
31
|
-
}
|
|
32
|
-
export interface GetCurrentCartSubCartsRequest {
|
|
33
|
-
orderBy?: GetCurrentCartSubCartsOrderByEnum;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
*
|
|
37
|
-
*/
|
|
38
|
-
export declare class ManageCartSubCartApi extends runtime.BaseAPI {
|
|
39
|
-
/**
|
|
40
|
-
* Delete a SubCart for user cart
|
|
41
|
-
*/
|
|
42
|
-
deleteCartSubCartRaw(requestParameters: DeleteCartSubCartRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
43
|
-
/**
|
|
44
|
-
* Delete a SubCart for user cart
|
|
45
|
-
*/
|
|
46
|
-
deleteCartSubCart(requestParameters: DeleteCartSubCartRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
47
|
-
/**
|
|
48
|
-
* Delete a SubCart for user cart
|
|
49
|
-
*/
|
|
50
|
-
deleteCurrentCartSubCartRaw(requestParameters: DeleteCurrentCartSubCartRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
51
|
-
/**
|
|
52
|
-
* Delete a SubCart for user cart
|
|
53
|
-
*/
|
|
54
|
-
deleteCurrentCartSubCart(requestParameters: DeleteCurrentCartSubCartRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
55
|
-
/**
|
|
56
|
-
* Get user sub cart for a specific SubCart
|
|
57
|
-
*/
|
|
58
|
-
getCartSubCartRaw(requestParameters: GetCartSubCartRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CartSubCart | runtime.BlobWithMeta>>;
|
|
59
|
-
/**
|
|
60
|
-
* Get user sub cart for a specific SubCart
|
|
61
|
-
*/
|
|
62
|
-
getCartSubCart(requestParameters: GetCartSubCartRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CartSubCart | runtime.BlobWithMeta>;
|
|
63
|
-
/**
|
|
64
|
-
* Get user cart split by SubCart
|
|
65
|
-
*/
|
|
66
|
-
getCartSubCartsRaw(requestParameters: GetCartSubCartsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<CartSubCart> | runtime.BlobWithMeta>>;
|
|
67
|
-
/**
|
|
68
|
-
* Get user cart split by SubCart
|
|
69
|
-
*/
|
|
70
|
-
getCartSubCarts(requestParameters: GetCartSubCartsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<CartSubCart> | runtime.BlobWithMeta>;
|
|
71
|
-
/**
|
|
72
|
-
* Get user sub cart for a specific SubCart
|
|
73
|
-
*/
|
|
74
|
-
getCurrentCartSubCartRaw(requestParameters: GetCurrentCartSubCartRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CartSubCart | runtime.BlobWithMeta>>;
|
|
75
|
-
/**
|
|
76
|
-
* Get user sub cart for a specific SubCart
|
|
77
|
-
*/
|
|
78
|
-
getCurrentCartSubCart(requestParameters: GetCurrentCartSubCartRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CartSubCart | runtime.BlobWithMeta>;
|
|
79
|
-
/**
|
|
80
|
-
* Get user cart split by SubCart
|
|
81
|
-
*/
|
|
82
|
-
getCurrentCartSubCartsRaw(requestParameters: GetCurrentCartSubCartsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<CartSubCart> | runtime.BlobWithMeta>>;
|
|
83
|
-
/**
|
|
84
|
-
* Get user cart split by SubCart
|
|
85
|
-
*/
|
|
86
|
-
getCurrentCartSubCarts(requestParameters?: GetCurrentCartSubCartsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<CartSubCart> | runtime.BlobWithMeta>;
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* @export
|
|
90
|
-
*/
|
|
91
|
-
export declare const GetCartSubCartsOrderByEnum: {
|
|
92
|
-
readonly UPDATED_AT_ASC: "UPDATED_AT:asc";
|
|
93
|
-
readonly UPDATED_AT_DESC: "UPDATED_AT:desc";
|
|
94
|
-
readonly TOTAL_EXCLUDING_TAXES_ASC: "TOTAL_EXCLUDING_TAXES:asc";
|
|
95
|
-
readonly TOTAL_EXCLUDING_TAXES_DESC: "TOTAL_EXCLUDING_TAXES:desc";
|
|
96
|
-
};
|
|
97
|
-
export declare type GetCartSubCartsOrderByEnum = typeof GetCartSubCartsOrderByEnum[keyof typeof GetCartSubCartsOrderByEnum];
|
|
98
|
-
/**
|
|
99
|
-
* @export
|
|
100
|
-
*/
|
|
101
|
-
export declare const GetCurrentCartSubCartsOrderByEnum: {
|
|
102
|
-
readonly UPDATED_AT_ASC: "UPDATED_AT:asc";
|
|
103
|
-
readonly UPDATED_AT_DESC: "UPDATED_AT:desc";
|
|
104
|
-
readonly TOTAL_EXCLUDING_TAXES_ASC: "TOTAL_EXCLUDING_TAXES:asc";
|
|
105
|
-
readonly TOTAL_EXCLUDING_TAXES_DESC: "TOTAL_EXCLUDING_TAXES:desc";
|
|
106
|
-
};
|
|
107
|
-
export declare type GetCurrentCartSubCartsOrderByEnum = typeof GetCurrentCartSubCartsOrderByEnum[keyof typeof GetCurrentCartSubCartsOrderByEnum];
|