Constructor
new ReemoonSizerController()
Source
Methods
create(siteId, createData) → {Promise.<ReemoonSizerModel>}
Create a Reemoon Sizer [POST /packhouse/sites/{siteId}/reemoon-sizers]
Parameters
-
siteId
numberThe Site ID
-
createData
ReemoonSizerController.CreateDataThe Reemoon Sizer Create Data
Returns
-
Promise.<ReemoonSizerModel>
Source
delete(siteId, id) → {Promise.<boolean>}
Delete a Reemoon Sizer [DELETE /packhouse/sites/{siteId}/reemoon-sizers/{id}]
Parameters
-
siteId
numberThe Site ID
-
id
stringThe Reemoon Sizer ID
Returns
-
Promise.<boolean>
Source
getAll(siteId, queryParametersopt) → {Promise.<Array.<ReemoonSizerModel>>}
List all Reemoon Sizers [GET /packhouse/sites/{siteId}/reemoon-sizers]
Parameters
-
siteId
numberThe Site ID
-
queryParameters
ReemoonSizerController.GetAllQueryParameters<optional>
The Optional Query Parameters
Returns
-
Promise.<Array.<ReemoonSizerModel>>
Source
getOne(siteId, id) → {Promise.<ReemoonSizerModel>}
Retrieve a Reemoon Sizer [GET /packhouse/sites/{siteId}/reemoon-sizers/{id}]
Parameters
-
siteId
numberThe Site ID
-
id
stringThe Reemoon Sizer ID
Returns
-
Promise.<ReemoonSizerModel>
Source
update(siteId, id, updateData) → {Promise.<ReemoonSizerModel>}
Update a Reemoon Sizer [PATCH /packhouse/sites/{siteId}/reemoon-sizers/{id}]
Parameters
-
siteId
numberThe Site ID
-
id
stringThe Reemoon Sizer ID
-
updateData
ReemoonSizerController.UpdateDataThe Reemoon Sizer Update Data
Returns
-
Promise.<ReemoonSizerModel>
Source
Type Definitions
CreateData
The Create Data for a Reemoon Sizer
Type
-
Object
Properties
-
rtuId
number<optional>
<nullable>
The RTU this Reemoon Sizer belongs to
-
name
stringThe Reemoon Sizer Name
-
packingLineId
stringThe Packing Line ID that manages this Reemoon Sizer
-
sizerType
stringThe Sizer Type
-
autoCreateBatchDelay
number<optional>
The Auto Create Batch Delay in Seconds for this Reemoon Sizer
-
points
ObjectThe Points used by this Reemoon Sizer
-
lanes
Array.<ReemoonSizerController.ReemoonSizerLane><optional>
The Lanes defined for this Reemoon Sizer
-
outlets
Array.<ReemoonSizerController.ReemoonSizerOutlet><optional>
The Outlets defined for this Reemoon Sizer
-
fruitSizes
Array.<ReemoonSizerController.ReemoonSizerFruitSize><optional>
The Fruit Sizes defined and handled by this Reemoon Sizer
-
freshPackIntegration
ReemoonSizerController.FreshPackReemoonSizerIntegration<optional>
<nullable>
The FreshPack Integration Configuration for this Reemoon Sizer
-
reemoonIntegration
ReemoonSizerController.ReemoonSizerIntegrationThe Reemoon Integration Configuration for this Reemoon Sizer
-
sources
Array.<(ReemoonSizerController.RiserSource|ReemoonSizerController.SizerSource)><optional>
An Array of Sources that deliver Fruit to this Reemoon Sizer
-
productClassTypes
Array.<ReemoonSizerController.ProductClassType><optional>
An Array of Product to Class Type Maps for this Reemoon Sizer
Source
FreshPackReemoonSizerIntegration
A FreshPackReemoonSizerIntegration Type
Type
-
Object
Properties
-
points
ObjectThe Points used by this FreshPack Sizer Integration
-
enabled
booleanWhether this FreshPack Sizer Integration is Enabled
-
materialGroupId
numberThe FreshPack Material Group ID to be used for Multi-Grower Bins from this Sizer
-
binTypeId
numberThe FreshPack Bin Type ID to be used for Multi-Grower Bins from this Sizer
-
bulkWeightClassTypes
Array.<string>An Array of Class Types that should be Sent to FreshPack as Bulk Weights in Multi-Grower Bins
Source
GetAllQueryParameters
The Optional Query Parameters for the getAll Function
Type
-
Object
Properties
-
rtuId
number<optional>
<nullable>
The RTU this Reemoon Sizer belongs to
-
name
string<optional>
The Reemoon Sizer Name
-
packingLineId
string<optional>
The Packing Line ID that manages this Reemoon Sizer
-
sizerType
string<optional>
The Sizer Type
Source
ProductClassType
A ProductClassType Type
Type
-
Object
Properties
-
productName
stringName of the Reemoon Sizer Product
-
classType
stringThe Class Type for this Reemoon Sizer Product
-
matchType
stringThe Match Type used when Evaluating the Product Name
Source
ReemoonSizerFruitSize
A ReemoonSizerFruitSize Type
Type
-
Object
Properties
-
fruitSize
stringThe Fruit Size
-
points
ObjectThe Points used by this Fruit Size Configuration
Source
ReemoonSizerIntegration
A ReemoonSizerIntegration Type
Type
-
Object
Properties
-
points
ObjectThe Points used by this Reemoon Sizer Integration
-
enabled
booleanWhether this Reemoon Sizer Integration is Enabled
-
username
stringUsername for Authenticating with the Reemoon Sizer API
-
password
stringPassword for Authenticating with the Reemoon Sizer API
-
apiBaseUrl
stringBase URL of the Reemoon Sizer API
Source
ReemoonSizerLane
A ReemoonSizerLane Type
Type
-
Object
Properties
-
id
stringUnique ID of this Lane
-
number
numberThe Lane Number
-
points
ObjectThe Points used by this Lane
Source
ReemoonSizerOutlet
A ReemoonSizerOutlet Type
Type
-
Object
Properties
-
id
stringUnique ID of this Outlet
-
number
numberThe Outlet Number
-
type
stringThe Outlet Type
-
points
ObjectThe Points used by this Outlet
Source
RiserSource
A RiserSource Type
Type
-
Object
Properties
-
type
stringThe Source Type
-
riserId
stringID of the Riser Object
Source
SizerSource
A SizerSource Type
Type
-
Object
Properties
-
type
stringThe Source Type
-
sizerId
stringID of the Sizer Object
-
outletNumbers
Array.<number>An Array of Outlet Numbers on the Source Sizer that supply this Reemoon Sizer
Source
UpdateData
The Update Data for a Reemoon Sizer
Type
-
Object
Properties
-
name
string<optional>
The Reemoon Sizer Name
-
packingLineId
string<optional>
The Packing Line ID that manages this Reemoon Sizer
-
sizerType
string<optional>
The Sizer Type
-
autoCreateBatchDelay
number<optional>
The Auto Create Batch Delay in Seconds for this Reemoon Sizer
-
points
Object<optional>
The Points used by this Reemoon Sizer
-
lanes
Array.<ReemoonSizerController.ReemoonSizerLane><optional>
The Lanes defined for this Reemoon Sizer
-
outlets
Array.<ReemoonSizerController.ReemoonSizerOutlet><optional>
The Outlets defined for this Reemoon Sizer
-
fruitSizes
Array.<ReemoonSizerController.ReemoonSizerFruitSize><optional>
The Fruit Sizes defined and handled by this Reemoon Sizer
-
freshPackIntegration
ReemoonSizerController.FreshPackReemoonSizerIntegration<optional>
<nullable>
The FreshPack Integration Configuration for this Reemoon Sizer
-
reemoonIntegration
ReemoonSizerController.ReemoonSizerIntegration<optional>
The Reemoon Integration Configuration for this Reemoon Sizer
-
sources
Array.<(ReemoonSizerController.RiserSource|ReemoonSizerController.SizerSource)><optional>
An Array of Sources that deliver Fruit to this Reemoon Sizer
-
productClassTypes
Array.<ReemoonSizerController.ProductClassType><optional>
An Array of Product to Class Type Maps for this Reemoon Sizer