//
//  Generated code. Do not modify.
//  source: tradeShared.proto
//
// @dart = 3.3

// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import

import 'dart:core' as $core;

import 'package:protobuf/protobuf.dart' as $pb;

///
/// 	All statuses for Order entity
///
/// Order statuses are mainly computed from the executionflowupdated event, by getting the less-advanced executionflow status.
///
/// https://hardisgroupe.sharepoint.com/:p:/r/sites/N1/_layouts/15/Doc.aspx?sourcedoc=%7B5ECE4F90-6775-4EDA-BC25-7AD4982F8415%7D&file=Statuts%20N1_v2.pptx&action=edit&mobileredirect=true
class OrderStatusCode extends $pb.ProtobufEnum {
  static const OrderStatusCode ORDER_0000_UNKNOWN = OrderStatusCode._(0, _omitEnumNames ? '' : 'ORDER_0000_UNKNOWN');
  static const OrderStatusCode ORDER_0300_UNDETERMINED = OrderStatusCode._(300, _omitEnumNames ? '' : 'ORDER_0300_UNDETERMINED');
  static const OrderStatusCode ORDER_0500_READY_TO_ALLOCATE = OrderStatusCode._(500, _omitEnumNames ? '' : 'ORDER_0500_READY_TO_ALLOCATE');
  static const OrderStatusCode ORDER_1000_ALLOCATING = OrderStatusCode._(1000, _omitEnumNames ? '' : 'ORDER_1000_ALLOCATING');
  static const OrderStatusCode ORDER_1500_ALLOCATION_ERROR = OrderStatusCode._(1500, _omitEnumNames ? '' : 'ORDER_1500_ALLOCATION_ERROR');
  static const OrderStatusCode ORDER_1800_ALLOCATION_COMPLETED = OrderStatusCode._(1800, _omitEnumNames ? '' : 'ORDER_1800_ALLOCATION_COMPLETED');
  static const OrderStatusCode ORDER_2000_READY_TO_PREPARE = OrderStatusCode._(2000, _omitEnumNames ? '' : 'ORDER_2000_READY_TO_PREPARE');
  static const OrderStatusCode ORDER_2500_PREPARATION_ERROR = OrderStatusCode._(2500, _omitEnumNames ? '' : 'ORDER_2500_PREPARATION_ERROR');
  static const OrderStatusCode ORDER_3000_PREPARING = OrderStatusCode._(3000, _omitEnumNames ? '' : 'ORDER_3000_PREPARING');
  static const OrderStatusCode ORDER_3500_PREPARATION_COMPLETED = OrderStatusCode._(3500, _omitEnumNames ? '' : 'ORDER_3500_PREPARATION_COMPLETED');
  static const OrderStatusCode ORDER_4000_READY_TO_TRANSPORT = OrderStatusCode._(4000, _omitEnumNames ? '' : 'ORDER_4000_READY_TO_TRANSPORT');
  static const OrderStatusCode ORDER_4500_TRANSPORT_ERROR = OrderStatusCode._(4500, _omitEnumNames ? '' : 'ORDER_4500_TRANSPORT_ERROR');
  static const OrderStatusCode ORDER_5000_TRANSPORTING = OrderStatusCode._(5000, _omitEnumNames ? '' : 'ORDER_5000_TRANSPORTING');
  static const OrderStatusCode ORDER_5500_TRANSPORT_COMPLETED = OrderStatusCode._(5500, _omitEnumNames ? '' : 'ORDER_5500_TRANSPORT_COMPLETED');
  static const OrderStatusCode ORDER_6000_READY_TO_RECEIVE = OrderStatusCode._(6000, _omitEnumNames ? '' : 'ORDER_6000_READY_TO_RECEIVE');
  static const OrderStatusCode ORDER_6500_RECEPTION_ERROR = OrderStatusCode._(6500, _omitEnumNames ? '' : 'ORDER_6500_RECEPTION_ERROR');
  static const OrderStatusCode ORDER_7000_RECEIVING = OrderStatusCode._(7000, _omitEnumNames ? '' : 'ORDER_7000_RECEIVING');
  static const OrderStatusCode ORDER_7500_RECEPTION_COMPLETED = OrderStatusCode._(7500, _omitEnumNames ? '' : 'ORDER_7500_RECEPTION_COMPLETED');
  static const OrderStatusCode ORDER_8000_COMPLETED = OrderStatusCode._(8000, _omitEnumNames ? '' : 'ORDER_8000_COMPLETED');
  static const OrderStatusCode ORDER_8500_CANCELLED = OrderStatusCode._(8500, _omitEnumNames ? '' : 'ORDER_8500_CANCELLED');

