@stigmer/protos 3.5.3 → 3.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/ai/stigmer/agentic/agentchannel/v1/conversation_command_connect.d.ts +141 -0
  2. package/ai/stigmer/agentic/agentchannel/v1/conversation_command_connect.js +149 -0
  3. package/ai/stigmer/agentic/agentchannel/v1/conversation_command_connect.js.map +1 -0
  4. package/ai/stigmer/agentic/agentchannel/v1/conversation_command_pb.d.ts +140 -0
  5. package/ai/stigmer/agentic/agentchannel/v1/conversation_command_pb.js +34 -0
  6. package/ai/stigmer/agentic/agentchannel/v1/conversation_command_pb.js.map +1 -0
  7. package/ai/stigmer/agentic/agentchannel/v1/conversation_io_pb.d.ts +541 -0
  8. package/ai/stigmer/agentic/agentchannel/v1/conversation_io_pb.js +181 -0
  9. package/ai/stigmer/agentic/agentchannel/v1/conversation_io_pb.js.map +1 -0
  10. package/ai/stigmer/agentic/agentchannel/v1/conversation_query_connect.d.ts +69 -0
  11. package/ai/stigmer/agentic/agentchannel/v1/conversation_query_connect.js +76 -0
  12. package/ai/stigmer/agentic/agentchannel/v1/conversation_query_connect.js.map +1 -0
  13. package/ai/stigmer/agentic/agentchannel/v1/conversation_query_pb.d.ts +70 -0
  14. package/ai/stigmer/agentic/agentchannel/v1/conversation_query_pb.js +30 -0
  15. package/ai/stigmer/agentic/agentchannel/v1/conversation_query_pb.js.map +1 -0
  16. package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.d.ts +36 -2
  17. package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.js +18 -2
  18. package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.js.map +1 -1
  19. package/ai/stigmer/agentic/agentchannel/v1/message_io_pb.d.ts +90 -0
  20. package/ai/stigmer/agentic/agentchannel/v1/message_io_pb.js +16 -1
  21. package/ai/stigmer/agentic/agentchannel/v1/message_io_pb.js.map +1 -1
  22. package/ai/stigmer/agentic/agentchannel/v1/message_query_connect.d.ts +27 -0
  23. package/ai/stigmer/agentic/agentchannel/v1/message_query_connect.js +28 -1
  24. package/ai/stigmer/agentic/agentchannel/v1/message_query_connect.js.map +1 -1
  25. package/ai/stigmer/agentic/agentchannel/v1/message_query_pb.d.ts +27 -1
  26. package/ai/stigmer/agentic/agentchannel/v1/message_query_pb.js +1 -1
  27. package/ai/stigmer/agentic/agentchannel/v1/message_query_pb.js.map +1 -1
  28. package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.d.ts +142 -6
  29. package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.js +94 -5
  30. package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.js.map +1 -1
  31. package/ai/stigmer/agentic/agentchannel/v1/spec_pb.d.ts +25 -0
  32. package/ai/stigmer/agentic/agentchannel/v1/spec_pb.js +2 -1
  33. package/ai/stigmer/agentic/agentchannel/v1/spec_pb.js.map +1 -1
  34. package/ai/stigmer/agentic/agentexecution/v1/api_pb.d.ts +5 -1
  35. package/ai/stigmer/agentic/agentexecution/v1/api_pb.js.map +1 -1
  36. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.d.ts +66 -0
  37. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js +81 -14
  38. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js.map +1 -1
  39. package/ai/stigmer/agentic/agentexecution/v1/invocation_pb.d.ts +210 -0
  40. package/ai/stigmer/agentic/agentexecution/v1/invocation_pb.js +25 -0
  41. package/ai/stigmer/agentic/agentexecution/v1/invocation_pb.js.map +1 -0
  42. package/ai/stigmer/agentic/agentexecution/v1/io_pb.d.ts +17 -0
  43. package/ai/stigmer/agentic/agentexecution/v1/io_pb.js +1 -1
  44. package/ai/stigmer/agentic/agentexecution/v1/io_pb.js.map +1 -1
  45. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.d.ts +13 -1
  46. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js +1 -1
  47. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js.map +1 -1
  48. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.d.ts +33 -1
  49. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js +2 -1
  50. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js.map +1 -1
  51. package/ai/stigmer/agentic/agentshare/v1/spec_pb.d.ts +27 -0
  52. package/ai/stigmer/agentic/agentshare/v1/spec_pb.js +2 -1
  53. package/ai/stigmer/agentic/agentshare/v1/spec_pb.js.map +1 -1
  54. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.d.ts +26 -0
  55. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js.map +1 -1
  56. package/ai/stigmer/agentic/schedule/v1/api_pb.d.ts +68 -0
  57. package/ai/stigmer/agentic/schedule/v1/api_pb.js +18 -0
  58. package/ai/stigmer/agentic/schedule/v1/api_pb.js.map +1 -0
  59. package/ai/stigmer/agentic/schedule/v1/command_connect.d.ts +189 -0
  60. package/ai/stigmer/agentic/schedule/v1/command_connect.js +197 -0
  61. package/ai/stigmer/agentic/schedule/v1/command_connect.js.map +1 -0
  62. package/ai/stigmer/agentic/schedule/v1/command_pb.d.ts +187 -0
  63. package/ai/stigmer/agentic/schedule/v1/command_pb.js +19 -0
  64. package/ai/stigmer/agentic/schedule/v1/command_pb.js.map +1 -0
  65. package/ai/stigmer/agentic/schedule/v1/io_pb.d.ts +387 -0
  66. package/ai/stigmer/agentic/schedule/v1/io_pb.js +150 -0
  67. package/ai/stigmer/agentic/schedule/v1/io_pb.js.map +1 -0
  68. package/ai/stigmer/agentic/schedule/v1/query_connect.d.ts +103 -0
  69. package/ai/stigmer/agentic/schedule/v1/query_connect.js +112 -0
  70. package/ai/stigmer/agentic/schedule/v1/query_connect.js.map +1 -0
  71. package/ai/stigmer/agentic/schedule/v1/query_pb.d.ts +103 -0
  72. package/ai/stigmer/agentic/schedule/v1/query_pb.js +25 -0
  73. package/ai/stigmer/agentic/schedule/v1/query_pb.js.map +1 -0
  74. package/ai/stigmer/agentic/schedule/v1/spec_pb.d.ts +132 -0
  75. package/ai/stigmer/agentic/schedule/v1/spec_pb.js +16 -0
  76. package/ai/stigmer/agentic/schedule/v1/spec_pb.js.map +1 -0
  77. package/ai/stigmer/agentic/schedule/v1/status_pb.d.ts +85 -0
  78. package/ai/stigmer/agentic/schedule/v1/status_pb.js +16 -0
  79. package/ai/stigmer/agentic/schedule/v1/status_pb.js.map +1 -0
  80. package/ai/stigmer/agentic/session/v1/enum_pb.d.ts +10 -8
  81. package/ai/stigmer/agentic/session/v1/enum_pb.js +10 -8
  82. package/ai/stigmer/agentic/session/v1/enum_pb.js.map +1 -1
  83. package/ai/stigmer/agentic/session/v1/spec_pb.d.ts +7 -5
  84. package/ai/stigmer/agentic/session/v1/spec_pb.js.map +1 -1
  85. package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.d.ts +123 -104
  86. package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.js +4 -7
  87. package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.js.map +1 -1
  88. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +17 -0
  89. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js +1 -1
  90. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js.map +1 -1
  91. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +6 -0
  92. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +7 -1
  93. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
  94. package/ai/stigmer/iam/v1/enum_pb.d.ts +31 -2
  95. package/ai/stigmer/iam/v1/enum_pb.js +30 -1
  96. package/ai/stigmer/iam/v1/enum_pb.js.map +1 -1
  97. package/ai/stigmer/platform/v1/server_info_connect.d.ts +6 -4
  98. package/ai/stigmer/platform/v1/server_info_connect.js +6 -4
  99. package/ai/stigmer/platform/v1/server_info_connect.js.map +1 -1
  100. package/ai/stigmer/platform/v1/server_info_pb.d.ts +53 -4
  101. package/ai/stigmer/platform/v1/server_info_pb.js +7 -2
  102. package/ai/stigmer/platform/v1/server_info_pb.js.map +1 -1
  103. package/package.json +1 -1
