mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 00:38:11 +00:00
api
This commit is contained in:
@@ -366,6 +366,15 @@ export const URL_CONSTANTS = {
|
||||
GATE_CLEARANCE: (inventoryId: string) => `/warehouse-inventory/${inventoryId}/gate-clearance`,
|
||||
},
|
||||
|
||||
INTERCHANGE_DOCUMENTS: {
|
||||
BASE: '/interchange-documents',
|
||||
BY_ID: (id: string) => `/interchange-documents/${id}`,
|
||||
GENERATE_FROM_SCHEDULE: '/interchange-documents/generate-from-schedule',
|
||||
ACKNOWLEDGE: (id: string) => `/interchange-documents/${id}/acknowledge`,
|
||||
DISPUTE: (id: string) => `/interchange-documents/${id}/dispute`,
|
||||
CANCEL: (id: string) => `/interchange-documents/${id}/cancel`,
|
||||
},
|
||||
|
||||
VEHICLES: {
|
||||
BASE: '/vehicles',
|
||||
BY_ID: (id: string) => `/vehicles/${id}`,
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
// export const API_BASE_URL = 'https://edrfreightapi.triaplc.com';
|
||||
export const API_BASE_URL = 'https://edrfreightapi.triaplc.com';
|
||||
|
||||
export const API_BASE_URL = 'http://localhost:3001';
|
||||
// export const API_BASE_URL = 'http://localhost:3001';
|
||||
|
||||
Reference in New Issue
Block a user