26 lines
623 B
TypeScript
26 lines
623 B
TypeScript
import request from './request'
|
|
|
|
export interface TravelApplication {
|
|
id: number
|
|
travelRequestNo: string
|
|
approvalInstanceId: string
|
|
applicant: string
|
|
applicantCode?: string | null
|
|
travelerCodes: string[]
|
|
travelers: string[]
|
|
entity?: string | null
|
|
department?: string | null
|
|
destination?: string | null
|
|
purpose?: string | null
|
|
startDate?: string | null
|
|
endDate?: string | null
|
|
estimate?: number | null
|
|
status: string
|
|
approvalSystem: string
|
|
syncedAt: string
|
|
}
|
|
|
|
export const travelApplicationsApi = {
|
|
mine: (): Promise<TravelApplication[]> => request.get('/v1/travel-applications/mine'),
|
|
}
|