feat(sync): synchronize customer adresses and orders from Hiboutik sales (#1)

Co-authored-by: MastersGame <quentin.duwa1210@gmail.com>
Reviewed-on: #1
This commit is contained in:
2026-11-07 09:56:53 +00:00
parent c5f65dcb62
commit 9dddf7562a
16 changed files with 755 additions and 17 deletions

View File

@@ -0,0 +1,9 @@
/** Values of `Order.status`. */
export const OrderStatus = {
/** Hiboutik sale not completed (cart in progress, awaiting payment...). */
PENDING: 'PENDING',
/** Hiboutik sale completed: it no longer changes, so the sync does not fetch it again. */
COMPLETED: 'COMPLETED',
} as const;
export type OrderStatus = (typeof OrderStatus)[keyof typeof OrderStatus];