@scoreboardmax/api-types 1.0.48 → 1.0.50

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.ErrorCode = exports.WrestlingStyle = exports.WrestlingPeriod = exports.WrestlingOvertimeType = exports.WrestlingMeetType = exports.WebsocketOperation = exports.MetaMessageType = exports.WebsocketMessageType = exports.VolleyballSet = exports.isWrestlingData = exports.isVolleyballData = exports.isSoccerData = exports.isFootballData = exports.isBasketballData = exports.isBaseballData = exports.BaseballInningSegment = exports.TemplateUseCase = exports.ScoreboardType = exports.SoccerGamePeriods = exports.SoccerPeriod = exports.SoccerPenaltyCardType = exports.ScoreboardCode = exports.OAuthProvider = exports.OAuthAction = exports.MagicLinkType = exports.FootballPeriod = exports.TalkingPointFocus = exports.FileType = exports.ContentType = exports.ExtraTimeLabel = exports.EventAction = exports.TalkingPointEnergy = exports.DownAndDistanceDisplay = exports.DisplayConnectionStatus = exports.ClockType = exports.BasketballTimeoutAllocation = exports.BasketballGamePeriods = exports.BasketballPeriod = exports.PlanId = exports.AuthType = exports.AppType = exports.ApiResource = exports.ApiAction = void 0;
10
+ exports.ErrorCode = exports.WrestlingStyle = exports.WrestlingPeriod = exports.WrestlingOvertimeType = exports.WrestlingMeetType = exports.WebsocketOperation = exports.MetaMessageType = exports.WebsocketMessageType = exports.VolleyballSet = exports.isWrestlingData = exports.isVolleyballData = exports.isSoccerData = exports.isFootballData = exports.isBasketballData = exports.isBaseballData = exports.BaseballInningSegment = exports.TemplateUseCase = exports.ScoreboardType = exports.SoccerGamePeriods = exports.SoccerPeriod = exports.SoccerPenaltyCardType = exports.ScoreboardCode = exports.OAuthProvider = exports.OAuthAction = exports.MagicLinkType = exports.FootballPeriod = exports.TalkingPointFocus = exports.FileType = exports.ContentType = exports.ExtraTimeLabel = exports.EventAction = exports.AppEntitlementRequirement = exports.TalkingPointEnergy = exports.DownAndDistanceDisplay = exports.DisplayConnectionStatus = exports.ClockType = exports.BasketballTimeoutAllocation = exports.BasketballGamePeriods = exports.BasketballPeriod = exports.PlanId = exports.AuthType = exports.AppType = exports.AppEntitlementType = exports.AppEntitlementGrantedBy = exports.ApiResource = exports.ApiAction = void 0;
11
11
  /**
12
12
  * API action identifiers
13
13
  */
@@ -62,7 +62,25 @@ var ApiResource;
62
62
  ApiResource["PresetList"] = "presetList";
63
63
  ApiResource["Game"] = "game";
64
64
  ApiResource["GameList"] = "gameList";
65
+ ApiResource["Template"] = "template";
66
+ ApiResource["TemplateList"] = "templateList";
65
67
  })(ApiResource || (exports.ApiResource = ApiResource = {}));
68
+ /**
69
+ * App entitlement grant source
70
+ */
71
+ var AppEntitlementGrantedBy;
72
+ (function (AppEntitlementGrantedBy) {
73
+ AppEntitlementGrantedBy["Payment"] = "payment";
74
+ AppEntitlementGrantedBy["Promotion"] = "promotion";
75
+ AppEntitlementGrantedBy["Admin"] = "admin";
76
+ })(AppEntitlementGrantedBy || (exports.AppEntitlementGrantedBy = AppEntitlementGrantedBy = {}));
77
+ /**
78
+ * App entitlement type
79
+ */
80
+ var AppEntitlementType;
81
+ (function (AppEntitlementType) {
82
+ AppEntitlementType["Template"] = "template";
83
+ })(AppEntitlementType || (exports.AppEntitlementType = AppEntitlementType = {}));
66
84
  /**
67
85
  * App type identifiers
68
86
  */
