@orlikfy/api-interfaces 6.1.6 → 6.1.8

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
@@ -1668,6 +1668,23 @@ export interface paths {
1668
1668
  patch?: never;
1669
1669
  trace?: never;
1670
1670
  };
1671
+ "/auth/check-auth-method": {
1672
+ parameters: {
1673
+ query?: never;
1674
+ header?: never;
1675
+ path?: never;
1676
+ cookie?: never;
1677
+ };
1678
+ get?: never;
1679
+ put?: never;
1680
+ /** checkAuthMethod */
1681
+ post: operations["checkAuthMethod"];
1682
+ delete?: never;
1683
+ options?: never;
1684
+ head?: never;
1685
+ patch?: never;
1686
+ trace?: never;
1687
+ };
1671
1688
  "/hosted-games/{hostedGameId}/reassign/create-reassign-token": {
1672
1689
  parameters: {
1673
1690
  query?: never;
@@ -3410,6 +3427,17 @@ export interface components {
3410
3427
  coordinates: components["schemas"]["CoordinatesDto"];
3411
3428
  region: components["schemas"]["RegionDto"] | null;
3412
3429
  };
3430
+ CheckAuthMethodDto: {
3431
+ /** @example user@example.com */
3432
+ email: string;
3433
+ };
3434
+ /** @enum {string} */
3435
+ AuthProvider: AuthProvider;
3436
+ CheckAuthMethodResponseDto: {
3437
+ exists: boolean;
3438
+ isRegisteredInApp: boolean;
3439
+ authProviders: components["schemas"]["AuthProvider"][];
3440
+ };
3413
3441
  CreateReassignTokenResponseDto: {
3414
3442
  token: string;
3415
3443
  frontendURL: string;
@@ -3625,6 +3653,8 @@ export type UserRankDto = components['schemas']['UserRankDto'];
3625
3653
  export type UsersTopRankDto = components['schemas']['UsersTopRankDto'];
3626
3654
  export type UpdateUserLocationDto = components['schemas']['UpdateUserLocationDto'];
3627
3655
  export type UserLocationDto = components['schemas']['UserLocationDto'];
3656
+ export type CheckAuthMethodDto = components['schemas']['CheckAuthMethodDto'];
3657
+ export type CheckAuthMethodResponseDto = components['schemas']['CheckAuthMethodResponseDto'];
3628
3658
  export type CreateReassignTokenResponseDto = components['schemas']['CreateReassignTokenResponseDto'];
3629
3659
  export type InactiveUsersNotificationResponseDto = components['schemas']['InactiveUsersNotificationResponseDto'];
3630
3660
  export type ActivityHistoryEntryDto = components['schemas']['ActivityHistoryEntryDto'];
@@ -7639,6 +7669,45 @@ export interface operations {
7639
7669
  };
7640
7670
  };
7641
7671
  };
7672
+ checkAuthMethod: {
7673
+ parameters: {
7674
+ query?: never;
7675
+ header?: {
7676
+ /** @description Request trace id for logs */
7677
+ "x-trace-request-id"?: string;
7678
+ /** @description Session trace id for logs */
7679
+ "x-trace-session-id"?: string;
7680
+ /** @description IANA Timezone */
7681
+ "x-timezone"?: string;
7682
+ };
7683
+ path?: never;
7684
+ cookie?: never;
7685
+ };
7686
+ requestBody: {
7687
+ content: {
7688
+ "application/json": components["schemas"]["CheckAuthMethodDto"];
7689
+ };
7690
+ };
7691
+ responses: {
7692
+ 200: {
7693
+ headers: {
7694
+ [name: string]: unknown;
7695
+ };
7696
+ content: {
7697
+ "application/json": components["schemas"]["CheckAuthMethodResponseDto"];
7698
+ };
7699
+ };
7700
+ /** @description Application Error */
7701
+ 500: {
7702
+ headers: {
7703
+ [name: string]: unknown;
7704
+ };
7705
+ content: {
7706
+ "application/json": components["schemas"]["ErrorResponse"];
7707
+ };
7708
+ };
7709
+ };
7710
+ };
7642
7711
  generateReassignToken: {
7643
7712
  parameters: {
7644
7713
  query?: never;
@@ -7972,7 +8041,8 @@ export declare enum Level {
7972
8041
  INTERMEDIATE = "INTERMEDIATE",
7973
8042
  ADVANCED = "ADVANCED",
7974
8043
  PROFESSIONAL = "PROFESSIONAL",
7975
- INTERMEDIATE_BEGINNER = "INTERMEDIATE_BEGINNER"
8044
+ INTERMEDIATE_BEGINNER = "INTERMEDIATE_BEGINNER",
8045
+ MIXED = "MIXED"
7976
8046
  }
7977
8047
  export declare enum UserParticipationStatus {
7978
8048
  Applied = "Applied",
@@ -7998,7 +8068,8 @@ export declare enum GameLevelEnum {
7998
8068
  INTERMEDIATE_BEGINNER = "INTERMEDIATE_BEGINNER",
7999
8069
  INTERMEDIATE = "INTERMEDIATE",
8000
8070
  ADVANCED = "ADVANCED",
8001
- PROFESSIONAL = "PROFESSIONAL"
8071
+ PROFESSIONAL = "PROFESSIONAL",
8072
+ MIXED = "MIXED"
8002
8073
  }
8003
8074
  export declare enum Weekday {
8004
8075
  SUNDAY = "SUNDAY",
@@ -8022,7 +8093,8 @@ export declare enum AppGameLevel {
8022
8093
  INTERMEDIATE_BEGINNER = "INTERMEDIATE_BEGINNER",
8023
8094
  INTERMEDIATE = "INTERMEDIATE",
8024
8095
  ADVANCED = "ADVANCED",
8025
- PROFESSIONAL = "PROFESSIONAL"
8096
+ PROFESSIONAL = "PROFESSIONAL",
8097
+ MIXED = "MIXED"
8026
8098
  }
8027
8099
  export declare enum PenaltyType {
8028
8100
  YELLOW = "YELLOW",
@@ -8171,6 +8243,11 @@ export declare enum AppTrophyType {
8171
8243
  PLAYER_COMMENT_HELPFUL_10 = "PLAYER_COMMENT_HELPFUL_10",
8172
8244
  PLAYER_COMMENT_SPRINTER_10 = "PLAYER_COMMENT_SPRINTER_10"
8173
8245
  }
8246
+ export declare enum AuthProvider {
8247
+ EMAIL_PASSWORD = "EMAIL_PASSWORD",
8248
+ GOOGLE = "GOOGLE",
8249
+ APPLE = "APPLE"
8250
+ }
8174
8251
  export declare enum ApiPaths {
8175
8252
  getHello = "/hello",
8176
8253
  getError = "/error",
@@ -8281,6 +8358,7 @@ export declare enum ApiPaths {
8281
8358
  getUserRank = "/user/{userId}/activity-rank",
8282
8359
  getUsersTopRank = "/activity-rank/top",
8283
8360
  updateUserLocation = "/users/location",
8361
+ checkAuthMethod = "/auth/check-auth-method",
8284
8362
  generateReassignToken = "/hosted-games/{hostedGameId}/reassign/create-reassign-token",
8285
8363
  reassignGameByToken = "/hosted-games/{hostedGameId}/reassign/{reassignToken}",
8286
8364
  triggerInactiveUsersNotification = "/action-push/inactive-users-since-registered-notification",
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.GameVisibility = exports.AdminGameTypeFilter = exports.UserRoleEnum = 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.AuthProvider = exports.AppTrophyType = exports.CommentTypeEnum = exports.MemberRole = exports.GameVisibility = exports.AdminGameTypeFilter = exports.UserRoleEnum = 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";
@@ -60,6 +60,7 @@ var Level;
60
60
  Level["ADVANCED"] = "ADVANCED";
61
61
  Level["PROFESSIONAL"] = "PROFESSIONAL";
62
62
  Level["INTERMEDIATE_BEGINNER"] = "INTERMEDIATE_BEGINNER";
63
+ Level["MIXED"] = "MIXED";
63
64
  })(Level || (exports.Level = Level = {}));
64
65
  var UserParticipationStatus;
65
66
  (function (UserParticipationStatus) {
@@ -90,6 +91,7 @@ var GameLevelEnum;
90
91
  GameLevelEnum["INTERMEDIATE"] = "INTERMEDIATE";
91
92
  GameLevelEnum["ADVANCED"] = "ADVANCED";
92
93
  GameLevelEnum["PROFESSIONAL"] = "PROFESSIONAL";
94
+ GameLevelEnum["MIXED"] = "MIXED";
93
95
  })(GameLevelEnum || (exports.GameLevelEnum = GameLevelEnum = {}));
94
96
  var Weekday;
95
97
  (function (Weekday) {
@@ -118,6 +120,7 @@ var AppGameLevel;
118
120
  AppGameLevel["INTERMEDIATE"] = "INTERMEDIATE";
119
121
  AppGameLevel["ADVANCED"] = "ADVANCED";
120
122
  AppGameLevel["PROFESSIONAL"] = "PROFESSIONAL";
123
+ AppGameLevel["MIXED"] = "MIXED";
121
124
  })(AppGameLevel || (exports.AppGameLevel = AppGameLevel = {}));
122
125
  var PenaltyType;
123
126
  (function (PenaltyType) {
@@ -279,6 +282,12 @@ var AppTrophyType;
279
282
  AppTrophyType["PLAYER_COMMENT_HELPFUL_10"] = "PLAYER_COMMENT_HELPFUL_10";
280
283
  AppTrophyType["PLAYER_COMMENT_SPRINTER_10"] = "PLAYER_COMMENT_SPRINTER_10";
281
284
  })(AppTrophyType || (exports.AppTrophyType = AppTrophyType = {}));
285
+ var AuthProvider;
286
+ (function (AuthProvider) {
287
+ AuthProvider["EMAIL_PASSWORD"] = "EMAIL_PASSWORD";
288
+ AuthProvider["GOOGLE"] = "GOOGLE";
289
+ AuthProvider["APPLE"] = "APPLE";
290
+ })(AuthProvider || (exports.AuthProvider = AuthProvider = {}));
282
291
  var ApiPaths;
283
292
  (function (ApiPaths) {
284
293
  ApiPaths["getHello"] = "/hello";
@@ -390,6 +399,7 @@ var ApiPaths;
390
399
  ApiPaths["getUserRank"] = "/user/{userId}/activity-rank";
391
400
  ApiPaths["getUsersTopRank"] = "/activity-rank/top";
392
401
  ApiPaths["updateUserLocation"] = "/users/location";
402
+ ApiPaths["checkAuthMethod"] = "/auth/check-auth-method";
393
403
  ApiPaths["generateReassignToken"] = "/hosted-games/{hostedGameId}/reassign/create-reassign-token";
394
404
  ApiPaths["reassignGameByToken"] = "/hosted-games/{hostedGameId}/reassign/{reassignToken}";
395
405
  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.1.6",
3
+ "version": "6.1.8",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "kruligh",