front/src/api/TrackPull/typings.d.ts
zzh ef74985ad9
All checks were successful
Build and Deploy Front / deploy (push) Successful in 5m34s
feat: 顶栏余额刷新、客户 OpenAPI 凭证与揽收/H5 下单体验优化
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-30 17:33:47 +08:00

286 lines
7.3 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

declare namespace API {
type ApplicationExceptionResult = {
message?: string;
details?: string;
};
type EditTrackPullConfigInput = {
options?: OptionTypeNoNull;
id?: number;
/** 应用 */
appKey?: string;
/** 服务商编码 */
serviceProviderCode?: string;
/** 解析方式,1取接口通返参映射后的,2取服务商原返参 */
parseMethod?: number;
/** 订单路径 */
orderPath?: string;
/** 单号参数名 */
orderNoName?: string;
/** 轨迹明细路径 */
trackDetailsPath?: string;
/** 轨迹状态参数名 */
trackStatusName?: string;
/** 轨迹代码参数名 */
trackContentCodeName?: string;
/** 轨迹内容参数名 */
trackContentName?: string;
/** 轨迹发生地参数名 */
trackPlaceName?: string;
/** 轨迹发生ISO时间参数名 */
trackIsoTimeName?: string;
/** 轨迹发生时间参数名 */
trackTimeName?: string;
/** 轨迹时区参数名 */
trackTimeZoneName?: string;
/** 客户 */
customer?: string;
/** 订单类型 */
orderType?: number;
/** 开始轨迹代码 */
startTrackCode?: string;
/** 结束轨迹代码 */
endTrackCode?: string;
/** 开始前静默时间 */
silenceBeforeStart?: number;
/** 结束后静默时间 */
silenceAfterEnd?: number;
};
type EditTrackPullContentInput = {
options?: OptionTypeNoNull;
id?: number;
/** 轨迹内容id */
trackContentId?: number;
/** 拉取轨迹关键字(正向) */
trackKeywords?: string[];
/** 拉取轨迹关键字(反向) */
trackKeywordReverses?: string[];
/** 轨迹发生地参数值 */
trackPlaceValue?: number;
/** 轨迹拉取配置id */
trackPullConfigId?: number;
/** 服务商轨迹状态参数值 */
trackStatusValues?: string[];
/** 兜底轨迹时区发生地 */
trackTimePlaceValue?: number;
};
type getGetContentDetailParams = {
id?: number;
};
type getGetDetailParams = {
id?: number;
};
type GetTrackPullConfigDetailOutputVO = {
id?: number;
/** 拉取轨迹订单号 */
orderNoName?: string;
/** 返参解析对象 */
parseMethod?: number;
/** 定时任务(分钟) */
pullInterval?: number;
/** 服务商id */
serviceProviderId?: number;
/** 服务商code */
serviceProviderCode?: string;
/** 应用 */
app?: string;
/** 应用code */
appKey?: string;
/** 订单类型 */
orderType?: number;
/** 轨迹发生ISO时间参数名 */
trackIsoTimeName?: string;
/** 拉取轨迹发生时间 */
trackTimeName?: string;
/** 拉取轨迹时区 */
trackTimeZoneName?: string;
/** 拉取轨迹内容代码 */
trackContentCodeName?: string;
/** 拉取轨迹内容 */
trackContentName?: string;
/** 拉取轨迹发生地 */
trackPlaceName?: string;
/** 拉取轨迹状态 */
trackStatusName?: string;
/** 订单路径 */
orderPath?: string;
/** 轨迹明细路径 */
trackDetailsPath?: string;
/** 开始轨迹代码 */
startTrackCode?: string;
/** 结束轨迹代码 */
endTrackCode?: string;
/** 开始前静默时间 */
silenceBeforeStart?: number;
/** 结束后静默时间 */
silenceAfterEnd?: number;
};
type GetTrackPullConfigPageOutputVO = {
/** 创建时间 */
createTime?: string;
id?: number;
/** 服务商名称 */
serviceProvider?: string;
/** 服务商code */
serviceProviderCode?: string;
/** 应用 */
app?: string;
/** 应用 */
appKey?: string;
/** 订单类型 */
orderType?: number;
};
type GetTrackPullConfigPageOutputVOPagedResult = {
items?: GetTrackPullConfigPageOutputVO[];
totalCount?: number;
};
type GetTrackPullContentDetailOutputVO = {
id?: number;
/** 轨迹代码 */
code?: string;
/** 轨迹拉取配置id */
trackPullConfigId?: number;
/** 轨迹内容id */
trackContentId?: number;
/** 服务商轨迹状态参数值 */
trackStatusValue?: string;
/** 服务商轨迹状态参数值 */
trackStatusValues?: string[];
/** 拉取轨迹关键字(正向) */
trackKeyword?: string;
/** 拉取轨迹关键字(正向) */
trackKeywords?: string[];
/** 拉取轨迹关键字(反向) */
trackKeywordReverse?: string;
/** 拉取轨迹关键字(反向) */
trackKeywordReverses?: string[];
/** 拉取轨迹发生地 */
trackPlaceValue?: number;
/** 轨迹时区兜底地址值 */
trackTimePlaceValue?: number;
};
type GetTrackPullContentPageInputVO = {
pageIndex?: number;
pageSize?: number;
/** 轨迹拉取配置id */
trackPullConfigId?: number;
};
type GetTrackPullContentPageOutputVO = {
/** 轨迹内容代码 */
code?: string;
/** 轨迹内容 */
content?: string;
/** 轨迹内容英文 */
enContent?: string;
id?: number;
/** 拉取轨迹内容代码 */
trackContentCodeValue?: string;
/** 拉取轨迹内容 */
trackContentValue?: string;
/** 拉取轨迹关键字(正向) */
trackKeyword?: string;
/** 拉取轨迹关键字(反向) */
trackKeywordReverse?: string;
trackPlaceValue?: TrackLocationValue;
trackPlaceValueName?: string;
/** 拉取轨迹状态 */
trackStatusValue?: string;
};
type GetTrackPullContentPageOutputVOPagedResult = {
items?: GetTrackPullContentPageOutputVO[];
totalCount?: number;
};
type EditTrackPullPriorityInput = {
options?: OptionTypeNoNull;
id?: number;
/** 轨迹拉取配置id */
trackPullConfigId?: number;
/** 客户 */
customer?: string;
/** 拉取单号类型 */
orderNoType?: TrackOrderType;
/** 优先级 */
priority?: number;
/** 服务商拉取频率(分钟) */
pullInterval?: number;
};
type getGetPriorityDetailParams = {
id?: number;
};
type GetTrackPullPriorityDetailOutputVO = {
id?: number;
/** 轨迹拉取配置id */
trackPullConfigId?: number;
/** 客户 */
customer?: string;
/** 拉取单号类型 */
orderNoType?: TrackOrderType;
/** 优先级 */
priority?: number;
/** 服务商拉取频率(分钟) */
pullInterval?: number;
};
type GetTrackPullPriorityPageInputVO = {
pageIndex?: number;
pageSize?: number;
/** 轨迹拉取配置id */
trackPullConfigId?: number;
};
type GetTrackPullPriorityPageOutputVO = {
id?: number;
/** 客户 */
customer?: string;
/** 拉取单号类型 */
orderNoType?: TrackOrderType;
/** 优先级 */
priority?: number;
/** 服务商拉取频率(分钟) */
pullInterval?: number;
/** 创建时间 */
createTime?: string;
/** 创建人 */
createUser?: string;
/** 修改人 */
updateUser?: string;
/** 修改时间 */
updateTime?: string;
};
type GetTrackPullPriorityPageOutputVOPagedResult = {
items?: GetTrackPullPriorityPageOutputVO[];
totalCount?: number;
};
type KeywordsInputVO = {
pageIndex?: number;
pageSize?: number;
/** 应用 */
appKey?: string;
/** 关键字 */
keywords?: string;
/** 选中项 */
selectedIds?: number[];
};
type OptionTypeNoNull = 1 | 2 | 3;
type TrackLocationValue = 1 | 2 | 3 | 4 | 5 | 6 | 7;
type TrackOrderType = 1 | 4;
}