@orlikfy/api-interfaces 6.0.0 → 6.0.1

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 CHANGED
@@ -1612,6 +1612,23 @@ export interface paths {
1612
1612
  patch?: never;
1613
1613
  trace?: never;
1614
1614
  };
1615
+ "/users/location": {
1616
+ parameters: {
1617
+ query?: never;
1618
+ header?: never;
1619
+ path?: never;
1620
+ cookie?: never;
1621
+ };
1622
+ get?: never;
1623
+ /** updateUserLocation */
1624
+ put: operations["updateUserLocation"];
1625
+ post?: never;
1626
+ delete?: never;
1627
+ options?: never;
1628
+ head?: never;
1629
+ patch?: never;
1630
+ trace?: never;
1631
+ };
1615
1632
  "/hosted-games/{hostedGameId}/reassign/create-reassign-token": {
1616
1633
  parameters: {
1617
1634
  query?: never;
@@ -2799,6 +2816,10 @@ export interface components {
2799
2816
  playedGames: number;
2800
2817
  gameApplications: number;
2801
2818
  };
2819
+ RegionDto: {
2820
+ regionId: string;
2821
+ name: string;
2822
+ };
2802
2823
  AdminUserDto: {
2803
2824
  userId: string;
2804
2825
  name: string;
@@ -2811,6 +2832,7 @@ export interface components {
2811
2832
  versionInfo: string | null;
2812
2833
  platform: string | null;
2813
2834
  stats: components["schemas"]["AdminUserStatsDto"];
2835
+ region: components["schemas"]["RegionDto"] | null;
2814
2836
  };
2815
2837
  GetAdminUsersDto: {
2816
2838
  users: components["schemas"]["AdminUserDto"][];
@@ -2833,6 +2855,14 @@ export interface components {
2833
2855
  date: string;
2834
2856
  count: number;
2835
2857
  };
2858
+ RegionUserStatsDto: {
2859
+ regionName: string;
2860
+ userCount: number;
2861
+ };
2862
+ RegionDailyRegistrationsDto: {
2863
+ regionName: string;
2864
+ dailyRegistrations: components["schemas"]["DailyStatsDto"][];
2865
+ };
2836
2866
  GetAdminUsersStatsDto: {
2837
2867
  totalUsers: number;
2838
2868
  platformStats: components["schemas"]["PlatformStatsDto"][];
@@ -2840,6 +2870,8 @@ export interface components {
2840
2870
  platformVersionStats: components["schemas"]["PlatformVersionStatsDto"][];
2841
2871
  /** @description Daily user registration counts */
2842
2872
  dailyRegistrations: components["schemas"]["DailyStatsDto"][];
2873
+ regionStats: components["schemas"]["RegionUserStatsDto"][];
2874
+ regionDailyRegistrations: components["schemas"]["RegionDailyRegistrationsDto"][];
2843
2875
  };
2844
2876
  /** @enum {string} */
2845
2877
  AdminGameTypeFilter: AdminGameTypeFilter;
@@ -3184,6 +3216,13 @@ export interface components {
3184
3216
  users: components["schemas"]["UserRankDto"][];
3185
3217
  cached: boolean;
3186
3218
  };
3219
+ UpdateUserLocationDto: {
3220
+ coordinates: components["schemas"]["CoordinatesDto"];
3221
+ };
3222
+ UserLocationDto: {
3223
+ coordinates: components["schemas"]["CoordinatesDto"];
3224
+ region: components["schemas"]["RegionDto"] | null;
3225
+ };
3187
3226
  CreateReassignTokenResponseDto: {
3188
3227
  token: string;
3189
3228
  frontendURL: string;
@@ -3301,12 +3340,15 @@ export type MarkNotificationsAsReadDto = components['schemas']['MarkNotification
3301
3340
  export type RegisterDeviceNotificationTokenDto = components['schemas']['RegisterDeviceNotificationTokenDto'];
3302
3341
  export type ArrivalDto = components['schemas']['ArrivalDto'];
3303
3342
  export type AdminUserStatsDto = components['schemas']['AdminUserStatsDto'];
3343
+ export type RegionDto = components['schemas']['RegionDto'];
3304
3344
  export type AdminUserDto = components['schemas']['AdminUserDto'];
3305
3345
  export type GetAdminUsersDto = components['schemas']['GetAdminUsersDto'];
3306
3346
  export type PlatformStatsDto = components['schemas']['PlatformStatsDto'];
3307
3347
  export type VersionStatsDto = components['schemas']['VersionStatsDto'];
3308
3348
  export type PlatformVersionStatsDto = components['schemas']['PlatformVersionStatsDto'];
3309
3349
  export type DailyStatsDto = components['schemas']['DailyStatsDto'];
3350
+ export type RegionUserStatsDto = components['schemas']['RegionUserStatsDto'];
3351
+ export type RegionDailyRegistrationsDto = components['schemas']['RegionDailyRegistrationsDto'];
3310
3352
  export type GetAdminUsersStatsDto = components['schemas']['GetAdminUsersStatsDto'];
3311
3353
  export type AdminGamePlayerDto = components['schemas']['AdminGamePlayerDto'];
3312
3354
  export type AdminGameDto = components['schemas']['AdminGameDto'];
@@ -3362,6 +3404,8 @@ export type UserGameDto = components['schemas']['UserGameDto'];
3362
3404
  export type GetUserGamesDto = components['schemas']['GetUserGamesDto'];
3363
3405
  export type UserRankDto = components['schemas']['UserRankDto'];
3364
3406
  export type UsersTopRankDto = components['schemas']['UsersTopRankDto'];
3407
+ export type UpdateUserLocationDto = components['schemas']['UpdateUserLocationDto'];
3408
+ export type UserLocationDto = components['schemas']['UserLocationDto'];
3365
3409
  export type CreateReassignTokenResponseDto = components['schemas']['CreateReassignTokenResponseDto'];
3366
3410
  export type InactiveUsersNotificationResponseDto = components['schemas']['InactiveUsersNotificationResponseDto'];
3367
3411
  export type $defs = Record<string, never>;
@@ -7262,6 +7306,45 @@ export interface operations {
7262
7306
  };
7263
7307
  };
7264
7308
  };
7309
+ updateUserLocation: {
7310
+ parameters: {
7311
+ query?: never;
7312
+ header?: {
7313
+ /** @description Request trace id for logs */
7314
+ "x-trace-request-id"?: string;
7315
+ /** @description Session trace id for logs */
7316
+ "x-trace-session-id"?: string;
7317
+ /** @description IANA Timezone */
7318
+ "x-timezone"?: string;
7319
+ };
7320
+ path?: never;
7321
+ cookie?: never;
7322
+ };
7323
+ requestBody: {
7324
+ content: {
7325
+ "application/json": components["schemas"]["UpdateUserLocationDto"];
7326
+ };
7327
+ };
7328
+ responses: {
7329
+ 200: {
7330
+ headers: {
7331
+ [name: string]: unknown;
7332
+ };
7333
+ content: {
7334
+ "application/json": components["schemas"]["UserLocationDto"];
7335
+ };
7336
+ };
7337
+ /** @description Application Error */
7338
+ 500: {
7339
+ headers: {
7340
+ [name: string]: unknown;
7341
+ };
7342
+ content: {
7343
+ "application/json": components["schemas"]["ErrorResponse"];
7344
+ };
7345
+ };
7346
+ };
7347
+ };
7265
7348
  generateReassignToken: {
7266
7349
  parameters: {
7267
7350
  query?: never;
@@ -7739,6 +7822,7 @@ export declare enum ApiPaths {
7739
7822
  getUserProfileGames = "/user/{userId}/games",
7740
7823
  getUserRank = "/user/{userId}/activity-rank",
7741
7824
  getUsersTopRank = "/activity-rank/top",
7825
+ updateUserLocation = "/users/location",
7742
7826
  generateReassignToken = "/hosted-games/{hostedGameId}/reassign/create-reassign-token",
7743
7827
  reassignGameByToken = "/hosted-games/{hostedGameId}/reassign/{reassignToken}",
7744
7828
  triggerInactiveUsersNotification = "/action-push/inactive-users-since-registered-notification",
package/dist/api.js CHANGED
@@ -379,6 +379,7 @@ var ApiPaths;
379
379
  ApiPaths["getUserProfileGames"] = "/user/{userId}/games";
380
380
  ApiPaths["getUserRank"] = "/user/{userId}/activity-rank";
381
381
  ApiPaths["getUsersTopRank"] = "/activity-rank/top";
382
+ ApiPaths["updateUserLocation"] = "/users/location";
382
383
  ApiPaths["generateReassignToken"] = "/hosted-games/{hostedGameId}/reassign/create-reassign-token";
383
384
  ApiPaths["reassignGameByToken"] = "/hosted-games/{hostedGameId}/reassign/{reassignToken}";
384
385
  ApiPaths["triggerInactiveUsersNotification"] = "/action-push/inactive-users-since-registered-notification";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orlikfy/api-interfaces",
3
- "version": "6.0.0",
3
+ "version": "6.0.1",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "kruligh",