mirror of
https://github.com/TheNetsky/Microsoft-Rewards-Script.git
synced 2026-01-18 05:53:57 +00:00
v3.1.0 initial
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
export interface Account {
|
||||
email: string
|
||||
password: string
|
||||
totp?: string
|
||||
totpSecret?: string
|
||||
recoveryEmail: string
|
||||
geoLocale: 'auto' | string
|
||||
langCode: 'en' | string
|
||||
proxy: AccountProxy
|
||||
saveFingerprint: ConfigSaveFingerprint
|
||||
}
|
||||
|
||||
export interface AccountProxy {
|
||||
@@ -13,3 +16,8 @@ export interface AccountProxy {
|
||||
password: string
|
||||
username: string
|
||||
}
|
||||
|
||||
export interface ConfigSaveFingerprint {
|
||||
mobile: boolean
|
||||
desktop: boolean
|
||||
}
|
||||
|
||||
@@ -5,7 +5,6 @@ export interface Config {
|
||||
runOnZeroPoints: boolean
|
||||
clusters: number
|
||||
errorDiagnostics: boolean
|
||||
saveFingerprint: ConfigSaveFingerprint
|
||||
workers: ConfigWorkers
|
||||
searchOnBingLocalQueries: boolean
|
||||
globalTimeout: number | string
|
||||
@@ -16,15 +15,13 @@ export interface Config {
|
||||
webhook: ConfigWebhook
|
||||
}
|
||||
|
||||
export interface ConfigSaveFingerprint {
|
||||
mobile: boolean
|
||||
desktop: boolean
|
||||
}
|
||||
export type QueryEngine = 'google' | 'wikipedia' | 'reddit' | 'local'
|
||||
|
||||
export interface ConfigSearchSettings {
|
||||
scrollRandomResults: boolean
|
||||
clickRandomResults: boolean
|
||||
parallelSearching: boolean
|
||||
queryEngines: QueryEngine[]
|
||||
searchResultVisitTime: number | string
|
||||
searchDelay: ConfigDelay
|
||||
readDelay: ConfigDelay
|
||||
@@ -41,6 +38,7 @@ export interface ConfigProxy {
|
||||
|
||||
export interface ConfigWorkers {
|
||||
doDailySet: boolean
|
||||
doSpecialPromotions: boolean
|
||||
doMorePromotions: boolean
|
||||
doPunchCards: boolean
|
||||
doAppPromotions: boolean
|
||||
|
||||
@@ -94,3 +94,23 @@ export interface BingTrendingImage {
|
||||
export interface BingTrendingQuery {
|
||||
text: string
|
||||
}
|
||||
|
||||
export interface WikipediaTopResponse {
|
||||
items: Array<{
|
||||
articles: Array<{
|
||||
article: string
|
||||
views: number
|
||||
}>
|
||||
}>
|
||||
}
|
||||
|
||||
export interface RedditListing {
|
||||
data: {
|
||||
children: Array<{
|
||||
data: {
|
||||
title: string
|
||||
over_18: boolean
|
||||
}
|
||||
}>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user