@lcdp/api-react-rest-client 2.5.9-develop.7111707220 → 2.5.9
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/catalog/src/models/RestError.d.ts +4 -6
- package/catalog/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/Notification.d.ts +0 -6
- package/notification/src/models/Notification.js +0 -2
- package/notification/src/models/NotificationTypeId.d.ts +0 -5
- package/notification/src/models/NotificationTypeId.js +0 -5
- package/notification/src/models/RestError.d.ts +4 -6
- package/notification/src/models/RestError.js +0 -2
- package/order/src/apis/ManageOrderApi.d.ts +17 -7
- package/order/src/apis/ManageOrderApi.js +90 -10
- package/order/src/apis/ManageOrderItemApi.d.ts +4 -4
- package/order/src/apis/ManageOrderItemApi.js +4 -4
- package/order/src/apis/SearchOrderItemApi.d.ts +0 -2
- package/order/src/apis/SearchOrderItemApi.js +0 -2
- package/order/src/models/Order.d.ts +1 -20
- package/order/src/models/Order.js +0 -7
- package/order/src/models/OrderJournal.d.ts +0 -19
- package/order/src/models/OrderJournal.js +0 -8
- package/order/src/models/OrderStatus.d.ts +2 -4
- package/order/src/models/OrderStatus.js +2 -4
- package/order/src/models/OrderUpdateParameters.d.ts +0 -20
- package/order/src/models/OrderUpdateParameters.js +0 -8
- package/order/src/models/RestError.d.ts +4 -6
- package/order/src/models/RestError.js +0 -2
- package/order/src/models/UpdateOrderStatusParameters.d.ts +5 -3
- package/order/src/models/UpdateOrderStatusParameters.js +4 -2
- package/order/src/models/index.d.ts +0 -1
- package/order/src/models/index.js +0 -1
- package/order-log/src/models/OrderLog.d.ts +0 -19
- package/order-log/src/models/OrderLog.js +2 -3
- package/order-log/src/models/OrderLogAllOf.d.ts +0 -19
- package/order-log/src/models/OrderLogAllOf.js +0 -7
- package/order-log/src/models/index.d.ts +0 -1
- package/order-log/src/models/index.js +0 -1
- package/package.json +1 -1
- 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/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 -5
- package/user/src/models/NotificationTypeId.js +0 -5
- package/user/src/models/RestError.d.ts +4 -6
- package/user/src/models/RestError.js +0 -2
- package/wish/src/models/RestError.d.ts +4 -6
- package/wish/src/models/RestError.js +0 -2
- package/order/src/models/OrderStatusReason.d.ts +0 -24
- package/order/src/models/OrderStatusReason.js +0 -39
- package/order-log/src/models/OrderStatusReason.d.ts +0 -24
- package/order-log/src/models/OrderStatusReason.js +0 -39
|
@@ -9,32 +9,12 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { OrderStatusReason } from './OrderStatusReason';
|
|
13
|
-
import { UpdateOrderStatusParameters } from './UpdateOrderStatusParameters';
|
|
14
12
|
/**
|
|
15
13
|
*
|
|
16
14
|
* @export
|
|
17
15
|
* @interface OrderUpdateParameters
|
|
18
16
|
*/
|
|
19
17
|
export interface OrderUpdateParameters {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {UpdateOrderStatusParameters}
|
|
23
|
-
* @memberof OrderUpdateParameters
|
|
24
|
-
*/
|
|
25
|
-
status?: UpdateOrderStatusParameters;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {OrderStatusReason}
|
|
29
|
-
* @memberof OrderUpdateParameters
|
|
30
|
-
*/
|
|
31
|
-
statusReason?: OrderStatusReason;
|
|
32
|
-
/**
|
|
33
|
-
* Smart sentence given detail about the new status
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof OrderUpdateParameters
|
|
36
|
-
*/
|
|
37
|
-
statusComment?: string | null;
|
|
38
18
|
/**
|
|
39
19
|
* Labels of the order
|
|
40
20
|
* @type {Array<string>}
|
|
@@ -15,8 +15,6 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.OrderUpdateParametersToJSON = exports.OrderUpdateParametersFromJSONTyped = exports.OrderUpdateParametersFromJSON = void 0;
|
|
17
17
|
var runtime_1 = require("../runtime");
|
|
18
|
-
var OrderStatusReason_1 = require("./OrderStatusReason");
|
|
19
|
-
var UpdateOrderStatusParameters_1 = require("./UpdateOrderStatusParameters");
|
|
20
18
|
function OrderUpdateParametersFromJSON(json) {
|
|
21
19
|
return OrderUpdateParametersFromJSONTyped(json, false);
|
|
22
20
|
}
|
|
@@ -26,9 +24,6 @@ function OrderUpdateParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
24
|
return json;
|
|
27
25
|
}
|
|
28
26
|
return {
|
|
29
|
-
'status': !(0, runtime_1.exists)(json, 'status') ? undefined : (0, UpdateOrderStatusParameters_1.UpdateOrderStatusParametersFromJSON)(json['status']),
|
|
30
|
-
'statusReason': !(0, runtime_1.exists)(json, 'statusReason') ? undefined : (0, OrderStatusReason_1.OrderStatusReasonFromJSON)(json['statusReason']),
|
|
31
|
-
'statusComment': !(0, runtime_1.exists)(json, 'statusComment') ? json['statusComment'] : json['statusComment'],
|
|
32
27
|
'tags': !(0, runtime_1.exists)(json, 'tags') ? undefined : json['tags'],
|
|
33
28
|
};
|
|
34
29
|
}
|
|
@@ -41,9 +36,6 @@ function OrderUpdateParametersToJSON(value) {
|
|
|
41
36
|
return null;
|
|
42
37
|
}
|
|
43
38
|
return {
|
|
44
|
-
'status': (0, UpdateOrderStatusParameters_1.UpdateOrderStatusParametersToJSON)(value.status),
|
|
45
|
-
'statusReason': (0, OrderStatusReason_1.OrderStatusReasonToJSON)(value.statusReason),
|
|
46
|
-
'statusComment': value.statusComment,
|
|
47
39
|
'tags': value.tags,
|
|
48
40
|
};
|
|
49
41
|
}
|
|
@@ -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` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
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` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -55,8 +55,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
56
|
CODE017 = "CODE017",
|
|
57
57
|
CODE018 = "CODE018",
|
|
58
|
-
CODE019 = "CODE019"
|
|
59
|
-
CODE020 = "CODE020"
|
|
58
|
+
CODE019 = "CODE019"
|
|
60
59
|
}
|
|
61
60
|
/**
|
|
62
61
|
* @export
|
|
@@ -82,6 +81,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
82
81
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
83
82
|
MESSAGE017 = "Batch is forbidden for sale",
|
|
84
83
|
MESSAGE018 = "Trial already used",
|
|
85
|
-
MESSAGE019 = "Unable to generate session from disposableToken for admin users"
|
|
86
|
-
MESSAGE020 = "ETag do not match"
|
|
84
|
+
MESSAGE019 = "Unable to generate session from disposableToken for admin users"
|
|
87
85
|
}
|
|
@@ -67,7 +67,6 @@ var RestErrorCodeEnum;
|
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
68
|
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
69
|
RestErrorCodeEnum["CODE019"] = "CODE019";
|
|
70
|
-
RestErrorCodeEnum["CODE020"] = "CODE020";
|
|
71
70
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
72
71
|
/**
|
|
73
72
|
* @export
|
|
@@ -95,5 +94,4 @@ var RestErrorMessageEnum;
|
|
|
95
94
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
96
95
|
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
97
96
|
RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
|
|
98
|
-
RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
|
|
99
97
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -15,14 +15,16 @@
|
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
17
17
|
export declare enum UpdateOrderStatusParameters {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
WAITINGFORACCEPTANCE = "WAITING_FOR_ACCEPTANCE",
|
|
19
|
+
ACCEPTANCEDELAY = "ACCEPTANCE_DELAY",
|
|
20
20
|
WAITINGFORSENDING = "WAITING_FOR_SENDING",
|
|
21
|
+
SENDINGDELAY = "SENDING_DELAY",
|
|
21
22
|
DELIVERYONGOING = "DELIVERY_ONGOING",
|
|
22
23
|
WAITINGFORVALIDATION = "WAITING_FOR_VALIDATION",
|
|
23
24
|
CANCELED = "CANCELED",
|
|
24
25
|
ARCHIVED = "ARCHIVED",
|
|
25
|
-
WAITINGFORADMINVALIDATION = "WAITING_FOR_ADMIN_VALIDATION"
|
|
26
|
+
WAITINGFORADMINVALIDATION = "WAITING_FOR_ADMIN_VALIDATION",
|
|
27
|
+
DELIVERYLATE = "DELIVERY_LATE"
|
|
26
28
|
}
|
|
27
29
|
export declare function UpdateOrderStatusParametersFromJSON(json: any): UpdateOrderStatusParameters;
|
|
28
30
|
export declare function UpdateOrderStatusParametersFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateOrderStatusParameters;
|
|
@@ -21,14 +21,16 @@ exports.UpdateOrderStatusParametersToJSON = exports.UpdateOrderStatusParametersF
|
|
|
21
21
|
*/
|
|
22
22
|
var UpdateOrderStatusParameters;
|
|
23
23
|
(function (UpdateOrderStatusParameters) {
|
|
24
|
-
UpdateOrderStatusParameters["
|
|
25
|
-
UpdateOrderStatusParameters["
|
|
24
|
+
UpdateOrderStatusParameters["WAITINGFORACCEPTANCE"] = "WAITING_FOR_ACCEPTANCE";
|
|
25
|
+
UpdateOrderStatusParameters["ACCEPTANCEDELAY"] = "ACCEPTANCE_DELAY";
|
|
26
26
|
UpdateOrderStatusParameters["WAITINGFORSENDING"] = "WAITING_FOR_SENDING";
|
|
27
|
+
UpdateOrderStatusParameters["SENDINGDELAY"] = "SENDING_DELAY";
|
|
27
28
|
UpdateOrderStatusParameters["DELIVERYONGOING"] = "DELIVERY_ONGOING";
|
|
28
29
|
UpdateOrderStatusParameters["WAITINGFORVALIDATION"] = "WAITING_FOR_VALIDATION";
|
|
29
30
|
UpdateOrderStatusParameters["CANCELED"] = "CANCELED";
|
|
30
31
|
UpdateOrderStatusParameters["ARCHIVED"] = "ARCHIVED";
|
|
31
32
|
UpdateOrderStatusParameters["WAITINGFORADMINVALIDATION"] = "WAITING_FOR_ADMIN_VALIDATION";
|
|
33
|
+
UpdateOrderStatusParameters["DELIVERYLATE"] = "DELIVERY_LATE";
|
|
32
34
|
})(UpdateOrderStatusParameters = exports.UpdateOrderStatusParameters || (exports.UpdateOrderStatusParameters = {}));
|
|
33
35
|
function UpdateOrderStatusParametersFromJSON(json) {
|
|
34
36
|
return UpdateOrderStatusParametersFromJSONTyped(json, false);
|
|
@@ -24,7 +24,6 @@ export * from './OrderRefundedItem';
|
|
|
24
24
|
export * from './OrderRemovedItem';
|
|
25
25
|
export * from './OrderRemovedItemUpdateParameters';
|
|
26
26
|
export * from './OrderStatus';
|
|
27
|
-
export * from './OrderStatusReason';
|
|
28
27
|
export * from './OrderStorageType';
|
|
29
28
|
export * from './OrderThreads';
|
|
30
29
|
export * from './OrderType';
|
|
@@ -40,7 +40,6 @@ __exportStar(require("./OrderRefundedItem"), exports);
|
|
|
40
40
|
__exportStar(require("./OrderRemovedItem"), exports);
|
|
41
41
|
__exportStar(require("./OrderRemovedItemUpdateParameters"), exports);
|
|
42
42
|
__exportStar(require("./OrderStatus"), exports);
|
|
43
|
-
__exportStar(require("./OrderStatusReason"), exports);
|
|
44
43
|
__exportStar(require("./OrderStorageType"), exports);
|
|
45
44
|
__exportStar(require("./OrderThreads"), exports);
|
|
46
45
|
__exportStar(require("./OrderType"), exports);
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { Log } from './Log';
|
|
13
13
|
import { OrderLink } from './OrderLink';
|
|
14
|
-
import { OrderStatusReason } from './OrderStatusReason';
|
|
15
14
|
/**
|
|
16
15
|
*
|
|
17
16
|
* @export
|
|
@@ -30,24 +29,6 @@ export interface OrderLog extends Log {
|
|
|
30
29
|
* @memberof OrderLog
|
|
31
30
|
*/
|
|
32
31
|
order: OrderLink;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {OrderStatusReason}
|
|
36
|
-
* @memberof OrderLog
|
|
37
|
-
*/
|
|
38
|
-
reason: OrderStatusReason;
|
|
39
|
-
/**
|
|
40
|
-
* Smart sentence given detail about the new status
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof OrderLog
|
|
43
|
-
*/
|
|
44
|
-
comment: string | null;
|
|
45
|
-
/**
|
|
46
|
-
* Id of the user that updated status
|
|
47
|
-
* @type {number}
|
|
48
|
-
* @memberof OrderLog
|
|
49
|
-
*/
|
|
50
|
-
updatedBy: number | null;
|
|
51
32
|
}
|
|
52
33
|
export declare function OrderLogFromJSON(json: any): OrderLog;
|
|
53
34
|
export declare function OrderLogFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderLog;
|
|
@@ -27,7 +27,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
27
27
|
exports.OrderLogToJSON = exports.OrderLogFromJSONTyped = exports.OrderLogFromJSON = void 0;
|
|
28
28
|
var Log_1 = require("./Log");
|
|
29
29
|
var OrderLink_1 = require("./OrderLink");
|
|
30
|
-
var OrderStatusReason_1 = require("./OrderStatusReason");
|
|
31
30
|
function OrderLogFromJSON(json) {
|
|
32
31
|
return OrderLogFromJSONTyped(json, false);
|
|
33
32
|
}
|
|
@@ -36,7 +35,7 @@ function OrderLogFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
35
|
if ((json === undefined) || (json === null)) {
|
|
37
36
|
return json;
|
|
38
37
|
}
|
|
39
|
-
return __assign(__assign({}, (0, Log_1.LogFromJSONTyped)(json, ignoreDiscriminator)), { 'type': json['type'], 'order': (0, OrderLink_1.OrderLinkFromJSON)(json['order'])
|
|
38
|
+
return __assign(__assign({}, (0, Log_1.LogFromJSONTyped)(json, ignoreDiscriminator)), { 'type': json['type'], 'order': (0, OrderLink_1.OrderLinkFromJSON)(json['order']) });
|
|
40
39
|
}
|
|
41
40
|
exports.OrderLogFromJSONTyped = OrderLogFromJSONTyped;
|
|
42
41
|
function OrderLogToJSON(value) {
|
|
@@ -46,6 +45,6 @@ function OrderLogToJSON(value) {
|
|
|
46
45
|
if (value === null) {
|
|
47
46
|
return null;
|
|
48
47
|
}
|
|
49
|
-
return __assign(__assign({}, (0, Log_1.LogToJSON)(value)), { 'type': value.type, 'order': (0, OrderLink_1.OrderLinkToJSON)(value.order)
|
|
48
|
+
return __assign(__assign({}, (0, Log_1.LogToJSON)(value)), { 'type': value.type, 'order': (0, OrderLink_1.OrderLinkToJSON)(value.order) });
|
|
50
49
|
}
|
|
51
50
|
exports.OrderLogToJSON = OrderLogToJSON;
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { OrderLink } from './OrderLink';
|
|
13
|
-
import { OrderStatusReason } from './OrderStatusReason';
|
|
14
13
|
/**
|
|
15
14
|
*
|
|
16
15
|
* @export
|
|
@@ -29,24 +28,6 @@ export interface OrderLogAllOf {
|
|
|
29
28
|
* @memberof OrderLogAllOf
|
|
30
29
|
*/
|
|
31
30
|
order: OrderLink;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {OrderStatusReason}
|
|
35
|
-
* @memberof OrderLogAllOf
|
|
36
|
-
*/
|
|
37
|
-
reason: OrderStatusReason;
|
|
38
|
-
/**
|
|
39
|
-
* Smart sentence given detail about the new status
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof OrderLogAllOf
|
|
42
|
-
*/
|
|
43
|
-
comment: string | null;
|
|
44
|
-
/**
|
|
45
|
-
* Id of the user that updated status
|
|
46
|
-
* @type {number}
|
|
47
|
-
* @memberof OrderLogAllOf
|
|
48
|
-
*/
|
|
49
|
-
updatedBy: number | null;
|
|
50
31
|
}
|
|
51
32
|
export declare function OrderLogAllOfFromJSON(json: any): OrderLogAllOf;
|
|
52
33
|
export declare function OrderLogAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderLogAllOf;
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.OrderLogAllOfToJSON = exports.OrderLogAllOfFromJSONTyped = exports.OrderLogAllOfFromJSON = void 0;
|
|
17
17
|
var OrderLink_1 = require("./OrderLink");
|
|
18
|
-
var OrderStatusReason_1 = require("./OrderStatusReason");
|
|
19
18
|
function OrderLogAllOfFromJSON(json) {
|
|
20
19
|
return OrderLogAllOfFromJSONTyped(json, false);
|
|
21
20
|
}
|
|
@@ -27,9 +26,6 @@ function OrderLogAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
26
|
return {
|
|
28
27
|
'type': json['type'],
|
|
29
28
|
'order': (0, OrderLink_1.OrderLinkFromJSON)(json['order']),
|
|
30
|
-
'reason': (0, OrderStatusReason_1.OrderStatusReasonFromJSON)(json['reason']),
|
|
31
|
-
'comment': json['comment'],
|
|
32
|
-
'updatedBy': json['updatedBy'],
|
|
33
29
|
};
|
|
34
30
|
}
|
|
35
31
|
exports.OrderLogAllOfFromJSONTyped = OrderLogAllOfFromJSONTyped;
|
|
@@ -43,9 +39,6 @@ function OrderLogAllOfToJSON(value) {
|
|
|
43
39
|
return {
|
|
44
40
|
'type': value.type,
|
|
45
41
|
'order': (0, OrderLink_1.OrderLinkToJSON)(value.order),
|
|
46
|
-
'reason': (0, OrderStatusReason_1.OrderStatusReasonToJSON)(value.reason),
|
|
47
|
-
'comment': value.comment,
|
|
48
|
-
'updatedBy': value.updatedBy,
|
|
49
42
|
};
|
|
50
43
|
}
|
|
51
44
|
exports.OrderLogAllOfToJSON = OrderLogAllOfToJSON;
|
|
@@ -5,7 +5,6 @@ export * from './OrderLink';
|
|
|
5
5
|
export * from './OrderLinkAllOf';
|
|
6
6
|
export * from './OrderLog';
|
|
7
7
|
export * from './OrderLogAllOf';
|
|
8
|
-
export * from './OrderStatusReason';
|
|
9
8
|
export * from './PaginatedObject';
|
|
10
9
|
export * from './PaginatedOrderLogs';
|
|
11
10
|
export * from './PaginatedOrderLogsAllOf';
|
|
@@ -21,7 +21,6 @@ __exportStar(require("./OrderLink"), exports);
|
|
|
21
21
|
__exportStar(require("./OrderLinkAllOf"), exports);
|
|
22
22
|
__exportStar(require("./OrderLog"), exports);
|
|
23
23
|
__exportStar(require("./OrderLogAllOf"), exports);
|
|
24
|
-
__exportStar(require("./OrderStatusReason"), exports);
|
|
25
24
|
__exportStar(require("./PaginatedObject"), exports);
|
|
26
25
|
__exportStar(require("./PaginatedOrderLogs"), exports);
|
|
27
26
|
__exportStar(require("./PaginatedOrderLogsAllOf"), exports);
|
package/package.json
CHANGED
|
@@ -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` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
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` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -55,8 +55,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
56
|
CODE017 = "CODE017",
|
|
57
57
|
CODE018 = "CODE018",
|
|
58
|
-
CODE019 = "CODE019"
|
|
59
|
-
CODE020 = "CODE020"
|
|
58
|
+
CODE019 = "CODE019"
|
|
60
59
|
}
|
|
61
60
|
/**
|
|
62
61
|
* @export
|
|
@@ -82,6 +81,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
82
81
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
83
82
|
MESSAGE017 = "Batch is forbidden for sale",
|
|
84
83
|
MESSAGE018 = "Trial already used",
|
|
85
|
-
MESSAGE019 = "Unable to generate session from disposableToken for admin users"
|
|
86
|
-
MESSAGE020 = "ETag do not match"
|
|
84
|
+
MESSAGE019 = "Unable to generate session from disposableToken for admin users"
|
|
87
85
|
}
|
|
@@ -67,7 +67,6 @@ var RestErrorCodeEnum;
|
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
68
|
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
69
|
RestErrorCodeEnum["CODE019"] = "CODE019";
|
|
70
|
-
RestErrorCodeEnum["CODE020"] = "CODE020";
|
|
71
70
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
72
71
|
/**
|
|
73
72
|
* @export
|
|
@@ -95,5 +94,4 @@ var RestErrorMessageEnum;
|
|
|
95
94
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
96
95
|
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
97
96
|
RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
|
|
98
|
-
RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
|
|
99
97
|
})(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` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
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` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -55,8 +55,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
56
|
CODE017 = "CODE017",
|
|
57
57
|
CODE018 = "CODE018",
|
|
58
|
-
CODE019 = "CODE019"
|
|
59
|
-
CODE020 = "CODE020"
|
|
58
|
+
CODE019 = "CODE019"
|
|
60
59
|
}
|
|
61
60
|
/**
|
|
62
61
|
* @export
|
|
@@ -82,6 +81,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
82
81
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
83
82
|
MESSAGE017 = "Batch is forbidden for sale",
|
|
84
83
|
MESSAGE018 = "Trial already used",
|
|
85
|
-
MESSAGE019 = "Unable to generate session from disposableToken for admin users"
|
|
86
|
-
MESSAGE020 = "ETag do not match"
|
|
84
|
+
MESSAGE019 = "Unable to generate session from disposableToken for admin users"
|
|
87
85
|
}
|
|
@@ -67,7 +67,6 @@ var RestErrorCodeEnum;
|
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
68
|
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
69
|
RestErrorCodeEnum["CODE019"] = "CODE019";
|
|
70
|
-
RestErrorCodeEnum["CODE020"] = "CODE020";
|
|
71
70
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
72
71
|
/**
|
|
73
72
|
* @export
|
|
@@ -95,5 +94,4 @@ var RestErrorMessageEnum;
|
|
|
95
94
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
96
95
|
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
97
96
|
RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
|
|
98
|
-
RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
|
|
99
97
|
})(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` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
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` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -55,8 +55,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
56
|
CODE017 = "CODE017",
|
|
57
57
|
CODE018 = "CODE018",
|
|
58
|
-
CODE019 = "CODE019"
|
|
59
|
-
CODE020 = "CODE020"
|
|
58
|
+
CODE019 = "CODE019"
|
|
60
59
|
}
|
|
61
60
|
/**
|
|
62
61
|
* @export
|
|
@@ -82,6 +81,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
82
81
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
83
82
|
MESSAGE017 = "Batch is forbidden for sale",
|
|
84
83
|
MESSAGE018 = "Trial already used",
|
|
85
|
-
MESSAGE019 = "Unable to generate session from disposableToken for admin users"
|
|
86
|
-
MESSAGE020 = "ETag do not match"
|
|
84
|
+
MESSAGE019 = "Unable to generate session from disposableToken for admin users"
|
|
87
85
|
}
|
|
@@ -67,7 +67,6 @@ var RestErrorCodeEnum;
|
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
68
|
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
69
|
RestErrorCodeEnum["CODE019"] = "CODE019";
|
|
70
|
-
RestErrorCodeEnum["CODE020"] = "CODE020";
|
|
71
70
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
72
71
|
/**
|
|
73
72
|
* @export
|
|
@@ -95,5 +94,4 @@ var RestErrorMessageEnum;
|
|
|
95
94
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
96
95
|
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
97
96
|
RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
|
|
98
|
-
RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
|
|
99
97
|
})(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` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
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` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -55,8 +55,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
56
|
CODE017 = "CODE017",
|
|
57
57
|
CODE018 = "CODE018",
|
|
58
|
-
CODE019 = "CODE019"
|
|
59
|
-
CODE020 = "CODE020"
|
|
58
|
+
CODE019 = "CODE019"
|
|
60
59
|
}
|
|
61
60
|
/**
|
|
62
61
|
* @export
|
|
@@ -82,6 +81,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
82
81
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
83
82
|
MESSAGE017 = "Batch is forbidden for sale",
|
|
84
83
|
MESSAGE018 = "Trial already used",
|
|
85
|
-
MESSAGE019 = "Unable to generate session from disposableToken for admin users"
|
|
86
|
-
MESSAGE020 = "ETag do not match"
|
|
84
|
+
MESSAGE019 = "Unable to generate session from disposableToken for admin users"
|
|
87
85
|
}
|
|
@@ -67,7 +67,6 @@ var RestErrorCodeEnum;
|
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
68
|
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
69
|
RestErrorCodeEnum["CODE019"] = "CODE019";
|
|
70
|
-
RestErrorCodeEnum["CODE020"] = "CODE020";
|
|
71
70
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
72
71
|
/**
|
|
73
72
|
* @export
|
|
@@ -95,5 +94,4 @@ var RestErrorMessageEnum;
|
|
|
95
94
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
96
95
|
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
97
96
|
RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
|
|
98
|
-
RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
|
|
99
97
|
})(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` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
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` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -55,8 +55,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
56
|
CODE017 = "CODE017",
|
|
57
57
|
CODE018 = "CODE018",
|
|
58
|
-
CODE019 = "CODE019"
|
|
59
|
-
CODE020 = "CODE020"
|
|
58
|
+
CODE019 = "CODE019"
|
|
60
59
|
}
|
|
61
60
|
/**
|
|
62
61
|
* @export
|
|
@@ -82,6 +81,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
82
81
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
83
82
|
MESSAGE017 = "Batch is forbidden for sale",
|
|
84
83
|
MESSAGE018 = "Trial already used",
|
|
85
|
-
MESSAGE019 = "Unable to generate session from disposableToken for admin users"
|
|
86
|
-
MESSAGE020 = "ETag do not match"
|
|
84
|
+
MESSAGE019 = "Unable to generate session from disposableToken for admin users"
|
|
87
85
|
}
|
|
@@ -67,7 +67,6 @@ var RestErrorCodeEnum;
|
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
68
|
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
69
|
RestErrorCodeEnum["CODE019"] = "CODE019";
|
|
70
|
-
RestErrorCodeEnum["CODE020"] = "CODE020";
|
|
71
70
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
72
71
|
/**
|
|
73
72
|
* @export
|
|
@@ -95,5 +94,4 @@ var RestErrorMessageEnum;
|
|
|
95
94
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
96
95
|
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
97
96
|
RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
|
|
98
|
-
RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
|
|
99
97
|
})(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` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
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` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -55,8 +55,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
56
|
CODE017 = "CODE017",
|
|
57
57
|
CODE018 = "CODE018",
|
|
58
|
-
CODE019 = "CODE019"
|
|
59
|
-
CODE020 = "CODE020"
|
|
58
|
+
CODE019 = "CODE019"
|
|
60
59
|
}
|
|
61
60
|
/**
|
|
62
61
|
* @export
|
|
@@ -82,6 +81,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
82
81
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
83
82
|
MESSAGE017 = "Batch is forbidden for sale",
|
|
84
83
|
MESSAGE018 = "Trial already used",
|
|
85
|
-
MESSAGE019 = "Unable to generate session from disposableToken for admin users"
|
|
86
|
-
MESSAGE020 = "ETag do not match"
|
|
84
|
+
MESSAGE019 = "Unable to generate session from disposableToken for admin users"
|
|
87
85
|
}
|