You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -708,6 +708,275 @@ class AppointmentCanceledResponse extends $pb.GeneratedMessage {
|
||||
$2.EntityID ensureID() => $_ensure(1);
|
||||
}
|
||||
|
||||
/// Event Payload
|
||||
class AppointmentDeletedPayload extends $pb.GeneratedMessage {
|
||||
factory AppointmentDeletedPayload({
|
||||
@$core.Deprecated('This field is deprecated.')
|
||||
$core.String? actorID,
|
||||
}) {
|
||||
final result = create();
|
||||
if (actorID != null) result.actorID = actorID;
|
||||
return result;
|
||||
}
|
||||
|
||||
AppointmentDeletedPayload._();
|
||||
|
||||
factory AppointmentDeletedPayload.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory AppointmentDeletedPayload.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentDeletedPayload', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AppointmentDeletedPayload clone() => AppointmentDeletedPayload()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AppointmentDeletedPayload copyWith(void Function(AppointmentDeletedPayload) updates) => super.copyWith((message) => updates(message as AppointmentDeletedPayload)) as AppointmentDeletedPayload;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AppointmentDeletedPayload create() => AppointmentDeletedPayload._();
|
||||
@$core.override
|
||||
AppointmentDeletedPayload createEmptyInstance() => create();
|
||||
static $pb.PbList<AppointmentDeletedPayload> createRepeated() => $pb.PbList<AppointmentDeletedPayload>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AppointmentDeletedPayload getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppointmentDeletedPayload>(create);
|
||||
static AppointmentDeletedPayload? _defaultInstance;
|
||||
|
||||
@$core.Deprecated('This field is deprecated.')
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get actorID => $_getSZ(0);
|
||||
@$core.Deprecated('This field is deprecated.')
|
||||
@$pb.TagNumber(1)
|
||||
set actorID($core.String value) => $_setString(0, value);
|
||||
@$core.Deprecated('This field is deprecated.')
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasActorID() => $_has(0);
|
||||
@$core.Deprecated('This field is deprecated.')
|
||||
@$pb.TagNumber(1)
|
||||
void clearActorID() => $_clearField(1);
|
||||
}
|
||||
|
||||
/// Event message
|
||||
class AppointmentDeletedEvent extends $pb.GeneratedMessage {
|
||||
factory AppointmentDeletedEvent({
|
||||
$2.EventHeader? header,
|
||||
$2.EntityID? iD,
|
||||
AppointmentDeletedPayload? payload,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
if (iD != null) result.iD = iD;
|
||||
if (payload != null) result.payload = payload;
|
||||
return result;
|
||||
}
|
||||
|
||||
AppointmentDeletedEvent._();
|
||||
|
||||
factory AppointmentDeletedEvent.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory AppointmentDeletedEvent.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentDeletedEvent', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$2.EventHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $2.EventHeader.create)
|
||||
..aOM<$2.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $2.EntityID.create)
|
||||
..aOM<AppointmentDeletedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: AppointmentDeletedPayload.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AppointmentDeletedEvent clone() => AppointmentDeletedEvent()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AppointmentDeletedEvent copyWith(void Function(AppointmentDeletedEvent) updates) => super.copyWith((message) => updates(message as AppointmentDeletedEvent)) as AppointmentDeletedEvent;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AppointmentDeletedEvent create() => AppointmentDeletedEvent._();
|
||||
@$core.override
|
||||
AppointmentDeletedEvent createEmptyInstance() => create();
|
||||
static $pb.PbList<AppointmentDeletedEvent> createRepeated() => $pb.PbList<AppointmentDeletedEvent>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AppointmentDeletedEvent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppointmentDeletedEvent>(create);
|
||||
static AppointmentDeletedEvent? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$2.EventHeader get header => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set header($2.EventHeader value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasHeader() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearHeader() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
$2.EventHeader ensureHeader() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$2.EntityID get iD => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set iD($2.EntityID value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasID() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearID() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
$2.EntityID ensureID() => $_ensure(1);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
AppointmentDeletedPayload get payload => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set payload(AppointmentDeletedPayload value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasPayload() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearPayload() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
AppointmentDeletedPayload ensurePayload() => $_ensure(2);
|
||||
}
|
||||
|
||||
/// API Request
|
||||
class AppointmentDeletedRequest extends $pb.GeneratedMessage {
|
||||
factory AppointmentDeletedRequest({
|
||||
$2.RequestProjectHeader? header,
|
||||
$2.EntityID? iD,
|
||||
AppointmentDeletedPayload? payload,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
if (iD != null) result.iD = iD;
|
||||
if (payload != null) result.payload = payload;
|
||||
return result;
|
||||
}
|
||||
|
||||
AppointmentDeletedRequest._();
|
||||
|
||||
factory AppointmentDeletedRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory AppointmentDeletedRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentDeletedRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$2.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $2.RequestProjectHeader.create)
|
||||
..aOM<$2.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $2.EntityID.create)
|
||||
..aOM<AppointmentDeletedPayload>(3, _omitFieldNames ? '' : 'Payload', protoName: 'Payload', subBuilder: AppointmentDeletedPayload.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AppointmentDeletedRequest clone() => AppointmentDeletedRequest()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AppointmentDeletedRequest copyWith(void Function(AppointmentDeletedRequest) updates) => super.copyWith((message) => updates(message as AppointmentDeletedRequest)) as AppointmentDeletedRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AppointmentDeletedRequest create() => AppointmentDeletedRequest._();
|
||||
@$core.override
|
||||
AppointmentDeletedRequest createEmptyInstance() => create();
|
||||
static $pb.PbList<AppointmentDeletedRequest> createRepeated() => $pb.PbList<AppointmentDeletedRequest>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AppointmentDeletedRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppointmentDeletedRequest>(create);
|
||||
static AppointmentDeletedRequest? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$2.RequestProjectHeader get header => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set header($2.RequestProjectHeader value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasHeader() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearHeader() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
$2.RequestProjectHeader ensureHeader() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$2.EntityID get iD => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set iD($2.EntityID value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasID() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearID() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
$2.EntityID ensureID() => $_ensure(1);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
AppointmentDeletedPayload get payload => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set payload(AppointmentDeletedPayload value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasPayload() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearPayload() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
AppointmentDeletedPayload ensurePayload() => $_ensure(2);
|
||||
}
|
||||
|
||||
/// API Response
|
||||
class AppointmentDeletedResponse extends $pb.GeneratedMessage {
|
||||
factory AppointmentDeletedResponse({
|
||||
$2.ResponseHeader? header,
|
||||
$2.EntityID? iD,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
if (iD != null) result.iD = iD;
|
||||
return result;
|
||||
}
|
||||
|
||||
AppointmentDeletedResponse._();
|
||||
|
||||
factory AppointmentDeletedResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory AppointmentDeletedResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AppointmentDeletedResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$2.ResponseHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $2.ResponseHeader.create)
|
||||
..aOM<$2.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $2.EntityID.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AppointmentDeletedResponse clone() => AppointmentDeletedResponse()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
AppointmentDeletedResponse copyWith(void Function(AppointmentDeletedResponse) updates) => super.copyWith((message) => updates(message as AppointmentDeletedResponse)) as AppointmentDeletedResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AppointmentDeletedResponse create() => AppointmentDeletedResponse._();
|
||||
@$core.override
|
||||
AppointmentDeletedResponse createEmptyInstance() => create();
|
||||
static $pb.PbList<AppointmentDeletedResponse> createRepeated() => $pb.PbList<AppointmentDeletedResponse>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static AppointmentDeletedResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppointmentDeletedResponse>(create);
|
||||
static AppointmentDeletedResponse? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$2.ResponseHeader get header => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set header($2.ResponseHeader value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasHeader() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearHeader() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
$2.ResponseHeader ensureHeader() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$2.EntityID get iD => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set iD($2.EntityID value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasID() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearID() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
$2.EntityID ensureID() => $_ensure(1);
|
||||
}
|
||||
|
||||
/// Event Payload
|
||||
class AppointmentSlotUpdatedPayload extends $pb.GeneratedMessage {
|
||||
factory AppointmentSlotUpdatedPayload({
|
||||
|
||||
@@ -42,6 +42,10 @@ class AppointmentInputAPIClient extends $grpc.Client {
|
||||
return $createUnaryCall(_$canceled, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.AppointmentDeletedResponse> deleted($0.AppointmentDeletedRequest request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$deleted, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.AppointmentSlotUpdatedResponse> slotUpdated($0.AppointmentSlotUpdatedRequest request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$slotUpdated, request, options: options);
|
||||
}
|
||||
@@ -142,6 +146,10 @@ class AppointmentInputAPIClient extends $grpc.Client {
|
||||
'/api.AppointmentInputAPI/Canceled',
|
||||
($0.AppointmentCanceledRequest value) => value.writeToBuffer(),
|
||||
$0.AppointmentCanceledResponse.fromBuffer);
|
||||
static final _$deleted = $grpc.ClientMethod<$0.AppointmentDeletedRequest, $0.AppointmentDeletedResponse>(
|
||||
'/api.AppointmentInputAPI/Deleted',
|
||||
($0.AppointmentDeletedRequest value) => value.writeToBuffer(),
|
||||
$0.AppointmentDeletedResponse.fromBuffer);
|
||||
static final _$slotUpdated = $grpc.ClientMethod<$0.AppointmentSlotUpdatedRequest, $0.AppointmentSlotUpdatedResponse>(
|
||||
'/api.AppointmentInputAPI/SlotUpdated',
|
||||
($0.AppointmentSlotUpdatedRequest value) => value.writeToBuffer(),
|
||||
@@ -251,6 +259,13 @@ abstract class AppointmentInputAPIServiceBase extends $grpc.Service {
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.AppointmentCanceledRequest.fromBuffer(value),
|
||||
($0.AppointmentCanceledResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.AppointmentDeletedRequest, $0.AppointmentDeletedResponse>(
|
||||
'Deleted',
|
||||
deleted_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.AppointmentDeletedRequest.fromBuffer(value),
|
||||
($0.AppointmentDeletedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.AppointmentSlotUpdatedRequest, $0.AppointmentSlotUpdatedResponse>(
|
||||
'SlotUpdated',
|
||||
slotUpdated_Pre,
|
||||
@@ -419,6 +434,12 @@ abstract class AppointmentInputAPIServiceBase extends $grpc.Service {
|
||||
|
||||
$async.Future<$0.AppointmentCanceledResponse> canceled($grpc.ServiceCall call, $0.AppointmentCanceledRequest request);
|
||||
|
||||
$async.Future<$0.AppointmentDeletedResponse> deleted_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentDeletedRequest> $request) async {
|
||||
return deleted($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.AppointmentDeletedResponse> deleted($grpc.ServiceCall call, $0.AppointmentDeletedRequest request);
|
||||
|
||||
$async.Future<$0.AppointmentSlotUpdatedResponse> slotUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentSlotUpdatedRequest> $request) async {
|
||||
return slotUpdated($call, await $request);
|
||||
}
|
||||
|
||||
@@ -195,6 +195,81 @@ final $typed_data.Uint8List appointmentCanceledResponseDescriptor = $convert.bas
|
||||
'BvbnNlSGVhZGVyUgZIZWFkZXISHQoCSUQYAiABKAsyDS5hcGkuRW50aXR5SURSAklEOhiiuxgI'
|
||||
'UmVzcG9uc2W6uxgIQ2FuY2VsZWQ=');
|
||||
|
||||
@$core.Deprecated('Use appointmentDeletedPayloadDescriptor instead')
|
||||
const AppointmentDeletedPayload$json = {
|
||||
'1': 'AppointmentDeletedPayload',
|
||||
'2': [
|
||||
{
|
||||
'1': 'ActorID',
|
||||
'3': 1,
|
||||
'4': 1,
|
||||
'5': 9,
|
||||
'8': {'3': true},
|
||||
'10': 'ActorID',
|
||||
},
|
||||
],
|
||||
'7': {},
|
||||
};
|
||||
|
||||
/// Descriptor for `AppointmentDeletedPayload`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List appointmentDeletedPayloadDescriptor = $convert.base64Decode(
|
||||
'ChlBcHBvaW50bWVudERlbGV0ZWRQYXlsb2FkEhwKB0FjdG9ySUQYASABKAlCAhgBUgdBY3Rvck'
|
||||
'lEOiySQREKDzINRXZlbnQgUGF5bG9hZKK7GAVFdmVudKi7GAG6uxgHRGVsZXRlZA==');
|
||||
|
||||
@$core.Deprecated('Use appointmentDeletedEventDescriptor instead')
|
||||
const AppointmentDeletedEvent$json = {
|
||||
'1': 'AppointmentDeletedEvent',
|
||||
'2': [
|
||||
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.EventHeader', '8': {}, '10': 'Header'},
|
||||
{'1': 'ID', '3': 2, '4': 1, '5': 11, '6': '.api.EntityID', '8': {}, '10': 'ID'},
|
||||
{'1': 'Payload', '3': 3, '4': 1, '5': 11, '6': '.api.AppointmentDeletedPayload', '8': {}, '10': 'Payload'},
|
||||
],
|
||||
'7': {},
|
||||
};
|
||||
|
||||
/// Descriptor for `AppointmentDeletedEvent`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List appointmentDeletedEventDescriptor = $convert.base64Decode(
|
||||
'ChdBcHBvaW50bWVudERlbGV0ZWRFdmVudBIyCgZIZWFkZXIYASABKAsyEC5hcGkuRXZlbnRIZW'
|
||||
'FkZXJCCPpCBYoBAhABUgZIZWFkZXISJwoCSUQYAiABKAsyDS5hcGkuRW50aXR5SURCCPpCBYoB'
|
||||
'AhABUgJJRBJCCgdQYXlsb2FkGAMgASgLMh4uYXBpLkFwcG9pbnRtZW50RGVsZXRlZFBheWxvYW'
|
||||
'RCCPpCBYoBAhABUgdQYXlsb2FkOkGSQRoKGNIBBkhlYWRlctIBAklE0gEHUGF5bG9hZKK7GAVF'
|
||||
'dmVudLq7GAdEZWxldGVk2rsYDGNoZWNrRGVsZXRlZA==');
|
||||
|
||||
@$core.Deprecated('Use appointmentDeletedRequestDescriptor instead')
|
||||
const AppointmentDeletedRequest$json = {
|
||||
'1': 'AppointmentDeletedRequest',
|
||||
'2': [
|
||||
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
|
||||
{'1': 'ID', '3': 2, '4': 1, '5': 11, '6': '.api.EntityID', '8': {}, '10': 'ID'},
|
||||
{'1': 'Payload', '3': 3, '4': 1, '5': 11, '6': '.api.AppointmentDeletedPayload', '8': {}, '10': 'Payload'},
|
||||
],
|
||||
'7': {},
|
||||
};
|
||||
|
||||
/// Descriptor for `AppointmentDeletedRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List appointmentDeletedRequestDescriptor = $convert.base64Decode(
|
||||
'ChlBcHBvaW50bWVudERlbGV0ZWRSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZX'
|
||||
'N0UHJvamVjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchInCgJJRBgCIAEoCzINLmFwaS5FbnRp'
|
||||
'dHlJREII+kIFigECEAFSAklEEkIKB1BheWxvYWQYAyABKAsyHi5hcGkuQXBwb2ludG1lbnREZW'
|
||||
'xldGVkUGF5bG9hZEII+kIFigECEAFSB1BheWxvYWQ6M5JBGgoY0gEGSGVhZGVy0gECSUTSAQdQ'
|
||||
'YXlsb2FkorsYB1JlcXVlc3S6uxgHRGVsZXRlZA==');
|
||||
|
||||
@$core.Deprecated('Use appointmentDeletedResponseDescriptor instead')
|
||||
const AppointmentDeletedResponse$json = {
|
||||
'1': 'AppointmentDeletedResponse',
|
||||
'2': [
|
||||
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.ResponseHeader', '10': 'Header'},
|
||||
{'1': 'ID', '3': 2, '4': 1, '5': 11, '6': '.api.EntityID', '10': 'ID'},
|
||||
],
|
||||
'7': {},
|
||||
};
|
||||
|
||||
/// Descriptor for `AppointmentDeletedResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List appointmentDeletedResponseDescriptor = $convert.base64Decode(
|
||||
'ChpBcHBvaW50bWVudERlbGV0ZWRSZXNwb25zZRIrCgZIZWFkZXIYASABKAsyEy5hcGkuUmVzcG'
|
||||
'9uc2VIZWFkZXJSBkhlYWRlchIdCgJJRBgCIAEoCzINLmFwaS5FbnRpdHlJRFICSUQ6F6K7GAhS'
|
||||
'ZXNwb25zZbq7GAdEZWxldGVk');
|
||||
|
||||
@$core.Deprecated('Use appointmentSlotUpdatedPayloadDescriptor instead')
|
||||
const AppointmentSlotUpdatedPayload$json = {
|
||||
'1': 'AppointmentSlotUpdatedPayload',
|
||||
|
||||
@@ -624,6 +624,129 @@ class CancelBookingAppointmentResponse extends $pb.GeneratedMessage {
|
||||
$1.ResponseHeader ensureHeader() => $_ensure(1);
|
||||
}
|
||||
|
||||
/// DeleteAppointment
|
||||
class DeleteBookingAppointmentRequest extends $pb.GeneratedMessage {
|
||||
factory DeleteBookingAppointmentRequest({
|
||||
$1.RequestProjectHeader? header,
|
||||
$1.EntityID? iD,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
if (iD != null) result.iD = iD;
|
||||
return result;
|
||||
}
|
||||
|
||||
DeleteBookingAppointmentRequest._();
|
||||
|
||||
factory DeleteBookingAppointmentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory DeleteBookingAppointmentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteBookingAppointmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
|
||||
..aOM<$1.EntityID>(2, _omitFieldNames ? '' : 'ID', protoName: 'ID', subBuilder: $1.EntityID.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
DeleteBookingAppointmentRequest clone() => DeleteBookingAppointmentRequest()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
DeleteBookingAppointmentRequest copyWith(void Function(DeleteBookingAppointmentRequest) updates) => super.copyWith((message) => updates(message as DeleteBookingAppointmentRequest)) as DeleteBookingAppointmentRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static DeleteBookingAppointmentRequest create() => DeleteBookingAppointmentRequest._();
|
||||
@$core.override
|
||||
DeleteBookingAppointmentRequest createEmptyInstance() => create();
|
||||
static $pb.PbList<DeleteBookingAppointmentRequest> createRepeated() => $pb.PbList<DeleteBookingAppointmentRequest>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static DeleteBookingAppointmentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteBookingAppointmentRequest>(create);
|
||||
static DeleteBookingAppointmentRequest? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$1.RequestProjectHeader get header => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set header($1.RequestProjectHeader value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasHeader() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearHeader() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
$1.RequestProjectHeader ensureHeader() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$1.EntityID get iD => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set iD($1.EntityID value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasID() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearID() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
$1.EntityID ensureID() => $_ensure(1);
|
||||
}
|
||||
|
||||
class DeleteBookingAppointmentResponse extends $pb.GeneratedMessage {
|
||||
factory DeleteBookingAppointmentResponse({
|
||||
$core.String? appointmentID,
|
||||
$1.ResponseHeader? header,
|
||||
}) {
|
||||
final result = create();
|
||||
if (appointmentID != null) result.appointmentID = appointmentID;
|
||||
if (header != null) result.header = header;
|
||||
return result;
|
||||
}
|
||||
|
||||
DeleteBookingAppointmentResponse._();
|
||||
|
||||
factory DeleteBookingAppointmentResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory DeleteBookingAppointmentResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteBookingAppointmentResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOS(1, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID')
|
||||
..aOM<$1.ResponseHeader>(2, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.ResponseHeader.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
DeleteBookingAppointmentResponse clone() => DeleteBookingAppointmentResponse()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
DeleteBookingAppointmentResponse copyWith(void Function(DeleteBookingAppointmentResponse) updates) => super.copyWith((message) => updates(message as DeleteBookingAppointmentResponse)) as DeleteBookingAppointmentResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static DeleteBookingAppointmentResponse create() => DeleteBookingAppointmentResponse._();
|
||||
@$core.override
|
||||
DeleteBookingAppointmentResponse createEmptyInstance() => create();
|
||||
static $pb.PbList<DeleteBookingAppointmentResponse> createRepeated() => $pb.PbList<DeleteBookingAppointmentResponse>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static DeleteBookingAppointmentResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeleteBookingAppointmentResponse>(create);
|
||||
static DeleteBookingAppointmentResponse? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$core.String get appointmentID => $_getSZ(0);
|
||||
@$pb.TagNumber(1)
|
||||
set appointmentID($core.String value) => $_setString(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasAppointmentID() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearAppointmentID() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$1.ResponseHeader get header => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set header($1.ResponseHeader value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasHeader() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearHeader() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
$1.ResponseHeader ensureHeader() => $_ensure(1);
|
||||
}
|
||||
|
||||
/// Reschedule
|
||||
class RescheduleBookingAppointmentRequest extends $pb.GeneratedMessage {
|
||||
factory RescheduleBookingAppointmentRequest({
|
||||
|
||||
@@ -60,6 +60,10 @@ class BookingServiceClient extends $grpc.Client {
|
||||
return $createUnaryCall(_$forceCancelAppointment, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.DeleteBookingAppointmentResponse> deleteAppointment($0.DeleteBookingAppointmentRequest request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$deleteAppointment, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.BookBookingAppointmentResponse> updateAppointment($0.UpdateBookingAppointmentRequest request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$updateAppointment, request, options: options);
|
||||
}
|
||||
@@ -122,6 +126,10 @@ class BookingServiceClient extends $grpc.Client {
|
||||
'/api.BookingService/ForceCancelAppointment',
|
||||
($0.CancelBookingAppointmentRequest value) => value.writeToBuffer(),
|
||||
$0.CancelBookingAppointmentResponse.fromBuffer);
|
||||
static final _$deleteAppointment = $grpc.ClientMethod<$0.DeleteBookingAppointmentRequest, $0.DeleteBookingAppointmentResponse>(
|
||||
'/api.BookingService/DeleteAppointment',
|
||||
($0.DeleteBookingAppointmentRequest value) => value.writeToBuffer(),
|
||||
$0.DeleteBookingAppointmentResponse.fromBuffer);
|
||||
static final _$updateAppointment = $grpc.ClientMethod<$0.UpdateBookingAppointmentRequest, $0.BookBookingAppointmentResponse>(
|
||||
'/api.BookingService/UpdateAppointment',
|
||||
($0.UpdateBookingAppointmentRequest value) => value.writeToBuffer(),
|
||||
@@ -210,6 +218,13 @@ abstract class BookingServiceBase extends $grpc.Service {
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.CancelBookingAppointmentRequest.fromBuffer(value),
|
||||
($0.CancelBookingAppointmentResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.DeleteBookingAppointmentRequest, $0.DeleteBookingAppointmentResponse>(
|
||||
'DeleteAppointment',
|
||||
deleteAppointment_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.DeleteBookingAppointmentRequest.fromBuffer(value),
|
||||
($0.DeleteBookingAppointmentResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.UpdateBookingAppointmentRequest, $0.BookBookingAppointmentResponse>(
|
||||
'UpdateAppointment',
|
||||
updateAppointment_Pre,
|
||||
@@ -310,6 +325,12 @@ abstract class BookingServiceBase extends $grpc.Service {
|
||||
|
||||
$async.Future<$0.CancelBookingAppointmentResponse> forceCancelAppointment($grpc.ServiceCall call, $0.CancelBookingAppointmentRequest request);
|
||||
|
||||
$async.Future<$0.DeleteBookingAppointmentResponse> deleteAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteBookingAppointmentRequest> $request) async {
|
||||
return deleteAppointment($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.DeleteBookingAppointmentResponse> deleteAppointment($grpc.ServiceCall call, $0.DeleteBookingAppointmentRequest request);
|
||||
|
||||
$async.Future<$0.BookBookingAppointmentResponse> updateAppointment_Pre($grpc.ServiceCall $call, $async.Future<$0.UpdateBookingAppointmentRequest> $request) async {
|
||||
return updateAppointment($call, await $request);
|
||||
}
|
||||
|
||||
@@ -166,6 +166,37 @@ final $typed_data.Uint8List cancelBookingAppointmentResponseDescriptor = $conver
|
||||
'kuUmVzcG9uc2VIZWFkZXJSBkhlYWRlchIkCg1BcHBvaW50bWVudElEGAEgASgJUg1BcHBvaW50'
|
||||
'bWVudElE');
|
||||
|
||||
@$core.Deprecated('Use deleteBookingAppointmentRequestDescriptor instead')
|
||||
const DeleteBookingAppointmentRequest$json = {
|
||||
'1': 'DeleteBookingAppointmentRequest',
|
||||
'2': [
|
||||
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
|
||||
{'1': 'ID', '3': 2, '4': 1, '5': 11, '6': '.api.EntityID', '8': {}, '10': 'ID'},
|
||||
],
|
||||
'7': {},
|
||||
};
|
||||
|
||||
/// Descriptor for `DeleteBookingAppointmentRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List deleteBookingAppointmentRequestDescriptor = $convert.base64Decode(
|
||||
'Ch9EZWxldGVCb29raW5nQXBwb2ludG1lbnRSZXF1ZXN0EjsKBkhlYWRlchgBIAEoCzIZLmFwaS'
|
||||
'5SZXF1ZXN0UHJvamVjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchInCgJJRBgCIAEoCzINLmFw'
|
||||
'aS5FbnRpdHlJREII+kIFigECEAFSAklEOhOSQRAKDtIBBkhlYWRlctIBAklE');
|
||||
|
||||
@$core.Deprecated('Use deleteBookingAppointmentResponseDescriptor instead')
|
||||
const DeleteBookingAppointmentResponse$json = {
|
||||
'1': 'DeleteBookingAppointmentResponse',
|
||||
'2': [
|
||||
{'1': 'Header', '3': 2, '4': 1, '5': 11, '6': '.api.ResponseHeader', '10': 'Header'},
|
||||
{'1': 'AppointmentID', '3': 1, '4': 1, '5': 9, '10': 'AppointmentID'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `DeleteBookingAppointmentResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List deleteBookingAppointmentResponseDescriptor = $convert.base64Decode(
|
||||
'CiBEZWxldGVCb29raW5nQXBwb2ludG1lbnRSZXNwb25zZRIrCgZIZWFkZXIYAiABKAsyEy5hcG'
|
||||
'kuUmVzcG9uc2VIZWFkZXJSBkhlYWRlchIkCg1BcHBvaW50bWVudElEGAEgASgJUg1BcHBvaW50'
|
||||
'bWVudElE');
|
||||
|
||||
@$core.Deprecated('Use rescheduleBookingAppointmentRequestDescriptor instead')
|
||||
const RescheduleBookingAppointmentRequest$json = {
|
||||
'1': 'RescheduleBookingAppointmentRequest',
|
||||
|
||||
Reference in New Issue
Block a user