@@ -157,6 +175,15 @@ var TalkingPointEnergy;
157
175
  TalkingPointEnergy["Standard"] = "standard";
158
176
  TalkingPointEnergy["Hype"] = "hype";
159
177
  })(TalkingPointEnergy || (exports.TalkingPointEnergy = TalkingPointEnergy = {}));
178
+ /**
179
+ * Entitlement requirement for access control
180
+ */
181
+ var AppEntitlementRequirement;
182
+ (function (AppEntitlementRequirement) {
183
+ AppEntitlementRequirement["None"] = "none";
184
+ AppEntitlementRequirement["AccountSubscription"] = "accountSubscription";
185
+ AppEntitlementRequirement["Payment"] = "payment";
186
+ })(AppEntitlementRequirement || (exports.AppEntitlementRequirement = AppEntitlementRequirement = {}));
160
187
  /**
161
188
  * Event action identifiers
162
189
  */
package/dist/index.d.ts CHANGED
@@ -91,7 +91,9 @@ export declare enum ApiResource {
91
91
  Preset = "preset",
92
92
  PresetList = "presetList",
93
93
  Game = "game",
94
- GameList = "gameList"
94
+ GameList = "gameList",
95
+ Template = "template",
96
+ TemplateList = "templateList"
95
97
  }
96
98
  /**
97
99
  * App creation/update request
@@ -115,6 +117,38 @@ export interface AppResponse {
115
117
  accountId: string;
116
118
  dateCreated: string;
117
119
  }
120
+ /**
121
+ * App entitlement details response
122
+ */
123
+ export interface AppEntitlementResponse {
124
+ object: string;
125
+ url: string;
126
+ uri: string;
127
+ accountId: string;
128
+ appEntitlementId: string;
129
+ type: AppEntitlementType;
130
+ appId: string;
131
+ key: string;
132
+ grantedBy: AppEntitlementGrantedBy;
133
+ grantedAt: string;
134
+ dateExpires?: string;
135
+ dateCreated: string;
136
+ dateModified: string;
137
+ }
138
+ /**
139
+ * App entitlement grant source
140
+ */
141
+ export declare enum AppEntitlementGrantedBy {
142
+ Payment = "payment",
143
+ Promotion = "promotion",
144
+ Admin = "admin"
145
+ }
146
+ /**
147
+ * App entitlement type
148
+ */
149
+ export declare enum AppEntitlementType {
150
+ Template = "template"
151
+ }
118
152
  /**
119
153
  * App input field definition
120
154
  */
@@ -716,6 +750,14 @@ export declare enum TalkingPointEnergy {
716
750
  Standard = "standard",
717
751
  Hype = "hype"
718
752
  }
753
+ /**
754
+ * Entitlement requirement for access control
755
+ */
756
+ export declare enum AppEntitlementRequirement {
757
+ None = "none",
758
+ AccountSubscription = "accountSubscription",
759
+ Payment = "payment"
760
+ }
719
761
  /**
720
762
  * Event action identifiers
721
763
  */
@@ -1063,6 +1105,15 @@ export interface ScoreboardActivationListResponse {
1063
1105
  pageNext: string | null;
1064
1106
  data: ScoreboardActivationResponse[];
1065
1107
  }
1108
+ /**
1109
+ * Paginated list of app entitlements
1110
+ */
1111
+ export interface AppEntitlementListResponse {
1112
+ url: string;
1113
+ uri: string;
1114
+ pageNext: string | null;
1115
+ data: AppEntitlementResponse[];
1116
+ }
1066
1117
  /**
1067
1118
  * Paginated list of apps
1068
1119
  */
@@ -1160,6 +1211,15 @@ export interface TeamListResponse {
1160
1211
  pageNext: string | null;
1161
1212
  data: TeamResponse[];
1162
1213
  }
