cfbd 5.4.6-alpha.0 → 5.4.8-alpha.0

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/sdk.gen.js CHANGED
@@ -21,7 +21,12 @@ exports.client = (0, client_fetch_1.createClient)((0, client_fetch_1.createConfi
21
21
  */
22
22
  var getAdjustedTeamSeasonStats = function (options) {
23
23
  var _a;
24
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/wepa/team/season' }));
24
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
25
+ {
26
+ scheme: 'bearer',
27
+ type: 'http'
28
+ }
29
+ ], url: '/wepa/team/season' }, options));
25
30
  };
26
31
  exports.getAdjustedTeamSeasonStats = getAdjustedTeamSeasonStats;
27
32
  /**
@@ -29,7 +34,12 @@ exports.getAdjustedTeamSeasonStats = getAdjustedTeamSeasonStats;
29
34
  */
30
35
  var getAdjustedPlayerPassingStats = function (options) {
31
36
  var _a;
32
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/wepa/players/passing' }));
37
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
38
+ {
39
+ scheme: 'bearer',
40
+ type: 'http'
41
+ }
42
+ ], url: '/wepa/players/passing' }, options));
33
43
  };
34
44
  exports.getAdjustedPlayerPassingStats = getAdjustedPlayerPassingStats;
35
45
  /**
@@ -37,7 +47,12 @@ exports.getAdjustedPlayerPassingStats = getAdjustedPlayerPassingStats;
37
47
  */
38
48
  var getAdjustedPlayerRushingStats = function (options) {
39
49
  var _a;
40
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/wepa/players/rushing' }));
50
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
51
+ {
52
+ scheme: 'bearer',
53
+ type: 'http'
54
+ }
55
+ ], url: '/wepa/players/rushing' }, options));
41
56
  };
42
57
  exports.getAdjustedPlayerRushingStats = getAdjustedPlayerRushingStats;
43
58
  /**
@@ -45,7 +60,12 @@ exports.getAdjustedPlayerRushingStats = getAdjustedPlayerRushingStats;
45
60
  */
46
61
  var getKickerPaar = function (options) {
47
62
  var _a;
48
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/wepa/players/kicking' }));
63
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
64
+ {
65
+ scheme: 'bearer',
66
+ type: 'http'
67
+ }
68
+ ], url: '/wepa/players/kicking' }, options));
49
69
  };
50
70
  exports.getKickerPaar = getKickerPaar;
51
71
  /**
@@ -53,7 +73,12 @@ exports.getKickerPaar = getKickerPaar;
53
73
  */
54
74
  var getTeams = function (options) {
55
75
  var _a;
56
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/teams' }));
76
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
77
+ {
78
+ scheme: 'bearer',
79
+ type: 'http'
80
+ }
81
+ ], url: '/teams' }, options));
57
82
  };
58
83
  exports.getTeams = getTeams;
59
84
  /**
@@ -61,7 +86,12 @@ exports.getTeams = getTeams;
61
86
  */
62
87
  var getFbsTeams = function (options) {
63
88
  var _a;
64
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/teams/fbs' }));
89
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
90
+ {
91
+ scheme: 'bearer',
92
+ type: 'http'
93
+ }
94
+ ], url: '/teams/fbs' }, options));
65
95
  };
66
96
  exports.getFbsTeams = getFbsTeams;
67
97
  /**
@@ -69,7 +99,12 @@ exports.getFbsTeams = getFbsTeams;
69
99
  */
70
100
  var getMatchup = function (options) {
71
101
  var _a;
72
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/teams/matchup' }));
102
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
103
+ {
104
+ scheme: 'bearer',
105
+ type: 'http'
106
+ }
107
+ ], url: '/teams/matchup' }, options));
73
108
  };
74
109
  exports.getMatchup = getMatchup;
75
110
  /**
@@ -77,7 +112,12 @@ exports.getMatchup = getMatchup;
77
112
  */
