Packages

Generated Elixir gRPC contracts for Cratis Chronicle - the open-source event-sourcing database

Current section

Files

Jump to
cratis_chronicle_contracts lib generated sequences.pb.ex
Raw

lib/generated/sequences.pb.ex

defmodule Cratis.Chronicle.Contracts.Sequences.CompleteStreamError do
@moduledoc false
use Protobuf, enum: true, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :COMPLETE_STREAM_ERROR_None, 0
field :AlreadyCompleted, 1
field :DefaultStreamCannotBeCompleted, 2
end
defmodule Cratis.Chronicle.Contracts.Sequences.ConstraintType do
@moduledoc false
use Protobuf, enum: true, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :CONSTRAINT_TYPE_Unknown, 0
field :Unique, 1
field :UniqueEventType, 2
field :Schema, 3
field :StreamClosed, 4
end
defmodule Cratis.Chronicle.Contracts.Sequences.EventObservationState do
@moduledoc false
use Protobuf, enum: true, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EVENT_OBSERVATION_STATE_None, 0
field :Initial, 1
field :Replay, 2
end
defmodule Cratis.Chronicle.Contracts.Sequences.HistogramResolution do
@moduledoc false
use Protobuf, enum: true, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Minute, 0
field :Hour, 1
field :Day, 2
field :Week, 3
field :Month, 4
end
defmodule Cratis.Chronicle.Contracts.Sequences.ValidationResultSeverity do
@moduledoc false
use Protobuf, enum: true, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :VALIDATION_RESULT_SEVERITY_Unknown, 0
field :Information, 1
field :Warning, 2
field :Error, 3
end
defmodule Cratis.Chronicle.Contracts.Sequences.AllEventSequencesRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 1, type: :string
field :Namespace, 2, type: :string
end
defmodule Cratis.Chronicle.Contracts.Sequences.AppendManyForEventSourcesRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 1, type: :string
field :Namespace, 2, type: :string
field :EventSequenceId, 3, type: :string
field :Events, 4,
repeated: true,
type: Cratis.Chronicle.Contracts.Sequences.EventForEventSourceId
field :CorrelationId, 5, type: Bcl.Guid
field :Tags, 6, repeated: true, type: :string
field :Causation, 7, repeated: true, type: Cratis.Chronicle.Contracts.Sequences.Causation
field :CausedBy, 8, type: Cratis.Chronicle.Contracts.Sequences.Identity
field :ConcurrencyScopes, 9,
repeated: true,
type: Cratis.Chronicle.Contracts.Sequences.EventSourceConcurrencyScope
end
defmodule Cratis.Chronicle.Contracts.Sequences.AppendManyRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 1, type: :string
field :Namespace, 2, type: :string
field :EventSequenceId, 3, type: :string
field :EventSourceId, 4, type: :string
field :Events, 5, repeated: true, type: Cratis.Chronicle.Contracts.Sequences.EventToAppend
field :CorrelationId, 6, type: Bcl.Guid
field :Tags, 7, repeated: true, type: :string
field :Causation, 8, repeated: true, type: Cratis.Chronicle.Contracts.Sequences.Causation
field :CausedBy, 9, type: Cratis.Chronicle.Contracts.Sequences.Identity
field :ConcurrencyScope, 10, type: Cratis.Chronicle.Contracts.Sequences.ConcurrencyScope
field :Occurred, 11, type: Cratis.Chronicle.Contracts.Sequences.SerializableDateTimeOffset
end
defmodule Cratis.Chronicle.Contracts.Sequences.AppendManyResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :CorrelationId, 1, type: Bcl.Guid
field :SequenceNumbers, 2, repeated: true, type: :uint64, packed: false, deprecated: false
field :IsSuccess, 3, type: :bool
field :HasConstraintViolations, 4, type: :bool
field :HasConcurrencyViolations, 5, type: :bool
field :HasErrors, 6, type: :bool
field :ConcurrencyCheckPerformed, 7, type: :bool
field :ConstraintViolations, 8,
repeated: true,
type: Cratis.Chronicle.Contracts.Sequences.ConstraintViolation
field :Errors, 9, repeated: true, type: :string
field :ConcurrencyViolations, 10,
repeated: true,
type: Cratis.Chronicle.Contracts.Sequences.ConcurrencyViolation
end
defmodule Cratis.Chronicle.Contracts.Sequences.AppendRequest.ContentEntry do
@moduledoc false
use Protobuf, map: true, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :key, 1, type: :string
field :value, 2, type: Cratis.Chronicle.Contracts.Sequences.JsonNode
end
defmodule Cratis.Chronicle.Contracts.Sequences.AppendRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 1, type: :string
field :Namespace, 2, type: :string
field :EventSequenceId, 3, type: :string
field :EventSourceId, 4, type: :string
field :EventSourceType, 5, type: :string
field :EventStreamType, 6, type: :string
field :EventStreamId, 7, type: :string
field :EventType, 8, type: Cratis.Chronicle.Contracts.Sequences.EventType
field :Content, 9,
repeated: true,
type: Cratis.Chronicle.Contracts.Sequences.AppendRequest.ContentEntry,
map: true
field :CorrelationId, 10, type: Bcl.Guid
field :Tags, 11, repeated: true, type: :string
field :Occurred, 12, type: Cratis.Chronicle.Contracts.Sequences.SerializableDateTimeOffset
field :Subject, 13, type: :string
field :Causation, 14, repeated: true, type: Cratis.Chronicle.Contracts.Sequences.Causation
field :CausedBy, 15, type: Cratis.Chronicle.Contracts.Sequences.Identity
field :ConcurrencyScope, 16, type: Cratis.Chronicle.Contracts.Sequences.ConcurrencyScope
end
defmodule Cratis.Chronicle.Contracts.Sequences.AppendResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :CorrelationId, 1, type: Bcl.Guid
field :SequenceNumber, 2, type: :uint64
field :IsSuccess, 3, type: :bool
field :HasConstraintViolations, 4, type: :bool
field :HasConcurrencyViolations, 5, type: :bool
field :HasErrors, 6, type: :bool
field :ConcurrencyCheckPerformed, 7, type: :bool
field :ConstraintViolations, 8,
repeated: true,
type: Cratis.Chronicle.Contracts.Sequences.ConstraintViolation
field :Errors, 9, repeated: true, type: :string
field :ConcurrencyViolation, 10, type: Cratis.Chronicle.Contracts.Sequences.ConcurrencyViolation
end
defmodule Cratis.Chronicle.Contracts.Sequences.AppendedEventResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Id, 1, type: :string
field :Context, 2, type: Cratis.Chronicle.Contracts.Sequences.EventContext
field :Content, 3, type: :string
field :OriginalContent, 4, type: :string
field :Revisions, 5, repeated: true, type: Cratis.Chronicle.Contracts.Sequences.EventRevision
field :GenerationalContent, 6,
repeated: true,
type: Cratis.Chronicle.Contracts.Sequences.KeyValuePair_Int32_String
end
defmodule Cratis.Chronicle.Contracts.Sequences.AppendedEventsRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 2, type: :string
field :Namespace, 3, type: :string
field :EventSequenceId, 4, type: :string
field :EventSourceId, 5, type: :string
end
defmodule Cratis.Chronicle.Contracts.Sequences.Causation.PropertiesEntry do
@moduledoc false
use Protobuf, map: true, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :key, 1, type: :string
field :value, 2, type: :string
end
defmodule Cratis.Chronicle.Contracts.Sequences.Causation do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Occurred, 1, type: Cratis.Chronicle.Contracts.Sequences.SerializableDateTimeOffset
field :Type, 2, type: :string
field :Properties, 3,
repeated: true,
type: Cratis.Chronicle.Contracts.Sequences.Causation.PropertiesEntry,
map: true
end
defmodule Cratis.Chronicle.Contracts.Sequences.CommandResult do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :CorrelationId, 1, type: Bcl.Guid
field :IsAuthorized, 2, type: :bool
field :ValidationResults, 3,
repeated: true,
type: Cratis.Chronicle.Contracts.Sequences.ValidationResult
field :ExceptionMessages, 4, repeated: true, type: :string
field :ExceptionStackTrace, 5, type: :string
field :AuthorizationFailureReason, 6, type: :string
end
defmodule Cratis.Chronicle.Contracts.Sequences.CommandResult_AppendManyResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :CorrelationId, 1, type: Bcl.Guid
field :IsAuthorized, 2, type: :bool
field :ValidationResults, 3,
repeated: true,
type: Cratis.Chronicle.Contracts.Sequences.ValidationResult
field :ExceptionMessages, 4, repeated: true, type: :string
field :ExceptionStackTrace, 5, type: :string
field :AuthorizationFailureReason, 6, type: :string
field :Response, 7, type: Cratis.Chronicle.Contracts.Sequences.AppendManyResponse
end
defmodule Cratis.Chronicle.Contracts.Sequences.CommandResult_AppendResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :CorrelationId, 1, type: Bcl.Guid
field :IsAuthorized, 2, type: :bool
field :ValidationResults, 3,
repeated: true,
type: Cratis.Chronicle.Contracts.Sequences.ValidationResult
field :ExceptionMessages, 4, repeated: true, type: :string
field :ExceptionStackTrace, 5, type: :string
field :AuthorizationFailureReason, 6, type: :string
field :Response, 7, type: Cratis.Chronicle.Contracts.Sequences.AppendResponse
end
defmodule Cratis.Chronicle.Contracts.Sequences.CommandResult_CompleteStreamResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :CorrelationId, 1, type: Bcl.Guid
field :IsAuthorized, 2, type: :bool
field :ValidationResults, 3,
repeated: true,
type: Cratis.Chronicle.Contracts.Sequences.ValidationResult
field :ExceptionMessages, 4, repeated: true, type: :string
field :ExceptionStackTrace, 5, type: :string
field :AuthorizationFailureReason, 6, type: :string
field :Response, 7, type: Cratis.Chronicle.Contracts.Sequences.CompleteStreamResponse
end
defmodule Cratis.Chronicle.Contracts.Sequences.CompleteStreamRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 1, type: :string
field :Namespace, 2, type: :string
field :EventSequenceId, 3, type: :string
field :EventStreamType, 4, type: :string
field :EventStreamId, 5, type: :string
end
defmodule Cratis.Chronicle.Contracts.Sequences.CompleteStreamResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :IsSuccess, 1, type: :bool
field :SequenceNumber, 2, type: :uint64
field :Error, 3, type: Cratis.Chronicle.Contracts.Sequences.CompleteStreamError, enum: true
end
defmodule Cratis.Chronicle.Contracts.Sequences.ConcurrencyScope do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :SequenceNumber, 1, type: :uint64
field :EventSourceId, 2, type: :bool
field :EventStreamType, 3, type: :string
field :EventStreamId, 4, type: :string
field :EventSourceType, 5, type: :string
field :EventTypes, 6, repeated: true, type: Cratis.Chronicle.Contracts.Sequences.EventType
field :ExpectsNoMatchingEvent, 7, type: :bool
end
defmodule Cratis.Chronicle.Contracts.Sequences.ConcurrencyViolation do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventSourceId, 1, type: :string
field :ExpectedSequenceNumber, 2, type: :uint64
field :ActualSequenceNumber, 3, type: :uint64
end
defmodule Cratis.Chronicle.Contracts.Sequences.ConstraintViolation.DetailsEntry do
@moduledoc false
use Protobuf, map: true, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :key, 1, type: :string
field :value, 2, type: :string
end
defmodule Cratis.Chronicle.Contracts.Sequences.ConstraintViolation do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventTypeId, 1, type: :string
field :SequenceNumber, 2, type: :uint64
field :ConstraintType, 3, type: Cratis.Chronicle.Contracts.Sequences.ConstraintType, enum: true
field :ConstraintName, 4, type: :string
field :Message, 5, type: :string
field :Details, 6,
repeated: true,
type: Cratis.Chronicle.Contracts.Sequences.ConstraintViolation.DetailsEntry,
map: true
end
defmodule Cratis.Chronicle.Contracts.Sequences.EndOfRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Start, 1, type: Cratis.Chronicle.Contracts.Sequences.SerializableDateTimeOffset
field :Resolution, 2, type: Cratis.Chronicle.Contracts.Sequences.HistogramResolution, enum: true
end
defmodule Cratis.Chronicle.Contracts.Sequences.EventContext do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventType, 1, type: Cratis.Chronicle.Contracts.Sequences.EventType
field :EventSourceType, 2, type: :string
field :EventSourceId, 3, type: :string
field :SequenceNumber, 4, type: :uint64
field :EventStreamType, 5, type: :string
field :EventStreamId, 6, type: :string
field :Occurred, 7, type: Cratis.Chronicle.Contracts.Sequences.SerializableDateTimeOffset
field :CorrelationId, 8, type: Bcl.Guid
field :Causation, 9, repeated: true, type: Cratis.Chronicle.Contracts.Sequences.Causation
field :CausedBy, 10, type: Cratis.Chronicle.Contracts.Sequences.Identity
field :Tags, 11, repeated: true, type: :string
field :Hash, 12, type: :string
field :ObservationState, 13,
type: Cratis.Chronicle.Contracts.Sequences.EventObservationState,
enum: true
end
defmodule Cratis.Chronicle.Contracts.Sequences.EventForEventSourceId.ContentEntry do
@moduledoc false
use Protobuf, map: true, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :key, 1, type: :string
field :value, 2, type: Cratis.Chronicle.Contracts.Sequences.JsonNode
end
defmodule Cratis.Chronicle.Contracts.Sequences.EventForEventSourceId do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventSourceId, 1, type: :string
field :EventSourceType, 2, type: :string
field :EventStreamType, 3, type: :string
field :EventStreamId, 4, type: :string
field :EventType, 5, type: Cratis.Chronicle.Contracts.Sequences.EventType
field :Content, 6,
repeated: true,
type: Cratis.Chronicle.Contracts.Sequences.EventForEventSourceId.ContentEntry,
map: true
field :Tags, 7, repeated: true, type: :string
field :Occurred, 8, type: Cratis.Chronicle.Contracts.Sequences.SerializableDateTimeOffset
field :Subject, 9, type: :string
end
defmodule Cratis.Chronicle.Contracts.Sequences.EventRevision do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Generation, 1, type: :uint32
field :CorrelationId, 2, type: :string
field :CausedBy, 3, type: Cratis.Chronicle.Contracts.Sequences.Identity
field :Occurred, 4, type: Cratis.Chronicle.Contracts.Sequences.SerializableDateTimeOffset
field :Content, 5, type: :string
end
defmodule Cratis.Chronicle.Contracts.Sequences.EventSequenceNamesResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Id, 1, type: :string
field :Name, 2, type: :string
end
defmodule Cratis.Chronicle.Contracts.Sequences.EventSequenceTailResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :SequenceNumber, 1, type: :uint64
end
defmodule Cratis.Chronicle.Contracts.Sequences.EventSourceConcurrencyScope do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventSourceId, 1, type: :string
field :Scope, 2, type: Cratis.Chronicle.Contracts.Sequences.ConcurrencyScope
end
defmodule Cratis.Chronicle.Contracts.Sequences.EventSourceEventsResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :HasEvents, 1, type: :bool
end
defmodule Cratis.Chronicle.Contracts.Sequences.EventToAppend.ContentEntry do
@moduledoc false
use Protobuf, map: true, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :key, 1, type: :string
field :value, 2, type: Cratis.Chronicle.Contracts.Sequences.JsonNode
end
defmodule Cratis.Chronicle.Contracts.Sequences.EventToAppend do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventType, 1, type: Cratis.Chronicle.Contracts.Sequences.EventType
field :Content, 2,
repeated: true,
type: Cratis.Chronicle.Contracts.Sequences.EventToAppend.ContentEntry,
map: true
field :Subject, 3, type: :string
end
defmodule Cratis.Chronicle.Contracts.Sequences.EventType do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Id, 1, type: :string
field :Generation, 2, type: :uint32
field :Tombstone, 3, type: :bool
end
defmodule Cratis.Chronicle.Contracts.Sequences.ExportEventsRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 2, type: :string
field :Namespace, 3, type: :string
field :EventSequenceId, 4, type: :string
field :EventSourceId, 5, type: :string
field :EventSourceType, 6, type: :string
field :EventStreamType, 7, type: :string
field :CorrelationId, 8, type: :string
field :EventTypeIds, 9, type: :string
field :Tags, 10, type: :string
field :OccurredFrom, 11, type: Cratis.Chronicle.Contracts.Sequences.SerializableDateTimeOffset
field :OccurredTo, 12, type: Cratis.Chronicle.Contracts.Sequences.SerializableDateTimeOffset
end
defmodule Cratis.Chronicle.Contracts.Sequences.ExportedEventResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :SequenceNumber, 1, type: :uint64
field :EventType, 2, type: :string
field :EventSourceType, 3, type: :string
field :EventSourceId, 4, type: :string
field :EventStreamType, 5, type: :string
field :CorrelationId, 6, type: :string
field :Occurred, 7, type: Cratis.Chronicle.Contracts.Sequences.SerializableDateTimeOffset
field :Tags, 8, repeated: true, type: :string
field :Content, 9, type: :string
end
defmodule Cratis.Chronicle.Contracts.Sequences.ForEventSourceIdAndEventTypesRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 2, type: :string
field :Namespace, 3, type: :string
field :EventSequenceId, 4, type: :string
field :EventSourceId, 5, type: :string
field :EventTypeIds, 6, type: :string
field :EventStreamType, 7, type: :string
field :EventStreamId, 8, type: :string
end
defmodule Cratis.Chronicle.Contracts.Sequences.FromSequenceNumberRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 2, type: :string
field :Namespace, 3, type: :string
field :EventSequenceId, 4, type: :string
field :FromEventSequenceNumber, 5, type: :uint64
field :EventSourceId, 6, type: :string
field :EventTypeIds, 7, type: :string
end
defmodule Cratis.Chronicle.Contracts.Sequences.HasEventsForEventSourceIdRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 1, type: :string
field :Namespace, 2, type: :string
field :EventSequenceId, 3, type: :string
field :EventSourceId, 4, type: :string
end
defmodule Cratis.Chronicle.Contracts.Sequences.Identity do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Subject, 1, type: :string
field :Name, 2, type: :string
field :UserName, 3, type: :string
field :OnBehalfOf, 4, type: Cratis.Chronicle.Contracts.Sequences.Identity
end
defmodule Cratis.Chronicle.Contracts.Sequences.JsonNode do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
end
defmodule Cratis.Chronicle.Contracts.Sequences.KeyValuePair_Int32_String do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Key, 1, type: :int32
field :Value, 2, type: :string
end
defmodule Cratis.Chronicle.Contracts.Sequences.ParseResolutionRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Resolution, 1, type: :string
end
defmodule Cratis.Chronicle.Contracts.Sequences.QueryEventsRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 2, type: :string
field :Namespace, 3, type: :string
field :EventSequenceId, 4, type: :string
field :EventSourceId, 5, type: :string
field :EventSourceType, 6, type: :string
field :EventStreamType, 7, type: :string
field :CorrelationId, 8, type: :string
field :EventTypeIds, 9, type: :string
field :Tags, 10, type: :string
field :OccurredFrom, 11, type: Cratis.Chronicle.Contracts.Sequences.SerializableDateTimeOffset
field :OccurredTo, 12, type: Cratis.Chronicle.Contracts.Sequences.SerializableDateTimeOffset
end
defmodule Cratis.Chronicle.Contracts.Sequences.QueryResult_EventSequenceTailResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :CorrelationId, 1, type: Bcl.Guid
field :IsAuthorized, 2, type: :bool
field :ValidationResults, 3,
repeated: true,
type: Cratis.Chronicle.Contracts.Sequences.ValidationResult
field :ExceptionMessages, 4, repeated: true, type: :string
field :ExceptionStackTrace, 5, type: :string
field :Data, 6, type: Cratis.Chronicle.Contracts.Sequences.EventSequenceTailResponse
end
defmodule Cratis.Chronicle.Contracts.Sequences.QueryResult_EventSourceEventsResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :CorrelationId, 1, type: Bcl.Guid
field :IsAuthorized, 2, type: :bool
field :ValidationResults, 3,
repeated: true,
type: Cratis.Chronicle.Contracts.Sequences.ValidationResult
field :ExceptionMessages, 4, repeated: true, type: :string
field :ExceptionStackTrace, 5, type: :string
field :Data, 6, type: Cratis.Chronicle.Contracts.Sequences.EventSourceEventsResponse
end
defmodule Cratis.Chronicle.Contracts.Sequences.QueryResult_HistogramResolution do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :CorrelationId, 1, type: Bcl.Guid
field :IsAuthorized, 2, type: :bool
field :ValidationResults, 3,
repeated: true,
type: Cratis.Chronicle.Contracts.Sequences.ValidationResult
field :ExceptionMessages, 4, repeated: true, type: :string
field :ExceptionStackTrace, 5, type: :string
field :Data, 6, type: Cratis.Chronicle.Contracts.Sequences.HistogramResolution, enum: true
end
defmodule Cratis.Chronicle.Contracts.Sequences.QueryResult_IEnumerable_AppendedEventResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :CorrelationId, 1, type: Bcl.Guid
field :IsAuthorized, 2, type: :bool
field :ValidationResults, 3,
repeated: true,
type: Cratis.Chronicle.Contracts.Sequences.ValidationResult
field :ExceptionMessages, 4, repeated: true, type: :string
field :ExceptionStackTrace, 5, type: :string
field :Data, 6, repeated: true, type: Cratis.Chronicle.Contracts.Sequences.AppendedEventResponse
end
defmodule Cratis.Chronicle.Contracts.Sequences.QueryResult_IEnumerable_EventSequenceNamesResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :CorrelationId, 1, type: Bcl.Guid
field :IsAuthorized, 2, type: :bool
field :ValidationResults, 3,
repeated: true,
type: Cratis.Chronicle.Contracts.Sequences.ValidationResult
field :ExceptionMessages, 4, repeated: true, type: :string
field :ExceptionStackTrace, 5, type: :string
field :Data, 6,
repeated: true,
type: Cratis.Chronicle.Contracts.Sequences.EventSequenceNamesResponse
end
defmodule Cratis.Chronicle.Contracts.Sequences.QueryResult_IEnumerable_ExportedEventResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :CorrelationId, 1, type: Bcl.Guid
field :IsAuthorized, 2, type: :bool
field :ValidationResults, 3,
repeated: true,
type: Cratis.Chronicle.Contracts.Sequences.ValidationResult
field :ExceptionMessages, 4, repeated: true, type: :string
field :ExceptionStackTrace, 5, type: :string
field :Data, 6, repeated: true, type: Cratis.Chronicle.Contracts.Sequences.ExportedEventResponse
end
defmodule Cratis.Chronicle.Contracts.Sequences.QueryResult_IEnumerable_SequenceHistogramBucketResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :CorrelationId, 1, type: Bcl.Guid
field :IsAuthorized, 2, type: :bool
field :ValidationResults, 3,
repeated: true,
type: Cratis.Chronicle.Contracts.Sequences.ValidationResult
field :ExceptionMessages, 4, repeated: true, type: :string
field :ExceptionStackTrace, 5, type: :string
field :Data, 6,
repeated: true,
type: Cratis.Chronicle.Contracts.Sequences.SequenceHistogramBucketResponse
end
defmodule Cratis.Chronicle.Contracts.Sequences.QueryResult_SerializableDateTimeOffset do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :CorrelationId, 1, type: Bcl.Guid
field :IsAuthorized, 2, type: :bool
field :ValidationResults, 3,
repeated: true,
type: Cratis.Chronicle.Contracts.Sequences.ValidationResult
field :ExceptionMessages, 4, repeated: true, type: :string
field :ExceptionStackTrace, 5, type: :string
field :Data, 6, type: Cratis.Chronicle.Contracts.Sequences.SerializableDateTimeOffset
end
defmodule Cratis.Chronicle.Contracts.Sequences.RedactForEventSourceRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 1, type: :string
field :Namespace, 2, type: :string
field :EventSequenceId, 3, type: :string
field :EventSourceId, 4, type: :string
field :Reason, 5, type: :string
field :EventTypes, 6, repeated: true, type: :string
field :Causation, 7, repeated: true, type: Cratis.Chronicle.Contracts.Sequences.Causation
field :CausedBy, 8, type: Cratis.Chronicle.Contracts.Sequences.Identity
end
defmodule Cratis.Chronicle.Contracts.Sequences.RedactRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 1, type: :string
field :Namespace, 2, type: :string
field :EventSequenceId, 3, type: :string
field :SequenceNumber, 4, type: :uint64
field :Reason, 5, type: :string
field :Causation, 6, repeated: true, type: Cratis.Chronicle.Contracts.Sequences.Causation
field :CausedBy, 7, type: Cratis.Chronicle.Contracts.Sequences.Identity
end
defmodule Cratis.Chronicle.Contracts.Sequences.ReviseRequest.ContentEntry do
@moduledoc false
use Protobuf, map: true, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :key, 1, type: :string
field :value, 2, type: Cratis.Chronicle.Contracts.Sequences.JsonNode
end
defmodule Cratis.Chronicle.Contracts.Sequences.ReviseRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 1, type: :string
field :Namespace, 2, type: :string
field :EventSequenceId, 3, type: :string
field :SequenceNumber, 4, type: :uint64
field :EventType, 5, type: Cratis.Chronicle.Contracts.Sequences.EventType
field :Content, 6,
repeated: true,
type: Cratis.Chronicle.Contracts.Sequences.ReviseRequest.ContentEntry,
map: true
field :Causation, 7, repeated: true, type: Cratis.Chronicle.Contracts.Sequences.Causation
field :CausedBy, 8, type: Cratis.Chronicle.Contracts.Sequences.Identity
end
defmodule Cratis.Chronicle.Contracts.Sequences.SequenceHistogramBucketResponse do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :From, 1, type: Cratis.Chronicle.Contracts.Sequences.SerializableDateTimeOffset
field :To, 2, type: Cratis.Chronicle.Contracts.Sequences.SerializableDateTimeOffset
field :Count, 3, type: :int64
end
defmodule Cratis.Chronicle.Contracts.Sequences.SequenceHistogramRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 1, type: :string
field :Namespace, 2, type: :string
field :EventSequenceId, 3, type: :string
field :Resolution, 4, type: :string
field :EventSourceId, 5, type: :string
field :EventSourceType, 6, type: :string
field :EventStreamType, 7, type: :string
field :CorrelationId, 8, type: :string
field :EventTypeIds, 9, type: :string
field :Tags, 10, type: :string
field :OccurredFrom, 11, type: Cratis.Chronicle.Contracts.Sequences.SerializableDateTimeOffset
field :OccurredTo, 12, type: Cratis.Chronicle.Contracts.Sequences.SerializableDateTimeOffset
end
defmodule Cratis.Chronicle.Contracts.Sequences.SerializableDateTimeOffset do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Value, 1, type: :string
end
defmodule Cratis.Chronicle.Contracts.Sequences.TailSequenceNumberRequest do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :EventStore, 1, type: :string
field :Namespace, 2, type: :string
field :EventSequenceId, 3, type: :string
field :EventTypeIds, 4, type: :string
field :EventSourceId, 5, type: :string
field :EventSourceType, 6, type: :string
field :EventStreamId, 7, type: :string
field :EventStreamType, 8, type: :string
end
defmodule Cratis.Chronicle.Contracts.Sequences.ValidationResult do
@moduledoc false
use Protobuf, protoc_gen_elixir_version: "0.17.0", syntax: :proto3
field :Severity, 1,
type: Cratis.Chronicle.Contracts.Sequences.ValidationResultSeverity,
enum: true
field :Message, 2, type: :string
field :Members, 3, repeated: true, type: :string
end
defmodule Cratis.Chronicle.Contracts.Sequences.EventSequences.Service do
@moduledoc false
use GRPC.Service,
name: "Cratis.Chronicle.Contracts.Sequences.EventSequences",
protoc_gen_elixir_version: "0.17.0"
rpc :AllEventSequences,
Cratis.Chronicle.Contracts.Sequences.AllEventSequencesRequest,
Cratis.Chronicle.Contracts.Sequences.QueryResult_IEnumerable_EventSequenceNamesResponse
rpc :Append,
Cratis.Chronicle.Contracts.Sequences.AppendRequest,
Cratis.Chronicle.Contracts.Sequences.CommandResult_AppendResponse
rpc :AppendedEvents,
Cratis.Chronicle.Contracts.Sequences.AppendedEventsRequest,
Cratis.Chronicle.Contracts.Sequences.QueryResult_IEnumerable_AppendedEventResponse
rpc :AppendMany,
Cratis.Chronicle.Contracts.Sequences.AppendManyRequest,
Cratis.Chronicle.Contracts.Sequences.CommandResult_AppendManyResponse
rpc :AppendManyForEventSources,
Cratis.Chronicle.Contracts.Sequences.AppendManyForEventSourcesRequest,
Cratis.Chronicle.Contracts.Sequences.CommandResult_AppendManyResponse
rpc :CompleteStream,
Cratis.Chronicle.Contracts.Sequences.CompleteStreamRequest,
Cratis.Chronicle.Contracts.Sequences.CommandResult_CompleteStreamResponse
rpc :EndOf,
Cratis.Chronicle.Contracts.Sequences.EndOfRequest,
Cratis.Chronicle.Contracts.Sequences.QueryResult_SerializableDateTimeOffset
rpc :ExportEvents,
Cratis.Chronicle.Contracts.Sequences.ExportEventsRequest,
Cratis.Chronicle.Contracts.Sequences.QueryResult_IEnumerable_ExportedEventResponse
rpc :ForEventSourceIdAndEventTypes,
Cratis.Chronicle.Contracts.Sequences.ForEventSourceIdAndEventTypesRequest,
Cratis.Chronicle.Contracts.Sequences.QueryResult_IEnumerable_AppendedEventResponse
rpc :FromSequenceNumber,
Cratis.Chronicle.Contracts.Sequences.FromSequenceNumberRequest,
Cratis.Chronicle.Contracts.Sequences.QueryResult_IEnumerable_AppendedEventResponse
rpc :HasEventsForEventSourceId,
Cratis.Chronicle.Contracts.Sequences.HasEventsForEventSourceIdRequest,
Cratis.Chronicle.Contracts.Sequences.QueryResult_EventSourceEventsResponse
rpc :ParseResolution,
Cratis.Chronicle.Contracts.Sequences.ParseResolutionRequest,
Cratis.Chronicle.Contracts.Sequences.QueryResult_HistogramResolution
rpc :QueryEvents,
Cratis.Chronicle.Contracts.Sequences.QueryEventsRequest,
Cratis.Chronicle.Contracts.Sequences.QueryResult_IEnumerable_AppendedEventResponse
rpc :Redact,
Cratis.Chronicle.Contracts.Sequences.RedactRequest,
Cratis.Chronicle.Contracts.Sequences.CommandResult
rpc :RedactForEventSource,
Cratis.Chronicle.Contracts.Sequences.RedactForEventSourceRequest,
Cratis.Chronicle.Contracts.Sequences.CommandResult
rpc :Revise,
Cratis.Chronicle.Contracts.Sequences.ReviseRequest,
Cratis.Chronicle.Contracts.Sequences.CommandResult
rpc :SequenceHistogram,
Cratis.Chronicle.Contracts.Sequences.SequenceHistogramRequest,
Cratis.Chronicle.Contracts.Sequences.QueryResult_IEnumerable_SequenceHistogramBucketResponse
rpc :TailSequenceNumber,
Cratis.Chronicle.Contracts.Sequences.TailSequenceNumberRequest,
Cratis.Chronicle.Contracts.Sequences.QueryResult_EventSequenceTailResponse
end
defmodule Cratis.Chronicle.Contracts.Sequences.EventSequences.Stub do
@moduledoc false
use GRPC.Stub, service: Cratis.Chronicle.Contracts.Sequences.EventSequences.Service
end