@lcdp/api-react-rest-client 2.1.4-test-order-by.4883611692 → 2.1.5
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,43 @@
|
|
|
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.IdentifiedDistributionRangeAllOfToJSON = exports.IdentifiedDistributionRangeAllOfFromJSONTyped = exports.IdentifiedDistributionRangeAllOfFromJSON = void 0;
|
|
17
|
+
function IdentifiedDistributionRangeAllOfFromJSON(json) {
|
|
18
|
+
return IdentifiedDistributionRangeAllOfFromJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
exports.IdentifiedDistributionRangeAllOfFromJSON = IdentifiedDistributionRangeAllOfFromJSON;
|
|
21
|
+
function IdentifiedDistributionRangeAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'id': json['id'],
|
|
27
|
+
'rebate': json['rebate'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
exports.IdentifiedDistributionRangeAllOfFromJSONTyped = IdentifiedDistributionRangeAllOfFromJSONTyped;
|
|
31
|
+
function IdentifiedDistributionRangeAllOfToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': value.id,
|
|
40
|
+
'rebate': value.rebate,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
exports.IdentifiedDistributionRangeAllOfToJSON = IdentifiedDistributionRangeAllOfToJSON;
|
|
@@ -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 { DistributionMode } from './DistributionMode';
|
|
13
|
+
import { IdentifiedDistributionRange } from './IdentifiedDistributionRange';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface IdentifiedRangeDistributionMode
|
|
18
|
+
*/
|
|
19
|
+
export interface IdentifiedRangeDistributionMode extends DistributionMode {
|
|
20
|
+
/**
|
|
21
|
+
* Available range to buy product.
|
|
22
|
+
* @type {Array<IdentifiedDistributionRange>}
|
|
23
|
+
* @memberof IdentifiedRangeDistributionMode
|
|
24
|
+
*/
|
|
25
|
+
ranges: Array<IdentifiedDistributionRange>;
|
|
26
|
+
}
|
|
27
|
+
export declare function IdentifiedRangeDistributionModeFromJSON(json: any): IdentifiedRangeDistributionMode;
|
|
28
|
+
export declare function IdentifiedRangeDistributionModeFromJSONTyped(json: any, ignoreDiscriminator: boolean): IdentifiedRangeDistributionMode;
|
|
29
|
+
export declare function IdentifiedRangeDistributionModeToJSON(value?: IdentifiedRangeDistributionMode | 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.IdentifiedRangeDistributionModeToJSON = exports.IdentifiedRangeDistributionModeFromJSONTyped = exports.IdentifiedRangeDistributionModeFromJSON = void 0;
|
|
28
|
+
var DistributionMode_1 = require("./DistributionMode");
|
|
29
|
+
var IdentifiedDistributionRange_1 = require("./IdentifiedDistributionRange");
|
|
30
|
+
function IdentifiedRangeDistributionModeFromJSON(json) {
|
|
31
|
+
return IdentifiedRangeDistributionModeFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.IdentifiedRangeDistributionModeFromJSON = IdentifiedRangeDistributionModeFromJSON;
|
|
34
|
+
function IdentifiedRangeDistributionModeFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if ((json === undefined) || (json === null)) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return __assign(__assign({}, (0, DistributionMode_1.DistributionModeFromJSONTyped)(json, ignoreDiscriminator)), { 'ranges': (json['ranges'].map(IdentifiedDistributionRange_1.IdentifiedDistributionRangeFromJSON)) });
|
|
39
|
+
}
|
|
40
|
+
exports.IdentifiedRangeDistributionModeFromJSONTyped = IdentifiedRangeDistributionModeFromJSONTyped;
|
|
41
|
+
function IdentifiedRangeDistributionModeToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return __assign(__assign({}, (0, DistributionMode_1.DistributionModeToJSON)(value)), { 'ranges': (value.ranges.map(IdentifiedDistributionRange_1.IdentifiedDistributionRangeToJSON)) });
|
|
49
|
+
}
|
|
50
|
+
exports.IdentifiedRangeDistributionModeToJSON = IdentifiedRangeDistributionModeToJSON;
|
|
@@ -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 { IdentifiedDistributionRange } from './IdentifiedDistributionRange';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface IdentifiedRangeDistributionModeAllOf
|
|
17
|
+
*/
|
|
18
|
+
export interface IdentifiedRangeDistributionModeAllOf {
|
|
19
|
+
/**
|
|
20
|
+
* Available range to buy product.
|
|
21
|
+
* @type {Array<IdentifiedDistributionRange>}
|
|
22
|
+
* @memberof IdentifiedRangeDistributionModeAllOf
|
|
23
|
+
*/
|
|
24
|
+
ranges: Array<IdentifiedDistributionRange>;
|
|
25
|
+
}
|
|
26
|
+
export declare function IdentifiedRangeDistributionModeAllOfFromJSON(json: any): IdentifiedRangeDistributionModeAllOf;
|
|
27
|
+
export declare function IdentifiedRangeDistributionModeAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): IdentifiedRangeDistributionModeAllOf;
|
|
28
|
+
export declare function IdentifiedRangeDistributionModeAllOfToJSON(value?: IdentifiedRangeDistributionModeAllOf | 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.IdentifiedRangeDistributionModeAllOfToJSON = exports.IdentifiedRangeDistributionModeAllOfFromJSONTyped = exports.IdentifiedRangeDistributionModeAllOfFromJSON = void 0;
|
|
17
|
+
var IdentifiedDistributionRange_1 = require("./IdentifiedDistributionRange");
|
|
18
|
+
function IdentifiedRangeDistributionModeAllOfFromJSON(json) {
|
|
19
|
+
return IdentifiedRangeDistributionModeAllOfFromJSONTyped(json, false);
|
|
20
|
+
}
|
|
21
|
+
exports.IdentifiedRangeDistributionModeAllOfFromJSON = IdentifiedRangeDistributionModeAllOfFromJSON;
|
|
22
|
+
function IdentifiedRangeDistributionModeAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
if ((json === undefined) || (json === null)) {
|
|
24
|
+
return json;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'ranges': (json['ranges'].map(IdentifiedDistributionRange_1.IdentifiedDistributionRangeFromJSON)),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
exports.IdentifiedRangeDistributionModeAllOfFromJSONTyped = IdentifiedRangeDistributionModeAllOfFromJSONTyped;
|
|
31
|
+
function IdentifiedRangeDistributionModeAllOfToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'ranges': (value.ranges.map(IdentifiedDistributionRange_1.IdentifiedDistributionRangeToJSON)),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.IdentifiedRangeDistributionModeAllOfToJSON = IdentifiedRangeDistributionModeAllOfToJSON;
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ImageVersions
|
|
16
|
+
*/
|
|
17
|
+
export interface ImageVersions {
|
|
18
|
+
/**
|
|
19
|
+
* URL to S3 file (width 128px, height computed with original image aspect ratio)
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ImageVersions
|
|
22
|
+
*/
|
|
23
|
+
xsmall?: string;
|
|
24
|
+
/**
|
|
25
|
+
* URL to S3 file (width 256px, height computed with original image aspect ratio)
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ImageVersions
|
|
28
|
+
*/
|
|
29
|
+
small?: string;
|
|
30
|
+
/**
|
|
31
|
+
* URL to S3 file (width 512px, height computed with original image aspect ratio)
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ImageVersions
|
|
34
|
+
*/
|
|
35
|
+
medium?: string;
|
|
36
|
+
/**
|
|
37
|
+
* URL to S3 file (width 1024px, height computed with original image aspect ratio)
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ImageVersions
|
|
40
|
+
*/
|
|
41
|
+
large?: string;
|
|
42
|
+
/**
|
|
43
|
+
* URL to S3 file (width 2048px, height computed with original image aspect ratio)
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ImageVersions
|
|
46
|
+
*/
|
|
47
|
+
xlarge?: string;
|
|
48
|
+
/**
|
|
49
|
+
* URL to S3 file (Original size)
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ImageVersions
|
|
52
|
+
*/
|
|
53
|
+
original: string;
|
|
54
|
+
}
|
|
55
|
+
export declare function ImageVersionsFromJSON(json: any): ImageVersions;
|
|
56
|
+
export declare function ImageVersionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageVersions;
|
|
57
|
+
export declare function ImageVersionsToJSON(value?: ImageVersions | null): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.ImageVersionsToJSON = exports.ImageVersionsFromJSONTyped = exports.ImageVersionsFromJSON = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
function ImageVersionsFromJSON(json) {
|
|
19
|
+
return ImageVersionsFromJSONTyped(json, false);
|
|
20
|
+
}
|
|
21
|
+
exports.ImageVersionsFromJSON = ImageVersionsFromJSON;
|
|
22
|
+
function ImageVersionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
if ((json === undefined) || (json === null)) {
|
|
24
|
+
return json;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'xsmall': !(0, runtime_1.exists)(json, 'xsmall') ? undefined : json['xsmall'],
|
|
28
|
+
'small': !(0, runtime_1.exists)(json, 'small') ? undefined : json['small'],
|
|
29
|
+
'medium': !(0, runtime_1.exists)(json, 'medium') ? undefined : json['medium'],
|
|
30
|
+
'large': !(0, runtime_1.exists)(json, 'large') ? undefined : json['large'],
|
|
31
|
+
'xlarge': !(0, runtime_1.exists)(json, 'xlarge') ? undefined : json['xlarge'],
|
|
32
|
+
'original': json['original'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
exports.ImageVersionsFromJSONTyped = ImageVersionsFromJSONTyped;
|
|
36
|
+
function ImageVersionsToJSON(value) {
|
|
37
|
+
if (value === undefined) {
|
|
38
|
+
return undefined;
|
|
39
|
+
}
|
|
40
|
+
if (value === null) {
|
|
41
|
+
return null;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'xsmall': value.xsmall,
|
|
45
|
+
'small': value.small,
|
|
46
|
+
'medium': value.medium,
|
|
47
|
+
'large': value.large,
|
|
48
|
+
'xlarge': value.xlarge,
|
|
49
|
+
'original': value.original,
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
exports.ImageVersionsToJSON = ImageVersionsToJSON;
|
|
@@ -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 { ProductImageLink } from './ProductImageLink';
|
|
13
|
+
/**
|
|
14
|
+
* Tagged images for a sale offer
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Images
|
|
17
|
+
*/
|
|
18
|
+
export interface Images {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ProductImageLink}
|
|
22
|
+
* @memberof Images
|
|
23
|
+
*/
|
|
24
|
+
first?: ProductImageLink | null;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {ProductImageLink}
|
|
28
|
+
* @memberof Images
|
|
29
|
+
*/
|
|
30
|
+
second?: ProductImageLink | null;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {ProductImageLink}
|
|
34
|
+
* @memberof Images
|
|
35
|
+
*/
|
|
36
|
+
third?: ProductImageLink | null;
|
|
37
|
+
}
|
|
38
|
+
export declare function ImagesFromJSON(json: any): Images;
|
|
39
|
+
export declare function ImagesFromJSONTyped(json: any, ignoreDiscriminator: boolean): Images;
|
|
40
|
+
export declare function ImagesToJSON(value?: Images | 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.ImagesToJSON = exports.ImagesFromJSONTyped = exports.ImagesFromJSON = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
var ProductImageLink_1 = require("./ProductImageLink");
|
|
19
|
+
function ImagesFromJSON(json) {
|
|
20
|
+
return ImagesFromJSONTyped(json, false);
|
|
21
|
+
}
|
|
22
|
+
exports.ImagesFromJSON = ImagesFromJSON;
|
|
23
|
+
function ImagesFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if ((json === undefined) || (json === null)) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'first': !(0, runtime_1.exists)(json, 'first') ? json['first'] : (0, ProductImageLink_1.ProductImageLinkFromJSON)(json['first']),
|
|
29
|
+
'second': !(0, runtime_1.exists)(json, 'second') ? json['second'] : (0, ProductImageLink_1.ProductImageLinkFromJSON)(json['second']),
|
|
30
|
+
'third': !(0, runtime_1.exists)(json, 'third') ? json['third'] : (0, ProductImageLink_1.ProductImageLinkFromJSON)(json['third']),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
exports.ImagesFromJSONTyped = ImagesFromJSONTyped;
|
|
34
|
+
function ImagesToJSON(value) {
|
|
35
|
+
if (value === undefined) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
if (value === null) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'first': (0, ProductImageLink_1.ProductImageLinkToJSON)(value.first),
|
|
43
|
+
'second': (0, ProductImageLink_1.ProductImageLinkToJSON)(value.second),
|
|
44
|
+
'third': (0, ProductImageLink_1.ProductImageLinkToJSON)(value.third),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.ImagesToJSON = ImagesToJSON;
|
|
@@ -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 { HttpLink } from './HttpLink';
|
|
13
|
+
import { OwnerLinkAllOfCompany } from './OwnerLinkAllOfCompany';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface OwnerLink
|
|
18
|
+
*/
|
|
19
|
+
export interface OwnerLink extends HttpLink {
|
|
20
|
+
/**
|
|
21
|
+
* Id of the owner
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof OwnerLink
|
|
24
|
+
*/
|
|
25
|
+
id?: number;
|
|
26
|
+
/**
|
|
27
|
+
* User nickname
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof OwnerLink
|
|
30
|
+
*/
|
|
31
|
+
nickname?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {OwnerLinkAllOfCompany}
|
|
35
|
+
* @memberof OwnerLink
|
|
36
|
+
*/
|
|
37
|
+
company?: OwnerLinkAllOfCompany;
|
|
38
|
+
}
|
|
39
|
+
export declare function OwnerLinkFromJSON(json: any): OwnerLink;
|
|
40
|
+
export declare function OwnerLinkFromJSONTyped(json: any, ignoreDiscriminator: boolean): OwnerLink;
|
|
41
|
+
export declare function OwnerLinkToJSON(value?: OwnerLink | 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.OwnerLinkToJSON = exports.OwnerLinkFromJSONTyped = exports.OwnerLinkFromJSON = void 0;
|
|
28
|
+
var runtime_1 = require("../runtime");
|
|
29
|
+
var HttpLink_1 = require("./HttpLink");
|
|
30
|
+
var OwnerLinkAllOfCompany_1 = require("./OwnerLinkAllOfCompany");
|
|
31
|
+
function OwnerLinkFromJSON(json) {
|
|
32
|
+
return OwnerLinkFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
exports.OwnerLinkFromJSON = OwnerLinkFromJSON;
|
|
35
|
+
function OwnerLinkFromJSONTyped(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'], 'nickname': !(0, runtime_1.exists)(json, 'nickname') ? undefined : json['nickname'], 'company': !(0, runtime_1.exists)(json, 'company') ? undefined : (0, OwnerLinkAllOfCompany_1.OwnerLinkAllOfCompanyFromJSON)(json['company']) });
|
|
40
|
+
}
|
|
41
|
+
exports.OwnerLinkFromJSONTyped = OwnerLinkFromJSONTyped;
|
|
42
|
+
function OwnerLinkToJSON(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, 'nickname': value.nickname, 'company': (0, OwnerLinkAllOfCompany_1.OwnerLinkAllOfCompanyToJSON)(value.company) });
|
|
50
|
+
}
|
|
51
|
+
exports.OwnerLinkToJSON = OwnerLinkToJSON;
|
|
@@ -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 { OwnerLinkAllOfCompany } from './OwnerLinkAllOfCompany';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OwnerLinkAllOf
|
|
17
|
+
*/
|
|
18
|
+
export interface OwnerLinkAllOf {
|
|
19
|
+
/**
|
|
20
|
+
* Id of the owner
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof OwnerLinkAllOf
|
|
23
|
+
*/
|
|
24
|
+
id?: number;
|
|
25
|
+
/**
|
|
26
|
+
* User nickname
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof OwnerLinkAllOf
|
|
29
|
+
*/
|
|
30
|
+
nickname?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {OwnerLinkAllOfCompany}
|
|
34
|
+
* @memberof OwnerLinkAllOf
|
|
35
|
+
*/
|
|
36
|
+
company?: OwnerLinkAllOfCompany;
|
|
37
|
+
}
|
|
38
|
+
export declare function OwnerLinkAllOfFromJSON(json: any): OwnerLinkAllOf;
|
|
39
|
+
export declare function OwnerLinkAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): OwnerLinkAllOf;
|
|
40
|
+
export declare function OwnerLinkAllOfToJSON(value?: OwnerLinkAllOf | 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.OwnerLinkAllOfToJSON = exports.OwnerLinkAllOfFromJSONTyped = exports.OwnerLinkAllOfFromJSON = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
var OwnerLinkAllOfCompany_1 = require("./OwnerLinkAllOfCompany");
|
|
19
|
+
function OwnerLinkAllOfFromJSON(json) {
|
|
20
|
+
return OwnerLinkAllOfFromJSONTyped(json, false);
|
|
21
|
+
}
|
|
22
|
+
exports.OwnerLinkAllOfFromJSON = OwnerLinkAllOfFromJSON;
|
|
23
|
+
function OwnerLinkAllOfFromJSONTyped(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
|
+
'nickname': !(0, runtime_1.exists)(json, 'nickname') ? undefined : json['nickname'],
|
|
30
|
+
'company': !(0, runtime_1.exists)(json, 'company') ? undefined : (0, OwnerLinkAllOfCompany_1.OwnerLinkAllOfCompanyFromJSON)(json['company']),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
exports.OwnerLinkAllOfFromJSONTyped = OwnerLinkAllOfFromJSONTyped;
|
|
34
|
+
function OwnerLinkAllOfToJSON(value) {
|
|
35
|
+
if (value === undefined) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
if (value === null) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'id': value.id,
|
|
43
|
+
'nickname': value.nickname,
|
|
44
|
+
'company': (0, OwnerLinkAllOfCompany_1.OwnerLinkAllOfCompanyToJSON)(value.company),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
exports.OwnerLinkAllOfToJSON = OwnerLinkAllOfToJSON;
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
* Infos about the user company
|
|
14
|
+
* @export
|
|
15
|
+
* @interface OwnerLinkAllOfCompany
|
|
16
|
+
*/
|
|
17
|
+
export interface OwnerLinkAllOfCompany {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OwnerLinkAllOfCompany
|
|
22
|
+
*/
|
|
23
|
+
legalName?: string | null;
|
|
24
|
+
}
|
|
25
|
+
export declare function OwnerLinkAllOfCompanyFromJSON(json: any): OwnerLinkAllOfCompany;
|
|
26
|
+
export declare function OwnerLinkAllOfCompanyFromJSONTyped(json: any, ignoreDiscriminator: boolean): OwnerLinkAllOfCompany;
|
|
27
|
+
export declare function OwnerLinkAllOfCompanyToJSON(value?: OwnerLinkAllOfCompany | 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.OwnerLinkAllOfCompanyToJSON = exports.OwnerLinkAllOfCompanyFromJSONTyped = exports.OwnerLinkAllOfCompanyFromJSON = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
function OwnerLinkAllOfCompanyFromJSON(json) {
|
|
19
|
+
return OwnerLinkAllOfCompanyFromJSONTyped(json, false);
|
|
20
|
+
}
|
|
21
|
+
exports.OwnerLinkAllOfCompanyFromJSON = OwnerLinkAllOfCompanyFromJSON;
|
|
22
|
+
function OwnerLinkAllOfCompanyFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
+
if ((json === undefined) || (json === null)) {
|
|
24
|
+
return json;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'legalName': !(0, runtime_1.exists)(json, 'legalName') ? json['legalName'] : json['legalName'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
exports.OwnerLinkAllOfCompanyFromJSONTyped = OwnerLinkAllOfCompanyFromJSONTyped;
|
|
31
|
+
function OwnerLinkAllOfCompanyToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'legalName': value.legalName,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.OwnerLinkAllOfCompanyToJSON = OwnerLinkAllOfCompanyToJSON;
|
|
@@ -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 { 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;
|