@orlikfy/api-interfaces 6.1.3 → 6.1.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 +5 -7
- package/dist/api.js +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -645,12 +645,11 @@ export interface paths {
|
|
|
645
645
|
patch?: never;
|
|
646
646
|
trace?: never;
|
|
647
647
|
};
|
|
648
|
-
"/
|
|
648
|
+
"/penalties/{userPenaltyId}": {
|
|
649
649
|
parameters: {
|
|
650
650
|
query?: never;
|
|
651
651
|
header?: never;
|
|
652
652
|
path: {
|
|
653
|
-
userId: string;
|
|
654
653
|
userPenaltyId: string;
|
|
655
654
|
};
|
|
656
655
|
cookie?: never;
|
|
@@ -658,11 +657,11 @@ export interface paths {
|
|
|
658
657
|
get?: never;
|
|
659
658
|
put?: never;
|
|
660
659
|
post?: never;
|
|
661
|
-
|
|
660
|
+
/** revokeUserPenalty */
|
|
661
|
+
delete: operations["revokePenalty"];
|
|
662
662
|
options?: never;
|
|
663
663
|
head?: never;
|
|
664
|
-
|
|
665
|
-
patch: operations["revokePenalty"];
|
|
664
|
+
patch?: never;
|
|
666
665
|
trace?: never;
|
|
667
666
|
};
|
|
668
667
|
"/user-notifications": {
|
|
@@ -5226,7 +5225,6 @@ export interface operations {
|
|
|
5226
5225
|
"x-timezone"?: string;
|
|
5227
5226
|
};
|
|
5228
5227
|
path: {
|
|
5229
|
-
userId: string;
|
|
5230
5228
|
userPenaltyId: string;
|
|
5231
5229
|
};
|
|
5232
5230
|
cookie?: never;
|
|
@@ -8037,7 +8035,7 @@ export declare enum ApiPaths {
|
|
|
8037
8035
|
getFbGroupsByGameId = "/game/{gameId}/fb-groups",
|
|
8038
8036
|
getUserPenalties = "/user/{userId}/penalty",
|
|
8039
8037
|
createPenalty = "/user/{userId}/penalty",
|
|
8040
|
-
revokePenalty = "/
|
|
8038
|
+
revokePenalty = "/penalties/{userPenaltyId}",
|
|
8041
8039
|
getAllForCurrentUser = "/user-notifications",
|
|
8042
8040
|
markAsRead = "/user-notifications",
|
|
8043
8041
|
markAsReadClicked = "/user-notifications/{notificationId}/mark-as-clicked",
|
package/dist/api.js
CHANGED
|
@@ -323,7 +323,7 @@ var ApiPaths;
|
|
|
323
323
|
ApiPaths["getFbGroupsByGameId"] = "/game/{gameId}/fb-groups";
|
|
324
324
|
ApiPaths["getUserPenalties"] = "/user/{userId}/penalty";
|
|
325
325
|
ApiPaths["createPenalty"] = "/user/{userId}/penalty";
|
|
326
|
-
ApiPaths["revokePenalty"] = "/
|
|
326
|
+
ApiPaths["revokePenalty"] = "/penalties/{userPenaltyId}";
|
|
327
327
|
ApiPaths["getAllForCurrentUser"] = "/user-notifications";
|
|
328
328
|
ApiPaths["markAsRead"] = "/user-notifications";
|
|
329
329
|
ApiPaths["markAsReadClicked"] = "/user-notifications/{notificationId}/mark-as-clicked";
|