1284 lines
54 KiB
Go
1284 lines
54 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: isv.proto
|
|
|
|
package pb
|
|
|
|
import (
|
|
context "context"
|
|
fmt "fmt"
|
|
math "math"
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
timestamp "github.com/golang/protobuf/ptypes/timestamp"
|
|
wrappers "github.com/golang/protobuf/ptypes/wrappers"
|
|
_ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options"
|
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
|
grpc "google.golang.org/grpc"
|
|
codes "google.golang.org/grpc/codes"
|
|
status "google.golang.org/grpc/status"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type DescribeVendorVerifyInfosRequest struct {
|
|
// query key, support these fields(user_id, status)
|
|
SearchWord *wrappers.StringValue `protobuf:"bytes,1,opt,name=search_word,json=searchWord,proto3" json:"search_word,omitempty"`
|
|
// sort key, order by sort_key, default create_time
|
|
SortKey *wrappers.StringValue `protobuf:"bytes,2,opt,name=sort_key,json=sortKey,proto3" json:"sort_key,omitempty"`
|
|
// value = 0 sort ASC, value = 1 sort DESC
|
|
Reverse *wrappers.BoolValue `protobuf:"bytes,3,opt,name=reverse,proto3" json:"reverse,omitempty"`
|
|
// data limit per page, default value 20, max value 200
|
|
Limit uint32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
// data offset, default 0
|
|
Offset uint32 `protobuf:"varint,5,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
// user ids
|
|
UserId []string `protobuf:"bytes,11,rep,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
// status eg.[draft|submitted|passed|rejected|suspended|in-review|new]
|
|
Status []string `protobuf:"bytes,12,rep,name=status,proto3" json:"status,omitempty"`
|
|
// select column to display
|
|
DisplayColumns []string `protobuf:"bytes,13,rep,name=display_columns,json=displayColumns,proto3" json:"display_columns,omitempty"`
|
|
// owner
|
|
Owner []string `protobuf:"bytes,14,rep,name=owner,proto3" json:"owner,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DescribeVendorVerifyInfosRequest) Reset() { *m = DescribeVendorVerifyInfosRequest{} }
|
|
func (m *DescribeVendorVerifyInfosRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*DescribeVendorVerifyInfosRequest) ProtoMessage() {}
|
|
func (*DescribeVendorVerifyInfosRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9f98fd0318e50e7b, []int{0}
|
|
}
|
|
|
|
func (m *DescribeVendorVerifyInfosRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DescribeVendorVerifyInfosRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *DescribeVendorVerifyInfosRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DescribeVendorVerifyInfosRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DescribeVendorVerifyInfosRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DescribeVendorVerifyInfosRequest.Merge(m, src)
|
|
}
|
|
func (m *DescribeVendorVerifyInfosRequest) XXX_Size() int {
|
|
return xxx_messageInfo_DescribeVendorVerifyInfosRequest.Size(m)
|
|
}
|
|
func (m *DescribeVendorVerifyInfosRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DescribeVendorVerifyInfosRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DescribeVendorVerifyInfosRequest proto.InternalMessageInfo
|
|
|
|
func (m *DescribeVendorVerifyInfosRequest) GetSearchWord() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.SearchWord
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeVendorVerifyInfosRequest) GetSortKey() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.SortKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeVendorVerifyInfosRequest) GetReverse() *wrappers.BoolValue {
|
|
if m != nil {
|
|
return m.Reverse
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeVendorVerifyInfosRequest) GetLimit() uint32 {
|
|
if m != nil {
|
|
return m.Limit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DescribeVendorVerifyInfosRequest) GetOffset() uint32 {
|
|
if m != nil {
|
|
return m.Offset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DescribeVendorVerifyInfosRequest) GetUserId() []string {
|
|
if m != nil {
|
|
return m.UserId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeVendorVerifyInfosRequest) GetStatus() []string {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeVendorVerifyInfosRequest) GetDisplayColumns() []string {
|
|
if m != nil {
|
|
return m.DisplayColumns
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *DescribeVendorVerifyInfosRequest) GetOwner() []string {
|
|
if m != nil {
|
|
return m.Owner
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DescribeVendorVerifyInfosResponse struct {
|
|
// total count of vendor
|
|
TotalCount uint32 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
|
|
// list of vendor verify info
|
|
VendorVerifyInfoSet []*VendorVerifyInfo `protobuf:"bytes,2,rep,name=vendor_verify_info_set,json=vendorVerifyInfoSet,proto3" json:"vendor_verify_info_set,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DescribeVendorVerifyInfosResponse) Reset() { *m = DescribeVendorVerifyInfosResponse{} }
|
|
func (m *DescribeVendorVerifyInfosResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*DescribeVendorVerifyInfosResponse) ProtoMessage() {}
|
|
func (*DescribeVendorVerifyInfosResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9f98fd0318e50e7b, []int{1}
|
|
}
|
|
|
|
func (m *DescribeVendorVerifyInfosResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DescribeVendorVerifyInfosResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *DescribeVendorVerifyInfosResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DescribeVendorVerifyInfosResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DescribeVendorVerifyInfosResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DescribeVendorVerifyInfosResponse.Merge(m, src)
|
|
}
|
|
func (m *DescribeVendorVerifyInfosResponse) XXX_Size() int {
|
|
return xxx_messageInfo_DescribeVendorVerifyInfosResponse.Size(m)
|
|
}
|
|
func (m *DescribeVendorVerifyInfosResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DescribeVendorVerifyInfosResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DescribeVendorVerifyInfosResponse proto.InternalMessageInfo
|
|
|
|
func (m *DescribeVendorVerifyInfosResponse) GetTotalCount() uint32 {
|
|
if m != nil {
|
|
return m.TotalCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DescribeVendorVerifyInfosResponse) GetVendorVerifyInfoSet() []*VendorVerifyInfo {
|
|
if m != nil {
|
|
return m.VendorVerifyInfoSet
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type VendorVerifyInfo struct {
|
|
// user id
|
|
UserId *wrappers.StringValue `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
// company name
|
|
CompanyName *wrappers.StringValue `protobuf:"bytes,2,opt,name=company_name,json=companyName,proto3" json:"company_name,omitempty"`
|
|
// company website
|
|
CompanyWebsite *wrappers.StringValue `protobuf:"bytes,3,opt,name=company_website,json=companyWebsite,proto3" json:"company_website,omitempty"`
|
|
// company profile
|
|
CompanyProfile *wrappers.StringValue `protobuf:"bytes,4,opt,name=company_profile,json=companyProfile,proto3" json:"company_profile,omitempty"`
|
|
// authorizer name
|
|
AuthorizerName *wrappers.StringValue `protobuf:"bytes,5,opt,name=authorizer_name,json=authorizerName,proto3" json:"authorizer_name,omitempty"`
|
|
// authorizer email eg.***@yunify.com
|
|
AuthorizerEmail *wrappers.StringValue `protobuf:"bytes,6,opt,name=authorizer_email,json=authorizerEmail,proto3" json:"authorizer_email,omitempty"`
|
|
// authorizer phone, string of 11 digit
|
|
AuthorizerPhone *wrappers.StringValue `protobuf:"bytes,7,opt,name=authorizer_phone,json=authorizerPhone,proto3" json:"authorizer_phone,omitempty"`
|
|
// bank name
|
|
BankName *wrappers.StringValue `protobuf:"bytes,8,opt,name=bank_name,json=bankName,proto3" json:"bank_name,omitempty"`
|
|
// name of bank account
|
|
BankAccountName *wrappers.StringValue `protobuf:"bytes,9,opt,name=bank_account_name,json=bankAccountName,proto3" json:"bank_account_name,omitempty"`
|
|
// number of bank account
|
|
BankAccountNumber *wrappers.StringValue `protobuf:"bytes,10,opt,name=bank_account_number,json=bankAccountNumber,proto3" json:"bank_account_number,omitempty"`
|
|
// status eg.[draft|submitted|passed|rejected|suspended|in-review|new]
|
|
Status *wrappers.StringValue `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"`
|
|
// reject message
|
|
RejectMessage *wrappers.StringValue `protobuf:"bytes,12,opt,name=reject_message,json=rejectMessage,proto3" json:"reject_message,omitempty"`
|
|
// approver who approve the vendor verify
|
|
Approver *wrappers.StringValue `protobuf:"bytes,13,opt,name=approver,proto3" json:"approver,omitempty"`
|
|
// owner who own the vendor verify
|
|
Owner *wrappers.StringValue `protobuf:"bytes,14,opt,name=owner,proto3" json:"owner,omitempty"`
|
|
// owner path, concat string group_path:user_id
|
|
OwnerPath *wrappers.StringValue `protobuf:"bytes,15,opt,name=owner_path,json=ownerPath,proto3" json:"owner_path,omitempty"`
|
|
// submit time of vendor verify
|
|
SubmitTime *timestamp.Timestamp `protobuf:"bytes,16,opt,name=submit_time,json=submitTime,proto3" json:"submit_time,omitempty"`
|
|
// record status changed time
|
|
StatusTime *timestamp.Timestamp `protobuf:"bytes,17,opt,name=status_time,json=statusTime,proto3" json:"status_time,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *VendorVerifyInfo) Reset() { *m = VendorVerifyInfo{} }
|
|
func (m *VendorVerifyInfo) String() string { return proto.CompactTextString(m) }
|
|
func (*VendorVerifyInfo) ProtoMessage() {}
|
|
func (*VendorVerifyInfo) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9f98fd0318e50e7b, []int{2}
|
|
}
|
|
|
|
func (m *VendorVerifyInfo) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_VendorVerifyInfo.Unmarshal(m, b)
|
|
}
|
|
func (m *VendorVerifyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_VendorVerifyInfo.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *VendorVerifyInfo) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_VendorVerifyInfo.Merge(m, src)
|
|
}
|
|
func (m *VendorVerifyInfo) XXX_Size() int {
|
|
return xxx_messageInfo_VendorVerifyInfo.Size(m)
|
|
}
|
|
func (m *VendorVerifyInfo) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_VendorVerifyInfo.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_VendorVerifyInfo proto.InternalMessageInfo
|
|
|
|
func (m *VendorVerifyInfo) GetUserId() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.UserId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *VendorVerifyInfo) GetCompanyName() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.CompanyName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *VendorVerifyInfo) GetCompanyWebsite() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.CompanyWebsite
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *VendorVerifyInfo) GetCompanyProfile() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.CompanyProfile
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *VendorVerifyInfo) GetAuthorizerName() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.AuthorizerName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *VendorVerifyInfo) GetAuthorizerEmail() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.AuthorizerEmail
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *VendorVerifyInfo) GetAuthorizerPhone() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.AuthorizerPhone
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *VendorVerifyInfo) GetBankName() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.BankName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *VendorVerifyInfo) GetBankAccountName() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.BankAccountName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *VendorVerifyInfo) GetBankAccountNumber() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.BankAccountNumber
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *VendorVerifyInfo) GetStatus() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *VendorVerifyInfo) GetRejectMessage() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.RejectMessage
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *VendorVerifyInfo) GetApprover() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.Approver
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *VendorVerifyInfo) GetOwner() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.Owner
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *VendorVerifyInfo) GetOwnerPath() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.OwnerPath
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *VendorVerifyInfo) GetSubmitTime() *timestamp.Timestamp {
|
|
if m != nil {
|
|
return m.SubmitTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *VendorVerifyInfo) GetStatusTime() *timestamp.Timestamp {
|
|
if m != nil {
|
|
return m.StatusTime
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SubmitVendorVerifyInfoRequest struct {
|
|
// required, id of user to submit
|
|
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
// required, company name
|
|
CompanyName *wrappers.StringValue `protobuf:"bytes,2,opt,name=company_name,json=companyName,proto3" json:"company_name,omitempty"`
|
|
// company website
|
|
CompanyWebsite *wrappers.StringValue `protobuf:"bytes,3,opt,name=company_website,json=companyWebsite,proto3" json:"company_website,omitempty"`
|
|
// company profile
|
|
CompanyProfile *wrappers.StringValue `protobuf:"bytes,4,opt,name=company_profile,json=companyProfile,proto3" json:"company_profile,omitempty"`
|
|
// required, authorizer name
|
|
AuthorizerName *wrappers.StringValue `protobuf:"bytes,5,opt,name=authorizer_name,json=authorizerName,proto3" json:"authorizer_name,omitempty"`
|
|
// required, authorizer email eg. xxx@yunify.com
|
|
AuthorizerEmail *wrappers.StringValue `protobuf:"bytes,6,opt,name=authorizer_email,json=authorizerEmail,proto3" json:"authorizer_email,omitempty"`
|
|
// authorizer phone, string of 11 digit
|
|
AuthorizerPhone *wrappers.StringValue `protobuf:"bytes,7,opt,name=authorizer_phone,json=authorizerPhone,proto3" json:"authorizer_phone,omitempty"`
|
|
// bank name
|
|
BankName *wrappers.StringValue `protobuf:"bytes,8,opt,name=bank_name,json=bankName,proto3" json:"bank_name,omitempty"`
|
|
// bank account name
|
|
BankAccountName *wrappers.StringValue `protobuf:"bytes,9,opt,name=bank_account_name,json=bankAccountName,proto3" json:"bank_account_name,omitempty"`
|
|
// bank account number
|
|
BankAccountNumber *wrappers.StringValue `protobuf:"bytes,10,opt,name=bank_account_number,json=bankAccountNumber,proto3" json:"bank_account_number,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SubmitVendorVerifyInfoRequest) Reset() { *m = SubmitVendorVerifyInfoRequest{} }
|
|
func (m *SubmitVendorVerifyInfoRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*SubmitVendorVerifyInfoRequest) ProtoMessage() {}
|
|
func (*SubmitVendorVerifyInfoRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9f98fd0318e50e7b, []int{3}
|
|
}
|
|
|
|
func (m *SubmitVendorVerifyInfoRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SubmitVendorVerifyInfoRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *SubmitVendorVerifyInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SubmitVendorVerifyInfoRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SubmitVendorVerifyInfoRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SubmitVendorVerifyInfoRequest.Merge(m, src)
|
|
}
|
|
func (m *SubmitVendorVerifyInfoRequest) XXX_Size() int {
|
|
return xxx_messageInfo_SubmitVendorVerifyInfoRequest.Size(m)
|
|
}
|
|
func (m *SubmitVendorVerifyInfoRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SubmitVendorVerifyInfoRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SubmitVendorVerifyInfoRequest proto.InternalMessageInfo
|
|
|
|
func (m *SubmitVendorVerifyInfoRequest) GetUserId() string {
|
|
if m != nil {
|
|
return m.UserId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *SubmitVendorVerifyInfoRequest) GetCompanyName() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.CompanyName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SubmitVendorVerifyInfoRequest) GetCompanyWebsite() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.CompanyWebsite
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SubmitVendorVerifyInfoRequest) GetCompanyProfile() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.CompanyProfile
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SubmitVendorVerifyInfoRequest) GetAuthorizerName() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.AuthorizerName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SubmitVendorVerifyInfoRequest) GetAuthorizerEmail() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.AuthorizerEmail
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SubmitVendorVerifyInfoRequest) GetAuthorizerPhone() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.AuthorizerPhone
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SubmitVendorVerifyInfoRequest) GetBankName() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.BankName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SubmitVendorVerifyInfoRequest) GetBankAccountName() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.BankAccountName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *SubmitVendorVerifyInfoRequest) GetBankAccountNumber() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.BankAccountNumber
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SubmitVendorVerifyInfoResponse struct {
|
|
// id of user submitted
|
|
UserId *wrappers.StringValue `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SubmitVendorVerifyInfoResponse) Reset() { *m = SubmitVendorVerifyInfoResponse{} }
|
|
func (m *SubmitVendorVerifyInfoResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*SubmitVendorVerifyInfoResponse) ProtoMessage() {}
|
|
func (*SubmitVendorVerifyInfoResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9f98fd0318e50e7b, []int{4}
|
|
}
|
|
|
|
func (m *SubmitVendorVerifyInfoResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SubmitVendorVerifyInfoResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *SubmitVendorVerifyInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SubmitVendorVerifyInfoResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SubmitVendorVerifyInfoResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SubmitVendorVerifyInfoResponse.Merge(m, src)
|
|
}
|
|
func (m *SubmitVendorVerifyInfoResponse) XXX_Size() int {
|
|
return xxx_messageInfo_SubmitVendorVerifyInfoResponse.Size(m)
|
|
}
|
|
func (m *SubmitVendorVerifyInfoResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SubmitVendorVerifyInfoResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SubmitVendorVerifyInfoResponse proto.InternalMessageInfo
|
|
|
|
func (m *SubmitVendorVerifyInfoResponse) GetUserId() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.UserId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PassVendorVerifyInfoRequest struct {
|
|
// required, id of user to pass
|
|
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *PassVendorVerifyInfoRequest) Reset() { *m = PassVendorVerifyInfoRequest{} }
|
|
func (m *PassVendorVerifyInfoRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*PassVendorVerifyInfoRequest) ProtoMessage() {}
|
|
func (*PassVendorVerifyInfoRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9f98fd0318e50e7b, []int{5}
|
|
}
|
|
|
|
func (m *PassVendorVerifyInfoRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_PassVendorVerifyInfoRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *PassVendorVerifyInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_PassVendorVerifyInfoRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *PassVendorVerifyInfoRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PassVendorVerifyInfoRequest.Merge(m, src)
|
|
}
|
|
func (m *PassVendorVerifyInfoRequest) XXX_Size() int {
|
|
return xxx_messageInfo_PassVendorVerifyInfoRequest.Size(m)
|
|
}
|
|
func (m *PassVendorVerifyInfoRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PassVendorVerifyInfoRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PassVendorVerifyInfoRequest proto.InternalMessageInfo
|
|
|
|
func (m *PassVendorVerifyInfoRequest) GetUserId() string {
|
|
if m != nil {
|
|
return m.UserId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PassVendorVerifyInfoResponse struct {
|
|
// id of user passed
|
|
UserId *wrappers.StringValue `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *PassVendorVerifyInfoResponse) Reset() { *m = PassVendorVerifyInfoResponse{} }
|
|
func (m *PassVendorVerifyInfoResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*PassVendorVerifyInfoResponse) ProtoMessage() {}
|
|
func (*PassVendorVerifyInfoResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9f98fd0318e50e7b, []int{6}
|
|
}
|
|
|
|
func (m *PassVendorVerifyInfoResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_PassVendorVerifyInfoResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *PassVendorVerifyInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_PassVendorVerifyInfoResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *PassVendorVerifyInfoResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PassVendorVerifyInfoResponse.Merge(m, src)
|
|
}
|
|
func (m *PassVendorVerifyInfoResponse) XXX_Size() int {
|
|
return xxx_messageInfo_PassVendorVerifyInfoResponse.Size(m)
|
|
}
|
|
func (m *PassVendorVerifyInfoResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PassVendorVerifyInfoResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PassVendorVerifyInfoResponse proto.InternalMessageInfo
|
|
|
|
func (m *PassVendorVerifyInfoResponse) GetUserId() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.UserId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RejectVendorVerifyInfoRequest struct {
|
|
// required, id of user to reject
|
|
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
// reject message
|
|
RejectMessage *wrappers.StringValue `protobuf:"bytes,2,opt,name=reject_message,json=rejectMessage,proto3" json:"reject_message,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RejectVendorVerifyInfoRequest) Reset() { *m = RejectVendorVerifyInfoRequest{} }
|
|
func (m *RejectVendorVerifyInfoRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*RejectVendorVerifyInfoRequest) ProtoMessage() {}
|
|
func (*RejectVendorVerifyInfoRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9f98fd0318e50e7b, []int{7}
|
|
}
|
|
|
|
func (m *RejectVendorVerifyInfoRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RejectVendorVerifyInfoRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *RejectVendorVerifyInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RejectVendorVerifyInfoRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *RejectVendorVerifyInfoRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RejectVendorVerifyInfoRequest.Merge(m, src)
|
|
}
|
|
func (m *RejectVendorVerifyInfoRequest) XXX_Size() int {
|
|
return xxx_messageInfo_RejectVendorVerifyInfoRequest.Size(m)
|
|
}
|
|
func (m *RejectVendorVerifyInfoRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RejectVendorVerifyInfoRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RejectVendorVerifyInfoRequest proto.InternalMessageInfo
|
|
|
|
func (m *RejectVendorVerifyInfoRequest) GetUserId() string {
|
|
if m != nil {
|
|
return m.UserId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RejectVendorVerifyInfoRequest) GetRejectMessage() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.RejectMessage
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RejectVendorVerifyInfoResponse struct {
|
|
// id of user rejected
|
|
UserId *wrappers.StringValue `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *RejectVendorVerifyInfoResponse) Reset() { *m = RejectVendorVerifyInfoResponse{} }
|
|
func (m *RejectVendorVerifyInfoResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*RejectVendorVerifyInfoResponse) ProtoMessage() {}
|
|
func (*RejectVendorVerifyInfoResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9f98fd0318e50e7b, []int{8}
|
|
}
|
|
|
|
func (m *RejectVendorVerifyInfoResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_RejectVendorVerifyInfoResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *RejectVendorVerifyInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_RejectVendorVerifyInfoResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *RejectVendorVerifyInfoResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_RejectVendorVerifyInfoResponse.Merge(m, src)
|
|
}
|
|
func (m *RejectVendorVerifyInfoResponse) XXX_Size() int {
|
|
return xxx_messageInfo_RejectVendorVerifyInfoResponse.Size(m)
|
|
}
|
|
func (m *RejectVendorVerifyInfoResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_RejectVendorVerifyInfoResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_RejectVendorVerifyInfoResponse proto.InternalMessageInfo
|
|
|
|
func (m *RejectVendorVerifyInfoResponse) GetUserId() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.UserId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type VendorStatistics struct {
|
|
// use user id to statistic
|
|
UserId *wrappers.StringValue `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
// company name
|
|
CompanyName *wrappers.StringValue `protobuf:"bytes,2,opt,name=company_name,json=companyName,proto3" json:"company_name,omitempty"`
|
|
// number of user's active app
|
|
ActiveAppCount uint32 `protobuf:"varint,3,opt,name=active_app_count,json=activeAppCount,proto3" json:"active_app_count,omitempty"`
|
|
// total count of cluster last month
|
|
ClusterCountMonth uint32 `protobuf:"varint,4,opt,name=cluster_count_month,json=clusterCountMonth,proto3" json:"cluster_count_month,omitempty"`
|
|
// total count of cluster
|
|
ClusterCountTotal uint32 `protobuf:"varint,5,opt,name=cluster_count_total,json=clusterCountTotal,proto3" json:"cluster_count_total,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *VendorStatistics) Reset() { *m = VendorStatistics{} }
|
|
func (m *VendorStatistics) String() string { return proto.CompactTextString(m) }
|
|
func (*VendorStatistics) ProtoMessage() {}
|
|
func (*VendorStatistics) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9f98fd0318e50e7b, []int{9}
|
|
}
|
|
|
|
func (m *VendorStatistics) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_VendorStatistics.Unmarshal(m, b)
|
|
}
|
|
func (m *VendorStatistics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_VendorStatistics.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *VendorStatistics) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_VendorStatistics.Merge(m, src)
|
|
}
|
|
func (m *VendorStatistics) XXX_Size() int {
|
|
return xxx_messageInfo_VendorStatistics.Size(m)
|
|
}
|
|
func (m *VendorStatistics) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_VendorStatistics.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_VendorStatistics proto.InternalMessageInfo
|
|
|
|
func (m *VendorStatistics) GetUserId() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.UserId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *VendorStatistics) GetCompanyName() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.CompanyName
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *VendorStatistics) GetActiveAppCount() uint32 {
|
|
if m != nil {
|
|
return m.ActiveAppCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *VendorStatistics) GetClusterCountMonth() uint32 {
|
|
if m != nil {
|
|
return m.ClusterCountMonth
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *VendorStatistics) GetClusterCountTotal() uint32 {
|
|
if m != nil {
|
|
return m.ClusterCountTotal
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DescribeVendorStatisticsResponse struct {
|
|
// total count of vendor statistic
|
|
TotalCount uint32 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
|
|
// list of vendor statistic
|
|
VendorVerifyStatisticsSet []*VendorStatistics `protobuf:"bytes,2,rep,name=vendor_verify_statistics_set,json=vendorVerifyStatisticsSet,proto3" json:"vendor_verify_statistics_set,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *DescribeVendorStatisticsResponse) Reset() { *m = DescribeVendorStatisticsResponse{} }
|
|
func (m *DescribeVendorStatisticsResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*DescribeVendorStatisticsResponse) ProtoMessage() {}
|
|
func (*DescribeVendorStatisticsResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9f98fd0318e50e7b, []int{10}
|
|
}
|
|
|
|
func (m *DescribeVendorStatisticsResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_DescribeVendorStatisticsResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *DescribeVendorStatisticsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_DescribeVendorStatisticsResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *DescribeVendorStatisticsResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_DescribeVendorStatisticsResponse.Merge(m, src)
|
|
}
|
|
func (m *DescribeVendorStatisticsResponse) XXX_Size() int {
|
|
return xxx_messageInfo_DescribeVendorStatisticsResponse.Size(m)
|
|
}
|
|
func (m *DescribeVendorStatisticsResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_DescribeVendorStatisticsResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_DescribeVendorStatisticsResponse proto.InternalMessageInfo
|
|
|
|
func (m *DescribeVendorStatisticsResponse) GetTotalCount() uint32 {
|
|
if m != nil {
|
|
return m.TotalCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *DescribeVendorStatisticsResponse) GetVendorVerifyStatisticsSet() []*VendorStatistics {
|
|
if m != nil {
|
|
return m.VendorVerifyStatisticsSet
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetVendorVerifyInfoRequest struct {
|
|
// required, use user id to get vendor verify info
|
|
UserId *wrappers.StringValue `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetVendorVerifyInfoRequest) Reset() { *m = GetVendorVerifyInfoRequest{} }
|
|
func (m *GetVendorVerifyInfoRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*GetVendorVerifyInfoRequest) ProtoMessage() {}
|
|
func (*GetVendorVerifyInfoRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9f98fd0318e50e7b, []int{11}
|
|
}
|
|
|
|
func (m *GetVendorVerifyInfoRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetVendorVerifyInfoRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *GetVendorVerifyInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetVendorVerifyInfoRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetVendorVerifyInfoRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetVendorVerifyInfoRequest.Merge(m, src)
|
|
}
|
|
func (m *GetVendorVerifyInfoRequest) XXX_Size() int {
|
|
return xxx_messageInfo_GetVendorVerifyInfoRequest.Size(m)
|
|
}
|
|
func (m *GetVendorVerifyInfoRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetVendorVerifyInfoRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetVendorVerifyInfoRequest proto.InternalMessageInfo
|
|
|
|
func (m *GetVendorVerifyInfoRequest) GetUserId() *wrappers.StringValue {
|
|
if m != nil {
|
|
return m.UserId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetVendorVerifyInfoResponse struct {
|
|
// vendor verify info
|
|
VendorVerifyInfo *VendorVerifyInfo `protobuf:"bytes,1,opt,name=vendor_verify_info,json=vendorVerifyInfo,proto3" json:"vendor_verify_info,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetVendorVerifyInfoResponse) Reset() { *m = GetVendorVerifyInfoResponse{} }
|
|
func (m *GetVendorVerifyInfoResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*GetVendorVerifyInfoResponse) ProtoMessage() {}
|
|
func (*GetVendorVerifyInfoResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_9f98fd0318e50e7b, []int{12}
|
|
}
|
|
|
|
func (m *GetVendorVerifyInfoResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetVendorVerifyInfoResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *GetVendorVerifyInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetVendorVerifyInfoResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *GetVendorVerifyInfoResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetVendorVerifyInfoResponse.Merge(m, src)
|
|
}
|
|
func (m *GetVendorVerifyInfoResponse) XXX_Size() int {
|
|
return xxx_messageInfo_GetVendorVerifyInfoResponse.Size(m)
|
|
}
|
|
func (m *GetVendorVerifyInfoResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetVendorVerifyInfoResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetVendorVerifyInfoResponse proto.InternalMessageInfo
|
|
|
|
func (m *GetVendorVerifyInfoResponse) GetVendorVerifyInfo() *VendorVerifyInfo {
|
|
if m != nil {
|
|
return m.VendorVerifyInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*DescribeVendorVerifyInfosRequest)(nil), "openpitrix.DescribeVendorVerifyInfosRequest")
|
|
proto.RegisterType((*DescribeVendorVerifyInfosResponse)(nil), "openpitrix.DescribeVendorVerifyInfosResponse")
|
|
proto.RegisterType((*VendorVerifyInfo)(nil), "openpitrix.VendorVerifyInfo")
|
|
proto.RegisterType((*SubmitVendorVerifyInfoRequest)(nil), "openpitrix.SubmitVendorVerifyInfoRequest")
|
|
proto.RegisterType((*SubmitVendorVerifyInfoResponse)(nil), "openpitrix.SubmitVendorVerifyInfoResponse")
|
|
proto.RegisterType((*PassVendorVerifyInfoRequest)(nil), "openpitrix.PassVendorVerifyInfoRequest")
|
|
proto.RegisterType((*PassVendorVerifyInfoResponse)(nil), "openpitrix.PassVendorVerifyInfoResponse")
|
|
proto.RegisterType((*RejectVendorVerifyInfoRequest)(nil), "openpitrix.RejectVendorVerifyInfoRequest")
|
|
proto.RegisterType((*RejectVendorVerifyInfoResponse)(nil), "openpitrix.RejectVendorVerifyInfoResponse")
|
|
proto.RegisterType((*VendorStatistics)(nil), "openpitrix.VendorStatistics")
|
|
proto.RegisterType((*DescribeVendorStatisticsResponse)(nil), "openpitrix.DescribeVendorStatisticsResponse")
|
|
proto.RegisterType((*GetVendorVerifyInfoRequest)(nil), "openpitrix.GetVendorVerifyInfoRequest")
|
|
proto.RegisterType((*GetVendorVerifyInfoResponse)(nil), "openpitrix.GetVendorVerifyInfoResponse")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("isv.proto", fileDescriptor_9f98fd0318e50e7b) }
|
|
|
|
var fileDescriptor_9f98fd0318e50e7b = []byte{
|
|
// 1259 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x57, 0x4d, 0x6f, 0x1b, 0x45,
|
|
0x18, 0x96, 0x9d, 0xe6, 0xc3, 0xe3, 0xe6, 0x6b, 0x12, 0xb9, 0x1b, 0x27, 0x6d, 0x97, 0x95, 0x20,
|
|
0x69, 0x95, 0x26, 0xa2, 0x94, 0x52, 0x5a, 0x55, 0xc8, 0x2d, 0x55, 0x69, 0xa1, 0x28, 0x38, 0xa5,
|
|
0x95, 0x90, 0xd0, 0x6a, 0x6c, 0xbf, 0xb6, 0x87, 0xae, 0x77, 0x86, 0x99, 0x59, 0x87, 0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x99, 0x52,
|
|
0x9c, 0xf8, 0x9e, 0xa8, 0x45, 0xfc, 0x5b, 0x0e, 0xad, 0x8e, 0x1a, 0x1a, 0x78, 0x33, 0x29, 0x69,
|
|
0xc2, 0x38, 0x2a, 0x6f, 0x9d, 0x0c, 0x8c, 0x75, 0x5f, 0x3f, 0xaa, 0xac, 0x62, 0xac, 0x21, 0x83,
|
|
0x19, 0x67, 0x14, 0xaf, 0x79, 0xab, 0x69, 0xc5, 0x9c, 0x48, 0x93, 0x71, 0x7f, 0xe5, 0x50, 0x69,
|
|
0xf4, 0x08, 0x18, 0xac, 0x8e, 0x89, 0x53, 0x6a, 0xb0, 0x3a, 0x26, 0x4f, 0x14, 0xef, 0xe6, 0x51,
|
|
0xa5, 0x84, 0x57, 0x2d, 0x68, 0x84, 0xd6, 0x75, 0xaf, 0x94, 0xd6, 0x6a, 0x67, 0x96, 0x56, 0xfb,
|
|
0x47, 0x0e, 0xad, 0x8c, 0x68, 0x23, 0xf8, 0xad, 0xe4, 0xf9, 0xe3, 0x9b, 0x57, 0x79, 0xf3, 0x44,
|
|
0x5c, 0x2c, 0xf2, 0xf6, 0x51, 0xc5, 0xc1, 0xa5, 0x74, 0x31, 0x24, 0xea, 0x77, 0x03, 0x97, 0xc7,
|
|
0x27, 0xc1, 0x9d, 0x33, 0x5f, 0xe4, 0x79, 0xad, 0x36, 0x63, 0x3a, 0xe2, 0x3b, 0xff, 0x07, 0x00,
|
|
0x00, 0xff, 0xff, 0x71, 0x41, 0x15, 0x45, 0x99, 0x12, 0x00, 0x00,
|
|
}
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ context.Context
|
|
var _ grpc.ClientConn
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the grpc package it is being compiled against.
|
|
const _ = grpc.SupportPackageIsVersion4
|
|
|
|
// IsvManagerClient is the client API for IsvManager service.
|
|
//
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
type IsvManagerClient interface {
|
|
// Submit vendor verify info
|
|
SubmitVendorVerifyInfo(ctx context.Context, in *SubmitVendorVerifyInfoRequest, opts ...grpc.CallOption) (*SubmitVendorVerifyInfoResponse, error)
|
|
// Get vendor verifies info, can filer with these fields(user_id, status), default return all VendorVerifyInfos
|
|
DescribeVendorVerifyInfos(ctx context.Context, in *DescribeVendorVerifyInfosRequest, opts ...grpc.CallOption) (*DescribeVendorVerifyInfosResponse, error)
|
|
// Get statistics of vendor
|
|
DescribeAppVendorStatistics(ctx context.Context, in *DescribeVendorVerifyInfosRequest, opts ...grpc.CallOption) (*DescribeVendorStatisticsResponse, error)
|
|
// Pass vendor verify
|
|
PassVendorVerifyInfo(ctx context.Context, in *PassVendorVerifyInfoRequest, opts ...grpc.CallOption) (*PassVendorVerifyInfoResponse, error)
|
|
// Reject vendor verify
|
|
RejectVendorVerifyInfo(ctx context.Context, in *RejectVendorVerifyInfoRequest, opts ...grpc.CallOption) (*RejectVendorVerifyInfoResponse, error)
|
|
// Get vendor verify info
|
|
GetVendorVerifyInfo(ctx context.Context, in *GetVendorVerifyInfoRequest, opts ...grpc.CallOption) (*GetVendorVerifyInfoResponse, error)
|
|
}
|
|
|
|
type isvManagerClient struct {
|
|
cc *grpc.ClientConn
|
|
}
|
|
|
|
func NewIsvManagerClient(cc *grpc.ClientConn) IsvManagerClient {
|
|
return &isvManagerClient{cc}
|
|
}
|
|
|
|
func (c *isvManagerClient) SubmitVendorVerifyInfo(ctx context.Context, in *SubmitVendorVerifyInfoRequest, opts ...grpc.CallOption) (*SubmitVendorVerifyInfoResponse, error) {
|
|
out := new(SubmitVendorVerifyInfoResponse)
|
|
err := c.cc.Invoke(ctx, "/openpitrix.IsvManager/SubmitVendorVerifyInfo", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *isvManagerClient) DescribeVendorVerifyInfos(ctx context.Context, in *DescribeVendorVerifyInfosRequest, opts ...grpc.CallOption) (*DescribeVendorVerifyInfosResponse, error) {
|
|
out := new(DescribeVendorVerifyInfosResponse)
|
|
err := c.cc.Invoke(ctx, "/openpitrix.IsvManager/DescribeVendorVerifyInfos", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *isvManagerClient) DescribeAppVendorStatistics(ctx context.Context, in *DescribeVendorVerifyInfosRequest, opts ...grpc.CallOption) (*DescribeVendorStatisticsResponse, error) {
|
|
out := new(DescribeVendorStatisticsResponse)
|
|
err := c.cc.Invoke(ctx, "/openpitrix.IsvManager/DescribeAppVendorStatistics", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *isvManagerClient) PassVendorVerifyInfo(ctx context.Context, in *PassVendorVerifyInfoRequest, opts ...grpc.CallOption) (*PassVendorVerifyInfoResponse, error) {
|
|
out := new(PassVendorVerifyInfoResponse)
|
|
err := c.cc.Invoke(ctx, "/openpitrix.IsvManager/PassVendorVerifyInfo", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *isvManagerClient) RejectVendorVerifyInfo(ctx context.Context, in *RejectVendorVerifyInfoRequest, opts ...grpc.CallOption) (*RejectVendorVerifyInfoResponse, error) {
|
|
out := new(RejectVendorVerifyInfoResponse)
|
|
err := c.cc.Invoke(ctx, "/openpitrix.IsvManager/RejectVendorVerifyInfo", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
func (c *isvManagerClient) GetVendorVerifyInfo(ctx context.Context, in *GetVendorVerifyInfoRequest, opts ...grpc.CallOption) (*GetVendorVerifyInfoResponse, error) {
|
|
out := new(GetVendorVerifyInfoResponse)
|
|
err := c.cc.Invoke(ctx, "/openpitrix.IsvManager/GetVendorVerifyInfo", in, out, opts...)
|
|
if err != nil {
|
|
return nil, err
|
|
}
|
|
return out, nil
|
|
}
|
|
|
|
// IsvManagerServer is the server API for IsvManager service.
|
|
type IsvManagerServer interface {
|
|
// Submit vendor verify info
|
|
SubmitVendorVerifyInfo(context.Context, *SubmitVendorVerifyInfoRequest) (*SubmitVendorVerifyInfoResponse, error)
|
|
// Get vendor verifies info, can filer with these fields(user_id, status), default return all VendorVerifyInfos
|
|
DescribeVendorVerifyInfos(context.Context, *DescribeVendorVerifyInfosRequest) (*DescribeVendorVerifyInfosResponse, error)
|
|
// Get statistics of vendor
|
|
DescribeAppVendorStatistics(context.Context, *DescribeVendorVerifyInfosRequest) (*DescribeVendorStatisticsResponse, error)
|
|
// Pass vendor verify
|
|
PassVendorVerifyInfo(context.Context, *PassVendorVerifyInfoRequest) (*PassVendorVerifyInfoResponse, error)
|
|
// Reject vendor verify
|
|
RejectVendorVerifyInfo(context.Context, *RejectVendorVerifyInfoRequest) (*RejectVendorVerifyInfoResponse, error)
|
|
// Get vendor verify info
|
|
GetVendorVerifyInfo(context.Context, *GetVendorVerifyInfoRequest) (*GetVendorVerifyInfoResponse, error)
|
|
}
|
|
|
|
// UnimplementedIsvManagerServer can be embedded to have forward compatible implementations.
|
|
type UnimplementedIsvManagerServer struct {
|
|
}
|
|
|
|
func (*UnimplementedIsvManagerServer) SubmitVendorVerifyInfo(ctx context.Context, req *SubmitVendorVerifyInfoRequest) (*SubmitVendorVerifyInfoResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method SubmitVendorVerifyInfo not implemented")
|
|
}
|
|
func (*UnimplementedIsvManagerServer) DescribeVendorVerifyInfos(ctx context.Context, req *DescribeVendorVerifyInfosRequest) (*DescribeVendorVerifyInfosResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DescribeVendorVerifyInfos not implemented")
|
|
}
|
|
func (*UnimplementedIsvManagerServer) DescribeAppVendorStatistics(ctx context.Context, req *DescribeVendorVerifyInfosRequest) (*DescribeVendorStatisticsResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method DescribeAppVendorStatistics not implemented")
|
|
}
|
|
func (*UnimplementedIsvManagerServer) PassVendorVerifyInfo(ctx context.Context, req *PassVendorVerifyInfoRequest) (*PassVendorVerifyInfoResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method PassVendorVerifyInfo not implemented")
|
|
}
|
|
func (*UnimplementedIsvManagerServer) RejectVendorVerifyInfo(ctx context.Context, req *RejectVendorVerifyInfoRequest) (*RejectVendorVerifyInfoResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method RejectVendorVerifyInfo not implemented")
|
|
}
|
|
func (*UnimplementedIsvManagerServer) GetVendorVerifyInfo(ctx context.Context, req *GetVendorVerifyInfoRequest) (*GetVendorVerifyInfoResponse, error) {
|
|
return nil, status.Errorf(codes.Unimplemented, "method GetVendorVerifyInfo not implemented")
|
|
}
|
|
|
|
func RegisterIsvManagerServer(s *grpc.Server, srv IsvManagerServer) {
|
|
s.RegisterService(&_IsvManager_serviceDesc, srv)
|
|
}
|
|
|
|
func _IsvManager_SubmitVendorVerifyInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(SubmitVendorVerifyInfoRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(IsvManagerServer).SubmitVendorVerifyInfo(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/openpitrix.IsvManager/SubmitVendorVerifyInfo",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(IsvManagerServer).SubmitVendorVerifyInfo(ctx, req.(*SubmitVendorVerifyInfoRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _IsvManager_DescribeVendorVerifyInfos_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DescribeVendorVerifyInfosRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(IsvManagerServer).DescribeVendorVerifyInfos(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/openpitrix.IsvManager/DescribeVendorVerifyInfos",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(IsvManagerServer).DescribeVendorVerifyInfos(ctx, req.(*DescribeVendorVerifyInfosRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _IsvManager_DescribeAppVendorStatistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(DescribeVendorVerifyInfosRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(IsvManagerServer).DescribeAppVendorStatistics(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/openpitrix.IsvManager/DescribeAppVendorStatistics",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(IsvManagerServer).DescribeAppVendorStatistics(ctx, req.(*DescribeVendorVerifyInfosRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _IsvManager_PassVendorVerifyInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(PassVendorVerifyInfoRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(IsvManagerServer).PassVendorVerifyInfo(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/openpitrix.IsvManager/PassVendorVerifyInfo",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(IsvManagerServer).PassVendorVerifyInfo(ctx, req.(*PassVendorVerifyInfoRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _IsvManager_RejectVendorVerifyInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(RejectVendorVerifyInfoRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(IsvManagerServer).RejectVendorVerifyInfo(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/openpitrix.IsvManager/RejectVendorVerifyInfo",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(IsvManagerServer).RejectVendorVerifyInfo(ctx, req.(*RejectVendorVerifyInfoRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
func _IsvManager_GetVendorVerifyInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
in := new(GetVendorVerifyInfoRequest)
|
|
if err := dec(in); err != nil {
|
|
return nil, err
|
|
}
|
|
if interceptor == nil {
|
|
return srv.(IsvManagerServer).GetVendorVerifyInfo(ctx, in)
|
|
}
|
|
info := &grpc.UnaryServerInfo{
|
|
Server: srv,
|
|
FullMethod: "/openpitrix.IsvManager/GetVendorVerifyInfo",
|
|
}
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
return srv.(IsvManagerServer).GetVendorVerifyInfo(ctx, req.(*GetVendorVerifyInfoRequest))
|
|
}
|
|
return interceptor(ctx, in, info, handler)
|
|
}
|
|
|
|
var _IsvManager_serviceDesc = grpc.ServiceDesc{
|
|
ServiceName: "openpitrix.IsvManager",
|
|
HandlerType: (*IsvManagerServer)(nil),
|
|
Methods: []grpc.MethodDesc{
|
|
{
|
|
MethodName: "SubmitVendorVerifyInfo",
|
|
Handler: _IsvManager_SubmitVendorVerifyInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "DescribeVendorVerifyInfos",
|
|
Handler: _IsvManager_DescribeVendorVerifyInfos_Handler,
|
|
},
|
|
{
|
|
MethodName: "DescribeAppVendorStatistics",
|
|
Handler: _IsvManager_DescribeAppVendorStatistics_Handler,
|
|
},
|
|
{
|
|
MethodName: "PassVendorVerifyInfo",
|
|
Handler: _IsvManager_PassVendorVerifyInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "RejectVendorVerifyInfo",
|
|
Handler: _IsvManager_RejectVendorVerifyInfo_Handler,
|
|
},
|
|
{
|
|
MethodName: "GetVendorVerifyInfo",
|
|
Handler: _IsvManager_GetVendorVerifyInfo_Handler,
|
|
},
|
|
},
|
|
Streams: []grpc.StreamDesc{},
|
|
Metadata: "isv.proto",
|
|
}
|