@lcdp/api-react-rest-client 3.1.9 → 3.1.10
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/NotificationTypeId.d.ts +0 -1
- package/notification/src/models/NotificationTypeId.js +0 -1
- 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 +9 -9
- package/order/src/apis/ManageOrderApi.js +12 -13
- 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/ForeorderItemWarning.d.ts +77 -0
- package/order/src/models/{OrderItemWarning.js → ForeorderItemWarning.js} +21 -18
- package/order/src/models/ForeorderOrderCreationParameters.d.ts +37 -0
- package/order/src/models/ForeorderOrderCreationParameters.js +51 -0
- package/order/src/models/ForeorderWarning.d.ts +51 -0
- package/order/src/models/{OrderWarning.js → ForeorderWarning.js} +12 -12
- package/order/src/models/ForeorderWarningBase.d.ts +37 -0
- package/order/src/models/ForeorderWarningBase.js +51 -0
- package/order/src/models/ForeordersWithWarnings.d.ts +39 -0
- package/order/src/models/ForeordersWithWarnings.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 +76 -0
- package/shopping-cart/src/models/CartWarning.js +69 -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/apis/ManageUboDeclarationApi.d.ts +2 -2
- package/ubo/src/apis/ManageUboDeclarationApi.js +2 -2
- package/ubo/src/models/RestError.d.ts +3 -5
- package/ubo/src/models/RestError.js +3 -5
- package/user/src/models/NotificationTypeId.d.ts +0 -1
- package/user/src/models/NotificationTypeId.js +0 -1
- package/user/src/models/RestError.d.ts +3 -5
- package/user/src/models/RestError.js +3 -5
- package/user/src/models/User.d.ts +7 -0
- package/user/src/models/User.js +3 -0
- package/user/src/models/UserMangopayUbo.d.ts +31 -0
- package/user/src/models/UserMangopayUbo.js +45 -0
- package/user/src/models/index.d.ts +1 -0
- package/user/src/models/index.js +1 -0
- 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/OrderItemWarning.d.ts +0 -72
- 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,76 +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 { CartSubCartTransport } from './CartSubCartTransport';
|
|
13
|
-
import type { HttpLink } from './HttpLink';
|
|
14
|
-
import type { SellerLink } from './SellerLink';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
* @interface CartSubCart
|
|
19
|
-
*/
|
|
20
|
-
export interface CartSubCart {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {number}
|
|
24
|
-
* @memberof CartSubCart
|
|
25
|
-
*/
|
|
26
|
-
id: number;
|
|
27
|
-
/**
|
|
28
|
-
* Last update date of this sub cart
|
|
29
|
-
* @type {Date}
|
|
30
|
-
* @memberof CartSubCart
|
|
31
|
-
*/
|
|
32
|
-
updatedAt: Date;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {CartSubCartTransport}
|
|
36
|
-
* @memberof CartSubCart
|
|
37
|
-
*/
|
|
38
|
-
transport: CartSubCartTransport;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {SellerLink}
|
|
42
|
-
* @memberof CartSubCart
|
|
43
|
-
*/
|
|
44
|
-
seller: SellerLink;
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @type {number}
|
|
48
|
-
* @memberof CartSubCart
|
|
49
|
-
*/
|
|
50
|
-
lineCount: number;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @type {HttpLink}
|
|
54
|
-
* @memberof CartSubCart
|
|
55
|
-
*/
|
|
56
|
-
lines: HttpLink;
|
|
57
|
-
/**
|
|
58
|
-
* Total buyer commission for this sub cart
|
|
59
|
-
* @type {number}
|
|
60
|
-
* @memberof CartSubCart
|
|
61
|
-
*/
|
|
62
|
-
totalBuyerCommissionExcludingTaxes: number;
|
|
63
|
-
/**
|
|
64
|
-
* Total price of the cart excluding taxes
|
|
65
|
-
* @type {number}
|
|
66
|
-
* @memberof CartSubCart
|
|
67
|
-
*/
|
|
68
|
-
totalExcludingTaxes: number;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Check if a given object implements the CartSubCart interface.
|
|
72
|
-
*/
|
|
73
|
-
export declare function instanceOfCartSubCart(value: object): value is CartSubCart;
|
|
74
|
-
export declare function CartSubCartFromJSON(json: any): CartSubCart;
|
|
75
|
-
export declare function CartSubCartFromJSONTyped(json: any, ignoreDiscriminator: boolean): CartSubCart;
|
|
76
|
-
export declare function CartSubCartToJSON(value?: CartSubCart | null): any;
|
|
@@ -1,78 +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.CartSubCartToJSON = exports.CartSubCartFromJSONTyped = exports.CartSubCartFromJSON = exports.instanceOfCartSubCart = void 0;
|
|
17
|
-
var CartSubCartTransport_1 = require("./CartSubCartTransport");
|
|
18
|
-
var HttpLink_1 = require("./HttpLink");
|
|
19
|
-
var SellerLink_1 = require("./SellerLink");
|
|
20
|
-
/**
|
|
21
|
-
* Check if a given object implements the CartSubCart interface.
|
|
22
|
-
*/
|
|
23
|
-
function instanceOfCartSubCart(value) {
|
|
24
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('updatedAt' in value) || value['updatedAt'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('transport' in value) || value['transport'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('seller' in value) || value['seller'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('lineCount' in value) || value['lineCount'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
if (!('lines' in value) || value['lines'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
if (!('totalBuyerCommissionExcludingTaxes' in value) || value['totalBuyerCommissionExcludingTaxes'] === undefined)
|
|
37
|
-
return false;
|
|
38
|
-
if (!('totalExcludingTaxes' in value) || value['totalExcludingTaxes'] === undefined)
|
|
39
|
-
return false;
|
|
40
|
-
return true;
|
|
41
|
-
}
|
|
42
|
-
exports.instanceOfCartSubCart = instanceOfCartSubCart;
|
|
43
|
-
function CartSubCartFromJSON(json) {
|
|
44
|
-
return CartSubCartFromJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
exports.CartSubCartFromJSON = CartSubCartFromJSON;
|
|
47
|
-
function CartSubCartFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
-
if (json == null) {
|
|
49
|
-
return json;
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
'id': json['id'],
|
|
53
|
-
'updatedAt': (json['updatedAt'] === null || json['updatedAt'] === undefined) ? json['updatedAt'] : new Date(json['updatedAt']),
|
|
54
|
-
'transport': (json['transport'] === null || json['transport'] === undefined) ? json['transport'] : (0, CartSubCartTransport_1.CartSubCartTransportFromJSON)(json['transport']),
|
|
55
|
-
'seller': (json['seller'] === null || json['seller'] === undefined) ? json['seller'] : (0, SellerLink_1.SellerLinkFromJSON)(json['seller']),
|
|
56
|
-
'lineCount': json['lineCount'],
|
|
57
|
-
'lines': (json['lines'] === null || json['lines'] === undefined) ? json['lines'] : (0, HttpLink_1.HttpLinkFromJSON)(json['lines']),
|
|
58
|
-
'totalBuyerCommissionExcludingTaxes': json['totalBuyerCommissionExcludingTaxes'],
|
|
59
|
-
'totalExcludingTaxes': json['totalExcludingTaxes'],
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
exports.CartSubCartFromJSONTyped = CartSubCartFromJSONTyped;
|
|
63
|
-
function CartSubCartToJSON(value) {
|
|
64
|
-
if (value == null) {
|
|
65
|
-
return value;
|
|
66
|
-
}
|
|
67
|
-
return {
|
|
68
|
-
'id': value['id'],
|
|
69
|
-
'updatedAt': (value['updatedAt'] === null || value['updatedAt'] === undefined) ? value['updatedAt'] : (value['updatedAt']).toISOString(),
|
|
70
|
-
'transport': (0, CartSubCartTransport_1.CartSubCartTransportToJSON)(value['transport']),
|
|
71
|
-
'seller': (0, SellerLink_1.SellerLinkToJSON)(value['seller']),
|
|
72
|
-
'lineCount': value['lineCount'],
|
|
73
|
-
'lines': (0, HttpLink_1.HttpLinkToJSON)(value['lines']),
|
|
74
|
-
'totalBuyerCommissionExcludingTaxes': value['totalBuyerCommissionExcludingTaxes'],
|
|
75
|
-
'totalExcludingTaxes': value['totalExcludingTaxes'],
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
exports.CartSubCartToJSON = CartSubCartToJSON;
|
|
@@ -1,37 +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 CartSubCartLineUpdateParameters
|
|
16
|
-
*/
|
|
17
|
-
export interface CartSubCartLineUpdateParameters {
|
|
18
|
-
/**
|
|
19
|
-
* Identifier of the distributed range to change in cart line
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof CartSubCartLineUpdateParameters
|
|
22
|
-
*/
|
|
23
|
-
distributedRangeId?: number;
|
|
24
|
-
/**
|
|
25
|
-
* Quantity to change in cart line
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof CartSubCartLineUpdateParameters
|
|
28
|
-
*/
|
|
29
|
-
quantity: number;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the CartSubCartLineUpdateParameters interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfCartSubCartLineUpdateParameters(value: object): value is CartSubCartLineUpdateParameters;
|
|
35
|
-
export declare function CartSubCartLineUpdateParametersFromJSON(json: any): CartSubCartLineUpdateParameters;
|
|
36
|
-
export declare function CartSubCartLineUpdateParametersFromJSONTyped(json: any, ignoreDiscriminator: boolean): CartSubCartLineUpdateParameters;
|
|
37
|
-
export declare function CartSubCartLineUpdateParametersToJSON(value?: CartSubCartLineUpdateParameters | 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.CartSubCartLineUpdateParametersToJSON = exports.CartSubCartLineUpdateParametersFromJSONTyped = exports.CartSubCartLineUpdateParametersFromJSON = exports.instanceOfCartSubCartLineUpdateParameters = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the CartSubCartLineUpdateParameters interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfCartSubCartLineUpdateParameters(value) {
|
|
21
|
-
if (!('quantity' in value) || value['quantity'] === undefined)
|
|
22
|
-
return false;
|
|
23
|
-
return true;
|
|
24
|
-
}
|
|
25
|
-
exports.instanceOfCartSubCartLineUpdateParameters = instanceOfCartSubCartLineUpdateParameters;
|
|
26
|
-
function CartSubCartLineUpdateParametersFromJSON(json) {
|
|
27
|
-
return CartSubCartLineUpdateParametersFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
exports.CartSubCartLineUpdateParametersFromJSON = CartSubCartLineUpdateParametersFromJSON;
|
|
30
|
-
function CartSubCartLineUpdateParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if (json == null) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'distributedRangeId': json['distributedRangeId'],
|
|
36
|
-
'quantity': json['quantity'],
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
exports.CartSubCartLineUpdateParametersFromJSONTyped = CartSubCartLineUpdateParametersFromJSONTyped;
|
|
40
|
-
function CartSubCartLineUpdateParametersToJSON(value) {
|
|
41
|
-
if (value == null) {
|
|
42
|
-
return value;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
'distributedRangeId': value['distributedRangeId'],
|
|
46
|
-
'quantity': value['quantity'],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
exports.CartSubCartLineUpdateParametersToJSON = CartSubCartLineUpdateParametersToJSON;
|