@lcdp/api-react-rest-client 2.2.0-fix-best-rebate-min.5257097244 → 2.2.0

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 (66) hide show
  1. package/package.json +1 -1
  2. package/product/src/apis/SearchProductMetadataApi.d.ts +0 -22
  3. package/product/src/apis/SearchProductMetadataApi.js +8 -154
  4. package/product/src/models/Product.d.ts +9 -9
  5. package/product/src/models/Product.js +5 -5
  6. package/product/src/models/{DataProvider.d.ts → ProductProvider.d.ts} +5 -7
  7. package/product/src/models/ProductProvider.js +38 -0
  8. package/product/src/models/index.d.ts +1 -3
  9. package/product/src/models/index.js +1 -3
  10. package/catalog/index.d.ts +0 -1
  11. package/catalog/index.js +0 -17
  12. package/catalog/src/apis/ManageProductInsightApi.d.ts +0 -54
  13. package/catalog/src/apis/ManageProductInsightApi.js +0 -295
  14. package/catalog/src/apis/SearchProductInsightApi.d.ts +0 -53
  15. package/catalog/src/apis/SearchProductInsightApi.js +0 -246
  16. package/catalog/src/apis/index.d.ts +0 -2
  17. package/catalog/src/apis/index.js +0 -18
  18. package/catalog/src/index.d.ts +0 -3
  19. package/catalog/src/index.js +0 -19
  20. package/catalog/src/models/Barcodes.d.ts +0 -45
  21. package/catalog/src/models/Barcodes.js +0 -48
  22. package/catalog/src/models/HttpLink.d.ts +0 -27
  23. package/catalog/src/models/HttpLink.js +0 -41
  24. package/catalog/src/models/LaboratoryLink.d.ts +0 -34
  25. package/catalog/src/models/LaboratoryLink.js +0 -50
  26. package/catalog/src/models/LaboratoryLinkAllOf.d.ts +0 -33
  27. package/catalog/src/models/LaboratoryLinkAllOf.js +0 -44
  28. package/catalog/src/models/PaginatedObject.d.ts +0 -28
  29. package/catalog/src/models/PaginatedObject.js +0 -42
  30. package/catalog/src/models/PaginatedProductInsights.d.ts +0 -29
  31. package/catalog/src/models/PaginatedProductInsights.js +0 -50
  32. package/catalog/src/models/PaginatedProductInsightsAllOf.d.ts +0 -28
  33. package/catalog/src/models/PaginatedProductInsightsAllOf.js +0 -42
  34. package/catalog/src/models/PagingMetadata.d.ts +0 -45
  35. package/catalog/src/models/PagingMetadata.js +0 -47
  36. package/catalog/src/models/ProductInsight.d.ts +0 -100
  37. package/catalog/src/models/ProductInsight.js +0 -70
  38. package/catalog/src/models/ProductInsightCreationOrUpdateParameters.d.ts +0 -83
  39. package/catalog/src/models/ProductInsightCreationOrUpdateParameters.js +0 -62
  40. package/catalog/src/models/ProductInsightJournal.d.ts +0 -33
  41. package/catalog/src/models/ProductInsightJournal.js +0 -43
  42. package/catalog/src/models/ProductSecondaryTypeLink.d.ts +0 -34
  43. package/catalog/src/models/ProductSecondaryTypeLink.js +0 -50
  44. package/catalog/src/models/ProductSecondaryTypeLinkAllOf.d.ts +0 -33
  45. package/catalog/src/models/ProductSecondaryTypeLinkAllOf.js +0 -44
  46. package/catalog/src/models/ProductStorageType.d.ts +0 -25
  47. package/catalog/src/models/ProductStorageType.js +0 -40
  48. package/catalog/src/models/ProductTypeLink.d.ts +0 -34
  49. package/catalog/src/models/ProductTypeLink.js +0 -50
  50. package/catalog/src/models/ProductTypeLinkAllOf.d.ts +0 -33
  51. package/catalog/src/models/ProductTypeLinkAllOf.js +0 -44
  52. package/catalog/src/models/RestError.d.ts +0 -85
  53. package/catalog/src/models/RestError.js +0 -97
  54. package/catalog/src/models/VatLink.d.ts +0 -40
  55. package/catalog/src/models/VatLink.js +0 -50
  56. package/catalog/src/models/VatLinkAllOf.d.ts +0 -39
  57. package/catalog/src/models/VatLinkAllOf.js +0 -46
  58. package/catalog/src/models/index.d.ts +0 -19
  59. package/catalog/src/models/index.js +0 -35
  60. package/catalog/src/runtime.d.ts +0 -149
  61. package/catalog/src/runtime.js +0 -480
  62. package/product/src/models/DataProvider.js +0 -40
  63. package/product/src/models/ProductMetadata.d.ts +0 -28
  64. package/product/src/models/ProductMetadata.js +0 -42
  65. package/product/src/models/ProductMetadataSources.d.ts +0 -88
  66. package/product/src/models/ProductMetadataSources.js +0 -62
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lcdp/api-react-rest-client",
3
- "version": "2.2.0-fix-best-rebate-min.5257097244",
3
+ "version": "2.2.0",
4
4
  "scripts": {
5
5
  "build": "tsc"
6
6
  },
