@omniplex/api-types 0.5.0 → 0.6.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +12 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -774,6 +774,8 @@ export interface VoterLeaderboardRank {
774
774
  votes: number;
775
775
  total_voters: number;
776
776
  period_start: string | null;
777
+ /** When monthly votes next reset. */
778
+ next_reset?: string | null;
777
779
  }
778
780
  export interface EntityVote {
779
781
  itag: string;
@@ -1109,6 +1111,8 @@ export interface AppPosition {
1109
1111
  cooldown: string;
1110
1112
  help_url?: string;
1111
1113
  help_label?: string;
1114
+ /** One line describing the position, for lists of positions. */
1115
+ summary?: string;
1112
1116
  }
1113
1117
  export interface AppMeta {
1114
1118
  positions: AppPosition[];
@@ -1158,6 +1162,10 @@ export interface AutoVoteTarget extends AutoVoteTargetInput {
1158
1162
  last_voted_at: string | null;
1159
1163
  last_skip_reason: string | null;
1160
1164
  cooldown_until: string | null;
1165
+ /** Automatic votes cast for this listing in the last 24 hours. */
1166
+ votes_24h?: number;
1167
+ /** Automatic votes cast for this listing in the last 7 days. */
1168
+ votes_7d?: number;
1161
1169
  in_schedule: boolean;
1162
1170
  paused: boolean;
1163
1171
  }
@@ -1175,6 +1183,10 @@ export interface AutoVoteStatus {
1175
1183
  billing_interval: "month" | "year";
1176
1184
  booster_slots: number;
1177
1185
  targets: AutoVoteTarget[];
1186
+ /** Automatic votes cast in the last 24 hours, including for listings no longer on the list. */
1187
+ votes_24h?: number;
1188
+ /** Automatic votes cast in the last 7 days, including for listings no longer on the list. */
1189
+ votes_7d?: number;
1178
1190
  notify: AutoVoteNotify;
1179
1191
  }
1180
1192
  export interface AutoVotePricing {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omniplex/api-types",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "TypeScript types for the Omniplex API (Popplio).",
5
5
  "license": "MIT",
6
6
  "type": "module",