// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v7.35.1
// source: module/base/passport/proto/verify.proto

package passport

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

type VerifyRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Provider      string                 `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`                                                                   // 服务提供商
	Args          map[string]string      `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` // 参数
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *VerifyRequest) Reset() {
	*x = VerifyRequest{}
	mi := &file_module_base_passport_proto_verify_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *VerifyRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*VerifyRequest) ProtoMessage() {}

func (x *VerifyRequest) ProtoReflect() protoreflect.Message {
	mi := &file_module_base_passport_proto_verify_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use VerifyRequest.ProtoReflect.Descriptor instead.
func (*VerifyRequest) Descriptor() ([]byte, []int) {
	return file_module_base_passport_proto_verify_proto_rawDescGZIP(), []int{0}
}

func (x *VerifyRequest) GetProvider() string {
	if x != nil {
		return x.Provider
	}
	return ""
}

func (x *VerifyRequest) GetArgs() map[string]string {
	if x != nil {
		return x.Args
	}
	return nil
}

type JumioCallbackPayload struct {
	state                     protoimpl.MessageState `protogen:"open.v1"`
	ScanReference             string                 `protobuf:"bytes,1,opt,name=scan_reference,json=scanReference,proto3" json:"scan_reference,omitempty"`
	CustomerInternalReference string                 `protobuf:"bytes,2,opt,name=customer_internal_reference,json=customerInternalReference,proto3" json:"customer_internal_reference,omitempty"`
	VerificationStatus        *VerificationStatus    `protobuf:"bytes,3,opt,name=verification_status,json=verificationStatus,proto3" json:"verification_status,omitempty"`
	Document                  *Document              `protobuf:"bytes,4,opt,name=document,proto3" json:"document,omitempty"`
	// 其他可选字段
	PersonalInformation *PersonalInformation `protobuf:"bytes,5,opt,name=personal_information,json=personalInformation,proto3" json:"personal_information,omitempty"`
	FaceMap             *FaceMap             `protobuf:"bytes,6,opt,name=face_map,json=faceMap,proto3" json:"face_map,omitempty"`
	CallbackDate        string               `protobuf:"bytes,7,opt,name=callback_date,json=callbackDate,proto3" json:"callback_date,omitempty"`
	ClientIp            string               `protobuf:"bytes,8,opt,name=client_ip,json=clientIp,proto3" json:"client_ip,omitempty"`
	unknownFields       protoimpl.UnknownFields
	sizeCache           protoimpl.SizeCache
}

func (x *JumioCallbackPayload) Reset() {
	*x = JumioCallbackPayload{}
	mi := &file_module_base_passport_proto_verify_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *JumioCallbackPayload) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*JumioCallbackPayload) ProtoMessage() {}

