@lcdp/api-react-rest-client 2.9.0-develop.12561802948 → 2.9.0-develop.12986406125

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 (83) hide show
  1. package/auth/src/models/RestError.d.ts +4 -2
  2. package/auth/src/models/RestError.js +4 -2
  3. package/catalog/src/models/RestError.d.ts +4 -2
  4. package/catalog/src/models/RestError.js +4 -2
  5. package/configuration/src/models/RestError.d.ts +4 -2
  6. package/configuration/src/models/RestError.js +4 -2
  7. package/content/src/models/RestError.d.ts +4 -2
  8. package/content/src/models/RestError.js +4 -2
  9. package/favorite/src/models/RestError.d.ts +4 -2
  10. package/favorite/src/models/RestError.js +4 -2
  11. package/inventory/src/apis/ManageInventoryApi.d.ts +5 -17
  12. package/inventory/src/apis/ManageInventoryApi.js +12 -86
  13. package/inventory/src/apis/SearchInventoryApi.d.ts +21 -20
  14. package/inventory/src/apis/SearchInventoryApi.js +90 -84
  15. package/inventory/src/models/ActiveProduct.d.ts +10 -3
  16. package/inventory/src/models/ActiveProduct.js +5 -2
  17. package/inventory/src/models/ActiveProductUpdateParameters.d.ts +4 -3
  18. package/inventory/src/models/ActiveProductUpdateParameters.js +3 -2
  19. package/inventory/src/models/Inventory.d.ts +63 -0
  20. package/inventory/src/models/Inventory.js +57 -0
  21. package/inventory/src/models/InventoryJournal.d.ts +31 -0
  22. package/inventory/src/models/InventoryJournal.js +45 -0
  23. package/inventory/src/models/MisalignedProduct.d.ts +6 -0
  24. package/inventory/src/models/MisalignedProduct.js +2 -0
  25. package/inventory/src/models/OverstockProduct.d.ts +6 -0
  26. package/inventory/src/models/OverstockProduct.js +2 -0
  27. package/inventory/src/models/PaginatedInventories.d.ts +39 -0
  28. package/inventory/src/models/PaginatedInventories.js +53 -0
  29. package/inventory/src/models/RestError.d.ts +4 -2
  30. package/inventory/src/models/RestError.js +4 -2
  31. package/inventory/src/models/SynchronizationMode.d.ts +25 -0
  32. package/inventory/src/models/SynchronizationMode.js +48 -0
  33. package/inventory/src/models/index.d.ts +4 -3
  34. package/inventory/src/models/index.js +4 -3
  35. package/invoice/src/models/RestError.d.ts +4 -2
  36. package/invoice/src/models/RestError.js +4 -2
  37. package/laboratory-store/src/models/RestError.d.ts +4 -2
  38. package/laboratory-store/src/models/RestError.js +4 -2
  39. package/lexicon/src/models/RestError.d.ts +4 -2
  40. package/lexicon/src/models/RestError.js +4 -2
  41. package/litigation/src/models/RestError.d.ts +4 -2
  42. package/litigation/src/models/RestError.js +4 -2
  43. package/mangopay-hook/src/models/RestError.d.ts +4 -2
  44. package/mangopay-hook/src/models/RestError.js +4 -2
  45. package/notification/src/models/RestError.d.ts +4 -2
  46. package/notification/src/models/RestError.js +4 -2
  47. package/order/src/models/RestError.d.ts +4 -2
  48. package/order/src/models/RestError.js +4 -2
  49. package/package.json +1 -1
  50. package/product/src/models/RestError.d.ts +4 -2
  51. package/product/src/models/RestError.js +4 -2
  52. package/pub/src/models/RestError.d.ts +4 -2
  53. package/pub/src/models/RestError.js +4 -2
  54. package/rfx/src/models/RestError.d.ts +4 -2
  55. package/rfx/src/models/RestError.js +4 -2
  56. package/sale-offer/src/models/RestError.d.ts +4 -2
  57. package/sale-offer/src/models/RestError.js +4 -2
  58. package/servant/src/models/RestError.d.ts +4 -2
  59. package/servant/src/models/RestError.js +4 -2
  60. package/shipment/src/models/RestError.d.ts +4 -2
  61. package/shipment/src/models/RestError.js +4 -2
  62. package/shopping-cart/src/models/RestError.d.ts +4 -2
  63. package/shopping-cart/src/models/RestError.js +4 -2
  64. package/smuggler/src/models/RestError.d.ts +4 -2
  65. package/smuggler/src/models/RestError.js +4 -2
  66. package/statistic/src/models/RestError.d.ts +4 -2
  67. package/statistic/src/models/RestError.js +4 -2
  68. package/subscription/src/models/RestError.d.ts +4 -2
  69. package/subscription/src/models/RestError.js +4 -2
  70. package/third-party/src/models/RestError.d.ts +4 -2
  71. package/third-party/src/models/RestError.js +4 -2
  72. package/ubo/src/models/RestError.d.ts +4 -2
  73. package/ubo/src/models/RestError.js +4 -2
  74. package/user/src/models/RestError.d.ts +4 -2
  75. package/user/src/models/RestError.js +4 -2
  76. package/wish/src/models/RestError.d.ts +4 -2
  77. package/wish/src/models/RestError.js +4 -2
  78. package/inventory/src/models/Synchroneity.d.ts +0 -32
  79. package/inventory/src/models/Synchroneity.js +0 -46
  80. package/inventory/src/models/SynchroneityOffisante.d.ts +0 -38
  81. package/inventory/src/models/SynchroneityOffisante.js +0 -48
  82. package/inventory/src/models/SynchroneitySource.d.ts +0 -37
  83. package/inventory/src/models/SynchroneitySource.js +0 -47
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * lcdp-pharmaide-service
6
+ * This is the REST API of LCDP products
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: contact@lecomptoirdespharmacies.fr
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.InventoryToJSON = exports.InventoryFromJSONTyped = exports.InventoryFromJSON = exports.instanceOfInventory = void 0;
17
+ var InventoryJournal_1 = require("./InventoryJournal");
18
+ var HttpLink_1 = require("./HttpLink");
19
+ /**
20
+ * Check if a given object implements the Inventory interface.
21
+ */
22
+ function instanceOfInventory(value) {
23
+ return true;
24
+ }
25
+ exports.instanceOfInventory = instanceOfInventory;
26
+ function InventoryFromJSON(json) {
27
+ return InventoryFromJSONTyped(json, false);
28
+ }
29
+ exports.InventoryFromJSON = InventoryFromJSON;
30
+ function InventoryFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'id': json['id'],
36
+ 'availableStockProductCount': json['availableStockProductCount'],
37
+ 'activeProducts': (json['activeProducts'] === null || json['activeProducts'] === undefined) ? json['activeProducts'] : (0, HttpLink_1.HttpLinkFromJSON)(json['activeProducts']),
38
+ 'overstockProducts': (json['overstockProducts'] === null || json['overstockProducts'] === undefined) ? json['overstockProducts'] : (0, HttpLink_1.HttpLinkFromJSON)(json['overstockProducts']),
39
+ 'misalignedProducts': (json['misalignedProducts'] === null || json['misalignedProducts'] === undefined) ? json['misalignedProducts'] : (0, HttpLink_1.HttpLinkFromJSON)(json['misalignedProducts']),
40
+ 'journal': (json['journal'] === null || json['journal'] === undefined) ? json['journal'] : (0, InventoryJournal_1.InventoryJournalFromJSON)(json['journal']),
41
+ };
42
+ }
43
+ exports.InventoryFromJSONTyped = InventoryFromJSONTyped;
44
+ function InventoryToJSON(value) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'id': value['id'],
50
+ 'availableStockProductCount': value['availableStockProductCount'],
51
+ 'activeProducts': (0, HttpLink_1.HttpLinkToJSON)(value['activeProducts']),
52
+ 'overstockProducts': (0, HttpLink_1.HttpLinkToJSON)(value['overstockProducts']),
53
+ 'misalignedProducts': (0, HttpLink_1.HttpLinkToJSON)(value['misalignedProducts']),
54
+ 'journal': (0, InventoryJournal_1.InventoryJournalToJSON)(value['journal']),
55
+ };
56
+ }
57
+ exports.InventoryToJSON = InventoryToJSON;
@@ -0,0 +1,31 @@
1
+ /**
2
+ * lcdp-pharmaide-service
3
+ * This is the REST API of LCDP products
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: contact@lecomptoirdespharmacies.fr
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface InventoryJournal
16
+ */
17
+ export interface InventoryJournal {
18
+ /**
19
+ * Last synchronization date of stock
20
+ * @type {Date}
21
+ * @memberof InventoryJournal
22
+ */
23
+ lastStockSyncDate?: Date;
24
+ }
25
+ /**
26
+ * Check if a given object implements the InventoryJournal interface.
27
+ */
28
+ export declare function instanceOfInventoryJournal(value: object): value is InventoryJournal;
29
+ export declare function InventoryJournalFromJSON(json: any): InventoryJournal;
30
+ export declare function InventoryJournalFromJSONTyped(json: any, ignoreDiscriminator: boolean): InventoryJournal;
31
+ export declare function InventoryJournalToJSON(value?: InventoryJournal | null): any;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * lcdp-pharmaide-service
6
+ * This is the REST API of LCDP products
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: contact@lecomptoirdespharmacies.fr
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.InventoryJournalToJSON = exports.InventoryJournalFromJSONTyped = exports.InventoryJournalFromJSON = exports.instanceOfInventoryJournal = void 0;
17
+ /**
18
+ * Check if a given object implements the InventoryJournal interface.
19
+ */
20
+ function instanceOfInventoryJournal(value) {
21
+ return true;
22
+ }
23
+ exports.instanceOfInventoryJournal = instanceOfInventoryJournal;
24
+ function InventoryJournalFromJSON(json) {
25
+ return InventoryJournalFromJSONTyped(json, false);
26
+ }
27
+ exports.InventoryJournalFromJSON = InventoryJournalFromJSON;
28
+ function InventoryJournalFromJSONTyped(json, ignoreDiscriminator) {
29
+ if (json == null) {
30
+ return json;
31
+ }
32
+ return {
33
+ 'lastStockSyncDate': (json['lastStockSyncDate'] === null || json['lastStockSyncDate'] === undefined) ? json['lastStockSyncDate'] : new Date(json['lastStockSyncDate']),
34
+ };
35
+ }
36
+ exports.InventoryJournalFromJSONTyped = InventoryJournalFromJSONTyped;
37
+ function InventoryJournalToJSON(value) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'lastStockSyncDate': (value['lastStockSyncDate'] === null || value['lastStockSyncDate'] === undefined) ? value['lastStockSyncDate'] : (value['lastStockSyncDate']).toISOString(),
43
+ };
44
+ }
45
+ exports.InventoryJournalToJSON = InventoryJournalToJSON;
@@ -40,6 +40,12 @@ export interface MisalignedProduct {
40
40
  * @memberof MisalignedProduct
41
41
  */
42
42
  currentStock?: number;
43
+ /**
44
+ * Date of last update of the product
45
+ * @type {Date}
46
+ * @memberof MisalignedProduct
47
+ */
48
+ updatedAt?: Date;
43
49
  }
