@lcdp/api-react-rest-client 2.14.1-develop.17982125054 → 2.14.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lcdp/api-react-rest-client",
3
- "version": "2.14.1-develop.17982125054",
3
+ "version": "2.14.1",
4
4
  "scripts": {
5
5
  "build": "tsc"
6
6
  },
@@ -10,10 +10,8 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { UserLink } from './UserLink';
13
- import type { UserStatisticLongTermQoS } from './UserStatisticLongTermQoS';
14
- import type { UserStatisticShortTermQoS } from './UserStatisticShortTermQoS';
15
13
  /**
16
- * All these statistics are computed based on a sampling taking the last [Variable] 'user.statistics.long_term_sampling_days' days
14
+ * All these statistics are computed based on a sampling taking the last [Variable] 'user.statistics.sampling_days' days
17
15
  *
18
16
  * @export
19
17
  * @interface UserStatistic
@@ -32,17 +30,41 @@ export interface UserStatistic {
32
30
  */
33
31
  user?: UserLink;
34
32
  /**
35
- *
36
- * @type {UserStatisticLongTermQoS}
33
+ * Number of sales
34
+ * @type {number}
37
35
  * @memberof UserStatistic
38
36
  */
39
- longTermQoS?: UserStatisticLongTermQoS;
37
+ numberOfSales?: number;
40
38
  /**
41
- *
42
- * @type {UserStatisticShortTermQoS}
39
+ * Rate of sales that have at least one removed or refunded item
40
+ * @type {number}
41
+ * @memberof UserStatistic
42
+ */
43
+ salesErrorRate?: number;
44
+ /**
45
+ * Rate of sales that have been canceled, ignoring cancellation issued by the buyer without any reason
46
+ * @type {number}
47
+ * @memberof UserStatistic
48
+ */
49
+ salesCanceledRate?: number;
50
+ /**
51
+ * Rate of sales that are associated to a litigation
52
+ * @type {number}
53
+ * @memberof UserStatistic
54
+ */
55
+ salesLitigationRate?: number;
56
+ /**
57
+ * Average delay of responsiveness for sales (delay between order created by buyer and accepted/modified/canceled by seller or administrator)
58
+ * @type {number}
59
+ * @memberof UserStatistic
60
+ */
61
+ salesResponsivenessDelay?: number;
62
+ /**
63
+ * Average delay of delivery for sales
64
+ * @type {number}
43
65
  * @memberof UserStatistic
44
66
  */
45
- shortTermQoS?: UserStatisticShortTermQoS;
67
+ deliveryDelay?: number;
46
68
  }
47
69
  /**
48
70
  * Check if a given object implements the UserStatistic interface.
@@ -15,8 +15,6 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.UserStatisticToJSON = exports.UserStatisticFromJSONTyped = exports.UserStatisticFromJSON = exports.instanceOfUserStatistic = void 0;
17
17
  var UserLink_1 = require("./UserLink");
18
- var UserStatisticLongTermQoS_1 = require("./UserStatisticLongTermQoS");
19
- var UserStatisticShortTermQoS_1 = require("./UserStatisticShortTermQoS");
20
18
  /**
21
19
  * Check if a given object implements the UserStatistic interface.
22
20
  */
@@ -35,8 +33,12 @@ function UserStatisticFromJSONTyped(json, ignoreDiscriminator) {
35
33
  return {
36
34
  'id': json['id'],
37
35
  'user': (json['user'] === null || json['user'] === undefined) ? json['user'] : (0, UserLink_1.UserLinkFromJSON)(json['user']),
38
- 'longTermQoS': (json['longTermQoS'] === null || json['longTermQoS'] === undefined) ? json['longTermQoS'] : (0, UserStatisticLongTermQoS_1.UserStatisticLongTermQoSFromJSON)(json['longTermQoS']),
39
- 'shortTermQoS': (json['shortTermQoS'] === null || json['shortTermQoS'] === undefined) ? json['shortTermQoS'] : (0, UserStatisticShortTermQoS_1.UserStatisticShortTermQoSFromJSON)(json['shortTermQoS']),
36
+ 'numberOfSales': json['numberOfSales'],
37
+ 'salesErrorRate': json['salesErrorRate'],
38
+ 'salesCanceledRate': json['salesCanceledRate'],
39
+ 'salesLitigationRate': json['salesLitigationRate'],
40
+ 'salesResponsivenessDelay': json['salesResponsivenessDelay'],
41
+ 'deliveryDelay': json['deliveryDelay'],
40
42
  };
41
43
  }
