-fix(localization): Localization state issue fixed. -fix(profile_image): Fix profile image downloading issue.
129 lines
2.8 KiB
Dart
129 lines
2.8 KiB
Dart
// Endpoints
|
|
String kBaseUrl = 'https://api.yimaruacademy.com';
|
|
|
|
String kLmsUrl = 'lms';
|
|
|
|
String kAppUrl = 'app';
|
|
|
|
String kApiUrl = 'api';
|
|
|
|
String kUnitsUrl = 'units';
|
|
|
|
String kCheckUrl = 'check';
|
|
|
|
String kFilesUrl = 'files';
|
|
|
|
String kApiVersionUrl = 'v1';
|
|
|
|
String kLevelsUrl = 'levels';
|
|
|
|
String kCoursesUrl = 'courses';
|
|
|
|
String kModulesUrl = 'modules';
|
|
|
|
String kLessonsUrl = 'lessons';
|
|
|
|
String kVersionUrl = 'version';
|
|
|
|
String kProgramsUrl = 'programs';
|
|
|
|
String kRegisterUrl = 'register';
|
|
|
|
String kProgressUrl = 'progress';
|
|
|
|
String kCompleteUrl = 'complete';
|
|
|
|
String kPaymentsUrl = 'payments';
|
|
|
|
String kExamPrepUrl = 'exam-prep';
|
|
|
|
String kSubscribeUrl = 'subscribe';
|
|
|
|
String kPracticesUrl = 'practices';
|
|
|
|
String kQuestionsUrl = 'questions';
|
|
|
|
String kRefreshUrl = 'refresh-url';
|
|
|
|
String kCoursePractice = 'by-owner';
|
|
|
|
String kUserBaseUrl = 'api/v1/user';
|
|
|
|
String kVerifyOtpUrl = 'verify-otp';
|
|
|
|
String kResendOtpUrl = 'resend-otp';
|
|
|
|
String kGetUserUrl = 'user-profile';
|
|
|
|
String kSubmodulesUrl = 'sub-modules';
|
|
|
|
String kSubcoursesUrl = 'sub-courses';
|
|
|
|
String kFieldOptions = 'field-options';
|
|
|
|
String kResetPassword = 'resetPassword';
|
|
|
|
String kVerifySubscriptionUrl = 'verify';
|
|
|
|
String kQuestionSetsUrl = 'question-sets';
|
|
|
|
String kRequestResetCode = 'sendResetCode';
|
|
|
|
String kSubcategoriesUrl = 'sub-categories';
|
|
|
|
String kProgressSummary = 'progress-summary';
|
|
|
|
String kPublishedVideos = 'videos/published';
|
|
|
|
String kCoursePracticeQuestions = 'questions';
|
|
|
|
String kCatalogCoursesUrl = 'catalog-courses';
|
|
|
|
String kUpdateProfileImage = 'profile-picture';
|
|
|
|
String kSubscriptionsUrl = 'subscription-plans';
|
|
|
|
String kRefreshTokenUrl = 'api/v1/auth/refresh';
|
|
|
|
String kLoginUrl = 'api/v1/auth/customer-login';
|
|
|
|
String kPracticeBaseUrl = 'api/v1/question-sets';
|
|
|
|
String kCourseManagementUrl = 'course-management';
|
|
|
|
String kProfileStatusUrl = 'is-profile-completed';
|
|
|
|
String kCourseBaseUrl = 'api/v1/course-management';
|
|
|
|
String kCoursePracticeQuestion = 'api/v1/questions';
|
|
|
|
String kLessonProgressUrl = 'api/v1/progress/videos';
|
|
|
|
String kGoogleAuthUrl = 'api/v1/auth/google/android';
|
|
|
|
String kCourseProgressUrl = 'api/v1/progress/courses';
|
|
|
|
String kAssessmentsUrl = 'api/v1/assessment/questions';
|
|
|
|
String kLearnSubcategoriesUrl = 'human-language/sub-categories';
|
|
|
|
String kEmptyImagePath = '/data/user/0/com.yimaru.lms.app/app_flutter';
|
|
|
|
String kSampleVideoUrl =
|
|
'https://flutter.github.io/assets-for-api-docs/assets/videos/bee.mp4';
|
|
|
|
String kServerClientId =
|
|
'900714037062-24ria5fcfet71o3vde8f6gsvsj1n68ec.apps.googleusercontent.com';
|
|
|
|
// Other
|
|
String kPhoneSupport = '+251946396655';
|
|
|
|
String kTelegramSupport = '@yimaruacademy2026';
|
|
|
|
String kTelegramSupportLink = 'https://t.me/yimaruacademy2026';
|
|
|
|
String kErrorUrl = 'https://api.yimaruacademy.com/payment/error';
|
|
|
|
String kSuccessUrl =
|
|
'https://api.yimaruacademy.com/payment/success';
|