72 lines
3.2 KiB
Dart
72 lines
3.2 KiB
Dart
class ApiUrls {
|
|
// static const String baseUrl = 'https://cheminova-api-2.onrender.com/api/';
|
|
|
|
//============================== Base Url =========================================//
|
|
static const String baseUrl = 'https://api.cnapp.co.in';
|
|
|
|
//============================== Login =========================================//
|
|
|
|
static const String loginUrl = '/api/v1/user/login/';
|
|
static const String forgetPasswordUrl = '/api/v1/user/password/forgot';
|
|
static const String changePasswordUrl = '/api/v1/user/password/update';
|
|
static const String fcmUrl = '/api/v1/user/fcm-token';
|
|
|
|
|
|
//============================== User Details ==============================//
|
|
static const String profileUrl = '/api/v1/user/details';
|
|
|
|
|
|
//============================== Product Details ==============================//
|
|
|
|
static const String getCategoryUrl = '/api/category/getCategories';
|
|
// static const String getProductUrl = '/api/category/getCategories';
|
|
static const String getallProductUrl = '/api/product/getAll/user';
|
|
|
|
//============================== Placed Order Details ==============================//
|
|
|
|
static const String getPlacedOrderUrl ='/api/get-placed-order-pd';
|
|
static const String getSinglePlacedOrderUrl ='/api/get-single-placed-order-pd';
|
|
static const String placedOrderUrl ='${baseUrl}/api/order-place';
|
|
|
|
//============================== Product Manual ==============================//
|
|
static const String getProductManualUrl = '/api/productmanual/getall';
|
|
|
|
|
|
//============================== Notification Details ==============================//
|
|
static const String getNotificationUrl = '/api/get-notification-pd';
|
|
|
|
//============================== Kyc Details ==============================//
|
|
static const String getKycUrl = '${baseUrl}/api/kyc/getAll';
|
|
static const String updateKycUrl = '${baseUrl}/api/kyc/update';
|
|
|
|
//============================== Rd Order Details ==============================//
|
|
static const String getRdOrderUrl = '/api/pd-get-new-orders';
|
|
|
|
//============================== Rd Single Order Details ==============================//
|
|
static const String getRdSingleOrderUrl = '/api/pd-get-single-place-order';
|
|
|
|
|
|
//============================== Rd Processing Details ==============================//
|
|
static const String getRdOrderProcessingUrl = '/api/pd-process-order';
|
|
|
|
//============================== Rd Cancel Details ==============================//
|
|
static const String rdCancleOrderUrl = '/api/pd-cancel-order';
|
|
static const String getrdCancleOrderUrl = '/api/pd-get-cancelled-orders';
|
|
|
|
//============================== Pending Order Details ==============================//
|
|
static const String getRdPendingOrdergUrl = '/api/pd-get-pending-orders';
|
|
|
|
//============================== RD ProcessingInvoice Order Details ==============================//
|
|
static const String getRdProcessingInvoiceOrdergUrl = '/api/pd-get-processing-invoices';
|
|
|
|
//============================== RD dispatched Order Details ==============================//
|
|
static const String getRdDispatchedOrdergUrl = '/api/pd-get-dispatched-invoices';
|
|
|
|
|
|
//============================== RD delivered Order Details ==============================//
|
|
static const String getRdDliveredOrdergUrl = '/api/pd-get-delivered-invoices';
|
|
|
|
|
|
|
|
}
|