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.
235 lines
3.3 KiB
Dart
235 lines
3.3 KiB
Dart
// enum APPSTATUS {
|
|
// loading,
|
|
// unAuthenticated,
|
|
// authenticated,
|
|
// unverified,
|
|
// }
|
|
|
|
//
|
|
|
|
//
|
|
|
|
class AppEnums {
|
|
static const int requestFilterEnumId = 16; // Requests Filter Enums
|
|
static const int branchServicesEnumId = 6; // Branch Services Filter Enums
|
|
static const int myAdsFilterEnumId = 18; // My Ads Filter Enums
|
|
static const int adOwnersFilterEnumId = 23; // Explore Ads Filter Enums
|
|
static const int appointmentsFilterEnumId = 13; // Appointments Filter Enums
|
|
static const int requestStatusesFilterEnumId = 15; // Appointments Filter Enums
|
|
static const int conditionEnumId = -1; // to get the Condition Filter Enums
|
|
static const int shippingStatusEnumId = 30; // to get the Shipping Filter Enums
|
|
}
|
|
|
|
enum DashboardRouteEnum {
|
|
fromAdsPayment,
|
|
fromAdsSubmit,
|
|
none,
|
|
}
|
|
|
|
enum VehicleType {
|
|
car,
|
|
motorCycle,
|
|
golfCart,
|
|
buggy,
|
|
}
|
|
|
|
enum AdReserveStatus {
|
|
defaultStatus,
|
|
reserved,
|
|
cancelledByOwner,
|
|
cancelledByAdmin,
|
|
timeOver,
|
|
dealDone,
|
|
fullPaymentVerified,
|
|
}
|
|
|
|
enum CreatedByRoleEnum { customer, provider, admin, allAds }
|
|
|
|
enum UserType {
|
|
providerDealer,
|
|
providerIndividual,
|
|
customer,
|
|
}
|
|
|
|
enum AdPostStatus {
|
|
pendingForReview,
|
|
pendingForPayment,
|
|
rejected,
|
|
cancelled,
|
|
pendingForPost,
|
|
active,
|
|
expired,
|
|
sold,
|
|
reserved,
|
|
buyingService,
|
|
reserveCancel,
|
|
deActive,
|
|
pendingForActive,
|
|
allAds,
|
|
}
|
|
|
|
enum RequestStatusEnum {
|
|
pending,
|
|
submitted,
|
|
inProgress,
|
|
completed,
|
|
cancelled,
|
|
paid,
|
|
expired,
|
|
shipping,
|
|
delivery,
|
|
}
|
|
|
|
enum PaymentMethods {
|
|
mada,
|
|
visa,
|
|
applePay,
|
|
masterCard,
|
|
tamara,
|
|
}
|
|
|
|
enum PaymentTypes {
|
|
subscription,
|
|
appointment,
|
|
adReserve,
|
|
ads,
|
|
request,
|
|
extendAds,
|
|
partialAppointment,
|
|
}
|
|
|
|
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
|
|
allServices, //0
|
|
}
|
|
|
|
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 AppointmentTypeEnum {
|
|
workshop,
|
|
home,
|
|
}
|
|
|
|
enum AppointmentStatusEnum {
|
|
booked,
|
|
confirmed,
|
|
arrived,
|
|
cancelled,
|
|
rescheduled,
|
|
allAppointments,
|
|
workStarted,
|
|
visitCompleted,
|
|
today,
|
|
past,
|
|
upcoming,
|
|
}
|
|
|
|
enum AppointmentPaymentStatusEnum {
|
|
defaultStatus,
|
|
payNow,
|
|
paid,
|
|
payLater,
|
|
payPartial,
|
|
}
|
|
|
|
enum RequestsTypeEnum {
|
|
specialCarRequest,
|
|
serviceRequest,
|
|
}
|
|
|
|
enum ChatMessageTypeEnum {
|
|
freeText,
|
|
image,
|
|
audio,
|
|
video,
|
|
file,
|
|
offer,
|
|
}
|
|
|
|
enum RequestOfferStatusEnum {
|
|
offer,
|
|
negotiate,
|
|
accepted,
|
|
rejected,
|
|
cancel,
|
|
}
|
|
|
|
enum ChatTypeEnum {
|
|
general,
|
|
ads,
|
|
requestOffer,
|
|
}
|
|
|
|
enum SubscriptionTypeEnum {
|
|
current, //1
|
|
upgrade, //2
|
|
downgrade, //3
|
|
}
|
|
|
|
enum SubscriptionActionTypeEnum {
|
|
ads,
|
|
users,
|
|
branches,
|
|
}
|
|
|
|
enum ShippingRequestStatusEnum {
|
|
allRequests,
|
|
pending,
|
|
initiated,
|
|
inTransit,
|
|
outForDelivery,
|
|
delivered,
|
|
}
|