You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -100,6 +100,10 @@ class SiteServiceClient extends $grpc.Client {
|
||||
return $createUnaryCall(_$forceUpdateAppointment, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.BookAppointmentResponse> wMSUpdateAppointment($0.WMSUpdateAppointmentRequest request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$wMSUpdateAppointment, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.BookAppointmentResponse> rescheduleAppointment($0.RescheduleAppointmentRequest request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$rescheduleAppointment, request, options: options);
|
||||
}
|
||||
@@ -246,6 +250,10 @@ class SiteServiceClient extends $grpc.Client {
|
||||
'/api.SiteService/ForceUpdateAppointment',
|
||||
($0.UpdateAppointmentRequest value) => value.writeToBuffer(),
|
||||
$0.BookAppointmentResponse.fromBuffer);
|
||||
static final _$wMSUpdateAppointment = $grpc.ClientMethod<$0.WMSUpdateAppointmentRequest, $0.BookAppointmentResponse>(
|
||||
'/api.SiteService/WMSUpdateAppointment',
|
||||
($0.WMSUpdateAppointmentRequest value) => value.writeToBuffer(),
|
||||
$0.BookAppointmentResponse.fromBuffer);
|
||||
static final _$rescheduleAppointment = $grpc.ClientMethod<$0.RescheduleAppointmentRequest, $0.BookAppointmentResponse>(
|
||||
'/api.SiteService/RescheduleAppointment',
|
||||
($0.RescheduleAppointmentRequest value) => value.writeToBuffer(),
|
||||
@@ -448,6 +456,13 @@ abstract class SiteServiceBase extends $grpc.Service {
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.UpdateAppointmentRequest.fromBuffer(value),
|
||||
($0.BookAppointmentResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.WMSUpdateAppointmentRequest, $0.BookAppointmentResponse>(
|
||||
'WMSUpdateAppointment',
|
||||
wMSUpdateAppointment_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.WMSUpdateAppointmentRequest.fromBuffer(value),
|
||||
($0.BookAppointmentResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.RescheduleAppointmentRequest, $0.BookAppointmentResponse>(
|
||||
'RescheduleAppointment',
|
||||
rescheduleAppointment_Pre,
|
||||
@@ -685,6 +700,12 @@ abstract class SiteServiceBase extends $grpc.Service {
|
||||
|
||||
$async.Future<$0.BookAppointmentResponse> forceUpdateAppointment($grpc.ServiceCall call, $0.UpdateAppointmentRequest request);
|
||||
|
||||
$async.Future<$0.BookAppointmentResponse> wMSUpdateAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.WMSUpdateAppointmentRequest> $request) async {
|
||||
return wMSUpdateAppointment($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.BookAppointmentResponse> wMSUpdateAppointment($grpc.ServiceCall call, $0.WMSUpdateAppointmentRequest request);
|
||||
|
||||
$async.Future<$0.BookAppointmentResponse> rescheduleAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.RescheduleAppointmentRequest> $request) async {
|
||||
return rescheduleAppointment($call, await $request);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user