@lcdp/api-react-rest-client 2.10.0-develop.13258998193 → 2.10.0-upgrade-codegen-client-react.13239347278

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 (88) 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/factory/src/models/OfferPlanificationFactoryAllOfRecords.d.ts +0 -7
  10. package/factory/src/models/OfferPlanificationFactoryAllOfRecords.js +0 -3
  11. package/favorite/src/models/RestError.d.ts +2 -4
  12. package/favorite/src/models/RestError.js +2 -4
  13. package/inventory/src/apis/ManageInventoryApi.d.ts +17 -5
  14. package/inventory/src/apis/ManageInventoryApi.js +86 -12
  15. package/inventory/src/apis/SearchInventoryApi.d.ts +22 -29
  16. package/inventory/src/apis/SearchInventoryApi.js +87 -106
  17. package/inventory/src/models/ActiveProduct.d.ts +3 -10
  18. package/inventory/src/models/ActiveProduct.js +2 -5
  19. package/inventory/src/models/ActiveProductUpdateParameters.d.ts +3 -4
  20. package/inventory/src/models/ActiveProductUpdateParameters.js +2 -3
  21. package/inventory/src/models/MisalignedProduct.d.ts +0 -6
  22. package/inventory/src/models/MisalignedProduct.js +0 -2
  23. package/inventory/src/models/OverstockProduct.d.ts +0 -6
  24. package/inventory/src/models/OverstockProduct.js +0 -2
  25. package/inventory/src/models/RestError.d.ts +2 -4
  26. package/inventory/src/models/RestError.js +2 -4
  27. package/inventory/src/models/Synchroneity.d.ts +32 -0
  28. package/inventory/src/models/Synchroneity.js +46 -0
  29. package/inventory/src/models/SynchroneityOffisante.d.ts +38 -0
  30. package/inventory/src/models/SynchroneityOffisante.js +48 -0
  31. package/inventory/src/models/SynchroneitySource.d.ts +37 -0
  32. package/inventory/src/models/SynchroneitySource.js +47 -0
  33. package/inventory/src/models/index.d.ts +3 -4
  34. package/inventory/src/models/index.js +3 -4
  35. package/invoice/src/models/RestError.d.ts +2 -4
  36. package/invoice/src/models/RestError.js +2 -4
  37. package/laboratory-store/src/apis/ManageLaboratoryStoreImageApi.js +2 -12
  38. package/laboratory-store/src/models/RestError.d.ts +2 -4
  39. package/laboratory-store/src/models/RestError.js +2 -4
  40. package/lexicon/src/models/RestError.d.ts +2 -4
  41. package/lexicon/src/models/RestError.js +2 -4
  42. package/litigation/src/models/RestError.d.ts +2 -4
  43. package/litigation/src/models/RestError.js +2 -4
  44. package/mangopay-hook/src/models/RestError.d.ts +2 -4
  45. package/mangopay-hook/src/models/RestError.js +2 -4
  46. package/notification/src/apis/ManageNotificationTypeApi.js +1 -6
  47. package/notification/src/models/RestError.d.ts +2 -4
  48. package/notification/src/models/RestError.js +2 -4
  49. package/order/src/models/RestError.d.ts +2 -4
  50. package/order/src/models/RestError.js +2 -4
  51. package/package.json +1 -1
  52. package/product/src/models/RestError.d.ts +2 -4
  53. package/product/src/models/RestError.js +2 -4
  54. package/pub/src/apis/ManagePubImageApi.js +1 -6
  55. package/pub/src/models/RestError.d.ts +2 -4
  56. package/pub/src/models/RestError.js +2 -4
  57. package/rfx/src/models/RestError.d.ts +2 -4
  58. package/rfx/src/models/RestError.js +2 -4
  59. package/sale-offer/src/models/RestError.d.ts +2 -4
  60. package/sale-offer/src/models/RestError.js +2 -4
  61. package/servant/src/models/RestError.d.ts +2 -4
  62. package/servant/src/models/RestError.js +2 -4
  63. package/shipment/src/models/RestError.d.ts +2 -4
  64. package/shipment/src/models/RestError.js +2 -4
  65. package/shopping-cart/src/models/RestError.d.ts +2 -4
  66. package/shopping-cart/src/models/RestError.js +2 -4
  67. package/smuggler/src/models/RestError.d.ts +2 -4
  68. package/smuggler/src/models/RestError.js +2 -4
  69. package/statistic/src/models/RestError.d.ts +2 -4
  70. package/statistic/src/models/RestError.js +2 -4
  71. package/subscription/src/models/RestError.d.ts +2 -4
  72. package/subscription/src/models/RestError.js +2 -4
  73. package/third-party/src/models/RestError.d.ts +2 -4
  74. package/third-party/src/models/RestError.js +2 -4
  75. package/ubo/src/models/RestError.d.ts +2 -4
  76. package/ubo/src/models/RestError.js +2 -4
  77. package/user/src/models/RestError.d.ts +2 -4
  78. package/user/src/models/RestError.js +2 -4
  79. package/wish/src/models/RestError.d.ts +2 -4
  80. package/wish/src/models/RestError.js +2 -4
  81. package/inventory/src/models/Inventory.d.ts +0 -63
  82. package/inventory/src/models/Inventory.js +0 -57
  83. package/inventory/src/models/InventoryJournal.d.ts +0 -31
  84. package/inventory/src/models/InventoryJournal.js +0 -45
  85. package/inventory/src/models/PaginatedInventories.d.ts +0 -39
  86. package/inventory/src/models/PaginatedInventories.js +0 -53
  87. package/inventory/src/models/SynchronizationMode.d.ts +0 -25
  88. package/inventory/src/models/SynchronizationMode.js +0 -48