78
113
  var getRoster = function (options) {
79
114
  var _a;
80
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/roster' }));
115
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
116
+ {
117
+ scheme: 'bearer',
118
+ type: 'http'
119
+ }
120
+ ], url: '/roster' }, options));
81
121
  };
82
122
  exports.getRoster = getRoster;
83
123
  /**
@@ -85,7 +125,12 @@ exports.getRoster = getRoster;
85
125
  */
86
126
  var getConferences = function (options) {
87
127
  var _a;
88
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/conferences' }));
128
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
129
+ {
130
+ scheme: 'bearer',
131
+ type: 'http'
132
+ }
133
+ ], url: '/conferences' }, options));
89
134
  };
90
135
  exports.getConferences = getConferences;
91
136
  /**
@@ -93,7 +138,12 @@ exports.getConferences = getConferences;
93
138
  */
94
139
  var getTalent = function (options) {
95
140
  var _a;
96
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/talent' }));
141
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
142
+ {
143
+ scheme: 'bearer',
144
+ type: 'http'
145
+ }
146
+ ], url: '/talent' }, options));
97
147
  };
98
148
  exports.getTalent = getTalent;
99
149
  /**
@@ -101,7 +151,12 @@ exports.getTalent = getTalent;
101
151
  */
102
152
  var getVenues = function (options) {
103
153
  var _a;
104
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/venues' }));
154
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
155
+ {
156
+ scheme: 'bearer',
157
+ type: 'http'
158
+ }
159
+ ], url: '/venues' }, options));
105
160
  };
106
161
  exports.getVenues = getVenues;
107
162
  /**
@@ -109,7 +164,12 @@ exports.getVenues = getVenues;
109
164
  */
110
165
  var getPlayerSeasonStats = function (options) {
111
166
  var _a;
112
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/stats/player/season' }));
167
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
168
+ {
169
+ scheme: 'bearer',
170
+ type: 'http'
171
+ }
172
+ ], url: '/stats/player/season' }, options));
113
173
  };
114
174
  exports.getPlayerSeasonStats = getPlayerSeasonStats;
115
175
  /**
@@ -117,7 +177,12 @@ exports.getPlayerSeasonStats = getPlayerSeasonStats;
117
177
  */
118
178
  var getTeamStats = function (options) {
119
179
  var _a;
120
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/stats/season' }));
180
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
181
+ {
182
+ scheme: 'bearer',
183
+ type: 'http'
184
+ }
185
+ ], url: '/stats/season' }, options));
121
186
  };
122
187
  exports.getTeamStats = getTeamStats;
123
188
  /**
@@ -125,7 +190,12 @@ exports.getTeamStats = getTeamStats;
125
190
  */
126
191
  var getCategories = function (options) {
127
192
  var _a;
128
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/stats/categories' }));
193
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
194
+ {
195
+ scheme: 'bearer',
196
+ type: 'http'
197
+ }
198
+ ], url: '/stats/categories' }, options));
129
199
  };
130
200
  exports.getCategories = getCategories;
131
201
  /**
@@ -133,7 +203,12 @@ exports.getCategories = getCategories;
133
203
  */
134
204
  var getAdvancedSeasonStats = function (options) {
135
205
  var _a;
136
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/stats/season/advanced' }));
206
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
207
+ {
208
+ scheme: 'bearer',
209
+ type: 'http'
210
+ }
211
+ ], url: '/stats/season/advanced' }, options));
137
212
  };
138
213
  exports.getAdvancedSeasonStats = getAdvancedSeasonStats;
139
214
  /**
@@ -141,7 +216,12 @@ exports.getAdvancedSeasonStats = getAdvancedSeasonStats;
141
216
  */
142
217
  var getAdvancedGameStats = function (options) {
143
218
  var _a;
144
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/stats/game/advanced' }));
219
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
220
+ {
221
+ scheme: 'bearer',
222
+ type: 'http'
223
+ }
224
+ ], url: '/stats/game/advanced' }, options));
145
225
  };
146
226
  exports.getAdvancedGameStats = getAdvancedGameStats;
