@orlikfy/api-interfaces 4.2.1 → 4.2.2
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/dist/api.d.ts +79 -3
- package/dist/api.js +1 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -827,6 +827,23 @@ export interface paths {
|
|
|
827
827
|
patch?: never;
|
|
828
828
|
trace?: never;
|
|
829
829
|
};
|
|
830
|
+
"/admin/games/stats": {
|
|
831
|
+
parameters: {
|
|
832
|
+
query?: never;
|
|
833
|
+
header?: never;
|
|
834
|
+
path?: never;
|
|
835
|
+
cookie?: never;
|
|
836
|
+
};
|
|
837
|
+
/** getGamesStatsForAdmin */
|
|
838
|
+
get: operations["getGamesStats"];
|
|
839
|
+
put?: never;
|
|
840
|
+
post?: never;
|
|
841
|
+
delete?: never;
|
|
842
|
+
options?: never;
|
|
843
|
+
head?: never;
|
|
844
|
+
patch?: never;
|
|
845
|
+
trace?: never;
|
|
846
|
+
};
|
|
830
847
|
"/admin/known-cities": {
|
|
831
848
|
parameters: {
|
|
832
849
|
query?: never;
|
|
@@ -2893,11 +2910,20 @@ export interface components {
|
|
|
2893
2910
|
platformVersionStats: components["schemas"]["PlatformVersionStatsDto"][];
|
|
2894
2911
|
/** @description Daily user registration counts */
|
|
2895
2912
|
dailyRegistrations: components["schemas"]["DailyStatsDto"][];
|
|
2896
|
-
/**
|
|
2913
|
+
/**
|
|
2914
|
+
* @deprecated
|
|
2915
|
+
* @description Daily game creation counts
|
|
2916
|
+
*/
|
|
2897
2917
|
dailyGamesCreated: components["schemas"]["DailyStatsDto"][];
|
|
2898
|
-
/**
|
|
2918
|
+
/**
|
|
2919
|
+
* @deprecated
|
|
2920
|
+
* @description Daily game application creation counts
|
|
2921
|
+
*/
|
|
2899
2922
|
dailyApplicationsCreated: components["schemas"]["DailyStatsDto"][];
|
|
2900
|
-
/**
|
|
2923
|
+
/**
|
|
2924
|
+
* @deprecated
|
|
2925
|
+
* @description Daily game application acceptance counts
|
|
2926
|
+
*/
|
|
2901
2927
|
dailyApplicationsAccepted: components["schemas"]["DailyStatsDto"][];
|
|
2902
2928
|
};
|
|
2903
2929
|
AdminGamePlayerDto: {
|
|
@@ -2965,6 +2991,14 @@ export interface components {
|
|
|
2965
2991
|
gamesByDateMessage: string;
|
|
2966
2992
|
gamesByLocationMessage: string;
|
|
2967
2993
|
};
|
|
2994
|
+
GetAdminGamesStatsDto: {
|
|
2995
|
+
/** @description Daily game creation counts */
|
|
2996
|
+
dailyGamesCreated: components["schemas"]["DailyStatsDto"][];
|
|
2997
|
+
/** @description Daily game application creation counts */
|
|
2998
|
+
dailyApplicationsCreated: components["schemas"]["DailyStatsDto"][];
|
|
2999
|
+
/** @description Daily game application acceptance counts */
|
|
3000
|
+
dailyApplicationsAccepted: components["schemas"]["DailyStatsDto"][];
|
|
3001
|
+
};
|
|
2968
3002
|
GetKnownCitiesForPostDto: {
|
|
2969
3003
|
knownCities: string[];
|
|
2970
3004
|
};
|
|
@@ -3363,6 +3397,7 @@ export type GamesByDate = components['schemas']['GamesByDate'];
|
|
|
3363
3397
|
export type AdminGameDtoLocation = components['schemas']['AdminGameDtoLocation'];
|
|
3364
3398
|
export type GamesByLocation = components['schemas']['GamesByLocation'];
|
|
3365
3399
|
export type GetAdminGamesForPostDto = components['schemas']['GetAdminGamesForPostDto'];
|
|
3400
|
+
export type GetAdminGamesStatsDto = components['schemas']['GetAdminGamesStatsDto'];
|
|
3366
3401
|
export type GetKnownCitiesForPostDto = components['schemas']['GetKnownCitiesForPostDto'];
|
|
3367
3402
|
export type RestoreRecurringGameDto = components['schemas']['RestoreRecurringGameDto'];
|
|
3368
3403
|
export type RestoreRecurringGameResponseDto = components['schemas']['RestoreRecurringGameResponseDto'];
|
|
@@ -5497,6 +5532,46 @@ export interface operations {
|
|
|
5497
5532
|
};
|
|
5498
5533
|
};
|
|
5499
5534
|
};
|
|
5535
|
+
getGamesStats: {
|
|
5536
|
+
parameters: {
|
|
5537
|
+
query?: {
|
|
5538
|
+
/** @description Number of days to include in daily stats */
|
|
5539
|
+
statsDays?: number;
|
|
5540
|
+
/** @description Force refresh the cached stats */
|
|
5541
|
+
forceRefresh?: boolean;
|
|
5542
|
+
};
|
|
5543
|
+
header?: {
|
|
5544
|
+
/** @description Request trace id for logs */
|
|
5545
|
+
"x-trace-request-id"?: string;
|
|
5546
|
+
/** @description Session trace id for logs */
|
|
5547
|
+
"x-trace-session-id"?: string;
|
|
5548
|
+
/** @description IANA Timezone */
|
|
5549
|
+
"x-timezone"?: string;
|
|
5550
|
+
};
|
|
5551
|
+
path?: never;
|
|
5552
|
+
cookie?: never;
|
|
5553
|
+
};
|
|
5554
|
+
requestBody?: never;
|
|
5555
|
+
responses: {
|
|
5556
|
+
200: {
|
|
5557
|
+
headers: {
|
|
5558
|
+
[name: string]: unknown;
|
|
5559
|
+
};
|
|
5560
|
+
content: {
|
|
5561
|
+
"application/json": components["schemas"]["GetAdminGamesStatsDto"];
|
|
5562
|
+
};
|
|
5563
|
+
};
|
|
5564
|
+
/** @description Application Error */
|
|
5565
|
+
500: {
|
|
5566
|
+
headers: {
|
|
5567
|
+
[name: string]: unknown;
|
|
5568
|
+
};
|
|
5569
|
+
content: {
|
|
5570
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
5571
|
+
};
|
|
5572
|
+
};
|
|
5573
|
+
};
|
|
5574
|
+
};
|
|
5500
5575
|
getKnownCitiesForPost: {
|
|
5501
5576
|
parameters: {
|
|
5502
5577
|
query?: never;
|
|
@@ -7724,6 +7799,7 @@ export declare enum ApiPaths {
|
|
|
7724
7799
|
getUsersStats = "/admin/users/stats",
|
|
7725
7800
|
getGames = "/admin/games",
|
|
7726
7801
|
getGamesForPost = "/admin/games-for-post",
|
|
7802
|
+
getGamesStats = "/admin/games/stats",
|
|
7727
7803
|
getKnownCitiesForPost = "/admin/known-cities",
|
|
7728
7804
|
restoreRecurringGame = "/admin/restore-recurring-game",
|
|
7729
7805
|
removeOldGameChats = "/admin/adhoc/remove-old-game-chats",
|
package/dist/api.js
CHANGED
|
@@ -323,6 +323,7 @@ var ApiPaths;
|
|
|
323
323
|
ApiPaths["getUsersStats"] = "/admin/users/stats";
|
|
324
324
|
ApiPaths["getGames"] = "/admin/games";
|
|
325
325
|
ApiPaths["getGamesForPost"] = "/admin/games-for-post";
|
|
326
|
+
ApiPaths["getGamesStats"] = "/admin/games/stats";
|
|
326
327
|
ApiPaths["getKnownCitiesForPost"] = "/admin/known-cities";
|
|
327
328
|
ApiPaths["restoreRecurringGame"] = "/admin/restore-recurring-game";
|
|
328
329
|
ApiPaths["removeOldGameChats"] = "/admin/adhoc/remove-old-game-chats";
|