44
50
  /**
45
51
  * Check if a given object implements the MisalignedProduct interface.
@@ -35,6 +35,7 @@ function MisalignedProductFromJSONTyped(json, ignoreDiscriminator) {
35
35
  'totalActiveSaleOffers': json['totalActiveSaleOffers'],
36
36
  'activeStock': json['activeStock'],
37
37
  'currentStock': json['currentStock'],
38
+ 'updatedAt': (json['updatedAt'] === null || json['updatedAt'] === undefined) ? json['updatedAt'] : new Date(json['updatedAt']),
38
39
  };
39
40
  }
40
41
  exports.MisalignedProductFromJSONTyped = MisalignedProductFromJSONTyped;
@@ -47,6 +48,7 @@ function MisalignedProductToJSON(value) {
47
48
  'totalActiveSaleOffers': value['totalActiveSaleOffers'],
48
49
  'activeStock': value['activeStock'],
49
50
  'currentStock': value['currentStock'],
51
+ 'updatedAt': (value['updatedAt'] === null || value['updatedAt'] === undefined) ? value['updatedAt'] : (value['updatedAt']).toISOString(),
50
52
  };
51
53
  }
52
54
  exports.MisalignedProductToJSON = MisalignedProductToJSON;
@@ -67,6 +67,12 @@ export interface OverstockProduct {
67
67
  * @memberof OverstockProduct
68
68
  */
