44 * CodeCharacter API
55 * Specification of the CodeCharacter API
66 *
7- * The version of the OpenAPI document: 2023 .0.1
7+ * The version of the OpenAPI document: 2024 .0.1
88 * Contact: delta@nitt.edu
99 *
1010 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1313 */
1414
1515import * as runtime from '../runtime' ;
16- import type { UserMatchStats } from '../models' ;
16+ import type { UserMatchStatsInner } from '../models' ;
1717
1818/**
1919 * StatsApi - interface
@@ -31,15 +31,15 @@ export interface StatsApiInterface {
3131 */
3232 getStatsRaw (
3333 initOverrides ?: RequestInit | runtime . InitOverrideFunction ,
34- ) : Promise < runtime . ApiResponse < Array < UserMatchStats > > > ;
34+ ) : Promise < runtime . ApiResponse < Array < Array < UserMatchStatsInner > > > > ;
3535
3636 /**
3737 * Gets all statistics for the current user
3838 * Get all General Stats for current user and top user
3939 */
4040 getStats (
4141 initOverrides ?: RequestInit | runtime . InitOverrideFunction ,
42- ) : Promise < Array < UserMatchStats > > ;
42+ ) : Promise < Array < Array < UserMatchStatsInner > > > ;
4343}
4444
4545/**
@@ -52,7 +52,7 @@ export class StatsApi extends runtime.BaseAPI implements StatsApiInterface {
5252 */
5353 async getStatsRaw (
5454 initOverrides ?: RequestInit | runtime . InitOverrideFunction ,
55- ) : Promise < runtime . ApiResponse < Array < UserMatchStats > > > {
55+ ) : Promise < runtime . ApiResponse < Array < Array < UserMatchStatsInner > > > > {
5656 const queryParameters : any = { } ;
5757
5858 const headerParameters : runtime . HTTPHeaders = { } ;
@@ -75,7 +75,7 @@ export class StatsApi extends runtime.BaseAPI implements StatsApiInterface {
7575 initOverrides ,
7676 ) ;
7777
78- return new runtime . JSONApiResponse ( response ) ;
78+ return new runtime . JSONApiResponse < any > ( response ) ;
7979 }
8080
8181 /**
@@ -84,7 +84,7 @@ export class StatsApi extends runtime.BaseAPI implements StatsApiInterface {
8484 */
8585 async getStats (
8686 initOverrides ?: RequestInit | runtime . InitOverrideFunction ,
87- ) : Promise < Array < UserMatchStats > > {
87+ ) : Promise < Array < Array < UserMatchStatsInner > > > {
8888 const response = await this . getStatsRaw ( initOverrides ) ;
8989 return await response . value ( ) ;
9090 }
0 commit comments