@lcdp/api-react-rest-client 2.13.3-develop.15818772806 → 2.13.3-develop.16029437800
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 +2 -0
- package/catalog/src/models/RestError.d.ts +4 -2
- package/catalog/src/models/RestError.js +2 -0
- package/configuration/src/models/RestError.d.ts +4 -2
- package/configuration/src/models/RestError.js +2 -0
- package/content/src/models/RestError.d.ts +4 -2
- package/content/src/models/RestError.js +2 -0
- package/favorite/src/models/RestError.d.ts +4 -2
- package/favorite/src/models/RestError.js +2 -0
- package/inventory/src/apis/ManageOfferSynchronizationApi.d.ts +28 -0
- package/{user/src/apis/ManageUserRoleApi.js → inventory/src/apis/ManageOfferSynchronizationApi.js} +20 -41
- package/inventory/src/apis/index.d.ts +1 -0
- package/inventory/src/apis/index.js +1 -0
- package/inventory/src/models/RestError.d.ts +4 -2
- package/inventory/src/models/RestError.js +2 -0
- package/invoice/src/models/RestError.d.ts +4 -2
- package/invoice/src/models/RestError.js +2 -0
- package/laboratory-store/src/models/RestError.d.ts +4 -2
- package/laboratory-store/src/models/RestError.js +2 -0
- package/lexicon/src/models/RestError.d.ts +4 -2
- package/lexicon/src/models/RestError.js +2 -0
- package/litigation/src/models/RestError.d.ts +4 -2
- package/litigation/src/models/RestError.js +2 -0
- package/mangopay-hook/src/models/RestError.d.ts +4 -2
- package/mangopay-hook/src/models/RestError.js +2 -0
- 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 +2 -0
- package/order/src/models/RestError.d.ts +4 -2
- package/order/src/models/RestError.js +2 -0
- package/package.json +1 -1
- package/product/src/models/RestError.d.ts +4 -2
- package/product/src/models/RestError.js +2 -0
- package/pub/src/models/RestError.d.ts +4 -2
- package/pub/src/models/RestError.js +2 -0
- package/rfx/src/models/RestError.d.ts +4 -2
- package/rfx/src/models/RestError.js +2 -0
- package/sale-offer/src/models/RestError.d.ts +4 -2
- package/sale-offer/src/models/RestError.js +2 -0
- package/servant/src/models/RestError.d.ts +4 -2
- package/servant/src/models/RestError.js +2 -0
- package/shipment/src/models/RestError.d.ts +4 -2
- package/shipment/src/models/RestError.js +2 -0
- package/shopping-cart/src/models/RestError.d.ts +4 -2
- package/shopping-cart/src/models/RestError.js +2 -0
- package/smuggler/src/models/RestError.d.ts +4 -2
- package/smuggler/src/models/RestError.js +2 -0
- package/statistic/src/models/RestError.d.ts +4 -2
- package/statistic/src/models/RestError.js +2 -0
- package/subscription/src/models/RestError.d.ts +4 -2
- package/subscription/src/models/RestError.js +2 -0
- package/third-party/src/models/RestError.d.ts +4 -2
- package/third-party/src/models/RestError.js +2 -0
- 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 +2 -0
- 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/apis/index.d.ts +0 -1
- package/user/src/apis/index.js +0 -1
- 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 +2 -0
- package/user/src/models/ScaEnrollmentStatus.d.ts +31 -0
- package/user/src/models/ScaEnrollmentStatus.js +54 -0
- package/user/src/models/User.d.ts +8 -1
- 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 +10 -3
- package/user/src/models/UserUpdateParameters.js +6 -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 +2 -0
- package/user/src/apis/ManageUserRoleApi.d.ts +0 -32
|
@@ -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 * `CODE024` - Image missing
|
|
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 * `CODE024` - Image missing
|
|
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 * `MESSAGE024` - Image missing
|
|
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 * `MESSAGE024` - Image missing
|
|
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
|
readonly CODE024: "CODE024";
|
|
61
62
|
};
|
|
62
63
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
@@ -87,6 +88,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
87
88
|
readonly MESSAGE020: "ETag do not match";
|
|
88
89
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
89
90
|
readonly MESSAGE022: "Disabled feature";
|
|
91
|
+
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
90
92
|
readonly MESSAGE024: "Image missing";
|
|
91
93
|
};
|
|
92
94
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
@@ -41,6 +41,7 @@ exports.RestErrorCodeEnum = {
|
|
|
41
41
|
CODE020: 'CODE020',
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
43
|
CODE022: 'CODE022',
|
|
44
|
+
CODE023: 'CODE023',
|
|
44
45
|
CODE024: 'CODE024'
|
|
45
46
|
};
|
|
46
47
|
/**
|
|
@@ -70,6 +71,7 @@ exports.RestErrorMessageEnum = {
|
|
|
70
71
|
MESSAGE020: 'ETag do not match',
|
|
71
72
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
72
73
|
MESSAGE022: 'Disabled feature',
|
|
74
|
+
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
73
75
|
MESSAGE024: 'Image missing'
|
|
74
76
|
};
|
|
75
77
|
/**
|
|
@@ -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 * `CODE024` - Image missing
|
|
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 * `CODE024` - Image missing
|
|
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 * `MESSAGE024` - Image missing
|
|
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 * `MESSAGE024` - Image missing
|
|
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
|
readonly CODE024: "CODE024";
|
|
61
62
|
};
|
|
62
63
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
@@ -87,6 +88,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
87
88
|
readonly MESSAGE020: "ETag do not match";
|
|
88
89
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
89
90
|
readonly MESSAGE022: "Disabled feature";
|
|
91
|
+
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
90
92
|
readonly MESSAGE024: "Image missing";
|
|
91
93
|
};
|
|
92
94
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
@@ -41,6 +41,7 @@ exports.RestErrorCodeEnum = {
|
|
|
41
41
|
CODE020: 'CODE020',
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
43
|
CODE022: 'CODE022',
|
|
44
|
+
CODE023: 'CODE023',
|
|
44
45
|
CODE024: 'CODE024'
|
|
45
46
|
};
|
|
46
47
|
/**
|
|
@@ -70,6 +71,7 @@ exports.RestErrorMessageEnum = {
|
|
|
70
71
|
MESSAGE020: 'ETag do not match',
|
|
71
72
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
72
73
|
MESSAGE022: 'Disabled feature',
|
|
74
|
+
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
73
75
|
MESSAGE024: 'Image missing'
|
|
74
76
|
};
|
|
75
77
|
/**
|
|
@@ -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 * `CODE024` - Image missing
|
|
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 * `CODE024` - Image missing
|
|
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 * `MESSAGE024` - Image missing
|
|
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 * `MESSAGE024` - Image missing
|
|
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
|
readonly CODE024: "CODE024";
|
|
61
62
|
};
|
|
62
63
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
@@ -87,6 +88,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
87
88
|
readonly MESSAGE020: "ETag do not match";
|
|
88
89
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
89
90
|
readonly MESSAGE022: "Disabled feature";
|
|
91
|
+
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
90
92
|
readonly MESSAGE024: "Image missing";
|
|
91
93
|
};
|
|
92
94
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
@@ -41,6 +41,7 @@ exports.RestErrorCodeEnum = {
|
|
|
41
41
|
CODE020: 'CODE020',
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
43
|
CODE022: 'CODE022',
|
|
44
|
+
CODE023: 'CODE023',
|
|
44
45
|
CODE024: 'CODE024'
|
|
45
46
|
};
|
|
46
47
|
/**
|
|
@@ -70,6 +71,7 @@ exports.RestErrorMessageEnum = {
|
|
|
70
71
|
MESSAGE020: 'ETag do not match',
|
|
71
72
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
72
73
|
MESSAGE022: 'Disabled feature',
|
|
74
|
+
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
73
75
|
MESSAGE024: 'Image missing'
|
|
74
76
|
};
|
|
75
77
|
/**
|
|
@@ -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 * `CODE024` - Image missing
|
|
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 * `CODE024` - Image missing
|
|
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 * `MESSAGE024` - Image missing
|
|
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 * `MESSAGE024` - Image missing
|
|
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
|
readonly CODE024: "CODE024";
|
|
61
62
|
};
|
|
62
63
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
@@ -87,6 +88,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
87
88
|
readonly MESSAGE020: "ETag do not match";
|
|
88
89
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
89
90
|
readonly MESSAGE022: "Disabled feature";
|
|
91
|
+
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
90
92
|
readonly MESSAGE024: "Image missing";
|
|
91
93
|
};
|
|
92
94
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
@@ -41,6 +41,7 @@ exports.RestErrorCodeEnum = {
|
|
|
41
41
|
CODE020: 'CODE020',
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
43
|
CODE022: 'CODE022',
|
|
44
|
+
CODE023: 'CODE023',
|
|
44
45
|
CODE024: 'CODE024'
|
|
45
46
|
};
|
|
46
47
|
/**
|
|
@@ -70,6 +71,7 @@ exports.RestErrorMessageEnum = {
|
|
|
70
71
|
MESSAGE020: 'ETag do not match',
|
|
71
72
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
72
73
|
MESSAGE022: 'Disabled feature',
|
|
74
|
+
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
73
75
|
MESSAGE024: 'Image missing'
|
|
74
76
|
};
|
|
75
77
|
/**
|
|
@@ -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 * `CODE024` - Image missing
|
|
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 * `CODE024` - Image missing
|
|
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 * `MESSAGE024` - Image missing
|
|
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 * `MESSAGE024` - Image missing
|
|
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
|
readonly CODE024: "CODE024";
|
|
61
62
|
};
|
|
62
63
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
@@ -87,6 +88,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
87
88
|
readonly MESSAGE020: "ETag do not match";
|
|
88
89
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
89
90
|
readonly MESSAGE022: "Disabled feature";
|
|
91
|
+
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
90
92
|
readonly MESSAGE024: "Image missing";
|
|
91
93
|
};
|
|
92
94
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
@@ -41,6 +41,7 @@ exports.RestErrorCodeEnum = {
|
|
|
41
41
|
CODE020: 'CODE020',
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
43
|
CODE022: 'CODE022',
|
|
44
|
+
CODE023: 'CODE023',
|
|
44
45
|
CODE024: 'CODE024'
|
|
45
46
|
};
|
|
46
47
|
/**
|
|
@@ -70,6 +71,7 @@ exports.RestErrorMessageEnum = {
|
|
|
70
71
|
MESSAGE020: 'ETag do not match',
|
|
71
72
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
72
73
|
MESSAGE022: 'Disabled feature',
|
|
74
|
+
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
73
75
|
MESSAGE024: 'Image missing'
|
|
74
76
|
};
|
|
75
77
|
/**
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* lcdp-pharmaide-service
|
|
3
|
+
* This is the REST API of LCDP products
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: contact@lecomptoirdespharmacies.fr
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
export interface CreateInventoryOfferRefreshRequest {
|
|
14
|
+
inventoryId: number;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export declare class ManageOfferSynchronizationApi extends runtime.BaseAPI {
|
|
20
|
+
/**
|
|
21
|
+
* Create inventory offer refresh
|
|
22
|
+
*/
|
|
23
|
+
createInventoryOfferRefreshRaw(requestParameters: CreateInventoryOfferRefreshRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
24
|
+
/**
|
|
25
|
+
* Create inventory offer refresh
|
|
26
|
+
*/
|
|
27
|
+
createInventoryOfferRefresh(requestParameters: CreateInventoryOfferRefreshRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
28
|
+
}
|
package/{user/src/apis/ManageUserRoleApi.js → inventory/src/apis/ManageOfferSynchronizationApi.js}
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
* lcdp-
|
|
5
|
+
* lcdp-pharmaide-service
|
|
6
6
|
* This is the REST API of LCDP products
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
@@ -64,36 +64,30 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
-
exports.
|
|
67
|
+
exports.ManageOfferSynchronizationApi = void 0;
|
|
68
68
|
var runtime = require("../runtime");
|
|
69
|
-
var index_1 = require("../models/index");
|
|
70
69
|
/**
|
|
71
70
|
*
|
|
72
71
|
*/
|
|
73
|
-
var
|
|
74
|
-
__extends(
|
|
75
|
-
function
|
|
72
|
+
var ManageOfferSynchronizationApi = /** @class */ (function (_super) {
|
|
73
|
+
__extends(ManageOfferSynchronizationApi, _super);
|
|
74
|
+
function ManageOfferSynchronizationApi() {
|
|
76
75
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
76
|
}
|
|
78
77
|
/**
|
|
79
|
-
*
|
|
80
|
-
* Update user role
|
|
78
|
+
* Create inventory offer refresh
|
|
81
79
|
*/
|
|
82
|
-
|
|
80
|
+
ManageOfferSynchronizationApi.prototype.createInventoryOfferRefreshRaw = function (requestParameters, initOverrides) {
|
|
83
81
|
return __awaiter(this, void 0, void 0, function () {
|
|
84
|
-
var queryParameters, headerParameters, _a, _b, token, tokenString, response,
|
|
82
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, response, response_1;
|
|
85
83
|
return __generator(this, function (_c) {
|
|
86
84
|
switch (_c.label) {
|
|
87
85
|
case 0:
|
|
88
|
-
if (requestParameters['
|
|
89
|
-
throw new runtime.RequiredError('
|
|
90
|
-
}
|
|
91
|
-
if (requestParameters['body'] == null) {
|
|
92
|
-
throw new runtime.RequiredError('body', 'Required parameter "body" was null or undefined when calling updateUserRole().');
|
|
86
|
+
if (requestParameters['inventoryId'] == null) {
|
|
87
|
+
throw new runtime.RequiredError('inventoryId', 'Required parameter "inventoryId" was null or undefined when calling createInventoryOfferRefresh().');
|
|
93
88
|
}
|
|
94
89
|
queryParameters = {};
|
|
95
90
|
headerParameters = {};
|
|
96
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
97
91
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
98
92
|
_a = headerParameters;
|
|
99
93
|
_b = "x-api-key";
|
|
@@ -114,26 +108,14 @@ var ManageUserRoleApi = /** @class */ (function (_super) {
|
|
|
114
108
|
case 4:
|
|
115
109
|
_c.trys.push([4, 6, , 7]);
|
|
116
110
|
return [4 /*yield*/, this.request({
|
|
117
|
-
path: "/
|
|
118
|
-
method: '
|
|
111
|
+
path: "/inventories/{inventoryId}/offer-refreshes".replace("{".concat("inventoryId", "}"), encodeURIComponent(String(requestParameters['inventoryId']))),
|
|
112
|
+
method: 'POST',
|
|
119
113
|
headers: headerParameters,
|
|
120
114
|
query: queryParameters,
|
|
121
|
-
body: requestParameters['body'],
|
|
122
115
|
}, initOverrides)];
|
|
123
116
|
case 5:
|
|
124
117
|
response = _c.sent();
|
|
125
|
-
|
|
126
|
-
if (contentType && contentType.indexOf("application/json") !== -1) {
|
|
127
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.UserRoleFromJSON)(jsonValue); })];
|
|
128
|
-
}
|
|
129
|
-
else if (contentType && contentType.indexOf("text/plain") !== -1) {
|
|
130
|
-
return [2 /*return*/, new runtime.TextApiResponse(response)];
|
|
131
|
-
}
|
|
132
|
-
else {
|
|
133
|
-
// TODO : Better handling of others application types
|
|
134
|
-
return [2 /*return*/, new runtime.BlobWithMetaApiResponse(response)];
|
|
135
|
-
}
|
|
136
|
-
return [3 /*break*/, 7];
|
|
118
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
137
119
|
case 6:
|
|
138
120
|
response_1 = _c.sent();
|
|
139
121
|
console.debug(response_1);
|
|
@@ -144,23 +126,20 @@ var ManageUserRoleApi = /** @class */ (function (_super) {
|
|
|
144
126
|
});
|
|
145
127
|
};
|
|
146
128
|
/**
|
|
147
|
-
*
|
|
148
|
-
* Update user role
|
|
129
|
+
* Create inventory offer refresh
|
|
149
130
|
*/
|
|
150
|
-
|
|
131
|
+
ManageOfferSynchronizationApi.prototype.createInventoryOfferRefresh = function (requestParameters, initOverrides) {
|
|
151
132
|
return __awaiter(this, void 0, void 0, function () {
|
|
152
|
-
var response;
|
|
153
133
|
return __generator(this, function (_a) {
|
|
154
134
|
switch (_a.label) {
|
|
155
|
-
case 0: return [4 /*yield*/, this.
|
|
135
|
+
case 0: return [4 /*yield*/, this.createInventoryOfferRefreshRaw(requestParameters, initOverrides)];
|
|
156
136
|
case 1:
|
|
157
|
-
|
|
158
|
-
return [
|
|
159
|
-
case 2: return [2 /*return*/, _a.sent()];
|
|
137
|
+
_a.sent();
|
|
138
|
+
return [2 /*return*/];
|
|
160
139
|
}
|
|
161
140
|
});
|
|
162
141
|
});
|
|
163
142
|
};
|
|
164
|
-
return
|
|
143
|
+
return ManageOfferSynchronizationApi;
|
|
165
144
|
}(runtime.BaseAPI));
|
|
166
|
-
exports.
|
|
145
|
+
exports.ManageOfferSynchronizationApi = ManageOfferSynchronizationApi;
|
|
@@ -18,5 +18,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
/* eslint-disable */
|
|
19
19
|
__exportStar(require("./ManageInventoryApi"), exports);
|
|
20
20
|
__exportStar(require("./ManageInventorySynchronizationApi"), exports);
|
|
21
|
+
__exportStar(require("./ManageOfferSynchronizationApi"), exports);
|
|
21
22
|
__exportStar(require("./SearchInventoryApi"), exports);
|
|
22
23
|
__exportStar(require("./SearchInventorySynchronizationApi"), 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 * `CODE024` - Image missing
|
|
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 * `CODE024` - Image missing
|
|
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 * `MESSAGE024` - Image missing
|
|
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 * `MESSAGE024` - Image missing
|
|
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
|
readonly CODE024: "CODE024";
|
|
61
62
|
};
|
|
62
63
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
@@ -87,6 +88,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
87
88
|
readonly MESSAGE020: "ETag do not match";
|
|
88
89
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
89
90
|
readonly MESSAGE022: "Disabled feature";
|
|
91
|
+
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
90
92
|
readonly MESSAGE024: "Image missing";
|
|
91
93
|
};
|
|
92
94
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
@@ -41,6 +41,7 @@ exports.RestErrorCodeEnum = {
|
|
|
41
41
|
CODE020: 'CODE020',
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
43
|
CODE022: 'CODE022',
|
|
44
|
+
CODE023: 'CODE023',
|
|
44
45
|
CODE024: 'CODE024'
|
|
45
46
|
};
|
|
46
47
|
/**
|
|
@@ -70,6 +71,7 @@ exports.RestErrorMessageEnum = {
|
|
|
70
71
|
MESSAGE020: 'ETag do not match',
|
|
71
72
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
72
73
|
MESSAGE022: 'Disabled feature',
|
|
74
|
+
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
73
75
|
MESSAGE024: 'Image missing'
|
|
74
76
|
};
|
|
75
77
|
/**
|
|
@@ -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 * `CODE024` - Image missing
|
|
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 * `CODE024` - Image missing
|
|
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 * `MESSAGE024` - Image missing
|
|
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 * `MESSAGE024` - Image missing
|
|
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
|
readonly CODE024: "CODE024";
|
|
61
62
|
};
|
|
62
63
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
@@ -87,6 +88,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
87
88
|
readonly MESSAGE020: "ETag do not match";
|
|
88
89
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
89
90
|
readonly MESSAGE022: "Disabled feature";
|
|
91
|
+
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
90
92
|
readonly MESSAGE024: "Image missing";
|
|
91
93
|
};
|
|
92
94
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
@@ -41,6 +41,7 @@ exports.RestErrorCodeEnum = {
|
|
|
41
41
|
CODE020: 'CODE020',
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
43
|
CODE022: 'CODE022',
|
|
44
|
+
CODE023: 'CODE023',
|
|
44
45
|
CODE024: 'CODE024'
|
|
45
46
|
};
|
|
46
47
|
/**
|
|
@@ -70,6 +71,7 @@ exports.RestErrorMessageEnum = {
|
|
|
70
71
|
MESSAGE020: 'ETag do not match',
|
|
71
72
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
72
73
|
MESSAGE022: 'Disabled feature',
|
|
74
|
+
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
73
75
|
MESSAGE024: 'Image missing'
|
|
74
76
|
};
|
|
75
77
|
/**
|
|
@@ -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 * `CODE024` - Image missing
|
|
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 * `CODE024` - Image missing
|
|
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 * `MESSAGE024` - Image missing
|
|
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 * `MESSAGE024` - Image missing
|
|
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
|
readonly CODE024: "CODE024";
|
|
61
62
|
};
|
|
62
63
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
@@ -87,6 +88,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
87
88
|
readonly MESSAGE020: "ETag do not match";
|
|
88
89
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
89
90
|
readonly MESSAGE022: "Disabled feature";
|
|
91
|
+
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
90
92
|
readonly MESSAGE024: "Image missing";
|
|
91
93
|
};
|
|
92
94
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
@@ -41,6 +41,7 @@ exports.RestErrorCodeEnum = {
|
|
|
41
41
|
CODE020: 'CODE020',
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
43
|
CODE022: 'CODE022',
|
|
44
|
+
CODE023: 'CODE023',
|
|
44
45
|
CODE024: 'CODE024'
|
|
45
46
|
};
|
|
46
47
|
/**
|
|
@@ -70,6 +71,7 @@ exports.RestErrorMessageEnum = {
|
|
|
70
71
|
MESSAGE020: 'ETag do not match',
|
|
71
72
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
72
73
|
MESSAGE022: 'Disabled feature',
|
|
74
|
+
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
73
75
|
MESSAGE024: 'Image missing'
|
|
74
76
|
};
|
|
75
77
|
/**
|