147
227
  /**
@@ -149,7 +229,12 @@ exports.getAdvancedGameStats = getAdvancedGameStats;
149
229
  */
150
230
  var getRecruits = function (options) {
151
231
  var _a;
152
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/recruiting/players' }));
232
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
233
+ {
234
+ scheme: 'bearer',
235
+ type: 'http'
236
+ }
237
+ ], url: '/recruiting/players' }, options));
153
238
  };
154
239
  exports.getRecruits = getRecruits;
155
240
  /**
@@ -157,7 +242,12 @@ exports.getRecruits = getRecruits;
157
242
  */
158
243
  var getTeamRecruitingRankings = function (options) {
159
244
  var _a;
160
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/recruiting/teams' }));
245
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
246
+ {
247
+ scheme: 'bearer',
248
+ type: 'http'
249
+ }
250
+ ], url: '/recruiting/teams' }, options));
161
251
  };
162
252
  exports.getTeamRecruitingRankings = getTeamRecruitingRankings;
163
253
  /**
@@ -165,7 +255,12 @@ exports.getTeamRecruitingRankings = getTeamRecruitingRankings;
165
255
  */
166
256
  var getAggregatedTeamRecruitingRatings = function (options) {
167
257
  var _a;
168
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/recruiting/groups' }));
258
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
259
+ {
260
+ scheme: 'bearer',
261
+ type: 'http'
262
+ }
263
+ ], url: '/recruiting/groups' }, options));
169
264
  };
170
265
  exports.getAggregatedTeamRecruitingRatings = getAggregatedTeamRecruitingRatings;
171
266
  /**
@@ -173,7 +268,12 @@ exports.getAggregatedTeamRecruitingRatings = getAggregatedTeamRecruitingRatings;
173
268
  */
174
269
  var getSp = function (options) {
175
270
  var _a;
176
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/ratings/sp' }));
271
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
272
+ {
273
+ scheme: 'bearer',
274
+ type: 'http'
275
+ }
276
+ ], url: '/ratings/sp' }, options));
177
277
  };
178
278
  exports.getSp = getSp;
179
279
  /**
@@ -181,7 +281,12 @@ exports.getSp = getSp;
181
281
  */
182
282
  var getConferenceSp = function (options) {
183
283
  var _a;
184
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/ratings/sp/conferences' }));
284
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
285
+ {
286
+ scheme: 'bearer',
287
+ type: 'http'
288
+ }
289
+ ], url: '/ratings/sp/conferences' }, options));
185
290
  };
186
291
  exports.getConferenceSp = getConferenceSp;
187
292
  /**
@@ -189,7 +294,12 @@ exports.getConferenceSp = getConferenceSp;
189
294
  */
190
295
  var getSrs = function (options) {
191
296
  var _a;
192
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/ratings/srs' }));
297
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
298
+ {
299
+ scheme: 'bearer',
300
+ type: 'http'
301
+ }
302
+ ], url: '/ratings/srs' }, options));
193
303
  };
194
304
  exports.getSrs = getSrs;
195
305
  /**
@@ -197,7 +307,12 @@ exports.getSrs = getSrs;
197
307
  */
198
308
  var getElo = function (options) {
199
309
  var _a;
200
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/ratings/elo' }));
310
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
311
+ {
312
+ scheme: 'bearer',
313
+ type: 'http'
314
+ }
315
+ ], url: '/ratings/elo' }, options));
201
316
  };
202
317
  exports.getElo = getElo;
203
318
  /**
@@ -205,7 +320,12 @@ exports.getElo = getElo;
205
320
  */
206
321
  var getFpi = function (options) {
207
322
  var _a;
208
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/ratings/fpi' }));
323
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
324
+ {
325
+ scheme: 'bearer',
326
+ type: 'http'
327
+ }
328
+ ], url: '/ratings/fpi' }, options));
209
329
  };
210
330
  exports.getFpi = getFpi;
211
331
  /**
@@ -213,7 +333,12 @@ exports.getFpi = getFpi;
213
333
  */
