@srating-io/types 1.1.6 → 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 +6 -308
- 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;
|
|
@@ -331,6 +209,10 @@ export interface Player {
|
|
|
331
209
|
weight: string;
|
|
332
210
|
number: string;
|
|
333
211
|
hometown: string;
|
|
212
|
+
college?: string;
|
|
213
|
+
draft_year?: string;
|
|
214
|
+
draft_round?: string;
|
|
215
|
+
draft_number?: string;
|
|
334
216
|
class_year?: string;
|
|
335
217
|
guid: string;
|
|
336
218
|
deleted: number;
|
|
@@ -397,7 +279,6 @@ export interface Odds {
|
|
|
397
279
|
date_of_entry: string;
|
|
398
280
|
live: number;
|
|
399
281
|
current: number;
|
|
400
|
-
guid: string;
|
|
401
282
|
deleted: number;
|
|
402
283
|
}
|
|
403
284
|
export type Oddsz = {
|
|
@@ -487,189 +368,6 @@ export interface RankingColumns {
|
|
|
487
368
|
disabled?: boolean;
|
|
488
369
|
};
|
|
489
370
|
}
|
|
490
|
-
export interface FantasyGroupInvite {
|
|
491
|
-
fantasy_group_invite_id: string;
|
|
492
|
-
fantasy_group_id: string;
|
|
493
|
-
email: string;
|
|
494
|
-
code?: string;
|
|
495
|
-
expires: string;
|
|
496
|
-
date_of_entry: string;
|
|
497
|
-
guid: string;
|
|
498
|
-
deleted: number;
|
|
499
|
-
}
|
|
500
|
-
export type FantasyGroupInvites = {
|
|
501
|
-
[fantasy_group_invite_id: string]: FantasyGroupInvite;
|
|
502
|
-
};
|
|
503
|
-
export interface FantasyGroupUser {
|
|
504
|
-
fantasy_group_user_id: string;
|
|
505
|
-
fantasy_group_id: string;
|
|
506
|
-
user_id: string;
|
|
507
|
-
email?: string;
|
|
508
|
-
name?: string;
|
|
509
|
-
date_of_entry: string;
|
|
510
|
-
guid: string;
|
|
511
|
-
deleted: number;
|
|
512
|
-
}
|
|
513
|
-
export type FantasyGroupUsers = {
|
|
514
|
-
[fantasy_group_user_id: string]: FantasyGroupUser;
|
|
515
|
-
};
|
|
516
|
-
export interface FantasyGroupComment {
|
|
517
|
-
fantasy_group_comment_id: string;
|
|
518
|
-
fantasy_group_id: string;
|
|
519
|
-
comment_type_terminology_id: string;
|
|
520
|
-
user_id: string;
|
|
521
|
-
comment: string;
|
|
522
|
-
date_of_entry: string;
|
|
523
|
-
guid: string;
|
|
524
|
-
deleted: number;
|
|
525
|
-
}
|
|
526
|
-
export type FantasyGroupComments = {
|
|
527
|
-
[fantasy_group_comment_id: string]: FantasyGroupComment;
|
|
528
|
-
};
|
|
529
|
-
export interface FantasyGroup {
|
|
530
|
-
fantasy_group_id: string;
|
|
531
|
-
organization_id: string;
|
|
532
|
-
division_id: string;
|
|
533
|
-
season: number;
|
|
534
|
-
name: string;
|
|
535
|
-
fantasy_payout_rule_id: string | null;
|
|
536
|
-
fantasy_group_type_terminology_id: string | null;
|
|
537
|
-
draft_type_terminology_id: string | null;
|
|
538
|
-
draft_scoring_terminology_id: string | null;
|
|
539
|
-
start_date: string | null;
|
|
540
|
-
end_date: string | null;
|
|
541
|
-
draft_start_datetime: string | null;
|
|
542
|
-
cap: number;
|
|
543
|
-
entries: number | null;
|
|
544
|
-
entries_per_user: number;
|
|
545
|
-
free: number;
|
|
546
|
-
entry_fee: number | null;
|
|
547
|
-
open_invites: number;
|
|
548
|
-
locked: number;
|
|
549
|
-
private: number;
|
|
550
|
-
started: number;
|
|
551
|
-
drafted: number;
|
|
552
|
-
finished: number;
|
|
553
|
-
notified_24_hours: number;
|
|
554
|
-
notified_15_mins: number;
|
|
555
|
-
notified_finished: number;
|
|
556
|
-
draft_time_per_user_in_seconds: number | null;
|
|
557
|
-
date_of_entry: string;
|
|
558
|
-
guid: string;
|
|
559
|
-
deleted: number;
|
|
560
|
-
}
|
|
561
|
-
export type FantasyGroups = {
|
|
562
|
-
[fantasy_group_id: string]: FantasyGroup;
|
|
563
|
-
};
|
|
564
|
-
export interface FantasyEntry {
|
|
565
|
-
fantasy_entry_id: string;
|
|
566
|
-
fantasy_group_id: string;
|
|
567
|
-
user_id: string;
|
|
568
|
-
name: string;
|
|
569
|
-
paid: number;
|
|
570
|
-
date_of_entry: string;
|
|
571
|
-
guid: string;
|
|
572
|
-
deleted: number;
|
|
573
|
-
}
|
|
574
|
-
export type FantasyEntrys = {
|
|
575
|
-
[fantasy_entry_id: string]: FantasyEntry;
|
|
576
|
-
};
|
|
577
|
-
export interface FantasyDraftOrder {
|
|
578
|
-
fantasy_draft_order_id: string;
|
|
579
|
-
fantasy_entry_id: string;
|
|
580
|
-
fantasy_group_id: string;
|
|
581
|
-
fantasy_entry_player_id: string;
|
|
582
|
-
round: number;
|
|
583
|
-
pick: number;
|
|
584
|
-
eligible: string;
|
|
585
|
-
expires: string;
|
|
586
|
-
notified: number;
|
|
587
|
-
picked: number;
|
|
588
|
-
guid: string;
|
|
589
|
-
deleted: number;
|
|
590
|
-
}
|
|
591
|
-
export type FantasyDraftOrders = {
|
|
592
|
-
[fantasy_draft_order_id: string]: FantasyDraftOrder;
|
|
593
|
-
};
|
|
594
|
-
export interface FantasyEntryPlayer {
|
|
595
|
-
fantasy_entry_player_id: string;
|
|
596
|
-
fantasy_group_id: string;
|
|
597
|
-
fantasy_entry_id: string;
|
|
598
|
-
player_team_season_id: string;
|
|
599
|
-
date_of_entry: string;
|
|
600
|
-
guid: string;
|
|
601
|
-
deleted: number;
|
|
602
|
-
}
|
|
603
|
-
export type FantasyEntryPlayers = {
|
|
604
|
-
[fantasy_entry_player_id: string]: FantasyEntryPlayer;
|
|
605
|
-
};
|
|
606
|
-
export interface FantasyBracketSlot {
|
|
607
|
-
fantasy_bracket_slot_id: string;
|
|
608
|
-
first_parent_fantasy_bracket_slot_id: string;
|
|
609
|
-
second_parent_fantasy_bracket_slot_id: string;
|
|
610
|
-
child_fantasy_bracket_slot_id: string;
|
|
611
|
-
fantasy_group_id: string;
|
|
612
|
-
fantasy_entry_id: string;
|
|
613
|
-
actual_first_team_id: string | null;
|
|
614
|
-
actual_second_team_id: string | null;
|
|
615
|
-
third_team_id: string | null;
|
|
616
|
-
picked_first_team_id: string | null;
|
|
617
|
-
picked_second_team_id: string | null;
|
|
618
|
-
picked_winner_team_id: string | null;
|
|
619
|
-
tie_breaker_total_score: number | null;
|
|
620
|
-
game_id: string | null;
|
|
621
|
-
region: string;
|
|
622
|
-
round: number;
|
|
623
|
-
slot: number;
|
|
624
|
-
locked: number;
|
|
625
|
-
picked: number;
|
|
626
|
-
date_of_entry: string;
|
|
627
|
-
guid: string;
|
|
628
|
-
deleted: number;
|
|
629
|
-
}
|
|
630
|
-
export type FantasyBracketSlots = {
|
|
631
|
-
[fantasy_bracket_slot_id: string]: FantasyBracketSlot;
|
|
632
|
-
};
|
|
633
|
-
export interface FantasyRanking {
|
|
634
|
-
fantasy_ranking_id: string;
|
|
635
|
-
parent_fantasy_ranking_id: string;
|
|
636
|
-
fantasy_group_id: string;
|
|
637
|
-
fantasy_entry_id: string;
|
|
638
|
-
date_of_rank: string;
|
|
639
|
-
max: number;
|
|
640
|
-
rank: number;
|
|
641
|
-
rank_delta_one: number;
|
|
642
|
-
rank_delta_seven: number;
|
|
643
|
-
points: number;
|
|
644
|
-
date_of_entry: string;
|
|
645
|
-
updated_at: string;
|
|
646
|
-
current: number;
|
|
647
|
-
guid: string;
|
|
648
|
-
deleted: number;
|
|
649
|
-
}
|
|
650
|
-
export type FantasyRankings = {
|
|
651
|
-
[fantasy_ranking_id: string]: FantasyRanking;
|
|
652
|
-
};
|
|
653
|
-
export interface FantasyEntryPlayerStatisticRanking {
|
|
654
|
-
fantasy_entry_player_statistic_ranking_id: string;
|
|
655
|
-
parent_fantasy_entry_player_statistic_ranking_id: string;
|
|
656
|
-
organization_id: string;
|
|
657
|
-
division_id: string;
|
|
658
|
-
season: number;
|
|
659
|
-
fantasy_group_id: string;
|
|
660
|
-
fantasy_entry_id: string;
|
|
661
|
-
fantasy_entry_player_id: string;
|
|
662
|
-
sport_player_statistic_id: string;
|
|
663
|
-
date_of_rank: string;
|
|
664
|
-
date_of_entry: string;
|
|
665
|
-
updated_at: string;
|
|
666
|
-
current: number;
|
|
667
|
-
guid: string;
|
|
668
|
-
deleted: number;
|
|
669
|
-
}
|
|
670
|
-
export type FantasyEntryPlayerStatisticRankings = {
|
|
671
|
-
[fantasy_entry_player_statistic_ranking_id: string]: FantasyEntryPlayerStatisticRanking;
|
|
672
|
-
};
|
|
673
371
|
export interface BracketTeam {
|
|
674
372
|
bracket_team_id: string;
|
|
675
373
|
organization_id: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
|
+
export * as ApiKey from './api/api_key.ts';
|
|
2
|
+
export * as Billing from './api/billing.ts';
|
|
3
|
+
export * as Boxscore from './api/boxscore.ts';
|
|
4
|
+
export * as CoachStatisticRanking from './api/coach_statistic_ranking.ts';
|
|
5
|
+
export * as Conference from './api/conference.ts';
|
|
6
|
+
export * as ConferencePlayerStatisticRanking from './api/conference_player_statistic_ranking.ts';
|
|
7
|
+
export * as ConferenceStatisticRanking from './api/conference_statistic_ranking.ts';
|
|
8
|
+
export * as FantasyBracketSlot from './api/fantasy_bracket_slot.ts';
|
|
9
|
+
export * as FantasyDraftOrder from './api/fantasy_draft_order.ts';
|
|
10
|
+
export * as FantasyEntry from './api/fantasy_entry.ts';
|
|
11
|
+
export * as FantasyEntryPlayerStatisticRanking from './api/fantasy_entry_player_statistic_ranking.ts';
|
|
12
|
+
export * as FantasyGroup from './api/fantasy_group.ts';
|
|
13
|
+
export * as FantasyGroupComment from './api/fantasy_group_comment.ts';
|
|
14
|
+
export * as FantasyGroupInvite from './api/fantasy_group_invite.ts';
|
|
15
|
+
export * as Favorite from './api/favorite.ts';
|
|
1
16
|
export * as Game from './api/game.ts';
|
|
17
|
+
export * as LeaguePlayerStatisticRanking from './api/league_player_statistic_ranking.ts';
|
|
18
|
+
export * as LeagueStatisticRanking from './api/league_statistic_ranking.ts';
|
|
19
|
+
export * as Notification from './api/notification.ts';
|
|
20
|
+
export * as PlayByPlay from './api/play_by_play.ts';
|
|
21
|
+
export * as Player from './api/player.ts';
|
|
22
|
+
export * as PlayerBoxscore from './api/player_boxscore.ts';
|
|
23
|
+
export * as PlayerStatisticRanking from './api/player_statistic_ranking.ts';
|
|
24
|
+
export * as Prediction from './api/prediction.ts';
|
|
25
|
+
export * as Ranking from './api/ranking.ts';
|
|
26
|
+
export * as Search from './api/search.ts';
|
|
27
|
+
export * as Secret from './api/secret.ts';
|
|
28
|
+
export * as Session from './api/session.ts';
|
|
29
|
+
export * as StatisticRanking from './api/statistic_ranking.ts';
|
|
2
30
|
export * as Team from './api/team.ts';
|
|
31
|
+
export * as User from './api/user.ts';
|
|
32
|
+
export * as UserPaymentToken from './api/user_payment_token.ts';
|
|
33
|
+
export * as Auth from './auth.ts';
|
|
3
34
|
export * as Basketball from './basketball.ts';
|
|
35
|
+
export * as Fantasy from './fantasy.ts';
|
|
4
36
|
export * as Football from './football.ts';
|
|
5
37
|
export * as General from './general.ts';
|
|
38
|
+
export * as Payments from './payments.ts';
|