You've already forked dart-core-sdk
Latest generation
This commit is contained in:
170
lib/site.pb.dart
170
lib/site.pb.dart
@@ -2080,6 +2080,124 @@ class SiteActor extends $pb.GeneratedMessage {
|
||||
void clearSiteID() => $_clearField(3);
|
||||
}
|
||||
|
||||
class GetBookingContextRequest extends $pb.GeneratedMessage {
|
||||
factory GetBookingContextRequest({
|
||||
$3.RequestProjectHeader? header,
|
||||
$core.String? actorID,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
if (actorID != null) result.actorID = actorID;
|
||||
return result;
|
||||
}
|
||||
|
||||
GetBookingContextRequest._();
|
||||
|
||||
factory GetBookingContextRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory GetBookingContextRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBookingContextRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
|
||||
..aOS(2, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetBookingContextRequest clone() => GetBookingContextRequest()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetBookingContextRequest copyWith(void Function(GetBookingContextRequest) updates) => super.copyWith((message) => updates(message as GetBookingContextRequest)) as GetBookingContextRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetBookingContextRequest create() => GetBookingContextRequest._();
|
||||
@$core.override
|
||||
GetBookingContextRequest createEmptyInstance() => create();
|
||||
static $pb.PbList<GetBookingContextRequest> createRepeated() => $pb.PbList<GetBookingContextRequest>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetBookingContextRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetBookingContextRequest>(create);
|
||||
static GetBookingContextRequest? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$3.RequestProjectHeader get header => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set header($3.RequestProjectHeader value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasHeader() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearHeader() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
$3.RequestProjectHeader ensureHeader() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$core.String get actorID => $_getSZ(1);
|
||||
@$pb.TagNumber(2)
|
||||
set actorID($core.String value) => $_setString(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasActorID() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearActorID() => $_clearField(2);
|
||||
}
|
||||
|
||||
class GetBookingContextResponse extends $pb.GeneratedMessage {
|
||||
factory GetBookingContextResponse({
|
||||
$core.Iterable<$core.String>? unitIDs,
|
||||
$core.Iterable<$2.SegmentationFilter>? segmentations,
|
||||
$core.Iterable<$3.MetadataElement>? carrierInformation,
|
||||
$core.Iterable<$3.MetadataElement>? metaData,
|
||||
}) {
|
||||
final result = create();
|
||||
if (unitIDs != null) result.unitIDs.addAll(unitIDs);
|
||||
if (segmentations != null) result.segmentations.addAll(segmentations);
|
||||
if (carrierInformation != null) result.carrierInformation.addAll(carrierInformation);
|
||||
if (metaData != null) result.metaData.addAll(metaData);
|
||||
return result;
|
||||
}
|
||||
|
||||
GetBookingContextResponse._();
|
||||
|
||||
factory GetBookingContextResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory GetBookingContextResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBookingContextResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..pPS(1, _omitFieldNames ? '' : 'UnitIDs', protoName: 'UnitIDs')
|
||||
..pc<$2.SegmentationFilter>(2, _omitFieldNames ? '' : 'Segmentations', $pb.PbFieldType.PM, protoName: 'Segmentations', subBuilder: $2.SegmentationFilter.create)
|
||||
..pc<$3.MetadataElement>(3, _omitFieldNames ? '' : 'CarrierInformation', $pb.PbFieldType.PM, protoName: 'CarrierInformation', subBuilder: $3.MetadataElement.create)
|
||||
..pc<$3.MetadataElement>(4, _omitFieldNames ? '' : 'MetaData', $pb.PbFieldType.PM, protoName: 'MetaData', subBuilder: $3.MetadataElement.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetBookingContextResponse clone() => GetBookingContextResponse()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetBookingContextResponse copyWith(void Function(GetBookingContextResponse) updates) => super.copyWith((message) => updates(message as GetBookingContextResponse)) as GetBookingContextResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetBookingContextResponse create() => GetBookingContextResponse._();
|
||||
@$core.override
|
||||
GetBookingContextResponse createEmptyInstance() => create();
|
||||
static $pb.PbList<GetBookingContextResponse> createRepeated() => $pb.PbList<GetBookingContextResponse>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetBookingContextResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetBookingContextResponse>(create);
|
||||
static GetBookingContextResponse? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$pb.PbList<$core.String> get unitIDs => $_getList(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$pb.PbList<$2.SegmentationFilter> get segmentations => $_getList(1);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
$pb.PbList<$3.MetadataElement> get carrierInformation => $_getList(2);
|
||||
|
||||
@$pb.TagNumber(4)
|
||||
$pb.PbList<$3.MetadataElement> get metaData => $_getList(3);
|
||||
}
|
||||
|
||||
/// ForceBookAppointment
|
||||
class ForceBookAppointmentRequest extends $pb.GeneratedMessage {
|
||||
factory ForceBookAppointmentRequest({
|
||||
@@ -4347,8 +4465,8 @@ class GetUnitsResponse extends $pb.GeneratedMessage {
|
||||
$pb.PbList<$2.Unit> get units => $_getList(0);
|
||||
}
|
||||
|
||||
class GetPossibleSegmentationOnSiteForBookingRequest extends $pb.GeneratedMessage {
|
||||
factory GetPossibleSegmentationOnSiteForBookingRequest({
|
||||
class GetBookingSegmentationsRequest extends $pb.GeneratedMessage {
|
||||
factory GetBookingSegmentationsRequest({
|
||||
$3.RequestProjectHeader? header,
|
||||
$core.String? actorID,
|
||||
$2.AppointmentType? appointmentType,
|
||||
@@ -4362,12 +4480,12 @@ class GetPossibleSegmentationOnSiteForBookingRequest extends $pb.GeneratedMessag
|
||||
return result;
|
||||
}
|
||||
|
||||
GetPossibleSegmentationOnSiteForBookingRequest._();
|
||||
GetBookingSegmentationsRequest._();
|
||||
|
||||
factory GetPossibleSegmentationOnSiteForBookingRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory GetPossibleSegmentationOnSiteForBookingRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
factory GetBookingSegmentationsRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory GetBookingSegmentationsRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPossibleSegmentationOnSiteForBookingRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBookingSegmentationsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
|
||||
..aOS(2, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
|
||||
..e<$2.AppointmentType>(3, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $2.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $2.AppointmentType.valueOf, enumValues: $2.AppointmentType.values)
|
||||
@@ -4376,21 +4494,21 @@ class GetPossibleSegmentationOnSiteForBookingRequest extends $pb.GeneratedMessag
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetPossibleSegmentationOnSiteForBookingRequest clone() => GetPossibleSegmentationOnSiteForBookingRequest()..mergeFromMessage(this);
|
||||
GetBookingSegmentationsRequest clone() => GetBookingSegmentationsRequest()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetPossibleSegmentationOnSiteForBookingRequest copyWith(void Function(GetPossibleSegmentationOnSiteForBookingRequest) updates) => super.copyWith((message) => updates(message as GetPossibleSegmentationOnSiteForBookingRequest)) as GetPossibleSegmentationOnSiteForBookingRequest;
|
||||
GetBookingSegmentationsRequest copyWith(void Function(GetBookingSegmentationsRequest) updates) => super.copyWith((message) => updates(message as GetBookingSegmentationsRequest)) as GetBookingSegmentationsRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetPossibleSegmentationOnSiteForBookingRequest create() => GetPossibleSegmentationOnSiteForBookingRequest._();
|
||||
static GetBookingSegmentationsRequest create() => GetBookingSegmentationsRequest._();
|
||||
@$core.override
|
||||
GetPossibleSegmentationOnSiteForBookingRequest createEmptyInstance() => create();
|
||||
static $pb.PbList<GetPossibleSegmentationOnSiteForBookingRequest> createRepeated() => $pb.PbList<GetPossibleSegmentationOnSiteForBookingRequest>();
|
||||
GetBookingSegmentationsRequest createEmptyInstance() => create();
|
||||
static $pb.PbList<GetBookingSegmentationsRequest> createRepeated() => $pb.PbList<GetBookingSegmentationsRequest>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetPossibleSegmentationOnSiteForBookingRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetPossibleSegmentationOnSiteForBookingRequest>(create);
|
||||
static GetPossibleSegmentationOnSiteForBookingRequest? _defaultInstance;
|
||||
static GetBookingSegmentationsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetBookingSegmentationsRequest>(create);
|
||||
static GetBookingSegmentationsRequest? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$3.RequestProjectHeader get header => $_getN(0);
|
||||
@@ -4425,8 +4543,8 @@ class GetPossibleSegmentationOnSiteForBookingRequest extends $pb.GeneratedMessag
|
||||
$pb.PbList<$2.Commission> get commissions => $_getList(3);
|
||||
}
|
||||
|
||||
class GetPossibleSegmentationOnSiteForBookingResponse extends $pb.GeneratedMessage {
|
||||
factory GetPossibleSegmentationOnSiteForBookingResponse({
|
||||
class GetBookingSegmentationsResponse extends $pb.GeneratedMessage {
|
||||
factory GetBookingSegmentationsResponse({
|
||||
$core.Iterable<$2.Segmentation>? segmentationChoices,
|
||||
}) {
|
||||
final result = create();
|
||||
@@ -4434,32 +4552,32 @@ class GetPossibleSegmentationOnSiteForBookingResponse extends $pb.GeneratedMessa
|
||||
return result;
|
||||
}
|
||||
|
||||
GetPossibleSegmentationOnSiteForBookingResponse._();
|
||||
GetBookingSegmentationsResponse._();
|
||||
|
||||
factory GetPossibleSegmentationOnSiteForBookingResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory GetPossibleSegmentationOnSiteForBookingResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
factory GetBookingSegmentationsResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory GetBookingSegmentationsResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPossibleSegmentationOnSiteForBookingResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetBookingSegmentationsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..pc<$2.Segmentation>(1, _omitFieldNames ? '' : 'SegmentationChoices', $pb.PbFieldType.PM, protoName: 'SegmentationChoices', subBuilder: $2.Segmentation.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetPossibleSegmentationOnSiteForBookingResponse clone() => GetPossibleSegmentationOnSiteForBookingResponse()..mergeFromMessage(this);
|
||||
GetBookingSegmentationsResponse clone() => GetBookingSegmentationsResponse()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
GetPossibleSegmentationOnSiteForBookingResponse copyWith(void Function(GetPossibleSegmentationOnSiteForBookingResponse) updates) => super.copyWith((message) => updates(message as GetPossibleSegmentationOnSiteForBookingResponse)) as GetPossibleSegmentationOnSiteForBookingResponse;
|
||||
GetBookingSegmentationsResponse copyWith(void Function(GetBookingSegmentationsResponse) updates) => super.copyWith((message) => updates(message as GetBookingSegmentationsResponse)) as GetBookingSegmentationsResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetPossibleSegmentationOnSiteForBookingResponse create() => GetPossibleSegmentationOnSiteForBookingResponse._();
|
||||
static GetBookingSegmentationsResponse create() => GetBookingSegmentationsResponse._();
|
||||
@$core.override
|
||||
GetPossibleSegmentationOnSiteForBookingResponse createEmptyInstance() => create();
|
||||
static $pb.PbList<GetPossibleSegmentationOnSiteForBookingResponse> createRepeated() => $pb.PbList<GetPossibleSegmentationOnSiteForBookingResponse>();
|
||||
GetBookingSegmentationsResponse createEmptyInstance() => create();
|
||||
static $pb.PbList<GetBookingSegmentationsResponse> createRepeated() => $pb.PbList<GetBookingSegmentationsResponse>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static GetPossibleSegmentationOnSiteForBookingResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetPossibleSegmentationOnSiteForBookingResponse>(create);
|
||||
static GetPossibleSegmentationOnSiteForBookingResponse? _defaultInstance;
|
||||
static GetBookingSegmentationsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetBookingSegmentationsResponse>(create);
|
||||
static GetBookingSegmentationsResponse? _defaultInstance;
|
||||
|
||||
/// Name of the Site
|
||||
@$pb.TagNumber(1)
|
||||
|
||||
@@ -124,8 +124,8 @@ class SiteServiceClient extends $grpc.Client {
|
||||
return $createUnaryCall(_$listSitesAuthorizedForBooking, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.GetPossibleSegmentationOnSiteForBookingResponse> getPossibleSegmentationOnSiteForBooking($0.GetPossibleSegmentationOnSiteForBookingRequest request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$getPossibleSegmentationOnSiteForBooking, 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,}) {
|
||||
@@ -160,6 +160,10 @@ class SiteServiceClient extends $grpc.Client {
|
||||
return $createUnaryCall(_$initBookerProfile, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.GetBookingContextResponse> getBookingContext($0.GetBookingContextRequest request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$getBookingContext, request, options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$getSettings = $grpc.ClientMethod<$0.GetSettingsRequest, $0.GetSettingsResponse>(
|
||||
@@ -254,10 +258,10 @@ class SiteServiceClient extends $grpc.Client {
|
||||
'/api.SiteService/ListSitesAuthorizedForBooking',
|
||||
($0.ListSitesAuthorizedForBookingRequest value) => value.writeToBuffer(),
|
||||
$0.ListSitesAuthorizedForBookingResponse.fromBuffer);
|
||||
static final _$getPossibleSegmentationOnSiteForBooking = $grpc.ClientMethod<$0.GetPossibleSegmentationOnSiteForBookingRequest, $0.GetPossibleSegmentationOnSiteForBookingResponse>(
|
||||
'/api.SiteService/GetPossibleSegmentationOnSiteForBooking',
|
||||
($0.GetPossibleSegmentationOnSiteForBookingRequest value) => value.writeToBuffer(),
|
||||
$0.GetPossibleSegmentationOnSiteForBookingResponse.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(),
|
||||
@@ -290,6 +294,10 @@ class SiteServiceClient extends $grpc.Client {
|
||||
'/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);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('api.SiteService')
|
||||
@@ -458,13 +466,13 @@ abstract class SiteServiceBase extends $grpc.Service {
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.ListSitesAuthorizedForBookingRequest.fromBuffer(value),
|
||||
($0.ListSitesAuthorizedForBookingResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.GetPossibleSegmentationOnSiteForBookingRequest, $0.GetPossibleSegmentationOnSiteForBookingResponse>(
|
||||
'GetPossibleSegmentationOnSiteForBooking',
|
||||
getPossibleSegmentationOnSiteForBooking_Pre,
|
||||
$addMethod($grpc.ServiceMethod<$0.GetBookingSegmentationsRequest, $0.GetBookingSegmentationsResponse>(
|
||||
'GetBookingSegmentations',
|
||||
getBookingSegmentations_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.GetPossibleSegmentationOnSiteForBookingRequest.fromBuffer(value),
|
||||
($0.GetPossibleSegmentationOnSiteForBookingResponse value) => value.writeToBuffer()));
|
||||
($core.List<$core.int> value) => $0.GetBookingSegmentationsRequest.fromBuffer(value),
|
||||
($0.GetBookingSegmentationsResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.ResolveSiteRequest, $0.ResolveSiteResponse>(
|
||||
'ResolveSite',
|
||||
resolveSite_Pre,
|
||||
@@ -521,6 +529,13 @@ abstract class SiteServiceBase extends $grpc.Service {
|
||||
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()));
|
||||
}
|
||||
|
||||
$async.Future<$0.GetSettingsResponse> getSettings_Pre($grpc.ServiceCall $call, $async.Future<$0.GetSettingsRequest> $request) async {
|
||||
@@ -661,11 +676,11 @@ abstract class SiteServiceBase extends $grpc.Service {
|
||||
|
||||
$async.Future<$0.ListSitesAuthorizedForBookingResponse> listSitesAuthorizedForBooking($grpc.ServiceCall call, $0.ListSitesAuthorizedForBookingRequest request);
|
||||
|
||||
$async.Future<$0.GetPossibleSegmentationOnSiteForBookingResponse> getPossibleSegmentationOnSiteForBooking_Pre($grpc.ServiceCall $call, $async.Future<$0.GetPossibleSegmentationOnSiteForBookingRequest> $request) async {
|
||||
return getPossibleSegmentationOnSiteForBooking($call, await $request);
|
||||
$async.Future<$0.GetBookingSegmentationsResponse> getBookingSegmentations_Pre($grpc.ServiceCall $call, $async.Future<$0.GetBookingSegmentationsRequest> $request) async {
|
||||
return getBookingSegmentations($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.GetPossibleSegmentationOnSiteForBookingResponse> getPossibleSegmentationOnSiteForBooking($grpc.ServiceCall call, $0.GetPossibleSegmentationOnSiteForBookingRequest 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);
|
||||
@@ -715,4 +730,10 @@ abstract class SiteServiceBase extends $grpc.Service {
|
||||
|
||||
$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);
|
||||
|
||||
}
|
||||
|
||||
@@ -531,6 +531,41 @@ final $typed_data.Uint8List siteActorDescriptor = $convert.base64Decode(
|
||||
'N0b3JJRBgCIAEoCUIH+kIEcgIQAVIHQWN0b3JJRBIfCgZTaXRlSUQYAyABKAlCB/pCBHICEAFS'
|
||||
'BlNpdGVJRA==');
|
||||
|
||||
@$core.Deprecated('Use getBookingContextRequestDescriptor instead')
|
||||
const GetBookingContextRequest$json = {
|
||||
'1': 'GetBookingContextRequest',
|
||||
'2': [
|
||||
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
|
||||
{'1': 'ActorID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'ActorID'},
|
||||
],
|
||||
'7': {},
|
||||
};
|
||||
|
||||
/// Descriptor for `GetBookingContextRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List getBookingContextRequestDescriptor = $convert.base64Decode(
|
||||
'ChhHZXRCb29raW5nQ29udGV4dFJlcXVlc3QSOwoGSGVhZGVyGAEgASgLMhkuYXBpLlJlcXVlc3'
|
||||
'RQcm9qZWN0SGVhZGVyQgj6QgWKAQIQAVIGSGVhZGVyEiEKB0FjdG9ySUQYAiABKAlCB/pCBHIC'
|
||||
'EAFSB0FjdG9ySUQ6GJJBFQoT0gEGSGVhZGVy0gEHQWN0b3JJRA==');
|
||||
|
||||
@$core.Deprecated('Use getBookingContextResponseDescriptor instead')
|
||||
const GetBookingContextResponse$json = {
|
||||
'1': 'GetBookingContextResponse',
|
||||
'2': [
|
||||
{'1': 'UnitIDs', '3': 1, '4': 3, '5': 9, '10': 'UnitIDs'},
|
||||
{'1': 'Segmentations', '3': 2, '4': 3, '5': 11, '6': '.api.SegmentationFilter', '10': 'Segmentations'},
|
||||
{'1': 'CarrierInformation', '3': 3, '4': 3, '5': 11, '6': '.api.MetadataElement', '10': 'CarrierInformation'},
|
||||
{'1': 'MetaData', '3': 4, '4': 3, '5': 11, '6': '.api.MetadataElement', '10': 'MetaData'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `GetBookingContextResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List getBookingContextResponseDescriptor = $convert.base64Decode(
|
||||
'ChlHZXRCb29raW5nQ29udGV4dFJlc3BvbnNlEhgKB1VuaXRJRHMYASADKAlSB1VuaXRJRHMSPQ'
|
||||
'oNU2VnbWVudGF0aW9ucxgCIAMoCzIXLmFwaS5TZWdtZW50YXRpb25GaWx0ZXJSDVNlZ21lbnRh'
|
||||
'dGlvbnMSRAoSQ2FycmllckluZm9ybWF0aW9uGAMgAygLMhQuYXBpLk1ldGFkYXRhRWxlbWVudF'
|
||||
'ISQ2FycmllckluZm9ybWF0aW9uEjAKCE1ldGFEYXRhGAQgAygLMhQuYXBpLk1ldGFkYXRhRWxl'
|
||||
'bWVudFIITWV0YURhdGE=');
|
||||
|
||||
@$core.Deprecated('Use forceBookAppointmentRequestDescriptor instead')
|
||||
const ForceBookAppointmentRequest$json = {
|
||||
'1': 'ForceBookAppointmentRequest',
|
||||
@@ -1118,9 +1153,9 @@ const GetUnitsResponse$json = {
|
||||
final $typed_data.Uint8List getUnitsResponseDescriptor = $convert.base64Decode(
|
||||
'ChBHZXRVbml0c1Jlc3BvbnNlEh8KBVVuaXRzGAEgAygLMgkuYXBpLlVuaXRSBVVuaXRz');
|
||||
|
||||
@$core.Deprecated('Use getPossibleSegmentationOnSiteForBookingRequestDescriptor instead')
|
||||
const GetPossibleSegmentationOnSiteForBookingRequest$json = {
|
||||
'1': 'GetPossibleSegmentationOnSiteForBookingRequest',
|
||||
@$core.Deprecated('Use getBookingSegmentationsRequestDescriptor instead')
|
||||
const GetBookingSegmentationsRequest$json = {
|
||||
'1': 'GetBookingSegmentationsRequest',
|
||||
'2': [
|
||||
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
|
||||
{'1': 'ActorID', '3': 2, '4': 1, '5': 9, '10': 'ActorID'},
|
||||
@@ -1130,28 +1165,27 @@ const GetPossibleSegmentationOnSiteForBookingRequest$json = {
|
||||
'7': {},
|
||||
};
|
||||
|
||||
/// Descriptor for `GetPossibleSegmentationOnSiteForBookingRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List getPossibleSegmentationOnSiteForBookingRequestDescriptor = $convert.base64Decode(
|
||||
'Ci5HZXRQb3NzaWJsZVNlZ21lbnRhdGlvbk9uU2l0ZUZvckJvb2tpbmdSZXF1ZXN0EjsKBkhlYW'
|
||||
'RlchgBIAEoCzIZLmFwaS5SZXF1ZXN0UHJvamVjdEhlYWRlckII+kIFigECEAFSBkhlYWRlchIY'
|
||||
'CgdBY3RvcklEGAIgASgJUgdBY3RvcklEEj4KD0FwcG9pbnRtZW50VHlwZRgDIAEoDjIULmFwaS'
|
||||
'5BcHBvaW50bWVudFR5cGVSD0FwcG9pbnRtZW50VHlwZRIxCgtDb21taXNzaW9ucxgEIAMoCzIP'
|
||||
'LmFwaS5Db21taXNzaW9uUgtDb21taXNzaW9uczo4kkE1CjPSAQZIZWFkZXLSAQdBY3RvcklE0g'
|
||||
'EPQXBwb2ludG1lbnRUeXBl0gELQ29tbWlzc2lvbnM=');
|
||||
/// Descriptor for `GetBookingSegmentationsRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List getBookingSegmentationsRequestDescriptor = $convert.base64Decode(
|
||||
'Ch5HZXRCb29raW5nU2VnbWVudGF0aW9uc1JlcXVlc3QSOwoGSGVhZGVyGAEgASgLMhkuYXBpLl'
|
||||
'JlcXVlc3RQcm9qZWN0SGVhZGVyQgj6QgWKAQIQAVIGSGVhZGVyEhgKB0FjdG9ySUQYAiABKAlS'
|
||||
'B0FjdG9ySUQSPgoPQXBwb2ludG1lbnRUeXBlGAMgASgOMhQuYXBpLkFwcG9pbnRtZW50VHlwZV'
|
||||
'IPQXBwb2ludG1lbnRUeXBlEjEKC0NvbW1pc3Npb25zGAQgAygLMg8uYXBpLkNvbW1pc3Npb25S'
|
||||
'C0NvbW1pc3Npb25zOjiSQTUKM9IBBkhlYWRlctIBB0FjdG9ySUTSAQ9BcHBvaW50bWVudFR5cG'
|
||||
'XSAQtDb21taXNzaW9ucw==');
|
||||
|
||||
@$core.Deprecated('Use getPossibleSegmentationOnSiteForBookingResponseDescriptor instead')
|
||||
const GetPossibleSegmentationOnSiteForBookingResponse$json = {
|
||||
'1': 'GetPossibleSegmentationOnSiteForBookingResponse',
|
||||
@$core.Deprecated('Use getBookingSegmentationsResponseDescriptor instead')
|
||||
const GetBookingSegmentationsResponse$json = {
|
||||
'1': 'GetBookingSegmentationsResponse',
|
||||
'2': [
|
||||
{'1': 'SegmentationChoices', '3': 1, '4': 3, '5': 11, '6': '.api.Segmentation', '10': 'SegmentationChoices'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `GetPossibleSegmentationOnSiteForBookingResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List getPossibleSegmentationOnSiteForBookingResponseDescriptor = $convert.base64Decode(
|
||||
'Ci9HZXRQb3NzaWJsZVNlZ21lbnRhdGlvbk9uU2l0ZUZvckJvb2tpbmdSZXNwb25zZRJDChNTZW'
|
||||
'dtZW50YXRpb25DaG9pY2VzGAEgAygLMhEuYXBpLlNlZ21lbnRhdGlvblITU2VnbWVudGF0aW9u'
|
||||
'Q2hvaWNlcw==');
|
||||
/// Descriptor for `GetBookingSegmentationsResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List getBookingSegmentationsResponseDescriptor = $convert.base64Decode(
|
||||
'Ch9HZXRCb29raW5nU2VnbWVudGF0aW9uc1Jlc3BvbnNlEkMKE1NlZ21lbnRhdGlvbkNob2ljZX'
|
||||
'MYASADKAsyES5hcGkuU2VnbWVudGF0aW9uUhNTZWdtZW50YXRpb25DaG9pY2Vz');
|
||||
|
||||
@$core.Deprecated('Use initBookerProfileRequestDescriptor instead')
|
||||
const InitBookerProfileRequest$json = {
|
||||
|
||||
Reference in New Issue
Block a user