syntax = "proto3";
package servicesCloudConfig;

message servicesCloudConfig{	
	string response =1;
}

message ProductTypeRequest {
	string IdProductType=1;
}

message ServicesByProductTypeRequest {
	string IdProductType=1;
}

message PlansServiceRequest {
	string idService=1;
}

message ServicesAllContractedRequest {
	string idUser=1;
}

message IpServiceByIdRequest {
	string idFirewall=1;
} 

message ProductTypeResponse{
	servicesCloudConfig response=1;
}
message ServicesByProductTypeResponse {
	servicesCloudConfig response=1;
}
message PlansServiceResponse{
	servicesCloudConfig response=1;
}

message ServicesContractedResponse{
	servicesCloudConfig response=1;
}

message IpServiceByIdResponse{
	servicesCloudConfig response=1;
}

service servicesCloudConfigService{
	rpc getProductType (ProductTypeRequest) returns (ProductTypeResponse){};
	rpc getPlansService (PlansServiceRequest) returns (PlansServiceResponse){};
	rpc getServicesAllContracted (ServicesAllContractedRequest) returns (ServicesContractedResponse){};
	rpc getIpServiceById (IpServiceByIdRequest) returns (IpServiceByIdResponse){};
	rpc getServicesCatalog (ServicesByProductTypeRequest) returns (ServicesByProductTypeResponse){};
}
