优化
This commit is contained in:
@@ -2,7 +2,17 @@ import axios from 'axios'
|
||||
import { ApiResponseError, http, unwrapApiResponse, type ApiEnvelope } from '@/shared/api/http'
|
||||
|
||||
export type ExportTaskStatus = 'PENDING' | 'RUNNING' | 'SUCCEEDED' | 'FAILED' | 'EXPIRED'
|
||||
export type ExportTaskType = 'CUSTOMER_LIST' | string
|
||||
export type KnownExportTaskType =
|
||||
| 'CUSTOMER_LIST'
|
||||
| 'FINANCE_CUSTOMER_ACCOUNT_LIST'
|
||||
| 'FINANCE_CUSTOMER_ACCOUNT_LEDGER'
|
||||
| 'FINANCE_FEE_SOURCE_LIST'
|
||||
| 'FINANCE_RECONCILIATION_STATEMENT_LIST'
|
||||
| 'FINANCE_RECEIVABLE_SETTLEMENT_LIST'
|
||||
| 'FINANCE_RECEIVABLE_SETTLEMENT_DETAIL'
|
||||
| 'FINANCE_PAYABLE_SETTLEMENT_LIST'
|
||||
| 'FINANCE_PAYABLE_SETTLEMENT_DETAIL'
|
||||
export type ExportTaskType = KnownExportTaskType | (string & {})
|
||||
|
||||
export interface PlatformExportTask {
|
||||
id: string
|
||||
|
||||
Reference in New Issue
Block a user