(token, messageId)
| 2118 | }; |
| 2119 | }, |
| 2120 | async getTokenMailDetail(token, messageId) { |
| 2121 | return normalizeLuckmailTokenMail(await request( |
| 2122 | 'GET', |
| 2123 | `/api/v1/openapi/email/token/${encodeURIComponent(token)}/mails/${encodeURIComponent(messageId)}` |
| 2124 | )); |
| 2125 | }, |
| 2126 | async setPurchaseDisabled(purchaseId, disabled) { |
| 2127 | await request('PUT', `/api/v1/openapi/email/purchases/${encodeURIComponent(purchaseId)}/disabled`, { |
| 2128 | jsonData: { |
nothing calls this directly
no test coverage detected