@@ -16,14 +16,14 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature
19
+ * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
20
20
  *
21
21
  * @type {string}
22
22
  * @memberof RestError
23
23
  */
24
24
  code: RestErrorCodeEnum;
25
25
  /**
26
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature
26
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -56,7 +56,6 @@ export declare const RestErrorCodeEnum: {
56
56
  readonly CODE019: "CODE019";
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
- readonly CODE022: "CODE022";
60
59
  };
61
60
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
62
61
  /**
@@ -85,7 +84,6 @@ export declare const RestErrorMessageEnum: {
85
84
  readonly MESSAGE019: "Unable to generate session from disposableToken for admin users";
86
85
  readonly MESSAGE020: "ETag do not match";
87
86
  readonly MESSAGE021: "Missing informations for Offisante subscription";
88
- readonly MESSAGE022: "Disabled feature";
89
87
  };
90
88
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
91
89
  /**
@@ -39,8 +39,7 @@ exports.RestErrorCodeEnum = {
39
39
  CODE018: 'CODE018',
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
- CODE021: 'CODE021',
43
- CODE022: 'CODE022'
42
+ CODE021: 'CODE021'
44
43
  };
45
44
  /**
46
45
  * @export
@@ -67,8 +66,7 @@ exports.RestErrorMessageEnum = {
67
66
  MESSAGE018: 'Trial already used',
68
67
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
69
68
  MESSAGE020: 'ETag do not match',
70
- MESSAGE021: 'Missing informations for Offisante subscription',
71
- MESSAGE022: 'Disabled feature'
69
+ MESSAGE021: 'Missing informations for Offisante subscription'
72
70
  };
73
71
  /**
74
72
  * Check if a given object implements the RestError interface.
@@ -121,12 +121,7 @@ var ManageNotificationTypeApi = /** @class */ (function (_super) {
121
121
  formParams = new URLSearchParams();
122
122
  }
123
123
  if (requestParameters['upload'] != null) {
124
- if (useForm && runtime.instanceOfBlobWithMeta(requestParameters['upload'])) {
125
- formParams.append('upload', requestParameters['upload'].blob, requestParameters['upload'].filename);
126
- }
127
- else {
128
- formParams.append('upload', requestParameters['upload']);
129
- }
124
+ formParams.append('upload', requestParameters['upload']);
130
125
  }
131
126
  _c.label = 5;
132
127
  case 5:
@@ -16,14 +16,14 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature
19
+ * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
20
20
  *
21
21
  * @type {string}
22
22
  * @memberof RestError
23
23
  */
24
24
  code: RestErrorCodeEnum;
25
25
  /**
26
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature
26
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -56,7 +56,6 @@ export declare const RestErrorCodeEnum: {
56
56
  readonly CODE019: "CODE019";
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
- readonly CODE022: "CODE022";
60
59
  };
61
60
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
62
61
  /**
@@ -85,7 +84,6 @@ export declare const RestErrorMessageEnum: {
85
84
  readonly MESSAGE019: "Unable to generate session from disposableToken for admin users";
86
85
  readonly MESSAGE020: "ETag do not match";
87
86
  readonly MESSAGE021: "Missing informations for Offisante subscription";
88
- readonly MESSAGE022: "Disabled feature";
89
87
  };
90
88
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
91
89
  /**
@@ -39,8 +39,7 @@ exports.RestErrorCodeEnum = {
39
39
  CODE018: 'CODE018',
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
- CODE021: 'CODE021',
43
- CODE022: 'CODE022'
42
+ CODE021: 'CODE021'
44
43
  };
45
44
  /**
46
45
  * @export
@@ -67,8 +66,7 @@ exports.RestErrorMessageEnum = {
67
66
  MESSAGE018: 'Trial already used',
68
67
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
69
68
  MESSAGE020: 'ETag do not match',
70
- MESSAGE021: 'Missing informations for Offisante subscription',
71
- MESSAGE022: 'Disabled feature'
69
+ MESSAGE021: 'Missing informations for Offisante subscription'
72
70
  };
73
71
  /**
74
72
  * Check if a given object implements the RestError interface.
@@ -16,14 +16,14 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature
19
+ * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
20
20
  *
21
21
  * @type {string}
22
22
  * @memberof RestError
23
23
  */
24
24
  code: RestErrorCodeEnum;
25
25
  /**
26
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature
26
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -56,7 +56,6 @@ export declare const RestErrorCodeEnum: {
56
56
  readonly CODE019: "CODE019";
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
- readonly CODE022: "CODE022";
60
59
  };
61
60
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
62
61
  /**
@@ -85,7 +84,6 @@ export declare const RestErrorMessageEnum: {
85
84
  readonly MESSAGE019: "Unable to generate session from disposableToken for admin users";
86
85
  readonly MESSAGE020: "ETag do not match";
87
86
  readonly MESSAGE021: "Missing informations for Offisante subscription";
88
- readonly MESSAGE022: "Disabled feature";
89
87
  };
90
88
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
91
89
  /**
@@ -39,8 +39,7 @@ exports.RestErrorCodeEnum = {
39
39
  CODE018: 'CODE018',
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
- CODE021: 'CODE021',
43
- CODE022: 'CODE022'
42
+ CODE021: 'CODE021'
44
43
  };
45
44
  /**
46
45
  * @export
@@ -67,8 +66,7 @@ exports.RestErrorMessageEnum = {
67
66
  MESSAGE018: 'Trial already used',
68
67
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
69
68
  MESSAGE020: 'ETag do not match',
70
- MESSAGE021: 'Missing informations for Offisante subscription',
71
- MESSAGE022: 'Disabled feature'
69
+ MESSAGE021: 'Missing informations for Offisante subscription'
72
70
  };
73
71
  /**
74
72
  * Check if a given object implements the RestError interface.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lcdp/api-react-rest-client",
3
- "version": "2.10.0-develop.13258998193",
3
+ "version": "2.10.0-upgrade-codegen-client-react.13239347278",
4
4
  "scripts": {
5
5
  "build": "tsc"
6
6
  },
@@ -16,14 +16,14 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature
19
+ * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
20
20
  *
21
21
  * @type {string}
22
22
  * @memberof RestError
23
23
  */
24
24
  code: RestErrorCodeEnum;
25
25
  /**
26
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature
26
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -56,7 +56,6 @@ export declare const RestErrorCodeEnum: {
56
56
  readonly CODE019: "CODE019";
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
- readonly CODE022: "CODE022";
60
59
  };
61
60
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
62
61
  /**
@@ -85,7 +84,6 @@ export declare const RestErrorMessageEnum: {
85
84
  readonly MESSAGE019: "Unable to generate session from disposableToken for admin users";
86
85
  readonly MESSAGE020: "ETag do not match";
87
86
  readonly MESSAGE021: "Missing informations for Offisante subscription";
88
- readonly MESSAGE022: "Disabled feature";
89
87
  };
90
88
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
91
89
  /**
@@ -39,8 +39,7 @@ exports.RestErrorCodeEnum = {
39
39
  CODE018: 'CODE018',
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
- CODE021: 'CODE021',
43
- CODE022: 'CODE022'
42
+ CODE021: 'CODE021'
44
43
  };
45
44
  /**
46
45
  * @export
@@ -67,8 +66,7 @@ exports.RestErrorMessageEnum = {
67
66
  MESSAGE018: 'Trial already used',
68
67
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
69
68
  MESSAGE020: 'ETag do not match',
70
- MESSAGE021: 'Missing informations for Offisante subscription',
71
- MESSAGE022: 'Disabled feature'
69
+ MESSAGE021: 'Missing informations for Offisante subscription'
72
70
  };
73
71
  /**
74
72
  * Check if a given object implements the RestError interface.
@@ -121,12 +121,7 @@ var ManagePubImageApi = /** @class */ (function (_super) {
121
121
  formParams = new URLSearchParams();
122
122
  }
123
123
  if (requestParameters['image'] != null) {
124
- if (useForm && runtime.instanceOfBlobWithMeta(requestParameters['image'])) {
125
- formParams.append('image', requestParameters['image'].blob, requestParameters['image'].filename);
126
- }
127
- else {
128
- formParams.append('image', requestParameters['image']);
129
- }
124
+ formParams.append('image', requestParameters['image']);
130
125
  }
131
126
  _c.label = 5;
132
127
  case 5:
@@ -16,14 +16,14 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature
19
+ * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
20
20
  *
21
21
  * @type {string}
22
22
  * @memberof RestError
23
23
  */
24
24
  code: RestErrorCodeEnum;
25
25
  /**
26
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature
26
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -56,7 +56,6 @@ export declare const RestErrorCodeEnum: {
56
56
  readonly CODE019: "CODE019";
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
- readonly CODE022: "CODE022";
60
59
  };
61
60
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
62
61
  /**
@@ -85,7 +84,6 @@ export declare const RestErrorMessageEnum: {
85
84
  readonly MESSAGE019: "Unable to generate session from disposableToken for admin users";
86
85
  readonly MESSAGE020: "ETag do not match";
87
86
  readonly MESSAGE021: "Missing informations for Offisante subscription";
88
- readonly MESSAGE022: "Disabled feature";
89
87
  };
90
88
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
91
89
  /**
@@ -39,8 +39,7 @@ exports.RestErrorCodeEnum = {
39
39
  CODE018: 'CODE018',
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
- CODE021: 'CODE021',
43
- CODE022: 'CODE022'
42
+ CODE021: 'CODE021'
44
43
  };
45
44
  /**
46
45
  * @export
@@ -67,8 +66,7 @@ exports.RestErrorMessageEnum = {
67
66
  MESSAGE018: 'Trial already used',
68
67
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
69
68
  MESSAGE020: 'ETag do not match',
70
- MESSAGE021: 'Missing informations for Offisante subscription',
71
- MESSAGE022: 'Disabled feature'
69
+ MESSAGE021: 'Missing informations for Offisante subscription'
72
70
  };
73
71
  /**
74
72
  * Check if a given object implements the RestError interface.
@@ -16,14 +16,14 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature
19
+ * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
20
20
  *
21
21
  * @type {string}
22
22
  * @memberof RestError
23
23
  */
24
24
  code: RestErrorCodeEnum;
25
25
  /**
26
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature
26
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -56,7 +56,6 @@ export declare const RestErrorCodeEnum: {
56
56
  readonly CODE019: "CODE019";
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
- readonly CODE022: "CODE022";
60
59
  };
61
60
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
62
61
  /**
@@ -85,7 +84,6 @@ export declare const RestErrorMessageEnum: {
85
84
  readonly MESSAGE019: "Unable to generate session from disposableToken for admin users";
86
85
  readonly MESSAGE020: "ETag do not match";
87
86
  readonly MESSAGE021: "Missing informations for Offisante subscription";
88
- readonly MESSAGE022: "Disabled feature";
89
87
  };
90
88
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
91
89
  /**
@@ -39,8 +39,7 @@ exports.RestErrorCodeEnum = {
39
39
  CODE018: 'CODE018',
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
- CODE021: 'CODE021',
43
- CODE022: 'CODE022'
42
+ CODE021: 'CODE021'
44
43
  };
45
44
  /**
46
45
  * @export
@@ -67,8 +66,7 @@ exports.RestErrorMessageEnum = {
67
66
  MESSAGE018: 'Trial already used',
68
67
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
69
68
  MESSAGE020: 'ETag do not match',
70
- MESSAGE021: 'Missing informations for Offisante subscription',
71
- MESSAGE022: 'Disabled feature'
69
+ MESSAGE021: 'Missing informations for Offisante subscription'
72
70
  };
73
71
  /**
74
72
  * Check if a given object implements the RestError interface.
@@ -16,14 +16,14 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature
19
+ * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
20
20
  *
21
21
  * @type {string}
22
22
  * @memberof RestError
23
23
  */
24
24
  code: RestErrorCodeEnum;
25
25
  /**
26
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature
26
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -56,7 +56,6 @@ export declare const RestErrorCodeEnum: {
56
56
  readonly CODE019: "CODE019";
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
- readonly CODE022: "CODE022";
60
59
  };
61
60
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
62
61
  /**
@@ -85,7 +84,6 @@ export declare const RestErrorMessageEnum: {
85
84
  readonly MESSAGE019: "Unable to generate session from disposableToken for admin users";
86
85
  readonly MESSAGE020: "ETag do not match";
87
86
  readonly MESSAGE021: "Missing informations for Offisante subscription";
88
- readonly MESSAGE022: "Disabled feature";
89
87
  };
90
88
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
91
89
  /**
@@ -39,8 +39,7 @@ exports.RestErrorCodeEnum = {
39
39
  CODE018: 'CODE018',
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
- CODE021: 'CODE021',
43
- CODE022: 'CODE022'
42
+ CODE021: 'CODE021'
44
43
  };
45
44
  /**
46
45
  * @export
@@ -67,8 +66,7 @@ exports.RestErrorMessageEnum = {
67
66
  MESSAGE018: 'Trial already used',
68
67
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
69
68
  MESSAGE020: 'ETag do not match',
70
- MESSAGE021: 'Missing informations for Offisante subscription',
71
- MESSAGE022: 'Disabled feature'
69
+ MESSAGE021: 'Missing informations for Offisante subscription'
72
70
  };
73
71
  /**
74
72
  * Check if a given object implements the RestError interface.
@@ -16,14 +16,14 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature
19
+ * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
20
20
  *
21
21
  * @type {string}
22
22
  * @memberof RestError
23
23
  */
24
24
  code: RestErrorCodeEnum;
25
25
  /**
26
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature
26
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -56,7 +56,6 @@ export declare const RestErrorCodeEnum: {
56
56
  readonly CODE019: "CODE019";
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
- readonly CODE022: "CODE022";
60
59
  };
61
60
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
62
61
  /**
@@ -85,7 +84,6 @@ export declare const RestErrorMessageEnum: {
85
84
  readonly MESSAGE019: "Unable to generate session from disposableToken for admin users";
86
85
  readonly MESSAGE020: "ETag do not match";
87
86
  readonly MESSAGE021: "Missing informations for Offisante subscription";
88
- readonly MESSAGE022: "Disabled feature";
89
87
  };
90
88
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
91
89
  /**
@@ -39,8 +39,7 @@ exports.RestErrorCodeEnum = {
39
39
  CODE018: 'CODE018',
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
- CODE021: 'CODE021',
43
- CODE022: 'CODE022'
42
+ CODE021: 'CODE021'
44
43
  };
45
44
  /**
46
45
  * @export
@@ -67,8 +66,7 @@ exports.RestErrorMessageEnum = {
67
66
  MESSAGE018: 'Trial already used',
68
67
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
69
68
  MESSAGE020: 'ETag do not match',
70
- MESSAGE021: 'Missing informations for Offisante subscription',
71
- MESSAGE022: 'Disabled feature'
69
+ MESSAGE021: 'Missing informations for Offisante subscription'
72
70
  };
73
71
  /**
74
72
  * Check if a given object implements the RestError interface.
@@ -16,14 +16,14 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature
19
+ * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
20
20
  *
21
21
  * @type {string}
22
22
  * @memberof RestError
23
23
  */
24
24
  code: RestErrorCodeEnum;
25
25
  /**
26
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature
26
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -56,7 +56,6 @@ export declare const RestErrorCodeEnum: {
56
56
  readonly CODE019: "CODE019";
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
- readonly CODE022: "CODE022";
60
59
  };
61
60
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
62
61
  /**
@@ -85,7 +84,6 @@ export declare const RestErrorMessageEnum: {
85
84
  readonly MESSAGE019: "Unable to generate session from disposableToken for admin users";
86
85
  readonly MESSAGE020: "ETag do not match";
87
86
  readonly MESSAGE021: "Missing informations for Offisante subscription";
88
- readonly MESSAGE022: "Disabled feature";
89
87
  };
90
88
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
91
89
  /**
@@ -39,8 +39,7 @@ exports.RestErrorCodeEnum = {
39
39
  CODE018: 'CODE018',
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
- CODE021: 'CODE021',
43
- CODE022: 'CODE022'
42
+ CODE021: 'CODE021'
44
43
  };
45
44
  /**
46
45
  * @export
@@ -67,8 +66,7 @@ exports.RestErrorMessageEnum = {
67
66
  MESSAGE018: 'Trial already used',
68
67
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
69
68
  MESSAGE020: 'ETag do not match',
70
- MESSAGE021: 'Missing informations for Offisante subscription',
71
- MESSAGE022: 'Disabled feature'
69
+ MESSAGE021: 'Missing informations for Offisante subscription'
72
70
  };
73
71
  /**
74
72
  * Check if a given object implements the RestError interface.
@@ -16,14 +16,14 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature
19
+ * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
20
20
  *
21
21
  * @type {string}
22
22
  * @memberof RestError
23
23
  */
24
24
  code: RestErrorCodeEnum;
25
25
  /**
26
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription * `MESSAGE022` - Disabled feature
26
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -56,7 +56,6 @@ export declare const RestErrorCodeEnum: {
56
56
  readonly CODE019: "CODE019";
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
- readonly CODE022: "CODE022";
60
59
  };
61
60
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
62
61
  /**
@@ -85,7 +84,6 @@ export declare const RestErrorMessageEnum: {
85
84
  readonly MESSAGE019: "Unable to generate session from disposableToken for admin users";
86
85
  readonly MESSAGE020: "ETag do not match";
87
86
  readonly MESSAGE021: "Missing informations for Offisante subscription";
88
- readonly MESSAGE022: "Disabled feature";
89
87
  };
90
88
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
91
89
  /**