1214
+ /**
1215
+ * Paginated list of templates
1216
+ */
1217
+ export interface TemplateListResponse {
1218
+ url: string;
1219
+ uri: string;
1220
+ pageNext: string | null;
1221
+ data: TemplateResponse[];
1222
+ }
1163
1223
  /**
1164
1224
  * Paginated list of users
1165
1225
  */
@@ -1381,7 +1441,6 @@ export interface ScoreboardRequest {
1381
1441
  type: ScoreboardType;
1382
1442
  version: number;
1383
1443
  data: BasketballDataRequest | FootballDataRequest | VolleyballDataRequest | SoccerDataRequest | BaseballDataRequest | WrestlingDataRequest;
1384
- templates?: TemplateSelection[];
1385
1444
  }
1386
1445
  /**
1387
1446
  * Scoreboard details response
@@ -1719,27 +1778,69 @@ export interface TeamResponse {
1719
1778
  dateCreated: string;
1720
1779
  dateModified: string;
1721
1780
  }
1781
+ /**
1782
+ * Template details response
1783
+ */
1784
+ export interface TemplateResponse {
1785
+ object: string;
1786
+ url: string;
1787
+ uri: string;
1788
+ appId: string;
1789
+ key: string;
1790
+ version: string;
1791
+ path: string;
1792
+ name: string;
1793
+ scoreboardType: string;
1794
+ useCases: TemplateUseCase[];
1795
+ description?: string;
1796
+ previewImageUrls?: string[];
1797
+ settings?: Record<string, InputDefinition>;
1798
+ accountId: string;
1799
+ latest: boolean;
1800
+ published: boolean;
1801
+ appEntitlementRequirement: AppEntitlementRequirement;
1802
+ entitled?: boolean;
1803
+ dateCreated: string;
1804
+ dateModified: string;
1805
+ }
1722
1806
  /**
1723
1807
  * Template layout definition
1724
1808
  */
1725
1809
  export interface TemplateDefinition {
1810
+ key: string;
1726
1811
  path: string;
1727
1812
  name: string;
1728
1813
  scoreboardType: string;
1729
1814
  useCases: TemplateUseCase[];
1730
- thumbnail?: string;
1815
+ description?: string;
1816
+ previewImages?: string[];
1731
1817
  settings?: Record<string, InputDefinition>;
1732
1818
  }
1733
1819
  /**
1734
1820
  * Template selection configuration
1735
1821
  */
1736
1822
  export interface TemplateSelection {
1737
- path: string;
1823
+ key: string;
1738
1824
  appId: string;
1739
1825
  useCase: TemplateUseCase;
1740
1826
  version?: string;
1741
1827
  settings?: Record<string, string | number | boolean | null>;
1742
1828
  }
1829
+ /**
1830
+ * Template selection request for updating scoreboard templates
1831
+ */
1832
+ export interface TemplateSelectionRequest extends TemplateSelection {
1833
+ }
1834
+ /**
1835
+ * Template selection response for scoreboard template updates
1836
+ */
1837
+ export interface TemplateSelectionResponse extends TemplateSelection {
1838
+ }
1839
+ /**
1840
+ * Template update request
1841
+ */
1842
+ export interface TemplateRequest {
1843
+ }
1743
1844
  /**
1744
1845
  * Template use case categories
1745
1846
  */
package/dist/index.mjs CHANGED
@@ -59,7 +59,25 @@ export var ApiResource;
59
59
  ApiResource["PresetList"] = "presetList";
60
60
  ApiResource["Game"] = "game";
61
61
  ApiResource["GameList"] = "gameList";
62
+ ApiResource["Template"] = "template";
63
+ ApiResource["TemplateList"] = "templateList";
62
64
  })(ApiResource || (ApiResource = {}));
