@lcdp/api-react-rest-client 2.13.3-LDS-4630-retirer-statut-test-des-clients.15897876986 → 2.13.3-develop.15531521700

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 (65) hide show
  1. package/auth/src/models/RestError.d.ts +2 -4
  2. package/auth/src/models/RestError.js +2 -4
  3. package/catalog/src/models/RestError.d.ts +2 -4
  4. package/catalog/src/models/RestError.js +2 -4
  5. package/configuration/src/models/RestError.d.ts +2 -4
  6. package/configuration/src/models/RestError.js +2 -4
  7. package/content/src/models/RestError.d.ts +2 -4
  8. package/content/src/models/RestError.js +2 -4
  9. package/favorite/src/models/RestError.d.ts +2 -4
  10. package/favorite/src/models/RestError.js +2 -4
  11. package/inventory/src/apis/index.d.ts +0 -1
  12. package/inventory/src/apis/index.js +0 -1
  13. package/inventory/src/models/RestError.d.ts +2 -4
  14. package/inventory/src/models/RestError.js +2 -4
  15. package/invoice/src/models/RestError.d.ts +2 -4
  16. package/invoice/src/models/RestError.js +2 -4
  17. package/laboratory-store/src/models/RestError.d.ts +2 -4
  18. package/laboratory-store/src/models/RestError.js +2 -4
  19. package/lexicon/src/models/RestError.d.ts +2 -4
  20. package/lexicon/src/models/RestError.js +2 -4
  21. package/litigation/src/models/RestError.d.ts +2 -4
  22. package/litigation/src/models/RestError.js +2 -4
  23. package/mangopay-hook/src/models/RestError.d.ts +2 -4
  24. package/mangopay-hook/src/models/RestError.js +2 -4
  25. package/notification/src/models/RestError.d.ts +2 -4
  26. package/notification/src/models/RestError.js +2 -4
  27. package/order/src/models/RestError.d.ts +2 -4
  28. package/order/src/models/RestError.js +2 -4
  29. package/package.json +1 -1
  30. package/product/src/models/RestError.d.ts +2 -4
  31. package/product/src/models/RestError.js +2 -4
  32. package/pub/src/models/PubCreationParameters.d.ts +13 -0
  33. package/pub/src/models/PubCreationParameters.js +7 -0
  34. package/pub/src/models/RestError.d.ts +2 -4
  35. package/pub/src/models/RestError.js +2 -4
  36. package/rfx/src/models/RestError.d.ts +2 -4
  37. package/rfx/src/models/RestError.js +2 -4
  38. package/sale-offer/src/models/RestError.d.ts +2 -4
  39. package/sale-offer/src/models/RestError.js +2 -4
  40. package/servant/src/models/RestError.d.ts +2 -4
  41. package/servant/src/models/RestError.js +2 -4
  42. package/shipment/src/models/RestError.d.ts +2 -4
  43. package/shipment/src/models/RestError.js +2 -4
  44. package/shopping-cart/src/models/RestError.d.ts +2 -4
  45. package/shopping-cart/src/models/RestError.js +2 -4
  46. package/shopping-cart/src/models/UserRole.d.ts +1 -0
  47. package/shopping-cart/src/models/UserRole.js +1 -0
  48. package/smuggler/src/models/RestError.d.ts +2 -4
  49. package/smuggler/src/models/RestError.js +2 -4
  50. package/statistic/src/models/RestError.d.ts +2 -4
  51. package/statistic/src/models/RestError.js +2 -4
  52. package/subscription/src/models/RestError.d.ts +2 -4
  53. package/subscription/src/models/RestError.js +2 -4
  54. package/third-party/src/models/RestError.d.ts +2 -4
  55. package/third-party/src/models/RestError.js +2 -4
  56. package/ubo/src/models/RestError.d.ts +2 -4
  57. package/ubo/src/models/RestError.js +2 -4
  58. package/user/src/models/RestError.d.ts +2 -4
  59. package/user/src/models/RestError.js +2 -4
  60. package/user/src/models/UserRole.d.ts +1 -0
  61. package/user/src/models/UserRole.js +1 -0
  62. package/wish/src/models/RestError.d.ts +2 -4
  63. package/wish/src/models/RestError.js +2 -4
  64. package/inventory/src/apis/ManageOfferSynchronizationApi.d.ts +0 -28
  65. package/inventory/src/apis/ManageOfferSynchronizationApi.js +0 -145
