You've already forked dart-core-sdk
281 lines
14 KiB
Dart
281 lines
14 KiB
Dart
// This is a generated file - do not edit.
|
|
//
|
|
// Generated from trackingInput.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 'trackingInput.pb.dart' as $0;
|
|
|
|
export 'trackingInput.pb.dart';
|
|
|
|
///
|
|
/// API-server services
|
|
@$pb.GrpcServiceName('api.TrackingInputAPI')
|
|
class TrackingInputAPIClient 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 = [
|
|
'',
|
|
];
|
|
|
|
TrackingInputAPIClient(super.channel, {super.options, super.interceptors});
|
|
|
|
$grpc.ResponseFuture<$0.TrackingNotifiedResponse> notified($0.TrackingNotifiedRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$notified, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.TrackingETAUpdatedResponse> eTAUpdated($0.TrackingETAUpdatedRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$eTAUpdated, request, options: options);
|
|
}
|
|
|
|
@$core.Deprecated('This method is deprecated')
|
|
$grpc.ResponseFuture<$0.TrackingDispatchedResponse> dispatched($0.TrackingDispatchedRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$dispatched, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.TrackingHULabeledResponse> hULabeled($0.TrackingHULabeledRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$hULabeled, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.TrackingSwitchedResponse> switched($0.TrackingSwitchedRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$switched, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.TrackingAttachmentAddedResponse> attachmentAdded($0.TrackingAttachmentAddedRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$attachmentAdded, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.TrackingAttachmentRemovedResponse> attachmentRemoved($0.TrackingAttachmentRemovedRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$attachmentRemoved, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.TrackingDeletedResponse> deleted($0.TrackingDeletedRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$deleted, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.TrackingURLUpdatedResponse> uRLUpdated($0.TrackingURLUpdatedRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$uRLUpdated, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.TrackingSanitisedResponse> sanitised($0.TrackingSanitisedRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$sanitised, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.TrackingCustomFieldsUpdatedResponse> customFieldsUpdated($0.TrackingCustomFieldsUpdatedRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$customFieldsUpdated, request, options: options);
|
|
}
|
|
|
|
// method descriptors
|
|
|
|
static final _$notified = $grpc.ClientMethod<$0.TrackingNotifiedRequest, $0.TrackingNotifiedResponse>(
|
|
'/api.TrackingInputAPI/Notified',
|
|
($0.TrackingNotifiedRequest value) => value.writeToBuffer(),
|
|
$0.TrackingNotifiedResponse.fromBuffer);
|
|
static final _$eTAUpdated = $grpc.ClientMethod<$0.TrackingETAUpdatedRequest, $0.TrackingETAUpdatedResponse>(
|
|
'/api.TrackingInputAPI/ETAUpdated',
|
|
($0.TrackingETAUpdatedRequest value) => value.writeToBuffer(),
|
|
$0.TrackingETAUpdatedResponse.fromBuffer);
|
|
static final _$dispatched = $grpc.ClientMethod<$0.TrackingDispatchedRequest, $0.TrackingDispatchedResponse>(
|
|
'/api.TrackingInputAPI/Dispatched',
|
|
($0.TrackingDispatchedRequest value) => value.writeToBuffer(),
|
|
$0.TrackingDispatchedResponse.fromBuffer);
|
|
static final _$hULabeled = $grpc.ClientMethod<$0.TrackingHULabeledRequest, $0.TrackingHULabeledResponse>(
|
|
'/api.TrackingInputAPI/HULabeled',
|
|
($0.TrackingHULabeledRequest value) => value.writeToBuffer(),
|
|
$0.TrackingHULabeledResponse.fromBuffer);
|
|
static final _$switched = $grpc.ClientMethod<$0.TrackingSwitchedRequest, $0.TrackingSwitchedResponse>(
|
|
'/api.TrackingInputAPI/Switched',
|
|
($0.TrackingSwitchedRequest value) => value.writeToBuffer(),
|
|
$0.TrackingSwitchedResponse.fromBuffer);
|
|
static final _$attachmentAdded = $grpc.ClientMethod<$0.TrackingAttachmentAddedRequest, $0.TrackingAttachmentAddedResponse>(
|
|
'/api.TrackingInputAPI/AttachmentAdded',
|
|
($0.TrackingAttachmentAddedRequest value) => value.writeToBuffer(),
|
|
$0.TrackingAttachmentAddedResponse.fromBuffer);
|
|
static final _$attachmentRemoved = $grpc.ClientMethod<$0.TrackingAttachmentRemovedRequest, $0.TrackingAttachmentRemovedResponse>(
|
|
'/api.TrackingInputAPI/AttachmentRemoved',
|
|
($0.TrackingAttachmentRemovedRequest value) => value.writeToBuffer(),
|
|
$0.TrackingAttachmentRemovedResponse.fromBuffer);
|
|
static final _$deleted = $grpc.ClientMethod<$0.TrackingDeletedRequest, $0.TrackingDeletedResponse>(
|
|
'/api.TrackingInputAPI/Deleted',
|
|
($0.TrackingDeletedRequest value) => value.writeToBuffer(),
|
|
$0.TrackingDeletedResponse.fromBuffer);
|
|
static final _$uRLUpdated = $grpc.ClientMethod<$0.TrackingURLUpdatedRequest, $0.TrackingURLUpdatedResponse>(
|
|
'/api.TrackingInputAPI/URLUpdated',
|
|
($0.TrackingURLUpdatedRequest value) => value.writeToBuffer(),
|
|
$0.TrackingURLUpdatedResponse.fromBuffer);
|
|
static final _$sanitised = $grpc.ClientMethod<$0.TrackingSanitisedRequest, $0.TrackingSanitisedResponse>(
|
|
'/api.TrackingInputAPI/Sanitised',
|
|
($0.TrackingSanitisedRequest value) => value.writeToBuffer(),
|
|
$0.TrackingSanitisedResponse.fromBuffer);
|
|
static final _$customFieldsUpdated = $grpc.ClientMethod<$0.TrackingCustomFieldsUpdatedRequest, $0.TrackingCustomFieldsUpdatedResponse>(
|
|
'/api.TrackingInputAPI/CustomFieldsUpdated',
|
|
($0.TrackingCustomFieldsUpdatedRequest value) => value.writeToBuffer(),
|
|
$0.TrackingCustomFieldsUpdatedResponse.fromBuffer);
|
|
}
|
|
|
|
@$pb.GrpcServiceName('api.TrackingInputAPI')
|
|
abstract class TrackingInputAPIServiceBase extends $grpc.Service {
|
|
$core.String get $name => 'api.TrackingInputAPI';
|
|
|
|
TrackingInputAPIServiceBase() {
|
|
$addMethod($grpc.ServiceMethod<$0.TrackingNotifiedRequest, $0.TrackingNotifiedResponse>(
|
|
'Notified',
|
|
notified_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.TrackingNotifiedRequest.fromBuffer(value),
|
|
($0.TrackingNotifiedResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.TrackingETAUpdatedRequest, $0.TrackingETAUpdatedResponse>(
|
|
'ETAUpdated',
|
|
eTAUpdated_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.TrackingETAUpdatedRequest.fromBuffer(value),
|
|
($0.TrackingETAUpdatedResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.TrackingDispatchedRequest, $0.TrackingDispatchedResponse>(
|
|
'Dispatched',
|
|
dispatched_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.TrackingDispatchedRequest.fromBuffer(value),
|
|
($0.TrackingDispatchedResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.TrackingHULabeledRequest, $0.TrackingHULabeledResponse>(
|
|
'HULabeled',
|
|
hULabeled_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.TrackingHULabeledRequest.fromBuffer(value),
|
|
($0.TrackingHULabeledResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.TrackingSwitchedRequest, $0.TrackingSwitchedResponse>(
|
|
'Switched',
|
|
switched_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.TrackingSwitchedRequest.fromBuffer(value),
|
|
($0.TrackingSwitchedResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.TrackingAttachmentAddedRequest, $0.TrackingAttachmentAddedResponse>(
|
|
'AttachmentAdded',
|
|
attachmentAdded_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.TrackingAttachmentAddedRequest.fromBuffer(value),
|
|
($0.TrackingAttachmentAddedResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.TrackingAttachmentRemovedRequest, $0.TrackingAttachmentRemovedResponse>(
|
|
'AttachmentRemoved',
|
|
attachmentRemoved_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.TrackingAttachmentRemovedRequest.fromBuffer(value),
|
|
($0.TrackingAttachmentRemovedResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.TrackingDeletedRequest, $0.TrackingDeletedResponse>(
|
|
'Deleted',
|
|
deleted_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.TrackingDeletedRequest.fromBuffer(value),
|
|
($0.TrackingDeletedResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.TrackingURLUpdatedRequest, $0.TrackingURLUpdatedResponse>(
|
|
'URLUpdated',
|
|
uRLUpdated_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.TrackingURLUpdatedRequest.fromBuffer(value),
|
|
($0.TrackingURLUpdatedResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.TrackingSanitisedRequest, $0.TrackingSanitisedResponse>(
|
|
'Sanitised',
|
|
sanitised_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.TrackingSanitisedRequest.fromBuffer(value),
|
|
($0.TrackingSanitisedResponse value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.TrackingCustomFieldsUpdatedRequest, $0.TrackingCustomFieldsUpdatedResponse>(
|
|
'CustomFieldsUpdated',
|
|
customFieldsUpdated_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.TrackingCustomFieldsUpdatedRequest.fromBuffer(value),
|
|
($0.TrackingCustomFieldsUpdatedResponse value) => value.writeToBuffer()));
|
|
}
|
|
|
|
$async.Future<$0.TrackingNotifiedResponse> notified_Pre($grpc.ServiceCall $call, $async.Future<$0.TrackingNotifiedRequest> $request) async {
|
|
return notified($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.TrackingNotifiedResponse> notified($grpc.ServiceCall call, $0.TrackingNotifiedRequest request);
|
|
|
|
$async.Future<$0.TrackingETAUpdatedResponse> eTAUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.TrackingETAUpdatedRequest> $request) async {
|
|
return eTAUpdated($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.TrackingETAUpdatedResponse> eTAUpdated($grpc.ServiceCall call, $0.TrackingETAUpdatedRequest request);
|
|
|
|
$async.Future<$0.TrackingDispatchedResponse> dispatched_Pre($grpc.ServiceCall $call, $async.Future<$0.TrackingDispatchedRequest> $request) async {
|
|
return dispatched($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.TrackingDispatchedResponse> dispatched($grpc.ServiceCall call, $0.TrackingDispatchedRequest request);
|
|
|
|
$async.Future<$0.TrackingHULabeledResponse> hULabeled_Pre($grpc.ServiceCall $call, $async.Future<$0.TrackingHULabeledRequest> $request) async {
|
|
return hULabeled($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.TrackingHULabeledResponse> hULabeled($grpc.ServiceCall call, $0.TrackingHULabeledRequest request);
|
|
|
|
$async.Future<$0.TrackingSwitchedResponse> switched_Pre($grpc.ServiceCall $call, $async.Future<$0.TrackingSwitchedRequest> $request) async {
|
|
return switched($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.TrackingSwitchedResponse> switched($grpc.ServiceCall call, $0.TrackingSwitchedRequest request);
|
|
|
|
$async.Future<$0.TrackingAttachmentAddedResponse> attachmentAdded_Pre($grpc.ServiceCall $call, $async.Future<$0.TrackingAttachmentAddedRequest> $request) async {
|
|
return attachmentAdded($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.TrackingAttachmentAddedResponse> attachmentAdded($grpc.ServiceCall call, $0.TrackingAttachmentAddedRequest request);
|
|
|
|
$async.Future<$0.TrackingAttachmentRemovedResponse> attachmentRemoved_Pre($grpc.ServiceCall $call, $async.Future<$0.TrackingAttachmentRemovedRequest> $request) async {
|
|
return attachmentRemoved($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.TrackingAttachmentRemovedResponse> attachmentRemoved($grpc.ServiceCall call, $0.TrackingAttachmentRemovedRequest request);
|
|
|
|
$async.Future<$0.TrackingDeletedResponse> deleted_Pre($grpc.ServiceCall $call, $async.Future<$0.TrackingDeletedRequest> $request) async {
|
|
return deleted($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.TrackingDeletedResponse> deleted($grpc.ServiceCall call, $0.TrackingDeletedRequest request);
|
|
|
|
$async.Future<$0.TrackingURLUpdatedResponse> uRLUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.TrackingURLUpdatedRequest> $request) async {
|
|
return uRLUpdated($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.TrackingURLUpdatedResponse> uRLUpdated($grpc.ServiceCall call, $0.TrackingURLUpdatedRequest request);
|
|
|
|
$async.Future<$0.TrackingSanitisedResponse> sanitised_Pre($grpc.ServiceCall $call, $async.Future<$0.TrackingSanitisedRequest> $request) async {
|
|
return sanitised($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.TrackingSanitisedResponse> sanitised($grpc.ServiceCall call, $0.TrackingSanitisedRequest request);
|
|
|
|
$async.Future<$0.TrackingCustomFieldsUpdatedResponse> customFieldsUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.TrackingCustomFieldsUpdatedRequest> $request) async {
|
|
return customFieldsUpdated($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.TrackingCustomFieldsUpdatedResponse> customFieldsUpdated($grpc.ServiceCall call, $0.TrackingCustomFieldsUpdatedRequest request);
|
|
|
|
}
|