214
334
  var getRankings = function (options) {
215
335
  var _a;
216
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/rankings' }));
336
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
337
+ {
338
+ scheme: 'bearer',
339
+ type: 'http'
340
+ }
341
+ ], url: '/rankings' }, options));
217
342
  };
218
343
  exports.getRankings = getRankings;
219
344
  /**
@@ -221,7 +346,12 @@ exports.getRankings = getRankings;
221
346
  */
222
347
  var getPlays = function (options) {
223
348
  var _a;
224
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/plays' }));
349
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
350
+ {
351
+ scheme: 'bearer',
352
+ type: 'http'
353
+ }
354
+ ], url: '/plays' }, options));
225
355
  };
226
356
  exports.getPlays = getPlays;
227
357
  /**
@@ -229,7 +359,12 @@ exports.getPlays = getPlays;
229
359
  */
230
360
  var getPlayTypes = function (options) {
231
361
  var _a;
232
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/plays/types' }));
362
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
363
+ {
364
+ scheme: 'bearer',
365
+ type: 'http'
366
+ }
367
+ ], url: '/plays/types' }, options));
233
368
  };
234
369
  exports.getPlayTypes = getPlayTypes;
235
370
  /**
@@ -237,7 +372,12 @@ exports.getPlayTypes = getPlayTypes;
237
372
  */
238
373
  var getPlayStats = function (options) {
239
374
  var _a;
240
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/plays/stats' }));
375
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
376
+ {
377
+ scheme: 'bearer',
378
+ type: 'http'
379
+ }
380
+ ], url: '/plays/stats' }, options));
241
381
  };
242
382
  exports.getPlayStats = getPlayStats;
243
383
  /**
@@ -245,7 +385,12 @@ exports.getPlayStats = getPlayStats;
245
385
  */
246
386
  var getPlayStatTypes = function (options) {
247
387
  var _a;
248
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/plays/stats/types' }));
388
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
389
+ {
390
+ scheme: 'bearer',
391
+ type: 'http'
392
+ }
393
+ ], url: '/plays/stats/types' }, options));
249
394
  };
250
395
  exports.getPlayStatTypes = getPlayStatTypes;
251
396
  /**
@@ -253,7 +398,12 @@ exports.getPlayStatTypes = getPlayStatTypes;
253
398
  */
254
399
  var searchPlayers = function (options) {
255
400
  var _a;
256
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/player/search' }));
401
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
402
+ {
403
+ scheme: 'bearer',
404
+ type: 'http'
405
+ }
406
+ ], url: '/player/search' }, options));
257
407
  };
258
408
  exports.searchPlayers = searchPlayers;
259
409
  /**
@@ -261,7 +411,12 @@ exports.searchPlayers = searchPlayers;
261
411
  */
262
412
  var getPlayerUsage = function (options) {
263
413
  var _a;
264
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/player/usage' }));
414
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
415
+ {
416
+ scheme: 'bearer',
417
+ type: 'http'
418
+ }
419
+ ], url: '/player/usage' }, options));
265
420
  };
266
421
  exports.getPlayerUsage = getPlayerUsage;
267
422
  /**
@@ -269,7 +424,12 @@ exports.getPlayerUsage = getPlayerUsage;
269
424
  */
270
425
  var getReturningProduction = function (options) {
271
426
  var _a;
272
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/player/returning' }));
427
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
428
+ {
429
+ scheme: 'bearer',
430
+ type: 'http'
431
+ }
432
+ ], url: '/player/returning' }, options));
273
433
  };
274
434
  exports.getReturningProduction = getReturningProduction;
275
435
  /**
@@ -277,7 +437,12 @@ exports.getReturningProduction = getReturningProduction;
277
437
  */
278
438
  var getTransferPortal = function (options) {
279
439
  var _a;
280
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/player/portal' }));
440
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
441
+ {
442
+ scheme: 'bearer',
443
+ type: 'http'
444
+ }
445
+ ], url: '/player/portal' }, options));
281
446
  };