@@ -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
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
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -57,7 +57,6 @@ export declare const RestErrorCodeEnum: {
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
59
  readonly CODE022: "CODE022";
60
- readonly CODE024: "CODE024";
61
60
  };
62
61
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
63
62
  /**
@@ -87,7 +86,6 @@ export declare const RestErrorMessageEnum: {
87
86
  readonly MESSAGE020: "ETag do not match";
88
87
  readonly MESSAGE021: "Missing informations for Offisante subscription";
89
88
  readonly MESSAGE022: "Disabled feature";
90
- readonly MESSAGE024: "Image missing";
91
89
  };
92
90
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
93
91
  /**
@@ -40,8 +40,7 @@ exports.RestErrorCodeEnum = {
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
42
  CODE021: 'CODE021',
43
- CODE022: 'CODE022',
44
- CODE024: 'CODE024'
43
+ CODE022: 'CODE022'
45
44
  };
46
45
  /**
47
46
  * @export
@@ -69,8 +68,7 @@ exports.RestErrorMessageEnum = {
69
68
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
70
69
  MESSAGE020: 'ETag do not match',
71
70
  MESSAGE021: 'Missing informations for Offisante subscription',
72
- MESSAGE022: 'Disabled feature',
73
- MESSAGE024: 'Image missing'
71
+ MESSAGE022: 'Disabled feature'
74
72
  };
75
73
  /**
76
74
  * Check if a given object implements the RestError interface.
@@ -16,6 +16,7 @@
16
16
  export declare const UserRole: {
17
17
  readonly SUBSCRIPTION_IN_PROGRESS: "SUBSCRIPTION_IN_PROGRESS";
18
18
  readonly WAITING: "WAITING";
19
+ readonly TEST: "TEST";
19
20
  readonly SELLER_BUYER: "SELLER_BUYER";
20
21
  readonly ARCHIVED: "ARCHIVED";
21
22
  readonly BLOCKED: "BLOCKED";
@@ -21,6 +21,7 @@ exports.UserRoleToJSON = exports.UserRoleFromJSONTyped = exports.UserRoleFromJSO
21
21
  exports.UserRole = {
22
22
  SUBSCRIPTION_IN_PROGRESS: 'SUBSCRIPTION_IN_PROGRESS',
23
23
  WAITING: 'WAITING',
24
+ TEST: 'TEST',
24
25
  SELLER_BUYER: 'SELLER_BUYER',
25
26
  ARCHIVED: 'ARCHIVED',
26
27
  BLOCKED: 'BLOCKED',
@@ -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
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
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -57,7 +57,6 @@ export declare const RestErrorCodeEnum: {
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
59
  readonly CODE022: "CODE022";
60
- readonly CODE024: "CODE024";
61
60
  };
62
61
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
63
62
  /**
@@ -87,7 +86,6 @@ export declare const RestErrorMessageEnum: {
87
86
  readonly MESSAGE020: "ETag do not match";
88
87
  readonly MESSAGE021: "Missing informations for Offisante subscription";
89
88
  readonly MESSAGE022: "Disabled feature";
90
- readonly MESSAGE024: "Image missing";
91
89
  };
92
90
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
93
91
  /**
@@ -40,8 +40,7 @@ exports.RestErrorCodeEnum = {
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
42
  CODE021: 'CODE021',
43
- CODE022: 'CODE022',
44
- CODE024: 'CODE024'
43
+ CODE022: 'CODE022'
45
44
  };
46
45
  /**
47
46
  * @export
@@ -69,8 +68,7 @@ exports.RestErrorMessageEnum = {
69
68
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
70
69
  MESSAGE020: 'ETag do not match',
71
70
  MESSAGE021: 'Missing informations for Offisante subscription',
72
- MESSAGE022: 'Disabled feature',
73
- MESSAGE024: 'Image missing'
71
+ MESSAGE022: 'Disabled feature'
74
72
  };
75
73
  /**
76
74
  * 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 * `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
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
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -57,7 +57,6 @@ export declare const RestErrorCodeEnum: {
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
59
  readonly CODE022: "CODE022";
60
- readonly CODE024: "CODE024";
61
60
  };
62
61
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
63
62
  /**
@@ -87,7 +86,6 @@ export declare const RestErrorMessageEnum: {
87
86
  readonly MESSAGE020: "ETag do not match";
88
87
  readonly MESSAGE021: "Missing informations for Offisante subscription";
89
88
  readonly MESSAGE022: "Disabled feature";
90
- readonly MESSAGE024: "Image missing";
91
89
  };
92
90
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
93
91
  /**
@@ -40,8 +40,7 @@ exports.RestErrorCodeEnum = {
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
42
  CODE021: 'CODE021',
43
- CODE022: 'CODE022',
44
- CODE024: 'CODE024'
43
+ CODE022: 'CODE022'
45
44
  };
46
45
  /**
47
46
  * @export
@@ -69,8 +68,7 @@ exports.RestErrorMessageEnum = {
69
68
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
70
69
  MESSAGE020: 'ETag do not match',
71
70
  MESSAGE021: 'Missing informations for Offisante subscription',
72
- MESSAGE022: 'Disabled feature',
73
- MESSAGE024: 'Image missing'
71
+ MESSAGE022: 'Disabled feature'
74
72
  };
75
73
  /**
76
74
  * 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 * `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
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
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -57,7 +57,6 @@ export declare const RestErrorCodeEnum: {
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
59
  readonly CODE022: "CODE022";
60
- readonly CODE024: "CODE024";
61
60
  };
62
61
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
63
62
  /**
@@ -87,7 +86,6 @@ export declare const RestErrorMessageEnum: {
87
86
  readonly MESSAGE020: "ETag do not match";
88
87
  readonly MESSAGE021: "Missing informations for Offisante subscription";
89
88
  readonly MESSAGE022: "Disabled feature";
90
- readonly MESSAGE024: "Image missing";
91
89
  };
92
90
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
93
91
  /**
@@ -40,8 +40,7 @@ exports.RestErrorCodeEnum = {
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
42
  CODE021: 'CODE021',
43
- CODE022: 'CODE022',
44
- CODE024: 'CODE024'
43
+ CODE022: 'CODE022'
45
44
  };
46
45
  /**
47
46
  * @export
@@ -69,8 +68,7 @@ exports.RestErrorMessageEnum = {
69
68
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
70
69
  MESSAGE020: 'ETag do not match',
71
70
  MESSAGE021: 'Missing informations for Offisante subscription',
72
- MESSAGE022: 'Disabled feature',
73
- MESSAGE024: 'Image missing'
71
+ MESSAGE022: 'Disabled feature'
74
72
  };
75
73
  /**
76
74
  * 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 * `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
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
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -57,7 +57,6 @@ export declare const RestErrorCodeEnum: {
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
59
  readonly CODE022: "CODE022";
60
- readonly CODE024: "CODE024";
61
60
  };
62
61
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
63
62
  /**
@@ -87,7 +86,6 @@ export declare const RestErrorMessageEnum: {
87
86
  readonly MESSAGE020: "ETag do not match";
88
87
  readonly MESSAGE021: "Missing informations for Offisante subscription";
89
88
  readonly MESSAGE022: "Disabled feature";
90
- readonly MESSAGE024: "Image missing";
91
89
  };
92
90
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
93
91
  /**
@@ -40,8 +40,7 @@ exports.RestErrorCodeEnum = {
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
42
  CODE021: 'CODE021',
43
- CODE022: 'CODE022',
44
- CODE024: 'CODE024'
43
+ CODE022: 'CODE022'
45
44
  };
46
45
  /**
47
46
  * @export
@@ -69,8 +68,7 @@ exports.RestErrorMessageEnum = {
69
68
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
70
69
  MESSAGE020: 'ETag do not match',
71
70
  MESSAGE021: 'Missing informations for Offisante subscription',
72
- MESSAGE022: 'Disabled feature',
73
- MESSAGE024: 'Image missing'
71
+ MESSAGE022: 'Disabled feature'
74
72
  };
75
73
  /**
76
74
  * 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 * `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
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
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -57,7 +57,6 @@ export declare const RestErrorCodeEnum: {
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
59
  readonly CODE022: "CODE022";
60
- readonly CODE024: "CODE024";
61
60
  };
62
61
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
63
62
  /**
@@ -87,7 +86,6 @@ export declare const RestErrorMessageEnum: {
87
86
  readonly MESSAGE020: "ETag do not match";
88
87
  readonly MESSAGE021: "Missing informations for Offisante subscription";
89
88
  readonly MESSAGE022: "Disabled feature";
90
- readonly MESSAGE024: "Image missing";
91
89
  };
92
90
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
93
91
  /**
@@ -40,8 +40,7 @@ exports.RestErrorCodeEnum = {
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
42
  CODE021: 'CODE021',
43
- CODE022: 'CODE022',
44
- CODE024: 'CODE024'
43
+ CODE022: 'CODE022'
45
44
  };
46
45
  /**
47
46
  * @export
@@ -69,8 +68,7 @@ exports.RestErrorMessageEnum = {
69
68
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
70
69
  MESSAGE020: 'ETag do not match',
71
70
  MESSAGE021: 'Missing informations for Offisante subscription',
72
- MESSAGE022: 'Disabled feature',
73
- MESSAGE024: 'Image missing'
71
+ MESSAGE022: 'Disabled feature'
74
72
  };
75
73
  /**
76
74
  * 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 * `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
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
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -57,7 +57,6 @@ export declare const RestErrorCodeEnum: {
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
59
  readonly CODE022: "CODE022";
60
- readonly CODE024: "CODE024";
61
60
  };
62
61
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
63
62
  /**
@@ -87,7 +86,6 @@ export declare const RestErrorMessageEnum: {
87
86
  readonly MESSAGE020: "ETag do not match";
88
87
  readonly MESSAGE021: "Missing informations for Offisante subscription";
89
88
  readonly MESSAGE022: "Disabled feature";
90
- readonly MESSAGE024: "Image missing";
91
89
  };
92
90
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
93
91
  /**
@@ -40,8 +40,7 @@ exports.RestErrorCodeEnum = {
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
42
  CODE021: 'CODE021',
43
- CODE022: 'CODE022',
44
- CODE024: 'CODE024'
43
+ CODE022: 'CODE022'
45
44
  };
46
45
  /**
47
46
  * @export
@@ -69,8 +68,7 @@ exports.RestErrorMessageEnum = {
69
68
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
70
69
  MESSAGE020: 'ETag do not match',
71
70
  MESSAGE021: 'Missing informations for Offisante subscription',
72
- MESSAGE022: 'Disabled feature',
73
- MESSAGE024: 'Image missing'
71
+ MESSAGE022: 'Disabled feature'
74
72
  };
75
73
  /**
76
74
  * Check if a given object implements the RestError interface.
@@ -16,6 +16,7 @@
16
16
  export declare const UserRole: {
17
17
  readonly SUBSCRIPTION_IN_PROGRESS: "SUBSCRIPTION_IN_PROGRESS";
18
18
  readonly WAITING: "WAITING";
19
+ readonly TEST: "TEST";
19
20
  readonly SELLER_BUYER: "SELLER_BUYER";
20
21
  readonly ARCHIVED: "ARCHIVED";
21
22
  readonly BLOCKED: "BLOCKED";
@@ -21,6 +21,7 @@ exports.UserRoleToJSON = exports.UserRoleFromJSONTyped = exports.UserRoleFromJSO
21
21
  exports.UserRole = {
22
22
  SUBSCRIPTION_IN_PROGRESS: 'SUBSCRIPTION_IN_PROGRESS',
23
23
  WAITING: 'WAITING',
24
+ TEST: 'TEST',
24
25
  SELLER_BUYER: 'SELLER_BUYER',
25
26
  ARCHIVED: 'ARCHIVED',
26
27
  BLOCKED: 'BLOCKED',
@@ -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
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
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -57,7 +57,6 @@ export declare const RestErrorCodeEnum: {
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
59
  readonly CODE022: "CODE022";
60
- readonly CODE024: "CODE024";
61
60
  };
62
61
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
63
62
  /**
@@ -87,7 +86,6 @@ export declare const RestErrorMessageEnum: {
87
86
  readonly MESSAGE020: "ETag do not match";
88
87
  readonly MESSAGE021: "Missing informations for Offisante subscription";
89
88
  readonly MESSAGE022: "Disabled feature";
90
- readonly MESSAGE024: "Image missing";
91
89
  };
92
90
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
93
91
  /**
@@ -40,8 +40,7 @@ exports.RestErrorCodeEnum = {
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
42
  CODE021: 'CODE021',
43
- CODE022: 'CODE022',
44
- CODE024: 'CODE024'
43
+ CODE022: 'CODE022'
45
44
  };
46
45
  /**
47
46
  * @export
@@ -69,8 +68,7 @@ exports.RestErrorMessageEnum = {
69
68
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
70
69
  MESSAGE020: 'ETag do not match',
71
70
  MESSAGE021: 'Missing informations for Offisante subscription',
72
- MESSAGE022: 'Disabled feature',
73
- MESSAGE024: 'Image missing'
71
+ MESSAGE022: 'Disabled feature'
74
72
  };
75
73
  /**
76
74
  * Check if a given object implements the RestError interface.
@@ -1,28 +0,0 @@
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
- }