@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
|
@@ -0,0 +1,53 @@
|
|
|
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;
|
|
@@ -0,0 +1,46 @@
|
|
|
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;
|
|
@@ -0,0 +1,58 @@
|
|
|
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;
|
|
@@ -0,0 +1,49 @@
|
|
|
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;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.PagingMetadataToJSON = exports.PagingMetadataFromJSONTyped = exports.PagingMetadataFromJSON = exports.instanceOfPagingMetadata = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the PagingMetadata interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfPagingMetadata(value) {
|
|
21
|
+
if (!('totalVisible' in value) || value['totalVisible'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('totalFound' in value) || value['totalFound'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfPagingMetadata = instanceOfPagingMetadata;
|
|
28
|
+
function PagingMetadataFromJSON(json) {
|
|
29
|
+
return PagingMetadataFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.PagingMetadataFromJSON = PagingMetadataFromJSON;
|
|
32
|
+
function PagingMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'page': json['page'],
|
|
38
|
+
'perPage': json['perPage'],
|
|
39
|
+
'totalVisible': json['totalVisible'],
|
|
40
|
+
'totalFound': json['totalFound'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
exports.PagingMetadataFromJSONTyped = PagingMetadataFromJSONTyped;
|
|
44
|
+
function PagingMetadataToJSON(value) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'page': value['page'],
|
|
50
|
+
'perPage': value['perPage'],
|
|
51
|
+
'totalVisible': value['totalVisible'],
|
|
52
|
+
'totalFound': value['totalFound'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
exports.PagingMetadataToJSON = PagingMetadataToJSON;
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Foreorders * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status * `CODE024` - Image missing * `CODE025` - Invalid International Bank Account Number
|
|
20
20
|
*
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RestError
|
|
23
23
|
*/
|
|
24
24
|
code: RestErrorCodeEnum;
|
|
25
25
|
/**
|
|
26
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid
|
|
26
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Foreorder * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status * `MESSAGE024` - Image missing * `MESSAGE025` - Invalid International Bank Account Number
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -60,7 +60,6 @@ export declare const RestErrorCodeEnum: {
|
|
|
60
60
|
readonly CODE023: "CODE023";
|
|
61
61
|
readonly CODE024: "CODE024";
|
|
62
62
|
readonly CODE025: "CODE025";
|
|
63
|
-
readonly CODE026: "CODE026";
|
|
64
63
|
};
|
|
65
64
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
66
65
|
/**
|
|
@@ -81,7 +80,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
81
80
|
readonly MESSAGE011: "Empty User Address";
|
|
82
81
|
readonly MESSAGE012: "Empty User Legal Name";
|
|
83
82
|
readonly MESSAGE013: "Invalid quantities";
|
|
84
|
-
readonly MESSAGE014: "Invalid
|
|
83
|
+
readonly MESSAGE014: "Invalid Foreorder";
|
|
85
84
|
readonly MESSAGE015: "Can not release quantity greater than claimed";
|
|
86
85
|
readonly MESSAGE016: "Can not release a negative quantity of items";
|
|
87
86
|
readonly MESSAGE017: "Batch is forbidden for sale";
|
|
@@ -93,7 +92,6 @@ export declare const RestErrorMessageEnum: {
|
|
|
93
92
|
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
94
93
|
readonly MESSAGE024: "Image missing";
|
|
95
94
|
readonly MESSAGE025: "Invalid International Bank Account Number";
|
|
96
|
-
readonly MESSAGE026: "SubCart not found in cart";
|
|
97
95
|
};
|
|
98
96
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
99
97
|
/**
|
|
@@ -43,8 +43,7 @@ exports.RestErrorCodeEnum = {
|
|
|
43
43
|
CODE022: 'CODE022',
|
|
44
44
|
CODE023: 'CODE023',
|
|
45
45
|
CODE024: 'CODE024',
|
|
46
|
-
CODE025: 'CODE025'
|
|
47
|
-
CODE026: 'CODE026'
|
|
46
|
+
CODE025: 'CODE025'
|
|
48
47
|
};
|
|
49
48
|
/**
|
|
50
49
|
* @export
|
|
@@ -64,7 +63,7 @@ exports.RestErrorMessageEnum = {
|
|
|
64
63
|
MESSAGE011: 'Empty User Address',
|
|
65
64
|
MESSAGE012: 'Empty User Legal Name',
|
|
66
65
|
MESSAGE013: 'Invalid quantities',
|
|
67
|
-
MESSAGE014: 'Invalid
|
|
66
|
+
MESSAGE014: 'Invalid Foreorder',
|
|
68
67
|
MESSAGE015: 'Can not release quantity greater than claimed',
|
|
69
68
|
MESSAGE016: 'Can not release a negative quantity of items',
|
|
70
69
|
MESSAGE017: 'Batch is forbidden for sale',
|
|
@@ -75,8 +74,7 @@ exports.RestErrorMessageEnum = {
|
|
|
75
74
|
MESSAGE022: 'Disabled feature',
|
|
76
75
|
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
77
76
|
MESSAGE024: 'Image missing',
|
|
78
|
-
MESSAGE025: 'Invalid International Bank Account Number'
|
|
79
|
-
MESSAGE026: 'SubCart not found in cart'
|
|
77
|
+
MESSAGE025: 'Invalid International Bank Account Number'
|
|
80
78
|
};
|
|
81
79
|
/**
|
|
82
80
|
* Check if a given object implements the RestError interface.
|
|
@@ -22,11 +22,11 @@ export interface ShoppedOffer {
|
|
|
22
22
|
*/
|
|
23
23
|
offerReference: string;
|
|
24
24
|
/**
|
|
25
|
-
* Identifier of picked
|
|
25
|
+
* Identifier of picked distribution range
|
|
26
26
|
* @type {number}
|
|
27
27
|
* @memberof ShoppedOffer
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
distributionRangeId?: number;
|
|
30
30
|
/**
|
|
31
31
|
* Quantity to add in the cart
|
|
32
32
|
* @type {number}
|
|
@@ -35,7 +35,7 @@ function ShoppedOfferFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
'offerReference': json['offerReference'],
|
|
38
|
-
'
|
|
38
|
+
'distributionRangeId': json['distributionRangeId'],
|
|
39
39
|
'quantity': json['quantity'],
|
|
40
40
|
};
|
|
41
41
|
}
|
|
@@ -46,7 +46,7 @@ function ShoppedOfferToJSON(value) {
|
|
|
46
46
|
}
|
|
47
47
|
return {
|
|
48
48
|
'offerReference': value['offerReference'],
|
|
49
|
-
'
|
|
49
|
+
'distributionRangeId': value['distributionRangeId'],
|
|
50
50
|
'quantity': value['quantity'],
|
|
51
51
|
};
|
|
52
52
|
}
|
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
export * from './AnyIdentifiedDistributionMode';
|
|
2
2
|
export * from './Barcodes';
|
|
3
3
|
export * from './Cart';
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
4
|
+
export * from './CartCreationParameters';
|
|
5
|
+
export * from './CartLine';
|
|
6
|
+
export * from './CartLineUpdateParameters';
|
|
7
|
+
export * from './CartLineWithWarnings';
|
|
8
|
+
export * from './CartSummary';
|
|
9
|
+
export * from './CartTransport';
|
|
10
|
+
export * from './CartUpdateParameters';
|
|
11
|
+
export * from './CartWarning';
|
|
12
|
+
export * from './CartsWithWarnings';
|
|
8
13
|
export * from './DistributionMode';
|
|
9
14
|
export * from './DistributionRange';
|
|
10
15
|
export * from './HttpLink';
|
|
11
16
|
export * from './IdentifiedDistributionRange';
|
|
12
17
|
export * from './IdentifiedRangeDistributionMode';
|
|
18
|
+
export * from './OwnerLink';
|
|
19
|
+
export * from './PaginatedCarts';
|
|
20
|
+
export * from './PagingMetadata';
|
|
13
21
|
export * from './ProductLink';
|
|
14
22
|
export * from './ProductStorageType';
|
|
15
23
|
export * from './QuotationDistributionMode';
|
|
@@ -19,15 +19,23 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
19
19
|
__exportStar(require("./AnyIdentifiedDistributionMode"), exports);
|
|
20
20
|
__exportStar(require("./Barcodes"), exports);
|
|
21
21
|
__exportStar(require("./Cart"), exports);
|
|
22
|
-
__exportStar(require("./
|
|
23
|
-
__exportStar(require("./
|
|
24
|
-
__exportStar(require("./
|
|
25
|
-
__exportStar(require("./
|
|
22
|
+
__exportStar(require("./CartCreationParameters"), exports);
|
|
23
|
+
__exportStar(require("./CartLine"), exports);
|
|
24
|
+
__exportStar(require("./CartLineUpdateParameters"), exports);
|
|
25
|
+
__exportStar(require("./CartLineWithWarnings"), exports);
|
|
26
|
+
__exportStar(require("./CartSummary"), exports);
|
|
27
|
+
__exportStar(require("./CartTransport"), exports);
|
|
28
|
+
__exportStar(require("./CartUpdateParameters"), exports);
|
|
29
|
+
__exportStar(require("./CartWarning"), exports);
|
|
30
|
+
__exportStar(require("./CartsWithWarnings"), exports);
|
|
26
31
|
__exportStar(require("./DistributionMode"), exports);
|
|
27
32
|
__exportStar(require("./DistributionRange"), exports);
|
|
28
33
|
__exportStar(require("./HttpLink"), exports);
|
|
29
34
|
__exportStar(require("./IdentifiedDistributionRange"), exports);
|
|
30
35
|
__exportStar(require("./IdentifiedRangeDistributionMode"), exports);
|
|
36
|
+
__exportStar(require("./OwnerLink"), exports);
|
|
37
|
+
__exportStar(require("./PaginatedCarts"), exports);
|
|
38
|
+
__exportStar(require("./PagingMetadata"), exports);
|
|
31
39
|
__exportStar(require("./ProductLink"), exports);
|
|
32
40
|
__exportStar(require("./ProductStorageType"), exports);
|
|
33
41
|
__exportStar(require("./QuotationDistributionMode"), exports);
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Foreorders * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status * `CODE024` - Image missing * `CODE025` - Invalid International Bank Account Number
|
|
20
20
|
*
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RestError
|
|
23
23
|
*/
|
|
24
24
|
code: RestErrorCodeEnum;
|
|
25
25
|
/**
|
|
26
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid
|
|
26
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Foreorder * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status * `MESSAGE024` - Image missing * `MESSAGE025` - Invalid International Bank Account Number
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -60,7 +60,6 @@ export declare const RestErrorCodeEnum: {
|
|
|
60
60
|
readonly CODE023: "CODE023";
|
|
61
61
|
readonly CODE024: "CODE024";
|
|
62
62
|
readonly CODE025: "CODE025";
|
|
63
|
-
readonly CODE026: "CODE026";
|
|
64
63
|
};
|
|
65
64
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
66
65
|
/**
|
|
@@ -81,7 +80,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
81
80
|
readonly MESSAGE011: "Empty User Address";
|
|
82
81
|
readonly MESSAGE012: "Empty User Legal Name";
|
|
83
82
|
readonly MESSAGE013: "Invalid quantities";
|
|
84
|
-
readonly MESSAGE014: "Invalid
|
|
83
|
+
readonly MESSAGE014: "Invalid Foreorder";
|
|
85
84
|
readonly MESSAGE015: "Can not release quantity greater than claimed";
|
|
86
85
|
readonly MESSAGE016: "Can not release a negative quantity of items";
|
|
87
86
|
readonly MESSAGE017: "Batch is forbidden for sale";
|
|
@@ -93,7 +92,6 @@ export declare const RestErrorMessageEnum: {
|
|
|
93
92
|
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
94
93
|
readonly MESSAGE024: "Image missing";
|
|
95
94
|
readonly MESSAGE025: "Invalid International Bank Account Number";
|
|
96
|
-
readonly MESSAGE026: "SubCart not found in cart";
|
|
97
95
|
};
|
|
98
96
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
99
97
|
/**
|
|
@@ -43,8 +43,7 @@ exports.RestErrorCodeEnum = {
|
|
|
43
43
|
CODE022: 'CODE022',
|
|
44
44
|
CODE023: 'CODE023',
|
|
45
45
|
CODE024: 'CODE024',
|
|
46
|
-
CODE025: 'CODE025'
|
|
47
|
-
CODE026: 'CODE026'
|
|
46
|
+
CODE025: 'CODE025'
|
|
48
47
|
};
|
|
49
48
|
/**
|
|
50
49
|
* @export
|
|
@@ -64,7 +63,7 @@ exports.RestErrorMessageEnum = {
|
|
|
64
63
|
MESSAGE011: 'Empty User Address',
|
|
65
64
|
MESSAGE012: 'Empty User Legal Name',
|
|
66
65
|
MESSAGE013: 'Invalid quantities',
|
|
67
|
-
MESSAGE014: 'Invalid
|
|
66
|
+
MESSAGE014: 'Invalid Foreorder',
|
|
68
67
|
MESSAGE015: 'Can not release quantity greater than claimed',
|
|
69
68
|
MESSAGE016: 'Can not release a negative quantity of items',
|
|
70
69
|
MESSAGE017: 'Batch is forbidden for sale',
|
|
@@ -75,8 +74,7 @@ exports.RestErrorMessageEnum = {
|
|
|
75
74
|
MESSAGE022: 'Disabled feature',
|
|
76
75
|
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
77
76
|
MESSAGE024: 'Image missing',
|
|
78
|
-
MESSAGE025: 'Invalid International Bank Account Number'
|
|
79
|
-
MESSAGE026: 'SubCart not found in cart'
|
|
77
|
+
MESSAGE025: 'Invalid International Bank Account Number'
|
|
80
78
|
};
|
|
81
79
|
/**
|
|
82
80
|
* Check if a given object implements the RestError interface.
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Foreorders * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status * `CODE024` - Image missing * `CODE025` - Invalid International Bank Account Number
|
|
20
20
|
*
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RestError
|
|
23
23
|
*/
|
|
24
24
|
code: RestErrorCodeEnum;
|
|
25
25
|
/**
|
|
26
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid
|
|
26
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Foreorder * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status * `MESSAGE024` - Image missing * `MESSAGE025` - Invalid International Bank Account Number
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -60,7 +60,6 @@ export declare const RestErrorCodeEnum: {
|
|
|
60
60
|
readonly CODE023: "CODE023";
|
|
61
61
|
readonly CODE024: "CODE024";
|
|
62
62
|
readonly CODE025: "CODE025";
|
|
63
|
-
readonly CODE026: "CODE026";
|
|
64
63
|
};
|
|
65
64
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
66
65
|
/**
|
|
@@ -81,7 +80,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
81
80
|
readonly MESSAGE011: "Empty User Address";
|
|
82
81
|
readonly MESSAGE012: "Empty User Legal Name";
|
|
83
82
|
readonly MESSAGE013: "Invalid quantities";
|
|
84
|
-
readonly MESSAGE014: "Invalid
|
|
83
|
+
readonly MESSAGE014: "Invalid Foreorder";
|
|
85
84
|
readonly MESSAGE015: "Can not release quantity greater than claimed";
|
|
86
85
|
readonly MESSAGE016: "Can not release a negative quantity of items";
|
|
87
86
|
readonly MESSAGE017: "Batch is forbidden for sale";
|
|
@@ -93,7 +92,6 @@ export declare const RestErrorMessageEnum: {
|
|
|
93
92
|
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
94
93
|
readonly MESSAGE024: "Image missing";
|
|
95
94
|
readonly MESSAGE025: "Invalid International Bank Account Number";
|
|
96
|
-
readonly MESSAGE026: "SubCart not found in cart";
|
|
97
95
|
};
|
|
98
96
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
99
97
|
/**
|
|
@@ -43,8 +43,7 @@ exports.RestErrorCodeEnum = {
|
|
|
43
43
|
CODE022: 'CODE022',
|
|
44
44
|
CODE023: 'CODE023',
|
|
45
45
|
CODE024: 'CODE024',
|
|
46
|
-
CODE025: 'CODE025'
|
|
47
|
-
CODE026: 'CODE026'
|
|
46
|
+
CODE025: 'CODE025'
|
|
48
47
|
};
|
|
49
48
|
/**
|
|
50
49
|
* @export
|
|
@@ -64,7 +63,7 @@ exports.RestErrorMessageEnum = {
|
|
|
64
63
|
MESSAGE011: 'Empty User Address',
|
|
65
64
|
MESSAGE012: 'Empty User Legal Name',
|
|
66
65
|
MESSAGE013: 'Invalid quantities',
|
|
67
|
-
MESSAGE014: 'Invalid
|
|
66
|
+
MESSAGE014: 'Invalid Foreorder',
|
|
68
67
|
MESSAGE015: 'Can not release quantity greater than claimed',
|
|
69
68
|
MESSAGE016: 'Can not release a negative quantity of items',
|
|
70
69
|
MESSAGE017: 'Batch is forbidden for sale',
|
|
@@ -75,8 +74,7 @@ exports.RestErrorMessageEnum = {
|
|
|
75
74
|
MESSAGE022: 'Disabled feature',
|
|
76
75
|
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
77
76
|
MESSAGE024: 'Image missing',
|
|
78
|
-
MESSAGE025: 'Invalid International Bank Account Number'
|
|
79
|
-
MESSAGE026: 'SubCart not found in cart'
|
|
77
|
+
MESSAGE025: 'Invalid International Bank Account Number'
|
|
80
78
|
};
|
|
81
79
|
/**
|
|
82
80
|
* Check if a given object implements the RestError interface.
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Foreorders * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status * `CODE024` - Image missing * `CODE025` - Invalid International Bank Account Number
|
|
20
20
|
*
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RestError
|
|
23
23
|
*/
|
|
24
24
|
code: RestErrorCodeEnum;
|
|
25
25
|
/**
|
|
26
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid
|
|
26
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Foreorder * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status * `MESSAGE024` - Image missing * `MESSAGE025` - Invalid International Bank Account Number
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -60,7 +60,6 @@ export declare const RestErrorCodeEnum: {
|
|
|
60
60
|
readonly CODE023: "CODE023";
|
|
61
61
|
readonly CODE024: "CODE024";
|
|
62
62
|
readonly CODE025: "CODE025";
|
|
63
|
-
readonly CODE026: "CODE026";
|
|
64
63
|
};
|
|
65
64
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
66
65
|
/**
|
|
@@ -81,7 +80,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
81
80
|
readonly MESSAGE011: "Empty User Address";
|
|
82
81
|
readonly MESSAGE012: "Empty User Legal Name";
|
|
83
82
|
readonly MESSAGE013: "Invalid quantities";
|
|
84
|
-
readonly MESSAGE014: "Invalid
|
|
83
|
+
readonly MESSAGE014: "Invalid Foreorder";
|
|
85
84
|
readonly MESSAGE015: "Can not release quantity greater than claimed";
|
|
86
85
|
readonly MESSAGE016: "Can not release a negative quantity of items";
|
|
87
86
|
readonly MESSAGE017: "Batch is forbidden for sale";
|
|
@@ -93,7 +92,6 @@ export declare const RestErrorMessageEnum: {
|
|
|
93
92
|
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
94
93
|
readonly MESSAGE024: "Image missing";
|
|
95
94
|
readonly MESSAGE025: "Invalid International Bank Account Number";
|
|
96
|
-
readonly MESSAGE026: "SubCart not found in cart";
|
|
97
95
|
};
|
|
98
96
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
99
97
|
/**
|