From 12ef065b75803c51cc2eef60aed50d94f4e45396 Mon Sep 17 00:00:00 2001 From: ci core model Date: Thu, 18 Jun 2026 09:00:56 +0000 Subject: [PATCH] Latest generation --- CHANGELOG.md | 2 +- lib/messaging-settings.pbjson.dart | 6 ++- lib/messaging.pb.dart | 70 ++++++++++++++++++++++++++++++ lib/messaging.pbgrpc.dart | 21 +++++++++ lib/messaging.pbjson.dart | 20 +++++++++ pubspec.yaml | 2 +- 6 files changed, 117 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 52b266c5..a449e4cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,3 @@ # CHANGELOG -Lib version: 1.14.0-SNAPSHOT-260618065835 +Lib version: 1.14.0-SNAPSHOT-260618085953 diff --git a/lib/messaging-settings.pbjson.dart b/lib/messaging-settings.pbjson.dart index 805d900f..b4e8812a 100644 --- a/lib/messaging-settings.pbjson.dart +++ b/lib/messaging-settings.pbjson.dart @@ -40,7 +40,7 @@ const MessagingSettingsHistoryRecord$json = { '2': [ {'1': 'UserID', '3': 1, '4': 1, '5': 9, '10': 'UserID'}, {'1': 'MessagingSettings', '3': 2, '4': 1, '5': 11, '6': '.api.MessagingSettings', '10': 'MessagingSettings'}, - {'1': 'UpdatedAt', '3': 3, '4': 1, '5': 9, '10': 'UpdatedAt'}, + {'1': 'UpdatedAt', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'UpdatedAt'}, ], }; @@ -48,7 +48,9 @@ const MessagingSettingsHistoryRecord$json = { final $typed_data.Uint8List messagingSettingsHistoryRecordDescriptor = $convert.base64Decode( 'Ch5NZXNzYWdpbmdTZXR0aW5nc0hpc3RvcnlSZWNvcmQSFgoGVXNlcklEGAEgASgJUgZVc2VySU' 'QSRAoRTWVzc2FnaW5nU2V0dGluZ3MYAiABKAsyFi5hcGkuTWVzc2FnaW5nU2V0dGluZ3NSEU1l' - 'c3NhZ2luZ1NldHRpbmdzEhwKCVVwZGF0ZWRBdBgDIAEoCVIJVXBkYXRlZEF0'); + 'c3NhZ2luZ1NldHRpbmdzEoEBCglVcGRhdGVkQXQYAyABKAlCY5JBVzJVVVRDIGRhdGUvdGltZS' + 'BpbiA8YSBocmVmPSdodHRwczovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9JU09fODYwMSc+SVNP' + 'IDg2MDE8L2E+IGZvcm1hdLqBAQVyA9ABAVIJVXBkYXRlZEF0'); @$core.Deprecated('Use getMessagingSettingsRequestDescriptor instead') const GetMessagingSettingsRequest$json = { diff --git a/lib/messaging.pb.dart b/lib/messaging.pb.dart index 48ed0dd1..b5ef1f27 100644 --- a/lib/messaging.pb.dart +++ b/lib/messaging.pb.dart @@ -208,6 +208,76 @@ class GetMessagingUsageResponse extends $pb.GeneratedMessage { void clearUsage() => $_clearField(1); } +class GetMessagingPeriodUsageRequest extends $pb.GeneratedMessage { + factory GetMessagingPeriodUsageRequest({ + $core.String? projectID, + $core.String? from, + $core.String? to, + }) { + final result = create(); + if (projectID != null) result.projectID = projectID; + if (from != null) result.from = from; + if (to != null) result.to = to; + return result; + } + + GetMessagingPeriodUsageRequest._(); + + factory GetMessagingPeriodUsageRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory GetMessagingPeriodUsageRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetMessagingPeriodUsageRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID') + ..aOS(2, _omitFieldNames ? '' : 'From', protoName: 'From') + ..aOS(3, _omitFieldNames ? '' : 'To', protoName: 'To') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + GetMessagingPeriodUsageRequest clone() => GetMessagingPeriodUsageRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + GetMessagingPeriodUsageRequest copyWith(void Function(GetMessagingPeriodUsageRequest) updates) => super.copyWith((message) => updates(message as GetMessagingPeriodUsageRequest)) as GetMessagingPeriodUsageRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GetMessagingPeriodUsageRequest create() => GetMessagingPeriodUsageRequest._(); + @$core.override + GetMessagingPeriodUsageRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetMessagingPeriodUsageRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GetMessagingPeriodUsageRequest? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get projectID => $_getSZ(0); + @$pb.TagNumber(1) + set projectID($core.String value) => $_setString(0, value); + @$pb.TagNumber(1) + $core.bool hasProjectID() => $_has(0); + @$pb.TagNumber(1) + void clearProjectID() => $_clearField(1); + + @$pb.TagNumber(2) + $core.String get from => $_getSZ(1); + @$pb.TagNumber(2) + set from($core.String value) => $_setString(1, value); + @$pb.TagNumber(2) + $core.bool hasFrom() => $_has(1); + @$pb.TagNumber(2) + void clearFrom() => $_clearField(2); + + @$pb.TagNumber(3) + $core.String get to => $_getSZ(2); + @$pb.TagNumber(3) + set to($core.String value) => $_setString(2, value); + @$pb.TagNumber(3) + $core.bool hasTo() => $_has(2); + @$pb.TagNumber(3) + void clearTo() => $_clearField(3); +} + class IsMessagingMaxUsageReachedRequest extends $pb.GeneratedMessage { factory IsMessagingMaxUsageReachedRequest({ $1.RequestProjectHeader? header, diff --git a/lib/messaging.pbgrpc.dart b/lib/messaging.pbgrpc.dart index 9e28eb7a..a0b05cee 100644 --- a/lib/messaging.pbgrpc.dart +++ b/lib/messaging.pbgrpc.dart @@ -44,6 +44,10 @@ class MessagingServiceClient extends $grpc.Client { return $createUnaryCall(_$isMaxUsageReached, request, options: options); } + $grpc.ResponseFuture<$0.GetMessagingUsageResponse> getPeriodUsage($0.GetMessagingPeriodUsageRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$getPeriodUsage, request, options: options); + } + // method descriptors static final _$sendSMS = $grpc.ClientMethod<$0.SendSMSRequest, $0.SendSMSResponse>( @@ -58,6 +62,10 @@ class MessagingServiceClient extends $grpc.Client { '/api.MessagingService/IsMaxUsageReached', ($0.IsMessagingMaxUsageReachedRequest value) => value.writeToBuffer(), $0.IsMessagingMaxUsageReachedResponse.fromBuffer); + static final _$getPeriodUsage = $grpc.ClientMethod<$0.GetMessagingPeriodUsageRequest, $0.GetMessagingUsageResponse>( + '/api.MessagingService/GetPeriodUsage', + ($0.GetMessagingPeriodUsageRequest value) => value.writeToBuffer(), + $0.GetMessagingUsageResponse.fromBuffer); } @$pb.GrpcServiceName('api.MessagingService') @@ -86,6 +94,13 @@ abstract class MessagingServiceBase extends $grpc.Service { false, ($core.List<$core.int> value) => $0.IsMessagingMaxUsageReachedRequest.fromBuffer(value), ($0.IsMessagingMaxUsageReachedResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.GetMessagingPeriodUsageRequest, $0.GetMessagingUsageResponse>( + 'GetPeriodUsage', + getPeriodUsage_Pre, + false, + false, + ($core.List<$core.int> value) => $0.GetMessagingPeriodUsageRequest.fromBuffer(value), + ($0.GetMessagingUsageResponse value) => value.writeToBuffer())); } $async.Future<$0.SendSMSResponse> sendSMS_Pre($grpc.ServiceCall $call, $async.Future<$0.SendSMSRequest> $request) async { @@ -106,4 +121,10 @@ abstract class MessagingServiceBase extends $grpc.Service { $async.Future<$0.IsMessagingMaxUsageReachedResponse> isMaxUsageReached($grpc.ServiceCall call, $0.IsMessagingMaxUsageReachedRequest request); + $async.Future<$0.GetMessagingUsageResponse> getPeriodUsage_Pre($grpc.ServiceCall $call, $async.Future<$0.GetMessagingPeriodUsageRequest> $request) async { + return getPeriodUsage($call, await $request); + } + + $async.Future<$0.GetMessagingUsageResponse> getPeriodUsage($grpc.ServiceCall call, $0.GetMessagingPeriodUsageRequest request); + } diff --git a/lib/messaging.pbjson.dart b/lib/messaging.pbjson.dart index 396244ab..3cd5c6c6 100644 --- a/lib/messaging.pbjson.dart +++ b/lib/messaging.pbjson.dart @@ -68,6 +68,26 @@ const GetMessagingUsageResponse$json = { final $typed_data.Uint8List getMessagingUsageResponseDescriptor = $convert.base64Decode( 'ChlHZXRNZXNzYWdpbmdVc2FnZVJlc3BvbnNlEhQKBVVzYWdlGAEgASgCUgVVc2FnZQ=='); +@$core.Deprecated('Use getMessagingPeriodUsageRequestDescriptor instead') +const GetMessagingPeriodUsageRequest$json = { + '1': 'GetMessagingPeriodUsageRequest', + '2': [ + {'1': 'ProjectID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'ProjectID'}, + {'1': 'From', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'From'}, + {'1': 'To', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'To'}, + ], + '7': {}, +}; + +/// Descriptor for `GetMessagingPeriodUsageRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List getMessagingPeriodUsageRequestDescriptor = $convert.base64Decode( + 'Ch5HZXRNZXNzYWdpbmdQZXJpb2RVc2FnZVJlcXVlc3QSJgoJUHJvamVjdElEGAEgASgJQgi6gQ' + 'EEcgIQAVIJUHJvamVjdElEEncKBEZyb20YAiABKAlCY5JBVzJVVVRDIGRhdGUvdGltZSBpbiA8' + 'YSBocmVmPSdodHRwczovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9JU09fODYwMSc+SVNPIDg2MD' + 'E8L2E+IGZvcm1hdLqBAQVyA9ABAVIERnJvbRJzCgJUbxgDIAEoCUJjkkFXMlVVVEMgZGF0ZS90' + 'aW1lIGluIDxhIGhyZWY9J2h0dHBzOi8vZW4ud2lraXBlZGlhLm9yZy93aWtpL0lTT184NjAxJz' + '5JU08gODYwMTwvYT4gZm9ybWF0uoEBBXID0AEBUgJUbzoRkkEOCgzSAQlQcm9qZWN0SUQ='); + @$core.Deprecated('Use isMessagingMaxUsageReachedRequestDescriptor instead') const IsMessagingMaxUsageReachedRequest$json = { '1': 'IsMessagingMaxUsageReachedRequest', diff --git a/pubspec.yaml b/pubspec.yaml index c2e027ce..a7f801c3 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-260618065835 +version: 1.14.0-SNAPSHOT-260618085953 homepage: '' publish_to: '' repository: ''