You've already forked dart-core-sdk
185 lines
8.3 KiB
Dart
185 lines
8.3 KiB
Dart
// This is a generated file - do not edit.
|
|
//
|
|
// Generated from repositoryShared.proto.
|
|
|
|
// @dart = 3.3
|
|
|
|
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
|
// ignore_for_file: constant_identifier_names
|
|
// ignore_for_file: curly_braces_in_flow_control_structures
|
|
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
|
|
// ignore_for_file: non_constant_identifier_names
|
|
|
|
import 'dart:core' as $core;
|
|
|
|
import 'package:protobuf/protobuf.dart' as $pb;
|
|
|
|
///
|
|
/// All statuses for Actor entity
|
|
class ActorStatusCode extends $pb.ProtobufEnum {
|
|
static const ActorStatusCode SITE_0000_UNKNOWN = ActorStatusCode._(0, _omitEnumNames ? '' : 'SITE_0000_UNKNOWN');
|
|
static const ActorStatusCode SITE_1000_ACTIVE = ActorStatusCode._(1000, _omitEnumNames ? '' : 'SITE_1000_ACTIVE');
|
|
static const ActorStatusCode SITE_9000_CANCELLED = ActorStatusCode._(9000, _omitEnumNames ? '' : 'SITE_9000_CANCELLED');
|
|
|
|
static const $core.List<ActorStatusCode> values = <ActorStatusCode> [
|
|
SITE_0000_UNKNOWN,
|
|
SITE_1000_ACTIVE,
|
|
SITE_9000_CANCELLED,
|
|
];
|
|
|
|
static final $core.Map<$core.int, ActorStatusCode> _byValue = $pb.ProtobufEnum.initByValue(values);
|
|
static ActorStatusCode? valueOf($core.int value) => _byValue[value];
|
|
|
|
const ActorStatusCode._(super.value, super.name);
|
|
}
|
|
|
|
///
|
|
/// All statuses for Partner entity
|
|
class PartnerStatusCode extends $pb.ProtobufEnum {
|
|
static const PartnerStatusCode PARTNER_0000_UNKNOWN = PartnerStatusCode._(0, _omitEnumNames ? '' : 'PARTNER_0000_UNKNOWN');
|
|
static const PartnerStatusCode PARTNER_1000_ACTIVE = PartnerStatusCode._(1000, _omitEnumNames ? '' : 'PARTNER_1000_ACTIVE');
|
|
static const PartnerStatusCode PARTNER_9000_CANCELLED = PartnerStatusCode._(9000, _omitEnumNames ? '' : 'PARTNER_9000_CANCELLED');
|
|
static const PartnerStatusCode PARTNER_9500_ANOMALY = PartnerStatusCode._(9500, _omitEnumNames ? '' : 'PARTNER_9500_ANOMALY');
|
|
|
|
static const $core.List<PartnerStatusCode> values = <PartnerStatusCode> [
|
|
PARTNER_0000_UNKNOWN,
|
|
PARTNER_1000_ACTIVE,
|
|
PARTNER_9000_CANCELLED,
|
|
PARTNER_9500_ANOMALY,
|
|
];
|
|
|
|
static final $core.Map<$core.int, PartnerStatusCode> _byValue = $pb.ProtobufEnum.initByValue(values);
|
|
static PartnerStatusCode? valueOf($core.int value) => _byValue[value];
|
|
|
|
const PartnerStatusCode._(super.value, super.name);
|
|
}
|
|
|
|
///
|
|
/// All statuses for Error entity
|
|
class PartnerErrorCode extends $pb.ProtobufEnum {
|
|
static const PartnerErrorCode ERROR_0000_UNKNOWN = PartnerErrorCode._(0, _omitEnumNames ? '' : 'ERROR_0000_UNKNOWN');
|
|
static const PartnerErrorCode ERROR_1000_ACTIVE = PartnerErrorCode._(1000, _omitEnumNames ? '' : 'ERROR_1000_ACTIVE');
|
|
static const PartnerErrorCode ERROR_9000_CANCELLED = PartnerErrorCode._(9000, _omitEnumNames ? '' : 'ERROR_9000_CANCELLED');
|
|
|
|
static const $core.List<PartnerErrorCode> values = <PartnerErrorCode> [
|
|
ERROR_0000_UNKNOWN,
|
|
ERROR_1000_ACTIVE,
|
|
ERROR_9000_CANCELLED,
|
|
];
|
|
|
|
static final $core.Map<$core.int, PartnerErrorCode> _byValue = $pb.ProtobufEnum.initByValue(values);
|
|
static PartnerErrorCode? valueOf($core.int value) => _byValue[value];
|
|
|
|
const PartnerErrorCode._(super.value, super.name);
|
|
}
|
|
|
|
///
|
|
/// All statuses for Item entity
|
|
class ItemStatusCode extends $pb.ProtobufEnum {
|
|
static const ItemStatusCode ITEM_0000_UNKNOWN = ItemStatusCode._(0, _omitEnumNames ? '' : 'ITEM_0000_UNKNOWN');
|
|
static const ItemStatusCode ITEM_1000_ACTIVE = ItemStatusCode._(1000, _omitEnumNames ? '' : 'ITEM_1000_ACTIVE');
|
|
static const ItemStatusCode ITEM_9000_CANCELLED = ItemStatusCode._(9000, _omitEnumNames ? '' : 'ITEM_9000_CANCELLED');
|
|
static const ItemStatusCode ITEM_9500_ANOMALY = ItemStatusCode._(9500, _omitEnumNames ? '' : 'ITEM_9500_ANOMALY');
|
|
|
|
static const $core.List<ItemStatusCode> values = <ItemStatusCode> [
|
|
ITEM_0000_UNKNOWN,
|
|
ITEM_1000_ACTIVE,
|
|
ITEM_9000_CANCELLED,
|
|
ITEM_9500_ANOMALY,
|
|
];
|
|
|
|
static final $core.Map<$core.int, ItemStatusCode> _byValue = $pb.ProtobufEnum.initByValue(values);
|
|
static ItemStatusCode? valueOf($core.int value) => _byValue[value];
|
|
|
|
const ItemStatusCode._(super.value, super.name);
|
|
}
|
|
|
|
///
|
|
/// All statuses for Family entity
|
|
class FamilyStatusCode extends $pb.ProtobufEnum {
|
|
static const FamilyStatusCode FAMILY_0000_UNKNOWN = FamilyStatusCode._(0, _omitEnumNames ? '' : 'FAMILY_0000_UNKNOWN');
|
|
static const FamilyStatusCode FAMILY_1000_ACTIVE = FamilyStatusCode._(1000, _omitEnumNames ? '' : 'FAMILY_1000_ACTIVE');
|
|
static const FamilyStatusCode FAMILY_9000_CANCELLED = FamilyStatusCode._(9000, _omitEnumNames ? '' : 'FAMILY_9000_CANCELLED');
|
|
static const FamilyStatusCode FAMILY_9500_ANOMALY = FamilyStatusCode._(9500, _omitEnumNames ? '' : 'FAMILY_9500_ANOMALY');
|
|
|
|
static const $core.List<FamilyStatusCode> values = <FamilyStatusCode> [
|
|
FAMILY_0000_UNKNOWN,
|
|
FAMILY_1000_ACTIVE,
|
|
FAMILY_9000_CANCELLED,
|
|
FAMILY_9500_ANOMALY,
|
|
];
|
|
|
|
static final $core.Map<$core.int, FamilyStatusCode> _byValue = $pb.ProtobufEnum.initByValue(values);
|
|
static FamilyStatusCode? valueOf($core.int value) => _byValue[value];
|
|
|
|
const FamilyStatusCode._(super.value, super.name);
|
|
}
|
|
|
|
class IdType extends $pb.ProtobufEnum {
|
|
static const IdType IDTYPE_UNKNOWN = IdType._(0, _omitEnumNames ? '' : 'IDTYPE_UNKNOWN');
|
|
static const IdType IDTYPE_GLN = IdType._(1, _omitEnumNames ? '' : 'IDTYPE_GLN');
|
|
|
|
static const $core.List<IdType> values = <IdType> [
|
|
IDTYPE_UNKNOWN,
|
|
IDTYPE_GLN,
|
|
];
|
|
|
|
static final $core.List<IdType?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 1);
|
|
static IdType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
|
|
|
const IdType._(super.value, super.name);
|
|
}
|
|
|
|
class ExpiryConstraintType extends $pb.ProtobufEnum {
|
|
static const ExpiryConstraintType UNKNOWN_DATE = ExpiryConstraintType._(0, _omitEnumNames ? '' : 'UNKNOWN_DATE');
|
|
static const ExpiryConstraintType USE_BY_DATE = ExpiryConstraintType._(1, _omitEnumNames ? '' : 'USE_BY_DATE');
|
|
static const ExpiryConstraintType BEST_BEFORE_DATE = ExpiryConstraintType._(2, _omitEnumNames ? '' : 'BEST_BEFORE_DATE');
|
|
static const ExpiryConstraintType PRODUCTION_DATE = ExpiryConstraintType._(3, _omitEnumNames ? '' : 'PRODUCTION_DATE');
|
|
static const ExpiryConstraintType SELL_BY_DATE = ExpiryConstraintType._(4, _omitEnumNames ? '' : 'SELL_BY_DATE');
|
|
|
|
static const $core.List<ExpiryConstraintType> values = <ExpiryConstraintType> [
|
|
UNKNOWN_DATE,
|
|
USE_BY_DATE,
|
|
BEST_BEFORE_DATE,
|
|
PRODUCTION_DATE,
|
|
SELL_BY_DATE,
|
|
];
|
|
|
|
static final $core.List<ExpiryConstraintType?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4);
|
|
static ExpiryConstraintType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
|
|
|
const ExpiryConstraintType._(super.value, super.name);
|
|
}
|
|
|
|
class ActorTypology extends $pb.ProtobufEnum {
|
|
static const ActorTypology TYPOLOGY_UNKNOWN = ActorTypology._(0, _omitEnumNames ? '' : 'TYPOLOGY_UNKNOWN');
|
|
static const ActorTypology TYPOLOGY_WAREHOUSE = ActorTypology._(1, _omitEnumNames ? '' : 'TYPOLOGY_WAREHOUSE');
|
|
static const ActorTypology TYPOLOGY_STORE = ActorTypology._(2, _omitEnumNames ? '' : 'TYPOLOGY_STORE');
|
|
static const ActorTypology TYPOLOGY_FACTORY = ActorTypology._(3, _omitEnumNames ? '' : 'TYPOLOGY_FACTORY');
|
|
static const ActorTypology TYPOLOGY_COLLECTION_POINT = ActorTypology._(4, _omitEnumNames ? '' : 'TYPOLOGY_COLLECTION_POINT');
|
|
static const ActorTypology TYPOLOGY_OTHER = ActorTypology._(5, _omitEnumNames ? '' : 'TYPOLOGY_OTHER');
|
|
static const ActorTypology TYPOLOGY_OFFICE = ActorTypology._(6, _omitEnumNames ? '' : 'TYPOLOGY_OFFICE');
|
|
static const ActorTypology TYPOLOGY_INDIVIDUAL = ActorTypology._(7, _omitEnumNames ? '' : 'TYPOLOGY_INDIVIDUAL');
|
|
static const ActorTypology TYPOLOGY_CARRIER = ActorTypology._(8, _omitEnumNames ? '' : 'TYPOLOGY_CARRIER');
|
|
|
|
static const $core.List<ActorTypology> values = <ActorTypology> [
|
|
TYPOLOGY_UNKNOWN,
|
|
TYPOLOGY_WAREHOUSE,
|
|
TYPOLOGY_STORE,
|
|
TYPOLOGY_FACTORY,
|
|
TYPOLOGY_COLLECTION_POINT,
|
|
TYPOLOGY_OTHER,
|
|
TYPOLOGY_OFFICE,
|
|
TYPOLOGY_INDIVIDUAL,
|
|
TYPOLOGY_CARRIER,
|
|
];
|
|
|
|
static final $core.List<ActorTypology?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 8);
|
|
static ActorTypology? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
|
|
|
const ActorTypology._(super.value, super.name);
|
|
}
|
|
|
|
|
|
const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');
|