@srating-io/types 1.1.5 → 2.0.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/api/api_key.d.ts +5 -0
- package/dist/api/billing.d.ts +55 -0
- package/dist/api/boxscore.d.ts +15 -0
- package/dist/api/coach_statistic_ranking.d.ts +7 -0
- package/dist/api/conference.d.ts +12 -0
- package/dist/api/conference_player_statistic_ranking.d.ts +9 -0
- package/dist/api/conference_statistic_ranking.d.ts +9 -0
- package/dist/api/fantasy_bracket_slot.d.ts +10 -0
- package/dist/api/fantasy_draft_order.d.ts +15 -0
- package/dist/api/fantasy_entry.d.ts +37 -0
- package/dist/api/fantasy_entry_player_statistic_ranking.d.ts +9 -0
- package/dist/api/fantasy_group.d.ts +77 -0
- package/dist/api/fantasy_group_comment.d.ts +10 -0
- package/dist/api/fantasy_group_invite.d.ts +10 -0
- package/dist/api/favorite.d.ts +33 -0
- package/dist/api/league_player_statistic_ranking.d.ts +9 -0
- package/dist/api/league_statistic_ranking.d.ts +9 -0
- package/dist/api/notification.d.ts +7 -0
- package/dist/api/play_by_play.d.ts +17 -0
- package/dist/api/player.d.ts +18 -0
- package/dist/api/player_boxscore.d.ts +15 -0
- package/dist/api/player_statistic_ranking.d.ts +9 -0
- package/dist/api/prediction.d.ts +17 -0
- package/dist/api/ranking.d.ts +22 -0
- package/dist/api/search.d.ts +36 -0
- package/dist/api/secret.d.ts +3 -0
- package/dist/api/session.d.ts +5 -0
- package/dist/api/statistic_ranking.d.ts +9 -0
- package/dist/api/user.d.ts +44 -0
- package/dist/api/user_payment_token.d.ts +51 -0
- package/dist/auth.d.ts +82 -0
- package/dist/fantasy.d.ts +200 -0
- package/dist/general.d.ts +7 -320
- package/dist/index.d.ts +33 -0
- package/dist/payments.d.ts +58 -0
- package/package.json +1 -1
package/dist/auth.d.ts
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
export interface User {
|
|
2
|
+
user_id: string;
|
|
3
|
+
username: string;
|
|
4
|
+
display_name: string | null;
|
|
5
|
+
stripe_customer: string;
|
|
6
|
+
default_user_payment_token_id: string | null;
|
|
7
|
+
date_of_entry: string;
|
|
8
|
+
updated_at: string;
|
|
9
|
+
guid: string;
|
|
10
|
+
deleted: number;
|
|
11
|
+
}
|
|
12
|
+
export type Users = {
|
|
13
|
+
[user_id: string]: User;
|
|
14
|
+
};
|
|
15
|
+
export interface Session {
|
|
16
|
+
session_id: string;
|
|
17
|
+
user_id: string;
|
|
18
|
+
expires_at: string;
|
|
19
|
+
guid: string;
|
|
20
|
+
deleted: number;
|
|
21
|
+
}
|
|
22
|
+
export type Sessions = {
|
|
23
|
+
[session_id: string]: Session;
|
|
24
|
+
};
|
|
25
|
+
export interface LoginCode {
|
|
26
|
+
login_code_id: string;
|
|
27
|
+
user_id: string;
|
|
28
|
+
code: number;
|
|
29
|
+
date_of_entry: string;
|
|
30
|
+
guid: string;
|
|
31
|
+
deleted: number;
|
|
32
|
+
}
|
|
33
|
+
export type LoginCodes = {
|
|
34
|
+
[login_code_id: string]: LoginCode;
|
|
35
|
+
};
|
|
36
|
+
export interface Secret {
|
|
37
|
+
secret_id: string;
|
|
38
|
+
expires: string;
|
|
39
|
+
date_of_entry: string;
|
|
40
|
+
guid: string;
|
|
41
|
+
deleted: number;
|
|
42
|
+
}
|
|
43
|
+
export type Secrets = {
|
|
44
|
+
[secret_id: string]: Secret;
|
|
45
|
+
};
|
|
46
|
+
export interface ApiKey {
|
|
47
|
+
api_key_id: string;
|
|
48
|
+
key: string;
|
|
49
|
+
user_id: string;
|
|
50
|
+
subscription_id: string;
|
|
51
|
+
usage: number;
|
|
52
|
+
usage_limit: number;
|
|
53
|
+
read: number;
|
|
54
|
+
write: number;
|
|
55
|
+
hidden_access: number;
|
|
56
|
+
rate_limiter: number;
|
|
57
|
+
query: number;
|
|
58
|
+
expires: number;
|
|
59
|
+
last_reset: number;
|
|
60
|
+
guid: string;
|
|
61
|
+
deleted: number;
|
|
62
|
+
}
|
|
63
|
+
export type ApiKeys = {
|
|
64
|
+
[api_key_id: string]: ApiKey;
|
|
65
|
+
};
|
|
66
|
+
export interface Notification {
|
|
67
|
+
notification_id: string;
|
|
68
|
+
user_id: string;
|
|
69
|
+
notification_type_terminology_id: string;
|
|
70
|
+
title: string;
|
|
71
|
+
message: string;
|
|
72
|
+
table: string;
|
|
73
|
+
id: string;
|
|
74
|
+
sent: number;
|
|
75
|
+
cleared: number;
|
|
76
|
+
date_of_entry: string;
|
|
77
|
+
guid: string;
|
|
78
|
+
deleted: number;
|
|
79
|
+
}
|
|
80
|
+
export type Notifications = {
|
|
81
|
+
[notification_id: string]: Notification;
|
|
82
|
+
};
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
export interface FantasyPayoutRule {
|
|
2
|
+
fantasy_payout_rule_id: string;
|
|
3
|
+
code: string;
|
|
4
|
+
name: string;
|
|
5
|
+
description: string;
|
|
6
|
+
json_payout_structure: object;
|
|
7
|
+
ordinal: number;
|
|
8
|
+
custom: number;
|
|
9
|
+
guid: string;
|
|
10
|
+
inactive: number;
|
|
11
|
+
deleted: number;
|
|
12
|
+
}
|
|
13
|
+
export type FantasyPayoutRules = {
|
|
14
|
+
[fantasy_payout_rule_id: string]: FantasyPayoutRule;
|
|
15
|
+
};
|
|
16
|
+
export interface FantasyGroupInvite {
|
|
17
|
+
fantasy_group_invite_id: string;
|
|
18
|
+
fantasy_group_id: string;
|
|
19
|
+
email: string;
|
|
20
|
+
code?: string;
|
|
21
|
+
joined: number;
|
|
22
|
+
expires: string;
|
|
23
|
+
date_of_entry: string;
|
|
24
|
+
guid: string;
|
|
25
|
+
deleted: number;
|
|
26
|
+
}
|
|
27
|
+
export type FantasyGroupInvites = {
|
|
28
|
+
[fantasy_group_invite_id: string]: FantasyGroupInvite;
|
|
29
|
+
};
|
|
30
|
+
export interface FantasyGroupUser {
|
|
31
|
+
fantasy_group_user_id: string;
|
|
32
|
+
fantasy_group_id: string;
|
|
33
|
+
user_id: string;
|
|
34
|
+
email?: string;
|
|
35
|
+
name?: string;
|
|
36
|
+
date_of_entry: string;
|
|
37
|
+
guid: string;
|
|
38
|
+
deleted: number;
|
|
39
|
+
}
|
|
40
|
+
export type FantasyGroupUsers = {
|
|
41
|
+
[fantasy_group_user_id: string]: FantasyGroupUser;
|
|
42
|
+
};
|
|
43
|
+
export interface FantasyGroupComment {
|
|
44
|
+
fantasy_group_comment_id: string;
|
|
45
|
+
fantasy_group_id: string;
|
|
46
|
+
comment_type_terminology_id: string;
|
|
47
|
+
user_id: string;
|
|
48
|
+
comment: string;
|
|
49
|
+
date_of_entry: string;
|
|
50
|
+
guid: string;
|
|
51
|
+
deleted: number;
|
|
52
|
+
}
|
|
53
|
+
export type FantasyGroupComments = {
|
|
54
|
+
[fantasy_group_comment_id: string]: FantasyGroupComment;
|
|
55
|
+
};
|
|
56
|
+
export interface FantasyGroup {
|
|
57
|
+
fantasy_group_id: string;
|
|
58
|
+
organization_id: string;
|
|
59
|
+
division_id: string;
|
|
60
|
+
season: number;
|
|
61
|
+
name: string;
|
|
62
|
+
fantasy_payout_rule_id: string | null;
|
|
63
|
+
fantasy_group_type_terminology_id: string | null;
|
|
64
|
+
draft_type_terminology_id: string | null;
|
|
65
|
+
draft_scoring_terminology_id: string | null;
|
|
66
|
+
start_date: string | null;
|
|
67
|
+
end_date: string | null;
|
|
68
|
+
draft_start_datetime: string | null;
|
|
69
|
+
cap: number;
|
|
70
|
+
entries: number | null;
|
|
71
|
+
entries_per_user: number;
|
|
72
|
+
free: number;
|
|
73
|
+
entry_fee: number | null;
|
|
74
|
+
open_invites: number;
|
|
75
|
+
locked: number;
|
|
76
|
+
private: number;
|
|
77
|
+
started: number;
|
|
78
|
+
drafted: number;
|
|
79
|
+
finished: number;
|
|
80
|
+
notified_24_hours: number;
|
|
81
|
+
notified_15_mins: number;
|
|
82
|
+
notified_finished: number;
|
|
83
|
+
draft_time_per_user_in_seconds: number | null;
|
|
84
|
+
date_of_entry: string;
|
|
85
|
+
guid: string;
|
|
86
|
+
deleted: number;
|
|
87
|
+
}
|
|
88
|
+
export type FantasyGroups = {
|
|
89
|
+
[fantasy_group_id: string]: FantasyGroup;
|
|
90
|
+
};
|
|
91
|
+
export interface FantasyEntry {
|
|
92
|
+
fantasy_entry_id: string;
|
|
93
|
+
fantasy_group_id: string;
|
|
94
|
+
user_id: string;
|
|
95
|
+
name: string;
|
|
96
|
+
paid: number;
|
|
97
|
+
date_of_entry: string;
|
|
98
|
+
guid: string;
|
|
99
|
+
deleted: number;
|
|
100
|
+
}
|
|
101
|
+
export type FantasyEntrys = {
|
|
102
|
+
[fantasy_entry_id: string]: FantasyEntry;
|
|
103
|
+
};
|
|
104
|
+
export interface FantasyDraftOrder {
|
|
105
|
+
fantasy_draft_order_id: string;
|
|
106
|
+
child_fantasy_draft_order_id: string | null;
|
|
107
|
+
fantasy_entry_id: string;
|
|
108
|
+
fantasy_group_id: string;
|
|
109
|
+
fantasy_entry_player_id: string;
|
|
110
|
+
round: number;
|
|
111
|
+
pick: number;
|
|
112
|
+
eligible: string;
|
|
113
|
+
expires: string;
|
|
114
|
+
notified: number;
|
|
115
|
+
picked: number;
|
|
116
|
+
guid: string;
|
|
117
|
+
deleted: number;
|
|
118
|
+
}
|
|
119
|
+
export type FantasyDraftOrders = {
|
|
120
|
+
[fantasy_draft_order_id: string]: FantasyDraftOrder;
|
|
121
|
+
};
|
|
122
|
+
export interface FantasyEntryPlayer {
|
|
123
|
+
fantasy_entry_player_id: string;
|
|
124
|
+
fantasy_group_id: string;
|
|
125
|
+
fantasy_entry_id: string;
|
|
126
|
+
player_team_season_id: string;
|
|
127
|
+
date_of_entry: string;
|
|
128
|
+
guid: string;
|
|
129
|
+
deleted: number;
|
|
130
|
+
}
|
|
131
|
+
export type FantasyEntryPlayers = {
|
|
132
|
+
[fantasy_entry_player_id: string]: FantasyEntryPlayer;
|
|
133
|
+
};
|
|
134
|
+
export interface FantasyBracketSlot {
|
|
135
|
+
fantasy_bracket_slot_id: string;
|
|
136
|
+
first_parent_fantasy_bracket_slot_id: string;
|
|
137
|
+
second_parent_fantasy_bracket_slot_id: string;
|
|
138
|
+
child_fantasy_bracket_slot_id: string;
|
|
139
|
+
fantasy_group_id: string;
|
|
140
|
+
fantasy_entry_id: string;
|
|
141
|
+
actual_first_team_id: string | null;
|
|
142
|
+
actual_second_team_id: string | null;
|
|
143
|
+
third_team_id: string | null;
|
|
144
|
+
picked_first_team_id: string | null;
|
|
145
|
+
picked_second_team_id: string | null;
|
|
146
|
+
picked_winner_team_id: string | null;
|
|
147
|
+
tie_breaker_total_score: number | null;
|
|
148
|
+
game_id: string | null;
|
|
149
|
+
region: string;
|
|
150
|
+
round: number;
|
|
151
|
+
slot: number;
|
|
152
|
+
locked: number;
|
|
153
|
+
picked: number;
|
|
154
|
+
date_of_entry: string;
|
|
155
|
+
guid: string;
|
|
156
|
+
deleted: number;
|
|
157
|
+
}
|
|
158
|
+
export type FantasyBracketSlots = {
|
|
159
|
+
[fantasy_bracket_slot_id: string]: FantasyBracketSlot;
|
|
160
|
+
};
|
|
161
|
+
export interface FantasyRanking {
|
|
162
|
+
fantasy_ranking_id: string;
|
|
163
|
+
parent_fantasy_ranking_id: string;
|
|
164
|
+
fantasy_group_id: string;
|
|
165
|
+
fantasy_entry_id: string;
|
|
166
|
+
date_of_rank: string;
|
|
167
|
+
max: number;
|
|
168
|
+
rank: number;
|
|
169
|
+
rank_delta_one: number;
|
|
170
|
+
rank_delta_seven: number;
|
|
171
|
+
points: number;
|
|
172
|
+
date_of_entry: string;
|
|
173
|
+
updated_at: string;
|
|
174
|
+
current: number;
|
|
175
|
+
guid: string;
|
|
176
|
+
deleted: number;
|
|
177
|
+
}
|
|
178
|
+
export type FantasyRankings = {
|
|
179
|
+
[fantasy_ranking_id: string]: FantasyRanking;
|
|
180
|
+
};
|
|
181
|
+
export interface FantasyEntryPlayerStatisticRanking {
|
|
182
|
+
fantasy_entry_player_statistic_ranking_id: string;
|
|
183
|
+
parent_fantasy_entry_player_statistic_ranking_id: string;
|
|
184
|
+
organization_id: string;
|
|
185
|
+
division_id: string;
|
|
186
|
+
season: number;
|
|
187
|
+
fantasy_group_id: string;
|
|
188
|
+
fantasy_entry_id: string;
|
|
189
|
+
fantasy_entry_player_id: string;
|
|
190
|
+
sport_player_statistic_id: string;
|
|
191
|
+
date_of_rank: string;
|
|
192
|
+
date_of_entry: string;
|
|
193
|
+
updated_at: string;
|
|
194
|
+
current: number;
|
|
195
|
+
guid: string;
|
|
196
|
+
deleted: number;
|
|
197
|
+
}
|
|
198
|
+
export type FantasyEntryPlayerStatisticRankings = {
|
|
199
|
+
[fantasy_entry_player_statistic_ranking_id: string]: FantasyEntryPlayerStatisticRanking;
|
|
200
|
+
};
|
package/dist/general.d.ts
CHANGED
|
@@ -20,21 +20,6 @@ export interface Division {
|
|
|
20
20
|
export type Divisions = {
|
|
21
21
|
[division_id: string]: Division;
|
|
22
22
|
};
|
|
23
|
-
export interface FantasyPayoutRule {
|
|
24
|
-
fantasy_payout_rule_id: string;
|
|
25
|
-
code: string;
|
|
26
|
-
name: string;
|
|
27
|
-
description: string;
|
|
28
|
-
json_payout_structure: object;
|
|
29
|
-
ordinal: number;
|
|
30
|
-
custom: number;
|
|
31
|
-
guid: string;
|
|
32
|
-
inactive: number;
|
|
33
|
-
deleted: number;
|
|
34
|
-
}
|
|
35
|
-
export type FantasyPayoutRules = {
|
|
36
|
-
[fantasy_payout_rule_id: string]: FantasyPayoutRule;
|
|
37
|
-
};
|
|
38
23
|
export interface Terminology {
|
|
39
24
|
terminology_id: string;
|
|
40
25
|
code: string;
|
|
@@ -48,115 +33,6 @@ export interface Terminology {
|
|
|
48
33
|
export type Terminologies = {
|
|
49
34
|
[terminology_id: string]: Terminology;
|
|
50
35
|
};
|
|
51
|
-
export interface Subscription {
|
|
52
|
-
subscription_id: string;
|
|
53
|
-
user_id: string;
|
|
54
|
-
pricing_id: string;
|
|
55
|
-
stripe_subscription: string;
|
|
56
|
-
date_of_entry: string;
|
|
57
|
-
updated_at: string;
|
|
58
|
-
expires: string;
|
|
59
|
-
renewed: string;
|
|
60
|
-
guid: string;
|
|
61
|
-
deleted: number;
|
|
62
|
-
}
|
|
63
|
-
export type Subscriptions = {
|
|
64
|
-
[subscription_id: string]: Subscription;
|
|
65
|
-
};
|
|
66
|
-
export interface PaymentRouter {
|
|
67
|
-
payment_router_id: string;
|
|
68
|
-
stripe_object: string;
|
|
69
|
-
stripe_id: string;
|
|
70
|
-
table: string;
|
|
71
|
-
id: string;
|
|
72
|
-
date_of_entry: string;
|
|
73
|
-
handled: number;
|
|
74
|
-
guid: string;
|
|
75
|
-
deleted: number;
|
|
76
|
-
}
|
|
77
|
-
export type PaymentRouters = {
|
|
78
|
-
[payment_router_id: string]: PaymentRouter;
|
|
79
|
-
};
|
|
80
|
-
export interface Pricing {
|
|
81
|
-
pricing_id: string;
|
|
82
|
-
stripe_pricing_id: string;
|
|
83
|
-
test_stripe_pricing_id: string;
|
|
84
|
-
code: string;
|
|
85
|
-
name: string;
|
|
86
|
-
description: string;
|
|
87
|
-
type: 'api' | 'picks' | 'trial';
|
|
88
|
-
requests: number;
|
|
89
|
-
read: number;
|
|
90
|
-
guid: string;
|
|
91
|
-
deleted: number;
|
|
92
|
-
}
|
|
93
|
-
export type Pricings = {
|
|
94
|
-
[pricing_id: string]: Pricing;
|
|
95
|
-
};
|
|
96
|
-
export interface ApiKey {
|
|
97
|
-
api_key_id: string;
|
|
98
|
-
key: string;
|
|
99
|
-
user_id: string;
|
|
100
|
-
subscription_id: string;
|
|
101
|
-
requests: number;
|
|
102
|
-
request_limit: number;
|
|
103
|
-
read: number;
|
|
104
|
-
write: number;
|
|
105
|
-
hidden_access: number;
|
|
106
|
-
rate_limiter: number;
|
|
107
|
-
query: number;
|
|
108
|
-
expires: number;
|
|
109
|
-
last_reset: number;
|
|
110
|
-
guid: string;
|
|
111
|
-
deleted: number;
|
|
112
|
-
}
|
|
113
|
-
export type ApiKeys = {
|
|
114
|
-
[api_key_id: string]: ApiKey;
|
|
115
|
-
};
|
|
116
|
-
export interface User {
|
|
117
|
-
user_id: string;
|
|
118
|
-
username: string;
|
|
119
|
-
display_name: string | null;
|
|
120
|
-
stripe_customer: string;
|
|
121
|
-
default_user_payment_token_id: string | null;
|
|
122
|
-
date_of_entry: string;
|
|
123
|
-
updated_at: string;
|
|
124
|
-
guid: string;
|
|
125
|
-
deleted: number;
|
|
126
|
-
}
|
|
127
|
-
export type Users = {
|
|
128
|
-
[user_id: string]: User;
|
|
129
|
-
};
|
|
130
|
-
export interface UserPaymentToken {
|
|
131
|
-
user_payment_token_id: string;
|
|
132
|
-
user_id: string;
|
|
133
|
-
token: string;
|
|
134
|
-
type: string;
|
|
135
|
-
json_data: object;
|
|
136
|
-
date_of_entry: string;
|
|
137
|
-
guid: string;
|
|
138
|
-
deleted: number;
|
|
139
|
-
}
|
|
140
|
-
export type UserPaymentTokens = {
|
|
141
|
-
[user_payment_token_id: string]: UserPaymentToken;
|
|
142
|
-
};
|
|
143
|
-
export interface Notification {
|
|
144
|
-
notification_id: string;
|
|
145
|
-
user_id: string;
|
|
146
|
-
notification_type_terminology_id: string;
|
|
147
|
-
title: string;
|
|
148
|
-
message: string;
|
|
149
|
-
table: string;
|
|
150
|
-
id: string;
|
|
151
|
-
sent: number;
|
|
152
|
-
cleared: number;
|
|
153
|
-
date_of_entry: string;
|
|
154
|
-
guid: string;
|
|
155
|
-
deleted: number;
|
|
156
|
-
}
|
|
157
|
-
export type Notifications = {
|
|
158
|
-
[notification_id: string]: Notification;
|
|
159
|
-
};
|
|
160
36
|
export interface Conference {
|
|
161
37
|
conference_id: string;
|
|
162
38
|
parent_conference_id: string;
|
|
@@ -179,6 +55,8 @@ export interface Team {
|
|
|
179
55
|
secondary_color: string;
|
|
180
56
|
guid: string;
|
|
181
57
|
deleted: number;
|
|
58
|
+
conference_id?: string;
|
|
59
|
+
division_id?: string;
|
|
182
60
|
}
|
|
183
61
|
export type Teams = {
|
|
184
62
|
[team_id: string]: Team;
|
|
@@ -287,7 +165,6 @@ export interface CoachElo {
|
|
|
287
165
|
current: number;
|
|
288
166
|
date_of_entry: string;
|
|
289
167
|
updated_at: string;
|
|
290
|
-
guid: string;
|
|
291
168
|
deleted: number;
|
|
292
169
|
}
|
|
293
170
|
export type CoachElos = {
|
|
@@ -303,7 +180,6 @@ export interface Elo {
|
|
|
303
180
|
current: number;
|
|
304
181
|
date_of_entry: string;
|
|
305
182
|
updated_at: string;
|
|
306
|
-
guid: string;
|
|
307
183
|
deleted: number;
|
|
308
184
|
}
|
|
309
185
|
export type Elos = {
|
|
@@ -319,7 +195,6 @@ export interface PlayerElo {
|
|
|
319
195
|
current: number;
|
|
320
196
|
date_of_entry: string;
|
|
321
197
|
updated_at: string;
|
|
322
|
-
guid: string;
|
|
323
198
|
deleted: number;
|
|
324
199
|
}
|
|
325
200
|
export type PlayerElos = {
|
|
@@ -334,6 +209,10 @@ export interface Player {
|
|
|
334
209
|
weight: string;
|
|
335
210
|
number: string;
|
|
336
211
|
hometown: string;
|
|
212
|
+
college?: string;
|
|
213
|
+
draft_year?: string;
|
|
214
|
+
draft_round?: string;
|
|
215
|
+
draft_number?: string;
|
|
337
216
|
class_year?: string;
|
|
338
217
|
guid: string;
|
|
339
218
|
deleted: number;
|
|
@@ -400,7 +279,6 @@ export interface Odds {
|
|
|
400
279
|
date_of_entry: string;
|
|
401
280
|
live: number;
|
|
402
281
|
current: number;
|
|
403
|
-
guid: string;
|
|
404
282
|
deleted: number;
|
|
405
283
|
}
|
|
406
284
|
export type Oddsz = {
|
|
@@ -472,7 +350,6 @@ export interface CoachStatisticRanking {
|
|
|
472
350
|
home_win_percentage_rank: number;
|
|
473
351
|
road_win_percentage_rank: number;
|
|
474
352
|
neutral_win_percentage_rank: number;
|
|
475
|
-
guid: string;
|
|
476
353
|
date_of_rank: string;
|
|
477
354
|
current: number;
|
|
478
355
|
deleted: number;
|
|
@@ -491,189 +368,6 @@ export interface RankingColumns {
|
|
|
491
368
|
disabled?: boolean;
|
|
492
369
|
};
|
|
493
370
|
}
|
|
494
|
-
export interface FantasyGroupInvite {
|
|
495
|
-
fantasy_group_invite_id: string;
|
|
496
|
-
fantasy_group_id: string;
|
|
497
|
-
email: string;
|
|
498
|
-
code?: string;
|
|
499
|
-
expires: string;
|
|
500
|
-
date_of_entry: string;
|
|
501
|
-
guid: string;
|
|
502
|
-
deleted: number;
|
|
503
|
-
}
|
|
504
|
-
export type FantasyGroupInvites = {
|
|
505
|
-
[fantasy_group_invite_id: string]: FantasyGroupInvite;
|
|
506
|
-
};
|
|
507
|
-
export interface FantasyGroupUser {
|
|
508
|
-
fantasy_group_user_id: string;
|
|
509
|
-
fantasy_group_id: string;
|
|
510
|
-
user_id: string;
|
|
511
|
-
email?: string;
|
|
512
|
-
name?: string;
|
|
513
|
-
date_of_entry: string;
|
|
514
|
-
guid: string;
|
|
515
|
-
deleted: number;
|
|
516
|
-
}
|
|
517
|
-
export type FantasyGroupUsers = {
|
|
518
|
-
[fantasy_group_user_id: string]: FantasyGroupUser;
|
|
519
|
-
};
|
|
520
|
-
export interface FantasyGroupComment {
|
|
521
|
-
fantasy_group_comment_id: string;
|
|
522
|
-
fantasy_group_id: string;
|
|
523
|
-
comment_type_terminology_id: string;
|
|
524
|
-
user_id: string;
|
|
525
|
-
comment: string;
|
|
526
|
-
date_of_entry: string;
|
|
527
|
-
guid: string;
|
|
528
|
-
deleted: number;
|
|
529
|
-
}
|
|
530
|
-
export type FantasyGroupComments = {
|
|
531
|
-
[fantasy_group_comment_id: string]: FantasyGroupComment;
|
|
532
|
-
};
|
|
533
|
-
export interface FantasyGroup {
|
|
534
|
-
fantasy_group_id: string;
|
|
535
|
-
organization_id: string;
|
|
536
|
-
division_id: string;
|
|
537
|
-
season: number;
|
|
538
|
-
name: string;
|
|
539
|
-
fantasy_payout_rule_id: string | null;
|
|
540
|
-
fantasy_group_type_terminology_id: string | null;
|
|
541
|
-
draft_type_terminology_id: string | null;
|
|
542
|
-
draft_scoring_terminology_id: string | null;
|
|
543
|
-
start_date: string | null;
|
|
544
|
-
end_date: string | null;
|
|
545
|
-
draft_start_datetime: string | null;
|
|
546
|
-
cap: number;
|
|
547
|
-
entries: number | null;
|
|
548
|
-
entries_per_user: number;
|
|
549
|
-
free: number;
|
|
550
|
-
entry_fee: number | null;
|
|
551
|
-
open_invites: number;
|
|
552
|
-
locked: number;
|
|
553
|
-
private: number;
|
|
554
|
-
started: number;
|
|
555
|
-
drafted: number;
|
|
556
|
-
finished: number;
|
|
557
|
-
notified_24_hours: number;
|
|
558
|
-
notified_15_mins: number;
|
|
559
|
-
notified_finished: number;
|
|
560
|
-
draft_time_per_user_in_seconds: number | null;
|
|
561
|
-
date_of_entry: string;
|
|
562
|
-
guid: string;
|
|
563
|
-
deleted: number;
|
|
564
|
-
}
|
|
565
|
-
export type FantasyGroups = {
|
|
566
|
-
[fantasy_group_id: string]: FantasyGroup;
|
|
567
|
-
};
|
|
568
|
-
export interface FantasyEntry {
|
|
569
|
-
fantasy_entry_id: string;
|
|
570
|
-
fantasy_group_id: string;
|
|
571
|
-
user_id: string;
|
|
572
|
-
name: string;
|
|
573
|
-
paid: number;
|
|
574
|
-
date_of_entry: string;
|
|
575
|
-
guid: string;
|
|
576
|
-
deleted: number;
|
|
577
|
-
}
|
|
578
|
-
export type FantasyEntrys = {
|
|
579
|
-
[fantasy_entry_id: string]: FantasyEntry;
|
|
580
|
-
};
|
|
581
|
-
export interface FantasyDraftOrder {
|
|
582
|
-
fantasy_draft_order_id: string;
|
|
583
|
-
fantasy_entry_id: string;
|
|
584
|
-
fantasy_group_id: string;
|
|
585
|
-
fantasy_entry_player_id: string;
|
|
586
|
-
round: number;
|
|
587
|
-
pick: number;
|
|
588
|
-
eligible: string;
|
|
589
|
-
expires: string;
|
|
590
|
-
notified: number;
|
|
591
|
-
picked: number;
|
|
592
|
-
guid: string;
|
|
593
|
-
deleted: number;
|
|
594
|
-
}
|
|
595
|
-
export type FantasyDraftOrders = {
|
|
596
|
-
[fantasy_draft_order_id: string]: FantasyDraftOrder;
|
|
597
|
-
};
|
|
598
|
-
export interface FantasyEntryPlayer {
|
|
599
|
-
fantasy_entry_player_id: string;
|
|
600
|
-
fantasy_group_id: string;
|
|
601
|
-
fantasy_entry_id: string;
|
|
602
|
-
player_team_season_id: string;
|
|
603
|
-
date_of_entry: string;
|
|
604
|
-
guid: string;
|
|
605
|
-
deleted: number;
|
|
606
|
-
}
|
|
607
|
-
export type FantasyEntryPlayers = {
|
|
608
|
-
[fantasy_entry_player_id: string]: FantasyEntryPlayer;
|
|
609
|
-
};
|
|
610
|
-
export interface FantasyBracketSlot {
|
|
611
|
-
fantasy_bracket_slot_id: string;
|
|
612
|
-
first_parent_fantasy_bracket_slot_id: string;
|
|
613
|
-
second_parent_fantasy_bracket_slot_id: string;
|
|
614
|
-
child_fantasy_bracket_slot_id: string;
|
|
615
|
-
fantasy_group_id: string;
|
|
616
|
-
fantasy_entry_id: string;
|
|
617
|
-
actual_first_team_id: string | null;
|
|
618
|
-
actual_second_team_id: string | null;
|
|
619
|
-
third_team_id: string | null;
|
|
620
|
-
picked_first_team_id: string | null;
|
|
621
|
-
picked_second_team_id: string | null;
|
|
622
|
-
picked_winner_team_id: string | null;
|
|
623
|
-
tie_breaker_total_score: number | null;
|
|
624
|
-
game_id: string | null;
|
|
625
|
-
region: string;
|
|
626
|
-
round: number;
|
|
627
|
-
slot: number;
|
|
628
|
-
locked: number;
|
|
629
|
-
picked: number;
|
|
630
|
-
date_of_entry: string;
|
|
631
|
-
guid: string;
|
|
632
|
-
deleted: number;
|
|
633
|
-
}
|
|
634
|
-
export type FantasyBracketSlots = {
|
|
635
|
-
[fantasy_bracket_slot_id: string]: FantasyBracketSlot;
|
|
636
|
-
};
|
|
637
|
-
export interface FantasyRanking {
|
|
638
|
-
fantasy_ranking_id: string;
|
|
639
|
-
parent_fantasy_ranking_id: string;
|
|
640
|
-
fantasy_group_id: string;
|
|
641
|
-
fantasy_entry_id: string;
|
|
642
|
-
date_of_rank: string;
|
|
643
|
-
max: number;
|
|
644
|
-
rank: number;
|
|
645
|
-
rank_delta_one: number;
|
|
646
|
-
rank_delta_seven: number;
|
|
647
|
-
points: number;
|
|
648
|
-
date_of_entry: string;
|
|
649
|
-
updated_at: string;
|
|
650
|
-
current: number;
|
|
651
|
-
guid: string;
|
|
652
|
-
deleted: number;
|
|
653
|
-
}
|
|
654
|
-
export type FantasyRankings = {
|
|
655
|
-
[fantasy_ranking_id: string]: FantasyRanking;
|
|
656
|
-
};
|
|
657
|
-
export interface FantasyEntryPlayerStatisticRanking {
|
|
658
|
-
fantasy_entry_player_statistic_ranking_id: string;
|
|
659
|
-
parent_fantasy_entry_player_statistic_ranking_id: string;
|
|
660
|
-
organization_id: string;
|
|
661
|
-
division_id: string;
|
|
662
|
-
season: number;
|
|
663
|
-
fantasy_group_id: string;
|
|
664
|
-
fantasy_entry_id: string;
|
|
665
|
-
fantasy_entry_player_id: string;
|
|
666
|
-
sport_player_statistic_id: string;
|
|
667
|
-
date_of_rank: string;
|
|
668
|
-
date_of_entry: string;
|
|
669
|
-
updated_at: string;
|
|
670
|
-
current: number;
|
|
671
|
-
guid: string;
|
|
672
|
-
deleted: number;
|
|
673
|
-
}
|
|
674
|
-
export type FantasyEntryPlayerStatisticRankings = {
|
|
675
|
-
[fantasy_entry_player_statistic_ranking_id: string]: FantasyEntryPlayerStatisticRanking;
|
|
676
|
-
};
|
|
677
371
|
export interface BracketTeam {
|
|
678
372
|
bracket_team_id: string;
|
|
679
373
|
organization_id: string;
|
|
@@ -701,7 +395,6 @@ export interface Boxscore {
|
|
|
701
395
|
sport_boxscore_id: string;
|
|
702
396
|
season: number;
|
|
703
397
|
final: number;
|
|
704
|
-
guid: string;
|
|
705
398
|
deleted: number;
|
|
706
399
|
}
|
|
707
400
|
export type Boxscores = {
|
|
@@ -717,7 +410,6 @@ export interface PlayerBoxscore {
|
|
|
717
410
|
sport_player_boxscore_id: string;
|
|
718
411
|
season: number;
|
|
719
412
|
final: number;
|
|
720
|
-
guid: string;
|
|
721
413
|
deleted: number;
|
|
722
414
|
}
|
|
723
415
|
export type PlayerBoxscores = {
|
|
@@ -743,7 +435,6 @@ export interface StatisticRanking {
|
|
|
743
435
|
parent_statistic_ranking_id: string | null;
|
|
744
436
|
last_game_id: string;
|
|
745
437
|
sport_statistic_id: string;
|
|
746
|
-
guid: string;
|
|
747
438
|
date_of_rank: string;
|
|
748
439
|
updated_at: string;
|
|
749
440
|
current: number;
|
|
@@ -761,8 +452,8 @@ export interface PlayerStatisticRanking {
|
|
|
761
452
|
player_id: string;
|
|
762
453
|
player_team_season_id: string;
|
|
763
454
|
parent_player_statistic_ranking_id: string | null;
|
|
455
|
+
last_game_id: string;
|
|
764
456
|
sport_player_statistic_id: string;
|
|
765
|
-
guid: string;
|
|
766
457
|
date_of_rank: string;
|
|
767
458
|
updated_at: string;
|
|
768
459
|
current: number;
|
|
@@ -779,7 +470,6 @@ export interface ConferenceStatisticRanking {
|
|
|
779
470
|
season: number;
|
|
780
471
|
parent_conference_statistic_ranking_id: string;
|
|
781
472
|
sport_conference_statistic_id: string;
|
|
782
|
-
guid: string;
|
|
783
473
|
date_of_rank: string;
|
|
784
474
|
updated_at: string;
|
|
785
475
|
current: number;
|
|
@@ -798,7 +488,6 @@ export interface ConferencePlayerStatisticRanking {
|
|
|
798
488
|
date_of_rank: string;
|
|
799
489
|
updated_at: string;
|
|
800
490
|
current: number;
|
|
801
|
-
guid: string;
|
|
802
491
|
deleted: number;
|
|
803
492
|
}
|
|
804
493
|
export type ConferencePlayerStatisticRankings = {
|
|
@@ -810,7 +499,6 @@ export interface LeagueStatisticRanking {
|
|
|
810
499
|
division_id: string;
|
|
811
500
|
sport_league_statistic_id: string;
|
|
812
501
|
season: number;
|
|
813
|
-
guid: string;
|
|
814
502
|
date_of_rank: string;
|
|
815
503
|
updated_at: string;
|
|
816
504
|
current: number;
|
|
@@ -827,7 +515,6 @@ export interface LeaguePlayerStatisticRanking {
|
|
|
827
515
|
season: number;
|
|
828
516
|
date_of_rank: string;
|
|
829
517
|
updated_at: string;
|
|
830
|
-
guid: string;
|
|
831
518
|
current: number;
|
|
832
519
|
deleted: number;
|
|
833
520
|
}
|