interface WebhookBase { type: number; shop_id: string; timestamp: number; data: T; } interface Order { order_id: string; update_time: string; order_status: string; } interface Return { order_id: string; return_role: string; return_type: string; return_status: string; return_id: string; create_time: number; update_time: number; } interface Address { order_id: string; update_time: number; } interface Cancellation { order_id: string; cancellations_role: string; cancel_status: string; cancel_id: string; update_time: string; } interface AuthExpire { message: string; expiration_time: string; } type WebhookOrder = WebhookBase; type WebhookReturn = WebhookBase; type WebhookAddressUpdate = WebhookBase
; type WebhookCancellation = WebhookBase; type WebhookUpcomingAuthExpire = WebhookBase; export { WebhookOrder as TiktokWebhookOrder, WebhookReturn as TiktokWebhookReturn, WebhookAddressUpdate as TiktokWebhookAddressUpdate, WebhookCancellation as TiktokWebhookCancellation, WebhookUpcomingAuthExpire as TiktokWebhookUpcomingAuthExpire, };