@orlikfy/api-interfaces 4.2.4 → 6.0.0
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 +6 -122
- package/dist/api.js +1 -6
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -725,23 +725,6 @@ export interface paths {
|
|
|
725
725
|
patch?: never;
|
|
726
726
|
trace?: never;
|
|
727
727
|
};
|
|
728
|
-
"/short-link": {
|
|
729
|
-
parameters: {
|
|
730
|
-
query?: never;
|
|
731
|
-
header?: never;
|
|
732
|
-
path?: never;
|
|
733
|
-
cookie?: never;
|
|
734
|
-
};
|
|
735
|
-
get?: never;
|
|
736
|
-
put?: never;
|
|
737
|
-
/** createShortLink */
|
|
738
|
-
post: operations["createShortLink"];
|
|
739
|
-
delete?: never;
|
|
740
|
-
options?: never;
|
|
741
|
-
head?: never;
|
|
742
|
-
patch?: never;
|
|
743
|
-
trace?: never;
|
|
744
|
-
};
|
|
745
728
|
"/recurring-games": {
|
|
746
729
|
parameters: {
|
|
747
730
|
query?: never;
|
|
@@ -1708,12 +1691,12 @@ export interface components {
|
|
|
1708
1691
|
KnownException: KnownException;
|
|
1709
1692
|
MessageForClient: {
|
|
1710
1693
|
/**
|
|
1711
|
-
* @description A title of the error message in
|
|
1694
|
+
* @description A title of the error message in the user's language.
|
|
1712
1695
|
* @example Coś poszło nie tak
|
|
1713
1696
|
*/
|
|
1714
1697
|
title: string;
|
|
1715
1698
|
/**
|
|
1716
|
-
* @description Message for the client in
|
|
1699
|
+
* @description Message for the client in the user's language
|
|
1717
1700
|
* @example Podane dane sa nieprawidłowe. Spróbuj ponownie.
|
|
1718
1701
|
*/
|
|
1719
1702
|
message: string;
|
|
@@ -1822,11 +1805,6 @@ export interface components {
|
|
|
1822
1805
|
gameContactPhone?: string;
|
|
1823
1806
|
gamePlayers: components["schemas"]["GamePlayerDto"][];
|
|
1824
1807
|
playerApplications: components["schemas"]["GamePlayerApplicationDto"][];
|
|
1825
|
-
/**
|
|
1826
|
-
* @deprecated
|
|
1827
|
-
* @description Use playerApplications instead
|
|
1828
|
-
*/
|
|
1829
|
-
playersApplication: components["schemas"]["GamePlayerApplicationDto"][];
|
|
1830
1808
|
locationType: components["schemas"]["AppGameLocationType"];
|
|
1831
1809
|
/** Format: date-time */
|
|
1832
1810
|
cancelledAt: string | null;
|
|
@@ -2814,54 +2792,6 @@ export interface components {
|
|
|
2814
2792
|
gameDateEnd: string;
|
|
2815
2793
|
pendingPlayerApplicationsCount: number;
|
|
2816
2794
|
};
|
|
2817
|
-
AndroidInfo: {
|
|
2818
|
-
/** @description The Android package name */
|
|
2819
|
-
androidPackageName: string;
|
|
2820
|
-
/** @description The fallback link for Android */
|
|
2821
|
-
androidFallbackLink: string;
|
|
2822
|
-
};
|
|
2823
|
-
SocialMetaTagInfo: {
|
|
2824
|
-
/** @description The social title */
|
|
2825
|
-
socialTitle: string;
|
|
2826
|
-
/** @description The social description */
|
|
2827
|
-
socialDescription: string;
|
|
2828
|
-
/** @description The social image link */
|
|
2829
|
-
socialImageLink: string;
|
|
2830
|
-
};
|
|
2831
|
-
DynamicLinkInfo: {
|
|
2832
|
-
/** @description The domain URI prefix */
|
|
2833
|
-
domainUriPrefix: string;
|
|
2834
|
-
/** @description The link */
|
|
2835
|
-
link: string;
|
|
2836
|
-
/** @description Android specific information */
|
|
2837
|
-
androidInfo: components["schemas"]["AndroidInfo"];
|
|
2838
|
-
/** @description The social meta tag information */
|
|
2839
|
-
socialMetaTagInfo: components["schemas"]["SocialMetaTagInfo"];
|
|
2840
|
-
};
|
|
2841
|
-
/**
|
|
2842
|
-
* @description The option for the link suffix
|
|
2843
|
-
* @enum {string}
|
|
2844
|
-
*/
|
|
2845
|
-
LinkSuffixOption: LinkSuffixOption;
|
|
2846
|
-
Suffix: {
|
|
2847
|
-
/** @description The option for the link suffix */
|
|
2848
|
-
option: components["schemas"]["LinkSuffixOption"];
|
|
2849
|
-
};
|
|
2850
|
-
Payload: {
|
|
2851
|
-
/** @description Information about the dynamic link */
|
|
2852
|
-
dynamicLinkInfo: components["schemas"]["DynamicLinkInfo"];
|
|
2853
|
-
/** @description Suffix information */
|
|
2854
|
-
suffix: components["schemas"]["Suffix"];
|
|
2855
|
-
};
|
|
2856
|
-
CreateShortLinkDto: {
|
|
2857
|
-
/** @description The payload containing link information */
|
|
2858
|
-
payload: components["schemas"]["Payload"];
|
|
2859
|
-
/** @description The API key */
|
|
2860
|
-
apiKey: string;
|
|
2861
|
-
};
|
|
2862
|
-
ShortLinkDto: {
|
|
2863
|
-
shortLink: string;
|
|
2864
|
-
};
|
|
2865
2795
|
/** @enum {string} */
|
|
2866
2796
|
userRoleEnum: UserRoleEnum;
|
|
2867
2797
|
AdminUserStatsDto: {
|
|
@@ -2949,6 +2879,10 @@ export interface components {
|
|
|
2949
2879
|
cancelledAt: string | null;
|
|
2950
2880
|
cancellationReason: string | null;
|
|
2951
2881
|
isRecurring: boolean;
|
|
2882
|
+
/**
|
|
2883
|
+
* @deprecated
|
|
2884
|
+
* @description Dont use this field, generate link on frontend part.
|
|
2885
|
+
*/
|
|
2952
2886
|
link: string | null;
|
|
2953
2887
|
paymentTypes: components["schemas"]["paymentTypes"][];
|
|
2954
2888
|
gamePlayers: components["schemas"]["AdminGamePlayerDto"][];
|
|
@@ -3366,13 +3300,6 @@ export type GetUserNotificationsDto = components['schemas']['GetUserNotification
|
|
|
3366
3300
|
export type MarkNotificationsAsReadDto = components['schemas']['MarkNotificationsAsReadDto'];
|
|
3367
3301
|
export type RegisterDeviceNotificationTokenDto = components['schemas']['RegisterDeviceNotificationTokenDto'];
|
|
3368
3302
|
export type ArrivalDto = components['schemas']['ArrivalDto'];
|
|
3369
|
-
export type AndroidInfo = components['schemas']['AndroidInfo'];
|
|
3370
|
-
export type SocialMetaTagInfo = components['schemas']['SocialMetaTagInfo'];
|
|
3371
|
-
export type DynamicLinkInfo = components['schemas']['DynamicLinkInfo'];
|
|
3372
|
-
export type Suffix = components['schemas']['Suffix'];
|
|
3373
|
-
export type Payload = components['schemas']['Payload'];
|
|
3374
|
-
export type CreateShortLinkDto = components['schemas']['CreateShortLinkDto'];
|
|
3375
|
-
export type ShortLinkDto = components['schemas']['ShortLinkDto'];
|
|
3376
3303
|
export type AdminUserStatsDto = components['schemas']['AdminUserStatsDto'];
|
|
3377
3304
|
export type AdminUserDto = components['schemas']['AdminUserDto'];
|
|
3378
3305
|
export type GetAdminUsersDto = components['schemas']['GetAdminUsersDto'];
|
|
@@ -5288,45 +5215,6 @@ export interface operations {
|
|
|
5288
5215
|
};
|
|
5289
5216
|
};
|
|
5290
5217
|
};
|
|
5291
|
-
createShortLink: {
|
|
5292
|
-
parameters: {
|
|
5293
|
-
query?: never;
|
|
5294
|
-
header?: {
|
|
5295
|
-
/** @description Request trace id for logs */
|
|
5296
|
-
"x-trace-request-id"?: string;
|
|
5297
|
-
/** @description Session trace id for logs */
|
|
5298
|
-
"x-trace-session-id"?: string;
|
|
5299
|
-
/** @description IANA Timezone */
|
|
5300
|
-
"x-timezone"?: string;
|
|
5301
|
-
};
|
|
5302
|
-
path?: never;
|
|
5303
|
-
cookie?: never;
|
|
5304
|
-
};
|
|
5305
|
-
requestBody: {
|
|
5306
|
-
content: {
|
|
5307
|
-
"application/json": components["schemas"]["CreateShortLinkDto"];
|
|
5308
|
-
};
|
|
5309
|
-
};
|
|
5310
|
-
responses: {
|
|
5311
|
-
200: {
|
|
5312
|
-
headers: {
|
|
5313
|
-
[name: string]: unknown;
|
|
5314
|
-
};
|
|
5315
|
-
content: {
|
|
5316
|
-
"application/json": components["schemas"]["ShortLinkDto"];
|
|
5317
|
-
};
|
|
5318
|
-
};
|
|
5319
|
-
/** @description Application Error */
|
|
5320
|
-
500: {
|
|
5321
|
-
headers: {
|
|
5322
|
-
[name: string]: unknown;
|
|
5323
|
-
};
|
|
5324
|
-
content: {
|
|
5325
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
5326
|
-
};
|
|
5327
|
-
};
|
|
5328
|
-
};
|
|
5329
|
-
};
|
|
5330
5218
|
createRecurringGame: {
|
|
5331
5219
|
parameters: {
|
|
5332
5220
|
query?: never;
|
|
@@ -7703,9 +7591,6 @@ export declare enum ArrivalType {
|
|
|
7703
7591
|
hosted_game = "hosted-game",
|
|
7704
7592
|
player_game = "player-game"
|
|
7705
7593
|
}
|
|
7706
|
-
export declare enum LinkSuffixOption {
|
|
7707
|
-
SHORT = "SHORT"
|
|
7708
|
-
}
|
|
7709
7594
|
export declare enum UserRoleEnum {
|
|
7710
7595
|
USER = "USER",
|
|
7711
7596
|
ADMIN = "ADMIN"
|
|
@@ -7798,7 +7683,6 @@ export declare enum ApiPaths {
|
|
|
7798
7683
|
registerDeviceToken = "/user-notifications/config/register-device-token",
|
|
7799
7684
|
unregisterDeviceToken = "/user-notifications/config/unregister-device-token/{token}",
|
|
7800
7685
|
getArrival = "/arrival",
|
|
7801
|
-
createShortLink = "/short-link",
|
|
7802
7686
|
createRecurringGame = "/recurring-games",
|
|
7803
7687
|
getUsers = "/admin/users",
|
|
7804
7688
|
getUsersStats = "/admin/users/stats",
|
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.
|
|
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;
|
|
8
8
|
var KnownException;
|
|
9
9
|
(function (KnownException) {
|
|
10
10
|
KnownException["UserBanned"] = "UserBanned";
|
|
@@ -224,10 +224,6 @@ var ArrivalType;
|
|
|
224
224
|
ArrivalType["hosted_game"] = "hosted-game";
|
|
225
225
|
ArrivalType["player_game"] = "player-game";
|
|
226
226
|
})(ArrivalType || (exports.ArrivalType = ArrivalType = {}));
|
|
227
|
-
var LinkSuffixOption;
|
|
228
|
-
(function (LinkSuffixOption) {
|
|
229
|
-
LinkSuffixOption["SHORT"] = "SHORT";
|
|
230
|
-
})(LinkSuffixOption || (exports.LinkSuffixOption = LinkSuffixOption = {}));
|
|
231
227
|
var UserRoleEnum;
|
|
232
228
|
(function (UserRoleEnum) {
|
|
233
229
|
UserRoleEnum["USER"] = "USER";
|
|
@@ -327,7 +323,6 @@ var ApiPaths;
|
|
|
327
323
|
ApiPaths["registerDeviceToken"] = "/user-notifications/config/register-device-token";
|
|
328
324
|
ApiPaths["unregisterDeviceToken"] = "/user-notifications/config/unregister-device-token/{token}";
|
|
329
325
|
ApiPaths["getArrival"] = "/arrival";
|
|
330
|
-
ApiPaths["createShortLink"] = "/short-link";
|
|
331
326
|
ApiPaths["createRecurringGame"] = "/recurring-games";
|
|
332
327
|
ApiPaths["getUsers"] = "/admin/users";
|
|
333
328
|
ApiPaths["getUsersStats"] = "/admin/users/stats";
|