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

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 (92) hide show
  1. package/auth/src/models/RestError.d.ts +2 -6
  2. package/auth/src/models/RestError.js +2 -6
  3. package/catalog/src/models/RestError.d.ts +2 -6
  4. package/catalog/src/models/RestError.js +2 -6
  5. package/configuration/src/models/RestError.d.ts +2 -6
  6. package/configuration/src/models/RestError.js +2 -6
  7. package/content/src/models/RestError.d.ts +2 -6
  8. package/content/src/models/RestError.js +2 -6
  9. package/favorite/src/models/RestError.d.ts +2 -6
  10. package/favorite/src/models/RestError.js +2 -6
  11. package/inventory/src/apis/SearchInventoryApi.d.ts +2 -2
  12. package/inventory/src/apis/SearchInventoryApi.js +4 -4
  13. package/inventory/src/apis/index.d.ts +0 -1
  14. package/inventory/src/apis/index.js +0 -1
  15. package/inventory/src/models/RestError.d.ts +2 -6
  16. package/inventory/src/models/RestError.js +2 -6
  17. package/invoice/src/models/RestError.d.ts +2 -6
  18. package/invoice/src/models/RestError.js +2 -6
  19. package/laboratory-store/src/models/RestError.d.ts +2 -6
  20. package/laboratory-store/src/models/RestError.js +2 -6
  21. package/lexicon/src/models/RestError.d.ts +2 -6
  22. package/lexicon/src/models/RestError.js +2 -6
  23. package/litigation/src/models/RestError.d.ts +2 -6
  24. package/litigation/src/models/RestError.js +2 -6
  25. package/mangopay-hook/src/models/RestError.d.ts +2 -6
  26. package/mangopay-hook/src/models/RestError.js +2 -6
  27. package/notification/src/models/NotificationTypeId.d.ts +0 -1
  28. package/notification/src/models/NotificationTypeId.js +1 -2
  29. package/notification/src/models/RestError.d.ts +2 -6
  30. package/notification/src/models/RestError.js +2 -6
  31. package/order/src/models/RestError.d.ts +2 -6
  32. package/order/src/models/RestError.js +2 -6
  33. package/package.json +1 -1
  34. package/product/src/models/RestError.d.ts +2 -6
  35. package/product/src/models/RestError.js +2 -6
  36. package/pub/src/models/PubCreationParameters.d.ts +13 -0
  37. package/pub/src/models/PubCreationParameters.js +7 -0
  38. package/pub/src/models/RestError.d.ts +2 -6
  39. package/pub/src/models/RestError.js +2 -6
  40. package/rfx/src/models/RestError.d.ts +2 -6
  41. package/rfx/src/models/RestError.js +2 -6
  42. package/sale-offer/src/models/RestError.d.ts +2 -6
  43. package/sale-offer/src/models/RestError.js +2 -6
  44. package/servant/src/models/RestError.d.ts +2 -6
  45. package/servant/src/models/RestError.js +2 -6
  46. package/shipment/src/models/RestError.d.ts +2 -6
  47. package/shipment/src/models/RestError.js +2 -6
  48. package/shopping-cart/src/models/RestError.d.ts +2 -6
  49. package/shopping-cart/src/models/RestError.js +2 -6
  50. package/smuggler/src/models/RestError.d.ts +2 -6
  51. package/smuggler/src/models/RestError.js +2 -6
  52. package/statistic/src/models/RestError.d.ts +2 -6
  53. package/statistic/src/models/RestError.js +2 -6
  54. package/subscription/src/models/RestError.d.ts +2 -6
  55. package/subscription/src/models/RestError.js +2 -6
  56. package/third-party/src/models/RestError.d.ts +2 -6
  57. package/third-party/src/models/RestError.js +2 -6
  58. package/ubo/src/apis/ManageUboDeclarationApi.d.ts +2 -2
  59. package/ubo/src/apis/ManageUboDeclarationApi.js +2 -2
  60. package/ubo/src/models/RestError.d.ts +2 -6
  61. package/ubo/src/models/RestError.js +2 -6
  62. package/user/src/apis/ManageUserApi.d.ts +0 -2
  63. package/user/src/apis/ManageUserApi.js +0 -6
  64. package/user/src/apis/ManageUserDocumentApi.d.ts +6 -6
  65. package/user/src/apis/ManageUserDocumentApi.js +6 -6
  66. package/user/src/apis/ManageUserRoleApi.d.ts +32 -0
  67. package/{inventory/src/apis/ManageOfferSynchronizationApi.js → user/src/apis/ManageUserRoleApi.js} +41 -20
  68. package/user/src/apis/index.d.ts +1 -0
  69. package/user/src/apis/index.js +1 -0
  70. package/user/src/models/NotificationTypeId.d.ts +0 -1
  71. package/user/src/models/NotificationTypeId.js +1 -2
  72. package/user/src/models/RestError.d.ts +2 -6
  73. package/user/src/models/RestError.js +2 -6
  74. package/user/src/models/User.d.ts +1 -8
  75. package/user/src/models/User.js +0 -3
  76. package/user/src/models/UserBankAccountCreationParameters.d.ts +6 -0
  77. package/user/src/models/UserBankAccountCreationParameters.js +2 -0
  78. package/user/src/models/UserBankAccountLink.d.ts +0 -16
  79. package/user/src/models/UserBankAccountLink.js +1 -12
  80. package/user/src/models/UserJournal.d.ts +0 -8
  81. package/user/src/models/UserJournal.js +0 -2
  82. package/user/src/models/UserUpdateParameters.d.ts +3 -10
  83. package/user/src/models/UserUpdateParameters.js +3 -6
  84. package/user/src/models/index.d.ts +0 -2
  85. package/user/src/models/index.js +0 -2
  86. package/wish/src/models/RestError.d.ts +2 -6
  87. package/wish/src/models/RestError.js +2 -6
  88. package/inventory/src/apis/ManageOfferSynchronizationApi.d.ts +0 -28
  89. package/user/src/models/ScaEnrollmentStatus.d.ts +0 -31
  90. package/user/src/models/ScaEnrollmentStatus.js +0 -54
  91. package/user/src/models/UserJournalUpdateParameters.d.ts +0 -31
  92. package/user/src/models/UserJournalUpdateParameters.js +0 -45
