From d97009f4b822afcf26275ca36cba3c94e61f4f74 Mon Sep 17 00:00:00 2001 From: ci core model Date: Fri, 22 May 2026 09:00:43 +0000 Subject: [PATCH] Latest generation --- CHANGELOG.md | 2 +- lib/site.pb.dart | 17 +++++++++++++++++ lib/site.pbjson.dart | 11 +++++------ pubspec.yaml | 2 +- 4 files changed, 24 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7881f58..b9b03b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,3 @@ # CHANGELOG -Lib version: 1.14.0-SNAPSHOT-260522082149 +Lib version: 1.14.0-SNAPSHOT-260522085938 diff --git a/lib/site.pb.dart b/lib/site.pb.dart index b3536a7..ab0afe4 100644 --- a/lib/site.pb.dart +++ b/lib/site.pb.dart @@ -4540,14 +4540,21 @@ class SiteProjectAptTypeBookingActorsContext extends $pb.GeneratedMessage { void clearActorName() => $_clearField(3); } +/// User should only set either (ActorID & ProjectID) OR SiteID alone. +/// Validation: exactly one of the two options must be provided: +/// - Option 1: both ProjectID and ActorID must be set (non-empty) +/// - Option 2: SiteID must be set (non-empty) +/// Setting both options or neither will be rejected. class InitBookerProfileRequest extends $pb.GeneratedMessage { factory InitBookerProfileRequest({ $core.String? projectID, $core.String? actorID, + $core.String? siteID, }) { final result = create(); if (projectID != null) result.projectID = projectID; if (actorID != null) result.actorID = actorID; + if (siteID != null) result.siteID = siteID; return result; } @@ -4559,6 +4566,7 @@ class InitBookerProfileRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'InitBookerProfileRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID') ..aOS(2, _omitFieldNames ? '' : 'ActorID', protoName: 'ActorID') + ..aOS(3, _omitFieldNames ? '' : 'SiteID', protoName: 'SiteID') ..hasRequiredFields = false ; @@ -4596,6 +4604,15 @@ class InitBookerProfileRequest extends $pb.GeneratedMessage { $core.bool hasActorID() => $_has(1); @$pb.TagNumber(2) void clearActorID() => $_clearField(2); + + @$pb.TagNumber(3) + $core.String get siteID => $_getSZ(2); + @$pb.TagNumber(3) + set siteID($core.String value) => $_setString(2, value); + @$pb.TagNumber(3) + $core.bool hasSiteID() => $_has(2); + @$pb.TagNumber(3) + void clearSiteID() => $_clearField(3); } class InitBookerProfileResponse extends $pb.GeneratedMessage { diff --git a/lib/site.pbjson.dart b/lib/site.pbjson.dart index 58ed55d..86dc67e 100644 --- a/lib/site.pbjson.dart +++ b/lib/site.pbjson.dart @@ -1256,17 +1256,16 @@ final $typed_data.Uint8List siteProjectAptTypeBookingActorsContextDescriptor = $ const InitBookerProfileRequest$json = { '1': 'InitBookerProfileRequest', '2': [ - {'1': 'ProjectID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'ProjectID'}, - {'1': 'ActorID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'ActorID'}, + {'1': 'ProjectID', '3': 1, '4': 1, '5': 9, '10': 'ProjectID'}, + {'1': 'ActorID', '3': 2, '4': 1, '5': 9, '10': 'ActorID'}, + {'1': 'SiteID', '3': 3, '4': 1, '5': 9, '10': 'SiteID'}, ], - '7': {}, }; /// Descriptor for `InitBookerProfileRequest`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List initBookerProfileRequestDescriptor = $convert.base64Decode( - 'ChhJbml0Qm9va2VyUHJvZmlsZVJlcXVlc3QSJgoJUHJvamVjdElEGAEgASgJQgi6gQEEcgIQAV' - 'IJUHJvamVjdElEEiIKB0FjdG9ySUQYAiABKAlCCLqBAQRyAhABUgdBY3RvcklEOhuSQRgKFtIB' - 'CVByb2plY3RJRNIBB0FjdG9ySUQ='); + 'ChhJbml0Qm9va2VyUHJvZmlsZVJlcXVlc3QSHAoJUHJvamVjdElEGAEgASgJUglQcm9qZWN0SU' + 'QSGAoHQWN0b3JJRBgCIAEoCVIHQWN0b3JJRBIWCgZTaXRlSUQYAyABKAlSBlNpdGVJRA=='); @$core.Deprecated('Use initBookerProfileResponseDescriptor instead') const InitBookerProfileResponse$json = { diff --git a/pubspec.yaml b/pubspec.yaml index 17d7bb4..cb86a2d 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.14.0-SNAPSHOT-260522082149 +version: 1.14.0-SNAPSHOT-260522085938 homepage: '' publish_to: '' repository: ''