// This is a generated file - do not edit.
//
// Generated from orderInput.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:async' as $async;
import 'dart:core' as $core;

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

import 'orderInput.pb.dart' as $0;

export 'orderInput.pb.dart';

///
/// API-server services
@$pb.GrpcServiceName('api.OrderInputAPI')
class OrderInputAPIClient extends $grpc.Client {
  /// The hostname for this service.
  static const $core.String defaultHost = '';

  /// OAuth scopes needed for the client.
  static const $core.List<$core.String> oauthScopes = [
    '',
  ];

  OrderInputAPIClient(super.channel, {super.options, super.interceptors});

  $grpc.ResponseFuture<$0.OrderCreatedResponse> created($0.OrderCreatedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$created, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderDraftCreatedResponse> draftCreated($0.OrderDraftCreatedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$draftCreated, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderExecutionflowDetectedResponse> executionflowDetected($0.OrderExecutionflowDetectedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$executionflowDetected, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderCancelledResponse> cancelled($0.OrderCancelledRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$cancelled, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderAnonymisedResponse> anonymised($0.OrderAnonymisedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$anonymised, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderShipperAssignedResponse> shipperAssigned($0.OrderShipperAssignedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$shipperAssigned, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderPartiallyCompletedResponse> partiallyCompleted($0.OrderPartiallyCompletedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$partiallyCompleted, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderRequestedDeliveryDateDefinedResponse> requestedDeliveryDateDefined($0.OrderRequestedDeliveryDateDefinedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$requestedDeliveryDateDefined, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderExecutionflowETAUpdatedResponse> executionflowETAUpdated($0.OrderExecutionflowETAUpdatedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$executionflowETAUpdated, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderCompletedResponse> completed($0.OrderCompletedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$completed, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderAnticipatedClosedResponse> anticipatedClosed($0.OrderAnticipatedClosedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$anticipatedClosed, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderExecutionflowUpdatedResponse> executionflowUpdated($0.OrderExecutionflowUpdatedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$executionflowUpdated, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderMetaDataUpdatedResponse> metaDataUpdated($0.OrderMetaDataUpdatedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$metaDataUpdated, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderCarrierUpdatedResponse> carrierUpdated($0.OrderCarrierUpdatedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$carrierUpdated, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderAttachmentAddedResponse> attachmentAdded($0.OrderAttachmentAddedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$attachmentAdded, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderAttachmentRemovedResponse> attachmentRemoved($0.OrderAttachmentRemovedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$attachmentRemoved, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderClaimAddedResponse> claimAdded($0.OrderClaimAddedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$claimAdded, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderDeletedResponse> deleted($0.OrderDeletedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$deleted, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderLinesAddedResponse> linesAdded($0.OrderLinesAddedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$linesAdded, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderLinesDetectedResponse> linesDetected($0.OrderLinesDetectedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$linesDetected, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderSanitisedResponse> sanitised($0.OrderSanitisedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$sanitised, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderCustomFieldsUpdatedResponse> customFieldsUpdated($0.OrderCustomFieldsUpdatedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$customFieldsUpdated, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderPreparationExpectedResponse> preparationExpected($0.OrderPreparationExpectedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$preparationExpected, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderPreparationStartedResponse> preparationStarted($0.OrderPreparationStartedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$preparationStarted, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderPreparationCompletedResponse> preparationCompleted($0.OrderPreparationCompletedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$preparationCompleted, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderTransportExpectedResponse> transportExpected($0.OrderTransportExpectedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$transportExpected, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderTransportStartedResponse> transportStarted($0.OrderTransportStartedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$transportStarted, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderTransportCompletedResponse> transportCompleted($0.OrderTransportCompletedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$transportCompleted, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderReceiptExpectedResponse> receiptExpected($0.OrderReceiptExpectedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$receiptExpected, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderReceiptStartedResponse> receiptStarted($0.OrderReceiptStartedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$receiptStarted, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderReceiptCompletedResponse> receiptCompleted($0.OrderReceiptCompletedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$receiptCompleted, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderAppointmentUpdatedResponse> appointmentUpdated($0.OrderAppointmentUpdatedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$appointmentUpdated, request, options: options);
  }

  $grpc.ResponseFuture<$0.OrderAppointmentBookingDisabledResponse> appointmentBookingDisabled($0.OrderAppointmentBookingDisabledRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$appointmentBookingDisabled, request, options: options);
  }

    // method descriptors

  static final _$created = $grpc.ClientMethod<$0.OrderCreatedRequest, $0.OrderCreatedResponse>(
      '/api.OrderInputAPI/Created',
      ($0.OrderCreatedRequest value) => value.writeToBuffer(),
      $0.OrderCreatedResponse.fromBuffer);
  static final _$draftCreated = $grpc.ClientMethod<$0.OrderDraftCreatedRequest, $0.OrderDraftCreatedResponse>(
      '/api.OrderInputAPI/DraftCreated',
      ($0.OrderDraftCreatedRequest value) => value.writeToBuffer(),
      $0.OrderDraftCreatedResponse.fromBuffer);
  static final _$executionflowDetected = $grpc.ClientMethod<$0.OrderExecutionflowDetectedRequest, $0.OrderExecutionflowDetectedResponse>(
      '/api.OrderInputAPI/ExecutionflowDetected',
      ($0.OrderExecutionflowDetectedRequest value) => value.writeToBuffer(),
      $0.OrderExecutionflowDetectedResponse.fromBuffer);
  static final _$cancelled = $grpc.ClientMethod<$0.OrderCancelledRequest, $0.OrderCancelledResponse>(
      '/api.OrderInputAPI/Cancelled',
      ($0.OrderCancelledRequest value) => value.writeToBuffer(),
      $0.OrderCancelledResponse.fromBuffer);
  static final _$anonymised = $grpc.ClientMethod<$0.OrderAnonymisedRequest, $0.OrderAnonymisedResponse>(
      '/api.OrderInputAPI/Anonymised',
      ($0.OrderAnonymisedRequest value) => value.writeToBuffer(),
      $0.OrderAnonymisedResponse.fromBuffer);
  static final _$shipperAssigned = $grpc.ClientMethod<$0.OrderShipperAssignedRequest, $0.OrderShipperAssignedResponse>(
      '/api.OrderInputAPI/ShipperAssigned',
      ($0.OrderShipperAssignedRequest value) => value.writeToBuffer(),
      $0.OrderShipperAssignedResponse.fromBuffer);
  static final _$partiallyCompleted = $grpc.ClientMethod<$0.OrderPartiallyCompletedRequest, $0.OrderPartiallyCompletedResponse>(
      '/api.OrderInputAPI/PartiallyCompleted',
      ($0.OrderPartiallyCompletedRequest value) => value.writeToBuffer(),
      $0.OrderPartiallyCompletedResponse.fromBuffer);
  static final _$requestedDeliveryDateDefined = $grpc.ClientMethod<$0.OrderRequestedDeliveryDateDefinedRequest, $0.OrderRequestedDeliveryDateDefinedResponse>(
      '/api.OrderInputAPI/RequestedDeliveryDateDefined',
      ($0.OrderRequestedDeliveryDateDefinedRequest value) => value.writeToBuffer(),
      $0.OrderRequestedDeliveryDateDefinedResponse.fromBuffer);
  static final _$executionflowETAUpdated = $grpc.ClientMethod<$0.OrderExecutionflowETAUpdatedRequest, $0.OrderExecutionflowETAUpdatedResponse>(
      '/api.OrderInputAPI/ExecutionflowETAUpdated',
      ($0.OrderExecutionflowETAUpdatedRequest value) => value.writeToBuffer(),
      $0.OrderExecutionflowETAUpdatedResponse.fromBuffer);
  static final _$completed = $grpc.ClientMethod<$0.OrderCompletedRequest, $0.OrderCompletedResponse>(
      '/api.OrderInputAPI/Completed',
      ($0.OrderCompletedRequest value) => value.writeToBuffer(),
      $0.OrderCompletedResponse.fromBuffer);
  static final _$anticipatedClosed = $grpc.ClientMethod<$0.OrderAnticipatedClosedRequest, $0.OrderAnticipatedClosedResponse>(
      '/api.OrderInputAPI/AnticipatedClosed',
      ($0.OrderAnticipatedClosedRequest value) => value.writeToBuffer(),
      $0.OrderAnticipatedClosedResponse.fromBuffer);
  static final _$executionflowUpdated = $grpc.ClientMethod<$0.OrderExecutionflowUpdatedRequest, $0.OrderExecutionflowUpdatedResponse>(
      '/api.OrderInputAPI/ExecutionflowUpdated',
      ($0.OrderExecutionflowUpdatedRequest value) => value.writeToBuffer(),
      $0.OrderExecutionflowUpdatedResponse.fromBuffer);
  static final _$metaDataUpdated = $grpc.ClientMethod<$0.OrderMetaDataUpdatedRequest, $0.OrderMetaDataUpdatedResponse>(
      '/api.OrderInputAPI/MetaDataUpdated',
      ($0.OrderMetaDataUpdatedRequest value) => value.writeToBuffer(),
      $0.OrderMetaDataUpdatedResponse.fromBuffer);
  static final _$carrierUpdated = $grpc.ClientMethod<$0.OrderCarrierUpdatedRequest, $0.OrderCarrierUpdatedResponse>(
      '/api.OrderInputAPI/CarrierUpdated',
      ($0.OrderCarrierUpdatedRequest value) => value.writeToBuffer(),
      $0.OrderCarrierUpdatedResponse.fromBuffer);
  static final _$attachmentAdded = $grpc.ClientMethod<$0.OrderAttachmentAddedRequest, $0.OrderAttachmentAddedResponse>(
      '/api.OrderInputAPI/AttachmentAdded',
      ($0.OrderAttachmentAddedRequest value) => value.writeToBuffer(),
      $0.OrderAttachmentAddedResponse.fromBuffer);
  static final _$attachmentRemoved = $grpc.ClientMethod<$0.OrderAttachmentRemovedRequest, $0.OrderAttachmentRemovedResponse>(
      '/api.OrderInputAPI/AttachmentRemoved',
      ($0.OrderAttachmentRemovedRequest value) => value.writeToBuffer(),
      $0.OrderAttachmentRemovedResponse.fromBuffer);
  static final _$claimAdded = $grpc.ClientMethod<$0.OrderClaimAddedRequest, $0.OrderClaimAddedResponse>(
      '/api.OrderInputAPI/ClaimAdded',
      ($0.OrderClaimAddedRequest value) => value.writeToBuffer(),
      $0.OrderClaimAddedResponse.fromBuffer);
  static final _$deleted = $grpc.ClientMethod<$0.OrderDeletedRequest, $0.OrderDeletedResponse>(
      '/api.OrderInputAPI/Deleted',
      ($0.OrderDeletedRequest value) => value.writeToBuffer(),
      $0.OrderDeletedResponse.fromBuffer);
  static final _$linesAdded = $grpc.ClientMethod<$0.OrderLinesAddedRequest, $0.OrderLinesAddedResponse>(
      '/api.OrderInputAPI/LinesAdded',
      ($0.OrderLinesAddedRequest value) => value.writeToBuffer(),
      $0.OrderLinesAddedResponse.fromBuffer);
  static final _$linesDetected = $grpc.ClientMethod<$0.OrderLinesDetectedRequest, $0.OrderLinesDetectedResponse>(
      '/api.OrderInputAPI/LinesDetected',
      ($0.OrderLinesDetectedRequest value) => value.writeToBuffer(),
      $0.OrderLinesDetectedResponse.fromBuffer);
  static final _$sanitised = $grpc.ClientMethod<$0.OrderSanitisedRequest, $0.OrderSanitisedResponse>(
      '/api.OrderInputAPI/Sanitised',
      ($0.OrderSanitisedRequest value) => value.writeToBuffer(),
      $0.OrderSanitisedResponse.fromBuffer);
  static final _$customFieldsUpdated = $grpc.ClientMethod<$0.OrderCustomFieldsUpdatedRequest, $0.OrderCustomFieldsUpdatedResponse>(
      '/api.OrderInputAPI/CustomFieldsUpdated',
      ($0.OrderCustomFieldsUpdatedRequest value) => value.writeToBuffer(),
      $0.OrderCustomFieldsUpdatedResponse.fromBuffer);
  static final _$preparationExpected = $grpc.ClientMethod<$0.OrderPreparationExpectedRequest, $0.OrderPreparationExpectedResponse>(
      '/api.OrderInputAPI/PreparationExpected',
      ($0.OrderPreparationExpectedRequest value) => value.writeToBuffer(),
      $0.OrderPreparationExpectedResponse.fromBuffer);
  static final _$preparationStarted = $grpc.ClientMethod<$0.OrderPreparationStartedRequest, $0.OrderPreparationStartedResponse>(
      '/api.OrderInputAPI/PreparationStarted',
      ($0.OrderPreparationStartedRequest value) => value.writeToBuffer(),
      $0.OrderPreparationStartedResponse.fromBuffer);
  static final _$preparationCompleted = $grpc.ClientMethod<$0.OrderPreparationCompletedRequest, $0.OrderPreparationCompletedResponse>(
      '/api.OrderInputAPI/PreparationCompleted',
      ($0.OrderPreparationCompletedRequest value) => value.writeToBuffer(),
      $0.OrderPreparationCompletedResponse.fromBuffer);
  static final _$transportExpected = $grpc.ClientMethod<$0.OrderTransportExpectedRequest, $0.OrderTransportExpectedResponse>(
      '/api.OrderInputAPI/TransportExpected',
      ($0.OrderTransportExpectedRequest value) => value.writeToBuffer(),
      $0.OrderTransportExpectedResponse.fromBuffer);
  static final _$transportStarted = $grpc.ClientMethod<$0.OrderTransportStartedRequest, $0.OrderTransportStartedResponse>(
      '/api.OrderInputAPI/TransportStarted',
      ($0.OrderTransportStartedRequest value) => value.writeToBuffer(),
      $0.OrderTransportStartedResponse.fromBuffer);
  static final _$transportCompleted = $grpc.ClientMethod<$0.OrderTransportCompletedRequest, $0.OrderTransportCompletedResponse>(
      '/api.OrderInputAPI/TransportCompleted',
      ($0.OrderTransportCompletedRequest value) => value.writeToBuffer(),
      $0.OrderTransportCompletedResponse.fromBuffer);
  static final _$receiptExpected = $grpc.ClientMethod<$0.OrderReceiptExpectedRequest, $0.OrderReceiptExpectedResponse>(
      '/api.OrderInputAPI/ReceiptExpected',
      ($0.OrderReceiptExpectedRequest value) => value.writeToBuffer(),
      $0.OrderReceiptExpectedResponse.fromBuffer);
  static final _$receiptStarted = $grpc.ClientMethod<$0.OrderReceiptStartedRequest, $0.OrderReceiptStartedResponse>(
      '/api.OrderInputAPI/ReceiptStarted',
      ($0.OrderReceiptStartedRequest value) => value.writeToBuffer(),
      $0.OrderReceiptStartedResponse.fromBuffer);
  static final _$receiptCompleted = $grpc.ClientMethod<$0.OrderReceiptCompletedRequest, $0.OrderReceiptCompletedResponse>(
      '/api.OrderInputAPI/ReceiptCompleted',
      ($0.OrderReceiptCompletedRequest value) => value.writeToBuffer(),
      $0.OrderReceiptCompletedResponse.fromBuffer);
  static final _$appointmentUpdated = $grpc.ClientMethod<$0.OrderAppointmentUpdatedRequest, $0.OrderAppointmentUpdatedResponse>(
      '/api.OrderInputAPI/AppointmentUpdated',
      ($0.OrderAppointmentUpdatedRequest value) => value.writeToBuffer(),
      $0.OrderAppointmentUpdatedResponse.fromBuffer);
  static final _$appointmentBookingDisabled = $grpc.ClientMethod<$0.OrderAppointmentBookingDisabledRequest, $0.OrderAppointmentBookingDisabledResponse>(
      '/api.OrderInputAPI/AppointmentBookingDisabled',
      ($0.OrderAppointmentBookingDisabledRequest value) => value.writeToBuffer(),
      $0.OrderAppointmentBookingDisabledResponse.fromBuffer);
}

@$pb.GrpcServiceName('api.OrderInputAPI')
abstract class OrderInputAPIServiceBase extends $grpc.Service {
  $core.String get $name => 'api.OrderInputAPI';

  OrderInputAPIServiceBase() {
    $addMethod($grpc.ServiceMethod<$0.OrderCreatedRequest, $0.OrderCreatedResponse>(
        'Created',
        created_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderCreatedRequest.fromBuffer(value),
        ($0.OrderCreatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderDraftCreatedRequest, $0.OrderDraftCreatedResponse>(
        'DraftCreated',
        draftCreated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderDraftCreatedRequest.fromBuffer(value),
        ($0.OrderDraftCreatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderExecutionflowDetectedRequest, $0.OrderExecutionflowDetectedResponse>(
        'ExecutionflowDetected',
        executionflowDetected_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderExecutionflowDetectedRequest.fromBuffer(value),
        ($0.OrderExecutionflowDetectedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderCancelledRequest, $0.OrderCancelledResponse>(
        'Cancelled',
        cancelled_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderCancelledRequest.fromBuffer(value),
        ($0.OrderCancelledResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderAnonymisedRequest, $0.OrderAnonymisedResponse>(
        'Anonymised',
        anonymised_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderAnonymisedRequest.fromBuffer(value),
        ($0.OrderAnonymisedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderShipperAssignedRequest, $0.OrderShipperAssignedResponse>(
        'ShipperAssigned',
        shipperAssigned_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderShipperAssignedRequest.fromBuffer(value),
        ($0.OrderShipperAssignedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderPartiallyCompletedRequest, $0.OrderPartiallyCompletedResponse>(
        'PartiallyCompleted',
        partiallyCompleted_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderPartiallyCompletedRequest.fromBuffer(value),
        ($0.OrderPartiallyCompletedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderRequestedDeliveryDateDefinedRequest, $0.OrderRequestedDeliveryDateDefinedResponse>(
        'RequestedDeliveryDateDefined',
        requestedDeliveryDateDefined_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderRequestedDeliveryDateDefinedRequest.fromBuffer(value),
        ($0.OrderRequestedDeliveryDateDefinedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderExecutionflowETAUpdatedRequest, $0.OrderExecutionflowETAUpdatedResponse>(
        'ExecutionflowETAUpdated',
        executionflowETAUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderExecutionflowETAUpdatedRequest.fromBuffer(value),
        ($0.OrderExecutionflowETAUpdatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderCompletedRequest, $0.OrderCompletedResponse>(
        'Completed',
        completed_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderCompletedRequest.fromBuffer(value),
        ($0.OrderCompletedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderAnticipatedClosedRequest, $0.OrderAnticipatedClosedResponse>(
        'AnticipatedClosed',
        anticipatedClosed_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderAnticipatedClosedRequest.fromBuffer(value),
        ($0.OrderAnticipatedClosedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderExecutionflowUpdatedRequest, $0.OrderExecutionflowUpdatedResponse>(
        'ExecutionflowUpdated',
        executionflowUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderExecutionflowUpdatedRequest.fromBuffer(value),
        ($0.OrderExecutionflowUpdatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderMetaDataUpdatedRequest, $0.OrderMetaDataUpdatedResponse>(
        'MetaDataUpdated',
        metaDataUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderMetaDataUpdatedRequest.fromBuffer(value),
        ($0.OrderMetaDataUpdatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderCarrierUpdatedRequest, $0.OrderCarrierUpdatedResponse>(
        'CarrierUpdated',
        carrierUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderCarrierUpdatedRequest.fromBuffer(value),
        ($0.OrderCarrierUpdatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderAttachmentAddedRequest, $0.OrderAttachmentAddedResponse>(
        'AttachmentAdded',
        attachmentAdded_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderAttachmentAddedRequest.fromBuffer(value),
        ($0.OrderAttachmentAddedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderAttachmentRemovedRequest, $0.OrderAttachmentRemovedResponse>(
        'AttachmentRemoved',
        attachmentRemoved_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderAttachmentRemovedRequest.fromBuffer(value),
        ($0.OrderAttachmentRemovedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderClaimAddedRequest, $0.OrderClaimAddedResponse>(
        'ClaimAdded',
        claimAdded_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderClaimAddedRequest.fromBuffer(value),
        ($0.OrderClaimAddedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderDeletedRequest, $0.OrderDeletedResponse>(
        'Deleted',
        deleted_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderDeletedRequest.fromBuffer(value),
        ($0.OrderDeletedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderLinesAddedRequest, $0.OrderLinesAddedResponse>(
        'LinesAdded',
        linesAdded_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderLinesAddedRequest.fromBuffer(value),
        ($0.OrderLinesAddedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderLinesDetectedRequest, $0.OrderLinesDetectedResponse>(
        'LinesDetected',
        linesDetected_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderLinesDetectedRequest.fromBuffer(value),
        ($0.OrderLinesDetectedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderSanitisedRequest, $0.OrderSanitisedResponse>(
        'Sanitised',
        sanitised_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderSanitisedRequest.fromBuffer(value),
        ($0.OrderSanitisedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderCustomFieldsUpdatedRequest, $0.OrderCustomFieldsUpdatedResponse>(
        'CustomFieldsUpdated',
        customFieldsUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderCustomFieldsUpdatedRequest.fromBuffer(value),
        ($0.OrderCustomFieldsUpdatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderPreparationExpectedRequest, $0.OrderPreparationExpectedResponse>(
        'PreparationExpected',
        preparationExpected_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderPreparationExpectedRequest.fromBuffer(value),
        ($0.OrderPreparationExpectedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderPreparationStartedRequest, $0.OrderPreparationStartedResponse>(
        'PreparationStarted',
        preparationStarted_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderPreparationStartedRequest.fromBuffer(value),
        ($0.OrderPreparationStartedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderPreparationCompletedRequest, $0.OrderPreparationCompletedResponse>(
        'PreparationCompleted',
        preparationCompleted_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderPreparationCompletedRequest.fromBuffer(value),
        ($0.OrderPreparationCompletedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderTransportExpectedRequest, $0.OrderTransportExpectedResponse>(
        'TransportExpected',
        transportExpected_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderTransportExpectedRequest.fromBuffer(value),
        ($0.OrderTransportExpectedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderTransportStartedRequest, $0.OrderTransportStartedResponse>(
        'TransportStarted',
        transportStarted_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderTransportStartedRequest.fromBuffer(value),
        ($0.OrderTransportStartedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderTransportCompletedRequest, $0.OrderTransportCompletedResponse>(
        'TransportCompleted',
        transportCompleted_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderTransportCompletedRequest.fromBuffer(value),
        ($0.OrderTransportCompletedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderReceiptExpectedRequest, $0.OrderReceiptExpectedResponse>(
        'ReceiptExpected',
        receiptExpected_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderReceiptExpectedRequest.fromBuffer(value),
        ($0.OrderReceiptExpectedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderReceiptStartedRequest, $0.OrderReceiptStartedResponse>(
        'ReceiptStarted',
        receiptStarted_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderReceiptStartedRequest.fromBuffer(value),
        ($0.OrderReceiptStartedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderReceiptCompletedRequest, $0.OrderReceiptCompletedResponse>(
        'ReceiptCompleted',
        receiptCompleted_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderReceiptCompletedRequest.fromBuffer(value),
        ($0.OrderReceiptCompletedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderAppointmentUpdatedRequest, $0.OrderAppointmentUpdatedResponse>(
        'AppointmentUpdated',
        appointmentUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderAppointmentUpdatedRequest.fromBuffer(value),
        ($0.OrderAppointmentUpdatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.OrderAppointmentBookingDisabledRequest, $0.OrderAppointmentBookingDisabledResponse>(
        'AppointmentBookingDisabled',
        appointmentBookingDisabled_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.OrderAppointmentBookingDisabledRequest.fromBuffer(value),
        ($0.OrderAppointmentBookingDisabledResponse value) => value.writeToBuffer()));
  }

  $async.Future<$0.OrderCreatedResponse> created_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderCreatedRequest> $request) async {
    return created($call, await $request);
  }

  $async.Future<$0.OrderCreatedResponse> created($grpc.ServiceCall call, $0.OrderCreatedRequest request);

  $async.Future<$0.OrderDraftCreatedResponse> draftCreated_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderDraftCreatedRequest> $request) async {
    return draftCreated($call, await $request);
  }

  $async.Future<$0.OrderDraftCreatedResponse> draftCreated($grpc.ServiceCall call, $0.OrderDraftCreatedRequest request);

  $async.Future<$0.OrderExecutionflowDetectedResponse> executionflowDetected_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderExecutionflowDetectedRequest> $request) async {
    return executionflowDetected($call, await $request);
  }

  $async.Future<$0.OrderExecutionflowDetectedResponse> executionflowDetected($grpc.ServiceCall call, $0.OrderExecutionflowDetectedRequest request);

  $async.Future<$0.OrderCancelledResponse> cancelled_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderCancelledRequest> $request) async {
    return cancelled($call, await $request);
  }

  $async.Future<$0.OrderCancelledResponse> cancelled($grpc.ServiceCall call, $0.OrderCancelledRequest request);

  $async.Future<$0.OrderAnonymisedResponse> anonymised_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderAnonymisedRequest> $request) async {
    return anonymised($call, await $request);
  }

  $async.Future<$0.OrderAnonymisedResponse> anonymised($grpc.ServiceCall call, $0.OrderAnonymisedRequest request);

  $async.Future<$0.OrderShipperAssignedResponse> shipperAssigned_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderShipperAssignedRequest> $request) async {
    return shipperAssigned($call, await $request);
  }

  $async.Future<$0.OrderShipperAssignedResponse> shipperAssigned($grpc.ServiceCall call, $0.OrderShipperAssignedRequest request);

  $async.Future<$0.OrderPartiallyCompletedResponse> partiallyCompleted_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderPartiallyCompletedRequest> $request) async {
    return partiallyCompleted($call, await $request);
  }

  $async.Future<$0.OrderPartiallyCompletedResponse> partiallyCompleted($grpc.ServiceCall call, $0.OrderPartiallyCompletedRequest request);

  $async.Future<$0.OrderRequestedDeliveryDateDefinedResponse> requestedDeliveryDateDefined_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderRequestedDeliveryDateDefinedRequest> $request) async {
    return requestedDeliveryDateDefined($call, await $request);
  }

  $async.Future<$0.OrderRequestedDeliveryDateDefinedResponse> requestedDeliveryDateDefined($grpc.ServiceCall call, $0.OrderRequestedDeliveryDateDefinedRequest request);

  $async.Future<$0.OrderExecutionflowETAUpdatedResponse> executionflowETAUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderExecutionflowETAUpdatedRequest> $request) async {
    return executionflowETAUpdated($call, await $request);
  }

  $async.Future<$0.OrderExecutionflowETAUpdatedResponse> executionflowETAUpdated($grpc.ServiceCall call, $0.OrderExecutionflowETAUpdatedRequest request);

  $async.Future<$0.OrderCompletedResponse> completed_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderCompletedRequest> $request) async {
    return completed($call, await $request);
  }

  $async.Future<$0.OrderCompletedResponse> completed($grpc.ServiceCall call, $0.OrderCompletedRequest request);

  $async.Future<$0.OrderAnticipatedClosedResponse> anticipatedClosed_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderAnticipatedClosedRequest> $request) async {
    return anticipatedClosed($call, await $request);
  }

  $async.Future<$0.OrderAnticipatedClosedResponse> anticipatedClosed($grpc.ServiceCall call, $0.OrderAnticipatedClosedRequest request);

  $async.Future<$0.OrderExecutionflowUpdatedResponse> executionflowUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderExecutionflowUpdatedRequest> $request) async {
    return executionflowUpdated($call, await $request);
  }

  $async.Future<$0.OrderExecutionflowUpdatedResponse> executionflowUpdated($grpc.ServiceCall call, $0.OrderExecutionflowUpdatedRequest request);

  $async.Future<$0.OrderMetaDataUpdatedResponse> metaDataUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderMetaDataUpdatedRequest> $request) async {
    return metaDataUpdated($call, await $request);
  }

  $async.Future<$0.OrderMetaDataUpdatedResponse> metaDataUpdated($grpc.ServiceCall call, $0.OrderMetaDataUpdatedRequest request);

  $async.Future<$0.OrderCarrierUpdatedResponse> carrierUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderCarrierUpdatedRequest> $request) async {
    return carrierUpdated($call, await $request);
  }

  $async.Future<$0.OrderCarrierUpdatedResponse> carrierUpdated($grpc.ServiceCall call, $0.OrderCarrierUpdatedRequest request);

  $async.Future<$0.OrderAttachmentAddedResponse> attachmentAdded_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderAttachmentAddedRequest> $request) async {
    return attachmentAdded($call, await $request);
  }

  $async.Future<$0.OrderAttachmentAddedResponse> attachmentAdded($grpc.ServiceCall call, $0.OrderAttachmentAddedRequest request);

  $async.Future<$0.OrderAttachmentRemovedResponse> attachmentRemoved_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderAttachmentRemovedRequest> $request) async {
    return attachmentRemoved($call, await $request);
  }

  $async.Future<$0.OrderAttachmentRemovedResponse> attachmentRemoved($grpc.ServiceCall call, $0.OrderAttachmentRemovedRequest request);

  $async.Future<$0.OrderClaimAddedResponse> claimAdded_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderClaimAddedRequest> $request) async {
    return claimAdded($call, await $request);
  }

  $async.Future<$0.OrderClaimAddedResponse> claimAdded($grpc.ServiceCall call, $0.OrderClaimAddedRequest request);

  $async.Future<$0.OrderDeletedResponse> deleted_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderDeletedRequest> $request) async {
    return deleted($call, await $request);
  }

  $async.Future<$0.OrderDeletedResponse> deleted($grpc.ServiceCall call, $0.OrderDeletedRequest request);

  $async.Future<$0.OrderLinesAddedResponse> linesAdded_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderLinesAddedRequest> $request) async {
    return linesAdded($call, await $request);
  }

  $async.Future<$0.OrderLinesAddedResponse> linesAdded($grpc.ServiceCall call, $0.OrderLinesAddedRequest request);

  $async.Future<$0.OrderLinesDetectedResponse> linesDetected_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderLinesDetectedRequest> $request) async {
    return linesDetected($call, await $request);
  }

  $async.Future<$0.OrderLinesDetectedResponse> linesDetected($grpc.ServiceCall call, $0.OrderLinesDetectedRequest request);

  $async.Future<$0.OrderSanitisedResponse> sanitised_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderSanitisedRequest> $request) async {
    return sanitised($call, await $request);
  }

  $async.Future<$0.OrderSanitisedResponse> sanitised($grpc.ServiceCall call, $0.OrderSanitisedRequest request);

  $async.Future<$0.OrderCustomFieldsUpdatedResponse> customFieldsUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderCustomFieldsUpdatedRequest> $request) async {
    return customFieldsUpdated($call, await $request);
  }

  $async.Future<$0.OrderCustomFieldsUpdatedResponse> customFieldsUpdated($grpc.ServiceCall call, $0.OrderCustomFieldsUpdatedRequest request);

  $async.Future<$0.OrderPreparationExpectedResponse> preparationExpected_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderPreparationExpectedRequest> $request) async {
    return preparationExpected($call, await $request);
  }

  $async.Future<$0.OrderPreparationExpectedResponse> preparationExpected($grpc.ServiceCall call, $0.OrderPreparationExpectedRequest request);

  $async.Future<$0.OrderPreparationStartedResponse> preparationStarted_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderPreparationStartedRequest> $request) async {
    return preparationStarted($call, await $request);
  }

  $async.Future<$0.OrderPreparationStartedResponse> preparationStarted($grpc.ServiceCall call, $0.OrderPreparationStartedRequest request);

  $async.Future<$0.OrderPreparationCompletedResponse> preparationCompleted_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderPreparationCompletedRequest> $request) async {
    return preparationCompleted($call, await $request);
  }

  $async.Future<$0.OrderPreparationCompletedResponse> preparationCompleted($grpc.ServiceCall call, $0.OrderPreparationCompletedRequest request);

  $async.Future<$0.OrderTransportExpectedResponse> transportExpected_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderTransportExpectedRequest> $request) async {
    return transportExpected($call, await $request);
  }

  $async.Future<$0.OrderTransportExpectedResponse> transportExpected($grpc.ServiceCall call, $0.OrderTransportExpectedRequest request);

  $async.Future<$0.OrderTransportStartedResponse> transportStarted_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderTransportStartedRequest> $request) async {
    return transportStarted($call, await $request);
  }

  $async.Future<$0.OrderTransportStartedResponse> transportStarted($grpc.ServiceCall call, $0.OrderTransportStartedRequest request);

  $async.Future<$0.OrderTransportCompletedResponse> transportCompleted_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderTransportCompletedRequest> $request) async {
    return transportCompleted($call, await $request);
  }

  $async.Future<$0.OrderTransportCompletedResponse> transportCompleted($grpc.ServiceCall call, $0.OrderTransportCompletedRequest request);

  $async.Future<$0.OrderReceiptExpectedResponse> receiptExpected_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderReceiptExpectedRequest> $request) async {
    return receiptExpected($call, await $request);
  }

  $async.Future<$0.OrderReceiptExpectedResponse> receiptExpected($grpc.ServiceCall call, $0.OrderReceiptExpectedRequest request);

  $async.Future<$0.OrderReceiptStartedResponse> receiptStarted_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderReceiptStartedRequest> $request) async {
    return receiptStarted($call, await $request);
  }

  $async.Future<$0.OrderReceiptStartedResponse> receiptStarted($grpc.ServiceCall call, $0.OrderReceiptStartedRequest request);

  $async.Future<$0.OrderReceiptCompletedResponse> receiptCompleted_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderReceiptCompletedRequest> $request) async {
    return receiptCompleted($call, await $request);
  }

  $async.Future<$0.OrderReceiptCompletedResponse> receiptCompleted($grpc.ServiceCall call, $0.OrderReceiptCompletedRequest request);

  $async.Future<$0.OrderAppointmentUpdatedResponse> appointmentUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderAppointmentUpdatedRequest> $request) async {
    return appointmentUpdated($call, await $request);
  }

  $async.Future<$0.OrderAppointmentUpdatedResponse> appointmentUpdated($grpc.ServiceCall call, $0.OrderAppointmentUpdatedRequest request);

  $async.Future<$0.OrderAppointmentBookingDisabledResponse> appointmentBookingDisabled_Pre($grpc.ServiceCall $call, $async.Future<$0.OrderAppointmentBookingDisabledRequest> $request) async {
    return appointmentBookingDisabled($call, await $request);
  }

  $async.Future<$0.OrderAppointmentBookingDisabledResponse> appointmentBookingDisabled($grpc.ServiceCall call, $0.OrderAppointmentBookingDisabledRequest request);

}
