@lcdp/api-react-rest-client 2.13.3-develop.15531521700 → 2.13.3-develop.15896096559

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.
Files changed (61) hide show
  1. package/auth/src/models/RestError.d.ts +4 -2
  2. package/auth/src/models/RestError.js +4 -2
  3. package/catalog/src/models/RestError.d.ts +4 -2
  4. package/catalog/src/models/RestError.js +4 -2
  5. package/configuration/src/models/RestError.d.ts +4 -2
  6. package/configuration/src/models/RestError.js +4 -2
  7. package/content/src/models/RestError.d.ts +4 -2
  8. package/content/src/models/RestError.js +4 -2
  9. package/favorite/src/models/RestError.d.ts +4 -2
  10. package/favorite/src/models/RestError.js +4 -2
  11. package/inventory/src/apis/ManageOfferSynchronizationApi.d.ts +28 -0
  12. package/inventory/src/apis/ManageOfferSynchronizationApi.js +145 -0
  13. package/inventory/src/apis/index.d.ts +1 -0
  14. package/inventory/src/apis/index.js +1 -0
  15. package/inventory/src/models/RestError.d.ts +4 -2
  16. package/inventory/src/models/RestError.js +4 -2
  17. package/invoice/src/models/RestError.d.ts +4 -2
  18. package/invoice/src/models/RestError.js +4 -2
  19. package/laboratory-store/src/models/RestError.d.ts +4 -2
  20. package/laboratory-store/src/models/RestError.js +4 -2
  21. package/lexicon/src/models/RestError.d.ts +4 -2
  22. package/lexicon/src/models/RestError.js +4 -2
  23. package/litigation/src/models/RestError.d.ts +4 -2
  24. package/litigation/src/models/RestError.js +4 -2
  25. package/mangopay-hook/src/models/RestError.d.ts +4 -2
  26. package/mangopay-hook/src/models/RestError.js +4 -2
  27. package/notification/src/models/RestError.d.ts +4 -2
  28. package/notification/src/models/RestError.js +4 -2
  29. package/order/src/models/RestError.d.ts +4 -2
  30. package/order/src/models/RestError.js +4 -2
  31. package/package.json +1 -1
  32. package/product/src/models/RestError.d.ts +4 -2
  33. package/product/src/models/RestError.js +4 -2
  34. package/pub/src/models/PubCreationParameters.d.ts +0 -13
  35. package/pub/src/models/PubCreationParameters.js +0 -7
  36. package/pub/src/models/RestError.d.ts +4 -2
  37. package/pub/src/models/RestError.js +4 -2
  38. package/rfx/src/models/RestError.d.ts +4 -2
  39. package/rfx/src/models/RestError.js +4 -2
  40. package/sale-offer/src/models/RestError.d.ts +4 -2
  41. package/sale-offer/src/models/RestError.js +4 -2
  42. package/servant/src/models/RestError.d.ts +4 -2
  43. package/servant/src/models/RestError.js +4 -2
  44. package/shipment/src/models/RestError.d.ts +4 -2
  45. package/shipment/src/models/RestError.js +4 -2
  46. package/shopping-cart/src/models/RestError.d.ts +4 -2
  47. package/shopping-cart/src/models/RestError.js +4 -2
  48. package/smuggler/src/models/RestError.d.ts +4 -2
  49. package/smuggler/src/models/RestError.js +4 -2
  50. package/statistic/src/models/RestError.d.ts +4 -2
  51. package/statistic/src/models/RestError.js +4 -2
  52. package/subscription/src/models/RestError.d.ts +4 -2
  53. package/subscription/src/models/RestError.js +4 -2
  54. package/third-party/src/models/RestError.d.ts +4 -2
  55. package/third-party/src/models/RestError.js +4 -2
  56. package/ubo/src/models/RestError.d.ts +4 -2
  57. package/ubo/src/models/RestError.js +4 -2
  58. package/user/src/models/RestError.d.ts +4 -2
  59. package/user/src/models/RestError.js +4 -2
  60. package/wish/src/models/RestError.d.ts +4 -2
  61. package/wish/src/models/RestError.js +4 -2
