@lcdp/api-react-rest-client 2.13.9-LDS-4699-etape-1-no-more-archive-of-frid.17069308302 → 2.13.9-LDS-4699-etape-1-no-more-archive-of-frid.17091298859

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.
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ProductStorageType } from './ProductStorageType';
13
12
  import type { Barcodes } from './Barcodes';
14
13
  /**
15
14
  *
@@ -78,11 +77,11 @@ export interface ProductInsightCreateOrUpdateParameters {
78
77
  */
79
78
  vatId?: string | null;
80
79
  /**
81
- *
82
- * @type {ProductStorageType}
80
+ * Product Storage Type identifier
81
+ * @type {string}
83
82
  * @memberof ProductInsightCreateOrUpdateParameters
84
83
  */
85
- storageType?: ProductStorageType | null;
84
+ storageType?: string | null;
86
85
  }
87
86
  /**
88
87
  * Check if a given object implements the ProductInsightCreateOrUpdateParameters interface.
@@ -14,7 +14,6 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ProductInsightCreateOrUpdateParametersToJSON = exports.ProductInsightCreateOrUpdateParametersFromJSONTyped = exports.ProductInsightCreateOrUpdateParametersFromJSON = exports.instanceOfProductInsightCreateOrUpdateParameters = void 0;
17
- var ProductStorageType_1 = require("./ProductStorageType");
18
17
  var Barcodes_1 = require("./Barcodes");
19
18
  /**
20
19
  * Check if a given object implements the ProductInsightCreateOrUpdateParameters interface.
@@ -44,7 +43,7 @@ function ProductInsightCreateOrUpdateParametersFromJSONTyped(json, ignoreDiscrim
44
43
  'secondaryTypeId': json['secondaryTypeId'],
45
44
  'laboratoryId': json['laboratoryId'],
46
45
  'vatId': json['vatId'],
47
- 'storageType': (json['storageType'] === null || json['storageType'] === undefined) ? json['storageType'] : (0, ProductStorageType_1.ProductStorageTypeFromJSON)(json['storageType']),
46
+ 'storageType': json['storageType'],
48
47
  };
49
48
  }
50
49
  exports.ProductInsightCreateOrUpdateParametersFromJSONTyped = ProductInsightCreateOrUpdateParametersFromJSONTyped;
@@ -63,7 +62,7 @@ function ProductInsightCreateOrUpdateParametersToJSON(value) {
63
62
  'secondaryTypeId': value['secondaryTypeId'],
64
63
  'laboratoryId': value['laboratoryId'],
65
64
  'vatId': value['vatId'],
66
- 'storageType': (0, ProductStorageType_1.ProductStorageTypeToJSON)(value['storageType']),
65
+ 'storageType': value['storageType'],
67
66
  };
68
67
  }
69
68
  exports.ProductInsightCreateOrUpdateParametersToJSON = ProductInsightCreateOrUpdateParametersToJSON;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lcdp/api-react-rest-client",
3
- "version": "2.13.9-LDS-4699-etape-1-no-more-archive-of-frid.17069308302",
3
+ "version": "2.13.9-LDS-4699-etape-1-no-more-archive-of-frid.17091298859",
4
4
  "scripts": {
5
5
  "build": "tsc"
6
6
  },
@@ -96,7 +96,7 @@ export interface ProductCreationOrUpdateParameters {
96
96
  * @type {string}
97
97
  * @memberof ProductCreationOrUpdateParameters
98
98
  */