@@ -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 * `CODE023` - Invalid Sca Enrollment status * `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 * `MESSAGE023` - Invalid Sca Enrollment status * `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,8 +57,6 @@ export declare const RestErrorCodeEnum: {
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
59
  readonly CODE022: "CODE022";
60
- readonly CODE023: "CODE023";
61
- readonly CODE024: "CODE024";
62
60
  };
63
61
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
64
62
  /**
@@ -88,8 +86,6 @@ export declare const RestErrorMessageEnum: {
88
86
  readonly MESSAGE020: "ETag do not match";
89
87
  readonly MESSAGE021: "Missing informations for Offisante subscription";
90
88
  readonly MESSAGE022: "Disabled feature";
91
- readonly MESSAGE023: "Invalid Sca Enrollment status";
92
- readonly MESSAGE024: "Image missing";
93
89
  };
94
90
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
95
91
  /**
@@ -40,9 +40,7 @@ exports.RestErrorCodeEnum = {
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
42
  CODE021: 'CODE021',
43
- CODE022: 'CODE022',
44
- CODE023: 'CODE023',
45
- CODE024: 'CODE024'
43
+ CODE022: 'CODE022'
46
44
  };
47
45
  /**
48
46
  * @export
@@ -70,9 +68,7 @@ exports.RestErrorMessageEnum = {
70
68
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
71
69
  MESSAGE020: 'ETag do not match',
72
70
  MESSAGE021: 'Missing informations for Offisante subscription',
73
- MESSAGE022: 'Disabled feature',
74
- MESSAGE023: 'Invalid Sca Enrollment status',
75
- MESSAGE024: 'Image missing'
71
+ MESSAGE022: 'Disabled feature'
76
72
  };
77
73
  /**
78
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 * `CODE023` - Invalid Sca Enrollment status * `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 * `MESSAGE023` - Invalid Sca Enrollment status * `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,8 +57,6 @@ export declare const RestErrorCodeEnum: {
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
59
  readonly CODE022: "CODE022";
60
- readonly CODE023: "CODE023";
61
- readonly CODE024: "CODE024";
62
60
  };
63
61
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
64
62
  /**
@@ -88,8 +86,6 @@ export declare const RestErrorMessageEnum: {
88
86
  readonly MESSAGE020: "ETag do not match";
89
87
  readonly MESSAGE021: "Missing informations for Offisante subscription";
90
88
  readonly MESSAGE022: "Disabled feature";
91
- readonly MESSAGE023: "Invalid Sca Enrollment status";
92
- readonly MESSAGE024: "Image missing";
93
89
  };
94
90
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
95
91
  /**
@@ -40,9 +40,7 @@ exports.RestErrorCodeEnum = {
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
42
  CODE021: 'CODE021',
43
- CODE022: 'CODE022',
44
- CODE023: 'CODE023',
45
- CODE024: 'CODE024'
43
+ CODE022: 'CODE022'
46
44
  };
47
45
  /**
48
46
  * @export
@@ -70,9 +68,7 @@ exports.RestErrorMessageEnum = {
70
68
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
71
69
  MESSAGE020: 'ETag do not match',
72
70
  MESSAGE021: 'Missing informations for Offisante subscription',
73
- MESSAGE022: 'Disabled feature',
74
- MESSAGE023: 'Invalid Sca Enrollment status',
75
- MESSAGE024: 'Image missing'
71
+ MESSAGE022: 'Disabled feature'
76
72
  };
77
73
  /**
78
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 * `CODE023` - Invalid Sca Enrollment status * `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 * `MESSAGE023` - Invalid Sca Enrollment status * `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,8 +57,6 @@ export declare const RestErrorCodeEnum: {
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
59
  readonly CODE022: "CODE022";
60
- readonly CODE023: "CODE023";
61
- readonly CODE024: "CODE024";
62
60
  };
63
61
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
64
62
  /**
@@ -88,8 +86,6 @@ export declare const RestErrorMessageEnum: {
88
86
  readonly MESSAGE020: "ETag do not match";
89
87
  readonly MESSAGE021: "Missing informations for Offisante subscription";
90
88
  readonly MESSAGE022: "Disabled feature";
91
- readonly MESSAGE023: "Invalid Sca Enrollment status";
92
- readonly MESSAGE024: "Image missing";
93
89
  };
94
90
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
95
91
  /**
@@ -40,9 +40,7 @@ exports.RestErrorCodeEnum = {
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
42
  CODE021: 'CODE021',
43
- CODE022: 'CODE022',
44
- CODE023: 'CODE023',
45
- CODE024: 'CODE024'
43
+ CODE022: 'CODE022'
46
44
  };
47
45
  /**
48
46
  * @export
@@ -70,9 +68,7 @@ exports.RestErrorMessageEnum = {
70
68
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
71
69
  MESSAGE020: 'ETag do not match',
72
70
  MESSAGE021: 'Missing informations for Offisante subscription',
73
- MESSAGE022: 'Disabled feature',
74
- MESSAGE023: 'Invalid Sca Enrollment status',
75
- MESSAGE024: 'Image missing'
71
+ MESSAGE022: 'Disabled feature'
76
72
  };
77
73
  /**
78
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 * `CODE023` - Invalid Sca Enrollment status * `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 * `MESSAGE023` - Invalid Sca Enrollment status * `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,8 +57,6 @@ export declare const RestErrorCodeEnum: {
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
59
  readonly CODE022: "CODE022";
60
- readonly CODE023: "CODE023";
61
- readonly CODE024: "CODE024";
62
60
  };
63
61
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
64
62
  /**
@@ -88,8 +86,6 @@ export declare const RestErrorMessageEnum: {
88
86
  readonly MESSAGE020: "ETag do not match";
89
87
  readonly MESSAGE021: "Missing informations for Offisante subscription";
90
88
  readonly MESSAGE022: "Disabled feature";
91
- readonly MESSAGE023: "Invalid Sca Enrollment status";
92
- readonly MESSAGE024: "Image missing";
93
89
  };
94
90
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
95
91
  /**
@@ -40,9 +40,7 @@ exports.RestErrorCodeEnum = {
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
42
  CODE021: 'CODE021',
43
- CODE022: 'CODE022',
44
- CODE023: 'CODE023',
45
- CODE024: 'CODE024'
43
+ CODE022: 'CODE022'
46
44
  };
47
45
  /**
48
46
  * @export
@@ -70,9 +68,7 @@ exports.RestErrorMessageEnum = {
70
68
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
71
69
  MESSAGE020: 'ETag do not match',
72
70
  MESSAGE021: 'Missing informations for Offisante subscription',
73
- MESSAGE022: 'Disabled feature',
74
- MESSAGE023: 'Invalid Sca Enrollment status',
75
- MESSAGE024: 'Image missing'
71
+ MESSAGE022: 'Disabled feature'
76
72
  };
77
73
  /**
78
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 * `CODE023` - Invalid Sca Enrollment status * `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 * `MESSAGE023` - Invalid Sca Enrollment status * `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,8 +57,6 @@ export declare const RestErrorCodeEnum: {
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
59
  readonly CODE022: "CODE022";
60
- readonly CODE023: "CODE023";
61
- readonly CODE024: "CODE024";
62
60
  };
63
61
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
64
62
  /**
@@ -88,8 +86,6 @@ export declare const RestErrorMessageEnum: {
88
86
  readonly MESSAGE020: "ETag do not match";
89
87
  readonly MESSAGE021: "Missing informations for Offisante subscription";
90
88
  readonly MESSAGE022: "Disabled feature";
91
- readonly MESSAGE023: "Invalid Sca Enrollment status";
92
- readonly MESSAGE024: "Image missing";
93
89
  };
94
90
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
95
91
  /**
@@ -40,9 +40,7 @@ exports.RestErrorCodeEnum = {
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
42
  CODE021: 'CODE021',
43
- CODE022: 'CODE022',
44
- CODE023: 'CODE023',
45
- CODE024: 'CODE024'
43
+ CODE022: 'CODE022'
46
44
  };
47
45
  /**
48
46
  * @export
@@ -70,9 +68,7 @@ exports.RestErrorMessageEnum = {
70
68
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
71
69
  MESSAGE020: 'ETag do not match',
72
70
  MESSAGE021: 'Missing informations for Offisante subscription',
73
- MESSAGE022: 'Disabled feature',
74
- MESSAGE023: 'Invalid Sca Enrollment status',
75
- MESSAGE024: 'Image missing'
71
+ MESSAGE022: 'Disabled feature'
76
72
  };
77
73
  /**
78
74
  * Check if a given object implements the RestError interface.
@@ -45,7 +45,7 @@ export interface GetCurrentInventoryStatisticsRequest {
45
45
  overstockForecastGte?: number;
46
46
  }
47
47
  export interface GetCurrentInventoryUnderstockProductsRequest {
48
- pIdEq?: Array<number>;
48
+ productIdEq?: Array<number>;
49
49
  orderBy?: GetCurrentInventoryUnderstockProductsOrderByEnum;
50
50
  p?: number;
51
51
  pp?: number;
@@ -97,7 +97,7 @@ export interface GetInventoryStatisticsRequest {
97
97
  }
98
98
  export interface GetInventoryUnderstockProductsRequest {
99
99
  inventoryId: number;
100
- pIdEq?: Array<number>;
100
+ productIdEq?: Array<number>;
101
101
  orderBy?: GetInventoryUnderstockProductsOrderByEnum;
102
102
  p?: number;
103
103
  pp?: number;
@@ -468,8 +468,8 @@ var SearchInventoryApi = /** @class */ (function (_super) {
468
468
  switch (_c.label) {
469
469
  case 0:
470
470
  queryParameters = {};
471
- if (requestParameters['pIdEq'] != null) {
472
- queryParameters['pId[eq]'] = requestParameters['pIdEq'];
471
+ if (requestParameters['productIdEq'] != null) {
472
+ queryParameters['productId[eq]'] = requestParameters['productIdEq'];
473
473
  }
474
474
  if (requestParameters['orderBy'] != null) {
475
475
  queryParameters['orderBy'] = requestParameters['orderBy'];
@@ -1116,8 +1116,8 @@ var SearchInventoryApi = /** @class */ (function (_super) {
1116
1116
  throw new runtime.RequiredError('inventoryId', 'Required parameter "inventoryId" was null or undefined when calling getInventoryUnderstockProducts().');
1117
1117
  }
1118
1118
  queryParameters = {};
1119
- if (requestParameters['pIdEq'] != null) {
1120
- queryParameters['pId[eq]'] = requestParameters['pIdEq'];
1119
+ if (requestParameters['productIdEq'] != null) {
1120
+ queryParameters['productId[eq]'] = requestParameters['productIdEq'];
1121
1121
  }
1122
1122
  if (requestParameters['orderBy'] != null) {
1123
1123
  queryParameters['orderBy'] = requestParameters['orderBy'];
@@ -1,5 +1,4 @@
1
1
  export * from './ManageInventoryApi';
2
2
  export * from './ManageInventorySynchronizationApi';
3
- export * from './ManageOfferSynchronizationApi';
4
3
  export * from './SearchInventoryApi';
5
4
  export * from './SearchInventorySynchronizationApi';
@@ -18,6 +18,5 @@ 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);
22
21
  __exportStar(require("./SearchInventoryApi"), exports);
23
22
  __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 * `CODE023` - Invalid Sca Enrollment status * `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 * `MESSAGE023` - Invalid Sca Enrollment status * `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,8 +57,6 @@ export declare const RestErrorCodeEnum: {
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
59
  readonly CODE022: "CODE022";
60
- readonly CODE023: "CODE023";
61
- readonly CODE024: "CODE024";
62
60
  };
63
61
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
64
62
  /**
@@ -88,8 +86,6 @@ export declare const RestErrorMessageEnum: {
88
86
  readonly MESSAGE020: "ETag do not match";
89
87
  readonly MESSAGE021: "Missing informations for Offisante subscription";
90
88
  readonly MESSAGE022: "Disabled feature";
91
- readonly MESSAGE023: "Invalid Sca Enrollment status";
92
- readonly MESSAGE024: "Image missing";
93
89
  };
94
90
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
95
91
  /**
@@ -40,9 +40,7 @@ exports.RestErrorCodeEnum = {
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
42
  CODE021: 'CODE021',
43
- CODE022: 'CODE022',
44
- CODE023: 'CODE023',
45
- CODE024: 'CODE024'
43
+ CODE022: 'CODE022'
46
44
  };
47
45
  /**
48
46
  * @export
@@ -70,9 +68,7 @@ exports.RestErrorMessageEnum = {
70
68
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
71
69
  MESSAGE020: 'ETag do not match',
72
70
  MESSAGE021: 'Missing informations for Offisante subscription',
73
- MESSAGE022: 'Disabled feature',
74
- MESSAGE023: 'Invalid Sca Enrollment status',
75
- MESSAGE024: 'Image missing'
71
+ MESSAGE022: 'Disabled feature'
76
72
  };
77
73
  /**
78
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 * `CODE023` - Invalid Sca Enrollment status * `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 * `MESSAGE023` - Invalid Sca Enrollment status * `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,8 +57,6 @@ export declare const RestErrorCodeEnum: {
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
59
  readonly CODE022: "CODE022";
60
- readonly CODE023: "CODE023";
61
- readonly CODE024: "CODE024";
62
60
  };
63
61
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
64
62
  /**
@@ -88,8 +86,6 @@ export declare const RestErrorMessageEnum: {
88
86
  readonly MESSAGE020: "ETag do not match";
89
87
  readonly MESSAGE021: "Missing informations for Offisante subscription";
90
88
  readonly MESSAGE022: "Disabled feature";
91
- readonly MESSAGE023: "Invalid Sca Enrollment status";
92
- readonly MESSAGE024: "Image missing";
93
89
  };
94
90
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
95
91
  /**
@@ -40,9 +40,7 @@ exports.RestErrorCodeEnum = {
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
42
  CODE021: 'CODE021',
43
- CODE022: 'CODE022',
44
- CODE023: 'CODE023',
45
- CODE024: 'CODE024'
43
+ CODE022: 'CODE022'
46
44
  };
47
45
  /**
48
46
  * @export
@@ -70,9 +68,7 @@ exports.RestErrorMessageEnum = {
70
68
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
71
69
  MESSAGE020: 'ETag do not match',
72
70
  MESSAGE021: 'Missing informations for Offisante subscription',
73
- MESSAGE022: 'Disabled feature',
74
- MESSAGE023: 'Invalid Sca Enrollment status',
75
- MESSAGE024: 'Image missing'
71
+ MESSAGE022: 'Disabled feature'
76
72
  };
77
73
  /**
78
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 * `CODE023` - Invalid Sca Enrollment status * `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 * `MESSAGE023` - Invalid Sca Enrollment status * `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,8 +57,6 @@ export declare const RestErrorCodeEnum: {
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
59
  readonly CODE022: "CODE022";
60
- readonly CODE023: "CODE023";
61
- readonly CODE024: "CODE024";
62
60
  };
63
61
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
64
62
  /**
@@ -88,8 +86,6 @@ export declare const RestErrorMessageEnum: {
88
86
  readonly MESSAGE020: "ETag do not match";
89
87
  readonly MESSAGE021: "Missing informations for Offisante subscription";
90
88
  readonly MESSAGE022: "Disabled feature";
91
- readonly MESSAGE023: "Invalid Sca Enrollment status";
92
- readonly MESSAGE024: "Image missing";
93
89
  };
94
90
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
95
91
  /**
@@ -40,9 +40,7 @@ exports.RestErrorCodeEnum = {
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
42
  CODE021: 'CODE021',
43
- CODE022: 'CODE022',
44
- CODE023: 'CODE023',
45
- CODE024: 'CODE024'
43
+ CODE022: 'CODE022'
46
44
  };
47
45
  /**
48
46
  * @export
@@ -70,9 +68,7 @@ exports.RestErrorMessageEnum = {
70
68
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
71
69
  MESSAGE020: 'ETag do not match',
72
70
  MESSAGE021: 'Missing informations for Offisante subscription',
73
- MESSAGE022: 'Disabled feature',
74
- MESSAGE023: 'Invalid Sca Enrollment status',
75
- MESSAGE024: 'Image missing'
71
+ MESSAGE022: 'Disabled feature'
76
72
  };
77
73
  /**
78
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 * `CODE023` - Invalid Sca Enrollment status * `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 * `MESSAGE023` - Invalid Sca Enrollment status * `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,8 +57,6 @@ export declare const RestErrorCodeEnum: {
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
59
  readonly CODE022: "CODE022";
60
- readonly CODE023: "CODE023";
61
- readonly CODE024: "CODE024";
62
60
  };
63
61
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
64
62
  /**
@@ -88,8 +86,6 @@ export declare const RestErrorMessageEnum: {
88
86
  readonly MESSAGE020: "ETag do not match";
89
87
  readonly MESSAGE021: "Missing informations for Offisante subscription";
90
88
  readonly MESSAGE022: "Disabled feature";
91
- readonly MESSAGE023: "Invalid Sca Enrollment status";
92
- readonly MESSAGE024: "Image missing";
93
89
  };
94
90
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
95
91
  /**
@@ -40,9 +40,7 @@ exports.RestErrorCodeEnum = {
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
42
  CODE021: 'CODE021',
43
- CODE022: 'CODE022',
44
- CODE023: 'CODE023',
45
- CODE024: 'CODE024'
43
+ CODE022: 'CODE022'
46
44
  };
47
45
  /**
48
46
  * @export
@@ -70,9 +68,7 @@ exports.RestErrorMessageEnum = {
70
68
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
71
69
  MESSAGE020: 'ETag do not match',
72
70
  MESSAGE021: 'Missing informations for Offisante subscription',
73
- MESSAGE022: 'Disabled feature',
74
- MESSAGE023: 'Invalid Sca Enrollment status',
75
- MESSAGE024: 'Image missing'
71
+ MESSAGE022: 'Disabled feature'
76
72
  };
77
73
  /**
78
74
  * Check if a given object implements the RestError interface.