@@ -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 * `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
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
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 CODE024: "CODE024";
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 MESSAGE024: "Image missing";
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
+ CODE024: 'CODE024'
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
+ MESSAGE024: 'Image missing'
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 * `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
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
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 CODE024: "CODE024";
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 MESSAGE024: "Image missing";
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
+ CODE024: 'CODE024'
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
+ MESSAGE024: 'Image missing'
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 * `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
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
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 CODE024: "CODE024";
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 MESSAGE024: "Image missing";
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
+ CODE024: 'CODE024'
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
+ MESSAGE024: 'Image missing'
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 * `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
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
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 CODE024: "CODE024";
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 MESSAGE024: "Image missing";
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
+ CODE024: 'CODE024'
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
+ MESSAGE024: 'Image missing'
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 * `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
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
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 CODE024: "CODE024";
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 MESSAGE024: "Image missing";
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
+ CODE024: 'CODE024'
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
+ MESSAGE024: 'Image missing'
72
74
  };
73
75
  /**
74
76
  * Check if a given object implements the RestError interface.
@@ -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
+ }
@@ -0,0 +1,145 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * lcdp-pharmaide-service
6
+ * This is the REST API of LCDP products
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: contact@lecomptoirdespharmacies.fr
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
31
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
32
+ return new (P || (P = Promise))(function (resolve, reject) {
33
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
34
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
35
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
36
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
37
+ });
38
+ };
39
+ var __generator = (this && this.__generator) || function (thisArg, body) {
40
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
41
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
42
+ function verb(n) { return function (v) { return step([n, v]); }; }
43
+ function step(op) {
44
+ if (f) throw new TypeError("Generator is already executing.");
45
+ while (_) try {
46
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
+ if (y = 0, t) op = [op[0] & 2, t.value];
48
+ switch (op[0]) {
49
+ case 0: case 1: t = op; break;
50
+ case 4: _.label++; return { value: op[1], done: false };
51
+ case 5: _.label++; y = op[1]; op = [0]; continue;
52
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
53
+ default:
54
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
55
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
56
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
57
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
58
+ if (t[2]) _.ops.pop();
59
+ _.trys.pop(); continue;
60
+ }
61
+ op = body.call(thisArg, _);
62
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
63
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
64
+ }
65
+ };
66
+ Object.defineProperty(exports, "__esModule", { value: true });
67
+ exports.ManageOfferSynchronizationApi = void 0;
68
+ var runtime = require("../runtime");
69
+ /**
70
+ *
71
+ */
72
+ var ManageOfferSynchronizationApi = /** @class */ (function (_super) {
73
+ __extends(ManageOfferSynchronizationApi, _super);
74
+ function ManageOfferSynchronizationApi() {
75
+ return _super !== null && _super.apply(this, arguments) || this;
76
+ }
77
+ /**
78
+ * Create inventory offer refresh
79
+ */
80
+ ManageOfferSynchronizationApi.prototype.createInventoryOfferRefreshRaw = function (requestParameters, initOverrides) {
81
+ return __awaiter(this, void 0, void 0, function () {
82
+ var queryParameters, headerParameters, _a, _b, token, tokenString, response, response_1;
83
+ return __generator(this, function (_c) {
84
+ switch (_c.label) {
85
+ case 0:
86
+ if (requestParameters['inventoryId'] == null) {
87
+ throw new runtime.RequiredError('inventoryId', 'Required parameter "inventoryId" was null or undefined when calling createInventoryOfferRefresh().');
88
+ }
89
+ queryParameters = {};
90
+ headerParameters = {};
91
+ if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
92
+ _a = headerParameters;
93
+ _b = "x-api-key";
94
+ return [4 /*yield*/, this.configuration.apiKey("x-api-key")];
95
+ case 1:
96
+ _a[_b] = _c.sent(); // apiKeyAuth authentication
97
+ _c.label = 2;
98
+ case 2:
99
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
100
+ token = this.configuration.accessToken;
101
+ return [4 /*yield*/, token("bearerAuth", [])];
102
+ case 3:
103
+ tokenString = _c.sent();
104
+ if (tokenString) {
105
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
106
+ }
107
+ _c.label = 4;
108
+ case 4:
109
+ _c.trys.push([4, 6, , 7]);
110
+ return [4 /*yield*/, this.request({
111
+ path: "/inventories/{inventoryId}/offer-refreshes".replace("{".concat("inventoryId", "}"), encodeURIComponent(String(requestParameters['inventoryId']))),
112
+ method: 'POST',
113
+ headers: headerParameters,
114
+ query: queryParameters,
115
+ }, initOverrides)];
116
+ case 5:
117
+ response = _c.sent();
118
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
119
+ case 6:
120
+ response_1 = _c.sent();
121
+ console.debug(response_1);
122
+ throw response_1;
123
+ case 7: return [2 /*return*/];
124
+ }
125
+ });
126
+ });
127
+ };
128
+ /**
129
+ * Create inventory offer refresh
130
+ */
131
+ ManageOfferSynchronizationApi.prototype.createInventoryOfferRefresh = function (requestParameters, initOverrides) {
132
+ return __awaiter(this, void 0, void 0, function () {
133
+ return __generator(this, function (_a) {
134
+ switch (_a.label) {
135
+ case 0: return [4 /*yield*/, this.createInventoryOfferRefreshRaw(requestParameters, initOverrides)];
136
+ case 1:
137
+ _a.sent();
138
+ return [2 /*return*/];
139
+ }
140
+ });
141
+ });
142
+ };
143
+ return ManageOfferSynchronizationApi;
144
+ }(runtime.BaseAPI));
145
+ exports.ManageOfferSynchronizationApi = ManageOfferSynchronizationApi;
@@ -1,4 +1,5 @@
1
1
  export * from './ManageInventoryApi';
2
2
  export * from './ManageInventorySynchronizationApi';
3
+ export * from './ManageOfferSynchronizationApi';
3
4
  export * from './SearchInventoryApi';
4
5
  export * from './SearchInventorySynchronizationApi';
@@ -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
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
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 * `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 CODE024: "CODE024";
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 MESSAGE024: "Image missing";
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
+ CODE024: 'CODE024'
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
+ MESSAGE024: 'Image missing'
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 * `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
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
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 CODE024: "CODE024";
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 MESSAGE024: "Image missing";
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
+ CODE024: 'CODE024'
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
+ MESSAGE024: 'Image missing'
72
74
  };
73
75
  /**
74
76
  * Check if a given object implements the RestError interface.