From 724e95a5408e302d44af9cb24a96c11af4b0f5eb Mon Sep 17 00:00:00 2001 From: ci core model Date: Tue, 20 May 2025 14:36:50 +0000 Subject: [PATCH] Latest generation --- CHANGELOG.md | 2 +- lib/slotbooking.pb.dart | 28 ++++++++++++++++------------ lib/slotbooking.pbenum.dart | 28 ++++++++++++++-------------- lib/slotbooking.pbjson.dart | 32 ++++++++++++++++---------------- pubspec.yaml | 2 +- 5 files changed, 48 insertions(+), 44 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b99feeb..77b7c578 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,3 @@ # CHANGELOG -Lib version: 1.11.0-SNAPSHOT-250520085425 +Lib version: 1.11.0-SNAPSHOT-250520143626 diff --git a/lib/slotbooking.pb.dart b/lib/slotbooking.pb.dart index fd8a632a..07654da3 100644 --- a/lib/slotbooking.pb.dart +++ b/lib/slotbooking.pb.dart @@ -373,7 +373,7 @@ class SegmentationValue extends $pb.GeneratedMessage { $pb.PbList<$3.LabelByLanguage> get label => $_getList(1); } -/// Rules +/// OpeningRule class OpeningRule extends $pb.GeneratedMessage { factory OpeningRule({ $core.String? startDate, @@ -599,6 +599,7 @@ class OpeningDayDefinition extends $pb.GeneratedMessage { void clearOrderAppliance() => $_clearField(4); } +/// CapacityRule class CapacityRule extends $pb.GeneratedMessage { factory CapacityRule({ $core.String? startDate, @@ -720,7 +721,7 @@ class CapacityDefinition extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CapacityDefinition', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) ..aOM(1, _omitFieldNames ? '' : 'Filter', protoName: 'Filter', subBuilder: RuleFilter.create) - ..e(2, _omitFieldNames ? '' : 'Scope', $pb.PbFieldType.OE, protoName: 'Scope', defaultOrMaker: CapacityRuleScope.CAPACITY_RULE_SCOPE_UNKNOWN, valueOf: CapacityRuleScope.valueOf, enumValues: CapacityRuleScope.values) + ..e(2, _omitFieldNames ? '' : 'Scope', $pb.PbFieldType.OE, protoName: 'Scope', defaultOrMaker: CapacityRuleScope.CAPACITYRULESCOPE_UNKNOWN, valueOf: CapacityRuleScope.valueOf, enumValues: CapacityRuleScope.values) ..aInt64(3, _omitFieldNames ? '' : 'MaximalCapacity', protoName: 'MaximalCapacity') ..aOS(4, _omitFieldNames ? '' : 'UnitID', protoName: 'UnitID') ..hasRequiredFields = false @@ -784,6 +785,7 @@ class CapacityDefinition extends $pb.GeneratedMessage { void clearUnitID() => $_clearField(4); } +/// DurationRule class DurationRule extends $pb.GeneratedMessage { factory DurationRule({ RuleFilter? filter, @@ -1048,6 +1050,7 @@ class SegmentationFilter extends $pb.GeneratedMessage { $pb.PbList<$core.String> get segmentationValueIDs => $_getList(1); } +/// CarrierInformation /// The five following messages are pretty similar, for each added object, they can add a translated version class CarrierInformation extends $pb.GeneratedMessage { factory CarrierInformation({ @@ -1143,7 +1146,8 @@ class CarrierInformation extends $pb.GeneratedMessage { void clearFormatCheck() => $_clearField(5); } -/// we anticipate that they want to put several but if they only have one with all the language, it should still work +/// Document +/// We anticipate that they want to put several but if they only have one with all the language, it should still work class Document extends $pb.GeneratedMessage { factory Document({ $core.String? docID, @@ -1440,7 +1444,7 @@ class SegmentationConstraint extends $pb.GeneratedMessage { factory SegmentationConstraint({ $core.String? segmentationID, $core.Iterable<$core.String>? restrictedValueIDs, - $core.bool? allValues, + $core.bool? allAndFutureValues, }) { final $result = create(); if (segmentationID != null) { @@ -1449,8 +1453,8 @@ class SegmentationConstraint extends $pb.GeneratedMessage { if (restrictedValueIDs != null) { $result.restrictedValueIDs.addAll(restrictedValueIDs); } - if (allValues != null) { - $result.allValues = allValues; + if (allAndFutureValues != null) { + $result.allAndFutureValues = allAndFutureValues; } return $result; } @@ -1461,7 +1465,7 @@ class SegmentationConstraint extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SegmentationConstraint', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'SegmentationID', protoName: 'SegmentationID') ..pPS(2, _omitFieldNames ? '' : 'RestrictedValueIDs', protoName: 'RestrictedValueIDs') - ..aOB(3, _omitFieldNames ? '' : 'AllValues', protoName: 'AllValues') + ..aOB(3, _omitFieldNames ? '' : 'AllAndFutureValues', protoName: 'AllAndFutureValues') ..hasRequiredFields = false ; @@ -1496,13 +1500,13 @@ class SegmentationConstraint extends $pb.GeneratedMessage { /// Set to not apply Segmentation value restriction and keep all the values @$pb.TagNumber(3) - $core.bool get allValues => $_getBF(2); + $core.bool get allAndFutureValues => $_getBF(2); @$pb.TagNumber(3) - set allValues($core.bool v) { $_setBool(2, v); } + set allAndFutureValues($core.bool v) { $_setBool(2, v); } @$pb.TagNumber(3) - $core.bool hasAllValues() => $_has(2); + $core.bool hasAllAndFutureValues() => $_has(2); @$pb.TagNumber(3) - void clearAllValues() => $_clearField(3); + void clearAllAndFutureValues() => $_clearField(3); } class ActorAuthorisation extends $pb.GeneratedMessage { @@ -1659,7 +1663,7 @@ class SegmentationActorConstraint extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'SegmentationID', protoName: 'SegmentationID') ..pPS(2, _omitFieldNames ? '' : 'RestrictedValueIDs', protoName: 'RestrictedValueIDs') ..aOB(3, _omitFieldNames ? '' : 'AllValues', protoName: 'AllValues') - ..e(4, _omitFieldNames ? '' : 'Type', $pb.PbFieldType.OE, protoName: 'Type', defaultOrMaker: SegmentationConstraintType.SegmentationConstraintType_UNKNOWN, valueOf: SegmentationConstraintType.valueOf, enumValues: SegmentationConstraintType.values) + ..e(4, _omitFieldNames ? '' : 'Type', $pb.PbFieldType.OE, protoName: 'Type', defaultOrMaker: SegmentationConstraintType.SEGMENTATIONCONSTRAINTTYPE_UNKNOWN, valueOf: SegmentationConstraintType.valueOf, enumValues: SegmentationConstraintType.values) ..aOS(5, _omitFieldNames ? '' : 'AttributePath', protoName: 'AttributePath') ..hasRequiredFields = false ; diff --git a/lib/slotbooking.pbenum.dart b/lib/slotbooking.pbenum.dart index fe4c4fb4..72e33270 100644 --- a/lib/slotbooking.pbenum.dart +++ b/lib/slotbooking.pbenum.dart @@ -54,14 +54,14 @@ class PeriodUnit extends $pb.ProtobufEnum { } 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'); - static const CapacityRuleScope CAPACITY_RULE_SCOPE_DAILY = CapacityRuleScope._(2, _omitEnumNames ? '' : 'CAPACITY_RULE_SCOPE_DAILY'); + static const CapacityRuleScope CAPACITYRULESCOPE_UNKNOWN = CapacityRuleScope._(0, _omitEnumNames ? '' : 'CAPACITYRULESCOPE_UNKNOWN'); + static const CapacityRuleScope CAPACITYRULESCOPE_SIMULTANEOUS = CapacityRuleScope._(1, _omitEnumNames ? '' : 'CAPACITYRULESCOPE_SIMULTANEOUS'); + static const CapacityRuleScope CAPACITYRULESCOPE_DAILY = CapacityRuleScope._(2, _omitEnumNames ? '' : 'CAPACITYRULESCOPE_DAILY'); static const $core.List values = [ - CAPACITY_RULE_SCOPE_UNKNOWN, - CAPACITY_RULE_SCOPE_SIMULTANEOUS, - CAPACITY_RULE_SCOPE_DAILY, + CAPACITYRULESCOPE_UNKNOWN, + CAPACITYRULESCOPE_SIMULTANEOUS, + CAPACITYRULESCOPE_DAILY, ]; static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); @@ -96,16 +96,16 @@ class CarrierInformationType extends $pb.ProtobufEnum { } class SegmentationConstraintType extends $pb.ProtobufEnum { - static const SegmentationConstraintType SegmentationConstraintType_UNKNOWN = SegmentationConstraintType._(0, _omitEnumNames ? '' : 'SegmentationConstraintType_UNKNOWN'); - static const SegmentationConstraintType SegmentationConstraintType_USER_CHOICE = SegmentationConstraintType._(1, _omitEnumNames ? '' : 'SegmentationConstraintType_USER_CHOICE'); - static const SegmentationConstraintType SegmentationConstraintType_ORDER_ATTRIBUTE = SegmentationConstraintType._(2, _omitEnumNames ? '' : 'SegmentationConstraintType_ORDER_ATTRIBUTE'); - static const SegmentationConstraintType SegmentationConstraintType_ENFORCED = SegmentationConstraintType._(3, _omitEnumNames ? '' : 'SegmentationConstraintType_ENFORCED'); + static const SegmentationConstraintType SEGMENTATIONCONSTRAINTTYPE_UNKNOWN = SegmentationConstraintType._(0, _omitEnumNames ? '' : 'SEGMENTATIONCONSTRAINTTYPE_UNKNOWN'); + static const SegmentationConstraintType SEGMENTATIONCONSTRAINTTYPE_USER_CHOICE = SegmentationConstraintType._(1, _omitEnumNames ? '' : 'SEGMENTATIONCONSTRAINTTYPE_USER_CHOICE'); + static const SegmentationConstraintType SEGMENTATIONCONSTRAINTTYPE_ORDER_ATTRIBUTE = SegmentationConstraintType._(2, _omitEnumNames ? '' : 'SEGMENTATIONCONSTRAINTTYPE_ORDER_ATTRIBUTE'); + static const SegmentationConstraintType SEGMENTATIONCONSTRAINTTYPE_ENFORCED = SegmentationConstraintType._(3, _omitEnumNames ? '' : 'SEGMENTATIONCONSTRAINTTYPE_ENFORCED'); static const $core.List values = [ - SegmentationConstraintType_UNKNOWN, - SegmentationConstraintType_USER_CHOICE, - SegmentationConstraintType_ORDER_ATTRIBUTE, - SegmentationConstraintType_ENFORCED, + SEGMENTATIONCONSTRAINTTYPE_UNKNOWN, + SEGMENTATIONCONSTRAINTTYPE_USER_CHOICE, + SEGMENTATIONCONSTRAINTTYPE_ORDER_ATTRIBUTE, + SEGMENTATIONCONSTRAINTTYPE_ENFORCED, ]; static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); diff --git a/lib/slotbooking.pbjson.dart b/lib/slotbooking.pbjson.dart index aa10a6a6..03e61409 100644 --- a/lib/slotbooking.pbjson.dart +++ b/lib/slotbooking.pbjson.dart @@ -53,17 +53,17 @@ final $typed_data.Uint8List periodUnitDescriptor = $convert.base64Decode( const CapacityRuleScope$json = { '1': 'CapacityRuleScope', '2': [ - {'1': 'CAPACITY_RULE_SCOPE_UNKNOWN', '2': 0}, - {'1': 'CAPACITY_RULE_SCOPE_SIMULTANEOUS', '2': 1}, - {'1': 'CAPACITY_RULE_SCOPE_DAILY', '2': 2}, + {'1': 'CAPACITYRULESCOPE_UNKNOWN', '2': 0}, + {'1': 'CAPACITYRULESCOPE_SIMULTANEOUS', '2': 1}, + {'1': 'CAPACITYRULESCOPE_DAILY', '2': 2}, ], }; /// Descriptor for `CapacityRuleScope`. Decode as a `google.protobuf.EnumDescriptorProto`. final $typed_data.Uint8List capacityRuleScopeDescriptor = $convert.base64Decode( - 'ChFDYXBhY2l0eVJ1bGVTY29wZRIfChtDQVBBQ0lUWV9SVUxFX1NDT1BFX1VOS05PV04QABIkCi' - 'BDQVBBQ0lUWV9SVUxFX1NDT1BFX1NJTVVMVEFORU9VUxABEh0KGUNBUEFDSVRZX1JVTEVfU0NP' - 'UEVfREFJTFkQAg=='); + 'ChFDYXBhY2l0eVJ1bGVTY29wZRIdChlDQVBBQ0lUWVJVTEVTQ09QRV9VTktOT1dOEAASIgoeQ0' + 'FQQUNJVFlSVUxFU0NPUEVfU0lNVUxUQU5FT1VTEAESGwoXQ0FQQUNJVFlSVUxFU0NPUEVfREFJ' + 'TFkQAg=='); @$core.Deprecated('Use carrierInformationTypeDescriptor instead') const CarrierInformationType$json = { @@ -92,19 +92,19 @@ final $typed_data.Uint8List carrierInformationTypeDescriptor = $convert.base64De const SegmentationConstraintType$json = { '1': 'SegmentationConstraintType', '2': [ - {'1': 'SegmentationConstraintType_UNKNOWN', '2': 0}, - {'1': 'SegmentationConstraintType_USER_CHOICE', '2': 1}, - {'1': 'SegmentationConstraintType_ORDER_ATTRIBUTE', '2': 2}, - {'1': 'SegmentationConstraintType_ENFORCED', '2': 3}, + {'1': 'SEGMENTATIONCONSTRAINTTYPE_UNKNOWN', '2': 0}, + {'1': 'SEGMENTATIONCONSTRAINTTYPE_USER_CHOICE', '2': 1}, + {'1': 'SEGMENTATIONCONSTRAINTTYPE_ORDER_ATTRIBUTE', '2': 2}, + {'1': 'SEGMENTATIONCONSTRAINTTYPE_ENFORCED', '2': 3}, ], }; /// Descriptor for `SegmentationConstraintType`. Decode as a `google.protobuf.EnumDescriptorProto`. final $typed_data.Uint8List segmentationConstraintTypeDescriptor = $convert.base64Decode( - 'ChpTZWdtZW50YXRpb25Db25zdHJhaW50VHlwZRImCiJTZWdtZW50YXRpb25Db25zdHJhaW50VH' - 'lwZV9VTktOT1dOEAASKgomU2VnbWVudGF0aW9uQ29uc3RyYWludFR5cGVfVVNFUl9DSE9JQ0UQ' - 'ARIuCipTZWdtZW50YXRpb25Db25zdHJhaW50VHlwZV9PUkRFUl9BVFRSSUJVVEUQAhInCiNTZW' - 'dtZW50YXRpb25Db25zdHJhaW50VHlwZV9FTkZPUkNFRBAD'); + 'ChpTZWdtZW50YXRpb25Db25zdHJhaW50VHlwZRImCiJTRUdNRU5UQVRJT05DT05TVFJBSU5UVF' + 'lQRV9VTktOT1dOEAASKgomU0VHTUVOVEFUSU9OQ09OU1RSQUlOVFRZUEVfVVNFUl9DSE9JQ0UQ' + 'ARIuCipTRUdNRU5UQVRJT05DT05TVFJBSU5UVFlQRV9PUkRFUl9BVFRSSUJVVEUQAhInCiNTRU' + 'dNRU5UQVRJT05DT05TVFJBSU5UVFlQRV9FTkZPUkNFRBAD'); @$core.Deprecated('Use unitDescriptor instead') const Unit$json = { @@ -444,7 +444,7 @@ const SegmentationConstraint$json = { '2': [ {'1': 'SegmentationID', '3': 1, '4': 1, '5': 9, '10': 'SegmentationID'}, {'1': 'RestrictedValueIDs', '3': 2, '4': 3, '5': 9, '10': 'RestrictedValueIDs'}, - {'1': 'AllValues', '3': 3, '4': 1, '5': 8, '10': 'AllValues'}, + {'1': 'AllAndFutureValues', '3': 3, '4': 1, '5': 8, '10': 'AllAndFutureValues'}, ], }; @@ -452,7 +452,7 @@ const SegmentationConstraint$json = { final $typed_data.Uint8List segmentationConstraintDescriptor = $convert.base64Decode( 'ChZTZWdtZW50YXRpb25Db25zdHJhaW50EiYKDlNlZ21lbnRhdGlvbklEGAEgASgJUg5TZWdtZW' '50YXRpb25JRBIuChJSZXN0cmljdGVkVmFsdWVJRHMYAiADKAlSElJlc3RyaWN0ZWRWYWx1ZUlE' - 'cxIcCglBbGxWYWx1ZXMYAyABKAhSCUFsbFZhbHVlcw=='); + 'cxIuChJBbGxBbmRGdXR1cmVWYWx1ZXMYAyABKAhSEkFsbEFuZEZ1dHVyZVZhbHVlcw=='); @$core.Deprecated('Use actorAuthorisationDescriptor instead') const ActorAuthorisation$json = { diff --git a/pubspec.yaml b/pubspec.yaml index 3657fbfe..3e1a81e7 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: dart_core_sdk description: dart libs from core model proto files -version: 1.11.0-SNAPSHOT-250520085425 +version: 1.11.0-SNAPSHOT-250520143626 homepage: '' publish_to: '' repository: ''