@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.
- package/catalog/src/models/ProductInsightCreateOrUpdateParameters.d.ts +3 -4
- package/catalog/src/models/ProductInsightCreateOrUpdateParameters.js +2 -3
- package/package.json +1 -1
- package/product/src/models/ProductCreationOrUpdateParameters.d.ts +1 -1
- package/product/src/models/ProductCreationOrUpdateParameters.js +2 -2
- package/user/src/models/User.d.ts +6 -0
- package/user/src/models/User.js +2 -0
|
@@ -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 {
|
|
80
|
+
* Product Storage Type identifier
|
|
81
|
+
* @type {string}
|
|
83
82
|
* @memberof ProductInsightCreateOrUpdateParameters
|
|
84
83
|
*/
|
|
85
|
-
storageType?:
|
|
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':
|
|
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':
|
|
65
|
+
'storageType': value['storageType'],
|
|
67
66
|
};
|
|
68
67
|
}
|
|
69
68
|
exports.ProductInsightCreateOrUpdateParametersToJSON = ProductInsightCreateOrUpdateParametersToJSON;
|
package/package.json
CHANGED
|
@@ -46,7 +46,7 @@ function ProductCreationOrUpdateParametersFromJSONTyped(json, ignoreDiscriminato
|
|
|
46
46
|
'laboratoryId': json['laboratoryId'],
|
|
47
47
|
'vatId': json['vatId'],
|
|
48
48
|
'narcoticPrescription': json['narcoticPrescription'],
|
|
49
|
-
'
|
|
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
|
-
'
|
|
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']),
|
package/user/src/models/User.js
CHANGED
|
@@ -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'],
|