@lcdp/api-react-rest-client 2.6.2-develop.8356314138 → 2.6.2
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/order/src/models/OrderJournal.d.ts +0 -24
- package/order/src/models/OrderJournal.js +0 -8
- package/package.json +1 -1
- package/sale-offer/src/models/SaleOffer.d.ts +17 -17
- package/sale-offer/src/models/SaleOffer.js +19 -18
- package/statistic/src/apis/index.d.ts +0 -1
- package/statistic/src/apis/index.js +0 -1
- package/statistic/src/models/index.d.ts +0 -3
- package/statistic/src/models/index.js +0 -3
- package/user/src/models/User.d.ts +8 -21
- package/user/src/models/User.js +8 -13
- package/user/src/models/index.d.ts +0 -2
- package/user/src/models/index.js +0 -2
- package/statistic/src/apis/SearchUserStatisticsApi.d.ts +0 -42
- package/statistic/src/apis/SearchUserStatisticsApi.js +0 -248
- package/statistic/src/models/PaginatedUserStatistics.d.ts +0 -29
- package/statistic/src/models/PaginatedUserStatistics.js +0 -50
- package/statistic/src/models/PaginatedUserStatisticsAllOf.d.ts +0 -28
- package/statistic/src/models/PaginatedUserStatisticsAllOf.js +0 -42
- package/statistic/src/models/UserStatistic.d.ts +0 -70
- package/statistic/src/models/UserStatistic.js +0 -57
- package/third-party/index.d.ts +0 -1
- package/third-party/index.js +0 -17
- package/third-party/src/apis/ManageThirdPartyLinkApi.d.ts +0 -29
- package/third-party/src/apis/ManageThirdPartyLinkApi.js +0 -163
- package/third-party/src/apis/index.d.ts +0 -1
- package/third-party/src/apis/index.js +0 -17
- package/third-party/src/index.d.ts +0 -3
- package/third-party/src/index.js +0 -19
- package/third-party/src/models/RestError.d.ts +0 -87
- package/third-party/src/models/RestError.js +0 -99
- package/third-party/src/models/ThirdPartyLink.d.ts +0 -27
- package/third-party/src/models/ThirdPartyLink.js +0 -42
- package/third-party/src/models/ThirdPartyLinkCreationParameters.d.ts +0 -33
- package/third-party/src/models/ThirdPartyLinkCreationParameters.js +0 -43
- package/third-party/src/models/index.d.ts +0 -3
- package/third-party/src/models/index.js +0 -19
- package/third-party/src/runtime.d.ts +0 -149
- package/third-party/src/runtime.js +0 -480
- package/user/src/models/UserStatisticLink.d.ts +0 -58
- package/user/src/models/UserStatisticLink.js +0 -50
- package/user/src/models/UserStatisticLinkAllOf.d.ts +0 -57
- package/user/src/models/UserStatisticLinkAllOf.js +0 -52
|
@@ -1,50 +0,0 @@
|
|
|
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.UserStatisticLinkToJSON = exports.UserStatisticLinkFromJSONTyped = exports.UserStatisticLinkFromJSON = void 0;
|
|
28
|
-
var runtime_1 = require("../runtime");
|
|
29
|
-
var HttpLink_1 = require("./HttpLink");
|
|
30
|
-
function UserStatisticLinkFromJSON(json) {
|
|
31
|
-
return UserStatisticLinkFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
exports.UserStatisticLinkFromJSON = UserStatisticLinkFromJSON;
|
|
34
|
-
function UserStatisticLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if ((json === undefined) || (json === null)) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return __assign(__assign({}, (0, HttpLink_1.HttpLinkFromJSONTyped)(json, ignoreDiscriminator)), { 'numberOfSales': !(0, runtime_1.exists)(json, 'numberOfSales') ? undefined : json['numberOfSales'], 'salesErrorRate': !(0, runtime_1.exists)(json, 'salesErrorRate') ? undefined : json['salesErrorRate'], 'salesCanceledRate': !(0, runtime_1.exists)(json, 'salesCanceledRate') ? undefined : json['salesCanceledRate'], 'salesLitigationRate': !(0, runtime_1.exists)(json, 'salesLitigationRate') ? undefined : json['salesLitigationRate'], 'salesResponsivenessDelay': !(0, runtime_1.exists)(json, 'salesResponsivenessDelay') ? undefined : json['salesResponsivenessDelay'], 'deliveryDelay': !(0, runtime_1.exists)(json, 'deliveryDelay') ? undefined : json['deliveryDelay'] });
|
|
39
|
-
}
|
|
40
|
-
exports.UserStatisticLinkFromJSONTyped = UserStatisticLinkFromJSONTyped;
|
|
41
|
-
function UserStatisticLinkToJSON(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)), { 'numberOfSales': value.numberOfSales, 'salesErrorRate': value.salesErrorRate, 'salesCanceledRate': value.salesCanceledRate, 'salesLitigationRate': value.salesLitigationRate, 'salesResponsivenessDelay': value.salesResponsivenessDelay, 'deliveryDelay': value.deliveryDelay });
|
|
49
|
-
}
|
|
50
|
-
exports.UserStatisticLinkToJSON = UserStatisticLinkToJSON;
|
|
@@ -1,57 +0,0 @@
|
|
|
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 these statistics are computed based on a sampling taking the last [Variable] \'user.statistics.sampling_days\' days
|
|
14
|
-
* @export
|
|
15
|
-
* @interface UserStatisticLinkAllOf
|
|
16
|
-
*/
|
|
17
|
-
export interface UserStatisticLinkAllOf {
|
|
18
|
-
/**
|
|
19
|
-
* Number of sales
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof UserStatisticLinkAllOf
|
|
22
|
-
*/
|
|
23
|
-
numberOfSales?: number;
|
|
24
|
-
/**
|
|
25
|
-
* Rate of sales that have at least one removed or refunded item
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof UserStatisticLinkAllOf
|
|
28
|
-
*/
|
|
29
|
-
salesErrorRate?: number;
|
|
30
|
-
/**
|
|
31
|
-
* Rate of sales that have been canceled, ignoring cancellation issued by the buyer without any reason
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof UserStatisticLinkAllOf
|
|
34
|
-
*/
|
|
35
|
-
salesCanceledRate?: number;
|
|
36
|
-
/**
|
|
37
|
-
* Rate of sales that are associated to a litigation
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof UserStatisticLinkAllOf
|
|
40
|
-
*/
|
|
41
|
-
salesLitigationRate?: number;
|
|
42
|
-
/**
|
|
43
|
-
* Average delay of responsiveness for sales (delay between order created by buyer and accepted/modified/canceled by seller or administrator)
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof UserStatisticLinkAllOf
|
|
46
|
-
*/
|
|
47
|
-
salesResponsivenessDelay?: number;
|
|
48
|
-
/**
|
|
49
|
-
* Average delay of delivery for sales
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof UserStatisticLinkAllOf
|
|
52
|
-
*/
|
|
53
|
-
deliveryDelay?: number;
|
|
54
|
-
}
|
|
55
|
-
export declare function UserStatisticLinkAllOfFromJSON(json: any): UserStatisticLinkAllOf;
|
|
56
|
-
export declare function UserStatisticLinkAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserStatisticLinkAllOf;
|
|
57
|
-
export declare function UserStatisticLinkAllOfToJSON(value?: UserStatisticLinkAllOf | null): any;
|
|
@@ -1,52 +0,0 @@
|
|
|
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.UserStatisticLinkAllOfToJSON = exports.UserStatisticLinkAllOfFromJSONTyped = exports.UserStatisticLinkAllOfFromJSON = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
function UserStatisticLinkAllOfFromJSON(json) {
|
|
19
|
-
return UserStatisticLinkAllOfFromJSONTyped(json, false);
|
|
20
|
-
}
|
|
21
|
-
exports.UserStatisticLinkAllOfFromJSON = UserStatisticLinkAllOfFromJSON;
|
|
22
|
-
function UserStatisticLinkAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
23
|
-
if ((json === undefined) || (json === null)) {
|
|
24
|
-
return json;
|
|
25
|
-
}
|
|
26
|
-
return {
|
|
27
|
-
'numberOfSales': !(0, runtime_1.exists)(json, 'numberOfSales') ? undefined : json['numberOfSales'],
|
|
28
|
-
'salesErrorRate': !(0, runtime_1.exists)(json, 'salesErrorRate') ? undefined : json['salesErrorRate'],
|
|
29
|
-
'salesCanceledRate': !(0, runtime_1.exists)(json, 'salesCanceledRate') ? undefined : json['salesCanceledRate'],
|
|
30
|
-
'salesLitigationRate': !(0, runtime_1.exists)(json, 'salesLitigationRate') ? undefined : json['salesLitigationRate'],
|
|
31
|
-
'salesResponsivenessDelay': !(0, runtime_1.exists)(json, 'salesResponsivenessDelay') ? undefined : json['salesResponsivenessDelay'],
|
|
32
|
-
'deliveryDelay': !(0, runtime_1.exists)(json, 'deliveryDelay') ? undefined : json['deliveryDelay'],
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
exports.UserStatisticLinkAllOfFromJSONTyped = UserStatisticLinkAllOfFromJSONTyped;
|
|
36
|
-
function UserStatisticLinkAllOfToJSON(value) {
|
|
37
|
-
if (value === undefined) {
|
|
38
|
-
return undefined;
|
|
39
|
-
}
|
|
40
|
-
if (value === null) {
|
|
41
|
-
return null;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'numberOfSales': value.numberOfSales,
|
|
45
|
-
'salesErrorRate': value.salesErrorRate,
|
|
46
|
-
'salesCanceledRate': value.salesCanceledRate,
|
|
47
|
-
'salesLitigationRate': value.salesLitigationRate,
|
|
48
|
-
'salesResponsivenessDelay': value.salesResponsivenessDelay,
|
|
49
|
-
'deliveryDelay': value.deliveryDelay,
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
exports.UserStatisticLinkAllOfToJSON = UserStatisticLinkAllOfToJSON;
|