@lcdp/api-react-rest-client 2.1.4-test-order-by.4883611692 → 2.1.4
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/sale-offer/index.d.ts +1 -0
- package/sale-offer/index.js +17 -0
- package/sale-offer/src/apis/ManageSaleOfferApi.d.ts +74 -0
- package/sale-offer/src/apis/ManageSaleOfferApi.js +371 -0
- package/sale-offer/src/apis/ManageSaleOfferStatusApi.d.ts +32 -0
- package/sale-offer/src/apis/ManageSaleOfferStatusApi.js +160 -0
- package/sale-offer/src/apis/SearchSaleOfferApi.d.ts +105 -0
- package/sale-offer/src/apis/SearchSaleOfferApi.js +333 -0
- package/sale-offer/src/apis/index.d.ts +3 -0
- package/sale-offer/src/apis/index.js +19 -0
- package/sale-offer/src/index.d.ts +3 -0
- package/sale-offer/src/index.js +19 -0
- package/sale-offer/src/models/AnyDistributionMode.d.ts +28 -0
- package/sale-offer/src/models/AnyDistributionMode.js +69 -0
- package/sale-offer/src/models/AnyIdentifiedDistributionMode.d.ts +28 -0
- package/sale-offer/src/models/AnyIdentifiedDistributionMode.js +69 -0
- package/sale-offer/src/models/Barcodes.d.ts +45 -0
- package/sale-offer/src/models/Barcodes.js +48 -0
- package/sale-offer/src/models/DistributionMode.d.ts +39 -0
- package/sale-offer/src/models/DistributionMode.js +45 -0
- package/sale-offer/src/models/DistributionRange.d.ts +39 -0
- package/sale-offer/src/models/DistributionRange.js +45 -0
- package/sale-offer/src/models/HttpLink.d.ts +27 -0
- package/sale-offer/src/models/HttpLink.js +41 -0
- package/sale-offer/src/models/IdentifiedDistributionRange.d.ts +34 -0
- package/sale-offer/src/models/IdentifiedDistributionRange.js +49 -0
- package/sale-offer/src/models/IdentifiedDistributionRangeAllOf.d.ts +33 -0
- package/sale-offer/src/models/IdentifiedDistributionRangeAllOf.js +43 -0
- package/sale-offer/src/models/IdentifiedRangeDistributionMode.d.ts +29 -0
- package/sale-offer/src/models/IdentifiedRangeDistributionMode.js +50 -0
- package/sale-offer/src/models/IdentifiedRangeDistributionModeAllOf.d.ts +28 -0
- package/sale-offer/src/models/IdentifiedRangeDistributionModeAllOf.js +42 -0
- package/sale-offer/src/models/ImageVersions.d.ts +57 -0
- package/sale-offer/src/models/ImageVersions.js +52 -0
- package/sale-offer/src/models/Images.d.ts +40 -0
- package/sale-offer/src/models/Images.js +47 -0
- package/sale-offer/src/models/OwnerLink.d.ts +41 -0
- package/sale-offer/src/models/OwnerLink.js +51 -0
- package/sale-offer/src/models/OwnerLinkAllOf.d.ts +40 -0
- package/sale-offer/src/models/OwnerLinkAllOf.js +47 -0
- package/sale-offer/src/models/OwnerLinkAllOfCompany.d.ts +27 -0
- package/sale-offer/src/models/OwnerLinkAllOfCompany.js +42 -0
- package/sale-offer/src/models/PaginatedObject.d.ts +28 -0
- package/sale-offer/src/models/PaginatedObject.js +42 -0
- package/sale-offer/src/models/PaginatedSaleOffers.d.ts +29 -0
- package/sale-offer/src/models/PaginatedSaleOffers.js +50 -0
- package/sale-offer/src/models/PaginatedSaleOffersAllOf.d.ts +28 -0
- package/sale-offer/src/models/PaginatedSaleOffersAllOf.js +42 -0
- package/sale-offer/src/models/PagingMetadata.d.ts +45 -0
- package/sale-offer/src/models/PagingMetadata.js +47 -0
- package/sale-offer/src/models/ProductImageLink.d.ts +35 -0
- package/sale-offer/src/models/ProductImageLink.js +51 -0
- package/sale-offer/src/models/ProductImageLinkAllOf.d.ts +34 -0
- package/sale-offer/src/models/ProductImageLinkAllOf.js +45 -0
- package/sale-offer/src/models/ProductLink.d.ts +41 -0
- package/sale-offer/src/models/ProductLink.js +51 -0
- package/sale-offer/src/models/ProductLinkAllOf.d.ts +40 -0
- package/sale-offer/src/models/ProductLinkAllOf.js +47 -0
- package/sale-offer/src/models/QuotationDistributionMode.d.ts +28 -0
- package/sale-offer/src/models/QuotationDistributionMode.js +49 -0
- package/sale-offer/src/models/QuotationDistributionModeAllOf.d.ts +27 -0
- package/sale-offer/src/models/QuotationDistributionModeAllOf.js +41 -0
- package/sale-offer/src/models/RangeDistributionMode.d.ts +29 -0
- package/sale-offer/src/models/RangeDistributionMode.js +50 -0
- package/sale-offer/src/models/RangeDistributionModeAllOf.d.ts +28 -0
- package/sale-offer/src/models/RangeDistributionModeAllOf.js +42 -0
- package/sale-offer/src/models/RestError.d.ts +85 -0
- package/sale-offer/src/models/RestError.js +97 -0
- package/sale-offer/src/models/SaleOffer.d.ts +125 -0
- package/sale-offer/src/models/SaleOffer.js +80 -0
- package/sale-offer/src/models/SaleOfferCreationImagesParameters.d.ts +39 -0
- package/sale-offer/src/models/SaleOfferCreationImagesParameters.js +46 -0
- package/sale-offer/src/models/SaleOfferCreationParameters.d.ts +72 -0
- package/sale-offer/src/models/SaleOfferCreationParameters.js +59 -0
- package/sale-offer/src/models/SaleOfferJournal.d.ts +27 -0
- package/sale-offer/src/models/SaleOfferJournal.js +42 -0
- package/sale-offer/src/models/SaleOfferNewVersionParameters.d.ts +54 -0
- package/sale-offer/src/models/SaleOfferNewVersionParameters.js +53 -0
- package/sale-offer/src/models/SaleOfferStatisticLink.d.ts +34 -0
- package/sale-offer/src/models/SaleOfferStatisticLink.js +50 -0
- package/sale-offer/src/models/SaleOfferStatisticLinkAllOf.d.ts +33 -0
- package/sale-offer/src/models/SaleOfferStatisticLinkAllOf.js +44 -0
- package/sale-offer/src/models/SaleOfferStatus.d.ts +28 -0
- package/sale-offer/src/models/SaleOfferStatus.js +43 -0
- package/sale-offer/src/models/Stock.d.ts +39 -0
- package/sale-offer/src/models/Stock.js +46 -0
- package/sale-offer/src/models/UnitaryDistributionMode.d.ts +34 -0
- package/sale-offer/src/models/UnitaryDistributionMode.js +49 -0
- package/sale-offer/src/models/UnitaryDistributionModeAllOf.d.ts +33 -0
- package/sale-offer/src/models/UnitaryDistributionModeAllOf.js +43 -0
- package/sale-offer/src/models/index.d.ts +39 -0
- package/sale-offer/src/models/index.js +55 -0
- package/sale-offer/src/runtime.d.ts +149 -0
- package/sale-offer/src/runtime.js +480 -0
|
@@ -0,0 +1,42 @@
|
|
|
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.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;
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
import { PaginatedObject } from './PaginatedObject';
|
|
13
|
+
import { SaleOffer } from './SaleOffer';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PaginatedSaleOffers
|
|
18
|
+
*/
|
|
19
|
+
export interface PaginatedSaleOffers extends PaginatedObject {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<SaleOffer>}
|
|
23
|
+
* @memberof PaginatedSaleOffers
|
|
24
|
+
*/
|
|
25
|
+
records: Array<SaleOffer>;
|
|
26
|
+
}
|
|
27
|
+
export declare function PaginatedSaleOffersFromJSON(json: any): PaginatedSaleOffers;
|
|
28
|
+
export declare function PaginatedSaleOffersFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedSaleOffers;
|
|
29
|
+
export declare function PaginatedSaleOffersToJSON(value?: PaginatedSaleOffers | null): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
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.PaginatedSaleOffersToJSON = exports.PaginatedSaleOffersFromJSONTyped = exports.PaginatedSaleOffersFromJSON = void 0;
|
|
28
|
+
var PaginatedObject_1 = require("./PaginatedObject");
|
|
29
|
+
var SaleOffer_1 = require("./SaleOffer");
|
|
30
|
+
function PaginatedSaleOffersFromJSON(json) {
|
|
31
|
+
return PaginatedSaleOffersFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.PaginatedSaleOffersFromJSON = PaginatedSaleOffersFromJSON;
|
|
34
|
+
function PaginatedSaleOffersFromJSONTyped(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(SaleOffer_1.SaleOfferFromJSON)) });
|
|
39
|
+
}
|
|
40
|
+
exports.PaginatedSaleOffersFromJSONTyped = PaginatedSaleOffersFromJSONTyped;
|
|
41
|
+
function PaginatedSaleOffersToJSON(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(SaleOffer_1.SaleOfferToJSON)) });
|
|
49
|
+
}
|
|
50
|
+
exports.PaginatedSaleOffersToJSON = PaginatedSaleOffersToJSON;
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
import { SaleOffer } from './SaleOffer';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PaginatedSaleOffersAllOf
|
|
17
|
+
*/
|
|
18
|
+
export interface PaginatedSaleOffersAllOf {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<SaleOffer>}
|
|
22
|
+
* @memberof PaginatedSaleOffersAllOf
|
|
23
|
+
*/
|
|
24
|
+
records: Array<SaleOffer>;
|
|
25
|
+
}
|
|
26
|
+
export declare function PaginatedSaleOffersAllOfFromJSON(json: any): PaginatedSaleOffersAllOf;
|
|
27
|
+
export declare function PaginatedSaleOffersAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedSaleOffersAllOf;
|
|
28
|
+
export declare function PaginatedSaleOffersAllOfToJSON(value?: PaginatedSaleOffersAllOf | null): any;
|
|
@@ -0,0 +1,42 @@
|
|
|
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.PaginatedSaleOffersAllOfToJSON = exports.PaginatedSaleOffersAllOfFromJSONTyped = exports.PaginatedSaleOffersAllOfFromJSON = void 0;
|
|
17
|
+
var SaleOffer_1 = require("./SaleOffer");
|
|
18
|
+
function PaginatedSaleOffersAllOfFromJSON(json) {
|
|
19
|
+
return PaginatedSaleOffersAllOfFromJSONTyped(json, false);
|
|
20
|
+
}
|
|
21
|
+
exports.PaginatedSaleOffersAllOfFromJSON = PaginatedSaleOffersAllOfFromJSON;
|
|
22
|
+
function PaginatedSaleOffersAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
if ((json === undefined) || (json === null)) {
|
|
24
|
+
return json;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'records': (json['records'].map(SaleOffer_1.SaleOfferFromJSON)),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
exports.PaginatedSaleOffersAllOfFromJSONTyped = PaginatedSaleOffersAllOfFromJSONTyped;
|
|
31
|
+
function PaginatedSaleOffersAllOfToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'records': (value.records.map(SaleOffer_1.SaleOfferToJSON)),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.PaginatedSaleOffersAllOfToJSON = PaginatedSaleOffersAllOfToJSON;
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
* 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;
|
|
@@ -0,0 +1,47 @@
|
|
|
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.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;
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
import { HttpLink } from './HttpLink';
|
|
13
|
+
import { ImageVersions } from './ImageVersions';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ProductImageLink
|
|
18
|
+
*/
|
|
19
|
+
export interface ProductImageLink extends HttpLink {
|
|
20
|
+
/**
|
|
21
|
+
* Id of the image
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof ProductImageLink
|
|
24
|
+
*/
|
|
25
|
+
id?: number;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {ImageVersions}
|
|
29
|
+
* @memberof ProductImageLink
|
|
30
|
+
*/
|
|
31
|
+
versions?: ImageVersions;
|
|
32
|
+
}
|
|
33
|
+
export declare function ProductImageLinkFromJSON(json: any): ProductImageLink;
|
|
34
|
+
export declare function ProductImageLinkFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductImageLink;
|
|
35
|
+
export declare function ProductImageLinkToJSON(value?: ProductImageLink | null): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
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.ProductImageLinkToJSON = exports.ProductImageLinkFromJSONTyped = exports.ProductImageLinkFromJSON = void 0;
|
|
28
|
+
var runtime_1 = require("../runtime");
|
|
29
|
+
var HttpLink_1 = require("./HttpLink");
|
|
30
|
+
var ImageVersions_1 = require("./ImageVersions");
|
|
31
|
+
function ProductImageLinkFromJSON(json) {
|
|
32
|
+
return ProductImageLinkFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
exports.ProductImageLinkFromJSON = ProductImageLinkFromJSON;
|
|
35
|
+
function ProductImageLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if ((json === undefined) || (json === null)) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return __assign(__assign({}, (0, HttpLink_1.HttpLinkFromJSONTyped)(json, ignoreDiscriminator)), { 'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'], 'versions': !(0, runtime_1.exists)(json, 'versions') ? undefined : (0, ImageVersions_1.ImageVersionsFromJSON)(json['versions']) });
|
|
40
|
+
}
|
|
41
|
+
exports.ProductImageLinkFromJSONTyped = ProductImageLinkFromJSONTyped;
|
|
42
|
+
function ProductImageLinkToJSON(value) {
|
|
43
|
+
if (value === undefined) {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
if (value === null) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
return __assign(__assign({}, (0, HttpLink_1.HttpLinkToJSON)(value)), { 'id': value.id, 'versions': (0, ImageVersions_1.ImageVersionsToJSON)(value.versions) });
|
|
50
|
+
}
|
|
51
|
+
exports.ProductImageLinkToJSON = ProductImageLinkToJSON;
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
import { ImageVersions } from './ImageVersions';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProductImageLinkAllOf
|
|
17
|
+
*/
|
|
18
|
+
export interface ProductImageLinkAllOf {
|
|
19
|
+
/**
|
|
20
|
+
* Id of the image
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ProductImageLinkAllOf
|
|
23
|
+
*/
|
|
24
|
+
id?: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {ImageVersions}
|
|
28
|
+
* @memberof ProductImageLinkAllOf
|
|
29
|
+
*/
|
|
30
|
+
versions?: ImageVersions;
|
|
31
|
+
}
|
|
32
|
+
export declare function ProductImageLinkAllOfFromJSON(json: any): ProductImageLinkAllOf;
|
|
33
|
+
export declare function ProductImageLinkAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductImageLinkAllOf;
|
|
34
|
+
export declare function ProductImageLinkAllOfToJSON(value?: ProductImageLinkAllOf | null): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
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.ProductImageLinkAllOfToJSON = exports.ProductImageLinkAllOfFromJSONTyped = exports.ProductImageLinkAllOfFromJSON = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
var ImageVersions_1 = require("./ImageVersions");
|
|
19
|
+
function ProductImageLinkAllOfFromJSON(json) {
|
|
20
|
+
return ProductImageLinkAllOfFromJSONTyped(json, false);
|
|
21
|
+
}
|
|
22
|
+
exports.ProductImageLinkAllOfFromJSON = ProductImageLinkAllOfFromJSON;
|
|
23
|
+
function ProductImageLinkAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if ((json === undefined) || (json === null)) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
|
|
29
|
+
'versions': !(0, runtime_1.exists)(json, 'versions') ? undefined : (0, ImageVersions_1.ImageVersionsFromJSON)(json['versions']),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
exports.ProductImageLinkAllOfFromJSONTyped = ProductImageLinkAllOfFromJSONTyped;
|
|
33
|
+
function ProductImageLinkAllOfToJSON(value) {
|
|
34
|
+
if (value === undefined) {
|
|
35
|
+
return undefined;
|
|
36
|
+
}
|
|
37
|
+
if (value === null) {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': value.id,
|
|
42
|
+
'versions': (0, ImageVersions_1.ImageVersionsToJSON)(value.versions),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.ProductImageLinkAllOfToJSON = ProductImageLinkAllOfToJSON;
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
import { Barcodes } from './Barcodes';
|
|
13
|
+
import { HttpLink } from './HttpLink';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ProductLink
|
|
18
|
+
*/
|
|
19
|
+
export interface ProductLink extends HttpLink {
|
|
20
|
+
/**
|
|
21
|
+
* Identifier of the product
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof ProductLink
|
|
24
|
+
*/
|
|
25
|
+
id?: number;
|
|
26
|
+
/**
|
|
27
|
+
* Name of the product
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ProductLink
|
|
30
|
+
*/
|
|
31
|
+
name?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {Barcodes}
|
|
35
|
+
* @memberof ProductLink
|
|
36
|
+
*/
|
|
37
|
+
barcodes?: Barcodes;
|
|
38
|
+
}
|
|
39
|
+
export declare function ProductLinkFromJSON(json: any): ProductLink;
|
|
40
|
+
export declare function ProductLinkFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductLink;
|
|
41
|
+
export declare function ProductLinkToJSON(value?: ProductLink | null): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
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.ProductLinkToJSON = exports.ProductLinkFromJSONTyped = exports.ProductLinkFromJSON = void 0;
|
|
28
|
+
var runtime_1 = require("../runtime");
|
|
29
|
+
var Barcodes_1 = require("./Barcodes");
|
|
30
|
+
var HttpLink_1 = require("./HttpLink");
|
|
31
|
+
function ProductLinkFromJSON(json) {
|
|
32
|
+
return ProductLinkFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
exports.ProductLinkFromJSON = ProductLinkFromJSON;
|
|
35
|
+
function ProductLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if ((json === undefined) || (json === null)) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
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'], 'barcodes': !(0, runtime_1.exists)(json, 'barcodes') ? undefined : (0, Barcodes_1.BarcodesFromJSON)(json['barcodes']) });
|
|
40
|
+
}
|
|
41
|
+
exports.ProductLinkFromJSONTyped = ProductLinkFromJSONTyped;
|
|
42
|
+
function ProductLinkToJSON(value) {
|
|
43
|
+
if (value === undefined) {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
if (value === null) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
return __assign(__assign({}, (0, HttpLink_1.HttpLinkToJSON)(value)), { 'id': value.id, 'name': value.name, 'barcodes': (0, Barcodes_1.BarcodesToJSON)(value.barcodes) });
|
|
50
|
+
}
|
|
51
|
+
exports.ProductLinkToJSON = ProductLinkToJSON;
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
import { Barcodes } from './Barcodes';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProductLinkAllOf
|
|
17
|
+
*/
|
|
18
|
+
export interface ProductLinkAllOf {
|
|
19
|
+
/**
|
|
20
|
+
* Identifier of the product
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ProductLinkAllOf
|
|
23
|
+
*/
|
|
24
|
+
id?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Name of the product
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ProductLinkAllOf
|
|
29
|
+
*/
|
|
30
|
+
name?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Barcodes}
|
|
34
|
+
* @memberof ProductLinkAllOf
|
|
35
|
+
*/
|
|
36
|
+
barcodes?: Barcodes;
|
|
37
|
+
}
|
|
38
|
+
export declare function ProductLinkAllOfFromJSON(json: any): ProductLinkAllOf;
|
|
39
|
+
export declare function ProductLinkAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductLinkAllOf;
|
|
40
|
+
export declare function ProductLinkAllOfToJSON(value?: ProductLinkAllOf | null): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
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.ProductLinkAllOfToJSON = exports.ProductLinkAllOfFromJSONTyped = exports.ProductLinkAllOfFromJSON = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
var Barcodes_1 = require("./Barcodes");
|
|
19
|
+
function ProductLinkAllOfFromJSON(json) {
|
|
20
|
+
return ProductLinkAllOfFromJSONTyped(json, false);
|
|
21
|
+
}
|
|
22
|
+
exports.ProductLinkAllOfFromJSON = ProductLinkAllOfFromJSON;
|
|
23
|
+
function ProductLinkAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if ((json === undefined) || (json === null)) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
|
|
29
|
+
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
30
|
+
'barcodes': !(0, runtime_1.exists)(json, 'barcodes') ? undefined : (0, Barcodes_1.BarcodesFromJSON)(json['barcodes']),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
exports.ProductLinkAllOfFromJSONTyped = ProductLinkAllOfFromJSONTyped;
|
|
34
|
+
function ProductLinkAllOfToJSON(value) {
|
|
35
|
+
if (value === undefined) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
if (value === null) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'id': value.id,
|
|
43
|
+
'name': value.name,
|
|
44
|
+
'barcodes': (0, Barcodes_1.BarcodesToJSON)(value.barcodes),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.ProductLinkAllOfToJSON = ProductLinkAllOfToJSON;
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
import { DistributionMode } from './DistributionMode';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface QuotationDistributionMode
|
|
17
|
+
*/
|
|
18
|
+
export interface QuotationDistributionMode extends DistributionMode {
|
|
19
|
+
/**
|
|
20
|
+
* Sold by this step value
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof QuotationDistributionMode
|
|
23
|
+
*/
|
|
24
|
+
soldBy: number;
|
|
25
|
+
}
|
|
26
|
+
export declare function QuotationDistributionModeFromJSON(json: any): QuotationDistributionMode;
|
|
27
|
+
export declare function QuotationDistributionModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): QuotationDistributionMode;
|
|
28
|
+
export declare function QuotationDistributionModeToJSON(value?: QuotationDistributionMode | null): any;
|