@cxtms/cx-schema 1.9.248 → 1.9.250

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cxtms/cx-schema",
3
- "version": "1.9.248",
3
+ "version": "1.9.250",
4
4
  "description": "Schema validation package for CXTMS YAML modules",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -23,6 +23,12 @@
23
23
  "description": "Name of the refresh handler",
24
24
  "x-example": "states"
25
25
  },
26
+ "toolbarSx": {
27
+ "type": "object",
28
+ "description": "MUI sx overrides merged onto the toolbar CardContent, useful for reducing padding in narrow hosts",
29
+ "additionalProperties": true,
30
+ "x-example": { "px": 2, "py": 1 }
31
+ },
26
32
  "enableStore": {
27
33
  "type": "boolean",
28
34
  "description": "Enable store for the datagrid, row data will be placed in the store"
@@ -11038,6 +11038,9 @@ extend type Mutation {
11038
11038
  createOrderMove(input: CreateOrderMoveInput!): CreateOrderMovePayload!
11039
11039
  updateOrderMove(input: UpdateOrderMoveInput!): UpdateOrderMovePayload!
11040
11040
  deleteOrderMove(input: DeleteOrderMoveInput!): DeleteOrderMovePayload!
11041
+ createOrderMoveLeg(input: CreateOrderMoveLegInput!): CreateOrderMoveLegPayload!
11042
+ updateOrderMoveLeg(input: UpdateOrderMoveLegInput!): UpdateOrderMoveLegPayload!
11043
+ deleteOrderMoveLeg(input: DeleteOrderMoveLegInput!): DeleteOrderMoveLegPayload!
11041
11044
  }
11042
11045
 
11043
11046
  type OrderMovesCollectionSegment {
@@ -11093,7 +11096,14 @@ input CreateOrderMoveCommandValuesInput { orderId: Int!, sequence: Int, name: St
11093
11096
  input CreateOrderMoveLegValuesInput { name: String, orderMoveLegStatusId: Int, startDate: DateTime, endDate: DateTime, customValues: MapOfObject }
11094
11097
  input UpdateOrderMoveInput { organizationId: Int!, orderMoveId: Int!, values: MapOfObject! }
11095
11098
  input DeleteOrderMoveInput { organizationId: Int!, orderMoveId: Int! }
11099
+ input CreateOrderMoveLegInput { organizationId: Int!, values: CreateOrderMoveLegCommandValuesInput! }
11100
+ input CreateOrderMoveLegCommandValuesInput { orderMoveId: Int!, sequence: Int, name: String, orderMoveLegStatusId: Int, startDate: DateTime, endDate: DateTime, customValues: MapOfObject }
11101
+ input UpdateOrderMoveLegInput { organizationId: Int!, orderMoveLegId: Int!, values: MapOfObject! }
11102
+ input DeleteOrderMoveLegInput { organizationId: Int!, orderMoveLegId: Int! }
11096
11103
  type CreateOrderMovePayload { orderMove: orderMove, query: Query! }
11097
11104
  type UpdateOrderMovePayload { orderMove: orderMove, query: Query! }
11098
11105
  type DeleteOrderMovePayload { deleteResult: DeleteResult, query: Query! }
11106
+ type CreateOrderMoveLegPayload { orderMoveLeg: orderMoveLeg, query: Query! }
11107
+ type UpdateOrderMoveLegPayload { orderMoveLeg: orderMoveLeg, query: Query! }
11108
+ type DeleteOrderMoveLegPayload { deleteResult: DeleteResult, query: Query! }
11099
11109
 
@@ -186,6 +186,7 @@ are appended and omitted existing records are not deleted.
186
186
  - Order move queries: `orderMove`, `orderMoves`, `orderMoveStatus`, `orderMoveStatuses`, `orderMoveLegStatus`, and `orderMoveLegStatuses`.
187
187
  - Nested order resolvers: `getOrderMoves(filter, orderBy)` returns pending or statusless moves (defaulted to sequence order), while `getOrderMove(filter, orderBy)` returns the first matching pending or statusless move. Moves whose status stage is no longer `Pending` are excluded.
188
188
  - Order move mutations create, sparse-update, and soft-delete moves; create/update accepts nested `orderMoveLegs`, reconciled by ID and array order. Omitted or `isDeleted: true` legs are soft-deleted, new already-deleted legs are ignored, and only active legs consume sequence positions.
189
+ - `createOrderMoveLeg`, `updateOrderMoveLeg`, and `deleteOrderMoveLeg` manage one leg without resending the parent move. Create requires `orderMoveId`, appends after the last active leg when `sequence` is omitted, and accepts name, status, dates, and custom values. Update takes a sparse values map; delete is soft. Each operation is organization-scoped through the parent move.
189
190
  - A dynamic order update can supply `orderMoves` to reconcile the full collection with the same rules. New moves inherit `organizationId` and `orderId` from the aggregate; omitted or explicitly deleted moves are soft-deleted; active moves and nested legs are resequenced from 1.
190
191
  - Mutations use `input: { organizationId, values }` and return payload fields named `dispatchRouteStatus`, `dispatchRouteStopStatus`, `dispatchRouteTemplate`, `dispatchRoute`, or `generateDispatchRoutesResult`.
191
192
  - Stop status mutations: `createDispatchRouteStopStatus`, `updateDispatchRouteStopStatus`, `deleteDispatchRouteStopStatus`.
@@ -36,6 +36,8 @@ Available root queries: `orders`, `contacts`, `commodities`, `accountingTransact
36
36
 
37
37
  Order quick search (`orders.search` and `orderGroupBy.search`) matches order number, bill-to, carriers, tracking numbers, order entities, commodity text/tracking numbers, and InventoryItem values linked through order commodities or child/container commodities. Inventory item matches include `sku`, `productName`, `description`, `modelNumber`, and JSON `customValues` such as color or size.
38
38
 
39
+ Order-move quick search (`orderMoves.search`) matches the move name plus its owning order's tracking number and JSON custom values (for example, a container number). Matching is case-insensitive and accepts partial text.
40
+
39
41
  ## App Module Metadata Visibility
40
42
 
41
43
  GraphQL metadata queries hide rows attached to soft-deleted app modules:
@@ -26,6 +26,7 @@ Full-featured data table with views, filtering, sorting, pagination, and row act
26
26
  | Prop | Type | Description |
27
27
  |------|------|-------------|
28
28
  | `toolbar` | `component[]` | Header toolbar components |
29
+ | `toolbarSx` | `object` | MUI `sx` overrides merged onto the toolbar `CardContent`; use this to reduce padding in narrow hosts without hiding toolbar controls |
29
30
  | `dotsMenu` | `{items[]}` | Three-dot menu per row |
30
31
  | `dotsMenu.items[]` | `{label, icon, onClick, permission, isHidden, disabled}` | Menu item |
31
32