@lcdp/api-react-rest-client 1.1.1-develop.9 → 1.3.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/auth/src/models/RestError.d.ts +4 -6
- package/auth/src/models/RestError.js +0 -2
- package/configuration/src/models/RestError.d.ts +4 -6
- package/configuration/src/models/RestError.js +0 -2
- package/content/src/models/RestError.d.ts +4 -6
- package/content/src/models/RestError.js +0 -2
- package/favorite/src/models/RestError.d.ts +4 -6
- package/favorite/src/models/RestError.js +0 -2
- package/inventory/src/models/RestError.d.ts +4 -6
- package/inventory/src/models/RestError.js +0 -2
- package/invoice/src/models/RestError.d.ts +4 -6
- package/invoice/src/models/RestError.js +0 -2
- package/laboratory-store/src/models/RestError.d.ts +4 -6
- package/laboratory-store/src/models/RestError.js +0 -2
- package/lexicon/src/models/RestError.d.ts +4 -6
- package/lexicon/src/models/RestError.js +0 -2
- package/litigation/src/models/RestError.d.ts +4 -6
- package/litigation/src/models/RestError.js +0 -2
- package/mangopay-hook/src/models/RestError.d.ts +4 -6
- package/mangopay-hook/src/models/RestError.js +0 -2
- package/notification/src/models/NotificationTypeId.d.ts +0 -1
- package/notification/src/models/NotificationTypeId.js +0 -1
- package/notification/src/models/RestError.d.ts +4 -6
- package/notification/src/models/RestError.js +0 -2
- package/order/src/models/OrderItemPrices.d.ts +1 -7
- package/order/src/models/OrderItemPrices.js +0 -2
- package/order/src/models/OrderPrices.d.ts +1 -1
- package/order/src/models/ProductLink.d.ts +7 -0
- package/order/src/models/ProductLink.js +3 -2
- package/order/src/models/ProductLinkAllOf.d.ts +7 -0
- package/order/src/models/ProductLinkAllOf.js +3 -0
- package/order/src/models/RestError.d.ts +4 -6
- package/order/src/models/RestError.js +0 -2
- package/order/src/models/Vat.d.ts +39 -0
- package/order/src/models/Vat.js +46 -0
- package/order/src/models/index.d.ts +1 -0
- package/order/src/models/index.js +1 -0
- package/package.json +1 -1
- package/product/src/models/RestError.d.ts +4 -6
- package/product/src/models/RestError.js +0 -2
- package/pub/src/models/RestError.d.ts +4 -6
- package/pub/src/models/RestError.js +0 -2
- package/recommendation/src/apis/index.d.ts +0 -1
- package/recommendation/src/apis/index.js +0 -1
- package/recommendation/src/models/index.d.ts +0 -3
- package/recommendation/src/models/index.js +0 -3
- package/rfx/src/models/RestError.d.ts +4 -6
- package/rfx/src/models/RestError.js +0 -2
- package/sale-offer/src/models/RestError.d.ts +4 -6
- package/sale-offer/src/models/RestError.js +0 -2
- package/servant/src/models/RestError.d.ts +4 -6
- package/servant/src/models/RestError.js +0 -2
- package/shipment/src/models/RestError.d.ts +4 -6
- package/shipment/src/models/RestError.js +0 -2
- package/shopping-cart/src/models/RestError.d.ts +4 -6
- package/shopping-cart/src/models/RestError.js +0 -2
- package/statistic/src/models/RestError.d.ts +4 -6
- package/statistic/src/models/RestError.js +0 -2
- package/subscription/src/models/RestError.d.ts +4 -6
- package/subscription/src/models/RestError.js +0 -2
- package/ubo/src/models/RestError.d.ts +4 -6
- package/ubo/src/models/RestError.js +0 -2
- package/user/src/models/NotificationTypeId.d.ts +0 -1
- package/user/src/models/NotificationTypeId.js +0 -1
- package/user/src/models/RestError.d.ts +4 -6
- package/user/src/models/RestError.js +0 -2
- package/wish/src/models/RestError.d.ts +4 -6
- package/wish/src/models/RestError.js +0 -2
- package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.d.ts +0 -45
- package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.js +0 -182
- package/recommendation/src/models/FavoriteProductRecommendation.d.ts +0 -53
- package/recommendation/src/models/FavoriteProductRecommendation.js +0 -52
- package/recommendation/src/models/PaginatedFavoriteProductRecommendations.d.ts +0 -29
- package/recommendation/src/models/PaginatedFavoriteProductRecommendations.js +0 -50
- package/recommendation/src/models/PaginatedFavoriteProductRecommendationsAllOf.d.ts +0 -28
- package/recommendation/src/models/PaginatedFavoriteProductRecommendationsAllOf.js +0 -42
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-data-intelligence
|
|
6
|
-
* This is the REST API of LCDP product recommendation
|
|
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.FavoriteProductRecommendationToJSON = exports.FavoriteProductRecommendationFromJSONTyped = exports.FavoriteProductRecommendationFromJSON = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
var ProductLink_1 = require("./ProductLink");
|
|
19
|
-
var UserLink_1 = require("./UserLink");
|
|
20
|
-
function FavoriteProductRecommendationFromJSON(json) {
|
|
21
|
-
return FavoriteProductRecommendationFromJSONTyped(json, false);
|
|
22
|
-
}
|
|
23
|
-
exports.FavoriteProductRecommendationFromJSON = FavoriteProductRecommendationFromJSON;
|
|
24
|
-
function FavoriteProductRecommendationFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
-
if ((json === undefined) || (json === null)) {
|
|
26
|
-
return json;
|
|
27
|
-
}
|
|
28
|
-
return {
|
|
29
|
-
'id': json['id'],
|
|
30
|
-
'user': !(0, runtime_1.exists)(json, 'user') ? json['user'] : (0, UserLink_1.UserLinkFromJSON)(json['user']),
|
|
31
|
-
'product': (0, ProductLink_1.ProductLinkFromJSON)(json['product']),
|
|
32
|
-
'score': !(0, runtime_1.exists)(json, 'score') ? json['score'] : json['score'],
|
|
33
|
-
'createdAt': !(0, runtime_1.exists)(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
exports.FavoriteProductRecommendationFromJSONTyped = FavoriteProductRecommendationFromJSONTyped;
|
|
37
|
-
function FavoriteProductRecommendationToJSON(value) {
|
|
38
|
-
if (value === undefined) {
|
|
39
|
-
return undefined;
|
|
40
|
-
}
|
|
41
|
-
if (value === null) {
|
|
42
|
-
return null;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
'id': value.id,
|
|
46
|
-
'user': (0, UserLink_1.UserLinkToJSON)(value.user),
|
|
47
|
-
'product': (0, ProductLink_1.ProductLinkToJSON)(value.product),
|
|
48
|
-
'score': value.score,
|
|
49
|
-
'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
exports.FavoriteProductRecommendationToJSON = FavoriteProductRecommendationToJSON;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-data-intelligence
|
|
3
|
-
* This is the REST API of LCDP product recommendation
|
|
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 { FavoriteProductRecommendation } from './FavoriteProductRecommendation';
|
|
13
|
-
import { PaginatedObject } from './PaginatedObject';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface PaginatedFavoriteProductRecommendations
|
|
18
|
-
*/
|
|
19
|
-
export interface PaginatedFavoriteProductRecommendations extends PaginatedObject {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Array<FavoriteProductRecommendation>}
|
|
23
|
-
* @memberof PaginatedFavoriteProductRecommendations
|
|
24
|
-
*/
|
|
25
|
-
records: Array<FavoriteProductRecommendation>;
|
|
26
|
-
}
|
|
27
|
-
export declare function PaginatedFavoriteProductRecommendationsFromJSON(json: any): PaginatedFavoriteProductRecommendations;
|
|
28
|
-
export declare function PaginatedFavoriteProductRecommendationsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedFavoriteProductRecommendations;
|
|
29
|
-
export declare function PaginatedFavoriteProductRecommendationsToJSON(value?: PaginatedFavoriteProductRecommendations | null): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-data-intelligence
|
|
6
|
-
* This is the REST API of LCDP product recommendation
|
|
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.PaginatedFavoriteProductRecommendationsToJSON = exports.PaginatedFavoriteProductRecommendationsFromJSONTyped = exports.PaginatedFavoriteProductRecommendationsFromJSON = void 0;
|
|
28
|
-
var FavoriteProductRecommendation_1 = require("./FavoriteProductRecommendation");
|
|
29
|
-
var PaginatedObject_1 = require("./PaginatedObject");
|
|
30
|
-
function PaginatedFavoriteProductRecommendationsFromJSON(json) {
|
|
31
|
-
return PaginatedFavoriteProductRecommendationsFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
exports.PaginatedFavoriteProductRecommendationsFromJSON = PaginatedFavoriteProductRecommendationsFromJSON;
|
|
34
|
-
function PaginatedFavoriteProductRecommendationsFromJSONTyped(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(FavoriteProductRecommendation_1.FavoriteProductRecommendationFromJSON)) });
|
|
39
|
-
}
|
|
40
|
-
exports.PaginatedFavoriteProductRecommendationsFromJSONTyped = PaginatedFavoriteProductRecommendationsFromJSONTyped;
|
|
41
|
-
function PaginatedFavoriteProductRecommendationsToJSON(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(FavoriteProductRecommendation_1.FavoriteProductRecommendationToJSON)) });
|
|
49
|
-
}
|
|
50
|
-
exports.PaginatedFavoriteProductRecommendationsToJSON = PaginatedFavoriteProductRecommendationsToJSON;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-data-intelligence
|
|
3
|
-
* This is the REST API of LCDP product recommendation
|
|
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 { FavoriteProductRecommendation } from './FavoriteProductRecommendation';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface PaginatedFavoriteProductRecommendationsAllOf
|
|
17
|
-
*/
|
|
18
|
-
export interface PaginatedFavoriteProductRecommendationsAllOf {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<FavoriteProductRecommendation>}
|
|
22
|
-
* @memberof PaginatedFavoriteProductRecommendationsAllOf
|
|
23
|
-
*/
|
|
24
|
-
records: Array<FavoriteProductRecommendation>;
|
|
25
|
-
}
|
|
26
|
-
export declare function PaginatedFavoriteProductRecommendationsAllOfFromJSON(json: any): PaginatedFavoriteProductRecommendationsAllOf;
|
|
27
|
-
export declare function PaginatedFavoriteProductRecommendationsAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedFavoriteProductRecommendationsAllOf;
|
|
28
|
-
export declare function PaginatedFavoriteProductRecommendationsAllOfToJSON(value?: PaginatedFavoriteProductRecommendationsAllOf | null): any;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-data-intelligence
|
|
6
|
-
* This is the REST API of LCDP product recommendation
|
|
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.PaginatedFavoriteProductRecommendationsAllOfToJSON = exports.PaginatedFavoriteProductRecommendationsAllOfFromJSONTyped = exports.PaginatedFavoriteProductRecommendationsAllOfFromJSON = void 0;
|
|
17
|
-
var FavoriteProductRecommendation_1 = require("./FavoriteProductRecommendation");
|
|
18
|
-
function PaginatedFavoriteProductRecommendationsAllOfFromJSON(json) {
|
|
19
|
-
return PaginatedFavoriteProductRecommendationsAllOfFromJSONTyped(json, false);
|
|
20
|
-
}
|
|
21
|
-
exports.PaginatedFavoriteProductRecommendationsAllOfFromJSON = PaginatedFavoriteProductRecommendationsAllOfFromJSON;
|
|
22
|
-
function PaginatedFavoriteProductRecommendationsAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
-
if ((json === undefined) || (json === null)) {
|
|
24
|
-
return json;
|
|
25
|
-
}
|
|
26
|
-
return {
|
|
27
|
-
'records': (json['records'].map(FavoriteProductRecommendation_1.FavoriteProductRecommendationFromJSON)),
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
exports.PaginatedFavoriteProductRecommendationsAllOfFromJSONTyped = PaginatedFavoriteProductRecommendationsAllOfFromJSONTyped;
|
|
31
|
-
function PaginatedFavoriteProductRecommendationsAllOfToJSON(value) {
|
|
32
|
-
if (value === undefined) {
|
|
33
|
-
return undefined;
|
|
34
|
-
}
|
|
35
|
-
if (value === null) {
|
|
36
|
-
return null;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'records': (value.records.map(FavoriteProductRecommendation_1.FavoriteProductRecommendationToJSON)),
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
exports.PaginatedFavoriteProductRecommendationsAllOfToJSON = PaginatedFavoriteProductRecommendationsAllOfToJSON;
|