chore: build
Omnex Plateform App - EAS Build / build (push) Failing after 5m30s
Omnex Plateform Client - EAS Build / build (push) Failing after 5m24s

This commit is contained in:
Xor290
2026-10-10 12:40:03 +02:00
parent c382244866
commit ca3da4eb02
10 changed files with 1262 additions and 49 deletions
+23
View File
@@ -457,6 +457,29 @@ export const respondToAddressProposal = async (
}
};
export const updateOwnCommandAddress = async (
commandId: number,
deliveryAddress: string,
): Promise<{ success: boolean; message: string }> => {
try {
const { data } = await apiClient.put(
`${V1}/commands/${commandId}/address`,
{ delivery_address: deliveryAddress },
);
return {
success: true,
message: data.message || "Adresse mise à jour",
};
} catch (error: any) {
return {
success: false,
message:
error.response?.data?.error ||
"Erreur lors de la mise à jour de l'adresse",
};
}
};
export const getOrderTracking = async (
commandId: number,
): Promise<TrackingResponse> => {
@@ -355,6 +355,8 @@ export interface ProductPrice {
quantity: number;
price: number;
active_price?: boolean;
promo_price?: number; // prix réduit si une promotion couvre ce palier
promo_percent?: number; // pourcentage de réduction appliqué
}
export interface Product {
id: number;