42
44
  exports.UserStatisticFromJSONTyped = UserStatisticFromJSONTyped;
@@ -47,8 +49,12 @@ function UserStatisticToJSON(value) {
47
49
  return {
48
50
  'id': value['id'],
49
51
  'user': (0, UserLink_1.UserLinkToJSON)(value['user']),
50
- 'longTermQoS': (0, UserStatisticLongTermQoS_1.UserStatisticLongTermQoSToJSON)(value['longTermQoS']),
51
- 'shortTermQoS': (0, UserStatisticShortTermQoS_1.UserStatisticShortTermQoSToJSON)(value['shortTermQoS']),
52
+ 'numberOfSales': value['numberOfSales'],
53
+ 'salesErrorRate': value['salesErrorRate'],
54
+ 'salesCanceledRate': value['salesCanceledRate'],
55
+ 'salesLitigationRate': value['salesLitigationRate'],
56
+ 'salesResponsivenessDelay': value['salesResponsivenessDelay'],
57
+ 'deliveryDelay': value['deliveryDelay'],
52
58
  };
53
59
  }
54
60
  exports.UserStatisticToJSON = UserStatisticToJSON;
@@ -7,5 +7,3 @@ export * from './RestError';
7
7
  export * from './SaleOfferStatistic';
8
8
  export * from './UserLink';
9
9
  export * from './UserStatistic';
10
- export * from './UserStatisticLongTermQoS';
11
- export * from './UserStatisticShortTermQoS';
@@ -25,5 +25,3 @@ __exportStar(require("./RestError"), exports);
25
25
  __exportStar(require("./SaleOfferStatistic"), exports);
26
26
  __exportStar(require("./UserLink"), exports);
27
27
  __exportStar(require("./UserStatistic"), exports);
28
- __exportStar(require("./UserStatisticLongTermQoS"), exports);
29
- __exportStar(require("./UserStatisticShortTermQoS"), exports);
@@ -18,7 +18,6 @@ import type { UserDelegatedServices } from './UserDelegatedServices';
18
18
  import type { HttpLink } from './HttpLink';
19
19
  import type { Gender } from './Gender';
20
20
  import type { ScaEnrollmentStatus } from './ScaEnrollmentStatus';
21
- import type { UserChargebeeTarget } from './UserChargebeeTarget';
22
21
  import type { UserThreads } from './UserThreads';
23
22
  import type { UserWallets } from './UserWallets';
24
23
  import type { UserRole } from './UserRole';