65
+ /**
66
+ * App entitlement grant source
67
+ */
68
+ export var AppEntitlementGrantedBy;
69
+ (function (AppEntitlementGrantedBy) {
70
+ AppEntitlementGrantedBy["Payment"] = "payment";
71
+ AppEntitlementGrantedBy["Promotion"] = "promotion";
72
+ AppEntitlementGrantedBy["Admin"] = "admin";
73
+ })(AppEntitlementGrantedBy || (AppEntitlementGrantedBy = {}));
74
+ /**
75
+ * App entitlement type
76
+ */
77
+ export var AppEntitlementType;
78
+ (function (AppEntitlementType) {
79
+ AppEntitlementType["Template"] = "template";
80
+ })(AppEntitlementType || (AppEntitlementType = {}));
63
81
  /**
64
82
  * App type identifiers
65
83
  */
@@ -154,6 +172,15 @@ export var TalkingPointEnergy;
154
172
  TalkingPointEnergy["Standard"] = "standard";
155
173
  TalkingPointEnergy["Hype"] = "hype";
156
174
  })(TalkingPointEnergy || (TalkingPointEnergy = {}));
175
+ /**
176
+ * Entitlement requirement for access control
177
+ */
178
+ export var AppEntitlementRequirement;
179
+ (function (AppEntitlementRequirement) {
180
+ AppEntitlementRequirement["None"] = "none";
181
+ AppEntitlementRequirement["AccountSubscription"] = "accountSubscription";
182
+ AppEntitlementRequirement["Payment"] = "payment";
183
+ })(AppEntitlementRequirement || (AppEntitlementRequirement = {}));
157
184
  /**
158
185
  * Event action identifiers
159
186
  */
package/dist/internal.cjs CHANGED
@@ -10,7 +10,7 @@
10
10
  *
11
11
  */
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
- exports.ErrorCode = exports.WrestlingStyle = exports.WrestlingPeriod = exports.WrestlingOvertimeType = exports.WrestlingMeetType = exports.WebsocketOperation = exports.MetaMessageType = exports.WebsocketMessageType = exports.VolleyballSet = exports.isWrestlingData = exports.isVolleyballData = exports.isSoccerData = exports.isFootballData = exports.isBasketballData = exports.isBaseballData = exports.isUserResponseAdmin = exports.isUserListResponseAdmin = exports.isAuthResponseAdmin = exports.isAccountResponseAdmin = exports.BaseballInningSegment = exports.TemplateUseCase = exports.ScoreboardType = exports.SoccerGamePeriods = exports.SoccerPeriod = exports.SoccerPenaltyCardType = exports.ScoreboardCode = exports.OAuthProvider = exports.OAuthAction = exports.MagicLinkType = exports.FootballPeriod = exports.TalkingPointFocus = exports.FileType = exports.ContentType = exports.ExtraTimeLabel = exports.EventAction = exports.TalkingPointEnergy = exports.DownAndDistanceDisplay = exports.DisplayConnectionStatus = exports.ClockType = exports.BasketballTimeoutAllocation = exports.BasketballGamePeriods = exports.BasketballPeriod = exports.PlanId = exports.AuthType = exports.AppType = exports.ApiResource = exports.ApiAction = void 0;
13
+ exports.ErrorCode = exports.WrestlingStyle = exports.WrestlingPeriod = exports.WrestlingOvertimeType = exports.WrestlingMeetType = exports.WebsocketOperation = exports.MetaMessageType = exports.WebsocketMessageType = exports.VolleyballSet = exports.isWrestlingData = exports.isVolleyballData = exports.isSoccerData = exports.isFootballData = exports.isBasketballData = exports.isBaseballData = exports.isUserResponseAdmin = exports.isUserListResponseAdmin = exports.isAuthResponseAdmin = exports.isAccountResponseAdmin = exports.BaseballInningSegment = exports.TemplateUseCase = exports.ScoreboardType = exports.SoccerGamePeriods = exports.SoccerPeriod = exports.SoccerPenaltyCardType = exports.ScoreboardCode = exports.OAuthProvider = exports.OAuthAction = exports.MagicLinkType = exports.FootballPeriod = exports.TalkingPointFocus = exports.FileType = exports.ContentType = exports.ExtraTimeLabel = exports.EventAction = exports.AppEntitlementRequirement = exports.TalkingPointEnergy = exports.DownAndDistanceDisplay = exports.DisplayConnectionStatus = exports.ClockType = exports.BasketballTimeoutAllocation = exports.BasketballGamePeriods = exports.BasketballPeriod = exports.PlanId = exports.AuthType = exports.AppType = exports.AppEntitlementType = exports.AppEntitlementGrantedBy = exports.ApiResource = exports.ApiAction = void 0;
14
14
  /**
15
15
  * API action identifiers
16
16
  */
