// This is a generated file - do not edit.
//
// Generated from itemInput.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 'itemInput.pb.dart' as $0;

export 'itemInput.pb.dart';

///
/// API-server services
@$pb.GrpcServiceName('api.ItemInputAPI')
class ItemInputAPIClient 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 = [
    '',
  ];

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

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

  $grpc.ResponseFuture<$0.ItemLogisticVariantUpdatedResponse> logisticVariantUpdated($0.ItemLogisticVariantUpdatedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$logisticVariantUpdated, request, options: options);
  }

  $grpc.ResponseFuture<$0.ItemLogisticVariantRemovedResponse> logisticVariantRemoved($0.ItemLogisticVariantRemovedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$logisticVariantRemoved, request, options: options);
  }

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

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

  $grpc.ResponseFuture<$0.ItemDescriptionUpdatedResponse> descriptionUpdated($0.ItemDescriptionUpdatedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$descriptionUpdated, request, options: options);
  }

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

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

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

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

  $grpc.ResponseFuture<$0.ItemPhotoUriUpdatedResponse> photoUriUpdated($0.ItemPhotoUriUpdatedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$photoUriUpdated, request, options: options);
  }

    // method descriptors

  static final _$created = $grpc.ClientMethod<$0.ItemCreatedRequest, $0.ItemCreatedResponse>(
      '/api.ItemInputAPI/Created',
      ($0.ItemCreatedRequest value) => value.writeToBuffer(),
      $0.ItemCreatedResponse.fromBuffer);
  static final _$logisticVariantUpdated = $grpc.ClientMethod<$0.ItemLogisticVariantUpdatedRequest, $0.ItemLogisticVariantUpdatedResponse>(
      '/api.ItemInputAPI/LogisticVariantUpdated',
      ($0.ItemLogisticVariantUpdatedRequest value) => value.writeToBuffer(),
      $0.ItemLogisticVariantUpdatedResponse.fromBuffer);
  static final _$logisticVariantRemoved = $grpc.ClientMethod<$0.ItemLogisticVariantRemovedRequest, $0.ItemLogisticVariantRemovedResponse>(
      '/api.ItemInputAPI/LogisticVariantRemoved',
      ($0.ItemLogisticVariantRemovedRequest value) => value.writeToBuffer(),
      $0.ItemLogisticVariantRemovedResponse.fromBuffer);
  static final _$metaDataUpdated = $grpc.ClientMethod<$0.ItemMetaDataUpdatedRequest, $0.ItemMetaDataUpdatedResponse>(
      '/api.ItemInputAPI/MetaDataUpdated',
      ($0.ItemMetaDataUpdatedRequest value) => value.writeToBuffer(),
      $0.ItemMetaDataUpdatedResponse.fromBuffer);
  static final _$deleted = $grpc.ClientMethod<$0.ItemDeletedRequest, $0.ItemDeletedResponse>(
      '/api.ItemInputAPI/Deleted',
      ($0.ItemDeletedRequest value) => value.writeToBuffer(),
      $0.ItemDeletedResponse.fromBuffer);
  static final _$descriptionUpdated = $grpc.ClientMethod<$0.ItemDescriptionUpdatedRequest, $0.ItemDescriptionUpdatedResponse>(
      '/api.ItemInputAPI/DescriptionUpdated',
      ($0.ItemDescriptionUpdatedRequest value) => value.writeToBuffer(),
      $0.ItemDescriptionUpdatedResponse.fromBuffer);
  static final _$attachmentAdded = $grpc.ClientMethod<$0.ItemAttachmentAddedRequest, $0.ItemAttachmentAddedResponse>(
      '/api.ItemInputAPI/AttachmentAdded',
      ($0.ItemAttachmentAddedRequest value) => value.writeToBuffer(),
      $0.ItemAttachmentAddedResponse.fromBuffer);
  static final _$attachmentRemoved = $grpc.ClientMethod<$0.ItemAttachmentRemovedRequest, $0.ItemAttachmentRemovedResponse>(
      '/api.ItemInputAPI/AttachmentRemoved',
      ($0.ItemAttachmentRemovedRequest value) => value.writeToBuffer(),
      $0.ItemAttachmentRemovedResponse.fromBuffer);
  static final _$sanitised = $grpc.ClientMethod<$0.ItemSanitisedRequest, $0.ItemSanitisedResponse>(
      '/api.ItemInputAPI/Sanitised',
      ($0.ItemSanitisedRequest value) => value.writeToBuffer(),
      $0.ItemSanitisedResponse.fromBuffer);
  static final _$customFieldsUpdated = $grpc.ClientMethod<$0.ItemCustomFieldsUpdatedRequest, $0.ItemCustomFieldsUpdatedResponse>(
      '/api.ItemInputAPI/CustomFieldsUpdated',
      ($0.ItemCustomFieldsUpdatedRequest value) => value.writeToBuffer(),
      $0.ItemCustomFieldsUpdatedResponse.fromBuffer);
  static final _$photoUriUpdated = $grpc.ClientMethod<$0.ItemPhotoUriUpdatedRequest, $0.ItemPhotoUriUpdatedResponse>(
      '/api.ItemInputAPI/PhotoUriUpdated',
      ($0.ItemPhotoUriUpdatedRequest value) => value.writeToBuffer(),
      $0.ItemPhotoUriUpdatedResponse.fromBuffer);
}

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

  ItemInputAPIServiceBase() {
    $addMethod($grpc.ServiceMethod<$0.ItemCreatedRequest, $0.ItemCreatedResponse>(
        'Created',
        created_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ItemCreatedRequest.fromBuffer(value),
        ($0.ItemCreatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ItemLogisticVariantUpdatedRequest, $0.ItemLogisticVariantUpdatedResponse>(
        'LogisticVariantUpdated',
        logisticVariantUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ItemLogisticVariantUpdatedRequest.fromBuffer(value),
        ($0.ItemLogisticVariantUpdatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ItemLogisticVariantRemovedRequest, $0.ItemLogisticVariantRemovedResponse>(
        'LogisticVariantRemoved',
        logisticVariantRemoved_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ItemLogisticVariantRemovedRequest.fromBuffer(value),
        ($0.ItemLogisticVariantRemovedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ItemMetaDataUpdatedRequest, $0.ItemMetaDataUpdatedResponse>(
        'MetaDataUpdated',
        metaDataUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ItemMetaDataUpdatedRequest.fromBuffer(value),
        ($0.ItemMetaDataUpdatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ItemDeletedRequest, $0.ItemDeletedResponse>(
        'Deleted',
        deleted_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ItemDeletedRequest.fromBuffer(value),
        ($0.ItemDeletedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ItemDescriptionUpdatedRequest, $0.ItemDescriptionUpdatedResponse>(
        'DescriptionUpdated',
        descriptionUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ItemDescriptionUpdatedRequest.fromBuffer(value),
        ($0.ItemDescriptionUpdatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ItemAttachmentAddedRequest, $0.ItemAttachmentAddedResponse>(
        'AttachmentAdded',
        attachmentAdded_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ItemAttachmentAddedRequest.fromBuffer(value),
        ($0.ItemAttachmentAddedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ItemAttachmentRemovedRequest, $0.ItemAttachmentRemovedResponse>(
        'AttachmentRemoved',
        attachmentRemoved_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ItemAttachmentRemovedRequest.fromBuffer(value),
        ($0.ItemAttachmentRemovedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ItemSanitisedRequest, $0.ItemSanitisedResponse>(
        'Sanitised',
        sanitised_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ItemSanitisedRequest.fromBuffer(value),
        ($0.ItemSanitisedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ItemCustomFieldsUpdatedRequest, $0.ItemCustomFieldsUpdatedResponse>(
        'CustomFieldsUpdated',
        customFieldsUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ItemCustomFieldsUpdatedRequest.fromBuffer(value),
        ($0.ItemCustomFieldsUpdatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ItemPhotoUriUpdatedRequest, $0.ItemPhotoUriUpdatedResponse>(
        'PhotoUriUpdated',
        photoUriUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ItemPhotoUriUpdatedRequest.fromBuffer(value),
        ($0.ItemPhotoUriUpdatedResponse value) => value.writeToBuffer()));
  }

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

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

  $async.Future<$0.ItemLogisticVariantUpdatedResponse> logisticVariantUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.ItemLogisticVariantUpdatedRequest> $request) async {
    return logisticVariantUpdated($call, await $request);
  }

  $async.Future<$0.ItemLogisticVariantUpdatedResponse> logisticVariantUpdated($grpc.ServiceCall call, $0.ItemLogisticVariantUpdatedRequest request);

  $async.Future<$0.ItemLogisticVariantRemovedResponse> logisticVariantRemoved_Pre($grpc.ServiceCall $call, $async.Future<$0.ItemLogisticVariantRemovedRequest> $request) async {
    return logisticVariantRemoved($call, await $request);
  }

  $async.Future<$0.ItemLogisticVariantRemovedResponse> logisticVariantRemoved($grpc.ServiceCall call, $0.ItemLogisticVariantRemovedRequest request);

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

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

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

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

  $async.Future<$0.ItemDescriptionUpdatedResponse> descriptionUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.ItemDescriptionUpdatedRequest> $request) async {
    return descriptionUpdated($call, await $request);
  }

  $async.Future<$0.ItemDescriptionUpdatedResponse> descriptionUpdated($grpc.ServiceCall call, $0.ItemDescriptionUpdatedRequest request);

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

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

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

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

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

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

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

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

  $async.Future<$0.ItemPhotoUriUpdatedResponse> photoUriUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.ItemPhotoUriUpdatedRequest> $request) async {
    return photoUriUpdated($call, await $request);
  }

  $async.Future<$0.ItemPhotoUriUpdatedResponse> photoUriUpdated($grpc.ServiceCall call, $0.ItemPhotoUriUpdatedRequest request);

}