@@ -45,12 +44,6 @@ export interface User {
45
44
  * @memberof User
46
45
  */
47
46
  mangopayTarget?: UserMangopayTarget;
48
- /**
49
- *
50
- * @type {UserChargebeeTarget}
51
- * @memberof User
52
- */
53
- chargebeeTarget?: UserChargebeeTarget;
54
47
  /**
55
48
  *
56
49
  * @type {UserRole}
@@ -24,7 +24,6 @@ var UserDelegatedServices_1 = require("./UserDelegatedServices");
24
24
  var HttpLink_1 = require("./HttpLink");
25
25
  var Gender_1 = require("./Gender");
26
26
  var ScaEnrollmentStatus_1 = require("./ScaEnrollmentStatus");
27
- var UserChargebeeTarget_1 = require("./UserChargebeeTarget");
28
27
  var UserThreads_1 = require("./UserThreads");
29
28
  var UserWallets_1 = require("./UserWallets");
30
29
  var UserRole_1 = require("./UserRole");
@@ -67,7 +66,6 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
67
66
  return {
68
67
  'id': json['id'],
69
68
  'mangopayTarget': (json['mangopayTarget'] === null || json['mangopayTarget'] === undefined) ? json['mangopayTarget'] : (0, UserMangopayTarget_1.UserMangopayTargetFromJSON)(json['mangopayTarget']),
70
- 'chargebeeTarget': (json['chargebeeTarget'] === null || json['chargebeeTarget'] === undefined) ? json['chargebeeTarget'] : (0, UserChargebeeTarget_1.UserChargebeeTargetFromJSON)(json['chargebeeTarget']),
71
69
  'role': (json['role'] === null || json['role'] === undefined) ? json['role'] : (0, UserRole_1.UserRoleFromJSON)(json['role']),
72
70
  'haveUnpaid': json['haveUnpaid'],
73
71
  'holidayModeEnabled': json['holidayModeEnabled'],
@@ -125,7 +123,6 @@ function UserToJSON(value) {
125
123
  return {
126
124
  'id': value['id'],
127
125
  'mangopayTarget': (0, UserMangopayTarget_1.UserMangopayTargetToJSON)(value['mangopayTarget']),
128
- 'chargebeeTarget': (0, UserChargebeeTarget_1.UserChargebeeTargetToJSON)(value['chargebeeTarget']),
129
126
  'role': (0, UserRole_1.UserRoleToJSON)(value['role']),
130
127
  'haveUnpaid': value['haveUnpaid'],
131
128
  'holidayModeEnabled': value['holidayModeEnabled'],
@@ -9,8 +9,6 @@
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';
14
12
  /**
15
13
  *
16
14
  * @export
@@ -24,17 +22,41 @@ export interface UserStatisticLink {
24
22
  */
25
23
  href: string;
26
24
  /**
27
- *
28
- * @type {UserStatisticLinkAllOfLongTermQoS}
25
+ * Number of sales
26
+ * @type {number}
29
27
  * @memberof UserStatisticLink
30
28
  */
31
- longTermQoS?: UserStatisticLinkAllOfLongTermQoS;
29
+ numberOfSales?: number;
32
30
  /**
33
- *
34
- * @type {UserStatisticLinkAllOfShortTermQoS}
31
+ * Rate of sales that have at least one removed or refunded item
32
+ * @type {number}
35
33
  * @memberof UserStatisticLink
36
34
  */
37
- shortTermQoS?: UserStatisticLinkAllOfShortTermQoS;
35
+ salesErrorRate?: number;
36
+ /**
37
+ * Rate of sales that have been canceled, ignoring cancellation issued by the buyer without any reason
38
+ * @type {number}
39
+ * @memberof UserStatisticLink
40
+ */
41
+ salesCanceledRate?: number;
42
+ /**
43
+ * Rate of sales that are associated to a litigation
44
+ * @type {number}
45
+ * @memberof UserStatisticLink
46
+ */
47
+ salesLitigationRate?: number;
48
+ /**
49
+ * Average delay of responsiveness for sales (delay between order created by buyer and accepted/modified/canceled by seller or administrator)
50
+ * @type {number}
51
+ * @memberof UserStatisticLink
52
+ */
53
+ salesResponsivenessDelay?: number;
54
+ /**
55
+ * Average delay of delivery for sales
56
+ * @type {number}
57
+ * @memberof UserStatisticLink
58
+ */
59
+ deliveryDelay?: number;
38
60
  }
39
61
  /**
40
62
  * Check if a given object implements the UserStatisticLink interface.
@@ -14,8 +14,6 @@
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");
19
17
  /**
20
18
  * Check if a given object implements the UserStatisticLink interface.
21
19
  */
