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

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.
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { SynchroneitySource } from './SynchroneitySource';
13
- import { SynchroneityStatus } from './SynchroneityStatus';
14
13
  /**
15
14
  *
16
15
  * @export
@@ -29,12 +28,6 @@ export interface SynchroneityOffisante {
29
28
  * @memberof SynchroneityOffisante
30
29
  */
31
30
  overstock?: SynchroneitySource;
32
- /**
33
- *
34
- * @type {SynchroneityStatus}
35
- * @memberof SynchroneityOffisante
36
- */
37
- status?: SynchroneityStatus;
38
31
  }
39
32
  export declare function SynchroneityOffisanteFromJSON(json: any): SynchroneityOffisante;
40
33
  export declare function SynchroneityOffisanteFromJSONTyped(json: any, ignoreDiscriminator: boolean): SynchroneityOffisante;
@@ -16,7 +16,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.SynchroneityOffisanteToJSON = exports.SynchroneityOffisanteFromJSONTyped = exports.SynchroneityOffisanteFromJSON = void 0;
17
17
  var runtime_1 = require("../runtime");
18
18
  var SynchroneitySource_1 = require("./SynchroneitySource");
19
- var SynchroneityStatus_1 = require("./SynchroneityStatus");
20
19
  function SynchroneityOffisanteFromJSON(json) {
21
20
  return SynchroneityOffisanteFromJSONTyped(json, false);
22
21
  }
@@ -28,7 +27,6 @@ function SynchroneityOffisanteFromJSONTyped(json, ignoreDiscriminator) {
28
27
  return {
29
28
  'stock': !(0, runtime_1.exists)(json, 'stock') ? undefined : (0, SynchroneitySource_1.SynchroneitySourceFromJSON)(json['stock']),
30
29
  'overstock': !(0, runtime_1.exists)(json, 'overstock') ? undefined : (0, SynchroneitySource_1.SynchroneitySourceFromJSON)(json['overstock']),
31
- 'status': !(0, runtime_1.exists)(json, 'status') ? undefined : (0, SynchroneityStatus_1.SynchroneityStatusFromJSON)(json['status']),
32
30
  };
33
31
  }
34
32
  exports.SynchroneityOffisanteFromJSONTyped = SynchroneityOffisanteFromJSONTyped;
@@ -42,7 +40,6 @@ function SynchroneityOffisanteToJSON(value) {
42
40
  return {
43
41
  'stock': (0, SynchroneitySource_1.SynchroneitySourceToJSON)(value.stock),
44
42
  'overstock': (0, SynchroneitySource_1.SynchroneitySourceToJSON)(value.overstock),
45
- 'status': (0, SynchroneityStatus_1.SynchroneityStatusToJSON)(value.status),
46
43
  };
47
44
  }
48
45
  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 synchronized ASAP
25
+ * If true, the source will be synrchonized ASAP
26
26
  * @type {boolean}
27
27
  * @memberof SynchroneitySource
28
28
  */
@@ -23,4 +23,3 @@ export * from './StatisticsOverstockProducts';
23
23
  export * from './Synchroneity';
24
24
  export * from './SynchroneityOffisante';
25
25
  export * from './SynchroneitySource';
26
- export * from './SynchroneityStatus';
@@ -39,4 +39,3 @@ __exportStar(require("./StatisticsOverstockProducts"), exports);
39
39
  __exportStar(require("./Synchroneity"), exports);
40
40
  __exportStar(require("./SynchroneityOffisante"), exports);
41
41
  __exportStar(require("./SynchroneitySource"), exports);
42
- __exportStar(require("./SynchroneityStatus"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lcdp/api-react-rest-client",
3
- "version": "2.5.12-LDS-3319-do-not-consider-http-error-as-u.7412290335",
3
+ "version": "2.5.12-develop.7445308864",
4
4
  "scripts": {
5
5
  "build": "tsc"
6
6
  },
@@ -1,33 +0,0 @@
1
- /**
2
- * lcdp-pharmaide-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
- * This object contain informations about synchronization and current status
14
- * @export
15
- * @interface SynchroneityStatus
16
- */
17
- export interface SynchroneityStatus {
18
- /**
19
- * Current status of offisante synchronization
20
- * @type {string}
21
- * @memberof SynchroneityStatus
22
- */
23
- current?: string;
24
- /**
25
- * If true, the offisante status will be updated
26
- * @type {boolean}
27
- * @memberof SynchroneityStatus
28
- */
29
- synchronizationScheduled?: boolean;
30
- }
31
- export declare function SynchroneityStatusFromJSON(json: any): SynchroneityStatus;
32
- export declare function SynchroneityStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): SynchroneityStatus;
33
- export declare function SynchroneityStatusToJSON(value?: SynchroneityStatus | null): any;
@@ -1,44 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * lcdp-pharmaide-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.SynchroneityStatusToJSON = exports.SynchroneityStatusFromJSONTyped = exports.SynchroneityStatusFromJSON = void 0;
17
- var runtime_1 = require("../runtime");
18
- function SynchroneityStatusFromJSON(json) {
19
- return SynchroneityStatusFromJSONTyped(json, false);
20
- }
21
- exports.SynchroneityStatusFromJSON = SynchroneityStatusFromJSON;
22
- function SynchroneityStatusFromJSONTyped(json, ignoreDiscriminator) {
23
- if ((json === undefined) || (json === null)) {
24
- return json;
25
- }
26
- return {
27
- 'current': !(0, runtime_1.exists)(json, 'current') ? undefined : json['current'],
28
- 'synchronizationScheduled': !(0, runtime_1.exists)(json, 'synchronizationScheduled') ? undefined : json['synchronizationScheduled'],
29
- };
30
- }
31
- exports.SynchroneityStatusFromJSONTyped = SynchroneityStatusFromJSONTyped;
32
- function SynchroneityStatusToJSON(value) {
33
- if (value === undefined) {
34
- return undefined;
35
- }
36
- if (value === null) {
37
- return null;
38
- }
39
- return {
40
- 'current': value.current,
41
- 'synchronizationScheduled': value.synchronizationScheduled,
42
- };
43
- }
44
- exports.SynchroneityStatusToJSON = SynchroneityStatusToJSON;