  static const $core.List<OrderStatusCode> values = <OrderStatusCode> [
    ORDER_0000_UNKNOWN,
    ORDER_0300_UNDETERMINED,
    ORDER_0500_READY_TO_ALLOCATE,
    ORDER_1000_ALLOCATING,
    ORDER_1500_ALLOCATION_ERROR,
    ORDER_1800_ALLOCATION_COMPLETED,
    ORDER_2000_READY_TO_PREPARE,
    ORDER_2500_PREPARATION_ERROR,
    ORDER_3000_PREPARING,
    ORDER_3500_PREPARATION_COMPLETED,
    ORDER_4000_READY_TO_TRANSPORT,
    ORDER_4500_TRANSPORT_ERROR,
    ORDER_5000_TRANSPORTING,
    ORDER_5500_TRANSPORT_COMPLETED,
    ORDER_6000_READY_TO_RECEIVE,
    ORDER_6500_RECEPTION_ERROR,
    ORDER_7000_RECEIVING,
    ORDER_7500_RECEPTION_COMPLETED,
    ORDER_8000_COMPLETED,
    ORDER_8500_CANCELLED,
  ];

  static final $core.Map<$core.int, OrderStatusCode> _byValue = $pb.ProtobufEnum.initByValue(values);
  static OrderStatusCode? valueOf($core.int value) => _byValue[value];

  const OrderStatusCode._(super.v, super.n);
}

///
/// 	All statuses for Executionflow entity
///
/// The executionflow statuses are the most complexe statuses to get. They are computed from handlingunitupdated.
///
/// In addition, because we do not know in advance how the execution flow will be prepare, we need to compare the prepared quantity the requested quantity.
///
/// https://hardisgroupe.sharepoint.com/:p:/r/sites/N1/_layouts/15/Doc.aspx?sourcedoc=%7B5ECE4F90-6775-4EDA-BC25-7AD4982F8415%7D&file=Statuts%20N1_v2.pptx&action=edit&mobileredirect=true
class ExecutionflowStatusCode extends $pb.ProtobufEnum {
  static const ExecutionflowStatusCode EXECUTIONFLOW_0000_UNKNOWN = ExecutionflowStatusCode._(0, _omitEnumNames ? '' : 'EXECUTIONFLOW_0000_UNKNOWN');
  static const ExecutionflowStatusCode EXECUTIONFLOW_0050_UNDETERMINED = ExecutionflowStatusCode._(50, _omitEnumNames ? '' : 'EXECUTIONFLOW_0050_UNDETERMINED');
  static const ExecutionflowStatusCode EXECUTIONFLOW_0300_READY_TO_ALLOCATE = ExecutionflowStatusCode._(300, _omitEnumNames ? '' : 'EXECUTIONFLOW_0300_READY_TO_ALLOCATE');
  static const ExecutionflowStatusCode EXECUTIONFLOW_0500_ALLOCATING = ExecutionflowStatusCode._(500, _omitEnumNames ? '' : 'EXECUTIONFLOW_0500_ALLOCATING');
  static const ExecutionflowStatusCode EXECUTIONFLOW_1000_ALLOCATION_ERROR = ExecutionflowStatusCode._(1000, _omitEnumNames ? '' : 'EXECUTIONFLOW_1000_ALLOCATION_ERROR');
  static const ExecutionflowStatusCode EXECUTIONFLOW_1300_ALLOCATION_COMPLETED = ExecutionflowStatusCode._(1300, _omitEnumNames ? '' : 'EXECUTIONFLOW_1300_ALLOCATION_COMPLETED');
  static const ExecutionflowStatusCode EXECUTIONFLOW_1500_READY_TO_PREPARE = ExecutionflowStatusCode._(1500, _omitEnumNames ? '' : 'EXECUTIONFLOW_1500_READY_TO_PREPARE');
  static const ExecutionflowStatusCode EXECUTIONFLOW_2000_PREPARATION_ERROR = ExecutionflowStatusCode._(2000, _omitEnumNames ? '' : 'EXECUTIONFLOW_2000_PREPARATION_ERROR');
  static const ExecutionflowStatusCode EXECUTIONFLOW_2500_PREPARING = ExecutionflowStatusCode._(2500, _omitEnumNames ? '' : 'EXECUTIONFLOW_2500_PREPARING');
  static const ExecutionflowStatusCode EXECUTIONFLOW_3000_PREPARATION_COMPLETED = ExecutionflowStatusCode._(3000, _omitEnumNames ? '' : 'EXECUTIONFLOW_3000_PREPARATION_COMPLETED');
  static const ExecutionflowStatusCode EXECUTIONFLOW_3500_READY_TO_TRANSPORT = ExecutionflowStatusCode._(3500, _omitEnumNames ? '' : 'EXECUTIONFLOW_3500_READY_TO_TRANSPORT');
  static const ExecutionflowStatusCode EXECUTIONFLOW_4000_TRANSPORT_ERROR = ExecutionflowStatusCode._(4000, _omitEnumNames ? '' : 'EXECUTIONFLOW_4000_TRANSPORT_ERROR');
  static const ExecutionflowStatusCode EXECUTIONFLOW_4500_TRANSPORTING = ExecutionflowStatusCode._(4500, _omitEnumNames ? '' : 'EXECUTIONFLOW_4500_TRANSPORTING');
  static const ExecutionflowStatusCode EXECUTIONFLOW_5000_TRANSPORT_COMPLETED = ExecutionflowStatusCode._(5000, _omitEnumNames ? '' : 'EXECUTIONFLOW_5000_TRANSPORT_COMPLETED');
  static const ExecutionflowStatusCode EXECUTIONFLOW_5500_READY_TO_RECEIVE = ExecutionflowStatusCode._(5500, _omitEnumNames ? '' : 'EXECUTIONFLOW_5500_READY_TO_RECEIVE');
  static const ExecutionflowStatusCode EXECUTIONFLOW_6000_RECEPTION_ERROR = ExecutionflowStatusCode._(6000, _omitEnumNames ? '' : 'EXECUTIONFLOW_6000_RECEPTION_ERROR');
  static const ExecutionflowStatusCode EXECUTIONFLOW_6500_RECEIVING = ExecutionflowStatusCode._(6500, _omitEnumNames ? '' : 'EXECUTIONFLOW_6500_RECEIVING');
  static const ExecutionflowStatusCode EXECUTIONFLOW_7000_RECEPTION_COMPLETED = ExecutionflowStatusCode._(7000, _omitEnumNames ? '' : 'EXECUTIONFLOW_7000_RECEPTION_COMPLETED');
  static const ExecutionflowStatusCode EXECUTIONFLOW_7500_COMPLETED = ExecutionflowStatusCode._(7500, _omitEnumNames ? '' : 'EXECUTIONFLOW_7500_COMPLETED');
  static const ExecutionflowStatusCode EXECUTIONFLOW_8000_CANCELLED = ExecutionflowStatusCode._(8000, _omitEnumNames ? '' : 'EXECUTIONFLOW_8000_CANCELLED');

