@lcdp/api-react-rest-client 2.1.4-develop.5092420418 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/auth/src/models/RestError.d.ts +3 -3
- package/auth/src/models/RestError.js +1 -1
- package/banking-operation/src/models/OrderPaymentWallets.d.ts +2 -2
- package/configuration/src/models/RestError.d.ts +3 -3
- package/configuration/src/models/RestError.js +1 -1
- package/content/src/models/RestError.d.ts +3 -3
- package/content/src/models/RestError.js +1 -1
- package/favorite/src/models/RestError.d.ts +3 -3
- package/favorite/src/models/RestError.js +1 -1
- package/inventory/src/models/RestError.d.ts +3 -3
- package/inventory/src/models/RestError.js +1 -1
- package/invoice/src/models/Invoice.d.ts +2 -2
- package/invoice/src/models/RestError.d.ts +3 -3
- package/invoice/src/models/RestError.js +1 -1
- package/laboratory-store/src/models/RestError.d.ts +3 -3
- package/laboratory-store/src/models/RestError.js +1 -1
- package/lexicon/src/models/RestError.d.ts +3 -3
- package/lexicon/src/models/RestError.js +1 -1
- package/litigation/src/models/RestError.d.ts +3 -3
- package/litigation/src/models/RestError.js +1 -1
- package/magic-cart/src/models/ProductLink.d.ts +0 -7
- package/magic-cart/src/models/ProductLink.js +2 -3
- package/magic-cart/src/models/ProductLinkAllOf.d.ts +0 -7
- package/magic-cart/src/models/ProductLinkAllOf.js +0 -3
- package/magic-cart/src/models/index.d.ts +0 -1
- package/magic-cart/src/models/index.js +0 -1
- package/mangopay-hook/src/models/RestError.d.ts +3 -3
- package/mangopay-hook/src/models/RestError.js +1 -1
- package/notification/src/models/RestError.d.ts +3 -3
- package/notification/src/models/RestError.js +1 -1
- package/order/src/models/Order.d.ts +0 -14
- package/order/src/models/Order.js +0 -6
- package/order/src/models/ProductLink.d.ts +0 -7
- package/order/src/models/ProductLink.js +2 -3
- package/order/src/models/ProductLinkAllOf.d.ts +0 -7
- package/order/src/models/ProductLinkAllOf.js +0 -3
- package/order/src/models/RestError.d.ts +3 -3
- package/order/src/models/RestError.js +1 -1
- package/order/src/models/index.d.ts +0 -3
- package/order/src/models/index.js +0 -3
- package/package.json +1 -1
- package/product/src/models/Product.d.ts +2 -3
- package/product/src/models/Product.js +2 -3
- package/product/src/models/ProductCreationOrUpdateParameters.d.ts +2 -3
- package/product/src/models/ProductCreationOrUpdateParameters.js +2 -3
- package/product/src/models/RestError.d.ts +3 -3
- package/product/src/models/RestError.js +1 -1
- package/product/src/models/index.d.ts +0 -1
- package/product/src/models/index.js +0 -1
- package/pub/src/models/RestError.d.ts +3 -3
- package/pub/src/models/RestError.js +1 -1
- package/recommendation/src/models/FavoriteProductRecommendation.d.ts +2 -2
- package/recommendation/src/models/ProductRecommendation.d.ts +2 -2
- package/rfx/src/models/RestError.d.ts +3 -3
- package/rfx/src/models/RestError.js +1 -1
- package/sale-offer/src/models/RestError.d.ts +3 -3
- package/sale-offer/src/models/RestError.js +1 -1
- package/servant/src/models/RestError.d.ts +3 -3
- package/servant/src/models/RestError.js +1 -1
- package/shipment/src/models/RestError.d.ts +3 -3
- package/shipment/src/models/RestError.js +1 -1
- package/shopping-cart/src/models/ProductLink.d.ts +4 -11
- package/shopping-cart/src/models/ProductLink.js +3 -3
- package/shopping-cart/src/models/ProductLinkAllOf.d.ts +4 -11
- package/shopping-cart/src/models/ProductLinkAllOf.js +5 -7
- package/shopping-cart/src/models/RestError.d.ts +3 -3
- package/shopping-cart/src/models/RestError.js +1 -1
- package/shopping-cart/src/models/index.d.ts +0 -1
- package/shopping-cart/src/models/index.js +0 -1
- package/statistic/src/models/RestError.d.ts +3 -3
- package/statistic/src/models/RestError.js +1 -1
- package/subscription/src/models/RestError.d.ts +3 -3
- package/subscription/src/models/RestError.js +1 -1
- package/ubo/src/models/RestError.d.ts +3 -3
- package/ubo/src/models/RestError.js +1 -1
- package/user/src/models/RestError.d.ts +3 -3
- package/user/src/models/RestError.js +1 -1
- package/wish/src/models/RestError.d.ts +3 -3
- package/wish/src/models/RestError.js +1 -1
- package/magic-cart/src/models/ProductStorageType.d.ts +0 -25
- package/magic-cart/src/models/ProductStorageType.js +0 -40
- package/order/src/models/OrderJournal.d.ts +0 -27
- package/order/src/models/OrderJournal.js +0 -41
- package/order/src/models/OrderStorageType.d.ts +0 -25
- package/order/src/models/OrderStorageType.js +0 -40
- package/order/src/models/ProductStorageType.d.ts +0 -25
- package/order/src/models/ProductStorageType.js +0 -40
- package/product/src/models/ProductStorageType.d.ts +0 -25
- package/product/src/models/ProductStorageType.js +0 -40
- package/shopping-cart/src/models/ProductStorageType.d.ts +0 -25
- package/shopping-cart/src/models/ProductStorageType.js +0 -40
|
@@ -12,10 +12,8 @@
|
|
|
12
12
|
import { Address } from './Address';
|
|
13
13
|
import { Anomalies } from './Anomalies';
|
|
14
14
|
import { HttpLink } from './HttpLink';
|
|
15
|
-
import { OrderJournal } from './OrderJournal';
|
|
16
15
|
import { OrderPrices } from './OrderPrices';
|
|
17
16
|
import { OrderStatus } from './OrderStatus';
|
|
18
|
-
import { OrderStorageType } from './OrderStorageType';
|
|
19
17
|
import { OrderThreads } from './OrderThreads';
|
|
20
18
|
import { OrderType } from './OrderType';
|
|
21
19
|
import { UserLink } from './UserLink';
|
|
@@ -115,12 +113,6 @@ export interface Order {
|
|
|
115
113
|
* @memberof Order
|
|
116
114
|
*/
|
|
117
115
|
shipments: HttpLink;
|
|
118
|
-
/**
|
|
119
|
-
*
|
|
120
|
-
* @type {Array<OrderStorageType>}
|
|
121
|
-
* @memberof Order
|
|
122
|
-
*/
|
|
123
|
-
storageTypes?: Array<OrderStorageType>;
|
|
124
116
|
/**
|
|
125
117
|
* Number of maximum shipments available
|
|
126
118
|
* @type {number}
|
|
@@ -199,12 +191,6 @@ export interface Order {
|
|
|
199
191
|
* @memberof Order
|
|
200
192
|
*/
|
|
201
193
|
tags: Array<string>;
|
|
202
|
-
/**
|
|
203
|
-
*
|
|
204
|
-
* @type {OrderJournal}
|
|
205
|
-
* @memberof Order
|
|
206
|
-
*/
|
|
207
|
-
journal: OrderJournal;
|
|
208
194
|
}
|
|
209
195
|
export declare function OrderFromJSON(json: any): Order;
|
|
210
196
|
export declare function OrderFromJSONTyped(json: any, ignoreDiscriminator: boolean): Order;
|
|
@@ -18,10 +18,8 @@ var runtime_1 = require("../runtime");
|
|
|
18
18
|
var Address_1 = require("./Address");
|
|
19
19
|
var Anomalies_1 = require("./Anomalies");
|
|
20
20
|
var HttpLink_1 = require("./HttpLink");
|
|
21
|
-
var OrderJournal_1 = require("./OrderJournal");
|
|
22
21
|
var OrderPrices_1 = require("./OrderPrices");
|
|
23
22
|
var OrderStatus_1 = require("./OrderStatus");
|
|
24
|
-
var OrderStorageType_1 = require("./OrderStorageType");
|
|
25
23
|
var OrderThreads_1 = require("./OrderThreads");
|
|
26
24
|
var OrderType_1 = require("./OrderType");
|
|
27
25
|
var UserLink_1 = require("./UserLink");
|
|
@@ -49,7 +47,6 @@ function OrderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
47
|
'shippingAddress': (0, Address_1.AddressFromJSON)(json['shippingAddress']),
|
|
50
48
|
'billingAddress': (0, Address_1.AddressFromJSON)(json['billingAddress']),
|
|
51
49
|
'shipments': (0, HttpLink_1.HttpLinkFromJSON)(json['shipments']),
|
|
52
|
-
'storageTypes': !(0, runtime_1.exists)(json, 'storageTypes') ? undefined : (json['storageTypes'].map(OrderStorageType_1.OrderStorageTypeFromJSON)),
|
|
53
50
|
'maxShipment': json['maxShipment'],
|
|
54
51
|
'maxShippingDate': (new Date(json['maxShippingDate'])),
|
|
55
52
|
'maxParcelPerShipment': json['maxParcelPerShipment'],
|
|
@@ -63,7 +60,6 @@ function OrderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
63
60
|
'reservations': (0, HttpLink_1.HttpLinkFromJSON)(json['reservations']),
|
|
64
61
|
'availableItemsOperations': (0, HttpLink_1.HttpLinkFromJSON)(json['availableItemsOperations']),
|
|
65
62
|
'tags': json['tags'],
|
|
66
|
-
'journal': (0, OrderJournal_1.OrderJournalFromJSON)(json['journal']),
|
|
67
63
|
};
|
|
68
64
|
}
|
|
69
65
|
exports.OrderFromJSONTyped = OrderFromJSONTyped;
|
|
@@ -90,7 +86,6 @@ function OrderToJSON(value) {
|
|
|
90
86
|
'shippingAddress': (0, Address_1.AddressToJSON)(value.shippingAddress),
|
|
91
87
|
'billingAddress': (0, Address_1.AddressToJSON)(value.billingAddress),
|
|
92
88
|
'shipments': (0, HttpLink_1.HttpLinkToJSON)(value.shipments),
|
|
93
|
-
'storageTypes': value.storageTypes === undefined ? undefined : (value.storageTypes.map(OrderStorageType_1.OrderStorageTypeToJSON)),
|
|
94
89
|
'maxShipment': value.maxShipment,
|
|
95
90
|
'maxShippingDate': ((0, runtime_1.toDateISOString)(value.maxShippingDate)),
|
|
96
91
|
'maxParcelPerShipment': value.maxParcelPerShipment,
|
|
@@ -104,7 +99,6 @@ function OrderToJSON(value) {
|
|
|
104
99
|
'reservations': (0, HttpLink_1.HttpLinkToJSON)(value.reservations),
|
|
105
100
|
'availableItemsOperations': (0, HttpLink_1.HttpLinkToJSON)(value.availableItemsOperations),
|
|
106
101
|
'tags': value.tags,
|
|
107
|
-
'journal': (0, OrderJournal_1.OrderJournalToJSON)(value.journal),
|
|
108
102
|
};
|
|
109
103
|
}
|
|
110
104
|
exports.OrderToJSON = OrderToJSON;
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { Barcodes } from './Barcodes';
|
|
13
13
|
import { HttpLink } from './HttpLink';
|
|
14
|
-
import { ProductStorageType } from './ProductStorageType';
|
|
15
14
|
/**
|
|
16
15
|
*
|
|
17
16
|
* @export
|
|
@@ -36,12 +35,6 @@ export interface ProductLink extends HttpLink {
|
|
|
36
35
|
* @memberof ProductLink
|
|
37
36
|
*/
|
|
38
37
|
name?: string;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {ProductStorageType}
|
|
42
|
-
* @memberof ProductLink
|
|
43
|
-
*/
|
|
44
|
-
storageType?: ProductStorageType | null;
|
|
45
38
|
}
|
|
46
39
|
export declare function ProductLinkFromJSON(json: any): ProductLink;
|
|
47
40
|
export declare function ProductLinkFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductLink;
|
|
@@ -28,7 +28,6 @@ exports.ProductLinkToJSON = exports.ProductLinkFromJSONTyped = exports.ProductLi
|
|
|
28
28
|
var runtime_1 = require("../runtime");
|
|
29
29
|
var Barcodes_1 = require("./Barcodes");
|
|
30
30
|
var HttpLink_1 = require("./HttpLink");
|
|
31
|
-
var ProductStorageType_1 = require("./ProductStorageType");
|
|
32
31
|
function ProductLinkFromJSON(json) {
|
|
33
32
|
return ProductLinkFromJSONTyped(json, false);
|
|
34
33
|
}
|
|
@@ -37,7 +36,7 @@ function ProductLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
36
|
if ((json === undefined) || (json === null)) {
|
|
38
37
|
return json;
|
|
39
38
|
}
|
|
40
|
-
return __assign(__assign({}, (0, HttpLink_1.HttpLinkFromJSONTyped)(json, ignoreDiscriminator)), { 'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'], 'barcodes': !(0, runtime_1.exists)(json, 'barcodes') ? undefined : (0, Barcodes_1.BarcodesFromJSON)(json['barcodes']), 'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name']
|
|
39
|
+
return __assign(__assign({}, (0, HttpLink_1.HttpLinkFromJSONTyped)(json, ignoreDiscriminator)), { 'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'], 'barcodes': !(0, runtime_1.exists)(json, 'barcodes') ? undefined : (0, Barcodes_1.BarcodesFromJSON)(json['barcodes']), 'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'] });
|
|
41
40
|
}
|
|
42
41
|
exports.ProductLinkFromJSONTyped = ProductLinkFromJSONTyped;
|
|
43
42
|
function ProductLinkToJSON(value) {
|
|
@@ -47,6 +46,6 @@ function ProductLinkToJSON(value) {
|
|
|
47
46
|
if (value === null) {
|
|
48
47
|
return null;
|
|
49
48
|
}
|
|
50
|
-
return __assign(__assign({}, (0, HttpLink_1.HttpLinkToJSON)(value)), { 'id': value.id, 'barcodes': (0, Barcodes_1.BarcodesToJSON)(value.barcodes), 'name': value.name
|
|
49
|
+
return __assign(__assign({}, (0, HttpLink_1.HttpLinkToJSON)(value)), { 'id': value.id, 'barcodes': (0, Barcodes_1.BarcodesToJSON)(value.barcodes), 'name': value.name });
|
|
51
50
|
}
|
|
52
51
|
exports.ProductLinkToJSON = ProductLinkToJSON;
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { Barcodes } from './Barcodes';
|
|
13
|
-
import { ProductStorageType } from './ProductStorageType';
|
|
14
13
|
/**
|
|
15
14
|
*
|
|
16
15
|
* @export
|
|
@@ -35,12 +34,6 @@ export interface ProductLinkAllOf {
|
|
|
35
34
|
* @memberof ProductLinkAllOf
|
|
36
35
|
*/
|
|
37
36
|
name?: string;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {ProductStorageType}
|
|
41
|
-
* @memberof ProductLinkAllOf
|
|
42
|
-
*/
|
|
43
|
-
storageType?: ProductStorageType | null;
|
|
44
37
|
}
|
|
45
38
|
export declare function ProductLinkAllOfFromJSON(json: any): ProductLinkAllOf;
|
|
46
39
|
export declare function ProductLinkAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductLinkAllOf;
|
|
@@ -16,7 +16,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.ProductLinkAllOfToJSON = exports.ProductLinkAllOfFromJSONTyped = exports.ProductLinkAllOfFromJSON = void 0;
|
|
17
17
|
var runtime_1 = require("../runtime");
|
|
18
18
|
var Barcodes_1 = require("./Barcodes");
|
|
19
|
-
var ProductStorageType_1 = require("./ProductStorageType");
|
|
20
19
|
function ProductLinkAllOfFromJSON(json) {
|
|
21
20
|
return ProductLinkAllOfFromJSONTyped(json, false);
|
|
22
21
|
}
|
|
@@ -29,7 +28,6 @@ function ProductLinkAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
28
|
'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
|
|
30
29
|
'barcodes': !(0, runtime_1.exists)(json, 'barcodes') ? undefined : (0, Barcodes_1.BarcodesFromJSON)(json['barcodes']),
|
|
31
30
|
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
32
|
-
'storageType': !(0, runtime_1.exists)(json, 'storageType') ? json['storageType'] : (0, ProductStorageType_1.ProductStorageTypeFromJSON)(json['storageType']),
|
|
33
31
|
};
|
|
34
32
|
}
|
|
35
33
|
exports.ProductLinkAllOfFromJSONTyped = ProductLinkAllOfFromJSONTyped;
|
|
@@ -44,7 +42,6 @@ function ProductLinkAllOfToJSON(value) {
|
|
|
44
42
|
'id': value.id,
|
|
45
43
|
'barcodes': (0, Barcodes_1.BarcodesToJSON)(value.barcodes),
|
|
46
44
|
'name': value.name,
|
|
47
|
-
'storageType': (0, ProductStorageType_1.ProductStorageTypeToJSON)(value.storageType),
|
|
48
45
|
};
|
|
49
46
|
}
|
|
50
47
|
exports.ProductLinkAllOfToJSON = ProductLinkAllOfToJSON;
|
|
@@ -16,13 +16,13 @@
|
|
|
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` -
|
|
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` - FREE * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `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
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* 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` -
|
|
25
|
+
* 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` - FREE * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `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
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
|
|
|
72
72
|
MESSAGE007 = "Wrong Address according CHRONOPOST",
|
|
73
73
|
MESSAGE008 = "Invalid Mangopay Mandate",
|
|
74
74
|
MESSAGE009 = "Invalid Status",
|
|
75
|
-
MESSAGE010 = "
|
|
75
|
+
MESSAGE010 = "FREE",
|
|
76
76
|
MESSAGE011 = "Empty User Address",
|
|
77
77
|
MESSAGE012 = "Empty User Legal Name",
|
|
78
78
|
MESSAGE013 = "Invalid quantities",
|
|
@@ -84,7 +84,7 @@ var RestErrorMessageEnum;
|
|
|
84
84
|
RestErrorMessageEnum["MESSAGE007"] = "Wrong Address according CHRONOPOST";
|
|
85
85
|
RestErrorMessageEnum["MESSAGE008"] = "Invalid Mangopay Mandate";
|
|
86
86
|
RestErrorMessageEnum["MESSAGE009"] = "Invalid Status";
|
|
87
|
-
RestErrorMessageEnum["MESSAGE010"] = "
|
|
87
|
+
RestErrorMessageEnum["MESSAGE010"] = "FREE";
|
|
88
88
|
RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
|
|
89
89
|
RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
|
|
90
90
|
RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
|
|
@@ -18,13 +18,11 @@ export * from './OrderItemUpdateParameters';
|
|
|
18
18
|
export * from './OrderItemWarning';
|
|
19
19
|
export * from './OrderItemWarningAllOf';
|
|
20
20
|
export * from './OrderItemsOperation';
|
|
21
|
-
export * from './OrderJournal';
|
|
22
21
|
export * from './OrderPrices';
|
|
23
22
|
export * from './OrderRefundedItem';
|
|
24
23
|
export * from './OrderRemovedItem';
|
|
25
24
|
export * from './OrderRemovedItemUpdateParameters';
|
|
26
25
|
export * from './OrderStatus';
|
|
27
|
-
export * from './OrderStorageType';
|
|
28
26
|
export * from './OrderThreads';
|
|
29
27
|
export * from './OrderType';
|
|
30
28
|
export * from './OrderUpdateParameters';
|
|
@@ -36,7 +34,6 @@ export * from './PaginatedOrdersAllOf';
|
|
|
36
34
|
export * from './PagingMetadata';
|
|
37
35
|
export * from './ProductLink';
|
|
38
36
|
export * from './ProductLinkAllOf';
|
|
39
|
-
export * from './ProductStorageType';
|
|
40
37
|
export * from './Reservation';
|
|
41
38
|
export * from './ReservationUpdateParameters';
|
|
42
39
|
export * from './RestError';
|
|
@@ -34,13 +34,11 @@ __exportStar(require("./OrderItemUpdateParameters"), exports);
|
|
|
34
34
|
__exportStar(require("./OrderItemWarning"), exports);
|
|
35
35
|
__exportStar(require("./OrderItemWarningAllOf"), exports);
|
|
36
36
|
__exportStar(require("./OrderItemsOperation"), exports);
|
|
37
|
-
__exportStar(require("./OrderJournal"), exports);
|
|
38
37
|
__exportStar(require("./OrderPrices"), exports);
|
|
39
38
|
__exportStar(require("./OrderRefundedItem"), exports);
|
|
40
39
|
__exportStar(require("./OrderRemovedItem"), exports);
|
|
41
40
|
__exportStar(require("./OrderRemovedItemUpdateParameters"), exports);
|
|
42
41
|
__exportStar(require("./OrderStatus"), exports);
|
|
43
|
-
__exportStar(require("./OrderStorageType"), exports);
|
|
44
42
|
__exportStar(require("./OrderThreads"), exports);
|
|
45
43
|
__exportStar(require("./OrderType"), exports);
|
|
46
44
|
__exportStar(require("./OrderUpdateParameters"), exports);
|
|
@@ -52,7 +50,6 @@ __exportStar(require("./PaginatedOrdersAllOf"), exports);
|
|
|
52
50
|
__exportStar(require("./PagingMetadata"), exports);
|
|
53
51
|
__exportStar(require("./ProductLink"), exports);
|
|
54
52
|
__exportStar(require("./ProductLinkAllOf"), exports);
|
|
55
|
-
__exportStar(require("./ProductStorageType"), exports);
|
|
56
53
|
__exportStar(require("./Reservation"), exports);
|
|
57
54
|
__exportStar(require("./ReservationUpdateParameters"), exports);
|
|
58
55
|
__exportStar(require("./RestError"), exports);
|
package/package.json
CHANGED
|
@@ -17,7 +17,6 @@ import { ProductMarketStatus } from './ProductMarketStatus';
|
|
|
17
17
|
import { ProductProvider } from './ProductProvider';
|
|
18
18
|
import { ProductSecondaryType } from './ProductSecondaryType';
|
|
19
19
|
import { ProductStatus } from './ProductStatus';
|
|
20
|
-
import { ProductStorageType } from './ProductStorageType';
|
|
21
20
|
import { ProductType } from './ProductType';
|
|
22
21
|
import { Statistics } from './Statistics';
|
|
23
22
|
import { Vat } from './Vat';
|
|
@@ -113,10 +112,10 @@ export interface Product {
|
|
|
113
112
|
narcoticPrescription?: boolean | null;
|
|
114
113
|
/**
|
|
115
114
|
*
|
|
116
|
-
* @type {
|
|
115
|
+
* @type {string}
|
|
117
116
|
* @memberof Product
|
|
118
117
|
*/
|
|
119
|
-
storageType?:
|
|
118
|
+
storageType?: string | null;
|
|
120
119
|
/**
|
|
121
120
|
*
|
|
122
121
|
* @type {ProductStatus}
|
|
@@ -23,7 +23,6 @@ var ProductMarketStatus_1 = require("./ProductMarketStatus");
|
|
|
23
23
|
var ProductProvider_1 = require("./ProductProvider");
|
|
24
24
|
var ProductSecondaryType_1 = require("./ProductSecondaryType");
|
|
25
25
|
var ProductStatus_1 = require("./ProductStatus");
|
|
26
|
-
var ProductStorageType_1 = require("./ProductStorageType");
|
|
27
26
|
var ProductType_1 = require("./ProductType");
|
|
28
27
|
var Statistics_1 = require("./Statistics");
|
|
29
28
|
var Vat_1 = require("./Vat");
|
|
@@ -50,7 +49,7 @@ function ProductFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
49
|
'laboratory': !(0, runtime_1.exists)(json, 'laboratory') ? json['laboratory'] : (0, LaboratoryLink_1.LaboratoryLinkFromJSON)(json['laboratory']),
|
|
51
50
|
'vat': !(0, runtime_1.exists)(json, 'vat') ? json['vat'] : (0, Vat_1.VatFromJSON)(json['vat']),
|
|
52
51
|
'narcoticPrescription': !(0, runtime_1.exists)(json, 'narcoticPrescription') ? json['narcoticPrescription'] : json['narcoticPrescription'],
|
|
53
|
-
'storageType': !(0, runtime_1.exists)(json, 'storageType') ? json['storageType'] :
|
|
52
|
+
'storageType': !(0, runtime_1.exists)(json, 'storageType') ? json['storageType'] : json['storageType'],
|
|
54
53
|
'status': !(0, runtime_1.exists)(json, 'status') ? json['status'] : (0, ProductStatus_1.ProductStatusFromJSON)(json['status']),
|
|
55
54
|
'marketStatus': !(0, runtime_1.exists)(json, 'marketStatus') ? json['marketStatus'] : (0, ProductMarketStatus_1.ProductMarketStatusFromJSON)(json['marketStatus']),
|
|
56
55
|
'dispensationPlace': !(0, runtime_1.exists)(json, 'dispensationPlace') ? json['dispensationPlace'] : (0, ProductDispensationPlace_1.ProductDispensationPlaceFromJSON)(json['dispensationPlace']),
|
|
@@ -87,7 +86,7 @@ function ProductToJSON(value) {
|
|
|
87
86
|
'laboratory': (0, LaboratoryLink_1.LaboratoryLinkToJSON)(value.laboratory),
|
|
88
87
|
'vat': (0, Vat_1.VatToJSON)(value.vat),
|
|
89
88
|
'narcoticPrescription': value.narcoticPrescription,
|
|
90
|
-
'storageType':
|
|
89
|
+
'storageType': value.storageType,
|
|
91
90
|
'status': (0, ProductStatus_1.ProductStatusToJSON)(value.status),
|
|
92
91
|
'marketStatus': (0, ProductMarketStatus_1.ProductMarketStatusToJSON)(value.marketStatus),
|
|
93
92
|
'dispensationPlace': (0, ProductDispensationPlace_1.ProductDispensationPlaceToJSON)(value.dispensationPlace),
|
|
@@ -13,7 +13,6 @@ import { Barcodes } from './Barcodes';
|
|
|
13
13
|
import { ProductDispensationPlace } from './ProductDispensationPlace';
|
|
14
14
|
import { ProductMarketStatus } from './ProductMarketStatus';
|
|
15
15
|
import { ProductStatus } from './ProductStatus';
|
|
16
|
-
import { ProductStorageType } from './ProductStorageType';
|
|
17
16
|
/**
|
|
18
17
|
*
|
|
19
18
|
* @export
|
|
@@ -94,10 +93,10 @@ export interface ProductCreationOrUpdateParameters {
|
|
|
94
93
|
narcoticPrescription?: boolean | null;
|
|
95
94
|
/**
|
|
96
95
|
*
|
|
97
|
-
* @type {
|
|
96
|
+
* @type {string}
|
|
98
97
|
* @memberof ProductCreationOrUpdateParameters
|
|
99
98
|
*/
|
|
100
|
-
storageType?:
|
|
99
|
+
storageType?: string | null;
|
|
101
100
|
/**
|
|
102
101
|
*
|
|
103
102
|
* @type {ProductMarketStatus}
|
|
@@ -19,7 +19,6 @@ var Barcodes_1 = require("./Barcodes");
|
|
|
19
19
|
var ProductDispensationPlace_1 = require("./ProductDispensationPlace");
|
|
20
20
|
var ProductMarketStatus_1 = require("./ProductMarketStatus");
|
|
21
21
|
var ProductStatus_1 = require("./ProductStatus");
|
|
22
|
-
var ProductStorageType_1 = require("./ProductStorageType");
|
|
23
22
|
function ProductCreationOrUpdateParametersFromJSON(json) {
|
|
24
23
|
return ProductCreationOrUpdateParametersFromJSONTyped(json, false);
|
|
25
24
|
}
|
|
@@ -41,7 +40,7 @@ function ProductCreationOrUpdateParametersFromJSONTyped(json, ignoreDiscriminato
|
|
|
41
40
|
'laboratoryId': !(0, runtime_1.exists)(json, 'laboratoryId') ? json['laboratoryId'] : json['laboratoryId'],
|
|
42
41
|
'vatId': !(0, runtime_1.exists)(json, 'vatId') ? json['vatId'] : json['vatId'],
|
|
43
42
|
'narcoticPrescription': !(0, runtime_1.exists)(json, 'narcoticPrescription') ? json['narcoticPrescription'] : json['narcoticPrescription'],
|
|
44
|
-
'storageType': !(0, runtime_1.exists)(json, 'storageType') ? json['storageType'] :
|
|
43
|
+
'storageType': !(0, runtime_1.exists)(json, 'storageType') ? json['storageType'] : json['storageType'],
|
|
45
44
|
'marketStatus': !(0, runtime_1.exists)(json, 'marketStatus') ? json['marketStatus'] : (0, ProductMarketStatus_1.ProductMarketStatusFromJSON)(json['marketStatus']),
|
|
46
45
|
'status': !(0, runtime_1.exists)(json, 'status') ? undefined : (0, ProductStatus_1.ProductStatusFromJSON)(json['status']),
|
|
47
46
|
'dispensationPlace': !(0, runtime_1.exists)(json, 'dispensationPlace') ? json['dispensationPlace'] : (0, ProductDispensationPlace_1.ProductDispensationPlaceFromJSON)(json['dispensationPlace']),
|
|
@@ -71,7 +70,7 @@ function ProductCreationOrUpdateParametersToJSON(value) {
|
|
|
71
70
|
'laboratoryId': value.laboratoryId,
|
|
72
71
|
'vatId': value.vatId,
|
|
73
72
|
'narcoticPrescription': value.narcoticPrescription,
|
|
74
|
-
'storageType':
|
|
73
|
+
'storageType': value.storageType,
|
|
75
74
|
'marketStatus': (0, ProductMarketStatus_1.ProductMarketStatusToJSON)(value.marketStatus),
|
|
76
75
|
'status': (0, ProductStatus_1.ProductStatusToJSON)(value.status),
|
|
77
76
|
'dispensationPlace': (0, ProductDispensationPlace_1.ProductDispensationPlaceToJSON)(value.dispensationPlace),
|
|
@@ -16,13 +16,13 @@
|
|
|
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` -
|
|
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` - FREE * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `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
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* 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` -
|
|
25
|
+
* 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` - FREE * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `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
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
|
|
|
72
72
|
MESSAGE007 = "Wrong Address according CHRONOPOST",
|
|
73
73
|
MESSAGE008 = "Invalid Mangopay Mandate",
|
|
74
74
|
MESSAGE009 = "Invalid Status",
|
|
75
|
-
MESSAGE010 = "
|
|
75
|
+
MESSAGE010 = "FREE",
|
|
76
76
|
MESSAGE011 = "Empty User Address",
|
|
77
77
|
MESSAGE012 = "Empty User Legal Name",
|
|
78
78
|
MESSAGE013 = "Invalid quantities",
|
|
@@ -84,7 +84,7 @@ var RestErrorMessageEnum;
|
|
|
84
84
|
RestErrorMessageEnum["MESSAGE007"] = "Wrong Address according CHRONOPOST";
|
|
85
85
|
RestErrorMessageEnum["MESSAGE008"] = "Invalid Mangopay Mandate";
|
|
86
86
|
RestErrorMessageEnum["MESSAGE009"] = "Invalid Status";
|
|
87
|
-
RestErrorMessageEnum["MESSAGE010"] = "
|
|
87
|
+
RestErrorMessageEnum["MESSAGE010"] = "FREE";
|
|
88
88
|
RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
|
|
89
89
|
RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
|
|
90
90
|
RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
|
|
@@ -20,7 +20,6 @@ export * from './ProductProscriptionCreationParameters';
|
|
|
20
20
|
export * from './ProductProvider';
|
|
21
21
|
export * from './ProductSecondaryType';
|
|
22
22
|
export * from './ProductStatus';
|
|
23
|
-
export * from './ProductStorageType';
|
|
24
23
|
export * from './ProductType';
|
|
25
24
|
export * from './RestError';
|
|
26
25
|
export * from './Statistics';
|
|
@@ -36,7 +36,6 @@ __exportStar(require("./ProductProscriptionCreationParameters"), exports);
|
|
|
36
36
|
__exportStar(require("./ProductProvider"), exports);
|
|
37
37
|
__exportStar(require("./ProductSecondaryType"), exports);
|
|
38
38
|
__exportStar(require("./ProductStatus"), exports);
|
|
39
|
-
__exportStar(require("./ProductStorageType"), exports);
|
|
40
39
|
__exportStar(require("./ProductType"), exports);
|
|
41
40
|
__exportStar(require("./RestError"), exports);
|
|
42
41
|
__exportStar(require("./Statistics"), exports);
|
|
@@ -16,13 +16,13 @@
|
|
|
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` -
|
|
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` - FREE * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `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
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* 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` -
|
|
25
|
+
* 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` - FREE * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `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
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
|
|
|
72
72
|
MESSAGE007 = "Wrong Address according CHRONOPOST",
|
|
73
73
|
MESSAGE008 = "Invalid Mangopay Mandate",
|
|
74
74
|
MESSAGE009 = "Invalid Status",
|
|
75
|
-
MESSAGE010 = "
|
|
75
|
+
MESSAGE010 = "FREE",
|
|
76
76
|
MESSAGE011 = "Empty User Address",
|
|
77
77
|
MESSAGE012 = "Empty User Legal Name",
|
|
78
78
|
MESSAGE013 = "Invalid quantities",
|
|
@@ -84,7 +84,7 @@ var RestErrorMessageEnum;
|
|
|
84
84
|
RestErrorMessageEnum["MESSAGE007"] = "Wrong Address according CHRONOPOST";
|
|
85
85
|
RestErrorMessageEnum["MESSAGE008"] = "Invalid Mangopay Mandate";
|
|
86
86
|
RestErrorMessageEnum["MESSAGE009"] = "Invalid Status";
|
|
87
|
-
RestErrorMessageEnum["MESSAGE010"] = "
|
|
87
|
+
RestErrorMessageEnum["MESSAGE010"] = "FREE";
|
|
88
88
|
RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
|
|
89
89
|
RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
|
|
90
90
|
RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import { ProductLink } from './ProductLink';
|
|
13
13
|
import { UserLink } from './UserLink';
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
*
|
|
16
16
|
* @export
|
|
17
17
|
* @interface FavoriteProductRecommendation
|
|
18
18
|
*/
|
|
@@ -24,7 +24,7 @@ export interface FavoriteProductRecommendation {
|
|
|
24
24
|
*/
|
|
25
25
|
id: string;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* The user owner of the recommendation If null : the recommendation is a default recommendation if not null : the recommendation is personnalized for the user
|
|
28
28
|
* @type {UserLink}
|
|
29
29
|
* @memberof FavoriteProductRecommendation
|
|
30
30
|
*/
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import { ProductLink } from './ProductLink';
|
|
13
13
|
import { UserLink } from './UserLink';
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
*
|
|
16
16
|
* @export
|
|
17
17
|
* @interface ProductRecommendation
|
|
18
18
|
*/
|
|
@@ -24,7 +24,7 @@ export interface ProductRecommendation {
|
|
|
24
24
|
*/
|
|
25
25
|
id: string;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* The user owner of the recommendation If null : the recommendation is a default recommendation if not null : the recommendation is personnalized for the user
|
|
28
28
|
* @type {UserLink}
|
|
29
29
|
* @memberof ProductRecommendation
|
|
30
30
|
*/
|
|
@@ -16,13 +16,13 @@
|
|
|
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` -
|
|
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` - FREE * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `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
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* 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` -
|
|
25
|
+
* 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` - FREE * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `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
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
|
|
|
72
72
|
MESSAGE007 = "Wrong Address according CHRONOPOST",
|
|
73
73
|
MESSAGE008 = "Invalid Mangopay Mandate",
|
|
74
74
|
MESSAGE009 = "Invalid Status",
|
|
75
|
-
MESSAGE010 = "
|
|
75
|
+
MESSAGE010 = "FREE",
|
|
76
76
|
MESSAGE011 = "Empty User Address",
|
|
77
77
|
MESSAGE012 = "Empty User Legal Name",
|
|
78
78
|
MESSAGE013 = "Invalid quantities",
|
|
@@ -84,7 +84,7 @@ var RestErrorMessageEnum;
|
|
|
84
84
|
RestErrorMessageEnum["MESSAGE007"] = "Wrong Address according CHRONOPOST";
|
|
85
85
|
RestErrorMessageEnum["MESSAGE008"] = "Invalid Mangopay Mandate";
|
|
86
86
|
RestErrorMessageEnum["MESSAGE009"] = "Invalid Status";
|
|
87
|
-
RestErrorMessageEnum["MESSAGE010"] = "
|
|
87
|
+
RestErrorMessageEnum["MESSAGE010"] = "FREE";
|
|
88
88
|
RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
|
|
89
89
|
RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
|
|
90
90
|
RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
|
|
@@ -16,13 +16,13 @@
|
|
|
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` -
|
|
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` - FREE * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `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
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* 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` -
|
|
25
|
+
* 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` - FREE * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `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
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
|
|
|
72
72
|
MESSAGE007 = "Wrong Address according CHRONOPOST",
|
|
73
73
|
MESSAGE008 = "Invalid Mangopay Mandate",
|
|
74
74
|
MESSAGE009 = "Invalid Status",
|
|
75
|
-
MESSAGE010 = "
|
|
75
|
+
MESSAGE010 = "FREE",
|
|
76
76
|
MESSAGE011 = "Empty User Address",
|
|
77
77
|
MESSAGE012 = "Empty User Legal Name",
|
|
78
78
|
MESSAGE013 = "Invalid quantities",
|
|
@@ -84,7 +84,7 @@ var RestErrorMessageEnum;
|
|
|
84
84
|
RestErrorMessageEnum["MESSAGE007"] = "Wrong Address according CHRONOPOST";
|
|
85
85
|
RestErrorMessageEnum["MESSAGE008"] = "Invalid Mangopay Mandate";
|
|
86
86
|
RestErrorMessageEnum["MESSAGE009"] = "Invalid Status";
|
|
87
|
-
RestErrorMessageEnum["MESSAGE010"] = "
|
|
87
|
+
RestErrorMessageEnum["MESSAGE010"] = "FREE";
|
|
88
88
|
RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
|
|
89
89
|
RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
|
|
90
90
|
RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
|
|
@@ -16,13 +16,13 @@
|
|
|
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` -
|
|
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` - FREE * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `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
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* 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` -
|
|
25
|
+
* 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` - FREE * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `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
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
|
|
|
72
72
|
MESSAGE007 = "Wrong Address according CHRONOPOST",
|
|
73
73
|
MESSAGE008 = "Invalid Mangopay Mandate",
|
|
74
74
|
MESSAGE009 = "Invalid Status",
|
|
75
|
-
MESSAGE010 = "
|
|
75
|
+
MESSAGE010 = "FREE",
|
|
76
76
|
MESSAGE011 = "Empty User Address",
|
|
77
77
|
MESSAGE012 = "Empty User Legal Name",
|
|
78
78
|
MESSAGE013 = "Invalid quantities",
|