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
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 3.8.1

- Added `linkedStorageTerminals` and `linkedStorageTerminalsIds` fields to `Asset` model.
- Added `linkedStorageTerminalsIds` field to `AssetInput` model.
- Added `invoiceId` field to `AtsPurchaseOrder` model.
- Added `atsGetAllTerminals` and `atsStorageReceptionAccess` values to `ReferenceCategory` enum.

## 3.8.0

- Added `gql_builder` module (`GqlQuery`, `GqlMutation`, `GqlFragment`, `GqlField`, `GqlVariable`) for composable, type-safe GraphQL query construction.
Expand Down
101 changes: 69 additions & 32 deletions lib/src/assets/assets.freezed.dart

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions lib/src/assets/assets.g.dart

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

9 changes: 9 additions & 0 deletions lib/src/assets/src/asset.dart
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,14 @@ abstract class Asset with _$Asset {
/// Only used in ATS apps.
List<String>? linkedSupplyPointAssetsIds,

/// [linkedStorageTerminals] refers to the list of storage terminals assets linked to this asset.
/// Only used in ATS apps.
List<Asset>? linkedStorageTerminals,

/// [linkedStorageTerminalsIds] refers to the list of storage terminals assets IDs linked to this asset.
/// Only used in ATS apps.
List<String>? linkedStorageTerminalsIds,

/// [staticPosition] refers to the static position of the asset.
/// Only used when mode is [AssetMode.fixed].
StaticPosition? staticPosition,
Expand Down Expand Up @@ -223,6 +231,7 @@ abstract class AssetInput with _$AssetInput {
@Default('') String nfcIdentifier,
String? authenticationCardId,
@Default([]) List<String> linkedSupplyPointAssetsIds,
@Default([]) List<String> linkedStorageTerminalsIds,
@Default([]) List<String> geofencesIds,
String? authenticationCardCardboardId,
String? authenticationCardTagId,
Expand Down
41 changes: 23 additions & 18 deletions lib/src/ats/ats.freezed.dart

Large diffs are not rendered by default.

2 changes: 2 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/reception/purchase_order.dart
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ abstract class AtsPurchaseOrder with _$AtsPurchaseOrder {
/// Invoice type (NFe, CTe)
String? invoiceType,

/// Invoice identifier (chNFe/chCTe)
String? invoiceId,

/// Parent invoice
AtsPurchaseOrder? parentInvoice,

Expand Down
2 changes: 2 additions & 0 deletions lib/src/references/references.g.dart

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

12 changes: 12 additions & 0 deletions lib/src/references/src/category.dart
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,18 @@ enum ReferenceCategory {
@JsonValue('ATS_PREVENT_CHANGES_IN_CACL_TELEMETRY_INPUTS')
atsPreventChangesInCaclTelemetryInputs,

@JsonValue('ATS_GET_ALL_TERMINALS')
/// !ATS Reference
/// [AllTank Systems] Access to get all terminals in terminal operations module
/// Layrz API Reference: ATS_GET_ALL_TERMINALS
atsGetAllTerminals,

@JsonValue('ATS_STORAGE_RECEPTION_ACCESS')
/// !ATS Reference
/// [AllTank Systems] Access to the storage reception module
/// Layrz API Reference: ATS_STORAGE_RECEPTION_ACCESS
atsStorageReceptionAccess,

/// !Mappit Reference
/// Defines the access to the Mappit module as a operator or mappit employee
/// Layrz API Reference: MAPPIT_OPERATOR
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
description: Layrz API models for Dart/Flutter. This package contains the models used by the Layrz API.
name: layrz_models
version: "3.8.0"
version: "3.8.1"
repository: https://github.com/goldenm-software/layrz_models

environment:
Expand Down
Loading