@@ -35,8 +33,12 @@ function UserStatisticLinkFromJSONTyped(json, ignoreDiscriminator) {
35
33
  }
36
34
  return {
37
35
  'href': json['href'],
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']),
36
+ 'numberOfSales': json['numberOfSales'],
37
+ 'salesErrorRate': json['salesErrorRate'],
38
+ 'salesCanceledRate': json['salesCanceledRate'],
39
+ 'salesLitigationRate': json['salesLitigationRate'],
40
+ 'salesResponsivenessDelay': json['salesResponsivenessDelay'],
41
+ 'deliveryDelay': json['deliveryDelay'],
40
42
  };
41
43
  }
42
44
  exports.UserStatisticLinkFromJSONTyped = UserStatisticLinkFromJSONTyped;
@@ -46,8 +48,12 @@ function UserStatisticLinkToJSON(value) {
46
48
  }
47
49
  return {
48
50
  'href': value['href'],
49
- 'longTermQoS': (0, UserStatisticLinkAllOfLongTermQoS_1.UserStatisticLinkAllOfLongTermQoSToJSON)(value['longTermQoS']),
50
- 'shortTermQoS': (0, UserStatisticLinkAllOfShortTermQoS_1.UserStatisticLinkAllOfShortTermQoSToJSON)(value['shortTermQoS']),
51
+ 'numberOfSales': value['numberOfSales'],
52
+ 'salesErrorRate': value['salesErrorRate'],
53
+ 'salesCanceledRate': value['salesCanceledRate'],
54
+ 'salesLitigationRate': value['salesLitigationRate'],
55
+ 'salesResponsivenessDelay': value['salesResponsivenessDelay'],
56
+ 'deliveryDelay': value['deliveryDelay'],
51
57
  };
52
58
  }
53
59
  exports.UserStatisticLinkToJSON = UserStatisticLinkToJSON;
@@ -22,7 +22,6 @@ export * from './Transport';
22
22
  export * from './User';
23
23
  export * from './UserBankAccountCreationParameters';
24
24
  export * from './UserBankAccountLink';
25
- export * from './UserChargebeeTarget';
26
25
  export * from './UserCompany';
27
26
  export * from './UserCreationParameters';
28
27
  export * from './UserCustomCommissions';
@@ -48,8 +47,6 @@ export * from './UserRuleComparatorEnum';
48
47
  export * from './UserRuleCreationParameters';
49
48
  export * from './UserSocialNetwork';
50
49
  export * from './UserStatisticLink';
51
- export * from './UserStatisticLinkAllOfLongTermQoS';
52
- export * from './UserStatisticLinkAllOfShortTermQoS';
53
50
  export * from './UserThreads';
54
51
  export * from './UserUpdateParameters';
55
52
  export * from './UserWalletLink';
@@ -40,7 +40,6 @@ __exportStar(require("./Transport"), exports);
40
40
  __exportStar(require("./User"), exports);
41
41
  __exportStar(require("./UserBankAccountCreationParameters"), exports);
42
42
  __exportStar(require("./UserBankAccountLink"), exports);
43
- __exportStar(require("./UserChargebeeTarget"), exports);
44
43
  __exportStar(require("./UserCompany"), exports);
45
44
  __exportStar(require("./UserCreationParameters"), exports);
46
45
  __exportStar(require("./UserCustomCommissions"), exports);
@@ -66,8 +65,6 @@ __exportStar(require("./UserRuleComparatorEnum"), exports);
66
65
  __exportStar(require("./UserRuleCreationParameters"), exports);
67
66
  __exportStar(require("./UserSocialNetwork"), exports);
68
67
  __exportStar(require("./UserStatisticLink"), exports);
69
- __exportStar(require("./UserStatisticLinkAllOfLongTermQoS"), exports);
70
- __exportStar(require("./UserStatisticLinkAllOfShortTermQoS"), exports);
71
68
  __exportStar(require("./UserThreads"), exports);
