({ page = 1, pageSize = 100, projectId, tagId, keyword, userDisabled } = {})
| 2077 | }); |
| 2078 | }, |
| 2079 | async getPurchases({ page = 1, pageSize = 100, projectId, tagId, keyword, userDisabled } = {}) { |
| 2080 | return normalizeLuckmailPurchaseListPage(await request('GET', '/api/v1/openapi/email/purchases', { |
| 2081 | params: { |
| 2082 | page, |
| 2083 | page_size: pageSize, |
| 2084 | project_id: projectId, |
| 2085 | tag_id: tagId, |
| 2086 | keyword, |
| 2087 | user_disabled: userDisabled, |
| 2088 | }, |
| 2089 | })); |
| 2090 | }, |
| 2091 | async getTokenCode(token) { |
| 2092 | return normalizeLuckmailTokenCode(await request( |
| 2093 | 'GET', |
nothing calls this directly
no test coverage detected