You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
# CHANGELOG
|
||||
|
||||
Lib version: 1.11.0-SNAPSHOT-250730071237
|
||||
Lib version: 1.11.0-SNAPSHOT-250731073443
|
||||
|
||||
@@ -982,6 +982,131 @@ class GetPublicHolidaysResponse extends $pb.GeneratedMessage {
|
||||
$pb.PbList<ExceptionalClosure> get holidays => $_getList(0);
|
||||
}
|
||||
|
||||
/// ComputeETAPeriodOnOrganisationRequest
|
||||
class ComputeETAPeriodOnOrganisationRequest extends $pb.GeneratedMessage {
|
||||
factory ComputeETAPeriodOnOrganisationRequest({
|
||||
$1.RequestOrganisationHeader? header,
|
||||
$core.String? iD,
|
||||
$1.Period? period,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
if (iD != null) result.iD = iD;
|
||||
if (period != null) result.period = period;
|
||||
return result;
|
||||
}
|
||||
|
||||
ComputeETAPeriodOnOrganisationRequest._();
|
||||
|
||||
factory ComputeETAPeriodOnOrganisationRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory ComputeETAPeriodOnOrganisationRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ComputeETAPeriodOnOrganisationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$1.RequestOrganisationHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestOrganisationHeader.create)
|
||||
..aOS(2, _omitFieldNames ? '' : 'ID', protoName: 'ID')
|
||||
..aOM<$1.Period>(3, _omitFieldNames ? '' : 'Period', protoName: 'Period', subBuilder: $1.Period.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ComputeETAPeriodOnOrganisationRequest clone() => ComputeETAPeriodOnOrganisationRequest()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ComputeETAPeriodOnOrganisationRequest copyWith(void Function(ComputeETAPeriodOnOrganisationRequest) updates) => super.copyWith((message) => updates(message as ComputeETAPeriodOnOrganisationRequest)) as ComputeETAPeriodOnOrganisationRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ComputeETAPeriodOnOrganisationRequest create() => ComputeETAPeriodOnOrganisationRequest._();
|
||||
@$core.override
|
||||
ComputeETAPeriodOnOrganisationRequest createEmptyInstance() => create();
|
||||
static $pb.PbList<ComputeETAPeriodOnOrganisationRequest> createRepeated() => $pb.PbList<ComputeETAPeriodOnOrganisationRequest>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ComputeETAPeriodOnOrganisationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ComputeETAPeriodOnOrganisationRequest>(create);
|
||||
static ComputeETAPeriodOnOrganisationRequest? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$1.RequestOrganisationHeader get header => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set header($1.RequestOrganisationHeader value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasHeader() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearHeader() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
$1.RequestOrganisationHeader ensureHeader() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$core.String get iD => $_getSZ(1);
|
||||
@$pb.TagNumber(2)
|
||||
set iD($core.String value) => $_setString(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasID() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearID() => $_clearField(2);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
$1.Period get period => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set period($1.Period value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasPeriod() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearPeriod() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
$1.Period ensurePeriod() => $_ensure(2);
|
||||
}
|
||||
|
||||
/// GetPublicHolidays response
|
||||
class ComputeETAPeriodOnOrganisationResponse extends $pb.GeneratedMessage {
|
||||
factory ComputeETAPeriodOnOrganisationResponse({
|
||||
$1.DateTime? startEta,
|
||||
}) {
|
||||
final result = create();
|
||||
if (startEta != null) result.startEta = startEta;
|
||||
return result;
|
||||
}
|
||||
|
||||
ComputeETAPeriodOnOrganisationResponse._();
|
||||
|
||||
factory ComputeETAPeriodOnOrganisationResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory ComputeETAPeriodOnOrganisationResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ComputeETAPeriodOnOrganisationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$1.DateTime>(1, _omitFieldNames ? '' : 'StartEta', protoName: 'StartEta', subBuilder: $1.DateTime.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ComputeETAPeriodOnOrganisationResponse clone() => ComputeETAPeriodOnOrganisationResponse()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ComputeETAPeriodOnOrganisationResponse copyWith(void Function(ComputeETAPeriodOnOrganisationResponse) updates) => super.copyWith((message) => updates(message as ComputeETAPeriodOnOrganisationResponse)) as ComputeETAPeriodOnOrganisationResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ComputeETAPeriodOnOrganisationResponse create() => ComputeETAPeriodOnOrganisationResponse._();
|
||||
@$core.override
|
||||
ComputeETAPeriodOnOrganisationResponse createEmptyInstance() => create();
|
||||
static $pb.PbList<ComputeETAPeriodOnOrganisationResponse> createRepeated() => $pb.PbList<ComputeETAPeriodOnOrganisationResponse>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ComputeETAPeriodOnOrganisationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ComputeETAPeriodOnOrganisationResponse>(create);
|
||||
static ComputeETAPeriodOnOrganisationResponse? _defaultInstance;
|
||||
|
||||
/// List of public holidays generated
|
||||
@$pb.TagNumber(1)
|
||||
$1.DateTime get startEta => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set startEta($1.DateTime value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasStartEta() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearStartEta() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
$1.DateTime ensureStartEta() => $_ensure(0);
|
||||
}
|
||||
|
||||
/// Create a calendar at site level
|
||||
class CreateOnSiteRequest extends $pb.GeneratedMessage {
|
||||
factory CreateOnSiteRequest({
|
||||
@@ -1558,6 +1683,131 @@ class DeleteOnSiteResponse extends $pb.GeneratedMessage {
|
||||
static DeleteOnSiteResponse? _defaultInstance;
|
||||
}
|
||||
|
||||
/// ComputeETAPeriodOnSiteRequest
|
||||
class ComputeETAPeriodOnSiteRequest extends $pb.GeneratedMessage {
|
||||
factory ComputeETAPeriodOnSiteRequest({
|
||||
$1.RequestSiteHeader? header,
|
||||
$core.String? iD,
|
||||
$1.Period? period,
|
||||
}) {
|
||||
final result = create();
|
||||
if (header != null) result.header = header;
|
||||
if (iD != null) result.iD = iD;
|
||||
if (period != null) result.period = period;
|
||||
return result;
|
||||
}
|
||||
|
||||
ComputeETAPeriodOnSiteRequest._();
|
||||
|
||||
factory ComputeETAPeriodOnSiteRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory ComputeETAPeriodOnSiteRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ComputeETAPeriodOnSiteRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$1.RequestSiteHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestSiteHeader.create)
|
||||
..aOS(2, _omitFieldNames ? '' : 'ID', protoName: 'ID')
|
||||
..aOM<$1.Period>(3, _omitFieldNames ? '' : 'Period', protoName: 'Period', subBuilder: $1.Period.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ComputeETAPeriodOnSiteRequest clone() => ComputeETAPeriodOnSiteRequest()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ComputeETAPeriodOnSiteRequest copyWith(void Function(ComputeETAPeriodOnSiteRequest) updates) => super.copyWith((message) => updates(message as ComputeETAPeriodOnSiteRequest)) as ComputeETAPeriodOnSiteRequest;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ComputeETAPeriodOnSiteRequest create() => ComputeETAPeriodOnSiteRequest._();
|
||||
@$core.override
|
||||
ComputeETAPeriodOnSiteRequest createEmptyInstance() => create();
|
||||
static $pb.PbList<ComputeETAPeriodOnSiteRequest> createRepeated() => $pb.PbList<ComputeETAPeriodOnSiteRequest>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ComputeETAPeriodOnSiteRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ComputeETAPeriodOnSiteRequest>(create);
|
||||
static ComputeETAPeriodOnSiteRequest? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$1.RequestSiteHeader get header => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set header($1.RequestSiteHeader value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasHeader() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearHeader() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
$1.RequestSiteHeader ensureHeader() => $_ensure(0);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
$core.String get iD => $_getSZ(1);
|
||||
@$pb.TagNumber(2)
|
||||
set iD($core.String value) => $_setString(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasID() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearID() => $_clearField(2);
|
||||
|
||||
@$pb.TagNumber(3)
|
||||
$1.Period get period => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set period($1.Period value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasPeriod() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearPeriod() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
$1.Period ensurePeriod() => $_ensure(2);
|
||||
}
|
||||
|
||||
/// GetPublicHolidays response
|
||||
class ComputeETAPeriodOnSiteResponse extends $pb.GeneratedMessage {
|
||||
factory ComputeETAPeriodOnSiteResponse({
|
||||
$1.DateTime? startEta,
|
||||
}) {
|
||||
final result = create();
|
||||
if (startEta != null) result.startEta = startEta;
|
||||
return result;
|
||||
}
|
||||
|
||||
ComputeETAPeriodOnSiteResponse._();
|
||||
|
||||
factory ComputeETAPeriodOnSiteResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory ComputeETAPeriodOnSiteResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ComputeETAPeriodOnSiteResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aOM<$1.DateTime>(1, _omitFieldNames ? '' : 'StartEta', protoName: 'StartEta', subBuilder: $1.DateTime.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ComputeETAPeriodOnSiteResponse clone() => ComputeETAPeriodOnSiteResponse()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
ComputeETAPeriodOnSiteResponse copyWith(void Function(ComputeETAPeriodOnSiteResponse) updates) => super.copyWith((message) => updates(message as ComputeETAPeriodOnSiteResponse)) as ComputeETAPeriodOnSiteResponse;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ComputeETAPeriodOnSiteResponse create() => ComputeETAPeriodOnSiteResponse._();
|
||||
@$core.override
|
||||
ComputeETAPeriodOnSiteResponse createEmptyInstance() => create();
|
||||
static $pb.PbList<ComputeETAPeriodOnSiteResponse> createRepeated() => $pb.PbList<ComputeETAPeriodOnSiteResponse>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static ComputeETAPeriodOnSiteResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ComputeETAPeriodOnSiteResponse>(create);
|
||||
static ComputeETAPeriodOnSiteResponse? _defaultInstance;
|
||||
|
||||
/// List of public holidays generated
|
||||
@$pb.TagNumber(1)
|
||||
$1.DateTime get startEta => $_getN(0);
|
||||
@$pb.TagNumber(1)
|
||||
set startEta($1.DateTime value) => $_setField(1, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasStartEta() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearStartEta() => $_clearField(1);
|
||||
@$pb.TagNumber(1)
|
||||
$1.DateTime ensureStartEta() => $_ensure(0);
|
||||
}
|
||||
|
||||
|
||||
const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||
const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||
|
||||
@@ -52,6 +52,10 @@ class CalendarServiceClient extends $grpc.Client {
|
||||
return $createUnaryCall(_$deleteOnOrganisation, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.ComputeETAPeriodOnOrganisationResponse> computeETAPeriodOnOrganisation($0.ComputeETAPeriodOnOrganisationRequest request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$computeETAPeriodOnOrganisation, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.CreateOnSiteResponse> createOnSite($0.CreateOnSiteRequest request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$createOnSite, request, options: options);
|
||||
}
|
||||
@@ -76,6 +80,10 @@ class CalendarServiceClient extends $grpc.Client {
|
||||
return $createUnaryCall(_$getPublicHolidays, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$0.ComputeETAPeriodOnSiteResponse> computeETAPeriodOnSite($0.ComputeETAPeriodOnSiteRequest request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$computeETAPeriodOnSite, request, options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$createOnOrganisation = $grpc.ClientMethod<$0.CreateOnOrganisationRequest, $0.CreateOnOrganisationResponse>(
|
||||
@@ -98,6 +106,10 @@ class CalendarServiceClient extends $grpc.Client {
|
||||
'/api.CalendarService/DeleteOnOrganisation',
|
||||
($0.DeleteOnOrganisationRequest value) => value.writeToBuffer(),
|
||||
$0.DeleteOnOrganisationResponse.fromBuffer);
|
||||
static final _$computeETAPeriodOnOrganisation = $grpc.ClientMethod<$0.ComputeETAPeriodOnOrganisationRequest, $0.ComputeETAPeriodOnOrganisationResponse>(
|
||||
'/api.CalendarService/ComputeETAPeriodOnOrganisation',
|
||||
($0.ComputeETAPeriodOnOrganisationRequest value) => value.writeToBuffer(),
|
||||
$0.ComputeETAPeriodOnOrganisationResponse.fromBuffer);
|
||||
static final _$createOnSite = $grpc.ClientMethod<$0.CreateOnSiteRequest, $0.CreateOnSiteResponse>(
|
||||
'/api.CalendarService/CreateOnSite',
|
||||
($0.CreateOnSiteRequest value) => value.writeToBuffer(),
|
||||
@@ -122,6 +134,10 @@ class CalendarServiceClient extends $grpc.Client {
|
||||
'/api.CalendarService/GetPublicHolidays',
|
||||
($0.GetPublicHolidaysRequest value) => value.writeToBuffer(),
|
||||
$0.GetPublicHolidaysResponse.fromBuffer);
|
||||
static final _$computeETAPeriodOnSite = $grpc.ClientMethod<$0.ComputeETAPeriodOnSiteRequest, $0.ComputeETAPeriodOnSiteResponse>(
|
||||
'/api.CalendarService/ComputeETAPeriodOnSite',
|
||||
($0.ComputeETAPeriodOnSiteRequest value) => value.writeToBuffer(),
|
||||
$0.ComputeETAPeriodOnSiteResponse.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('api.CalendarService')
|
||||
@@ -164,6 +180,13 @@ abstract class CalendarServiceBase extends $grpc.Service {
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.DeleteOnOrganisationRequest.fromBuffer(value),
|
||||
($0.DeleteOnOrganisationResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.ComputeETAPeriodOnOrganisationRequest, $0.ComputeETAPeriodOnOrganisationResponse>(
|
||||
'ComputeETAPeriodOnOrganisation',
|
||||
computeETAPeriodOnOrganisation_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.ComputeETAPeriodOnOrganisationRequest.fromBuffer(value),
|
||||
($0.ComputeETAPeriodOnOrganisationResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.CreateOnSiteRequest, $0.CreateOnSiteResponse>(
|
||||
'CreateOnSite',
|
||||
createOnSite_Pre,
|
||||
@@ -206,6 +229,13 @@ abstract class CalendarServiceBase extends $grpc.Service {
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.GetPublicHolidaysRequest.fromBuffer(value),
|
||||
($0.GetPublicHolidaysResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$0.ComputeETAPeriodOnSiteRequest, $0.ComputeETAPeriodOnSiteResponse>(
|
||||
'ComputeETAPeriodOnSite',
|
||||
computeETAPeriodOnSite_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $0.ComputeETAPeriodOnSiteRequest.fromBuffer(value),
|
||||
($0.ComputeETAPeriodOnSiteResponse value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$0.CreateOnOrganisationResponse> createOnOrganisation_Pre($grpc.ServiceCall $call, $async.Future<$0.CreateOnOrganisationRequest> $request) async {
|
||||
@@ -238,6 +268,12 @@ abstract class CalendarServiceBase extends $grpc.Service {
|
||||
|
||||
$async.Future<$0.DeleteOnOrganisationResponse> deleteOnOrganisation($grpc.ServiceCall call, $0.DeleteOnOrganisationRequest request);
|
||||
|
||||
$async.Future<$0.ComputeETAPeriodOnOrganisationResponse> computeETAPeriodOnOrganisation_Pre($grpc.ServiceCall $call, $async.Future<$0.ComputeETAPeriodOnOrganisationRequest> $request) async {
|
||||
return computeETAPeriodOnOrganisation($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.ComputeETAPeriodOnOrganisationResponse> computeETAPeriodOnOrganisation($grpc.ServiceCall call, $0.ComputeETAPeriodOnOrganisationRequest request);
|
||||
|
||||
$async.Future<$0.CreateOnSiteResponse> createOnSite_Pre($grpc.ServiceCall $call, $async.Future<$0.CreateOnSiteRequest> $request) async {
|
||||
return createOnSite($call, await $request);
|
||||
}
|
||||
@@ -274,4 +310,10 @@ abstract class CalendarServiceBase extends $grpc.Service {
|
||||
|
||||
$async.Future<$0.GetPublicHolidaysResponse> getPublicHolidays($grpc.ServiceCall call, $0.GetPublicHolidaysRequest request);
|
||||
|
||||
$async.Future<$0.ComputeETAPeriodOnSiteResponse> computeETAPeriodOnSite_Pre($grpc.ServiceCall $call, $async.Future<$0.ComputeETAPeriodOnSiteRequest> $request) async {
|
||||
return computeETAPeriodOnSite($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$0.ComputeETAPeriodOnSiteResponse> computeETAPeriodOnSite($grpc.ServiceCall call, $0.ComputeETAPeriodOnSiteRequest request);
|
||||
|
||||
}
|
||||
|
||||
@@ -257,6 +257,37 @@ final $typed_data.Uint8List getPublicHolidaysResponseDescriptor = $convert.base6
|
||||
'ChlHZXRQdWJsaWNIb2xpZGF5c1Jlc3BvbnNlEjMKCEhvbGlkYXlzGAEgAygLMhcuYXBpLkV4Y2'
|
||||
'VwdGlvbmFsQ2xvc3VyZVIISG9saWRheXM=');
|
||||
|
||||
@$core.Deprecated('Use computeETAPeriodOnOrganisationRequestDescriptor instead')
|
||||
const ComputeETAPeriodOnOrganisationRequest$json = {
|
||||
'1': 'ComputeETAPeriodOnOrganisationRequest',
|
||||
'2': [
|
||||
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestOrganisationHeader', '8': {}, '10': 'Header'},
|
||||
{'1': 'ID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'ID'},
|
||||
{'1': 'Period', '3': 3, '4': 1, '5': 11, '6': '.api.Period', '10': 'Period'},
|
||||
],
|
||||
'7': {},
|
||||
};
|
||||
|
||||
/// Descriptor for `ComputeETAPeriodOnOrganisationRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List computeETAPeriodOnOrganisationRequestDescriptor = $convert.base64Decode(
|
||||
'CiVDb21wdXRlRVRBUGVyaW9kT25PcmdhbmlzYXRpb25SZXF1ZXN0EkAKBkhlYWRlchgBIAEoCz'
|
||||
'IeLmFwaS5SZXF1ZXN0T3JnYW5pc2F0aW9uSGVhZGVyQgj6QgWKAQIQAVIGSGVhZGVyEhcKAklE'
|
||||
'GAIgASgJQgf6QgRyAhABUgJJRBIjCgZQZXJpb2QYAyABKAsyCy5hcGkuUGVyaW9kUgZQZXJpb2'
|
||||
'Q6HJJBGQoX0gEGSGVhZGVy0gECSUTSAQZQZXJpb2Q=');
|
||||
|
||||
@$core.Deprecated('Use computeETAPeriodOnOrganisationResponseDescriptor instead')
|
||||
const ComputeETAPeriodOnOrganisationResponse$json = {
|
||||
'1': 'ComputeETAPeriodOnOrganisationResponse',
|
||||
'2': [
|
||||
{'1': 'StartEta', '3': 1, '4': 1, '5': 11, '6': '.api.DateTime', '10': 'StartEta'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `ComputeETAPeriodOnOrganisationResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List computeETAPeriodOnOrganisationResponseDescriptor = $convert.base64Decode(
|
||||
'CiZDb21wdXRlRVRBUGVyaW9kT25PcmdhbmlzYXRpb25SZXNwb25zZRIpCghTdGFydEV0YRgBIA'
|
||||
'EoCzINLmFwaS5EYXRlVGltZVIIU3RhcnRFdGE=');
|
||||
|
||||
@$core.Deprecated('Use createOnSiteRequestDescriptor instead')
|
||||
const CreateOnSiteRequest$json = {
|
||||
'1': 'CreateOnSiteRequest',
|
||||
@@ -409,3 +440,34 @@ const DeleteOnSiteResponse$json = {
|
||||
final $typed_data.Uint8List deleteOnSiteResponseDescriptor = $convert.base64Decode(
|
||||
'ChREZWxldGVPblNpdGVSZXNwb25zZQ==');
|
||||
|
||||
@$core.Deprecated('Use computeETAPeriodOnSiteRequestDescriptor instead')
|
||||
const ComputeETAPeriodOnSiteRequest$json = {
|
||||
'1': 'ComputeETAPeriodOnSiteRequest',
|
||||
'2': [
|
||||
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestSiteHeader', '8': {}, '10': 'Header'},
|
||||
{'1': 'ID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'ID'},
|
||||
{'1': 'Period', '3': 3, '4': 1, '5': 11, '6': '.api.Period', '10': 'Period'},
|
||||
],
|
||||
'7': {},
|
||||
};
|
||||
|
||||
/// Descriptor for `ComputeETAPeriodOnSiteRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List computeETAPeriodOnSiteRequestDescriptor = $convert.base64Decode(
|
||||
'Ch1Db21wdXRlRVRBUGVyaW9kT25TaXRlUmVxdWVzdBI4CgZIZWFkZXIYASABKAsyFi5hcGkuUm'
|
||||
'VxdWVzdFNpdGVIZWFkZXJCCPpCBYoBAhABUgZIZWFkZXISFwoCSUQYAiABKAlCB/pCBHICEAFS'
|
||||
'AklEEiMKBlBlcmlvZBgDIAEoCzILLmFwaS5QZXJpb2RSBlBlcmlvZDockkEZChfSAQZIZWFkZX'
|
||||
'LSAQJJRNIBBlBlcmlvZA==');
|
||||
|
||||
@$core.Deprecated('Use computeETAPeriodOnSiteResponseDescriptor instead')
|
||||
const ComputeETAPeriodOnSiteResponse$json = {
|
||||
'1': 'ComputeETAPeriodOnSiteResponse',
|
||||
'2': [
|
||||
{'1': 'StartEta', '3': 1, '4': 1, '5': 11, '6': '.api.DateTime', '10': 'StartEta'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `ComputeETAPeriodOnSiteResponse`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List computeETAPeriodOnSiteResponseDescriptor = $convert.base64Decode(
|
||||
'Ch5Db21wdXRlRVRBUGVyaW9kT25TaXRlUmVzcG9uc2USKQoIU3RhcnRFdGEYASABKAsyDS5hcG'
|
||||
'kuRGF0ZVRpbWVSCFN0YXJ0RXRh');
|
||||
|
||||
|
||||
@@ -6340,6 +6340,64 @@ class FileDataResponse extends $pb.GeneratedMessage {
|
||||
void clearContent() => $_clearField(3);
|
||||
}
|
||||
|
||||
class Period extends $pb.GeneratedMessage {
|
||||
factory Period({
|
||||
$fixnum.Int64? value,
|
||||
PeriodUnit? unit,
|
||||
}) {
|
||||
final result = create();
|
||||
if (value != null) result.value = value;
|
||||
if (unit != null) result.unit = unit;
|
||||
return result;
|
||||
}
|
||||
|
||||
Period._();
|
||||
|
||||
factory Period.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory Period.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Period', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aInt64(1, _omitFieldNames ? '' : 'Value', protoName: 'Value')
|
||||
..e<PeriodUnit>(2, _omitFieldNames ? '' : 'Unit', $pb.PbFieldType.OE, protoName: 'Unit', defaultOrMaker: PeriodUnit.PERIOD_UNIT_UNDEFINED, valueOf: PeriodUnit.valueOf, enumValues: PeriodUnit.values)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Period clone() => Period()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Period copyWith(void Function(Period) updates) => super.copyWith((message) => updates(message as Period)) as Period;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static Period create() => Period._();
|
||||
@$core.override
|
||||
Period createEmptyInstance() => create();
|
||||
static $pb.PbList<Period> createRepeated() => $pb.PbList<Period>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static Period getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Period>(create);
|
||||
static Period? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$fixnum.Int64 get value => $_getI64(0);
|
||||
@$pb.TagNumber(1)
|
||||
set value($fixnum.Int64 value) => $_setInt64(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasValue() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearValue() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
PeriodUnit get unit => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set unit(PeriodUnit value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasUnit() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearUnit() => $_clearField(2);
|
||||
}
|
||||
|
||||
|
||||
const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
|
||||
const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names');
|
||||
|
||||
@@ -498,6 +498,25 @@ class ResourceType extends $pb.ProtobufEnum {
|
||||
const ResourceType._(super.value, super.name);
|
||||
}
|
||||
|
||||
class PeriodUnit extends $pb.ProtobufEnum {
|
||||
static const PeriodUnit PERIOD_UNIT_UNDEFINED = PeriodUnit._(0, _omitEnumNames ? '' : 'PERIOD_UNIT_UNDEFINED');
|
||||
static const PeriodUnit PERIOD_UNIT_WORK_HOUR = PeriodUnit._(1, _omitEnumNames ? '' : 'PERIOD_UNIT_WORK_HOUR');
|
||||
static const PeriodUnit PERIOD_UNIT_WORK_DAY = PeriodUnit._(2, _omitEnumNames ? '' : 'PERIOD_UNIT_WORK_DAY');
|
||||
static const PeriodUnit PERIOD_UNIT_CALENDAR_DAY = PeriodUnit._(3, _omitEnumNames ? '' : 'PERIOD_UNIT_CALENDAR_DAY');
|
||||
|
||||
static const $core.List<PeriodUnit> values = <PeriodUnit> [
|
||||
PERIOD_UNIT_UNDEFINED,
|
||||
PERIOD_UNIT_WORK_HOUR,
|
||||
PERIOD_UNIT_WORK_DAY,
|
||||
PERIOD_UNIT_CALENDAR_DAY,
|
||||
];
|
||||
|
||||
static final $core.List<PeriodUnit?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3);
|
||||
static PeriodUnit? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const PeriodUnit._(super.value, super.name);
|
||||
}
|
||||
|
||||
class ExtractColumnFormat_type extends $pb.ProtobufEnum {
|
||||
static const ExtractColumnFormat_type UNKNOWN = ExtractColumnFormat_type._(0, _omitEnumNames ? '' : 'UNKNOWN');
|
||||
static const ExtractColumnFormat_type DATE = ExtractColumnFormat_type._(1, _omitEnumNames ? '' : 'DATE');
|
||||
|
||||
@@ -396,6 +396,23 @@ final $typed_data.Uint8List resourceTypeDescriptor = $convert.base64Decode(
|
||||
'VSQ0VfVFlQRV9DT05ORUNUSU9OEDISIAocUkVTT1VSQ0VfVFlQRV9BVFRBQ0hNRU5UVFlQRRA8'
|
||||
'EhsKF1JFU09VUkNFX1RZUEVfQ0xBSU1UWVBFEEYSFgoSUkVTT1VSQ0VfVFlQRV9TSVRFEFA=');
|
||||
|
||||
@$core.Deprecated('Use periodUnitDescriptor instead')
|
||||
const PeriodUnit$json = {
|
||||
'1': 'PeriodUnit',
|
||||
'2': [
|
||||
{'1': 'PERIOD_UNIT_UNDEFINED', '2': 0},
|
||||
{'1': 'PERIOD_UNIT_WORK_HOUR', '2': 1},
|
||||
{'1': 'PERIOD_UNIT_WORK_DAY', '2': 2},
|
||||
{'1': 'PERIOD_UNIT_CALENDAR_DAY', '2': 3},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `PeriodUnit`. Decode as a `google.protobuf.EnumDescriptorProto`.
|
||||
final $typed_data.Uint8List periodUnitDescriptor = $convert.base64Decode(
|
||||
'CgpQZXJpb2RVbml0EhkKFVBFUklPRF9VTklUX1VOREVGSU5FRBAAEhkKFVBFUklPRF9VTklUX1'
|
||||
'dPUktfSE9VUhABEhgKFFBFUklPRF9VTklUX1dPUktfREFZEAISHAoYUEVSSU9EX1VOSVRfQ0FM'
|
||||
'RU5EQVJfREFZEAM=');
|
||||
|
||||
@$core.Deprecated('Use requestHeaderDescriptor instead')
|
||||
const RequestHeader$json = {
|
||||
'1': 'RequestHeader',
|
||||
@@ -2069,3 +2086,17 @@ final $typed_data.Uint8List fileDataResponseDescriptor = $convert.base64Decode(
|
||||
'ABKAlSC0NvbnRlbnRUeXBlEhgKB0NvbnRlbnQYAyABKAxSB0NvbnRlbnQ6DJJBCQoH0gEETmFt'
|
||||
'ZQ==');
|
||||
|
||||
@$core.Deprecated('Use periodDescriptor instead')
|
||||
const Period$json = {
|
||||
'1': 'Period',
|
||||
'2': [
|
||||
{'1': 'Value', '3': 1, '4': 1, '5': 3, '10': 'Value'},
|
||||
{'1': 'Unit', '3': 2, '4': 1, '5': 14, '6': '.api.PeriodUnit', '10': 'Unit'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `Period`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List periodDescriptor = $convert.base64Decode(
|
||||
'CgZQZXJpb2QSFAoFVmFsdWUYASABKANSBVZhbHVlEiMKBFVuaXQYAiABKA4yDy5hcGkuUGVyaW'
|
||||
'9kVW5pdFIEVW5pdA==');
|
||||
|
||||
|
||||
@@ -135,64 +135,6 @@ class QuantityByUnit extends $pb.GeneratedMessage {
|
||||
void clearValue() => $_clearField(2);
|
||||
}
|
||||
|
||||
class Period extends $pb.GeneratedMessage {
|
||||
factory Period({
|
||||
$fixnum.Int64? value,
|
||||
PeriodUnit? unit,
|
||||
}) {
|
||||
final result = create();
|
||||
if (value != null) result.value = value;
|
||||
if (unit != null) result.unit = unit;
|
||||
return result;
|
||||
}
|
||||
|
||||
Period._();
|
||||
|
||||
factory Period.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
|
||||
factory Period.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Period', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..aInt64(1, _omitFieldNames ? '' : 'Value', protoName: 'Value')
|
||||
..e<PeriodUnit>(2, _omitFieldNames ? '' : 'Unit', $pb.PbFieldType.OE, protoName: 'Unit', defaultOrMaker: PeriodUnit.PERIOD_UNIT_UNDEFINED, valueOf: PeriodUnit.valueOf, enumValues: PeriodUnit.values)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Period clone() => Period()..mergeFromMessage(this);
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
Period copyWith(void Function(Period) updates) => super.copyWith((message) => updates(message as Period)) as Period;
|
||||
|
||||
@$core.override
|
||||
$pb.BuilderInfo get info_ => _i;
|
||||
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static Period create() => Period._();
|
||||
@$core.override
|
||||
Period createEmptyInstance() => create();
|
||||
static $pb.PbList<Period> createRepeated() => $pb.PbList<Period>();
|
||||
@$core.pragma('dart2js:noInline')
|
||||
static Period getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Period>(create);
|
||||
static Period? _defaultInstance;
|
||||
|
||||
@$pb.TagNumber(1)
|
||||
$fixnum.Int64 get value => $_getI64(0);
|
||||
@$pb.TagNumber(1)
|
||||
set value($fixnum.Int64 value) => $_setInt64(0, value);
|
||||
@$pb.TagNumber(1)
|
||||
$core.bool hasValue() => $_has(0);
|
||||
@$pb.TagNumber(1)
|
||||
void clearValue() => $_clearField(1);
|
||||
|
||||
@$pb.TagNumber(2)
|
||||
PeriodUnit get unit => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set unit(PeriodUnit value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasUnit() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearUnit() => $_clearField(2);
|
||||
}
|
||||
|
||||
class Slot extends $pb.GeneratedMessage {
|
||||
factory Slot({
|
||||
$core.String? startDateTime,
|
||||
@@ -1503,8 +1445,8 @@ class ProjectAuthorisation extends $pb.GeneratedMessage {
|
||||
class ProjectConstraint extends $pb.GeneratedMessage {
|
||||
factory ProjectConstraint({
|
||||
$core.Iterable<SegmentationFilter>? segmentationFilters,
|
||||
Period? minNoticePeriod,
|
||||
Period? maxBookingPeriod,
|
||||
$0.Period? minNoticePeriod,
|
||||
$0.Period? maxBookingPeriod,
|
||||
}) {
|
||||
final result = create();
|
||||
if (segmentationFilters != null) result.segmentationFilters.addAll(segmentationFilters);
|
||||
@@ -1520,8 +1462,8 @@ class ProjectConstraint extends $pb.GeneratedMessage {
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ProjectConstraint', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..pc<SegmentationFilter>(1, _omitFieldNames ? '' : 'SegmentationFilters', $pb.PbFieldType.PM, protoName: 'SegmentationFilters', subBuilder: SegmentationFilter.create)
|
||||
..aOM<Period>(2, _omitFieldNames ? '' : 'MinNoticePeriod', protoName: 'MinNoticePeriod', subBuilder: Period.create)
|
||||
..aOM<Period>(3, _omitFieldNames ? '' : 'MaxBookingPeriod', protoName: 'MaxBookingPeriod', subBuilder: Period.create)
|
||||
..aOM<$0.Period>(2, _omitFieldNames ? '' : 'MinNoticePeriod', protoName: 'MinNoticePeriod', subBuilder: $0.Period.create)
|
||||
..aOM<$0.Period>(3, _omitFieldNames ? '' : 'MaxBookingPeriod', protoName: 'MaxBookingPeriod', subBuilder: $0.Period.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -1548,27 +1490,27 @@ class ProjectConstraint extends $pb.GeneratedMessage {
|
||||
|
||||
/// Minimal notice delay to book or cancel an appointment.
|
||||
@$pb.TagNumber(2)
|
||||
Period get minNoticePeriod => $_getN(1);
|
||||
$0.Period get minNoticePeriod => $_getN(1);
|
||||
@$pb.TagNumber(2)
|
||||
set minNoticePeriod(Period value) => $_setField(2, value);
|
||||
set minNoticePeriod($0.Period value) => $_setField(2, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasMinNoticePeriod() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearMinNoticePeriod() => $_clearField(2);
|
||||
@$pb.TagNumber(2)
|
||||
Period ensureMinNoticePeriod() => $_ensure(1);
|
||||
$0.Period ensureMinNoticePeriod() => $_ensure(1);
|
||||
|
||||
/// Maximal delay to book an appointment.
|
||||
@$pb.TagNumber(3)
|
||||
Period get maxBookingPeriod => $_getN(2);
|
||||
$0.Period get maxBookingPeriod => $_getN(2);
|
||||
@$pb.TagNumber(3)
|
||||
set maxBookingPeriod(Period value) => $_setField(3, value);
|
||||
set maxBookingPeriod($0.Period value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasMaxBookingPeriod() => $_has(2);
|
||||
@$pb.TagNumber(3)
|
||||
void clearMaxBookingPeriod() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
Period ensureMaxBookingPeriod() => $_ensure(2);
|
||||
$0.Period ensureMaxBookingPeriod() => $_ensure(2);
|
||||
}
|
||||
|
||||
class ActorAuthorisation extends $pb.GeneratedMessage {
|
||||
@@ -1638,7 +1580,7 @@ class ActorAuthorisation extends $pb.GeneratedMessage {
|
||||
class ActorConstraint extends $pb.GeneratedMessage {
|
||||
factory ActorConstraint({
|
||||
$core.Iterable<SegmentationActorConstraint>? segmentationConstraints,
|
||||
Period? maxBookingPeriod,
|
||||
$0.Period? maxBookingPeriod,
|
||||
}) {
|
||||
final result = create();
|
||||
if (segmentationConstraints != null) result.segmentationConstraints.addAll(segmentationConstraints);
|
||||
@@ -1653,7 +1595,7 @@ class ActorConstraint extends $pb.GeneratedMessage {
|
||||
|
||||
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ActorConstraint', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
|
||||
..pc<SegmentationActorConstraint>(1, _omitFieldNames ? '' : 'SegmentationConstraints', $pb.PbFieldType.PM, protoName: 'SegmentationConstraints', subBuilder: SegmentationActorConstraint.create)
|
||||
..aOM<Period>(3, _omitFieldNames ? '' : 'MaxBookingPeriod', protoName: 'MaxBookingPeriod', subBuilder: Period.create)
|
||||
..aOM<$0.Period>(3, _omitFieldNames ? '' : 'MaxBookingPeriod', protoName: 'MaxBookingPeriod', subBuilder: $0.Period.create)
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
@@ -1680,15 +1622,15 @@ class ActorConstraint extends $pb.GeneratedMessage {
|
||||
|
||||
/// Maximal delay to book an appointment
|
||||
@$pb.TagNumber(3)
|
||||
Period get maxBookingPeriod => $_getN(1);
|
||||
$0.Period get maxBookingPeriod => $_getN(1);
|
||||
@$pb.TagNumber(3)
|
||||
set maxBookingPeriod(Period value) => $_setField(3, value);
|
||||
set maxBookingPeriod($0.Period value) => $_setField(3, value);
|
||||
@$pb.TagNumber(3)
|
||||
$core.bool hasMaxBookingPeriod() => $_has(1);
|
||||
@$pb.TagNumber(3)
|
||||
void clearMaxBookingPeriod() => $_clearField(3);
|
||||
@$pb.TagNumber(3)
|
||||
Period ensureMaxBookingPeriod() => $_ensure(1);
|
||||
$0.Period ensureMaxBookingPeriod() => $_ensure(1);
|
||||
}
|
||||
|
||||
class SegmentationActorConstraint extends $pb.GeneratedMessage {
|
||||
|
||||
@@ -35,25 +35,6 @@ class AppointmentType extends $pb.ProtobufEnum {
|
||||
const AppointmentType._(super.value, super.name);
|
||||
}
|
||||
|
||||
class PeriodUnit extends $pb.ProtobufEnum {
|
||||
static const PeriodUnit PERIOD_UNIT_UNDEFINED = PeriodUnit._(0, _omitEnumNames ? '' : 'PERIOD_UNIT_UNDEFINED');
|
||||
static const PeriodUnit PERIOD_UNIT_WORK_HOUR = PeriodUnit._(1, _omitEnumNames ? '' : 'PERIOD_UNIT_WORK_HOUR');
|
||||
static const PeriodUnit PERIOD_UNIT_WORK_DAY = PeriodUnit._(2, _omitEnumNames ? '' : 'PERIOD_UNIT_WORK_DAY');
|
||||
static const PeriodUnit PERIOD_UNIT_CALENDAR_DAY = PeriodUnit._(3, _omitEnumNames ? '' : 'PERIOD_UNIT_CALENDAR_DAY');
|
||||
|
||||
static const $core.List<PeriodUnit> values = <PeriodUnit> [
|
||||
PERIOD_UNIT_UNDEFINED,
|
||||
PERIOD_UNIT_WORK_HOUR,
|
||||
PERIOD_UNIT_WORK_DAY,
|
||||
PERIOD_UNIT_CALENDAR_DAY,
|
||||
];
|
||||
|
||||
static final $core.List<PeriodUnit?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3);
|
||||
static PeriodUnit? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
|
||||
|
||||
const PeriodUnit._(super.value, super.name);
|
||||
}
|
||||
|
||||
class CapacityRuleScope extends $pb.ProtobufEnum {
|
||||
static const CapacityRuleScope CAPACITY_RULE_SCOPE_UNKNOWN = CapacityRuleScope._(0, _omitEnumNames ? '' : 'CAPACITY_RULE_SCOPE_UNKNOWN');
|
||||
static const CapacityRuleScope CAPACITY_RULE_SCOPE_SIMULTANEOUS = CapacityRuleScope._(1, _omitEnumNames ? '' : 'CAPACITY_RULE_SCOPE_SIMULTANEOUS');
|
||||
|
||||
@@ -33,23 +33,6 @@ final $typed_data.Uint8List appointmentTypeDescriptor = $convert.base64Decode(
|
||||
'AhIeChpBUFBPSU5UTUVOVF9UWVBFX1VOREVGSU5FRBADEhkKFUFQUE9JTlRNRU5UX1RZUEVfQk'
|
||||
'9USBAE');
|
||||
|
||||
@$core.Deprecated('Use periodUnitDescriptor instead')
|
||||
const PeriodUnit$json = {
|
||||
'1': 'PeriodUnit',
|
||||
'2': [
|
||||
{'1': 'PERIOD_UNIT_UNDEFINED', '2': 0},
|
||||
{'1': 'PERIOD_UNIT_WORK_HOUR', '2': 1},
|
||||
{'1': 'PERIOD_UNIT_WORK_DAY', '2': 2},
|
||||
{'1': 'PERIOD_UNIT_CALENDAR_DAY', '2': 3},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `PeriodUnit`. Decode as a `google.protobuf.EnumDescriptorProto`.
|
||||
final $typed_data.Uint8List periodUnitDescriptor = $convert.base64Decode(
|
||||
'CgpQZXJpb2RVbml0EhkKFVBFUklPRF9VTklUX1VOREVGSU5FRBAAEhkKFVBFUklPRF9VTklUX1'
|
||||
'dPUktfSE9VUhABEhgKFFBFUklPRF9VTklUX1dPUktfREFZEAISHAoYUEVSSU9EX1VOSVRfQ0FM'
|
||||
'RU5EQVJfREFZEAM=');
|
||||
|
||||
@$core.Deprecated('Use capacityRuleScopeDescriptor instead')
|
||||
const CapacityRuleScope$json = {
|
||||
'1': 'CapacityRuleScope',
|
||||
@@ -135,20 +118,6 @@ final $typed_data.Uint8List quantityByUnitDescriptor = $convert.base64Decode(
|
||||
'Cg5RdWFudGl0eUJ5VW5pdBIWCgZVbml0SUQYASABKAlSBlVuaXRJRBIkCgVWYWx1ZRgCIAEoAU'
|
||||
'IO+kILEgkpAAAAAAAAAABSBVZhbHVl');
|
||||
|
||||
@$core.Deprecated('Use periodDescriptor instead')
|
||||
const Period$json = {
|
||||
'1': 'Period',
|
||||
'2': [
|
||||
{'1': 'Value', '3': 1, '4': 1, '5': 3, '10': 'Value'},
|
||||
{'1': 'Unit', '3': 2, '4': 1, '5': 14, '6': '.api.PeriodUnit', '10': 'Unit'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `Period`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List periodDescriptor = $convert.base64Decode(
|
||||
'CgZQZXJpb2QSFAoFVmFsdWUYASABKANSBVZhbHVlEiMKBFVuaXQYAiABKA4yDy5hcGkuUGVyaW'
|
||||
'9kVW5pdFIEVW5pdA==');
|
||||
|
||||
@$core.Deprecated('Use slotDescriptor instead')
|
||||
const Slot$json = {
|
||||
'1': 'Slot',
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: dart_core_sdk
|
||||
description: dart libs from core model proto files
|
||||
version: 1.11.0-SNAPSHOT-250730071237
|
||||
version: 1.11.0-SNAPSHOT-250731073443
|
||||
homepage: ''
|
||||
publish_to: ''
|
||||
repository: ''
|
||||
|
||||
Reference in New Issue
Block a user