282
447
  exports.getTransferPortal = getTransferPortal;
283
448
  /**
@@ -285,7 +450,12 @@ exports.getTransferPortal = getTransferPortal;
285
450
  */
286
451
  var getPredictedPoints = function (options) {
287
452
  var _a;
288
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/ppa/predicted' }));
453
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
454
+ {
455
+ scheme: 'bearer',
456
+ type: 'http'
457
+ }
458
+ ], url: '/ppa/predicted' }, options));
289
459
  };
290
460
  exports.getPredictedPoints = getPredictedPoints;
291
461
  /**
@@ -293,7 +463,12 @@ exports.getPredictedPoints = getPredictedPoints;
293
463
  */
294
464
  var getPredictedPointsAddedByTeam = function (options) {
295
465
  var _a;
296
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/ppa/teams' }));
466
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
467
+ {
468
+ scheme: 'bearer',
469
+ type: 'http'
470
+ }
471
+ ], url: '/ppa/teams' }, options));
297
472
  };
298
473
  exports.getPredictedPointsAddedByTeam = getPredictedPointsAddedByTeam;
299
474
  /**
@@ -301,7 +476,12 @@ exports.getPredictedPointsAddedByTeam = getPredictedPointsAddedByTeam;
301
476
  */
302
477
  var getPredictedPointsAddedByGame = function (options) {
303
478
  var _a;
304
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/ppa/games' }));
479
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
480
+ {
481
+ scheme: 'bearer',
482
+ type: 'http'
483
+ }
484
+ ], url: '/ppa/games' }, options));
305
485
  };
306
486
  exports.getPredictedPointsAddedByGame = getPredictedPointsAddedByGame;
307
487
  /**
@@ -309,7 +489,12 @@ exports.getPredictedPointsAddedByGame = getPredictedPointsAddedByGame;
309
489
  */
310
490
  var getPredictedPointsAddedByPlayerGame = function (options) {
311
491
  var _a;
312
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/ppa/players/games' }));
492
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
493
+ {
494
+ scheme: 'bearer',
495
+ type: 'http'
496
+ }
497
+ ], url: '/ppa/players/games' }, options));
313
498
  };
314
499
  exports.getPredictedPointsAddedByPlayerGame = getPredictedPointsAddedByPlayerGame;
315
500
  /**
@@ -317,7 +502,12 @@ exports.getPredictedPointsAddedByPlayerGame = getPredictedPointsAddedByPlayerGam
317
502
  */
318
503
  var getPredictedPointsAddedByPlayerSeason = function (options) {
319
504
  var _a;
320
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/ppa/players/season' }));
505
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
506
+ {
507
+ scheme: 'bearer',
508
+ type: 'http'
509
+ }
510
+ ], url: '/ppa/players/season' }, options));
321
511
  };
322
512
  exports.getPredictedPointsAddedByPlayerSeason = getPredictedPointsAddedByPlayerSeason;
323
513
  /**
@@ -325,7 +515,12 @@ exports.getPredictedPointsAddedByPlayerSeason = getPredictedPointsAddedByPlayerS
325
515
  */
326
516
  var getWinProbability = function (options) {
327
517
  var _a;
328
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/metrics/wp' }));
518
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
519
+ {
520
+ scheme: 'bearer',
521
+ type: 'http'
522
+ }
523
+ ], url: '/metrics/wp' }, options));
329
524
  };
330
525
  exports.getWinProbability = getWinProbability;
331
526
  /**
@@ -333,7 +528,12 @@ exports.getWinProbability = getWinProbability;
333
528
  */
334
529
  var getPregameWinProbabilities = function (options) {
335
530
  var _a;
336
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/metrics/wp/pregame' }));
531
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
532
+ {
533
+ scheme: 'bearer',
534
+ type: 'http'
535
+ }
536
+ ], url: '/metrics/wp/pregame' }, options));
337
537
  };