@@ -11,24 +11,10 @@
11
11
  */
12
12
  import { BaseAPI, ApiResponse, BlobWithMeta } from '../runtime';
13
13
  import { ProductSecondaryType, ProductType } from '../models';
14
- export interface GetProductSecondaryTypeRequest {
15
- secondaryTypeId: string;
16
- }
17
- export interface GetProductTypeRequest {
18
- typeId: string;
19
- }
20
14
  /**
21
15
  * no description
22
16
  */
23
17
  export declare class SearchProductMetadataApi extends BaseAPI {
24
- /**
25
- * Get product secondary type
26
- */
27
- getProductSecondaryTypeRaw(requestParameters: GetProductSecondaryTypeRequest): Promise<ApiResponse<ProductSecondaryType | BlobWithMeta>>;
28
- /**
29
- * Get product secondary type
30
- */
31
- getProductSecondaryType(requestParameters: GetProductSecondaryTypeRequest): Promise<ProductSecondaryType | BlobWithMeta>;
32
18
  /**
33
19
  * Get product secondary types
34
20
  */
@@ -37,14 +23,6 @@ export declare class SearchProductMetadataApi extends BaseAPI {
37
23
  * Get product secondary types
38
24
  */
39
25
  getProductSecondaryTypes(): Promise<Array<ProductSecondaryType> | BlobWithMeta>;
40
- /**
41
- * Get product type
42
- */
43
- getProductTypeRaw(requestParameters: GetProductTypeRequest): Promise<ApiResponse<ProductType | BlobWithMeta>>;
44
- /**
45
- * Get product type
46
- */
47
- getProductType(requestParameters: GetProductTypeRequest): Promise<ProductType | BlobWithMeta>;
48
26
  /**
49
27
  * Get product types
50
28
  */
@@ -75,85 +75,12 @@ var SearchProductMetadataApi = /** @class */ (function (_super) {
75
75
  function SearchProductMetadataApi() {
76
76
  return _super !== null && _super.apply(this, arguments) || this;
77
77
  }
78
- /**
79
- * Get product secondary type
80
- */
81
- SearchProductMetadataApi.prototype.getProductSecondaryTypeRaw = function (requestParameters) {
82
- return __awaiter(this, void 0, void 0, function () {
83
- var queryParameters, headerParameters, token, tokenString, response, contentType, response_1;
84
- return __generator(this, function (_a) {
85
- switch (_a.label) {
86
- case 0:
87
- if (requestParameters.secondaryTypeId === null || requestParameters.secondaryTypeId === undefined) {
88
- throw new runtime_1.RequiredError('secondaryTypeId', 'Required parameter requestParameters.secondaryTypeId was null or undefined when calling getProductSecondaryType.');
89
- }
90
- queryParameters = {};
91
- headerParameters = {};
92
- if (this.configuration && this.configuration.apiKey) {
93
- headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
94
- }
95
- if (this.configuration && this.configuration.accessToken) {
96
- token = this.configuration.accessToken;
97
- tokenString = typeof token === 'function' ? token("bearerAuth", []) : token;
98
- if (tokenString) {
99
- headerParameters["Authorization"] = "Bearer ".concat(tokenString);
100
- }
101
- }
102
- _a.label = 1;
103
- case 1:
104
- _a.trys.push([1, 3, , 4]);
105
- return [4 /*yield*/, this.request({
106
- path: "/products/secondary-types/{secondaryTypeId}".replace("{".concat("secondaryTypeId", "}"), encodeURIComponent(String(requestParameters.secondaryTypeId))),
107
- method: 'GET',
108
- headers: headerParameters,
109
- query: queryParameters,
110
- })];
111
- case 2:
112
- response = _a.sent();
113
- contentType = response.headers.get("content-type");
114
- if (contentType && contentType.indexOf("application/json") !== -1) {
115
- return [2 /*return*/, new runtime_1.JSONApiResponse(response, function (jsonValue) { return (0, models_1.ProductSecondaryTypeFromJSON)(jsonValue); })];
116
- }
117
- else if (contentType && contentType.indexOf("text/plain") !== -1) {
118
- return [2 /*return*/, new runtime_1.TextApiResponse(response)];
119
- }
120
- else {
121
- // TODO : Better handling of others application types
122
- return [2 /*return*/, new runtime_1.BlobWithMetaApiResponse(response)];
123
- }
124
- return [3 /*break*/, 4];
125
- case 3:
126
- response_1 = _a.sent();
127
- console.debug(response_1);
128
- throw response_1;
129
- case 4: return [2 /*return*/];
130
- }
131
- });
132
- });
133
- };
134
- /**
135
- * Get product secondary type
136
- */
137
- SearchProductMetadataApi.prototype.getProductSecondaryType = function (requestParameters) {
138
- return __awaiter(this, void 0, void 0, function () {
139
- var response;
140
- return __generator(this, function (_a) {
141
- switch (_a.label) {
142
- case 0: return [4 /*yield*/, this.getProductSecondaryTypeRaw(requestParameters)];
143
- case 1:
144
- response = _a.sent();
145
- return [4 /*yield*/, response.value()];
146
- case 2: return [2 /*return*/, _a.sent()];
147
- }
148
- });
149
- });
150
- };
151
78
  /**
152
79
  * Get product secondary types
153
80
  */
154
81
  SearchProductMetadataApi.prototype.getProductSecondaryTypesRaw = function () {
155
82
  return __awaiter(this, void 0, void 0, function () {
156
- var queryParameters, headerParameters, token, tokenString, response, contentType, response_2;
83
+ var queryParameters, headerParameters, token, tokenString, response, contentType, response_1;
157
84
  return __generator(this, function (_a) {
158
85
  switch (_a.label) {
159
86
  case 0:
@@ -193,9 +120,9 @@ var SearchProductMetadataApi = /** @class */ (function (_super) {
193
120
  }
194
121
  return [3 /*break*/, 4];
195
122
  case 3:
196
- response_2 = _a.sent();
197
- console.debug(response_2);
198
- throw response_2;
123
+ response_1 = _a.sent();
124
+ console.debug(response_1);
125
+ throw response_1;
199
126
  case 4: return [2 /*return*/];
200
127
  }
201
128
  });
@@ -218,85 +145,12 @@ var SearchProductMetadataApi = /** @class */ (function (_super) {
218
145
  });
219
146
  });
220
147
  };
221
- /**
222
- * Get product type
223
- */
224
- SearchProductMetadataApi.prototype.getProductTypeRaw = function (requestParameters) {
225
- return __awaiter(this, void 0, void 0, function () {
226
- var queryParameters, headerParameters, token, tokenString, response, contentType, response_3;
227
- return __generator(this, function (_a) {
228
- switch (_a.label) {
229
- case 0:
230
- if (requestParameters.typeId === null || requestParameters.typeId === undefined) {
231
- throw new runtime_1.RequiredError('typeId', 'Required parameter requestParameters.typeId was null or undefined when calling getProductType.');
232
- }
233
- queryParameters = {};
234
- headerParameters = {};
235
- if (this.configuration && this.configuration.apiKey) {
236
- headerParameters["x-api-key"] = this.configuration.apiKey("x-api-key"); // apiKeyAuth authentication
237
- }
238
- if (this.configuration && this.configuration.accessToken) {
239
- token = this.configuration.accessToken;
240
- tokenString = typeof token === 'function' ? token("bearerAuth", []) : token;
241
- if (tokenString) {
242
- headerParameters["Authorization"] = "Bearer ".concat(tokenString);
243
- }
244
- }
245
- _a.label = 1;
246
- case 1:
247
- _a.trys.push([1, 3, , 4]);
248
- return [4 /*yield*/, this.request({
249
- path: "/products/types/{typeId}".replace("{".concat("typeId", "}"), encodeURIComponent(String(requestParameters.typeId))),
250
- method: 'GET',
251
- headers: headerParameters,
252
- query: queryParameters,
253
- })];
254
- case 2:
255
- response = _a.sent();
256
- contentType = response.headers.get("content-type");
257
- if (contentType && contentType.indexOf("application/json") !== -1) {
258
- return [2 /*return*/, new runtime_1.JSONApiResponse(response, function (jsonValue) { return (0, models_1.ProductTypeFromJSON)(jsonValue); })];
259
- }
260
- else if (contentType && contentType.indexOf("text/plain") !== -1) {
261
- return [2 /*return*/, new runtime_1.TextApiResponse(response)];
262
- }
263
- else {
264
- // TODO : Better handling of others application types
265
- return [2 /*return*/, new runtime_1.BlobWithMetaApiResponse(response)];
266
- }
267
- return [3 /*break*/, 4];
268
- case 3:
269
- response_3 = _a.sent();
270
- console.debug(response_3);
271
- throw response_3;
272
- case 4: return [2 /*return*/];
273
- }
274
- });
275
- });
276
- };
277
- /**
278
- * Get product type
279
- */
280
- SearchProductMetadataApi.prototype.getProductType = function (requestParameters) {
281
- return __awaiter(this, void 0, void 0, function () {
282
- var response;
283
- return __generator(this, function (_a) {
284
- switch (_a.label) {
285
- case 0: return [4 /*yield*/, this.getProductTypeRaw(requestParameters)];
286
- case 1:
287
- response = _a.sent();
288
- return [4 /*yield*/, response.value()];
289
- case 2: return [2 /*return*/, _a.sent()];
290
- }
291
- });
292
- });
293
- };
294
148
  /**
295
149
  * Get product types
296
150
  */
297
151
  SearchProductMetadataApi.prototype.getProductTypesRaw = function () {
298
152
  return __awaiter(this, void 0, void 0, function () {
299
- var queryParameters, headerParameters, token, tokenString, response, contentType, response_4;
153
+ var queryParameters, headerParameters, token, tokenString, response, contentType, response_2;
300
154
  return __generator(this, function (_a) {
301
155
  switch (_a.label) {
302
156
  case 0:
@@ -336,9 +190,9 @@ var SearchProductMetadataApi = /** @class */ (function (_super) {
336
190
  }
337
191
  return [3 /*break*/, 4];
338
192
  case 3:
339
- response_4 = _a.sent();
340
- console.debug(response_4);
341
- throw response_4;
193
+ response_2 = _a.sent();
194
+ console.debug(response_2);
195
+ throw response_2;
342
196
  case 4: return [2 /*return*/];
343
197
  }
344
198
  });
@@ -14,7 +14,7 @@ import { HttpLink } from './HttpLink';
14
14
  import { LaboratoryLink } from './LaboratoryLink';
15
15
  import { ProductDispensationPlace } from './ProductDispensationPlace';
16
16
  import { ProductMarketStatus } from './ProductMarketStatus';
17
- import { ProductMetadata } from './ProductMetadata';
17
+ import { ProductProvider } from './ProductProvider';
18
18
  import { ProductSecondaryType } from './ProductSecondaryType';
19
19
  import { ProductStatus } from './ProductStatus';
20
20
  import { ProductStorageType } from './ProductStorageType';
@@ -32,13 +32,19 @@ export interface Product {
32
32
  * @type {number}
33
33
  * @memberof Product
34
34
  */
35
- id: number;
35
+ id?: number;
36
36
  /**
37
37
  * Indicates if automatic external synchronization is enabled
38
38
  * @type {boolean}
39
39
  * @memberof Product
40
40
  */
41
41
  isExternalSyncEnabled?: boolean;
42
+ /**
43
+ *
44
+ * @type {Array<ProductProvider>}
45
+ * @memberof Product
46
+ */
47
+ providers?: Array<ProductProvider>;
42
48
  /**
43
49
  *
44
50
  * @type {Barcodes}
@@ -50,7 +56,7 @@ export interface Product {
50
56
  * @type {string}
51
57
  * @memberof Product
52
58
  */
53
- name: string;
59
+ name?: string;
54
60
  /**
55
61
  *
56
62
  * @type {string}
@@ -177,12 +183,6 @@ export interface Product {
177
183
  * @memberof Product
178
184
  */
179
185
  tags?: Array<string>;
180
- /**
181
- *
182
- * @type {ProductMetadata}
183
- * @memberof Product
184
- */
185
- metadata: ProductMetadata;
186
186
  }
187
187
  export declare function ProductFromJSON(json: any): Product;
188
188
  export declare function ProductFromJSONTyped(json: any, ignoreDiscriminator: boolean): Product;
@@ -20,7 +20,7 @@ var HttpLink_1 = require("./HttpLink");
20
20
  var LaboratoryLink_1 = require("./LaboratoryLink");
21
21
  var ProductDispensationPlace_1 = require("./ProductDispensationPlace");
22
22
  var ProductMarketStatus_1 = require("./ProductMarketStatus");
23
- var ProductMetadata_1 = require("./ProductMetadata");
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,10 +36,11 @@ function ProductFromJSONTyped(json, ignoreDiscriminator) {
36
36
  return json;
37
37
  }
38
38
  return {
39
- 'id': json['id'],
39
+ 'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
40
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)),
41
42
  'barcodes': !(0, runtime_1.exists)(json, 'barcodes') ? undefined : (0, Barcodes_1.BarcodesFromJSON)(json['barcodes']),
42
- 'name': json['name'],
43
+ 'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
43
44
  'shortName': !(0, runtime_1.exists)(json, 'shortName') ? json['shortName'] : json['shortName'],
44
45
  'dci': !(0, runtime_1.exists)(json, 'dci') ? json['dci'] : json['dci'],
45
46
  'unitWeight': !(0, runtime_1.exists)(json, 'unitWeight') ? json['unitWeight'] : json['unitWeight'],
@@ -61,7 +62,6 @@ function ProductFromJSONTyped(json, ignoreDiscriminator) {
61
62
  'restricted': !(0, runtime_1.exists)(json, 'restricted') ? undefined : json['restricted'],
62
63
  'proscriptions': !(0, runtime_1.exists)(json, 'proscriptions') ? undefined : (0, HttpLink_1.HttpLinkFromJSON)(json['proscriptions']),
63
64
  'tags': !(0, runtime_1.exists)(json, 'tags') ? undefined : json['tags'],
64
- 'metadata': (0, ProductMetadata_1.ProductMetadataFromJSON)(json['metadata']),
65
65
  };
66
66
  }
67
67
  exports.ProductFromJSONTyped = ProductFromJSONTyped;
@@ -75,6 +75,7 @@ function ProductToJSON(value) {
75
75
  return {
76
76
  'id': value.id,
77
77
  'isExternalSyncEnabled': value.isExternalSyncEnabled,
78
+ 'providers': value.providers === undefined ? undefined : (value.providers.map(ProductProvider_1.ProductProviderToJSON)),
78
79
  'barcodes': (0, Barcodes_1.BarcodesToJSON)(value.barcodes),
79
80
  'name': value.name,
80
81
  'shortName': value.shortName,
@@ -98,7 +99,6 @@ function ProductToJSON(value) {
98
99
  'restricted': value.restricted,
99
100
  'proscriptions': (0, HttpLink_1.HttpLinkToJSON)(value.proscriptions),
100
101
  'tags': value.tags,
101
- 'metadata': (0, ProductMetadata_1.ProductMetadataToJSON)(value.metadata),
102
102
  };
103
103
  }
104
104
  exports.ProductToJSON = ProductToJSON;
@@ -14,12 +14,10 @@
14
14
  * @export
15
15
  * @enum {string}
16
16
  */
17
- export declare enum DataProvider {
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 DataProviderFromJSON(json: any): DataProvider;
24
- export declare function DataProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): DataProvider;
25
- export declare function DataProviderToJSON(value?: DataProvider | null): any;
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';
@@ -16,10 +15,9 @@ export * from './Product';
16
15
  export * from './ProductCreationOrUpdateParameters';
17
16
  export * from './ProductDispensationPlace';
18
17
  export * from './ProductMarketStatus';
19
- export * from './ProductMetadata';
20
- export * from './ProductMetadataSources';
21
18
  export * from './ProductProscription';
22
19
  export * from './ProductProscriptionCreationParameters';
20
+ export * from './ProductProvider';
23
21
  export * from './ProductSecondaryType';
24
22
  export * from './ProductStatus';
25
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);
@@ -32,10 +31,9 @@ __exportStar(require("./Product"), exports);
32
31
  __exportStar(require("./ProductCreationOrUpdateParameters"), exports);
33
32
  __exportStar(require("./ProductDispensationPlace"), exports);
34
33
  __exportStar(require("./ProductMarketStatus"), exports);
35
- __exportStar(require("./ProductMetadata"), exports);
36
- __exportStar(require("./ProductMetadataSources"), exports);
37
34
  __exportStar(require("./ProductProscription"), exports);
38
35
  __exportStar(require("./ProductProscriptionCreationParameters"), exports);
36
+ __exportStar(require("./ProductProvider"), exports);
39
37
  __exportStar(require("./ProductSecondaryType"), exports);
40
38
  __exportStar(require("./ProductStatus"), exports);
41
39
  __exportStar(require("./ProductStorageType"), exports);
@@ -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
- }