@@ -0,0 +1,541 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { ChannelDeliveryStatus } from "./delivery_pb.js";
3
+ import type { ChannelOutboundPayload } from "./message_io_pb.js";
4
+ import type { ChannelOutboundOrigin, ChannelReceiptState } from "./outbound_pb.js";
5
+ import type { PageInfo } from "../../../commons/rpc/pagination_pb.js";
6
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
7
+ import type { Message } from "@bufbuild/protobuf";
8
+ /**
9
+ * Describes the file ai/stigmer/agentic/agentchannel/v1/conversation_io.proto.
10
+ */
11
+ export declare const file_ai_stigmer_agentic_agentchannel_v1_conversation_io: GenFile;
12
+ /**
13
+ * ChannelConversation is the durable identity and participation state of
14
+ * one channel conversation: one external customer on one agent channel,
15
+ * spanning sessions.
16
+ *
17
+ * @internal
18
+ * channel-conversations DD-001/DD-003: the Conversation aggregate.
19
+ * Infrastructure aggregate — no kind, no apiVersion (the ChannelDelivery
20
+ * posture) — but WITH a public query/command surface, because the console
21
+ * reads conversations and operates the control token (the
22
+ * ChannelMessageQueryController precedent for channel-scoped public RPCs
23
+ * without a kind). Identity is (agent_channel_id, conversation_key), the
24
+ * same key channel_conversation_binding anchors (DD-013 of
25
+ * agent-channel-integrations); the binding stays a separate aggregate (the
26
+ * session pointer) and never carries participation state. Field ownership
27
+ * is single-writer per DD-003 D-c; last_activity_at is the documented
28
+ * commutative-max exception.
29
+ *
30
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.ChannelConversation
31
+ */
32
+ export type ChannelConversation = Message<"ai.stigmer.agentic.agentchannel.v1.ChannelConversation"> & {
33
+ /**
34
+ * AgentChannel connection this conversation belongs to.
35
+ *
36
+ * @generated from field: string agent_channel_id = 1;
37
+ */
38
+ agentChannelId: string;
39
+ /**
40
+ * Provider-neutral conversation key (WhatsApp: the customer's wa_id).
41
+ *
42
+ * @generated from field: string conversation_key = 2;
43
+ */
44
+ conversationKey: string;
45
+ /**
46
+ * Organization that owns the channel.
47
+ *
48
+ * @internal
49
+ * Denormalized from the channel (its metadata.org) so the org-wide
50
+ * list never joins — the schedule_fire.org precedent.
51
+ *
52
+ * @generated from field: string org = 3;
53
+ */
54
+ org: string;
55
+ /**
56
+ * Who may speak to the customer right now. Defaults to the agent.
57
+ *
58
+ * @generated from field: ai.stigmer.agentic.agentchannel.v1.ConversationControl control = 4;
59
+ */
60
+ control: ConversationControl;
61
+ /**
62
+ * Identity account holding control when control is control_human.
63
+ *
64
+ * @generated from field: string controlled_by = 5;
65
+ */
66
+ controlledBy: string;
67
+ /**
68
+ * When control last changed hands.
69
+ *
70
+ * @generated from field: google.protobuf.Timestamp control_changed_at = 6;
71
+ */
72
+ controlChangedAt?: Timestamp;
73
+ /**
74
+ * True when the conversation is flagged for human attention.
75
+ *
76
+ * @internal
77
+ * DD-008 D-e: a projection of the latest escalation event, updated by
78
+ * the participation writer in the same motion that appends the event.
79
+ * Orthogonal to control (DD-002 D-a #4): takeover clears it, handback
80
+ * never touches it.
81
+ *
82
+ * @generated from field: bool needs_attention = 7;
83
+ */
84
+ needsAttention: boolean;
85
+ /**
86
+ * Why the conversation needs attention, in the escalating agent's words.
87
+ *
88
+ * @generated from field: string attention_reason = 8;
89
+ */
90
+ attentionReason: string;
91
+ /**
92
+ * When the attention flag last changed.
93
+ *
94
+ * @generated from field: google.protobuf.Timestamp attention_changed_at = 9;
95
+ */
96
+ attentionChangedAt?: Timestamp;
97
+ /**
98
+ * Customer display name as the provider reports it (WhatsApp:
99
+ * contacts[].profile.name). Empty until an inbound message carries one.
100
+ *
101
+ * @generated from field: string display_name = 10;
102
+ */
103
+ displayName: string;
104
+ /**
105
+ * When the customer last sent a message.
106
+ *
107
+ * @generated from field: google.protobuf.Timestamp last_customer_message_at = 11;
108
+ */
109
+ lastCustomerMessageAt?: Timestamp;
110
+ /**
111
+ * When anything last happened on the conversation, across all lanes.
112
+ *
113
+ * @generated from field: google.protobuf.Timestamp last_activity_at = 12;
114
+ */
115
+ lastActivityAt?: Timestamp;
116
+ };
117
+ /**
118
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ChannelConversation.
119
+ * Use `create(ChannelConversationSchema)` to create a new message.
120
+ */
121
+ export declare const ChannelConversationSchema: GenMessage<ChannelConversation>;
122
+ /**
123
+ * ConversationTimelineItem is one entry in a conversation's timeline.
124
+ *
125
+ * @internal
126
+ * channel-conversations DD-004: computed on read by stitching four
127
+ * stores — inbound webhook events, reply deliveries (rendered from the
128
+ * same extraction the delivery posted, never from execution transcripts),
129
+ * the outbound ledger, and the internal-lane event store (joined at T03
130
+ * Sitting 4). item_id is source-prefixed ("wa:", "dl:", "ob:", "ev:"),
131
+ * which makes cross-store collisions structurally impossible and gives
132
+ * cursors a total order without a synthetic sequence.
133
+ *
134
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.ConversationTimelineItem
135
+ */
136
+ export type ConversationTimelineItem = Message<"ai.stigmer.agentic.agentchannel.v1.ConversationTimelineItem"> & {
137
+ /**
138
+ * Stable, opaque item identifier.
139
+ *
140
+ * @generated from field: string item_id = 1;
141
+ */
142
+ itemId: string;
143
+ /**
144
+ * Which lane the item is on.
145
+ *
146
+ * @generated from field: ai.stigmer.agentic.agentchannel.v1.ConversationLane lane = 2;
147
+ */
148
+ lane: ConversationLane;
149
+ /**
150
+ * Who authored the item.
151
+ *
152
+ * @generated from field: ai.stigmer.agentic.agentchannel.v1.ConversationItemAuthor author = 3;
153
+ */
154
+ author: ConversationItemAuthor;
155
+ /**
156
+ * Identity account id of the authoring teammate. Empty unless author
157
+ * is author_teammate.
158
+ *
159
+ * @generated from field: string authored_by = 4;
160
+ */
161
+ authoredBy: string;
162
+ /**
163
+ * Rendered text body. Empty when the item has no text (see
164
+ * provider_message_type).
165
+ *
166
+ * @generated from field: string text = 5;
167
+ */
168
+ text: string;
169
+ /**
170
+ * The provider's verbatim message type for inbound items ("text",
171
+ * "image", "audio", "document", ...). Empty on outbound items in v1.
172
+ *
173
+ * @internal
174
+ * channel-conversations DD-004 amendment (T02 planning): non-text
175
+ * inbound is ignored by the reply pipeline today
176
+ * (WhatsAppInboundEventProcessor marks "non_text:<type>"), but the
177
+ * customer still sent it — a handoff timeline that hides it fails the
178
+ * product. Verbatim pass-through, never re-encoded (the DD-004 S-6
179
+ * posture); the UI renders known kinds as placeholders. Media content
180
+ * retrieval is a named non-goal of this slice.
181
+ *
182
+ * @generated from field: string provider_message_type = 6;
183
+ */
184
+ providerMessageType: string;
185
+ /**
186
+ * When the item happened (the source's own event instant).
187
+ *
188
+ * @generated from field: google.protobuf.Timestamp at = 7;
189
+ */
190
+ at?: Timestamp;
191
+ /**
192
+ * Our send attempt's lifecycle, for outbound items (delivery rows and
193
+ * outbound-ledger rows share the vocabulary). Unset on inbound items.
194
+ *
195
+ * @generated from field: ai.stigmer.agentic.agentchannel.v1.ChannelDeliveryStatus delivery_status = 8;
196
+ */
197
+ deliveryStatus: ChannelDeliveryStatus;
198
+ /**
199
+ * The provider's receipt report, for outbound-ledger items. A second
200
+ * axis beside delivery_status — never collapsed into it.
201
+ *
202
+ * @generated from field: ai.stigmer.agentic.agentchannel.v1.ChannelReceiptState receipt_state = 9;
203
+ */
204
+ receiptState: ChannelReceiptState;
205
+ /**
206
+ * Which trust context authorized an outbound-ledger item's send.
207
+ *
208
+ * @generated from field: ai.stigmer.agentic.agentchannel.v1.ChannelOutboundOrigin origin = 10;
209
+ */
210
+ origin: ChannelOutboundOrigin;
211
+ };
212
+ /**
213
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ConversationTimelineItem.
214
+ * Use `create(ConversationTimelineItemSchema)` to create a new message.
215
+ */
216
+ export declare const ConversationTimelineItemSchema: GenMessage<ConversationTimelineItem>;
217
+ /**
218
+ * Input for listing an organization's channel conversations.
219
+ *
220
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.ListChannelConversationsInput
221
+ */
222
+ export type ListChannelConversationsInput = Message<"ai.stigmer.agentic.agentchannel.v1.ListChannelConversationsInput"> & {
223
+ /**
224
+ * Organization whose conversations to list.
225
+ *
226
+ * @generated from field: string org = 1;
227
+ */
228
+ org: string;
229
+ /**
230
+ * Optional filter: only conversations on this agent channel.
231
+ *
232
+ * @generated from field: string agent_channel_id = 2;
233
+ */
234
+ agentChannelId: string;
235
+ /**
236
+ * Pagination options. Conversations are returned newest activity first.
237
+ *
238
+ * @generated from field: ai.stigmer.commons.rpc.PageInfo page_info = 3;
239
+ */
240
+ pageInfo?: PageInfo;
241
+ };
242
+ /**
243
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ListChannelConversationsInput.
244
+ * Use `create(ListChannelConversationsInputSchema)` to create a new message.
245
+ */
246
+ export declare const ListChannelConversationsInputSchema: GenMessage<ListChannelConversationsInput>;
247
+ /**
248
+ * ChannelConversationList contains a page of channel conversations,
249
+ * newest activity first.
250
+ *
251
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.ChannelConversationList
252
+ */
253
+ export type ChannelConversationList = Message<"ai.stigmer.agentic.agentchannel.v1.ChannelConversationList"> & {
254
+ /**
255
+ * Total number of conversations matching the filter.
256
+ *
257
+ * @generated from field: int32 total_count = 1;
258
+ */
259
+ totalCount: number;
260
+ /**
261
+ * Conversations in the current page.
262
+ *
263
+ * @generated from field: repeated ai.stigmer.agentic.agentchannel.v1.ChannelConversation items = 2;
264
+ */
265
+ items: ChannelConversation[];
266
+ };
267
+ /**
268
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ChannelConversationList.
269
+ * Use `create(ChannelConversationListSchema)` to create a new message.
270
+ */
271
+ export declare const ChannelConversationListSchema: GenMessage<ChannelConversationList>;
272
+ /**
273
+ * Input for reading one conversation's timeline.
274
+ *
275
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.GetConversationTimelineInput
276
+ */
277
+ export type GetConversationTimelineInput = Message<"ai.stigmer.agentic.agentchannel.v1.GetConversationTimelineInput"> & {
278
+ /**
279
+ * AgentChannel the conversation belongs to.
280
+ *
281
+ * @generated from field: string agent_channel_id = 1;
282
+ */
283
+ agentChannelId: string;
284
+ /**
285
+ * Conversation key within the channel (WhatsApp: the customer's wa_id).
286
+ *
287
+ * @generated from field: string conversation_key = 2;
288
+ */
289
+ conversationKey: string;
290
+ /**
291
+ * Maximum number of items to return per page. Server may return fewer.
292
+ *
293
+ * @generated from field: int32 page_size = 3;
294
+ */
295
+ pageSize: number;
296
+ /**
297
+ * Opaque cursor from a previous response. Empty for the newest page.
298
+ *
299
+ * @generated from field: string page_token = 4;
300
+ */
301
+ pageToken: string;
302
+ };
303
+ /**
304
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.GetConversationTimelineInput.
305
+ * Use `create(GetConversationTimelineInputSchema)` to create a new message.
306
+ */
307
+ export declare const GetConversationTimelineInputSchema: GenMessage<GetConversationTimelineInput>;
308
+ /**
309
+ * ConversationTimeline contains one page of a conversation's timeline,
310
+ * newest first.
311
+ *
312
+ * @internal
313
+ * Cursor pagination, not PageInfo, deliberately (DD-004 D-b): the
314
+ * timeline is stitched across three stores at read time, so an offset is
315
+ * neither cheap nor stable while new items land; the cursor encodes
316
+ * (instant, item_id). No total_count for the same reason — a
317
+ * cross-store count would be a second full stitch pretending to be a
318
+ * number.
319
+ *
320
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.ConversationTimeline
321
+ */
322
+ export type ConversationTimeline = Message<"ai.stigmer.agentic.agentchannel.v1.ConversationTimeline"> & {
323
+ /**
324
+ * Timeline items in the current page, newest first.
325
+ *
326
+ * @generated from field: repeated ai.stigmer.agentic.agentchannel.v1.ConversationTimelineItem items = 1;
327
+ */
328
+ items: ConversationTimelineItem[];
329
+ /**
330
+ * Cursor for the next (older) page. Empty when no more items exist.
331
+ *
332
+ * @generated from field: string next_page_token = 2;
333
+ */
334
+ nextPageToken: string;
335
+ };
336
+ /**
337
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ConversationTimeline.
338
+ * Use `create(ConversationTimelineSchema)` to create a new message.
339
+ */
340
+ export declare const ConversationTimelineSchema: GenMessage<ConversationTimeline>;
341
+ /**
342
+ * Input for the conversation control commands (takeOver, handBack,
343
+ * clearAttention).
344
+ *
345
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.ConversationControlInput
346
+ */
347
+ export type ConversationControlInput = Message<"ai.stigmer.agentic.agentchannel.v1.ConversationControlInput"> & {
348
+ /**
349
+ * AgentChannel the conversation belongs to.
350
+ *
351
+ * @generated from field: string agent_channel_id = 1;
352
+ */
353
+ agentChannelId: string;
354
+ /**
355
+ * Conversation key within the channel (WhatsApp: the customer's wa_id).
356
+ *
357
+ * @generated from field: string conversation_key = 2;
358
+ */
359
+ conversationKey: string;
360
+ };
361
+ /**
362
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ConversationControlInput.
363
+ * Use `create(ConversationControlInputSchema)` to create a new message.
364
+ */
365
+ export declare const ConversationControlInputSchema: GenMessage<ConversationControlInput>;
366
+ /**
367
+ * Input for replying to a conversation as the business.
368
+ *
369
+ * @internal
370
+ * channel-conversations DD-009 D-a: conversation-scoped by design — the
371
+ * operator addresses a conversation they are looking at, never types a
372
+ * recipient, and the handler derives the recipient from the conversation
373
+ * key. This seam (not the cold-send lane) is where staff-reply semantics
374
+ * live: implicit takeover orders the control flip before-or-with the send
375
+ * (T03), and staff replies are exempt from the proactive caps (DD-009 D-c).
376
+ *
377
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.ReplyToConversationInput
378
+ */
379
+ export type ReplyToConversationInput = Message<"ai.stigmer.agentic.agentchannel.v1.ReplyToConversationInput"> & {
380
+ /**
381
+ * AgentChannel the conversation belongs to.
382
+ *
383
+ * @generated from field: string agent_channel_id = 1;
384
+ */
385
+ agentChannelId: string;
386
+ /**
387
+ * Conversation key within the channel (WhatsApp: the customer's wa_id).
388
+ *
389
+ * @generated from field: string conversation_key = 2;
390
+ */
391
+ conversationKey: string;
392
+ /**
393
+ * Typed message content (the outbound payload vocabulary, shared with
394
+ * sendMessage — one payload contract, no twin).
395
+ *
396
+ * @generated from field: ai.stigmer.agentic.agentchannel.v1.ChannelOutboundPayload payload = 3;
397
+ */
398
+ payload?: ChannelOutboundPayload;
399
+ };
400
+ /**
401
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ReplyToConversationInput.
402
+ * Use `create(ReplyToConversationInputSchema)` to create a new message.
403
+ */
404
+ export declare const ReplyToConversationInputSchema: GenMessage<ReplyToConversationInput>;
405
+ /**
406
+ * Input for flagging a conversation for human attention.
407
+ *
408
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.EscalateConversationInput
409
+ */
410
+ export type EscalateConversationInput = Message<"ai.stigmer.agentic.agentchannel.v1.EscalateConversationInput"> & {
411
+ /**
412
+ * Why the agent is escalating, in the agent's own words. Becomes the
413
+ * conversation's attention_reason and the escalation event's content.
414
+ *
415
+ * @generated from field: string reason = 1;
416
+ */
417
+ reason: string;
418
+ };
419
+ /**
420
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.EscalateConversationInput.
421
+ * Use `create(EscalateConversationInputSchema)` to create a new message.
422
+ */
423
+ export declare const EscalateConversationInputSchema: GenMessage<EscalateConversationInput>;
424
+ /**
425
+ * ConversationControl names who may speak to the customer on a
426
+ * conversation's public lane.
427
+ *
428
+ * @internal
429
+ * channel-conversations DD-002 (lane x control): exactly one holder at a
430
+ * time; transitions are CAS-guarded through the participation writer
431
+ * (DD-007 D-f). Values carry the control_ prefix — proto3 enum values are
432
+ * package-scoped and bare names invite collisions (the receipt_ precedent).
433
+ *
434
+ * @generated from enum ai.stigmer.agentic.agentchannel.v1.ConversationControl
435
+ */
436
+ export declare enum ConversationControl {
437
+ /**
438
+ * Default value when no control state is set.
439
+ *
440
+ * @generated from enum value: conversation_control_unspecified = 0;
441
+ */
442
+ conversation_control_unspecified = 0,
443
+ /**
444
+ * The agent serves the conversation (the default for every conversation).
445
+ *
446
+ * @generated from enum value: control_agent = 1;
447
+ */
448
+ control_agent = 1,
449
+ /**
450
+ * A human holds the conversation; the agent is quiet until handback.
451
+ *
452
+ * @generated from enum value: control_human = 2;
453
+ */
454
+ control_human = 2
455
+ }
456
+ /**
457
+ * Describes the enum ai.stigmer.agentic.agentchannel.v1.ConversationControl.
458
+ */
459
+ export declare const ConversationControlSchema: GenEnum<ConversationControl>;
460
+ /**
461
+ * ConversationLane distinguishes customer-visible items from internal ones.
462
+ *
463
+ * @internal
464
+ * channel-conversations DD-002: every timeline item has a lane. lane_internal
465
+ * carries the internal event store's items — escalations and attention clears
466
+ * since T03 Sitting 4, notes when their writer lands (the v1-stretch decision).
467
+ *
468
+ * @generated from enum ai.stigmer.agentic.agentchannel.v1.ConversationLane
469
+ */
470
+ export declare enum ConversationLane {
471
+ /**
472
+ * Default value when no lane is set.
473
+ *
474
+ * @generated from enum value: conversation_lane_unspecified = 0;
475
+ */
476
+ conversation_lane_unspecified = 0,
477
+ /**
478
+ * The customer sees this item (their message, a delivered reply, a send).
479
+ *
480
+ * @generated from enum value: lane_public = 1;
481
+ */
482
+ lane_public = 1,
483
+ /**
484
+ * Org-internal item (escalations, notes); the customer never sees it.
485
+ *
486
+ * @generated from enum value: lane_internal = 2;
487
+ */
488
+ lane_internal = 2
489
+ }
490
+ /**
491
+ * Describes the enum ai.stigmer.agentic.agentchannel.v1.ConversationLane.
492
+ */
493
+ export declare const ConversationLaneSchema: GenEnum<ConversationLane>;
494
+ /**
495
+ * ConversationItemAuthor names who authored a timeline item.
496
+ *
497
+ * @generated from enum ai.stigmer.agentic.agentchannel.v1.ConversationItemAuthor
498
+ */
499
+ export declare enum ConversationItemAuthor {
500
+ /**
501
+ * Default value when no author is set.
502
+ *
503
+ * @generated from enum value: conversation_item_author_unspecified = 0;
504
+ */
505
+ conversation_item_author_unspecified = 0,
506
+ /**
507
+ * The external customer.
508
+ *
509
+ * @generated from enum value: author_customer = 1;
510
+ */
511
+ author_customer = 1,
512
+ /**
513
+ * The serving agent.
514
+ *
515
+ * @generated from enum value: author_agent = 2;
516
+ */
517
+ author_agent = 2,
518
+ /**
519
+ * An org human replying as the business.
520
+ *
521
+ * @generated from enum value: author_teammate = 3;
522
+ */
523
+ author_teammate = 3,
524
+ /**
525
+ * Platform-authored conversation copy (e.g. the takeover
526
+ * acknowledgment), neither the agent's words nor a teammate's.
527
+ *
528
+ * @internal
529
+ * channel-conversations DD-005 D-d: acknowledgment rows carry the
530
+ * platform outbound origin (lands in T03); rendering them as the agent
531
+ * would be a lie. The value exists from day one so the item vocabulary
532
+ * never needs a patch when the first platform row appears.
533
+ *
534
+ * @generated from enum value: author_platform = 4;
535
+ */
536
+ author_platform = 4
537
+ }
538
+ /**
539
+ * Describes the enum ai.stigmer.agentic.agentchannel.v1.ConversationItemAuthor.
540
+ */
541
+ export declare const ConversationItemAuthorSchema: GenEnum<ConversationItemAuthor>;