338
538
  exports.getPregameWinProbabilities = getPregameWinProbabilities;
339
539
  /**
@@ -341,7 +541,12 @@ exports.getPregameWinProbabilities = getPregameWinProbabilities;
341
541
  */
342
542
  var getFieldGoalExpectedPoints = function (options) {
343
543
  var _a;
344
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/metrics/fg/ep' }));
544
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
545
+ {
546
+ scheme: 'bearer',
547
+ type: 'http'
548
+ }
549
+ ], url: '/metrics/fg/ep' }, options));
345
550
  };
346
551
  exports.getFieldGoalExpectedPoints = getFieldGoalExpectedPoints;
347
552
  /**
@@ -349,7 +554,12 @@ exports.getFieldGoalExpectedPoints = getFieldGoalExpectedPoints;
349
554
  */
350
555
  var getLivePlays = function (options) {
351
556
  var _a;
352
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/live/plays' }));
557
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
558
+ {
559
+ scheme: 'bearer',
560
+ type: 'http'
561
+ }
562
+ ], url: '/live/plays' }, options));
353
563
  };
354
564
  exports.getLivePlays = getLivePlays;
355
565
  /**
@@ -357,7 +567,12 @@ exports.getLivePlays = getLivePlays;
357
567
  */
358
568
  var getLines = function (options) {
359
569
  var _a;
360
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/lines' }));
570
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
571
+ {
572
+ scheme: 'bearer',
573
+ type: 'http'
574
+ }
575
+ ], url: '/lines' }, options));
361
576
  };
362
577
  exports.getLines = getLines;
363
578
  /**
@@ -365,7 +580,12 @@ exports.getLines = getLines;
365
580
  */
366
581
  var getGames = function (options) {
367
582
  var _a;
368
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/games' }));
583
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
584
+ {
585
+ scheme: 'bearer',
586
+ type: 'http'
587
+ }
588
+ ], url: '/games' }, options));
369
589
  };
370
590
  exports.getGames = getGames;
371
591
  /**
@@ -373,7 +593,12 @@ exports.getGames = getGames;
373
593
  */
374
594
  var getGameTeamStats = function (options) {
375
595
  var _a;
376
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/games/teams' }));
596
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
597
+ {
598
+ scheme: 'bearer',
599
+ type: 'http'
600
+ }
601
+ ], url: '/games/teams' }, options));
377
602
  };
378
603
  exports.getGameTeamStats = getGameTeamStats;
379
604
  /**
@@ -381,7 +606,12 @@ exports.getGameTeamStats = getGameTeamStats;
381
606
  */
382
607
  var getGamePlayerStats = function (options) {
383
608
  var _a;
384
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/games/players' }));
609
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
610
+ {
611
+ scheme: 'bearer',
612
+ type: 'http'
613
+ }
614
+ ], url: '/games/players' }, options));
385
615
  };
386
616
  exports.getGamePlayerStats = getGamePlayerStats;
387
617
  /**
@@ -389,7 +619,12 @@ exports.getGamePlayerStats = getGamePlayerStats;
389
619
  */
390
620
  var getMedia = function (options) {
391
621
  var _a;
392
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/games/media' }));
622
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
623
+ {
624
+ scheme: 'bearer',
625
+ type: 'http'
626
+ }
627
+ ], url: '/games/media' }, options));
393
628
  };
394
629
  exports.getMedia = getMedia;
395
630
  /**
@@ -397,7 +632,12 @@ exports.getMedia = getMedia;
397
632
  */
398
633
  var getWeather = function (options) {
399
634
  var _a;
400
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/games/weather' }));
635
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
636
+ {
637
+ scheme: 'bearer',
638
+ type: 'http'
639
+ }
640
+ ], url: '/games/weather' }, options));
401
641
  };
402
642
  exports.getWeather = getWeather;
403
643
  /**
@@ -405,7 +645,12 @@ exports.getWeather = getWeather;
405
645
  */