@@ -65,7 +65,25 @@ var ApiResource;
65
65
  ApiResource["PresetList"] = "presetList";
66
66
  ApiResource["Game"] = "game";
67
67
  ApiResource["GameList"] = "gameList";
68
+ ApiResource["Template"] = "template";
69
+ ApiResource["TemplateList"] = "templateList";
68
70
  })(ApiResource || (exports.ApiResource = ApiResource = {}));
71
+ /**
72
+ * App entitlement grant source
73
+ */
74
+ var AppEntitlementGrantedBy;
75
+ (function (AppEntitlementGrantedBy) {
76
+ AppEntitlementGrantedBy["Payment"] = "payment";
77
+ AppEntitlementGrantedBy["Promotion"] = "promotion";
78
+ AppEntitlementGrantedBy["Admin"] = "admin";
79
+ })(AppEntitlementGrantedBy || (exports.AppEntitlementGrantedBy = AppEntitlementGrantedBy = {}));
80
+ /**
81
+ * App entitlement type
82
+ */
83
+ var AppEntitlementType;
84
+ (function (AppEntitlementType) {
85
+ AppEntitlementType["Template"] = "template";
86
+ })(AppEntitlementType || (exports.AppEntitlementType = AppEntitlementType = {}));
69
87
  /**
70
88
  * App type identifiers
71
89
  */
@@ -160,6 +178,15 @@ var TalkingPointEnergy;
160
178
  TalkingPointEnergy["Standard"] = "standard";
161
179
  TalkingPointEnergy["Hype"] = "hype";
162
180
  })(TalkingPointEnergy || (exports.TalkingPointEnergy = TalkingPointEnergy = {}));
181
+ /**
182
+ * Entitlement requirement for access control
183
+ */
184
+ var AppEntitlementRequirement;
185
+ (function (AppEntitlementRequirement) {
186
+ AppEntitlementRequirement["None"] = "none";
187
+ AppEntitlementRequirement["AccountSubscription"] = "accountSubscription";
188
+ AppEntitlementRequirement["Payment"] = "payment";
189
+ })(AppEntitlementRequirement || (exports.AppEntitlementRequirement = AppEntitlementRequirement = {}));
163
190
  /**
164
191
  * Event action identifiers
165
192
  */
@@ -101,7 +101,9 @@ export declare enum ApiResource {
101
101
  Preset = "preset",
102
102
  PresetList = "presetList",
103
103
  Game = "game",
104
- GameList = "gameList"
104
+ GameList = "gameList",
105
+ Template = "template",
106
+ TemplateList = "templateList"
105
107
  }
