Current section
Files
Jump to
Current section
Files
lib/ada/v1/signals.pb.ex
defmodule Ada.V1.SignalType do
@moduledoc false
use Protobuf,
enum: true,
full_name: "ada.v1.SignalType",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:SIGNAL_TYPE_UNSPECIFIED, 0)
field(:SIGNAL_TYPE_MEMORY_COMMITMENT_DUE_SOON, 1)
field(:SIGNAL_TYPE_MEMORY_ACTION_ITEM_DUE_SOON, 2)
field(:SIGNAL_TYPE_MEMORY_COMMITMENT_BROKEN, 3)
field(:SIGNAL_TYPE_MEMORY_ACTION_ITEM_OVERDUE, 4)
field(:SIGNAL_TYPE_MEMORY_INTENTION_TRIGGERED, 5)
field(:SIGNAL_TYPE_MEMORY_INTENTION_EXPIRING_SOON, 6)
field(:SIGNAL_TYPE_MEMORY_INTENTION_EXPIRED, 7)
field(:SIGNAL_TYPE_MEMORY_CONTRADICTION_CREATED, 8)
field(:SIGNAL_TYPE_MEMORY_CONTRADICTION_ESCALATED, 9)
field(:SIGNAL_TYPE_TENSION_EMERGED, 10)
field(:SIGNAL_TYPE_TENSION_ESCALATED, 11)
field(:SIGNAL_TYPE_TRAJECTORY_DETERIORATED, 12)
field(:SIGNAL_TYPE_ROUTINE_BROKEN, 13)
end
defmodule Ada.V1.SignalSeverity do
@moduledoc false
use Protobuf,
enum: true,
full_name: "ada.v1.SignalSeverity",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:SIGNAL_SEVERITY_UNSPECIFIED, 0)
field(:SIGNAL_SEVERITY_INFORMATIONAL, 1)
field(:SIGNAL_SEVERITY_IMPORTANT, 2)
field(:SIGNAL_SEVERITY_URGENT, 3)
end
defmodule Ada.V1.SignalRefType do
@moduledoc false
use Protobuf,
enum: true,
full_name: "ada.v1.SignalRefType",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:SIGNAL_REF_TYPE_UNSPECIFIED, 0)
field(:SIGNAL_REF_TYPE_ENTITY, 1)
field(:SIGNAL_REF_TYPE_COMMITMENT, 2)
field(:SIGNAL_REF_TYPE_ACTION_ITEM, 3)
field(:SIGNAL_REF_TYPE_INTENTION, 4)
field(:SIGNAL_REF_TYPE_CONTRADICTION, 5)
field(:SIGNAL_REF_TYPE_KNOWLEDGE, 6)
field(:SIGNAL_REF_TYPE_TENSION, 7)
field(:SIGNAL_REF_TYPE_TRAJECTORY, 8)
field(:SIGNAL_REF_TYPE_ROUTINE, 9)
field(:SIGNAL_REF_TYPE_COMMUNITY, 10)
field(:SIGNAL_REF_TYPE_DOCUMENT, 11)
end
defmodule Ada.V1.SignalRef do
@moduledoc false
use Protobuf,
full_name: "ada.v1.SignalRef",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:type, 1, type: Ada.V1.SignalRefType, enum: true)
field(:id, 2, type: :string)
field(:label, 3, type: :string)
end
defmodule Ada.V1.SourceMessageRef do
@moduledoc false
use Protobuf,
full_name: "ada.v1.SourceMessageRef",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:id, 1, type: :string)
end
defmodule Ada.V1.DueSignalAttributes do
@moduledoc false
use Protobuf,
full_name: "ada.v1.DueSignalAttributes",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:due_at, 1, type: Google.Protobuf.Timestamp, json_name: "dueAt")
field(:timezone, 2, type: :string)
field(:due_bucket, 3, type: :string, json_name: "dueBucket")
field(:due_window_seconds, 4, type: :int64, json_name: "dueWindowSeconds")
field(:due_in_seconds, 5, type: :int64, json_name: "dueInSeconds")
field(:remaining_seconds, 6, type: :int64, json_name: "remainingSeconds")
field(:reminder_offset_seconds, 7, type: :int64, json_name: "reminderOffsetSeconds")
field(:record_kind, 8, type: :string, json_name: "recordKind")
field(:reminder_source, 9, type: :string, json_name: "reminderSource")
field(:source_id, 10, type: :string, json_name: "sourceId")
field(:source_chunk_id, 11, type: :string, json_name: "sourceChunkId")
field(:message, 12, type: Ada.V1.SourceMessageRef)
field(:status, 13, type: :string)
field(:version, 14, type: :int64)
field(:maker_id, 15, type: :string, json_name: "makerId")
field(:receiver_id, 16, type: :string, json_name: "receiverId")
field(:owner_id, 17, type: :string, json_name: "ownerId")
end
defmodule Ada.V1.IntentionSignalAttributes do
@moduledoc false
use Protobuf,
full_name: "ada.v1.IntentionSignalAttributes",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:expires_at, 1, type: Google.Protobuf.Timestamp, json_name: "expiresAt")
field(:timezone, 2, type: :string)
field(:reminder_source, 3, type: :string, json_name: "reminderSource")
field(:owner_id, 4, type: :string, json_name: "ownerId")
field(:status, 5, type: :string)
field(:version, 6, type: :int64)
field(:source_id, 7, type: :string, json_name: "sourceId")
field(:source_chunk_id, 8, type: :string, json_name: "sourceChunkId")
field(:due_bucket, 9, type: :string, json_name: "dueBucket")
field(:due_window_seconds, 10, type: :int64, json_name: "dueWindowSeconds")
field(:due_in_seconds, 11, type: :int64, json_name: "dueInSeconds")
field(:remaining_seconds, 12, type: :int64, json_name: "remainingSeconds")
field(:reminder_offset_seconds, 13, type: :int64, json_name: "reminderOffsetSeconds")
end
defmodule Ada.V1.SignalEvidence do
@moduledoc false
use Protobuf,
full_name: "ada.v1.SignalEvidence",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:text, 1, type: :string)
field(:source_id, 2, type: :string, json_name: "sourceId")
end
defmodule Ada.V1.ContradictionSignalAttributes do
@moduledoc false
use Protobuf,
full_name: "ada.v1.ContradictionSignalAttributes",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:title, 1, type: :string)
field(:body, 2, type: :string)
field(:recurrence_key, 3, type: :string, json_name: "recurrenceKey")
field(:recurrence_count, 4, type: :int64, json_name: "recurrenceCount")
field(:suppressed_count, 5, type: :int64, json_name: "suppressedCount")
field(:first_seen_at, 6, type: Google.Protobuf.Timestamp, json_name: "firstSeenAt")
field(:last_seen_at, 7, type: Google.Protobuf.Timestamp, json_name: "lastSeenAt")
field(:subject_label, 8, type: :string, json_name: "subjectLabel")
field(:reason, 9, type: :string)
field(:evidence, 10, repeated: true, type: Ada.V1.SignalEvidence)
field(:kind, 11, type: :string)
field(:classification, 12, type: :string)
field(:subject, 13, type: :string)
field(:predicate, 14, type: :string)
field(:winner_id, 15, type: :string, json_name: "winnerId")
field(:loser_id, 16, type: :string, json_name: "loserId")
field(:detected_at, 17, type: Google.Protobuf.Timestamp, json_name: "detectedAt")
field(:status, 18, type: :string)
field(:version, 19, type: :int64)
end
defmodule Ada.V1.TensionSignalAttributes do
@moduledoc false
use Protobuf,
full_name: "ada.v1.TensionSignalAttributes",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:title, 1, type: :string)
field(:body, 2, type: :string)
field(:recurrence_key, 3, type: :string, json_name: "recurrenceKey")
field(:recurrence_count, 4, type: :int64, json_name: "recurrenceCount")
field(:suppressed_count, 5, type: :int64, json_name: "suppressedCount")
field(:first_seen_at, 6, type: Google.Protobuf.Timestamp, json_name: "firstSeenAt")
field(:last_seen_at, 7, type: Google.Protobuf.Timestamp, json_name: "lastSeenAt")
field(:subject_label, 8, type: :string, json_name: "subjectLabel")
field(:reason, 9, type: :string)
field(:subject_type, 10, type: :string, json_name: "subjectType")
field(:subject_id, 11, type: :string, json_name: "subjectId")
field(:theme, 12, type: :string)
field(:severity, 13, type: :string)
field(:previous_severity, 14, type: :string, json_name: "previousSeverity")
field(:status, 15, type: :string)
field(:occurrence_count, 16, type: :int64, json_name: "occurrenceCount")
field(:unresolved_count, 17, type: :int64, json_name: "unresolvedCount")
field(:detected_at, 18, type: Google.Protobuf.Timestamp, json_name: "detectedAt")
field(:version, 19, type: :int64)
end
defmodule Ada.V1.TrajectorySignalAttributes do
@moduledoc false
use Protobuf,
full_name: "ada.v1.TrajectorySignalAttributes",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:subject_type, 1, type: :string, json_name: "subjectType")
field(:subject_id, 2, type: :string, json_name: "subjectId")
field(:metric, 3, type: :string)
field(:direction, 4, type: :string)
field(:status, 5, type: :string)
field(:change_ratio, 6, type: :double, json_name: "changeRatio")
field(:window_start, 7, type: Google.Protobuf.Timestamp, json_name: "windowStart")
field(:window_end, 8, type: Google.Protobuf.Timestamp, json_name: "windowEnd")
field(:version, 9, type: :int64)
end
defmodule Ada.V1.RoutineSignalAttributes do
@moduledoc false
use Protobuf,
full_name: "ada.v1.RoutineSignalAttributes",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:subject_type, 1, type: :string, json_name: "subjectType")
field(:subject_id, 2, type: :string, json_name: "subjectId")
field(:routine_key, 3, type: :string, json_name: "routineKey")
field(:status, 4, type: :string)
field(:occurrence_count, 5, type: :int64, json_name: "occurrenceCount")
field(:last_observed_at, 6, type: Google.Protobuf.Timestamp, json_name: "lastObservedAt")
field(:version, 7, type: :int64)
end
defmodule Ada.V1.MemoryCommitmentDueSoon do
@moduledoc false
use Protobuf,
full_name: "ada.v1.MemoryCommitmentDueSoon",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:attributes, 1, type: Ada.V1.DueSignalAttributes)
end
defmodule Ada.V1.MemoryActionItemDueSoon do
@moduledoc false
use Protobuf,
full_name: "ada.v1.MemoryActionItemDueSoon",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:attributes, 1, type: Ada.V1.DueSignalAttributes)
end
defmodule Ada.V1.MemoryCommitmentBroken do
@moduledoc false
use Protobuf,
full_name: "ada.v1.MemoryCommitmentBroken",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:attributes, 1, type: Ada.V1.DueSignalAttributes)
end
defmodule Ada.V1.MemoryActionItemOverdue do
@moduledoc false
use Protobuf,
full_name: "ada.v1.MemoryActionItemOverdue",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:attributes, 1, type: Ada.V1.DueSignalAttributes)
end
defmodule Ada.V1.MemoryIntentionTriggered do
@moduledoc false
use Protobuf,
full_name: "ada.v1.MemoryIntentionTriggered",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:attributes, 1, type: Ada.V1.IntentionSignalAttributes)
end
defmodule Ada.V1.MemoryIntentionExpiringSoon do
@moduledoc false
use Protobuf,
full_name: "ada.v1.MemoryIntentionExpiringSoon",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:attributes, 1, type: Ada.V1.IntentionSignalAttributes)
end
defmodule Ada.V1.MemoryIntentionExpired do
@moduledoc false
use Protobuf,
full_name: "ada.v1.MemoryIntentionExpired",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:attributes, 1, type: Ada.V1.IntentionSignalAttributes)
end
defmodule Ada.V1.MemoryContradictionCreated do
@moduledoc false
use Protobuf,
full_name: "ada.v1.MemoryContradictionCreated",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:attributes, 1, type: Ada.V1.ContradictionSignalAttributes)
end
defmodule Ada.V1.MemoryContradictionEscalated do
@moduledoc false
use Protobuf,
full_name: "ada.v1.MemoryContradictionEscalated",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:attributes, 1, type: Ada.V1.ContradictionSignalAttributes)
end
defmodule Ada.V1.TensionEmerged do
@moduledoc false
use Protobuf,
full_name: "ada.v1.TensionEmerged",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:attributes, 1, type: Ada.V1.TensionSignalAttributes)
end
defmodule Ada.V1.TensionEscalated do
@moduledoc false
use Protobuf,
full_name: "ada.v1.TensionEscalated",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:attributes, 1, type: Ada.V1.TensionSignalAttributes)
end
defmodule Ada.V1.TrajectoryDeteriorated do
@moduledoc false
use Protobuf,
full_name: "ada.v1.TrajectoryDeteriorated",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:attributes, 1, type: Ada.V1.TrajectorySignalAttributes)
end
defmodule Ada.V1.RoutineBroken do
@moduledoc false
use Protobuf,
full_name: "ada.v1.RoutineBroken",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:attributes, 1, type: Ada.V1.RoutineSignalAttributes)
end
defmodule Ada.V1.SignalEvent do
@moduledoc false
use Protobuf,
full_name: "ada.v1.SignalEvent",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
oneof(:signal, 0)
field(:id, 1, type: :string)
field(:spec_version, 2, type: :int32, json_name: "specVersion")
field(:occurred_at, 4, type: Google.Protobuf.Timestamp, json_name: "occurredAt")
field(:principal_id, 5, type: :string, json_name: "principalId")
field(:subject, 6, type: Ada.V1.SignalRef)
field(:summary, 7, type: :string)
field(:severity, 8, type: Ada.V1.SignalSeverity, enum: true)
field(:refs, 10, repeated: true, type: Ada.V1.SignalRef)
field(:dedupe_key, 11, type: :string, json_name: "dedupeKey")
field(:memory_commitment_due_soon, 20,
type: Ada.V1.MemoryCommitmentDueSoon,
json_name: "memoryCommitmentDueSoon",
oneof: 0
)
field(:memory_action_item_due_soon, 21,
type: Ada.V1.MemoryActionItemDueSoon,
json_name: "memoryActionItemDueSoon",
oneof: 0
)
field(:memory_commitment_broken, 22,
type: Ada.V1.MemoryCommitmentBroken,
json_name: "memoryCommitmentBroken",
oneof: 0
)
field(:memory_action_item_overdue, 23,
type: Ada.V1.MemoryActionItemOverdue,
json_name: "memoryActionItemOverdue",
oneof: 0
)
field(:memory_intention_triggered, 24,
type: Ada.V1.MemoryIntentionTriggered,
json_name: "memoryIntentionTriggered",
oneof: 0
)
field(:memory_intention_expiring_soon, 25,
type: Ada.V1.MemoryIntentionExpiringSoon,
json_name: "memoryIntentionExpiringSoon",
oneof: 0
)
field(:memory_intention_expired, 26,
type: Ada.V1.MemoryIntentionExpired,
json_name: "memoryIntentionExpired",
oneof: 0
)
field(:memory_contradiction_created, 27,
type: Ada.V1.MemoryContradictionCreated,
json_name: "memoryContradictionCreated",
oneof: 0
)
field(:memory_contradiction_escalated, 28,
type: Ada.V1.MemoryContradictionEscalated,
json_name: "memoryContradictionEscalated",
oneof: 0
)
field(:tension_emerged, 29, type: Ada.V1.TensionEmerged, json_name: "tensionEmerged", oneof: 0)
field(:tension_escalated, 30,
type: Ada.V1.TensionEscalated,
json_name: "tensionEscalated",
oneof: 0
)
field(:trajectory_deteriorated, 31,
type: Ada.V1.TrajectoryDeteriorated,
json_name: "trajectoryDeteriorated",
oneof: 0
)
field(:routine_broken, 32, type: Ada.V1.RoutineBroken, json_name: "routineBroken", oneof: 0)
end
defmodule Ada.V1.SignalStreamEvent do
@moduledoc false
use Protobuf,
full_name: "ada.v1.SignalStreamEvent",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:cursor, 1, type: :string)
field(:signal, 2, type: Ada.V1.SignalEvent)
end
defmodule Ada.V1.StreamSignalsRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.StreamSignalsRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:event_types, 1,
repeated: true,
type: Ada.V1.SignalType,
json_name: "eventTypes",
enum: true
)
field(:after_event_id, 2, type: :string, json_name: "afterEventId")
field(:replay_limit, 3, type: :int32, json_name: "replayLimit")
field(:principal_id, 100, type: :string, json_name: "principalId")
field(:scope_mode, 101, type: Ada.V1.StreamScopeMode, json_name: "scopeMode", enum: true)
end
defmodule Ada.V1.GetSignalCatalogRequest do
@moduledoc false
use Protobuf,
full_name: "ada.v1.GetSignalCatalogRequest",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
end
defmodule Ada.V1.GetSignalCatalogResponse do
@moduledoc false
use Protobuf,
full_name: "ada.v1.GetSignalCatalogResponse",
protoc_gen_elixir_version: "0.17.0",
syntax: :proto3
field(:event_types, 1,
repeated: true,
type: Ada.V1.SignalType,
json_name: "eventTypes",
enum: true
)
end
defmodule Ada.V1.SignalService.Service do
@moduledoc false
use GRPC.Service, name: "ada.v1.SignalService", protoc_gen_elixir_version: "0.17.0"
rpc(:StreamSignals, Ada.V1.StreamSignalsRequest, stream(Ada.V1.SignalStreamEvent))
rpc(:GetSignalCatalog, Ada.V1.GetSignalCatalogRequest, Ada.V1.GetSignalCatalogResponse)
end
defmodule Ada.V1.SignalService.Stub do
@moduledoc false
use GRPC.Stub, service: Ada.V1.SignalService.Service
end