72
69
  __exportStar(require("./UserUpdateParameters"), exports);
73
70
  __exportStar(require("./UserWalletLink"), exports);
@@ -1,61 +0,0 @@
1
- /**
2
- * lcdp-pharmaide-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 UserStatisticLongTermQoS
16
- */
17
- export interface UserStatisticLongTermQoS {
18
- /**
19
- * Number of sales
20
- * @type {number}
21
- * @memberof UserStatisticLongTermQoS
22
- */
23
- numberOfSales?: number | null;
24
- /**
25
- * Rate of sales that have at least one removed or refunded item
26
- * @type {number}
27
- * @memberof UserStatisticLongTermQoS
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 UserStatisticLongTermQoS
34
- */
35
- salesCanceledRate?: number | null;
36
- /**
37
- * Rate of sales that are associated to a litigation
38
- * @type {number}
39
- * @memberof UserStatisticLongTermQoS
40
- */
41
- salesLitigationRate?: number | null;
42
- /**
43
- * Average delay (in days) of responsiveness for sales (delay between order created by buyer and accepted/modified/canceled by seller or administrator)
44
- * @type {number}
45
- * @memberof UserStatisticLongTermQoS
46
- */
47
- salesResponsivenessDelay?: number | null;
48
- /**
49
- * Average delay (in days) of delivery for sales
50
- * @type {number}
51
- * @memberof UserStatisticLongTermQoS
52
- */
53
- deliveryDelay?: number | null;
54
- }
55
- /**
56
- * Check if a given object implements the UserStatisticLongTermQoS interface.
57
- */
58
- export declare function instanceOfUserStatisticLongTermQoS(value: object): value is UserStatisticLongTermQoS;
59
- export declare function UserStatisticLongTermQoSFromJSON(json: any): UserStatisticLongTermQoS;
60
- export declare function UserStatisticLongTermQoSFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserStatisticLongTermQoS;
61
- export declare function UserStatisticLongTermQoSToJSON(value?: UserStatisticLongTermQoS | null): any;
@@ -1,55 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * lcdp-pharmaide-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.UserStatisticLongTermQoSToJSON = exports.UserStatisticLongTermQoSFromJSONTyped = exports.UserStatisticLongTermQoSFromJSON = exports.instanceOfUserStatisticLongTermQoS = void 0;
17
- /**
18
- * Check if a given object implements the UserStatisticLongTermQoS interface.
19
- */
20
- function instanceOfUserStatisticLongTermQoS(value) {
21
- return true;
22
- }
23
- exports.instanceOfUserStatisticLongTermQoS = instanceOfUserStatisticLongTermQoS;
24
- function UserStatisticLongTermQoSFromJSON(json) {
25
- return UserStatisticLongTermQoSFromJSONTyped(json, false);
26
- }
27
- exports.UserStatisticLongTermQoSFromJSON = UserStatisticLongTermQoSFromJSON;
28
- function UserStatisticLongTermQoSFromJSONTyped(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.UserStatisticLongTermQoSFromJSONTyped = UserStatisticLongTermQoSFromJSONTyped;
42
- function UserStatisticLongTermQoSToJSON(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.UserStatisticLongTermQoSToJSON = UserStatisticLongTermQoSToJSON;
@@ -1,43 +0,0 @@
1
- /**
2
- * lcdp-pharmaide-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 UserStatisticShortTermQoS
16
- */
17
- export interface UserStatisticShortTermQoS {
18
- /**
19
- * Number of sales
20
- * @type {number}
21
- * @memberof UserStatisticShortTermQoS
22
- */
23
- numberOfSales?: number | null;
24
- /**
25
- * Number of sales with modification
26
- * @type {number}
27
- * @memberof UserStatisticShortTermQoS
28
- */
29
- numberOfSalesWithModification?: number | null;
30
- /**
31
- * Rate of sales that have been modified
32
- * @type {number}
33
- * @memberof UserStatisticShortTermQoS
34
- */
35
- salesModificationRate?: number | null;
36
- }
37
- /**
38
- * Check if a given object implements the UserStatisticShortTermQoS interface.
39
- */
40
- export declare function instanceOfUserStatisticShortTermQoS(value: object): value is UserStatisticShortTermQoS;
41
- export declare function UserStatisticShortTermQoSFromJSON(json: any): UserStatisticShortTermQoS;
42
- export declare function UserStatisticShortTermQoSFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserStatisticShortTermQoS;
43
- export declare function UserStatisticShortTermQoSToJSON(value?: UserStatisticShortTermQoS | null): any;
@@ -1,49 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * lcdp-pharmaide-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.UserStatisticShortTermQoSToJSON = exports.UserStatisticShortTermQoSFromJSONTyped = exports.UserStatisticShortTermQoSFromJSON = exports.instanceOfUserStatisticShortTermQoS = void 0;
17
- /**
18
- * Check if a given object implements the UserStatisticShortTermQoS interface.
19
- */
20
- function instanceOfUserStatisticShortTermQoS(value) {
21
- return true;
22
- }
23
- exports.instanceOfUserStatisticShortTermQoS = instanceOfUserStatisticShortTermQoS;
24
- function UserStatisticShortTermQoSFromJSON(json) {
25
- return UserStatisticShortTermQoSFromJSONTyped(json, false);
26
- }
27
- exports.UserStatisticShortTermQoSFromJSON = UserStatisticShortTermQoSFromJSON;
28
- function UserStatisticShortTermQoSFromJSONTyped(json, ignoreDiscriminator) {
29
- if (json == null) {
30
- return json;
31
- }
32
- return {
33
- 'numberOfSales': json['numberOfSales'],
34
- 'numberOfSalesWithModification': json['numberOfSalesWithModification'],
35
- 'salesModificationRate': json['salesModificationRate'],
36
- };
37
- }
38
- exports.UserStatisticShortTermQoSFromJSONTyped = UserStatisticShortTermQoSFromJSONTyped;
39
- function UserStatisticShortTermQoSToJSON(value) {
40
- if (value == null) {
41
- return value;
42
- }
43
- return {
44
- 'numberOfSales': value['numberOfSales'],
45
- 'numberOfSalesWithModification': value['numberOfSalesWithModification'],
46
- 'salesModificationRate': value['salesModificationRate'],
47
- };
48
- }
49
- exports.UserStatisticShortTermQoSToJSON = UserStatisticShortTermQoSToJSON;
@@ -1,37 +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
- *
14
- * @export
15
- * @interface UserChargebeeTarget
16
- */
17
- export interface UserChargebeeTarget {
18
- /**
19
- * Any URL that is using http or https protocol
20
- * @type {string}
21
- * @memberof UserChargebeeTarget
22
- */
23
- href: string;
24
- /**
25
- * Id on chargebee service
26
- * @type {string}
27
- * @memberof UserChargebeeTarget
28
- */
29
- id?: string;
30
- }
31
- /**
32
- * Check if a given object implements the UserChargebeeTarget interface.
33
- */
34
- export declare function instanceOfUserChargebeeTarget(value: object): value is UserChargebeeTarget;
35
- export declare function UserChargebeeTargetFromJSON(json: any): UserChargebeeTarget;
36
- export declare function UserChargebeeTargetFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserChargebeeTarget;
37
- export declare function UserChargebeeTargetToJSON(value?: UserChargebeeTarget | null): any;
@@ -1,49 +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.UserChargebeeTargetToJSON = exports.UserChargebeeTargetFromJSONTyped = exports.UserChargebeeTargetFromJSON = exports.instanceOfUserChargebeeTarget = void 0;
17
- /**
18
- * Check if a given object implements the UserChargebeeTarget interface.
19
- */
20
- function instanceOfUserChargebeeTarget(value) {
21
- if (!('href' in value) || value['href'] === undefined)
22
- return false;
23
- return true;
24
- }
25
- exports.instanceOfUserChargebeeTarget = instanceOfUserChargebeeTarget;
26
- function UserChargebeeTargetFromJSON(json) {
27
- return UserChargebeeTargetFromJSONTyped(json, false);
28
- }
29
- exports.UserChargebeeTargetFromJSON = UserChargebeeTargetFromJSON;
30
- function UserChargebeeTargetFromJSONTyped(json, ignoreDiscriminator) {
31
- if (json == null) {
32
- return json;
33
- }
34
- return {
35
- 'href': json['href'],
36
- 'id': json['id'],
37
- };
38
- }
39
- exports.UserChargebeeTargetFromJSONTyped = UserChargebeeTargetFromJSONTyped;
40
- function UserChargebeeTargetToJSON(value) {
41
- if (value == null) {
42
- return value;
43
- }
44
- return {
45
- 'href': value['href'],
46
- 'id': value['id'],
47
- };
48
- }
49
- exports.UserChargebeeTargetToJSON = UserChargebeeTargetToJSON;
@@ -1,61 +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
- * 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 (in days) 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 (in days) 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;
@@ -1,55 +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.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;
@@ -1,43 +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
- * Short-term quality of service statistics
14
- * @export
15
- * @interface UserStatisticLinkAllOfShortTermQoS
16
- */
17
- export interface UserStatisticLinkAllOfShortTermQoS {
18
- /**
19
- * Number of sales
20
- * @type {number}
21
- * @memberof UserStatisticLinkAllOfShortTermQoS
22
- */
23
- numberOfSales?: number | null;
24
- /**
25
- * Number of sales with modification
26
- * @type {number}
27
- * @memberof UserStatisticLinkAllOfShortTermQoS
28
- */
29
- numberOfSalesWithModification?: number | null;
30
- /**
31
- * Rate of sales that have been modified
32
- * @type {number}
33
- * @memberof UserStatisticLinkAllOfShortTermQoS
34
- */
35
- salesModificationRate?: number | null;
36
- }
37
- /**
38
- * Check if a given object implements the UserStatisticLinkAllOfShortTermQoS interface.
39
- */
40
- export declare function instanceOfUserStatisticLinkAllOfShortTermQoS(value: object): value is UserStatisticLinkAllOfShortTermQoS;
41
- export declare function UserStatisticLinkAllOfShortTermQoSFromJSON(json: any): UserStatisticLinkAllOfShortTermQoS;
42
- export declare function UserStatisticLinkAllOfShortTermQoSFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserStatisticLinkAllOfShortTermQoS;
43
- export declare function UserStatisticLinkAllOfShortTermQoSToJSON(value?: UserStatisticLinkAllOfShortTermQoS | null): any;
@@ -1,49 +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.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
- 'numberOfSales': json['numberOfSales'],
34
- 'numberOfSalesWithModification': json['numberOfSalesWithModification'],
35
- 'salesModificationRate': json['salesModificationRate'],
36
- };
37
- }
38
- exports.UserStatisticLinkAllOfShortTermQoSFromJSONTyped = UserStatisticLinkAllOfShortTermQoSFromJSONTyped;
39
- function UserStatisticLinkAllOfShortTermQoSToJSON(value) {
40
- if (value == null) {
41
- return value;
42
- }
43
- return {
44
- 'numberOfSales': value['numberOfSales'],
45
- 'numberOfSalesWithModification': value['numberOfSalesWithModification'],
46
- 'salesModificationRate': value['salesModificationRate'],
47
- };
48
- }
49
- exports.UserStatisticLinkAllOfShortTermQoSToJSON = UserStatisticLinkAllOfShortTermQoSToJSON;