@orlikfy/api-interfaces 4.2.3 → 4.2.4

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
@@ -2203,7 +2203,7 @@ export interface components {
2203
2203
  */
2204
2204
  leftAt: string | null;
2205
2205
  };
2206
- HostedGamesItemDto: {
2206
+ HostedGameItemDto: {
2207
2207
  gameId: string;
2208
2208
  hostId: string;
2209
2209
  host: components["schemas"]["HostDto"];
@@ -2254,8 +2254,8 @@ export interface components {
2254
2254
  visibility?: components["schemas"]["visibility"];
2255
2255
  locationType?: components["schemas"]["AppGameLocationType"];
2256
2256
  };
2257
- HostedGamesDto: {
2258
- hostedGames: components["schemas"]["HostedGamesItemDto"][];
2257
+ HostedGameDto: {
2258
+ hostedGames: components["schemas"]["HostedGameItemDto"][];
2259
2259
  };
2260
2260
  HostedGameInvitationDto: {
2261
2261
  gameInvitationId: string;
@@ -2911,6 +2911,10 @@ export interface components {
2911
2911
  /** @description Daily user registration counts */
2912
2912
  dailyRegistrations: components["schemas"]["DailyStatsDto"][];
2913
2913
  };
2914
+ /** @enum {string} */
2915
+ AdminGameTypeFilter: AdminGameTypeFilter;
2916
+ /** @enum {string} */
2917
+ GameVisibility: GameVisibility;
2914
2918
  AdminGamePlayerDto: {
2915
2919
  playerId: string;
2916
2920
  gamePlayerId: string;
@@ -2949,6 +2953,8 @@ export interface components {
2949
2953
  paymentTypes: components["schemas"]["paymentTypes"][];
2950
2954
  gamePlayers: components["schemas"]["AdminGamePlayerDto"][];
2951
2955
  gameContactPhone?: string;
2956
+ /** Format: date-time */
2957
+ createdAt: string;
2952
2958
  };
2953
2959
  AdminGamesDto: {
2954
2960
  adminGames: components["schemas"]["AdminGameDto"][];
@@ -3309,9 +3315,9 @@ export type CommonUserDto = components['schemas']['CommonUserDto'];
3309
3315
  export type CommonUserPenaltyDto = components['schemas']['CommonUserPenaltyDto'];
3310
3316
  export type HostedGamePlayerApplicationDto = components['schemas']['HostedGamePlayerApplicationDto'];
3311
3317
  export type HostedGamePlayerDto = components['schemas']['HostedGamePlayerDto'];
3312
- export type HostedGamesItemDto = components['schemas']['HostedGamesItemDto'];
3318
+ export type HostedGameItemDto = components['schemas']['HostedGameItemDto'];
3313
3319
  export type UpdatePartialHostedGameDto = components['schemas']['UpdatePartialHostedGameDto'];
3314
- export type HostedGamesDto = components['schemas']['HostedGamesDto'];
3320
+ export type HostedGameDto = components['schemas']['HostedGameDto'];
3315
3321
  export type HostedGameInvitationDto = components['schemas']['HostedGameInvitationDto'];
3316
3322
  export type HostedGameDetailsDto = components['schemas']['HostedGameDetailsDto'];
3317
3323
  export type FbGroupDto = components['schemas']['FbGroupDto'];
@@ -4779,7 +4785,7 @@ export interface operations {
4779
4785
  [name: string]: unknown;
4780
4786
  };
4781
4787
  content: {
4782
- "application/json": components["schemas"]["HostedGamesItemDto"];
4788
+ "application/json": components["schemas"]["HostedGameItemDto"];
4783
4789
  };
4784
4790
  };
4785
4791
  /** @description GameStartDateBeforeCurrentDatePlusOffset, GameEndDateBeforeStartDate */
@@ -4903,7 +4909,7 @@ export interface operations {
4903
4909
  [name: string]: unknown;
4904
4910
  };
4905
4911
  content: {
4906
- "application/json": components["schemas"]["HostedGamesItemDto"];
4912
+ "application/json": components["schemas"]["HostedGameItemDto"];
4907
4913
  };
4908
4914
  };
4909
4915
  /** @description GameStartDateBeforeCurrentDatePlusOffset, GameEndDateBeforeStartDate, CannotEditGameAfterItsFinished */
@@ -4948,7 +4954,7 @@ export interface operations {
4948
4954
  [name: string]: unknown;
4949
4955
  };
4950
4956
  content: {
4951
- "application/json": components["schemas"]["HostedGamesDto"];
4957
+ "application/json": components["schemas"]["HostedGameDto"];
4952
4958
  };
4953
4959
  };
4954
4960
  /** @description Application Error */
@@ -4986,7 +4992,7 @@ export interface operations {
4986
4992
  [name: string]: unknown;
4987
4993
  };
4988
4994
  content: {
4989
- "application/json": components["schemas"]["HostedGamesDto"];
4995
+ "application/json": components["schemas"]["HostedGameDto"];
4990
4996
  };
4991
4997
  };
4992
4998
  /** @description Application Error */
@@ -5436,8 +5442,14 @@ export interface operations {
5436
5442
  getGames: {
5437
5443
  parameters: {
5438
5444
  query?: {
5439
- /** @description Default 7 */
5445
+ /** @description Number of days to look back. Default 7 */
5440
5446
  daysBefore?: number;
5447
+ /** @description Filter by game type. Omit for all. */
5448
+ gameType?: components["schemas"]["AdminGameTypeFilter"];
5449
+ /** @description Filter by visibility. Omit for all. */
5450
+ visibility?: components["schemas"]["GameVisibility"];
5451
+ /** @description Filter by city name */
5452
+ city?: string;
5441
5453
  };
5442
5454
  header?: {
5443
5455
  /** @description Request trace id for logs */
@@ -7698,6 +7710,14 @@ export declare enum UserRoleEnum {
7698
7710
  USER = "USER",
7699
7711
  ADMIN = "ADMIN"
7700
7712
  }
7713
+ export declare enum AdminGameTypeFilter {
7714
+ RECURRING = "RECURRING",
7715
+ SINGLE = "SINGLE"
7716
+ }
7717
+ export declare enum GameVisibility {
7718
+ PUBLIC = "PUBLIC",
7719
+ PRIVATE = "PRIVATE"
7720
+ }
7701
7721
  export declare enum MemberRole {
7702
7722
  Host = "Host",
7703
7723
  Moderator = "Moderator",
package/dist/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * Do not make direct changes to the file.
5
5
  */
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.ApiPaths = exports.AppTrophyType = exports.CommentTypeEnum = exports.MemberRole = exports.UserRoleEnum = exports.LinkSuffixOption = exports.ArrivalType = exports.NotificationTypes = exports.CustomNotificationType = exports.ChatChannelType = exports.NotificationType = exports.PenaltyReason = exports.PenaltyType = exports.AppGameLevel = exports.AppLanguage = exports.AppProfileType = exports.Weekday = exports.GameLevelEnum = exports.AppGameLocationType = exports.AppPreferredPlayerPosition = exports.UserParticipationStatus = exports.Level = exports.PaymentTypes = exports.PriceCurrency = exports.Visibility = exports.KnownException = void 0;
7
+ exports.ApiPaths = exports.AppTrophyType = exports.CommentTypeEnum = exports.MemberRole = exports.GameVisibility = exports.AdminGameTypeFilter = exports.UserRoleEnum = exports.LinkSuffixOption = exports.ArrivalType = exports.NotificationTypes = exports.CustomNotificationType = exports.ChatChannelType = exports.NotificationType = exports.PenaltyReason = exports.PenaltyType = exports.AppGameLevel = exports.AppLanguage = exports.AppProfileType = exports.Weekday = exports.GameLevelEnum = exports.AppGameLocationType = exports.AppPreferredPlayerPosition = exports.UserParticipationStatus = exports.Level = exports.PaymentTypes = exports.PriceCurrency = exports.Visibility = exports.KnownException = void 0;
8
8
  var KnownException;
9
9
  (function (KnownException) {
10
10
  KnownException["UserBanned"] = "UserBanned";
@@ -233,6 +233,16 @@ var UserRoleEnum;
233
233
  UserRoleEnum["USER"] = "USER";
234
234
  UserRoleEnum["ADMIN"] = "ADMIN";
235
235
  })(UserRoleEnum || (exports.UserRoleEnum = UserRoleEnum = {}));
236
+ var AdminGameTypeFilter;
237
+ (function (AdminGameTypeFilter) {
238
+ AdminGameTypeFilter["RECURRING"] = "RECURRING";
239
+ AdminGameTypeFilter["SINGLE"] = "SINGLE";
240
+ })(AdminGameTypeFilter || (exports.AdminGameTypeFilter = AdminGameTypeFilter = {}));
241
+ var GameVisibility;
242
+ (function (GameVisibility) {
243
+ GameVisibility["PUBLIC"] = "PUBLIC";
244
+ GameVisibility["PRIVATE"] = "PRIVATE";
245
+ })(GameVisibility || (exports.GameVisibility = GameVisibility = {}));
236
246
  var MemberRole;
237
247
  (function (MemberRole) {
238
248
  MemberRole["Host"] = "Host";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orlikfy/api-interfaces",
3
- "version": "4.2.3",
3
+ "version": "4.2.4",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "kruligh",