@smartico/public-api 0.0.133 → 0.0.134

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.
@@ -232,6 +232,23 @@ The date/timestamp indicating when the prize was claimed by the user
232
232
 
233
233
  ___
234
234
 
235
+ ### completed\_date
236
+
237
+ • `Optional` **completed\_date**: `string`
238
+
239
+ Time in hours that took this player to complete mission
240
+
241
+ ___
242
+
243
+ ### completed\_date_ts
244
+
245
+ • `Optional` **completed\_date\_ts**: `number`
246
+
247
+ Time of mission/badge being completed, this property shows the epoch time in UTC
248
+
249
+ ___
250
+
251
+
235
252
  ### completed\_today
236
253
 
237
254
  • `Optional` **completed\_today**: `boolean`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartico/public-api",
3
- "version": "0.0.133",
3
+ "version": "0.0.134",
4
4
  "description": "Smartico public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -99,6 +99,8 @@ export const UserAchievementTransform = (items: UserAchievement[]): TMissionOrBa
99
99
  ach_completed_id: r.ach_completed_id,
100
100
  requires_prize_claim: r.requires_prize_claim,
101
101
  prize_claimed_date_ts: r.prize_claimed_date_ts,
102
+ complete_date: r.complete_date,
103
+ complete_date_ts: r.complete_date_ts,
102
104
  completed_today: completedToday,
103
105
  completed_this_week: completedThisWeek,
104
106
  completed_this_month: completedThisMonth
@@ -482,6 +482,12 @@ export interface TMissionOrBadge {
482
482
  /** The date/timestamp indicating when the prize was claimed by the user */
483
483
  prize_claimed_date_ts?: number;
484
484
 
485
+ /** Time in hours that took this player to complete mission */
486
+ complete_date?: string;
487
+
488
+ /** Time of mission/badge being completed, this property shows the epoch time in UTC */
489
+ complete_date_ts?: number;
490
+
485
491
  /** Flag for mission/badge indicating that mission/badge completed today */
486
492
  completed_today?: boolean;
487
493