30 lines
925 B
TypeScript
30 lines
925 B
TypeScript
import { EntityDict } from '../oak-app-domain';
|
|
import { BRC } from '../types/RuntimeCxt';
|
|
export declare const shipProjection: EntityDict['ship']['Projection'];
|
|
/**
|
|
* 手机号掩码(130****0000)
|
|
* @param phone
|
|
*/
|
|
export declare function maskPhone(phone: string): string;
|
|
/**
|
|
* 小程序发货信息录入
|
|
* @param shipInfo
|
|
* @param context
|
|
* @returns
|
|
*/
|
|
export declare function uploadShippingInfo(shipId: string, context: BRC): Promise<void>;
|
|
/**
|
|
* 获取小程序物流状态
|
|
* @param context
|
|
* @param deposit
|
|
* @param order
|
|
* @returns
|
|
*/
|
|
export declare function getShipState(context: BRC, shipId: string): Promise<string | undefined>;
|
|
/**刷新shipping的ship的小程序物流状态
|
|
* @param ship
|
|
* @param context
|
|
* @returns
|
|
*/
|
|
export declare function refreshtShipState(ship: EntityDict['ship']['Schema'], context: BRC): Promise<import("oak-domain/lib/types").OperationResult<EntityDict> | undefined>;
|