106
108
  /**
107
109
  * App creation/update request
@@ -125,6 +127,38 @@ export interface AppResponse {
125
127
  accountId: string;
126
128
  dateCreated: string;
127
129
  }
130
+ /**
131
+ * App entitlement details response
132
+ */
133
+ export interface AppEntitlementResponse {
134
+ object: string;
135
+ url: string;
136
+ uri: string;
137
+ accountId: string;
138
+ appEntitlementId: string;
139
+ type: AppEntitlementType;
140
+ appId: string;
141
+ key: string;
142
+ grantedBy: AppEntitlementGrantedBy;
143
+ grantedAt: string;
144
+ dateExpires?: string;
145
+ dateCreated: string;
146
+ dateModified: string;
147
+ }
148
+ /**
149
+ * App entitlement grant source
150
+ */
151
+ export declare enum AppEntitlementGrantedBy {
152
+ Payment = "payment",
153
+ Promotion = "promotion",
154
+ Admin = "admin"
155
+ }
156
+ /**
157
+ * App entitlement type
158
+ */
159
+ export declare enum AppEntitlementType {
160
+ Template = "template"
161
+ }
128
162
  /**
129
163
  * App input field definition
130
164
  */
@@ -739,6 +773,14 @@ export declare enum TalkingPointEnergy {
739
773
  Standard = "standard",
740
774
  Hype = "hype"
741
775
  }
776
+ /**
777
+ * Entitlement requirement for access control
778
+ */
779
+ export declare enum AppEntitlementRequirement {
780
+ None = "none",
781
+ AccountSubscription = "accountSubscription",
782
+ Payment = "payment"
783
+ }
742
784
  /**
743
785
  * Event action identifiers
744
786
  */
@@ -1086,6 +1128,15 @@ export interface ScoreboardActivationListResponse {
1086
1128
  pageNext: string | null;
1087
1129
  data: ScoreboardActivationResponse[];
1088
1130
  }
1131
+ /**
1132
+ * Paginated list of app entitlements
1133
+ */
1134
+ export interface AppEntitlementListResponse {
1135
+ url: string;
1136
+ uri: string;
1137
+ pageNext: string | null;
1138
+ data: AppEntitlementResponse[];
1139
+ }
1089
1140
  /**
1090
1141
  * Paginated list of apps
1091
1142
  */
@@ -1183,6 +1234,15 @@ export interface TeamListResponse {
1183
1234
  pageNext: string | null;
1184
1235
  data: TeamResponse[];
1185
1236
  }
1237
+ /**
1238
+ * Paginated list of templates
1239
+ */
1240
+ export interface TemplateListResponse {
1241
+ url: string;
1242
+ uri: string;
1243
+ pageNext: string | null;
1244
+ data: TemplateResponse[];
1245
+ }
1186
1246
  /**
1187
1247
  * Paginated list of users
1188
1248
  */
@@ -1404,7 +1464,6 @@ export interface ScoreboardRequest {
1404
1464
  type: ScoreboardType;
1405
1465
  version: number;
1406
1466
  data: BasketballDataRequest | FootballDataRequest | VolleyballDataRequest | SoccerDataRequest | BaseballDataRequest | WrestlingDataRequest;
1407
- templates?: TemplateSelection[];
1408
1467
  }
1409
1468
  /**
1410
1469
  * Scoreboard details response
@@ -1742,27 +1801,76 @@ export interface TeamResponse {
1742
1801
  dateCreated: string;
1743
1802
  dateModified: string;
1744
1803
  }
1804
+ /**
1805
+ * Template details response
1806
+ */
1807
+ export interface TemplateResponse {
1808
+ object: string;
1809
+ url: string;
1810
+ uri: string;
1811
+ appId: string;
1812
+ key: string;
1813
+ version: string;
1814
+ path: string;
1815
+ name: string;
1816
+ scoreboardType: string;
1817
+ useCases: TemplateUseCase[];
1818
+ description?: string;
1819
+ previewImageUrls?: string[];
1820
+ settings?: Record<string, InputDefinition>;
1821
+ accountId: string;
1822
+ latest: boolean;
1823
+ published: boolean;
1824
+ appEntitlementRequirement: AppEntitlementRequirement;
1825
+ entitled?: boolean;
1826
+ dateCreated: string;
1827
+ dateModified: string;
1828
+ }
1745
1829
  /**
1746
1830
  * Template layout definition
1747
1831
  */