  static const $core.List<ExecutionflowStatusCode> values = <ExecutionflowStatusCode> [
    EXECUTIONFLOW_0000_UNKNOWN,
    EXECUTIONFLOW_0050_UNDETERMINED,
    EXECUTIONFLOW_0300_READY_TO_ALLOCATE,
    EXECUTIONFLOW_0500_ALLOCATING,
    EXECUTIONFLOW_1000_ALLOCATION_ERROR,
    EXECUTIONFLOW_1300_ALLOCATION_COMPLETED,
    EXECUTIONFLOW_1500_READY_TO_PREPARE,
    EXECUTIONFLOW_2000_PREPARATION_ERROR,
    EXECUTIONFLOW_2500_PREPARING,
    EXECUTIONFLOW_3000_PREPARATION_COMPLETED,
    EXECUTIONFLOW_3500_READY_TO_TRANSPORT,
    EXECUTIONFLOW_4000_TRANSPORT_ERROR,
    EXECUTIONFLOW_4500_TRANSPORTING,
    EXECUTIONFLOW_5000_TRANSPORT_COMPLETED,
    EXECUTIONFLOW_5500_READY_TO_RECEIVE,
    EXECUTIONFLOW_6000_RECEPTION_ERROR,
    EXECUTIONFLOW_6500_RECEIVING,
    EXECUTIONFLOW_7000_RECEPTION_COMPLETED,
    EXECUTIONFLOW_7500_COMPLETED,
    EXECUTIONFLOW_8000_CANCELLED,
  ];

  static final $core.Map<$core.int, ExecutionflowStatusCode> _byValue = $pb.ProtobufEnum.initByValue(values);
  static ExecutionflowStatusCode? valueOf($core.int value) => _byValue[value];

  const ExecutionflowStatusCode._(super.v, super.n);
}


const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');
