100 lines
3.2 KiB
Dart
100 lines
3.2 KiB
Dart
const config_collection = "configs";
|
|
const user_collection = "users";
|
|
const invitations_collection = "invitations";
|
|
const privilege_collection = "privileges";
|
|
const markets_collection = "markets";
|
|
const packages_collection = "packages";
|
|
const messages_collection = "messages";
|
|
const fcs_shipment_collection = "fcs_shipments";
|
|
const invoices_collection = "invoices";
|
|
const delivery_address_collection = "delivery_addresses";
|
|
const cargo_types_collection = "cargo_types";
|
|
const custom_duties_collection = "custom_duties";
|
|
const discounts_by_weights_collection = "discounts_by_weight";
|
|
const shipments_collection = "shipments";
|
|
const cartons_collection = "cartons";
|
|
const discounts_collection = "discounts";
|
|
|
|
// docs
|
|
const setting_doc_id = "setting";
|
|
const rate_doc_id = "rate";
|
|
|
|
// user's status
|
|
const user_requested_status = "requested";
|
|
const user_invited_status = "invited";
|
|
const user_disabled_status = "disabled";
|
|
const user_joined_status = "joined";
|
|
|
|
const pkg_files_path = "/packages";
|
|
const shipment_labels_files_path = "/shipment_labels";
|
|
|
|
// Link page
|
|
const page_payment_methods = "payment_methods";
|
|
const page_buying_instructions = "buying_instructions";
|
|
const page_rates = "rates";
|
|
|
|
// Message type
|
|
const message_type_package = "t_p";
|
|
const message_type_profile = "t_profile";
|
|
const message_type_shipment = "t_s";
|
|
|
|
// Fcs shipment status
|
|
const fcs_shipment_confirmed_status = "confirmed";
|
|
const fcs_shipment_shipped_status = "shipped";
|
|
const fcs_shipment_delivered_status = "delivered";
|
|
|
|
// Package status
|
|
const package_received_status = "received";
|
|
const package_processed_status = "processed";
|
|
const package_packed_status = "packed";
|
|
const package_shipped_status = "shipped";
|
|
const package_delivered_status = "delivered";
|
|
|
|
// Privileges
|
|
const privilege_sys_admin = "sa";
|
|
const privilege_admin = "admin";
|
|
const privilege_support = "sp";
|
|
const privilege_package = "pkg";
|
|
const privilege_shipment = "sh";
|
|
const privilege_fcs_shipment = "fsh";
|
|
const privilege_staff = "st";
|
|
const privilege_carton = "ca";
|
|
const privilege_customer = "cu";
|
|
const privilege_delivery = "deli";
|
|
const privilege_invoice = "inv";
|
|
const privilege_processing = "pr";
|
|
const privilege_receiving = "rc";
|
|
|
|
// Pickup types
|
|
const shipment_local_pickup = "Local pickup";
|
|
const shipment_courier_pickup = "Courier pickup";
|
|
const shipment_local_dropoff = "Local drop off";
|
|
const shipment_courier_dropoff = "Courier drop off";
|
|
|
|
//Carton types
|
|
const carton_from_packages = "From packages";
|
|
const carton_from_shipments = "From shipments";
|
|
const carton_mix_box = "Mix carton";
|
|
const carton_small_bag = "Small bag";
|
|
|
|
//Carton status
|
|
const carton_packed_status = "packed";
|
|
const carton_shipped_status = "shipped";
|
|
const carton_delivered_status = "delivered";
|
|
|
|
// shipment status
|
|
const shipment_pending_status = "pending";
|
|
const shipment_assigned_status = "assigned";
|
|
const shipment_confirmed_status = "confirmed";
|
|
const shipment_received_status = "received";
|
|
const shipment_pickuped_status = "pickuped";
|
|
const shipment_packed_status = "packed";
|
|
const shipment_shipped_status = "shipped";
|
|
const shipment_delivered_status = "delivered";
|
|
|
|
// invoice status
|
|
const invoice_issued_status = "issued";
|
|
const invoice_saved_status = "saved";
|
|
const invoice_cancel_status = "canceled";
|
|
const invoice_paid_status = "paid";
|