picker-db 5.0.12 → 5.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## v5.0.14
6
+ ### Added
7
+ * DP-14623: Added `businessName` field to Booking Stop entity for tracking business name information in booking stops.
8
+
9
+ ## v5.0.13
10
+ ### Added
11
+ * DP-14570: Added `weight` field to Booking schema (Number, min: 0) for Ground Delivery package weight in pounds (LB).
12
+
5
13
  ## v5.0.12
6
14
  ### Added
7
15
  * DP-14414: Added `guideID` (ObjectId, indexed) and `guideNumericId` (number) fields to Booking schema for guide-booking relationships.
package/CLAUDE.md CHANGED
@@ -84,4 +84,4 @@ npm test
84
84
 
85
85
  ## Recent Context
86
86
 
87
- The repository is on the `feature/DP-14414-guide-booking-support` branch. Recent work added guide-related fields (guideID and guideNumericId) to the Bookings schema to support guide-booking relationships. Version has been bumped to 5.0.12.
87
+ The repository is on the `DP-14570` branch. Recent work added a `weight` field (Number, min: 0, in LB) to the Bookings schema to support package weight in Ground Delivery flows. Version has been bumped to 5.0.13.
@@ -18,6 +18,9 @@ module.exports = (connection) => {
18
18
  ref: "User",
19
19
  required: true,
20
20
  },
21
+ businessName: {
22
+ type: String,
23
+ },
21
24
  address: {
22
25
  type: String,
23
26
  },
@@ -404,6 +404,10 @@ module.exports = (connection) => {
404
404
  default: BOOKING.SEARCH_TYPES.ON_DEMAND,
405
405
  index: true,
406
406
  },
407
+ weight: {
408
+ type: Number,
409
+ min: 0,
410
+ },
407
411
  transactionDetails: {
408
412
  itemCharge: {
409
413
  type: connection.base.Schema.ObjectId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "picker-db",
3
- "version": "5.0.12",
3
+ "version": "5.0.14",
4
4
  "description": "Picker DB services",
5
5
  "main": "index.js",
6
6
  "scripts": {