99
- storageType?: string | null;
99
+ storageTypeId?: string | null;
100
100
  /**
101
101
  *
102
102
  * @type {ProductMarketStatus}
@@ -46,7 +46,7 @@ function ProductCreationOrUpdateParametersFromJSONTyped(json, ignoreDiscriminato
46
46
  'laboratoryId': json['laboratoryId'],
47
47
  'vatId': json['vatId'],
48
48
  'narcoticPrescription': json['narcoticPrescription'],
49
- 'storageType': json['storageType'],
49
+ 'storageTypeId': json['storageTypeId'],
50
50
  'marketStatus': (json['marketStatus'] === null || json['marketStatus'] === undefined) ? json['marketStatus'] : (0, ProductMarketStatus_1.ProductMarketStatusFromJSON)(json['marketStatus']),
51
51
  'status': (json['status'] === null || json['status'] === undefined) ? json['status'] : (0, ProductStatus_1.ProductStatusFromJSON)(json['status']),
52
52
  'dispensationPlace': (json['dispensationPlace'] === null || json['dispensationPlace'] === undefined) ? json['dispensationPlace'] : (0, ProductDispensationPlace_1.ProductDispensationPlaceFromJSON)(json['dispensationPlace']),
@@ -73,7 +73,7 @@ function ProductCreationOrUpdateParametersToJSON(value) {
73
73
  'laboratoryId': value['laboratoryId'],
74
74
  'vatId': value['vatId'],
75
75
  'narcoticPrescription': value['narcoticPrescription'],
76
- 'storageType': value['storageType'],
76
+ 'storageTypeId': value['storageTypeId'],
77
77
  'marketStatus': (0, ProductMarketStatus_1.ProductMarketStatusToJSON)(value['marketStatus']),
78
78
  'status': (0, ProductStatus_1.ProductStatusToJSON)(value['status']),
79
79
  'dispensationPlace': (0, ProductDispensationPlace_1.ProductDispensationPlaceToJSON)(value['dispensationPlace']),
@@ -253,6 +253,12 @@ export interface User {
253
253
  * @memberof User
254
254
  */
255
255
  restrictedProductTypes?: HttpLink;
256
+ /**
257
+ *
258
+ * @type {HttpLink}
259
+ * @memberof User
260
+ */
261
+ restrictedProductStorageTypes?: HttpLink;
256
262
  /**
257
263
  *
258
264
  * @type {HttpLink}
@@ -100,6 +100,7 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
100
100
  'rules': (json['rules'] === null || json['rules'] === undefined) ? json['rules'] : (0, HttpLink_1.HttpLinkFromJSON)(json['rules']),
101
101
  'restrictedFeatures': (json['restrictedFeatures'] === null || json['restrictedFeatures'] === undefined) ? json['restrictedFeatures'] : (0, HttpLink_1.HttpLinkFromJSON)(json['restrictedFeatures']),
102
102
  'restrictedProductTypes': (json['restrictedProductTypes'] === null || json['restrictedProductTypes'] === undefined) ? json['restrictedProductTypes'] : (0, HttpLink_1.HttpLinkFromJSON)(json['restrictedProductTypes']),
103
+ 'restrictedProductStorageTypes': (json['restrictedProductStorageTypes'] === null || json['restrictedProductStorageTypes'] === undefined) ? json['restrictedProductStorageTypes'] : (0, HttpLink_1.HttpLinkFromJSON)(json['restrictedProductStorageTypes']),
103
104
  'restrictedNotificationTypes': (json['restrictedNotificationTypes'] === null || json['restrictedNotificationTypes'] === undefined) ? json['restrictedNotificationTypes'] : (0, HttpLink_1.HttpLinkFromJSON)(json['restrictedNotificationTypes']),
104
105
  'customCommissions': (json['customCommissions'] === null || json['customCommissions'] === undefined) ? json['customCommissions'] : (0, HttpLink_1.HttpLinkFromJSON)(json['customCommissions']),
105
106
  'tags': json['tags'],
@@ -156,6 +157,7 @@ function UserToJSON(value) {
156
157
  'rules': (0, HttpLink_1.HttpLinkToJSON)(value['rules']),
157
158
  'restrictedFeatures': (0, HttpLink_1.HttpLinkToJSON)(value['restrictedFeatures']),
158
159
  'restrictedProductTypes': (0, HttpLink_1.HttpLinkToJSON)(value['restrictedProductTypes']),
160
+ 'restrictedProductStorageTypes': (0, HttpLink_1.HttpLinkToJSON)(value['restrictedProductStorageTypes']),
159
161
  'restrictedNotificationTypes': (0, HttpLink_1.HttpLinkToJSON)(value['restrictedNotificationTypes']),
160
162
  'customCommissions': (0, HttpLink_1.HttpLinkToJSON)(value['customCommissions']),
161
163
  'tags': value['tags'],