Latest generation

This commit is contained in:
ci core model
2026-08-17 09:10:19 +00:00
parent 08ecb389df
commit 1692453900
14 changed files with 908 additions and 34 deletions

View File

@@ -1,3 +1,3 @@
# CHANGELOG
Lib version: 1.15.0-SNAPSHOT-260810075252
Lib version: 1.15.0-SNAPSHOT-260817090930

View File

@@ -15,8 +15,8 @@ import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb;
import 'alias.pbenum.dart';
import 'shared.pbenum.dart' as $1;
import 'slotbooking.pbenum.dart' as $2;
import 'shared.pbenum.dart' as $2;
import 'slotbooking.pb.dart' as $1;
export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions;
@@ -25,16 +25,20 @@ export 'alias.pbenum.dart';
/// Properties specific to appointment scheduling aliases
class AliasPropertiesAppointmentScheduling extends $pb.GeneratedMessage {
factory AliasPropertiesAppointmentScheduling({
$1.AppointmentType? aptType,
$2.CommandIdentifierEntry? loadingCommandIdentifierEntry,
$2.CommandIdentifierEntry? unLoadingCommandIdentifierEntry,
$2.AppointmentType? aptType,
$1.CommandIdentifierEntry? loadingCommandIdentifierEntry,
$1.CommandIdentifierEntry? unLoadingCommandIdentifierEntry,
$core.String? actorName,
$1.ActorDateRestriction? loadingActorDateRestriction,
$1.ActorDateRestriction? unloadingActorDateRestriction,
}) {
final result = create();
if (aptType != null) result.aptType = aptType;
if (loadingCommandIdentifierEntry != null) result.loadingCommandIdentifierEntry = loadingCommandIdentifierEntry;
if (unLoadingCommandIdentifierEntry != null) result.unLoadingCommandIdentifierEntry = unLoadingCommandIdentifierEntry;
if (actorName != null) result.actorName = actorName;
if (loadingActorDateRestriction != null) result.loadingActorDateRestriction = loadingActorDateRestriction;
if (unloadingActorDateRestriction != null) result.unloadingActorDateRestriction = unloadingActorDateRestriction;
return result;
}
@@ -44,10 +48,12 @@ class AliasPropertiesAppointmentScheduling extends $pb.GeneratedMessage {
factory AliasPropertiesAppointmentScheduling.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AliasPropertiesAppointmentScheduling', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..e<$1.AppointmentType>(1, _omitFieldNames ? '' : 'AptType', $pb.PbFieldType.OE, protoName: 'AptType', defaultOrMaker: $1.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $1.AppointmentType.valueOf, enumValues: $1.AppointmentType.values)
..e<$2.CommandIdentifierEntry>(2, _omitFieldNames ? '' : 'LoadingCommandIdentifierEntry', $pb.PbFieldType.OE, protoName: 'LoadingCommandIdentifierEntry', defaultOrMaker: $2.CommandIdentifierEntry.CommandIdentifierEntry_MandatoryExceptForAllowedUsers, valueOf: $2.CommandIdentifierEntry.valueOf, enumValues: $2.CommandIdentifierEntry.values)
..e<$2.CommandIdentifierEntry>(3, _omitFieldNames ? '' : 'UnLoadingCommandIdentifierEntry', $pb.PbFieldType.OE, protoName: 'UnLoadingCommandIdentifierEntry', defaultOrMaker: $2.CommandIdentifierEntry.CommandIdentifierEntry_MandatoryExceptForAllowedUsers, valueOf: $2.CommandIdentifierEntry.valueOf, enumValues: $2.CommandIdentifierEntry.values)
..e<$2.AppointmentType>(1, _omitFieldNames ? '' : 'AptType', $pb.PbFieldType.OE, protoName: 'AptType', defaultOrMaker: $2.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $2.AppointmentType.valueOf, enumValues: $2.AppointmentType.values)
..e<$1.CommandIdentifierEntry>(2, _omitFieldNames ? '' : 'LoadingCommandIdentifierEntry', $pb.PbFieldType.OE, protoName: 'LoadingCommandIdentifierEntry', defaultOrMaker: $1.CommandIdentifierEntry.CommandIdentifierEntry_MandatoryExceptForAllowedUsers, valueOf: $1.CommandIdentifierEntry.valueOf, enumValues: $1.CommandIdentifierEntry.values)
..e<$1.CommandIdentifierEntry>(3, _omitFieldNames ? '' : 'UnLoadingCommandIdentifierEntry', $pb.PbFieldType.OE, protoName: 'UnLoadingCommandIdentifierEntry', defaultOrMaker: $1.CommandIdentifierEntry.CommandIdentifierEntry_MandatoryExceptForAllowedUsers, valueOf: $1.CommandIdentifierEntry.valueOf, enumValues: $1.CommandIdentifierEntry.values)
..aOS(4, _omitFieldNames ? '' : 'ActorName', protoName: 'ActorName')
..aOM<$1.ActorDateRestriction>(5, _omitFieldNames ? '' : 'LoadingActorDateRestriction', protoName: 'LoadingActorDateRestriction', subBuilder: $1.ActorDateRestriction.create)
..aOM<$1.ActorDateRestriction>(6, _omitFieldNames ? '' : 'UnloadingActorDateRestriction', protoName: 'UnloadingActorDateRestriction', subBuilder: $1.ActorDateRestriction.create)
..hasRequiredFields = false
;
@@ -69,9 +75,9 @@ class AliasPropertiesAppointmentScheduling extends $pb.GeneratedMessage {
static AliasPropertiesAppointmentScheduling? _defaultInstance;
@$pb.TagNumber(1)
$1.AppointmentType get aptType => $_getN(0);
$2.AppointmentType get aptType => $_getN(0);
@$pb.TagNumber(1)
set aptType($1.AppointmentType value) => $_setField(1, value);
set aptType($2.AppointmentType value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasAptType() => $_has(0);
@$pb.TagNumber(1)
@@ -79,9 +85,9 @@ class AliasPropertiesAppointmentScheduling extends $pb.GeneratedMessage {
/// CommandIdentifierEntry
@$pb.TagNumber(2)
$2.CommandIdentifierEntry get loadingCommandIdentifierEntry => $_getN(1);
$1.CommandIdentifierEntry get loadingCommandIdentifierEntry => $_getN(1);
@$pb.TagNumber(2)
set loadingCommandIdentifierEntry($2.CommandIdentifierEntry value) => $_setField(2, value);
set loadingCommandIdentifierEntry($1.CommandIdentifierEntry value) => $_setField(2, value);
@$pb.TagNumber(2)
$core.bool hasLoadingCommandIdentifierEntry() => $_has(1);
@$pb.TagNumber(2)
@@ -89,9 +95,9 @@ class AliasPropertiesAppointmentScheduling extends $pb.GeneratedMessage {
/// CommandIdentifierEntry
@$pb.TagNumber(3)
$2.CommandIdentifierEntry get unLoadingCommandIdentifierEntry => $_getN(2);
$1.CommandIdentifierEntry get unLoadingCommandIdentifierEntry => $_getN(2);
@$pb.TagNumber(3)
set unLoadingCommandIdentifierEntry($2.CommandIdentifierEntry value) => $_setField(3, value);
set unLoadingCommandIdentifierEntry($1.CommandIdentifierEntry value) => $_setField(3, value);
@$pb.TagNumber(3)
$core.bool hasUnLoadingCommandIdentifierEntry() => $_has(2);
@$pb.TagNumber(3)
@@ -106,6 +112,28 @@ class AliasPropertiesAppointmentScheduling extends $pb.GeneratedMessage {
$core.bool hasActorName() => $_has(3);
@$pb.TagNumber(4)
void clearActorName() => $_clearField(4);
@$pb.TagNumber(5)
$1.ActorDateRestriction get loadingActorDateRestriction => $_getN(4);
@$pb.TagNumber(5)
set loadingActorDateRestriction($1.ActorDateRestriction value) => $_setField(5, value);
@$pb.TagNumber(5)
$core.bool hasLoadingActorDateRestriction() => $_has(4);
@$pb.TagNumber(5)
void clearLoadingActorDateRestriction() => $_clearField(5);
@$pb.TagNumber(5)
$1.ActorDateRestriction ensureLoadingActorDateRestriction() => $_ensure(4);
@$pb.TagNumber(6)
$1.ActorDateRestriction get unloadingActorDateRestriction => $_getN(5);
@$pb.TagNumber(6)
set unloadingActorDateRestriction($1.ActorDateRestriction value) => $_setField(6, value);
@$pb.TagNumber(6)
$core.bool hasUnloadingActorDateRestriction() => $_has(5);
@$pb.TagNumber(6)
void clearUnloadingActorDateRestriction() => $_clearField(6);
@$pb.TagNumber(6)
$1.ActorDateRestriction ensureUnloadingActorDateRestriction() => $_ensure(5);
}
/// Alias represents a named link from one resource to another.

View File

@@ -36,6 +36,8 @@ const AliasPropertiesAppointmentScheduling$json = {
{'1': 'LoadingCommandIdentifierEntry', '3': 2, '4': 1, '5': 14, '6': '.api.CommandIdentifierEntry', '8': {}, '10': 'LoadingCommandIdentifierEntry'},
{'1': 'UnLoadingCommandIdentifierEntry', '3': 3, '4': 1, '5': 14, '6': '.api.CommandIdentifierEntry', '8': {}, '10': 'UnLoadingCommandIdentifierEntry'},
{'1': 'ActorName', '3': 4, '4': 1, '5': 9, '10': 'ActorName'},
{'1': 'LoadingActorDateRestriction', '3': 5, '4': 1, '5': 11, '6': '.api.ActorDateRestriction', '10': 'LoadingActorDateRestriction'},
{'1': 'UnloadingActorDateRestriction', '3': 6, '4': 1, '5': 11, '6': '.api.ActorDateRestriction', '10': 'UnloadingActorDateRestriction'},
],
};
@@ -47,7 +49,10 @@ final $typed_data.Uint8List aliasPropertiesAppointmentSchedulingDescriptor = $co
'm6gQEFggECEAFSHUxvYWRpbmdDb21tYW5kSWRlbnRpZmllckVudHJ5EnAKH1VuTG9hZGluZ0Nv'
'bW1hbmRJZGVudGlmaWVyRW50cnkYAyABKA4yGy5hcGkuQ29tbWFuZElkZW50aWZpZXJFbnRyeU'
'IJuoEBBYIBAhABUh9VbkxvYWRpbmdDb21tYW5kSWRlbnRpZmllckVudHJ5EhwKCUFjdG9yTmFt'
'ZRgEIAEoCVIJQWN0b3JOYW1l');
'ZRgEIAEoCVIJQWN0b3JOYW1lElsKG0xvYWRpbmdBY3RvckRhdGVSZXN0cmljdGlvbhgFIAEoCz'
'IZLmFwaS5BY3RvckRhdGVSZXN0cmljdGlvblIbTG9hZGluZ0FjdG9yRGF0ZVJlc3RyaWN0aW9u'
'El8KHVVubG9hZGluZ0FjdG9yRGF0ZVJlc3RyaWN0aW9uGAYgASgLMhkuYXBpLkFjdG9yRGF0ZV'
'Jlc3RyaWN0aW9uUh1VbmxvYWRpbmdBY3RvckRhdGVSZXN0cmljdGlvbg==');
@$core.Deprecated('Use aliasDescriptor instead')
const Alias$json = {

View File

@@ -1810,6 +1810,281 @@ class ComputeSLAPeriodResponse extends $pb.GeneratedMessage {
void clearEndSLA() => $_clearField(2);
}
class SLAInfoPerReference extends $pb.GeneratedMessage {
factory SLAInfoPerReference({
$core.String? refID,
$1.Period? minPeriod,
$1.Period? maxPeriod,
$core.String? minStartSearchTime,
$core.String? maxStartSearchTime,
}) {
final result = create();
if (refID != null) result.refID = refID;
if (minPeriod != null) result.minPeriod = minPeriod;
if (maxPeriod != null) result.maxPeriod = maxPeriod;
if (minStartSearchTime != null) result.minStartSearchTime = minStartSearchTime;
if (maxStartSearchTime != null) result.maxStartSearchTime = maxStartSearchTime;
return result;
}
SLAInfoPerReference._();
factory SLAInfoPerReference.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory SLAInfoPerReference.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SLAInfoPerReference', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'RefID', protoName: 'RefID')
..aOM<$1.Period>(2, _omitFieldNames ? '' : 'MinPeriod', protoName: 'MinPeriod', subBuilder: $1.Period.create)
..aOM<$1.Period>(3, _omitFieldNames ? '' : 'MaxPeriod', protoName: 'MaxPeriod', subBuilder: $1.Period.create)
..aOS(4, _omitFieldNames ? '' : 'MinStartSearchTime', protoName: 'MinStartSearchTime')
..aOS(5, _omitFieldNames ? '' : 'MaxStartSearchTime', protoName: 'MaxStartSearchTime')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
SLAInfoPerReference clone() => SLAInfoPerReference()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
SLAInfoPerReference copyWith(void Function(SLAInfoPerReference) updates) => super.copyWith((message) => updates(message as SLAInfoPerReference)) as SLAInfoPerReference;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static SLAInfoPerReference create() => SLAInfoPerReference._();
@$core.override
SLAInfoPerReference createEmptyInstance() => create();
static $pb.PbList<SLAInfoPerReference> createRepeated() => $pb.PbList<SLAInfoPerReference>();
@$core.pragma('dart2js:noInline')
static SLAInfoPerReference getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SLAInfoPerReference>(create);
static SLAInfoPerReference? _defaultInstance;
@$pb.TagNumber(1)
$core.String get refID => $_getSZ(0);
@$pb.TagNumber(1)
set refID($core.String value) => $_setString(0, value);
@$pb.TagNumber(1)
$core.bool hasRefID() => $_has(0);
@$pb.TagNumber(1)
void clearRefID() => $_clearField(1);
@$pb.TagNumber(2)
$1.Period get minPeriod => $_getN(1);
@$pb.TagNumber(2)
set minPeriod($1.Period value) => $_setField(2, value);
@$pb.TagNumber(2)
$core.bool hasMinPeriod() => $_has(1);
@$pb.TagNumber(2)
void clearMinPeriod() => $_clearField(2);
@$pb.TagNumber(2)
$1.Period ensureMinPeriod() => $_ensure(1);
@$pb.TagNumber(3)
$1.Period get maxPeriod => $_getN(2);
@$pb.TagNumber(3)
set maxPeriod($1.Period value) => $_setField(3, value);
@$pb.TagNumber(3)
$core.bool hasMaxPeriod() => $_has(2);
@$pb.TagNumber(3)
void clearMaxPeriod() => $_clearField(3);
@$pb.TagNumber(3)
$1.Period ensureMaxPeriod() => $_ensure(2);
@$pb.TagNumber(4)
$core.String get minStartSearchTime => $_getSZ(3);
@$pb.TagNumber(4)
set minStartSearchTime($core.String value) => $_setString(3, value);
@$pb.TagNumber(4)
$core.bool hasMinStartSearchTime() => $_has(3);
@$pb.TagNumber(4)
void clearMinStartSearchTime() => $_clearField(4);
@$pb.TagNumber(5)
$core.String get maxStartSearchTime => $_getSZ(4);
@$pb.TagNumber(5)
set maxStartSearchTime($core.String value) => $_setString(4, value);
@$pb.TagNumber(5)
$core.bool hasMaxStartSearchTime() => $_has(4);
@$pb.TagNumber(5)
void clearMaxStartSearchTime() => $_clearField(5);
}
class AllowedPeriod extends $pb.GeneratedMessage {
factory AllowedPeriod({
$core.String? refID,
$core.String? earliestAvailableTime,
$core.String? latestAvailableTime,
}) {
final result = create();
if (refID != null) result.refID = refID;
if (earliestAvailableTime != null) result.earliestAvailableTime = earliestAvailableTime;
if (latestAvailableTime != null) result.latestAvailableTime = latestAvailableTime;
return result;
}
AllowedPeriod._();
factory AllowedPeriod.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory AllowedPeriod.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AllowedPeriod', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'RefID', protoName: 'RefID')
..aOS(2, _omitFieldNames ? '' : 'EarliestAvailableTime', protoName: 'EarliestAvailableTime')
..aOS(3, _omitFieldNames ? '' : 'LatestAvailableTime', protoName: 'LatestAvailableTime')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
AllowedPeriod clone() => AllowedPeriod()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
AllowedPeriod copyWith(void Function(AllowedPeriod) updates) => super.copyWith((message) => updates(message as AllowedPeriod)) as AllowedPeriod;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static AllowedPeriod create() => AllowedPeriod._();
@$core.override
AllowedPeriod createEmptyInstance() => create();
static $pb.PbList<AllowedPeriod> createRepeated() => $pb.PbList<AllowedPeriod>();
@$core.pragma('dart2js:noInline')
static AllowedPeriod getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AllowedPeriod>(create);
static AllowedPeriod? _defaultInstance;
@$pb.TagNumber(1)
$core.String get refID => $_getSZ(0);
@$pb.TagNumber(1)
set refID($core.String value) => $_setString(0, value);
@$pb.TagNumber(1)
$core.bool hasRefID() => $_has(0);
@$pb.TagNumber(1)
void clearRefID() => $_clearField(1);
@$pb.TagNumber(2)
$core.String get earliestAvailableTime => $_getSZ(1);
@$pb.TagNumber(2)
set earliestAvailableTime($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasEarliestAvailableTime() => $_has(1);
@$pb.TagNumber(2)
void clearEarliestAvailableTime() => $_clearField(2);
@$pb.TagNumber(3)
$core.String get latestAvailableTime => $_getSZ(2);
@$pb.TagNumber(3)
set latestAvailableTime($core.String value) => $_setString(2, value);
@$pb.TagNumber(3)
$core.bool hasLatestAvailableTime() => $_has(2);
@$pb.TagNumber(3)
void clearLatestAvailableTime() => $_clearField(3);
}
/// ComputeReferencesSLAPeriodsRequest
class ComputeReferencesSLAPeriodRequest extends $pb.GeneratedMessage {
factory ComputeReferencesSLAPeriodRequest({
$1.RequestProjectHeader? header,
$core.String? calendarID,
$core.Iterable<SLAInfoPerReference>? sLAInfoPerReferences,
}) {
final result = create();
if (header != null) result.header = header;
if (calendarID != null) result.calendarID = calendarID;
if (sLAInfoPerReferences != null) result.sLAInfoPerReferences.addAll(sLAInfoPerReferences);
return result;
}
ComputeReferencesSLAPeriodRequest._();
factory ComputeReferencesSLAPeriodRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory ComputeReferencesSLAPeriodRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ComputeReferencesSLAPeriodRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create)
..aOS(2, _omitFieldNames ? '' : 'CalendarID', protoName: 'CalendarID')
..pc<SLAInfoPerReference>(3, _omitFieldNames ? '' : 'SLAInfoPerReferences', $pb.PbFieldType.PM, protoName: 'SLAInfoPerReferences', subBuilder: SLAInfoPerReference.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ComputeReferencesSLAPeriodRequest clone() => ComputeReferencesSLAPeriodRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ComputeReferencesSLAPeriodRequest copyWith(void Function(ComputeReferencesSLAPeriodRequest) updates) => super.copyWith((message) => updates(message as ComputeReferencesSLAPeriodRequest)) as ComputeReferencesSLAPeriodRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static ComputeReferencesSLAPeriodRequest create() => ComputeReferencesSLAPeriodRequest._();
@$core.override
ComputeReferencesSLAPeriodRequest createEmptyInstance() => create();
static $pb.PbList<ComputeReferencesSLAPeriodRequest> createRepeated() => $pb.PbList<ComputeReferencesSLAPeriodRequest>();
@$core.pragma('dart2js:noInline')
static ComputeReferencesSLAPeriodRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ComputeReferencesSLAPeriodRequest>(create);
static ComputeReferencesSLAPeriodRequest? _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)
$core.String get calendarID => $_getSZ(1);
@$pb.TagNumber(2)
set calendarID($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasCalendarID() => $_has(1);
@$pb.TagNumber(2)
void clearCalendarID() => $_clearField(2);
@$pb.TagNumber(3)
$pb.PbList<SLAInfoPerReference> get sLAInfoPerReferences => $_getList(2);
}
class ComputeReferencesSLAPeriodResponse extends $pb.GeneratedMessage {
factory ComputeReferencesSLAPeriodResponse({
$core.Iterable<AllowedPeriod>? allowedPeriods,
}) {
final result = create();
if (allowedPeriods != null) result.allowedPeriods.addAll(allowedPeriods);
return result;
}
ComputeReferencesSLAPeriodResponse._();
factory ComputeReferencesSLAPeriodResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory ComputeReferencesSLAPeriodResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ComputeReferencesSLAPeriodResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..pc<AllowedPeriod>(1, _omitFieldNames ? '' : 'AllowedPeriods', $pb.PbFieldType.PM, protoName: 'AllowedPeriods', subBuilder: AllowedPeriod.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ComputeReferencesSLAPeriodResponse clone() => ComputeReferencesSLAPeriodResponse()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ComputeReferencesSLAPeriodResponse copyWith(void Function(ComputeReferencesSLAPeriodResponse) updates) => super.copyWith((message) => updates(message as ComputeReferencesSLAPeriodResponse)) as ComputeReferencesSLAPeriodResponse;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static ComputeReferencesSLAPeriodResponse create() => ComputeReferencesSLAPeriodResponse._();
@$core.override
ComputeReferencesSLAPeriodResponse createEmptyInstance() => create();
static $pb.PbList<ComputeReferencesSLAPeriodResponse> createRepeated() => $pb.PbList<ComputeReferencesSLAPeriodResponse>();
@$core.pragma('dart2js:noInline')
static ComputeReferencesSLAPeriodResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ComputeReferencesSLAPeriodResponse>(create);
static ComputeReferencesSLAPeriodResponse? _defaultInstance;
@$pb.TagNumber(1)
$pb.PbList<AllowedPeriod> get allowedPeriods => $_getList(0);
}
/// Delete all calendars for an organisation
class DeleteAllForOrganisationRequest extends $pb.GeneratedMessage {
factory DeleteAllForOrganisationRequest({

View File

@@ -92,6 +92,10 @@ class CalendarServiceClient extends $grpc.Client {
return $createUnaryCall(_$computeSLAPeriodOnSite, request, options: options);
}
$grpc.ResponseFuture<$0.ComputeReferencesSLAPeriodResponse> computeReferencesSLAPeriod($0.ComputeReferencesSLAPeriodRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$computeReferencesSLAPeriod, request, options: options);
}
// method descriptors
static final _$createOnOrganisation = $grpc.ClientMethod<$0.CreateOnOrganisationRequest, $0.CreateOnOrganisationResponse>(
@@ -154,6 +158,10 @@ class CalendarServiceClient extends $grpc.Client {
'/api.CalendarService/ComputeSLAPeriodOnSite',
($0.ComputeSLAPeriodOnSiteRequest value) => value.writeToBuffer(),
$0.ComputeSLAPeriodResponse.fromBuffer);
static final _$computeReferencesSLAPeriod = $grpc.ClientMethod<$0.ComputeReferencesSLAPeriodRequest, $0.ComputeReferencesSLAPeriodResponse>(
'/api.CalendarService/ComputeReferencesSLAPeriod',
($0.ComputeReferencesSLAPeriodRequest value) => value.writeToBuffer(),
$0.ComputeReferencesSLAPeriodResponse.fromBuffer);
}
@$pb.GrpcServiceName('api.CalendarService')
@@ -266,6 +274,13 @@ abstract class CalendarServiceBase extends $grpc.Service {
false,
($core.List<$core.int> value) => $0.ComputeSLAPeriodOnSiteRequest.fromBuffer(value),
($0.ComputeSLAPeriodResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.ComputeReferencesSLAPeriodRequest, $0.ComputeReferencesSLAPeriodResponse>(
'ComputeReferencesSLAPeriod',
computeReferencesSLAPeriod_Pre,
false,
false,
($core.List<$core.int> value) => $0.ComputeReferencesSLAPeriodRequest.fromBuffer(value),
($0.ComputeReferencesSLAPeriodResponse value) => value.writeToBuffer()));
}
$async.Future<$0.CreateOnOrganisationResponse> createOnOrganisation_Pre($grpc.ServiceCall $call, $async.Future<$0.CreateOnOrganisationRequest> $request) async {
@@ -358,4 +373,10 @@ abstract class CalendarServiceBase extends $grpc.Service {
$async.Future<$0.ComputeSLAPeriodResponse> computeSLAPeriodOnSite($grpc.ServiceCall call, $0.ComputeSLAPeriodOnSiteRequest request);
$async.Future<$0.ComputeReferencesSLAPeriodResponse> computeReferencesSLAPeriod_Pre($grpc.ServiceCall $call, $async.Future<$0.ComputeReferencesSLAPeriodRequest> $request) async {
return computeReferencesSLAPeriod($call, await $request);
}
$async.Future<$0.ComputeReferencesSLAPeriodResponse> computeReferencesSLAPeriod($grpc.ServiceCall call, $0.ComputeReferencesSLAPeriodRequest request);
}

View File

@@ -476,6 +476,74 @@ final $typed_data.Uint8List computeSLAPeriodResponseDescriptor = $convert.base64
'ChhDb21wdXRlU0xBUGVyaW9kUmVzcG9uc2USGgoIU3RhcnRTTEEYASABKAlSCFN0YXJ0U0xBEh'
'YKBkVuZFNMQRgCIAEoCVIGRW5kU0xB');
@$core.Deprecated('Use sLAInfoPerReferenceDescriptor instead')
const SLAInfoPerReference$json = {
'1': 'SLAInfoPerReference',
'2': [
{'1': 'RefID', '3': 1, '4': 1, '5': 9, '10': 'RefID'},
{'1': 'MinPeriod', '3': 2, '4': 1, '5': 11, '6': '.api.Period', '10': 'MinPeriod'},
{'1': 'MinStartSearchTime', '3': 4, '4': 1, '5': 9, '10': 'MinStartSearchTime'},
{'1': 'MaxPeriod', '3': 3, '4': 1, '5': 11, '6': '.api.Period', '10': 'MaxPeriod'},
{'1': 'MaxStartSearchTime', '3': 5, '4': 1, '5': 9, '10': 'MaxStartSearchTime'},
],
};
/// Descriptor for `SLAInfoPerReference`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List sLAInfoPerReferenceDescriptor = $convert.base64Decode(
'ChNTTEFJbmZvUGVyUmVmZXJlbmNlEhQKBVJlZklEGAEgASgJUgVSZWZJRBIpCglNaW5QZXJpb2'
'QYAiABKAsyCy5hcGkuUGVyaW9kUglNaW5QZXJpb2QSLgoSTWluU3RhcnRTZWFyY2hUaW1lGAQg'
'ASgJUhJNaW5TdGFydFNlYXJjaFRpbWUSKQoJTWF4UGVyaW9kGAMgASgLMgsuYXBpLlBlcmlvZF'
'IJTWF4UGVyaW9kEi4KEk1heFN0YXJ0U2VhcmNoVGltZRgFIAEoCVISTWF4U3RhcnRTZWFyY2hU'
'aW1l');
@$core.Deprecated('Use allowedPeriodDescriptor instead')
const AllowedPeriod$json = {
'1': 'AllowedPeriod',
'2': [
{'1': 'RefID', '3': 1, '4': 1, '5': 9, '10': 'RefID'},
{'1': 'EarliestAvailableTime', '3': 2, '4': 1, '5': 9, '10': 'EarliestAvailableTime'},
{'1': 'LatestAvailableTime', '3': 3, '4': 1, '5': 9, '10': 'LatestAvailableTime'},
],
};
/// Descriptor for `AllowedPeriod`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List allowedPeriodDescriptor = $convert.base64Decode(
'Cg1BbGxvd2VkUGVyaW9kEhQKBVJlZklEGAEgASgJUgVSZWZJRBI0ChVFYXJsaWVzdEF2YWlsYW'
'JsZVRpbWUYAiABKAlSFUVhcmxpZXN0QXZhaWxhYmxlVGltZRIwChNMYXRlc3RBdmFpbGFibGVU'
'aW1lGAMgASgJUhNMYXRlc3RBdmFpbGFibGVUaW1l');
@$core.Deprecated('Use computeReferencesSLAPeriodRequestDescriptor instead')
const ComputeReferencesSLAPeriodRequest$json = {
'1': 'ComputeReferencesSLAPeriodRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'CalendarID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'CalendarID'},
{'1': 'SLAInfoPerReferences', '3': 3, '4': 3, '5': 11, '6': '.api.SLAInfoPerReference', '8': {}, '10': 'SLAInfoPerReferences'},
],
'7': {},
};
/// Descriptor for `ComputeReferencesSLAPeriodRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List computeReferencesSLAPeriodRequestDescriptor = $convert.base64Decode(
'CiFDb21wdXRlUmVmZXJlbmNlc1NMQVBlcmlvZFJlcXVlc3QSPAoGSGVhZGVyGAEgASgLMhkuYX'
'BpLlJlcXVlc3RQcm9qZWN0SGVhZGVyQgm6gQEFigECEAFSBkhlYWRlchIoCgpDYWxlbmRhcklE'
'GAIgASgJQgi6gQEEcgIQAVIKQ2FsZW5kYXJJRBJXChRTTEFJbmZvUGVyUmVmZXJlbmNlcxgDIA'
'MoCzIYLmFwaS5TTEFJbmZvUGVyUmVmZXJlbmNlQgm6gQEFkgECCAFSFFNMQUluZm9QZXJSZWZl'
'cmVuY2VzOiaSQSMKIdIBBkhlYWRlctIBCkNhbGVuZGFySUTSAQhTTEFJbmZvcw==');
@$core.Deprecated('Use computeReferencesSLAPeriodResponseDescriptor instead')
const ComputeReferencesSLAPeriodResponse$json = {
'1': 'ComputeReferencesSLAPeriodResponse',
'2': [
{'1': 'AllowedPeriods', '3': 1, '4': 3, '5': 11, '6': '.api.AllowedPeriod', '10': 'AllowedPeriods'},
],
};
/// Descriptor for `ComputeReferencesSLAPeriodResponse`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List computeReferencesSLAPeriodResponseDescriptor = $convert.base64Decode(
'CiJDb21wdXRlUmVmZXJlbmNlc1NMQVBlcmlvZFJlc3BvbnNlEjoKDkFsbG93ZWRQZXJpb2RzGA'
'EgAygLMhIuYXBpLkFsbG93ZWRQZXJpb2RSDkFsbG93ZWRQZXJpb2Rz');
@$core.Deprecated('Use deleteAllForOrganisationRequestDescriptor instead')
const DeleteAllForOrganisationRequest$json = {
'1': 'DeleteAllForOrganisationRequest',

View File

@@ -1440,6 +1440,8 @@ class CheckAppointmentCommissionRequest extends $pb.GeneratedMessage {
$core.String? actorID,
$2.AppointmentCommission? appointmentCommission,
$core.String? appointmentID,
$core.String? startDate,
$core.String? endDate,
}) {
final result = create();
if (header != null) result.header = header;
@@ -1448,6 +1450,8 @@ class CheckAppointmentCommissionRequest extends $pb.GeneratedMessage {
if (actorID != null) result.actorID = actorID;
if (appointmentCommission != null) result.appointmentCommission = appointmentCommission;
if (appointmentID != null) result.appointmentID = appointmentID;
if (startDate != null) result.startDate = startDate;
if (endDate != null) result.endDate = endDate;
return result;
}
@@ -1463,6 +1467,8 @@ class CheckAppointmentCommissionRequest extends $pb.GeneratedMessage {
..aOS(4, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID')
..aOM<$2.AppointmentCommission>(5, _omitFieldNames ? '' : 'AppointmentCommission', protoName: 'AppointmentCommission', subBuilder: $2.AppointmentCommission.create)
..aOS(6, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID')
..aOS(7, _omitFieldNames ? '' : 'StartDate', protoName: 'StartDate')
..aOS(8, _omitFieldNames ? '' : 'EndDate', protoName: 'EndDate')
..hasRequiredFields = false
;
@@ -1556,6 +1562,187 @@ class CheckAppointmentCommissionRequest extends $pb.GeneratedMessage {
$core.bool hasAppointmentID() => $_has(5);
@$pb.TagNumber(6)
void clearAppointmentID() => $_clearField(6);
@$pb.TagNumber(7)
$core.String get startDate => $_getSZ(6);
@$pb.TagNumber(7)
set startDate($core.String value) => $_setString(6, value);
@$pb.TagNumber(7)
$core.bool hasStartDate() => $_has(6);
@$pb.TagNumber(7)
void clearStartDate() => $_clearField(7);
@$pb.TagNumber(8)
$core.String get endDate => $_getSZ(7);
@$pb.TagNumber(8)
set endDate($core.String value) => $_setString(7, value);
@$pb.TagNumber(8)
$core.bool hasEndDate() => $_has(7);
@$pb.TagNumber(8)
void clearEndDate() => $_clearField(8);
}
/// ValidateAppointmentCommissions
class ValidateAppointmentContentRequest extends $pb.GeneratedMessage {
factory ValidateAppointmentContentRequest({
$3.RequestProjectHeader? header,
$3.AppointmentType? appointmentType,
$2.AppointmentContent? loading,
$2.AppointmentContent? unloading,
$core.String? appointmentID,
}) {
final result = create();
if (header != null) result.header = header;
if (appointmentType != null) result.appointmentType = appointmentType;
if (loading != null) result.loading = loading;
if (unloading != null) result.unloading = unloading;
if (appointmentID != null) result.appointmentID = appointmentID;
return result;
}
ValidateAppointmentContentRequest._();
factory ValidateAppointmentContentRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory ValidateAppointmentContentRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ValidateAppointmentContentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<$3.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $3.RequestProjectHeader.create)
..e<$3.AppointmentType>(2, _omitFieldNames ? '' : 'AppointmentType', $pb.PbFieldType.OE, protoName: 'AppointmentType', defaultOrMaker: $3.AppointmentType.APPOINTMENT_TYPE_UNKNOWN, valueOf: $3.AppointmentType.valueOf, enumValues: $3.AppointmentType.values)
..aOM<$2.AppointmentContent>(3, _omitFieldNames ? '' : 'Loading', protoName: 'Loading', subBuilder: $2.AppointmentContent.create)
..aOM<$2.AppointmentContent>(4, _omitFieldNames ? '' : 'Unloading', protoName: 'Unloading', subBuilder: $2.AppointmentContent.create)
..aOS(5, _omitFieldNames ? '' : 'AppointmentID', protoName: 'AppointmentID')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ValidateAppointmentContentRequest clone() => ValidateAppointmentContentRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ValidateAppointmentContentRequest copyWith(void Function(ValidateAppointmentContentRequest) updates) => super.copyWith((message) => updates(message as ValidateAppointmentContentRequest)) as ValidateAppointmentContentRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static ValidateAppointmentContentRequest create() => ValidateAppointmentContentRequest._();
@$core.override
ValidateAppointmentContentRequest createEmptyInstance() => create();
static $pb.PbList<ValidateAppointmentContentRequest> createRepeated() => $pb.PbList<ValidateAppointmentContentRequest>();
@$core.pragma('dart2js:noInline')
static ValidateAppointmentContentRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ValidateAppointmentContentRequest>(create);
static ValidateAppointmentContentRequest? _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);
/// Type of appointment : Loading / Unloading / Both
@$pb.TagNumber(2)
$3.AppointmentType get appointmentType => $_getN(1);
@$pb.TagNumber(2)
set appointmentType($3.AppointmentType value) => $_setField(2, value);
@$pb.TagNumber(2)
$core.bool hasAppointmentType() => $_has(1);
@$pb.TagNumber(2)
void clearAppointmentType() => $_clearField(2);
/// List of commissions to check
/// repeated AppointmentCommission AppointmentCommissions = 3;
@$pb.TagNumber(3)
$2.AppointmentContent get loading => $_getN(2);
@$pb.TagNumber(3)
set loading($2.AppointmentContent value) => $_setField(3, value);
@$pb.TagNumber(3)
$core.bool hasLoading() => $_has(2);
@$pb.TagNumber(3)
void clearLoading() => $_clearField(3);
@$pb.TagNumber(3)
$2.AppointmentContent ensureLoading() => $_ensure(2);
@$pb.TagNumber(4)
$2.AppointmentContent get unloading => $_getN(3);
@$pb.TagNumber(4)
set unloading($2.AppointmentContent value) => $_setField(4, value);
@$pb.TagNumber(4)
$core.bool hasUnloading() => $_has(3);
@$pb.TagNumber(4)
void clearUnloading() => $_clearField(4);
@$pb.TagNumber(4)
$2.AppointmentContent ensureUnloading() => $_ensure(3);
/// In case of modification of an existing appointment, the ID of the appointment that will be modified.
@$pb.TagNumber(5)
$core.String get appointmentID => $_getSZ(4);
@$pb.TagNumber(5)
set appointmentID($core.String value) => $_setString(4, value);
@$pb.TagNumber(5)
$core.bool hasAppointmentID() => $_has(4);
@$pb.TagNumber(5)
void clearAppointmentID() => $_clearField(5);
}
class ValidateAppointmentContentResponse extends $pb.GeneratedMessage {
factory ValidateAppointmentContentResponse({
$core.String? startDate,
$core.String? endDate,
}) {
final result = create();
if (startDate != null) result.startDate = startDate;
if (endDate != null) result.endDate = endDate;
return result;
}
ValidateAppointmentContentResponse._();
factory ValidateAppointmentContentResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory ValidateAppointmentContentResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ValidateAppointmentContentResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'StartDate', protoName: 'StartDate')
..aOS(2, _omitFieldNames ? '' : 'EndDate', protoName: 'EndDate')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ValidateAppointmentContentResponse clone() => ValidateAppointmentContentResponse()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ValidateAppointmentContentResponse copyWith(void Function(ValidateAppointmentContentResponse) updates) => super.copyWith((message) => updates(message as ValidateAppointmentContentResponse)) as ValidateAppointmentContentResponse;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static ValidateAppointmentContentResponse create() => ValidateAppointmentContentResponse._();
@$core.override
ValidateAppointmentContentResponse createEmptyInstance() => create();
static $pb.PbList<ValidateAppointmentContentResponse> createRepeated() => $pb.PbList<ValidateAppointmentContentResponse>();
@$core.pragma('dart2js:noInline')
static ValidateAppointmentContentResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ValidateAppointmentContentResponse>(create);
static ValidateAppointmentContentResponse? _defaultInstance;
@$pb.TagNumber(1)
$core.String get startDate => $_getSZ(0);
@$pb.TagNumber(1)
set startDate($core.String value) => $_setString(0, value);
@$pb.TagNumber(1)
$core.bool hasStartDate() => $_has(0);
@$pb.TagNumber(1)
void clearStartDate() => $_clearField(1);
@$pb.TagNumber(2)
$core.String get endDate => $_getSZ(1);
@$pb.TagNumber(2)
set endDate($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasEndDate() => $_has(1);
@$pb.TagNumber(2)
void clearEndDate() => $_clearField(2);
}
class PossibleReference extends $pb.GeneratedMessage {

View File

@@ -60,6 +60,10 @@ class SiteServiceClient extends $grpc.Client {
return $createUnaryCall(_$checkAppointmentCommission, request, options: options);
}
$grpc.ResponseFuture<$0.ValidateAppointmentContentResponse> validateAppointmentContent($0.ValidateAppointmentContentRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$validateAppointmentContent, request, options: options);
}
$grpc.ResponseFuture<$0.DeleteSettingsResult> deleteSettings($0.DeleteSettingsRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$deleteSettings, request, options: options);
}
@@ -142,6 +146,10 @@ class SiteServiceClient extends $grpc.Client {
'/api.SiteService/CheckAppointmentCommission',
($0.CheckAppointmentCommissionRequest value) => value.writeToBuffer(),
$0.CheckAppointmentCommissionResponse.fromBuffer);
static final _$validateAppointmentContent = $grpc.ClientMethod<$0.ValidateAppointmentContentRequest, $0.ValidateAppointmentContentResponse>(
'/api.SiteService/ValidateAppointmentContent',
($0.ValidateAppointmentContentRequest value) => value.writeToBuffer(),
$0.ValidateAppointmentContentResponse.fromBuffer);
static final _$deleteSettings = $grpc.ClientMethod<$0.DeleteSettingsRequest, $0.DeleteSettingsResult>(
'/api.SiteService/DeleteSettings',
($0.DeleteSettingsRequest value) => value.writeToBuffer(),
@@ -250,6 +258,13 @@ abstract class SiteServiceBase extends $grpc.Service {
false,
($core.List<$core.int> value) => $0.CheckAppointmentCommissionRequest.fromBuffer(value),
($0.CheckAppointmentCommissionResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.ValidateAppointmentContentRequest, $0.ValidateAppointmentContentResponse>(
'ValidateAppointmentContent',
validateAppointmentContent_Pre,
false,
false,
($core.List<$core.int> value) => $0.ValidateAppointmentContentRequest.fromBuffer(value),
($0.ValidateAppointmentContentResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.DeleteSettingsRequest, $0.DeleteSettingsResult>(
'DeleteSettings',
deleteSettings_Pre,
@@ -385,6 +400,12 @@ abstract class SiteServiceBase extends $grpc.Service {
$async.Future<$0.CheckAppointmentCommissionResponse> checkAppointmentCommission($grpc.ServiceCall call, $0.CheckAppointmentCommissionRequest request);
$async.Future<$0.ValidateAppointmentContentResponse> validateAppointmentContent_Pre($grpc.ServiceCall $call, $async.Future<$0.ValidateAppointmentContentRequest> $request) async {
return validateAppointmentContent($call, await $request);
}
$async.Future<$0.ValidateAppointmentContentResponse> validateAppointmentContent($grpc.ServiceCall call, $0.ValidateAppointmentContentRequest request);
$async.Future<$0.DeleteSettingsResult> deleteSettings_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteSettingsRequest> $request) async {
return deleteSettings($call, await $request);
}

View File

@@ -401,6 +401,8 @@ const CheckAppointmentCommissionRequest$json = {
},
{'1': 'AppointmentCommission', '3': 5, '4': 1, '5': 11, '6': '.api.AppointmentCommission', '10': 'AppointmentCommission'},
{'1': 'AppointmentID', '3': 6, '4': 1, '5': 9, '10': 'AppointmentID'},
{'1': 'StartDate', '3': 7, '4': 1, '5': 9, '8': {}, '10': 'StartDate'},
{'1': 'EndDate', '3': 8, '4': 1, '5': 9, '8': {}, '10': 'EndDate'},
],
'7': {},
};
@@ -413,8 +415,50 @@ final $typed_data.Uint8List checkAppointmentCommissionRequestDescriptor = $conve
'50VHlwZRIzCgpDb21taXNzaW9uGAMgASgLMg8uYXBpLkNvbW1pc3Npb25CAhgBUgpDb21taXNz'
'aW9uEhwKB0FjdG9ySUQYBCABKAlCAhgBUgdBY3RvcklEElAKFUFwcG9pbnRtZW50Q29tbWlzc2'
'lvbhgFIAEoCzIaLmFwaS5BcHBvaW50bWVudENvbW1pc3Npb25SFUFwcG9pbnRtZW50Q29tbWlz'
'c2lvbhIkCg1BcHBvaW50bWVudElEGAYgASgJUg1BcHBvaW50bWVudElEOiCSQR0KG9IBBkhlYW'
'RlctIBD0FwcG9pbnRtZW50VHlwZQ==');
'c2lvbhIkCg1BcHBvaW50bWVudElEGAYgASgJUg1BcHBvaW50bWVudElEEpkBCglTdGFydERhdG'
'UYByABKAlCe5JBOIoBNV4yMFswLTldezJ9LSgwWzEtOV18MVswLTJdKS0oMFsxLTldfFsxMl1b'
'MC05XXwzWzAxXSkkuoEBPHI6MjVeMjBbMC05XXsyfS0oMFsxLTldfDFbMC0yXSktKDBbMS05XX'
'xbMTJdWzAtOV18M1swMV0pJPABAVIJU3RhcnREYXRlEpUBCgdFbmREYXRlGAggASgJQnuSQTiK'
'ATVeMjBbMC05XXsyfS0oMFsxLTldfDFbMC0yXSktKDBbMS05XXxbMTJdWzAtOV18M1swMV0pJL'
'qBATxyOjI1XjIwWzAtOV17Mn0tKDBbMS05XXwxWzAtMl0pLSgwWzEtOV18WzEyXVswLTldfDNb'
'MDFdKSTwAQFSB0VuZERhdGU6IJJBHQob0gEGSGVhZGVy0gEPQXBwb2ludG1lbnRUeXBl');
@$core.Deprecated('Use validateAppointmentContentRequestDescriptor instead')
const ValidateAppointmentContentRequest$json = {
'1': 'ValidateAppointmentContentRequest',
'2': [
{'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'},
{'1': 'AppointmentType', '3': 2, '4': 1, '5': 14, '6': '.api.AppointmentType', '8': {}, '10': 'AppointmentType'},
{'1': 'Loading', '3': 3, '4': 1, '5': 11, '6': '.api.AppointmentContent', '10': 'Loading'},
{'1': 'Unloading', '3': 4, '4': 1, '5': 11, '6': '.api.AppointmentContent', '10': 'Unloading'},
{'1': 'AppointmentID', '3': 5, '4': 1, '5': 9, '10': 'AppointmentID'},
],
'7': {},
};
/// Descriptor for `ValidateAppointmentContentRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List validateAppointmentContentRequestDescriptor = $convert.base64Decode(
'CiFWYWxpZGF0ZUFwcG9pbnRtZW50Q29udGVudFJlcXVlc3QSPAoGSGVhZGVyGAEgASgLMhkuYX'
'BpLlJlcXVlc3RQcm9qZWN0SGVhZGVyQgm6gQEFigECEAFSBkhlYWRlchJJCg9BcHBvaW50bWVu'
'dFR5cGUYAiABKA4yFC5hcGkuQXBwb2ludG1lbnRUeXBlQgm6gQEFggECEAFSD0FwcG9pbnRtZW'
'50VHlwZRIxCgdMb2FkaW5nGAMgASgLMhcuYXBpLkFwcG9pbnRtZW50Q29udGVudFIHTG9hZGlu'
'ZxI1CglVbmxvYWRpbmcYBCABKAsyFy5hcGkuQXBwb2ludG1lbnRDb250ZW50UglVbmxvYWRpbm'
'cSJAoNQXBwb2ludG1lbnRJRBgFIAEoCVINQXBwb2ludG1lbnRJRDogkkEdChvSAQZIZWFkZXLS'
'AQ9BcHBvaW50bWVudFR5cGU=');
@$core.Deprecated('Use validateAppointmentContentResponseDescriptor instead')
const ValidateAppointmentContentResponse$json = {
'1': 'ValidateAppointmentContentResponse',
'2': [
{'1': 'StartDate', '3': 1, '4': 1, '5': 9, '10': 'StartDate'},
{'1': 'EndDate', '3': 2, '4': 1, '5': 9, '10': 'EndDate'},
],
};
/// Descriptor for `ValidateAppointmentContentResponse`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List validateAppointmentContentResponseDescriptor = $convert.base64Decode(
'CiJWYWxpZGF0ZUFwcG9pbnRtZW50Q29udGVudFJlc3BvbnNlEhwKCVN0YXJ0RGF0ZRgBIAEoCV'
'IJU3RhcnREYXRlEhgKB0VuZERhdGUYAiABKAlSB0VuZERhdGU=');
@$core.Deprecated('Use possibleReferenceDescriptor instead')
const PossibleReference$json = {

View File

@@ -49,20 +49,21 @@ final $typed_data.Uint8List getBookingSlotsRequestDescriptor = $convert.base64De
'VnbWVudGF0aW9uU2VsZWN0aW9ucxgEIAMoCzIaLmFwaS5TZWdtZW50YXRpb25TZWxlY3Rpb25C'
'AhgBUhZTZWdtZW50YXRpb25TZWxlY3Rpb25zEmMKEFNlZ21lbnRhdGlvbktleXMYDiADKAsyFC'
'5hcGkuTWV0YWRhdGFFbGVtZW50QiGSQRMyEVNlZ21lbnRhdGlvbiBrZXlzwMEYAerBGANLZXlS'
'EFNlZ21lbnRhdGlvbktleXMScAoJU3RhcnREYXRlGAUgASgJQlKSQRKKAQ9eW2EtekEtWjAtOS'
'1dKyS6gQE5cjcyNV4yMFswLTldezJ9LSgwWzEtOV18MVswLTJdKS0oMFsxLTldfFsxMl1bMC05'
'XXwzWzAxXSkkUglTdGFydERhdGUSbAoHRW5kRGF0ZRgGIAEoCUJSkkESigEPXlthLXpBLVowLT'
'ktXSskuoEBOXI3MjVeMjBbMC05XXsyfS0oMFsxLTldfDFbMC0yXSktKDBbMS05XXxbMTJdWzAt'
'OV18M1swMV0pJFIHRW5kRGF0ZRI0ChVTa2lwcGVkQXBwb2ludG1lbnRJRHMYByADKAlSFVNraX'
'BwZWRBcHBvaW50bWVudElEcxIxCgdMb2FkaW5nGAogASgLMhcuYXBpLkFwcG9pbnRtZW50Q29u'
'dGVudFIHTG9hZGluZxI1CglVbmxvYWRpbmcYCyABKAsyFy5hcGkuQXBwb2ludG1lbnRDb250ZW'
'50UglVbmxvYWRpbmcScgoSQ2FycmllckluZm9ybWF0aW9uGAwgAygLMhQuYXBpLk1ldGFkYXRh'
'RWxlbWVudEIskkEeMhxDYXJyaWVyIGluZm9ybWF0aW9uIG1ldGFkYXRhwMEYAerBGANLZXlSEk'
'NhcnJpZXJJbmZvcm1hdGlvbhLHAQoITWV0YURhdGEYDSADKAsyFC5hcGkuTWV0YWRhdGFFbGVt'
'ZW50QpQBkkGFATKCAU1ldGFkYXRhIGFyZSBjaGFyYWN0ZXJpc3RpY3Mgc3BlY2lmaWMgdG8gdG'
'hlIHNpdGUuIFRoZXkgY2FuIGJlIG9mIHNldmVyYWwgZGF0YSBmb3JtIChzdHJpbmcsIGludGVn'
'ZXIsIGZsb2F0LCBib29sZWFuIG9yIHRpbWVzdGFtcCnAwRgB6sEYA0tleVIITWV0YURhdGE6IJ'
'JBHQob0gEGSGVhZGVy0gEPQXBwb2ludG1lbnRUeXBl');
'EFNlZ21lbnRhdGlvbktleXMSlgEKCVN0YXJ0RGF0ZRgFIAEoCUJ4kkE4igE1XjIwWzAtOV17Mn'
'0tKDBbMS05XXwxWzAtMl0pLSgwWzEtOV18WzEyXVswLTldfDNbMDFdKSS6gQE5cjcyNV4yMFsw'
'LTldezJ9LSgwWzEtOV18MVswLTJdKS0oMFsxLTldfFsxMl1bMC05XXwzWzAxXSkkUglTdGFydE'
'RhdGUSkgEKB0VuZERhdGUYBiABKAlCeJJBOIoBNV4yMFswLTldezJ9LSgwWzEtOV18MVswLTJd'
'KS0oMFsxLTldfFsxMl1bMC05XXwzWzAxXSkkuoEBOXI3MjVeMjBbMC05XXsyfS0oMFsxLTldfD'
'FbMC0yXSktKDBbMS05XXxbMTJdWzAtOV18M1swMV0pJFIHRW5kRGF0ZRI0ChVTa2lwcGVkQXBw'
'b2ludG1lbnRJRHMYByADKAlSFVNraXBwZWRBcHBvaW50bWVudElEcxIxCgdMb2FkaW5nGAogAS'
'gLMhcuYXBpLkFwcG9pbnRtZW50Q29udGVudFIHTG9hZGluZxI1CglVbmxvYWRpbmcYCyABKAsy'
'Fy5hcGkuQXBwb2ludG1lbnRDb250ZW50UglVbmxvYWRpbmcScgoSQ2FycmllckluZm9ybWF0aW'
'9uGAwgAygLMhQuYXBpLk1ldGFkYXRhRWxlbWVudEIskkEeMhxDYXJyaWVyIGluZm9ybWF0aW9u'
'IG1ldGFkYXRhwMEYAerBGANLZXlSEkNhcnJpZXJJbmZvcm1hdGlvbhLHAQoITWV0YURhdGEYDS'
'ADKAsyFC5hcGkuTWV0YWRhdGFFbGVtZW50QpQBkkGFATKCAU1ldGFkYXRhIGFyZSBjaGFyYWN0'
'ZXJpc3RpY3Mgc3BlY2lmaWMgdG8gdGhlIHNpdGUuIFRoZXkgY2FuIGJlIG9mIHNldmVyYWwgZG'
'F0YSBmb3JtIChzdHJpbmcsIGludGVnZXIsIGZsb2F0LCBib29sZWFuIG9yIHRpbWVzdGFtcCnA'
'wRgB6sEYA0tleVIITWV0YURhdGE6IJJBHQob0gEGSGVhZGVy0gEPQXBwb2ludG1lbnRUeXBl');
@$core.Deprecated('Use getBookingSlotsResponseDescriptor instead')
const GetBookingSlotsResponse$json = {

View File

@@ -1465,18 +1465,157 @@ class ActorAuthorisation extends $pb.GeneratedMessage {
ActorConstraint ensureLoadingConstraint() => $_ensure(1);
}
class DateRestriction extends $pb.GeneratedMessage {
factory DateRestriction({
DateRestrictionType? type,
$core.String? restrictionField,
$fixnum.Int64? restrictionValue,
}) {
final result = create();
if (type != null) result.type = type;
if (restrictionField != null) result.restrictionField = restrictionField;
if (restrictionValue != null) result.restrictionValue = restrictionValue;
return result;
}
DateRestriction._();
factory DateRestriction.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory DateRestriction.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DateRestriction', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..e<DateRestrictionType>(1, _omitFieldNames ? '' : 'Type', $pb.PbFieldType.OE, protoName: 'Type', defaultOrMaker: DateRestrictionType.DATE_RESTRICTION_TYPE_UNKNOWN, valueOf: DateRestrictionType.valueOf, enumValues: DateRestrictionType.values)
..aOS(2, _omitFieldNames ? '' : 'RestrictionField', protoName: 'RestrictionField')
..aInt64(3, _omitFieldNames ? '' : 'RestrictionValue', protoName: 'RestrictionValue')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
DateRestriction clone() => DateRestriction()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
DateRestriction copyWith(void Function(DateRestriction) updates) => super.copyWith((message) => updates(message as DateRestriction)) as DateRestriction;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static DateRestriction create() => DateRestriction._();
@$core.override
DateRestriction createEmptyInstance() => create();
static $pb.PbList<DateRestriction> createRepeated() => $pb.PbList<DateRestriction>();
@$core.pragma('dart2js:noInline')
static DateRestriction getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DateRestriction>(create);
static DateRestriction? _defaultInstance;
/// Type of restriction applied on the date field.
@$pb.TagNumber(1)
DateRestrictionType get type => $_getN(0);
@$pb.TagNumber(1)
set type(DateRestrictionType value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasType() => $_has(0);
@$pb.TagNumber(1)
void clearType() => $_clearField(1);
/// Date to use for computing the limitation.
@$pb.TagNumber(2)
$core.String get restrictionField => $_getSZ(1);
@$pb.TagNumber(2)
set restrictionField($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasRestrictionField() => $_has(1);
@$pb.TagNumber(2)
void clearRestrictionField() => $_clearField(2);
/// Value of the restriction, in open days, to apply on the date field.
@$pb.TagNumber(3)
$fixnum.Int64 get restrictionValue => $_getI64(2);
@$pb.TagNumber(3)
set restrictionValue($fixnum.Int64 value) => $_setInt64(2, value);
@$pb.TagNumber(3)
$core.bool hasRestrictionValue() => $_has(2);
@$pb.TagNumber(3)
void clearRestrictionValue() => $_clearField(3);
}
class ActorDateRestriction extends $pb.GeneratedMessage {
factory ActorDateRestriction({
DateRestriction? earliestDateRestriction,
DateRestriction? latestDateRestriction,
}) {
final result = create();
if (earliestDateRestriction != null) result.earliestDateRestriction = earliestDateRestriction;
if (latestDateRestriction != null) result.latestDateRestriction = latestDateRestriction;
return result;
}
ActorDateRestriction._();
factory ActorDateRestriction.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory ActorDateRestriction.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ActorDateRestriction', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<DateRestriction>(1, _omitFieldNames ? '' : 'EarliestDateRestriction', protoName: 'EarliestDateRestriction', subBuilder: DateRestriction.create)
..aOM<DateRestriction>(2, _omitFieldNames ? '' : 'LatestDateRestriction', protoName: 'LatestDateRestriction', subBuilder: DateRestriction.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ActorDateRestriction clone() => ActorDateRestriction()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
ActorDateRestriction copyWith(void Function(ActorDateRestriction) updates) => super.copyWith((message) => updates(message as ActorDateRestriction)) as ActorDateRestriction;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static ActorDateRestriction create() => ActorDateRestriction._();
@$core.override
ActorDateRestriction createEmptyInstance() => create();
static $pb.PbList<ActorDateRestriction> createRepeated() => $pb.PbList<ActorDateRestriction>();
@$core.pragma('dart2js:noInline')
static ActorDateRestriction getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ActorDateRestriction>(create);
static ActorDateRestriction? _defaultInstance;
/// Configuration of the date field to be used to calculate the earliest available date restriction on booking
@$pb.TagNumber(1)
DateRestriction get earliestDateRestriction => $_getN(0);
@$pb.TagNumber(1)
set earliestDateRestriction(DateRestriction value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasEarliestDateRestriction() => $_has(0);
@$pb.TagNumber(1)
void clearEarliestDateRestriction() => $_clearField(1);
@$pb.TagNumber(1)
DateRestriction ensureEarliestDateRestriction() => $_ensure(0);
/// Configuration of the date field to be used to calculate the latest available date restriction on booking
@$pb.TagNumber(2)
DateRestriction get latestDateRestriction => $_getN(1);
@$pb.TagNumber(2)
set latestDateRestriction(DateRestriction value) => $_setField(2, value);
@$pb.TagNumber(2)
$core.bool hasLatestDateRestriction() => $_has(1);
@$pb.TagNumber(2)
void clearLatestDateRestriction() => $_clearField(2);
@$pb.TagNumber(2)
DateRestriction ensureLatestDateRestriction() => $_ensure(1);
}
class ActorConstraint extends $pb.GeneratedMessage {
factory ActorConstraint({
$core.Iterable<SegmentationActorConstraint>? segmentationConstraints,
$0.Period? maxBookingPeriod,
$core.bool? isBookingEnabledForUnknownUsers,
CommandIdentifierEntry? commandIdentifierEntry,
ActorDateRestriction? actorDateRestriction,
}) {
final result = create();
if (segmentationConstraints != null) result.segmentationConstraints.addAll(segmentationConstraints);
if (maxBookingPeriod != null) result.maxBookingPeriod = maxBookingPeriod;
if (isBookingEnabledForUnknownUsers != null) result.isBookingEnabledForUnknownUsers = isBookingEnabledForUnknownUsers;
if (commandIdentifierEntry != null) result.commandIdentifierEntry = commandIdentifierEntry;
if (actorDateRestriction != null) result.actorDateRestriction = actorDateRestriction;
return result;
}
@@ -1490,6 +1629,7 @@ class ActorConstraint extends $pb.GeneratedMessage {
..aOM<$0.Period>(3, _omitFieldNames ? '' : 'MaxBookingPeriod', protoName: 'MaxBookingPeriod', subBuilder: $0.Period.create)
..aOB(4, _omitFieldNames ? '' : 'IsBookingEnabledForUnknownUsers', protoName: 'IsBookingEnabledForUnknownUsers')
..e<CommandIdentifierEntry>(5, _omitFieldNames ? '' : 'CommandIdentifierEntry', $pb.PbFieldType.OE, protoName: 'CommandIdentifierEntry', defaultOrMaker: CommandIdentifierEntry.CommandIdentifierEntry_MandatoryExceptForAllowedUsers, valueOf: CommandIdentifierEntry.valueOf, enumValues: CommandIdentifierEntry.values)
..aOM<ActorDateRestriction>(6, _omitFieldNames ? '' : 'ActorDateRestriction', protoName: 'ActorDateRestriction', subBuilder: ActorDateRestriction.create)
..hasRequiredFields = false
;
@@ -1545,6 +1685,18 @@ class ActorConstraint extends $pb.GeneratedMessage {
$core.bool hasCommandIdentifierEntry() => $_has(3);
@$pb.TagNumber(5)
void clearCommandIdentifierEntry() => $_clearField(5);
/// Configurations to be used to compute the dates restriction on booking
@$pb.TagNumber(6)
ActorDateRestriction get actorDateRestriction => $_getN(4);
@$pb.TagNumber(6)
set actorDateRestriction(ActorDateRestriction value) => $_setField(6, value);
@$pb.TagNumber(6)
$core.bool hasActorDateRestriction() => $_has(4);
@$pb.TagNumber(6)
void clearActorDateRestriction() => $_clearField(6);
@$pb.TagNumber(6)
ActorDateRestriction ensureActorDateRestriction() => $_ensure(4);
}
class SegmentationActorConstraint extends $pb.GeneratedMessage {

View File

@@ -31,6 +31,25 @@ class CapacityRuleScope extends $pb.ProtobufEnum {
const CapacityRuleScope._(super.value, super.name);
}
class DateRestrictionType extends $pb.ProtobufEnum {
static const DateRestrictionType DATE_RESTRICTION_TYPE_UNKNOWN = DateRestrictionType._(0, _omitEnumNames ? '' : 'DATE_RESTRICTION_TYPE_UNKNOWN');
static const DateRestrictionType DATE_RESTRICTION_TYPE_AUTHORIZED = DateRestrictionType._(1, _omitEnumNames ? '' : 'DATE_RESTRICTION_TYPE_AUTHORIZED');
static const DateRestrictionType DATE_RESTRICTION_TYPE_AUTHORIZED_WITH_LIMIT = DateRestrictionType._(2, _omitEnumNames ? '' : 'DATE_RESTRICTION_TYPE_AUTHORIZED_WITH_LIMIT');
static const DateRestrictionType DATE_RESTRICTION_TYPE_FORBIDDEN = DateRestrictionType._(3, _omitEnumNames ? '' : 'DATE_RESTRICTION_TYPE_FORBIDDEN');
static const $core.List<DateRestrictionType> values = <DateRestrictionType> [
DATE_RESTRICTION_TYPE_UNKNOWN,
DATE_RESTRICTION_TYPE_AUTHORIZED,
DATE_RESTRICTION_TYPE_AUTHORIZED_WITH_LIMIT,
DATE_RESTRICTION_TYPE_FORBIDDEN,
];
static final $core.List<DateRestrictionType?> _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3);
static DateRestrictionType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value];
const DateRestrictionType._(super.value, super.name);
}
class CommandIdentifierEntry extends $pb.ProtobufEnum {
static const CommandIdentifierEntry CommandIdentifierEntry_MandatoryExceptForAllowedUsers = CommandIdentifierEntry._(0, _omitEnumNames ? '' : 'CommandIdentifierEntry_MandatoryExceptForAllowedUsers');
static const CommandIdentifierEntry CommandIdentifierEntry_NoRef = CommandIdentifierEntry._(1, _omitEnumNames ? '' : 'CommandIdentifierEntry_NoRef');

View File

@@ -30,6 +30,24 @@ final $typed_data.Uint8List capacityRuleScopeDescriptor = $convert.base64Decode(
'BDQVBBQ0lUWV9SVUxFX1NDT1BFX1NJTVVMVEFORU9VUxABEh0KGUNBUEFDSVRZX1JVTEVfU0NP'
'UEVfREFJTFkQAg==');
@$core.Deprecated('Use dateRestrictionTypeDescriptor instead')
const DateRestrictionType$json = {
'1': 'DateRestrictionType',
'2': [
{'1': 'DATE_RESTRICTION_TYPE_UNKNOWN', '2': 0},
{'1': 'DATE_RESTRICTION_TYPE_AUTHORIZED', '2': 1},
{'1': 'DATE_RESTRICTION_TYPE_AUTHORIZED_WITH_LIMIT', '2': 2},
{'1': 'DATE_RESTRICTION_TYPE_FORBIDDEN', '2': 3},
],
};
/// Descriptor for `DateRestrictionType`. Decode as a `google.protobuf.EnumDescriptorProto`.
final $typed_data.Uint8List dateRestrictionTypeDescriptor = $convert.base64Decode(
'ChNEYXRlUmVzdHJpY3Rpb25UeXBlEiEKHURBVEVfUkVTVFJJQ1RJT05fVFlQRV9VTktOT1dOEA'
'ASJAogREFURV9SRVNUUklDVElPTl9UWVBFX0FVVEhPUklaRUQQARIvCitEQVRFX1JFU1RSSUNU'
'SU9OX1RZUEVfQVVUSE9SSVpFRF9XSVRIX0xJTUlUEAISIwofREFURV9SRVNUUklDVElPTl9UWV'
'BFX0ZPUkJJRERFThAD');
@$core.Deprecated('Use commandIdentifierEntryDescriptor instead')
const CommandIdentifierEntry$json = {
'1': 'CommandIdentifierEntry',
@@ -452,6 +470,39 @@ final $typed_data.Uint8List actorAuthorisationDescriptor = $convert.base64Decode
'5BY3RvckNvbnN0cmFpbnRSE1VubG9hZGluZ0NvbnN0cmFpbnQSQgoRTG9hZGluZ0NvbnN0cmFp'
'bnQYBCABKAsyFC5hcGkuQWN0b3JDb25zdHJhaW50UhFMb2FkaW5nQ29uc3RyYWludA==');
@$core.Deprecated('Use dateRestrictionDescriptor instead')
const DateRestriction$json = {
'1': 'DateRestriction',
'2': [
{'1': 'Type', '3': 1, '4': 1, '5': 14, '6': '.api.DateRestrictionType', '8': {}, '10': 'Type'},
{'1': 'RestrictionField', '3': 2, '4': 1, '5': 9, '10': 'RestrictionField'},
{'1': 'RestrictionValue', '3': 3, '4': 1, '5': 3, '8': {}, '10': 'RestrictionValue'},
],
};
/// Descriptor for `DateRestriction`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List dateRestrictionDescriptor = $convert.base64Decode(
'Cg9EYXRlUmVzdHJpY3Rpb24SNwoEVHlwZRgBIAEoDjIYLmFwaS5EYXRlUmVzdHJpY3Rpb25UeX'
'BlQgm6gQEFggECEAFSBFR5cGUSKgoQUmVzdHJpY3Rpb25GaWVsZBgCIAEoCVIQUmVzdHJpY3Rp'
'b25GaWVsZBI0ChBSZXN0cmljdGlvblZhbHVlGAMgASgDQgi6gQEEIgIoAVIQUmVzdHJpY3Rpb2'
'5WYWx1ZQ==');
@$core.Deprecated('Use actorDateRestrictionDescriptor instead')
const ActorDateRestriction$json = {
'1': 'ActorDateRestriction',
'2': [
{'1': 'EarliestDateRestriction', '3': 1, '4': 1, '5': 11, '6': '.api.DateRestriction', '10': 'EarliestDateRestriction'},
{'1': 'LatestDateRestriction', '3': 2, '4': 1, '5': 11, '6': '.api.DateRestriction', '10': 'LatestDateRestriction'},
],
};
/// Descriptor for `ActorDateRestriction`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List actorDateRestrictionDescriptor = $convert.base64Decode(
'ChRBY3RvckRhdGVSZXN0cmljdGlvbhJOChdFYXJsaWVzdERhdGVSZXN0cmljdGlvbhgBIAEoCz'
'IULmFwaS5EYXRlUmVzdHJpY3Rpb25SF0VhcmxpZXN0RGF0ZVJlc3RyaWN0aW9uEkoKFUxhdGVz'
'dERhdGVSZXN0cmljdGlvbhgCIAEoCzIULmFwaS5EYXRlUmVzdHJpY3Rpb25SFUxhdGVzdERhdG'
'VSZXN0cmljdGlvbg==');
@$core.Deprecated('Use actorConstraintDescriptor instead')
const ActorConstraint$json = {
'1': 'ActorConstraint',
@@ -460,6 +511,7 @@ const ActorConstraint$json = {
{'1': 'MaxBookingPeriod', '3': 3, '4': 1, '5': 11, '6': '.api.Period', '10': 'MaxBookingPeriod'},
{'1': 'IsBookingEnabledForUnknownUsers', '3': 4, '4': 1, '5': 8, '10': 'IsBookingEnabledForUnknownUsers'},
{'1': 'CommandIdentifierEntry', '3': 5, '4': 1, '5': 14, '6': '.api.CommandIdentifierEntry', '10': 'CommandIdentifierEntry'},
{'1': 'ActorDateRestriction', '3': 6, '4': 1, '5': 11, '6': '.api.ActorDateRestriction', '10': 'ActorDateRestriction'},
],
};
@@ -471,7 +523,8 @@ final $typed_data.Uint8List actorConstraintDescriptor = $convert.base64Decode(
'9kUhBNYXhCb29raW5nUGVyaW9kEkgKH0lzQm9va2luZ0VuYWJsZWRGb3JVbmtub3duVXNlcnMY'
'BCABKAhSH0lzQm9va2luZ0VuYWJsZWRGb3JVbmtub3duVXNlcnMSUwoWQ29tbWFuZElkZW50aW'
'ZpZXJFbnRyeRgFIAEoDjIbLmFwaS5Db21tYW5kSWRlbnRpZmllckVudHJ5UhZDb21tYW5kSWRl'
'bnRpZmllckVudHJ5');
'bnRpZmllckVudHJ5Ek0KFEFjdG9yRGF0ZVJlc3RyaWN0aW9uGAYgASgLMhkuYXBpLkFjdG9yRG'
'F0ZVJlc3RyaWN0aW9uUhRBY3RvckRhdGVSZXN0cmljdGlvbg==');
@$core.Deprecated('Use segmentationActorConstraintDescriptor instead')
const SegmentationActorConstraint$json = {

View File

@@ -1,6 +1,6 @@
name: dart_core_sdk
description: dart libs from core model proto files
version: 1.15.0-SNAPSHOT-260810075252
version: 1.15.0-SNAPSHOT-260817090930
homepage: ''
publish_to: ''
repository: ''