You've already forked dart-core-sdk
711 lines
38 KiB
Dart
711 lines
38 KiB
Dart
// This is a generated file - do not edit.
|
|
//
|
|
// Generated from site.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 'site.pb.dart' as $0;
|
|
|
|
export 'site.pb.dart';
|
|
|
|
@$pb.GrpcServiceName('api.SiteService')
|
|
class SiteServiceClient 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 = [
|
|
'',
|
|
];
|
|
|
|
SiteServiceClient(super.channel, {super.options, super.interceptors});
|
|
|
|
$grpc.ResponseFuture<$0.GetSettingsResponse> getSettings($0.GetSettingsRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$getSettings, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.UpdateSettingsResponse> updateSettings($0.UpdateSettingsRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$updateSettings, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.UploadPhotoResponse> uploadPhoto($0.UploadPhotoRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$uploadPhoto, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.DeletePhotoResponse> deletePhoto($0.DeletePhotoRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$deletePhoto, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.UploadInstructionDocumentResponse> uploadInstructionDocument($0.UploadInstructionDocumentRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$uploadInstructionDocument, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.DeleteInstructionDocumentResponse> deleteInstructionDocument($0.DeleteInstructionDocumentRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$deleteInstructionDocument, request, options: options);
|
|
}
|
|
|
|
@$core.Deprecated('This method is deprecated')
|
|
$grpc.ResponseFuture<$0.GetAvailableSlotsResponse> getAvailableSlots($0.GetAvailableSlotsRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$getAvailableSlots, request, options: options);
|
|
}
|
|
|
|
@$core.Deprecated('This method is deprecated')
|
|
$grpc.ResponseFuture<$0.GetAllSlotsResponse> getAllSlots($0.GetAvailableSlotsRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$getAllSlots, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.CheckAppointmentCommissionResponse> checkAppointmentCommission($0.CheckAppointmentCommissionRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$checkAppointmentCommission, request, options: options);
|
|
}
|
|
|
|
@$core.Deprecated('This method is deprecated')
|
|
$grpc.ResponseFuture<$0.BookAppointmentResponse> bookAppointment($0.BookAppointmentRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$bookAppointment, request, options: options);
|
|
}
|
|
|
|
@$core.Deprecated('This method is deprecated')
|
|
$grpc.ResponseFuture<$0.BookAppointmentResponse> bookAppointmentNoReference($0.BookAppointmentRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$bookAppointmentNoReference, request, options: options);
|
|
}
|
|
|
|
@$core.Deprecated('This method is deprecated')
|
|
$grpc.ResponseFuture<$0.BookAppointmentResponse> forceBookAppointment($0.BookAppointmentRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$forceBookAppointment, request, options: options);
|
|
}
|
|
|
|
@$core.Deprecated('This method is deprecated')
|
|
$grpc.ResponseFuture<$0.CancelAppointmentResponse> cancelAppointment($0.CancelAppointmentRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$cancelAppointment, request, options: options);
|
|
}
|
|
|
|
@$core.Deprecated('This method is deprecated')
|
|
$grpc.ResponseFuture<$0.BookAppointmentResponse> updateAppointment($0.UpdateAppointmentRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$updateAppointment, request, options: options);
|
|
}
|
|
|
|
@$core.Deprecated('This method is deprecated')
|
|
$grpc.ResponseFuture<$0.BookAppointmentResponse> updateAppointmentNoReference($0.UpdateAppointmentRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$updateAppointmentNoReference, request, options: options);
|
|
}
|
|
|
|
@$core.Deprecated('This method is deprecated')
|
|
$grpc.ResponseFuture<$0.BookAppointmentResponse> forceUpdateAppointment($0.UpdateAppointmentRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$forceUpdateAppointment, request, options: options);
|
|
}
|
|
|
|
@$core.Deprecated('This method is deprecated')
|
|
$grpc.ResponseFuture<$0.BookAppointmentResponse> wMSUpdateAppointment($0.WMSUpdateAppointmentRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$wMSUpdateAppointment, request, options: options);
|
|
}
|
|
|
|
@$core.Deprecated('This method is deprecated')
|
|
$grpc.ResponseFuture<$0.BookAppointmentResponse> rescheduleAppointment($0.RescheduleAppointmentRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$rescheduleAppointment, request, options: options);
|
|
}
|
|
|
|
@$core.Deprecated('This method is deprecated')
|
|
$grpc.ResponseFuture<$0.BookAppointmentResponse> forceRescheduleAppointment($0.RescheduleAppointmentRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$forceRescheduleAppointment, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.DeleteSettingsResult> deleteSettings($0.DeleteSettingsRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$deleteSettings, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.CreateSettingsResponse> createSettings($0.CreateSettingsRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$createSettings, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.GetUnitsResponse> getUnits($0.GetUnitsRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$getUnits, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.GetBasicSettingsResponse> getBasicSettings($0.GetBasicSettingsRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$getBasicSettings, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.ListSitesAuthorizedForBookingResponse> listSitesAuthorizedForBooking($0.ListSitesAuthorizedForBookingRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$listSitesAuthorizedForBooking, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.GetBookingSegmentationsResponse> getBookingSegmentations($0.GetBookingSegmentationsRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$getBookingSegmentations, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.ResolveSiteResponse> resolveSite($0.ResolveSiteRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$resolveSite, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.InitBookerProfileResponse> initBookerProfile($0.InitBookerProfileRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$initBookerProfile, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.GetBookingContextResponse> getBookingContext($0.GetBookingContextRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$getBookingContext, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.GetMyBookingContextResponse> getMyBookingContext($0.GetMyBookingContextRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$getMyBookingContext, request, options: options);
|
|
}
|
|
|
|
@$core.Deprecated('This method is deprecated')
|
|
$grpc.ResponseFuture<$0.CheckAppointmentEditableResponse> checkAppointmentEditable($0.CheckAppointmentEditableRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$checkAppointmentEditable, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.ListSettingsResponse> listSettings($0.ListSettingsRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$listSettings, request, options: options);
|
|
}
|
|
|
|
// method descriptors
|
|
|
|
static final _$getSettings = $grpc.ClientMethod<$0.GetSettingsRequest, $0.GetSettingsResponse>(
|
|
'/api.SiteService/GetSettings',
|
|
($0.GetSettingsRequest value) => value.writeToBuffer(),
|
|
$0.GetSettingsResponse.fromBuffer);
|
|
static final _$updateSettings = $grpc.ClientMethod<$0.UpdateSettingsRequest, $0.UpdateSettingsResponse>(
|
|
'/api.SiteService/UpdateSettings',
|
|
($0.UpdateSettingsRequest value) => value.writeToBuffer(),
|
|
$0.UpdateSettingsResponse.fromBuffer);
|
|
static final _$uploadPhoto = $grpc.ClientMethod<$0.UploadPhotoRequest, $0.UploadPhotoResponse>(
|
|
'/api.SiteService/UploadPhoto',
|
|
($0.UploadPhotoRequest value) => value.writeToBuffer(),
|
|
$0.UploadPhotoResponse.fromBuffer);
|
|
static final _$deletePhoto = $grpc.ClientMethod<$0.DeletePhotoRequest, $0.DeletePhotoResponse>(
|
|
'/api.SiteService/DeletePhoto',
|
|
($0.DeletePhotoRequest value) => value.writeToBuffer(),
|
|
$0.DeletePhotoResponse.fromBuffer);
|
|
static final _$uploadInstructionDocument = $grpc.ClientMethod<$0.UploadInstructionDocumentRequest, $0.UploadInstructionDocumentResponse>(
|
|
'/api.SiteService/UploadInstructionDocument',
|
|
($0.UploadInstructionDocumentRequest value) => value.writeToBuffer(),
|
|
$0.UploadInstructionDocumentResponse.fromBuffer);
|
|
static final _$deleteInstructionDocument = $grpc.ClientMethod<$0.DeleteInstructionDocumentRequest, $0.DeleteInstructionDocumentResponse>(
|
|
'/api.SiteService/DeleteInstructionDocument',
|
|
($0.DeleteInstructionDocumentRequest value) => value.writeToBuffer(),
|
|
$0.DeleteInstructionDocumentResponse.fromBuffer);
|
|
static final _$getAvailableSlots = $grpc.ClientMethod<$0.GetAvailableSlotsRequest, $0.GetAvailableSlotsResponse>(
|
|
'/api.SiteService/GetAvailableSlots',
|
|
($0.GetAvailableSlotsRequest value) => value.writeToBuffer(),
|
|
$0.GetAvailableSlotsResponse.fromBuffer);
|
|
static final _$getAllSlots = $grpc.ClientMethod<$0.GetAvailableSlotsRequest, $0.GetAllSlotsResponse>(
|
|
'/api.SiteService/GetAllSlots',
|
|
($0.GetAvailableSlotsRequest value) => value.writeToBuffer(),
|
|
$0.GetAllSlotsResponse.fromBuffer);
|
|
static final _$checkAppointmentCommission = $grpc.ClientMethod<$0.CheckAppointmentCommissionRequest, $0.CheckAppointmentCommissionResponse>(
|
|
'/api.SiteService/CheckAppointmentCommission',
|
|
($0.CheckAppointmentCommissionRequest value) => value.writeToBuffer(),
|
|
$0.CheckAppointmentCommissionResponse.fromBuffer);
|
|
static final _$bookAppointment = $grpc.ClientMethod<$0.BookAppointmentRequest, $0.BookAppointmentResponse>(
|
|
'/api.SiteService/BookAppointment',
|
|
($0.BookAppointmentRequest value) => value.writeToBuffer(),
|
|
$0.BookAppointmentResponse.fromBuffer);
|
|
static final _$bookAppointmentNoReference = $grpc.ClientMethod<$0.BookAppointmentRequest, $0.BookAppointmentResponse>(
|
|
'/api.SiteService/BookAppointmentNoReference',
|
|
($0.BookAppointmentRequest value) => value.writeToBuffer(),
|
|
$0.BookAppointmentResponse.fromBuffer);
|
|
static final _$forceBookAppointment = $grpc.ClientMethod<$0.BookAppointmentRequest, $0.BookAppointmentResponse>(
|
|
'/api.SiteService/ForceBookAppointment',
|
|
($0.BookAppointmentRequest value) => value.writeToBuffer(),
|
|
$0.BookAppointmentResponse.fromBuffer);
|
|
static final _$cancelAppointment = $grpc.ClientMethod<$0.CancelAppointmentRequest, $0.CancelAppointmentResponse>(
|
|
'/api.SiteService/CancelAppointment',
|
|
($0.CancelAppointmentRequest value) => value.writeToBuffer(),
|
|
$0.CancelAppointmentResponse.fromBuffer);
|
|
static final _$updateAppointment = $grpc.ClientMethod<$0.UpdateAppointmentRequest, $0.BookAppointmentResponse>(
|
|
'/api.SiteService/UpdateAppointment',
|
|
($0.UpdateAppointmentRequest value) => value.writeToBuffer(),
|
|
$0.BookAppointmentResponse.fromBuffer);
|
|
static final _$updateAppointmentNoReference = $grpc.ClientMethod<$0.UpdateAppointmentRequest, $0.BookAppointmentResponse>(
|
|
'/api.SiteService/UpdateAppointmentNoReference',
|
|
($0.UpdateAppointmentRequest value) => value.writeToBuffer(),
|
|
$0.BookAppointmentResponse.fromBuffer);
|
|
static final _$forceUpdateAppointment = $grpc.ClientMethod<$0.UpdateAppointmentRequest, $0.BookAppointmentResponse>(
|
|
'/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(),
|
|
$0.BookAppointmentResponse.fromBuffer);
|
|
static final _$forceRescheduleAppointment = $grpc.ClientMethod<$0.RescheduleAppointmentRequest, $0.BookAppointmentResponse>(
|
|
'/api.SiteService/ForceRescheduleAppointment',
|
|
($0.RescheduleAppointmentRequest value) => value.writeToBuffer(),
|
|
$0.BookAppointmentResponse.fromBuffer);
|
|
static final _$deleteSettings = $grpc.ClientMethod<$0.DeleteSettingsRequest, $0.DeleteSettingsResult>(
|
|
'/api.SiteService/DeleteSettings',
|
|
($0.DeleteSettingsRequest value) => value.writeToBuffer(),
|
|
$0.DeleteSettingsResult.fromBuffer);
|
|
static final _$createSettings = $grpc.ClientMethod<$0.CreateSettingsRequest, $0.CreateSettingsResponse>(
|
|
'/api.SiteService/CreateSettings',
|
|
($0.CreateSettingsRequest value) => value.writeToBuffer(),
|
|
$0.CreateSettingsResponse.fromBuffer);
|
|
static final _$getUnits = $grpc.ClientMethod<$0.GetUnitsRequest, $0.GetUnitsResponse>(
|
|
'/api.SiteService/GetUnits',
|
|
($0.GetUnitsRequest value) => value.writeToBuffer(),
|
|
$0.GetUnitsResponse.fromBuffer);
|
|
static final _$getBasicSettings = $grpc.ClientMethod<$0.GetBasicSettingsRequest, $0.GetBasicSettingsResponse>(
|
|
'/api.SiteService/GetBasicSettings',
|
|
($0.GetBasicSettingsRequest value) => value.writeToBuffer(),
|
|
$0.GetBasicSettingsResponse.fromBuffer);
|
|
static final _$listSitesAuthorizedForBooking = $grpc.ClientMethod<$0.ListSitesAuthorizedForBookingRequest, $0.ListSitesAuthorizedForBookingResponse>(
|
|
'/api.SiteService/ListSitesAuthorizedForBooking',
|
|
($0.ListSitesAuthorizedForBookingRequest value) => value.writeToBuffer(),
|
|
$0.ListSitesAuthorizedForBookingResponse.fromBuffer);
|
|
static final _$getBookingSegmentations = $grpc.ClientMethod<$0.GetBookingSegmentationsRequest, $0.GetBookingSegmentationsResponse>(
|
|
'/api.SiteService/GetBookingSegmentations',
|
|
($0.GetBookingSegmentationsRequest value) => value.writeToBuffer(),
|
|
$0.GetBookingSegmentationsResponse.fromBuffer);
|
|
static final _$resolveSite = $grpc.ClientMethod<$0.ResolveSiteRequest, $0.ResolveSiteResponse>(
|
|
'/api.SiteService/ResolveSite',
|
|
($0.ResolveSiteRequest value) => value.writeToBuffer(),
|
|
$0.ResolveSiteResponse.fromBuffer);
|
|
static final _$initBookerProfile = $grpc.ClientMethod<$0.InitBookerProfileRequest, $0.InitBookerProfileResponse>(
|
|
'/api.SiteService/InitBookerProfile',
|
|
($0.InitBookerProfileRequest value) => value.writeToBuffer(),
|
|
$0.InitBookerProfileResponse.fromBuffer);
|
|
static final _$getBookingContext = $grpc.ClientMethod<$0.GetBookingContextRequest, $0.GetBookingContextResponse>(
|
|
'/api.SiteService/GetBookingContext',
|
|
($0.GetBookingContextRequest value) => value.writeToBuffer(),
|
|
$0.GetBookingContextResponse.fromBuffer);
|
|
static final _$getMyBookingContext = $grpc.ClientMethod<$0.GetMyBookingContextRequest, $0.GetMyBookingContextResponse>(
|
|
'/api.SiteService/GetMyBookingContext',
|
|
($0.GetMyBookingContextRequest value) => value.writeToBuffer(),
|
|
$0.GetMyBookingContextResponse.fromBuffer);
|
|
static final _$checkAppointmentEditable = $grpc.ClientMethod<$0.CheckAppointmentEditableRequest, $0.CheckAppointmentEditableResponse>(
|
|
'/api.SiteService/CheckAppointmentEditable',
|
|
($0.CheckAppointmentEditableRequest value) => value.writeToBuffer(),
|
|
$0.CheckAppointmentEditableResponse.fromBuffer);
|
|
static final _$listSettings = $grpc.ClientMethod<$0.ListSettingsRequest, $0.ListSettingsResponse>(
|
|
'/api.SiteService/ListSettings',
|
|
($0.ListSettingsRequest value) => value.writeToBuffer(),
|
|
$0.ListSettingsResponse.fromBuffer);
|
|
}
|
|
|
|
@$pb.GrpcServiceName('api.SiteService')
|
|
abstract class SiteServiceBase extends $grpc.Service {
|
|
$core.String get $name => 'api.SiteService';
|
|
|
|
SiteServiceBase() {
|
|
$addMethod($grpc.ServiceMethod<$0.GetSettingsRequest, $0.GetSettingsResponse>(
|
|
'GetSettings',
|
|
getSettings_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.GetSettingsRequest.fromBuffer(value),
|
|
($0.GetSettingsResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.UpdateSettingsRequest, $0.UpdateSettingsResponse>(
|
|
'UpdateSettings',
|
|
updateSettings_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.UpdateSettingsRequest.fromBuffer(value),
|
|
($0.UpdateSettingsResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.UploadPhotoRequest, $0.UploadPhotoResponse>(
|
|
'UploadPhoto',
|
|
uploadPhoto_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.UploadPhotoRequest.fromBuffer(value),
|
|
($0.UploadPhotoResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.DeletePhotoRequest, $0.DeletePhotoResponse>(
|
|
'DeletePhoto',
|
|
deletePhoto_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.DeletePhotoRequest.fromBuffer(value),
|
|
($0.DeletePhotoResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.UploadInstructionDocumentRequest, $0.UploadInstructionDocumentResponse>(
|
|
'UploadInstructionDocument',
|
|
uploadInstructionDocument_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.UploadInstructionDocumentRequest.fromBuffer(value),
|
|
($0.UploadInstructionDocumentResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.DeleteInstructionDocumentRequest, $0.DeleteInstructionDocumentResponse>(
|
|
'DeleteInstructionDocument',
|
|
deleteInstructionDocument_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.DeleteInstructionDocumentRequest.fromBuffer(value),
|
|
($0.DeleteInstructionDocumentResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.GetAvailableSlotsRequest, $0.GetAvailableSlotsResponse>(
|
|
'GetAvailableSlots',
|
|
getAvailableSlots_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.GetAvailableSlotsRequest.fromBuffer(value),
|
|
($0.GetAvailableSlotsResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.GetAvailableSlotsRequest, $0.GetAllSlotsResponse>(
|
|
'GetAllSlots',
|
|
getAllSlots_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.GetAvailableSlotsRequest.fromBuffer(value),
|
|
($0.GetAllSlotsResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.CheckAppointmentCommissionRequest, $0.CheckAppointmentCommissionResponse>(
|
|
'CheckAppointmentCommission',
|
|
checkAppointmentCommission_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.CheckAppointmentCommissionRequest.fromBuffer(value),
|
|
($0.CheckAppointmentCommissionResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.BookAppointmentRequest, $0.BookAppointmentResponse>(
|
|
'BookAppointment',
|
|
bookAppointment_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.BookAppointmentRequest.fromBuffer(value),
|
|
($0.BookAppointmentResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.BookAppointmentRequest, $0.BookAppointmentResponse>(
|
|
'BookAppointmentNoReference',
|
|
bookAppointmentNoReference_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.BookAppointmentRequest.fromBuffer(value),
|
|
($0.BookAppointmentResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.BookAppointmentRequest, $0.BookAppointmentResponse>(
|
|
'ForceBookAppointment',
|
|
forceBookAppointment_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.BookAppointmentRequest.fromBuffer(value),
|
|
($0.BookAppointmentResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.CancelAppointmentRequest, $0.CancelAppointmentResponse>(
|
|
'CancelAppointment',
|
|
cancelAppointment_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.CancelAppointmentRequest.fromBuffer(value),
|
|
($0.CancelAppointmentResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.UpdateAppointmentRequest, $0.BookAppointmentResponse>(
|
|
'UpdateAppointment',
|
|
updateAppointment_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.UpdateAppointmentRequest.fromBuffer(value),
|
|
($0.BookAppointmentResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.UpdateAppointmentRequest, $0.BookAppointmentResponse>(
|
|
'UpdateAppointmentNoReference',
|
|
updateAppointmentNoReference_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.UpdateAppointmentRequest.fromBuffer(value),
|
|
($0.BookAppointmentResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.UpdateAppointmentRequest, $0.BookAppointmentResponse>(
|
|
'ForceUpdateAppointment',
|
|
forceUpdateAppointment_Pre,
|
|
false,
|
|
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,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.RescheduleAppointmentRequest.fromBuffer(value),
|
|
($0.BookAppointmentResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.RescheduleAppointmentRequest, $0.BookAppointmentResponse>(
|
|
'ForceRescheduleAppointment',
|
|
forceRescheduleAppointment_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.RescheduleAppointmentRequest.fromBuffer(value),
|
|
($0.BookAppointmentResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.DeleteSettingsRequest, $0.DeleteSettingsResult>(
|
|
'DeleteSettings',
|
|
deleteSettings_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.DeleteSettingsRequest.fromBuffer(value),
|
|
($0.DeleteSettingsResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.CreateSettingsRequest, $0.CreateSettingsResponse>(
|
|
'CreateSettings',
|
|
createSettings_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.CreateSettingsRequest.fromBuffer(value),
|
|
($0.CreateSettingsResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.GetUnitsRequest, $0.GetUnitsResponse>(
|
|
'GetUnits',
|
|
getUnits_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.GetUnitsRequest.fromBuffer(value),
|
|
($0.GetUnitsResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.GetBasicSettingsRequest, $0.GetBasicSettingsResponse>(
|
|
'GetBasicSettings',
|
|
getBasicSettings_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.GetBasicSettingsRequest.fromBuffer(value),
|
|
($0.GetBasicSettingsResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.ListSitesAuthorizedForBookingRequest, $0.ListSitesAuthorizedForBookingResponse>(
|
|
'ListSitesAuthorizedForBooking',
|
|
listSitesAuthorizedForBooking_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.ListSitesAuthorizedForBookingRequest.fromBuffer(value),
|
|
($0.ListSitesAuthorizedForBookingResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.GetBookingSegmentationsRequest, $0.GetBookingSegmentationsResponse>(
|
|
'GetBookingSegmentations',
|
|
getBookingSegmentations_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.GetBookingSegmentationsRequest.fromBuffer(value),
|
|
($0.GetBookingSegmentationsResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.ResolveSiteRequest, $0.ResolveSiteResponse>(
|
|
'ResolveSite',
|
|
resolveSite_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.ResolveSiteRequest.fromBuffer(value),
|
|
($0.ResolveSiteResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.InitBookerProfileRequest, $0.InitBookerProfileResponse>(
|
|
'InitBookerProfile',
|
|
initBookerProfile_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.InitBookerProfileRequest.fromBuffer(value),
|
|
($0.InitBookerProfileResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.GetBookingContextRequest, $0.GetBookingContextResponse>(
|
|
'GetBookingContext',
|
|
getBookingContext_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.GetBookingContextRequest.fromBuffer(value),
|
|
($0.GetBookingContextResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.GetMyBookingContextRequest, $0.GetMyBookingContextResponse>(
|
|
'GetMyBookingContext',
|
|
getMyBookingContext_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.GetMyBookingContextRequest.fromBuffer(value),
|
|
($0.GetMyBookingContextResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.CheckAppointmentEditableRequest, $0.CheckAppointmentEditableResponse>(
|
|
'CheckAppointmentEditable',
|
|
checkAppointmentEditable_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.CheckAppointmentEditableRequest.fromBuffer(value),
|
|
($0.CheckAppointmentEditableResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.ListSettingsRequest, $0.ListSettingsResponse>(
|
|
'ListSettings',
|
|
listSettings_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.ListSettingsRequest.fromBuffer(value),
|
|
($0.ListSettingsResponse value) => value.writeToBuffer()));
|
|
}
|
|
|
|
$async.Future<$0.GetSettingsResponse> getSettings_Pre($grpc.ServiceCall $call, $async.Future<$0.GetSettingsRequest> $request) async {
|
|
return getSettings($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.GetSettingsResponse> getSettings($grpc.ServiceCall call, $0.GetSettingsRequest request);
|
|
|
|
$async.Future<$0.UpdateSettingsResponse> updateSettings_Pre($grpc.ServiceCall $call, $async.Future<$0.UpdateSettingsRequest> $request) async {
|
|
return updateSettings($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.UpdateSettingsResponse> updateSettings($grpc.ServiceCall call, $0.UpdateSettingsRequest request);
|
|
|
|
$async.Future<$0.UploadPhotoResponse> uploadPhoto_Pre($grpc.ServiceCall $call, $async.Future<$0.UploadPhotoRequest> $request) async {
|
|
return uploadPhoto($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.UploadPhotoResponse> uploadPhoto($grpc.ServiceCall call, $0.UploadPhotoRequest request);
|
|
|
|
$async.Future<$0.DeletePhotoResponse> deletePhoto_Pre($grpc.ServiceCall $call, $async.Future<$0.DeletePhotoRequest> $request) async {
|
|
return deletePhoto($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.DeletePhotoResponse> deletePhoto($grpc.ServiceCall call, $0.DeletePhotoRequest request);
|
|
|
|
$async.Future<$0.UploadInstructionDocumentResponse> uploadInstructionDocument_Pre($grpc.ServiceCall $call, $async.Future<$0.UploadInstructionDocumentRequest> $request) async {
|
|
return uploadInstructionDocument($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.UploadInstructionDocumentResponse> uploadInstructionDocument($grpc.ServiceCall call, $0.UploadInstructionDocumentRequest request);
|
|
|
|
$async.Future<$0.DeleteInstructionDocumentResponse> deleteInstructionDocument_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteInstructionDocumentRequest> $request) async {
|
|
return deleteInstructionDocument($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.DeleteInstructionDocumentResponse> deleteInstructionDocument($grpc.ServiceCall call, $0.DeleteInstructionDocumentRequest request);
|
|
|
|
$async.Future<$0.GetAvailableSlotsResponse> getAvailableSlots_Pre($grpc.ServiceCall $call, $async.Future<$0.GetAvailableSlotsRequest> $request) async {
|
|
return getAvailableSlots($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.GetAvailableSlotsResponse> getAvailableSlots($grpc.ServiceCall call, $0.GetAvailableSlotsRequest request);
|
|
|
|
$async.Future<$0.GetAllSlotsResponse> getAllSlots_Pre($grpc.ServiceCall $call, $async.Future<$0.GetAvailableSlotsRequest> $request) async {
|
|
return getAllSlots($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.GetAllSlotsResponse> getAllSlots($grpc.ServiceCall call, $0.GetAvailableSlotsRequest request);
|
|
|
|
$async.Future<$0.CheckAppointmentCommissionResponse> checkAppointmentCommission_Pre($grpc.ServiceCall $call, $async.Future<$0.CheckAppointmentCommissionRequest> $request) async {
|
|
return checkAppointmentCommission($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.CheckAppointmentCommissionResponse> checkAppointmentCommission($grpc.ServiceCall call, $0.CheckAppointmentCommissionRequest request);
|
|
|
|
$async.Future<$0.BookAppointmentResponse> bookAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.BookAppointmentRequest> $request) async {
|
|
return bookAppointment($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.BookAppointmentResponse> bookAppointment($grpc.ServiceCall call, $0.BookAppointmentRequest request);
|
|
|
|
$async.Future<$0.BookAppointmentResponse> bookAppointmentNoReference_Pre($grpc.ServiceCall $call, $async.Future<$0.BookAppointmentRequest> $request) async {
|
|
return bookAppointmentNoReference($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.BookAppointmentResponse> bookAppointmentNoReference($grpc.ServiceCall call, $0.BookAppointmentRequest request);
|
|
|
|
$async.Future<$0.BookAppointmentResponse> forceBookAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.BookAppointmentRequest> $request) async {
|
|
return forceBookAppointment($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.BookAppointmentResponse> forceBookAppointment($grpc.ServiceCall call, $0.BookAppointmentRequest request);
|
|
|
|
$async.Future<$0.CancelAppointmentResponse> cancelAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.CancelAppointmentRequest> $request) async {
|
|
return cancelAppointment($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.CancelAppointmentResponse> cancelAppointment($grpc.ServiceCall call, $0.CancelAppointmentRequest request);
|
|
|
|
$async.Future<$0.BookAppointmentResponse> updateAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.UpdateAppointmentRequest> $request) async {
|
|
return updateAppointment($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.BookAppointmentResponse> updateAppointment($grpc.ServiceCall call, $0.UpdateAppointmentRequest request);
|
|
|
|
$async.Future<$0.BookAppointmentResponse> updateAppointmentNoReference_Pre($grpc.ServiceCall $call, $async.Future<$0.UpdateAppointmentRequest> $request) async {
|
|
return updateAppointmentNoReference($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.BookAppointmentResponse> updateAppointmentNoReference($grpc.ServiceCall call, $0.UpdateAppointmentRequest request);
|
|
|
|
$async.Future<$0.BookAppointmentResponse> forceUpdateAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.UpdateAppointmentRequest> $request) async {
|
|
return forceUpdateAppointment($call, await $request);
|
|
}
|
|
|
|
$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);
|
|
}
|
|
|
|
$async.Future<$0.BookAppointmentResponse> rescheduleAppointment($grpc.ServiceCall call, $0.RescheduleAppointmentRequest request);
|
|
|
|
$async.Future<$0.BookAppointmentResponse> forceRescheduleAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.RescheduleAppointmentRequest> $request) async {
|
|
return forceRescheduleAppointment($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.BookAppointmentResponse> forceRescheduleAppointment($grpc.ServiceCall call, $0.RescheduleAppointmentRequest request);
|
|
|
|
$async.Future<$0.DeleteSettingsResult> deleteSettings_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteSettingsRequest> $request) async {
|
|
return deleteSettings($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.DeleteSettingsResult> deleteSettings($grpc.ServiceCall call, $0.DeleteSettingsRequest request);
|
|
|
|
$async.Future<$0.CreateSettingsResponse> createSettings_Pre($grpc.ServiceCall $call, $async.Future<$0.CreateSettingsRequest> $request) async {
|
|
return createSettings($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.CreateSettingsResponse> createSettings($grpc.ServiceCall call, $0.CreateSettingsRequest request);
|
|
|
|
$async.Future<$0.GetUnitsResponse> getUnits_Pre($grpc.ServiceCall $call, $async.Future<$0.GetUnitsRequest> $request) async {
|
|
return getUnits($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.GetUnitsResponse> getUnits($grpc.ServiceCall call, $0.GetUnitsRequest request);
|
|
|
|
$async.Future<$0.GetBasicSettingsResponse> getBasicSettings_Pre($grpc.ServiceCall $call, $async.Future<$0.GetBasicSettingsRequest> $request) async {
|
|
return getBasicSettings($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.GetBasicSettingsResponse> getBasicSettings($grpc.ServiceCall call, $0.GetBasicSettingsRequest request);
|
|
|
|
$async.Future<$0.ListSitesAuthorizedForBookingResponse> listSitesAuthorizedForBooking_Pre($grpc.ServiceCall $call, $async.Future<$0.ListSitesAuthorizedForBookingRequest> $request) async {
|
|
return listSitesAuthorizedForBooking($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.ListSitesAuthorizedForBookingResponse> listSitesAuthorizedForBooking($grpc.ServiceCall call, $0.ListSitesAuthorizedForBookingRequest request);
|
|
|
|
$async.Future<$0.GetBookingSegmentationsResponse> getBookingSegmentations_Pre($grpc.ServiceCall $call, $async.Future<$0.GetBookingSegmentationsRequest> $request) async {
|
|
return getBookingSegmentations($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.GetBookingSegmentationsResponse> getBookingSegmentations($grpc.ServiceCall call, $0.GetBookingSegmentationsRequest request);
|
|
|
|
$async.Future<$0.ResolveSiteResponse> resolveSite_Pre($grpc.ServiceCall $call, $async.Future<$0.ResolveSiteRequest> $request) async {
|
|
return resolveSite($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.ResolveSiteResponse> resolveSite($grpc.ServiceCall call, $0.ResolveSiteRequest request);
|
|
|
|
$async.Future<$0.InitBookerProfileResponse> initBookerProfile_Pre($grpc.ServiceCall $call, $async.Future<$0.InitBookerProfileRequest> $request) async {
|
|
return initBookerProfile($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.InitBookerProfileResponse> initBookerProfile($grpc.ServiceCall call, $0.InitBookerProfileRequest request);
|
|
|
|
$async.Future<$0.GetBookingContextResponse> getBookingContext_Pre($grpc.ServiceCall $call, $async.Future<$0.GetBookingContextRequest> $request) async {
|
|
return getBookingContext($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.GetBookingContextResponse> getBookingContext($grpc.ServiceCall call, $0.GetBookingContextRequest request);
|
|
|
|
$async.Future<$0.GetMyBookingContextResponse> getMyBookingContext_Pre($grpc.ServiceCall $call, $async.Future<$0.GetMyBookingContextRequest> $request) async {
|
|
return getMyBookingContext($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.GetMyBookingContextResponse> getMyBookingContext($grpc.ServiceCall call, $0.GetMyBookingContextRequest request);
|
|
|
|
$async.Future<$0.CheckAppointmentEditableResponse> checkAppointmentEditable_Pre($grpc.ServiceCall $call, $async.Future<$0.CheckAppointmentEditableRequest> $request) async {
|
|
return checkAppointmentEditable($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.CheckAppointmentEditableResponse> checkAppointmentEditable($grpc.ServiceCall call, $0.CheckAppointmentEditableRequest request);
|
|
|
|
$async.Future<$0.ListSettingsResponse> listSettings_Pre($grpc.ServiceCall $call, $async.Future<$0.ListSettingsRequest> $request) async {
|
|
return listSettings($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.ListSettingsResponse> listSettings($grpc.ServiceCall call, $0.ListSettingsRequest request);
|
|
|
|
}
|