@lcdp/api-react-rest-client 2.13.9-LDS-4699-etape-1-no-more-archive-of-frid.17071891745 → 2.13.9-LDS-4699-etape-1-no-more-archive-of-frid.17092299169

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.
@@ -11,7 +11,6 @@
11
11
  */
12
12
  import type { LaboratoryLink } from './LaboratoryLink';
13
13
  import type { VatLink } from './VatLink';
14
- import type { ProductStorageType } from './ProductStorageType';
15
14
  import type { ProductInsightJournal } from './ProductInsightJournal';
16
15
  import type { Barcodes } from './Barcodes';
17
16
  import type { ProductTypeLink } from './ProductTypeLink';
@@ -96,11 +95,11 @@ export interface ProductInsight {
96
95
  */
97
96
  vat?: VatLink | null;
98
97
  /**
99
- *
100
- * @type {ProductStorageType}
98
+ * Product Storage Type identifier
99
+ * @type {string}
101
100
  * @memberof ProductInsight
102
101
  */
103
- storageType?: ProductStorageType | null;
102
+ storageType?: string | null;
104
103
  /**
105
104
  *
106
105
  * @type {ProductInsightJournal}
@@ -16,7 +16,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ProductInsightToJSON = exports.ProductInsightFromJSONTyped = exports.ProductInsightFromJSON = exports.instanceOfProductInsight = void 0;
17
17
  var LaboratoryLink_1 = require("./LaboratoryLink");
18
18
  var VatLink_1 = require("./VatLink");
19
- var ProductStorageType_1 = require("./ProductStorageType");
20
19
  var ProductInsightJournal_1 = require("./ProductInsightJournal");
21
20
  var Barcodes_1 = require("./Barcodes");
22
21
  var ProductTypeLink_1 = require("./ProductTypeLink");
@@ -54,7 +53,7 @@ function ProductInsightFromJSONTyped(json, ignoreDiscriminator) {
54
53
  'secondaryType': (json['secondaryType'] === null || json['secondaryType'] === undefined) ? json['secondaryType'] : (0, ProductSecondaryTypeLink_1.ProductSecondaryTypeLinkFromJSON)(json['secondaryType']),
55
54
  'laboratory': (json['laboratory'] === null || json['laboratory'] === undefined) ? json['laboratory'] : (0, LaboratoryLink_1.LaboratoryLinkFromJSON)(json['laboratory']),
56
55
  'vat': (json['vat'] === null || json['vat'] === undefined) ? json['vat'] : (0, VatLink_1.VatLinkFromJSON)(json['vat']),
57
- 'storageType': (json['storageType'] === null || json['storageType'] === undefined) ? json['storageType'] : (0, ProductStorageType_1.ProductStorageTypeFromJSON)(json['storageType']),
56
+ 'storageType': json['storageType'],
58
57
  'journal': (json['journal'] === null || json['journal'] === undefined) ? json['journal'] : (0, ProductInsightJournal_1.ProductInsightJournalFromJSON)(json['journal']),
59
58
  };
60
59
  }
@@ -75,7 +74,7 @@ function ProductInsightToJSON(value) {
75
74
  'secondaryType': (0, ProductSecondaryTypeLink_1.ProductSecondaryTypeLinkToJSON)(value['secondaryType']),
76
75
  'laboratory': (0, LaboratoryLink_1.LaboratoryLinkToJSON)(value['laboratory']),
77
76
  'vat': (0, VatLink_1.VatLinkToJSON)(value['vat']),
78
- 'storageType': (0, ProductStorageType_1.ProductStorageTypeToJSON)(value['storageType']),
77
+ 'storageType': value['storageType'],
79
78
  'journal': (0, ProductInsightJournal_1.ProductInsightJournalToJSON)(value['journal']),
80
79
  };
81
80
  }
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ProductStorageType } from './ProductStorageType';
13
12
  import type { Barcodes } from './Barcodes';
14
13
  /**
15
14
  *
@@ -78,11 +77,11 @@ export interface ProductInsightCreateOrUpdateParameters {
78
77
  */
79
78
  vatId?: string | null;
80
79
  /**
81
- *
82
- * @type {ProductStorageType}
80
+ * Product Storage Type identifier
81
+ * @type {string}
83
82
  * @memberof ProductInsightCreateOrUpdateParameters
84
83
  */
85
- storageType?: ProductStorageType | null;
84
+ storageType?: string | null;
86
85
  }
