@lcdp/api-react-rest-client 2.13.9-LDS-4812-api-changement-field-userstatis.17299510786 → 2.13.9-LDS-4812-api-changement-field-userstatis.17319376568
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/user/src/models/UserStatisticLink.d.ts +8 -36
- package/user/src/models/UserStatisticLink.js +6 -14
- package/user/src/models/UserStatisticLinkAllOfLongTermQoS.d.ts +61 -0
- package/user/src/models/UserStatisticLinkAllOfLongTermQoS.js +55 -0
- package/user/src/models/UserStatisticLinkAllOfShortTermQoS.d.ts +31 -0
- package/user/src/models/UserStatisticLinkAllOfShortTermQoS.js +45 -0
- package/user/src/models/index.d.ts +2 -0
- package/user/src/models/index.js +2 -0
package/package.json
CHANGED
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { UserStatisticLinkAllOfShortTermQoS } from './UserStatisticLinkAllOfShortTermQoS';
|
|
13
|
+
import type { UserStatisticLinkAllOfLongTermQoS } from './UserStatisticLinkAllOfLongTermQoS';
|
|
12
14
|
/**
|
|
13
15
|
*
|
|
14
16
|
* @export
|
|
@@ -22,47 +24,17 @@ export interface UserStatisticLink {
|
|
|
22
24
|
*/
|
|
23
25
|
href: string;
|
|
24
26
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {
|
|
27
|
+
*
|
|
28
|
+
* @type {UserStatisticLinkAllOfLongTermQoS}
|
|
27
29
|
* @memberof UserStatisticLink
|
|
28
30
|
*/
|
|
29
|
-
|
|
31
|
+
longTermQoS?: UserStatisticLinkAllOfLongTermQoS;
|
|
30
32
|
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {
|
|
33
|
+
*
|
|
34
|
+
* @type {UserStatisticLinkAllOfShortTermQoS}
|
|
33
35
|
* @memberof UserStatisticLink
|
|
34
36
|
*/
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Rate of sales that have at least one removed or refunded item (for short term period)
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof UserStatisticLink
|
|
40
|
-
*/
|
|
41
|
-
shortTermSalesErrorRate?: number;
|
|
42
|
-
/**
|
|
43
|
-
* Rate of sales that have been canceled, ignoring cancellation issued by the buyer without any reason
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof UserStatisticLink
|
|
46
|
-
*/
|
|
47
|
-
salesCanceledRate?: number;
|
|
48
|
-
/**
|
|
49
|
-
* Rate of sales that are associated to a litigation
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof UserStatisticLink
|
|
52
|
-
*/
|
|
53
|
-
salesLitigationRate?: number;
|
|
54
|
-
/**
|
|
55
|
-
* Average delay of responsiveness for sales (delay between order created by buyer and accepted/modified/canceled by seller or administrator)
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @memberof UserStatisticLink
|
|
58
|
-
*/
|
|
59
|
-
salesResponsivenessDelay?: number;
|
|
60
|
-
/**
|
|
61
|
-
* Average delay of delivery for sales
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @memberof UserStatisticLink
|
|
64
|
-
*/
|
|
65
|
-
deliveryDelay?: number;
|
|
37
|
+
shortTermQoS?: UserStatisticLinkAllOfShortTermQoS;
|
|
66
38
|
}
|
|
67
39
|
/**
|
|
68
40
|
* Check if a given object implements the UserStatisticLink interface.
|
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.UserStatisticLinkToJSON = exports.UserStatisticLinkFromJSONTyped = exports.UserStatisticLinkFromJSON = exports.instanceOfUserStatisticLink = void 0;
|
|
17
|
+
var UserStatisticLinkAllOfShortTermQoS_1 = require("./UserStatisticLinkAllOfShortTermQoS");
|
|
18
|
+
var UserStatisticLinkAllOfLongTermQoS_1 = require("./UserStatisticLinkAllOfLongTermQoS");
|
|
17
19
|
/**
|
|
18
20
|
* Check if a given object implements the UserStatisticLink interface.
|
|
19
21
|
*/
|
|
@@ -33,13 +35,8 @@ function UserStatisticLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
35
|
}
|
|
34
36
|
return {
|
|
35
37
|
'href': json['href'],
|
|
36
|
-
'
|
|
37
|
-
'
|
|
38
|
-
'shortTermSalesErrorRate': json['shortTermSalesErrorRate'],
|
|
39
|
-
'salesCanceledRate': json['salesCanceledRate'],
|
|
40
|
-
'salesLitigationRate': json['salesLitigationRate'],
|
|
41
|
-
'salesResponsivenessDelay': json['salesResponsivenessDelay'],
|
|
42
|
-
'deliveryDelay': json['deliveryDelay'],
|
|
38
|
+
'longTermQoS': (json['longTermQoS'] === null || json['longTermQoS'] === undefined) ? json['longTermQoS'] : (0, UserStatisticLinkAllOfLongTermQoS_1.UserStatisticLinkAllOfLongTermQoSFromJSON)(json['longTermQoS']),
|
|
39
|
+
'shortTermQoS': (json['shortTermQoS'] === null || json['shortTermQoS'] === undefined) ? json['shortTermQoS'] : (0, UserStatisticLinkAllOfShortTermQoS_1.UserStatisticLinkAllOfShortTermQoSFromJSON)(json['shortTermQoS']),
|
|
43
40
|
};
|
|
44
41
|
}
|
|
45
42
|
exports.UserStatisticLinkFromJSONTyped = UserStatisticLinkFromJSONTyped;
|
|
@@ -49,13 +46,8 @@ function UserStatisticLinkToJSON(value) {
|
|
|
49
46
|
}
|
|
50
47
|
return {
|
|
51
48
|
'href': value['href'],
|
|
52
|
-
'
|
|
53
|
-
'
|
|
54
|
-
'shortTermSalesErrorRate': value['shortTermSalesErrorRate'],
|
|
55
|
-
'salesCanceledRate': value['salesCanceledRate'],
|
|
56
|
-
'salesLitigationRate': value['salesLitigationRate'],
|
|
57
|
-
'salesResponsivenessDelay': value['salesResponsivenessDelay'],
|
|
58
|
-
'deliveryDelay': value['deliveryDelay'],
|
|
49
|
+
'longTermQoS': (0, UserStatisticLinkAllOfLongTermQoS_1.UserStatisticLinkAllOfLongTermQoSToJSON)(value['longTermQoS']),
|
|
50
|
+
'shortTermQoS': (0, UserStatisticLinkAllOfShortTermQoS_1.UserStatisticLinkAllOfShortTermQoSToJSON)(value['shortTermQoS']),
|
|
59
51
|
};
|
|
60
52
|
}
|
|
61
53
|
exports.UserStatisticLinkToJSON = UserStatisticLinkToJSON;
|
|
@@ -0,0 +1,61 @@
|
|
|
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
|
+
* Long-term quality of service statistics
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UserStatisticLinkAllOfLongTermQoS
|
|
16
|
+
*/
|
|
17
|
+
export interface UserStatisticLinkAllOfLongTermQoS {
|
|
18
|
+
/**
|
|
19
|
+
* Number of sales
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof UserStatisticLinkAllOfLongTermQoS
|
|
22
|
+
*/
|
|
23
|
+
numberOfSales?: number;
|
|
24
|
+
/**
|
|
25
|
+
* Rate of sales that have at least one removed or refunded item
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof UserStatisticLinkAllOfLongTermQoS
|
|
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 UserStatisticLinkAllOfLongTermQoS
|
|
34
|
+
*/
|
|
35
|
+
salesCanceledRate?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Rate of sales that are associated to a litigation
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof UserStatisticLinkAllOfLongTermQoS
|
|
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 UserStatisticLinkAllOfLongTermQoS
|
|
46
|
+
*/
|
|
47
|
+
salesResponsivenessDelay?: number;
|
|
48
|
+
/**
|
|
49
|
+
* Average delay of delivery for sales
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof UserStatisticLinkAllOfLongTermQoS
|
|
52
|
+
*/
|
|
53
|
+
deliveryDelay?: number;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the UserStatisticLinkAllOfLongTermQoS interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfUserStatisticLinkAllOfLongTermQoS(value: object): value is UserStatisticLinkAllOfLongTermQoS;
|
|
59
|
+
export declare function UserStatisticLinkAllOfLongTermQoSFromJSON(json: any): UserStatisticLinkAllOfLongTermQoS;
|
|
60
|
+
export declare function UserStatisticLinkAllOfLongTermQoSFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserStatisticLinkAllOfLongTermQoS;
|
|
61
|
+
export declare function UserStatisticLinkAllOfLongTermQoSToJSON(value?: UserStatisticLinkAllOfLongTermQoS | null): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.UserStatisticLinkAllOfLongTermQoSToJSON = exports.UserStatisticLinkAllOfLongTermQoSFromJSONTyped = exports.UserStatisticLinkAllOfLongTermQoSFromJSON = exports.instanceOfUserStatisticLinkAllOfLongTermQoS = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the UserStatisticLinkAllOfLongTermQoS interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfUserStatisticLinkAllOfLongTermQoS(value) {
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
exports.instanceOfUserStatisticLinkAllOfLongTermQoS = instanceOfUserStatisticLinkAllOfLongTermQoS;
|
|
24
|
+
function UserStatisticLinkAllOfLongTermQoSFromJSON(json) {
|
|
25
|
+
return UserStatisticLinkAllOfLongTermQoSFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
exports.UserStatisticLinkAllOfLongTermQoSFromJSON = UserStatisticLinkAllOfLongTermQoSFromJSON;
|
|
28
|
+
function UserStatisticLinkAllOfLongTermQoSFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'numberOfSales': json['numberOfSales'],
|
|
34
|
+
'salesErrorRate': json['salesErrorRate'],
|
|
35
|
+
'salesCanceledRate': json['salesCanceledRate'],
|
|
36
|
+
'salesLitigationRate': json['salesLitigationRate'],
|
|
37
|
+
'salesResponsivenessDelay': json['salesResponsivenessDelay'],
|
|
38
|
+
'deliveryDelay': json['deliveryDelay'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.UserStatisticLinkAllOfLongTermQoSFromJSONTyped = UserStatisticLinkAllOfLongTermQoSFromJSONTyped;
|
|
42
|
+
function UserStatisticLinkAllOfLongTermQoSToJSON(value) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'numberOfSales': value['numberOfSales'],
|
|
48
|
+
'salesErrorRate': value['salesErrorRate'],
|
|
49
|
+
'salesCanceledRate': value['salesCanceledRate'],
|
|
50
|
+
'salesLitigationRate': value['salesLitigationRate'],
|
|
51
|
+
'salesResponsivenessDelay': value['salesResponsivenessDelay'],
|
|
52
|
+
'deliveryDelay': value['deliveryDelay'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
exports.UserStatisticLinkAllOfLongTermQoSToJSON = UserStatisticLinkAllOfLongTermQoSToJSON;
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
* Short-term quality of service statistics
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UserStatisticLinkAllOfShortTermQoS
|
|
16
|
+
*/
|
|
17
|
+
export interface UserStatisticLinkAllOfShortTermQoS {
|
|
18
|
+
/**
|
|
19
|
+
* Rate of sales that have at least one removed or refunded item
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof UserStatisticLinkAllOfShortTermQoS
|
|
22
|
+
*/
|
|
23
|
+
salesErrorRate?: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the UserStatisticLinkAllOfShortTermQoS interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfUserStatisticLinkAllOfShortTermQoS(value: object): value is UserStatisticLinkAllOfShortTermQoS;
|
|
29
|
+
export declare function UserStatisticLinkAllOfShortTermQoSFromJSON(json: any): UserStatisticLinkAllOfShortTermQoS;
|
|
30
|
+
export declare function UserStatisticLinkAllOfShortTermQoSFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserStatisticLinkAllOfShortTermQoS;
|
|
31
|
+
export declare function UserStatisticLinkAllOfShortTermQoSToJSON(value?: UserStatisticLinkAllOfShortTermQoS | 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.UserStatisticLinkAllOfShortTermQoSToJSON = exports.UserStatisticLinkAllOfShortTermQoSFromJSONTyped = exports.UserStatisticLinkAllOfShortTermQoSFromJSON = exports.instanceOfUserStatisticLinkAllOfShortTermQoS = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the UserStatisticLinkAllOfShortTermQoS interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfUserStatisticLinkAllOfShortTermQoS(value) {
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
exports.instanceOfUserStatisticLinkAllOfShortTermQoS = instanceOfUserStatisticLinkAllOfShortTermQoS;
|
|
24
|
+
function UserStatisticLinkAllOfShortTermQoSFromJSON(json) {
|
|
25
|
+
return UserStatisticLinkAllOfShortTermQoSFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
exports.UserStatisticLinkAllOfShortTermQoSFromJSON = UserStatisticLinkAllOfShortTermQoSFromJSON;
|
|
28
|
+
function UserStatisticLinkAllOfShortTermQoSFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if (json == null) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'salesErrorRate': json['salesErrorRate'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
exports.UserStatisticLinkAllOfShortTermQoSFromJSONTyped = UserStatisticLinkAllOfShortTermQoSFromJSONTyped;
|
|
37
|
+
function UserStatisticLinkAllOfShortTermQoSToJSON(value) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'salesErrorRate': value['salesErrorRate'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.UserStatisticLinkAllOfShortTermQoSToJSON = UserStatisticLinkAllOfShortTermQoSToJSON;
|
|
@@ -45,6 +45,8 @@ export * from './UserRuleComparatorEnum';
|
|
|
45
45
|
export * from './UserRuleCreationParameters';
|
|
46
46
|
export * from './UserSocialNetwork';
|
|
47
47
|
export * from './UserStatisticLink';
|
|
48
|
+
export * from './UserStatisticLinkAllOfLongTermQoS';
|
|
49
|
+
export * from './UserStatisticLinkAllOfShortTermQoS';
|
|
48
50
|
export * from './UserThreads';
|
|
49
51
|
export * from './UserUpdateParameters';
|
|
50
52
|
export * from './UserWalletLink';
|
package/user/src/models/index.js
CHANGED
|
@@ -63,6 +63,8 @@ __exportStar(require("./UserRuleComparatorEnum"), exports);
|
|
|
63
63
|
__exportStar(require("./UserRuleCreationParameters"), exports);
|
|
64
64
|
__exportStar(require("./UserSocialNetwork"), exports);
|
|
65
65
|
__exportStar(require("./UserStatisticLink"), exports);
|
|
66
|
+
__exportStar(require("./UserStatisticLinkAllOfLongTermQoS"), exports);
|
|
67
|
+
__exportStar(require("./UserStatisticLinkAllOfShortTermQoS"), exports);
|
|
66
68
|
__exportStar(require("./UserThreads"), exports);
|
|
67
69
|
__exportStar(require("./UserUpdateParameters"), exports);
|
|
68
70
|
__exportStar(require("./UserWalletLink"), exports);
|