| | |
| | | rpc GetCrmSalesDetailsList(GetCrmSalesDetailsListRequest) returns(GetCrmSalesDetailsListResponse) {} |
| | | rpc SendSalesDetailsAndProjectToCrm(SendSalesDetailsAndProjectToCrmRequest) returns(SendSalesDetailsAndProjectToCrmResponse) {} |
| | | rpc GetClientList(GetClientListRequest) returns(GetClientListResponse) {} |
| | | rpc GetClientMaxId(ClientMaxIdRequest) returns(ClientMaxIdResponse) {} |
| | | rpc AddClient(AddClientRequest) returns(ClientMsgResponse) {} |
| | | rpc EditClient(EditClientRequest) returns(ClientMsgResponse) {} |
| | | rpc DelClient(DelClientRequest) returns(ClientMsgResponse) {} |
| | | rpc UpdateSalesDetail(UpdateSalesDetailRequest) returns(UpdateSalesDetailResponse) {} |
| | | rpc RemoveSalesDetail(RemoveSalesDetailRequest) returns(RemoveSalesDetailResponse) {} |
| | | rpc CrmGetMakeAndOutsourcingProductInfo(CrmGetMakeAndOutsourcingProductInfoRequest) returns(CrmGetMakeAndOutsourcingProductInfoResponse) {} |
| | |
| | | |
| | | //-----------------------------------------------------SendSalesDetailsToApsProject--------------------------------------- |
| | | |
| | | message SalesDetailsProduct { |
| | | message SalesDetailsProduct{ |
| | | string ProductId = 1; |
| | | int64 Amount = 2; |
| | | } |
| | |
| | | |
| | | //-----------------------------------------------------GetCrmSalesDetailsList-------------------------------------------- |
| | | |
| | | message GetCrmSalesDetailsListRequest { |
| | | message GetCrmSalesDetailsListRequest{ |
| | | string TimeType = 1; //时间类型:签约日期,交付日期 |
| | | string StartTime = 2; |
| | | string EndTime = 3; |
| | |
| | | int64 PageSize = 6; |
| | | } |
| | | |
| | | message CrmSalesDetails { |
| | | message CrmSalesDetails{ |
| | | string number = 1;//销售明细单号 |
| | | string clientName = 2; |
| | | string memberName = 3;//销售负责人 |
| | |
| | | string deliveryDate = 5;//交货日期 |
| | | } |
| | | |
| | | message GetCrmSalesDetailsListResponse { |
| | | message GetCrmSalesDetailsListResponse{ |
| | | repeated CrmSalesDetails SalesDetails = 1; |
| | | int64 Total = 2; |
| | | } |
| | |
| | | repeated Client list = 2; |
| | | } |
| | | |
| | | message Client { |
| | | message Client{ |
| | | string number = 1; |
| | | string name = 2; |
| | | int64 id = 3; |
| | | } |
| | | |
| | | message ClientMaxIdRequest{ |
| | | |
| | | message UpdateSalesDetailRequest { |
| | | } |
| | | message ClientMaxIdResponse{ |
| | | int64 id = 1; |
| | | } |
| | | |
| | | message AddClientRequest{ |
| | | int64 id = 1 ; |
| | | string number = 2; // 客户编号 |
| | | string name = 3; // 客户名称 |
| | | string detailAddress = 4; // 详细地址 |
| | | string remark = 5 ; // 备注 |
| | | int64 creatorId = 6; // 创建人id |
| | | } |
| | | |
| | | message EditClientRequest{ |
| | | int64 id = 1 ; |
| | | string number = 2; // 客户编号 |
| | | string name = 3; // 客户名称 |
| | | string detailAddress = 4; // 详细地址 |
| | | string remark = 5 ; // 备注 |
| | | int64 creatorId = 6; // 创建人id |
| | | } |
| | | |
| | | message DelClientRequest{ |
| | | int64 id = 1; |
| | | string number = 2; |
| | | } |
| | | |
| | | message ClientMsgResponse{ |
| | | int64 code = 1; |
| | | string msg = 2; |
| | | string id = 3; |
| | | } |
| | | |
| | | //---------------------------------------------------------------------- |
| | | |
| | | message UpdateSalesDetailRequest{ |
| | | string number = 1;//销售明细单号 |
| | | int32 status = 2;//状态 |
| | | } |
| | | |
| | | message UpdateSalesDetailResponse {} |
| | | message UpdateSalesDetailResponse{} |
| | | |
| | | message RemoveSalesDetailRequest { |
| | | //---------------------------------------------------------------------- |
| | | |
| | | message RemoveSalesDetailRequest{ |
| | | string number = 1;//销售明细单号 |
| | | } |
| | | |
| | | message RemoveSalesDetailResponse {} |
| | | message RemoveSalesDetailResponse{} |
| | | |
| | | message CrmGetMakeAndOutsourcingProductInfoRequest{ |
| | | string SalesDetailsNumber = 1; |
| | | } |
| | | |
| | | message CrmGetMakeAndOutsourcingProductInfo { |
| | | message CrmGetMakeAndOutsourcingProductInfo{ |
| | | int64 Amount = 1; |
| | | int64 FinishAmount = 2; |
| | | string ProductId = 3; |
| | | int64 Type = 4; |
| | | } |
| | | |
| | | //---------------------------------------------------------------------- |
| | | |
| | | message CrmGetMakeAndOutsourcingProductInfoResponse{ |
| | | repeated CrmGetMakeAndOutsourcingProductInfo Info = 1; |
| | | } |
| | |
| | | // Code generated by protoc-gen-go. DO NOT EDIT. |
| | | // versions: |
| | | // protoc-gen-go v1.26.0 |
| | | // protoc v4.24.0 |
| | | // protoc-gen-go v1.34.2 |
| | | // protoc v5.27.2 |
| | | // source: crm_aps.proto |
| | | |
| | | package crm_aps |
| | |
| | | |
| | | Number string `protobuf:"bytes,1,opt,name=number,proto3" json:"number,omitempty"` |
| | | Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` |
| | | Id int64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` |
| | | } |
| | | |
| | | func (x *Client) Reset() { |
| | |
| | | return "" |
| | | } |
| | | |
| | | func (x *Client) GetId() int64 { |
| | | if x != nil { |
| | | return x.Id |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | type ClientMaxIdRequest struct { |
| | | state protoimpl.MessageState |
| | | sizeCache protoimpl.SizeCache |
| | | unknownFields protoimpl.UnknownFields |
| | | } |
| | | |
| | | func (x *ClientMaxIdRequest) Reset() { |
| | | *x = ClientMaxIdRequest{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_crm_aps_proto_msgTypes[14] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | } |
| | | |
| | | func (x *ClientMaxIdRequest) String() string { |
| | | return protoimpl.X.MessageStringOf(x) |
| | | } |
| | | |
| | | func (*ClientMaxIdRequest) ProtoMessage() {} |
| | | |
| | | func (x *ClientMaxIdRequest) ProtoReflect() protoreflect.Message { |
| | | mi := &file_crm_aps_proto_msgTypes[14] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | return ms |
| | | } |
| | | return mi.MessageOf(x) |
| | | } |
| | | |
| | | // Deprecated: Use ClientMaxIdRequest.ProtoReflect.Descriptor instead. |
| | | func (*ClientMaxIdRequest) Descriptor() ([]byte, []int) { |
| | | return file_crm_aps_proto_rawDescGZIP(), []int{14} |
| | | } |
| | | |
| | | type ClientMaxIdResponse struct { |
| | | state protoimpl.MessageState |
| | | sizeCache protoimpl.SizeCache |
| | | unknownFields protoimpl.UnknownFields |
| | | |
| | | Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` |
| | | } |
| | | |
| | | func (x *ClientMaxIdResponse) Reset() { |
| | | *x = ClientMaxIdResponse{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_crm_aps_proto_msgTypes[15] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | } |
| | | |
| | | func (x *ClientMaxIdResponse) String() string { |
| | | return protoimpl.X.MessageStringOf(x) |
| | | } |
| | | |
| | | func (*ClientMaxIdResponse) ProtoMessage() {} |
| | | |
| | | func (x *ClientMaxIdResponse) ProtoReflect() protoreflect.Message { |
| | | mi := &file_crm_aps_proto_msgTypes[15] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | return ms |
| | | } |
| | | return mi.MessageOf(x) |
| | | } |
| | | |
| | | // Deprecated: Use ClientMaxIdResponse.ProtoReflect.Descriptor instead. |
| | | func (*ClientMaxIdResponse) Descriptor() ([]byte, []int) { |
| | | return file_crm_aps_proto_rawDescGZIP(), []int{15} |
| | | } |
| | | |
| | | func (x *ClientMaxIdResponse) GetId() int64 { |
| | | if x != nil { |
| | | return x.Id |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | type AddClientRequest struct { |
| | | state protoimpl.MessageState |
| | | sizeCache protoimpl.SizeCache |
| | | unknownFields protoimpl.UnknownFields |
| | | |
| | | Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` |
| | | Number string `protobuf:"bytes,2,opt,name=number,proto3" json:"number,omitempty"` // 客户编号 |
| | | Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 客户名称 |
| | | DetailAddress string `protobuf:"bytes,4,opt,name=detailAddress,proto3" json:"detailAddress,omitempty"` // 详细地址 |
| | | Remark string `protobuf:"bytes,5,opt,name=remark,proto3" json:"remark,omitempty"` // 备注 |
| | | CreatorId int64 `protobuf:"varint,6,opt,name=creatorId,proto3" json:"creatorId,omitempty"` // 创建人id |
| | | } |
| | | |
| | | func (x *AddClientRequest) Reset() { |
| | | *x = AddClientRequest{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_crm_aps_proto_msgTypes[16] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | } |
| | | |
| | | func (x *AddClientRequest) String() string { |
| | | return protoimpl.X.MessageStringOf(x) |
| | | } |
| | | |
| | | func (*AddClientRequest) ProtoMessage() {} |
| | | |
| | | func (x *AddClientRequest) ProtoReflect() protoreflect.Message { |
| | | mi := &file_crm_aps_proto_msgTypes[16] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | return ms |
| | | } |
| | | return mi.MessageOf(x) |
| | | } |
| | | |
| | | // Deprecated: Use AddClientRequest.ProtoReflect.Descriptor instead. |
| | | func (*AddClientRequest) Descriptor() ([]byte, []int) { |
| | | return file_crm_aps_proto_rawDescGZIP(), []int{16} |
| | | } |
| | | |
| | | func (x *AddClientRequest) GetId() int64 { |
| | | if x != nil { |
| | | return x.Id |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (x *AddClientRequest) GetNumber() string { |
| | | if x != nil { |
| | | return x.Number |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *AddClientRequest) GetName() string { |
| | | if x != nil { |
| | | return x.Name |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *AddClientRequest) GetDetailAddress() string { |
| | | if x != nil { |
| | | return x.DetailAddress |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *AddClientRequest) GetRemark() string { |
| | | if x != nil { |
| | | return x.Remark |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *AddClientRequest) GetCreatorId() int64 { |
| | | if x != nil { |
| | | return x.CreatorId |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | type EditClientRequest struct { |
| | | state protoimpl.MessageState |
| | | sizeCache protoimpl.SizeCache |
| | | unknownFields protoimpl.UnknownFields |
| | | |
| | | Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` |
| | | Number string `protobuf:"bytes,2,opt,name=number,proto3" json:"number,omitempty"` // 客户编号 |
| | | Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 客户名称 |
| | | DetailAddress string `protobuf:"bytes,4,opt,name=detailAddress,proto3" json:"detailAddress,omitempty"` // 详细地址 |
| | | Remark string `protobuf:"bytes,5,opt,name=remark,proto3" json:"remark,omitempty"` // 备注 |
| | | CreatorId int64 `protobuf:"varint,6,opt,name=creatorId,proto3" json:"creatorId,omitempty"` // 创建人id |
| | | } |
| | | |
| | | func (x *EditClientRequest) Reset() { |
| | | *x = EditClientRequest{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_crm_aps_proto_msgTypes[17] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | } |
| | | |
| | | func (x *EditClientRequest) String() string { |
| | | return protoimpl.X.MessageStringOf(x) |
| | | } |
| | | |
| | | func (*EditClientRequest) ProtoMessage() {} |
| | | |
| | | func (x *EditClientRequest) ProtoReflect() protoreflect.Message { |
| | | mi := &file_crm_aps_proto_msgTypes[17] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | return ms |
| | | } |
| | | return mi.MessageOf(x) |
| | | } |
| | | |
| | | // Deprecated: Use EditClientRequest.ProtoReflect.Descriptor instead. |
| | | func (*EditClientRequest) Descriptor() ([]byte, []int) { |
| | | return file_crm_aps_proto_rawDescGZIP(), []int{17} |
| | | } |
| | | |
| | | func (x *EditClientRequest) GetId() int64 { |
| | | if x != nil { |
| | | return x.Id |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (x *EditClientRequest) GetNumber() string { |
| | | if x != nil { |
| | | return x.Number |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *EditClientRequest) GetName() string { |
| | | if x != nil { |
| | | return x.Name |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *EditClientRequest) GetDetailAddress() string { |
| | | if x != nil { |
| | | return x.DetailAddress |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *EditClientRequest) GetRemark() string { |
| | | if x != nil { |
| | | return x.Remark |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *EditClientRequest) GetCreatorId() int64 { |
| | | if x != nil { |
| | | return x.CreatorId |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | type DelClientRequest struct { |
| | | state protoimpl.MessageState |
| | | sizeCache protoimpl.SizeCache |
| | | unknownFields protoimpl.UnknownFields |
| | | |
| | | Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` |
| | | Number string `protobuf:"bytes,2,opt,name=number,proto3" json:"number,omitempty"` |
| | | } |
| | | |
| | | func (x *DelClientRequest) Reset() { |
| | | *x = DelClientRequest{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_crm_aps_proto_msgTypes[18] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | } |
| | | |
| | | func (x *DelClientRequest) String() string { |
| | | return protoimpl.X.MessageStringOf(x) |
| | | } |
| | | |
| | | func (*DelClientRequest) ProtoMessage() {} |
| | | |
| | | func (x *DelClientRequest) ProtoReflect() protoreflect.Message { |
| | | mi := &file_crm_aps_proto_msgTypes[18] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | return ms |
| | | } |
| | | return mi.MessageOf(x) |
| | | } |
| | | |
| | | // Deprecated: Use DelClientRequest.ProtoReflect.Descriptor instead. |
| | | func (*DelClientRequest) Descriptor() ([]byte, []int) { |
| | | return file_crm_aps_proto_rawDescGZIP(), []int{18} |
| | | } |
| | | |
| | | func (x *DelClientRequest) GetId() int64 { |
| | | if x != nil { |
| | | return x.Id |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (x *DelClientRequest) GetNumber() string { |
| | | if x != nil { |
| | | return x.Number |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | type ClientMsgResponse struct { |
| | | state protoimpl.MessageState |
| | | sizeCache protoimpl.SizeCache |
| | | unknownFields protoimpl.UnknownFields |
| | | |
| | | Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` |
| | | Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` |
| | | Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` |
| | | } |
| | | |
| | | func (x *ClientMsgResponse) Reset() { |
| | | *x = ClientMsgResponse{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_crm_aps_proto_msgTypes[19] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | } |
| | | |
| | | func (x *ClientMsgResponse) String() string { |
| | | return protoimpl.X.MessageStringOf(x) |
| | | } |
| | | |
| | | func (*ClientMsgResponse) ProtoMessage() {} |
| | | |
| | | func (x *ClientMsgResponse) ProtoReflect() protoreflect.Message { |
| | | mi := &file_crm_aps_proto_msgTypes[19] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | | return ms |
| | | } |
| | | return mi.MessageOf(x) |
| | | } |
| | | |
| | | // Deprecated: Use ClientMsgResponse.ProtoReflect.Descriptor instead. |
| | | func (*ClientMsgResponse) Descriptor() ([]byte, []int) { |
| | | return file_crm_aps_proto_rawDescGZIP(), []int{19} |
| | | } |
| | | |
| | | func (x *ClientMsgResponse) GetCode() int64 { |
| | | if x != nil { |
| | | return x.Code |
| | | } |
| | | return 0 |
| | | } |
| | | |
| | | func (x *ClientMsgResponse) GetMsg() string { |
| | | if x != nil { |
| | | return x.Msg |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | func (x *ClientMsgResponse) GetId() string { |
| | | if x != nil { |
| | | return x.Id |
| | | } |
| | | return "" |
| | | } |
| | | |
| | | type UpdateSalesDetailRequest struct { |
| | | state protoimpl.MessageState |
| | | sizeCache protoimpl.SizeCache |
| | |
| | | func (x *UpdateSalesDetailRequest) Reset() { |
| | | *x = UpdateSalesDetailRequest{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_crm_aps_proto_msgTypes[14] |
| | | mi := &file_crm_aps_proto_msgTypes[20] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | |
| | | func (*UpdateSalesDetailRequest) ProtoMessage() {} |
| | | |
| | | func (x *UpdateSalesDetailRequest) ProtoReflect() protoreflect.Message { |
| | | mi := &file_crm_aps_proto_msgTypes[14] |
| | | mi := &file_crm_aps_proto_msgTypes[20] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | |
| | | |
| | | // Deprecated: Use UpdateSalesDetailRequest.ProtoReflect.Descriptor instead. |
| | | func (*UpdateSalesDetailRequest) Descriptor() ([]byte, []int) { |
| | | return file_crm_aps_proto_rawDescGZIP(), []int{14} |
| | | return file_crm_aps_proto_rawDescGZIP(), []int{20} |
| | | } |
| | | |
| | | func (x *UpdateSalesDetailRequest) GetNumber() string { |
| | |
| | | func (x *UpdateSalesDetailResponse) Reset() { |
| | | *x = UpdateSalesDetailResponse{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_crm_aps_proto_msgTypes[15] |
| | | mi := &file_crm_aps_proto_msgTypes[21] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | |
| | | func (*UpdateSalesDetailResponse) ProtoMessage() {} |
| | | |
| | | func (x *UpdateSalesDetailResponse) ProtoReflect() protoreflect.Message { |
| | | mi := &file_crm_aps_proto_msgTypes[15] |
| | | mi := &file_crm_aps_proto_msgTypes[21] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | |
| | | |
| | | // Deprecated: Use UpdateSalesDetailResponse.ProtoReflect.Descriptor instead. |
| | | func (*UpdateSalesDetailResponse) Descriptor() ([]byte, []int) { |
| | | return file_crm_aps_proto_rawDescGZIP(), []int{15} |
| | | return file_crm_aps_proto_rawDescGZIP(), []int{21} |
| | | } |
| | | |
| | | type RemoveSalesDetailRequest struct { |
| | |
| | | func (x *RemoveSalesDetailRequest) Reset() { |
| | | *x = RemoveSalesDetailRequest{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_crm_aps_proto_msgTypes[16] |
| | | mi := &file_crm_aps_proto_msgTypes[22] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | |
| | | func (*RemoveSalesDetailRequest) ProtoMessage() {} |
| | | |
| | | func (x *RemoveSalesDetailRequest) ProtoReflect() protoreflect.Message { |
| | | mi := &file_crm_aps_proto_msgTypes[16] |
| | | mi := &file_crm_aps_proto_msgTypes[22] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | |
| | | |
| | | // Deprecated: Use RemoveSalesDetailRequest.ProtoReflect.Descriptor instead. |
| | | func (*RemoveSalesDetailRequest) Descriptor() ([]byte, []int) { |
| | | return file_crm_aps_proto_rawDescGZIP(), []int{16} |
| | | return file_crm_aps_proto_rawDescGZIP(), []int{22} |
| | | } |
| | | |
| | | func (x *RemoveSalesDetailRequest) GetNumber() string { |
| | |
| | | func (x *RemoveSalesDetailResponse) Reset() { |
| | | *x = RemoveSalesDetailResponse{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_crm_aps_proto_msgTypes[17] |
| | | mi := &file_crm_aps_proto_msgTypes[23] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | |
| | | func (*RemoveSalesDetailResponse) ProtoMessage() {} |
| | | |
| | | func (x *RemoveSalesDetailResponse) ProtoReflect() protoreflect.Message { |
| | | mi := &file_crm_aps_proto_msgTypes[17] |
| | | mi := &file_crm_aps_proto_msgTypes[23] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | |
| | | |
| | | // Deprecated: Use RemoveSalesDetailResponse.ProtoReflect.Descriptor instead. |
| | | func (*RemoveSalesDetailResponse) Descriptor() ([]byte, []int) { |
| | | return file_crm_aps_proto_rawDescGZIP(), []int{17} |
| | | return file_crm_aps_proto_rawDescGZIP(), []int{23} |
| | | } |
| | | |
| | | type CrmGetMakeAndOutsourcingProductInfoRequest struct { |
| | |
| | | func (x *CrmGetMakeAndOutsourcingProductInfoRequest) Reset() { |
| | | *x = CrmGetMakeAndOutsourcingProductInfoRequest{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_crm_aps_proto_msgTypes[18] |
| | | mi := &file_crm_aps_proto_msgTypes[24] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | |
| | | func (*CrmGetMakeAndOutsourcingProductInfoRequest) ProtoMessage() {} |
| | | |
| | | func (x *CrmGetMakeAndOutsourcingProductInfoRequest) ProtoReflect() protoreflect.Message { |
| | | mi := &file_crm_aps_proto_msgTypes[18] |
| | | mi := &file_crm_aps_proto_msgTypes[24] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | |
| | | |
| | | // Deprecated: Use CrmGetMakeAndOutsourcingProductInfoRequest.ProtoReflect.Descriptor instead. |
| | | func (*CrmGetMakeAndOutsourcingProductInfoRequest) Descriptor() ([]byte, []int) { |
| | | return file_crm_aps_proto_rawDescGZIP(), []int{18} |
| | | return file_crm_aps_proto_rawDescGZIP(), []int{24} |
| | | } |
| | | |
| | | func (x *CrmGetMakeAndOutsourcingProductInfoRequest) GetSalesDetailsNumber() string { |
| | |
| | | func (x *CrmGetMakeAndOutsourcingProductInfo) Reset() { |
| | | *x = CrmGetMakeAndOutsourcingProductInfo{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_crm_aps_proto_msgTypes[19] |
| | | mi := &file_crm_aps_proto_msgTypes[25] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | |
| | | func (*CrmGetMakeAndOutsourcingProductInfo) ProtoMessage() {} |
| | | |
| | | func (x *CrmGetMakeAndOutsourcingProductInfo) ProtoReflect() protoreflect.Message { |
| | | mi := &file_crm_aps_proto_msgTypes[19] |
| | | mi := &file_crm_aps_proto_msgTypes[25] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | |
| | | |
| | | // Deprecated: Use CrmGetMakeAndOutsourcingProductInfo.ProtoReflect.Descriptor instead. |
| | | func (*CrmGetMakeAndOutsourcingProductInfo) Descriptor() ([]byte, []int) { |
| | | return file_crm_aps_proto_rawDescGZIP(), []int{19} |
| | | return file_crm_aps_proto_rawDescGZIP(), []int{25} |
| | | } |
| | | |
| | | func (x *CrmGetMakeAndOutsourcingProductInfo) GetAmount() int64 { |
| | |
| | | func (x *CrmGetMakeAndOutsourcingProductInfoResponse) Reset() { |
| | | *x = CrmGetMakeAndOutsourcingProductInfoResponse{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_crm_aps_proto_msgTypes[20] |
| | | mi := &file_crm_aps_proto_msgTypes[26] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | |
| | | func (*CrmGetMakeAndOutsourcingProductInfoResponse) ProtoMessage() {} |
| | | |
| | | func (x *CrmGetMakeAndOutsourcingProductInfoResponse) ProtoReflect() protoreflect.Message { |
| | | mi := &file_crm_aps_proto_msgTypes[20] |
| | | mi := &file_crm_aps_proto_msgTypes[26] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | |
| | | |
| | | // Deprecated: Use CrmGetMakeAndOutsourcingProductInfoResponse.ProtoReflect.Descriptor instead. |
| | | func (*CrmGetMakeAndOutsourcingProductInfoResponse) Descriptor() ([]byte, []int) { |
| | | return file_crm_aps_proto_rawDescGZIP(), []int{20} |
| | | return file_crm_aps_proto_rawDescGZIP(), []int{26} |
| | | } |
| | | |
| | | func (x *CrmGetMakeAndOutsourcingProductInfoResponse) GetInfo() []*CrmGetMakeAndOutsourcingProductInfo { |
| | |
| | | func (x *GetCrmSalesDetailsProductInfoRequest) Reset() { |
| | | *x = GetCrmSalesDetailsProductInfoRequest{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_crm_aps_proto_msgTypes[21] |
| | | mi := &file_crm_aps_proto_msgTypes[27] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | |
| | | func (*GetCrmSalesDetailsProductInfoRequest) ProtoMessage() {} |
| | | |
| | | func (x *GetCrmSalesDetailsProductInfoRequest) ProtoReflect() protoreflect.Message { |
| | | mi := &file_crm_aps_proto_msgTypes[21] |
| | | mi := &file_crm_aps_proto_msgTypes[27] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | |
| | | |
| | | // Deprecated: Use GetCrmSalesDetailsProductInfoRequest.ProtoReflect.Descriptor instead. |
| | | func (*GetCrmSalesDetailsProductInfoRequest) Descriptor() ([]byte, []int) { |
| | | return file_crm_aps_proto_rawDescGZIP(), []int{21} |
| | | return file_crm_aps_proto_rawDescGZIP(), []int{27} |
| | | } |
| | | |
| | | func (x *GetCrmSalesDetailsProductInfoRequest) GetSalesDetailsNumber() string { |
| | |
| | | func (x *CrmSalesDetailsProductInfo) Reset() { |
| | | *x = CrmSalesDetailsProductInfo{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_crm_aps_proto_msgTypes[22] |
| | | mi := &file_crm_aps_proto_msgTypes[28] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | |
| | | func (*CrmSalesDetailsProductInfo) ProtoMessage() {} |
| | | |
| | | func (x *CrmSalesDetailsProductInfo) ProtoReflect() protoreflect.Message { |
| | | mi := &file_crm_aps_proto_msgTypes[22] |
| | | mi := &file_crm_aps_proto_msgTypes[28] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | |
| | | |
| | | // Deprecated: Use CrmSalesDetailsProductInfo.ProtoReflect.Descriptor instead. |
| | | func (*CrmSalesDetailsProductInfo) Descriptor() ([]byte, []int) { |
| | | return file_crm_aps_proto_rawDescGZIP(), []int{22} |
| | | return file_crm_aps_proto_rawDescGZIP(), []int{28} |
| | | } |
| | | |
| | | func (x *CrmSalesDetailsProductInfo) GetProductId() string { |
| | |
| | | func (x *GetCrmSalesDetailsProductInfoResponse) Reset() { |
| | | *x = GetCrmSalesDetailsProductInfoResponse{} |
| | | if protoimpl.UnsafeEnabled { |
| | | mi := &file_crm_aps_proto_msgTypes[23] |
| | | mi := &file_crm_aps_proto_msgTypes[29] |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | ms.StoreMessageInfo(mi) |
| | | } |
| | |
| | | func (*GetCrmSalesDetailsProductInfoResponse) ProtoMessage() {} |
| | | |
| | | func (x *GetCrmSalesDetailsProductInfoResponse) ProtoReflect() protoreflect.Message { |
| | | mi := &file_crm_aps_proto_msgTypes[23] |
| | | mi := &file_crm_aps_proto_msgTypes[29] |
| | | if protoimpl.UnsafeEnabled && x != nil { |
| | | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| | | if ms.LoadMessageInfo() == nil { |
| | |
| | | |
| | | // Deprecated: Use GetCrmSalesDetailsProductInfoResponse.ProtoReflect.Descriptor instead. |
| | | func (*GetCrmSalesDetailsProductInfoResponse) Descriptor() ([]byte, []int) { |
| | | return file_crm_aps_proto_rawDescGZIP(), []int{23} |
| | | return file_crm_aps_proto_rawDescGZIP(), []int{29} |
| | | } |
| | | |
| | | func (x *GetCrmSalesDetailsProductInfoResponse) GetList() []*CrmSalesDetailsProductInfo { |
| | |
| | | 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, |
| | | 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, |
| | | 0x6c, 0x12, 0x1b, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, |
| | | 0x07, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x34, |
| | | 0x07, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x44, |
| | | 0x0a, 0x06, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, |
| | | 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, |
| | | 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, |
| | | 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x4a, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x61, |
| | | 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| | | 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, |
| | | 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, |
| | | 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, |
| | | 0x22, 0x1b, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, |
| | | 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x0a, |
| | | 0x18, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, |
| | | 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, |
| | | 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, |
| | | 0x72, 0x22, 0x1b, 0x0a, 0x19, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x61, 0x6c, 0x65, 0x73, |
| | | 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5c, |
| | | 0x0a, 0x2a, 0x43, 0x72, 0x6d, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x6b, 0x65, 0x41, 0x6e, 0x64, 0x4f, |
| | | 0x75, 0x74, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, |
| | | 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x12, |
| | | 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x4e, 0x75, 0x6d, 0x62, |
| | | 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, |
| | | 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x93, 0x01, 0x0a, |
| | | 0x23, 0x43, 0x72, 0x6d, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x6b, 0x65, 0x41, 0x6e, 0x64, 0x4f, 0x75, |
| | | 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, |
| | | 0x52, 0x02, 0x69, 0x64, 0x22, 0x14, 0x0a, 0x12, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x61, |
| | | 0x78, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x25, 0x0a, 0x13, 0x43, 0x6c, |
| | | 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x78, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, |
| | | 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, |
| | | 0x64, 0x22, 0xaa, 0x01, 0x0a, 0x10, 0x41, 0x64, 0x64, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, |
| | | 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, |
| | | 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, |
| | | 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x12, |
| | | 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, |
| | | 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x41, 0x64, 0x64, 0x72, |
| | | 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x65, 0x74, 0x61, 0x69, |
| | | 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x61, |
| | | 0x72, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, |
| | | 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x18, 0x06, 0x20, |
| | | 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x22, 0xab, |
| | | 0x01, 0x0a, 0x11, 0x45, 0x64, 0x69, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, |
| | | 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, |
| | | 0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, |
| | | 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, |
| | | 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, |
| | | 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, |
| | | 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x41, |
| | | 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, |
| | | 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x1c, |
| | | 0x0a, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, |
| | | 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x22, 0x3a, 0x0a, 0x10, |
| | | 0x44, 0x65, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| | | 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, |
| | | 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, |
| | | 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x49, 0x0a, 0x11, 0x43, 0x6c, 0x69, 0x65, |
| | | 0x6e, 0x74, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, |
| | | 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x63, 0x6f, 0x64, |
| | | 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, |
| | | 0x6d, 0x73, 0x67, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, |
| | | 0x02, 0x69, 0x64, 0x22, 0x4a, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x61, 0x6c, |
| | | 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, |
| | | 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| | | 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, |
| | | 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, |
| | | 0x1b, 0x0a, 0x19, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, |
| | | 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x32, 0x0a, 0x18, |
| | | 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, |
| | | 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, |
| | | 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, |
| | | 0x22, 0x1b, 0x0a, 0x19, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, |
| | | 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5c, 0x0a, |
| | | 0x2a, 0x43, 0x72, 0x6d, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x6b, 0x65, 0x41, 0x6e, 0x64, 0x4f, 0x75, |
| | | 0x74, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, |
| | | 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, |
| | | 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, |
| | | 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, |
| | | 0x28, 0x03, 0x52, 0x0c, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, |
| | | 0x12, 0x1c, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x03, 0x20, |
| | | 0x01, 0x28, 0x09, 0x52, 0x09, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x12, |
| | | 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x54, 0x79, |
| | | 0x70, 0x65, 0x22, 0x67, 0x0a, 0x2b, 0x43, 0x72, 0x6d, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x6b, 0x65, |
| | | 0x41, 0x6e, 0x64, 0x4f, 0x75, 0x74, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x69, 0x6e, 0x67, 0x50, 0x72, |
| | | 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, |
| | | 0x65, 0x12, 0x38, 0x0a, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, |
| | | 0x24, 0x2e, 0x43, 0x72, 0x6d, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x6b, 0x65, 0x41, 0x6e, 0x64, 0x4f, |
| | | 0x75, 0x74, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, |
| | | 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x56, 0x0a, 0x24, 0x47, |
| | | 0x65, 0x74, 0x43, 0x72, 0x6d, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, |
| | | 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, |
| | | 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x12, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, |
| | | 0x69, 0x6c, 0x73, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| | | 0x12, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x4e, 0x75, 0x6d, |
| | | 0x62, 0x65, 0x72, 0x22, 0x8e, 0x02, 0x0a, 0x1a, 0x43, 0x72, 0x6d, 0x53, 0x61, 0x6c, 0x65, 0x73, |
| | | 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, |
| | | 0x66, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, |
| | | 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, |
| | | 0x12, 0x20, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, |
| | | 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4e, 0x61, |
| | | 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x70, 0x65, 0x63, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, |
| | | 0x09, 0x52, 0x05, 0x53, 0x70, 0x65, 0x63, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x55, 0x6e, 0x69, 0x74, |
| | | 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, |
| | | 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x41, 0x6d, |
| | | 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x73, 0x74, 0x18, 0x06, 0x20, 0x01, |
| | | 0x28, 0x09, 0x52, 0x04, 0x43, 0x6f, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x50, 0x72, 0x69, 0x63, |
| | | 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x14, |
| | | 0x0a, 0x05, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x54, |
| | | 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x74, 0x18, 0x09, |
| | | 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, |
| | | 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x4d, 0x61, |
| | | 0x72, 0x67, 0x69, 0x6e, 0x22, 0x58, 0x0a, 0x25, 0x47, 0x65, 0x74, 0x43, 0x72, 0x6d, 0x53, 0x61, |
| | | 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, |
| | | 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, |
| | | 0x04, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x43, 0x72, |
| | | 0x6d, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x50, 0x72, 0x6f, |
| | | 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x32, 0xfd, |
| | | 0x06, 0x0a, 0x14, 0x43, 0x72, 0x6d, 0x41, 0x6e, 0x64, 0x41, 0x70, 0x73, 0x47, 0x72, 0x70, 0x63, |
| | | 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4c, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x70, |
| | | 0x73, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x2e, 0x47, |
| | | 0x65, 0x74, 0x41, 0x70, 0x73, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, |
| | | 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x70, 0x73, |
| | | 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, |
| | | 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x1c, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x61, 0x6c, |
| | | 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x54, 0x6f, 0x41, 0x70, 0x73, 0x50, 0x72, |
| | | 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x24, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x61, 0x6c, 0x65, |
| | | 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x54, 0x6f, 0x41, 0x70, 0x73, 0x50, 0x72, 0x6f, |
| | | 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x53, 0x65, |
| | | 0x6e, 0x64, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x54, 0x6f, |
| | | 0x41, 0x70, 0x73, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, |
| | | 0x73, 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x72, 0x6d, 0x53, 0x61, |
| | | 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1e, |
| | | 0x2e, 0x47, 0x65, 0x74, 0x43, 0x72, 0x6d, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, |
| | | 0x69, 0x6c, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, |
| | | 0x2e, 0x47, 0x65, 0x74, 0x43, 0x72, 0x6d, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, |
| | | 0x69, 0x6c, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, |
| | | 0x00, 0x12, 0x76, 0x0a, 0x1f, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, |
| | | 0x74, 0x61, 0x69, 0x6c, 0x73, 0x41, 0x6e, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x54, |
| | | 0x6f, 0x43, 0x72, 0x6d, 0x12, 0x27, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x61, 0x6c, 0x65, 0x73, |
| | | 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x41, 0x6e, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, |
| | | 0x74, 0x54, 0x6f, 0x43, 0x72, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, |
| | | 0x53, 0x65, 0x6e, 0x64, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, |
| | | 0x41, 0x6e, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x6f, 0x43, 0x72, 0x6d, 0x52, |
| | | 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x40, 0x0a, 0x0d, 0x47, 0x65, 0x74, |
| | | 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x15, 0x2e, 0x47, 0x65, 0x74, |
| | | 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
| | | 0x74, 0x1a, 0x16, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, |
| | | 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x11, 0x55, |
| | | 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, |
| | | 0x12, 0x19, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, |
| | | 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x55, 0x70, |
| | | 0x64, 0x61, 0x74, 0x65, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, |
| | | 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x11, 0x52, 0x65, 0x6d, |
| | | 0x6f, 0x76, 0x65, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x19, |
| | | 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, |
| | | 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x52, 0x65, 0x6d, 0x6f, |
| | | 0x76, 0x65, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x73, |
| | | 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x23, 0x43, 0x72, 0x6d, 0x47, |
| | | 0x65, 0x74, 0x4d, 0x61, 0x6b, 0x65, 0x41, 0x6e, 0x64, 0x4f, 0x75, 0x74, 0x73, 0x6f, 0x75, 0x72, |
| | | 0x63, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, |
| | | 0x2b, 0x2e, 0x43, 0x72, 0x6d, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x6b, 0x65, 0x41, 0x6e, 0x64, 0x4f, |
| | | 0x75, 0x74, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, |
| | | 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x43, |
| | | 0x72, 0x6d, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x6b, 0x65, 0x41, 0x6e, 0x64, 0x4f, 0x75, 0x74, 0x73, |
| | | 0x6f, 0x75, 0x72, 0x63, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, |
| | | 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x70, 0x0a, 0x1d, |
| | | 0x47, 0x65, 0x74, 0x43, 0x72, 0x6d, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, |
| | | 0x6c, 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x25, 0x2e, |
| | | 0x47, 0x65, 0x74, 0x43, 0x72, 0x6d, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, |
| | | 0x6c, 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, |
| | | 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x72, 0x6d, 0x53, 0x61, 0x6c, |
| | | 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x12, 0x53, |
| | | 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x4e, 0x75, 0x6d, 0x62, 0x65, |
| | | 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, |
| | | 0x74, 0x61, 0x69, 0x6c, 0x73, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x93, 0x01, 0x0a, 0x23, |
| | | 0x43, 0x72, 0x6d, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x6b, 0x65, 0x41, 0x6e, 0x64, 0x4f, 0x75, 0x74, |
| | | 0x73, 0x6f, 0x75, 0x72, 0x63, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, |
| | | 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, |
| | | 0x01, 0x28, 0x03, 0x52, 0x06, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x46, |
| | | 0x69, 0x6e, 0x69, 0x73, 0x68, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, |
| | | 0x03, 0x52, 0x0c, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, |
| | | 0x1c, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, |
| | | 0x28, 0x09, 0x52, 0x09, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, |
| | | 0x04, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x54, 0x79, 0x70, |
| | | 0x65, 0x22, 0x67, 0x0a, 0x2b, 0x43, 0x72, 0x6d, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x6b, 0x65, 0x41, |
| | | 0x6e, 0x64, 0x4f, 0x75, 0x74, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, |
| | | 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, |
| | | 0x12, 0x38, 0x0a, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, |
| | | 0x2e, 0x43, 0x72, 0x6d, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x6b, 0x65, 0x41, 0x6e, 0x64, 0x4f, 0x75, |
| | | 0x74, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, |
| | | 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x56, 0x0a, 0x24, 0x47, 0x65, |
| | | 0x74, 0x43, 0x72, 0x6d, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, |
| | | 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, |
| | | 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x12, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, |
| | | 0x6c, 0x73, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, |
| | | 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x4e, 0x75, 0x6d, 0x62, |
| | | 0x65, 0x72, 0x22, 0x8e, 0x02, 0x0a, 0x1a, 0x43, 0x72, 0x6d, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, |
| | | 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, |
| | | 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x18, 0x01, |
| | | 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x64, 0x12, |
| | | 0x20, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, |
| | | 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x4e, 0x61, 0x6d, |
| | | 0x65, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x70, 0x65, 0x63, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, |
| | | 0x52, 0x05, 0x53, 0x70, 0x65, 0x63, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x55, 0x6e, 0x69, 0x74, 0x18, |
| | | 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x41, |
| | | 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x41, 0x6d, 0x6f, |
| | | 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x43, 0x6f, 0x73, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, |
| | | 0x09, 0x52, 0x04, 0x43, 0x6f, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x50, 0x72, 0x69, 0x63, 0x65, |
| | | 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x14, 0x0a, |
| | | 0x05, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x54, 0x6f, |
| | | 0x74, 0x61, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x74, 0x18, 0x09, 0x20, |
| | | 0x01, 0x28, 0x09, 0x52, 0x06, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x4d, |
| | | 0x61, 0x72, 0x67, 0x69, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x4d, 0x61, 0x72, |
| | | 0x67, 0x69, 0x6e, 0x22, 0x58, 0x0a, 0x25, 0x47, 0x65, 0x74, 0x43, 0x72, 0x6d, 0x53, 0x61, 0x6c, |
| | | 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, |
| | | 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x0b, |
| | | 0x5a, 0x09, 0x2e, 0x2f, 0x63, 0x72, 0x6d, 0x5f, 0x61, 0x70, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, |
| | | 0x74, 0x6f, 0x33, |
| | | 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x04, |
| | | 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x43, 0x72, 0x6d, |
| | | 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x50, 0x72, 0x6f, 0x64, |
| | | 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x32, 0xe0, 0x08, |
| | | 0x0a, 0x14, 0x43, 0x72, 0x6d, 0x41, 0x6e, 0x64, 0x41, 0x70, 0x73, 0x47, 0x72, 0x70, 0x63, 0x53, |
| | | 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4c, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x70, 0x73, |
| | | 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x2e, 0x47, 0x65, |
| | | 0x74, 0x41, 0x70, 0x73, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, |
| | | 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x70, 0x73, 0x50, |
| | | 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, |
| | | 0x73, 0x65, 0x22, 0x00, 0x12, 0x6d, 0x0a, 0x1c, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x61, 0x6c, 0x65, |
| | | 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x54, 0x6f, 0x41, 0x70, 0x73, 0x50, 0x72, 0x6f, |
| | | 0x6a, 0x65, 0x63, 0x74, 0x12, 0x24, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x61, 0x6c, 0x65, 0x73, |
| | | 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x54, 0x6f, 0x41, 0x70, 0x73, 0x50, 0x72, 0x6f, 0x6a, |
| | | 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x53, 0x65, 0x6e, |
| | | 0x64, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x54, 0x6f, 0x41, |
| | | 0x70, 0x73, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, |
| | | 0x65, 0x22, 0x00, 0x12, 0x5b, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x72, 0x6d, 0x53, 0x61, 0x6c, |
| | | 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1e, 0x2e, |
| | | 0x47, 0x65, 0x74, 0x43, 0x72, 0x6d, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, |
| | | 0x6c, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, |
| | | 0x47, 0x65, 0x74, 0x43, 0x72, 0x6d, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, |
| | | 0x6c, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, |
| | | 0x12, 0x76, 0x0a, 0x1f, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, |
| | | 0x61, 0x69, 0x6c, 0x73, 0x41, 0x6e, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x6f, |
| | | 0x43, 0x72, 0x6d, 0x12, 0x27, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, |
| | | 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x41, 0x6e, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, |
| | | 0x54, 0x6f, 0x43, 0x72, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x53, |
| | | 0x65, 0x6e, 0x64, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x41, |
| | | 0x6e, 0x64, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x6f, 0x43, 0x72, 0x6d, 0x52, 0x65, |
| | | 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x40, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x43, |
| | | 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x15, 0x2e, 0x47, 0x65, 0x74, 0x43, |
| | | 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| | | 0x1a, 0x16, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4c, 0x69, 0x73, 0x74, |
| | | 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x0e, 0x47, 0x65, |
| | | 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x78, 0x49, 0x64, 0x12, 0x13, 0x2e, 0x43, |
| | | 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x78, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
| | | 0x74, 0x1a, 0x14, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x61, 0x78, 0x49, 0x64, 0x52, |
| | | 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x34, 0x0a, 0x09, 0x41, 0x64, 0x64, |
| | | 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x11, 0x2e, 0x41, 0x64, 0x64, 0x43, 0x6c, 0x69, 0x65, |
| | | 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x43, 0x6c, 0x69, 0x65, |
| | | 0x6e, 0x74, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, |
| | | 0x36, 0x0a, 0x0a, 0x45, 0x64, 0x69, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x2e, |
| | | 0x45, 0x64, 0x69, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
| | | 0x74, 0x1a, 0x12, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, |
| | | 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x34, 0x0a, 0x09, 0x44, 0x65, 0x6c, 0x43, 0x6c, |
| | | 0x69, 0x65, 0x6e, 0x74, 0x12, 0x11, 0x2e, 0x44, 0x65, 0x6c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, |
| | | 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, |
| | | 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, |
| | | 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, |
| | | 0x69, 0x6c, 0x12, 0x19, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x61, 0x6c, 0x65, 0x73, |
| | | 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, |
| | | 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, |
| | | 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x11, 0x52, |
| | | 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, |
| | | 0x12, 0x19, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, |
| | | 0x74, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x52, 0x65, |
| | | 0x6d, 0x6f, 0x76, 0x65, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, |
| | | 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x23, 0x43, 0x72, |
| | | 0x6d, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x6b, 0x65, 0x41, 0x6e, 0x64, 0x4f, 0x75, 0x74, 0x73, 0x6f, |
| | | 0x75, 0x72, 0x63, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, |
| | | 0x6f, 0x12, 0x2b, 0x2e, 0x43, 0x72, 0x6d, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x6b, 0x65, 0x41, 0x6e, |
| | | 0x64, 0x4f, 0x75, 0x74, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x64, |
| | | 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, |
| | | 0x2e, 0x43, 0x72, 0x6d, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x6b, 0x65, 0x41, 0x6e, 0x64, 0x4f, 0x75, |
| | | 0x74, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, |
| | | 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x70, |
| | | 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x43, 0x72, 0x6d, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, |
| | | 0x61, 0x69, 0x6c, 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, |
| | | 0x25, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x72, 0x6d, 0x53, 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, |
| | | 0x61, 0x69, 0x6c, 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, |
| | | 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x72, 0x6d, 0x53, |
| | | 0x61, 0x6c, 0x65, 0x73, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x50, 0x72, 0x6f, 0x64, 0x75, |
| | | 0x63, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, |
| | | 0x42, 0x0b, 0x5a, 0x09, 0x2e, 0x2f, 0x63, 0x72, 0x6d, 0x5f, 0x61, 0x70, 0x73, 0x62, 0x06, 0x70, |
| | | 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| | | } |
| | | |
| | | var ( |
| | |
| | | return file_crm_aps_proto_rawDescData |
| | | } |
| | | |
| | | var file_crm_aps_proto_msgTypes = make([]protoimpl.MessageInfo, 24) |
| | | var file_crm_aps_proto_goTypes = []interface{}{ |
| | | var file_crm_aps_proto_msgTypes = make([]protoimpl.MessageInfo, 30) |
| | | var file_crm_aps_proto_goTypes = []any{ |
| | | (*GetApsProjectListRequest)(nil), // 0: GetApsProjectListRequest |
| | | (*ApsProject)(nil), // 1: ApsProject |
| | | (*GetApsProjectListResponse)(nil), // 2: GetApsProjectListResponse |
| | |
| | | (*GetClientListRequest)(nil), // 11: GetClientListRequest |
| | | (*GetClientListResponse)(nil), // 12: GetClientListResponse |
| | | (*Client)(nil), // 13: Client |
| | | (*UpdateSalesDetailRequest)(nil), // 14: UpdateSalesDetailRequest |
| | | (*UpdateSalesDetailResponse)(nil), // 15: UpdateSalesDetailResponse |
| | | (*RemoveSalesDetailRequest)(nil), // 16: RemoveSalesDetailRequest |
| | | (*RemoveSalesDetailResponse)(nil), // 17: RemoveSalesDetailResponse |
| | | (*CrmGetMakeAndOutsourcingProductInfoRequest)(nil), // 18: CrmGetMakeAndOutsourcingProductInfoRequest |
| | | (*CrmGetMakeAndOutsourcingProductInfo)(nil), // 19: CrmGetMakeAndOutsourcingProductInfo |
| | | (*CrmGetMakeAndOutsourcingProductInfoResponse)(nil), // 20: CrmGetMakeAndOutsourcingProductInfoResponse |
| | | (*GetCrmSalesDetailsProductInfoRequest)(nil), // 21: GetCrmSalesDetailsProductInfoRequest |
| | | (*CrmSalesDetailsProductInfo)(nil), // 22: CrmSalesDetailsProductInfo |
| | | (*GetCrmSalesDetailsProductInfoResponse)(nil), // 23: GetCrmSalesDetailsProductInfoResponse |
| | | (*ClientMaxIdRequest)(nil), // 14: ClientMaxIdRequest |
| | | (*ClientMaxIdResponse)(nil), // 15: ClientMaxIdResponse |
| | | (*AddClientRequest)(nil), // 16: AddClientRequest |
| | | (*EditClientRequest)(nil), // 17: EditClientRequest |
| | | (*DelClientRequest)(nil), // 18: DelClientRequest |
| | | (*ClientMsgResponse)(nil), // 19: ClientMsgResponse |
| | | (*UpdateSalesDetailRequest)(nil), // 20: UpdateSalesDetailRequest |
| | | (*UpdateSalesDetailResponse)(nil), // 21: UpdateSalesDetailResponse |
| | | (*RemoveSalesDetailRequest)(nil), // 22: RemoveSalesDetailRequest |
| | | (*RemoveSalesDetailResponse)(nil), // 23: RemoveSalesDetailResponse |
| | | (*CrmGetMakeAndOutsourcingProductInfoRequest)(nil), // 24: CrmGetMakeAndOutsourcingProductInfoRequest |
| | | (*CrmGetMakeAndOutsourcingProductInfo)(nil), // 25: CrmGetMakeAndOutsourcingProductInfo |
| | | (*CrmGetMakeAndOutsourcingProductInfoResponse)(nil), // 26: CrmGetMakeAndOutsourcingProductInfoResponse |
| | | (*GetCrmSalesDetailsProductInfoRequest)(nil), // 27: GetCrmSalesDetailsProductInfoRequest |
| | | (*CrmSalesDetailsProductInfo)(nil), // 28: CrmSalesDetailsProductInfo |
| | | (*GetCrmSalesDetailsProductInfoResponse)(nil), // 29: GetCrmSalesDetailsProductInfoResponse |
| | | } |
| | | var file_crm_aps_proto_depIdxs = []int32{ |
| | | 1, // 0: GetApsProjectListResponse.List:type_name -> ApsProject |
| | | 3, // 1: SendSalesDetailsToApsProjectRequest.Products:type_name -> SalesDetailsProduct |
| | | 7, // 2: GetCrmSalesDetailsListResponse.SalesDetails:type_name -> CrmSalesDetails |
| | | 13, // 3: GetClientListResponse.list:type_name -> Client |
| | | 19, // 4: CrmGetMakeAndOutsourcingProductInfoResponse.Info:type_name -> CrmGetMakeAndOutsourcingProductInfo |
| | | 22, // 5: GetCrmSalesDetailsProductInfoResponse.List:type_name -> CrmSalesDetailsProductInfo |
| | | 25, // 4: CrmGetMakeAndOutsourcingProductInfoResponse.Info:type_name -> CrmGetMakeAndOutsourcingProductInfo |
| | | 28, // 5: GetCrmSalesDetailsProductInfoResponse.List:type_name -> CrmSalesDetailsProductInfo |
| | | 0, // 6: CrmAndApsGrpcService.GetApsProjectList:input_type -> GetApsProjectListRequest |
| | | 4, // 7: CrmAndApsGrpcService.SendSalesDetailsToApsProject:input_type -> SendSalesDetailsToApsProjectRequest |
| | | 6, // 8: CrmAndApsGrpcService.GetCrmSalesDetailsList:input_type -> GetCrmSalesDetailsListRequest |
| | | 9, // 9: CrmAndApsGrpcService.SendSalesDetailsAndProjectToCrm:input_type -> SendSalesDetailsAndProjectToCrmRequest |
| | | 11, // 10: CrmAndApsGrpcService.GetClientList:input_type -> GetClientListRequest |
| | | 14, // 11: CrmAndApsGrpcService.UpdateSalesDetail:input_type -> UpdateSalesDetailRequest |
| | | 16, // 12: CrmAndApsGrpcService.RemoveSalesDetail:input_type -> RemoveSalesDetailRequest |
| | | 18, // 13: CrmAndApsGrpcService.CrmGetMakeAndOutsourcingProductInfo:input_type -> CrmGetMakeAndOutsourcingProductInfoRequest |
| | | 21, // 14: CrmAndApsGrpcService.GetCrmSalesDetailsProductInfo:input_type -> GetCrmSalesDetailsProductInfoRequest |
| | | 2, // 15: CrmAndApsGrpcService.GetApsProjectList:output_type -> GetApsProjectListResponse |
| | | 5, // 16: CrmAndApsGrpcService.SendSalesDetailsToApsProject:output_type -> SendSalesDetailsToApsProjectResponse |
| | | 8, // 17: CrmAndApsGrpcService.GetCrmSalesDetailsList:output_type -> GetCrmSalesDetailsListResponse |
| | | 10, // 18: CrmAndApsGrpcService.SendSalesDetailsAndProjectToCrm:output_type -> SendSalesDetailsAndProjectToCrmResponse |
| | | 12, // 19: CrmAndApsGrpcService.GetClientList:output_type -> GetClientListResponse |
| | | 15, // 20: CrmAndApsGrpcService.UpdateSalesDetail:output_type -> UpdateSalesDetailResponse |
| | | 17, // 21: CrmAndApsGrpcService.RemoveSalesDetail:output_type -> RemoveSalesDetailResponse |
| | | 20, // 22: CrmAndApsGrpcService.CrmGetMakeAndOutsourcingProductInfo:output_type -> CrmGetMakeAndOutsourcingProductInfoResponse |
| | | 23, // 23: CrmAndApsGrpcService.GetCrmSalesDetailsProductInfo:output_type -> GetCrmSalesDetailsProductInfoResponse |
| | | 15, // [15:24] is the sub-list for method output_type |
| | | 6, // [6:15] is the sub-list for method input_type |
| | | 14, // 11: CrmAndApsGrpcService.GetClientMaxId:input_type -> ClientMaxIdRequest |
| | | 16, // 12: CrmAndApsGrpcService.AddClient:input_type -> AddClientRequest |
| | | 17, // 13: CrmAndApsGrpcService.EditClient:input_type -> EditClientRequest |
| | | 18, // 14: CrmAndApsGrpcService.DelClient:input_type -> DelClientRequest |
| | | 20, // 15: CrmAndApsGrpcService.UpdateSalesDetail:input_type -> UpdateSalesDetailRequest |
| | | 22, // 16: CrmAndApsGrpcService.RemoveSalesDetail:input_type -> RemoveSalesDetailRequest |
| | | 24, // 17: CrmAndApsGrpcService.CrmGetMakeAndOutsourcingProductInfo:input_type -> CrmGetMakeAndOutsourcingProductInfoRequest |
| | | 27, // 18: CrmAndApsGrpcService.GetCrmSalesDetailsProductInfo:input_type -> GetCrmSalesDetailsProductInfoRequest |
| | | 2, // 19: CrmAndApsGrpcService.GetApsProjectList:output_type -> GetApsProjectListResponse |
| | | 5, // 20: CrmAndApsGrpcService.SendSalesDetailsToApsProject:output_type -> SendSalesDetailsToApsProjectResponse |
| | | 8, // 21: CrmAndApsGrpcService.GetCrmSalesDetailsList:output_type -> GetCrmSalesDetailsListResponse |
| | | 10, // 22: CrmAndApsGrpcService.SendSalesDetailsAndProjectToCrm:output_type -> SendSalesDetailsAndProjectToCrmResponse |
| | | 12, // 23: CrmAndApsGrpcService.GetClientList:output_type -> GetClientListResponse |
| | | 15, // 24: CrmAndApsGrpcService.GetClientMaxId:output_type -> ClientMaxIdResponse |
| | | 19, // 25: CrmAndApsGrpcService.AddClient:output_type -> ClientMsgResponse |
| | | 19, // 26: CrmAndApsGrpcService.EditClient:output_type -> ClientMsgResponse |
| | | 19, // 27: CrmAndApsGrpcService.DelClient:output_type -> ClientMsgResponse |
| | | 21, // 28: CrmAndApsGrpcService.UpdateSalesDetail:output_type -> UpdateSalesDetailResponse |
| | | 23, // 29: CrmAndApsGrpcService.RemoveSalesDetail:output_type -> RemoveSalesDetailResponse |
| | | 26, // 30: CrmAndApsGrpcService.CrmGetMakeAndOutsourcingProductInfo:output_type -> CrmGetMakeAndOutsourcingProductInfoResponse |
| | | 29, // 31: CrmAndApsGrpcService.GetCrmSalesDetailsProductInfo:output_type -> GetCrmSalesDetailsProductInfoResponse |
| | | 19, // [19:32] is the sub-list for method output_type |
| | | 6, // [6:19] 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 |
| | |
| | | return |
| | | } |
| | | if !protoimpl.UnsafeEnabled { |
| | | file_crm_aps_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| | | file_crm_aps_proto_msgTypes[0].Exporter = func(v any, i int) any { |
| | | switch v := v.(*GetApsProjectListRequest); i { |
| | | case 0: |
| | | return &v.state |
| | |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| | | file_crm_aps_proto_msgTypes[1].Exporter = func(v any, i int) any { |
| | | switch v := v.(*ApsProject); i { |
| | | case 0: |
| | | return &v.state |
| | |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| | | file_crm_aps_proto_msgTypes[2].Exporter = func(v any, i int) any { |
| | | switch v := v.(*GetApsProjectListResponse); i { |
| | | case 0: |
| | | return &v.state |
| | |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| | | file_crm_aps_proto_msgTypes[3].Exporter = func(v any, i int) any { |
| | | switch v := v.(*SalesDetailsProduct); i { |
| | | case 0: |
| | | return &v.state |
| | |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| | | file_crm_aps_proto_msgTypes[4].Exporter = func(v any, i int) any { |
| | | switch v := v.(*SendSalesDetailsToApsProjectRequest); i { |
| | | case 0: |
| | | return &v.state |
| | |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| | | file_crm_aps_proto_msgTypes[5].Exporter = func(v any, i int) any { |
| | | switch v := v.(*SendSalesDetailsToApsProjectResponse); i { |
| | | case 0: |
| | | return &v.state |
| | |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| | | file_crm_aps_proto_msgTypes[6].Exporter = func(v any, i int) any { |
| | | switch v := v.(*GetCrmSalesDetailsListRequest); i { |
| | | case 0: |
| | | return &v.state |
| | |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| | | file_crm_aps_proto_msgTypes[7].Exporter = func(v any, i int) any { |
| | | switch v := v.(*CrmSalesDetails); i { |
| | | case 0: |
| | | return &v.state |
| | |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
| | | file_crm_aps_proto_msgTypes[8].Exporter = func(v any, i int) any { |
| | | switch v := v.(*GetCrmSalesDetailsListResponse); i { |
| | | case 0: |
| | | return &v.state |
| | |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
| | | file_crm_aps_proto_msgTypes[9].Exporter = func(v any, i int) any { |
| | | switch v := v.(*SendSalesDetailsAndProjectToCrmRequest); i { |
| | | case 0: |
| | | return &v.state |
| | |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { |
| | | file_crm_aps_proto_msgTypes[10].Exporter = func(v any, i int) any { |
| | | switch v := v.(*SendSalesDetailsAndProjectToCrmResponse); i { |
| | | case 0: |
| | | return &v.state |
| | |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { |
| | | file_crm_aps_proto_msgTypes[11].Exporter = func(v any, i int) any { |
| | | switch v := v.(*GetClientListRequest); i { |
| | | case 0: |
| | | return &v.state |
| | |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { |
| | | file_crm_aps_proto_msgTypes[12].Exporter = func(v any, i int) any { |
| | | switch v := v.(*GetClientListResponse); i { |
| | | case 0: |
| | | return &v.state |
| | |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { |
| | | file_crm_aps_proto_msgTypes[13].Exporter = func(v any, i int) any { |
| | | switch v := v.(*Client); i { |
| | | case 0: |
| | | return &v.state |
| | |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { |
| | | file_crm_aps_proto_msgTypes[14].Exporter = func(v any, i int) any { |
| | | switch v := v.(*ClientMaxIdRequest); i { |
| | | case 0: |
| | | return &v.state |
| | | case 1: |
| | | return &v.sizeCache |
| | | case 2: |
| | | return &v.unknownFields |
| | | default: |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[15].Exporter = func(v any, i int) any { |
| | | switch v := v.(*ClientMaxIdResponse); i { |
| | | case 0: |
| | | return &v.state |
| | | case 1: |
| | | return &v.sizeCache |
| | | case 2: |
| | | return &v.unknownFields |
| | | default: |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[16].Exporter = func(v any, i int) any { |
| | | switch v := v.(*AddClientRequest); i { |
| | | case 0: |
| | | return &v.state |
| | | case 1: |
| | | return &v.sizeCache |
| | | case 2: |
| | | return &v.unknownFields |
| | | default: |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[17].Exporter = func(v any, i int) any { |
| | | switch v := v.(*EditClientRequest); i { |
| | | case 0: |
| | | return &v.state |
| | | case 1: |
| | | return &v.sizeCache |
| | | case 2: |
| | | return &v.unknownFields |
| | | default: |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[18].Exporter = func(v any, i int) any { |
| | | switch v := v.(*DelClientRequest); i { |
| | | case 0: |
| | | return &v.state |
| | | case 1: |
| | | return &v.sizeCache |
| | | case 2: |
| | | return &v.unknownFields |
| | | default: |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[19].Exporter = func(v any, i int) any { |
| | | switch v := v.(*ClientMsgResponse); i { |
| | | case 0: |
| | | return &v.state |
| | | case 1: |
| | | return &v.sizeCache |
| | | case 2: |
| | | return &v.unknownFields |
| | | default: |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[20].Exporter = func(v any, i int) any { |
| | | switch v := v.(*UpdateSalesDetailRequest); i { |
| | | case 0: |
| | | return &v.state |
| | |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { |
| | | file_crm_aps_proto_msgTypes[21].Exporter = func(v any, i int) any { |
| | | switch v := v.(*UpdateSalesDetailResponse); i { |
| | | case 0: |
| | | return &v.state |
| | |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { |
| | | file_crm_aps_proto_msgTypes[22].Exporter = func(v any, i int) any { |
| | | switch v := v.(*RemoveSalesDetailRequest); i { |
| | | case 0: |
| | | return &v.state |
| | |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { |
| | | file_crm_aps_proto_msgTypes[23].Exporter = func(v any, i int) any { |
| | | switch v := v.(*RemoveSalesDetailResponse); i { |
| | | case 0: |
| | | return &v.state |
| | |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { |
| | | file_crm_aps_proto_msgTypes[24].Exporter = func(v any, i int) any { |
| | | switch v := v.(*CrmGetMakeAndOutsourcingProductInfoRequest); i { |
| | | case 0: |
| | | return &v.state |
| | |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { |
| | | file_crm_aps_proto_msgTypes[25].Exporter = func(v any, i int) any { |
| | | switch v := v.(*CrmGetMakeAndOutsourcingProductInfo); i { |
| | | case 0: |
| | | return &v.state |
| | |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { |
| | | file_crm_aps_proto_msgTypes[26].Exporter = func(v any, i int) any { |
| | | switch v := v.(*CrmGetMakeAndOutsourcingProductInfoResponse); i { |
| | | case 0: |
| | | return &v.state |
| | |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { |
| | | file_crm_aps_proto_msgTypes[27].Exporter = func(v any, i int) any { |
| | | switch v := v.(*GetCrmSalesDetailsProductInfoRequest); i { |
| | | case 0: |
| | | return &v.state |
| | |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { |
| | | file_crm_aps_proto_msgTypes[28].Exporter = func(v any, i int) any { |
| | | switch v := v.(*CrmSalesDetailsProductInfo); i { |
| | | case 0: |
| | | return &v.state |
| | |
| | | return nil |
| | | } |
| | | } |
| | | file_crm_aps_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { |
| | | file_crm_aps_proto_msgTypes[29].Exporter = func(v any, i int) any { |
| | | switch v := v.(*GetCrmSalesDetailsProductInfoResponse); i { |
| | | case 0: |
| | | return &v.state |
| | |
| | | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| | | RawDescriptor: file_crm_aps_proto_rawDesc, |
| | | NumEnums: 0, |
| | | NumMessages: 24, |
| | | NumMessages: 30, |
| | | NumExtensions: 0, |
| | | NumServices: 1, |
| | | }, |
| | |
| | | // Code generated by protoc-gen-go-grpc. DO NOT EDIT. |
| | | // versions: |
| | | // - protoc-gen-go-grpc v1.3.0 |
| | | // - protoc v5.27.2 |
| | | // source: crm_aps.proto |
| | | |
| | | package crm_aps |
| | | |
| | |
| | | // Requires gRPC-Go v1.32.0 or later. |
| | | const _ = grpc.SupportPackageIsVersion7 |
| | | |
| | | const ( |
| | | CrmAndApsGrpcService_GetApsProjectList_FullMethodName = "/CrmAndApsGrpcService/GetApsProjectList" |
| | | CrmAndApsGrpcService_SendSalesDetailsToApsProject_FullMethodName = "/CrmAndApsGrpcService/SendSalesDetailsToApsProject" |
| | | CrmAndApsGrpcService_GetCrmSalesDetailsList_FullMethodName = "/CrmAndApsGrpcService/GetCrmSalesDetailsList" |
| | | CrmAndApsGrpcService_SendSalesDetailsAndProjectToCrm_FullMethodName = "/CrmAndApsGrpcService/SendSalesDetailsAndProjectToCrm" |
| | | CrmAndApsGrpcService_GetClientList_FullMethodName = "/CrmAndApsGrpcService/GetClientList" |
| | | CrmAndApsGrpcService_GetClientMaxId_FullMethodName = "/CrmAndApsGrpcService/GetClientMaxId" |
| | | CrmAndApsGrpcService_AddClient_FullMethodName = "/CrmAndApsGrpcService/AddClient" |
| | | CrmAndApsGrpcService_EditClient_FullMethodName = "/CrmAndApsGrpcService/EditClient" |
| | | CrmAndApsGrpcService_DelClient_FullMethodName = "/CrmAndApsGrpcService/DelClient" |
| | | CrmAndApsGrpcService_UpdateSalesDetail_FullMethodName = "/CrmAndApsGrpcService/UpdateSalesDetail" |
| | | CrmAndApsGrpcService_RemoveSalesDetail_FullMethodName = "/CrmAndApsGrpcService/RemoveSalesDetail" |
| | | CrmAndApsGrpcService_CrmGetMakeAndOutsourcingProductInfo_FullMethodName = "/CrmAndApsGrpcService/CrmGetMakeAndOutsourcingProductInfo" |
| | | CrmAndApsGrpcService_GetCrmSalesDetailsProductInfo_FullMethodName = "/CrmAndApsGrpcService/GetCrmSalesDetailsProductInfo" |
| | | ) |
| | | |
| | | // CrmAndApsGrpcServiceClient is the client API for CrmAndApsGrpcService service. |
| | | // |
| | | // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. |
| | |
| | | GetCrmSalesDetailsList(ctx context.Context, in *GetCrmSalesDetailsListRequest, opts ...grpc.CallOption) (*GetCrmSalesDetailsListResponse, error) |
| | | SendSalesDetailsAndProjectToCrm(ctx context.Context, in *SendSalesDetailsAndProjectToCrmRequest, opts ...grpc.CallOption) (*SendSalesDetailsAndProjectToCrmResponse, error) |
| | | GetClientList(ctx context.Context, in *GetClientListRequest, opts ...grpc.CallOption) (*GetClientListResponse, error) |
| | | GetClientMaxId(ctx context.Context, in *ClientMaxIdRequest, opts ...grpc.CallOption) (*ClientMaxIdResponse, error) |
| | | AddClient(ctx context.Context, in *AddClientRequest, opts ...grpc.CallOption) (*ClientMsgResponse, error) |
| | | EditClient(ctx context.Context, in *EditClientRequest, opts ...grpc.CallOption) (*ClientMsgResponse, error) |
| | | DelClient(ctx context.Context, in *DelClientRequest, opts ...grpc.CallOption) (*ClientMsgResponse, error) |
| | | UpdateSalesDetail(ctx context.Context, in *UpdateSalesDetailRequest, opts ...grpc.CallOption) (*UpdateSalesDetailResponse, error) |
| | | RemoveSalesDetail(ctx context.Context, in *RemoveSalesDetailRequest, opts ...grpc.CallOption) (*RemoveSalesDetailResponse, error) |
| | | CrmGetMakeAndOutsourcingProductInfo(ctx context.Context, in *CrmGetMakeAndOutsourcingProductInfoRequest, opts ...grpc.CallOption) (*CrmGetMakeAndOutsourcingProductInfoResponse, error) |
| | |
| | | |
| | | func (c *crmAndApsGrpcServiceClient) GetApsProjectList(ctx context.Context, in *GetApsProjectListRequest, opts ...grpc.CallOption) (*GetApsProjectListResponse, error) { |
| | | out := new(GetApsProjectListResponse) |
| | | err := c.cc.Invoke(ctx, "/CrmAndApsGrpcService/GetApsProjectList", in, out, opts...) |
| | | err := c.cc.Invoke(ctx, CrmAndApsGrpcService_GetApsProjectList_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | |
| | | |
| | | func (c *crmAndApsGrpcServiceClient) SendSalesDetailsToApsProject(ctx context.Context, in *SendSalesDetailsToApsProjectRequest, opts ...grpc.CallOption) (*SendSalesDetailsToApsProjectResponse, error) { |
| | | out := new(SendSalesDetailsToApsProjectResponse) |
| | | err := c.cc.Invoke(ctx, "/CrmAndApsGrpcService/SendSalesDetailsToApsProject", in, out, opts...) |
| | | err := c.cc.Invoke(ctx, CrmAndApsGrpcService_SendSalesDetailsToApsProject_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | |
| | | |
| | | func (c *crmAndApsGrpcServiceClient) GetCrmSalesDetailsList(ctx context.Context, in *GetCrmSalesDetailsListRequest, opts ...grpc.CallOption) (*GetCrmSalesDetailsListResponse, error) { |
| | | out := new(GetCrmSalesDetailsListResponse) |
| | | err := c.cc.Invoke(ctx, "/CrmAndApsGrpcService/GetCrmSalesDetailsList", in, out, opts...) |
| | | err := c.cc.Invoke(ctx, CrmAndApsGrpcService_GetCrmSalesDetailsList_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | |
| | | |
| | | func (c *crmAndApsGrpcServiceClient) SendSalesDetailsAndProjectToCrm(ctx context.Context, in *SendSalesDetailsAndProjectToCrmRequest, opts ...grpc.CallOption) (*SendSalesDetailsAndProjectToCrmResponse, error) { |
| | | out := new(SendSalesDetailsAndProjectToCrmResponse) |
| | | err := c.cc.Invoke(ctx, "/CrmAndApsGrpcService/SendSalesDetailsAndProjectToCrm", in, out, opts...) |
| | | err := c.cc.Invoke(ctx, CrmAndApsGrpcService_SendSalesDetailsAndProjectToCrm_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | |
| | | |
| | | func (c *crmAndApsGrpcServiceClient) GetClientList(ctx context.Context, in *GetClientListRequest, opts ...grpc.CallOption) (*GetClientListResponse, error) { |
| | | out := new(GetClientListResponse) |
| | | err := c.cc.Invoke(ctx, "/CrmAndApsGrpcService/GetClientList", in, out, opts...) |
| | | err := c.cc.Invoke(ctx, CrmAndApsGrpcService_GetClientList_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | | return out, nil |
| | | } |
| | | |
| | | func (c *crmAndApsGrpcServiceClient) GetClientMaxId(ctx context.Context, in *ClientMaxIdRequest, opts ...grpc.CallOption) (*ClientMaxIdResponse, error) { |
| | | out := new(ClientMaxIdResponse) |
| | | err := c.cc.Invoke(ctx, CrmAndApsGrpcService_GetClientMaxId_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | | return out, nil |
| | | } |
| | | |
| | | func (c *crmAndApsGrpcServiceClient) AddClient(ctx context.Context, in *AddClientRequest, opts ...grpc.CallOption) (*ClientMsgResponse, error) { |
| | | out := new(ClientMsgResponse) |
| | | err := c.cc.Invoke(ctx, CrmAndApsGrpcService_AddClient_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | | return out, nil |
| | | } |
| | | |
| | | func (c *crmAndApsGrpcServiceClient) EditClient(ctx context.Context, in *EditClientRequest, opts ...grpc.CallOption) (*ClientMsgResponse, error) { |
| | | out := new(ClientMsgResponse) |
| | | err := c.cc.Invoke(ctx, CrmAndApsGrpcService_EditClient_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | | return out, nil |
| | | } |
| | | |
| | | func (c *crmAndApsGrpcServiceClient) DelClient(ctx context.Context, in *DelClientRequest, opts ...grpc.CallOption) (*ClientMsgResponse, error) { |
| | | out := new(ClientMsgResponse) |
| | | err := c.cc.Invoke(ctx, CrmAndApsGrpcService_DelClient_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | |
| | | |
| | | func (c *crmAndApsGrpcServiceClient) UpdateSalesDetail(ctx context.Context, in *UpdateSalesDetailRequest, opts ...grpc.CallOption) (*UpdateSalesDetailResponse, error) { |
| | | out := new(UpdateSalesDetailResponse) |
| | | err := c.cc.Invoke(ctx, "/CrmAndApsGrpcService/UpdateSalesDetail", in, out, opts...) |
| | | err := c.cc.Invoke(ctx, CrmAndApsGrpcService_UpdateSalesDetail_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | |
| | | |
| | | func (c *crmAndApsGrpcServiceClient) RemoveSalesDetail(ctx context.Context, in *RemoveSalesDetailRequest, opts ...grpc.CallOption) (*RemoveSalesDetailResponse, error) { |
| | | out := new(RemoveSalesDetailResponse) |
| | | err := c.cc.Invoke(ctx, "/CrmAndApsGrpcService/RemoveSalesDetail", in, out, opts...) |
| | | err := c.cc.Invoke(ctx, CrmAndApsGrpcService_RemoveSalesDetail_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | |
| | | |
| | | func (c *crmAndApsGrpcServiceClient) CrmGetMakeAndOutsourcingProductInfo(ctx context.Context, in *CrmGetMakeAndOutsourcingProductInfoRequest, opts ...grpc.CallOption) (*CrmGetMakeAndOutsourcingProductInfoResponse, error) { |
| | | out := new(CrmGetMakeAndOutsourcingProductInfoResponse) |
| | | err := c.cc.Invoke(ctx, "/CrmAndApsGrpcService/CrmGetMakeAndOutsourcingProductInfo", in, out, opts...) |
| | | err := c.cc.Invoke(ctx, CrmAndApsGrpcService_CrmGetMakeAndOutsourcingProductInfo_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | |
| | | |
| | | func (c *crmAndApsGrpcServiceClient) GetCrmSalesDetailsProductInfo(ctx context.Context, in *GetCrmSalesDetailsProductInfoRequest, opts ...grpc.CallOption) (*GetCrmSalesDetailsProductInfoResponse, error) { |
| | | out := new(GetCrmSalesDetailsProductInfoResponse) |
| | | err := c.cc.Invoke(ctx, "/CrmAndApsGrpcService/GetCrmSalesDetailsProductInfo", in, out, opts...) |
| | | err := c.cc.Invoke(ctx, CrmAndApsGrpcService_GetCrmSalesDetailsProductInfo_FullMethodName, in, out, opts...) |
| | | if err != nil { |
| | | return nil, err |
| | | } |
| | |
| | | GetCrmSalesDetailsList(context.Context, *GetCrmSalesDetailsListRequest) (*GetCrmSalesDetailsListResponse, error) |
| | | SendSalesDetailsAndProjectToCrm(context.Context, *SendSalesDetailsAndProjectToCrmRequest) (*SendSalesDetailsAndProjectToCrmResponse, error) |
| | | GetClientList(context.Context, *GetClientListRequest) (*GetClientListResponse, error) |
| | | GetClientMaxId(context.Context, *ClientMaxIdRequest) (*ClientMaxIdResponse, error) |
| | | AddClient(context.Context, *AddClientRequest) (*ClientMsgResponse, error) |
| | | EditClient(context.Context, *EditClientRequest) (*ClientMsgResponse, error) |
| | | DelClient(context.Context, *DelClientRequest) (*ClientMsgResponse, error) |
| | | UpdateSalesDetail(context.Context, *UpdateSalesDetailRequest) (*UpdateSalesDetailResponse, error) |
| | | RemoveSalesDetail(context.Context, *RemoveSalesDetailRequest) (*RemoveSalesDetailResponse, error) |
| | | CrmGetMakeAndOutsourcingProductInfo(context.Context, *CrmGetMakeAndOutsourcingProductInfoRequest) (*CrmGetMakeAndOutsourcingProductInfoResponse, error) |
| | |
| | | } |
| | | func (UnimplementedCrmAndApsGrpcServiceServer) GetClientList(context.Context, *GetClientListRequest) (*GetClientListResponse, error) { |
| | | return nil, status.Errorf(codes.Unimplemented, "method GetClientList not implemented") |
| | | } |
| | | func (UnimplementedCrmAndApsGrpcServiceServer) GetClientMaxId(context.Context, *ClientMaxIdRequest) (*ClientMaxIdResponse, error) { |
| | | return nil, status.Errorf(codes.Unimplemented, "method GetClientMaxId not implemented") |
| | | } |
| | | func (UnimplementedCrmAndApsGrpcServiceServer) AddClient(context.Context, *AddClientRequest) (*ClientMsgResponse, error) { |
| | | return nil, status.Errorf(codes.Unimplemented, "method AddClient not implemented") |
| | | } |
| | | func (UnimplementedCrmAndApsGrpcServiceServer) EditClient(context.Context, *EditClientRequest) (*ClientMsgResponse, error) { |
| | | return nil, status.Errorf(codes.Unimplemented, "method EditClient not implemented") |
| | | } |
| | | func (UnimplementedCrmAndApsGrpcServiceServer) DelClient(context.Context, *DelClientRequest) (*ClientMsgResponse, error) { |
| | | return nil, status.Errorf(codes.Unimplemented, "method DelClient not implemented") |
| | | } |
| | | func (UnimplementedCrmAndApsGrpcServiceServer) UpdateSalesDetail(context.Context, *UpdateSalesDetailRequest) (*UpdateSalesDetailResponse, error) { |
| | | return nil, status.Errorf(codes.Unimplemented, "method UpdateSalesDetail not implemented") |
| | |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: "/CrmAndApsGrpcService/GetApsProjectList", |
| | | FullMethod: CrmAndApsGrpcService_GetApsProjectList_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(CrmAndApsGrpcServiceServer).GetApsProjectList(ctx, req.(*GetApsProjectListRequest)) |
| | |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: "/CrmAndApsGrpcService/SendSalesDetailsToApsProject", |
| | | FullMethod: CrmAndApsGrpcService_SendSalesDetailsToApsProject_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(CrmAndApsGrpcServiceServer).SendSalesDetailsToApsProject(ctx, req.(*SendSalesDetailsToApsProjectRequest)) |
| | |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: "/CrmAndApsGrpcService/GetCrmSalesDetailsList", |
| | | FullMethod: CrmAndApsGrpcService_GetCrmSalesDetailsList_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(CrmAndApsGrpcServiceServer).GetCrmSalesDetailsList(ctx, req.(*GetCrmSalesDetailsListRequest)) |
| | |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: "/CrmAndApsGrpcService/SendSalesDetailsAndProjectToCrm", |
| | | FullMethod: CrmAndApsGrpcService_SendSalesDetailsAndProjectToCrm_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(CrmAndApsGrpcServiceServer).SendSalesDetailsAndProjectToCrm(ctx, req.(*SendSalesDetailsAndProjectToCrmRequest)) |
| | |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: "/CrmAndApsGrpcService/GetClientList", |
| | | FullMethod: CrmAndApsGrpcService_GetClientList_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(CrmAndApsGrpcServiceServer).GetClientList(ctx, req.(*GetClientListRequest)) |
| | | } |
| | | return interceptor(ctx, in, info, handler) |
| | | } |
| | | |
| | | func _CrmAndApsGrpcService_GetClientMaxId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| | | in := new(ClientMaxIdRequest) |
| | | if err := dec(in); err != nil { |
| | | return nil, err |
| | | } |
| | | if interceptor == nil { |
| | | return srv.(CrmAndApsGrpcServiceServer).GetClientMaxId(ctx, in) |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: CrmAndApsGrpcService_GetClientMaxId_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(CrmAndApsGrpcServiceServer).GetClientMaxId(ctx, req.(*ClientMaxIdRequest)) |
| | | } |
| | | return interceptor(ctx, in, info, handler) |
| | | } |
| | | |
| | | func _CrmAndApsGrpcService_AddClient_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| | | in := new(AddClientRequest) |
| | | if err := dec(in); err != nil { |
| | | return nil, err |
| | | } |
| | | if interceptor == nil { |
| | | return srv.(CrmAndApsGrpcServiceServer).AddClient(ctx, in) |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: CrmAndApsGrpcService_AddClient_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(CrmAndApsGrpcServiceServer).AddClient(ctx, req.(*AddClientRequest)) |
| | | } |
| | | return interceptor(ctx, in, info, handler) |
| | | } |
| | | |
| | | func _CrmAndApsGrpcService_EditClient_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| | | in := new(EditClientRequest) |
| | | if err := dec(in); err != nil { |
| | | return nil, err |
| | | } |
| | | if interceptor == nil { |
| | | return srv.(CrmAndApsGrpcServiceServer).EditClient(ctx, in) |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: CrmAndApsGrpcService_EditClient_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(CrmAndApsGrpcServiceServer).EditClient(ctx, req.(*EditClientRequest)) |
| | | } |
| | | return interceptor(ctx, in, info, handler) |
| | | } |
| | | |
| | | func _CrmAndApsGrpcService_DelClient_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| | | in := new(DelClientRequest) |
| | | if err := dec(in); err != nil { |
| | | return nil, err |
| | | } |
| | | if interceptor == nil { |
| | | return srv.(CrmAndApsGrpcServiceServer).DelClient(ctx, in) |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: CrmAndApsGrpcService_DelClient_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(CrmAndApsGrpcServiceServer).DelClient(ctx, req.(*DelClientRequest)) |
| | | } |
| | | return interceptor(ctx, in, info, handler) |
| | | } |
| | |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: "/CrmAndApsGrpcService/UpdateSalesDetail", |
| | | FullMethod: CrmAndApsGrpcService_UpdateSalesDetail_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(CrmAndApsGrpcServiceServer).UpdateSalesDetail(ctx, req.(*UpdateSalesDetailRequest)) |
| | |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: "/CrmAndApsGrpcService/RemoveSalesDetail", |
| | | FullMethod: CrmAndApsGrpcService_RemoveSalesDetail_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(CrmAndApsGrpcServiceServer).RemoveSalesDetail(ctx, req.(*RemoveSalesDetailRequest)) |
| | |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: "/CrmAndApsGrpcService/CrmGetMakeAndOutsourcingProductInfo", |
| | | FullMethod: CrmAndApsGrpcService_CrmGetMakeAndOutsourcingProductInfo_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(CrmAndApsGrpcServiceServer).CrmGetMakeAndOutsourcingProductInfo(ctx, req.(*CrmGetMakeAndOutsourcingProductInfoRequest)) |
| | |
| | | } |
| | | info := &grpc.UnaryServerInfo{ |
| | | Server: srv, |
| | | FullMethod: "/CrmAndApsGrpcService/GetCrmSalesDetailsProductInfo", |
| | | FullMethod: CrmAndApsGrpcService_GetCrmSalesDetailsProductInfo_FullMethodName, |
| | | } |
| | | handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| | | return srv.(CrmAndApsGrpcServiceServer).GetCrmSalesDetailsProductInfo(ctx, req.(*GetCrmSalesDetailsProductInfoRequest)) |
| | |
| | | Handler: _CrmAndApsGrpcService_GetClientList_Handler, |
| | | }, |
| | | { |
| | | MethodName: "GetClientMaxId", |
| | | Handler: _CrmAndApsGrpcService_GetClientMaxId_Handler, |
| | | }, |
| | | { |
| | | MethodName: "AddClient", |
| | | Handler: _CrmAndApsGrpcService_AddClient_Handler, |
| | | }, |
| | | { |
| | | MethodName: "EditClient", |
| | | Handler: _CrmAndApsGrpcService_EditClient_Handler, |
| | | }, |
| | | { |
| | | MethodName: "DelClient", |
| | | Handler: _CrmAndApsGrpcService_DelClient_Handler, |
| | | }, |
| | | { |
| | | MethodName: "UpdateSalesDetail", |
| | | Handler: _CrmAndApsGrpcService_UpdateSalesDetail_Handler, |
| | | }, |
| | |
| | | "fmt" |
| | | "github.com/shopspring/decimal" |
| | | "gorm.io/gorm" |
| | | "strconv" |
| | | ) |
| | | |
| | | type Server struct { |
| | |
| | | resp.List = append(resp.List, &Client{ |
| | | Number: client.Number, |
| | | Name: client.Name, |
| | | Id: int64(client.Id), |
| | | }) |
| | | } |
| | | return resp, nil |
| | | } |
| | | |
| | | func (s *Server) GetClientMaxId(ctx context.Context, req *ClientMaxIdRequest) (*ClientMaxIdResponse, error) { |
| | | clientService := new(service.ClientService) |
| | | id, err := clientService.GetClientMaxId() |
| | | return &ClientMaxIdResponse{Id: int64(id)}, err |
| | | } |
| | | func (s *Server) AddClient(ctx context.Context, req *AddClientRequest) (*ClientMsgResponse, error) { |
| | | clientService := new(service.ClientService) |
| | | client := &model.Client{Id: int(req.Id), Number: req.Number, Name: req.Name, DetailAddress: req.DetailAddress, Remark: req.Remark, CreatorId: int(req.CreatorId)} |
| | | code := clientService.AddClient(client, 0) |
| | | if code != ecode.OK { |
| | | return &ClientMsgResponse{Code: int64(code), Msg: "添加失败", Id: strconv.Itoa(client.Id)}, nil |
| | | } |
| | | return &ClientMsgResponse{Code: int64(code), Msg: "添加成功", Id: strconv.Itoa(client.Id)}, nil |
| | | } |
| | | func (s *Server) EditClient(ctx context.Context, req *EditClientRequest) (*ClientMsgResponse, error) { |
| | | clientService := new(service.ClientService) |
| | | client := &model.Client{Id: int(req.Id), Number: req.Number, Name: req.Name, DetailAddress: req.DetailAddress, Remark: req.Remark, CreatorId: int(req.CreatorId)} |
| | | code := clientService.UpdateClient(client, 0) |
| | | if code != ecode.OK { |
| | | return &ClientMsgResponse{Code: int64(code), Msg: "添加失败", Id: strconv.Itoa(client.Id)}, nil |
| | | } |
| | | return &ClientMsgResponse{Code: int64(code), Msg: "添加成功", Id: strconv.Itoa(client.Id)}, nil |
| | | } |
| | | func (s *Server) DelClient(ctx context.Context, req *DelClientRequest) (*ClientMsgResponse, error) { |
| | | clientService := new(service.ClientService) |
| | | |
| | | code := clientService.DeleteClient([]int{int(req.Id)}) |
| | | if code != ecode.OK { |
| | | return &ClientMsgResponse{Code: int64(code), Msg: "删除失败", Id: strconv.FormatInt(req.Id, 10)}, nil |
| | | } |
| | | return &ClientMsgResponse{Code: int64(code), Msg: "删除成功", Id: strconv.FormatInt(req.Id, 10)}, nil |
| | | } |
| | | |
| | | func (s *Server) UpdateSalesDetail(ctx context.Context, req *UpdateSalesDetailRequest) (*UpdateSalesDetailResponse, error) { |
| | | if req.Number == "" { |
| | | return nil, errors.New("销售明细编号为空") |
| | |
| | | return contacts, total, ecode.OK |
| | | } |
| | | |
| | | func (ClientService) GetClientMaxId() (int, error) { |
| | | return model.NewClientSearch(nil).MaxAutoIncr() |
| | | } |
| | | |
| | | func (ClientService) Assign(ids []int, memberId int) int { |
| | | // check client exist |
| | | //errCode := CheckClientExist(id) |