69
69
  isUnsold: boolean;
70
+ /**
71
+ * Date of last update of the product
72
+ * @type {Date}
73
+ * @memberof OverstockProduct
74
+ */
75
+ updatedAt?: Date;
70
76
  }
71
77
  /**
72
78
  * Check if a given object implements the OverstockProduct interface.
@@ -55,6 +55,7 @@ function OverstockProductFromJSONTyped(json, ignoreDiscriminator) {
55
55
  'blacklisted': json['blacklisted'],
56
56
  'forecast': json['forecast'],
57
57
  'isUnsold': json['isUnsold'],
58
+ 'updatedAt': (json['updatedAt'] === null || json['updatedAt'] === undefined) ? json['updatedAt'] : new Date(json['updatedAt']),
58
59
  };
59
60
  }
60
61
  exports.OverstockProductFromJSONTyped = OverstockProductFromJSONTyped;
@@ -71,6 +72,7 @@ function OverstockProductToJSON(value) {
71
72
  'blacklisted': value['blacklisted'],
72
73
  'forecast': value['forecast'],
73
74
  'isUnsold': value['isUnsold'],
75
+ 'updatedAt': (value['updatedAt'] === null || value['updatedAt'] === undefined) ? value['updatedAt'] : (value['updatedAt']).toISOString(),
74
76
  };
75
77
  }
76
78
  exports.OverstockProductToJSON = OverstockProductToJSON;
@@ -0,0 +1,39 @@
1
+ /**
2
+ * lcdp-pharmaide-service
3
+ * This is the REST API of LCDP products
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: contact@lecomptoirdespharmacies.fr
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { PagingMetadata } from './PagingMetadata';
13
+ import type { Inventory } from './Inventory';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedInventories
18
+ */
19
+ export interface PaginatedInventories {
20
+ /**
21
+ *
22
+ * @type {PagingMetadata}
23
+ * @memberof PaginatedInventories
24
+ */
25
+ metadata: PagingMetadata;
26
+ /**
27
+ *
28
+ * @type {Array<Inventory>}
29
+ * @memberof PaginatedInventories
30
+ */
31
+ records: Array<Inventory>;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedInventories interface.
35
+ */
36
+ export declare function instanceOfPaginatedInventories(value: object): value is PaginatedInventories;
37
+ export declare function PaginatedInventoriesFromJSON(json: any): PaginatedInventories;
38
+ export declare function PaginatedInventoriesFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedInventories;
39
+ export declare function PaginatedInventoriesToJSON(value?: PaginatedInventories | null): any;
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * lcdp-pharmaide-service
6
+ * This is the REST API of LCDP products
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: contact@lecomptoirdespharmacies.fr
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.PaginatedInventoriesToJSON = exports.PaginatedInventoriesFromJSONTyped = exports.PaginatedInventoriesFromJSON = exports.instanceOfPaginatedInventories = void 0;
17
+ var PagingMetadata_1 = require("./PagingMetadata");
18
+ var Inventory_1 = require("./Inventory");
19
+ /**
20
+ * Check if a given object implements the PaginatedInventories interface.
21
+ */
22
+ function instanceOfPaginatedInventories(value) {
23
+ if (!('metadata' in value) || value['metadata'] === undefined)
24
+ return false;
25
+ if (!('records' in value) || value['records'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ exports.instanceOfPaginatedInventories = instanceOfPaginatedInventories;
30
+ function PaginatedInventoriesFromJSON(json) {
31
+ return PaginatedInventoriesFromJSONTyped(json, false);
32
+ }
33
+ exports.PaginatedInventoriesFromJSON = PaginatedInventoriesFromJSON;
34
+ function PaginatedInventoriesFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'metadata': (json['metadata'] === null || json['metadata'] === undefined) ? json['metadata'] : (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
40
+ 'records': (json['records'] === null || json['records'] === undefined) ? json['records'] : json['records'].map(Inventory_1.InventoryFromJSON),
41
+ };
42
+ }
43
+ exports.PaginatedInventoriesFromJSONTyped = PaginatedInventoriesFromJSONTyped;
44
+ function PaginatedInventoriesToJSON(value) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'metadata': (0, PagingMetadata_1.PagingMetadataToJSON)(value['metadata']),
50
+ 'records': (value['records'] === null || value['records'] === undefined) ? value['records'] : value['records'].map(Inventory_1.InventoryToJSON),
51
+ };
52
+ }
53
+ exports.PaginatedInventoriesToJSON = PaginatedInventoriesToJSON;
@@ -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
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
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
@@ -56,6 +56,7 @@ export declare const RestErrorCodeEnum: {
56
56
  readonly CODE019: "CODE019";
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
+ readonly CODE022: "CODE022";
59
60
  };
60
61
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
61
62
  /**
@@ -84,6 +85,7 @@ export declare const RestErrorMessageEnum: {
84
85
  readonly MESSAGE019: "Unable to generate session from disposableToken for admin users";
85
86
  readonly MESSAGE020: "ETag do not match";
86
87
  readonly MESSAGE021: "Missing informations for Offisante subscription";
88
+ readonly MESSAGE022: "Disabled feature";
87
89
  };
88
90
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
89
91
  /**
@@ -39,7 +39,8 @@ exports.RestErrorCodeEnum = {
39
39
  CODE018: 'CODE018',
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
- CODE021: 'CODE021'
42
+ CODE021: 'CODE021',
43
+ CODE022: 'CODE022'
43
44
  };
44
45
  /**
45
46
  * @export
@@ -66,7 +67,8 @@ exports.RestErrorMessageEnum = {
66
67
  MESSAGE018: 'Trial already used',
67
68
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
68
69
  MESSAGE020: 'ETag do not match',
69
- MESSAGE021: 'Missing informations for Offisante subscription'
70
+ MESSAGE021: 'Missing informations for Offisante subscription',
71
+ MESSAGE022: 'Disabled feature'
70
72
  };
71
73
  /**
72
74
  * Check if a given object implements the RestError interface.
@@ -0,0 +1,25 @@
1
+ /**
2
+ * lcdp-pharmaide-service
3
+ * This is the REST API of LCDP products
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: contact@lecomptoirdespharmacies.fr
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Synchronization state of the product
14
+ * @export
15
+ */
16
+ export declare const SynchronizationMode: {
17
+ readonly UP_AND_DOWN: "UP_AND_DOWN";
18
+ readonly DOWN: "DOWN";
19
+ readonly NONE: "NONE";
20
+ };
21
+ export declare type SynchronizationMode = typeof SynchronizationMode[keyof typeof SynchronizationMode];
22
+ export declare function instanceOfSynchronizationMode(value: any): boolean;
23
+ export declare function SynchronizationModeFromJSON(json: any): SynchronizationMode;
24
+ export declare function SynchronizationModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SynchronizationMode;
25
+ export declare function SynchronizationModeToJSON(value?: SynchronizationMode | null): any;
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * lcdp-pharmaide-service
6
+ * This is the REST API of LCDP products
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: contact@lecomptoirdespharmacies.fr
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SynchronizationModeToJSON = exports.SynchronizationModeFromJSONTyped = exports.SynchronizationModeFromJSON = exports.instanceOfSynchronizationMode = exports.SynchronizationMode = void 0;
17
+ /**
18
+ * Synchronization state of the product
19
+ * @export
20
+ */
21
+ exports.SynchronizationMode = {
22
+ UP_AND_DOWN: 'UP_AND_DOWN',
23
+ DOWN: 'DOWN',
24
+ NONE: 'NONE'
25
+ };
26
+ function instanceOfSynchronizationMode(value) {
27
+ for (var key in exports.SynchronizationMode) {
28
+ if (Object.prototype.hasOwnProperty.call(exports.SynchronizationMode, key)) {
29
+ if (exports.SynchronizationMode[key] === value) {
30
+ return true;
31
+ }
32
+ }
33
+ }
34
+ return false;
35
+ }
36
+ exports.instanceOfSynchronizationMode = instanceOfSynchronizationMode;
37
+ function SynchronizationModeFromJSON(json) {
38
+ return SynchronizationModeFromJSONTyped(json, false);
39
+ }
40
+ exports.SynchronizationModeFromJSON = SynchronizationModeFromJSON;
41
+ function SynchronizationModeFromJSONTyped(json, ignoreDiscriminator) {
42
+ return json;
43
+ }
44
+ exports.SynchronizationModeFromJSONTyped = SynchronizationModeFromJSONTyped;
45
+ function SynchronizationModeToJSON(value) {
46
+ return value;
47
+ }
48
+ exports.SynchronizationModeToJSON = SynchronizationModeToJSON;
@@ -2,10 +2,13 @@ export * from './ActiveProduct';
2
2
  export * from './ActiveProductUpdateParameters';
3
3
  export * from './Barcodes';
4
4
  export * from './HttpLink';
5
+ export * from './Inventory';
6
+ export * from './InventoryJournal';
5
7
  export * from './MisalignedProduct';
6
8
  export * from './OverstockProduct';
7
9
  export * from './OverstockProductUpdateParameters';
8
10
  export * from './PaginatedActiveProducts';
11
+ export * from './PaginatedInventories';
9
12
  export * from './PaginatedMisalignedProducts';
10
13
  export * from './PaginatedObject';
11
14
  export * from './PaginatedOverstockProducts';
@@ -16,6 +19,4 @@ export * from './Statistics';
16
19
  export * from './StatisticsActiveProducts';
17
20
  export * from './StatisticsMisalignedProducts';
18
21
  export * from './StatisticsOverstockProducts';
19
- export * from './Synchroneity';
20
- export * from './SynchroneityOffisante';
21
- export * from './SynchroneitySource';
22
+ export * from './SynchronizationMode';
@@ -20,10 +20,13 @@ __exportStar(require("./ActiveProduct"), exports);
20
20
  __exportStar(require("./ActiveProductUpdateParameters"), exports);
21
21
  __exportStar(require("./Barcodes"), exports);
22
22
  __exportStar(require("./HttpLink"), exports);
23
+ __exportStar(require("./Inventory"), exports);
24
+ __exportStar(require("./InventoryJournal"), exports);
23
25
  __exportStar(require("./MisalignedProduct"), exports);
24
26
  __exportStar(require("./OverstockProduct"), exports);
25
27
  __exportStar(require("./OverstockProductUpdateParameters"), exports);
26
28
  __exportStar(require("./PaginatedActiveProducts"), exports);
29
+ __exportStar(require("./PaginatedInventories"), exports);
27
30
  __exportStar(require("./PaginatedMisalignedProducts"), exports);
28
31
  __exportStar(require("./PaginatedObject"), exports);
29
32
  __exportStar(require("./PaginatedOverstockProducts"), exports);
@@ -34,6 +37,4 @@ __exportStar(require("./Statistics"), exports);
34
37
  __exportStar(require("./StatisticsActiveProducts"), exports);
35
38
  __exportStar(require("./StatisticsMisalignedProducts"), exports);
36
39
  __exportStar(require("./StatisticsOverstockProducts"), exports);
37
- __exportStar(require("./Synchroneity"), exports);
38
- __exportStar(require("./SynchroneityOffisante"), exports);
39
- __exportStar(require("./SynchroneitySource"), exports);
40
+ __exportStar(require("./SynchronizationMode"), 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
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
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
@@ -56,6 +56,7 @@ export declare const RestErrorCodeEnum: {
56
56
  readonly CODE019: "CODE019";
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
+ readonly CODE022: "CODE022";
59
60
  };
60
61
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
61
62
  /**
@@ -84,6 +85,7 @@ export declare const RestErrorMessageEnum: {
84
85
  readonly MESSAGE019: "Unable to generate session from disposableToken for admin users";
85
86
  readonly MESSAGE020: "ETag do not match";
86
87
  readonly MESSAGE021: "Missing informations for Offisante subscription";
88
+ readonly MESSAGE022: "Disabled feature";
87
89
  };
88
90
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
89
91
  /**
@@ -39,7 +39,8 @@ exports.RestErrorCodeEnum = {
39
39
  CODE018: 'CODE018',
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
- CODE021: 'CODE021'
42
+ CODE021: 'CODE021',
43
+ CODE022: 'CODE022'
43
44
  };
44
45
  /**
45
46
  * @export
@@ -66,7 +67,8 @@ exports.RestErrorMessageEnum = {
66
67
  MESSAGE018: 'Trial already used',
67
68
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
68
69
  MESSAGE020: 'ETag do not match',
69
- MESSAGE021: 'Missing informations for Offisante subscription'
70
+ MESSAGE021: 'Missing informations for Offisante subscription',
71
+ MESSAGE022: 'Disabled feature'
70
72
  };
71
73
  /**
72
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
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
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
@@ -56,6 +56,7 @@ export declare const RestErrorCodeEnum: {
56
56
  readonly CODE019: "CODE019";
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
+ readonly CODE022: "CODE022";
59
60
  };
60
61
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
61
62
  /**
@@ -84,6 +85,7 @@ export declare const RestErrorMessageEnum: {
84
85
  readonly MESSAGE019: "Unable to generate session from disposableToken for admin users";
85
86
  readonly MESSAGE020: "ETag do not match";
86
87
  readonly MESSAGE021: "Missing informations for Offisante subscription";
88
+ readonly MESSAGE022: "Disabled feature";
87
89
  };
88
90
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
89
91
  /**
@@ -39,7 +39,8 @@ exports.RestErrorCodeEnum = {
39
39
  CODE018: 'CODE018',
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
- CODE021: 'CODE021'
42
+ CODE021: 'CODE021',
43
+ CODE022: 'CODE022'
43
44
  };
44
45
  /**
45
46
  * @export
@@ -66,7 +67,8 @@ exports.RestErrorMessageEnum = {
66
67
  MESSAGE018: 'Trial already used',
67
68
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
68
69
  MESSAGE020: 'ETag do not match',
69
- MESSAGE021: 'Missing informations for Offisante subscription'
70
+ MESSAGE021: 'Missing informations for Offisante subscription',
71
+ MESSAGE022: 'Disabled feature'
70
72
  };
71
73
  /**
72
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
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
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
@@ -56,6 +56,7 @@ export declare const RestErrorCodeEnum: {
56
56
  readonly CODE019: "CODE019";
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
+ readonly CODE022: "CODE022";
59
60
  };
60
61
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
61
62
  /**
@@ -84,6 +85,7 @@ export declare const RestErrorMessageEnum: {
84
85
  readonly MESSAGE019: "Unable to generate session from disposableToken for admin users";
85
86
  readonly MESSAGE020: "ETag do not match";
86
87
  readonly MESSAGE021: "Missing informations for Offisante subscription";
88
+ readonly MESSAGE022: "Disabled feature";
87
89
  };
88
90
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
89
91
  /**
@@ -39,7 +39,8 @@ exports.RestErrorCodeEnum = {
39
39
  CODE018: 'CODE018',
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
- CODE021: 'CODE021'
42
+ CODE021: 'CODE021',
43
+ CODE022: 'CODE022'
43
44
  };
44
45
  /**
45
46
  * @export
@@ -66,7 +67,8 @@ exports.RestErrorMessageEnum = {
66
67
  MESSAGE018: 'Trial already used',
67
68
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
68
69
  MESSAGE020: 'ETag do not match',
69
- MESSAGE021: 'Missing informations for Offisante subscription'
70
+ MESSAGE021: 'Missing informations for Offisante subscription',
71
+ MESSAGE022: 'Disabled feature'
70
72
  };
71
73
  /**
72
74
  * Check if a given object implements the RestError interface.