| 6 | end?: boolean; |
| 7 | } |
| 8 | declare class JDHelloWorld { |
| 9 | scriptName: string; |
| 10 | cookiesArr: string[]; |
| 11 | users: User[]; |
| 12 | constructor(scriptName?: string); |
| 13 | getCookie(): Promise<void>; |
| 14 | exceptCookie(filename?: string): string[]; |
| 15 | get(url: string, headers?: any, params?: object): Promise<any>; |
| 16 | post(url: string, data: string | object, headers?: object, params?: object): Promise<any>; |
| 17 | wait(ms?: number): Promise<unknown>; |
| 18 | o2s(msg: string | object, title?: string): void; |
| 19 | getShareCodePool(key: string, num: number): Promise<string[]>; |
| 20 | getshareCodeHW(key: string): Promise<string[]>; |
| 21 | getRandomWord(): string; |
| 22 | getRandomNumberByRange(start: number, end: number): number; |
| 23 | getRandomNumString(e: number): string; |
| 24 | getEncStr(fn: string, body: { |
| 25 | id?: number; |
| 26 | taskType?: number; |
| 27 | }): object; |
| 28 | getSign(fn: string, body: object): Promise<string>; |
| 29 | getIosVer(): string; |
| 30 | getFp(): Promise<string>; |
| 31 | getFp4_1(): Promise<string>; |
| 32 | algo(appId: string, fp: string, ua: string, pin: string, url: string, og: string): Promise<object>; |
| 33 | h5st(version: string, appId: string, ua: string): any; |
| 34 | run(son: { |
| 35 | main: Function; |
| 36 | help?: Function; |
| 37 | tips?: Function; |
| 38 | }, help?: Function, tips?: Function): Promise<void>; |
| 39 | } |
| 40 | export { User, JDHelloWorld }; |
nothing calls this directly
no outgoing calls
no test coverage detected