@lcdp/api-react-rest-client 2.5.10 → 2.5.11-develop.7340704556

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lcdp/api-react-rest-client",
3
- "version": "2.5.10",
3
+ "version": "2.5.11-develop.7340704556",
4
4
  "scripts": {
5
5
  "build": "tsc"
6
6
  },
@@ -17,6 +17,7 @@
17
17
  export declare enum DataProvider {
18
18
  VIDAL = "VIDAL",
19
19
  BCB = "BCB",
20
+ MEDIPIM = "MEDIPIM",
20
21
  LCDPCATALOG = "LCDP_CATALOG",
21
22
  USER = "USER"
22
23
  }
@@ -23,6 +23,7 @@ var DataProvider;
23
23
  (function (DataProvider) {
24
24
  DataProvider["VIDAL"] = "VIDAL";
25
25
  DataProvider["BCB"] = "BCB";
26
+ DataProvider["MEDIPIM"] = "MEDIPIM";
26
27
  DataProvider["LCDPCATALOG"] = "LCDP_CATALOG";
27
28
  DataProvider["USER"] = "USER";
28
29
  })(DataProvider = exports.DataProvider || (exports.DataProvider = {}));
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import { ProductSourceBcb } from './ProductSourceBcb';
13
13
  import { ProductSourceFields } from './ProductSourceFields';
14
+ import { ProductSourceMedipim } from './ProductSourceMedipim';
14
15
  /**
15
16
  *
16
17
  * @export
@@ -29,6 +30,12 @@ export interface ProductSource {
29
30
  * @memberof ProductSource
30
31
  */
31
32
  vidal: ProductSourceBcb | null;
33
+ /**
34
+ *
35
+ * @type {ProductSourceMedipim}
36
+ * @memberof ProductSource
37
+ */
38
+ medipim: ProductSourceMedipim | null;
32
39
  /**
33
40
  *
34
41
  * @type {ProductSourceBcb}
@@ -16,6 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ProductSourceToJSON = exports.ProductSourceFromJSONTyped = exports.ProductSourceFromJSON = void 0;
17
17
  var ProductSourceBcb_1 = require("./ProductSourceBcb");
18
18
  var ProductSourceFields_1 = require("./ProductSourceFields");
19
+ var ProductSourceMedipim_1 = require("./ProductSourceMedipim");
19
20
  function ProductSourceFromJSON(json) {
20
21
  return ProductSourceFromJSONTyped(json, false);
21
22
  }
@@ -27,6 +28,7 @@ function ProductSourceFromJSONTyped(json, ignoreDiscriminator) {
27
28
  return {
28
29
  'bcb': (0, ProductSourceBcb_1.ProductSourceBcbFromJSON)(json['bcb']),
29
30
  'vidal': (0, ProductSourceBcb_1.ProductSourceBcbFromJSON)(json['vidal']),
31
+ 'medipim': (0, ProductSourceMedipim_1.ProductSourceMedipimFromJSON)(json['medipim']),
30
32
  'lcdpCatalog': (0, ProductSourceBcb_1.ProductSourceBcbFromJSON)(json['lcdpCatalog']),
31
33
  'fields': (0, ProductSourceFields_1.ProductSourceFieldsFromJSON)(json['fields']),
32
34
  };
@@ -42,6 +44,7 @@ function ProductSourceToJSON(value) {
42
44
  return {
43
45
  'bcb': (0, ProductSourceBcb_1.ProductSourceBcbToJSON)(value.bcb),
44
46
  'vidal': (0, ProductSourceBcb_1.ProductSourceBcbToJSON)(value.vidal),
47
+ 'medipim': (0, ProductSourceMedipim_1.ProductSourceMedipimToJSON)(value.medipim),
45
48
  'lcdpCatalog': (0, ProductSourceBcb_1.ProductSourceBcbToJSON)(value.lcdpCatalog),
46
49
  'fields': (0, ProductSourceFields_1.ProductSourceFieldsToJSON)(value.fields),
47
50
  };
@@ -0,0 +1,27 @@
1
+ /**
2
+ * lcdp-monolith-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 ProductSourceMedipim
16
+ */
17
+ export interface ProductSourceMedipim {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ProductSourceMedipim
22
+ */
23
+ id: string | null;
24
+ }
25
+ export declare function ProductSourceMedipimFromJSON(json: any): ProductSourceMedipim;
26
+ export declare function ProductSourceMedipimFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductSourceMedipim;
27
+ export declare function ProductSourceMedipimToJSON(value?: ProductSourceMedipim | null): any;
@@ -0,0 +1,41 @@
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.ProductSourceMedipimToJSON = exports.ProductSourceMedipimFromJSONTyped = exports.ProductSourceMedipimFromJSON = void 0;
17
+ function ProductSourceMedipimFromJSON(json) {
18
+ return ProductSourceMedipimFromJSONTyped(json, false);
19
+ }
20
+ exports.ProductSourceMedipimFromJSON = ProductSourceMedipimFromJSON;
21
+ function ProductSourceMedipimFromJSONTyped(json, ignoreDiscriminator) {
22
+ if ((json === undefined) || (json === null)) {
23
+ return json;
24
+ }
25
+ return {
26
+ 'id': json['id'],
27
+ };
28
+ }
29
+ exports.ProductSourceMedipimFromJSONTyped = ProductSourceMedipimFromJSONTyped;
30
+ function ProductSourceMedipimToJSON(value) {
31
+ if (value === undefined) {
32
+ return undefined;
33
+ }
34
+ if (value === null) {
35
+ return null;
36
+ }
37
+ return {
38
+ 'id': value.id,
39
+ };
40
+ }
41
+ exports.ProductSourceMedipimToJSON = ProductSourceMedipimToJSON;
@@ -24,6 +24,7 @@ export * from './ProductSource';
24
24
  export * from './ProductSourceBcb';
25
25
  export * from './ProductSourceFields';
26
26
  export * from './ProductSourceFieldsBarcodes';
27
+ export * from './ProductSourceMedipim';
27
28
  export * from './ProductStatus';
28
29
  export * from './ProductStorageType';
29
30
  export * from './ProductType';
@@ -40,6 +40,7 @@ __exportStar(require("./ProductSource"), exports);
40
40
  __exportStar(require("./ProductSourceBcb"), exports);
41
41
  __exportStar(require("./ProductSourceFields"), exports);
42
42
  __exportStar(require("./ProductSourceFieldsBarcodes"), exports);
43
+ __exportStar(require("./ProductSourceMedipim"), exports);
43
44
  __exportStar(require("./ProductStatus"), exports);
44
45
  __exportStar(require("./ProductStorageType"), exports);
45
46
  __exportStar(require("./ProductType"), exports);