@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/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';
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export interface Subscription {
|
|
2
|
+
subscription_id: string;
|
|
3
|
+
user_id: string;
|
|
4
|
+
pricing_id: string;
|
|
5
|
+
stripe_subscription: string;
|
|
6
|
+
date_of_entry: string;
|
|
7
|
+
updated_at: string;
|
|
8
|
+
expires: string;
|
|
9
|
+
renewed: string;
|
|
10
|
+
guid: string;
|
|
11
|
+
deleted: number;
|
|
12
|
+
}
|
|
13
|
+
export type Subscriptions = {
|
|
14
|
+
[subscription_id: string]: Subscription;
|
|
15
|
+
};
|
|
16
|
+
export interface PaymentRouter {
|
|
17
|
+
payment_router_id: string;
|
|
18
|
+
stripe_object: string;
|
|
19
|
+
stripe_id: string;
|
|
20
|
+
table: string;
|
|
21
|
+
id: string;
|
|
22
|
+
date_of_entry: string;
|
|
23
|
+
handled: number;
|
|
24
|
+
guid: string;
|
|
25
|
+
deleted: number;
|
|
26
|
+
}
|
|
27
|
+
export type PaymentRouters = {
|
|
28
|
+
[payment_router_id: string]: PaymentRouter;
|
|
29
|
+
};
|
|
30
|
+
export interface Pricing {
|
|
31
|
+
pricing_id: string;
|
|
32
|
+
stripe_pricing_id: string;
|
|
33
|
+
test_stripe_pricing_id: string;
|
|
34
|
+
code: string;
|
|
35
|
+
name: string;
|
|
36
|
+
description: string;
|
|
37
|
+
type: 'api' | 'picks' | 'trial';
|
|
38
|
+
usage_limit: number;
|
|
39
|
+
read: number;
|
|
40
|
+
guid: string;
|
|
41
|
+
deleted: number;
|
|
42
|
+
}
|
|
43
|
+
export type Pricings = {
|
|
44
|
+
[pricing_id: string]: Pricing;
|
|
45
|
+
};
|
|
46
|
+
export interface UserPaymentToken {
|
|
47
|
+
user_payment_token_id: string;
|
|
48
|
+
user_id: string;
|
|
49
|
+
token: string;
|
|
50
|
+
type: string;
|
|
51
|
+
json_data: object;
|
|
52
|
+
date_of_entry: string;
|
|
53
|
+
guid: string;
|
|
54
|
+
deleted: number;
|
|
55
|
+
}
|
|
56
|
+
export type UserPaymentTokens = {
|
|
57
|
+
[user_payment_token_id: string]: UserPaymentToken;
|
|
58
|
+
};
|