Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 3.8.19

- Added new value `executedAt` in `ManifestInput` and `Manifest` models
- Added new values `sampleTemperature` and `tankTemperature` in `TankMeasurement` models, and deprecated `temperature` value

## 3.8.18

- Added `purchaseOrderIds` field (`List<String>?`) to `AtsReceptionInput` to align with the GraphQL `ReceptionInput` schema.
Expand Down
125 changes: 73 additions & 52 deletions lib/src/ats/ats.freezed.dart

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions lib/src/ats/ats.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions lib/src/ats/src/manifest/entity/manifest.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ abstract class Manifest with _$Manifest {
/// The [createdAt] parameter is the date of the manifest entity.
@TimestampOrNullConverter() DateTime? createdAt,

/// [executedAt] is the timestamp when the manifest was executed.
@TimestampOrNullConverter() DateTime? executedAt,

/// The [trim] parameter is the trim of the manifest entity.
double? trim,

Expand Down
8 changes: 7 additions & 1 deletion lib/src/ats/src/manifest/entity/tank_measurement.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ abstract class TankMeasurement with _$TankMeasurement {
double? height,

/// The [temperature] parameter is the temperature of the tank measurement.
double? temperature,
@Deprecated('Use sampleTemperature instead') double? temperature,

/// The [volume] parameter is the volume of the tank measurement.
double? volume,
Expand All @@ -32,6 +32,12 @@ abstract class TankMeasurement with _$TankMeasurement {

/// The [convertedVolume] parameter is the converted volume of the tank measurement.
double? convertedVolume,

/// The [sampleTemperature] parameter is the sample temperature of the tank measurement.
double? sampleTemperature,

/// The [tankTemperature] parameter is the tank temperature of the tank measurement.
double? tankTemperature,
}) = _TankMeasurement;

/// Creates a new [TankMeasurement] instance from a JSON map.
Expand Down
3 changes: 3 additions & 0 deletions lib/src/ats/src/manifest/input/manifest.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ abstract class ManifestInput with _$ManifestInput {

/// [createdAt] is the timestamp when the manifest was created.
@TimestampOrNullConverter() DateTime? createdAt,

/// [executedAt] is the timestamp when the manifest was executed.
@TimestampOrNullConverter() DateTime? executedAt,
}) = _ManifestInput;

/// Creates a new [ManifestInput] instance from a JSON map.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
description: Layrz API models for Dart/Flutter. This package contains the models
used by the Layrz API.
name: layrz_models
version: "3.8.18"
version: "3.8.19"
repository: https://github.com/goldenm-software/layrz_models

environment:
Expand Down
Loading