@snapp-store/snapp-box-sdk
Version:
A javascript sdk for snapp box api
40 lines (39 loc) • 887 B
TypeScript
export declare type PullingDataDTO = {
/**
* The time that webhook payload create in UTC format
*/
creationTime: string;
/**
* The unique id for each webhook
*/
notificationId: string;
/**
* The terminal sequence number of order
*/
sequenceNumber: string;
orderId: string;
/**
* The current status of order
*/
orderStatus: string;
/**
* The type of webhook
*/
webhookType: string;
customerRefId: string;
bikerName: string;
bikerPhone: string;
orderAcceptedAt: string;
bikerPhotoUrl: string;
actionBy: string;
batch: boolean;
invoiceId: string;
invoiceStatus: PullingDataDTO.invoiceStatus;
};
export declare namespace PullingDataDTO {
enum invoiceStatus {
PENDING = "PENDING",
SUCCESS = "SUCCESS",
CANCELLED = "CANCELLED"
}
}