new changes

This commit is contained in:
Mamalizz
2025-03-27 23:08:24 +03:30
parent 3554463b3d
commit b9668c842f
+28 -14
View File
@@ -11,22 +11,22 @@ declare global {
type LogType = {
title: string;
status?: "success" | "error" | "info" | "warning";
message?: string,
details?: any
}
message?: string;
details?: any;
};
type AxiosLogType = {
url: string,
method: string,
status: number,
code: string,
requestHeaders: Record<any, any>,
responseHeaders?: Record<any, any>,
response?: any,
payload?: Record<any, any>,
params?: Record<any, any>,
date: string
}
url: string;
method: string;
status: number;
code: string;
requestHeaders: Record<any, any>;
responseHeaders?: Record<any, any>;
response?: any;
payload?: Record<any, any>;
params?: Record<any, any>;
date: string;
};
type Chat = {
id: number;
@@ -276,4 +276,18 @@ declare global {
updated_at: string;
order: Order;
};
type PaymentGateway = {
id: number;
picture: string;
title: string;
type:
| "ZARINPAL"
| "SEP"
| "MELLAT"
| "IDPAY"
| "ZIBAL"
| "BAHAMTA"
| "BMI";
};
}