Latest generation

This commit is contained in:
ci core model
2025-06-23 09:59:08 +00:00
parent e309d663f1
commit 36b42cfaef
15 changed files with 557 additions and 567 deletions

View File

@@ -16,7 +16,7 @@ import 'dart:core' as $core;
import 'package:grpc/service_api.dart' as $grpc;
import 'package:protobuf/protobuf.dart' as $pb;
import 'attachmentV2.pb.dart' as $11;
import 'attachmentV2.pb.dart' as $10;
export 'attachmentV2.pb.dart';
@@ -30,62 +30,62 @@ class AttachmentServiceV2Client extends $grpc.Client {
'',
];
static final _$upload = $grpc.ClientMethod<$11.UploadAttachmentV2Request, $11.UploadAttachmentV2Response>(
static final _$upload = $grpc.ClientMethod<$10.UploadAttachmentV2Request, $10.UploadAttachmentV2Response>(
'/api.AttachmentServiceV2/Upload',
($11.UploadAttachmentV2Request value) => value.writeToBuffer(),
($core.List<$core.int> value) => $11.UploadAttachmentV2Response.fromBuffer(value));
static final _$addLink = $grpc.ClientMethod<$11.AddLinkV2Request, $11.AddLinkV2Response>(
($10.UploadAttachmentV2Request value) => value.writeToBuffer(),
($core.List<$core.int> value) => $10.UploadAttachmentV2Response.fromBuffer(value));
static final _$addLink = $grpc.ClientMethod<$10.AddLinkV2Request, $10.AddLinkV2Response>(
'/api.AttachmentServiceV2/AddLink',
($11.AddLinkV2Request value) => value.writeToBuffer(),
($core.List<$core.int> value) => $11.AddLinkV2Response.fromBuffer(value));
static final _$download = $grpc.ClientMethod<$11.DownloadAttachmentV2Request, $11.DownloadAttachmentV2Response>(
($10.AddLinkV2Request value) => value.writeToBuffer(),
($core.List<$core.int> value) => $10.AddLinkV2Response.fromBuffer(value));
static final _$download = $grpc.ClientMethod<$10.DownloadAttachmentV2Request, $10.DownloadAttachmentV2Response>(
'/api.AttachmentServiceV2/Download',
($11.DownloadAttachmentV2Request value) => value.writeToBuffer(),
($core.List<$core.int> value) => $11.DownloadAttachmentV2Response.fromBuffer(value));
static final _$delete = $grpc.ClientMethod<$11.DeleteAttachmentV2Request, $11.DeleteAttachmentV2Response>(
($10.DownloadAttachmentV2Request value) => value.writeToBuffer(),
($core.List<$core.int> value) => $10.DownloadAttachmentV2Response.fromBuffer(value));
static final _$delete = $grpc.ClientMethod<$10.DeleteAttachmentV2Request, $10.DeleteAttachmentV2Response>(
'/api.AttachmentServiceV2/Delete',
($11.DeleteAttachmentV2Request value) => value.writeToBuffer(),
($core.List<$core.int> value) => $11.DeleteAttachmentV2Response.fromBuffer(value));
static final _$list = $grpc.ClientMethod<$11.ListAttachmentsV2Request, $11.ListAttachmentsV2Response>(
($10.DeleteAttachmentV2Request value) => value.writeToBuffer(),
($core.List<$core.int> value) => $10.DeleteAttachmentV2Response.fromBuffer(value));
static final _$list = $grpc.ClientMethod<$10.ListAttachmentsV2Request, $10.ListAttachmentsV2Response>(
'/api.AttachmentServiceV2/List',
($11.ListAttachmentsV2Request value) => value.writeToBuffer(),
($core.List<$core.int> value) => $11.ListAttachmentsV2Response.fromBuffer(value));
static final _$share = $grpc.ClientMethod<$11.ShareAttachmentV2Request, $11.ShareAttachmentV2Response>(
($10.ListAttachmentsV2Request value) => value.writeToBuffer(),
($core.List<$core.int> value) => $10.ListAttachmentsV2Response.fromBuffer(value));
static final _$share = $grpc.ClientMethod<$10.ShareAttachmentV2Request, $10.ShareAttachmentV2Response>(
'/api.AttachmentServiceV2/Share',
($11.ShareAttachmentV2Request value) => value.writeToBuffer(),
($core.List<$core.int> value) => $11.ShareAttachmentV2Response.fromBuffer(value));
static final _$deleteAll = $grpc.ClientMethod<$11.DeleteAllAttachmentsV2Request, $11.DeleteAllAttachmentsV2Response>(
($10.ShareAttachmentV2Request value) => value.writeToBuffer(),
($core.List<$core.int> value) => $10.ShareAttachmentV2Response.fromBuffer(value));
static final _$deleteAll = $grpc.ClientMethod<$10.DeleteAllAttachmentsV2Request, $10.DeleteAllAttachmentsV2Response>(
'/api.AttachmentServiceV2/DeleteAll',
($11.DeleteAllAttachmentsV2Request value) => value.writeToBuffer(),
($core.List<$core.int> value) => $11.DeleteAllAttachmentsV2Response.fromBuffer(value));
($10.DeleteAllAttachmentsV2Request value) => value.writeToBuffer(),
($core.List<$core.int> value) => $10.DeleteAllAttachmentsV2Response.fromBuffer(value));
AttachmentServiceV2Client(super.channel, {super.options, super.interceptors});
$grpc.ResponseFuture<$11.UploadAttachmentV2Response> upload($11.UploadAttachmentV2Request request, {$grpc.CallOptions? options}) {
$grpc.ResponseFuture<$10.UploadAttachmentV2Response> upload($10.UploadAttachmentV2Request request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$upload, request, options: options);
}
$grpc.ResponseFuture<$11.AddLinkV2Response> addLink($11.AddLinkV2Request request, {$grpc.CallOptions? options}) {
$grpc.ResponseFuture<$10.AddLinkV2Response> addLink($10.AddLinkV2Request request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$addLink, request, options: options);
}
$grpc.ResponseFuture<$11.DownloadAttachmentV2Response> download($11.DownloadAttachmentV2Request request, {$grpc.CallOptions? options}) {
$grpc.ResponseFuture<$10.DownloadAttachmentV2Response> download($10.DownloadAttachmentV2Request request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$download, request, options: options);
}
$grpc.ResponseFuture<$11.DeleteAttachmentV2Response> delete($11.DeleteAttachmentV2Request request, {$grpc.CallOptions? options}) {
$grpc.ResponseFuture<$10.DeleteAttachmentV2Response> delete($10.DeleteAttachmentV2Request request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$delete, request, options: options);
}
$grpc.ResponseFuture<$11.ListAttachmentsV2Response> list($11.ListAttachmentsV2Request request, {$grpc.CallOptions? options}) {
$grpc.ResponseFuture<$10.ListAttachmentsV2Response> list($10.ListAttachmentsV2Request request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$list, request, options: options);
}
$grpc.ResponseFuture<$11.ShareAttachmentV2Response> share($11.ShareAttachmentV2Request request, {$grpc.CallOptions? options}) {
$grpc.ResponseFuture<$10.ShareAttachmentV2Response> share($10.ShareAttachmentV2Request request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$share, request, options: options);
}
$grpc.ResponseFuture<$11.DeleteAllAttachmentsV2Response> deleteAll($11.DeleteAllAttachmentsV2Request request, {$grpc.CallOptions? options}) {
$grpc.ResponseFuture<$10.DeleteAllAttachmentsV2Response> deleteAll($10.DeleteAllAttachmentsV2Request request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$deleteAll, request, options: options);
}
}
@@ -95,90 +95,90 @@ abstract class AttachmentServiceV2ServiceBase extends $grpc.Service {
$core.String get $name => 'api.AttachmentServiceV2';
AttachmentServiceV2ServiceBase() {
$addMethod($grpc.ServiceMethod<$11.UploadAttachmentV2Request, $11.UploadAttachmentV2Response>(
$addMethod($grpc.ServiceMethod<$10.UploadAttachmentV2Request, $10.UploadAttachmentV2Response>(
'Upload',
upload_Pre,
false,
false,
($core.List<$core.int> value) => $11.UploadAttachmentV2Request.fromBuffer(value),
($11.UploadAttachmentV2Response value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$11.AddLinkV2Request, $11.AddLinkV2Response>(
($core.List<$core.int> value) => $10.UploadAttachmentV2Request.fromBuffer(value),
($10.UploadAttachmentV2Response value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$10.AddLinkV2Request, $10.AddLinkV2Response>(
'AddLink',
addLink_Pre,
false,
false,
($core.List<$core.int> value) => $11.AddLinkV2Request.fromBuffer(value),
($11.AddLinkV2Response value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$11.DownloadAttachmentV2Request, $11.DownloadAttachmentV2Response>(
($core.List<$core.int> value) => $10.AddLinkV2Request.fromBuffer(value),
($10.AddLinkV2Response value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$10.DownloadAttachmentV2Request, $10.DownloadAttachmentV2Response>(
'Download',
download_Pre,
false,
false,
($core.List<$core.int> value) => $11.DownloadAttachmentV2Request.fromBuffer(value),
($11.DownloadAttachmentV2Response value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$11.DeleteAttachmentV2Request, $11.DeleteAttachmentV2Response>(
($core.List<$core.int> value) => $10.DownloadAttachmentV2Request.fromBuffer(value),
($10.DownloadAttachmentV2Response value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$10.DeleteAttachmentV2Request, $10.DeleteAttachmentV2Response>(
'Delete',
delete_Pre,
false,
false,
($core.List<$core.int> value) => $11.DeleteAttachmentV2Request.fromBuffer(value),
($11.DeleteAttachmentV2Response value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$11.ListAttachmentsV2Request, $11.ListAttachmentsV2Response>(
($core.List<$core.int> value) => $10.DeleteAttachmentV2Request.fromBuffer(value),
($10.DeleteAttachmentV2Response value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$10.ListAttachmentsV2Request, $10.ListAttachmentsV2Response>(
'List',
list_Pre,
false,
false,
($core.List<$core.int> value) => $11.ListAttachmentsV2Request.fromBuffer(value),
($11.ListAttachmentsV2Response value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$11.ShareAttachmentV2Request, $11.ShareAttachmentV2Response>(
($core.List<$core.int> value) => $10.ListAttachmentsV2Request.fromBuffer(value),
($10.ListAttachmentsV2Response value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$10.ShareAttachmentV2Request, $10.ShareAttachmentV2Response>(
'Share',
share_Pre,
false,
false,
($core.List<$core.int> value) => $11.ShareAttachmentV2Request.fromBuffer(value),
($11.ShareAttachmentV2Response value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$11.DeleteAllAttachmentsV2Request, $11.DeleteAllAttachmentsV2Response>(
($core.List<$core.int> value) => $10.ShareAttachmentV2Request.fromBuffer(value),
($10.ShareAttachmentV2Response value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$10.DeleteAllAttachmentsV2Request, $10.DeleteAllAttachmentsV2Response>(
'DeleteAll',
deleteAll_Pre,
false,
false,
($core.List<$core.int> value) => $11.DeleteAllAttachmentsV2Request.fromBuffer(value),
($11.DeleteAllAttachmentsV2Response value) => value.writeToBuffer()));
($core.List<$core.int> value) => $10.DeleteAllAttachmentsV2Request.fromBuffer(value),
($10.DeleteAllAttachmentsV2Response value) => value.writeToBuffer()));
}
$async.Future<$11.UploadAttachmentV2Response> upload_Pre($grpc.ServiceCall $call, $async.Future<$11.UploadAttachmentV2Request> $request) async {
$async.Future<$10.UploadAttachmentV2Response> upload_Pre($grpc.ServiceCall $call, $async.Future<$10.UploadAttachmentV2Request> $request) async {
return upload($call, await $request);
}
$async.Future<$11.AddLinkV2Response> addLink_Pre($grpc.ServiceCall $call, $async.Future<$11.AddLinkV2Request> $request) async {
$async.Future<$10.AddLinkV2Response> addLink_Pre($grpc.ServiceCall $call, $async.Future<$10.AddLinkV2Request> $request) async {
return addLink($call, await $request);
}
$async.Future<$11.DownloadAttachmentV2Response> download_Pre($grpc.ServiceCall $call, $async.Future<$11.DownloadAttachmentV2Request> $request) async {
$async.Future<$10.DownloadAttachmentV2Response> download_Pre($grpc.ServiceCall $call, $async.Future<$10.DownloadAttachmentV2Request> $request) async {
return download($call, await $request);
}
$async.Future<$11.DeleteAttachmentV2Response> delete_Pre($grpc.ServiceCall $call, $async.Future<$11.DeleteAttachmentV2Request> $request) async {
$async.Future<$10.DeleteAttachmentV2Response> delete_Pre($grpc.ServiceCall $call, $async.Future<$10.DeleteAttachmentV2Request> $request) async {
return delete($call, await $request);
}
$async.Future<$11.ListAttachmentsV2Response> list_Pre($grpc.ServiceCall $call, $async.Future<$11.ListAttachmentsV2Request> $request) async {
$async.Future<$10.ListAttachmentsV2Response> list_Pre($grpc.ServiceCall $call, $async.Future<$10.ListAttachmentsV2Request> $request) async {
return list($call, await $request);
}
$async.Future<$11.ShareAttachmentV2Response> share_Pre($grpc.ServiceCall $call, $async.Future<$11.ShareAttachmentV2Request> $request) async {
$async.Future<$10.ShareAttachmentV2Response> share_Pre($grpc.ServiceCall $call, $async.Future<$10.ShareAttachmentV2Request> $request) async {
return share($call, await $request);
}
$async.Future<$11.DeleteAllAttachmentsV2Response> deleteAll_Pre($grpc.ServiceCall $call, $async.Future<$11.DeleteAllAttachmentsV2Request> $request) async {
$async.Future<$10.DeleteAllAttachmentsV2Response> deleteAll_Pre($grpc.ServiceCall $call, $async.Future<$10.DeleteAllAttachmentsV2Request> $request) async {
return deleteAll($call, await $request);
}
$async.Future<$11.UploadAttachmentV2Response> upload($grpc.ServiceCall call, $11.UploadAttachmentV2Request request);
$async.Future<$11.AddLinkV2Response> addLink($grpc.ServiceCall call, $11.AddLinkV2Request request);
$async.Future<$11.DownloadAttachmentV2Response> download($grpc.ServiceCall call, $11.DownloadAttachmentV2Request request);
$async.Future<$11.DeleteAttachmentV2Response> delete($grpc.ServiceCall call, $11.DeleteAttachmentV2Request request);
$async.Future<$11.ListAttachmentsV2Response> list($grpc.ServiceCall call, $11.ListAttachmentsV2Request request);
$async.Future<$11.ShareAttachmentV2Response> share($grpc.ServiceCall call, $11.ShareAttachmentV2Request request);
$async.Future<$11.DeleteAllAttachmentsV2Response> deleteAll($grpc.ServiceCall call, $11.DeleteAllAttachmentsV2Request request);
$async.Future<$10.UploadAttachmentV2Response> upload($grpc.ServiceCall call, $10.UploadAttachmentV2Request request);
$async.Future<$10.AddLinkV2Response> addLink($grpc.ServiceCall call, $10.AddLinkV2Request request);
$async.Future<$10.DownloadAttachmentV2Response> download($grpc.ServiceCall call, $10.DownloadAttachmentV2Request request);
$async.Future<$10.DeleteAttachmentV2Response> delete($grpc.ServiceCall call, $10.DeleteAttachmentV2Request request);
$async.Future<$10.ListAttachmentsV2Response> list($grpc.ServiceCall call, $10.ListAttachmentsV2Request request);
$async.Future<$10.ShareAttachmentV2Response> share($grpc.ServiceCall call, $10.ShareAttachmentV2Request request);
$async.Future<$10.DeleteAllAttachmentsV2Response> deleteAll($grpc.ServiceCall call, $10.DeleteAllAttachmentsV2Request request);
}