func (x *JumioCallbackPayload) ProtoReflect() protoreflect.Message {
	mi := &file_module_base_passport_proto_verify_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use JumioCallbackPayload.ProtoReflect.Descriptor instead.
func (*JumioCallbackPayload) Descriptor() ([]byte, []int) {
	return file_module_base_passport_proto_verify_proto_rawDescGZIP(), []int{1}
}

func (x *JumioCallbackPayload) GetScanReference() string {
	if x != nil {
		return x.ScanReference
	}
	return ""
}

func (x *JumioCallbackPayload) GetCustomerInternalReference() string {
	if x != nil {
		return x.CustomerInternalReference
	}
	return ""
}

func (x *JumioCallbackPayload) GetVerificationStatus() *VerificationStatus {
	if x != nil {
		return x.VerificationStatus
	}
	return nil
}

func (x *JumioCallbackPayload) GetDocument() *Document {
	if x != nil {
		return x.Document
	}
	return nil
}

func (x *JumioCallbackPayload) GetPersonalInformation() *PersonalInformation {
	if x != nil {
		return x.PersonalInformation
	}
	return nil
}

func (x *JumioCallbackPayload) GetFaceMap() *FaceMap {
	if x != nil {
		return x.FaceMap
	}
	return nil
}

func (x *JumioCallbackPayload) GetCallbackDate() string {
	if x != nil {
		return x.CallbackDate
	}
	return ""
}

func (x *JumioCallbackPayload) GetClientIp() string {
	if x != nil {
		return x.ClientIp
	}
	return ""
}

type VerificationStatus struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	State         string                 `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`   // "PENDING", "DONE", "FAILED"
	Reason        string                 `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // 可选字段，失败原因
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *VerificationStatus) Reset() {
	*x = VerificationStatus{}
	mi := &file_module_base_passport_proto_verify_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *VerificationStatus) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*VerificationStatus) ProtoMessage() {}

func (x *VerificationStatus) ProtoReflect() protoreflect.Message {
	mi := &file_module_base_passport_proto_verify_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use VerificationStatus.ProtoReflect.Descriptor instead.
func (*VerificationStatus) Descriptor() ([]byte, []int) {
	return file_module_base_passport_proto_verify_proto_rawDescGZIP(), []int{2}
}

func (x *VerificationStatus) GetState() string {
	if x != nil {
		return x.State
	}
	return ""
}

func (x *VerificationStatus) GetReason() string {
	if x != nil {
		return x.Reason
	}
	return ""
}

type Document struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	Status         string                 `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // "APPROVED_VERIFIED", "DENIED_FRAUD", etc.
	Type           string                 `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`     // "PASSPORT", "DRIVER_LICENSE", etc.
	IssuingCountry string                 `protobuf:"bytes,3,opt,name=issuing_country,json=issuingCountry,proto3" json:"issuing_country,omitempty"`
	Number         string                 `protobuf:"bytes,4,opt,name=number,proto3" json:"number,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *Document) Reset() {
	*x = Document{}
	mi := &file_module_base_passport_proto_verify_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *Document) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*Document) ProtoMessage() {}

func (x *Document) ProtoReflect() protoreflect.Message {
	mi := &file_module_base_passport_proto_verify_proto_msgTypes[3]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use Document.ProtoReflect.Descriptor instead.
func (*Document) Descriptor() ([]byte, []int) {
	return file_module_base_passport_proto_verify_proto_rawDescGZIP(), []int{3}
}

func (x *Document) GetStatus() string {
	if x != nil {
		return x.Status
	}
	return ""
}

func (x *Document) GetType() string {
	if x != nil {
		return x.Type
	}
	return ""
}

func (x *Document) GetIssuingCountry() string {
	if x != nil {
		return x.IssuingCountry
	}
	return ""
}

func (x *Document) GetNumber() string {
	if x != nil {
		return x.Number
	}
	return ""
}

type PersonalInformation struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	FirstName     string                 `protobuf:"bytes,1,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName      string                 `protobuf:"bytes,2,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	DateOfBirth   string                 `protobuf:"bytes,3,opt,name=date_of_birth,json=dateOfBirth,proto3" json:"date_of_birth,omitempty"`
	Nationality   string                 `protobuf:"bytes,4,opt,name=nationality,proto3" json:"nationality,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *PersonalInformation) Reset() {
	*x = PersonalInformation{}
	mi := &file_module_base_passport_proto_verify_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *PersonalInformation) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*PersonalInformation) ProtoMessage() {}

func (x *PersonalInformation) ProtoReflect() protoreflect.Message {
	mi := &file_module_base_passport_proto_verify_proto_msgTypes[4]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use PersonalInformation.ProtoReflect.Descriptor instead.
func (*PersonalInformation) Descriptor() ([]byte, []int) {
	return file_module_base_passport_proto_verify_proto_rawDescGZIP(), []int{4}
}

func (x *PersonalInformation) GetFirstName() string {
	if x != nil {
		return x.FirstName
	}
	return ""
}

func (x *PersonalInformation) GetLastName() string {
	if x != nil {
		return x.LastName
	}
	return ""
}

func (x *PersonalInformation) GetDateOfBirth() string {
	if x != nil {
		return x.DateOfBirth
	}
	return ""
}

func (x *PersonalInformation) GetNationality() string {
	if x != nil {
		return x.Nationality
	}
	return ""
}

type FaceMap struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Status        string                 `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Similarity    float32                `protobuf:"fixed32,2,opt,name=similarity,proto3" json:"similarity,omitempty"` // 人脸比对相似度
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *FaceMap) Reset() {
	*x = FaceMap{}
	mi := &file_module_base_passport_proto_verify_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *FaceMap) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*FaceMap) ProtoMessage() {}

