@lcdp/api-react-rest-client 2.2.0-fix-best-rebate-min.5257097244 → 2.2.0
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/SearchProductMetadataApi.d.ts +0 -22
- package/product/src/apis/SearchProductMetadataApi.js +8 -154
- package/product/src/models/Product.d.ts +9 -9
- package/product/src/models/Product.js +5 -5
- 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 -3
- package/product/src/models/index.js +1 -3
- 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/SearchProductInsightApi.js +0 -246
- 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 -70
- 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 -43
- 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/ProductMetadata.d.ts +0 -28
- package/product/src/models/ProductMetadata.js +0 -42
- package/product/src/models/ProductMetadataSources.d.ts +0 -88
- package/product/src/models/ProductMetadataSources.js +0 -62
|
@@ -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,70 +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 Barcodes_1 = require("./Barcodes");
|
|
18
|
-
var LaboratoryLink_1 = require("./LaboratoryLink");
|
|
19
|
-
var ProductInsightJournal_1 = require("./ProductInsightJournal");
|
|
20
|
-
var ProductSecondaryTypeLink_1 = require("./ProductSecondaryTypeLink");
|
|
21
|
-
var ProductStorageType_1 = require("./ProductStorageType");
|
|
22
|
-
var ProductTypeLink_1 = require("./ProductTypeLink");
|
|
23
|
-
var VatLink_1 = require("./VatLink");
|
|
24
|
-
function ProductInsightFromJSON(json) {
|
|
25
|
-
return ProductInsightFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
exports.ProductInsightFromJSON = ProductInsightFromJSON;
|
|
28
|
-
function ProductInsightFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
-
if ((json === undefined) || (json === null)) {
|
|
30
|
-
return json;
|
|
31
|
-
}
|
|
32
|
-
return {
|
|
33
|
-
'id': json['id'],
|
|
34
|
-
'barcodes': (0, Barcodes_1.BarcodesFromJSON)(json['barcodes']),
|
|
35
|
-
'name': json['name'],
|
|
36
|
-
'dci': json['dci'],
|
|
37
|
-
'unitWeight': json['unitWeight'],
|
|
38
|
-
'unitPrice': json['unitPrice'],
|
|
39
|
-
'type': (0, ProductTypeLink_1.ProductTypeLinkFromJSON)(json['type']),
|
|
40
|
-
'secondaryType': (0, ProductSecondaryTypeLink_1.ProductSecondaryTypeLinkFromJSON)(json['secondaryType']),
|
|
41
|
-
'laboratory': (0, LaboratoryLink_1.LaboratoryLinkFromJSON)(json['laboratory']),
|
|
42
|
-
'vat': (0, VatLink_1.VatLinkFromJSON)(json['vat']),
|
|
43
|
-
'storageType': (0, ProductStorageType_1.ProductStorageTypeFromJSON)(json['storageType']),
|
|
44
|
-
'journal': (0, ProductInsightJournal_1.ProductInsightJournalFromJSON)(json['journal']),
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
exports.ProductInsightFromJSONTyped = ProductInsightFromJSONTyped;
|
|
48
|
-
function ProductInsightToJSON(value) {
|
|
49
|
-
if (value === undefined) {
|
|
50
|
-
return undefined;
|
|
51
|
-
}
|
|
52
|
-
if (value === null) {
|
|
53
|
-
return null;
|
|
54
|
-
}
|
|
55
|
-
return {
|
|
56
|
-
'id': value.id,
|
|
57
|
-
'barcodes': (0, Barcodes_1.BarcodesToJSON)(value.barcodes),
|
|
58
|
-
'name': value.name,
|
|
59
|
-
'dci': value.dci,
|
|
60
|
-
'unitWeight': value.unitWeight,
|
|
61
|
-
'unitPrice': value.unitPrice,
|
|
62
|
-
'type': (0, ProductTypeLink_1.ProductTypeLinkToJSON)(value.type),
|
|
63
|
-
'secondaryType': (0, ProductSecondaryTypeLink_1.ProductSecondaryTypeLinkToJSON)(value.secondaryType),
|
|
64
|
-
'laboratory': (0, LaboratoryLink_1.LaboratoryLinkToJSON)(value.laboratory),
|
|
65
|
-
'vat': (0, VatLink_1.VatLinkToJSON)(value.vat),
|
|
66
|
-
'storageType': (0, ProductStorageType_1.ProductStorageTypeToJSON)(value.storageType),
|
|
67
|
-
'journal': (0, ProductInsightJournal_1.ProductInsightJournalToJSON)(value.journal),
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
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;
|
|
@@ -1,62 +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.ProductInsightCreationOrUpdateParametersToJSON = exports.ProductInsightCreationOrUpdateParametersFromJSONTyped = exports.ProductInsightCreationOrUpdateParametersFromJSON = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
var Barcodes_1 = require("./Barcodes");
|
|
19
|
-
var ProductStorageType_1 = require("./ProductStorageType");
|
|
20
|
-
function ProductInsightCreationOrUpdateParametersFromJSON(json) {
|
|
21
|
-
return ProductInsightCreationOrUpdateParametersFromJSONTyped(json, false);
|
|
22
|
-
}
|
|
23
|
-
exports.ProductInsightCreationOrUpdateParametersFromJSON = ProductInsightCreationOrUpdateParametersFromJSON;
|
|
24
|
-
function ProductInsightCreationOrUpdateParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
-
if ((json === undefined) || (json === null)) {
|
|
26
|
-
return json;
|
|
27
|
-
}
|
|
28
|
-
return {
|
|
29
|
-
'barcodes': !(0, runtime_1.exists)(json, 'barcodes') ? undefined : (0, Barcodes_1.BarcodesFromJSON)(json['barcodes']),
|
|
30
|
-
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
31
|
-
'dci': !(0, runtime_1.exists)(json, 'dci') ? json['dci'] : json['dci'],
|
|
32
|
-
'unitWeight': !(0, runtime_1.exists)(json, 'unitWeight') ? json['unitWeight'] : json['unitWeight'],
|
|
33
|
-
'unitPrice': !(0, runtime_1.exists)(json, 'unitPrice') ? json['unitPrice'] : json['unitPrice'],
|
|
34
|
-
'typeId': !(0, runtime_1.exists)(json, 'typeId') ? json['typeId'] : json['typeId'],
|
|
35
|
-
'secondaryTypeId': !(0, runtime_1.exists)(json, 'secondaryTypeId') ? json['secondaryTypeId'] : json['secondaryTypeId'],
|
|
36
|
-
'laboratoryId': !(0, runtime_1.exists)(json, 'laboratoryId') ? json['laboratoryId'] : json['laboratoryId'],
|
|
37
|
-
'vatId': !(0, runtime_1.exists)(json, 'vatId') ? json['vatId'] : json['vatId'],
|
|
38
|
-
'storageType': !(0, runtime_1.exists)(json, 'storageType') ? json['storageType'] : (0, ProductStorageType_1.ProductStorageTypeFromJSON)(json['storageType']),
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
exports.ProductInsightCreationOrUpdateParametersFromJSONTyped = ProductInsightCreationOrUpdateParametersFromJSONTyped;
|
|
42
|
-
function ProductInsightCreationOrUpdateParametersToJSON(value) {
|
|
43
|
-
if (value === undefined) {
|
|
44
|
-
return undefined;
|
|
45
|
-
}
|
|
46
|
-
if (value === null) {
|
|
47
|
-
return null;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'barcodes': (0, Barcodes_1.BarcodesToJSON)(value.barcodes),
|
|
51
|
-
'name': value.name,
|
|
52
|
-
'dci': value.dci,
|
|
53
|
-
'unitWeight': value.unitWeight,
|
|
54
|
-
'unitPrice': value.unitPrice,
|
|
55
|
-
'typeId': value.typeId,
|
|
56
|
-
'secondaryTypeId': value.secondaryTypeId,
|
|
57
|
-
'laboratoryId': value.laboratoryId,
|
|
58
|
-
'vatId': value.vatId,
|
|
59
|
-
'storageType': (0, ProductStorageType_1.ProductStorageTypeToJSON)(value.storageType),
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
exports.ProductInsightCreationOrUpdateParametersToJSON = ProductInsightCreationOrUpdateParametersToJSON;
|
|
@@ -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
|
-
* Journal of the product insight
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ProductInsightJournal
|
|
16
|
-
*/
|
|
17
|
-
export interface ProductInsightJournal {
|
|
18
|
-
/**
|
|
19
|
-
* Update date of this product
|
|
20
|
-
* @type {Date}
|
|
21
|
-
* @memberof ProductInsightJournal
|
|
22
|
-
*/
|
|
23
|
-
updatedAt: Date;
|
|
24
|
-
/**
|
|
25
|
-
* Date of the updated price (RFC 3339, section 5.6)
|
|
26
|
-
* @type {Date}
|
|
27
|
-
* @memberof ProductInsightJournal
|
|
28
|
-
*/
|
|
29
|
-
unitPriceUpdatedAt: Date;
|
|
30
|
-
}
|
|
31
|
-
export declare function ProductInsightJournalFromJSON(json: any): ProductInsightJournal;
|
|
32
|
-
export declare function ProductInsightJournalFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductInsightJournal;
|
|
33
|
-
export declare function ProductInsightJournalToJSON(value?: ProductInsightJournal | null): any;
|
|
@@ -1,43 +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.ProductInsightJournalToJSON = exports.ProductInsightJournalFromJSONTyped = exports.ProductInsightJournalFromJSON = void 0;
|
|
17
|
-
function ProductInsightJournalFromJSON(json) {
|
|
18
|
-
return ProductInsightJournalFromJSONTyped(json, false);
|
|
19
|
-
}
|
|
20
|
-
exports.ProductInsightJournalFromJSON = ProductInsightJournalFromJSON;
|
|
21
|
-
function ProductInsightJournalFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
-
if ((json === undefined) || (json === null)) {
|
|
23
|
-
return json;
|
|
24
|
-
}
|
|
25
|
-
return {
|
|
26
|
-
'updatedAt': (new Date(json['updatedAt'])),
|
|
27
|
-
'unitPriceUpdatedAt': (new Date(json['unitPriceUpdatedAt'])),
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
exports.ProductInsightJournalFromJSONTyped = ProductInsightJournalFromJSONTyped;
|
|
31
|
-
function ProductInsightJournalToJSON(value) {
|
|
32
|
-
if (value === undefined) {
|
|
33
|
-
return undefined;
|
|
34
|
-
}
|
|
35
|
-
if (value === null) {
|
|
36
|
-
return null;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'updatedAt': (value.updatedAt.toISOString()),
|
|
40
|
-
'unitPriceUpdatedAt': (value.unitPriceUpdatedAt.toISOString()),
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
exports.ProductInsightJournalToJSON = ProductInsightJournalToJSON;
|
|
@@ -1,34 +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 { HttpLink } from './HttpLink';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductSecondaryTypeLink
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductSecondaryTypeLink extends HttpLink {
|
|
19
|
-
/**
|
|
20
|
-
* Id of the product secondary type
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof ProductSecondaryTypeLink
|
|
23
|
-
*/
|
|
24
|
-
id?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Readable name for display
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof ProductSecondaryTypeLink
|
|
29
|
-
*/
|
|
30
|
-
name?: string;
|
|
31
|
-
}
|
|
32
|
-
export declare function ProductSecondaryTypeLinkFromJSON(json: any): ProductSecondaryTypeLink;
|
|
33
|
-
export declare function ProductSecondaryTypeLinkFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductSecondaryTypeLink;
|
|
34
|
-
export declare function ProductSecondaryTypeLinkToJSON(value?: ProductSecondaryTypeLink | 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.ProductSecondaryTypeLinkToJSON = exports.ProductSecondaryTypeLinkFromJSONTyped = exports.ProductSecondaryTypeLinkFromJSON = void 0;
|
|
28
|
-
var runtime_1 = require("../runtime");
|
|
29
|
-
var HttpLink_1 = require("./HttpLink");
|
|
30
|
-
function ProductSecondaryTypeLinkFromJSON(json) {
|
|
31
|
-
return ProductSecondaryTypeLinkFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
exports.ProductSecondaryTypeLinkFromJSON = ProductSecondaryTypeLinkFromJSON;
|
|
34
|
-
function ProductSecondaryTypeLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if ((json === undefined) || (json === null)) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return __assign(__assign({}, (0, HttpLink_1.HttpLinkFromJSONTyped)(json, ignoreDiscriminator)), { 'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'], 'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'] });
|
|
39
|
-
}
|
|
40
|
-
exports.ProductSecondaryTypeLinkFromJSONTyped = ProductSecondaryTypeLinkFromJSONTyped;
|
|
41
|
-
function ProductSecondaryTypeLinkToJSON(value) {
|
|
42
|
-
if (value === undefined) {
|
|
43
|
-
return undefined;
|
|
44
|
-
}
|
|
45
|
-
if (value === null) {
|
|
46
|
-
return null;
|
|
47
|
-
}
|
|
48
|
-
return __assign(__assign({}, (0, HttpLink_1.HttpLinkToJSON)(value)), { 'id': value.id, 'name': value.name });
|
|
49
|
-
}
|
|
50
|
-
exports.ProductSecondaryTypeLinkToJSON = ProductSecondaryTypeLinkToJSON;
|
|
@@ -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 ProductSecondaryTypeLinkAllOf
|
|
16
|
-
*/
|
|
17
|
-
export interface ProductSecondaryTypeLinkAllOf {
|
|
18
|
-
/**
|
|
19
|
-
* Id of the product secondary type
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ProductSecondaryTypeLinkAllOf
|
|
22
|
-
*/
|
|
23
|
-
id?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Readable name for display
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ProductSecondaryTypeLinkAllOf
|
|
28
|
-
*/
|
|
29
|
-
name?: string;
|
|
30
|
-
}
|
|
31
|
-
export declare function ProductSecondaryTypeLinkAllOfFromJSON(json: any): ProductSecondaryTypeLinkAllOf;
|
|
32
|
-
export declare function ProductSecondaryTypeLinkAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductSecondaryTypeLinkAllOf;
|
|
33
|
-
export declare function ProductSecondaryTypeLinkAllOfToJSON(value?: ProductSecondaryTypeLinkAllOf | 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.ProductSecondaryTypeLinkAllOfToJSON = exports.ProductSecondaryTypeLinkAllOfFromJSONTyped = exports.ProductSecondaryTypeLinkAllOfFromJSON = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
function ProductSecondaryTypeLinkAllOfFromJSON(json) {
|
|
19
|
-
return ProductSecondaryTypeLinkAllOfFromJSONTyped(json, false);
|
|
20
|
-
}
|
|
21
|
-
exports.ProductSecondaryTypeLinkAllOfFromJSON = ProductSecondaryTypeLinkAllOfFromJSON;
|
|
22
|
-
function ProductSecondaryTypeLinkAllOfFromJSONTyped(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.ProductSecondaryTypeLinkAllOfFromJSONTyped = ProductSecondaryTypeLinkAllOfFromJSONTyped;
|
|
32
|
-
function ProductSecondaryTypeLinkAllOfToJSON(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.ProductSecondaryTypeLinkAllOfToJSON = ProductSecondaryTypeLinkAllOfToJSON;
|
|
@@ -1,25 +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
|
-
* @enum {string}
|
|
16
|
-
*/
|
|
17
|
-
export declare enum ProductStorageType {
|
|
18
|
-
FREE = "FREE",
|
|
19
|
-
FRIDGE = "FRIDGE",
|
|
20
|
-
FREEZER = "FREEZER",
|
|
21
|
-
FRESH = "FRESH"
|
|
22
|
-
}
|
|
23
|
-
export declare function ProductStorageTypeFromJSON(json: any): ProductStorageType;
|
|
24
|
-
export declare function ProductStorageTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductStorageType;
|
|
25
|
-
export declare function ProductStorageTypeToJSON(value?: ProductStorageType | null): any;
|
|
@@ -1,40 +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.ProductStorageType = void 0;
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
* @enum {string}
|
|
21
|
-
*/
|
|
22
|
-
var ProductStorageType;
|
|
23
|
-
(function (ProductStorageType) {
|
|
24
|
-
ProductStorageType["FREE"] = "FREE";
|
|
25
|
-
ProductStorageType["FRIDGE"] = "FRIDGE";
|
|
26
|
-
ProductStorageType["FREEZER"] = "FREEZER";
|
|
27
|
-
ProductStorageType["FRESH"] = "FRESH";
|
|
28
|
-
})(ProductStorageType = exports.ProductStorageType || (exports.ProductStorageType = {}));
|
|
29
|
-
function ProductStorageTypeFromJSON(json) {
|
|
30
|
-
return ProductStorageTypeFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
exports.ProductStorageTypeFromJSON = ProductStorageTypeFromJSON;
|
|
33
|
-
function ProductStorageTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
exports.ProductStorageTypeFromJSONTyped = ProductStorageTypeFromJSONTyped;
|
|
37
|
-
function ProductStorageTypeToJSON(value) {
|
|
38
|
-
return value;
|
|
39
|
-
}
|
|
40
|
-
exports.ProductStorageTypeToJSON = ProductStorageTypeToJSON;
|
|
@@ -1,34 +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 { HttpLink } from './HttpLink';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductTypeLink
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductTypeLink extends HttpLink {
|
|
19
|
-
/**
|
|
20
|
-
* Id of the product type (machine name)
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof ProductTypeLink
|
|
23
|
-
*/
|
|
24
|
-
id?: string;
|
|
25
|
-
/**
|
|
26
|
-
* Readable name for display
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof ProductTypeLink
|
|
29
|
-
*/
|
|
30
|
-
name?: string;
|
|
31
|
-
}
|
|
32
|
-
export declare function ProductTypeLinkFromJSON(json: any): ProductTypeLink;
|
|
33
|
-
export declare function ProductTypeLinkFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductTypeLink;
|
|
34
|
-
export declare function ProductTypeLinkToJSON(value?: ProductTypeLink | null): any;
|