@little-samo/samo-ai-sdk 0.7.1 → 0.7.3

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.
@@ -5,6 +5,10 @@ export interface RankingEntity {
5
5
  agentId?: AgentId;
6
6
  userId?: UserId;
7
7
  }
8
+ export interface RankingReward {
9
+ rankUpTo: number;
10
+ credits: number;
11
+ }
8
12
  export interface RankingDto {
9
13
  type: number;
10
14
  date: Date | null;
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { RankingDto } from './ranking';
2
+ import { RankingDto, RankingReward } from './ranking';
3
3
  export declare const GetRankingsQuerySchema: z.ZodObject<{
4
4
  type: z.ZodNumber;
5
5
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
@@ -14,4 +14,5 @@ export type GetRankingsQueryDto = z.infer<typeof GetRankingsQuerySchema>;
14
14
  export interface GetRankingsResponseDto {
15
15
  rankings: RankingDto[];
16
16
  myRanking: RankingDto | null;
17
+ rewards: RankingReward[] | null;
17
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@little-samo/samo-ai-sdk",
3
- "version": "0.7.1",
3
+ "version": "0.7.3",
4
4
  "description": "SamoAI SDK",
5
5
  "license": "MIT",
6
6
  "repository": {