@lcdp/api-react-rest-client 2.6.2-LDS-3445-api-ajouter-statitiques-user.8277726185 → 2.6.2-LDS-3445-api-ajouter-statitiques-user.8277809964
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
|
@@ -53,7 +53,7 @@ export interface UserStatistic {
|
|
|
53
53
|
*/
|
|
54
54
|
salesLitigationRate?: number;
|
|
55
55
|
/**
|
|
56
|
-
* Average delay of responsiveness for sales (delay between order created by buyer and accepted/modified/canceled by seller)
|
|
56
|
+
* Average delay of responsiveness for sales (delay between order created by buyer and accepted/modified/canceled by seller or administrator)
|
|
57
57
|
* @type {number}
|
|
58
58
|
* @memberof UserStatistic
|
|
59
59
|
*/
|
package/user/src/models/User.js
CHANGED
|
@@ -81,6 +81,7 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
81
81
|
'updatedAt': !(0, runtime_1.exists)(json, 'updatedAt') ? undefined : (new Date(json['updatedAt'])),
|
|
82
82
|
'createdAt': !(0, runtime_1.exists)(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
|
|
83
83
|
'journal': !(0, runtime_1.exists)(json, 'journal') ? undefined : (0, UserJournal_1.UserJournalFromJSON)(json['journal']),
|
|
84
|
+
'badges': !(0, runtime_1.exists)(json, 'badges') ? undefined : json['badges'],
|
|
84
85
|
'statistic': !(0, runtime_1.exists)(json, 'statistic') ? undefined : (0, UserStatisticLink_1.UserStatisticLinkFromJSON)(json['statistic']),
|
|
85
86
|
};
|
|
86
87
|
}
|
|
@@ -137,6 +138,7 @@ function UserToJSON(value) {
|
|
|
137
138
|
'updatedAt': value.updatedAt === undefined ? undefined : (value.updatedAt.toISOString()),
|
|
138
139
|
'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
|
|
139
140
|
'journal': (0, UserJournal_1.UserJournalToJSON)(value.journal),
|
|
141
|
+
'badges': value.badges,
|
|
140
142
|
'statistic': (0, UserStatisticLink_1.UserStatisticLinkToJSON)(value.statistic),
|
|
141
143
|
};
|
|
142
144
|
}
|