@orlikfy/api-interfaces 4.2.4 → 5.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.
Files changed (3) hide show
  1. package/dist/api.d.ts +100 -753
  2. package/dist/api.js +2 -13
  3. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -35,39 +35,6 @@ export interface paths {
35
35
  patch?: never;
36
36
  trace?: never;
37
37
  };
38
- "/error-uncaught": {
39
- parameters: {
40
- query?: never;
41
- header?: never;
42
- path?: never;
43
- cookie?: never;
44
- };
45
- get: operations["getErrorUncaught"];
46
- put?: never;
47
- post?: never;
48
- delete?: never;
49
- options?: never;
50
- head?: never;
51
- patch?: never;
52
- trace?: never;
53
- };
54
- "/users/user-registered-cloud-fn-callback": {
55
- parameters: {
56
- query?: never;
57
- header?: never;
58
- path?: never;
59
- cookie?: never;
60
- };
61
- get?: never;
62
- put?: never;
63
- /** postUserRegistration */
64
- post: operations["postUserRegistration"];
65
- delete?: never;
66
- options?: never;
67
- head?: never;
68
- patch?: never;
69
- trace?: never;
70
- };
71
38
  "/games/{gameId}": {
72
39
  parameters: {
73
40
  query?: never;
@@ -87,27 +54,6 @@ export interface paths {
87
54
  patch?: never;
88
55
  trace?: never;
89
56
  };
90
- "/nearby-games": {
91
- parameters: {
92
- query?: never;
93
- header?: never;
94
- path?: never;
95
- cookie?: never;
96
- };
97
- /**
98
- * getNearbyGamesByLocation
99
- * @deprecated
100
- * @description Use /location instead
101
- */
102
- get: operations["getNearbyGamesDeprecated"];
103
- put?: never;
104
- post?: never;
105
- delete?: never;
106
- options?: never;
107
- head?: never;
108
- patch?: never;
109
- trace?: never;
110
- };
111
57
  "/nearby-games/locations": {
112
58
  parameters: {
113
59
  query?: never;
@@ -432,23 +378,6 @@ export interface paths {
432
378
  patch: operations["updateNearbyGamesAlertEnabled"];
433
379
  trace?: never;
434
380
  };
435
- "/users/logout": {
436
- parameters: {
437
- query?: never;
438
- header?: never;
439
- path?: never;
440
- cookie?: never;
441
- };
442
- get?: never;
443
- put?: never;
444
- /** logoutUser */
445
- post: operations["logoutUser"];
446
- delete?: never;
447
- options?: never;
448
- head?: never;
449
- patch?: never;
450
- trace?: never;
451
- };
452
381
  "/users/referral": {
453
382
  parameters: {
454
383
  query?: never;
@@ -502,23 +431,6 @@ export interface paths {
502
431
  patch: operations["setMyLanguage"];
503
432
  trace?: never;
504
433
  };
505
- "/users/me/stats": {
506
- parameters: {
507
- query?: never;
508
- header?: never;
509
- path?: never;
510
- cookie?: never;
511
- };
512
- /** getMyUserStats */
513
- get: operations["getMyUserStats"];
514
- put?: never;
515
- post?: never;
516
- delete?: never;
517
- options?: never;
518
- head?: never;
519
- patch?: never;
520
- trace?: never;
521
- };
522
434
  "/user-meta/push-notification-enabled": {
523
435
  parameters: {
524
436
  query?: never;
@@ -860,26 +772,6 @@ export interface paths {
860
772
  patch?: never;
861
773
  trace?: never;
862
774
  };
863
- "/admin/restore-recurring-game": {
864
- parameters: {
865
- query?: never;
866
- header?: never;
867
- path?: never;
868
- cookie?: never;
869
- };
870
- get?: never;
871
- put?: never;
872
- /**
873
- * Restore abandoned recurring game
874
- * @description Creates a new scheduled task to restore an abandoned recurring game by scheduling the next occurrence
875
- */
876
- post: operations["restoreRecurringGame"];
877
- delete?: never;
878
- options?: never;
879
- head?: never;
880
- patch?: never;
881
- trace?: never;
882
- };
883
775
  "/admin/adhoc/remove-old-game-chats": {
884
776
  parameters: {
885
777
  query?: never;
@@ -948,61 +840,6 @@ export interface paths {
948
840
  patch?: never;
949
841
  trace?: never;
950
842
  };
951
- "/admin/games-for-post-public": {
952
- parameters: {
953
- query?: never;
954
- header?: never;
955
- path?: never;
956
- cookie?: never;
957
- };
958
- /** getGamesForPostPublic */
959
- get: operations["getGamesForPostPublic"];
960
- put?: never;
961
- post?: never;
962
- delete?: never;
963
- options?: never;
964
- head?: never;
965
- patch?: never;
966
- trace?: never;
967
- };
968
- "/admin/moderation/game/{gameId}": {
969
- parameters: {
970
- query?: never;
971
- header?: never;
972
- path: {
973
- gameId: string;
974
- };
975
- cookie?: never;
976
- };
977
- get?: never;
978
- put?: never;
979
- post?: never;
980
- /** cancelGameByAdmin */
981
- delete: operations["cancelGameByAdmin"];
982
- options?: never;
983
- head?: never;
984
- patch?: never;
985
- trace?: never;
986
- };
987
- "/admin/moderation/user/{userId}": {
988
- parameters: {
989
- query?: never;
990
- header?: never;
991
- path: {
992
- userId: string;
993
- };
994
- cookie?: never;
995
- };
996
- get?: never;
997
- put?: never;
998
- post?: never;
999
- /** deleteUserByAdmin */
1000
- delete: operations["deleteUserByAdmin"];
1001
- options?: never;
1002
- head?: never;
1003
- patch?: never;
1004
- trace?: never;
1005
- };
1006
843
  "/admin/test-notifications/action-push": {
1007
844
  parameters: {
1008
845
  query?: never;
@@ -1053,26 +890,6 @@ export interface paths {
1053
890
  delete?: never;
1054
891
  options?: never;
1055
892
  head?: never;
1056
- /** updateChannelDetails */
1057
- patch: operations["updateChannelDetails"];
1058
- trace?: never;
1059
- };
1060
- "/chat/channel/{channelId}/members": {
1061
- parameters: {
1062
- query?: never;
1063
- header?: never;
1064
- path: {
1065
- channelId: string;
1066
- };
1067
- cookie?: never;
1068
- };
1069
- /** getChannelMembers */
1070
- get: operations["getChannelMembers"];
1071
- put?: never;
1072
- post?: never;
1073
- delete?: never;
1074
- options?: never;
1075
- head?: never;
1076
893
  patch?: never;
1077
894
  trace?: never;
1078
895
  };
@@ -1163,6 +980,40 @@ export interface paths {
1163
980
  patch?: never;
1164
981
  trace?: never;
1165
982
  };
983
+ "/game-notifications/scheduled-notification": {
984
+ parameters: {
985
+ query?: never;
986
+ header?: never;
987
+ path?: never;
988
+ cookie?: never;
989
+ };
990
+ get?: never;
991
+ put?: never;
992
+ /** process scheduled notification */
993
+ post: operations["processScheduledNotification"];
994
+ delete?: never;
995
+ options?: never;
996
+ head?: never;
997
+ patch?: never;
998
+ trace?: never;
999
+ };
1000
+ "/rating/app": {
1001
+ parameters: {
1002
+ query?: never;
1003
+ header?: never;
1004
+ path?: never;
1005
+ cookie?: never;
1006
+ };
1007
+ get?: never;
1008
+ put?: never;
1009
+ /** create app rating by user */
1010
+ post: operations["createRating"];
1011
+ delete?: never;
1012
+ options?: never;
1013
+ head?: never;
1014
+ patch?: never;
1015
+ trace?: never;
1016
+ };
1166
1017
  "/games/{gameId}/player-applications": {
1167
1018
  parameters: {
1168
1019
  query?: never;
@@ -1353,40 +1204,6 @@ export interface paths {
1353
1204
  patch?: never;
1354
1205
  trace?: never;
1355
1206
  };
1356
- "/game-notifications/scheduled-notification": {
1357
- parameters: {
1358
- query?: never;
1359
- header?: never;
1360
- path?: never;
1361
- cookie?: never;
1362
- };
1363
- get?: never;
1364
- put?: never;
1365
- /** process scheduled notification */
1366
- post: operations["processScheduledNotification"];
1367
- delete?: never;
1368
- options?: never;
1369
- head?: never;
1370
- patch?: never;
1371
- trace?: never;
1372
- };
1373
- "/rating/app": {
1374
- parameters: {
1375
- query?: never;
1376
- header?: never;
1377
- path?: never;
1378
- cookie?: never;
1379
- };
1380
- get?: never;
1381
- put?: never;
1382
- /** create app rating by user */
1383
- post: operations["createRating"];
1384
- delete?: never;
1385
- options?: never;
1386
- head?: never;
1387
- patch?: never;
1388
- trace?: never;
1389
- };
1390
1207
  "/contact/message": {
1391
1208
  parameters: {
1392
1209
  query?: never;
@@ -1728,13 +1545,6 @@ export interface components {
1728
1545
  context: string;
1729
1546
  contextDetails: string;
1730
1547
  };
1731
- UserRegisteredPayloadDto: {
1732
- uid: string;
1733
- email?: string;
1734
- displayName?: string;
1735
- phoneNumber?: string;
1736
- photoURL?: string;
1737
- };
1738
1548
  /** @enum {string} */
1739
1549
  visibility: Visibility;
1740
1550
  HostRatingDto: {
@@ -2059,12 +1869,6 @@ export interface components {
2059
1869
  UpdateNearbyGamesEnabledDto: {
2060
1870
  isEnabled: boolean;
2061
1871
  };
2062
- LogoutResponseDto: {
2063
- /** @description Logout success status */
2064
- success: boolean;
2065
- /** @description Logout message */
2066
- message: string;
2067
- };
2068
1872
  PostMyUserReferralDto: {
2069
1873
  /** @description Referral user id */
2070
1874
  referralId: string | null;
@@ -2111,11 +1915,6 @@ export interface components {
2111
1915
  SetLanguageDto: {
2112
1916
  language: components["schemas"]["AppLanguage"];
2113
1917
  };
2114
- UserStatsDto: {
2115
- userId: string;
2116
- playedGames: number;
2117
- hostedGames: number;
2118
- };
2119
1918
  UpsertUserMetaBooleanDto: {
2120
1919
  value: boolean;
2121
1920
  };
@@ -2993,21 +2792,6 @@ export interface components {
2993
2792
  GetKnownCitiesForPostDto: {
2994
2793
  knownCities: string[];
2995
2794
  };
2996
- RestoreRecurringGameDto: {
2997
- /**
2998
- * @description ID of the abandoned recurring game to restore
2999
- * @example 123e4567-e89b-12d3-a456-426614174000
3000
- */
3001
- gameId: string;
3002
- };
3003
- RestoreRecurringGameResponseDto: {
3004
- /** @description Success status */
3005
- success: boolean;
3006
- /** @description Message describing the result */
3007
- message: string;
3008
- /** @description ID of the scheduled task created for restoration */
3009
- scheduledTaskId?: string;
3010
- };
3011
2795
  PostCustomNotificationDto: {
3012
2796
  userIds: string[] | null;
3013
2797
  test: boolean;
@@ -3047,21 +2831,9 @@ export interface components {
3047
2831
  secondUserId: string | null;
3048
2832
  teamId: string | null;
3049
2833
  };
3050
- ChannelMemberDto: {
3051
- userId: string;
3052
- displayName: string;
3053
- thumbnail: string | null;
3054
- role: string;
3055
- };
3056
- GetChannelMembersDto: {
3057
- members: components["schemas"]["ChannelMemberDto"][];
3058
- };
3059
2834
  SetChannelMutedDto: {
3060
2835
  isMuted: boolean;
3061
2836
  };
3062
- UpdateChannelDetailsDto: {
3063
- name: string;
3064
- };
3065
2837
  GetMyChatUserDto: {
3066
2838
  chatUserExternalId: string;
3067
2839
  token: string | null;
@@ -3081,6 +2853,17 @@ export interface components {
3081
2853
  channelExternalId: string;
3082
2854
  member: components["schemas"]["SingleChannelMemberDto"];
3083
2855
  };
2856
+ CreateAppRatingDto: {
2857
+ /**
2858
+ * @deprecated
2859
+ * @description Use appRate
2860
+ */
2861
+ rating?: Record<string, never> | null;
2862
+ appRate?: number | null;
2863
+ hostRate?: number | null;
2864
+ comment: string;
2865
+ gameId: string;
2866
+ };
3084
2867
  CreatedGamePlayerApplicationDto: {
3085
2868
  gamePlayerApplicationId: string;
3086
2869
  autoApproved: boolean;
@@ -3147,17 +2930,6 @@ export interface components {
3147
2930
  UpdateTeamMemberDto: {
3148
2931
  isAutoApproved: boolean;
3149
2932
  };
3150
- CreateAppRatingDto: {
3151
- /**
3152
- * @deprecated
3153
- * @description Use appRate
3154
- */
3155
- rating?: Record<string, never> | null;
3156
- appRate?: number | null;
3157
- hostRate?: number | null;
3158
- comment: string;
3159
- gameId: string;
3160
- };
3161
2933
  CreateContactMessageDto: {
3162
2934
  message: string;
3163
2935
  };
@@ -3267,7 +3039,6 @@ export interface components {
3267
3039
  }
3268
3040
  export type MessageForClient = components['schemas']['MessageForClient'];
3269
3041
  export type ErrorResponse = components['schemas']['ErrorResponse'];
3270
- export type UserRegisteredPayloadDto = components['schemas']['UserRegisteredPayloadDto'];
3271
3042
  export type HostRatingDto = components['schemas']['HostRatingDto'];
3272
3043
  export type GameDetailsHostDto = components['schemas']['GameDetailsHostDto'];
3273
3044
  export type CoordinatesDto = components['schemas']['CoordinatesDto'];
@@ -3302,12 +3073,10 @@ export type CreateNearbyGamesAlertDto = components['schemas']['CreateNearbyGames
3302
3073
  export type GetNearbyGamesAlertDto = components['schemas']['GetNearbyGamesAlertDto'];
3303
3074
  export type UpdateNearbyGamesAlertLocationDto = components['schemas']['UpdateNearbyGamesAlertLocationDto'];
3304
3075
  export type UpdateNearbyGamesEnabledDto = components['schemas']['UpdateNearbyGamesEnabledDto'];
3305
- export type LogoutResponseDto = components['schemas']['LogoutResponseDto'];
3306
3076
  export type PostMyUserReferralDto = components['schemas']['PostMyUserReferralDto'];
3307
3077
  export type MyUserDto = components['schemas']['MyUserDto'];
3308
3078
  export type UpdatePartialUserDto = components['schemas']['UpdatePartialUserDto'];
3309
3079
  export type SetLanguageDto = components['schemas']['SetLanguageDto'];
3310
- export type UserStatsDto = components['schemas']['UserStatsDto'];
3311
3080
  export type UpsertUserMetaBooleanDto = components['schemas']['UpsertUserMetaBooleanDto'];
3312
3081
  export type CreateHostedGameDto = components['schemas']['CreateHostedGameDto'];
3313
3082
  export type HostedGameDtoLocation = components['schemas']['HostedGameDtoLocation'];
@@ -3390,20 +3159,16 @@ export type GamesByLocation = components['schemas']['GamesByLocation'];
3390
3159
  export type GetAdminGamesForPostDto = components['schemas']['GetAdminGamesForPostDto'];
3391
3160
  export type GetAdminGamesStatsDto = components['schemas']['GetAdminGamesStatsDto'];
3392
3161
  export type GetKnownCitiesForPostDto = components['schemas']['GetKnownCitiesForPostDto'];
3393
- export type RestoreRecurringGameDto = components['schemas']['RestoreRecurringGameDto'];
3394
- export type RestoreRecurringGameResponseDto = components['schemas']['RestoreRecurringGameResponseDto'];
3395
3162
  export type PostCustomNotificationDto = components['schemas']['PostCustomNotificationDto'];
3396
3163
  export type TestActionNotificationDto = components['schemas']['TestActionNotificationDto'];
3397
3164
  export type ChannelGameDto = components['schemas']['ChannelGameDto'];
3398
3165
  export type GetChannelDetailsDto = components['schemas']['GetChannelDetailsDto'];
3399
- export type ChannelMemberDto = components['schemas']['ChannelMemberDto'];
3400
- export type GetChannelMembersDto = components['schemas']['GetChannelMembersDto'];
3401
3166
  export type SetChannelMutedDto = components['schemas']['SetChannelMutedDto'];
3402
- export type UpdateChannelDetailsDto = components['schemas']['UpdateChannelDetailsDto'];
3403
3167
  export type GetMyChatUserDto = components['schemas']['GetMyChatUserDto'];
3404
3168
  export type CreateOrGetSingleChannelDto = components['schemas']['CreateOrGetSingleChannelDto'];
3405
3169
  export type SingleChannelMemberDto = components['schemas']['SingleChannelMemberDto'];
3406
3170
  export type SingleChannelDto = components['schemas']['SingleChannelDto'];
3171
+ export type CreateAppRatingDto = components['schemas']['CreateAppRatingDto'];
3407
3172
  export type CreatedGamePlayerApplicationDto = components['schemas']['CreatedGamePlayerApplicationDto'];
3408
3173
  export type RejectManyGamePlayerApplicationsDto = components['schemas']['RejectManyGamePlayerApplicationsDto'];
3409
3174
  export type ApproveManyGamePlayerApplicationsDto = components['schemas']['ApproveManyGamePlayerApplicationsDto'];
@@ -3419,7 +3184,6 @@ export type TeamMemberCandidateDto = components['schemas']['TeamMemberCandidateD
3419
3184
  export type GetTeamMemberCandidatesDto = components['schemas']['GetTeamMemberCandidatesDto'];
3420
3185
  export type CreateTeamMembersDto = components['schemas']['CreateTeamMembersDto'];
3421
3186
  export type UpdateTeamMemberDto = components['schemas']['UpdateTeamMemberDto'];
3422
- export type CreateAppRatingDto = components['schemas']['CreateAppRatingDto'];
3423
3187
  export type CreateContactMessageDto = components['schemas']['CreateContactMessageDto'];
3424
3188
  export type UserProfileStatsDto = components['schemas']['UserProfileStatsDto'];
3425
3189
  export type UserProfileDto = components['schemas']['UserProfileDto'];
@@ -3505,76 +3269,6 @@ export interface operations {
3505
3269
  };
3506
3270
  };
3507
3271
  };
3508
- getErrorUncaught: {
3509
- parameters: {
3510
- query?: never;
3511
- header?: {
3512
- /** @description Request trace id for logs */
3513
- "x-trace-request-id"?: string;
3514
- /** @description Session trace id for logs */
3515
- "x-trace-session-id"?: string;
3516
- /** @description IANA Timezone */
3517
- "x-timezone"?: string;
3518
- };
3519
- path?: never;
3520
- cookie?: never;
3521
- };
3522
- requestBody?: never;
3523
- responses: {
3524
- 200: {
3525
- headers: {
3526
- [name: string]: unknown;
3527
- };
3528
- content?: never;
3529
- };
3530
- /** @description Application Error */
3531
- 500: {
3532
- headers: {
3533
- [name: string]: unknown;
3534
- };
3535
- content: {
3536
- "application/json": components["schemas"]["ErrorResponse"];
3537
- };
3538
- };
3539
- };
3540
- };
3541
- postUserRegistration: {
3542
- parameters: {
3543
- query?: never;
3544
- header?: {
3545
- /** @description Request trace id for logs */
3546
- "x-trace-request-id"?: string;
3547
- /** @description Session trace id for logs */
3548
- "x-trace-session-id"?: string;
3549
- /** @description IANA Timezone */
3550
- "x-timezone"?: string;
3551
- };
3552
- path?: never;
3553
- cookie?: never;
3554
- };
3555
- requestBody: {
3556
- content: {
3557
- "application/json": components["schemas"]["UserRegisteredPayloadDto"];
3558
- };
3559
- };
3560
- responses: {
3561
- 201: {
3562
- headers: {
3563
- [name: string]: unknown;
3564
- };
3565
- content?: never;
3566
- };
3567
- /** @description Application Error */
3568
- 500: {
3569
- headers: {
3570
- [name: string]: unknown;
3571
- };
3572
- content: {
3573
- "application/json": components["schemas"]["ErrorResponse"];
3574
- };
3575
- };
3576
- };
3577
- };
3578
3272
  getGameById: {
3579
3273
  parameters: {
3580
3274
  query?: never;
@@ -3612,49 +3306,6 @@ export interface operations {
3612
3306
  };
3613
3307
  };
3614
3308
  };
3615
- getNearbyGamesDeprecated: {
3616
- parameters: {
3617
- query?: {
3618
- longitude?: string;
3619
- latitude?: string;
3620
- maxDistanceMeters?: string;
3621
- gameLevel?: components["schemas"]["gameLevelEnum"][];
3622
- locationType?: components["schemas"]["AppGameLocationType"][];
3623
- specificDate?: string;
3624
- /** @description Show private games, available only for admins. */
3625
- showPrivate?: string;
3626
- };
3627
- header: {
3628
- "x-timezone": string;
3629
- /** @description Request trace id for logs */
3630
- "x-trace-request-id"?: string;
3631
- /** @description Session trace id for logs */
3632
- "x-trace-session-id"?: string;
3633
- };
3634
- path?: never;
3635
- cookie?: never;
3636
- };
3637
- requestBody?: never;
3638
- responses: {
3639
- 200: {
3640
- headers: {
3641
- [name: string]: unknown;
3642
- };
3643
- content: {
3644
- "application/json": components["schemas"]["NearbyGamesByLocationDto"];
3645
- };
3646
- };
3647
- /** @description Application Error */
3648
- 500: {
3649
- headers: {
3650
- [name: string]: unknown;
3651
- };
3652
- content: {
3653
- "application/json": components["schemas"]["ErrorResponse"];
3654
- };
3655
- };
3656
- };
3657
- };
3658
3309
  getNearbyGamesByLocation: {
3659
3310
  parameters: {
3660
3311
  query?: {
@@ -4467,42 +4118,6 @@ export interface operations {
4467
4118
  };
4468
4119
  };
4469
4120
  };
4470
- logoutUser: {
4471
- parameters: {
4472
- query?: never;
4473
- header: {
4474
- Authorization: string;
4475
- /** @description Request trace id for logs */
4476
- "x-trace-request-id"?: string;
4477
- /** @description Session trace id for logs */
4478
- "x-trace-session-id"?: string;
4479
- /** @description IANA Timezone */
4480
- "x-timezone"?: string;
4481
- };
4482
- path?: never;
4483
- cookie?: never;
4484
- };
4485
- requestBody?: never;
4486
- responses: {
4487
- 200: {
4488
- headers: {
4489
- [name: string]: unknown;
4490
- };
4491
- content: {
4492
- "application/json": components["schemas"]["LogoutResponseDto"];
4493
- };
4494
- };
4495
- /** @description Application Error */
4496
- 500: {
4497
- headers: {
4498
- [name: string]: unknown;
4499
- };
4500
- content: {
4501
- "application/json": components["schemas"]["ErrorResponse"];
4502
- };
4503
- };
4504
- };
4505
- };
4506
4121
  postMyUserReferral: {
4507
4122
  parameters: {
4508
4123
  query?: never;
@@ -4688,41 +4303,6 @@ export interface operations {
4688
4303
  };
4689
4304
  };
4690
4305
  };
4691
- getMyUserStats: {
4692
- parameters: {
4693
- query?: never;
4694
- header?: {
4695
- /** @description Request trace id for logs */
4696
- "x-trace-request-id"?: string;
4697
- /** @description Session trace id for logs */
4698
- "x-trace-session-id"?: string;
4699
- /** @description IANA Timezone */
4700
- "x-timezone"?: string;
4701
- };
4702
- path?: never;
4703
- cookie?: never;
4704
- };
4705
- requestBody?: never;
4706
- responses: {
4707
- 200: {
4708
- headers: {
4709
- [name: string]: unknown;
4710
- };
4711
- content: {
4712
- "application/json": components["schemas"]["UserStatsDto"];
4713
- };
4714
- };
4715
- /** @description Application Error */
4716
- 500: {
4717
- headers: {
4718
- [name: string]: unknown;
4719
- };
4720
- content: {
4721
- "application/json": components["schemas"]["ErrorResponse"];
4722
- };
4723
- };
4724
- };
4725
- };
4726
4306
  upsertUserMetaPushNotificationEnabledValue: {
4727
4307
  parameters: {
4728
4308
  query?: never;
@@ -5604,45 +5184,6 @@ export interface operations {
5604
5184
  };
5605
5185
  };
5606
5186
  };
5607
- restoreRecurringGame: {
5608
- parameters: {
5609
- query?: never;
5610
- header?: {
5611
- /** @description Request trace id for logs */
5612
- "x-trace-request-id"?: string;
5613
- /** @description Session trace id for logs */
5614
- "x-trace-session-id"?: string;
5615
- /** @description IANA Timezone */
5616
- "x-timezone"?: string;
5617
- };
5618
- path?: never;
5619
- cookie?: never;
5620
- };
5621
- requestBody: {
5622
- content: {
5623
- "application/json": components["schemas"]["RestoreRecurringGameDto"];
5624
- };
5625
- };
5626
- responses: {
5627
- 200: {
5628
- headers: {
5629
- [name: string]: unknown;
5630
- };
5631
- content: {
5632
- "application/json": components["schemas"]["RestoreRecurringGameResponseDto"];
5633
- };
5634
- };
5635
- /** @description Application Error */
5636
- 500: {
5637
- headers: {
5638
- [name: string]: unknown;
5639
- };
5640
- content: {
5641
- "application/json": components["schemas"]["ErrorResponse"];
5642
- };
5643
- };
5644
- };
5645
- };
5646
5187
  removeOldGameChats: {
5647
5188
  parameters: {
5648
5189
  query?: {
@@ -5788,113 +5329,6 @@ export interface operations {
5788
5329
  };
5789
5330
  };
5790
5331
  };
5791
- getGamesForPostPublic: {
5792
- parameters: {
5793
- query?: {
5794
- /** @description City name to filter games by. Possible values: */
5795
- city?: string;
5796
- /** @description It overrides default for city */
5797
- radiusInKM?: string;
5798
- /** @description Default true. If false, only games with free slots will be returned */
5799
- returnFullGames?: unknown;
5800
- /** @description Default 3. Games will be fetched from gameStartDaysOffset to gameStartDaysOffset+gameEndDaysOffset */
5801
- gameEndDaysOffset?: unknown;
5802
- };
5803
- header?: {
5804
- /** @description Request trace id for logs */
5805
- "x-trace-request-id"?: string;
5806
- /** @description Session trace id for logs */
5807
- "x-trace-session-id"?: string;
5808
- /** @description IANA Timezone */
5809
- "x-timezone"?: string;
5810
- };
5811
- path?: never;
5812
- cookie?: never;
5813
- };
5814
- requestBody?: never;
5815
- responses: {
5816
- 200: {
5817
- headers: {
5818
- [name: string]: unknown;
5819
- };
5820
- content: {
5821
- "application/json": components["schemas"]["GetAdminGamesForPostDto"];
5822
- };
5823
- };
5824
- /** @description Application Error */
5825
- 500: {
5826
- headers: {
5827
- [name: string]: unknown;
5828
- };
5829
- content: {
5830
- "application/json": components["schemas"]["ErrorResponse"];
5831
- };
5832
- };
5833
- };
5834
- };
5835
- cancelGameByAdmin: {
5836
- parameters: {
5837
- query?: {
5838
- cancellationReason?: string;
5839
- };
5840
- header?: {
5841
- /** @description Request trace id for logs */
5842
- "x-trace-request-id"?: string;
5843
- /** @description Session trace id for logs */
5844
- "x-trace-session-id"?: string;
5845
- /** @description IANA Timezone */
5846
- "x-timezone"?: string;
5847
- };
5848
- path: {
5849
- gameId: string;
5850
- };
5851
- cookie?: never;
5852
- };
5853
- requestBody?: never;
5854
- responses: {
5855
- 200: {
5856
- headers: {
5857
- [name: string]: unknown;
5858
- };
5859
- content?: never;
5860
- };
5861
- /** @description Application Error */
5862
- 500: {
5863
- headers: {
5864
- [name: string]: unknown;
5865
- };
5866
- content: {
5867
- "application/json": components["schemas"]["ErrorResponse"];
5868
- };
5869
- };
5870
- };
5871
- };
5872
- deleteUserByAdmin: {
5873
- parameters: {
5874
- query?: never;
5875
- header?: {
5876
- /** @description Request trace id for logs */
5877
- "x-trace-request-id"?: string;
5878
- /** @description Session trace id for logs */
5879
- "x-trace-session-id"?: string;
5880
- /** @description IANA Timezone */
5881
- "x-timezone"?: string;
5882
- };
5883
- path: {
5884
- userId: string;
5885
- };
5886
- cookie?: never;
5887
- };
5888
- requestBody?: never;
5889
- responses: {
5890
- 200: {
5891
- headers: {
5892
- [name: string]: unknown;
5893
- };
5894
- content?: never;
5895
- };
5896
- };
5897
- };
5898
5332
  testActionNotification: {
5899
5333
  parameters: {
5900
5334
  query?: never;
@@ -6009,7 +5443,7 @@ export interface operations {
6009
5443
  };
6010
5444
  };
6011
5445
  };
6012
- updateChannelDetails: {
5446
+ muteChannel: {
6013
5447
  parameters: {
6014
5448
  query?: never;
6015
5449
  header?: {
@@ -6027,7 +5461,7 @@ export interface operations {
6027
5461
  };
6028
5462
  requestBody: {
6029
5463
  content: {
6030
- "application/json": components["schemas"]["UpdateChannelDetailsDto"];
5464
+ "application/json": components["schemas"]["SetChannelMutedDto"];
6031
5465
  };
6032
5466
  };
6033
5467
  responses: {
@@ -6048,7 +5482,7 @@ export interface operations {
6048
5482
  };
6049
5483
  };
6050
5484
  };
6051
- getChannelMembers: {
5485
+ getMyChatUser: {
6052
5486
  parameters: {
6053
5487
  query?: never;
6054
5488
  header?: {
@@ -6059,9 +5493,7 @@ export interface operations {
6059
5493
  /** @description IANA Timezone */
6060
5494
  "x-timezone"?: string;
6061
5495
  };
6062
- path: {
6063
- channelId: string;
6064
- };
5496
+ path?: never;
6065
5497
  cookie?: never;
6066
5498
  };
6067
5499
  requestBody?: never;
@@ -6071,7 +5503,7 @@ export interface operations {
6071
5503
  [name: string]: unknown;
6072
5504
  };
6073
5505
  content: {
6074
- "application/json": components["schemas"]["GetChannelMembersDto"];
5506
+ "application/json": components["schemas"]["GetMyChatUserDto"];
6075
5507
  };
6076
5508
  };
6077
5509
  /** @description Application Error */
@@ -6085,7 +5517,7 @@ export interface operations {
6085
5517
  };
6086
5518
  };
6087
5519
  };
6088
- muteChannel: {
5520
+ postChatWebook: {
6089
5521
  parameters: {
6090
5522
  query?: never;
6091
5523
  header?: {
@@ -6096,18 +5528,12 @@ export interface operations {
6096
5528
  /** @description IANA Timezone */
6097
5529
  "x-timezone"?: string;
6098
5530
  };
6099
- path: {
6100
- channelId: string;
6101
- };
5531
+ path?: never;
6102
5532
  cookie?: never;
6103
5533
  };
6104
- requestBody: {
6105
- content: {
6106
- "application/json": components["schemas"]["SetChannelMutedDto"];
6107
- };
6108
- };
5534
+ requestBody?: never;
6109
5535
  responses: {
6110
- 200: {
5536
+ 201: {
6111
5537
  headers: {
6112
5538
  [name: string]: unknown;
6113
5539
  };
@@ -6124,7 +5550,7 @@ export interface operations {
6124
5550
  };
6125
5551
  };
6126
5552
  };
6127
- getMyChatUser: {
5553
+ createOrGetSingleChannel: {
6128
5554
  parameters: {
6129
5555
  query?: never;
6130
5556
  header?: {
@@ -6138,30 +5564,37 @@ export interface operations {
6138
5564
  path?: never;
6139
5565
  cookie?: never;
6140
5566
  };
6141
- requestBody?: never;
5567
+ requestBody: {
5568
+ content: {
5569
+ "application/json": components["schemas"]["CreateOrGetSingleChannelDto"];
5570
+ };
5571
+ };
6142
5572
  responses: {
6143
- 200: {
5573
+ /** @description Application Error */
5574
+ 500: {
6144
5575
  headers: {
6145
5576
  [name: string]: unknown;
6146
5577
  };
6147
5578
  content: {
6148
- "application/json": components["schemas"]["GetMyChatUserDto"];
5579
+ "application/json": components["schemas"]["ErrorResponse"];
6149
5580
  };
6150
5581
  };
6151
- /** @description Application Error */
6152
- 500: {
5582
+ default: {
6153
5583
  headers: {
6154
5584
  [name: string]: unknown;
6155
5585
  };
6156
5586
  content: {
6157
- "application/json": components["schemas"]["ErrorResponse"];
5587
+ "application/json": components["schemas"]["SingleChannelDto"];
6158
5588
  };
6159
5589
  };
6160
5590
  };
6161
5591
  };
6162
- postChatWebook: {
5592
+ cleanupUnreadMessages: {
6163
5593
  parameters: {
6164
- query?: never;
5594
+ query: {
5595
+ "api-key": string;
5596
+ remove?: string;
5597
+ };
6165
5598
  header?: {
6166
5599
  /** @description Request trace id for logs */
6167
5600
  "x-trace-request-id"?: string;
@@ -6181,21 +5614,13 @@ export interface operations {
6181
5614
  };
6182
5615
  content?: never;
6183
5616
  };
6184
- /** @description Application Error */
6185
- 500: {
6186
- headers: {
6187
- [name: string]: unknown;
6188
- };
6189
- content: {
6190
- "application/json": components["schemas"]["ErrorResponse"];
6191
- };
6192
- };
6193
5617
  };
6194
5618
  };
6195
- createOrGetSingleChannel: {
5619
+ processScheduledNotification: {
6196
5620
  parameters: {
6197
5621
  query?: never;
6198
- header?: {
5622
+ header: {
5623
+ "x-api-key": string;
6199
5624
  /** @description Request trace id for logs */
6200
5625
  "x-trace-request-id"?: string;
6201
5626
  /** @description Session trace id for logs */
@@ -6206,37 +5631,28 @@ export interface operations {
6206
5631
  path?: never;
6207
5632
  cookie?: never;
6208
5633
  };
6209
- requestBody: {
6210
- content: {
6211
- "application/json": components["schemas"]["CreateOrGetSingleChannelDto"];
6212
- };
6213
- };
5634
+ requestBody?: never;
6214
5635
  responses: {
6215
- /** @description Application Error */
6216
- 500: {
5636
+ 201: {
6217
5637
  headers: {
6218
5638
  [name: string]: unknown;
6219
5639
  };
6220
- content: {
6221
- "application/json": components["schemas"]["ErrorResponse"];
6222
- };
5640
+ content?: never;
6223
5641
  };
6224
- default: {
5642
+ /** @description Application Error */
5643
+ 500: {
6225
5644
  headers: {
6226
5645
  [name: string]: unknown;
6227
5646
  };
6228
5647
  content: {
6229
- "application/json": components["schemas"]["SingleChannelDto"];
5648
+ "application/json": components["schemas"]["ErrorResponse"];
6230
5649
  };
6231
5650
  };
6232
5651
  };
6233
5652
  };
6234
- cleanupUnreadMessages: {
5653
+ createRating: {
6235
5654
  parameters: {
6236
- query: {
6237
- "api-key": string;
6238
- remove?: string;
6239
- };
5655
+ query?: never;
6240
5656
  header?: {
6241
5657
  /** @description Request trace id for logs */
6242
5658
  "x-trace-request-id"?: string;
@@ -6248,14 +5664,28 @@ export interface operations {
6248
5664
  path?: never;
6249
5665
  cookie?: never;
6250
5666
  };
6251
- requestBody?: never;
5667
+ requestBody: {
5668
+ content: {
5669
+ "application/json": components["schemas"]["CreateAppRatingDto"];
5670
+ };
5671
+ };
6252
5672
  responses: {
6253
- 201: {
5673
+ /** @description CannotCreateRatingAlreadyExists */
5674
+ 400: {
6254
5675
  headers: {
6255
5676
  [name: string]: unknown;
6256
5677
  };
6257
5678
  content?: never;
6258
5679
  };
5680
+ /** @description Application Error */
5681
+ 500: {
5682
+ headers: {
5683
+ [name: string]: unknown;
5684
+ };
5685
+ content: {
5686
+ "application/json": components["schemas"]["ErrorResponse"];
5687
+ };
5688
+ };
6259
5689
  };
6260
5690
  };
6261
5691
  postGameApplication: {
@@ -6826,78 +6256,6 @@ export interface operations {
6826
6256
  };
6827
6257
  };
6828
6258
  };
6829
- processScheduledNotification: {
6830
- parameters: {
6831
- query?: never;
6832
- header: {
6833
- "x-api-key": string;
6834
- /** @description Request trace id for logs */
6835
- "x-trace-request-id"?: string;
6836
- /** @description Session trace id for logs */
6837
- "x-trace-session-id"?: string;
6838
- /** @description IANA Timezone */
6839
- "x-timezone"?: string;
6840
- };
6841
- path?: never;
6842
- cookie?: never;
6843
- };
6844
- requestBody?: never;
6845
- responses: {
6846
- 201: {
6847
- headers: {
6848
- [name: string]: unknown;
6849
- };
6850
- content?: never;
6851
- };
6852
- /** @description Application Error */
6853
- 500: {
6854
- headers: {
6855
- [name: string]: unknown;
6856
- };
6857
- content: {
6858
- "application/json": components["schemas"]["ErrorResponse"];
6859
- };
6860
- };
6861
- };
6862
- };
6863
- createRating: {
6864
- parameters: {
6865
- query?: never;
6866
- header?: {
6867
- /** @description Request trace id for logs */
6868
- "x-trace-request-id"?: string;
6869
- /** @description Session trace id for logs */
6870
- "x-trace-session-id"?: string;
6871
- /** @description IANA Timezone */
6872
- "x-timezone"?: string;
6873
- };
6874
- path?: never;
6875
- cookie?: never;
6876
- };
6877
- requestBody: {
6878
- content: {
6879
- "application/json": components["schemas"]["CreateAppRatingDto"];
6880
- };
6881
- };
6882
- responses: {
6883
- /** @description CannotCreateRatingAlreadyExists */
6884
- 400: {
6885
- headers: {
6886
- [name: string]: unknown;
6887
- };
6888
- content?: never;
6889
- };
6890
- /** @description Application Error */
6891
- 500: {
6892
- headers: {
6893
- [name: string]: unknown;
6894
- };
6895
- content: {
6896
- "application/json": components["schemas"]["ErrorResponse"];
6897
- };
6898
- };
6899
- };
6900
- };
6901
6259
  createContactMessage: {
6902
6260
  parameters: {
6903
6261
  query?: never;
@@ -7750,10 +7108,7 @@ export declare enum AppTrophyType {
7750
7108
  export declare enum ApiPaths {
7751
7109
  getHello = "/hello",
7752
7110
  getError = "/error",
7753
- getErrorUncaught = "/error-uncaught",
7754
- postUserRegistration = "/users/user-registered-cloud-fn-callback",
7755
7111
  getGameById = "/games/{gameId}",
7756
- getNearbyGamesDeprecated = "/nearby-games",
7757
7112
  getNearbyGamesByLocation = "/nearby-games/locations",
7758
7113
  getNearbyGamesList = "/nearby-games/list",
7759
7114
  getLocationGames = "/location/{locationId}/games",
@@ -7775,13 +7130,11 @@ export declare enum ApiPaths {
7775
7130
  getUserNearbyGamesAlert = "/nearby-games/alerts",
7776
7131
  updateNearbyGamesAlertLocation = "/nearby-games/alerts/location",
7777
7132
  updateNearbyGamesAlertEnabled = "/nearby-games/alerts/enabled",
7778
- logoutUser = "/users/logout",
7779
7133
  postMyUserReferral = "/users/referral",
7780
7134
  getMyUser = "/users/me",
7781
7135
  updateMyUserPartial = "/users/me",
7782
7136
  deleteMyUser = "/users/me",
7783
7137
  setMyLanguage = "/users/me/language",
7784
- getMyUserStats = "/users/me/stats",
7785
7138
  upsertUserMetaPushNotificationEnabledValue = "/user-meta/push-notification-enabled",
7786
7139
  createHostedGame = "/hosted-games",
7787
7140
  updateHostedGame = "/hosted-games/{hostedGameId}",
@@ -7806,24 +7159,20 @@ export declare enum ApiPaths {
7806
7159
  getGamesForPost = "/admin/games-for-post",
7807
7160
  getGamesStats = "/admin/games/stats",
7808
7161
  getKnownCitiesForPost = "/admin/known-cities",
7809
- restoreRecurringGame = "/admin/restore-recurring-game",
7810
7162
  removeOldGameChats = "/admin/adhoc/remove-old-game-chats",
7811
7163
  emitGameUpdated = "/admin/adhoc/emit-game-updated",
7812
7164
  postCustomNotification = "/admin/notifications/custom",
7813
7165
  postCustomNotificationByAutomation = "/admin/automations/notifications/custom",
7814
- getGamesForPostPublic = "/admin/games-for-post-public",
7815
- cancelGameByAdmin = "/admin/moderation/game/{gameId}",
7816
- deleteUserByAdmin = "/admin/moderation/user/{userId}",
7817
7166
  testActionNotification = "/admin/test-notifications/action-push",
7818
7167
  getChannelByReference = "/chat/channel/get-by-reference",
7819
7168
  getChannelDetails = "/chat/channel/{channelId}",
7820
- updateChannelDetails = "/chat/channel/{channelId}",
7821
- getChannelMembers = "/chat/channel/{channelId}/members",
7822
7169
  muteChannel = "/chat/channel/{channelId}/muted",
7823
7170
  getMyChatUser = "/chat/user/me",
7824
7171
  postChatWebook = "/chat/webhook",
7825
7172
  createOrGetSingleChannel = "/chat/channel/single",
7826
7173
  cleanupUnreadMessages = "/chat-maintenance/cleanup-unread-messages",
7174
+ processScheduledNotification = "/game-notifications/scheduled-notification",
7175
+ createRating = "/rating/app",
7827
7176
  postGameApplication = "/games/{gameId}/player-applications",
7828
7177
  deleteGameApplication = "/games/{gameId}/player-applications",
7829
7178
  rejectHostedGameApplications = "/hosted-games/{hostedGameId}/applications/reject-many",
@@ -7839,8 +7188,6 @@ export declare enum ApiPaths {
7839
7188
  removeTeamMember = "/teams/{teamId}/members/{userId}",
7840
7189
  leave = "/teams/{teamId}/member/me",
7841
7190
  acceptTeamInvitation = "/teams/{teamId}/invitations/accept",
7842
- processScheduledNotification = "/game-notifications/scheduled-notification",
7843
- createRating = "/rating/app",
7844
7191
  createContactMessage = "/contact/message",
7845
7192
  triggerNotificationsForGameFinished = "/game-notifications/game-finished",
7846
7193
  triggerNotificationsForGameReminder = "/game-notifications/game-reminder",
package/dist/api.js CHANGED
@@ -279,10 +279,7 @@ var ApiPaths;
279
279
  (function (ApiPaths) {
280
280
  ApiPaths["getHello"] = "/hello";
281
281
  ApiPaths["getError"] = "/error";
282
- ApiPaths["getErrorUncaught"] = "/error-uncaught";
283
- ApiPaths["postUserRegistration"] = "/users/user-registered-cloud-fn-callback";
284
282
  ApiPaths["getGameById"] = "/games/{gameId}";
285
- ApiPaths["getNearbyGamesDeprecated"] = "/nearby-games";
286
283
  ApiPaths["getNearbyGamesByLocation"] = "/nearby-games/locations";
287
284
  ApiPaths["getNearbyGamesList"] = "/nearby-games/list";
288
285
  ApiPaths["getLocationGames"] = "/location/{locationId}/games";
@@ -304,13 +301,11 @@ var ApiPaths;
304
301
  ApiPaths["getUserNearbyGamesAlert"] = "/nearby-games/alerts";
305
302
  ApiPaths["updateNearbyGamesAlertLocation"] = "/nearby-games/alerts/location";
306
303
  ApiPaths["updateNearbyGamesAlertEnabled"] = "/nearby-games/alerts/enabled";
307
- ApiPaths["logoutUser"] = "/users/logout";
308
304
  ApiPaths["postMyUserReferral"] = "/users/referral";
309
305
  ApiPaths["getMyUser"] = "/users/me";
310
306
  ApiPaths["updateMyUserPartial"] = "/users/me";
311
307
  ApiPaths["deleteMyUser"] = "/users/me";
312
308
  ApiPaths["setMyLanguage"] = "/users/me/language";
313
- ApiPaths["getMyUserStats"] = "/users/me/stats";
314
309
  ApiPaths["upsertUserMetaPushNotificationEnabledValue"] = "/user-meta/push-notification-enabled";
315
310
  ApiPaths["createHostedGame"] = "/hosted-games";
316
311
  ApiPaths["updateHostedGame"] = "/hosted-games/{hostedGameId}";
@@ -335,24 +330,20 @@ var ApiPaths;
335
330
  ApiPaths["getGamesForPost"] = "/admin/games-for-post";
336
331
  ApiPaths["getGamesStats"] = "/admin/games/stats";
337
332
  ApiPaths["getKnownCitiesForPost"] = "/admin/known-cities";
338
- ApiPaths["restoreRecurringGame"] = "/admin/restore-recurring-game";
339
333
  ApiPaths["removeOldGameChats"] = "/admin/adhoc/remove-old-game-chats";
340
334
  ApiPaths["emitGameUpdated"] = "/admin/adhoc/emit-game-updated";
341
335
  ApiPaths["postCustomNotification"] = "/admin/notifications/custom";
342
336
  ApiPaths["postCustomNotificationByAutomation"] = "/admin/automations/notifications/custom";
343
- ApiPaths["getGamesForPostPublic"] = "/admin/games-for-post-public";
344
- ApiPaths["cancelGameByAdmin"] = "/admin/moderation/game/{gameId}";
345
- ApiPaths["deleteUserByAdmin"] = "/admin/moderation/user/{userId}";
346
337
  ApiPaths["testActionNotification"] = "/admin/test-notifications/action-push";
347
338
  ApiPaths["getChannelByReference"] = "/chat/channel/get-by-reference";
348
339
  ApiPaths["getChannelDetails"] = "/chat/channel/{channelId}";
349
- ApiPaths["updateChannelDetails"] = "/chat/channel/{channelId}";
350
- ApiPaths["getChannelMembers"] = "/chat/channel/{channelId}/members";
351
340
  ApiPaths["muteChannel"] = "/chat/channel/{channelId}/muted";
352
341
  ApiPaths["getMyChatUser"] = "/chat/user/me";
353
342
  ApiPaths["postChatWebook"] = "/chat/webhook";
354
343
  ApiPaths["createOrGetSingleChannel"] = "/chat/channel/single";
355
344
  ApiPaths["cleanupUnreadMessages"] = "/chat-maintenance/cleanup-unread-messages";
345
+ ApiPaths["processScheduledNotification"] = "/game-notifications/scheduled-notification";
346
+ ApiPaths["createRating"] = "/rating/app";
356
347
  ApiPaths["postGameApplication"] = "/games/{gameId}/player-applications";
357
348
  ApiPaths["deleteGameApplication"] = "/games/{gameId}/player-applications";
358
349
  ApiPaths["rejectHostedGameApplications"] = "/hosted-games/{hostedGameId}/applications/reject-many";
@@ -368,8 +359,6 @@ var ApiPaths;
368
359
  ApiPaths["removeTeamMember"] = "/teams/{teamId}/members/{userId}";
369
360
  ApiPaths["leave"] = "/teams/{teamId}/member/me";
370
361
  ApiPaths["acceptTeamInvitation"] = "/teams/{teamId}/invitations/accept";
371
- ApiPaths["processScheduledNotification"] = "/game-notifications/scheduled-notification";
372
- ApiPaths["createRating"] = "/rating/app";
373
362
  ApiPaths["createContactMessage"] = "/contact/message";
374
363
  ApiPaths["triggerNotificationsForGameFinished"] = "/game-notifications/game-finished";
375
364
  ApiPaths["triggerNotificationsForGameReminder"] = "/game-notifications/game-reminder";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orlikfy/api-interfaces",
3
- "version": "4.2.4",
3
+ "version": "5.0.0",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "kruligh",