@scoreboardmax/api-types 1.0.12 → 1.0.14
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.d.ts +18 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -463,6 +463,13 @@ export interface DataExtractResponse {
|
|
|
463
463
|
}
|
|
464
464
|
export interface DataRow extends Array<string> {
|
|
465
465
|
}
|
|
466
|
+
export interface ErrorResponse {
|
|
467
|
+
error: boolean;
|
|
468
|
+
code: ErrorCode;
|
|
469
|
+
statusCode: number;
|
|
470
|
+
reference: string;
|
|
471
|
+
message: string;
|
|
472
|
+
}
|
|
466
473
|
export interface Event {
|
|
467
474
|
eventId: string;
|
|
468
475
|
accountId: string;
|
|
@@ -553,6 +560,17 @@ export interface FootballSettingsRequest extends FootballSettings {
|
|
|
553
560
|
}
|
|
554
561
|
export interface FootballSettingsResponse extends FootballSettings {
|
|
555
562
|
}
|
|
563
|
+
export interface MagicLinkResponse {
|
|
564
|
+
object: string;
|
|
565
|
+
magicLinkId: string;
|
|
566
|
+
type: MagicLinkType;
|
|
567
|
+
url: string;
|
|
568
|
+
uri: string;
|
|
569
|
+
dateCreated: string;
|
|
570
|
+
dateExpires?: string;
|
|
571
|
+
dateLastUsed?: string;
|
|
572
|
+
token?: string;
|
|
573
|
+
}
|
|
556
574
|
export interface MagicLinkScoreboardGuestRequest {
|
|
557
575
|
scoreboardId: string;
|
|
558
576
|
expiresInHours: number;
|