87
86
  /**
88
87
  * Check if a given object implements the ProductInsightCreateOrUpdateParameters interface.
@@ -14,7 +14,6 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ProductInsightCreateOrUpdateParametersToJSON = exports.ProductInsightCreateOrUpdateParametersFromJSONTyped = exports.ProductInsightCreateOrUpdateParametersFromJSON = exports.instanceOfProductInsightCreateOrUpdateParameters = void 0;
17
- var ProductStorageType_1 = require("./ProductStorageType");
18
17
  var Barcodes_1 = require("./Barcodes");
19
18
  /**
20
19
  * Check if a given object implements the ProductInsightCreateOrUpdateParameters interface.
@@ -44,7 +43,7 @@ function ProductInsightCreateOrUpdateParametersFromJSONTyped(json, ignoreDiscrim
44
43
  'secondaryTypeId': json['secondaryTypeId'],
45
44
  'laboratoryId': json['laboratoryId'],
46
45
  'vatId': json['vatId'],
47
- 'storageType': (json['storageType'] === null || json['storageType'] === undefined) ? json['storageType'] : (0, ProductStorageType_1.ProductStorageTypeFromJSON)(json['storageType']),
46
+ 'storageType': json['storageType'],
48
47
  };
49
48
  }
50
49
  exports.ProductInsightCreateOrUpdateParametersFromJSONTyped = ProductInsightCreateOrUpdateParametersFromJSONTyped;
@@ -63,7 +62,7 @@ function ProductInsightCreateOrUpdateParametersToJSON(value) {
63
62
  'secondaryTypeId': value['secondaryTypeId'],
64
63
  'laboratoryId': value['laboratoryId'],
65
64
  'vatId': value['vatId'],
66
- 'storageType': (0, ProductStorageType_1.ProductStorageTypeToJSON)(value['storageType']),
65
+ 'storageType': value['storageType'],
67
66
  };
68
67
  }
69
68
  exports.ProductInsightCreateOrUpdateParametersToJSON = ProductInsightCreateOrUpdateParametersToJSON;
@@ -8,7 +8,6 @@ export * from './ProductInsight';
8
8
  export * from './ProductInsightCreateOrUpdateParameters';
9
9
  export * from './ProductInsightJournal';
10
10
  export * from './ProductSecondaryTypeLink';
11
- export * from './ProductStorageType';
12
11
  export * from './ProductTypeLink';
13
12
  export * from './RestError';
14
13
  export * from './VatLink';
@@ -26,7 +26,6 @@ __exportStar(require("./ProductInsight"), exports);
26
26
  __exportStar(require("./ProductInsightCreateOrUpdateParameters"), exports);
27
27
  __exportStar(require("./ProductInsightJournal"), exports);
28
28
  __exportStar(require("./ProductSecondaryTypeLink"), exports);
29
- __exportStar(require("./ProductStorageType"), exports);
30
29
  __exportStar(require("./ProductTypeLink"), exports);
31
30
  __exportStar(require("./RestError"), exports);
32
31
  __exportStar(require("./VatLink"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lcdp/api-react-rest-client",
3
- "version": "2.13.9-LDS-4699-etape-1-no-more-archive-of-frid.17071891745",
3
+ "version": "2.13.9-LDS-4699-etape-1-no-more-archive-of-frid.17092299169",
4
4
  "scripts": {
5
5
  "build": "tsc"
6
6
  },
@@ -1,37 +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
- /**
13
- *
14
- * @export
15
- * @interface ProductStorageType
16
- */
17
- export interface ProductStorageType {
18
- /**
19
- * Id of the storage type (machine name)
20
- * @type {string}
21
- * @memberof ProductStorageType
22
- */
23
- id?: string;
24
- /**
25
- * Readable name for display
26
- * @type {string}
27
- * @memberof ProductStorageType
28
- */
29
- name?: string;
30
- }
31
- /**
32
- * Check if a given object implements the ProductStorageType interface.
33
- */
34
- export declare function instanceOfProductStorageType(value: object): value is ProductStorageType;
35
- export declare function ProductStorageTypeFromJSON(json: any): ProductStorageType;
36
- export declare function ProductStorageTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductStorageType;
37
- export declare function ProductStorageTypeToJSON(value?: ProductStorageType | null): any;
@@ -1,47 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * lcdp-catalog
6
- * This is the REST API of LCDP catalog
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.ProductStorageTypeToJSON = exports.ProductStorageTypeFromJSONTyped = exports.ProductStorageTypeFromJSON = exports.instanceOfProductStorageType = void 0;
17
- /**
18
- * Check if a given object implements the ProductStorageType interface.
19
- */
20
- function instanceOfProductStorageType(value) {
21
- return true;
22
- }
23
- exports.instanceOfProductStorageType = instanceOfProductStorageType;
24
- function ProductStorageTypeFromJSON(json) {
25
- return ProductStorageTypeFromJSONTyped(json, false);
26
- }
27
- exports.ProductStorageTypeFromJSON = ProductStorageTypeFromJSON;
28
- function ProductStorageTypeFromJSONTyped(json, ignoreDiscriminator) {
29
- if (json == null) {
30
- return json;
31
- }
32
- return {
33
- 'id': json['id'],
34
- 'name': json['name'],
35
- };
36
- }
37
- exports.ProductStorageTypeFromJSONTyped = ProductStorageTypeFromJSONTyped;
38
- function ProductStorageTypeToJSON(value) {
39
- if (value == null) {
40
- return value;
41
- }
42
- return {
43
- 'id': value['id'],
44
- 'name': value['name'],
45
- };
46
- }
47
- exports.ProductStorageTypeToJSON = ProductStorageTypeToJSON;