household_biz.get_restaurant_dish_batches
Overview
- Returns restaurant cooking/serving batches with tray placement, cloche, and CookedDishInfo validation details (BL-58473/BL-58474).
Metadata
| Field | Value |
|---|---|
| Display | Get Restaurant Dish Batches |
| Category | household_biz |
| Access | Public |
| Scope | B2Authority |
| Tags | — |
| Aliases | — |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| household_biz_id | entityId | no | — | Target HouseholdBiz entity id (default: possessed) |
Returns
Returns a JSON array; each element is an object with the following fields:
| Field | Type | Required | Description |
|---|---|---|---|
batch_id | int | yes | Persistent restaurant dish batch id |
state | string | yes | Batch state inferred from all matching order tickets |
table_entity_id | entityId | yes | Assigned restaurant table entity id |
chef_entity_id | entityId | yes | Current/original chef entity id |
tray_entity_id | entityId | yes | Bound WaiterTray01 entity id |
charged_crafting_cost | int | yes | Actual business-fund crafting cost already charged; -1 means not charged |
order_ticks | int | yes | Earliest original order tick |
serving_claim_entity_id | entityId | yes | Current server claim entity id |
tray_exists | bool | yes | Whether the bound tray entity currently exists |
parent_furniture_entity_id | entityId | yes | Furniture currently holding the tray |
occupied_slot_name | name | yes | Object slot occupied by the tray |
business_furniture_owned | bool | yes | Whether the parent is business-owned furniture at the business site |
slot_compatible | bool | yes | Whether the occupied Object slot accepts and contains the tray |
placement_valid | bool | yes | Whether the complete restaurant tray placement invariant passes |
cloche_state | string | yes | Current cloche state: Covered/Open/None |
cooked_dish_info_valid | bool | yes | Whether CookedDishInfo exactly matches this batch |
entries | array<object> | yes | Per-seat cooked results |
entries[].eater_entity_id | entityId | yes | Ordered eater entity id |
entries[].eater_household_entity_id | entityId | yes | Household snapshotted when ordered |
entries[].seat_entity_id | entityId | yes | Assigned seat entity id |
entries[].recipe_id | name | yes | Ordered recipe id |
entries[].quality_grade | string | yes | Rolled cooking quality |
Usage
await inzoi.cli.execute('household_biz.get_restaurant_dish_batches', {
household_biz_id: 0, // optional
});