@lcdp/api-react-rest-client 1.1.1-develop.17 → 1.1.1-develop.3
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 +4 -6
- package/auth/src/models/RestError.js +0 -2
- package/configuration/src/models/RestError.d.ts +4 -6
- package/configuration/src/models/RestError.js +0 -2
- package/content/src/models/RestError.d.ts +4 -6
- package/content/src/models/RestError.js +0 -2
- package/favorite/src/models/RestError.d.ts +4 -6
- package/favorite/src/models/RestError.js +0 -2
- package/inventory/src/models/RestError.d.ts +4 -6
- package/inventory/src/models/RestError.js +0 -2
- package/invoice/src/models/RestError.d.ts +4 -6
- package/invoice/src/models/RestError.js +0 -2
- package/laboratory-store/src/models/RestError.d.ts +4 -6
- package/laboratory-store/src/models/RestError.js +0 -2
- package/lexicon/src/models/RestError.d.ts +4 -6
- package/lexicon/src/models/RestError.js +0 -2
- package/litigation/src/models/RestError.d.ts +4 -6
- package/litigation/src/models/RestError.js +0 -2
- package/mangopay-hook/src/models/RestError.d.ts +4 -6
- package/mangopay-hook/src/models/RestError.js +0 -2
- package/notification/src/models/NotificationTypeId.d.ts +0 -1
- package/notification/src/models/NotificationTypeId.js +0 -1
- package/notification/src/models/RestError.d.ts +4 -6
- package/notification/src/models/RestError.js +0 -2
- package/order/src/apis/ManageMetaOrderApi.js +1 -1
- package/order/src/models/Order.d.ts +1 -14
- package/order/src/models/Order.js +0 -5
- package/order/src/models/OrderItemPrices.d.ts +1 -7
- package/order/src/models/OrderItemPrices.js +0 -2
- package/order/src/models/OrderPrices.d.ts +1 -1
- package/order/src/models/ProductLink.d.ts +7 -0
- package/order/src/models/ProductLink.js +3 -2
- package/order/src/models/ProductLinkAllOf.d.ts +7 -0
- package/order/src/models/ProductLinkAllOf.js +3 -0
- package/order/src/models/RestError.d.ts +4 -6
- package/order/src/models/RestError.js +0 -2
- package/order/src/models/Vat.d.ts +39 -0
- package/order/src/models/Vat.js +46 -0
- package/order/src/models/index.d.ts +1 -0
- package/order/src/models/index.js +1 -0
- package/package.json +1 -1
- package/product/src/apis/SearchProductApi.d.ts +0 -1
- package/product/src/apis/SearchProductApi.js +0 -3
- package/product/src/models/RestError.d.ts +4 -6
- package/product/src/models/RestError.js +0 -2
- package/pub/src/models/RestError.d.ts +4 -6
- package/pub/src/models/RestError.js +0 -2
- package/recommendation/src/apis/index.d.ts +0 -1
- package/recommendation/src/apis/index.js +0 -1
- package/recommendation/src/models/index.d.ts +0 -3
- package/recommendation/src/models/index.js +0 -3
- package/rfx/src/models/RestError.d.ts +4 -6
- package/rfx/src/models/RestError.js +0 -2
- package/sale-offer/src/models/RestError.d.ts +4 -6
- package/sale-offer/src/models/RestError.js +0 -2
- package/servant/src/models/RestError.d.ts +4 -6
- package/servant/src/models/RestError.js +0 -2
- package/shipment/src/models/RestError.d.ts +4 -6
- package/shipment/src/models/RestError.js +0 -2
- package/shopping-cart/src/models/RestError.d.ts +4 -6
- package/shopping-cart/src/models/RestError.js +0 -2
- package/statistic/src/models/RestError.d.ts +4 -6
- package/statistic/src/models/RestError.js +0 -2
- package/subscription/src/models/RestError.d.ts +4 -6
- package/subscription/src/models/RestError.js +0 -2
- package/ubo/src/models/RestError.d.ts +4 -6
- package/ubo/src/models/RestError.js +0 -2
- package/user/src/models/NotificationTypeId.d.ts +0 -1
- package/user/src/models/NotificationTypeId.js +0 -1
- package/user/src/models/RestError.d.ts +4 -6
- package/user/src/models/RestError.js +0 -2
- package/user/src/models/UserCreationParameters.d.ts +0 -6
- package/user/src/models/UserCreationParameters.js +0 -2
- package/wish/src/apis/ManageWishApi.d.ts +0 -2
- package/wish/src/apis/ManageWishApi.js +0 -2
- package/wish/src/apis/SearchWishApi.d.ts +3 -7
- package/wish/src/apis/SearchWishApi.js +2 -14
- package/wish/src/models/RestError.d.ts +4 -6
- package/wish/src/models/RestError.js +0 -2
- package/wish/src/models/Wish.d.ts +0 -19
- package/wish/src/models/Wish.js +0 -7
- package/wish/src/models/WishCreationParameters.d.ts +0 -13
- package/wish/src/models/WishCreationParameters.js +0 -5
- package/wish/src/models/WishUpdateParameters.d.ts +0 -6
- package/wish/src/models/WishUpdateParameters.js +0 -2
- package/wish/src/models/index.d.ts +0 -2
- package/wish/src/models/index.js +0 -2
- package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.d.ts +0 -45
- package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.js +0 -182
- package/recommendation/src/models/FavoriteProductRecommendation.d.ts +0 -53
- package/recommendation/src/models/FavoriteProductRecommendation.js +0 -52
- package/recommendation/src/models/PaginatedFavoriteProductRecommendations.d.ts +0 -29
- package/recommendation/src/models/PaginatedFavoriteProductRecommendations.js +0 -50
- package/recommendation/src/models/PaginatedFavoriteProductRecommendationsAllOf.d.ts +0 -28
- package/recommendation/src/models/PaginatedFavoriteProductRecommendationsAllOf.js +0 -42
- package/wish/src/models/Referrer.d.ts +0 -34
- package/wish/src/models/Referrer.js +0 -45
- package/wish/src/models/WishReferrerType.d.ts +0 -23
- package/wish/src/models/WishReferrerType.js +0 -38
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { Address } from './Address';
|
|
13
12
|
import { Anomalies } from './Anomalies';
|
|
14
13
|
import { HttpLink } from './HttpLink';
|
|
15
14
|
import { OrderPrices } from './OrderPrices';
|
|
@@ -18,7 +17,7 @@ import { OrderThreads } from './OrderThreads';
|
|
|
18
17
|
import { OrderType } from './OrderType';
|
|
19
18
|
import { UserLink } from './UserLink';
|
|
20
19
|
/**
|
|
21
|
-
* One order contain all items that a buyer request to one seller.
|
|
20
|
+
* One order contain all items that a buyer request to one seller.
|
|
22
21
|
* @export
|
|
23
22
|
* @interface Order
|
|
24
23
|
*/
|
|
@@ -95,18 +94,6 @@ export interface Order {
|
|
|
95
94
|
* @memberof Order
|
|
96
95
|
*/
|
|
97
96
|
buyer?: UserLink;
|
|
98
|
-
/**
|
|
99
|
-
*
|
|
100
|
-
* @type {Address}
|
|
101
|
-
* @memberof Order
|
|
102
|
-
*/
|
|
103
|
-
shippingAddress?: Address;
|
|
104
|
-
/**
|
|
105
|
-
*
|
|
106
|
-
* @type {Address}
|
|
107
|
-
* @memberof Order
|
|
108
|
-
*/
|
|
109
|
-
billingAddress?: Address;
|
|
110
97
|
/**
|
|
111
98
|
*
|
|
112
99
|
* @type {HttpLink}
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.OrderToJSON = exports.OrderFromJSONTyped = exports.OrderFromJSON = void 0;
|
|
17
17
|
var runtime_1 = require("../runtime");
|
|
18
|
-
var Address_1 = require("./Address");
|
|
19
18
|
var Anomalies_1 = require("./Anomalies");
|
|
20
19
|
var HttpLink_1 = require("./HttpLink");
|
|
21
20
|
var OrderPrices_1 = require("./OrderPrices");
|
|
@@ -44,8 +43,6 @@ function OrderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
43
|
'createdAt': !(0, runtime_1.exists)(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
|
|
45
44
|
'seller': !(0, runtime_1.exists)(json, 'seller') ? undefined : (0, UserLink_1.UserLinkFromJSON)(json['seller']),
|
|
46
45
|
'buyer': !(0, runtime_1.exists)(json, 'buyer') ? undefined : (0, UserLink_1.UserLinkFromJSON)(json['buyer']),
|
|
47
|
-
'shippingAddress': !(0, runtime_1.exists)(json, 'shippingAddress') ? undefined : (0, Address_1.AddressFromJSON)(json['shippingAddress']),
|
|
48
|
-
'billingAddress': !(0, runtime_1.exists)(json, 'billingAddress') ? undefined : (0, Address_1.AddressFromJSON)(json['billingAddress']),
|
|
49
46
|
'shipments': !(0, runtime_1.exists)(json, 'shipments') ? undefined : (0, HttpLink_1.HttpLinkFromJSON)(json['shipments']),
|
|
50
47
|
'maxShipment': !(0, runtime_1.exists)(json, 'maxShipment') ? undefined : json['maxShipment'],
|
|
51
48
|
'maxShippingDate': !(0, runtime_1.exists)(json, 'maxShippingDate') ? undefined : (new Date(json['maxShippingDate'])),
|
|
@@ -83,8 +80,6 @@ function OrderToJSON(value) {
|
|
|
83
80
|
'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
|
|
84
81
|
'seller': (0, UserLink_1.UserLinkToJSON)(value.seller),
|
|
85
82
|
'buyer': (0, UserLink_1.UserLinkToJSON)(value.buyer),
|
|
86
|
-
'shippingAddress': (0, Address_1.AddressToJSON)(value.shippingAddress),
|
|
87
|
-
'billingAddress': (0, Address_1.AddressToJSON)(value.billingAddress),
|
|
88
83
|
'shipments': (0, HttpLink_1.HttpLinkToJSON)(value.shipments),
|
|
89
84
|
'maxShipment': value.maxShipment,
|
|
90
85
|
'maxShippingDate': value.maxShippingDate === undefined ? undefined : ((0, runtime_1.toDateISOString)(value.maxShippingDate)),
|
|
@@ -28,7 +28,7 @@ export interface OrderItemPrices {
|
|
|
28
28
|
*/
|
|
29
29
|
totalExcludingTaxes?: number;
|
|
30
30
|
/**
|
|
31
|
-
* Total
|
|
31
|
+
* Total V.A.T amount for this meta-order
|
|
32
32
|
* @type {number}
|
|
33
33
|
* @memberof OrderItemPrices
|
|
34
34
|
*/
|
|
@@ -39,12 +39,6 @@ export interface OrderItemPrices {
|
|
|
39
39
|
* @memberof OrderItemPrices
|
|
40
40
|
*/
|
|
41
41
|
totalIncludingTaxes?: number;
|
|
42
|
-
/**
|
|
43
|
-
* Vat rate for this meta-order
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof OrderItemPrices
|
|
46
|
-
*/
|
|
47
|
-
vatRate?: number;
|
|
48
42
|
}
|
|
49
43
|
export declare function OrderItemPricesFromJSON(json: any): OrderItemPrices;
|
|
50
44
|
export declare function OrderItemPricesFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderItemPrices;
|
|
@@ -28,7 +28,6 @@ function OrderItemPricesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
28
|
'totalExcludingTaxes': !(0, runtime_1.exists)(json, 'totalExcludingTaxes') ? undefined : json['totalExcludingTaxes'],
|
|
29
29
|
'totalTaxes': !(0, runtime_1.exists)(json, 'totalTaxes') ? undefined : json['totalTaxes'],
|
|
30
30
|
'totalIncludingTaxes': !(0, runtime_1.exists)(json, 'totalIncludingTaxes') ? undefined : json['totalIncludingTaxes'],
|
|
31
|
-
'vatRate': !(0, runtime_1.exists)(json, 'vatRate') ? undefined : json['vatRate'],
|
|
32
31
|
};
|
|
33
32
|
}
|
|
34
33
|
exports.OrderItemPricesFromJSONTyped = OrderItemPricesFromJSONTyped;
|
|
@@ -44,7 +43,6 @@ function OrderItemPricesToJSON(value) {
|
|
|
44
43
|
'totalExcludingTaxes': value.totalExcludingTaxes,
|
|
45
44
|
'totalTaxes': value.totalTaxes,
|
|
46
45
|
'totalIncludingTaxes': value.totalIncludingTaxes,
|
|
47
|
-
'vatRate': value.vatRate,
|
|
48
46
|
};
|
|
49
47
|
}
|
|
50
48
|
exports.OrderItemPricesToJSON = OrderItemPricesToJSON;
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { Barcodes } from './Barcodes';
|
|
13
13
|
import { HttpLink } from './HttpLink';
|
|
14
|
+
import { Vat } from './Vat';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -35,6 +36,12 @@ export interface ProductLink extends HttpLink {
|
|
|
35
36
|
* @memberof ProductLink
|
|
36
37
|
*/
|
|
37
38
|
name?: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {Vat}
|
|
42
|
+
* @memberof ProductLink
|
|
43
|
+
*/
|
|
44
|
+
vat?: Vat | null;
|
|
38
45
|
}
|
|
39
46
|
export declare function ProductLinkFromJSON(json: any): ProductLink;
|
|
40
47
|
export declare function ProductLinkFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductLink;
|
|
@@ -28,6 +28,7 @@ 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 Vat_1 = require("./Vat");
|
|
31
32
|
function ProductLinkFromJSON(json) {
|
|
32
33
|
return ProductLinkFromJSONTyped(json, false);
|
|
33
34
|
}
|
|
@@ -36,7 +37,7 @@ function ProductLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
37
|
if ((json === undefined) || (json === null)) {
|
|
37
38
|
return json;
|
|
38
39
|
}
|
|
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'] });
|
|
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'], 'vat': !(0, runtime_1.exists)(json, 'vat') ? json['vat'] : (0, Vat_1.VatFromJSON)(json['vat']) });
|
|
40
41
|
}
|
|
41
42
|
exports.ProductLinkFromJSONTyped = ProductLinkFromJSONTyped;
|
|
42
43
|
function ProductLinkToJSON(value) {
|
|
@@ -46,6 +47,6 @@ function ProductLinkToJSON(value) {
|
|
|
46
47
|
if (value === null) {
|
|
47
48
|
return null;
|
|
48
49
|
}
|
|
49
|
-
return __assign(__assign({}, (0, HttpLink_1.HttpLinkToJSON)(value)), { 'id': value.id, 'barcodes': (0, Barcodes_1.BarcodesToJSON)(value.barcodes), 'name': value.name });
|
|
50
|
+
return __assign(__assign({}, (0, HttpLink_1.HttpLinkToJSON)(value)), { 'id': value.id, 'barcodes': (0, Barcodes_1.BarcodesToJSON)(value.barcodes), 'name': value.name, 'vat': (0, Vat_1.VatToJSON)(value.vat) });
|
|
50
51
|
}
|
|
51
52
|
exports.ProductLinkToJSON = ProductLinkToJSON;
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { Barcodes } from './Barcodes';
|
|
13
|
+
import { Vat } from './Vat';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -34,6 +35,12 @@ export interface ProductLinkAllOf {
|
|
|
34
35
|
* @memberof ProductLinkAllOf
|
|
35
36
|
*/
|
|
36
37
|
name?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {Vat}
|
|
41
|
+
* @memberof ProductLinkAllOf
|
|
42
|
+
*/
|
|
43
|
+
vat?: Vat | null;
|
|
37
44
|
}
|
|
38
45
|
export declare function ProductLinkAllOfFromJSON(json: any): ProductLinkAllOf;
|
|
39
46
|
export declare function ProductLinkAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductLinkAllOf;
|
|
@@ -16,6 +16,7 @@ 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 Vat_1 = require("./Vat");
|
|
19
20
|
function ProductLinkAllOfFromJSON(json) {
|
|
20
21
|
return ProductLinkAllOfFromJSONTyped(json, false);
|
|
21
22
|
}
|
|
@@ -28,6 +29,7 @@ function ProductLinkAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
29
|
'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
|
|
29
30
|
'barcodes': !(0, runtime_1.exists)(json, 'barcodes') ? undefined : (0, Barcodes_1.BarcodesFromJSON)(json['barcodes']),
|
|
30
31
|
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
32
|
+
'vat': !(0, runtime_1.exists)(json, 'vat') ? json['vat'] : (0, Vat_1.VatFromJSON)(json['vat']),
|
|
31
33
|
};
|
|
32
34
|
}
|
|
33
35
|
exports.ProductLinkAllOfFromJSONTyped = ProductLinkAllOfFromJSONTyped;
|
|
@@ -42,6 +44,7 @@ function ProductLinkAllOfToJSON(value) {
|
|
|
42
44
|
'id': value.id,
|
|
43
45
|
'barcodes': (0, Barcodes_1.BarcodesToJSON)(value.barcodes),
|
|
44
46
|
'name': value.name,
|
|
47
|
+
'vat': (0, Vat_1.VatToJSON)(value.vat),
|
|
45
48
|
};
|
|
46
49
|
}
|
|
47
50
|
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` - Empty Meta-Order * `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
|
|
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` - Empty Meta-Order * `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
|
|
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` - Empty Meta-Order * `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
|
|
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` - Empty Meta-Order * `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
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
57
|
-
CODE018 = "CODE018"
|
|
56
|
+
CODE017 = "CODE017"
|
|
58
57
|
}
|
|
59
58
|
/**
|
|
60
59
|
* @export
|
|
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
78
77
|
MESSAGE014 = "Invalid Meta-Order",
|
|
79
78
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
80
79
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
81
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
82
|
-
MESSAGE018 = "Trial already used"
|
|
80
|
+
MESSAGE017 = "Batch is forbidden for sale"
|
|
83
81
|
}
|
|
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
-
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
68
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
70
69
|
/**
|
|
71
70
|
* @export
|
|
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
|
|
|
91
90
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
92
91
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
93
92
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
-
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
95
93
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* lcdp-monolith-service
|
|
3
|
+
* This is the REST API of LCDP orders
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: contact@lecomptoirdespharmacies.fr
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Vat
|
|
16
|
+
*/
|
|
17
|
+
export interface Vat {
|
|
18
|
+
/**
|
|
19
|
+
* Vat Id
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Vat
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Vat name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Vat
|
|
28
|
+
*/
|
|
29
|
+
name?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Vat value
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof Vat
|
|
34
|
+
*/
|
|
35
|
+
value?: number;
|
|
36
|
+
}
|
|
37
|
+
export declare function VatFromJSON(json: any): Vat;
|
|
38
|
+
export declare function VatFromJSONTyped(json: any, ignoreDiscriminator: boolean): Vat;
|
|
39
|
+
export declare function VatToJSON(value?: Vat | null): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* lcdp-monolith-service
|
|
6
|
+
* This is the REST API of LCDP orders
|
|
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.VatToJSON = exports.VatFromJSONTyped = exports.VatFromJSON = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
function VatFromJSON(json) {
|
|
19
|
+
return VatFromJSONTyped(json, false);
|
|
20
|
+
}
|
|
21
|
+
exports.VatFromJSON = VatFromJSON;
|
|
22
|
+
function VatFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
if ((json === undefined) || (json === null)) {
|
|
24
|
+
return json;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
|
|
28
|
+
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
29
|
+
'value': !(0, runtime_1.exists)(json, 'value') ? undefined : json['value'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
exports.VatFromJSONTyped = VatFromJSONTyped;
|
|
33
|
+
function VatToJSON(value) {
|
|
34
|
+
if (value === undefined) {
|
|
35
|
+
return undefined;
|
|
36
|
+
}
|
|
37
|
+
if (value === null) {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': value.id,
|
|
42
|
+
'name': value.name,
|
|
43
|
+
'value': value.value,
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
exports.VatToJSON = VatToJSON;
|
|
@@ -57,3 +57,4 @@ __exportStar(require("./UpdateOrderStatusParameters"), exports);
|
|
|
57
57
|
__exportStar(require("./UserLink"), exports);
|
|
58
58
|
__exportStar(require("./UserLinkAllOf"), exports);
|
|
59
59
|
__exportStar(require("./UserLinkAllOfCompany"), exports);
|
|
60
|
+
__exportStar(require("./Vat"), exports);
|
package/package.json
CHANGED
|
@@ -179,9 +179,6 @@ var SearchProductApi = /** @class */ (function (_super) {
|
|
|
179
179
|
if (requestParameters.labEq) {
|
|
180
180
|
queryParameters['lab[eq]'] = requestParameters.labEq;
|
|
181
181
|
}
|
|
182
|
-
if (requestParameters.nameIeq !== undefined) {
|
|
183
|
-
queryParameters['name[ieq]'] = requestParameters.nameIeq;
|
|
184
|
-
}
|
|
185
182
|
if (requestParameters.sWaitingSaleOfferCountGte !== undefined) {
|
|
186
183
|
queryParameters['sWaitingSaleOfferCount[gte]'] = requestParameters.sWaitingSaleOfferCountGte;
|
|
187
184
|
}
|
|
@@ -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` - Empty Meta-Order * `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
|
|
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` - Empty Meta-Order * `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
|
|
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` - Empty Meta-Order * `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
|
|
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` - Empty Meta-Order * `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
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
57
|
-
CODE018 = "CODE018"
|
|
56
|
+
CODE017 = "CODE017"
|
|
58
57
|
}
|
|
59
58
|
/**
|
|
60
59
|
* @export
|
|
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
78
77
|
MESSAGE014 = "Invalid Meta-Order",
|
|
79
78
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
80
79
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
81
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
82
|
-
MESSAGE018 = "Trial already used"
|
|
80
|
+
MESSAGE017 = "Batch is forbidden for sale"
|
|
83
81
|
}
|
|
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
-
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
68
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
70
69
|
/**
|
|
71
70
|
* @export
|
|
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
|
|
|
91
90
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
92
91
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
93
92
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
-
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
95
93
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -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` - Empty Meta-Order * `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
|
|
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` - Empty Meta-Order * `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
|
|
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` - Empty Meta-Order * `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
|
|
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` - Empty Meta-Order * `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
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
57
|
-
CODE018 = "CODE018"
|
|
56
|
+
CODE017 = "CODE017"
|
|
58
57
|
}
|
|
59
58
|
/**
|
|
60
59
|
* @export
|
|
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
78
77
|
MESSAGE014 = "Invalid Meta-Order",
|
|
79
78
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
80
79
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
81
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
82
|
-
MESSAGE018 = "Trial already used"
|
|
80
|
+
MESSAGE017 = "Batch is forbidden for sale"
|
|
83
81
|
}
|
|
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
-
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
68
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
70
69
|
/**
|
|
71
70
|
* @export
|
|
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
|
|
|
91
90
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
92
91
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
93
92
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
-
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
95
93
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -15,6 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./ManageProductRecommendationFeedbackApi"), exports);
|
|
18
|
-
__exportStar(require("./SearchFavoriteProductRecommendationApi"), exports);
|
|
19
18
|
__exportStar(require("./SearchProductPriceRecommendationApi"), exports);
|
|
20
19
|
__exportStar(require("./SearchProductRecommendationApi"), exports);
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
export * from './FavoriteProductRecommendation';
|
|
2
1
|
export * from './HttpLink';
|
|
3
|
-
export * from './PaginatedFavoriteProductRecommendations';
|
|
4
|
-
export * from './PaginatedFavoriteProductRecommendationsAllOf';
|
|
5
2
|
export * from './PaginatedObject';
|
|
6
3
|
export * from './PaginatedProductPriceRecommendations';
|
|
7
4
|
export * from './PaginatedProductPriceRecommendationsAllOf';
|
|
@@ -14,10 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./FavoriteProductRecommendation"), exports);
|
|
18
17
|
__exportStar(require("./HttpLink"), exports);
|
|
19
|
-
__exportStar(require("./PaginatedFavoriteProductRecommendations"), exports);
|
|
20
|
-
__exportStar(require("./PaginatedFavoriteProductRecommendationsAllOf"), exports);
|
|
21
18
|
__exportStar(require("./PaginatedObject"), exports);
|
|
22
19
|
__exportStar(require("./PaginatedProductPriceRecommendations"), exports);
|
|
23
20
|
__exportStar(require("./PaginatedProductPriceRecommendationsAllOf"), 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` - Empty Meta-Order * `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
|
|
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` - Empty Meta-Order * `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
|
|
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` - Empty Meta-Order * `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
|
|
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` - Empty Meta-Order * `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
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
57
|
-
CODE018 = "CODE018"
|
|
56
|
+
CODE017 = "CODE017"
|
|
58
57
|
}
|
|
59
58
|
/**
|
|
60
59
|
* @export
|
|
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
78
77
|
MESSAGE014 = "Invalid Meta-Order",
|
|
79
78
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
80
79
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
81
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
82
|
-
MESSAGE018 = "Trial already used"
|
|
80
|
+
MESSAGE017 = "Batch is forbidden for sale"
|
|
83
81
|
}
|
|
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
-
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
68
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
70
69
|
/**
|
|
71
70
|
* @export
|
|
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
|
|
|
91
90
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
92
91
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
93
92
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
-
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
95
93
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -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` - Empty Meta-Order * `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
|
|
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` - Empty Meta-Order * `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
|
|
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` - Empty Meta-Order * `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
|
|
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` - Empty Meta-Order * `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
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
57
|
-
CODE018 = "CODE018"
|
|
56
|
+
CODE017 = "CODE017"
|
|
58
57
|
}
|
|
59
58
|
/**
|
|
60
59
|
* @export
|
|
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
78
77
|
MESSAGE014 = "Invalid Meta-Order",
|
|
79
78
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
80
79
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
81
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
82
|
-
MESSAGE018 = "Trial already used"
|
|
80
|
+
MESSAGE017 = "Batch is forbidden for sale"
|
|
83
81
|
}
|
|
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
-
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
68
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
70
69
|
/**
|
|
71
70
|
* @export
|
|
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
|
|
|
91
90
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
92
91
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
93
92
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
-
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
95
93
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|