(e, t, r)
| 4115 | for (const r of o[e]) ot(t, e, r.id) || ("FINISH" !== r.state ? (this.log(`去完成任务: ${r.name}`), await this.doTask(r.id, e, t), await i(2e3)) : this.log(`已完成任务: ${r.name}`)) |
| 4116 | } |
| 4117 | async doTask(e, t, r) { |
| 4118 | if (await this.sleep(), await this.api.clickTask(e, { |
| 4119 | throwHttpErrors: !1 |
| 4120 | }), "cloud_app" === r && "day" === t) switch (e) { |
| 4121 | case 106: |
| 4122 | await this.uploadZeroFile(); |
| 4123 | break; |
| 4124 | case 107: |
| 4125 | await this.createDefaultNote() |
| 4126 | } |
| 4127 | } |
| 4128 | async refreshNoteToken() { |
| 4129 | if (!this.authToken || "00" === this.authToken) return !1; |
| 4130 | const e = await this.api.refreshNoteToken(); |
no test coverage detected