Skip to content

Commit ffa03eb

Browse files
authored
Merge pull request #158 from goldenm-software/development
feat: add modal field to AtsIdeInformation and ORDER_RECEIVED status …
2 parents 009b08a + ce49fa6 commit ffa03eb

7 files changed

Lines changed: 44 additions & 21 deletions

File tree

.flutter-plugins-dependencies

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
# Changelog
22

3+
## 3.6.19
4+
5+
-Added new value `modal` in `AtsIdeInformation`
6+
-Added new value `ORDER_RECEIVED` in `AtsPurchaseOrderStatus`
7+
38
## 3.6.18
49

510
- Added new `Poi` and `PoiInput` models to the `map` module
611
- Added `mapLayerId`, `mapLayer`, `pois`, and `poisIds` fields to `Locator` model
712
- Added `poisIds` and `mapLayerId` fields to `LocatorInput` and `MapLayerInput`
813

914
## 3.6.17
15+
1016
- Refactored AtsCommandExecutionHistory model:
1117
- Replaced fields fromAsset, toAsset, and fatherAsset from String? to Asset?
1218
- Replaced generatedBy from String? to User?

lib/src/ats/ats.freezed.dart

Lines changed: 25 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/ats/ats.g.dart

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/ats/src/enums/purchase_order_status.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ enum AtsPurchaseOrderStatus {
2525
@JsonValue('UNLOADING_BOOKED')
2626
unloadingBooked,
2727
@JsonValue('VALIDATED')
28-
validated
28+
validated,
29+
@JsonValue('ORDER_RECEIVED')
30+
orderReceived
2931
;
3032

3133
@override

lib/src/ats/src/reception/ide_information.dart

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@ abstract class AtsIdeInformation with _$AtsIdeInformation {
1414

1515
/// CFOP
1616
String? cfop,
17+
18+
/// Operation type
1719
String? operationType,
20+
21+
/// Modal
22+
String? modal,
1823
}) = _AtsIdeInformation;
1924

2025
factory AtsIdeInformation.fromJson(Map<String, dynamic> json) => _$AtsIdeInformationFromJson(json);

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
description: Layrz API models for Dart/Flutter. This package contains the models used by the Layrz API.
22
name: layrz_models
3-
version: "3.6.18"
3+
version: "3.6.19"
44
repository: https://github.com/goldenm-software/layrz_models
55

66
environment:

0 commit comments

Comments
 (0)