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.18

- Added `purchaseOrderIds` field (`List<String>?`) to `AtsReceptionInput` to align with the GraphQL `ReceptionInput` schema.
- Deprecated `ordersIds` field in `AtsReceptionInput` in favor of `purchaseOrderIds`.

## 3.8.17

- Added `ReferenceCategory.atsShowOnlyLastExit` (`ATS_SHOW_ONLY_LAST_EXIT`) to flag pump assets whose exit history should be limited to the most recent record.
Expand Down
44 changes: 25 additions & 19 deletions lib/src/ats/ats.freezed.dart

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

4 changes: 4 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.

5 changes: 4 additions & 1 deletion lib/src/ats/src/reception/reception_product.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ abstract class AtsReceptionInput with _$AtsReceptionInput {
String? id,

/// List of [AtsPurchaseOrder] IDs.
List<String>? ordersIds,
@Deprecated('Use purchaseOrderIds instead') List<String>? ordersIds,

/// Diferent [AtsReceptionProductInput] obtained of the [AtsPurchaseOrder]
List<AtsReceptionProductInput>? products,
Expand All @@ -78,6 +78,9 @@ abstract class AtsReceptionInput with _$AtsReceptionInput {

/// App used to create the [AtsReception].
@AtsFromAppOrNullConverter() AtsFromApp? app,

/// IDs of the [AtsPurchaseOrder]s.
List<String>? purchaseOrderIds,
}) = _AtsReceptionInput;

factory AtsReceptionInput.fromJson(Map<String, dynamic> json) => _$AtsReceptionInputFromJson(json);
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.17"
version: "3.8.18"
repository: https://github.com/goldenm-software/layrz_models

environment:
Expand Down
Loading