syntax = "proto3";
package sentinel.subscription.v1;

import "gogoproto/gogo.proto";
import "sentinel/types/v1/status.proto";

option go_package = "github.com/sentinel-official/sentinelhub/v13/x/subscription/types/v1";
option (gogoproto.equal_all) = false;
option (gogoproto.goproto_getters_all) = false;

message EventAddQuota {
  uint64 id = 1 [(gogoproto.moretags) = "yaml:\"id\""];
  string address = 2 [(gogoproto.moretags) = "yaml:\"address\""];
}

message EventSetStatus {
  uint64 id = 1 [(gogoproto.moretags) = "yaml:\"id\""];
  sentinel.types.v1.Status status = 2 [(gogoproto.moretags) = "yaml:\"status\""];
}

message EventSubscribe {
  uint64 id = 1 [(gogoproto.moretags) = "yaml:\"id\""];
  string node = 2 [(gogoproto.moretags) = "yaml:\"node\""];
  uint64 plan = 3 [(gogoproto.moretags) = "yaml:\"plan\""];
}

message EventUpdateQuota {
  uint64 id = 1 [(gogoproto.moretags) = "yaml:\"id\""];
  string address = 2 [(gogoproto.moretags) = "yaml:\"address\""];
}