func (x *FaceMap) ProtoReflect() protoreflect.Message {
	mi := &file_module_base_passport_proto_verify_proto_msgTypes[5]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use FaceMap.ProtoReflect.Descriptor instead.
func (*FaceMap) Descriptor() ([]byte, []int) {
	return file_module_base_passport_proto_verify_proto_rawDescGZIP(), []int{5}
}

func (x *FaceMap) GetStatus() string {
	if x != nil {
		return x.Status
	}
	return ""
}

func (x *FaceMap) GetSimilarity() float32 {
	if x != nil {
		return x.Similarity
	}
	return 0
}

var File_module_base_passport_proto_verify_proto protoreflect.FileDescriptor

const file_module_base_passport_proto_verify_proto_rawDesc = "" +
	"\n" +
	"'module/base/passport/proto/verify.proto\x12\bpassport\x1a&module/base/passport/proto/const.proto\"\x9b\x01\n" +
	"\rVerifyRequest\x12\x1a\n" +
	"\bprovider\x18\x01 \x01(\tR\bprovider\x125\n" +
	"\x04args\x18\x02 \x03(\v2!.passport.VerifyRequest.ArgsEntryR\x04args\x1a7\n" +
	"\tArgsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xbe\x03\n" +
	"\x14JumioCallbackPayload\x12%\n" +
	"\x0escan_reference\x18\x01 \x01(\tR\rscanReference\x12>\n" +
	"\x1bcustomer_internal_reference\x18\x02 \x01(\tR\x19customerInternalReference\x12M\n" +
	"\x13verification_status\x18\x03 \x01(\v2\x1c.passport.VerificationStatusR\x12verificationStatus\x12.\n" +
	"\bdocument\x18\x04 \x01(\v2\x12.passport.DocumentR\bdocument\x12P\n" +
	"\x14personal_information\x18\x05 \x01(\v2\x1d.passport.PersonalInformationR\x13personalInformation\x12,\n" +
	"\bface_map\x18\x06 \x01(\v2\x11.passport.FaceMapR\afaceMap\x12#\n" +
	"\rcallback_date\x18\a \x01(\tR\fcallbackDate\x12\x1b\n" +
	"\tclient_ip\x18\b \x01(\tR\bclientIp\"B\n" +
	"\x12VerificationStatus\x12\x14\n" +
	"\x05state\x18\x01 \x01(\tR\x05state\x12\x16\n" +
	"\x06reason\x18\x02 \x01(\tR\x06reason\"w\n" +
	"\bDocument\x12\x16\n" +
	"\x06status\x18\x01 \x01(\tR\x06status\x12\x12\n" +
	"\x04type\x18\x02 \x01(\tR\x04type\x12'\n" +
	"\x0fissuing_country\x18\x03 \x01(\tR\x0eissuingCountry\x12\x16\n" +
	"\x06number\x18\x04 \x01(\tR\x06number\"\x97\x01\n" +
	"\x13PersonalInformation\x12\x1d\n" +
	"\n" +
	"first_name\x18\x01 \x01(\tR\tfirstName\x12\x1b\n" +
	"\tlast_name\x18\x02 \x01(\tR\blastName\x12\"\n" +
	"\rdate_of_birth\x18\x03 \x01(\tR\vdateOfBirth\x12 \n" +
	"\vnationality\x18\x04 \x01(\tR\vnationality\"A\n" +
	"\aFaceMap\x12\x16\n" +
	"\x06status\x18\x01 \x01(\tR\x06status\x12\x1e\n" +
	"\n" +
	"similarity\x18\x02 \x01(\x02R\n" +
	"similarity2\xa7\x01\n" +
	"\x06Verify\x12G\n" +
	"\aRequest\x12\x17.passport.VerifyRequest\x1a!.base_passport_blocks.StatusReply\"\x00\x12T\n" +
	"\rJumioCallback\x12\x1e.passport.JumioCallbackPayload\x1a!.base_passport_blocks.StatusReply\"\x00B+Z)bsm/full/module/base/passport/pb;passportb\x06proto3"

var (
	file_module_base_passport_proto_verify_proto_rawDescOnce sync.Once
	file_module_base_passport_proto_verify_proto_rawDescData []byte
)

func file_module_base_passport_proto_verify_proto_rawDescGZIP() []byte {
	file_module_base_passport_proto_verify_proto_rawDescOnce.Do(func() {
		file_module_base_passport_proto_verify_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_module_base_passport_proto_verify_proto_rawDesc), len(file_module_base_passport_proto_verify_proto_rawDesc)))
	})
	return file_module_base_passport_proto_verify_proto_rawDescData
}