1748
1832
  export interface TemplateDefinition {
1833
+ key: string;
1749
1834
  path: string;
1750
1835
  name: string;
1751
1836
  scoreboardType: string;
1752
1837
  useCases: TemplateUseCase[];
1753
- thumbnail?: string;
1838
+ description?: string;
1839
+ previewImages?: string[];
1754
1840
  settings?: Record<string, InputDefinition>;
1755
1841
  }
1756
1842
  /**
1757
1843
  * Template selection configuration
1758
1844
  */
1759
1845
  export interface TemplateSelection {
1760
- path: string;
1846
+ key: string;
1761
1847
  appId: string;
1762
1848
  useCase: TemplateUseCase;
1763
1849
  version?: string;
1764
1850
  settings?: Record<string, string | number | boolean | null>;
1765
1851
  }
1852
+ /**
1853
+ * Template selection request for updating scoreboard templates
1854
+ */
1855
+ export interface TemplateSelectionRequest extends TemplateSelection {
1856
+ }
1857
+ /**
1858
+ * Template selection response for scoreboard template updates
1859
+ */
1860
+ export interface TemplateSelectionResponse extends TemplateSelection {
1861
+ }
1862
+ /**
1863
+ * Template update request
1864
+ */
1865
+ export interface TemplateRequest {
1866
+ }
1867
+ /**
1868
+ * Template update request with admin fields
1869
+ */
1870
+ export interface TemplateRequestAdmin extends TemplateRequest {
1871
+ published?: boolean;
1872
+ appEntitlementRequirement?: AppEntitlementRequirement;
1873
+ }
1766
1874
  /**
1767
1875
  * Template use case categories
1768
1876
  */
package/dist/internal.mjs CHANGED
@@ -62,7 +62,25 @@ export var ApiResource;
62
62
  ApiResource["PresetList"] = "presetList";
63
63
  ApiResource["Game"] = "game";
64
64
  ApiResource["GameList"] = "gameList";
65
+ ApiResource["Template"] = "template";
66
+ ApiResource["TemplateList"] = "templateList";
65
67
  })(ApiResource || (ApiResource = {}));
68
+ /**
69
+ * App entitlement grant source
70
+ */
71
+ export var AppEntitlementGrantedBy;
72
+ (function (AppEntitlementGrantedBy) {
73
+ AppEntitlementGrantedBy["Payment"] = "payment";
74
+ AppEntitlementGrantedBy["Promotion"] = "promotion";
75
+ AppEntitlementGrantedBy["Admin"] = "admin";
76
+ })(AppEntitlementGrantedBy || (AppEntitlementGrantedBy = {}));
77
+ /**
78
+ * App entitlement type
79
+ */
80
+ export var AppEntitlementType;
81
+ (function (AppEntitlementType) {
82
+ AppEntitlementType["Template"] = "template";
83
+ })(AppEntitlementType || (AppEntitlementType = {}));
66
84
  /**
67
85
  * App type identifiers
68
86
  */
@@ -157,6 +175,15 @@ export var TalkingPointEnergy;
157
175
  TalkingPointEnergy["Standard"] = "standard";
158
176
  TalkingPointEnergy["Hype"] = "hype";
159
177
  })(TalkingPointEnergy || (TalkingPointEnergy = {}));
178
+ /**
179
+ * Entitlement requirement for access control
180
+ */
181
+ export var AppEntitlementRequirement;
182
+ (function (AppEntitlementRequirement) {
183
+ AppEntitlementRequirement["None"] = "none";
184
+ AppEntitlementRequirement["AccountSubscription"] = "accountSubscription";
185
+ AppEntitlementRequirement["Payment"] = "payment";
186
+ })(AppEntitlementRequirement || (AppEntitlementRequirement = {}));
160
187
  /**
161
188
  * Event action identifiers
162
189
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scoreboardmax/api-types",
3
- "version": "1.0.48",
3
+ "version": "1.0.50",
4
4
  "description": "TypeScript definitions for ScoreboardMax API",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",