@scoreboardmax/api-types 1.0.22-next.4 → 1.0.22-next.5
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/index.cjs +1 -33
- package/dist/index.d.ts +31 -31
- package/dist/index.mjs +0 -32
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
*/
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
-
exports.WrestlingStyle = exports.WrestlingPeriod = exports.WrestlingOvertimeType = exports.WrestlingMeetType = exports.WebsocketOperation = exports.WebsocketMessageType = exports.TemplateUseCase = exports.SoccerPeriod = exports.SoccerPenaltyCardType = exports.SoccerGamePeriods = exports.ScoreboardType = exports.ScoreboardCode = exports.PlanId = exports.OAuthProvider = exports.MetaMessageType = exports.MagicLinkType = exports.FootballPeriod = exports.FileType = exports.ExtraTimeLabel = exports.EventAction = exports.
|
|
10
|
+
exports.WrestlingStyle = exports.WrestlingPeriod = exports.WrestlingOvertimeType = exports.WrestlingMeetType = exports.WebsocketOperation = exports.WebsocketMessageType = exports.TemplateUseCase = exports.SoccerPeriod = exports.SoccerPenaltyCardType = exports.SoccerGamePeriods = exports.ScoreboardType = exports.ScoreboardCode = exports.PlanId = exports.OAuthProvider = exports.MetaMessageType = exports.MagicLinkType = exports.FootballPeriod = exports.FileType = exports.ExtraTimeLabel = exports.EventAction = exports.DownAndDistanceDisplay = exports.ContentType = exports.ClockType = exports.BasketballTimeoutAllocation = exports.BasketballPeriod = exports.BasketballGamePeriods = exports.BaseballInningSegment = exports.AuthType = exports.AppType = exports.ApiResource = exports.ApiAction = exports.isWrestlingData = exports.isVolleyballData = exports.isSoccerData = exports.isFootballData = exports.isBasketballData = exports.isBaseballData = void 0;
|
|
11
11
|
const isBaseballData = (data) => {
|
|
12
12
|
return data.type === ScoreboardType.Baseball;
|
|
13
13
|
};
|
|
@@ -137,38 +137,6 @@ var DownAndDistanceDisplay;
|
|
|
137
137
|
DownAndDistanceDisplay["DownOnly"] = "downOnly";
|
|
138
138
|
DownAndDistanceDisplay["None"] = "none";
|
|
139
139
|
})(DownAndDistanceDisplay || (exports.DownAndDistanceDisplay = DownAndDistanceDisplay = {}));
|
|
140
|
-
var ErrorCode;
|
|
141
|
-
(function (ErrorCode) {
|
|
142
|
-
ErrorCode["ForbiddenSelfPermissionsChange"] = "ForbiddenSelfPermissionsChange";
|
|
143
|
-
ErrorCode["InsufficientAdminPermissions"] = "InsufficientAdminPermissions";
|
|
144
|
-
ErrorCode["InsufficientItemPermissions"] = "InsufficientItemPermissions";
|
|
145
|
-
ErrorCode["InsufficientResourcePermissions"] = "InsufficientResourcePermissions";
|
|
146
|
-
ErrorCode["InsufficientResourceItemPermissions"] = "InsufficientResourceItemPermissions";
|
|
147
|
-
ErrorCode["InvalidAuthType"] = "InvalidAuthType";
|
|
148
|
-
ErrorCode["InvalidColorFormat"] = "InvalidColorFormat";
|
|
149
|
-
ErrorCode["InvalidDate"] = "InvalidDate";
|
|
150
|
-
ErrorCode["InvalidInput"] = "InvalidInput";
|
|
151
|
-
ErrorCode["InvalidRequest"] = "InvalidRequest";
|
|
152
|
-
ErrorCode["InvalidPermissionGrant"] = "InvalidPermissionGrant";
|
|
153
|
-
ErrorCode["InvalidSignIn"] = "InvalidSignIn";
|
|
154
|
-
ErrorCode["InvalidAccountSignIn"] = "InvalidAccountSignIn";
|
|
155
|
-
ErrorCode["InvalidToken"] = "InvalidToken";
|
|
156
|
-
ErrorCode["AccountLimitExceeded"] = "AccountLimitExceeded";
|
|
157
|
-
ErrorCode["AccountStorageExceeded"] = "AccountStorageExceeded";
|
|
158
|
-
ErrorCode["ActiveScoreboardsExceeded"] = "ActiveScoreboardsExceeded";
|
|
159
|
-
ErrorCode["AccountFeatureNotEnabled"] = "AccountFeatureNotEnabled";
|
|
160
|
-
ErrorCode["AppNotEnabled"] = "AppNotEnabled";
|
|
161
|
-
ErrorCode["ImageProcessingError"] = "ImageProcessingError";
|
|
162
|
-
ErrorCode["RemoteServerError"] = "RemoteServerError";
|
|
163
|
-
ErrorCode["RemoteServerTimeout"] = "RemoteServerTimeout";
|
|
164
|
-
ErrorCode["RequestLimitExceeded"] = "RequestLimitExceeded";
|
|
165
|
-
ErrorCode["ResourceNotFound"] = "ResourceNotFound";
|
|
166
|
-
ErrorCode["UserCredentialsInUse"] = "UserCredentialsInUse";
|
|
167
|
-
ErrorCode["AccountEmailInUse"] = "AccountEmailInUse";
|
|
168
|
-
ErrorCode["IncompatibleState"] = "IncompatibleState";
|
|
169
|
-
ErrorCode["VersionConflict"] = "VersionConflict";
|
|
170
|
-
ErrorCode["UnspecifiedError"] = "UnspecifiedError";
|
|
171
|
-
})(ErrorCode || (exports.ErrorCode = ErrorCode = {}));
|
|
172
140
|
var EventAction;
|
|
173
141
|
(function (EventAction) {
|
|
174
142
|
EventAction["Created"] = "created";
|
package/dist/index.d.ts
CHANGED
|
@@ -11,6 +11,37 @@ export declare const isFootballData: (data: any) => data is FootballDataResponse
|
|
|
11
11
|
export declare const isSoccerData: (data: any) => data is SoccerDataResponse;
|
|
12
12
|
export declare const isVolleyballData: (data: any) => data is VolleyballDataResponse;
|
|
13
13
|
export declare const isWrestlingData: (data: any) => data is WrestlingDataResponse;
|
|
14
|
+
export declare enum ErrorCode {
|
|
15
|
+
ForbiddenSelfPermissionsChange = "ForbiddenSelfPermissionsChange",
|
|
16
|
+
InsufficientAdminPermissions = "InsufficientAdminPermissions",
|
|
17
|
+
InsufficientItemPermissions = "InsufficientItemPermissions",
|
|
18
|
+
InsufficientResourcePermissions = "InsufficientResourcePermissions",
|
|
19
|
+
InsufficientResourceItemPermissions = "InsufficientResourceItemPermissions",
|
|
20
|
+
InvalidAuthType = "InvalidAuthType",
|
|
21
|
+
InvalidColorFormat = "InvalidColorFormat",
|
|
22
|
+
InvalidDate = "InvalidDate",
|
|
23
|
+
InvalidInput = "InvalidInput",
|
|
24
|
+
InvalidRequest = "InvalidRequest",
|
|
25
|
+
InvalidPermissionGrant = "InvalidPermissionGrant",
|
|
26
|
+
InvalidSignIn = "InvalidSignIn",
|
|
27
|
+
InvalidAccountSignIn = "InvalidAccountSignIn",
|
|
28
|
+
InvalidToken = "InvalidToken",
|
|
29
|
+
AccountLimitExceeded = "AccountLimitExceeded",
|
|
30
|
+
AccountStorageExceeded = "AccountStorageExceeded",
|
|
31
|
+
ActiveScoreboardsExceeded = "ActiveScoreboardsExceeded",
|
|
32
|
+
AccountFeatureNotEnabled = "AccountFeatureNotEnabled",
|
|
33
|
+
AppNotEnabled = "AppNotEnabled",
|
|
34
|
+
ImageProcessingError = "ImageProcessingError",
|
|
35
|
+
RemoteServerError = "RemoteServerError",
|
|
36
|
+
RemoteServerTimeout = "RemoteServerTimeout",
|
|
37
|
+
RequestLimitExceeded = "RequestLimitExceeded",
|
|
38
|
+
ResourceNotFound = "ResourceNotFound",
|
|
39
|
+
UserCredentialsInUse = "UserCredentialsInUse",
|
|
40
|
+
AccountEmailInUse = "AccountEmailInUse",
|
|
41
|
+
IncompatibleState = "IncompatibleState",
|
|
42
|
+
VersionConflict = "VersionConflict",
|
|
43
|
+
UnspecifiedError = "UnspecifiedError"
|
|
44
|
+
}
|
|
14
45
|
export declare enum ApiAction {
|
|
15
46
|
Create = "create",
|
|
16
47
|
Read = "read",
|
|
@@ -105,37 +136,6 @@ export declare enum DownAndDistanceDisplay {
|
|
|
105
136
|
DownOnly = "downOnly",
|
|
106
137
|
None = "none"
|
|
107
138
|
}
|
|
108
|
-
export declare enum ErrorCode {
|
|
109
|
-
ForbiddenSelfPermissionsChange = "ForbiddenSelfPermissionsChange",
|
|
110
|
-
InsufficientAdminPermissions = "InsufficientAdminPermissions",
|
|
111
|
-
InsufficientItemPermissions = "InsufficientItemPermissions",
|
|
112
|
-
InsufficientResourcePermissions = "InsufficientResourcePermissions",
|
|
113
|
-
InsufficientResourceItemPermissions = "InsufficientResourceItemPermissions",
|
|
114
|
-
InvalidAuthType = "InvalidAuthType",
|
|
115
|
-
InvalidColorFormat = "InvalidColorFormat",
|
|
116
|
-
InvalidDate = "InvalidDate",
|
|
117
|
-
InvalidInput = "InvalidInput",
|
|
118
|
-
InvalidRequest = "InvalidRequest",
|
|
119
|
-
InvalidPermissionGrant = "InvalidPermissionGrant",
|
|
120
|
-
InvalidSignIn = "InvalidSignIn",
|
|
121
|
-
InvalidAccountSignIn = "InvalidAccountSignIn",
|
|
122
|
-
InvalidToken = "InvalidToken",
|
|
123
|
-
AccountLimitExceeded = "AccountLimitExceeded",
|
|
124
|
-
AccountStorageExceeded = "AccountStorageExceeded",
|
|
125
|
-
ActiveScoreboardsExceeded = "ActiveScoreboardsExceeded",
|
|
126
|
-
AccountFeatureNotEnabled = "AccountFeatureNotEnabled",
|
|
127
|
-
AppNotEnabled = "AppNotEnabled",
|
|
128
|
-
ImageProcessingError = "ImageProcessingError",
|
|
129
|
-
RemoteServerError = "RemoteServerError",
|
|
130
|
-
RemoteServerTimeout = "RemoteServerTimeout",
|
|
131
|
-
RequestLimitExceeded = "RequestLimitExceeded",
|
|
132
|
-
ResourceNotFound = "ResourceNotFound",
|
|
133
|
-
UserCredentialsInUse = "UserCredentialsInUse",
|
|
134
|
-
AccountEmailInUse = "AccountEmailInUse",
|
|
135
|
-
IncompatibleState = "IncompatibleState",
|
|
136
|
-
VersionConflict = "VersionConflict",
|
|
137
|
-
UnspecifiedError = "UnspecifiedError"
|
|
138
|
-
}
|
|
139
139
|
export declare enum EventAction {
|
|
140
140
|
Created = "created",
|
|
141
141
|
Updated = "updated",
|
package/dist/index.mjs
CHANGED
|
@@ -128,38 +128,6 @@ export var DownAndDistanceDisplay;
|
|
|
128
128
|
DownAndDistanceDisplay["DownOnly"] = "downOnly";
|
|
129
129
|
DownAndDistanceDisplay["None"] = "none";
|
|
130
130
|
})(DownAndDistanceDisplay || (DownAndDistanceDisplay = {}));
|
|
131
|
-
export var ErrorCode;
|
|
132
|
-
(function (ErrorCode) {
|
|
133
|
-
ErrorCode["ForbiddenSelfPermissionsChange"] = "ForbiddenSelfPermissionsChange";
|
|
134
|
-
ErrorCode["InsufficientAdminPermissions"] = "InsufficientAdminPermissions";
|
|
135
|
-
ErrorCode["InsufficientItemPermissions"] = "InsufficientItemPermissions";
|
|
136
|
-
ErrorCode["InsufficientResourcePermissions"] = "InsufficientResourcePermissions";
|
|
137
|
-
ErrorCode["InsufficientResourceItemPermissions"] = "InsufficientResourceItemPermissions";
|
|
138
|
-
ErrorCode["InvalidAuthType"] = "InvalidAuthType";
|
|
139
|
-
ErrorCode["InvalidColorFormat"] = "InvalidColorFormat";
|
|
140
|
-
ErrorCode["InvalidDate"] = "InvalidDate";
|
|
141
|
-
ErrorCode["InvalidInput"] = "InvalidInput";
|
|
142
|
-
ErrorCode["InvalidRequest"] = "InvalidRequest";
|
|
143
|
-
ErrorCode["InvalidPermissionGrant"] = "InvalidPermissionGrant";
|
|
144
|
-
ErrorCode["InvalidSignIn"] = "InvalidSignIn";
|
|
145
|
-
ErrorCode["InvalidAccountSignIn"] = "InvalidAccountSignIn";
|
|
146
|
-
ErrorCode["InvalidToken"] = "InvalidToken";
|
|
147
|
-
ErrorCode["AccountLimitExceeded"] = "AccountLimitExceeded";
|
|
148
|
-
ErrorCode["AccountStorageExceeded"] = "AccountStorageExceeded";
|
|
149
|
-
ErrorCode["ActiveScoreboardsExceeded"] = "ActiveScoreboardsExceeded";
|
|
150
|
-
ErrorCode["AccountFeatureNotEnabled"] = "AccountFeatureNotEnabled";
|
|
151
|
-
ErrorCode["AppNotEnabled"] = "AppNotEnabled";
|
|
152
|
-
ErrorCode["ImageProcessingError"] = "ImageProcessingError";
|
|
153
|
-
ErrorCode["RemoteServerError"] = "RemoteServerError";
|
|
154
|
-
ErrorCode["RemoteServerTimeout"] = "RemoteServerTimeout";
|
|
155
|
-
ErrorCode["RequestLimitExceeded"] = "RequestLimitExceeded";
|
|
156
|
-
ErrorCode["ResourceNotFound"] = "ResourceNotFound";
|
|
157
|
-
ErrorCode["UserCredentialsInUse"] = "UserCredentialsInUse";
|
|
158
|
-
ErrorCode["AccountEmailInUse"] = "AccountEmailInUse";
|
|
159
|
-
ErrorCode["IncompatibleState"] = "IncompatibleState";
|
|
160
|
-
ErrorCode["VersionConflict"] = "VersionConflict";
|
|
161
|
-
ErrorCode["UnspecifiedError"] = "UnspecifiedError";
|
|
162
|
-
})(ErrorCode || (ErrorCode = {}));
|
|
163
131
|
export var EventAction;
|
|
164
132
|
(function (EventAction) {
|
|
165
133
|
EventAction["Created"] = "created";
|