complete asan service gps

This commit is contained in:
Alihaghighattalab
2024-09-03 16:29:35 +03:30
parent 10a6a746ed
commit 00835e3733
28 changed files with 693 additions and 284 deletions
+65 -24
View File
@@ -67,25 +67,21 @@ export interface StatusBoxItemInterface {
detail?: boolean
}
export interface MyAccountInterface {
phoneNumber: string,
marketName: string,
name: string,
family: string,
city: object,
capCity: object,
address: string,
phoneNumber1: string,
staticNumber: string,
date: string,
currentPassword: string,
newPassword: string,
repeatPassword: string
export interface UpdateUserInterface {
id?: any,
first_name: string
last_name: string
city_name: object | any
province_name: object | any
shopName: string
birthDate: string
address: string
cell_number: string,
national_code?: string,
mobile_number?: string,
image?: any
}
type BankName = "saderat" | "mehr" | "pasargad"
type PersianBankName = "مهر" | "صادرات" | "پاسارگاد"
export interface CardBank {
_id: string,
holderName: string,
@@ -207,15 +203,17 @@ export interface RegisterDeviceId {
}
export interface AwardsResponse {
_id: string,
score: number,
title: string,
desc: string,
expireDate: string,
created_at: string,
updated_at: string,
__v: number,
id: string
desc: string
req: {
userId: string,
desc: string,
metaData: null | any,
status: number
},
status: number,
expireDate: string
}
interface TransactionsData {
@@ -312,4 +310,47 @@ export type CitiesType = {
export interface CitiesResponse {
data: CitiesType[] | [],
error: string | null | any
}
export interface UserInterface {
cardBank: CardBank[] | [],
city_name: string,
created_at: string,
dollarBalance: string,
first_name: string,
id: string,
last_name: string,
mobile_number: string,
national_code: string,
profilePic: string,
province_name: string
score: number
shopName: string
updated_at: string
walletBalance: number
active: boolean,
_id: string,
address: string,
birthDate: string,
cell_number: string
}
export interface ResetPasswordUser {
password: string,
newPassword: string,
password_confirmation: string
}
export interface AwardStatus {
awards: number,
my_score: number
}
export interface SendWithdraw {
holderName: string,
card: any
}
export interface CheckIMEI {
IMEI: string
}