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

- Added new value `NFE_CHANGED` in `AtsPurchaseOrderStatus` enum
- Added new value `checkInAt` in `AtsOperation` model

## 3.8.8

- Fixed `casesMonitorConfig` type in `Workspace` model to be a list of nullable `CaseMonitorCard?` instead of non-nullable `CaseMonitorCard`.
Expand Down
45 changes: 25 additions & 20 deletions lib/src/ats/ats.freezed.dart

Large diffs are not rendered by default.

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

4 changes: 3 additions & 1 deletion lib/src/ats/src/enums/purchase_order_status.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ enum AtsPurchaseOrderStatus {
@JsonValue('VALIDATED')
validated,
@JsonValue('ORDER_RECEIVED')
orderReceived
orderReceived,
@JsonValue('NFE_CHANGED')
nfeChanged
;

@override
Expand Down
3 changes: 3 additions & 0 deletions lib/src/ats/src/operations/operation.dart
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ abstract class AtsOperation with _$AtsOperation {

/// [mdfes] is the list of MDF-e linked to the operation.
List<AtsMdfe>? mdfes,

/// [checkInAt] is the timestamp of the check-in.
@TimestampOrNullConverter() DateTime? checkInAt,
}) = _AtsOperation;

factory AtsOperation.fromJson(Map<String, dynamic> json) => _$AtsOperationFromJson(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.8"
version: "3.8.9"
repository: https://github.com/goldenm-software/layrz_models

environment:
Expand Down
Loading