@zennify/sdk-js 1.21.3 → 1.22.0

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": "@zennify/sdk-js",
3
- "version": "1.21.3",
3
+ "version": "1.22.0",
4
4
  "description": "A simple package to work with https://api.zennify.app",
5
5
  "main": "dist/main.js",
6
6
  "keywords": [],
@@ -10,4 +10,13 @@ export type StatisticsResponse = {
10
10
  last_update: string,
11
11
  created_at: string
12
12
  statistics: Statistics
13
- }
13
+ };
14
+
15
+ export type Ranking = {
16
+ id: number,
17
+ discord_user_id: string,
18
+ revenue: number,
19
+ sales: number
20
+ };
21
+
22
+ export type RankingResponse = Ranking[]
@@ -10,3 +10,10 @@ export type StatisticsResponse = {
10
10
  created_at: string;
11
11
  statistics: Statistics;
12
12
  };
13
+ export type Ranking = {
14
+ id: number;
15
+ discord_user_id: string;
16
+ revenue: number;
17
+ sales: number;
18
+ };
19
+ export type RankingResponse = Ranking[];