feat: Adding observers/loads endpoint

This commit is contained in:
Josepablo C
2025-06-06 23:26:46 -06:00
parent ef66a297d4
commit 661c550cb2
7 changed files with 156 additions and 257 deletions

View File

@@ -43,7 +43,8 @@ const schema = new Schema({
alert_list: [{ type: String, lowercase: true }],
shipper_warehouse : { type: Schema.Types.ObjectId, ref: 'branches' },
origin_warehouse : { type: Schema.Types.ObjectId, ref: 'branches' },
destination_warehouse : { type: Schema.Types.ObjectId, ref: 'branches' },
origin: address,
origin_geo: {