@lcdp/api-react-rest-client 2.2.0-LDS-3043.5255236497 → 2.2.0-develop.5257142523
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/package.json +1 -1
- package/product/src/apis/ManageProductApi.d.ts +0 -2
- package/product/src/apis/ManageProductApi.js +0 -6
- package/product/src/apis/SearchProductApi.d.ts +1 -39
- package/product/src/apis/SearchProductApi.js +4 -290
- package/product/src/apis/SearchProductMetadataApi.d.ts +34 -0
- package/{catalog/src/apis/SearchProductInsightApi.js → product/src/apis/SearchProductMetadataApi.js} +22 -48
- package/product/src/apis/index.d.ts +1 -0
- package/product/src/apis/index.js +1 -0
- package/product/src/models/Product.d.ts +37 -38
- package/product/src/models/Product.js +31 -31
- package/product/src/models/ProductCreationOrUpdateParameters.d.ts +6 -0
- package/product/src/models/ProductCreationOrUpdateParameters.js +2 -0
- package/product/src/models/{DataProvider.d.ts → ProductProvider.d.ts} +5 -7
- package/product/src/models/ProductProvider.js +38 -0
- package/product/src/models/index.d.ts +1 -4
- package/product/src/models/index.js +1 -4
- package/catalog/index.d.ts +0 -1
- package/catalog/index.js +0 -17
- package/catalog/src/apis/ManageProductInsightApi.d.ts +0 -54
- package/catalog/src/apis/ManageProductInsightApi.js +0 -295
- package/catalog/src/apis/SearchProductInsightApi.d.ts +0 -53
- package/catalog/src/apis/index.d.ts +0 -2
- package/catalog/src/apis/index.js +0 -18
- package/catalog/src/index.d.ts +0 -3
- package/catalog/src/index.js +0 -19
- package/catalog/src/models/Barcodes.d.ts +0 -45
- package/catalog/src/models/Barcodes.js +0 -48
- package/catalog/src/models/HttpLink.d.ts +0 -27
- package/catalog/src/models/HttpLink.js +0 -41
- package/catalog/src/models/LaboratoryLink.d.ts +0 -34
- package/catalog/src/models/LaboratoryLink.js +0 -50
- package/catalog/src/models/LaboratoryLinkAllOf.d.ts +0 -33
- package/catalog/src/models/LaboratoryLinkAllOf.js +0 -44
- package/catalog/src/models/PaginatedObject.d.ts +0 -28
- package/catalog/src/models/PaginatedObject.js +0 -42
- package/catalog/src/models/PaginatedProductInsights.d.ts +0 -29
- package/catalog/src/models/PaginatedProductInsights.js +0 -50
- package/catalog/src/models/PaginatedProductInsightsAllOf.d.ts +0 -28
- package/catalog/src/models/PaginatedProductInsightsAllOf.js +0 -42
- package/catalog/src/models/PagingMetadata.d.ts +0 -45
- package/catalog/src/models/PagingMetadata.js +0 -47
- package/catalog/src/models/ProductInsight.d.ts +0 -100
- package/catalog/src/models/ProductInsight.js +0 -71
- package/catalog/src/models/ProductInsightCreationOrUpdateParameters.d.ts +0 -83
- package/catalog/src/models/ProductInsightCreationOrUpdateParameters.js +0 -62
- package/catalog/src/models/ProductInsightJournal.d.ts +0 -33
- package/catalog/src/models/ProductInsightJournal.js +0 -44
- package/catalog/src/models/ProductSecondaryTypeLink.d.ts +0 -34
- package/catalog/src/models/ProductSecondaryTypeLink.js +0 -50
- package/catalog/src/models/ProductSecondaryTypeLinkAllOf.d.ts +0 -33
- package/catalog/src/models/ProductSecondaryTypeLinkAllOf.js +0 -44
- package/catalog/src/models/ProductStorageType.d.ts +0 -25
- package/catalog/src/models/ProductStorageType.js +0 -40
- package/catalog/src/models/ProductTypeLink.d.ts +0 -34
- package/catalog/src/models/ProductTypeLink.js +0 -50
- package/catalog/src/models/ProductTypeLinkAllOf.d.ts +0 -33
- package/catalog/src/models/ProductTypeLinkAllOf.js +0 -44
- package/catalog/src/models/RestError.d.ts +0 -85
- package/catalog/src/models/RestError.js +0 -97
- package/catalog/src/models/VatLink.d.ts +0 -40
- package/catalog/src/models/VatLink.js +0 -50
- package/catalog/src/models/VatLinkAllOf.d.ts +0 -39
- package/catalog/src/models/VatLinkAllOf.js +0 -46
- package/catalog/src/models/index.d.ts +0 -19
- package/catalog/src/models/index.js +0 -35
- package/catalog/src/runtime.d.ts +0 -149
- package/catalog/src/runtime.js +0 -480
- package/product/src/models/DataProvider.js +0 -40
- package/product/src/models/ProductJournal.d.ts +0 -27
- package/product/src/models/ProductJournal.js +0 -41
- package/product/src/models/ProductMetadata.d.ts +0 -28
- package/product/src/models/ProductMetadata.js +0 -42
- package/product/src/models/ProductMetadataSources.d.ts +0 -124
- package/product/src/models/ProductMetadataSources.js +0 -75
|
@@ -13,9 +13,8 @@ import { Barcodes } from './Barcodes';
|
|
|
13
13
|
import { HttpLink } from './HttpLink';
|
|
14
14
|
import { LaboratoryLink } from './LaboratoryLink';
|
|
15
15
|
import { ProductDispensationPlace } from './ProductDispensationPlace';
|
|
16
|
-
import { ProductJournal } from './ProductJournal';
|
|
17
16
|
import { ProductMarketStatus } from './ProductMarketStatus';
|
|
18
|
-
import {
|
|
17
|
+
import { ProductProvider } from './ProductProvider';
|
|
19
18
|
import { ProductSecondaryType } from './ProductSecondaryType';
|
|
20
19
|
import { ProductStatus } from './ProductStatus';
|
|
21
20
|
import { ProductStorageType } from './ProductStorageType';
|
|
@@ -33,157 +32,157 @@ export interface Product {
|
|
|
33
32
|
* @type {number}
|
|
34
33
|
* @memberof Product
|
|
35
34
|
*/
|
|
36
|
-
id
|
|
35
|
+
id?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Indicates if automatic external synchronization is enabled
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof Product
|
|
40
|
+
*/
|
|
41
|
+
isExternalSyncEnabled?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<ProductProvider>}
|
|
45
|
+
* @memberof Product
|
|
46
|
+
*/
|
|
47
|
+
providers?: Array<ProductProvider>;
|
|
37
48
|
/**
|
|
38
49
|
*
|
|
39
50
|
* @type {Barcodes}
|
|
40
51
|
* @memberof Product
|
|
41
52
|
*/
|
|
42
|
-
barcodes
|
|
53
|
+
barcodes?: Barcodes;
|
|
43
54
|
/**
|
|
44
55
|
*
|
|
45
56
|
* @type {string}
|
|
46
57
|
* @memberof Product
|
|
47
58
|
*/
|
|
48
|
-
name
|
|
59
|
+
name?: string;
|
|
49
60
|
/**
|
|
50
61
|
*
|
|
51
62
|
* @type {string}
|
|
52
63
|
* @memberof Product
|
|
53
64
|
*/
|
|
54
|
-
shortName
|
|
65
|
+
shortName?: string | null;
|
|
55
66
|
/**
|
|
56
67
|
*
|
|
57
68
|
* @type {string}
|
|
58
69
|
* @memberof Product
|
|
59
70
|
*/
|
|
60
|
-
dci
|
|
71
|
+
dci?: string | null;
|
|
61
72
|
/**
|
|
62
73
|
* Weight of a single unit in grams
|
|
63
74
|
* @type {number}
|
|
64
75
|
* @memberof Product
|
|
65
76
|
*/
|
|
66
|
-
unitWeight
|
|
77
|
+
unitWeight?: number | null;
|
|
67
78
|
/**
|
|
68
79
|
* Public price of the product
|
|
69
80
|
* @type {number}
|
|
70
81
|
* @memberof Product
|
|
71
82
|
*/
|
|
72
|
-
unitPrice
|
|
83
|
+
unitPrice?: number | null;
|
|
73
84
|
/**
|
|
74
85
|
*
|
|
75
86
|
* @type {ProductType}
|
|
76
87
|
* @memberof Product
|
|
77
88
|
*/
|
|
78
|
-
type
|
|
89
|
+
type?: ProductType | null;
|
|
79
90
|
/**
|
|
80
91
|
*
|
|
81
92
|
* @type {ProductSecondaryType}
|
|
82
93
|
* @memberof Product
|
|
83
94
|
*/
|
|
84
|
-
secondaryType
|
|
95
|
+
secondaryType?: ProductSecondaryType | null;
|
|
85
96
|
/**
|
|
86
97
|
*
|
|
87
98
|
* @type {LaboratoryLink}
|
|
88
99
|
* @memberof Product
|
|
89
100
|
*/
|
|
90
|
-
laboratory
|
|
101
|
+
laboratory?: LaboratoryLink | null;
|
|
91
102
|
/**
|
|
92
103
|
*
|
|
93
104
|
* @type {Vat}
|
|
94
105
|
* @memberof Product
|
|
95
106
|
*/
|
|
96
|
-
vat
|
|
107
|
+
vat?: Vat | null;
|
|
97
108
|
/**
|
|
98
109
|
*
|
|
99
110
|
* @type {boolean}
|
|
100
111
|
* @memberof Product
|
|
101
112
|
*/
|
|
102
|
-
narcoticPrescription
|
|
113
|
+
narcoticPrescription?: boolean | null;
|
|
103
114
|
/**
|
|
104
115
|
*
|
|
105
116
|
* @type {ProductStorageType}
|
|
106
117
|
* @memberof Product
|
|
107
118
|
*/
|
|
108
|
-
storageType
|
|
119
|
+
storageType?: ProductStorageType | null;
|
|
109
120
|
/**
|
|
110
121
|
*
|
|
111
122
|
* @type {ProductStatus}
|
|
112
123
|
* @memberof Product
|
|
113
124
|
*/
|
|
114
|
-
status
|
|
125
|
+
status?: ProductStatus | null;
|
|
115
126
|
/**
|
|
116
127
|
*
|
|
117
128
|
* @type {ProductMarketStatus}
|
|
118
129
|
* @memberof Product
|
|
119
130
|
*/
|
|
120
|
-
marketStatus
|
|
131
|
+
marketStatus?: ProductMarketStatus | null;
|
|
121
132
|
/**
|
|
122
133
|
*
|
|
123
134
|
* @type {ProductDispensationPlace}
|
|
124
135
|
* @memberof Product
|
|
125
136
|
*/
|
|
126
|
-
dispensationPlace
|
|
137
|
+
dispensationPlace?: ProductDispensationPlace | null;
|
|
127
138
|
/**
|
|
128
139
|
*
|
|
129
140
|
* @type {boolean}
|
|
130
141
|
* @memberof Product
|
|
131
142
|
*/
|
|
132
|
-
isOtc
|
|
143
|
+
isOtc?: boolean;
|
|
133
144
|
/**
|
|
134
145
|
*
|
|
135
146
|
* @type {boolean}
|
|
136
147
|
* @memberof Product
|
|
137
148
|
*/
|
|
138
|
-
isDrugInSport
|
|
149
|
+
isDrugInSport?: boolean | null;
|
|
139
150
|
/**
|
|
140
151
|
*
|
|
141
152
|
* @type {HttpLink}
|
|
142
153
|
* @memberof Product
|
|
143
154
|
*/
|
|
144
|
-
images
|
|
155
|
+
images?: HttpLink;
|
|
145
156
|
/**
|
|
146
157
|
* Creation date of this product
|
|
147
158
|
* @type {Date}
|
|
148
159
|
* @memberof Product
|
|
149
160
|
*/
|
|
150
|
-
createdAt
|
|
161
|
+
createdAt?: Date;
|
|
151
162
|
/**
|
|
152
163
|
*
|
|
153
164
|
* @type {Statistics}
|
|
154
165
|
* @memberof Product
|
|
155
166
|
*/
|
|
156
|
-
statistics
|
|
167
|
+
statistics?: Statistics;
|
|
157
168
|
/**
|
|
158
169
|
* If True, can only be sold by LABORATORY. If False, it can be sold by anyone.
|
|
159
170
|
* @type {boolean}
|
|
160
171
|
* @memberof Product
|
|
161
172
|
*/
|
|
162
|
-
restricted
|
|
173
|
+
restricted?: boolean;
|
|
163
174
|
/**
|
|
164
175
|
*
|
|
165
176
|
* @type {HttpLink}
|
|
166
177
|
* @memberof Product
|
|
167
178
|
*/
|
|
168
|
-
proscriptions
|
|
179
|
+
proscriptions?: HttpLink;
|
|
169
180
|
/**
|
|
170
181
|
* Associated tags for this product
|
|
171
182
|
* @type {Array<string>}
|
|
172
183
|
* @memberof Product
|
|
173
184
|
*/
|
|
174
|
-
tags
|
|
175
|
-
/**
|
|
176
|
-
*
|
|
177
|
-
* @type {ProductMetadata}
|
|
178
|
-
* @memberof Product
|
|
179
|
-
*/
|
|
180
|
-
metadata: ProductMetadata;
|
|
181
|
-
/**
|
|
182
|
-
*
|
|
183
|
-
* @type {ProductJournal}
|
|
184
|
-
* @memberof Product
|
|
185
|
-
*/
|
|
186
|
-
journal: ProductJournal;
|
|
185
|
+
tags?: Array<string>;
|
|
187
186
|
}
|
|
188
187
|
export declare function ProductFromJSON(json: any): Product;
|
|
189
188
|
export declare function ProductFromJSONTyped(json: any, ignoreDiscriminator: boolean): Product;
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ProductToJSON = exports.ProductFromJSONTyped = exports.ProductFromJSON = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
17
18
|
var Barcodes_1 = require("./Barcodes");
|
|
18
19
|
var HttpLink_1 = require("./HttpLink");
|
|
19
20
|
var LaboratoryLink_1 = require("./LaboratoryLink");
|
|
20
21
|
var ProductDispensationPlace_1 = require("./ProductDispensationPlace");
|
|
21
|
-
var ProductJournal_1 = require("./ProductJournal");
|
|
22
22
|
var ProductMarketStatus_1 = require("./ProductMarketStatus");
|
|
23
|
-
var
|
|
23
|
+
var ProductProvider_1 = require("./ProductProvider");
|
|
24
24
|
var ProductSecondaryType_1 = require("./ProductSecondaryType");
|
|
25
25
|
var ProductStatus_1 = require("./ProductStatus");
|
|
26
26
|
var ProductStorageType_1 = require("./ProductStorageType");
|
|
@@ -36,32 +36,32 @@ function ProductFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
return json;
|
|
37
37
|
}
|
|
38
38
|
return {
|
|
39
|
-
'id': json['id'],
|
|
40
|
-
'
|
|
41
|
-
'
|
|
42
|
-
'
|
|
43
|
-
'
|
|
44
|
-
'
|
|
45
|
-
'
|
|
46
|
-
'
|
|
47
|
-
'
|
|
48
|
-
'
|
|
49
|
-
'
|
|
50
|
-
'
|
|
51
|
-
'
|
|
52
|
-
'
|
|
53
|
-
'
|
|
54
|
-
'
|
|
55
|
-
'
|
|
56
|
-
'
|
|
57
|
-
'
|
|
58
|
-
'
|
|
59
|
-
'
|
|
60
|
-
'
|
|
61
|
-
'
|
|
62
|
-
'
|
|
63
|
-
'
|
|
64
|
-
'
|
|
39
|
+
'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
|
|
40
|
+
'isExternalSyncEnabled': !(0, runtime_1.exists)(json, 'isExternalSyncEnabled') ? undefined : json['isExternalSyncEnabled'],
|
|
41
|
+
'providers': !(0, runtime_1.exists)(json, 'providers') ? undefined : (json['providers'].map(ProductProvider_1.ProductProviderFromJSON)),
|
|
42
|
+
'barcodes': !(0, runtime_1.exists)(json, 'barcodes') ? undefined : (0, Barcodes_1.BarcodesFromJSON)(json['barcodes']),
|
|
43
|
+
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
44
|
+
'shortName': !(0, runtime_1.exists)(json, 'shortName') ? json['shortName'] : json['shortName'],
|
|
45
|
+
'dci': !(0, runtime_1.exists)(json, 'dci') ? json['dci'] : json['dci'],
|
|
46
|
+
'unitWeight': !(0, runtime_1.exists)(json, 'unitWeight') ? json['unitWeight'] : json['unitWeight'],
|
|
47
|
+
'unitPrice': !(0, runtime_1.exists)(json, 'unitPrice') ? json['unitPrice'] : json['unitPrice'],
|
|
48
|
+
'type': !(0, runtime_1.exists)(json, 'type') ? json['type'] : (0, ProductType_1.ProductTypeFromJSON)(json['type']),
|
|
49
|
+
'secondaryType': !(0, runtime_1.exists)(json, 'secondaryType') ? json['secondaryType'] : (0, ProductSecondaryType_1.ProductSecondaryTypeFromJSON)(json['secondaryType']),
|
|
50
|
+
'laboratory': !(0, runtime_1.exists)(json, 'laboratory') ? json['laboratory'] : (0, LaboratoryLink_1.LaboratoryLinkFromJSON)(json['laboratory']),
|
|
51
|
+
'vat': !(0, runtime_1.exists)(json, 'vat') ? json['vat'] : (0, Vat_1.VatFromJSON)(json['vat']),
|
|
52
|
+
'narcoticPrescription': !(0, runtime_1.exists)(json, 'narcoticPrescription') ? json['narcoticPrescription'] : json['narcoticPrescription'],
|
|
53
|
+
'storageType': !(0, runtime_1.exists)(json, 'storageType') ? json['storageType'] : (0, ProductStorageType_1.ProductStorageTypeFromJSON)(json['storageType']),
|
|
54
|
+
'status': !(0, runtime_1.exists)(json, 'status') ? json['status'] : (0, ProductStatus_1.ProductStatusFromJSON)(json['status']),
|
|
55
|
+
'marketStatus': !(0, runtime_1.exists)(json, 'marketStatus') ? json['marketStatus'] : (0, ProductMarketStatus_1.ProductMarketStatusFromJSON)(json['marketStatus']),
|
|
56
|
+
'dispensationPlace': !(0, runtime_1.exists)(json, 'dispensationPlace') ? json['dispensationPlace'] : (0, ProductDispensationPlace_1.ProductDispensationPlaceFromJSON)(json['dispensationPlace']),
|
|
57
|
+
'isOtc': !(0, runtime_1.exists)(json, 'isOtc') ? undefined : json['isOtc'],
|
|
58
|
+
'isDrugInSport': !(0, runtime_1.exists)(json, 'isDrugInSport') ? json['isDrugInSport'] : json['isDrugInSport'],
|
|
59
|
+
'images': !(0, runtime_1.exists)(json, 'images') ? undefined : (0, HttpLink_1.HttpLinkFromJSON)(json['images']),
|
|
60
|
+
'createdAt': !(0, runtime_1.exists)(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
|
|
61
|
+
'statistics': !(0, runtime_1.exists)(json, 'statistics') ? undefined : (0, Statistics_1.StatisticsFromJSON)(json['statistics']),
|
|
62
|
+
'restricted': !(0, runtime_1.exists)(json, 'restricted') ? undefined : json['restricted'],
|
|
63
|
+
'proscriptions': !(0, runtime_1.exists)(json, 'proscriptions') ? undefined : (0, HttpLink_1.HttpLinkFromJSON)(json['proscriptions']),
|
|
64
|
+
'tags': !(0, runtime_1.exists)(json, 'tags') ? undefined : json['tags'],
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
67
|
exports.ProductFromJSONTyped = ProductFromJSONTyped;
|
|
@@ -74,6 +74,8 @@ function ProductToJSON(value) {
|
|
|
74
74
|
}
|
|
75
75
|
return {
|
|
76
76
|
'id': value.id,
|
|
77
|
+
'isExternalSyncEnabled': value.isExternalSyncEnabled,
|
|
78
|
+
'providers': value.providers === undefined ? undefined : (value.providers.map(ProductProvider_1.ProductProviderToJSON)),
|
|
77
79
|
'barcodes': (0, Barcodes_1.BarcodesToJSON)(value.barcodes),
|
|
78
80
|
'name': value.name,
|
|
79
81
|
'shortName': value.shortName,
|
|
@@ -92,13 +94,11 @@ function ProductToJSON(value) {
|
|
|
92
94
|
'isOtc': value.isOtc,
|
|
93
95
|
'isDrugInSport': value.isDrugInSport,
|
|
94
96
|
'images': (0, HttpLink_1.HttpLinkToJSON)(value.images),
|
|
95
|
-
'createdAt': (value.createdAt.toISOString()),
|
|
97
|
+
'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
|
|
96
98
|
'statistics': (0, Statistics_1.StatisticsToJSON)(value.statistics),
|
|
97
99
|
'restricted': value.restricted,
|
|
98
100
|
'proscriptions': (0, HttpLink_1.HttpLinkToJSON)(value.proscriptions),
|
|
99
101
|
'tags': value.tags,
|
|
100
|
-
'metadata': (0, ProductMetadata_1.ProductMetadataToJSON)(value.metadata),
|
|
101
|
-
'journal': (0, ProductJournal_1.ProductJournalToJSON)(value.journal),
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
104
|
exports.ProductToJSON = ProductToJSON;
|
|
@@ -20,6 +20,12 @@ import { ProductStorageType } from './ProductStorageType';
|
|
|
20
20
|
* @interface ProductCreationOrUpdateParameters
|
|
21
21
|
*/
|
|
22
22
|
export interface ProductCreationOrUpdateParameters {
|
|
23
|
+
/**
|
|
24
|
+
* Triggers (single) synchronization from external provider if set to true. Restrictions : - You should be from role \'ADMINISTRATOR\' to change its value. Otherwise, you can just set it from true to true to trigger a (single) external provider synchronization.
|
|
25
|
+
* @type {boolean}
|
|
26
|
+
* @memberof ProductCreationOrUpdateParameters
|
|
27
|
+
*/
|
|
28
|
+
isExternalSyncEnabled?: boolean;
|
|
23
29
|
/**
|
|
24
30
|
*
|
|
25
31
|
* @type {Barcodes}
|
|
@@ -29,6 +29,7 @@ function ProductCreationOrUpdateParametersFromJSONTyped(json, ignoreDiscriminato
|
|
|
29
29
|
return json;
|
|
30
30
|
}
|
|
31
31
|
return {
|
|
32
|
+
'isExternalSyncEnabled': !(0, runtime_1.exists)(json, 'isExternalSyncEnabled') ? undefined : json['isExternalSyncEnabled'],
|
|
32
33
|
'barcodes': !(0, runtime_1.exists)(json, 'barcodes') ? undefined : (0, Barcodes_1.BarcodesFromJSON)(json['barcodes']),
|
|
33
34
|
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
34
35
|
'shortName': !(0, runtime_1.exists)(json, 'shortName') ? json['shortName'] : json['shortName'],
|
|
@@ -58,6 +59,7 @@ function ProductCreationOrUpdateParametersToJSON(value) {
|
|
|
58
59
|
return null;
|
|
59
60
|
}
|
|
60
61
|
return {
|
|
62
|
+
'isExternalSyncEnabled': value.isExternalSyncEnabled,
|
|
61
63
|
'barcodes': (0, Barcodes_1.BarcodesToJSON)(value.barcodes),
|
|
62
64
|
'name': value.name,
|
|
63
65
|
'shortName': value.shortName,
|
|
@@ -14,12 +14,10 @@
|
|
|
14
14
|
* @export
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
17
|
-
export declare enum
|
|
17
|
+
export declare enum ProductProvider {
|
|
18
18
|
VIDAL = "VIDAL",
|
|
19
|
-
BCB = "BCB"
|
|
20
|
-
LCDP = "LCDP",
|
|
21
|
-
USER = "USER"
|
|
19
|
+
BCB = "BCB"
|
|
22
20
|
}
|
|
23
|
-
export declare function
|
|
24
|
-
export declare function
|
|
25
|
-
export declare function
|
|
21
|
+
export declare function ProductProviderFromJSON(json: any): ProductProvider;
|
|
22
|
+
export declare function ProductProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductProvider;
|
|
23
|
+
export declare function ProductProviderToJSON(value?: ProductProvider | null): any;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* lcdp-monolith-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.ProductProviderToJSON = exports.ProductProviderFromJSONTyped = exports.ProductProviderFromJSON = exports.ProductProvider = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
var ProductProvider;
|
|
23
|
+
(function (ProductProvider) {
|
|
24
|
+
ProductProvider["VIDAL"] = "VIDAL";
|
|
25
|
+
ProductProvider["BCB"] = "BCB";
|
|
26
|
+
})(ProductProvider = exports.ProductProvider || (exports.ProductProvider = {}));
|
|
27
|
+
function ProductProviderFromJSON(json) {
|
|
28
|
+
return ProductProviderFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.ProductProviderFromJSON = ProductProviderFromJSON;
|
|
31
|
+
function ProductProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
exports.ProductProviderFromJSONTyped = ProductProviderFromJSONTyped;
|
|
35
|
+
function ProductProviderToJSON(value) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
exports.ProductProviderToJSON = ProductProviderToJSON;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export * from './Barcodes';
|
|
2
|
-
export * from './DataProvider';
|
|
3
2
|
export * from './HttpLink';
|
|
4
3
|
export * from './Image';
|
|
5
4
|
export * from './ImageCreationParameters';
|
|
@@ -15,12 +14,10 @@ export * from './PagingMetadata';
|
|
|
15
14
|
export * from './Product';
|
|
16
15
|
export * from './ProductCreationOrUpdateParameters';
|
|
17
16
|
export * from './ProductDispensationPlace';
|
|
18
|
-
export * from './ProductJournal';
|
|
19
17
|
export * from './ProductMarketStatus';
|
|
20
|
-
export * from './ProductMetadata';
|
|
21
|
-
export * from './ProductMetadataSources';
|
|
22
18
|
export * from './ProductProscription';
|
|
23
19
|
export * from './ProductProscriptionCreationParameters';
|
|
20
|
+
export * from './ProductProvider';
|
|
24
21
|
export * from './ProductSecondaryType';
|
|
25
22
|
export * from './ProductStatus';
|
|
26
23
|
export * from './ProductStorageType';
|
|
@@ -15,7 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./Barcodes"), exports);
|
|
18
|
-
__exportStar(require("./DataProvider"), exports);
|
|
19
18
|
__exportStar(require("./HttpLink"), exports);
|
|
20
19
|
__exportStar(require("./Image"), exports);
|
|
21
20
|
__exportStar(require("./ImageCreationParameters"), exports);
|
|
@@ -31,12 +30,10 @@ __exportStar(require("./PagingMetadata"), exports);
|
|
|
31
30
|
__exportStar(require("./Product"), exports);
|
|
32
31
|
__exportStar(require("./ProductCreationOrUpdateParameters"), exports);
|
|
33
32
|
__exportStar(require("./ProductDispensationPlace"), exports);
|
|
34
|
-
__exportStar(require("./ProductJournal"), exports);
|
|
35
33
|
__exportStar(require("./ProductMarketStatus"), exports);
|
|
36
|
-
__exportStar(require("./ProductMetadata"), exports);
|
|
37
|
-
__exportStar(require("./ProductMetadataSources"), exports);
|
|
38
34
|
__exportStar(require("./ProductProscription"), exports);
|
|
39
35
|
__exportStar(require("./ProductProscriptionCreationParameters"), exports);
|
|
36
|
+
__exportStar(require("./ProductProvider"), exports);
|
|
40
37
|
__exportStar(require("./ProductSecondaryType"), exports);
|
|
41
38
|
__exportStar(require("./ProductStatus"), exports);
|
|
42
39
|
__exportStar(require("./ProductStorageType"), exports);
|
package/catalog/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src';
|
package/catalog/index.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./src"), exports);
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-catalog
|
|
3
|
-
* This is the REST API of LCDP catalog
|
|
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 { BaseAPI, ApiResponse, BlobWithMeta } from '../runtime';
|
|
13
|
-
import { ProductInsight, ProductInsightCreationOrUpdateParameters } from '../models';
|
|
14
|
-
export interface CreateProductInsightRequest {
|
|
15
|
-
productInsightCreationOrUpdateParameters: ProductInsightCreationOrUpdateParameters;
|
|
16
|
-
}
|
|
17
|
-
export interface DeleteProductInsightRequest {
|
|
18
|
-
productInsightId: number;
|
|
19
|
-
}
|
|
20
|
-
export interface UpdateProductInsightRequest {
|
|
21
|
-
productInsightId: number;
|
|
22
|
-
productInsightCreationOrUpdateParameters: ProductInsightCreationOrUpdateParameters;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* no description
|
|
26
|
-
*/
|
|
27
|
-
export declare class ManageProductInsightApi extends BaseAPI {
|
|
28
|
-
/**
|
|
29
|
-
* Create a new product insight.
|
|
30
|
-
* Create a new product insight
|
|
31
|
-
*/
|
|
32
|
-
createProductInsightRaw(requestParameters: CreateProductInsightRequest): Promise<ApiResponse<ProductInsight | BlobWithMeta>>;
|
|
33
|
-
/**
|
|
34
|
-
* Create a new product insight.
|
|
35
|
-
* Create a new product insight
|
|
36
|
-
*/
|
|
37
|
-
createProductInsight(requestParameters: CreateProductInsightRequest): Promise<ProductInsight | BlobWithMeta>;
|
|
38
|
-
/**
|
|
39
|
-
* Delete product insight
|
|
40
|
-
*/
|
|
41
|
-
deleteProductInsightRaw(requestParameters: DeleteProductInsightRequest): Promise<ApiResponse<void>>;
|
|
42
|
-
/**
|
|
43
|
-
* Delete product insight
|
|
44
|
-
*/
|
|
45
|
-
deleteProductInsight(requestParameters: DeleteProductInsightRequest): Promise<void>;
|
|
46
|
-
/**
|
|
47
|
-
* Update product insight
|
|
48
|
-
*/
|
|
49
|
-
updateProductInsightRaw(requestParameters: UpdateProductInsightRequest): Promise<ApiResponse<ProductInsight | BlobWithMeta>>;
|
|
50
|
-
/**
|
|
51
|
-
* Update product insight
|
|
52
|
-
*/
|
|
53
|
-
updateProductInsight(requestParameters: UpdateProductInsightRequest): Promise<ProductInsight | BlobWithMeta>;
|
|
54
|
-
}
|