@lcdp/api-react-rest-client 2.13.2 → 2.13.3-LDS-4475-mangopay-sca.15269504748
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 -2
- package/auth/src/models/RestError.js +4 -2
- package/catalog/src/models/RestError.d.ts +4 -2
- package/catalog/src/models/RestError.js +4 -2
- package/configuration/src/models/RestError.d.ts +4 -2
- package/configuration/src/models/RestError.js +4 -2
- package/content/src/models/RestError.d.ts +4 -2
- package/content/src/models/RestError.js +4 -2
- package/favorite/src/models/RestError.d.ts +4 -2
- package/favorite/src/models/RestError.js +4 -2
- package/inventory/src/apis/ManageInventorySynchronizationApi.d.ts +0 -2
- package/inventory/src/apis/ManageInventorySynchronizationApi.js +0 -6
- package/inventory/src/apis/index.d.ts +0 -1
- package/inventory/src/apis/index.js +0 -1
- package/inventory/src/models/ActiveProduct.d.ts +7 -0
- package/inventory/src/models/ActiveProduct.js +3 -0
- package/inventory/src/models/RestError.d.ts +4 -2
- package/inventory/src/models/RestError.js +4 -2
- package/inventory/src/models/index.d.ts +0 -1
- package/inventory/src/models/index.js +0 -1
- package/invoice/src/models/RestError.d.ts +4 -2
- package/invoice/src/models/RestError.js +4 -2
- package/laboratory-store/src/models/RestError.d.ts +4 -2
- package/laboratory-store/src/models/RestError.js +4 -2
- package/lexicon/src/models/RestError.d.ts +4 -2
- package/lexicon/src/models/RestError.js +4 -2
- package/litigation/src/models/RestError.d.ts +4 -2
- package/litigation/src/models/RestError.js +4 -2
- package/mangopay-hook/src/models/RestError.d.ts +4 -2
- package/mangopay-hook/src/models/RestError.js +4 -2
- package/notification/src/models/NotificationTypeId.d.ts +1 -0
- package/notification/src/models/NotificationTypeId.js +2 -1
- package/notification/src/models/RestError.d.ts +4 -2
- package/notification/src/models/RestError.js +4 -2
- package/order/src/models/RestError.d.ts +4 -2
- package/order/src/models/RestError.js +4 -2
- package/package.json +1 -1
- package/product/src/models/RestError.d.ts +4 -2
- package/product/src/models/RestError.js +4 -2
- package/pub/src/models/RestError.d.ts +4 -2
- package/pub/src/models/RestError.js +4 -2
- package/rfx/src/models/RestError.d.ts +4 -2
- package/rfx/src/models/RestError.js +4 -2
- package/sale-offer/src/models/RestError.d.ts +4 -2
- package/sale-offer/src/models/RestError.js +4 -2
- package/servant/src/models/RestError.d.ts +4 -2
- package/servant/src/models/RestError.js +4 -2
- package/shipment/src/models/RestError.d.ts +4 -2
- package/shipment/src/models/RestError.js +4 -2
- package/shopping-cart/src/models/RestError.d.ts +4 -2
- package/shopping-cart/src/models/RestError.js +4 -2
- package/smuggler/src/models/RestError.d.ts +4 -2
- package/smuggler/src/models/RestError.js +4 -2
- package/statistic/src/models/RestError.d.ts +4 -2
- package/statistic/src/models/RestError.js +4 -2
- package/subscription/src/models/RestError.d.ts +4 -2
- package/subscription/src/models/RestError.js +4 -2
- package/third-party/src/models/RestError.d.ts +4 -2
- package/third-party/src/models/RestError.js +4 -2
- package/ubo/src/apis/ManageUboDeclarationApi.d.ts +2 -2
- package/ubo/src/apis/ManageUboDeclarationApi.js +2 -2
- package/ubo/src/models/RestError.d.ts +4 -2
- package/ubo/src/models/RestError.js +4 -2
- package/user/src/apis/ManageUserApi.d.ts +2 -0
- package/user/src/apis/ManageUserApi.js +6 -0
- package/user/src/apis/ManageUserDocumentApi.d.ts +6 -6
- package/user/src/apis/ManageUserDocumentApi.js +6 -6
- package/user/src/models/NotificationTypeId.d.ts +1 -0
- package/user/src/models/NotificationTypeId.js +2 -1
- package/user/src/models/RestError.d.ts +4 -2
- package/user/src/models/RestError.js +4 -2
- package/user/src/models/ScaEnrollmentStatus.d.ts +31 -0
- package/user/src/models/ScaEnrollmentStatus.js +54 -0
- package/user/src/models/User.d.ts +7 -0
- package/user/src/models/User.js +3 -0
- package/user/src/models/UserBankAccountCreationParameters.d.ts +0 -6
- package/user/src/models/UserBankAccountCreationParameters.js +0 -2
- package/user/src/models/UserBankAccountLink.d.ts +16 -0
- package/user/src/models/UserBankAccountLink.js +12 -1
- package/user/src/models/UserJournal.d.ts +8 -0
- package/user/src/models/UserJournal.js +2 -0
- package/user/src/models/UserJournalUpdateParameters.d.ts +31 -0
- package/user/src/models/UserJournalUpdateParameters.js +45 -0
- package/user/src/models/UserUpdateParameters.d.ts +3 -3
- package/user/src/models/UserUpdateParameters.js +3 -3
- package/user/src/models/index.d.ts +2 -0
- package/user/src/models/index.js +2 -0
- package/wish/src/models/RestError.d.ts +4 -2
- package/wish/src/models/RestError.js +4 -2
- package/inventory/src/apis/SearchInventorySynchronizationApi.d.ts +0 -49
- package/inventory/src/apis/SearchInventorySynchronizationApi.js +0 -266
- package/inventory/src/models/PaginatedIdentifiedSynchronization.d.ts +0 -39
- package/inventory/src/models/PaginatedIdentifiedSynchronization.js +0 -53
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid 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 * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature
|
|
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 * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status
|
|
20
20
|
*
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RestError
|
|
23
23
|
*/
|
|
24
24
|
code: RestErrorCodeEnum;
|
|
25
25
|
/**
|
|
26
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid 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 * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature
|
|
26
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid 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 * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -57,6 +57,7 @@ export declare const RestErrorCodeEnum: {
|
|
|
57
57
|
readonly CODE020: "CODE020";
|
|
58
58
|
readonly CODE021: "CODE021";
|
|
59
59
|
readonly CODE022: "CODE022";
|
|
60
|
+
readonly CODE023: "CODE023";
|
|
60
61
|
};
|
|
61
62
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
62
63
|
/**
|
|
@@ -86,6 +87,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
86
87
|
readonly MESSAGE020: "ETag do not match";
|
|
87
88
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
88
89
|
readonly MESSAGE022: "Disabled feature";
|
|
90
|
+
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
89
91
|
};
|
|
90
92
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
91
93
|
/**
|
|
@@ -40,7 +40,8 @@ exports.RestErrorCodeEnum = {
|
|
|
40
40
|
CODE019: 'CODE019',
|
|
41
41
|
CODE020: 'CODE020',
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
|
-
CODE022: 'CODE022'
|
|
43
|
+
CODE022: 'CODE022',
|
|
44
|
+
CODE023: 'CODE023'
|
|
44
45
|
};
|
|
45
46
|
/**
|
|
46
47
|
* @export
|
|
@@ -68,7 +69,8 @@ exports.RestErrorMessageEnum = {
|
|
|
68
69
|
MESSAGE019: 'Unable to generate session from disposableToken for admin users',
|
|
69
70
|
MESSAGE020: 'ETag do not match',
|
|
70
71
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
71
|
-
MESSAGE022: 'Disabled feature'
|
|
72
|
+
MESSAGE022: 'Disabled feature',
|
|
73
|
+
MESSAGE023: 'Invalid Sca Enrollment status'
|
|
72
74
|
};
|
|
73
75
|
/**
|
|
74
76
|
* Check if a given object implements the RestError interface.
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid 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 * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature
|
|
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 * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status
|
|
20
20
|
*
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RestError
|
|
23
23
|
*/
|
|
24
24
|
code: RestErrorCodeEnum;
|
|
25
25
|
/**
|
|
26
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid 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 * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature
|
|
26
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid 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 * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -57,6 +57,7 @@ export declare const RestErrorCodeEnum: {
|
|
|
57
57
|
readonly CODE020: "CODE020";
|
|
58
58
|
readonly CODE021: "CODE021";
|
|
59
59
|
readonly CODE022: "CODE022";
|
|
60
|
+
readonly CODE023: "CODE023";
|
|
60
61
|
};
|
|
61
62
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
62
63
|
/**
|
|
@@ -86,6 +87,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
86
87
|
readonly MESSAGE020: "ETag do not match";
|
|
87
88
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
88
89
|
readonly MESSAGE022: "Disabled feature";
|
|
90
|
+
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
89
91
|
};
|
|
90
92
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
91
93
|
/**
|
|
@@ -40,7 +40,8 @@ exports.RestErrorCodeEnum = {
|
|
|
40
40
|
CODE019: 'CODE019',
|
|
41
41
|
CODE020: 'CODE020',
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
|
-
CODE022: 'CODE022'
|
|
43
|
+
CODE022: 'CODE022',
|
|
44
|
+
CODE023: 'CODE023'
|
|
44
45
|
};
|
|
45
46
|
/**
|
|
46
47
|
* @export
|
|
@@ -68,7 +69,8 @@ exports.RestErrorMessageEnum = {
|
|
|
68
69
|
MESSAGE019: 'Unable to generate session from disposableToken for admin users',
|
|
69
70
|
MESSAGE020: 'ETag do not match',
|
|
70
71
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
71
|
-
MESSAGE022: 'Disabled feature'
|
|
72
|
+
MESSAGE022: 'Disabled feature',
|
|
73
|
+
MESSAGE023: 'Invalid Sca Enrollment status'
|
|
72
74
|
};
|
|
73
75
|
/**
|
|
74
76
|
* Check if a given object implements the RestError interface.
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid 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 * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature
|
|
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 * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status
|
|
20
20
|
*
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RestError
|
|
23
23
|
*/
|
|
24
24
|
code: RestErrorCodeEnum;
|
|
25
25
|
/**
|
|
26
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid 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 * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature
|
|
26
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid 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 * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -57,6 +57,7 @@ export declare const RestErrorCodeEnum: {
|
|
|
57
57
|
readonly CODE020: "CODE020";
|
|
58
58
|
readonly CODE021: "CODE021";
|
|
59
59
|
readonly CODE022: "CODE022";
|
|
60
|
+
readonly CODE023: "CODE023";
|
|
60
61
|
};
|
|
61
62
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
62
63
|
/**
|
|
@@ -86,6 +87,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
86
87
|
readonly MESSAGE020: "ETag do not match";
|
|
87
88
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
88
89
|
readonly MESSAGE022: "Disabled feature";
|
|
90
|
+
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
89
91
|
};
|
|
90
92
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
91
93
|
/**
|
|
@@ -40,7 +40,8 @@ exports.RestErrorCodeEnum = {
|
|
|
40
40
|
CODE019: 'CODE019',
|
|
41
41
|
CODE020: 'CODE020',
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
|
-
CODE022: 'CODE022'
|
|
43
|
+
CODE022: 'CODE022',
|
|
44
|
+
CODE023: 'CODE023'
|
|
44
45
|
};
|
|
45
46
|
/**
|
|
46
47
|
* @export
|
|
@@ -68,7 +69,8 @@ exports.RestErrorMessageEnum = {
|
|
|
68
69
|
MESSAGE019: 'Unable to generate session from disposableToken for admin users',
|
|
69
70
|
MESSAGE020: 'ETag do not match',
|
|
70
71
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
71
|
-
MESSAGE022: 'Disabled feature'
|
|
72
|
+
MESSAGE022: 'Disabled feature',
|
|
73
|
+
MESSAGE023: 'Invalid Sca Enrollment status'
|
|
72
74
|
};
|
|
73
75
|
/**
|
|
74
76
|
* Check if a given object implements the RestError interface.
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid 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 * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature
|
|
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 * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status
|
|
20
20
|
*
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RestError
|
|
23
23
|
*/
|
|
24
24
|
code: RestErrorCodeEnum;
|
|
25
25
|
/**
|
|
26
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid 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 * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature
|
|
26
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid 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 * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -57,6 +57,7 @@ export declare const RestErrorCodeEnum: {
|
|
|
57
57
|
readonly CODE020: "CODE020";
|
|
58
58
|
readonly CODE021: "CODE021";
|
|
59
59
|
readonly CODE022: "CODE022";
|
|
60
|
+
readonly CODE023: "CODE023";
|
|
60
61
|
};
|
|
61
62
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
62
63
|
/**
|
|
@@ -86,6 +87,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
86
87
|
readonly MESSAGE020: "ETag do not match";
|
|
87
88
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
88
89
|
readonly MESSAGE022: "Disabled feature";
|
|
90
|
+
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
89
91
|
};
|
|
90
92
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
91
93
|
/**
|
|
@@ -40,7 +40,8 @@ exports.RestErrorCodeEnum = {
|
|
|
40
40
|
CODE019: 'CODE019',
|
|
41
41
|
CODE020: 'CODE020',
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
|
-
CODE022: 'CODE022'
|
|
43
|
+
CODE022: 'CODE022',
|
|
44
|
+
CODE023: 'CODE023'
|
|
44
45
|
};
|
|
45
46
|
/**
|
|
46
47
|
* @export
|
|
@@ -68,7 +69,8 @@ exports.RestErrorMessageEnum = {
|
|
|
68
69
|
MESSAGE019: 'Unable to generate session from disposableToken for admin users',
|
|
69
70
|
MESSAGE020: 'ETag do not match',
|
|
70
71
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
71
|
-
MESSAGE022: 'Disabled feature'
|
|
72
|
+
MESSAGE022: 'Disabled feature',
|
|
73
|
+
MESSAGE023: 'Invalid Sca Enrollment status'
|
|
72
74
|
};
|
|
73
75
|
/**
|
|
74
76
|
* Check if a given object implements the RestError interface.
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid 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 * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature
|
|
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 * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status
|
|
20
20
|
*
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RestError
|
|
23
23
|
*/
|
|
24
24
|
code: RestErrorCodeEnum;
|
|
25
25
|
/**
|
|
26
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid 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 * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature
|
|
26
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid 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 * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -57,6 +57,7 @@ export declare const RestErrorCodeEnum: {
|
|
|
57
57
|
readonly CODE020: "CODE020";
|
|
58
58
|
readonly CODE021: "CODE021";
|
|
59
59
|
readonly CODE022: "CODE022";
|
|
60
|
+
readonly CODE023: "CODE023";
|
|
60
61
|
};
|
|
61
62
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
62
63
|
/**
|
|
@@ -86,6 +87,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
86
87
|
readonly MESSAGE020: "ETag do not match";
|
|
87
88
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
88
89
|
readonly MESSAGE022: "Disabled feature";
|
|
90
|
+
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
89
91
|
};
|
|
90
92
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
91
93
|
/**
|
|
@@ -40,7 +40,8 @@ exports.RestErrorCodeEnum = {
|
|
|
40
40
|
CODE019: 'CODE019',
|
|
41
41
|
CODE020: 'CODE020',
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
|
-
CODE022: 'CODE022'
|
|
43
|
+
CODE022: 'CODE022',
|
|
44
|
+
CODE023: 'CODE023'
|
|
44
45
|
};
|
|
45
46
|
/**
|
|
46
47
|
* @export
|
|
@@ -68,7 +69,8 @@ exports.RestErrorMessageEnum = {
|
|
|
68
69
|
MESSAGE019: 'Unable to generate session from disposableToken for admin users',
|
|
69
70
|
MESSAGE020: 'ETag do not match',
|
|
70
71
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
71
|
-
MESSAGE022: 'Disabled feature'
|
|
72
|
+
MESSAGE022: 'Disabled feature',
|
|
73
|
+
MESSAGE023: 'Invalid Sca Enrollment status'
|
|
72
74
|
};
|
|
73
75
|
/**
|
|
74
76
|
* Check if a given object implements the RestError interface.
|
|
@@ -31,14 +31,12 @@ export interface UpdateCurrentInventorySynchronizationsRequest {
|
|
|
31
31
|
synchronization: Synchronization;
|
|
32
32
|
idEq?: Array<number>;
|
|
33
33
|
modeEq?: Array<SynchronizationMode>;
|
|
34
|
-
modeNeq?: Array<SynchronizationMode>;
|
|
35
34
|
}
|
|
36
35
|
export interface UpdateInventorySynchronizationsRequest {
|
|
37
36
|
inventoryId: number;
|
|
38
37
|
synchronization: Synchronization;
|
|
39
38
|
idEq?: Array<number>;
|
|
40
39
|
modeEq?: Array<SynchronizationMode>;
|
|
41
|
-
modeNeq?: Array<SynchronizationMode>;
|
|
42
40
|
}
|
|
43
41
|
/**
|
|
44
42
|
*
|
|
@@ -378,9 +378,6 @@ var ManageInventorySynchronizationApi = /** @class */ (function (_super) {
|
|
|
378
378
|
if (requestParameters['modeEq'] != null) {
|
|
379
379
|
queryParameters['mode[eq]'] = requestParameters['modeEq'];
|
|
380
380
|
}
|
|
381
|
-
if (requestParameters['modeNeq'] != null) {
|
|
382
|
-
queryParameters['mode[neq]'] = requestParameters['modeNeq'];
|
|
383
|
-
}
|
|
384
381
|
headerParameters = {};
|
|
385
382
|
headerParameters['Content-Type'] = 'application/json';
|
|
386
383
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
@@ -458,9 +455,6 @@ var ManageInventorySynchronizationApi = /** @class */ (function (_super) {
|
|
|
458
455
|
if (requestParameters['modeEq'] != null) {
|
|
459
456
|
queryParameters['mode[eq]'] = requestParameters['modeEq'];
|
|
460
457
|
}
|
|
461
|
-
if (requestParameters['modeNeq'] != null) {
|
|
462
|
-
queryParameters['mode[neq]'] = requestParameters['modeNeq'];
|
|
463
|
-
}
|
|
464
458
|
headerParameters = {};
|
|
465
459
|
headerParameters['Content-Type'] = 'application/json';
|
|
466
460
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
@@ -19,4 +19,3 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
19
19
|
__exportStar(require("./ManageInventoryApi"), exports);
|
|
20
20
|
__exportStar(require("./ManageInventorySynchronizationApi"), exports);
|
|
21
21
|
__exportStar(require("./SearchInventoryApi"), exports);
|
|
22
|
-
__exportStar(require("./SearchInventorySynchronizationApi"), exports);
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { SynchronizationMode } from './SynchronizationMode';
|
|
12
13
|
import type { ProductLink } from './ProductLink';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -34,6 +35,12 @@ export interface ActiveProduct {
|
|
|
34
35
|
* @memberof ActiveProduct
|
|
35
36
|
*/
|
|
36
37
|
activeStock?: number;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {SynchronizationMode}
|
|
41
|
+
* @memberof ActiveProduct
|
|
42
|
+
*/
|
|
43
|
+
synchronizationMode?: SynchronizationMode;
|
|
37
44
|
/**
|
|
38
45
|
* Date of last update of the product
|
|
39
46
|
* @type {Date}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ActiveProductToJSON = exports.ActiveProductFromJSONTyped = exports.ActiveProductFromJSON = exports.instanceOfActiveProduct = void 0;
|
|
17
|
+
var SynchronizationMode_1 = require("./SynchronizationMode");
|
|
17
18
|
var ProductLink_1 = require("./ProductLink");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the ActiveProduct interface.
|
|
@@ -34,6 +35,7 @@ function ActiveProductFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
35
|
'product': (json['product'] === null || json['product'] === undefined) ? json['product'] : (0, ProductLink_1.ProductLinkFromJSON)(json['product']),
|
|
35
36
|
'totalActiveSaleOffers': json['totalActiveSaleOffers'],
|
|
36
37
|
'activeStock': json['activeStock'],
|
|
38
|
+
'synchronizationMode': (json['synchronizationMode'] === null || json['synchronizationMode'] === undefined) ? json['synchronizationMode'] : (0, SynchronizationMode_1.SynchronizationModeFromJSON)(json['synchronizationMode']),
|
|
37
39
|
'updatedAt': (json['updatedAt'] === null || json['updatedAt'] === undefined) ? json['updatedAt'] : new Date(json['updatedAt']),
|
|
38
40
|
};
|
|
39
41
|
}
|
|
@@ -46,6 +48,7 @@ function ActiveProductToJSON(value) {
|
|
|
46
48
|
'product': (0, ProductLink_1.ProductLinkToJSON)(value['product']),
|
|
47
49
|
'totalActiveSaleOffers': value['totalActiveSaleOffers'],
|
|
48
50
|
'activeStock': value['activeStock'],
|
|
51
|
+
'synchronizationMode': (0, SynchronizationMode_1.SynchronizationModeToJSON)(value['synchronizationMode']),
|
|
49
52
|
'updatedAt': (value['updatedAt'] === null || value['updatedAt'] === undefined) ? value['updatedAt'] : (value['updatedAt']).toISOString(),
|
|
50
53
|
};
|
|
51
54
|
}
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid 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 * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature
|
|
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 * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status
|
|
20
20
|
*
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RestError
|
|
23
23
|
*/
|
|
24
24
|
code: RestErrorCodeEnum;
|
|
25
25
|
/**
|
|
26
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid 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 * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature
|
|
26
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid 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 * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -57,6 +57,7 @@ export declare const RestErrorCodeEnum: {
|
|
|
57
57
|
readonly CODE020: "CODE020";
|
|
58
58
|
readonly CODE021: "CODE021";
|
|
59
59
|
readonly CODE022: "CODE022";
|
|
60
|
+
readonly CODE023: "CODE023";
|
|
60
61
|
};
|
|
61
62
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
62
63
|
/**
|
|
@@ -86,6 +87,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
86
87
|
readonly MESSAGE020: "ETag do not match";
|
|
87
88
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
88
89
|
readonly MESSAGE022: "Disabled feature";
|
|
90
|
+
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
89
91
|
};
|
|
90
92
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
91
93
|
/**
|
|
@@ -40,7 +40,8 @@ exports.RestErrorCodeEnum = {
|
|
|
40
40
|
CODE019: 'CODE019',
|
|
41
41
|
CODE020: 'CODE020',
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
|
-
CODE022: 'CODE022'
|
|
43
|
+
CODE022: 'CODE022',
|
|
44
|
+
CODE023: 'CODE023'
|
|
44
45
|
};
|
|
45
46
|
/**
|
|
46
47
|
* @export
|
|
@@ -68,7 +69,8 @@ exports.RestErrorMessageEnum = {
|
|
|
68
69
|
MESSAGE019: 'Unable to generate session from disposableToken for admin users',
|
|
69
70
|
MESSAGE020: 'ETag do not match',
|
|
70
71
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
71
|
-
MESSAGE022: 'Disabled feature'
|
|
72
|
+
MESSAGE022: 'Disabled feature',
|
|
73
|
+
MESSAGE023: 'Invalid Sca Enrollment status'
|
|
72
74
|
};
|
|
73
75
|
/**
|
|
74
76
|
* Check if a given object implements the RestError interface.
|
|
@@ -11,7 +11,6 @@ export * from './MisalignedProduct';
|
|
|
11
11
|
export * from './OverstockProduct';
|
|
12
12
|
export * from './OverstockProductUpdateParameters';
|
|
13
13
|
export * from './PaginatedActiveProducts';
|
|
14
|
-
export * from './PaginatedIdentifiedSynchronization';
|
|
15
14
|
export * from './PaginatedInventories';
|
|
16
15
|
export * from './PaginatedMisalignedProducts';
|
|
17
16
|
export * from './PaginatedObject';
|
|
@@ -29,7 +29,6 @@ __exportStar(require("./MisalignedProduct"), exports);
|
|
|
29
29
|
__exportStar(require("./OverstockProduct"), exports);
|
|
30
30
|
__exportStar(require("./OverstockProductUpdateParameters"), exports);
|
|
31
31
|
__exportStar(require("./PaginatedActiveProducts"), exports);
|
|
32
|
-
__exportStar(require("./PaginatedIdentifiedSynchronization"), exports);
|
|
33
32
|
__exportStar(require("./PaginatedInventories"), exports);
|
|
34
33
|
__exportStar(require("./PaginatedMisalignedProducts"), exports);
|
|
35
34
|
__exportStar(require("./PaginatedObject"), exports);
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid 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 * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature
|
|
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 * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status
|
|
20
20
|
*
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RestError
|
|
23
23
|
*/
|
|
24
24
|
code: RestErrorCodeEnum;
|
|
25
25
|
/**
|
|
26
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid 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 * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature
|
|
26
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid 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 * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -57,6 +57,7 @@ export declare const RestErrorCodeEnum: {
|
|
|
57
57
|
readonly CODE020: "CODE020";
|
|
58
58
|
readonly CODE021: "CODE021";
|
|
59
59
|
readonly CODE022: "CODE022";
|
|
60
|
+
readonly CODE023: "CODE023";
|
|
60
61
|
};
|
|
61
62
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
62
63
|
/**
|
|
@@ -86,6 +87,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
86
87
|
readonly MESSAGE020: "ETag do not match";
|
|
87
88
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
88
89
|
readonly MESSAGE022: "Disabled feature";
|
|
90
|
+
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
89
91
|
};
|
|
90
92
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
91
93
|
/**
|
|
@@ -40,7 +40,8 @@ exports.RestErrorCodeEnum = {
|
|
|
40
40
|
CODE019: 'CODE019',
|
|
41
41
|
CODE020: 'CODE020',
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
|
-
CODE022: 'CODE022'
|
|
43
|
+
CODE022: 'CODE022',
|
|
44
|
+
CODE023: 'CODE023'
|
|
44
45
|
};
|
|
45
46
|
/**
|
|
46
47
|
* @export
|
|
@@ -68,7 +69,8 @@ exports.RestErrorMessageEnum = {
|
|
|
68
69
|
MESSAGE019: 'Unable to generate session from disposableToken for admin users',
|
|
69
70
|
MESSAGE020: 'ETag do not match',
|
|
70
71
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
71
|
-
MESSAGE022: 'Disabled feature'
|
|
72
|
+
MESSAGE022: 'Disabled feature',
|
|
73
|
+
MESSAGE023: 'Invalid Sca Enrollment status'
|
|
72
74
|
};
|
|
73
75
|
/**
|
|
74
76
|
* Check if a given object implements the RestError interface.
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid 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 * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature
|
|
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 * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status
|
|
20
20
|
*
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RestError
|
|
23
23
|
*/
|
|
24
24
|
code: RestErrorCodeEnum;
|
|
25
25
|
/**
|
|
26
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid 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 * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature
|
|
26
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid 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 * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -57,6 +57,7 @@ export declare const RestErrorCodeEnum: {
|
|
|
57
57
|
readonly CODE020: "CODE020";
|
|
58
58
|
readonly CODE021: "CODE021";
|
|
59
59
|
readonly CODE022: "CODE022";
|
|
60
|
+
readonly CODE023: "CODE023";
|
|
60
61
|
};
|
|
61
62
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
62
63
|
/**
|
|
@@ -86,6 +87,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
86
87
|
readonly MESSAGE020: "ETag do not match";
|
|
87
88
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
88
89
|
readonly MESSAGE022: "Disabled feature";
|
|
90
|
+
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
89
91
|
};
|
|
90
92
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
91
93
|
/**
|
|
@@ -40,7 +40,8 @@ exports.RestErrorCodeEnum = {
|
|
|
40
40
|
CODE019: 'CODE019',
|
|
41
41
|
CODE020: 'CODE020',
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
|
-
CODE022: 'CODE022'
|
|
43
|
+
CODE022: 'CODE022',
|
|
44
|
+
CODE023: 'CODE023'
|
|
44
45
|
};
|
|
45
46
|
/**
|
|
46
47
|
* @export
|
|
@@ -68,7 +69,8 @@ exports.RestErrorMessageEnum = {
|
|
|
68
69
|
MESSAGE019: 'Unable to generate session from disposableToken for admin users',
|
|
69
70
|
MESSAGE020: 'ETag do not match',
|
|
70
71
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
71
|
-
MESSAGE022: 'Disabled feature'
|
|
72
|
+
MESSAGE022: 'Disabled feature',
|
|
73
|
+
MESSAGE023: 'Invalid Sca Enrollment status'
|
|
72
74
|
};
|
|
73
75
|
/**
|
|
74
76
|
* Check if a given object implements the RestError interface.
|