You've already forked dart-core-sdk
280 lines
15 KiB
Dart
280 lines
15 KiB
Dart
// This is a generated file - do not edit.
|
|
//
|
|
// Generated from appointmentInput.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 'appointmentInput.pb.dart' as $0;
|
|
|
|
export 'appointmentInput.pb.dart';
|
|
|
|
///
|
|
/// API-server services
|
|
@$pb.GrpcServiceName('api.AppointmentInputAPI')
|
|
class AppointmentInputAPIClient 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 = [
|
|
'',
|
|
];
|
|
|
|
AppointmentInputAPIClient(super.channel, {super.options, super.interceptors});
|
|
|
|
$grpc.ResponseFuture<$0.AppointmentCreatedResponse> created($0.AppointmentCreatedRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$created, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.AppointmentCanceledResponse> canceled($0.AppointmentCanceledRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$canceled, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.AppointmentCarrierInformationUpdatedResponse> carrierInformationUpdated($0.AppointmentCarrierInformationUpdatedRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$carrierInformationUpdated, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.AppointmentCarrierExpectedResponse> carrierExpected($0.AppointmentCarrierExpectedRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$carrierExpected, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.AppointmentCarrierArrivedResponse> carrierArrived($0.AppointmentCarrierArrivedRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$carrierArrived, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.AppointmentExpeditionStartedResponse> expeditionStarted($0.AppointmentExpeditionStartedRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$expeditionStarted, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.AppointmentExpeditionLoadedResponse> expeditionLoaded($0.AppointmentExpeditionLoadedRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$expeditionLoaded, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.AppointmentReceptionStartedResponse> receptionStarted($0.AppointmentReceptionStartedRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$receptionStarted, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.AppointmentReceptionUnloadedResponse> receptionUnloaded($0.AppointmentReceptionUnloadedRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$receptionUnloaded, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.AppointmentCarrierDepartedResponse> carrierDeparted($0.AppointmentCarrierDepartedRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$carrierDeparted, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.AppointmentMetaDataUpdatedResponse> metaDataUpdated($0.AppointmentMetaDataUpdatedRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$metaDataUpdated, request, options: options);
|
|
}
|
|
|
|
// method descriptors
|
|
|
|
static final _$created = $grpc.ClientMethod<$0.AppointmentCreatedRequest, $0.AppointmentCreatedResponse>(
|
|
'/api.AppointmentInputAPI/Created',
|
|
($0.AppointmentCreatedRequest value) => value.writeToBuffer(),
|
|
$0.AppointmentCreatedResponse.fromBuffer);
|
|
static final _$canceled = $grpc.ClientMethod<$0.AppointmentCanceledRequest, $0.AppointmentCanceledResponse>(
|
|
'/api.AppointmentInputAPI/Canceled',
|
|
($0.AppointmentCanceledRequest value) => value.writeToBuffer(),
|
|
$0.AppointmentCanceledResponse.fromBuffer);
|
|
static final _$carrierInformationUpdated = $grpc.ClientMethod<$0.AppointmentCarrierInformationUpdatedRequest, $0.AppointmentCarrierInformationUpdatedResponse>(
|
|
'/api.AppointmentInputAPI/CarrierInformationUpdated',
|
|
($0.AppointmentCarrierInformationUpdatedRequest value) => value.writeToBuffer(),
|
|
$0.AppointmentCarrierInformationUpdatedResponse.fromBuffer);
|
|
static final _$carrierExpected = $grpc.ClientMethod<$0.AppointmentCarrierExpectedRequest, $0.AppointmentCarrierExpectedResponse>(
|
|
'/api.AppointmentInputAPI/CarrierExpected',
|
|
($0.AppointmentCarrierExpectedRequest value) => value.writeToBuffer(),
|
|
$0.AppointmentCarrierExpectedResponse.fromBuffer);
|
|
static final _$carrierArrived = $grpc.ClientMethod<$0.AppointmentCarrierArrivedRequest, $0.AppointmentCarrierArrivedResponse>(
|
|
'/api.AppointmentInputAPI/CarrierArrived',
|
|
($0.AppointmentCarrierArrivedRequest value) => value.writeToBuffer(),
|
|
$0.AppointmentCarrierArrivedResponse.fromBuffer);
|
|
static final _$expeditionStarted = $grpc.ClientMethod<$0.AppointmentExpeditionStartedRequest, $0.AppointmentExpeditionStartedResponse>(
|
|
'/api.AppointmentInputAPI/ExpeditionStarted',
|
|
($0.AppointmentExpeditionStartedRequest value) => value.writeToBuffer(),
|
|
$0.AppointmentExpeditionStartedResponse.fromBuffer);
|
|
static final _$expeditionLoaded = $grpc.ClientMethod<$0.AppointmentExpeditionLoadedRequest, $0.AppointmentExpeditionLoadedResponse>(
|
|
'/api.AppointmentInputAPI/ExpeditionLoaded',
|
|
($0.AppointmentExpeditionLoadedRequest value) => value.writeToBuffer(),
|
|
$0.AppointmentExpeditionLoadedResponse.fromBuffer);
|
|
static final _$receptionStarted = $grpc.ClientMethod<$0.AppointmentReceptionStartedRequest, $0.AppointmentReceptionStartedResponse>(
|
|
'/api.AppointmentInputAPI/ReceptionStarted',
|
|
($0.AppointmentReceptionStartedRequest value) => value.writeToBuffer(),
|
|
$0.AppointmentReceptionStartedResponse.fromBuffer);
|
|
static final _$receptionUnloaded = $grpc.ClientMethod<$0.AppointmentReceptionUnloadedRequest, $0.AppointmentReceptionUnloadedResponse>(
|
|
'/api.AppointmentInputAPI/ReceptionUnloaded',
|
|
($0.AppointmentReceptionUnloadedRequest value) => value.writeToBuffer(),
|
|
$0.AppointmentReceptionUnloadedResponse.fromBuffer);
|
|
static final _$carrierDeparted = $grpc.ClientMethod<$0.AppointmentCarrierDepartedRequest, $0.AppointmentCarrierDepartedResponse>(
|
|
'/api.AppointmentInputAPI/CarrierDeparted',
|
|
($0.AppointmentCarrierDepartedRequest value) => value.writeToBuffer(),
|
|
$0.AppointmentCarrierDepartedResponse.fromBuffer);
|
|
static final _$metaDataUpdated = $grpc.ClientMethod<$0.AppointmentMetaDataUpdatedRequest, $0.AppointmentMetaDataUpdatedResponse>(
|
|
'/api.AppointmentInputAPI/MetaDataUpdated',
|
|
($0.AppointmentMetaDataUpdatedRequest value) => value.writeToBuffer(),
|
|
$0.AppointmentMetaDataUpdatedResponse.fromBuffer);
|
|
}
|
|
|
|
@$pb.GrpcServiceName('api.AppointmentInputAPI')
|
|
abstract class AppointmentInputAPIServiceBase extends $grpc.Service {
|
|
$core.String get $name => 'api.AppointmentInputAPI';
|
|
|
|
AppointmentInputAPIServiceBase() {
|
|
$addMethod($grpc.ServiceMethod<$0.AppointmentCreatedRequest, $0.AppointmentCreatedResponse>(
|
|
'Created',
|
|
created_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.AppointmentCreatedRequest.fromBuffer(value),
|
|
($0.AppointmentCreatedResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.AppointmentCanceledRequest, $0.AppointmentCanceledResponse>(
|
|
'Canceled',
|
|
canceled_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.AppointmentCanceledRequest.fromBuffer(value),
|
|
($0.AppointmentCanceledResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.AppointmentCarrierInformationUpdatedRequest, $0.AppointmentCarrierInformationUpdatedResponse>(
|
|
'CarrierInformationUpdated',
|
|
carrierInformationUpdated_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.AppointmentCarrierInformationUpdatedRequest.fromBuffer(value),
|
|
($0.AppointmentCarrierInformationUpdatedResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.AppointmentCarrierExpectedRequest, $0.AppointmentCarrierExpectedResponse>(
|
|
'CarrierExpected',
|
|
carrierExpected_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.AppointmentCarrierExpectedRequest.fromBuffer(value),
|
|
($0.AppointmentCarrierExpectedResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.AppointmentCarrierArrivedRequest, $0.AppointmentCarrierArrivedResponse>(
|
|
'CarrierArrived',
|
|
carrierArrived_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.AppointmentCarrierArrivedRequest.fromBuffer(value),
|
|
($0.AppointmentCarrierArrivedResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.AppointmentExpeditionStartedRequest, $0.AppointmentExpeditionStartedResponse>(
|
|
'ExpeditionStarted',
|
|
expeditionStarted_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.AppointmentExpeditionStartedRequest.fromBuffer(value),
|
|
($0.AppointmentExpeditionStartedResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.AppointmentExpeditionLoadedRequest, $0.AppointmentExpeditionLoadedResponse>(
|
|
'ExpeditionLoaded',
|
|
expeditionLoaded_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.AppointmentExpeditionLoadedRequest.fromBuffer(value),
|
|
($0.AppointmentExpeditionLoadedResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.AppointmentReceptionStartedRequest, $0.AppointmentReceptionStartedResponse>(
|
|
'ReceptionStarted',
|
|
receptionStarted_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.AppointmentReceptionStartedRequest.fromBuffer(value),
|
|
($0.AppointmentReceptionStartedResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.AppointmentReceptionUnloadedRequest, $0.AppointmentReceptionUnloadedResponse>(
|
|
'ReceptionUnloaded',
|
|
receptionUnloaded_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.AppointmentReceptionUnloadedRequest.fromBuffer(value),
|
|
($0.AppointmentReceptionUnloadedResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.AppointmentCarrierDepartedRequest, $0.AppointmentCarrierDepartedResponse>(
|
|
'CarrierDeparted',
|
|
carrierDeparted_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.AppointmentCarrierDepartedRequest.fromBuffer(value),
|
|
($0.AppointmentCarrierDepartedResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.AppointmentMetaDataUpdatedRequest, $0.AppointmentMetaDataUpdatedResponse>(
|
|
'MetaDataUpdated',
|
|
metaDataUpdated_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.AppointmentMetaDataUpdatedRequest.fromBuffer(value),
|
|
($0.AppointmentMetaDataUpdatedResponse value) => value.writeToBuffer()));
|
|
}
|
|
|
|
$async.Future<$0.AppointmentCreatedResponse> created_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentCreatedRequest> $request) async {
|
|
return created($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.AppointmentCreatedResponse> created($grpc.ServiceCall call, $0.AppointmentCreatedRequest request);
|
|
|
|
$async.Future<$0.AppointmentCanceledResponse> canceled_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentCanceledRequest> $request) async {
|
|
return canceled($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.AppointmentCanceledResponse> canceled($grpc.ServiceCall call, $0.AppointmentCanceledRequest request);
|
|
|
|
$async.Future<$0.AppointmentCarrierInformationUpdatedResponse> carrierInformationUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentCarrierInformationUpdatedRequest> $request) async {
|
|
return carrierInformationUpdated($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.AppointmentCarrierInformationUpdatedResponse> carrierInformationUpdated($grpc.ServiceCall call, $0.AppointmentCarrierInformationUpdatedRequest request);
|
|
|
|
$async.Future<$0.AppointmentCarrierExpectedResponse> carrierExpected_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentCarrierExpectedRequest> $request) async {
|
|
return carrierExpected($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.AppointmentCarrierExpectedResponse> carrierExpected($grpc.ServiceCall call, $0.AppointmentCarrierExpectedRequest request);
|
|
|
|
$async.Future<$0.AppointmentCarrierArrivedResponse> carrierArrived_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentCarrierArrivedRequest> $request) async {
|
|
return carrierArrived($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.AppointmentCarrierArrivedResponse> carrierArrived($grpc.ServiceCall call, $0.AppointmentCarrierArrivedRequest request);
|
|
|
|
$async.Future<$0.AppointmentExpeditionStartedResponse> expeditionStarted_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentExpeditionStartedRequest> $request) async {
|
|
return expeditionStarted($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.AppointmentExpeditionStartedResponse> expeditionStarted($grpc.ServiceCall call, $0.AppointmentExpeditionStartedRequest request);
|
|
|
|
$async.Future<$0.AppointmentExpeditionLoadedResponse> expeditionLoaded_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentExpeditionLoadedRequest> $request) async {
|
|
return expeditionLoaded($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.AppointmentExpeditionLoadedResponse> expeditionLoaded($grpc.ServiceCall call, $0.AppointmentExpeditionLoadedRequest request);
|
|
|
|
$async.Future<$0.AppointmentReceptionStartedResponse> receptionStarted_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentReceptionStartedRequest> $request) async {
|
|
return receptionStarted($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.AppointmentReceptionStartedResponse> receptionStarted($grpc.ServiceCall call, $0.AppointmentReceptionStartedRequest request);
|
|
|
|
$async.Future<$0.AppointmentReceptionUnloadedResponse> receptionUnloaded_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentReceptionUnloadedRequest> $request) async {
|
|
return receptionUnloaded($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.AppointmentReceptionUnloadedResponse> receptionUnloaded($grpc.ServiceCall call, $0.AppointmentReceptionUnloadedRequest request);
|
|
|
|
$async.Future<$0.AppointmentCarrierDepartedResponse> carrierDeparted_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentCarrierDepartedRequest> $request) async {
|
|
return carrierDeparted($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.AppointmentCarrierDepartedResponse> carrierDeparted($grpc.ServiceCall call, $0.AppointmentCarrierDepartedRequest request);
|
|
|
|
$async.Future<$0.AppointmentMetaDataUpdatedResponse> metaDataUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentMetaDataUpdatedRequest> $request) async {
|
|
return metaDataUpdated($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.AppointmentMetaDataUpdatedResponse> metaDataUpdated($grpc.ServiceCall call, $0.AppointmentMetaDataUpdatedRequest request);
|
|
|
|
}
|