@scoreboardmax/api-types 1.0.22-next.14 → 1.0.22-next.16

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 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.VolleyballSet = 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.ErrorCode = 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;
10
+ exports.WrestlingStyle = exports.WrestlingPeriod = exports.WrestlingOvertimeType = exports.WrestlingMeetType = exports.WebsocketOperation = exports.WebsocketMessageType = exports.VolleyballSet = 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.ErrorCode = exports.DownAndDistanceDisplay = exports.DisplayConnectionStatus = 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
  };
@@ -131,6 +131,13 @@ var ContentType;
131
131
  ContentType["Xlsx"] = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
132
132
  ContentType["Zip"] = "application/zip";
133
133
  })(ContentType || (exports.ContentType = ContentType = {}));
134
+ var DisplayConnectionStatus;
135
+ (function (DisplayConnectionStatus) {
136
+ DisplayConnectionStatus["New"] = "new";
137
+ DisplayConnectionStatus["Connected"] = "connected";
138
+ DisplayConnectionStatus["Sent"] = "sent";
139
+ DisplayConnectionStatus["Completed"] = "completed";
140
+ })(DisplayConnectionStatus || (exports.DisplayConnectionStatus = DisplayConnectionStatus = {}));
134
141
  var DownAndDistanceDisplay;
135
142
  (function (DownAndDistanceDisplay) {
136
143
  DownAndDistanceDisplay["Both"] = "both";
package/dist/index.d.ts CHANGED
@@ -100,6 +100,12 @@ export declare enum ContentType {
100
100
  Xlsx = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
101
101
  Zip = "application/zip"
102
102
  }
103
+ export declare enum DisplayConnectionStatus {
104
+ New = "new",
105
+ Connected = "connected",
106
+ Sent = "sent",
107
+ Completed = "completed"
108
+ }
103
109
  export declare enum DownAndDistanceDisplay {
104
110
  Both = "both",
105
111
  DownOnly = "downOnly",
@@ -546,6 +552,18 @@ export interface DataExtractResponse {
546
552
  }
547
553
  export interface DataRow extends Array<string> {
548
554
  }
555
+ export interface DisplayConnectionCodeRequest {
556
+ code: string;
557
+ }
558
+ export interface DisplayConnectionResponse {
559
+ displayConnectionId: string;
560
+ code: string;
561
+ status: DisplayConnectionStatus;
562
+ dateCreated: string;
563
+ dateModified: string;
564
+ dateExpires: string;
565
+ scoreboardUrl?: string;
566
+ }
549
567
  export interface ErrorResponse {
550
568
  error: boolean;
551
569
  code: ErrorCode;
package/dist/index.mjs CHANGED
@@ -122,6 +122,13 @@ export var ContentType;
122
122
  ContentType["Xlsx"] = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
123
123
  ContentType["Zip"] = "application/zip";
124
124
  })(ContentType || (ContentType = {}));
125
+ export var DisplayConnectionStatus;
126
+ (function (DisplayConnectionStatus) {
127
+ DisplayConnectionStatus["New"] = "new";
128
+ DisplayConnectionStatus["Connected"] = "connected";
129
+ DisplayConnectionStatus["Sent"] = "sent";
130
+ DisplayConnectionStatus["Completed"] = "completed";
131
+ })(DisplayConnectionStatus || (DisplayConnectionStatus = {}));
125
132
  export var DownAndDistanceDisplay;
126
133
  (function (DownAndDistanceDisplay) {
127
134
  DownAndDistanceDisplay["Both"] = "both";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scoreboardmax/api-types",
3
- "version": "1.0.22-next.14",
3
+ "version": "1.0.22-next.16",
4
4
  "description": "TypeScript definitions for ScoreboardMax API",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",