@lcdp/api-react-rest-client 2.5.11 → 2.5.12-LDS-3319-do-not-consider-http-error-as-u.7410833489

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.
@@ -28,6 +28,12 @@ export interface SynchroneityOffisante {
28
28
  * @memberof SynchroneityOffisante
29
29
  */
30
30
  overstock?: SynchroneitySource;
31
+ /**
32
+ * If true, the offisante status will be updated
33
+ * @type {boolean}
34
+ * @memberof SynchroneityOffisante
35
+ */
36
+ status?: boolean;
31
37
  }
32
38
  export declare function SynchroneityOffisanteFromJSON(json: any): SynchroneityOffisante;
33
39
  export declare function SynchroneityOffisanteFromJSONTyped(json: any, ignoreDiscriminator: boolean): SynchroneityOffisante;
@@ -27,6 +27,7 @@ function SynchroneityOffisanteFromJSONTyped(json, ignoreDiscriminator) {
27
27
  return {
28
28
  'stock': !(0, runtime_1.exists)(json, 'stock') ? undefined : (0, SynchroneitySource_1.SynchroneitySourceFromJSON)(json['stock']),
29
29
  'overstock': !(0, runtime_1.exists)(json, 'overstock') ? undefined : (0, SynchroneitySource_1.SynchroneitySourceFromJSON)(json['overstock']),
30
+ 'status': !(0, runtime_1.exists)(json, 'status') ? undefined : json['status'],
30
31
  };
31
32
  }
32
33
  exports.SynchroneityOffisanteFromJSONTyped = SynchroneityOffisanteFromJSONTyped;
@@ -40,6 +41,7 @@ function SynchroneityOffisanteToJSON(value) {
40
41
  return {
41
42
  'stock': (0, SynchroneitySource_1.SynchroneitySourceToJSON)(value.stock),
42
43
  'overstock': (0, SynchroneitySource_1.SynchroneitySourceToJSON)(value.overstock),
44
+ 'status': value.status,
43
45
  };
44
46
  }
45
47
  exports.SynchroneityOffisanteToJSON = SynchroneityOffisanteToJSON;
@@ -22,7 +22,7 @@ export interface SynchroneitySource {
22
22
  */
23
23
  lastSynchronizationDate?: Date | null;
24
24
  /**
25
- * If true, the source will be synrchonized ASAP
25
+ * If true, the source will be synchronized ASAP
26
26
  * @type {boolean}
27
27
  * @memberof SynchroneitySource
28
28
  */
@@ -58,7 +58,8 @@ export declare enum NotificationTypeId {
58
58
  ORDERVALIDATEDSELLER = "ORDER_VALIDATED_SELLER",
59
59
  PHARMAIDEFIRSTSUBSCRIPTION = "PHARMAIDE_FIRST_SUBSCRIPTION",
60
60
  PHARMAIDESBTESTEXPIRATION = "PHARMAIDE_SB_TEST_EXPIRATION",
61
- PHARMAIDETESTTESTEXPIRATION = "PHARMAIDE_TEST_TEST_EXPIRATION"
61
+ PHARMAIDETESTTESTEXPIRATION = "PHARMAIDE_TEST_TEST_EXPIRATION",
62
+ REQUESTFORORDERINVOICE = "REQUEST_FOR_ORDER_INVOICE"
62
63
  }
63
64
  export declare function NotificationTypeIdFromJSON(json: any): NotificationTypeId;
64
65
  export declare function NotificationTypeIdFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationTypeId;
@@ -65,6 +65,7 @@ var NotificationTypeId;
65
65
  NotificationTypeId["PHARMAIDEFIRSTSUBSCRIPTION"] = "PHARMAIDE_FIRST_SUBSCRIPTION";
66
66
  NotificationTypeId["PHARMAIDESBTESTEXPIRATION"] = "PHARMAIDE_SB_TEST_EXPIRATION";
67
67
  NotificationTypeId["PHARMAIDETESTTESTEXPIRATION"] = "PHARMAIDE_TEST_TEST_EXPIRATION";
68
+ NotificationTypeId["REQUESTFORORDERINVOICE"] = "REQUEST_FOR_ORDER_INVOICE";
68
69
  })(NotificationTypeId = exports.NotificationTypeId || (exports.NotificationTypeId = {}));
69
70
  function NotificationTypeIdFromJSON(json) {
70
71
  return NotificationTypeIdFromJSONTyped(json, false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lcdp/api-react-rest-client",
3
- "version": "2.5.11",
3
+ "version": "2.5.12-LDS-3319-do-not-consider-http-error-as-u.7410833489",
4
4
  "scripts": {
5
5
  "build": "tsc"
6
6
  },
@@ -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);
@@ -58,7 +58,8 @@ export declare enum NotificationTypeId {
58
58
  ORDERVALIDATEDSELLER = "ORDER_VALIDATED_SELLER",
59
59
  PHARMAIDEFIRSTSUBSCRIPTION = "PHARMAIDE_FIRST_SUBSCRIPTION",
60
60
  PHARMAIDESBTESTEXPIRATION = "PHARMAIDE_SB_TEST_EXPIRATION",
61
- PHARMAIDETESTTESTEXPIRATION = "PHARMAIDE_TEST_TEST_EXPIRATION"
61
+ PHARMAIDETESTTESTEXPIRATION = "PHARMAIDE_TEST_TEST_EXPIRATION",
62
+ REQUESTFORORDERINVOICE = "REQUEST_FOR_ORDER_INVOICE"
62
63
  }
63
64
  export declare function NotificationTypeIdFromJSON(json: any): NotificationTypeId;
64
65
  export declare function NotificationTypeIdFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationTypeId;
@@ -65,6 +65,7 @@ var NotificationTypeId;
65
65
  NotificationTypeId["PHARMAIDEFIRSTSUBSCRIPTION"] = "PHARMAIDE_FIRST_SUBSCRIPTION";
66
66
  NotificationTypeId["PHARMAIDESBTESTEXPIRATION"] = "PHARMAIDE_SB_TEST_EXPIRATION";
67
67
  NotificationTypeId["PHARMAIDETESTTESTEXPIRATION"] = "PHARMAIDE_TEST_TEST_EXPIRATION";
68
+ NotificationTypeId["REQUESTFORORDERINVOICE"] = "REQUEST_FOR_ORDER_INVOICE";
68
69
  })(NotificationTypeId = exports.NotificationTypeId || (exports.NotificationTypeId = {}));
69
70
  function NotificationTypeIdFromJSON(json) {
70
71
  return NotificationTypeIdFromJSONTyped(json, false);