busroot-sdk 0.0.8-dev.2849775411 → 0.0.8-dev.2849999519

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.
Files changed (2) hide show
  1. package/build/index.js +3 -2
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -2614,7 +2614,7 @@ var require_schedule = __commonJS({
2614
2614
  "../../packages/common/build/schemas/schedule.js"(exports2) {
2615
2615
  "use strict";
2616
2616
  Object.defineProperty(exports2, "__esModule", { value: true });
2617
- exports2.ScheduleLogSchema = exports2.ScheduleQueryResult = exports2.ScheduleSchema = exports2.ScheduleIdSchema = exports2.SCHEDULE_LOG_MODEL = exports2.SCHEDULE_MODEL = exports2.MAX_PARTS_PER_CYCLE = void 0;
2617
+ exports2.ScheduleLogSchema = exports2.ScheduleQueryResult = exports2.ScheduleSchema = exports2.ScheduleIdSchema = exports2.SCHEDULE_LOG_MODEL = exports2.SCHEDULE_MODEL = exports2.MAX_PLANNED_QUANTITY = exports2.MAX_PARTS_PER_CYCLE = void 0;
2618
2618
  var zod_1 = require("zod");
2619
2619
  var shared_1 = require_shared();
2620
2620
  var time_1 = require_time();
@@ -2622,6 +2622,7 @@ var require_schedule = __commonJS({
2622
2622
  var sku_1 = require_sku();
2623
2623
  var base_reason_1 = require_base_reason();
2624
2624
  exports2.MAX_PARTS_PER_CYCLE = 99999;
2625
+ exports2.MAX_PLANNED_QUANTITY = 9999999;
2625
2626
  exports2.SCHEDULE_MODEL = "schedule";
2626
2627
  exports2.SCHEDULE_LOG_MODEL = "schedule_log";
2627
2628
  exports2.ScheduleIdSchema = zod_1.z.coerce.number().int().gt(0);
@@ -2631,7 +2632,7 @@ var require_schedule = __commonJS({
2631
2632
  stationCode: base_station_1.StationCodeSchema.describe("Station: Select the Station to be scheduled."),
2632
2633
  plannedStartAt: shared_1.BusrootDateTime.nullish().describe("Planned Start: Enter the planned start time."),
2633
2634
  plannedEndAt: shared_1.BusrootDateTime.nullish().describe("Planned End: Enter the planned end time."),
2634
- plannedQuantity: zod_1.z.number().int().gt(0).lte(9999999).nullish().describe("Qty: Enter the target quantity."),
2635
+ plannedQuantity: zod_1.z.number().int().gt(0).lte(exports2.MAX_PLANNED_QUANTITY).nullish().describe("Qty: Enter the target quantity."),
2635
2636
  skuCode: sku_1.SkuCodeSchema.nullish().describe("Individual SKU: Select the SKU to be produced."),
2636
2637
  workOrderReference: zod_1.z.string().trim().nullish().describe("Work Order Ref.: Add a reference to the schedule. Schedules with the same reference will be grouped in Production by WO Ref."),
2637
2638
  workOrderItemReference: zod_1.z.string().trim().nullish().describe("Work Order Item Ref.: A per-row unique identifier for the schedule. On upload, rows with a workOrderItemReference that already exists in the account are ignored so re-uploads do not duplicate schedules."),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "busroot-sdk",
3
- "version": "0.0.8-dev.2849775411",
3
+ "version": "0.0.8-dev.2849999519",
4
4
  "description": "An SDK for accessing Busroot from output.industries",
5
5
  "homepage": "https://www.output.industries",
6
6
  "main": "./build/index.js",