This commit is contained in:
2026-08-17 17:49:10 +08:00
parent 911a3620e1
commit c7334b2cf8
30 changed files with 1043 additions and 249 deletions
@@ -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