fonchain-fiee/api/supplier/supplier.pb.go
2026-01-06 11:25:20 +08:00

2130 lines
69 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.7
// protoc v6.32.0
// source: api/supplier/supplier.proto
package supplier
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 GetImportRecordRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetImportRecordRequest) Reset() {
*x = GetImportRecordRequest{}
mi := &file_api_supplier_supplier_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetImportRecordRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetImportRecordRequest) ProtoMessage() {}
func (x *GetImportRecordRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_supplier_supplier_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 GetImportRecordRequest.ProtoReflect.Descriptor instead.
func (*GetImportRecordRequest) Descriptor() ([]byte, []int) {
return file_api_supplier_supplier_proto_rawDescGZIP(), []int{0}
}
func (x *GetImportRecordRequest) GetUuid() string {
if x != nil {
return x.Uuid
}
return ""
}
type GetImportRecordResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
SuccessNum uint64 `protobuf:"varint,1,opt,name=successNum,proto3" json:"successNum"`
FailNum uint64 `protobuf:"varint,2,opt,name=failNum,proto3" json:"failNum"`
DeriveUrl string `protobuf:"bytes,3,opt,name=deriveUrl,proto3" json:"deriveUrl"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetImportRecordResponse) Reset() {
*x = GetImportRecordResponse{}
mi := &file_api_supplier_supplier_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetImportRecordResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetImportRecordResponse) ProtoMessage() {}
func (x *GetImportRecordResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_supplier_supplier_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 GetImportRecordResponse.ProtoReflect.Descriptor instead.
func (*GetImportRecordResponse) Descriptor() ([]byte, []int) {
return file_api_supplier_supplier_proto_rawDescGZIP(), []int{1}
}
func (x *GetImportRecordResponse) GetSuccessNum() uint64 {
if x != nil {
return x.SuccessNum
}
return 0
}
func (x *GetImportRecordResponse) GetFailNum() uint64 {
if x != nil {
return x.FailNum
}
return 0
}
func (x *GetImportRecordResponse) GetDeriveUrl() string {
if x != nil {
return x.DeriveUrl
}
return ""
}
type CreateImportRecordRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
SupplierCodes []string `protobuf:"bytes,1,rep,name=supplierCodes,proto3" json:"supplierCodes"`
Status uint64 `protobuf:"varint,2,opt,name=status,proto3" json:"status"`
UserId uint64 `protobuf:"varint,3,opt,name=userId,proto3" json:"userId"`
ToLeadUrl string `protobuf:"bytes,4,opt,name=toLeadUrl,proto3" json:"toLeadUrl"`
DeriveUrl string `protobuf:"bytes,5,opt,name=deriveUrl,proto3" json:"deriveUrl"`
Uuid string `protobuf:"bytes,6,opt,name=uuid,proto3" json:"uuid"`
SuccessNum uint64 `protobuf:"varint,7,opt,name=successNum,proto3" json:"successNum"`
FailNum uint64 `protobuf:"varint,8,opt,name=failNum,proto3" json:"failNum"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateImportRecordRequest) Reset() {
*x = CreateImportRecordRequest{}
mi := &file_api_supplier_supplier_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateImportRecordRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateImportRecordRequest) ProtoMessage() {}
func (x *CreateImportRecordRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_supplier_supplier_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 CreateImportRecordRequest.ProtoReflect.Descriptor instead.
func (*CreateImportRecordRequest) Descriptor() ([]byte, []int) {
return file_api_supplier_supplier_proto_rawDescGZIP(), []int{2}
}
func (x *CreateImportRecordRequest) GetSupplierCodes() []string {
if x != nil {
return x.SupplierCodes
}
return nil
}
func (x *CreateImportRecordRequest) GetStatus() uint64 {
if x != nil {
return x.Status
}
return 0
}
func (x *CreateImportRecordRequest) GetUserId() uint64 {
if x != nil {
return x.UserId
}
return 0
}
func (x *CreateImportRecordRequest) GetToLeadUrl() string {
if x != nil {
return x.ToLeadUrl
}
return ""
}
func (x *CreateImportRecordRequest) GetDeriveUrl() string {
if x != nil {
return x.DeriveUrl
}
return ""
}
func (x *CreateImportRecordRequest) GetUuid() string {
if x != nil {
return x.Uuid
}
return ""
}
func (x *CreateImportRecordRequest) GetSuccessNum() uint64 {
if x != nil {
return x.SuccessNum
}
return 0
}
func (x *CreateImportRecordRequest) GetFailNum() uint64 {
if x != nil {
return x.FailNum
}
return 0
}
type CreateImportRecordResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateImportRecordResponse) Reset() {
*x = CreateImportRecordResponse{}
mi := &file_api_supplier_supplier_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateImportRecordResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateImportRecordResponse) ProtoMessage() {}
func (x *CreateImportRecordResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_supplier_supplier_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 CreateImportRecordResponse.ProtoReflect.Descriptor instead.
func (*CreateImportRecordResponse) Descriptor() ([]byte, []int) {
return file_api_supplier_supplier_proto_rawDescGZIP(), []int{3}
}
func (x *CreateImportRecordResponse) GetId() uint64 {
if x != nil {
return x.Id
}
return 0
}
type GetCountryRegionListResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Data []*CountryRegion `protobuf:"bytes,1,rep,name=data,proto3" json:"data"`
Page uint64 `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
PageSize uint64 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize"`
Total uint64 `protobuf:"varint,4,opt,name=total,proto3" json:"total"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetCountryRegionListResponse) Reset() {
*x = GetCountryRegionListResponse{}
mi := &file_api_supplier_supplier_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetCountryRegionListResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetCountryRegionListResponse) ProtoMessage() {}
func (x *GetCountryRegionListResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_supplier_supplier_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 GetCountryRegionListResponse.ProtoReflect.Descriptor instead.
func (*GetCountryRegionListResponse) Descriptor() ([]byte, []int) {
return file_api_supplier_supplier_proto_rawDescGZIP(), []int{4}
}
func (x *GetCountryRegionListResponse) GetData() []*CountryRegion {
if x != nil {
return x.Data
}
return nil
}
func (x *GetCountryRegionListResponse) GetPage() uint64 {
if x != nil {
return x.Page
}
return 0
}
func (x *GetCountryRegionListResponse) GetPageSize() uint64 {
if x != nil {
return x.PageSize
}
return 0
}
func (x *GetCountryRegionListResponse) GetTotal() uint64 {
if x != nil {
return x.Total
}
return 0
}
type CountryRegion struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
NameEN string `protobuf:"bytes,2,opt,name=nameEN,proto3" json:"nameEN"`
NameCN string `protobuf:"bytes,3,opt,name=nameCN,proto3" json:"nameCN"`
Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CountryRegion) Reset() {
*x = CountryRegion{}
mi := &file_api_supplier_supplier_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CountryRegion) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CountryRegion) ProtoMessage() {}
func (x *CountryRegion) ProtoReflect() protoreflect.Message {
mi := &file_api_supplier_supplier_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 CountryRegion.ProtoReflect.Descriptor instead.
func (*CountryRegion) Descriptor() ([]byte, []int) {
return file_api_supplier_supplier_proto_rawDescGZIP(), []int{5}
}
func (x *CountryRegion) GetId() uint64 {
if x != nil {
return x.Id
}
return 0
}
func (x *CountryRegion) GetNameEN() string {
if x != nil {
return x.NameEN
}
return ""
}
func (x *CountryRegion) GetNameCN() string {
if x != nil {
return x.NameCN
}
return ""
}
func (x *CountryRegion) GetCode() string {
if x != nil {
return x.Code
}
return ""
}
type GetCountryRegionListRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
PageSize uint64 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize"`
NameEN string `protobuf:"bytes,3,opt,name=nameEN,proto3" json:"nameEN"`
NameCN string `protobuf:"bytes,4,opt,name=nameCN,proto3" json:"nameCN"`
Code string `protobuf:"bytes,5,opt,name=code,proto3" json:"code"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetCountryRegionListRequest) Reset() {
*x = GetCountryRegionListRequest{}
mi := &file_api_supplier_supplier_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetCountryRegionListRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetCountryRegionListRequest) ProtoMessage() {}
func (x *GetCountryRegionListRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_supplier_supplier_proto_msgTypes[6]
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 GetCountryRegionListRequest.ProtoReflect.Descriptor instead.
func (*GetCountryRegionListRequest) Descriptor() ([]byte, []int) {
return file_api_supplier_supplier_proto_rawDescGZIP(), []int{6}
}
func (x *GetCountryRegionListRequest) GetPage() uint64 {
if x != nil {
return x.Page
}
return 0
}
func (x *GetCountryRegionListRequest) GetPageSize() uint64 {
if x != nil {
return x.PageSize
}
return 0
}
func (x *GetCountryRegionListRequest) GetNameEN() string {
if x != nil {
return x.NameEN
}
return ""
}
func (x *GetCountryRegionListRequest) GetNameCN() string {
if x != nil {
return x.NameCN
}
return ""
}
func (x *GetCountryRegionListRequest) GetCode() string {
if x != nil {
return x.Code
}
return ""
}
type OrganizeDictionary struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *OrganizeDictionary) Reset() {
*x = OrganizeDictionary{}
mi := &file_api_supplier_supplier_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *OrganizeDictionary) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OrganizeDictionary) ProtoMessage() {}
func (x *OrganizeDictionary) ProtoReflect() protoreflect.Message {
mi := &file_api_supplier_supplier_proto_msgTypes[7]
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 OrganizeDictionary.ProtoReflect.Descriptor instead.
func (*OrganizeDictionary) Descriptor() ([]byte, []int) {
return file_api_supplier_supplier_proto_rawDescGZIP(), []int{7}
}
func (x *OrganizeDictionary) GetId() uint64 {
if x != nil {
return x.Id
}
return 0
}
func (x *OrganizeDictionary) GetName() string {
if x != nil {
return x.Name
}
return ""
}
type GetOrganizeDictionaryListResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Data []*OrganizeDictionary `protobuf:"bytes,1,rep,name=data,proto3" json:"data"`
Page uint64 `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
PageSize uint64 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize"`
Total uint64 `protobuf:"varint,4,opt,name=total,proto3" json:"total"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetOrganizeDictionaryListResponse) Reset() {
*x = GetOrganizeDictionaryListResponse{}
mi := &file_api_supplier_supplier_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetOrganizeDictionaryListResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetOrganizeDictionaryListResponse) ProtoMessage() {}
func (x *GetOrganizeDictionaryListResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_supplier_supplier_proto_msgTypes[8]
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 GetOrganizeDictionaryListResponse.ProtoReflect.Descriptor instead.
func (*GetOrganizeDictionaryListResponse) Descriptor() ([]byte, []int) {
return file_api_supplier_supplier_proto_rawDescGZIP(), []int{8}
}
func (x *GetOrganizeDictionaryListResponse) GetData() []*OrganizeDictionary {
if x != nil {
return x.Data
}
return nil
}
func (x *GetOrganizeDictionaryListResponse) GetPage() uint64 {
if x != nil {
return x.Page
}
return 0
}
func (x *GetOrganizeDictionaryListResponse) GetPageSize() uint64 {
if x != nil {
return x.PageSize
}
return 0
}
func (x *GetOrganizeDictionaryListResponse) GetTotal() uint64 {
if x != nil {
return x.Total
}
return 0
}
type CreateOrganizeDictionaryRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateOrganizeDictionaryRequest) Reset() {
*x = CreateOrganizeDictionaryRequest{}
mi := &file_api_supplier_supplier_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateOrganizeDictionaryRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateOrganizeDictionaryRequest) ProtoMessage() {}
func (x *CreateOrganizeDictionaryRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_supplier_supplier_proto_msgTypes[9]
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 CreateOrganizeDictionaryRequest.ProtoReflect.Descriptor instead.
func (*CreateOrganizeDictionaryRequest) Descriptor() ([]byte, []int) {
return file_api_supplier_supplier_proto_rawDescGZIP(), []int{9}
}
func (x *CreateOrganizeDictionaryRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
type CreateOrganizeDictionaryResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateOrganizeDictionaryResponse) Reset() {
*x = CreateOrganizeDictionaryResponse{}
mi := &file_api_supplier_supplier_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateOrganizeDictionaryResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateOrganizeDictionaryResponse) ProtoMessage() {}
func (x *CreateOrganizeDictionaryResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_supplier_supplier_proto_msgTypes[10]
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 CreateOrganizeDictionaryResponse.ProtoReflect.Descriptor instead.
func (*CreateOrganizeDictionaryResponse) Descriptor() ([]byte, []int) {
return file_api_supplier_supplier_proto_rawDescGZIP(), []int{10}
}
func (x *CreateOrganizeDictionaryResponse) GetId() uint64 {
if x != nil {
return x.Id
}
return 0
}
type GetOrganizeDictionaryListRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
PageSize uint64 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetOrganizeDictionaryListRequest) Reset() {
*x = GetOrganizeDictionaryListRequest{}
mi := &file_api_supplier_supplier_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetOrganizeDictionaryListRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetOrganizeDictionaryListRequest) ProtoMessage() {}
func (x *GetOrganizeDictionaryListRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_supplier_supplier_proto_msgTypes[11]
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 GetOrganizeDictionaryListRequest.ProtoReflect.Descriptor instead.
func (*GetOrganizeDictionaryListRequest) Descriptor() ([]byte, []int) {
return file_api_supplier_supplier_proto_rawDescGZIP(), []int{11}
}
func (x *GetOrganizeDictionaryListRequest) GetPage() uint64 {
if x != nil {
return x.Page
}
return 0
}
func (x *GetOrganizeDictionaryListRequest) GetPageSize() uint64 {
if x != nil {
return x.PageSize
}
return 0
}
func (x *GetOrganizeDictionaryListRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
type GetSupplierListRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
PageSize uint64 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize"`
OwningEntityId uint64 `protobuf:"varint,3,opt,name=owningEntityId,proto3" json:"owningEntityId"`
SupplierUniqueCode string `protobuf:"bytes,4,opt,name=supplierUniqueCode,proto3" json:"supplierUniqueCode"`
LegalName string `protobuf:"bytes,5,opt,name=legalName,proto3" json:"legalName"`
LocalName string `protobuf:"bytes,6,opt,name=localName,proto3" json:"localName"`
AbbreviationName string `protobuf:"bytes,7,opt,name=abbreviationName,proto3" json:"abbreviationName"`
CountryOrRegionId uint64 `protobuf:"varint,8,opt,name=countryOrRegionId,proto3" json:"countryOrRegionId"`
CompanyRegistrationNumber string `protobuf:"bytes,9,opt,name=companyRegistrationNumber,proto3" json:"companyRegistrationNumber"`
SupplierType string `protobuf:"bytes,10,opt,name=supplierType,proto3" json:"supplierType"`
ApprovalStatus string `protobuf:"bytes,11,opt,name=approvalStatus,proto3" json:"approvalStatus"`
ApprovalDateStart string `protobuf:"bytes,12,opt,name=approvalDateStart,proto3" json:"approvalDateStart"`
ApprovalDateEnd string `protobuf:"bytes,13,opt,name=approvalDateEnd,proto3" json:"approvalDateEnd"`
LastReviewDateStart string `protobuf:"bytes,14,opt,name=lastReviewDateStart,proto3" json:"lastReviewDateStart"`
LastReviewDateEnd string `protobuf:"bytes,15,opt,name=lastReviewDateEnd,proto3" json:"lastReviewDateEnd"`
LegalEntityType string `protobuf:"bytes,16,opt,name=legalEntityType,proto3" json:"legalEntityType"`
SanctionsCountryScreeningResult string `protobuf:"bytes,17,opt,name=sanctionsCountryScreeningResult,proto3" json:"sanctionsCountryScreeningResult"`
KeyFinancial string `protobuf:"bytes,18,opt,name=keyFinancial,proto3" json:"keyFinancial"`
CompanyAddress string `protobuf:"bytes,19,opt,name=companyAddress,proto3" json:"companyAddress"`
PrimaryContact string `protobuf:"bytes,20,opt,name=primaryContact,proto3" json:"primaryContact"`
DataOwnerDepartment string `protobuf:"bytes,21,opt,name=dataOwnerDepartment,proto3" json:"dataOwnerDepartment"`
BasicCompanyInformation string `protobuf:"bytes,22,opt,name=basicCompanyInformation,proto3" json:"basicCompanyInformation"`
Status uint64 `protobuf:"varint,23,opt,name=status,proto3" json:"status"`
UpdateStart string `protobuf:"bytes,24,opt,name=updateStart,proto3" json:"updateStart"`
UpdateEnd string `protobuf:"bytes,25,opt,name=updateEnd,proto3" json:"updateEnd"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetSupplierListRequest) Reset() {
*x = GetSupplierListRequest{}
mi := &file_api_supplier_supplier_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetSupplierListRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetSupplierListRequest) ProtoMessage() {}
func (x *GetSupplierListRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_supplier_supplier_proto_msgTypes[12]
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 GetSupplierListRequest.ProtoReflect.Descriptor instead.
func (*GetSupplierListRequest) Descriptor() ([]byte, []int) {
return file_api_supplier_supplier_proto_rawDescGZIP(), []int{12}
}
func (x *GetSupplierListRequest) GetPage() uint64 {
if x != nil {
return x.Page
}
return 0
}
func (x *GetSupplierListRequest) GetPageSize() uint64 {
if x != nil {
return x.PageSize
}
return 0
}
func (x *GetSupplierListRequest) GetOwningEntityId() uint64 {
if x != nil {
return x.OwningEntityId
}
return 0
}
func (x *GetSupplierListRequest) GetSupplierUniqueCode() string {
if x != nil {
return x.SupplierUniqueCode
}
return ""
}
func (x *GetSupplierListRequest) GetLegalName() string {
if x != nil {
return x.LegalName
}
return ""
}
func (x *GetSupplierListRequest) GetLocalName() string {
if x != nil {
return x.LocalName
}
return ""
}
func (x *GetSupplierListRequest) GetAbbreviationName() string {
if x != nil {
return x.AbbreviationName
}
return ""
}
func (x *GetSupplierListRequest) GetCountryOrRegionId() uint64 {
if x != nil {
return x.CountryOrRegionId
}
return 0
}
func (x *GetSupplierListRequest) GetCompanyRegistrationNumber() string {
if x != nil {
return x.CompanyRegistrationNumber
}
return ""
}
func (x *GetSupplierListRequest) GetSupplierType() string {
if x != nil {
return x.SupplierType
}
return ""
}
func (x *GetSupplierListRequest) GetApprovalStatus() string {
if x != nil {
return x.ApprovalStatus
}
return ""
}
func (x *GetSupplierListRequest) GetApprovalDateStart() string {
if x != nil {
return x.ApprovalDateStart
}
return ""
}
func (x *GetSupplierListRequest) GetApprovalDateEnd() string {
if x != nil {
return x.ApprovalDateEnd
}
return ""
}
func (x *GetSupplierListRequest) GetLastReviewDateStart() string {
if x != nil {
return x.LastReviewDateStart
}
return ""
}
func (x *GetSupplierListRequest) GetLastReviewDateEnd() string {
if x != nil {
return x.LastReviewDateEnd
}
return ""
}
func (x *GetSupplierListRequest) GetLegalEntityType() string {
if x != nil {
return x.LegalEntityType
}
return ""
}
func (x *GetSupplierListRequest) GetSanctionsCountryScreeningResult() string {
if x != nil {
return x.SanctionsCountryScreeningResult
}
return ""
}
func (x *GetSupplierListRequest) GetKeyFinancial() string {
if x != nil {
return x.KeyFinancial
}
return ""
}
func (x *GetSupplierListRequest) GetCompanyAddress() string {
if x != nil {
return x.CompanyAddress
}
return ""
}
func (x *GetSupplierListRequest) GetPrimaryContact() string {
if x != nil {
return x.PrimaryContact
}
return ""
}
func (x *GetSupplierListRequest) GetDataOwnerDepartment() string {
if x != nil {
return x.DataOwnerDepartment
}
return ""
}
func (x *GetSupplierListRequest) GetBasicCompanyInformation() string {
if x != nil {
return x.BasicCompanyInformation
}
return ""
}
func (x *GetSupplierListRequest) GetStatus() uint64 {
if x != nil {
return x.Status
}
return 0
}
func (x *GetSupplierListRequest) GetUpdateStart() string {
if x != nil {
return x.UpdateStart
}
return ""
}
func (x *GetSupplierListRequest) GetUpdateEnd() string {
if x != nil {
return x.UpdateEnd
}
return ""
}
type GetSupplierListResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
Data []*SupplierInfo `protobuf:"bytes,2,rep,name=data,proto3" json:"data"`
Page uint64 `protobuf:"varint,3,opt,name=page,proto3" json:"page"`
PageSize uint64 `protobuf:"varint,4,opt,name=pageSize,proto3" json:"pageSize"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetSupplierListResponse) Reset() {
*x = GetSupplierListResponse{}
mi := &file_api_supplier_supplier_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetSupplierListResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetSupplierListResponse) ProtoMessage() {}
func (x *GetSupplierListResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_supplier_supplier_proto_msgTypes[13]
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 GetSupplierListResponse.ProtoReflect.Descriptor instead.
func (*GetSupplierListResponse) Descriptor() ([]byte, []int) {
return file_api_supplier_supplier_proto_rawDescGZIP(), []int{13}
}
func (x *GetSupplierListResponse) GetTotal() uint64 {
if x != nil {
return x.Total
}
return 0
}
func (x *GetSupplierListResponse) GetData() []*SupplierInfo {
if x != nil {
return x.Data
}
return nil
}
func (x *GetSupplierListResponse) GetPage() uint64 {
if x != nil {
return x.Page
}
return 0
}
func (x *GetSupplierListResponse) GetPageSize() uint64 {
if x != nil {
return x.PageSize
}
return 0
}
type SupplierInfo struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
OwningEntityId uint64 `protobuf:"varint,2,opt,name=owningEntityId,proto3" json:"owningEntityId"`
LegalName string `protobuf:"bytes,3,opt,name=legalName,proto3" json:"legalName"`
LocalName string `protobuf:"bytes,4,opt,name=localName,proto3" json:"localName"`
AbbreviationName string `protobuf:"bytes,5,opt,name=abbreviationName,proto3" json:"abbreviationName"`
CountryOrRegionId uint64 `protobuf:"varint,6,opt,name=countryOrRegionId,proto3" json:"countryOrRegionId"`
CompanyRegistrationNumber string `protobuf:"bytes,7,opt,name=companyRegistrationNumber,proto3" json:"companyRegistrationNumber"`
SupplierType string `protobuf:"bytes,8,opt,name=supplierType,proto3" json:"supplierType"`
ApprovalStatus string `protobuf:"bytes,9,opt,name=approvalStatus,proto3" json:"approvalStatus"`
ApprovalDate string `protobuf:"bytes,10,opt,name=approvalDate,proto3" json:"approvalDate"`
LastReviewDate string `protobuf:"bytes,11,opt,name=lastReviewDate,proto3" json:"lastReviewDate"`
LegalEntityType string `protobuf:"bytes,12,opt,name=legalEntityType,proto3" json:"legalEntityType"`
SanctionsCountryScreeningResult string `protobuf:"bytes,13,opt,name=sanctionsCountryScreeningResult,proto3" json:"sanctionsCountryScreeningResult"`
KeyFinancial string `protobuf:"bytes,14,opt,name=keyFinancial,proto3" json:"keyFinancial"`
CompanyAddress string `protobuf:"bytes,15,opt,name=companyAddress,proto3" json:"companyAddress"`
PrimaryContact string `protobuf:"bytes,16,opt,name=primaryContact,proto3" json:"primaryContact"`
DataOwnerDepartment string `protobuf:"bytes,17,opt,name=dataOwnerDepartment,proto3" json:"dataOwnerDepartment"`
BasicCompanyInformation string `protobuf:"bytes,18,opt,name=basicCompanyInformation,proto3" json:"basicCompanyInformation"`
LinkAddress string `protobuf:"bytes,19,opt,name=linkAddress,proto3" json:"linkAddress"`
SupplementaryText string `protobuf:"bytes,20,opt,name=supplementaryText,proto3" json:"supplementaryText"`
Attachments []*Attachment `protobuf:"bytes,21,rep,name=attachments,proto3" json:"attachments"`
Status uint64 `protobuf:"varint,22,opt,name=status,proto3" json:"status"`
CreatedAt string `protobuf:"bytes,23,opt,name=createdAt,proto3" json:"createdAt"`
UpdatedAt string `protobuf:"bytes,24,opt,name=updatedAt,proto3" json:"updatedAt"`
SupplierUniqueCode string `protobuf:"bytes,25,opt,name=supplierUniqueCode,proto3" json:"supplierUniqueCode"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SupplierInfo) Reset() {
*x = SupplierInfo{}
mi := &file_api_supplier_supplier_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SupplierInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SupplierInfo) ProtoMessage() {}
func (x *SupplierInfo) ProtoReflect() protoreflect.Message {
mi := &file_api_supplier_supplier_proto_msgTypes[14]
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 SupplierInfo.ProtoReflect.Descriptor instead.
func (*SupplierInfo) Descriptor() ([]byte, []int) {
return file_api_supplier_supplier_proto_rawDescGZIP(), []int{14}
}
func (x *SupplierInfo) GetId() uint64 {
if x != nil {
return x.Id
}
return 0
}
func (x *SupplierInfo) GetOwningEntityId() uint64 {
if x != nil {
return x.OwningEntityId
}
return 0
}
func (x *SupplierInfo) GetLegalName() string {
if x != nil {
return x.LegalName
}
return ""
}
func (x *SupplierInfo) GetLocalName() string {
if x != nil {
return x.LocalName
}
return ""
}
func (x *SupplierInfo) GetAbbreviationName() string {
if x != nil {
return x.AbbreviationName
}
return ""
}
func (x *SupplierInfo) GetCountryOrRegionId() uint64 {
if x != nil {
return x.CountryOrRegionId
}
return 0
}
func (x *SupplierInfo) GetCompanyRegistrationNumber() string {
if x != nil {
return x.CompanyRegistrationNumber
}
return ""
}
func (x *SupplierInfo) GetSupplierType() string {
if x != nil {
return x.SupplierType
}
return ""
}
func (x *SupplierInfo) GetApprovalStatus() string {
if x != nil {
return x.ApprovalStatus
}
return ""
}
func (x *SupplierInfo) GetApprovalDate() string {
if x != nil {
return x.ApprovalDate
}
return ""
}
func (x *SupplierInfo) GetLastReviewDate() string {
if x != nil {
return x.LastReviewDate
}
return ""
}
func (x *SupplierInfo) GetLegalEntityType() string {
if x != nil {
return x.LegalEntityType
}
return ""
}
func (x *SupplierInfo) GetSanctionsCountryScreeningResult() string {
if x != nil {
return x.SanctionsCountryScreeningResult
}
return ""
}
func (x *SupplierInfo) GetKeyFinancial() string {
if x != nil {
return x.KeyFinancial
}
return ""
}
func (x *SupplierInfo) GetCompanyAddress() string {
if x != nil {
return x.CompanyAddress
}
return ""
}
func (x *SupplierInfo) GetPrimaryContact() string {
if x != nil {
return x.PrimaryContact
}
return ""
}
func (x *SupplierInfo) GetDataOwnerDepartment() string {
if x != nil {
return x.DataOwnerDepartment
}
return ""
}
func (x *SupplierInfo) GetBasicCompanyInformation() string {
if x != nil {
return x.BasicCompanyInformation
}
return ""
}
func (x *SupplierInfo) GetLinkAddress() string {
if x != nil {
return x.LinkAddress
}
return ""
}
func (x *SupplierInfo) GetSupplementaryText() string {
if x != nil {
return x.SupplementaryText
}
return ""
}
func (x *SupplierInfo) GetAttachments() []*Attachment {
if x != nil {
return x.Attachments
}
return nil
}
func (x *SupplierInfo) GetStatus() uint64 {
if x != nil {
return x.Status
}
return 0
}
func (x *SupplierInfo) GetCreatedAt() string {
if x != nil {
return x.CreatedAt
}
return ""
}
func (x *SupplierInfo) GetUpdatedAt() string {
if x != nil {
return x.UpdatedAt
}
return ""
}
func (x *SupplierInfo) GetSupplierUniqueCode() string {
if x != nil {
return x.SupplierUniqueCode
}
return ""
}
type UpdateSupplierRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
OwningEntityId uint64 `protobuf:"varint,2,opt,name=owningEntityId,proto3" json:"owningEntityId"`
LegalName string `protobuf:"bytes,3,opt,name=legalName,proto3" json:"legalName"`
LocalName string `protobuf:"bytes,4,opt,name=localName,proto3" json:"localName"`
AbbreviationName string `protobuf:"bytes,5,opt,name=abbreviationName,proto3" json:"abbreviationName"`
CountryOrRegionId uint64 `protobuf:"varint,6,opt,name=countryOrRegionId,proto3" json:"countryOrRegionId"`
CompanyRegistrationNumber string `protobuf:"bytes,7,opt,name=companyRegistrationNumber,proto3" json:"companyRegistrationNumber"`
SupplierType string `protobuf:"bytes,8,opt,name=supplierType,proto3" json:"supplierType"`
ApprovalStatus string `protobuf:"bytes,9,opt,name=approvalStatus,proto3" json:"approvalStatus"`
ApprovalDate string `protobuf:"bytes,10,opt,name=approvalDate,proto3" json:"approvalDate"`
LastReviewDate string `protobuf:"bytes,11,opt,name=lastReviewDate,proto3" json:"lastReviewDate"`
LegalEntityType string `protobuf:"bytes,12,opt,name=legalEntityType,proto3" json:"legalEntityType"`
SanctionsCountryScreeningResult string `protobuf:"bytes,13,opt,name=sanctionsCountryScreeningResult,proto3" json:"sanctionsCountryScreeningResult"`
KeyFinancial string `protobuf:"bytes,14,opt,name=keyFinancial,proto3" json:"keyFinancial"`
CompanyAddress string `protobuf:"bytes,15,opt,name=companyAddress,proto3" json:"companyAddress"`
PrimaryContact string `protobuf:"bytes,16,opt,name=primaryContact,proto3" json:"primaryContact"`
DataOwnerDepartment string `protobuf:"bytes,17,opt,name=dataOwnerDepartment,proto3" json:"dataOwnerDepartment"`
BasicCompanyInformation string `protobuf:"bytes,18,opt,name=basicCompanyInformation,proto3" json:"basicCompanyInformation"`
LinkAddress string `protobuf:"bytes,19,opt,name=linkAddress,proto3" json:"linkAddress"`
SupplementaryText string `protobuf:"bytes,20,opt,name=supplementaryText,proto3" json:"supplementaryText"`
Attachments []*Attachment `protobuf:"bytes,21,rep,name=attachments,proto3" json:"attachments"`
Status uint64 `protobuf:"varint,22,opt,name=status,proto3" json:"status"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateSupplierRequest) Reset() {
*x = UpdateSupplierRequest{}
mi := &file_api_supplier_supplier_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateSupplierRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateSupplierRequest) ProtoMessage() {}
func (x *UpdateSupplierRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_supplier_supplier_proto_msgTypes[15]
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 UpdateSupplierRequest.ProtoReflect.Descriptor instead.
func (*UpdateSupplierRequest) Descriptor() ([]byte, []int) {
return file_api_supplier_supplier_proto_rawDescGZIP(), []int{15}
}
func (x *UpdateSupplierRequest) GetId() uint64 {
if x != nil {
return x.Id
}
return 0
}
func (x *UpdateSupplierRequest) GetOwningEntityId() uint64 {
if x != nil {
return x.OwningEntityId
}
return 0
}
func (x *UpdateSupplierRequest) GetLegalName() string {
if x != nil {
return x.LegalName
}
return ""
}
func (x *UpdateSupplierRequest) GetLocalName() string {
if x != nil {
return x.LocalName
}
return ""
}
func (x *UpdateSupplierRequest) GetAbbreviationName() string {
if x != nil {
return x.AbbreviationName
}
return ""
}
func (x *UpdateSupplierRequest) GetCountryOrRegionId() uint64 {
if x != nil {
return x.CountryOrRegionId
}
return 0
}
func (x *UpdateSupplierRequest) GetCompanyRegistrationNumber() string {
if x != nil {
return x.CompanyRegistrationNumber
}
return ""
}
func (x *UpdateSupplierRequest) GetSupplierType() string {
if x != nil {
return x.SupplierType
}
return ""
}
func (x *UpdateSupplierRequest) GetApprovalStatus() string {
if x != nil {
return x.ApprovalStatus
}
return ""
}
func (x *UpdateSupplierRequest) GetApprovalDate() string {
if x != nil {
return x.ApprovalDate
}
return ""
}
func (x *UpdateSupplierRequest) GetLastReviewDate() string {
if x != nil {
return x.LastReviewDate
}
return ""
}
func (x *UpdateSupplierRequest) GetLegalEntityType() string {
if x != nil {
return x.LegalEntityType
}
return ""
}
func (x *UpdateSupplierRequest) GetSanctionsCountryScreeningResult() string {
if x != nil {
return x.SanctionsCountryScreeningResult
}
return ""
}
func (x *UpdateSupplierRequest) GetKeyFinancial() string {
if x != nil {
return x.KeyFinancial
}
return ""
}
func (x *UpdateSupplierRequest) GetCompanyAddress() string {
if x != nil {
return x.CompanyAddress
}
return ""
}
func (x *UpdateSupplierRequest) GetPrimaryContact() string {
if x != nil {
return x.PrimaryContact
}
return ""
}
func (x *UpdateSupplierRequest) GetDataOwnerDepartment() string {
if x != nil {
return x.DataOwnerDepartment
}
return ""
}
func (x *UpdateSupplierRequest) GetBasicCompanyInformation() string {
if x != nil {
return x.BasicCompanyInformation
}
return ""
}
func (x *UpdateSupplierRequest) GetLinkAddress() string {
if x != nil {
return x.LinkAddress
}
return ""
}
func (x *UpdateSupplierRequest) GetSupplementaryText() string {
if x != nil {
return x.SupplementaryText
}
return ""
}
func (x *UpdateSupplierRequest) GetAttachments() []*Attachment {
if x != nil {
return x.Attachments
}
return nil
}
func (x *UpdateSupplierRequest) GetStatus() uint64 {
if x != nil {
return x.Status
}
return 0
}
type CreateSupplierRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
OwningEntityId uint64 `protobuf:"varint,1,opt,name=owningEntityId,proto3" json:"owningEntityId"`
LegalName string `protobuf:"bytes,2,opt,name=legalName,proto3" json:"legalName"`
LocalName string `protobuf:"bytes,3,opt,name=localName,proto3" json:"localName"`
AbbreviationName string `protobuf:"bytes,4,opt,name=abbreviationName,proto3" json:"abbreviationName"`
CountryOrRegionId uint64 `protobuf:"varint,5,opt,name=countryOrRegionId,proto3" json:"countryOrRegionId"`
CompanyRegistrationNumber string `protobuf:"bytes,6,opt,name=companyRegistrationNumber,proto3" json:"companyRegistrationNumber"`
SupplierType string `protobuf:"bytes,7,opt,name=supplierType,proto3" json:"supplierType"`
ApprovalStatus string `protobuf:"bytes,8,opt,name=approvalStatus,proto3" json:"approvalStatus"`
ApprovalDate string `protobuf:"bytes,9,opt,name=approvalDate,proto3" json:"approvalDate"`
LastReviewDate string `protobuf:"bytes,10,opt,name=lastReviewDate,proto3" json:"lastReviewDate"`
LegalEntityType string `protobuf:"bytes,11,opt,name=legalEntityType,proto3" json:"legalEntityType"`
SanctionsCountryScreeningResult string `protobuf:"bytes,12,opt,name=sanctionsCountryScreeningResult,proto3" json:"sanctionsCountryScreeningResult"`
KeyFinancial string `protobuf:"bytes,13,opt,name=keyFinancial,proto3" json:"keyFinancial"`
CompanyAddress string `protobuf:"bytes,14,opt,name=companyAddress,proto3" json:"companyAddress"`
PrimaryContact string `protobuf:"bytes,15,opt,name=primaryContact,proto3" json:"primaryContact"`
DataOwnerDepartment string `protobuf:"bytes,16,opt,name=dataOwnerDepartment,proto3" json:"dataOwnerDepartment"`
BasicCompanyInformation string `protobuf:"bytes,17,opt,name=basicCompanyInformation,proto3" json:"basicCompanyInformation"`
LinkAddress string `protobuf:"bytes,18,opt,name=linkAddress,proto3" json:"linkAddress"`
SupplementaryText string `protobuf:"bytes,19,opt,name=supplementaryText,proto3" json:"supplementaryText"`
Attachments []*Attachment `protobuf:"bytes,20,rep,name=attachments,proto3" json:"attachments"`
Status uint64 `protobuf:"varint,21,opt,name=status,proto3" json:"status"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateSupplierRequest) Reset() {
*x = CreateSupplierRequest{}
mi := &file_api_supplier_supplier_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateSupplierRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateSupplierRequest) ProtoMessage() {}
func (x *CreateSupplierRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_supplier_supplier_proto_msgTypes[16]
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 CreateSupplierRequest.ProtoReflect.Descriptor instead.
func (*CreateSupplierRequest) Descriptor() ([]byte, []int) {
return file_api_supplier_supplier_proto_rawDescGZIP(), []int{16}
}
func (x *CreateSupplierRequest) GetOwningEntityId() uint64 {
if x != nil {
return x.OwningEntityId
}
return 0
}
func (x *CreateSupplierRequest) GetLegalName() string {
if x != nil {
return x.LegalName
}
return ""
}
func (x *CreateSupplierRequest) GetLocalName() string {
if x != nil {
return x.LocalName
}
return ""
}
func (x *CreateSupplierRequest) GetAbbreviationName() string {
if x != nil {
return x.AbbreviationName
}
return ""
}
func (x *CreateSupplierRequest) GetCountryOrRegionId() uint64 {
if x != nil {
return x.CountryOrRegionId
}
return 0
}
func (x *CreateSupplierRequest) GetCompanyRegistrationNumber() string {
if x != nil {
return x.CompanyRegistrationNumber
}
return ""
}
func (x *CreateSupplierRequest) GetSupplierType() string {
if x != nil {
return x.SupplierType
}
return ""
}
func (x *CreateSupplierRequest) GetApprovalStatus() string {
if x != nil {
return x.ApprovalStatus
}
return ""
}
func (x *CreateSupplierRequest) GetApprovalDate() string {
if x != nil {
return x.ApprovalDate
}
return ""
}
func (x *CreateSupplierRequest) GetLastReviewDate() string {
if x != nil {
return x.LastReviewDate
}
return ""
}
func (x *CreateSupplierRequest) GetLegalEntityType() string {
if x != nil {
return x.LegalEntityType
}
return ""
}
func (x *CreateSupplierRequest) GetSanctionsCountryScreeningResult() string {
if x != nil {
return x.SanctionsCountryScreeningResult
}
return ""
}
func (x *CreateSupplierRequest) GetKeyFinancial() string {
if x != nil {
return x.KeyFinancial
}
return ""
}
func (x *CreateSupplierRequest) GetCompanyAddress() string {
if x != nil {
return x.CompanyAddress
}
return ""
}
func (x *CreateSupplierRequest) GetPrimaryContact() string {
if x != nil {
return x.PrimaryContact
}
return ""
}
func (x *CreateSupplierRequest) GetDataOwnerDepartment() string {
if x != nil {
return x.DataOwnerDepartment
}
return ""
}
func (x *CreateSupplierRequest) GetBasicCompanyInformation() string {
if x != nil {
return x.BasicCompanyInformation
}
return ""
}
func (x *CreateSupplierRequest) GetLinkAddress() string {
if x != nil {
return x.LinkAddress
}
return ""
}
func (x *CreateSupplierRequest) GetSupplementaryText() string {
if x != nil {
return x.SupplementaryText
}
return ""
}
func (x *CreateSupplierRequest) GetAttachments() []*Attachment {
if x != nil {
return x.Attachments
}
return nil
}
func (x *CreateSupplierRequest) GetStatus() uint64 {
if x != nil {
return x.Status
}
return 0
}
type Attachment struct {
state protoimpl.MessageState `protogen:"open.v1"`
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Attachment) Reset() {
*x = Attachment{}
mi := &file_api_supplier_supplier_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Attachment) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Attachment) ProtoMessage() {}
func (x *Attachment) ProtoReflect() protoreflect.Message {
mi := &file_api_supplier_supplier_proto_msgTypes[17]
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 Attachment.ProtoReflect.Descriptor instead.
func (*Attachment) Descriptor() ([]byte, []int) {
return file_api_supplier_supplier_proto_rawDescGZIP(), []int{17}
}
func (x *Attachment) GetUrl() string {
if x != nil {
return x.Url
}
return ""
}
func (x *Attachment) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *Attachment) GetName() string {
if x != nil {
return x.Name
}
return ""
}
type CreateSupplierResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateSupplierResponse) Reset() {
*x = CreateSupplierResponse{}
mi := &file_api_supplier_supplier_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateSupplierResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateSupplierResponse) ProtoMessage() {}
func (x *CreateSupplierResponse) ProtoReflect() protoreflect.Message {
mi := &file_api_supplier_supplier_proto_msgTypes[18]
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 CreateSupplierResponse.ProtoReflect.Descriptor instead.
func (*CreateSupplierResponse) Descriptor() ([]byte, []int) {
return file_api_supplier_supplier_proto_rawDescGZIP(), []int{18}
}
func (x *CreateSupplierResponse) GetId() uint64 {
if x != nil {
return x.Id
}
return 0
}
type GetSupplierRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetSupplierRequest) Reset() {
*x = GetSupplierRequest{}
mi := &file_api_supplier_supplier_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetSupplierRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetSupplierRequest) ProtoMessage() {}
func (x *GetSupplierRequest) ProtoReflect() protoreflect.Message {
mi := &file_api_supplier_supplier_proto_msgTypes[19]
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 GetSupplierRequest.ProtoReflect.Descriptor instead.
func (*GetSupplierRequest) Descriptor() ([]byte, []int) {
return file_api_supplier_supplier_proto_rawDescGZIP(), []int{19}
}
func (x *GetSupplierRequest) GetId() uint64 {
if x != nil {
return x.Id
}
return 0
}
var File_api_supplier_supplier_proto protoreflect.FileDescriptor
const file_api_supplier_supplier_proto_rawDesc = "" +
"\n" +
"\x1bapi/supplier/supplier.proto\x12\bsupplier\",\n" +
"\x16GetImportRecordRequest\x12\x12\n" +
"\x04uuid\x18\x01 \x01(\tR\x04uuid\"q\n" +
"\x17GetImportRecordResponse\x12\x1e\n" +
"\n" +
"successNum\x18\x01 \x01(\x04R\n" +
"successNum\x12\x18\n" +
"\afailNum\x18\x02 \x01(\x04R\afailNum\x12\x1c\n" +
"\tderiveUrl\x18\x03 \x01(\tR\tderiveUrl\"\xfb\x01\n" +
"\x19CreateImportRecordRequest\x12$\n" +
"\rsupplierCodes\x18\x01 \x03(\tR\rsupplierCodes\x12\x16\n" +
"\x06status\x18\x02 \x01(\x04R\x06status\x12\x16\n" +
"\x06userId\x18\x03 \x01(\x04R\x06userId\x12\x1c\n" +
"\ttoLeadUrl\x18\x04 \x01(\tR\ttoLeadUrl\x12\x1c\n" +
"\tderiveUrl\x18\x05 \x01(\tR\tderiveUrl\x12\x12\n" +
"\x04uuid\x18\x06 \x01(\tR\x04uuid\x12\x1e\n" +
"\n" +
"successNum\x18\a \x01(\x04R\n" +
"successNum\x12\x18\n" +
"\afailNum\x18\b \x01(\x04R\afailNum\",\n" +
"\x1aCreateImportRecordResponse\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x04R\x02id\"\x91\x01\n" +
"\x1cGetCountryRegionListResponse\x12+\n" +
"\x04data\x18\x01 \x03(\v2\x17.supplier.CountryRegionR\x04data\x12\x12\n" +
"\x04page\x18\x02 \x01(\x04R\x04page\x12\x1a\n" +
"\bpageSize\x18\x03 \x01(\x04R\bpageSize\x12\x14\n" +
"\x05total\x18\x04 \x01(\x04R\x05total\"c\n" +
"\rCountryRegion\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x04R\x02id\x12\x16\n" +
"\x06nameEN\x18\x02 \x01(\tR\x06nameEN\x12\x16\n" +
"\x06nameCN\x18\x03 \x01(\tR\x06nameCN\x12\x12\n" +
"\x04code\x18\x04 \x01(\tR\x04code\"\x91\x01\n" +
"\x1bGetCountryRegionListRequest\x12\x12\n" +
"\x04page\x18\x01 \x01(\x04R\x04page\x12\x1a\n" +
"\bpageSize\x18\x02 \x01(\x04R\bpageSize\x12\x16\n" +
"\x06nameEN\x18\x03 \x01(\tR\x06nameEN\x12\x16\n" +
"\x06nameCN\x18\x04 \x01(\tR\x06nameCN\x12\x12\n" +
"\x04code\x18\x05 \x01(\tR\x04code\"8\n" +
"\x12OrganizeDictionary\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x04R\x02id\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\"\x9b\x01\n" +
"!GetOrganizeDictionaryListResponse\x120\n" +
"\x04data\x18\x01 \x03(\v2\x1c.supplier.OrganizeDictionaryR\x04data\x12\x12\n" +
"\x04page\x18\x02 \x01(\x04R\x04page\x12\x1a\n" +
"\bpageSize\x18\x03 \x01(\x04R\bpageSize\x12\x14\n" +
"\x05total\x18\x04 \x01(\x04R\x05total\"5\n" +
"\x1fCreateOrganizeDictionaryRequest\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\"2\n" +
" CreateOrganizeDictionaryResponse\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x04R\x02id\"f\n" +
" GetOrganizeDictionaryListRequest\x12\x12\n" +
"\x04page\x18\x01 \x01(\x04R\x04page\x12\x1a\n" +
"\bpageSize\x18\x02 \x01(\x04R\bpageSize\x12\x12\n" +
"\x04name\x18\x03 \x01(\tR\x04name\"\xa4\b\n" +
"\x16GetSupplierListRequest\x12\x12\n" +
"\x04page\x18\x01 \x01(\x04R\x04page\x12\x1a\n" +
"\bpageSize\x18\x02 \x01(\x04R\bpageSize\x12&\n" +
"\x0eowningEntityId\x18\x03 \x01(\x04R\x0eowningEntityId\x12.\n" +
"\x12supplierUniqueCode\x18\x04 \x01(\tR\x12supplierUniqueCode\x12\x1c\n" +
"\tlegalName\x18\x05 \x01(\tR\tlegalName\x12\x1c\n" +
"\tlocalName\x18\x06 \x01(\tR\tlocalName\x12*\n" +
"\x10abbreviationName\x18\a \x01(\tR\x10abbreviationName\x12,\n" +
"\x11countryOrRegionId\x18\b \x01(\x04R\x11countryOrRegionId\x12<\n" +
"\x19companyRegistrationNumber\x18\t \x01(\tR\x19companyRegistrationNumber\x12\"\n" +
"\fsupplierType\x18\n" +
" \x01(\tR\fsupplierType\x12&\n" +
"\x0eapprovalStatus\x18\v \x01(\tR\x0eapprovalStatus\x12,\n" +
"\x11approvalDateStart\x18\f \x01(\tR\x11approvalDateStart\x12(\n" +
"\x0fapprovalDateEnd\x18\r \x01(\tR\x0fapprovalDateEnd\x120\n" +
"\x13lastReviewDateStart\x18\x0e \x01(\tR\x13lastReviewDateStart\x12,\n" +
"\x11lastReviewDateEnd\x18\x0f \x01(\tR\x11lastReviewDateEnd\x12(\n" +
"\x0flegalEntityType\x18\x10 \x01(\tR\x0flegalEntityType\x12H\n" +
"\x1fsanctionsCountryScreeningResult\x18\x11 \x01(\tR\x1fsanctionsCountryScreeningResult\x12\"\n" +
"\fkeyFinancial\x18\x12 \x01(\tR\fkeyFinancial\x12&\n" +
"\x0ecompanyAddress\x18\x13 \x01(\tR\x0ecompanyAddress\x12&\n" +
"\x0eprimaryContact\x18\x14 \x01(\tR\x0eprimaryContact\x120\n" +
"\x13dataOwnerDepartment\x18\x15 \x01(\tR\x13dataOwnerDepartment\x128\n" +
"\x17basicCompanyInformation\x18\x16 \x01(\tR\x17basicCompanyInformation\x12\x16\n" +
"\x06status\x18\x17 \x01(\x04R\x06status\x12 \n" +
"\vupdateStart\x18\x18 \x01(\tR\vupdateStart\x12\x1c\n" +
"\tupdateEnd\x18\x19 \x01(\tR\tupdateEnd\"\x8b\x01\n" +
"\x17GetSupplierListResponse\x12\x14\n" +
"\x05total\x18\x01 \x01(\x04R\x05total\x12*\n" +
"\x04data\x18\x02 \x03(\v2\x16.supplier.SupplierInfoR\x04data\x12\x12\n" +
"\x04page\x18\x03 \x01(\x04R\x04page\x12\x1a\n" +
"\bpageSize\x18\x04 \x01(\x04R\bpageSize\"\x92\b\n" +
"\fSupplierInfo\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x04R\x02id\x12&\n" +
"\x0eowningEntityId\x18\x02 \x01(\x04R\x0eowningEntityId\x12\x1c\n" +
"\tlegalName\x18\x03 \x01(\tR\tlegalName\x12\x1c\n" +
"\tlocalName\x18\x04 \x01(\tR\tlocalName\x12*\n" +
"\x10abbreviationName\x18\x05 \x01(\tR\x10abbreviationName\x12,\n" +
"\x11countryOrRegionId\x18\x06 \x01(\x04R\x11countryOrRegionId\x12<\n" +
"\x19companyRegistrationNumber\x18\a \x01(\tR\x19companyRegistrationNumber\x12\"\n" +
"\fsupplierType\x18\b \x01(\tR\fsupplierType\x12&\n" +
"\x0eapprovalStatus\x18\t \x01(\tR\x0eapprovalStatus\x12\"\n" +
"\fapprovalDate\x18\n" +
" \x01(\tR\fapprovalDate\x12&\n" +
"\x0elastReviewDate\x18\v \x01(\tR\x0elastReviewDate\x12(\n" +
"\x0flegalEntityType\x18\f \x01(\tR\x0flegalEntityType\x12H\n" +
"\x1fsanctionsCountryScreeningResult\x18\r \x01(\tR\x1fsanctionsCountryScreeningResult\x12\"\n" +
"\fkeyFinancial\x18\x0e \x01(\tR\fkeyFinancial\x12&\n" +
"\x0ecompanyAddress\x18\x0f \x01(\tR\x0ecompanyAddress\x12&\n" +
"\x0eprimaryContact\x18\x10 \x01(\tR\x0eprimaryContact\x120\n" +
"\x13dataOwnerDepartment\x18\x11 \x01(\tR\x13dataOwnerDepartment\x128\n" +
"\x17basicCompanyInformation\x18\x12 \x01(\tR\x17basicCompanyInformation\x12 \n" +
"\vlinkAddress\x18\x13 \x01(\tR\vlinkAddress\x12,\n" +
"\x11supplementaryText\x18\x14 \x01(\tR\x11supplementaryText\x126\n" +
"\vattachments\x18\x15 \x03(\v2\x14.supplier.attachmentR\vattachments\x12\x16\n" +
"\x06status\x18\x16 \x01(\x04R\x06status\x12\x1c\n" +
"\tcreatedAt\x18\x17 \x01(\tR\tcreatedAt\x12\x1c\n" +
"\tupdatedAt\x18\x18 \x01(\tR\tupdatedAt\x12.\n" +
"\x12supplierUniqueCode\x18\x19 \x01(\tR\x12supplierUniqueCode\"\xaf\a\n" +
"\x15UpdateSupplierRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x04R\x02id\x12&\n" +
"\x0eowningEntityId\x18\x02 \x01(\x04R\x0eowningEntityId\x12\x1c\n" +
"\tlegalName\x18\x03 \x01(\tR\tlegalName\x12\x1c\n" +
"\tlocalName\x18\x04 \x01(\tR\tlocalName\x12*\n" +
"\x10abbreviationName\x18\x05 \x01(\tR\x10abbreviationName\x12,\n" +
"\x11countryOrRegionId\x18\x06 \x01(\x04R\x11countryOrRegionId\x12<\n" +
"\x19companyRegistrationNumber\x18\a \x01(\tR\x19companyRegistrationNumber\x12\"\n" +
"\fsupplierType\x18\b \x01(\tR\fsupplierType\x12&\n" +
"\x0eapprovalStatus\x18\t \x01(\tR\x0eapprovalStatus\x12\"\n" +
"\fapprovalDate\x18\n" +
" \x01(\tR\fapprovalDate\x12&\n" +
"\x0elastReviewDate\x18\v \x01(\tR\x0elastReviewDate\x12(\n" +
"\x0flegalEntityType\x18\f \x01(\tR\x0flegalEntityType\x12H\n" +
"\x1fsanctionsCountryScreeningResult\x18\r \x01(\tR\x1fsanctionsCountryScreeningResult\x12\"\n" +
"\fkeyFinancial\x18\x0e \x01(\tR\fkeyFinancial\x12&\n" +
"\x0ecompanyAddress\x18\x0f \x01(\tR\x0ecompanyAddress\x12&\n" +
"\x0eprimaryContact\x18\x10 \x01(\tR\x0eprimaryContact\x120\n" +
"\x13dataOwnerDepartment\x18\x11 \x01(\tR\x13dataOwnerDepartment\x128\n" +
"\x17basicCompanyInformation\x18\x12 \x01(\tR\x17basicCompanyInformation\x12 \n" +
"\vlinkAddress\x18\x13 \x01(\tR\vlinkAddress\x12,\n" +
"\x11supplementaryText\x18\x14 \x01(\tR\x11supplementaryText\x126\n" +
"\vattachments\x18\x15 \x03(\v2\x14.supplier.attachmentR\vattachments\x12\x16\n" +
"\x06status\x18\x16 \x01(\x04R\x06status\"\x9f\a\n" +
"\x15CreateSupplierRequest\x12&\n" +
"\x0eowningEntityId\x18\x01 \x01(\x04R\x0eowningEntityId\x12\x1c\n" +
"\tlegalName\x18\x02 \x01(\tR\tlegalName\x12\x1c\n" +
"\tlocalName\x18\x03 \x01(\tR\tlocalName\x12*\n" +
"\x10abbreviationName\x18\x04 \x01(\tR\x10abbreviationName\x12,\n" +
"\x11countryOrRegionId\x18\x05 \x01(\x04R\x11countryOrRegionId\x12<\n" +
"\x19companyRegistrationNumber\x18\x06 \x01(\tR\x19companyRegistrationNumber\x12\"\n" +
"\fsupplierType\x18\a \x01(\tR\fsupplierType\x12&\n" +
"\x0eapprovalStatus\x18\b \x01(\tR\x0eapprovalStatus\x12\"\n" +
"\fapprovalDate\x18\t \x01(\tR\fapprovalDate\x12&\n" +
"\x0elastReviewDate\x18\n" +
" \x01(\tR\x0elastReviewDate\x12(\n" +
"\x0flegalEntityType\x18\v \x01(\tR\x0flegalEntityType\x12H\n" +
"\x1fsanctionsCountryScreeningResult\x18\f \x01(\tR\x1fsanctionsCountryScreeningResult\x12\"\n" +
"\fkeyFinancial\x18\r \x01(\tR\fkeyFinancial\x12&\n" +
"\x0ecompanyAddress\x18\x0e \x01(\tR\x0ecompanyAddress\x12&\n" +
"\x0eprimaryContact\x18\x0f \x01(\tR\x0eprimaryContact\x120\n" +
"\x13dataOwnerDepartment\x18\x10 \x01(\tR\x13dataOwnerDepartment\x128\n" +
"\x17basicCompanyInformation\x18\x11 \x01(\tR\x17basicCompanyInformation\x12 \n" +
"\vlinkAddress\x18\x12 \x01(\tR\vlinkAddress\x12,\n" +
"\x11supplementaryText\x18\x13 \x01(\tR\x11supplementaryText\x126\n" +
"\vattachments\x18\x14 \x03(\v2\x14.supplier.attachmentR\vattachments\x12\x16\n" +
"\x06status\x18\x15 \x01(\x04R\x06status\"F\n" +
"\n" +
"attachment\x12\x10\n" +
"\x03url\x18\x01 \x01(\tR\x03url\x12\x12\n" +
"\x04type\x18\x02 \x01(\tR\x04type\x12\x12\n" +
"\x04name\x18\x03 \x01(\tR\x04name\"(\n" +
"\x16CreateSupplierResponse\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x04R\x02id\"$\n" +
"\x12GetSupplierRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x04R\x02id2\xf9\x06\n" +
"\bSupplier\x12N\n" +
"\vGetSupplier\x12\x1c.supplier.GetSupplierRequest\x1a\x1f.supplier.UpdateSupplierRequest\"\x00\x12U\n" +
"\x0eCreateSupplier\x12\x1f.supplier.CreateSupplierRequest\x1a .supplier.CreateSupplierResponse\"\x00\x12U\n" +
"\x0eUpdateSupplier\x12\x1f.supplier.UpdateSupplierRequest\x1a .supplier.CreateSupplierResponse\"\x00\x12X\n" +
"\x0fGetSupplierList\x12 .supplier.GetSupplierListRequest\x1a!.supplier.GetSupplierListResponse\"\x00\x12s\n" +
"\x18CreateOrganizeDictionary\x12).supplier.CreateOrganizeDictionaryRequest\x1a*.supplier.CreateOrganizeDictionaryResponse\"\x00\x12v\n" +
"\x19GetOrganizeDictionaryList\x12*.supplier.GetOrganizeDictionaryListRequest\x1a+.supplier.GetOrganizeDictionaryListResponse\"\x00\x12g\n" +
"\x14GetCountryRegionList\x12%.supplier.GetCountryRegionListRequest\x1a&.supplier.GetCountryRegionListResponse\"\x00\x12a\n" +
"\x12CreateImportRecord\x12#.supplier.CreateImportRecordRequest\x1a$.supplier.CreateImportRecordResponse\"\x00\x12\\\n" +
"\x13GetImportRecordInfo\x12 .supplier.GetImportRecordRequest\x1a!.supplier.GetImportRecordResponse\"\x00B\rZ\v./;supplierb\x06proto3"
var (
file_api_supplier_supplier_proto_rawDescOnce sync.Once
file_api_supplier_supplier_proto_rawDescData []byte
)
func file_api_supplier_supplier_proto_rawDescGZIP() []byte {
file_api_supplier_supplier_proto_rawDescOnce.Do(func() {
file_api_supplier_supplier_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_supplier_supplier_proto_rawDesc), len(file_api_supplier_supplier_proto_rawDesc)))
})
return file_api_supplier_supplier_proto_rawDescData
}
var file_api_supplier_supplier_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
var file_api_supplier_supplier_proto_goTypes = []any{
(*GetImportRecordRequest)(nil), // 0: supplier.GetImportRecordRequest
(*GetImportRecordResponse)(nil), // 1: supplier.GetImportRecordResponse
(*CreateImportRecordRequest)(nil), // 2: supplier.CreateImportRecordRequest
(*CreateImportRecordResponse)(nil), // 3: supplier.CreateImportRecordResponse
(*GetCountryRegionListResponse)(nil), // 4: supplier.GetCountryRegionListResponse
(*CountryRegion)(nil), // 5: supplier.CountryRegion
(*GetCountryRegionListRequest)(nil), // 6: supplier.GetCountryRegionListRequest
(*OrganizeDictionary)(nil), // 7: supplier.OrganizeDictionary
(*GetOrganizeDictionaryListResponse)(nil), // 8: supplier.GetOrganizeDictionaryListResponse
(*CreateOrganizeDictionaryRequest)(nil), // 9: supplier.CreateOrganizeDictionaryRequest
(*CreateOrganizeDictionaryResponse)(nil), // 10: supplier.CreateOrganizeDictionaryResponse
(*GetOrganizeDictionaryListRequest)(nil), // 11: supplier.GetOrganizeDictionaryListRequest
(*GetSupplierListRequest)(nil), // 12: supplier.GetSupplierListRequest
(*GetSupplierListResponse)(nil), // 13: supplier.GetSupplierListResponse
(*SupplierInfo)(nil), // 14: supplier.SupplierInfo
(*UpdateSupplierRequest)(nil), // 15: supplier.UpdateSupplierRequest
(*CreateSupplierRequest)(nil), // 16: supplier.CreateSupplierRequest
(*Attachment)(nil), // 17: supplier.attachment
(*CreateSupplierResponse)(nil), // 18: supplier.CreateSupplierResponse
(*GetSupplierRequest)(nil), // 19: supplier.GetSupplierRequest
}
var file_api_supplier_supplier_proto_depIdxs = []int32{
5, // 0: supplier.GetCountryRegionListResponse.data:type_name -> supplier.CountryRegion
7, // 1: supplier.GetOrganizeDictionaryListResponse.data:type_name -> supplier.OrganizeDictionary
14, // 2: supplier.GetSupplierListResponse.data:type_name -> supplier.SupplierInfo
17, // 3: supplier.SupplierInfo.attachments:type_name -> supplier.attachment
17, // 4: supplier.UpdateSupplierRequest.attachments:type_name -> supplier.attachment
17, // 5: supplier.CreateSupplierRequest.attachments:type_name -> supplier.attachment
19, // 6: supplier.Supplier.GetSupplier:input_type -> supplier.GetSupplierRequest
16, // 7: supplier.Supplier.CreateSupplier:input_type -> supplier.CreateSupplierRequest
15, // 8: supplier.Supplier.UpdateSupplier:input_type -> supplier.UpdateSupplierRequest
12, // 9: supplier.Supplier.GetSupplierList:input_type -> supplier.GetSupplierListRequest
9, // 10: supplier.Supplier.CreateOrganizeDictionary:input_type -> supplier.CreateOrganizeDictionaryRequest
11, // 11: supplier.Supplier.GetOrganizeDictionaryList:input_type -> supplier.GetOrganizeDictionaryListRequest
6, // 12: supplier.Supplier.GetCountryRegionList:input_type -> supplier.GetCountryRegionListRequest
2, // 13: supplier.Supplier.CreateImportRecord:input_type -> supplier.CreateImportRecordRequest
0, // 14: supplier.Supplier.GetImportRecordInfo:input_type -> supplier.GetImportRecordRequest
15, // 15: supplier.Supplier.GetSupplier:output_type -> supplier.UpdateSupplierRequest
18, // 16: supplier.Supplier.CreateSupplier:output_type -> supplier.CreateSupplierResponse
18, // 17: supplier.Supplier.UpdateSupplier:output_type -> supplier.CreateSupplierResponse
13, // 18: supplier.Supplier.GetSupplierList:output_type -> supplier.GetSupplierListResponse
10, // 19: supplier.Supplier.CreateOrganizeDictionary:output_type -> supplier.CreateOrganizeDictionaryResponse
8, // 20: supplier.Supplier.GetOrganizeDictionaryList:output_type -> supplier.GetOrganizeDictionaryListResponse
4, // 21: supplier.Supplier.GetCountryRegionList:output_type -> supplier.GetCountryRegionListResponse
3, // 22: supplier.Supplier.CreateImportRecord:output_type -> supplier.CreateImportRecordResponse
1, // 23: supplier.Supplier.GetImportRecordInfo:output_type -> supplier.GetImportRecordResponse
15, // [15:24] is the sub-list for method output_type
6, // [6:15] is the sub-list for method input_type
6, // [6:6] is the sub-list for extension type_name
6, // [6:6] is the sub-list for extension extendee
0, // [0:6] is the sub-list for field type_name
}
func init() { file_api_supplier_supplier_proto_init() }
func file_api_supplier_supplier_proto_init() {
if File_api_supplier_supplier_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_supplier_supplier_proto_rawDesc), len(file_api_supplier_supplier_proto_rawDesc)),
NumEnums: 0,
NumMessages: 20,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_api_supplier_supplier_proto_goTypes,
DependencyIndexes: file_api_supplier_supplier_proto_depIdxs,
MessageInfos: file_api_supplier_supplier_proto_msgTypes,
}.Build()
File_api_supplier_supplier_proto = out.File
file_api_supplier_supplier_proto_goTypes = nil
file_api_supplier_supplier_proto_depIdxs = nil
}