You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
175 lines
2.2 KiB
Dart
175 lines
2.2 KiB
Dart
// enum APPSTATUS {
|
|
// loading,
|
|
// unAuthenticated,
|
|
// authenticated,
|
|
// unverified,
|
|
// }
|
|
|
|
enum VehicleType {
|
|
car,
|
|
motorCycle,
|
|
golfCart,
|
|
buggy,
|
|
}
|
|
|
|
enum AdReserveStatus {
|
|
defaultStatus,
|
|
reserved,
|
|
cancelledByOwner,
|
|
cancelledByAdmin,
|
|
}
|
|
|
|
enum CreatedByRoleEnum { customer, provider, admin, allAds }
|
|
|
|
enum UserType {
|
|
providerDealer,
|
|
providerIndividual,
|
|
customer,
|
|
}
|
|
|
|
enum AdPostStatus {
|
|
pendingForReview,
|
|
pendingForPayment,
|
|
rejected,
|
|
cancelled,
|
|
pendingForPost,
|
|
active,
|
|
expired,
|
|
sold,
|
|
reserved,
|
|
buyingService,
|
|
reserveCancel,
|
|
allAds,
|
|
}
|
|
|
|
enum RequestStatus {
|
|
pending,
|
|
submitted,
|
|
inProgress,
|
|
completed,
|
|
cancelled,
|
|
paid,
|
|
expired,
|
|
shipping,
|
|
}
|
|
//TODO: Needs to remove
|
|
// public enum RequestType : int
|
|
// {
|
|
// Special_Car_Request = 1,
|
|
// Service_Request = 2 //SparePart
|
|
// }
|
|
// public enum OfferStatus : int
|
|
// {
|
|
// Offer = 1,//SP
|
|
// Negotiate = 2,
|
|
// Accepted = 3,
|
|
// Rejected = 4,
|
|
// Cancelled = 5 //SP
|
|
// }
|
|
|
|
enum PaymentMethods {
|
|
mada,
|
|
visa,
|
|
applePay,
|
|
masterCard,
|
|
tamara,
|
|
}
|
|
|
|
enum PaymentTypes {
|
|
subscription,
|
|
appointment,
|
|
adReserve,
|
|
ads,
|
|
request,
|
|
extendAds,
|
|
}
|
|
|
|
enum AdCreationSteps {
|
|
vehicleDetails,
|
|
damageParts,
|
|
adDuration,
|
|
reviewAd,
|
|
}
|
|
|
|
enum AuthMethodTypes {
|
|
sms,
|
|
whatsApp,
|
|
fingerPrint,
|
|
faceID,
|
|
moreOptions,
|
|
}
|
|
|
|
enum ViewState {
|
|
hide,
|
|
idle,
|
|
busy,
|
|
error,
|
|
busyLocal,
|
|
errorLocal,
|
|
}
|
|
|
|
enum LoginType {
|
|
FROM_LOGIN,
|
|
SILENT_LOGIN,
|
|
SILENT_WITH_OTP,
|
|
}
|
|
|
|
enum AppType { provider, customer }
|
|
|
|
enum ServiceStatusEnum {
|
|
pending, //1
|
|
review, //2
|
|
approvedOrActive, //3
|
|
rejected, //4
|
|
blocked, //5
|
|
deactivated, //6
|
|
}
|
|
|
|
enum DocumentStatusEnum {
|
|
needUpload, // 0
|
|
pending, // 1
|
|
review, // 2
|
|
approvedOrActive, // 3
|
|
rejected // 4
|
|
}
|
|
|
|
enum BranchStatusEnum {
|
|
pending, // 1
|
|
review, // 2
|
|
approvedOrActive, // 3
|
|
rejected, // 4
|
|
blocked, // 5
|
|
deactivated // 6
|
|
}
|
|
|
|
enum AppointmentStatusEnum {
|
|
booked,
|
|
confirmed,
|
|
arrived,
|
|
cancelled,
|
|
rescheduled,
|
|
allAppointments,
|
|
}
|
|
|
|
enum RequestsTypeEnum {
|
|
specialCarRequest,
|
|
serviceRequest,
|
|
}
|
|
|
|
enum ChatMessageTypeEnum {
|
|
freeText,
|
|
image,
|
|
audio,
|
|
video,
|
|
file,
|
|
offer,
|
|
}
|
|
|
|
enum RequestOfferStatusEnum {
|
|
offer,
|
|
negotiate,
|
|
accepted,
|
|
rejected,
|
|
cancel,
|
|
}
|