406
646
  var getRecords = function (options) {
407
647
  var _a;
408
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/records' }));
648
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
649
+ {
650
+ scheme: 'bearer',
651
+ type: 'http'
652
+ }
653
+ ], url: '/records' }, options));
409
654
  };
410
655
  exports.getRecords = getRecords;
411
656
  /**
@@ -413,7 +658,12 @@ exports.getRecords = getRecords;
413
658
  */
414
659
  var getCalendar = function (options) {
415
660
  var _a;
416
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/calendar' }));
661
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
662
+ {
663
+ scheme: 'bearer',
664
+ type: 'http'
665
+ }
666
+ ], url: '/calendar' }, options));
417
667
  };
418
668
  exports.getCalendar = getCalendar;
419
669
  /**
@@ -421,7 +671,12 @@ exports.getCalendar = getCalendar;
421
671
  */
422
672
  var getScoreboard = function (options) {
423
673
  var _a;
424
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/scoreboard' }));
674
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
675
+ {
676
+ scheme: 'bearer',
677
+ type: 'http'
678
+ }
679
+ ], url: '/scoreboard' }, options));
425
680
  };
426
681
  exports.getScoreboard = getScoreboard;
427
682
  /**
@@ -429,7 +684,12 @@ exports.getScoreboard = getScoreboard;
429
684
  */
430
685
  var getDrives = function (options) {
431
686
  var _a;
432
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/drives' }));
687
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
688
+ {
689
+ scheme: 'bearer',
690
+ type: 'http'
691
+ }
692
+ ], url: '/drives' }, options));
433
693
  };
434
694
  exports.getDrives = getDrives;
435
695
  /**
@@ -437,7 +697,12 @@ exports.getDrives = getDrives;
437
697
  */
438
698
  var getDraftTeams = function (options) {
439
699
  var _a;
440
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/draft/teams' }));
700
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
701
+ {
702
+ scheme: 'bearer',
703
+ type: 'http'
704
+ }
705
+ ], url: '/draft/teams' }, options));
441
706
  };
442
707
  exports.getDraftTeams = getDraftTeams;
443
708
  /**
@@ -445,7 +710,12 @@ exports.getDraftTeams = getDraftTeams;
445
710
  */
446
711
  var getDraftPositions = function (options) {
447
712
  var _a;
448
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/draft/positions' }));
713
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
714
+ {
715
+ scheme: 'bearer',
716
+ type: 'http'
717
+ }
718
+ ], url: '/draft/positions' }, options));
449
719
  };
450
720
  exports.getDraftPositions = getDraftPositions;
451
721
  /**
@@ -453,7 +723,12 @@ exports.getDraftPositions = getDraftPositions;
453
723
  */
454
724
  var getDraftPicks = function (options) {
455
725
  var _a;
456
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/draft/picks' }));
726
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
727
+ {
728
+ scheme: 'bearer',
729
+ type: 'http'
730
+ }
731
+ ], url: '/draft/picks' }, options));
457
732
  };
458
733
  exports.getDraftPicks = getDraftPicks;
459
734
  /**
@@ -461,7 +736,12 @@ exports.getDraftPicks = getDraftPicks;
461
736
  */
462
737
  var getCoaches = function (options) {
463
738
  var _a;
464
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/coaches' }));
739
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
740
+ {
741
+ scheme: 'bearer',
742
+ type: 'http'
743
+ }
744
+ ], url: '/coaches' }, options));
465
745
  };
466
746
  exports.getCoaches = getCoaches;
467
747
  /**
@@ -469,6 +749,11 @@ exports.getCoaches = getCoaches;
469
749
  */
470
750
  var getAdvancedBoxScore = function (options) {
471
751
  var _a;
472
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign(__assign({}, options), { url: '/game/box/advanced' }));
752
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(__assign({ security: [
753
+ {
754
+ scheme: 'bearer',
755
+ type: 'http'
756
+ }
757
+ ], url: '/game/box/advanced' }, options));
473
758
  };
474
759
  exports.getAdvancedBoxScore = getAdvancedBoxScore;