@lcdp/api-react-rest-client 2.2.0-LDS-3043.5255236497 → 2.2.0-develop.5257142523
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 +1 -1
- package/product/src/apis/ManageProductApi.d.ts +0 -2
- package/product/src/apis/ManageProductApi.js +0 -6
- package/product/src/apis/SearchProductApi.d.ts +1 -39
- package/product/src/apis/SearchProductApi.js +4 -290
- package/product/src/apis/SearchProductMetadataApi.d.ts +34 -0
- package/{catalog/src/apis/SearchProductInsightApi.js → product/src/apis/SearchProductMetadataApi.js} +22 -48
- package/product/src/apis/index.d.ts +1 -0
- package/product/src/apis/index.js +1 -0
- package/product/src/models/Product.d.ts +37 -38
- package/product/src/models/Product.js +31 -31
- package/product/src/models/ProductCreationOrUpdateParameters.d.ts +6 -0
- package/product/src/models/ProductCreationOrUpdateParameters.js +2 -0
- package/product/src/models/{DataProvider.d.ts → ProductProvider.d.ts} +5 -7
- package/product/src/models/ProductProvider.js +38 -0
- package/product/src/models/index.d.ts +1 -4
- package/product/src/models/index.js +1 -4
- package/catalog/index.d.ts +0 -1
- package/catalog/index.js +0 -17
- package/catalog/src/apis/ManageProductInsightApi.d.ts +0 -54
- package/catalog/src/apis/ManageProductInsightApi.js +0 -295
- package/catalog/src/apis/SearchProductInsightApi.d.ts +0 -53
- package/catalog/src/apis/index.d.ts +0 -2
- package/catalog/src/apis/index.js +0 -18
- package/catalog/src/index.d.ts +0 -3
- package/catalog/src/index.js +0 -19
- package/catalog/src/models/Barcodes.d.ts +0 -45
- package/catalog/src/models/Barcodes.js +0 -48
- package/catalog/src/models/HttpLink.d.ts +0 -27
- package/catalog/src/models/HttpLink.js +0 -41
- package/catalog/src/models/LaboratoryLink.d.ts +0 -34
- package/catalog/src/models/LaboratoryLink.js +0 -50
- package/catalog/src/models/LaboratoryLinkAllOf.d.ts +0 -33
- package/catalog/src/models/LaboratoryLinkAllOf.js +0 -44
- package/catalog/src/models/PaginatedObject.d.ts +0 -28
- package/catalog/src/models/PaginatedObject.js +0 -42
- package/catalog/src/models/PaginatedProductInsights.d.ts +0 -29
- package/catalog/src/models/PaginatedProductInsights.js +0 -50
- package/catalog/src/models/PaginatedProductInsightsAllOf.d.ts +0 -28
- package/catalog/src/models/PaginatedProductInsightsAllOf.js +0 -42
- package/catalog/src/models/PagingMetadata.d.ts +0 -45
- package/catalog/src/models/PagingMetadata.js +0 -47
- package/catalog/src/models/ProductInsight.d.ts +0 -100
- package/catalog/src/models/ProductInsight.js +0 -71
- package/catalog/src/models/ProductInsightCreationOrUpdateParameters.d.ts +0 -83
- package/catalog/src/models/ProductInsightCreationOrUpdateParameters.js +0 -62
- package/catalog/src/models/ProductInsightJournal.d.ts +0 -33
- package/catalog/src/models/ProductInsightJournal.js +0 -44
- package/catalog/src/models/ProductSecondaryTypeLink.d.ts +0 -34
- package/catalog/src/models/ProductSecondaryTypeLink.js +0 -50
- package/catalog/src/models/ProductSecondaryTypeLinkAllOf.d.ts +0 -33
- package/catalog/src/models/ProductSecondaryTypeLinkAllOf.js +0 -44
- package/catalog/src/models/ProductStorageType.d.ts +0 -25
- package/catalog/src/models/ProductStorageType.js +0 -40
- package/catalog/src/models/ProductTypeLink.d.ts +0 -34
- package/catalog/src/models/ProductTypeLink.js +0 -50
- package/catalog/src/models/ProductTypeLinkAllOf.d.ts +0 -33
- package/catalog/src/models/ProductTypeLinkAllOf.js +0 -44
- package/catalog/src/models/RestError.d.ts +0 -85
- package/catalog/src/models/RestError.js +0 -97
- package/catalog/src/models/VatLink.d.ts +0 -40
- package/catalog/src/models/VatLink.js +0 -50
- package/catalog/src/models/VatLinkAllOf.d.ts +0 -39
- package/catalog/src/models/VatLinkAllOf.js +0 -46
- package/catalog/src/models/index.d.ts +0 -19
- package/catalog/src/models/index.js +0 -35
- package/catalog/src/runtime.d.ts +0 -149
- package/catalog/src/runtime.js +0 -480
- package/product/src/models/DataProvider.js +0 -40
- package/product/src/models/ProductJournal.d.ts +0 -27
- package/product/src/models/ProductJournal.js +0 -41
- package/product/src/models/ProductMetadata.d.ts +0 -28
- package/product/src/models/ProductMetadata.js +0 -42
- package/product/src/models/ProductMetadataSources.d.ts +0 -124
- package/product/src/models/ProductMetadataSources.js +0 -75
|
@@ -1,33 +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 LaboratoryLinkAllOf
|
|
16
|
-
*/
|
|
17
|
-
export interface LaboratoryLinkAllOf {
|
|
18
|
-
/**
|
|
19
|
-
* Identifier of the laboratory
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof LaboratoryLinkAllOf
|
|
22
|
-
*/
|
|
23
|
-
id?: number;
|
|
24
|
-
/**
|
|
25
|
-
* Name of the laboratory
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof LaboratoryLinkAllOf
|
|
28
|
-
*/
|
|
29
|
-
name?: string;
|
|
30
|
-
}
|
|
31
|
-
export declare function LaboratoryLinkAllOfFromJSON(json: any): LaboratoryLinkAllOf;
|
|
32
|
-
export declare function LaboratoryLinkAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): LaboratoryLinkAllOf;
|
|
33
|
-
export declare function LaboratoryLinkAllOfToJSON(value?: LaboratoryLinkAllOf | null): any;
|
|
@@ -1,44 +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.LaboratoryLinkAllOfToJSON = exports.LaboratoryLinkAllOfFromJSONTyped = exports.LaboratoryLinkAllOfFromJSON = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
function LaboratoryLinkAllOfFromJSON(json) {
|
|
19
|
-
return LaboratoryLinkAllOfFromJSONTyped(json, false);
|
|
20
|
-
}
|
|
21
|
-
exports.LaboratoryLinkAllOfFromJSON = LaboratoryLinkAllOfFromJSON;
|
|
22
|
-
function LaboratoryLinkAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
-
if ((json === undefined) || (json === null)) {
|
|
24
|
-
return json;
|
|
25
|
-
}
|
|
26
|
-
return {
|
|
27
|
-
'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
|
|
28
|
-
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
exports.LaboratoryLinkAllOfFromJSONTyped = LaboratoryLinkAllOfFromJSONTyped;
|
|
32
|
-
function LaboratoryLinkAllOfToJSON(value) {
|
|
33
|
-
if (value === undefined) {
|
|
34
|
-
return undefined;
|
|
35
|
-
}
|
|
36
|
-
if (value === null) {
|
|
37
|
-
return null;
|
|
38
|
-
}
|
|
39
|
-
return {
|
|
40
|
-
'id': value.id,
|
|
41
|
-
'name': value.name,
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
exports.LaboratoryLinkAllOfToJSON = LaboratoryLinkAllOfToJSON;
|
|
@@ -1,28 +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 { PagingMetadata } from './PagingMetadata';
|
|
13
|
-
/**
|
|
14
|
-
* An object which is not complete (only a specific page is available)
|
|
15
|
-
* @export
|
|
16
|
-
* @interface PaginatedObject
|
|
17
|
-
*/
|
|
18
|
-
export interface PaginatedObject {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {PagingMetadata}
|
|
22
|
-
* @memberof PaginatedObject
|
|
23
|
-
*/
|
|
24
|
-
metadata: PagingMetadata;
|
|
25
|
-
}
|
|
26
|
-
export declare function PaginatedObjectFromJSON(json: any): PaginatedObject;
|
|
27
|
-
export declare function PaginatedObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedObject;
|
|
28
|
-
export declare function PaginatedObjectToJSON(value?: PaginatedObject | null): any;
|
|
@@ -1,42 +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.PaginatedObjectToJSON = exports.PaginatedObjectFromJSONTyped = exports.PaginatedObjectFromJSON = void 0;
|
|
17
|
-
var PagingMetadata_1 = require("./PagingMetadata");
|
|
18
|
-
function PaginatedObjectFromJSON(json) {
|
|
19
|
-
return PaginatedObjectFromJSONTyped(json, false);
|
|
20
|
-
}
|
|
21
|
-
exports.PaginatedObjectFromJSON = PaginatedObjectFromJSON;
|
|
22
|
-
function PaginatedObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
-
if ((json === undefined) || (json === null)) {
|
|
24
|
-
return json;
|
|
25
|
-
}
|
|
26
|
-
return {
|
|
27
|
-
'metadata': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['metadata']),
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
exports.PaginatedObjectFromJSONTyped = PaginatedObjectFromJSONTyped;
|
|
31
|
-
function PaginatedObjectToJSON(value) {
|
|
32
|
-
if (value === undefined) {
|
|
33
|
-
return undefined;
|
|
34
|
-
}
|
|
35
|
-
if (value === null) {
|
|
36
|
-
return null;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'metadata': (0, PagingMetadata_1.PagingMetadataToJSON)(value.metadata),
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
exports.PaginatedObjectToJSON = PaginatedObjectToJSON;
|
|
@@ -1,29 +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 { PaginatedObject } from './PaginatedObject';
|
|
13
|
-
import { ProductInsight } from './ProductInsight';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface PaginatedProductInsights
|
|
18
|
-
*/
|
|
19
|
-
export interface PaginatedProductInsights extends PaginatedObject {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Array<ProductInsight>}
|
|
23
|
-
* @memberof PaginatedProductInsights
|
|
24
|
-
*/
|
|
25
|
-
records: Array<ProductInsight>;
|
|
26
|
-
}
|
|
27
|
-
export declare function PaginatedProductInsightsFromJSON(json: any): PaginatedProductInsights;
|
|
28
|
-
export declare function PaginatedProductInsightsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductInsights;
|
|
29
|
-
export declare function PaginatedProductInsightsToJSON(value?: PaginatedProductInsights | null): any;
|
|
@@ -1,50 +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
|
-
var __assign = (this && this.__assign) || function () {
|
|
16
|
-
__assign = Object.assign || function(t) {
|
|
17
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
18
|
-
s = arguments[i];
|
|
19
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
20
|
-
t[p] = s[p];
|
|
21
|
-
}
|
|
22
|
-
return t;
|
|
23
|
-
};
|
|
24
|
-
return __assign.apply(this, arguments);
|
|
25
|
-
};
|
|
26
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
exports.PaginatedProductInsightsToJSON = exports.PaginatedProductInsightsFromJSONTyped = exports.PaginatedProductInsightsFromJSON = void 0;
|
|
28
|
-
var PaginatedObject_1 = require("./PaginatedObject");
|
|
29
|
-
var ProductInsight_1 = require("./ProductInsight");
|
|
30
|
-
function PaginatedProductInsightsFromJSON(json) {
|
|
31
|
-
return PaginatedProductInsightsFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
exports.PaginatedProductInsightsFromJSON = PaginatedProductInsightsFromJSON;
|
|
34
|
-
function PaginatedProductInsightsFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if ((json === undefined) || (json === null)) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return __assign(__assign({}, (0, PaginatedObject_1.PaginatedObjectFromJSONTyped)(json, ignoreDiscriminator)), { 'records': (json['records'].map(ProductInsight_1.ProductInsightFromJSON)) });
|
|
39
|
-
}
|
|
40
|
-
exports.PaginatedProductInsightsFromJSONTyped = PaginatedProductInsightsFromJSONTyped;
|
|
41
|
-
function PaginatedProductInsightsToJSON(value) {
|
|
42
|
-
if (value === undefined) {
|
|
43
|
-
return undefined;
|
|
44
|
-
}
|
|
45
|
-
if (value === null) {
|
|
46
|
-
return null;
|
|
47
|
-
}
|
|
48
|
-
return __assign(__assign({}, (0, PaginatedObject_1.PaginatedObjectToJSON)(value)), { 'records': (value.records.map(ProductInsight_1.ProductInsightToJSON)) });
|
|
49
|
-
}
|
|
50
|
-
exports.PaginatedProductInsightsToJSON = PaginatedProductInsightsToJSON;
|
|
@@ -1,28 +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 { ProductInsight } from './ProductInsight';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface PaginatedProductInsightsAllOf
|
|
17
|
-
*/
|
|
18
|
-
export interface PaginatedProductInsightsAllOf {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ProductInsight>}
|
|
22
|
-
* @memberof PaginatedProductInsightsAllOf
|
|
23
|
-
*/
|
|
24
|
-
records: Array<ProductInsight>;
|
|
25
|
-
}
|
|
26
|
-
export declare function PaginatedProductInsightsAllOfFromJSON(json: any): PaginatedProductInsightsAllOf;
|
|
27
|
-
export declare function PaginatedProductInsightsAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductInsightsAllOf;
|
|
28
|
-
export declare function PaginatedProductInsightsAllOfToJSON(value?: PaginatedProductInsightsAllOf | null): any;
|
|
@@ -1,42 +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.PaginatedProductInsightsAllOfToJSON = exports.PaginatedProductInsightsAllOfFromJSONTyped = exports.PaginatedProductInsightsAllOfFromJSON = void 0;
|
|
17
|
-
var ProductInsight_1 = require("./ProductInsight");
|
|
18
|
-
function PaginatedProductInsightsAllOfFromJSON(json) {
|
|
19
|
-
return PaginatedProductInsightsAllOfFromJSONTyped(json, false);
|
|
20
|
-
}
|
|
21
|
-
exports.PaginatedProductInsightsAllOfFromJSON = PaginatedProductInsightsAllOfFromJSON;
|
|
22
|
-
function PaginatedProductInsightsAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
-
if ((json === undefined) || (json === null)) {
|
|
24
|
-
return json;
|
|
25
|
-
}
|
|
26
|
-
return {
|
|
27
|
-
'records': (json['records'].map(ProductInsight_1.ProductInsightFromJSON)),
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
exports.PaginatedProductInsightsAllOfFromJSONTyped = PaginatedProductInsightsAllOfFromJSONTyped;
|
|
31
|
-
function PaginatedProductInsightsAllOfToJSON(value) {
|
|
32
|
-
if (value === undefined) {
|
|
33
|
-
return undefined;
|
|
34
|
-
}
|
|
35
|
-
if (value === null) {
|
|
36
|
-
return null;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'records': (value.records.map(ProductInsight_1.ProductInsightToJSON)),
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
exports.PaginatedProductInsightsAllOfToJSON = PaginatedProductInsightsAllOfToJSON;
|
|
@@ -1,45 +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
|
-
* All information about current and available pages
|
|
14
|
-
* @export
|
|
15
|
-
* @interface PagingMetadata
|
|
16
|
-
*/
|
|
17
|
-
export interface PagingMetadata {
|
|
18
|
-
/**
|
|
19
|
-
* Current page requested. Start at 0.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof PagingMetadata
|
|
22
|
-
*/
|
|
23
|
-
page: number;
|
|
24
|
-
/**
|
|
25
|
-
* Number of item per page. 0 means that you only required metdata.
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof PagingMetadata
|
|
28
|
-
*/
|
|
29
|
-
perPage: number;
|
|
30
|
-
/**
|
|
31
|
-
* Total number of item visible by the client in the request
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof PagingMetadata
|
|
34
|
-
*/
|
|
35
|
-
totalVisible: number;
|
|
36
|
-
/**
|
|
37
|
-
* Total number of item found in database
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof PagingMetadata
|
|
40
|
-
*/
|
|
41
|
-
totalFound: number;
|
|
42
|
-
}
|
|
43
|
-
export declare function PagingMetadataFromJSON(json: any): PagingMetadata;
|
|
44
|
-
export declare function PagingMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): PagingMetadata;
|
|
45
|
-
export declare function PagingMetadataToJSON(value?: PagingMetadata | 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.PagingMetadataToJSON = exports.PagingMetadataFromJSONTyped = exports.PagingMetadataFromJSON = void 0;
|
|
17
|
-
function PagingMetadataFromJSON(json) {
|
|
18
|
-
return PagingMetadataFromJSONTyped(json, false);
|
|
19
|
-
}
|
|
20
|
-
exports.PagingMetadataFromJSON = PagingMetadataFromJSON;
|
|
21
|
-
function PagingMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
-
if ((json === undefined) || (json === null)) {
|
|
23
|
-
return json;
|
|
24
|
-
}
|
|
25
|
-
return {
|
|
26
|
-
'page': json['page'],
|
|
27
|
-
'perPage': json['perPage'],
|
|
28
|
-
'totalVisible': json['totalVisible'],
|
|
29
|
-
'totalFound': json['totalFound'],
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
exports.PagingMetadataFromJSONTyped = PagingMetadataFromJSONTyped;
|
|
33
|
-
function PagingMetadataToJSON(value) {
|
|
34
|
-
if (value === undefined) {
|
|
35
|
-
return undefined;
|
|
36
|
-
}
|
|
37
|
-
if (value === null) {
|
|
38
|
-
return null;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'page': value.page,
|
|
42
|
-
'perPage': value.perPage,
|
|
43
|
-
'totalVisible': value.totalVisible,
|
|
44
|
-
'totalFound': value.totalFound,
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
exports.PagingMetadataToJSON = PagingMetadataToJSON;
|
|
@@ -1,100 +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 { Barcodes } from './Barcodes';
|
|
13
|
-
import { LaboratoryLink } from './LaboratoryLink';
|
|
14
|
-
import { ProductInsightJournal } from './ProductInsightJournal';
|
|
15
|
-
import { ProductSecondaryTypeLink } from './ProductSecondaryTypeLink';
|
|
16
|
-
import { ProductStorageType } from './ProductStorageType';
|
|
17
|
-
import { ProductTypeLink } from './ProductTypeLink';
|
|
18
|
-
import { VatLink } from './VatLink';
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @export
|
|
22
|
-
* @interface ProductInsight
|
|
23
|
-
*/
|
|
24
|
-
export interface ProductInsight {
|
|
25
|
-
/**
|
|
26
|
-
* Product Insight Id
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof ProductInsight
|
|
29
|
-
*/
|
|
30
|
-
id: number;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {Barcodes}
|
|
34
|
-
* @memberof ProductInsight
|
|
35
|
-
*/
|
|
36
|
-
barcodes: Barcodes;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof ProductInsight
|
|
41
|
-
*/
|
|
42
|
-
name?: string;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof ProductInsight
|
|
47
|
-
*/
|
|
48
|
-
dci?: string | null;
|
|
49
|
-
/**
|
|
50
|
-
* Weight of a single unit in grams
|
|
51
|
-
* @type {number}
|
|
52
|
-
* @memberof ProductInsight
|
|
53
|
-
*/
|
|
54
|
-
unitWeight?: number | null;
|
|
55
|
-
/**
|
|
56
|
-
* Public price of the product
|
|
57
|
-
* @type {number}
|
|
58
|
-
* @memberof ProductInsight
|
|
59
|
-
*/
|
|
60
|
-
unitPrice?: number | null;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {ProductTypeLink}
|
|
64
|
-
* @memberof ProductInsight
|
|
65
|
-
*/
|
|
66
|
-
type?: ProductTypeLink | null;
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* @type {ProductSecondaryTypeLink}
|
|
70
|
-
* @memberof ProductInsight
|
|
71
|
-
*/
|
|
72
|
-
secondaryType?: ProductSecondaryTypeLink | null;
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
75
|
-
* @type {LaboratoryLink}
|
|
76
|
-
* @memberof ProductInsight
|
|
77
|
-
*/
|
|
78
|
-
laboratory?: LaboratoryLink | null;
|
|
79
|
-
/**
|
|
80
|
-
*
|
|
81
|
-
* @type {VatLink}
|
|
82
|
-
* @memberof ProductInsight
|
|
83
|
-
*/
|
|
84
|
-
vat?: VatLink | null;
|
|
85
|
-
/**
|
|
86
|
-
*
|
|
87
|
-
* @type {ProductStorageType}
|
|
88
|
-
* @memberof ProductInsight
|
|
89
|
-
*/
|
|
90
|
-
storageType?: ProductStorageType | null;
|
|
91
|
-
/**
|
|
92
|
-
*
|
|
93
|
-
* @type {ProductInsightJournal}
|
|
94
|
-
* @memberof ProductInsight
|
|
95
|
-
*/
|
|
96
|
-
journal: ProductInsightJournal;
|
|
97
|
-
}
|
|
98
|
-
export declare function ProductInsightFromJSON(json: any): ProductInsight;
|
|
99
|
-
export declare function ProductInsightFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductInsight;
|
|
100
|
-
export declare function ProductInsightToJSON(value?: ProductInsight | null): any;
|
|
@@ -1,71 +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.ProductInsightToJSON = exports.ProductInsightFromJSONTyped = exports.ProductInsightFromJSON = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
var Barcodes_1 = require("./Barcodes");
|
|
19
|
-
var LaboratoryLink_1 = require("./LaboratoryLink");
|
|
20
|
-
var ProductInsightJournal_1 = require("./ProductInsightJournal");
|
|
21
|
-
var ProductSecondaryTypeLink_1 = require("./ProductSecondaryTypeLink");
|
|
22
|
-
var ProductStorageType_1 = require("./ProductStorageType");
|
|
23
|
-
var ProductTypeLink_1 = require("./ProductTypeLink");
|
|
24
|
-
var VatLink_1 = require("./VatLink");
|
|
25
|
-
function ProductInsightFromJSON(json) {
|
|
26
|
-
return ProductInsightFromJSONTyped(json, false);
|
|
27
|
-
}
|
|
28
|
-
exports.ProductInsightFromJSON = ProductInsightFromJSON;
|
|
29
|
-
function ProductInsightFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
-
if ((json === undefined) || (json === null)) {
|
|
31
|
-
return json;
|
|
32
|
-
}
|
|
33
|
-
return {
|
|
34
|
-
'id': json['id'],
|
|
35
|
-
'barcodes': (0, Barcodes_1.BarcodesFromJSON)(json['barcodes']),
|
|
36
|
-
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
37
|
-
'dci': !(0, runtime_1.exists)(json, 'dci') ? json['dci'] : json['dci'],
|
|
38
|
-
'unitWeight': !(0, runtime_1.exists)(json, 'unitWeight') ? json['unitWeight'] : json['unitWeight'],
|
|
39
|
-
'unitPrice': !(0, runtime_1.exists)(json, 'unitPrice') ? json['unitPrice'] : json['unitPrice'],
|
|
40
|
-
'type': !(0, runtime_1.exists)(json, 'type') ? json['type'] : (0, ProductTypeLink_1.ProductTypeLinkFromJSON)(json['type']),
|
|
41
|
-
'secondaryType': !(0, runtime_1.exists)(json, 'secondaryType') ? json['secondaryType'] : (0, ProductSecondaryTypeLink_1.ProductSecondaryTypeLinkFromJSON)(json['secondaryType']),
|
|
42
|
-
'laboratory': !(0, runtime_1.exists)(json, 'laboratory') ? json['laboratory'] : (0, LaboratoryLink_1.LaboratoryLinkFromJSON)(json['laboratory']),
|
|
43
|
-
'vat': !(0, runtime_1.exists)(json, 'vat') ? json['vat'] : (0, VatLink_1.VatLinkFromJSON)(json['vat']),
|
|
44
|
-
'storageType': !(0, runtime_1.exists)(json, 'storageType') ? json['storageType'] : (0, ProductStorageType_1.ProductStorageTypeFromJSON)(json['storageType']),
|
|
45
|
-
'journal': (0, ProductInsightJournal_1.ProductInsightJournalFromJSON)(json['journal']),
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
exports.ProductInsightFromJSONTyped = ProductInsightFromJSONTyped;
|
|
49
|
-
function ProductInsightToJSON(value) {
|
|
50
|
-
if (value === undefined) {
|
|
51
|
-
return undefined;
|
|
52
|
-
}
|
|
53
|
-
if (value === null) {
|
|
54
|
-
return null;
|
|
55
|
-
}
|
|
56
|
-
return {
|
|
57
|
-
'id': value.id,
|
|
58
|
-
'barcodes': (0, Barcodes_1.BarcodesToJSON)(value.barcodes),
|
|
59
|
-
'name': value.name,
|
|
60
|
-
'dci': value.dci,
|
|
61
|
-
'unitWeight': value.unitWeight,
|
|
62
|
-
'unitPrice': value.unitPrice,
|
|
63
|
-
'type': (0, ProductTypeLink_1.ProductTypeLinkToJSON)(value.type),
|
|
64
|
-
'secondaryType': (0, ProductSecondaryTypeLink_1.ProductSecondaryTypeLinkToJSON)(value.secondaryType),
|
|
65
|
-
'laboratory': (0, LaboratoryLink_1.LaboratoryLinkToJSON)(value.laboratory),
|
|
66
|
-
'vat': (0, VatLink_1.VatLinkToJSON)(value.vat),
|
|
67
|
-
'storageType': (0, ProductStorageType_1.ProductStorageTypeToJSON)(value.storageType),
|
|
68
|
-
'journal': (0, ProductInsightJournal_1.ProductInsightJournalToJSON)(value.journal),
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
exports.ProductInsightToJSON = ProductInsightToJSON;
|
|
@@ -1,83 +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 { Barcodes } from './Barcodes';
|
|
13
|
-
import { ProductStorageType } from './ProductStorageType';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface ProductInsightCreationOrUpdateParameters
|
|
18
|
-
*/
|
|
19
|
-
export interface ProductInsightCreationOrUpdateParameters {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Barcodes}
|
|
23
|
-
* @memberof ProductInsightCreationOrUpdateParameters
|
|
24
|
-
*/
|
|
25
|
-
barcodes?: Barcodes;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof ProductInsightCreationOrUpdateParameters
|
|
30
|
-
*/
|
|
31
|
-
name?: string;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof ProductInsightCreationOrUpdateParameters
|
|
36
|
-
*/
|
|
37
|
-
dci?: string | null;
|
|
38
|
-
/**
|
|
39
|
-
* Weight of a single unit in grams
|
|
40
|
-
* @type {number}
|
|
41
|
-
* @memberof ProductInsightCreationOrUpdateParameters
|
|
42
|
-
*/
|
|
43
|
-
unitWeight?: number | null;
|
|
44
|
-
/**
|
|
45
|
-
* Public price of the product
|
|
46
|
-
* @type {number}
|
|
47
|
-
* @memberof ProductInsightCreationOrUpdateParameters
|
|
48
|
-
*/
|
|
49
|
-
unitPrice?: number | null;
|
|
50
|
-
/**
|
|
51
|
-
* Product Type Identifier
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof ProductInsightCreationOrUpdateParameters
|
|
54
|
-
*/
|
|
55
|
-
typeId?: string | null;
|
|
56
|
-
/**
|
|
57
|
-
* Product Secondary Type Identifier
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof ProductInsightCreationOrUpdateParameters
|
|
60
|
-
*/
|
|
61
|
-
secondaryTypeId?: string | null;
|
|
62
|
-
/**
|
|
63
|
-
* Laboratory ID
|
|
64
|
-
* @type {number}
|
|
65
|
-
* @memberof ProductInsightCreationOrUpdateParameters
|
|
66
|
-
*/
|
|
67
|
-
laboratoryId?: number | null;
|
|
68
|
-
/**
|
|
69
|
-
* VAT identifier
|
|
70
|
-
* @type {string}
|
|
71
|
-
* @memberof ProductInsightCreationOrUpdateParameters
|
|
72
|
-
*/
|
|
73
|
-
vatId?: string | null;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {ProductStorageType}
|
|
77
|
-
* @memberof ProductInsightCreationOrUpdateParameters
|
|
78
|
-
*/
|
|
79
|
-
storageType?: ProductStorageType | null;
|
|
80
|
-
}
|
|
81
|
-
export declare function ProductInsightCreationOrUpdateParametersFromJSON(json: any): ProductInsightCreationOrUpdateParameters;
|
|
82
|
-
export declare function ProductInsightCreationOrUpdateParametersFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductInsightCreationOrUpdateParameters;
|
|
83
|
-
export declare function ProductInsightCreationOrUpdateParametersToJSON(value?: ProductInsightCreationOrUpdateParameters | null): any;
|