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.
113 lines
1.4 KiB
Dart
113 lines
1.4 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 AdPostStatus {
|
|
pendingForReview,
|
|
pendingForPayment,
|
|
rejected,
|
|
cancelled,
|
|
pendingForPost,
|
|
active,
|
|
expired,
|
|
sold,
|
|
reserved,
|
|
buyingService,
|
|
reserveCancel,
|
|
allAds,
|
|
}
|
|
|
|
enum PaymentMethods {
|
|
mada,
|
|
visa,
|
|
applePay,
|
|
masterCard,
|
|
tamara,
|
|
}
|
|
|
|
enum PaymentTypes {
|
|
subscription,
|
|
appointment,
|
|
ads,
|
|
adReserve,
|
|
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
|
|
}
|