641 lines
20 KiB
Go
641 lines
20 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.6
|
|
// protoc v5.29.3
|
|
// source: api/proto/request/request.proto
|
|
|
|
package request
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
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 CreateTZRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
RequestTxt string `protobuf:"bytes,2,opt,name=request_txt,json=requestTxt,proto3" json:"request_txt,omitempty"`
|
|
FileData []byte `protobuf:"bytes,3,opt,name=file_data,json=fileData,proto3" json:"file_data,omitempty"`
|
|
FileName string `protobuf:"bytes,4,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateTZRequest) Reset() {
|
|
*x = CreateTZRequest{}
|
|
mi := &file_api_proto_request_request_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateTZRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateTZRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateTZRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_api_proto_request_request_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 CreateTZRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateTZRequest) Descriptor() ([]byte, []int) {
|
|
return file_api_proto_request_request_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *CreateTZRequest) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CreateTZRequest) GetRequestTxt() string {
|
|
if x != nil {
|
|
return x.RequestTxt
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateTZRequest) GetFileData() []byte {
|
|
if x != nil {
|
|
return x.FileData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateTZRequest) GetFileName() string {
|
|
if x != nil {
|
|
return x.FileName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreateTZResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
|
TzText string `protobuf:"bytes,2,opt,name=tz_text,json=tzText,proto3" json:"tz_text,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CreateTZResponse) Reset() {
|
|
*x = CreateTZResponse{}
|
|
mi := &file_api_proto_request_request_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CreateTZResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateTZResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateTZResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_api_proto_request_request_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 CreateTZResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateTZResponse) Descriptor() ([]byte, []int) {
|
|
return file_api_proto_request_request_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *CreateTZResponse) GetRequestId() string {
|
|
if x != nil {
|
|
return x.RequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateTZResponse) GetTzText() string {
|
|
if x != nil {
|
|
return x.TzText
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ApproveTZRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
|
FinalTz string `protobuf:"bytes,2,opt,name=final_tz,json=finalTz,proto3" json:"final_tz,omitempty"`
|
|
UserId int64 `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ApproveTZRequest) Reset() {
|
|
*x = ApproveTZRequest{}
|
|
mi := &file_api_proto_request_request_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ApproveTZRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ApproveTZRequest) ProtoMessage() {}
|
|
|
|
func (x *ApproveTZRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_api_proto_request_request_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 ApproveTZRequest.ProtoReflect.Descriptor instead.
|
|
func (*ApproveTZRequest) Descriptor() ([]byte, []int) {
|
|
return file_api_proto_request_request_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ApproveTZRequest) GetRequestId() string {
|
|
if x != nil {
|
|
return x.RequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApproveTZRequest) GetFinalTz() string {
|
|
if x != nil {
|
|
return x.FinalTz
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ApproveTZRequest) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ApproveTZResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
|
MailingStatus string `protobuf:"bytes,2,opt,name=mailing_status,json=mailingStatus,proto3" json:"mailing_status,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ApproveTZResponse) Reset() {
|
|
*x = ApproveTZResponse{}
|
|
mi := &file_api_proto_request_request_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ApproveTZResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ApproveTZResponse) ProtoMessage() {}
|
|
|
|
func (x *ApproveTZResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_api_proto_request_request_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 ApproveTZResponse.ProtoReflect.Descriptor instead.
|
|
func (*ApproveTZResponse) Descriptor() ([]byte, []int) {
|
|
return file_api_proto_request_request_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *ApproveTZResponse) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ApproveTZResponse) GetMailingStatus() string {
|
|
if x != nil {
|
|
return x.MailingStatus
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetMailingListRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetMailingListRequest) Reset() {
|
|
*x = GetMailingListRequest{}
|
|
mi := &file_api_proto_request_request_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetMailingListRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMailingListRequest) ProtoMessage() {}
|
|
|
|
func (x *GetMailingListRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_api_proto_request_request_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 GetMailingListRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetMailingListRequest) Descriptor() ([]byte, []int) {
|
|
return file_api_proto_request_request_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *GetMailingListRequest) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetMailingListResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Items []*MailingItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetMailingListResponse) Reset() {
|
|
*x = GetMailingListResponse{}
|
|
mi := &file_api_proto_request_request_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetMailingListResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMailingListResponse) ProtoMessage() {}
|
|
|
|
func (x *GetMailingListResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_api_proto_request_request_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 GetMailingListResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetMailingListResponse) Descriptor() ([]byte, []int) {
|
|
return file_api_proto_request_request_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *GetMailingListResponse) GetItems() []*MailingItem {
|
|
if x != nil {
|
|
return x.Items
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetMailingListByIDRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
|
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetMailingListByIDRequest) Reset() {
|
|
*x = GetMailingListByIDRequest{}
|
|
mi := &file_api_proto_request_request_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetMailingListByIDRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMailingListByIDRequest) ProtoMessage() {}
|
|
|
|
func (x *GetMailingListByIDRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_api_proto_request_request_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 GetMailingListByIDRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetMailingListByIDRequest) Descriptor() ([]byte, []int) {
|
|
return file_api_proto_request_request_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *GetMailingListByIDRequest) GetRequestId() string {
|
|
if x != nil {
|
|
return x.RequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetMailingListByIDRequest) GetUserId() int64 {
|
|
if x != nil {
|
|
return x.UserId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GetMailingListByIDResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Item *MailingItem `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetMailingListByIDResponse) Reset() {
|
|
*x = GetMailingListByIDResponse{}
|
|
mi := &file_api_proto_request_request_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetMailingListByIDResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetMailingListByIDResponse) ProtoMessage() {}
|
|
|
|
func (x *GetMailingListByIDResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_api_proto_request_request_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 GetMailingListByIDResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetMailingListByIDResponse) Descriptor() ([]byte, []int) {
|
|
return file_api_proto_request_request_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *GetMailingListByIDResponse) GetItem() *MailingItem {
|
|
if x != nil {
|
|
return x.Item
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type MailingItem struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
|
RequestTxt string `protobuf:"bytes,2,opt,name=request_txt,json=requestTxt,proto3" json:"request_txt,omitempty"`
|
|
FinalTz string `protobuf:"bytes,3,opt,name=final_tz,json=finalTz,proto3" json:"final_tz,omitempty"`
|
|
MailingStatus string `protobuf:"bytes,4,opt,name=mailing_status,json=mailingStatus,proto3" json:"mailing_status,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
SuppliersFound int32 `protobuf:"varint,6,opt,name=suppliers_found,json=suppliersFound,proto3" json:"suppliers_found,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *MailingItem) Reset() {
|
|
*x = MailingItem{}
|
|
mi := &file_api_proto_request_request_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *MailingItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MailingItem) ProtoMessage() {}
|
|
|
|
func (x *MailingItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_api_proto_request_request_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 MailingItem.ProtoReflect.Descriptor instead.
|
|
func (*MailingItem) Descriptor() ([]byte, []int) {
|
|
return file_api_proto_request_request_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *MailingItem) GetRequestId() string {
|
|
if x != nil {
|
|
return x.RequestId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MailingItem) GetRequestTxt() string {
|
|
if x != nil {
|
|
return x.RequestTxt
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MailingItem) GetFinalTz() string {
|
|
if x != nil {
|
|
return x.FinalTz
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MailingItem) GetMailingStatus() string {
|
|
if x != nil {
|
|
return x.MailingStatus
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MailingItem) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MailingItem) GetSuppliersFound() int32 {
|
|
if x != nil {
|
|
return x.SuppliersFound
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_api_proto_request_request_proto protoreflect.FileDescriptor
|
|
|
|
const file_api_proto_request_request_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x1fapi/proto/request/request.proto\x12\arequest\x1a\x1fgoogle/protobuf/timestamp.proto\"\x85\x01\n" +
|
|
"\x0fCreateTZRequest\x12\x17\n" +
|
|
"\auser_id\x18\x01 \x01(\x03R\x06userId\x12\x1f\n" +
|
|
"\vrequest_txt\x18\x02 \x01(\tR\n" +
|
|
"requestTxt\x12\x1b\n" +
|
|
"\tfile_data\x18\x03 \x01(\fR\bfileData\x12\x1b\n" +
|
|
"\tfile_name\x18\x04 \x01(\tR\bfileName\"J\n" +
|
|
"\x10CreateTZResponse\x12\x1d\n" +
|
|
"\n" +
|
|
"request_id\x18\x01 \x01(\tR\trequestId\x12\x17\n" +
|
|
"\atz_text\x18\x02 \x01(\tR\x06tzText\"e\n" +
|
|
"\x10ApproveTZRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"request_id\x18\x01 \x01(\tR\trequestId\x12\x19\n" +
|
|
"\bfinal_tz\x18\x02 \x01(\tR\afinalTz\x12\x17\n" +
|
|
"\auser_id\x18\x03 \x01(\x03R\x06userId\"T\n" +
|
|
"\x11ApproveTZResponse\x12\x18\n" +
|
|
"\asuccess\x18\x01 \x01(\bR\asuccess\x12%\n" +
|
|
"\x0emailing_status\x18\x02 \x01(\tR\rmailingStatus\"0\n" +
|
|
"\x15GetMailingListRequest\x12\x17\n" +
|
|
"\auser_id\x18\x01 \x01(\x03R\x06userId\"D\n" +
|
|
"\x16GetMailingListResponse\x12*\n" +
|
|
"\x05items\x18\x01 \x03(\v2\x14.request.MailingItemR\x05items\"S\n" +
|
|
"\x19GetMailingListByIDRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"request_id\x18\x01 \x01(\tR\trequestId\x12\x17\n" +
|
|
"\auser_id\x18\x02 \x01(\x03R\x06userId\"F\n" +
|
|
"\x1aGetMailingListByIDResponse\x12(\n" +
|
|
"\x04item\x18\x01 \x01(\v2\x14.request.MailingItemR\x04item\"\xf3\x01\n" +
|
|
"\vMailingItem\x12\x1d\n" +
|
|
"\n" +
|
|
"request_id\x18\x01 \x01(\tR\trequestId\x12\x1f\n" +
|
|
"\vrequest_txt\x18\x02 \x01(\tR\n" +
|
|
"requestTxt\x12\x19\n" +
|
|
"\bfinal_tz\x18\x03 \x01(\tR\afinalTz\x12%\n" +
|
|
"\x0emailing_status\x18\x04 \x01(\tR\rmailingStatus\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x12'\n" +
|
|
"\x0fsuppliers_found\x18\x06 \x01(\x05R\x0esuppliersFound2\xc7\x02\n" +
|
|
"\x0eRequestService\x12?\n" +
|
|
"\bCreateTZ\x12\x18.request.CreateTZRequest\x1a\x19.request.CreateTZResponse\x12B\n" +
|
|
"\tApproveTZ\x12\x19.request.ApproveTZRequest\x1a\x1a.request.ApproveTZResponse\x12Q\n" +
|
|
"\x0eGetMailingList\x12\x1e.request.GetMailingListRequest\x1a\x1f.request.GetMailingListResponse\x12]\n" +
|
|
"\x12GetMailingListByID\x12\".request.GetMailingListByIDRequest\x1a#.request.GetMailingListByIDResponseB;Z9github.com/smart-search-gateway/api/proto/request/requestb\x06proto3"
|
|
|
|
var (
|
|
file_api_proto_request_request_proto_rawDescOnce sync.Once
|
|
file_api_proto_request_request_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_api_proto_request_request_proto_rawDescGZIP() []byte {
|
|
file_api_proto_request_request_proto_rawDescOnce.Do(func() {
|
|
file_api_proto_request_request_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_proto_request_request_proto_rawDesc), len(file_api_proto_request_request_proto_rawDesc)))
|
|
})
|
|
return file_api_proto_request_request_proto_rawDescData
|
|
}
|
|
|
|
var file_api_proto_request_request_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
|
var file_api_proto_request_request_proto_goTypes = []any{
|
|
(*CreateTZRequest)(nil), // 0: request.CreateTZRequest
|
|
(*CreateTZResponse)(nil), // 1: request.CreateTZResponse
|
|
(*ApproveTZRequest)(nil), // 2: request.ApproveTZRequest
|
|
(*ApproveTZResponse)(nil), // 3: request.ApproveTZResponse
|
|
(*GetMailingListRequest)(nil), // 4: request.GetMailingListRequest
|
|
(*GetMailingListResponse)(nil), // 5: request.GetMailingListResponse
|
|
(*GetMailingListByIDRequest)(nil), // 6: request.GetMailingListByIDRequest
|
|
(*GetMailingListByIDResponse)(nil), // 7: request.GetMailingListByIDResponse
|
|
(*MailingItem)(nil), // 8: request.MailingItem
|
|
(*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp
|
|
}
|
|
var file_api_proto_request_request_proto_depIdxs = []int32{
|
|
8, // 0: request.GetMailingListResponse.items:type_name -> request.MailingItem
|
|
8, // 1: request.GetMailingListByIDResponse.item:type_name -> request.MailingItem
|
|
9, // 2: request.MailingItem.created_at:type_name -> google.protobuf.Timestamp
|
|
0, // 3: request.RequestService.CreateTZ:input_type -> request.CreateTZRequest
|
|
2, // 4: request.RequestService.ApproveTZ:input_type -> request.ApproveTZRequest
|
|
4, // 5: request.RequestService.GetMailingList:input_type -> request.GetMailingListRequest
|
|
6, // 6: request.RequestService.GetMailingListByID:input_type -> request.GetMailingListByIDRequest
|
|
1, // 7: request.RequestService.CreateTZ:output_type -> request.CreateTZResponse
|
|
3, // 8: request.RequestService.ApproveTZ:output_type -> request.ApproveTZResponse
|
|
5, // 9: request.RequestService.GetMailingList:output_type -> request.GetMailingListResponse
|
|
7, // 10: request.RequestService.GetMailingListByID:output_type -> request.GetMailingListByIDResponse
|
|
7, // [7:11] is the sub-list for method output_type
|
|
3, // [3:7] is the sub-list for method input_type
|
|
3, // [3:3] is the sub-list for extension type_name
|
|
3, // [3:3] is the sub-list for extension extendee
|
|
0, // [0:3] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_api_proto_request_request_proto_init() }
|
|
func file_api_proto_request_request_proto_init() {
|
|
if File_api_proto_request_request_proto != nil {
|
|
return
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_proto_request_request_proto_rawDesc), len(file_api_proto_request_request_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 9,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_api_proto_request_request_proto_goTypes,
|
|
DependencyIndexes: file_api_proto_request_request_proto_depIdxs,
|
|
MessageInfos: file_api_proto_request_request_proto_msgTypes,
|
|
}.Build()
|
|
File_api_proto_request_request_proto = out.File
|
|
file_api_proto_request_request_proto_goTypes = nil
|
|
file_api_proto_request_request_proto_depIdxs = nil
|
|
}
|