var file_module_base_passport_proto_verify_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_module_base_passport_proto_verify_proto_goTypes = []any{
	(*VerifyRequest)(nil),        // 0: passport.VerifyRequest
	(*JumioCallbackPayload)(nil), // 1: passport.JumioCallbackPayload
	(*VerificationStatus)(nil),   // 2: passport.VerificationStatus
	(*Document)(nil),             // 3: passport.Document
	(*PersonalInformation)(nil),  // 4: passport.PersonalInformation
	(*FaceMap)(nil),              // 5: passport.FaceMap
	nil,                          // 6: passport.VerifyRequest.ArgsEntry
	(*StatusReply)(nil),          // 7: base_passport_blocks.StatusReply
}
var file_module_base_passport_proto_verify_proto_depIdxs = []int32{
	6, // 0: passport.VerifyRequest.args:type_name -> passport.VerifyRequest.ArgsEntry
	2, // 1: passport.JumioCallbackPayload.verification_status:type_name -> passport.VerificationStatus
	3, // 2: passport.JumioCallbackPayload.document:type_name -> passport.Document
	4, // 3: passport.JumioCallbackPayload.personal_information:type_name -> passport.PersonalInformation
	5, // 4: passport.JumioCallbackPayload.face_map:type_name -> passport.FaceMap
	0, // 5: passport.Verify.Request:input_type -> passport.VerifyRequest
	1, // 6: passport.Verify.JumioCallback:input_type -> passport.JumioCallbackPayload
	7, // 7: passport.Verify.Request:output_type -> base_passport_blocks.StatusReply
	7, // 8: passport.Verify.JumioCallback:output_type -> base_passport_blocks.StatusReply
	7, // [7:9] is the sub-list for method output_type
	5, // [5:7] is the sub-list for method input_type
	5, // [5:5] is the sub-list for extension type_name
	5, // [5:5] is the sub-list for extension extendee
	0, // [0:5] is the sub-list for field type_name
}

func init() { file_module_base_passport_proto_verify_proto_init() }
func file_module_base_passport_proto_verify_proto_init() {
	if File_module_base_passport_proto_verify_proto != nil {
		return
	}
	file_module_base_passport_proto_const_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_module_base_passport_proto_verify_proto_rawDesc), len(file_module_base_passport_proto_verify_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   7,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_module_base_passport_proto_verify_proto_goTypes,
		DependencyIndexes: file_module_base_passport_proto_verify_proto_depIdxs,
		MessageInfos:      file_module_base_passport_proto_verify_proto_msgTypes,
	}.Build()
	File_module_base_passport_proto_verify_proto = out.File
	file_module_base_passport_proto_verify_proto_goTypes = nil
	file_module_base_passport_proto_verify_proto_depIdxs = nil
}
