预校验、签到流程跑通
This commit is contained in:
@@ -7,27 +7,66 @@ export type DeliveryAccountStatus = 'active' | 'disabled' | 'locked' | 'suspende
|
||||
export type DeliveryCertificateStatus = 'valid' | 'expired' | 'pending'
|
||||
|
||||
export type DeliveryOrderStatus =
|
||||
'pending' |
|
||||
'pending_assignment' |
|
||||
'pending_accept' |
|
||||
'pending_assign' |
|
||||
'pending_dispatch' |
|
||||
'pending_acceptance_new' |
|
||||
'assigned' |
|
||||
'accepted' |
|
||||
'order_accepted' |
|
||||
'waiting_departure' |
|
||||
'departed' |
|
||||
'on_the_way' |
|
||||
'order_departed' |
|
||||
'arrived' |
|
||||
'arrival_pending' |
|
||||
'order_checked_in' |
|
||||
'checked_in' |
|
||||
'in_service' |
|
||||
'serving' |
|
||||
'order_in_service' |
|
||||
'pending_confirm' |
|
||||
'pending_submit' |
|
||||
'pending_acceptance' |
|
||||
'completed' |
|
||||
'order_completed' |
|
||||
'rejected' |
|
||||
'abnormal' |
|
||||
'terminated' |
|
||||
'exception_pending' |
|
||||
'cancelled' |
|
||||
'canceled' |
|
||||
'order_cancelled' |
|
||||
'settled' |
|
||||
'archived'
|
||||
'archived' |
|
||||
'PENDING_ASSIGNMENT' |
|
||||
'PENDING_ACCEPT' |
|
||||
'PENDING_ACCEPTANCE' |
|
||||
'ASSIGNED' |
|
||||
'ACCEPTED' |
|
||||
'WAITING_DEPARTURE' |
|
||||
'DEPARTED' |
|
||||
'ON_THE_WAY' |
|
||||
'ARRIVAL_PENDING' |
|
||||
'CHECKED_IN' |
|
||||
'IN_SERVICE' |
|
||||
'SERVING' |
|
||||
'COMPLETED' |
|
||||
'SETTLED' |
|
||||
'ARCHIVED' |
|
||||
'CANCELLED' |
|
||||
'CANCELED' |
|
||||
'REJECTED' |
|
||||
'ABNORMAL' |
|
||||
'EXCEPTION_PENDING' |
|
||||
'ORDER_ACCEPTED' |
|
||||
'ORDER_DEPARTED' |
|
||||
'ORDER_CHECKED_IN' |
|
||||
'ORDER_IN_SERVICE' |
|
||||
'ORDER_COMPLETED' |
|
||||
'ORDER_CANCELLED'
|
||||
|
||||
export type DeliveryExceptionType =
|
||||
'cannot_contact_user' |
|
||||
@@ -148,6 +187,9 @@ export type DeliveryAbnormalReportType = {
|
||||
export type DeliveryOrderType = {
|
||||
id: string
|
||||
orderNo: string
|
||||
sourceOrderId: string
|
||||
legacyServiceOrderId: string
|
||||
resolvedWorkOrderId: string
|
||||
serviceType: string
|
||||
serviceName: string
|
||||
serviceCategory: string
|
||||
@@ -227,6 +269,12 @@ export type DeliveryOrderType = {
|
||||
abnormalReport: DeliveryAbnormalReportType | null
|
||||
}
|
||||
|
||||
export type DeliveryActionResultType = {
|
||||
ok: boolean
|
||||
message: string
|
||||
order: DeliveryOrderType | null
|
||||
}
|
||||
|
||||
export type DeliveryCertificateType = {
|
||||
id: string
|
||||
name: string
|
||||
@@ -349,4 +397,4 @@ export type DeliveryExceptionPayloadType = {
|
||||
needPlatformIntervention?: boolean
|
||||
requestCancelOrder?: boolean
|
||||
requestReschedule?: boolean
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user