@lcdp/api-react-rest-client 1.1.1-develop.1 → 1.1.1-develop.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/auth/src/models/RestError.d.ts +6 -4
- package/auth/src/models/RestError.js +2 -0
- package/configuration/src/models/RestError.d.ts +6 -4
- package/configuration/src/models/RestError.js +2 -0
- package/content/src/models/RestError.d.ts +6 -4
- package/content/src/models/RestError.js +2 -0
- package/favorite/src/models/RestError.d.ts +6 -4
- package/favorite/src/models/RestError.js +2 -0
- package/inventory/src/models/RestError.d.ts +6 -4
- package/inventory/src/models/RestError.js +2 -0
- package/invoice/src/models/RestError.d.ts +6 -4
- package/invoice/src/models/RestError.js +2 -0
- package/laboratory-store/src/models/RestError.d.ts +6 -4
- package/laboratory-store/src/models/RestError.js +2 -0
- package/lexicon/src/models/RestError.d.ts +6 -4
- package/lexicon/src/models/RestError.js +2 -0
- package/litigation/src/models/RestError.d.ts +6 -4
- package/litigation/src/models/RestError.js +2 -0
- package/mangopay-hook/src/models/RestError.d.ts +6 -4
- package/mangopay-hook/src/models/RestError.js +2 -0
- package/notification/src/models/NotificationTypeId.d.ts +1 -0
- package/notification/src/models/NotificationTypeId.js +1 -0
- package/notification/src/models/RestError.d.ts +6 -4
- package/notification/src/models/RestError.js +2 -0
- package/order/src/models/OrderItemPrices.d.ts +7 -1
- package/order/src/models/OrderItemPrices.js +2 -0
- package/order/src/models/OrderPrices.d.ts +1 -1
- 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 +6 -4
- package/order/src/models/RestError.js +2 -0
- package/order/src/models/index.d.ts +0 -1
- package/order/src/models/index.js +0 -1
- package/package.json +1 -1
- package/product/src/models/RestError.d.ts +6 -4
- package/product/src/models/RestError.js +2 -0
- package/pub/src/models/RestError.d.ts +6 -4
- package/pub/src/models/RestError.js +2 -0
- package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.d.ts +45 -0
- package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.js +182 -0
- package/recommendation/src/apis/index.d.ts +1 -0
- package/recommendation/src/apis/index.js +1 -0
- package/recommendation/src/models/FavoriteProductRecommendation.d.ts +53 -0
- package/recommendation/src/models/FavoriteProductRecommendation.js +52 -0
- package/recommendation/src/models/PaginatedFavoriteProductRecommendations.d.ts +29 -0
- package/recommendation/src/models/PaginatedFavoriteProductRecommendations.js +50 -0
- package/recommendation/src/models/PaginatedFavoriteProductRecommendationsAllOf.d.ts +28 -0
- package/recommendation/src/models/PaginatedFavoriteProductRecommendationsAllOf.js +42 -0
- package/recommendation/src/models/index.d.ts +3 -0
- package/recommendation/src/models/index.js +3 -0
- package/rfx/src/models/RestError.d.ts +6 -4
- package/rfx/src/models/RestError.js +2 -0
- package/sale-offer/src/models/RestError.d.ts +6 -4
- package/sale-offer/src/models/RestError.js +2 -0
- package/servant/src/models/RestError.d.ts +6 -4
- package/servant/src/models/RestError.js +2 -0
- package/shipment/src/models/RestError.d.ts +6 -4
- package/shipment/src/models/RestError.js +2 -0
- package/shopping-cart/src/models/RestError.d.ts +6 -4
- package/shopping-cart/src/models/RestError.js +2 -0
- package/statistic/src/models/RestError.d.ts +6 -4
- package/statistic/src/models/RestError.js +2 -0
- package/subscription/src/models/RestError.d.ts +6 -4
- package/subscription/src/models/RestError.js +2 -0
- package/ubo/src/models/RestError.d.ts +6 -4
- package/ubo/src/models/RestError.js +2 -0
- package/user/src/models/NotificationTypeId.d.ts +1 -0
- package/user/src/models/NotificationTypeId.js +1 -0
- package/user/src/models/RestError.d.ts +6 -4
- package/user/src/models/RestError.js +2 -0
- package/wish/src/models/RestError.d.ts +6 -4
- package/wish/src/models/RestError.js +2 -0
- package/order/src/models/Vat.d.ts +0 -39
- package/order/src/models/Vat.js +0 -46
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* lcdp-data-intelligence
|
|
3
|
+
* This is the REST API of LCDP product recommendation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: contact@lecomptoirdespharmacies.fr
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { FavoriteProductRecommendation } from './FavoriteProductRecommendation';
|
|
13
|
+
import { PaginatedObject } from './PaginatedObject';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedFavoriteProductRecommendations
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedFavoriteProductRecommendations extends PaginatedObject {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<FavoriteProductRecommendation>}
|
|
23
|
+
* @memberof PaginatedFavoriteProductRecommendations
|
|
24
|
+
*/
|
|
25
|
+
records: Array<FavoriteProductRecommendation>;
|
|
26
|
+
}
|
|
27
|
+
export declare function PaginatedFavoriteProductRecommendationsFromJSON(json: any): PaginatedFavoriteProductRecommendations;
|
|
28
|
+
export declare function PaginatedFavoriteProductRecommendationsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedFavoriteProductRecommendations;
|
|
29
|
+
export declare function PaginatedFavoriteProductRecommendationsToJSON(value?: PaginatedFavoriteProductRecommendations | null): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* lcdp-data-intelligence
|
|
6
|
+
* This is the REST API of LCDP product recommendation
|
|
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
|
+
var __assign = (this && this.__assign) || function () {
|
|
16
|
+
__assign = Object.assign || function(t) {
|
|
17
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
18
|
+
s = arguments[i];
|
|
19
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
20
|
+
t[p] = s[p];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
};
|
|
24
|
+
return __assign.apply(this, arguments);
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
exports.PaginatedFavoriteProductRecommendationsToJSON = exports.PaginatedFavoriteProductRecommendationsFromJSONTyped = exports.PaginatedFavoriteProductRecommendationsFromJSON = void 0;
|
|
28
|
+
var FavoriteProductRecommendation_1 = require("./FavoriteProductRecommendation");
|
|
29
|
+
var PaginatedObject_1 = require("./PaginatedObject");
|
|
30
|
+
function PaginatedFavoriteProductRecommendationsFromJSON(json) {
|
|
31
|
+
return PaginatedFavoriteProductRecommendationsFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.PaginatedFavoriteProductRecommendationsFromJSON = PaginatedFavoriteProductRecommendationsFromJSON;
|
|
34
|
+
function PaginatedFavoriteProductRecommendationsFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if ((json === undefined) || (json === null)) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return __assign(__assign({}, (0, PaginatedObject_1.PaginatedObjectFromJSONTyped)(json, ignoreDiscriminator)), { 'records': (json['records'].map(FavoriteProductRecommendation_1.FavoriteProductRecommendationFromJSON)) });
|
|
39
|
+
}
|
|
40
|
+
exports.PaginatedFavoriteProductRecommendationsFromJSONTyped = PaginatedFavoriteProductRecommendationsFromJSONTyped;
|
|
41
|
+
function PaginatedFavoriteProductRecommendationsToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return __assign(__assign({}, (0, PaginatedObject_1.PaginatedObjectToJSON)(value)), { 'records': (value.records.map(FavoriteProductRecommendation_1.FavoriteProductRecommendationToJSON)) });
|
|
49
|
+
}
|
|
50
|
+
exports.PaginatedFavoriteProductRecommendationsToJSON = PaginatedFavoriteProductRecommendationsToJSON;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* lcdp-data-intelligence
|
|
3
|
+
* This is the REST API of LCDP product recommendation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: contact@lecomptoirdespharmacies.fr
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { FavoriteProductRecommendation } from './FavoriteProductRecommendation';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PaginatedFavoriteProductRecommendationsAllOf
|
|
17
|
+
*/
|
|
18
|
+
export interface PaginatedFavoriteProductRecommendationsAllOf {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<FavoriteProductRecommendation>}
|
|
22
|
+
* @memberof PaginatedFavoriteProductRecommendationsAllOf
|
|
23
|
+
*/
|
|
24
|
+
records: Array<FavoriteProductRecommendation>;
|
|
25
|
+
}
|
|
26
|
+
export declare function PaginatedFavoriteProductRecommendationsAllOfFromJSON(json: any): PaginatedFavoriteProductRecommendationsAllOf;
|
|
27
|
+
export declare function PaginatedFavoriteProductRecommendationsAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedFavoriteProductRecommendationsAllOf;
|
|
28
|
+
export declare function PaginatedFavoriteProductRecommendationsAllOfToJSON(value?: PaginatedFavoriteProductRecommendationsAllOf | null): any;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* lcdp-data-intelligence
|
|
6
|
+
* This is the REST API of LCDP product recommendation
|
|
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.PaginatedFavoriteProductRecommendationsAllOfToJSON = exports.PaginatedFavoriteProductRecommendationsAllOfFromJSONTyped = exports.PaginatedFavoriteProductRecommendationsAllOfFromJSON = void 0;
|
|
17
|
+
var FavoriteProductRecommendation_1 = require("./FavoriteProductRecommendation");
|
|
18
|
+
function PaginatedFavoriteProductRecommendationsAllOfFromJSON(json) {
|
|
19
|
+
return PaginatedFavoriteProductRecommendationsAllOfFromJSONTyped(json, false);
|
|
20
|
+
}
|
|
21
|
+
exports.PaginatedFavoriteProductRecommendationsAllOfFromJSON = PaginatedFavoriteProductRecommendationsAllOfFromJSON;
|
|
22
|
+
function PaginatedFavoriteProductRecommendationsAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
if ((json === undefined) || (json === null)) {
|
|
24
|
+
return json;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'records': (json['records'].map(FavoriteProductRecommendation_1.FavoriteProductRecommendationFromJSON)),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
exports.PaginatedFavoriteProductRecommendationsAllOfFromJSONTyped = PaginatedFavoriteProductRecommendationsAllOfFromJSONTyped;
|
|
31
|
+
function PaginatedFavoriteProductRecommendationsAllOfToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'records': (value.records.map(FavoriteProductRecommendation_1.FavoriteProductRecommendationToJSON)),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.PaginatedFavoriteProductRecommendationsAllOfToJSON = PaginatedFavoriteProductRecommendationsAllOfToJSON;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
export * from './FavoriteProductRecommendation';
|
|
1
2
|
export * from './HttpLink';
|
|
3
|
+
export * from './PaginatedFavoriteProductRecommendations';
|
|
4
|
+
export * from './PaginatedFavoriteProductRecommendationsAllOf';
|
|
2
5
|
export * from './PaginatedObject';
|
|
3
6
|
export * from './PaginatedProductPriceRecommendations';
|
|
4
7
|
export * from './PaginatedProductPriceRecommendationsAllOf';
|
|
@@ -14,7 +14,10 @@ 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);
|
|
17
18
|
__exportStar(require("./HttpLink"), exports);
|
|
19
|
+
__exportStar(require("./PaginatedFavoriteProductRecommendations"), exports);
|
|
20
|
+
__exportStar(require("./PaginatedFavoriteProductRecommendationsAllOf"), exports);
|
|
18
21
|
__exportStar(require("./PaginatedObject"), exports);
|
|
19
22
|
__exportStar(require("./PaginatedProductPriceRecommendations"), exports);
|
|
20
23
|
__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 * `CODE018` - Trial already used
|
|
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 * `MESSAGE018` - Trial already used
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,7 +53,8 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
56
|
+
CODE017 = "CODE017",
|
|
57
|
+
CODE018 = "CODE018"
|
|
57
58
|
}
|
|
58
59
|
/**
|
|
59
60
|
* @export
|
|
@@ -77,5 +78,6 @@ export declare enum RestErrorMessageEnum {
|
|
|
77
78
|
MESSAGE014 = "Invalid Meta-Order",
|
|
78
79
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
79
80
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
80
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
81
|
+
MESSAGE017 = "Batch is forbidden for sale",
|
|
82
|
+
MESSAGE018 = "Trial already used"
|
|
81
83
|
}
|
|
@@ -65,6 +65,7 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
+
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
68
69
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
69
70
|
/**
|
|
70
71
|
* @export
|
|
@@ -90,4 +91,5 @@ var RestErrorMessageEnum;
|
|
|
90
91
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
91
92
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
92
93
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
+
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
93
95
|
})(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 * `CODE018` - Trial already used
|
|
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 * `MESSAGE018` - Trial already used
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,7 +53,8 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
56
|
+
CODE017 = "CODE017",
|
|
57
|
+
CODE018 = "CODE018"
|
|
57
58
|
}
|
|
58
59
|
/**
|
|
59
60
|
* @export
|
|
@@ -77,5 +78,6 @@ export declare enum RestErrorMessageEnum {
|
|
|
77
78
|
MESSAGE014 = "Invalid Meta-Order",
|
|
78
79
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
79
80
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
80
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
81
|
+
MESSAGE017 = "Batch is forbidden for sale",
|
|
82
|
+
MESSAGE018 = "Trial already used"
|
|
81
83
|
}
|
|
@@ -65,6 +65,7 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
+
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
68
69
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
69
70
|
/**
|
|
70
71
|
* @export
|
|
@@ -90,4 +91,5 @@ var RestErrorMessageEnum;
|
|
|
90
91
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
91
92
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
92
93
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
+
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
93
95
|
})(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 * `CODE018` - Trial already used
|
|
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 * `MESSAGE018` - Trial already used
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,7 +53,8 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
56
|
+
CODE017 = "CODE017",
|
|
57
|
+
CODE018 = "CODE018"
|
|
57
58
|
}
|
|
58
59
|
/**
|
|
59
60
|
* @export
|
|
@@ -77,5 +78,6 @@ export declare enum RestErrorMessageEnum {
|
|
|
77
78
|
MESSAGE014 = "Invalid Meta-Order",
|
|
78
79
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
79
80
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
80
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
81
|
+
MESSAGE017 = "Batch is forbidden for sale",
|
|
82
|
+
MESSAGE018 = "Trial already used"
|
|
81
83
|
}
|
|
@@ -65,6 +65,7 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
+
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
68
69
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
69
70
|
/**
|
|
70
71
|
* @export
|
|
@@ -90,4 +91,5 @@ var RestErrorMessageEnum;
|
|
|
90
91
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
91
92
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
92
93
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
+
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
93
95
|
})(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 * `CODE018` - Trial already used
|
|
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 * `MESSAGE018` - Trial already used
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,7 +53,8 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
56
|
+
CODE017 = "CODE017",
|
|
57
|
+
CODE018 = "CODE018"
|
|
57
58
|
}
|
|
58
59
|
/**
|
|
59
60
|
* @export
|
|
@@ -77,5 +78,6 @@ export declare enum RestErrorMessageEnum {
|
|
|
77
78
|
MESSAGE014 = "Invalid Meta-Order",
|
|
78
79
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
79
80
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
80
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
81
|
+
MESSAGE017 = "Batch is forbidden for sale",
|
|
82
|
+
MESSAGE018 = "Trial already used"
|
|
81
83
|
}
|
|
@@ -65,6 +65,7 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
+
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
68
69
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
69
70
|
/**
|
|
70
71
|
* @export
|
|
@@ -90,4 +91,5 @@ var RestErrorMessageEnum;
|
|
|
90
91
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
91
92
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
92
93
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
+
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
93
95
|
})(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 * `CODE018` - Trial already used
|
|
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 * `MESSAGE018` - Trial already used
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,7 +53,8 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
56
|
+
CODE017 = "CODE017",
|
|
57
|
+
CODE018 = "CODE018"
|
|
57
58
|
}
|
|
58
59
|
/**
|
|
59
60
|
* @export
|
|
@@ -77,5 +78,6 @@ export declare enum RestErrorMessageEnum {
|
|
|
77
78
|
MESSAGE014 = "Invalid Meta-Order",
|
|
78
79
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
79
80
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
80
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
81
|
+
MESSAGE017 = "Batch is forbidden for sale",
|
|
82
|
+
MESSAGE018 = "Trial already used"
|
|
81
83
|
}
|
|
@@ -65,6 +65,7 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
+
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
68
69
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
69
70
|
/**
|
|
70
71
|
* @export
|
|
@@ -90,4 +91,5 @@ var RestErrorMessageEnum;
|
|
|
90
91
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
91
92
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
92
93
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
+
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
93
95
|
})(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 * `CODE018` - Trial already used
|
|
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 * `MESSAGE018` - Trial already used
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,7 +53,8 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
56
|
+
CODE017 = "CODE017",
|
|
57
|
+
CODE018 = "CODE018"
|
|
57
58
|
}
|
|
58
59
|
/**
|
|
59
60
|
* @export
|
|
@@ -77,5 +78,6 @@ export declare enum RestErrorMessageEnum {
|
|
|
77
78
|
MESSAGE014 = "Invalid Meta-Order",
|
|
78
79
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
79
80
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
80
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
81
|
+
MESSAGE017 = "Batch is forbidden for sale",
|
|
82
|
+
MESSAGE018 = "Trial already used"
|
|
81
83
|
}
|
|
@@ -65,6 +65,7 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
+
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
68
69
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
69
70
|
/**
|
|
70
71
|
* @export
|
|
@@ -90,4 +91,5 @@ var RestErrorMessageEnum;
|
|
|
90
91
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
91
92
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
92
93
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
+
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
93
95
|
})(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 * `CODE018` - Trial already used
|
|
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 * `MESSAGE018` - Trial already used
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,7 +53,8 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
56
|
+
CODE017 = "CODE017",
|
|
57
|
+
CODE018 = "CODE018"
|
|
57
58
|
}
|
|
58
59
|
/**
|
|
59
60
|
* @export
|
|
@@ -77,5 +78,6 @@ export declare enum RestErrorMessageEnum {
|
|
|
77
78
|
MESSAGE014 = "Invalid Meta-Order",
|
|
78
79
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
79
80
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
80
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
81
|
+
MESSAGE017 = "Batch is forbidden for sale",
|
|
82
|
+
MESSAGE018 = "Trial already used"
|
|
81
83
|
}
|
|
@@ -65,6 +65,7 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
+
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
68
69
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
69
70
|
/**
|
|
70
71
|
* @export
|
|
@@ -90,4 +91,5 @@ var RestErrorMessageEnum;
|
|
|
90
91
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
91
92
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
92
93
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
+
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
93
95
|
})(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 * `CODE018` - Trial already used
|
|
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 * `MESSAGE018` - Trial already used
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,7 +53,8 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
56
|
+
CODE017 = "CODE017",
|
|
57
|
+
CODE018 = "CODE018"
|
|
57
58
|
}
|
|
58
59
|
/**
|
|
59
60
|
* @export
|
|
@@ -77,5 +78,6 @@ export declare enum RestErrorMessageEnum {
|
|
|
77
78
|
MESSAGE014 = "Invalid Meta-Order",
|
|
78
79
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
79
80
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
80
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
81
|
+
MESSAGE017 = "Batch is forbidden for sale",
|
|
82
|
+
MESSAGE018 = "Trial already used"
|
|
81
83
|
}
|
|
@@ -65,6 +65,7 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
+
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
68
69
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
69
70
|
/**
|
|
70
71
|
* @export
|
|
@@ -90,4 +91,5 @@ var RestErrorMessageEnum;
|
|
|
90
91
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
91
92
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
92
93
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
+
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
93
95
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -35,6 +35,7 @@ export declare enum NotificationTypeId {
|
|
|
35
35
|
DAILYMAIL = "DAILY_MAIL",
|
|
36
36
|
DOCUMENTEXPIRE = "DOCUMENT_EXPIRE",
|
|
37
37
|
GLOBALCOMMISSIONINVOICE = "GLOBAL_COMMISSION_INVOICE",
|
|
38
|
+
GLOBALCOMMISSIONCREDITNOTEINVOICE = "GLOBAL_COMMISSION_CREDIT_NOTE_INVOICE",
|
|
38
39
|
MONTHLYEMAILFORACCOUNTANT = "MONTHLY_EMAIL_FOR_ACCOUNTANT",
|
|
39
40
|
ORDERACCEPTATIONDELAY = "ORDER_ACCEPTATION_DELAY",
|
|
40
41
|
ORDERACCEPTED = "ORDER_ACCEPTED",
|
|
@@ -41,6 +41,7 @@ var NotificationTypeId;
|
|
|
41
41
|
NotificationTypeId["DAILYMAIL"] = "DAILY_MAIL";
|
|
42
42
|
NotificationTypeId["DOCUMENTEXPIRE"] = "DOCUMENT_EXPIRE";
|
|
43
43
|
NotificationTypeId["GLOBALCOMMISSIONINVOICE"] = "GLOBAL_COMMISSION_INVOICE";
|
|
44
|
+
NotificationTypeId["GLOBALCOMMISSIONCREDITNOTEINVOICE"] = "GLOBAL_COMMISSION_CREDIT_NOTE_INVOICE";
|
|
44
45
|
NotificationTypeId["MONTHLYEMAILFORACCOUNTANT"] = "MONTHLY_EMAIL_FOR_ACCOUNTANT";
|
|
45
46
|
NotificationTypeId["ORDERACCEPTATIONDELAY"] = "ORDER_ACCEPTATION_DELAY";
|
|
46
47
|
NotificationTypeId["ORDERACCEPTED"] = "ORDER_ACCEPTED";
|