diff --git a/internal/controller/dci.go b/internal/controller/dci.go index a1574ff..c62f384 100644 --- a/internal/controller/dci.go +++ b/internal/controller/dci.go @@ -39,6 +39,12 @@ func (d *DciProvider) UpdateDciUser(_ context.Context, req *dci.UpdateDciUserReq return } +func (d *DciProvider) UpdateDciEnterpriseUser(_ context.Context, req *dci.UpdateDciEnterpriseUserRequest) (res *dci.UpdateDciEnterpriseUserResponse, err error) { + res = new(dci.UpdateDciEnterpriseUserResponse) + res, err = d.dciUser.UpdateDciEnterpriseUser(req) + return +} + func (d *DciProvider) QueryDciUser(_ context.Context, req *dci.QueryDciUserRequest) (res *dci.QueryDciUserResponse, err error) { res = new(dci.QueryDciUserResponse) res, err = d.dciUser.QueryDciUser(req) diff --git a/internal/logic/dci_user.go b/internal/logic/dci_user.go index e5b3798..60a8271 100644 --- a/internal/logic/dci_user.go +++ b/internal/logic/dci_user.go @@ -5,14 +5,16 @@ import ( "chain-dci/pkg/app" errCommon "chain-dci/pkg/err" "chain-dci/pkg/msg" + "time" + bccrClient "github.com/antchain-openapi-sdk-go/bccr/client" "github.com/jinzhu/copier" - "time" ) type IDciUser interface { AddDciUser(req *dci.AddDciUserRequest) (res *dci.AddDciUserResponse, err error) UpdateDciUser(req *dci.UpdateDciUserRequest) (res *dci.UpdateDciUserResponse, err error) + UpdateDciEnterpriseUser(req *dci.UpdateDciEnterpriseUserRequest) (res *dci.UpdateDciEnterpriseUserResponse, err error) QueryDciUser(req *dci.QueryDciUserRequest) (res *dci.QueryDciUserResponse, err error) } @@ -73,6 +75,36 @@ func (u *DciUser) UpdateDciUser(req *dci.UpdateDciUserRequest) (res *dci.UpdateD return } +// UpdateDciEnterpriseUser 企业著作权人 更新 DCI信息 +func (u *DciUser) UpdateDciEnterpriseUser(req *dci.UpdateDciEnterpriseUserRequest) (res *dci.UpdateDciEnterpriseUserResponse, err error) { + errCommon.NoReturnInfo(req, "企业著作权人 更新 DCI信息 参数信息: ") + + res = new(dci.UpdateDciEnterpriseUserResponse) + + // 创建企业用户更新请求,使用AddDciUser的结构但设置为更新模式 + updateEnterpriseUserRequest := new(bccrClient.UpdateDciUserRequest) + _ = copier.CopyWithOption(&updateEnterpriseUserRequest, req, copier.Option{DeepCopy: false}) + + // 创建clientToken,包含企业特有信息 + clientToken, err := createToken(time.Now().UnixMilli(), req.DciUserId, req.CertificateFrontFileId, req.Phone, app.ModuleClients.SfNode.Generate().Base64()) + if err != nil { + return nil, errCommon.ReturnError(err, msg.ErrCreateClientToken, "创建企业用户clientToken 失败: ") + } + updateEnterpriseUserRequest.SetClientToken(clientToken) + + // 调用底层API + updateEnterpriseUserResponse, err := app.ModuleClients.BccrClient.UpdateDciUser(updateEnterpriseUserRequest) + if err != nil { + return nil, errCommon.ReturnError(err, msg.ErrUpdateDciUser, "企业著作权人 更新 DCI信息 失败: ") + } + + errCommon.NoReturnInfo(updateEnterpriseUserResponse, "企业著作权人 更新 DCI信息 成功: ") + + _ = copier.CopyWithOption(&res, updateEnterpriseUserResponse, copier.Option{DeepCopy: false}) + + return +} + // QueryDciUser 著作权人 查询 DCI信息 func (u *DciUser) QueryDciUser(req *dci.QueryDciUserRequest) (res *dci.QueryDciUserResponse, err error) { errCommon.NoReturnInfo(req, "著作权人 查询 DCI信息 参数信息: ") diff --git a/pb/dci.proto b/pb/dci.proto index ddb96b6..fcb6194 100644 --- a/pb/dci.proto +++ b/pb/dci.proto @@ -13,6 +13,7 @@ service Dci { // dci user rpc AddDciUser(AddDciUserRequest) returns (AddDciUserResponse); rpc UpdateDciUser(UpdateDciUserRequest) returns (UpdateDciUserResponse); + rpc UpdateDciEnterpriseUser(UpdateDciEnterpriseUserRequest) returns (UpdateDciEnterpriseUserResponse); // 更新企业用户 rpc QueryDciUser(QueryDciUserRequest) returns (QueryDciUserResponse); // dci work @@ -355,4 +356,22 @@ message QueryDciFeedbackResponse { string feedbackStatus = 5 [json_name = "feedbackStatus"]; string DciContentId = 6 [json_name = "DciContentId"]; string msg = 7 [json_name = "msg"]; +} +// Dci enterprise user 更新 - 专门用于企业用户 +message UpdateDciEnterpriseUserRequest { + string dciUserId = 1 [json_name = "dciUserId",(validator.field) = {string_not_empty: true,human_error:"dci用户ID不能为空"}]; + string certificateNumber = 2 [json_name = "certificateNumber"]; + string certificateFrontFileId = 3 [json_name = "certificateFrontFileId",(validator.field) = {string_not_empty: true,human_error:"企业营业执照文件路径不能为空"}]; + string legalPersonCertName = 4 [json_name = "legalPersonCertName"]; + string legalPersonCertType = 5 [json_name = "legalPersonCertType"]; + string legalPersonCertNo = 6 [json_name = "legalPersonCertNo"]; + string phone = 7 [json_name = "phone"]; + string areaType = 8 [json_name = "areaType"]; + string clientToken = 9 [json_name = "clientToken"]; +} + +message UpdateDciEnterpriseUserResponse { + string resultCode = 1 [json_name = "resultCode"]; + string resultMsg = 2 [json_name = "resultMsg"]; + string reqMsgId = 3 [json_name = "reqMsgId"]; } \ No newline at end of file diff --git a/pb/dci/dci.pb.go b/pb/dci/dci.pb.go index 47702e2..53bf110 100644 --- a/pb/dci/dci.pb.go +++ b/pb/dci/dci.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.32.0 -// protoc v5.29.0--rc3 +// protoc-gen-go v1.27.1 +// protoc v3.21.1 // source: pb/dci.proto package dci @@ -28,10 +28,10 @@ type GetUploadUrlRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - AuthToken string `protobuf:"bytes,1,opt,name=authToken,proto3" json:"authToken"` - ProductInstanceId string `protobuf:"bytes,2,opt,name=productInstanceId,proto3" json:"productInstanceId"` - FileName string `protobuf:"bytes,3,opt,name=fileName,proto3" json:"fileName"` // 此处传递的是文件的额链接,文件名如果是中文需要 - ClientToken string `protobuf:"bytes,4,opt,name=clientToken,proto3" json:"clientToken"` + AuthToken string `protobuf:"bytes,1,opt,name=authToken,proto3" json:"authToken,omitempty"` + ProductInstanceId string `protobuf:"bytes,2,opt,name=productInstanceId,proto3" json:"productInstanceId,omitempty"` + FileName string `protobuf:"bytes,3,opt,name=fileName,proto3" json:"fileName,omitempty"` // 此处传递的是文件的额链接,文件名如果是中文需要 + ClientToken string `protobuf:"bytes,4,opt,name=clientToken,proto3" json:"clientToken,omitempty"` } func (x *GetUploadUrlRequest) Reset() { @@ -99,11 +99,11 @@ type GetUploadUrlResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ReqMsgId string `protobuf:"bytes,1,opt,name=reqMsgId,proto3" json:"reqMsgId"` - ResultCode string `protobuf:"bytes,2,opt,name=resultCode,proto3" json:"resultCode"` - ResultMsg string `protobuf:"bytes,3,opt,name=resultMsg,proto3" json:"resultMsg"` - Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url"` - FileId string `protobuf:"bytes,5,opt,name=fileId,proto3" json:"fileId"` + ReqMsgId string `protobuf:"bytes,1,opt,name=reqMsgId,proto3" json:"reqMsgId,omitempty"` + ResultCode string `protobuf:"bytes,2,opt,name=resultCode,proto3" json:"resultCode,omitempty"` + ResultMsg string `protobuf:"bytes,3,opt,name=resultMsg,proto3" json:"resultMsg,omitempty"` + Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` + FileId string `protobuf:"bytes,5,opt,name=fileId,proto3" json:"fileId,omitempty"` } func (x *GetUploadUrlResponse) Reset() { @@ -179,17 +179,17 @@ type AddDciUserRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - CertName string `protobuf:"bytes,1,opt,name=certName,proto3" json:"certName"` - CertificateNumber string `protobuf:"bytes,2,opt,name=certificateNumber,proto3" json:"certificateNumber"` - CertificateType string `protobuf:"bytes,3,opt,name=certificateType,proto3" json:"certificateType"` - CertificateFrontFileId string `protobuf:"bytes,4,opt,name=certificateFrontFileId,proto3" json:"certificateFrontFileId"` - CertificateBackFileId string `protobuf:"bytes,5,opt,name=certificateBackFileId,proto3" json:"certificateBackFileId"` - LegalPersonCertName string `protobuf:"bytes,6,opt,name=legalPersonCertName,proto3" json:"legalPersonCertName"` - LegalPersonCertType string `protobuf:"bytes,7,opt,name=legalPersonCertType,proto3" json:"legalPersonCertType"` - LegalPersonCertNo string `protobuf:"bytes,8,opt,name=legalPersonCertNo,proto3" json:"legalPersonCertNo"` - Phone string `protobuf:"bytes,9,opt,name=phone,proto3" json:"phone"` - AreaType string `protobuf:"bytes,10,opt,name=areaType,proto3" json:"areaType"` - ClientToken string `protobuf:"bytes,11,opt,name=clientToken,proto3" json:"clientToken"` + CertName string `protobuf:"bytes,1,opt,name=certName,proto3" json:"certName,omitempty"` + CertificateNumber string `protobuf:"bytes,2,opt,name=certificateNumber,proto3" json:"certificateNumber,omitempty"` + CertificateType string `protobuf:"bytes,3,opt,name=certificateType,proto3" json:"certificateType,omitempty"` + CertificateFrontFileId string `protobuf:"bytes,4,opt,name=certificateFrontFileId,proto3" json:"certificateFrontFileId,omitempty"` + CertificateBackFileId string `protobuf:"bytes,5,opt,name=certificateBackFileId,proto3" json:"certificateBackFileId,omitempty"` + LegalPersonCertName string `protobuf:"bytes,6,opt,name=legalPersonCertName,proto3" json:"legalPersonCertName,omitempty"` + LegalPersonCertType string `protobuf:"bytes,7,opt,name=legalPersonCertType,proto3" json:"legalPersonCertType,omitempty"` + LegalPersonCertNo string `protobuf:"bytes,8,opt,name=legalPersonCertNo,proto3" json:"legalPersonCertNo,omitempty"` + Phone string `protobuf:"bytes,9,opt,name=phone,proto3" json:"phone,omitempty"` + AreaType string `protobuf:"bytes,10,opt,name=areaType,proto3" json:"areaType,omitempty"` + ClientToken string `protobuf:"bytes,11,opt,name=clientToken,proto3" json:"clientToken,omitempty"` } func (x *AddDciUserRequest) Reset() { @@ -306,11 +306,11 @@ type AddDciUserResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - DciUserId string `protobuf:"bytes,1,opt,name=dciUserId,proto3" json:"dciUserId"` - DciUserStatus string `protobuf:"bytes,2,opt,name=dciUserStatus,proto3" json:"dciUserStatus"` - ResultCode string `protobuf:"bytes,3,opt,name=resultCode,proto3" json:"resultCode"` - ResultMsg string `protobuf:"bytes,4,opt,name=resultMsg,proto3" json:"resultMsg"` - ReqMsgId string `protobuf:"bytes,5,opt,name=reqMsgId,proto3" json:"reqMsgId"` + DciUserId string `protobuf:"bytes,1,opt,name=dciUserId,proto3" json:"dciUserId,omitempty"` + DciUserStatus string `protobuf:"bytes,2,opt,name=dciUserStatus,proto3" json:"dciUserStatus,omitempty"` + ResultCode string `protobuf:"bytes,3,opt,name=resultCode,proto3" json:"resultCode,omitempty"` + ResultMsg string `protobuf:"bytes,4,opt,name=resultMsg,proto3" json:"resultMsg,omitempty"` + ReqMsgId string `protobuf:"bytes,5,opt,name=reqMsgId,proto3" json:"reqMsgId,omitempty"` } func (x *AddDciUserResponse) Reset() { @@ -386,11 +386,11 @@ type UpdateDciUserRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - DciUserId string `protobuf:"bytes,1,opt,name=dciUserId,proto3" json:"dciUserId"` - CertFrontFileId string `protobuf:"bytes,2,opt,name=certFrontFileId,proto3" json:"certFrontFileId"` - CertBackFileId string `protobuf:"bytes,3,opt,name=certBackFileId,proto3" json:"certBackFileId"` - Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone"` - ClientToken string `protobuf:"bytes,5,opt,name=clientToken,proto3" json:"clientToken"` + DciUserId string `protobuf:"bytes,1,opt,name=dciUserId,proto3" json:"dciUserId,omitempty"` + CertFrontFileId string `protobuf:"bytes,2,opt,name=certFrontFileId,proto3" json:"certFrontFileId,omitempty"` + CertBackFileId string `protobuf:"bytes,3,opt,name=certBackFileId,proto3" json:"certBackFileId,omitempty"` + Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"` + ClientToken string `protobuf:"bytes,5,opt,name=clientToken,proto3" json:"clientToken,omitempty"` } func (x *UpdateDciUserRequest) Reset() { @@ -465,9 +465,9 @@ type UpdateDciUserResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ResultCode string `protobuf:"bytes,1,opt,name=resultCode,proto3" json:"resultCode"` - ResultMsg string `protobuf:"bytes,2,opt,name=resultMsg,proto3" json:"resultMsg"` - ReqMsgId string `protobuf:"bytes,3,opt,name=reqMsgId,proto3" json:"reqMsgId"` + ResultCode string `protobuf:"bytes,1,opt,name=resultCode,proto3" json:"resultCode,omitempty"` + ResultMsg string `protobuf:"bytes,2,opt,name=resultMsg,proto3" json:"resultMsg,omitempty"` + ReqMsgId string `protobuf:"bytes,3,opt,name=reqMsgId,proto3" json:"reqMsgId,omitempty"` } func (x *UpdateDciUserResponse) Reset() { @@ -529,9 +529,9 @@ type QueryDciUserRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - CertificateType string `protobuf:"bytes,1,opt,name=certificateType,proto3" json:"certificateType"` - CertificateNumber string `protobuf:"bytes,2,opt,name=certificateNumber,proto3" json:"certificateNumber"` - Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone"` + CertificateType string `protobuf:"bytes,1,opt,name=certificateType,proto3" json:"certificateType,omitempty"` + CertificateNumber string `protobuf:"bytes,2,opt,name=certificateNumber,proto3" json:"certificateNumber,omitempty"` + Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` } func (x *QueryDciUserRequest) Reset() { @@ -592,18 +592,18 @@ type QueryDciUserResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - DciUserId string `protobuf:"bytes,1,opt,name=dciUserId,proto3" json:"dciUserId"` - DciUserStatus string `protobuf:"bytes,2,opt,name=dciUserStatus,proto3" json:"dciUserStatus"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"` - CertificateType string `protobuf:"bytes,4,opt,name=certificateType,proto3" json:"certificateType"` - CertificateNumber string `protobuf:"bytes,5,opt,name=certificateNumber,proto3" json:"certificateNumber"` - Address string `protobuf:"bytes,6,opt,name=address,proto3" json:"address"` - CertStartTime string `protobuf:"bytes,7,opt,name=certStartTime,proto3" json:"certStartTime"` - CertEndTime string `protobuf:"bytes,8,opt,name=certEndTime,proto3" json:"certEndTime"` - LegalPerson string `protobuf:"bytes,9,opt,name=legalPerson,proto3" json:"legalPerson"` - ResultCode string `protobuf:"bytes,10,opt,name=resultCode,proto3" json:"resultCode"` - ResultMsg string `protobuf:"bytes,11,opt,name=resultMsg,proto3" json:"resultMsg"` - ReqMsgId string `protobuf:"bytes,12,opt,name=reqMsgId,proto3" json:"reqMsgId"` + DciUserId string `protobuf:"bytes,1,opt,name=dciUserId,proto3" json:"dciUserId,omitempty"` + DciUserStatus string `protobuf:"bytes,2,opt,name=dciUserStatus,proto3" json:"dciUserStatus,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` + CertificateType string `protobuf:"bytes,4,opt,name=certificateType,proto3" json:"certificateType,omitempty"` + CertificateNumber string `protobuf:"bytes,5,opt,name=certificateNumber,proto3" json:"certificateNumber,omitempty"` + Address string `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"` + CertStartTime string `protobuf:"bytes,7,opt,name=certStartTime,proto3" json:"certStartTime,omitempty"` + CertEndTime string `protobuf:"bytes,8,opt,name=certEndTime,proto3" json:"certEndTime,omitempty"` + LegalPerson string `protobuf:"bytes,9,opt,name=legalPerson,proto3" json:"legalPerson,omitempty"` + ResultCode string `protobuf:"bytes,10,opt,name=resultCode,proto3" json:"resultCode,omitempty"` + ResultMsg string `protobuf:"bytes,11,opt,name=resultMsg,proto3" json:"resultMsg,omitempty"` + ReqMsgId string `protobuf:"bytes,12,opt,name=reqMsgId,proto3" json:"reqMsgId,omitempty"` } func (x *QueryDciUserResponse) Reset() { @@ -728,20 +728,20 @@ type CreateDciPreregistrationRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - WorkName string `protobuf:"bytes,1,opt,name=workName,proto3" json:"workName"` - DciUserId string `protobuf:"bytes,2,opt,name=dciUserId,proto3" json:"dciUserId"` - WorkCategory string `protobuf:"bytes,3,opt,name=workCategory,proto3" json:"workCategory"` - WorkFileId string `protobuf:"bytes,4,opt,name=workFileId,proto3" json:"workFileId"` - FileType string `protobuf:"bytes,5,opt,name=fileType,proto3" json:"fileType"` - CreationInfo *DciCreationInfo `protobuf:"bytes,6,opt,name=creationInfo,proto3" json:"creationInfo"` - PublicationInfo *DciPublicationInfo `protobuf:"bytes,7,opt,name=publicationInfo,proto3" json:"publicationInfo"` - AuthorName string `protobuf:"bytes,8,opt,name=authorName,proto3" json:"authorName"` - AuthorSignature string `protobuf:"bytes,9,opt,name=authorSignature,proto3" json:"authorSignature"` - OriginalStatement string `protobuf:"bytes,10,opt,name=originalStatement,proto3" json:"originalStatement"` - RightInfo *DciRightInfo `protobuf:"bytes,11,opt,name=rightInfo,proto3" json:"rightInfo"` - PreRegistrationTrueWill string `protobuf:"bytes,12,opt,name=preRegistrationTrueWill,proto3" json:"preRegistrationTrueWill"` - CopyrightOwnerIds []string `protobuf:"bytes,13,rep,name=copyrightOwnerIds,proto3" json:"copyrightOwnerIds"` - ClientToken string `protobuf:"bytes,14,opt,name=clientToken,proto3" json:"clientToken"` + WorkName string `protobuf:"bytes,1,opt,name=workName,proto3" json:"workName,omitempty"` + DciUserId string `protobuf:"bytes,2,opt,name=dciUserId,proto3" json:"dciUserId,omitempty"` + WorkCategory string `protobuf:"bytes,3,opt,name=workCategory,proto3" json:"workCategory,omitempty"` + WorkFileId string `protobuf:"bytes,4,opt,name=workFileId,proto3" json:"workFileId,omitempty"` + FileType string `protobuf:"bytes,5,opt,name=fileType,proto3" json:"fileType,omitempty"` + CreationInfo *DciCreationInfo `protobuf:"bytes,6,opt,name=creationInfo,proto3" json:"creationInfo,omitempty"` + PublicationInfo *DciPublicationInfo `protobuf:"bytes,7,opt,name=publicationInfo,proto3" json:"publicationInfo,omitempty"` + AuthorName string `protobuf:"bytes,8,opt,name=authorName,proto3" json:"authorName,omitempty"` + AuthorSignature string `protobuf:"bytes,9,opt,name=authorSignature,proto3" json:"authorSignature,omitempty"` + OriginalStatement string `protobuf:"bytes,10,opt,name=originalStatement,proto3" json:"originalStatement,omitempty"` + RightInfo *DciRightInfo `protobuf:"bytes,11,opt,name=rightInfo,proto3" json:"rightInfo,omitempty"` + PreRegistrationTrueWill string `protobuf:"bytes,12,opt,name=preRegistrationTrueWill,proto3" json:"preRegistrationTrueWill,omitempty"` + CopyrightOwnerIds []string `protobuf:"bytes,13,rep,name=copyrightOwnerIds,proto3" json:"copyrightOwnerIds,omitempty"` + ClientToken string `protobuf:"bytes,14,opt,name=clientToken,proto3" json:"clientToken,omitempty"` } func (x *CreateDciPreregistrationRequest) Reset() { @@ -879,9 +879,9 @@ type DciCreationInfo struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - CreationNature string `protobuf:"bytes,1,opt,name=creationNature,proto3" json:"creationNature"` - CreationCompletionDate string `protobuf:"bytes,2,opt,name=creationCompletionDate,proto3" json:"creationCompletionDate"` - CreationCompletionCode string `protobuf:"bytes,3,opt,name=creationCompletionCode,proto3" json:"creationCompletionCode"` + CreationNature string `protobuf:"bytes,1,opt,name=creationNature,proto3" json:"creationNature,omitempty"` + CreationCompletionDate string `protobuf:"bytes,2,opt,name=creationCompletionDate,proto3" json:"creationCompletionDate,omitempty"` + CreationCompletionCode string `protobuf:"bytes,3,opt,name=creationCompletionCode,proto3" json:"creationCompletionCode,omitempty"` } func (x *DciCreationInfo) Reset() { @@ -942,9 +942,9 @@ type DciPublicationInfo struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - PublicationStatus string `protobuf:"bytes,1,opt,name=publicationStatus,proto3" json:"publicationStatus"` - FirstPublicationDate string `protobuf:"bytes,2,opt,name=firstPublicationDate,proto3" json:"firstPublicationDate"` - FirstPublicationCode string `protobuf:"bytes,3,opt,name=firstPublicationCode,proto3" json:"firstPublicationCode"` + PublicationStatus string `protobuf:"bytes,1,opt,name=publicationStatus,proto3" json:"publicationStatus,omitempty"` + FirstPublicationDate string `protobuf:"bytes,2,opt,name=firstPublicationDate,proto3" json:"firstPublicationDate,omitempty"` + FirstPublicationCode string `protobuf:"bytes,3,opt,name=firstPublicationCode,proto3" json:"firstPublicationCode,omitempty"` } func (x *DciPublicationInfo) Reset() { @@ -1005,9 +1005,9 @@ type DciRightInfo struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - RightScope string `protobuf:"bytes,1,opt,name=rightScope,proto3" json:"rightScope"` - RightObtainWay string `protobuf:"bytes,2,opt,name=rightObtainWay,proto3" json:"rightObtainWay"` - OwnershipWay string `protobuf:"bytes,3,opt,name=ownershipWay,proto3" json:"ownershipWay"` + RightScope string `protobuf:"bytes,1,opt,name=rightScope,proto3" json:"rightScope,omitempty"` + RightObtainWay string `protobuf:"bytes,2,opt,name=rightObtainWay,proto3" json:"rightObtainWay,omitempty"` + OwnershipWay string `protobuf:"bytes,3,opt,name=ownershipWay,proto3" json:"ownershipWay,omitempty"` } func (x *DciRightInfo) Reset() { @@ -1068,11 +1068,11 @@ type CreateDciPreregistrationResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - DciContentId string `protobuf:"bytes,1,opt,name=dciContentId,proto3" json:"dciContentId"` - ResultCode string `protobuf:"bytes,2,opt,name=resultCode,proto3" json:"resultCode"` - ResultMsg string `protobuf:"bytes,3,opt,name=resultMsg,proto3" json:"resultMsg"` - ReqMsgId string `protobuf:"bytes,4,opt,name=reqMsgId,proto3" json:"reqMsgId"` - ErrorMsg string `protobuf:"bytes,5,opt,name=errorMsg,proto3" json:"errorMsg"` + DciContentId string `protobuf:"bytes,1,opt,name=dciContentId,proto3" json:"dciContentId,omitempty"` + ResultCode string `protobuf:"bytes,2,opt,name=resultCode,proto3" json:"resultCode,omitempty"` + ResultMsg string `protobuf:"bytes,3,opt,name=resultMsg,proto3" json:"resultMsg,omitempty"` + ReqMsgId string `protobuf:"bytes,4,opt,name=reqMsgId,proto3" json:"reqMsgId,omitempty"` + ErrorMsg string `protobuf:"bytes,5,opt,name=errorMsg,proto3" json:"errorMsg,omitempty"` } func (x *CreateDciPreregistrationResponse) Reset() { @@ -1148,7 +1148,7 @@ type QueryDciPreregistrationRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - DciContentId string `protobuf:"bytes,1,opt,name=dciContentId,proto3" json:"dciContentId"` + DciContentId string `protobuf:"bytes,1,opt,name=dciContentId,proto3" json:"dciContentId,omitempty"` } func (x *QueryDciPreregistrationRequest) Reset() { @@ -1195,29 +1195,29 @@ type QueryDciPreregistrationResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status"` - FileHash string `protobuf:"bytes,2,opt,name=fileHash,proto3" json:"fileHash"` - FileHashTxHash string `protobuf:"bytes,3,opt,name=fileHashTxHash,proto3" json:"fileHashTxHash"` - FileHashBlockHeight string `protobuf:"bytes,4,opt,name=fileHashBlockHeight,proto3" json:"fileHashBlockHeight"` - DciCode string `protobuf:"bytes,5,opt,name=dciCode,proto3" json:"dciCode"` - DciCodeTxHash string `protobuf:"bytes,6,opt,name=dciCodeTxHash,proto3" json:"dciCodeTxHash"` - DciCodeBlockHeight string `protobuf:"bytes,7,opt,name=dciCodeBlockHeight,proto3" json:"dciCodeBlockHeight"` - DciCodeFileTxHash string `protobuf:"bytes,8,opt,name=dciCodeFileTxHash,proto3" json:"dciCodeFileTxHash"` - DciCodeFileBlockHeight string `protobuf:"bytes,9,opt,name=dciCodeFileBlockHeight,proto3" json:"dciCodeFileBlockHeight"` - PreRegCertTxHash string `protobuf:"bytes,10,opt,name=preRegCertTxHash,proto3" json:"preRegCertTxHash"` - PreRegCertBlockHeight string `protobuf:"bytes,11,opt,name=preRegCertBlockHeight,proto3" json:"preRegCertBlockHeight"` - DciCodeTsr string `protobuf:"bytes,12,opt,name=dciCodeTsr,proto3" json:"dciCodeTsr"` - DciCodeFileTsr string `protobuf:"bytes,13,opt,name=dciCodeFileTsr,proto3" json:"dciCodeFileTsr"` - PreRegCertTsr string `protobuf:"bytes,14,opt,name=preRegCertTsr,proto3" json:"preRegCertTsr"` - PreRegCertFileHash string `protobuf:"bytes,15,opt,name=preRegCertFileHash,proto3" json:"preRegCertFileHash"` - PreRegCertUrl string `protobuf:"bytes,16,opt,name=preRegCertUrl,proto3" json:"preRegCertUrl"` - ApplyObtainDate string `protobuf:"bytes,17,opt,name=applyObtainDate,proto3" json:"applyObtainDate"` - DciCodeObtainDate string `protobuf:"bytes,18,opt,name=dciCodeObtainDate,proto3" json:"dciCodeObtainDate"` - ErrorReason string `protobuf:"bytes,19,opt,name=errorReason,proto3" json:"errorReason"` - ErrorReasonCn string `protobuf:"bytes,20,opt,name=errorReasonCn,proto3" json:"errorReasonCn"` - ResultCode string `protobuf:"bytes,21,opt,name=resultCode,proto3" json:"resultCode"` - ResultMsg string `protobuf:"bytes,22,opt,name=resultMsg,proto3" json:"resultMsg"` - ReqMsgId string `protobuf:"bytes,23,opt,name=reqMsgId,proto3" json:"reqMsgId"` + Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + FileHash string `protobuf:"bytes,2,opt,name=fileHash,proto3" json:"fileHash,omitempty"` + FileHashTxHash string `protobuf:"bytes,3,opt,name=fileHashTxHash,proto3" json:"fileHashTxHash,omitempty"` + FileHashBlockHeight string `protobuf:"bytes,4,opt,name=fileHashBlockHeight,proto3" json:"fileHashBlockHeight,omitempty"` + DciCode string `protobuf:"bytes,5,opt,name=dciCode,proto3" json:"dciCode,omitempty"` + DciCodeTxHash string `protobuf:"bytes,6,opt,name=dciCodeTxHash,proto3" json:"dciCodeTxHash,omitempty"` + DciCodeBlockHeight string `protobuf:"bytes,7,opt,name=dciCodeBlockHeight,proto3" json:"dciCodeBlockHeight,omitempty"` + DciCodeFileTxHash string `protobuf:"bytes,8,opt,name=dciCodeFileTxHash,proto3" json:"dciCodeFileTxHash,omitempty"` + DciCodeFileBlockHeight string `protobuf:"bytes,9,opt,name=dciCodeFileBlockHeight,proto3" json:"dciCodeFileBlockHeight,omitempty"` + PreRegCertTxHash string `protobuf:"bytes,10,opt,name=preRegCertTxHash,proto3" json:"preRegCertTxHash,omitempty"` + PreRegCertBlockHeight string `protobuf:"bytes,11,opt,name=preRegCertBlockHeight,proto3" json:"preRegCertBlockHeight,omitempty"` + DciCodeTsr string `protobuf:"bytes,12,opt,name=dciCodeTsr,proto3" json:"dciCodeTsr,omitempty"` + DciCodeFileTsr string `protobuf:"bytes,13,opt,name=dciCodeFileTsr,proto3" json:"dciCodeFileTsr,omitempty"` + PreRegCertTsr string `protobuf:"bytes,14,opt,name=preRegCertTsr,proto3" json:"preRegCertTsr,omitempty"` + PreRegCertFileHash string `protobuf:"bytes,15,opt,name=preRegCertFileHash,proto3" json:"preRegCertFileHash,omitempty"` + PreRegCertUrl string `protobuf:"bytes,16,opt,name=preRegCertUrl,proto3" json:"preRegCertUrl,omitempty"` + ApplyObtainDate string `protobuf:"bytes,17,opt,name=applyObtainDate,proto3" json:"applyObtainDate,omitempty"` + DciCodeObtainDate string `protobuf:"bytes,18,opt,name=dciCodeObtainDate,proto3" json:"dciCodeObtainDate,omitempty"` + ErrorReason string `protobuf:"bytes,19,opt,name=errorReason,proto3" json:"errorReason,omitempty"` + ErrorReasonCn string `protobuf:"bytes,20,opt,name=errorReasonCn,proto3" json:"errorReasonCn,omitempty"` + ResultCode string `protobuf:"bytes,21,opt,name=resultCode,proto3" json:"resultCode,omitempty"` + ResultMsg string `protobuf:"bytes,22,opt,name=resultMsg,proto3" json:"resultMsg,omitempty"` + ReqMsgId string `protobuf:"bytes,23,opt,name=reqMsgId,proto3" json:"reqMsgId,omitempty"` } func (x *QueryDciPreregistrationResponse) Reset() { @@ -1419,11 +1419,11 @@ type CreateDciRegistrationRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - DciContentId string `protobuf:"bytes,1,opt,name=dciContentId,proto3" json:"dciContentId"` - ExplanationInfo *DciExplanationInfo `protobuf:"bytes,2,opt,name=explanationInfo,proto3" json:"explanationInfo"` - InvoiceInfo *InvoiceInfo `protobuf:"bytes,3,opt,name=invoiceInfo,proto3" json:"invoiceInfo"` - AdditionalFileInfo *AdditionalFileInfo `protobuf:"bytes,4,opt,name=additionalFileInfo,proto3" json:"additionalFileInfo"` - ClientToken string `protobuf:"bytes,5,opt,name=clientToken,proto3" json:"clientToken"` + DciContentId string `protobuf:"bytes,1,opt,name=dciContentId,proto3" json:"dciContentId,omitempty"` + ExplanationInfo *DciExplanationInfo `protobuf:"bytes,2,opt,name=explanationInfo,proto3" json:"explanationInfo,omitempty"` + InvoiceInfo *InvoiceInfo `protobuf:"bytes,3,opt,name=invoiceInfo,proto3" json:"invoiceInfo,omitempty"` + AdditionalFileInfo *AdditionalFileInfo `protobuf:"bytes,4,opt,name=additionalFileInfo,proto3" json:"additionalFileInfo,omitempty"` + ClientToken string `protobuf:"bytes,5,opt,name=clientToken,proto3" json:"clientToken,omitempty"` } func (x *CreateDciRegistrationRequest) Reset() { @@ -1498,10 +1498,10 @@ type DciExplanationInfo struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - CreationPurpose string `protobuf:"bytes,1,opt,name=creationPurpose,proto3" json:"creationPurpose"` - CreationProcess string `protobuf:"bytes,2,opt,name=creationProcess,proto3" json:"creationProcess"` - Originality string `protobuf:"bytes,3,opt,name=originality,proto3" json:"originality"` - FontCopyright string `protobuf:"bytes,4,opt,name=fontCopyright,proto3" json:"fontCopyright"` + CreationPurpose string `protobuf:"bytes,1,opt,name=creationPurpose,proto3" json:"creationPurpose,omitempty"` + CreationProcess string `protobuf:"bytes,2,opt,name=creationProcess,proto3" json:"creationProcess,omitempty"` + Originality string `protobuf:"bytes,3,opt,name=originality,proto3" json:"originality,omitempty"` + FontCopyright string `protobuf:"bytes,4,opt,name=fontCopyright,proto3" json:"fontCopyright,omitempty"` } func (x *DciExplanationInfo) Reset() { @@ -1569,14 +1569,14 @@ type InvoiceInfo struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - InvoiceType string `protobuf:"bytes,1,opt,name=invoiceType,proto3" json:"invoiceType"` - InvoiceHeader string `protobuf:"bytes,2,opt,name=invoiceHeader,proto3" json:"invoiceHeader"` - TaxpayerNumber string `protobuf:"bytes,3,opt,name=taxpayerNumber,proto3" json:"taxpayerNumber"` - RegisteredAddress string `protobuf:"bytes,4,opt,name=registeredAddress,proto3" json:"registeredAddress"` - RegisteredTel string `protobuf:"bytes,5,opt,name=registeredTel,proto3" json:"registeredTel"` - OpenAccountTel string `protobuf:"bytes,6,opt,name=openAccountTel,proto3" json:"openAccountTel"` - OpenAccountBank string `protobuf:"bytes,7,opt,name=openAccountBank,proto3" json:"openAccountBank"` - BankAccount string `protobuf:"bytes,8,opt,name=bankAccount,proto3" json:"bankAccount"` + InvoiceType string `protobuf:"bytes,1,opt,name=invoiceType,proto3" json:"invoiceType,omitempty"` + InvoiceHeader string `protobuf:"bytes,2,opt,name=invoiceHeader,proto3" json:"invoiceHeader,omitempty"` + TaxpayerNumber string `protobuf:"bytes,3,opt,name=taxpayerNumber,proto3" json:"taxpayerNumber,omitempty"` + RegisteredAddress string `protobuf:"bytes,4,opt,name=registeredAddress,proto3" json:"registeredAddress,omitempty"` + RegisteredTel string `protobuf:"bytes,5,opt,name=registeredTel,proto3" json:"registeredTel,omitempty"` + OpenAccountTel string `protobuf:"bytes,6,opt,name=openAccountTel,proto3" json:"openAccountTel,omitempty"` + OpenAccountBank string `protobuf:"bytes,7,opt,name=openAccountBank,proto3" json:"openAccountBank,omitempty"` + BankAccount string `protobuf:"bytes,8,opt,name=bankAccount,proto3" json:"bankAccount,omitempty"` } func (x *InvoiceInfo) Reset() { @@ -1672,11 +1672,11 @@ type AdditionalFileInfo struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ContentSummaryFileId string `protobuf:"bytes,1,opt,name=contentSummaryFileId,proto3" json:"contentSummaryFileId"` - OwnershipFileIds []string `protobuf:"bytes,2,rep,name=ownershipFileIds,proto3" json:"ownershipFileIds"` - PortraitAuthFileId string `protobuf:"bytes,3,opt,name=portraitAuthFileId,proto3" json:"portraitAuthFileId"` - OthersWorkAuthFileId string `protobuf:"bytes,4,opt,name=othersWorkAuthFileId,proto3" json:"othersWorkAuthFileId"` - OtherFileIdList []string `protobuf:"bytes,5,rep,name=otherFileIdList,proto3" json:"otherFileIdList"` + ContentSummaryFileId string `protobuf:"bytes,1,opt,name=contentSummaryFileId,proto3" json:"contentSummaryFileId,omitempty"` + OwnershipFileIds []string `protobuf:"bytes,2,rep,name=ownershipFileIds,proto3" json:"ownershipFileIds,omitempty"` + PortraitAuthFileId string `protobuf:"bytes,3,opt,name=portraitAuthFileId,proto3" json:"portraitAuthFileId,omitempty"` + OthersWorkAuthFileId string `protobuf:"bytes,4,opt,name=othersWorkAuthFileId,proto3" json:"othersWorkAuthFileId,omitempty"` + OtherFileIdList []string `protobuf:"bytes,5,rep,name=otherFileIdList,proto3" json:"otherFileIdList,omitempty"` } func (x *AdditionalFileInfo) Reset() { @@ -1751,11 +1751,11 @@ type CreateDciRegistrationResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - DigitalRegisterId string `protobuf:"bytes,1,opt,name=digitalRegisterId,proto3" json:"digitalRegisterId"` - ResultCode string `protobuf:"bytes,2,opt,name=resultCode,proto3" json:"resultCode"` - ResultMsg string `protobuf:"bytes,3,opt,name=resultMsg,proto3" json:"resultMsg"` - ReqMsgId string `protobuf:"bytes,4,opt,name=reqMsgId,proto3" json:"reqMsgId"` - ErrorMsg string `protobuf:"bytes,5,opt,name=errorMsg,proto3" json:"errorMsg"` + DigitalRegisterId string `protobuf:"bytes,1,opt,name=digitalRegisterId,proto3" json:"digitalRegisterId,omitempty"` + ResultCode string `protobuf:"bytes,2,opt,name=resultCode,proto3" json:"resultCode,omitempty"` + ResultMsg string `protobuf:"bytes,3,opt,name=resultMsg,proto3" json:"resultMsg,omitempty"` + ReqMsgId string `protobuf:"bytes,4,opt,name=reqMsgId,proto3" json:"reqMsgId,omitempty"` + ErrorMsg string `protobuf:"bytes,5,opt,name=errorMsg,proto3" json:"errorMsg,omitempty"` } func (x *CreateDciRegistrationResponse) Reset() { @@ -1831,8 +1831,8 @@ type QueryDciRegistrationRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - DigitalRegisterId string `protobuf:"bytes,1,opt,name=digitalRegisterId,proto3" json:"digitalRegisterId"` - DciContentId string `protobuf:"bytes,2,opt,name=dciContentId,proto3" json:"dciContentId"` + DigitalRegisterId string `protobuf:"bytes,1,opt,name=digitalRegisterId,proto3" json:"digitalRegisterId,omitempty"` + DciContentId string `protobuf:"bytes,2,opt,name=dciContentId,proto3" json:"dciContentId,omitempty"` } func (x *QueryDciRegistrationRequest) Reset() { @@ -1886,21 +1886,21 @@ type QueryDciRegistrationResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - RegNumber string `protobuf:"bytes,1,opt,name=regNumber,proto3" json:"regNumber"` - DigitalRegisterId string `protobuf:"bytes,2,opt,name=digitalRegisterId,proto3" json:"digitalRegisterId"` - DciContentId string `protobuf:"bytes,3,opt,name=dciContentId,proto3" json:"dciContentId"` - DigitalRegisterStatus string `protobuf:"bytes,4,opt,name=digitalRegisterStatus,proto3" json:"digitalRegisterStatus"` - DigitalRegisterApplyTime string `protobuf:"bytes,5,opt,name=digitalRegisterApplyTime,proto3" json:"digitalRegisterApplyTime"` - DigitalRegisterCompletionTime string `protobuf:"bytes,6,opt,name=digitalRegisterCompletionTime,proto3" json:"digitalRegisterCompletionTime"` - DownloadTimesLeft int64 `protobuf:"varint,7,opt,name=downloadTimesLeft,proto3" json:"downloadTimesLeft"` - InvoiceUrlList []string `protobuf:"bytes,8,rep,name=invoiceUrlList,proto3" json:"invoiceUrlList"` - FailDetail string `protobuf:"bytes,9,opt,name=failDetail,proto3" json:"failDetail"` - AmendType string `protobuf:"bytes,10,opt,name=amendType,proto3" json:"amendType"` - ApplyFormUrl string `protobuf:"bytes,11,opt,name=applyFormUrl,proto3" json:"applyFormUrl"` - FlowNumber string `protobuf:"bytes,12,opt,name=flowNumber,proto3" json:"flowNumber"` - ResultCode string `protobuf:"bytes,13,opt,name=resultCode,proto3" json:"resultCode"` - ResultMsg string `protobuf:"bytes,14,opt,name=resultMsg,proto3" json:"resultMsg"` - ReqMsgId string `protobuf:"bytes,15,opt,name=reqMsgId,proto3" json:"reqMsgId"` + RegNumber string `protobuf:"bytes,1,opt,name=regNumber,proto3" json:"regNumber,omitempty"` + DigitalRegisterId string `protobuf:"bytes,2,opt,name=digitalRegisterId,proto3" json:"digitalRegisterId,omitempty"` + DciContentId string `protobuf:"bytes,3,opt,name=dciContentId,proto3" json:"dciContentId,omitempty"` + DigitalRegisterStatus string `protobuf:"bytes,4,opt,name=digitalRegisterStatus,proto3" json:"digitalRegisterStatus,omitempty"` + DigitalRegisterApplyTime string `protobuf:"bytes,5,opt,name=digitalRegisterApplyTime,proto3" json:"digitalRegisterApplyTime,omitempty"` + DigitalRegisterCompletionTime string `protobuf:"bytes,6,opt,name=digitalRegisterCompletionTime,proto3" json:"digitalRegisterCompletionTime,omitempty"` + DownloadTimesLeft int64 `protobuf:"varint,7,opt,name=downloadTimesLeft,proto3" json:"downloadTimesLeft,omitempty"` + InvoiceUrlList []string `protobuf:"bytes,8,rep,name=invoiceUrlList,proto3" json:"invoiceUrlList,omitempty"` + FailDetail string `protobuf:"bytes,9,opt,name=failDetail,proto3" json:"failDetail,omitempty"` + AmendType string `protobuf:"bytes,10,opt,name=amendType,proto3" json:"amendType,omitempty"` + ApplyFormUrl string `protobuf:"bytes,11,opt,name=applyFormUrl,proto3" json:"applyFormUrl,omitempty"` + FlowNumber string `protobuf:"bytes,12,opt,name=flowNumber,proto3" json:"flowNumber,omitempty"` + ResultCode string `protobuf:"bytes,13,opt,name=resultCode,proto3" json:"resultCode,omitempty"` + ResultMsg string `protobuf:"bytes,14,opt,name=resultMsg,proto3" json:"resultMsg,omitempty"` + ReqMsgId string `protobuf:"bytes,15,opt,name=reqMsgId,proto3" json:"reqMsgId,omitempty"` } func (x *QueryDciRegistrationResponse) Reset() { @@ -2046,8 +2046,8 @@ type GetDciPayUrlRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - DigitalRegisterId string `protobuf:"bytes,1,opt,name=digitalRegisterId,proto3" json:"digitalRegisterId"` - ClientToken string `protobuf:"bytes,2,opt,name=clientToken,proto3" json:"clientToken"` + DigitalRegisterId string `protobuf:"bytes,1,opt,name=digitalRegisterId,proto3" json:"digitalRegisterId,omitempty"` + ClientToken string `protobuf:"bytes,2,opt,name=clientToken,proto3" json:"clientToken,omitempty"` } func (x *GetDciPayUrlRequest) Reset() { @@ -2101,12 +2101,12 @@ type GetDciPayUrlResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - PayUrl string `protobuf:"bytes,12,opt,name=payUrl,proto3" json:"payUrl"` - Amount string `protobuf:"bytes,13,opt,name=amount,proto3" json:"amount"` - ResultCode string `protobuf:"bytes,14,opt,name=resultCode,proto3" json:"resultCode"` - ResultMsg string `protobuf:"bytes,15,opt,name=resultMsg,proto3" json:"resultMsg"` - ReqMsgId string `protobuf:"bytes,16,opt,name=reqMsgId,proto3" json:"reqMsgId"` - ErrorMsg string `protobuf:"bytes,17,opt,name=errorMsg,proto3" json:"errorMsg"` + PayUrl string `protobuf:"bytes,12,opt,name=payUrl,proto3" json:"payUrl,omitempty"` + Amount string `protobuf:"bytes,13,opt,name=amount,proto3" json:"amount,omitempty"` + ResultCode string `protobuf:"bytes,14,opt,name=resultCode,proto3" json:"resultCode,omitempty"` + ResultMsg string `protobuf:"bytes,15,opt,name=resultMsg,proto3" json:"resultMsg,omitempty"` + ReqMsgId string `protobuf:"bytes,16,opt,name=reqMsgId,proto3" json:"reqMsgId,omitempty"` + ErrorMsg string `protobuf:"bytes,17,opt,name=errorMsg,proto3" json:"errorMsg,omitempty"` } func (x *GetDciPayUrlResponse) Reset() { @@ -2189,7 +2189,7 @@ type QueryDciPayRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - DigitalRegisterId string `protobuf:"bytes,1,opt,name=digitalRegisterId,proto3" json:"digitalRegisterId"` + DigitalRegisterId string `protobuf:"bytes,1,opt,name=digitalRegisterId,proto3" json:"digitalRegisterId,omitempty"` } func (x *QueryDciPayRequest) Reset() { @@ -2236,10 +2236,10 @@ type QueryDciPayResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - PayStatus string `protobuf:"bytes,12,opt,name=payStatus,proto3" json:"payStatus"` - ResultCode string `protobuf:"bytes,13,opt,name=resultCode,proto3" json:"resultCode"` - ResultMsg string `protobuf:"bytes,14,opt,name=resultMsg,proto3" json:"resultMsg"` - ReqMsgId string `protobuf:"bytes,15,opt,name=reqMsgId,proto3" json:"reqMsgId"` + PayStatus string `protobuf:"bytes,12,opt,name=payStatus,proto3" json:"payStatus,omitempty"` + ResultCode string `protobuf:"bytes,13,opt,name=resultCode,proto3" json:"resultCode,omitempty"` + ResultMsg string `protobuf:"bytes,14,opt,name=resultMsg,proto3" json:"resultMsg,omitempty"` + ReqMsgId string `protobuf:"bytes,15,opt,name=reqMsgId,proto3" json:"reqMsgId,omitempty"` } func (x *QueryDciPayResponse) Reset() { @@ -2308,8 +2308,8 @@ type GetDciRegistrationcertRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - DigitalRegisterId string `protobuf:"bytes,1,opt,name=digitalRegisterId,proto3" json:"digitalRegisterId"` - ClientToken string `protobuf:"bytes,2,opt,name=clientToken,proto3" json:"clientToken"` + DigitalRegisterId string `protobuf:"bytes,1,opt,name=digitalRegisterId,proto3" json:"digitalRegisterId,omitempty"` + ClientToken string `protobuf:"bytes,2,opt,name=clientToken,proto3" json:"clientToken,omitempty"` } func (x *GetDciRegistrationcertRequest) Reset() { @@ -2363,13 +2363,13 @@ type GetDciRegistrationcertResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - DigitalRegisterStatus string `protobuf:"bytes,1,opt,name=digitalRegisterStatus,proto3" json:"digitalRegisterStatus"` - DownloadUrl string `protobuf:"bytes,2,opt,name=downloadUrl,proto3" json:"downloadUrl"` - DownloadTimesLeft int64 `protobuf:"varint,3,opt,name=downloadTimesLeft,proto3" json:"downloadTimesLeft"` - FailDetail string `protobuf:"bytes,4,opt,name=failDetail,proto3" json:"failDetail"` - ResultCode string `protobuf:"bytes,5,opt,name=resultCode,proto3" json:"resultCode"` - ResultMsg string `protobuf:"bytes,6,opt,name=resultMsg,proto3" json:"resultMsg"` - ReqMsgId string `protobuf:"bytes,7,opt,name=reqMsgId,proto3" json:"reqMsgId"` + DigitalRegisterStatus string `protobuf:"bytes,1,opt,name=digitalRegisterStatus,proto3" json:"digitalRegisterStatus,omitempty"` + DownloadUrl string `protobuf:"bytes,2,opt,name=downloadUrl,proto3" json:"downloadUrl,omitempty"` + DownloadTimesLeft int64 `protobuf:"varint,3,opt,name=downloadTimesLeft,proto3" json:"downloadTimesLeft,omitempty"` + FailDetail string `protobuf:"bytes,4,opt,name=failDetail,proto3" json:"failDetail,omitempty"` + ResultCode string `protobuf:"bytes,5,opt,name=resultCode,proto3" json:"resultCode,omitempty"` + ResultMsg string `protobuf:"bytes,6,opt,name=resultMsg,proto3" json:"resultMsg,omitempty"` + ReqMsgId string `protobuf:"bytes,7,opt,name=reqMsgId,proto3" json:"reqMsgId,omitempty"` } func (x *GetDciRegistrationcertResponse) Reset() { @@ -2459,11 +2459,11 @@ type RetryDciRegistrationRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - DigitalRegisterId string `protobuf:"bytes,1,opt,name=digitalRegisterId,proto3" json:"digitalRegisterId"` - DciContentId string `protobuf:"bytes,2,opt,name=dciContentId,proto3" json:"dciContentId"` - ExplanationInfo *DciExplanationInfo `protobuf:"bytes,3,opt,name=explanationInfo,proto3" json:"explanationInfo"` - AdditionalFileInfo *AdditionalFileInfo `protobuf:"bytes,4,opt,name=additionalFileInfo,proto3" json:"additionalFileInfo"` - ClientToken string `protobuf:"bytes,5,opt,name=clientToken,proto3" json:"clientToken"` + DigitalRegisterId string `protobuf:"bytes,1,opt,name=digitalRegisterId,proto3" json:"digitalRegisterId,omitempty"` + DciContentId string `protobuf:"bytes,2,opt,name=dciContentId,proto3" json:"dciContentId,omitempty"` + ExplanationInfo *DciExplanationInfo `protobuf:"bytes,3,opt,name=explanationInfo,proto3" json:"explanationInfo,omitempty"` + AdditionalFileInfo *AdditionalFileInfo `protobuf:"bytes,4,opt,name=additionalFileInfo,proto3" json:"additionalFileInfo,omitempty"` + ClientToken string `protobuf:"bytes,5,opt,name=clientToken,proto3" json:"clientToken,omitempty"` } func (x *RetryDciRegistrationRequest) Reset() { @@ -2538,10 +2538,10 @@ type RetryDciRegistrationResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ResultCode string `protobuf:"bytes,1,opt,name=resultCode,proto3" json:"resultCode"` - ResultMsg string `protobuf:"bytes,2,opt,name=resultMsg,proto3" json:"resultMsg"` - ReqMsgId string `protobuf:"bytes,3,opt,name=reqMsgId,proto3" json:"reqMsgId"` - ErrorMsg string `protobuf:"bytes,4,opt,name=errorMsg,proto3" json:"errorMsg"` + ResultCode string `protobuf:"bytes,1,opt,name=resultCode,proto3" json:"resultCode,omitempty"` + ResultMsg string `protobuf:"bytes,2,opt,name=resultMsg,proto3" json:"resultMsg,omitempty"` + ReqMsgId string `protobuf:"bytes,3,opt,name=reqMsgId,proto3" json:"reqMsgId,omitempty"` + ErrorMsg string `protobuf:"bytes,4,opt,name=errorMsg,proto3" json:"errorMsg,omitempty"` } func (x *RetryDciRegistrationResponse) Reset() { @@ -2610,10 +2610,10 @@ type CloseDciRegistrationRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - DigitalRegisterId string `protobuf:"bytes,1,opt,name=digitalRegisterId,proto3" json:"digitalRegisterId"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` - MobileNo string `protobuf:"bytes,3,opt,name=mobileNo,proto3" json:"mobileNo"` - ClientToken string `protobuf:"bytes,5,opt,name=clientToken,proto3" json:"clientToken"` + DigitalRegisterId string `protobuf:"bytes,1,opt,name=digitalRegisterId,proto3" json:"digitalRegisterId,omitempty"` + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + MobileNo string `protobuf:"bytes,3,opt,name=mobileNo,proto3" json:"mobileNo,omitempty"` + ClientToken string `protobuf:"bytes,5,opt,name=clientToken,proto3" json:"clientToken,omitempty"` } func (x *CloseDciRegistrationRequest) Reset() { @@ -2681,9 +2681,9 @@ type CloseDciRegistrationResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ResultCode string `protobuf:"bytes,1,opt,name=resultCode,proto3" json:"resultCode"` - ResultMsg string `protobuf:"bytes,2,opt,name=resultMsg,proto3" json:"resultMsg"` - ReqMsgId string `protobuf:"bytes,3,opt,name=reqMsgId,proto3" json:"reqMsgId"` + ResultCode string `protobuf:"bytes,1,opt,name=resultCode,proto3" json:"resultCode,omitempty"` + ResultMsg string `protobuf:"bytes,2,opt,name=resultMsg,proto3" json:"resultMsg,omitempty"` + ReqMsgId string `protobuf:"bytes,3,opt,name=reqMsgId,proto3" json:"reqMsgId,omitempty"` } func (x *CloseDciRegistrationResponse) Reset() { @@ -2744,12 +2744,12 @@ type SubmitDciFeedbackRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ServiceId string `protobuf:"bytes,1,opt,name=serviceId,proto3" json:"serviceId"` - ContactName string `protobuf:"bytes,2,opt,name=contactName,proto3" json:"contactName"` - ContactPhoneNumber string `protobuf:"bytes,3,opt,name=contactPhoneNumber,proto3" json:"contactPhoneNumber"` - Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message"` - ClientToken string `protobuf:"bytes,5,opt,name=clientToken,proto3" json:"clientToken"` - FeedbackType string `protobuf:"bytes,6,opt,name=feedbackType,proto3" json:"feedbackType"` + ServiceId string `protobuf:"bytes,1,opt,name=serviceId,proto3" json:"serviceId,omitempty"` + ContactName string `protobuf:"bytes,2,opt,name=contactName,proto3" json:"contactName,omitempty"` + ContactPhoneNumber string `protobuf:"bytes,3,opt,name=contactPhoneNumber,proto3" json:"contactPhoneNumber,omitempty"` + Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"` + ClientToken string `protobuf:"bytes,5,opt,name=clientToken,proto3" json:"clientToken,omitempty"` + FeedbackType string `protobuf:"bytes,6,opt,name=feedbackType,proto3" json:"feedbackType,omitempty"` } func (x *SubmitDciFeedbackRequest) Reset() { @@ -2831,10 +2831,10 @@ type SubmitDciFeedbackResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ResultCode string `protobuf:"bytes,1,opt,name=resultCode,proto3" json:"resultCode"` - ResultMsg string `protobuf:"bytes,2,opt,name=resultMsg,proto3" json:"resultMsg"` - ReqMsgId string `protobuf:"bytes,3,opt,name=reqMsgId,proto3" json:"reqMsgId"` - Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id"` + ResultCode string `protobuf:"bytes,1,opt,name=resultCode,proto3" json:"resultCode,omitempty"` + ResultMsg string `protobuf:"bytes,2,opt,name=resultMsg,proto3" json:"resultMsg,omitempty"` + ReqMsgId string `protobuf:"bytes,3,opt,name=reqMsgId,proto3" json:"reqMsgId,omitempty"` + Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"` } func (x *SubmitDciFeedbackResponse) Reset() { @@ -2902,7 +2902,7 @@ type QueryDciFeedbackRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` } func (x *QueryDciFeedbackRequest) Reset() { @@ -2949,13 +2949,13 @@ type QueryDciFeedbackResponse struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ResultCode string `protobuf:"bytes,1,opt,name=resultCode,proto3" json:"resultCode"` - ResultMsg string `protobuf:"bytes,2,opt,name=resultMsg,proto3" json:"resultMsg"` - ReqMsgId string `protobuf:"bytes,3,opt,name=reqMsgId,proto3" json:"reqMsgId"` - Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id"` - FeedbackStatus string `protobuf:"bytes,5,opt,name=feedbackStatus,proto3" json:"feedbackStatus"` - DciContentId string `protobuf:"bytes,6,opt,name=DciContentId,proto3" json:"DciContentId"` - Msg string `protobuf:"bytes,7,opt,name=msg,proto3" json:"msg"` + ResultCode string `protobuf:"bytes,1,opt,name=resultCode,proto3" json:"resultCode,omitempty"` + ResultMsg string `protobuf:"bytes,2,opt,name=resultMsg,proto3" json:"resultMsg,omitempty"` + ReqMsgId string `protobuf:"bytes,3,opt,name=reqMsgId,proto3" json:"reqMsgId,omitempty"` + Id string `protobuf:"bytes,4,opt,name=id,proto3" json:"id,omitempty"` + FeedbackStatus string `protobuf:"bytes,5,opt,name=feedbackStatus,proto3" json:"feedbackStatus,omitempty"` + DciContentId string `protobuf:"bytes,6,opt,name=DciContentId,proto3" json:"DciContentId,omitempty"` + Msg string `protobuf:"bytes,7,opt,name=msg,proto3" json:"msg,omitempty"` } func (x *QueryDciFeedbackResponse) Reset() { @@ -3039,6 +3039,181 @@ func (x *QueryDciFeedbackResponse) GetMsg() string { return "" } +// Dci enterprise user 更新 - 专门用于企业用户 +type UpdateDciEnterpriseUserRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DciUserId string `protobuf:"bytes,1,opt,name=dciUserId,proto3" json:"dciUserId,omitempty"` + CertificateNumber string `protobuf:"bytes,2,opt,name=certificateNumber,proto3" json:"certificateNumber,omitempty"` + CertificateFrontFileId string `protobuf:"bytes,3,opt,name=certificateFrontFileId,proto3" json:"certificateFrontFileId,omitempty"` + LegalPersonCertName string `protobuf:"bytes,4,opt,name=legalPersonCertName,proto3" json:"legalPersonCertName,omitempty"` + LegalPersonCertType string `protobuf:"bytes,5,opt,name=legalPersonCertType,proto3" json:"legalPersonCertType,omitempty"` + LegalPersonCertNo string `protobuf:"bytes,6,opt,name=legalPersonCertNo,proto3" json:"legalPersonCertNo,omitempty"` + Phone string `protobuf:"bytes,7,opt,name=phone,proto3" json:"phone,omitempty"` + AreaType string `protobuf:"bytes,8,opt,name=areaType,proto3" json:"areaType,omitempty"` + ClientToken string `protobuf:"bytes,9,opt,name=clientToken,proto3" json:"clientToken,omitempty"` +} + +func (x *UpdateDciEnterpriseUserRequest) Reset() { + *x = UpdateDciEnterpriseUserRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_pb_dci_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateDciEnterpriseUserRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateDciEnterpriseUserRequest) ProtoMessage() {} + +func (x *UpdateDciEnterpriseUserRequest) ProtoReflect() protoreflect.Message { + mi := &file_pb_dci_proto_msgTypes[36] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateDciEnterpriseUserRequest.ProtoReflect.Descriptor instead. +func (*UpdateDciEnterpriseUserRequest) Descriptor() ([]byte, []int) { + return file_pb_dci_proto_rawDescGZIP(), []int{36} +} + +func (x *UpdateDciEnterpriseUserRequest) GetDciUserId() string { + if x != nil { + return x.DciUserId + } + return "" +} + +func (x *UpdateDciEnterpriseUserRequest) GetCertificateNumber() string { + if x != nil { + return x.CertificateNumber + } + return "" +} + +func (x *UpdateDciEnterpriseUserRequest) GetCertificateFrontFileId() string { + if x != nil { + return x.CertificateFrontFileId + } + return "" +} + +func (x *UpdateDciEnterpriseUserRequest) GetLegalPersonCertName() string { + if x != nil { + return x.LegalPersonCertName + } + return "" +} + +func (x *UpdateDciEnterpriseUserRequest) GetLegalPersonCertType() string { + if x != nil { + return x.LegalPersonCertType + } + return "" +} + +func (x *UpdateDciEnterpriseUserRequest) GetLegalPersonCertNo() string { + if x != nil { + return x.LegalPersonCertNo + } + return "" +} + +func (x *UpdateDciEnterpriseUserRequest) GetPhone() string { + if x != nil { + return x.Phone + } + return "" +} + +func (x *UpdateDciEnterpriseUserRequest) GetAreaType() string { + if x != nil { + return x.AreaType + } + return "" +} + +func (x *UpdateDciEnterpriseUserRequest) GetClientToken() string { + if x != nil { + return x.ClientToken + } + return "" +} + +type UpdateDciEnterpriseUserResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ResultCode string `protobuf:"bytes,1,opt,name=resultCode,proto3" json:"resultCode,omitempty"` + ResultMsg string `protobuf:"bytes,2,opt,name=resultMsg,proto3" json:"resultMsg,omitempty"` + ReqMsgId string `protobuf:"bytes,3,opt,name=reqMsgId,proto3" json:"reqMsgId,omitempty"` +} + +func (x *UpdateDciEnterpriseUserResponse) Reset() { + *x = UpdateDciEnterpriseUserResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_pb_dci_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateDciEnterpriseUserResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateDciEnterpriseUserResponse) ProtoMessage() {} + +func (x *UpdateDciEnterpriseUserResponse) ProtoReflect() protoreflect.Message { + mi := &file_pb_dci_proto_msgTypes[37] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateDciEnterpriseUserResponse.ProtoReflect.Descriptor instead. +func (*UpdateDciEnterpriseUserResponse) Descriptor() ([]byte, []int) { + return file_pb_dci_proto_rawDescGZIP(), []int{37} +} + +func (x *UpdateDciEnterpriseUserResponse) GetResultCode() string { + if x != nil { + return x.ResultCode + } + return "" +} + +func (x *UpdateDciEnterpriseUserResponse) GetResultMsg() string { + if x != nil { + return x.ResultMsg + } + return "" +} + +func (x *UpdateDciEnterpriseUserResponse) GetReqMsgId() string { + if x != nil { + return x.ReqMsgId + } + return "" +} + var File_pb_dci_proto protoreflect.FileDescriptor var file_pb_dci_proto_rawDesc = []byte{ @@ -3695,87 +3870,131 @@ var file_pb_dci_proto_rawDesc = []byte{ 0x12, 0x22, 0x0a, 0x0c, 0x44, 0x63, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x44, 0x63, 0x69, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x32, 0xeb, 0x09, 0x0a, 0x03, 0x44, 0x63, 0x69, 0x12, 0x43, - 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x12, 0x18, - 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, - 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x47, - 0x65, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x44, 0x63, 0x69, 0x55, 0x73, 0x65, - 0x72, 0x12, 0x16, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x41, 0x64, 0x64, 0x44, 0x63, 0x69, 0x55, 0x73, - 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x64, 0x63, 0x69, 0x2e, - 0x41, 0x64, 0x64, 0x44, 0x63, 0x69, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x46, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x55, - 0x73, 0x65, 0x72, 0x12, 0x19, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x44, 0x63, 0x69, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, - 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x55, 0x73, - 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0c, 0x51, 0x75, - 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x55, 0x73, 0x65, 0x72, 0x12, 0x18, 0x2e, 0x64, 0x63, 0x69, - 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x44, 0x63, 0x69, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, - 0x67, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x50, 0x72, 0x65, 0x72, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x64, 0x63, - 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x50, 0x72, 0x65, 0x72, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x25, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x63, + 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0xdf, 0x03, 0x0a, 0x1e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x44, 0x63, 0x69, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x55, 0x73, + 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x09, 0x64, 0x63, 0x69, + 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1f, 0xe2, 0xdf, + 0x1f, 0x1b, 0x2a, 0x17, 0x64, 0x63, 0x69, 0xe7, 0x94, 0xa8, 0xe6, 0x88, 0xb7, 0x49, 0x44, 0xe4, + 0xb8, 0x8d, 0xe8, 0x83, 0xbd, 0xe4, 0xb8, 0xba, 0xe7, 0xa9, 0xba, 0x58, 0x01, 0x52, 0x09, 0x64, + 0x63, 0x69, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x11, 0x63, 0x65, 0x72, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x11, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, + 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x6a, 0x0a, 0x16, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x65, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x49, 0x64, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x32, 0xe2, 0xdf, 0x1f, 0x2e, 0x2a, 0x2a, 0xe4, 0xbc, + 0x81, 0xe4, 0xb8, 0x9a, 0xe8, 0x90, 0xa5, 0xe4, 0xb8, 0x9a, 0xe6, 0x89, 0xa7, 0xe7, 0x85, 0xa7, + 0xe6, 0x96, 0x87, 0xe4, 0xbb, 0xb6, 0xe8, 0xb7, 0xaf, 0xe5, 0xbe, 0x84, 0xe4, 0xb8, 0x8d, 0xe8, + 0x83, 0xbd, 0xe4, 0xb8, 0xba, 0xe7, 0xa9, 0xba, 0x58, 0x01, 0x52, 0x16, 0x63, 0x65, 0x72, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x46, 0x69, 0x6c, 0x65, + 0x49, 0x64, 0x12, 0x30, 0x0a, 0x13, 0x6c, 0x65, 0x67, 0x61, 0x6c, 0x50, 0x65, 0x72, 0x73, 0x6f, + 0x6e, 0x43, 0x65, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x13, 0x6c, 0x65, 0x67, 0x61, 0x6c, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x43, 0x65, 0x72, 0x74, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x6c, 0x65, 0x67, 0x61, 0x6c, 0x50, 0x65, 0x72, + 0x73, 0x6f, 0x6e, 0x43, 0x65, 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x13, 0x6c, 0x65, 0x67, 0x61, 0x6c, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x43, 0x65, + 0x72, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x6c, 0x65, 0x67, 0x61, 0x6c, 0x50, + 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x43, 0x65, 0x72, 0x74, 0x4e, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x11, 0x6c, 0x65, 0x67, 0x61, 0x6c, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x43, 0x65, + 0x72, 0x74, 0x4e, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x72, + 0x65, 0x61, 0x54, 0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x72, + 0x65, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x7b, 0x0a, 0x1f, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x44, 0x63, 0x69, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x55, + 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x72, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x72, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x4d, 0x73, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x71, + 0x4d, 0x73, 0x67, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x71, + 0x4d, 0x73, 0x67, 0x49, 0x64, 0x32, 0xd1, 0x0a, 0x0a, 0x03, 0x44, 0x63, 0x69, 0x12, 0x43, 0x0a, + 0x0c, 0x47, 0x65, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x12, 0x18, 0x2e, + 0x64, 0x63, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x47, 0x65, + 0x74, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x44, 0x63, 0x69, 0x55, 0x73, 0x65, 0x72, + 0x12, 0x16, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x41, 0x64, 0x64, 0x44, 0x63, 0x69, 0x55, 0x73, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x41, + 0x64, 0x64, 0x44, 0x63, 0x69, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x46, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x55, 0x73, + 0x65, 0x72, 0x12, 0x19, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, + 0x63, 0x69, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, + 0x64, 0x63, 0x69, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x55, 0x73, 0x65, + 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x64, 0x0a, 0x17, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, + 0x55, 0x73, 0x65, 0x72, 0x12, 0x23, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x44, 0x63, 0x69, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x55, 0x73, + 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x64, 0x63, 0x69, 0x2e, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x45, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, + 0x69, 0x73, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x43, 0x0a, 0x0c, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x55, 0x73, 0x65, 0x72, 0x12, + 0x18, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x55, 0x73, + 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x64, 0x63, 0x69, 0x2e, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x67, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x50, 0x72, 0x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x64, 0x0a, 0x17, 0x51, 0x75, 0x65, 0x72, - 0x79, 0x44, 0x63, 0x69, 0x50, 0x72, 0x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, - 0x63, 0x69, 0x50, 0x72, 0x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x51, + 0x12, 0x24, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, + 0x50, 0x72, 0x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x50, 0x72, 0x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x64, 0x0a, + 0x17, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x50, 0x72, 0x65, 0x72, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x50, 0x72, 0x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, - 0x0a, 0x11, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x44, 0x63, 0x69, 0x46, 0x65, 0x65, 0x64, 0x62, - 0x61, 0x63, 0x6b, 0x12, 0x1d, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, - 0x44, 0x63, 0x69, 0x46, 0x65, 0x65, 0x64, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x44, - 0x63, 0x69, 0x46, 0x65, 0x65, 0x64, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x10, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x46, 0x65, - 0x65, 0x64, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x1c, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x44, 0x63, 0x69, 0x46, 0x65, 0x65, 0x64, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x44, 0x63, 0x69, 0x46, 0x65, 0x65, 0x64, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x5e, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, - 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x2e, 0x64, - 0x63, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x22, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x52, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, + 0x64, 0x63, 0x69, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x50, 0x72, 0x65, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x14, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x52, - 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x2e, 0x64, 0x63, - 0x69, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, - 0x64, 0x63, 0x69, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, - 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x43, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x44, 0x63, 0x69, 0x50, 0x61, 0x79, 0x55, 0x72, 0x6c, - 0x12, 0x18, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x63, 0x69, 0x50, 0x61, 0x79, - 0x55, 0x72, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x64, 0x63, 0x69, - 0x2e, 0x47, 0x65, 0x74, 0x44, 0x63, 0x69, 0x50, 0x61, 0x79, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, - 0x69, 0x50, 0x61, 0x79, 0x12, 0x17, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, - 0x44, 0x63, 0x69, 0x50, 0x61, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, - 0x64, 0x63, 0x69, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x50, 0x61, 0x79, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x44, 0x63, - 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x63, 0x65, 0x72, - 0x74, 0x12, 0x22, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x63, 0x69, 0x52, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x63, 0x65, 0x72, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x44, - 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x63, 0x65, - 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x14, 0x52, 0x65, - 0x74, 0x72, 0x79, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x20, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x44, 0x63, + 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x11, 0x53, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x44, 0x63, 0x69, + 0x46, 0x65, 0x65, 0x64, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x1d, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x53, + 0x75, 0x62, 0x6d, 0x69, 0x74, 0x44, 0x63, 0x69, 0x46, 0x65, 0x65, 0x64, 0x62, 0x61, 0x63, 0x6b, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x53, 0x75, + 0x62, 0x6d, 0x69, 0x74, 0x44, 0x63, 0x69, 0x46, 0x65, 0x65, 0x64, 0x62, 0x61, 0x63, 0x6b, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x10, 0x51, 0x75, 0x65, 0x72, 0x79, + 0x44, 0x63, 0x69, 0x46, 0x65, 0x65, 0x64, 0x62, 0x61, 0x63, 0x6b, 0x12, 0x1c, 0x2e, 0x64, 0x63, + 0x69, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x46, 0x65, 0x65, 0x64, 0x62, 0x61, + 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x64, 0x63, 0x69, 0x2e, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x46, 0x65, 0x65, 0x64, 0x62, 0x61, 0x63, 0x6b, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5e, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x21, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x14, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x20, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x52, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, + 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x44, 0x63, 0x69, 0x50, + 0x61, 0x79, 0x55, 0x72, 0x6c, 0x12, 0x18, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x44, + 0x63, 0x69, 0x50, 0x61, 0x79, 0x55, 0x72, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x19, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x63, 0x69, 0x50, 0x61, 0x79, 0x55, + 0x72, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x50, 0x61, 0x79, 0x12, 0x17, 0x2e, 0x64, 0x63, 0x69, 0x2e, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, 0x69, 0x50, 0x61, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x44, 0x63, + 0x69, 0x50, 0x61, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, 0x16, + 0x47, 0x65, 0x74, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x63, 0x65, 0x72, 0x74, 0x12, 0x22, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x47, 0x65, 0x74, + 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x63, + 0x65, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x64, 0x63, 0x69, + 0x2e, 0x47, 0x65, 0x74, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x63, 0x65, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x5b, 0x0a, 0x14, 0x52, 0x65, 0x74, 0x72, 0x79, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x52, 0x65, + 0x74, 0x72, 0x79, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x64, 0x63, 0x69, 0x2e, + 0x52, 0x65, 0x74, 0x72, 0x79, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x14, + 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x14, 0x43, 0x6c, 0x6f, 0x73, 0x65, - 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x20, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x44, 0x63, 0x69, 0x52, 0x65, - 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x21, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x44, 0x63, 0x69, - 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x07, 0x5a, 0x05, 0x2e, 0x2f, 0x64, 0x63, 0x69, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x64, 0x63, 0x69, 0x2e, 0x43, 0x6c, 0x6f, + 0x73, 0x65, 0x44, 0x63, 0x69, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x07, 0x5a, 0x05, 0x2e, 0x2f, 0x64, + 0x63, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -3790,7 +4009,7 @@ func file_pb_dci_proto_rawDescGZIP() []byte { return file_pb_dci_proto_rawDescData } -var file_pb_dci_proto_msgTypes = make([]protoimpl.MessageInfo, 36) +var file_pb_dci_proto_msgTypes = make([]protoimpl.MessageInfo, 38) var file_pb_dci_proto_goTypes = []interface{}{ (*GetUploadUrlRequest)(nil), // 0: dci.GetUploadUrlRequest (*GetUploadUrlResponse)(nil), // 1: dci.GetUploadUrlResponse @@ -3828,6 +4047,8 @@ var file_pb_dci_proto_goTypes = []interface{}{ (*SubmitDciFeedbackResponse)(nil), // 33: dci.SubmitDciFeedbackResponse (*QueryDciFeedbackRequest)(nil), // 34: dci.QueryDciFeedbackRequest (*QueryDciFeedbackResponse)(nil), // 35: dci.QueryDciFeedbackResponse + (*UpdateDciEnterpriseUserRequest)(nil), // 36: dci.UpdateDciEnterpriseUserRequest + (*UpdateDciEnterpriseUserResponse)(nil), // 37: dci.UpdateDciEnterpriseUserResponse } var file_pb_dci_proto_depIdxs = []int32{ 9, // 0: dci.CreateDciPreregistrationRequest.creationInfo:type_name -> dci.DciCreationInfo @@ -3841,35 +4062,37 @@ var file_pb_dci_proto_depIdxs = []int32{ 0, // 8: dci.Dci.GetUploadUrl:input_type -> dci.GetUploadUrlRequest 2, // 9: dci.Dci.AddDciUser:input_type -> dci.AddDciUserRequest 4, // 10: dci.Dci.UpdateDciUser:input_type -> dci.UpdateDciUserRequest - 6, // 11: dci.Dci.QueryDciUser:input_type -> dci.QueryDciUserRequest - 8, // 12: dci.Dci.CreateDciPreregistration:input_type -> dci.CreateDciPreregistrationRequest - 13, // 13: dci.Dci.QueryDciPreregistration:input_type -> dci.QueryDciPreregistrationRequest - 32, // 14: dci.Dci.SubmitDciFeedback:input_type -> dci.SubmitDciFeedbackRequest - 34, // 15: dci.Dci.QueryDciFeedback:input_type -> dci.QueryDciFeedbackRequest - 15, // 16: dci.Dci.CreateDciRegistration:input_type -> dci.CreateDciRegistrationRequest - 20, // 17: dci.Dci.QueryDciRegistration:input_type -> dci.QueryDciRegistrationRequest - 22, // 18: dci.Dci.GetDciPayUrl:input_type -> dci.GetDciPayUrlRequest - 24, // 19: dci.Dci.QueryDciPay:input_type -> dci.QueryDciPayRequest - 26, // 20: dci.Dci.GetDciRegistrationcert:input_type -> dci.GetDciRegistrationcertRequest - 28, // 21: dci.Dci.RetryDciRegistration:input_type -> dci.RetryDciRegistrationRequest - 30, // 22: dci.Dci.CloseDciRegistration:input_type -> dci.CloseDciRegistrationRequest - 1, // 23: dci.Dci.GetUploadUrl:output_type -> dci.GetUploadUrlResponse - 3, // 24: dci.Dci.AddDciUser:output_type -> dci.AddDciUserResponse - 5, // 25: dci.Dci.UpdateDciUser:output_type -> dci.UpdateDciUserResponse - 7, // 26: dci.Dci.QueryDciUser:output_type -> dci.QueryDciUserResponse - 12, // 27: dci.Dci.CreateDciPreregistration:output_type -> dci.CreateDciPreregistrationResponse - 14, // 28: dci.Dci.QueryDciPreregistration:output_type -> dci.QueryDciPreregistrationResponse - 33, // 29: dci.Dci.SubmitDciFeedback:output_type -> dci.SubmitDciFeedbackResponse - 35, // 30: dci.Dci.QueryDciFeedback:output_type -> dci.QueryDciFeedbackResponse - 19, // 31: dci.Dci.CreateDciRegistration:output_type -> dci.CreateDciRegistrationResponse - 21, // 32: dci.Dci.QueryDciRegistration:output_type -> dci.QueryDciRegistrationResponse - 23, // 33: dci.Dci.GetDciPayUrl:output_type -> dci.GetDciPayUrlResponse - 25, // 34: dci.Dci.QueryDciPay:output_type -> dci.QueryDciPayResponse - 27, // 35: dci.Dci.GetDciRegistrationcert:output_type -> dci.GetDciRegistrationcertResponse - 29, // 36: dci.Dci.RetryDciRegistration:output_type -> dci.RetryDciRegistrationResponse - 31, // 37: dci.Dci.CloseDciRegistration:output_type -> dci.CloseDciRegistrationResponse - 23, // [23:38] is the sub-list for method output_type - 8, // [8:23] is the sub-list for method input_type + 36, // 11: dci.Dci.UpdateDciEnterpriseUser:input_type -> dci.UpdateDciEnterpriseUserRequest + 6, // 12: dci.Dci.QueryDciUser:input_type -> dci.QueryDciUserRequest + 8, // 13: dci.Dci.CreateDciPreregistration:input_type -> dci.CreateDciPreregistrationRequest + 13, // 14: dci.Dci.QueryDciPreregistration:input_type -> dci.QueryDciPreregistrationRequest + 32, // 15: dci.Dci.SubmitDciFeedback:input_type -> dci.SubmitDciFeedbackRequest + 34, // 16: dci.Dci.QueryDciFeedback:input_type -> dci.QueryDciFeedbackRequest + 15, // 17: dci.Dci.CreateDciRegistration:input_type -> dci.CreateDciRegistrationRequest + 20, // 18: dci.Dci.QueryDciRegistration:input_type -> dci.QueryDciRegistrationRequest + 22, // 19: dci.Dci.GetDciPayUrl:input_type -> dci.GetDciPayUrlRequest + 24, // 20: dci.Dci.QueryDciPay:input_type -> dci.QueryDciPayRequest + 26, // 21: dci.Dci.GetDciRegistrationcert:input_type -> dci.GetDciRegistrationcertRequest + 28, // 22: dci.Dci.RetryDciRegistration:input_type -> dci.RetryDciRegistrationRequest + 30, // 23: dci.Dci.CloseDciRegistration:input_type -> dci.CloseDciRegistrationRequest + 1, // 24: dci.Dci.GetUploadUrl:output_type -> dci.GetUploadUrlResponse + 3, // 25: dci.Dci.AddDciUser:output_type -> dci.AddDciUserResponse + 5, // 26: dci.Dci.UpdateDciUser:output_type -> dci.UpdateDciUserResponse + 37, // 27: dci.Dci.UpdateDciEnterpriseUser:output_type -> dci.UpdateDciEnterpriseUserResponse + 7, // 28: dci.Dci.QueryDciUser:output_type -> dci.QueryDciUserResponse + 12, // 29: dci.Dci.CreateDciPreregistration:output_type -> dci.CreateDciPreregistrationResponse + 14, // 30: dci.Dci.QueryDciPreregistration:output_type -> dci.QueryDciPreregistrationResponse + 33, // 31: dci.Dci.SubmitDciFeedback:output_type -> dci.SubmitDciFeedbackResponse + 35, // 32: dci.Dci.QueryDciFeedback:output_type -> dci.QueryDciFeedbackResponse + 19, // 33: dci.Dci.CreateDciRegistration:output_type -> dci.CreateDciRegistrationResponse + 21, // 34: dci.Dci.QueryDciRegistration:output_type -> dci.QueryDciRegistrationResponse + 23, // 35: dci.Dci.GetDciPayUrl:output_type -> dci.GetDciPayUrlResponse + 25, // 36: dci.Dci.QueryDciPay:output_type -> dci.QueryDciPayResponse + 27, // 37: dci.Dci.GetDciRegistrationcert:output_type -> dci.GetDciRegistrationcertResponse + 29, // 38: dci.Dci.RetryDciRegistration:output_type -> dci.RetryDciRegistrationResponse + 31, // 39: dci.Dci.CloseDciRegistration:output_type -> dci.CloseDciRegistrationResponse + 24, // [24:40] is the sub-list for method output_type + 8, // [8:24] is the sub-list for method input_type 8, // [8:8] is the sub-list for extension type_name 8, // [8:8] is the sub-list for extension extendee 0, // [0:8] is the sub-list for field type_name @@ -4313,6 +4536,30 @@ func file_pb_dci_proto_init() { return nil } } + file_pb_dci_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateDciEnterpriseUserRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_pb_dci_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateDciEnterpriseUserResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } type x struct{} out := protoimpl.TypeBuilder{ @@ -4320,7 +4567,7 @@ func file_pb_dci_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_pb_dci_proto_rawDesc, NumEnums: 0, - NumMessages: 36, + NumMessages: 38, NumExtensions: 0, NumServices: 1, }, diff --git a/pb/dci/dci.validator.pb.go b/pb/dci/dci.validator.pb.go index 195aea2..7cafe65 100644 --- a/pb/dci/dci.validator.pb.go +++ b/pb/dci/dci.validator.pb.go @@ -335,3 +335,15 @@ func (this *QueryDciFeedbackRequest) Validate() error { func (this *QueryDciFeedbackResponse) Validate() error { return nil } +func (this *UpdateDciEnterpriseUserRequest) Validate() error { + if this.DciUserId == "" { + return github_com_mwitkow_go_proto_validators.FieldError("DciUserId", fmt.Errorf(`dci用户ID不能为空`)) + } + if this.CertificateFrontFileId == "" { + return github_com_mwitkow_go_proto_validators.FieldError("CertificateFrontFileId", fmt.Errorf(`企业营业执照文件路径不能为空`)) + } + return nil +} +func (this *UpdateDciEnterpriseUserResponse) Validate() error { + return nil +} diff --git a/pb/dci/dci_triple.pb.go b/pb/dci/dci_triple.pb.go index 8379213..df7d349 100644 --- a/pb/dci/dci_triple.pb.go +++ b/pb/dci/dci_triple.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-triple. DO NOT EDIT. // versions: -// - protoc-gen-go-triple v1.0.5 -// - protoc v5.29.0--rc3 +// - protoc-gen-go-triple v1.0.8 +// - protoc v3.21.1 // source: pb/dci.proto package dci @@ -33,6 +33,7 @@ type DciClient interface { // dci user AddDciUser(ctx context.Context, in *AddDciUserRequest, opts ...grpc_go.CallOption) (*AddDciUserResponse, common.ErrorWithAttachment) UpdateDciUser(ctx context.Context, in *UpdateDciUserRequest, opts ...grpc_go.CallOption) (*UpdateDciUserResponse, common.ErrorWithAttachment) + UpdateDciEnterpriseUser(ctx context.Context, in *UpdateDciEnterpriseUserRequest, opts ...grpc_go.CallOption) (*UpdateDciEnterpriseUserResponse, common.ErrorWithAttachment) QueryDciUser(ctx context.Context, in *QueryDciUserRequest, opts ...grpc_go.CallOption) (*QueryDciUserResponse, common.ErrorWithAttachment) // dci work CreateDciPreregistration(ctx context.Context, in *CreateDciPreregistrationRequest, opts ...grpc_go.CallOption) (*CreateDciPreregistrationResponse, common.ErrorWithAttachment) @@ -57,6 +58,7 @@ type DciClientImpl struct { GetUploadUrl func(ctx context.Context, in *GetUploadUrlRequest) (*GetUploadUrlResponse, error) AddDciUser func(ctx context.Context, in *AddDciUserRequest) (*AddDciUserResponse, error) UpdateDciUser func(ctx context.Context, in *UpdateDciUserRequest) (*UpdateDciUserResponse, error) + UpdateDciEnterpriseUser func(ctx context.Context, in *UpdateDciEnterpriseUserRequest) (*UpdateDciEnterpriseUserResponse, error) QueryDciUser func(ctx context.Context, in *QueryDciUserRequest) (*QueryDciUserResponse, error) CreateDciPreregistration func(ctx context.Context, in *CreateDciPreregistrationRequest) (*CreateDciPreregistrationResponse, error) QueryDciPreregistration func(ctx context.Context, in *QueryDciPreregistrationRequest) (*QueryDciPreregistrationResponse, error) @@ -101,6 +103,12 @@ func (c *dciClient) UpdateDciUser(ctx context.Context, in *UpdateDciUserRequest, return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateDciUser", in, out) } +func (c *dciClient) UpdateDciEnterpriseUser(ctx context.Context, in *UpdateDciEnterpriseUserRequest, opts ...grpc_go.CallOption) (*UpdateDciEnterpriseUserResponse, common.ErrorWithAttachment) { + out := new(UpdateDciEnterpriseUserResponse) + interfaceKey := ctx.Value(constant.InterfaceKey).(string) + return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateDciEnterpriseUser", in, out) +} + func (c *dciClient) QueryDciUser(ctx context.Context, in *QueryDciUserRequest, opts ...grpc_go.CallOption) (*QueryDciUserResponse, common.ErrorWithAttachment) { out := new(QueryDciUserResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) @@ -182,6 +190,7 @@ type DciServer interface { // dci user AddDciUser(context.Context, *AddDciUserRequest) (*AddDciUserResponse, error) UpdateDciUser(context.Context, *UpdateDciUserRequest) (*UpdateDciUserResponse, error) + UpdateDciEnterpriseUser(context.Context, *UpdateDciEnterpriseUserRequest) (*UpdateDciEnterpriseUserResponse, error) QueryDciUser(context.Context, *QueryDciUserRequest) (*QueryDciUserResponse, error) // dci work CreateDciPreregistration(context.Context, *CreateDciPreregistrationRequest) (*CreateDciPreregistrationResponse, error) @@ -213,6 +222,9 @@ func (UnimplementedDciServer) AddDciUser(context.Context, *AddDciUserRequest) (* func (UnimplementedDciServer) UpdateDciUser(context.Context, *UpdateDciUserRequest) (*UpdateDciUserResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateDciUser not implemented") } +func (UnimplementedDciServer) UpdateDciEnterpriseUser(context.Context, *UpdateDciEnterpriseUserRequest) (*UpdateDciEnterpriseUserResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateDciEnterpriseUser not implemented") +} func (UnimplementedDciServer) QueryDciUser(context.Context, *QueryDciUserRequest) (*QueryDciUserResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method QueryDciUser not implemented") } @@ -364,6 +376,35 @@ func _Dci_UpdateDciUser_Handler(srv interface{}, ctx context.Context, dec func(i return interceptor(ctx, in, info, handler) } +func _Dci_UpdateDciEnterpriseUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateDciEnterpriseUserRequest) + if err := dec(in); err != nil { + return nil, err + } + base := srv.(dubbo3.Dubbo3GrpcService) + args := []interface{}{} + args = append(args, in) + md, _ := metadata.FromIncomingContext(ctx) + invAttachment := make(map[string]interface{}, len(md)) + for k, v := range md { + invAttachment[k] = v + } + invo := invocation.NewRPCInvocation("UpdateDciEnterpriseUser", args, invAttachment) + if interceptor == nil { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + info := &grpc_go.UnaryServerInfo{ + Server: srv, + FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + return interceptor(ctx, in, info, handler) +} + func _Dci_QueryDciUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(QueryDciUserRequest) if err := dec(in); err != nil { @@ -731,6 +772,10 @@ var Dci_ServiceDesc = grpc_go.ServiceDesc{ MethodName: "UpdateDciUser", Handler: _Dci_UpdateDciUser_Handler, }, + { + MethodName: "UpdateDciEnterpriseUser", + Handler: _Dci_UpdateDciEnterpriseUser_Handler, + }, { MethodName: "QueryDciUser", Handler: _Dci_QueryDciUser_Handler,