NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #3198 most downloaded on pub.dev
Layrz API models for Dart/Flutter. This package contains the models used by the Layrz API.
Last release 9 days ago
29 Sep 2026
Ships on a steady schedule
a new release about every 9 days
Nearly every release is documented
notes for 59 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
3 years old
562 releases · first in 2023
One column per quarter.
Added thirdPartyStorage value to AtsLoadingParamsSample enum, mapped to THIRD_PARTY_STORAGE JSON value.
thirdPartyStorage value to AtsLoadingParamsSample enum, mapped to THIRD_PARTY_STORAGE JSON value.correctionFactor and liquidWeight fields to AtsLoadingParamsFormInput model for third-party storage support.Added GqlSubscription class for composable GraphQL subscription query construction.
GqlSubscription class for composable GraphQL subscription query construction.LayrzConnector.subscribe() method to open WebSocket subscriptions using the graphql-transport-ws protocol.Added attributes field to TableItem and TableItemInput models to support asset attributes in workspace tables.
attributes field to TableItem and TableItemInput models to support asset attributes in workspace tables.Removed stockClosingId to StockClosingTankInput model
stockClosingId to StockClosingTankInput modelAdded linkedStorageTerminals and linkedStorageTerminalsIds fields to Asset model.
linkedStorageTerminals and linkedStorageTerminalsIds fields to Asset model.linkedStorageTerminalsIds field to AssetInput model.invoiceId field to AtsPurchaseOrder model.atsGetAllTerminals and atsStorageReceptionAccess values to ReferenceCategory enum.Added gql_builder module (GqlQuery, GqlMutation, GqlFragment, GqlField, GqlVariable) for composable, type-safe GraphQL query construction.
gql_builder module (GqlQuery, GqlMutation, GqlFragment, GqlField, GqlVariable) for composable, type-safe GraphQL query construction.LayrzConnector from lib/src/utils/ into the api/ module; still accessible via the top-level barrel.LayrzConnector.perform(Gql) replacing the raw-string perform(query:, variables:) method.GqlVariableType.list with listOf and nestedRequired for [ID]! and [ID!]! list types.GqlVariableType.input with inputName for GraphQL input object variables.GqlField.args for rendering field-level arguments (e.g. charts(apiToken: $apiToken)).Avatar.gqlFragment reusable fragment.LayrzChart, LayrzChartInput, Access, User, Locator, LocatorInput, MapLayer, MapLayerInput, Poi, PoiInput, Token, RegisteredApp) to the gql_builder.assets, assetsIds, and enableLttb fields to LayrzChart and LayrzChartInput.fragments: list required.Added StockClosing entity model
StockClosing entity modelStockClosingTank entity modelTankChangesType entity modelStockClosingInput input modelStockClosingTankInput input modelAdded terminalEntryAt and terminalExitAt values in AtsOperation model
terminalEntryAt and terminalExitAt values in AtsOperation modelDeprecated temperature value in TankMeasurementInput model
temperature value in TankMeasurementInput modelsampleTemperature and tankTemperature in TankMeasurementInput modelAdded RealtimeMessage model with topic and payload fields in the new realtime module.
RealtimeMessage model with topic and payload fields in the new realtime module.Added ATS_PREVENT_CHANGES_IN_CACL_TELEMETRY_INPUTS value to ReferenceCategory enum
ATS_PREVENT_CHANGES_IN_CACL_TELEMETRY_INPUTS value to ReferenceCategory enumAdded CaclCategory enum to category value in CaclEntity and CaclInput models
CaclCategory enum to category value in CaclEntity and CaclInput modelsAdded showAssetsLabels, showGeofencesLabels, showPoisLabels, and showAssetsTrails boolean fields to Locator and LocatorInput.
showAssetsLabels, showGeofencesLabels, showPoisLabels, and showAssetsTrails boolean fields to Locator and LocatorInput.enableSidebar and showAssetsTrails default to true in LocatorInput.- Refactor CaclInput.
CaclInput.Remove unused properties mapLayerId and poisIds from MapLayerInput
mapLayerId and poisIds from MapLayerInputAdded loadingOrders value to AtsOperation model
loadingOrders value to AtsOperation modelRemoved deprecated telegramUnauthorized and telegramBadRequest values from ApiStatus.
unknown, userNotFound, wrongPassword, accountBlocked, and passwordUsedBefore values to ApiStatus.telegramUnauthorized and telegramBadRequest values from ApiStatus.MapLayerInput model with full API callers (fetch, fetchAll, save, delete).LocatorApiResponse in favour of the generic ApiResponse<Locator, Map<String, dynamic>>.PoiApiResponse in favour of the generic ApiResponse<Poi, Map<String, dynamic>>.'INTERNAL_ERROR' strings with ApiStatus.internalError.toJson() across all API callers.Updated Locator.fetchAllGraphqlQuery to include description in the query result fields.
Locator.fetchAllGraphqlQuery to include description in the query result fields.Added description field to Locator and LocatorInput models.
description field to Locator and LocatorInput models.Locator GraphQL fragment to include description.Added LocatorBoundary and LocatorBoundaryPoint models (freezed + unfreezed variants) for representing the geographic bounding box of a locator.
LocatorBoundary and LocatorBoundaryPoint models (freezed + unfreezed variants) for representing the geographic bounding box of a locator.boundary field to Locator and LocatorInput models.Locator GraphQL fragment to include boundary data.Added operation value in CaclEntity model
operation value in CaclEntity modelChanged pois and poisIds fields in Locator from non-nullable with default empty list to nullable List ? and List ?.
pois and poisIds fields in Locator from non-nullable with default empty list to nullable List<Poi>? and List<String>?.Added graphqlIdFragment and graphqlUuidFragment static constants to Access for GraphQL queries.
graphqlIdFragment and graphqlUuidFragment static constants to Access for GraphQL queries.save() and delete() methods to AccessInput with full GraphQL mutation support (both ID and UUID variants).Poi.graphqlFragment to include the access field using the UUID access fragment.- CI issues, no code changes.
Added PoiInput model to the map module with save() support for creating and editing points of interest via GraphQL.
PoiInput model to the map module with save() support for creating and editing points of interest via GraphQL.PoiApiResponse helper class to the map module.Added hasWorldwideCoverage to Device model to represent if the device has worldwide coverage, for the BHS use case, this field is used to identify if
hasWorldwideCoverage to Device model to represent if the device has worldwide coverage, for the BHS use case, this field is used to identify if the device has GPS insurance.hasGpsInsurance to User model to represent if the user has GPS insurance, for the BHS use case.-Added new value modal in AtsIdeInformation -Added new value ORDER_RECEIVED in AtsPurchaseOrderStatus
-Added new value modal in AtsIdeInformation
-Added new value ORDER_RECEIVED in AtsPurchaseOrderStatus
Added new Poi and PoiInput models to the map module
Poi and PoiInput models to the map modulemapLayerId, mapLayer, pois, and poisIds fields to Locator modelpoisIds and mapLayerId fields to LocatorInput and MapLayerInputRefactored AtsCommandExecutionHistory model:
Added new model AtsLoadingOrder
AtsLoadingOrderloadingOrders in AtsOrder modelAdded new value VALIDATED in AtsPurchaseOrderStatus enum
VALIDATED in AtsPurchaseOrderStatus enumATS_SUPERVISORIO_EXPORT_CACL in ReferenceCategory enumAdded density20 in AtsLoadingParamsFormInput
density20 in AtsLoadingParamsFormInputAdded TokenAudience enum with values API and SESSION
TokenAudience enum with values API and SESSIONid, issuedAt, and audience fields to Token modelvalidBefore to nullable in Token modelfetchAll, expire, and create GraphQL operations to Token modelFix AtsPurchaseOrderCategoriesEntity enum values
AtsPurchaseOrderCategoriesEntity enum valuesAdded new value PRODUCTION_SALE_TO_FREE_TRADE_ZONE in AtsPurchaseOrderCategoriesEntity enum
PRODUCTION_SALE_TO_FREE_TRADE_ZONE in AtsPurchaseOrderCategoriesEntity enumIntenal re-organization of modules
EmployeeInput and CustomPermissionInput in favor of centralization of models.Added AppPlatform enum to represent the platform of the passkey in the Passkey model.
AppPlatform enum to represent the platform of the passkey in the Passkey model.Added new Passkey model to represent passkeys registered for users and employees.
Passkey model to represent passkeys registered for users and employees.Renamed ExternalAccountForm to ExternalAccountInput
ExternalAccountForm to ExternalAccountInputAdded TWO_YEARLY value in BrickhouseBillingPeriod enum
TWO_YEARLY value in BrickhouseBillingPeriod enumChanged order value type in AtsOrderStatusHistory model
order value type in AtsOrderStatusHistory modelATS_EXPORT_RAFT_CLOSURE_REPORT_PDF value in ReferenceCategory enumATS_SUPERVISORIO_EDIT_CACL value in ReferenceCategory enumATS_SUPERVISORIO_REMOVE_CACL value in ReferenceCategory enumAdded AtsOrderStatusHistory model
AtsOrder modelAtsOrderStatusHistory modelAdded ATS_BALSA_EXPORT_RECEIVEMENT_REPORT_PDF value in ReferenceCategory enum
ATS_BALSA_EXPORT_RECEIVEMENT_REPORT_PDF value in ReferenceCategory enumtotalExits20 value in AtsEntry modelAdded totalExits value in AtsEntry model
totalExits value in AtsEntry modelUpdated TwilioContentSid template SID on English
TwilioContentSid template SID on EnglishUpdated Operation and OperationInput to support new notifications
Operation and OperationInput to support new notificationsRempalce fatherAsset to fatherAssetId in AtsCommandExecuteHistoryInput
fatherAsset to fatherAssetId in AtsCommandExecuteHistoryInputAdd AtsCommandExecutionHistory and AtsCommandExecuteHistoryInput
AtsCommandExecutionHistory and AtsCommandExecuteHistoryInputAdded new value MEDIUM_ACCURACY in enum AtsEtaStatus
MEDIUM_ACCURACY in enum AtsEtaStatusAdded new value ATS_BALSA_BORDO in enum ReferenceCategory
ATS_BALSA_BORDO in enum ReferenceCategoryAdded new values minEta and etaStatus in AtsOperation model
AtsEtaStatusminEta and etaStatus in AtsOperation modelAdded new value BEFORE_UNLOAD in ManifestKind enum
BEFORE_UNLOAD in ManifestKind enumAdded migration guide for renaming ReportTemplateSource and ReportTemplateAlgorithm enums.
ReportTemplateSource and ReportTemplateAlgorithm enums.Added lastMessages to ReportSource enum columns
lastMessages to ReportSource enum columnsRenamed ReportTemplateSource to ReportSource enum, also, added ReportTemplateSource as typedef to avoid breaking changes.
ReportTemplateSource to ReportSource enum, also, added ReportTemplateSource as typedef to avoid breaking changes.ReportTemplateAlgorithm to ReportAlgorithm enum, also, added ReportTemplateAlgorithm as typedef to avoid breaking changes.Modified ApiResponse generic class to also include a second generic type Q for error representation.
ApiResponse<T> generic class to also include a second generic type Q for error representation.Upgraded to Dart SDK version 3.10.0 and Flutter version 3.38.1
ApiResponse<T> generic class to standardize API responses across the package.Changed temperature value in TankMeasurementInput to have the possibility of be null
temperature value in TankMeasurementInput to have the possibility of be nullAdded messageId in ManifestInput and Manifest models
messageId in ManifestInput and Manifest modelschange additionalFields of ExternalUnit to have the posibility of be null
additionalFields of ExternalUnit to have the posibility of be nullYour coding agent can read these notes before it upgrades. Set up the MCP server →