@stigmer/protos 3.6.0 → 3.8.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 (79) 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 +658 -0
  8. package/ai/stigmer/agentic/agentchannel/v1/conversation_io_pb.js +222 -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 +103 -0
  11. package/ai/stigmer/agentic/agentchannel/v1/conversation_query_connect.js +110 -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 +103 -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/outbound_pb.d.ts +61 -4
  20. package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.js +38 -4
  21. package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.js.map +1 -1
  22. package/ai/stigmer/agentic/agentchannel/v1/spec_pb.d.ts +25 -0
  23. package/ai/stigmer/agentic/agentchannel/v1/spec_pb.js +2 -1
  24. package/ai/stigmer/agentic/agentchannel/v1/spec_pb.js.map +1 -1
  25. package/ai/stigmer/agentic/agentexecution/v1/api_pb.d.ts +5 -1
  26. package/ai/stigmer/agentic/agentexecution/v1/api_pb.js.map +1 -1
  27. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.d.ts +66 -0
  28. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js +81 -14
  29. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js.map +1 -1
  30. package/ai/stigmer/agentic/agentexecution/v1/invocation_pb.d.ts +210 -0
  31. package/ai/stigmer/agentic/agentexecution/v1/invocation_pb.js +25 -0
  32. package/ai/stigmer/agentic/agentexecution/v1/invocation_pb.js.map +1 -0
  33. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.d.ts +84 -1
  34. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js +7 -2
  35. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js.map +1 -1
  36. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.d.ts +33 -1
  37. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js +2 -1
  38. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js.map +1 -1
  39. package/ai/stigmer/agentic/agentshare/v1/spec_pb.d.ts +27 -0
  40. package/ai/stigmer/agentic/agentshare/v1/spec_pb.js +2 -1
  41. package/ai/stigmer/agentic/agentshare/v1/spec_pb.js.map +1 -1
  42. package/ai/stigmer/agentic/schedule/v1/command_connect.d.ts +35 -21
  43. package/ai/stigmer/agentic/schedule/v1/command_connect.js +37 -23
  44. package/ai/stigmer/agentic/schedule/v1/command_connect.js.map +1 -1
  45. package/ai/stigmer/agentic/schedule/v1/command_pb.d.ts +37 -23
  46. package/ai/stigmer/agentic/schedule/v1/command_pb.js +1 -1
  47. package/ai/stigmer/agentic/schedule/v1/command_pb.js.map +1 -1
  48. package/ai/stigmer/agentic/schedule/v1/io_pb.d.ts +266 -1
  49. package/ai/stigmer/agentic/schedule/v1/io_pb.js +120 -2
  50. package/ai/stigmer/agentic/schedule/v1/io_pb.js.map +1 -1
  51. package/ai/stigmer/agentic/schedule/v1/query_connect.d.ts +26 -0
  52. package/ai/stigmer/agentic/schedule/v1/query_connect.js +27 -1
  53. package/ai/stigmer/agentic/schedule/v1/query_connect.js.map +1 -1
  54. package/ai/stigmer/agentic/schedule/v1/query_pb.d.ts +26 -1
  55. package/ai/stigmer/agentic/schedule/v1/query_pb.js +1 -1
  56. package/ai/stigmer/agentic/schedule/v1/query_pb.js.map +1 -1
  57. package/ai/stigmer/agentic/schedule/v1/spec_pb.d.ts +30 -49
  58. package/ai/stigmer/agentic/schedule/v1/spec_pb.js +2 -8
  59. package/ai/stigmer/agentic/schedule/v1/spec_pb.js.map +1 -1
  60. package/ai/stigmer/agentic/session/v1/enum_pb.d.ts +10 -8
  61. package/ai/stigmer/agentic/session/v1/enum_pb.js +10 -8
  62. package/ai/stigmer/agentic/session/v1/enum_pb.js.map +1 -1
  63. package/ai/stigmer/agentic/session/v1/spec_pb.d.ts +7 -5
  64. package/ai/stigmer/agentic/session/v1/spec_pb.js.map +1 -1
  65. package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.d.ts +123 -104
  66. package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.js +4 -7
  67. package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.js.map +1 -1
  68. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +1 -1
  69. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
  70. package/ai/stigmer/iam/v1/enum_pb.d.ts +31 -2
  71. package/ai/stigmer/iam/v1/enum_pb.js +30 -1
  72. package/ai/stigmer/iam/v1/enum_pb.js.map +1 -1
  73. package/ai/stigmer/platform/v1/server_info_connect.d.ts +6 -4
  74. package/ai/stigmer/platform/v1/server_info_connect.js +6 -4
  75. package/ai/stigmer/platform/v1/server_info_connect.js.map +1 -1
  76. package/ai/stigmer/platform/v1/server_info_pb.d.ts +53 -4
  77. package/ai/stigmer/platform/v1/server_info_pb.js +7 -2
  78. package/ai/stigmer/platform/v1/server_info_pb.js.map +1 -1
  79. package/package.json +1 -1
@@ -0,0 +1,658 @@
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
+ * True when the customer's last message has not yet received a real
118
+ * answer — from the agent or from a teammate.
119
+ *
120
+ * @internal
121
+ * channel-conversations DD-011 D-b/D-c: derived on read from
122
+ * last_customer_message_at vs the server-side last_answered_at fact
123
+ * column — never stored, so no boolean exists to drift. Only real
124
+ * answers stamp the fact (an agent turn delivered with Outcome.OK; a
125
+ * participant-origin staff reply at its Delivered settle); apology,
126
+ * cancellation, and limit copy, the platform acknowledgment, operator
127
+ * sends, and escalations never count. Ties go to answered. The raw
128
+ * instant stays server-side deliberately: carrying the derived boolean
129
+ * keeps the NULL-and-compare rule in one place instead of re-implemented
130
+ * per client, and "waiting since" already rides field 11. proto3
131
+ * default (false) degrades to the pre-T05 surface in both skew
132
+ * directions.
133
+ *
134
+ * @generated from field: bool awaiting_reply = 13;
135
+ */
136
+ awaitingReply: boolean;
137
+ };
138
+ /**
139
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ChannelConversation.
140
+ * Use `create(ChannelConversationSchema)` to create a new message.
141
+ */
142
+ export declare const ChannelConversationSchema: GenMessage<ChannelConversation>;
143
+ /**
144
+ * ConversationTimelineItem is one entry in a conversation's timeline.
145
+ *
146
+ * @internal
147
+ * channel-conversations DD-004: computed on read by stitching four
148
+ * stores — inbound webhook events, reply deliveries (rendered from the
149
+ * same extraction the delivery posted, never from execution transcripts),
150
+ * the outbound ledger, and the internal-lane event store (joined at T03
151
+ * Sitting 4). item_id is source-prefixed ("wa:", "dl:", "ob:", "ev:"),
152
+ * which makes cross-store collisions structurally impossible and gives
153
+ * cursors a total order without a synthetic sequence.
154
+ *
155
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.ConversationTimelineItem
156
+ */
157
+ export type ConversationTimelineItem = Message<"ai.stigmer.agentic.agentchannel.v1.ConversationTimelineItem"> & {
158
+ /**
159
+ * Stable, opaque item identifier.
160
+ *
161
+ * @generated from field: string item_id = 1;
162
+ */
163
+ itemId: string;
164
+ /**
165
+ * Which lane the item is on.
166
+ *
167
+ * @generated from field: ai.stigmer.agentic.agentchannel.v1.ConversationLane lane = 2;
168
+ */
169
+ lane: ConversationLane;
170
+ /**
171
+ * Who authored the item.
172
+ *
173
+ * @generated from field: ai.stigmer.agentic.agentchannel.v1.ConversationItemAuthor author = 3;
174
+ */
175
+ author: ConversationItemAuthor;
176
+ /**
177
+ * Identity account id of the authoring teammate. Empty unless author
178
+ * is author_teammate.
179
+ *
180
+ * @generated from field: string authored_by = 4;
181
+ */
182
+ authoredBy: string;
183
+ /**
184
+ * Rendered text body. Empty when the item has no text (see
185
+ * provider_message_type).
186
+ *
187
+ * @generated from field: string text = 5;
188
+ */
189
+ text: string;
190
+ /**
191
+ * The provider's verbatim message type for inbound items ("text",
192
+ * "image", "audio", "document", ...). Empty on outbound items in v1.
193
+ *
194
+ * @internal
195
+ * channel-conversations DD-004 amendment (T02 planning): non-text
196
+ * inbound is ignored by the reply pipeline today
197
+ * (WhatsAppInboundEventProcessor marks "non_text:<type>"), but the
198
+ * customer still sent it — a handoff timeline that hides it fails the
199
+ * product. Verbatim pass-through, never re-encoded (the DD-004 S-6
200
+ * posture); the UI renders known kinds as placeholders. Media content
201
+ * retrieval is a named non-goal of this slice.
202
+ *
203
+ * @generated from field: string provider_message_type = 6;
204
+ */
205
+ providerMessageType: string;
206
+ /**
207
+ * When the item happened (the source's own event instant).
208
+ *
209
+ * @generated from field: google.protobuf.Timestamp at = 7;
210
+ */
211
+ at?: Timestamp;
212
+ /**
213
+ * Our send attempt's lifecycle, for outbound items (delivery rows and
214
+ * outbound-ledger rows share the vocabulary). Unset on inbound items.
215
+ *
216
+ * @generated from field: ai.stigmer.agentic.agentchannel.v1.ChannelDeliveryStatus delivery_status = 8;
217
+ */
218
+ deliveryStatus: ChannelDeliveryStatus;
219
+ /**
220
+ * The provider's receipt report, for outbound-ledger items. A second
221
+ * axis beside delivery_status — never collapsed into it.
222
+ *
223
+ * @generated from field: ai.stigmer.agentic.agentchannel.v1.ChannelReceiptState receipt_state = 9;
224
+ */
225
+ receiptState: ChannelReceiptState;
226
+ /**
227
+ * Which trust context authorized an outbound-ledger item's send.
228
+ *
229
+ * @generated from field: ai.stigmer.agentic.agentchannel.v1.ChannelOutboundOrigin origin = 10;
230
+ */
231
+ origin: ChannelOutboundOrigin;
232
+ /**
233
+ * The provider's verbatim explanation when receipt_state is
234
+ * receipt_failed (WhatsApp: the errors[0] title, plus error_data
235
+ * details when present). Empty otherwise.
236
+ *
237
+ * @internal
238
+ * channel-conversations DD-014 D-c: a pure relay of
239
+ * ChannelOutboundMessage.receipt_detail (field 17), inheriting its
240
+ * discipline verbatim — provider-owned vocabulary, relayed, never
241
+ * pattern-matched; receipt_error_code is the structured twin a
242
+ * branching client must key on instead. Rides outbound-ledger ("ob:")
243
+ * items only: the reply lane has no receipt axis at all, so "dl:" and
244
+ * inbound items always answer empty.
245
+ *
246
+ * @generated from field: string receipt_detail = 11;
247
+ */
248
+ receiptDetail: string;
249
+ /**
250
+ * The provider's numeric error code when receipt_state is
251
+ * receipt_failed (WhatsApp: errors[0].code, e.g. 131047 "re-engagement
252
+ * required"). Zero otherwise.
253
+ *
254
+ * @internal
255
+ * The relay of the row's field 18 (DD-014 D-c), shipped WITH
256
+ * receipt_detail and never after it: a client handed prose first will
257
+ * pattern-match the prose, which is the coupling this pair prevents.
258
+ *
259
+ * @generated from field: int32 receipt_error_code = 12;
260
+ */
261
+ receiptErrorCode: number;
262
+ };
263
+ /**
264
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ConversationTimelineItem.
265
+ * Use `create(ConversationTimelineItemSchema)` to create a new message.
266
+ */
267
+ export declare const ConversationTimelineItemSchema: GenMessage<ConversationTimelineItem>;
268
+ /**
269
+ * Input for listing an organization's channel conversations.
270
+ *
271
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.ListChannelConversationsInput
272
+ */
273
+ export type ListChannelConversationsInput = Message<"ai.stigmer.agentic.agentchannel.v1.ListChannelConversationsInput"> & {
274
+ /**
275
+ * Organization whose conversations to list.
276
+ *
277
+ * @generated from field: string org = 1;
278
+ */
279
+ org: string;
280
+ /**
281
+ * Optional filter: only conversations on this agent channel.
282
+ *
283
+ * @generated from field: string agent_channel_id = 2;
284
+ */
285
+ agentChannelId: string;
286
+ /**
287
+ * Pagination options. Conversations are returned newest activity first.
288
+ *
289
+ * @generated from field: ai.stigmer.commons.rpc.PageInfo page_info = 3;
290
+ */
291
+ pageInfo?: PageInfo;
292
+ /**
293
+ * Optional filter: narrow the list to a server-evaluated predicate.
294
+ * Unspecified lists every conversation on the authorized channels.
295
+ *
296
+ * @generated from field: ai.stigmer.agentic.agentchannel.v1.ChannelConversationListFilter filter = 4;
297
+ */
298
+ filter: ChannelConversationListFilter;
299
+ };
300
+ /**
301
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ListChannelConversationsInput.
302
+ * Use `create(ListChannelConversationsInputSchema)` to create a new message.
303
+ */
304
+ export declare const ListChannelConversationsInputSchema: GenMessage<ListChannelConversationsInput>;
305
+ /**
306
+ * ChannelConversationList contains a page of channel conversations,
307
+ * newest activity first.
308
+ *
309
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.ChannelConversationList
310
+ */
311
+ export type ChannelConversationList = Message<"ai.stigmer.agentic.agentchannel.v1.ChannelConversationList"> & {
312
+ /**
313
+ * Total number of conversations matching the filter.
314
+ *
315
+ * @generated from field: int32 total_count = 1;
316
+ */
317
+ totalCount: number;
318
+ /**
319
+ * Conversations in the current page.
320
+ *
321
+ * @generated from field: repeated ai.stigmer.agentic.agentchannel.v1.ChannelConversation items = 2;
322
+ */
323
+ items: ChannelConversation[];
324
+ };
325
+ /**
326
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ChannelConversationList.
327
+ * Use `create(ChannelConversationListSchema)` to create a new message.
328
+ */
329
+ export declare const ChannelConversationListSchema: GenMessage<ChannelConversationList>;
330
+ /**
331
+ * Input for reading one conversation's identity and participation state.
332
+ *
333
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.GetChannelConversationInput
334
+ */
335
+ export type GetChannelConversationInput = Message<"ai.stigmer.agentic.agentchannel.v1.GetChannelConversationInput"> & {
336
+ /**
337
+ * AgentChannel the conversation belongs to.
338
+ *
339
+ * @generated from field: string agent_channel_id = 1;
340
+ */
341
+ agentChannelId: string;
342
+ /**
343
+ * Conversation key within the channel (WhatsApp: the customer's wa_id).
344
+ *
345
+ * @generated from field: string conversation_key = 2;
346
+ */
347
+ conversationKey: string;
348
+ };
349
+ /**
350
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.GetChannelConversationInput.
351
+ * Use `create(GetChannelConversationInputSchema)` to create a new message.
352
+ */
353
+ export declare const GetChannelConversationInputSchema: GenMessage<GetChannelConversationInput>;
354
+ /**
355
+ * Input for reading one conversation's timeline.
356
+ *
357
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.GetConversationTimelineInput
358
+ */
359
+ export type GetConversationTimelineInput = Message<"ai.stigmer.agentic.agentchannel.v1.GetConversationTimelineInput"> & {
360
+ /**
361
+ * AgentChannel the conversation belongs to.
362
+ *
363
+ * @generated from field: string agent_channel_id = 1;
364
+ */
365
+ agentChannelId: string;
366
+ /**
367
+ * Conversation key within the channel (WhatsApp: the customer's wa_id).
368
+ *
369
+ * @generated from field: string conversation_key = 2;
370
+ */
371
+ conversationKey: string;
372
+ /**
373
+ * Maximum number of items to return per page. Server may return fewer.
374
+ *
375
+ * @generated from field: int32 page_size = 3;
376
+ */
377
+ pageSize: number;
378
+ /**
379
+ * Opaque cursor from a previous response. Empty for the newest page.
380
+ *
381
+ * @generated from field: string page_token = 4;
382
+ */
383
+ pageToken: string;
384
+ };
385
+ /**
386
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.GetConversationTimelineInput.
387
+ * Use `create(GetConversationTimelineInputSchema)` to create a new message.
388
+ */
389
+ export declare const GetConversationTimelineInputSchema: GenMessage<GetConversationTimelineInput>;
390
+ /**
391
+ * ConversationTimeline contains one page of a conversation's timeline,
392
+ * newest first.
393
+ *
394
+ * @internal
395
+ * Cursor pagination, not PageInfo, deliberately (DD-004 D-b): the
396
+ * timeline is stitched across three stores at read time, so an offset is
397
+ * neither cheap nor stable while new items land; the cursor encodes
398
+ * (instant, item_id). No total_count for the same reason — a
399
+ * cross-store count would be a second full stitch pretending to be a
400
+ * number.
401
+ *
402
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.ConversationTimeline
403
+ */
404
+ export type ConversationTimeline = Message<"ai.stigmer.agentic.agentchannel.v1.ConversationTimeline"> & {
405
+ /**
406
+ * Timeline items in the current page, newest first.
407
+ *
408
+ * @generated from field: repeated ai.stigmer.agentic.agentchannel.v1.ConversationTimelineItem items = 1;
409
+ */
410
+ items: ConversationTimelineItem[];
411
+ /**
412
+ * Cursor for the next (older) page. Empty when no more items exist.
413
+ *
414
+ * @generated from field: string next_page_token = 2;
415
+ */
416
+ nextPageToken: string;
417
+ };
418
+ /**
419
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ConversationTimeline.
420
+ * Use `create(ConversationTimelineSchema)` to create a new message.
421
+ */
422
+ export declare const ConversationTimelineSchema: GenMessage<ConversationTimeline>;
423
+ /**
424
+ * Input for the conversation control commands (takeOver, handBack,
425
+ * clearAttention).
426
+ *
427
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.ConversationControlInput
428
+ */
429
+ export type ConversationControlInput = Message<"ai.stigmer.agentic.agentchannel.v1.ConversationControlInput"> & {
430
+ /**
431
+ * AgentChannel the conversation belongs to.
432
+ *
433
+ * @generated from field: string agent_channel_id = 1;
434
+ */
435
+ agentChannelId: string;
436
+ /**
437
+ * Conversation key within the channel (WhatsApp: the customer's wa_id).
438
+ *
439
+ * @generated from field: string conversation_key = 2;
440
+ */
441
+ conversationKey: string;
442
+ };
443
+ /**
444
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ConversationControlInput.
445
+ * Use `create(ConversationControlInputSchema)` to create a new message.
446
+ */
447
+ export declare const ConversationControlInputSchema: GenMessage<ConversationControlInput>;
448
+ /**
449
+ * Input for replying to a conversation as the business.
450
+ *
451
+ * @internal
452
+ * channel-conversations DD-009 D-a: conversation-scoped by design — the
453
+ * operator addresses a conversation they are looking at, never types a
454
+ * recipient, and the handler derives the recipient from the conversation
455
+ * key. This seam (not the cold-send lane) is where staff-reply semantics
456
+ * live: implicit takeover orders the control flip before-or-with the send
457
+ * (T03), and staff replies are exempt from the proactive caps (DD-009 D-c).
458
+ *
459
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.ReplyToConversationInput
460
+ */
461
+ export type ReplyToConversationInput = Message<"ai.stigmer.agentic.agentchannel.v1.ReplyToConversationInput"> & {
462
+ /**
463
+ * AgentChannel the conversation belongs to.
464
+ *
465
+ * @generated from field: string agent_channel_id = 1;
466
+ */
467
+ agentChannelId: string;
468
+ /**
469
+ * Conversation key within the channel (WhatsApp: the customer's wa_id).
470
+ *
471
+ * @generated from field: string conversation_key = 2;
472
+ */
473
+ conversationKey: string;
474
+ /**
475
+ * Typed message content (the outbound payload vocabulary, shared with
476
+ * sendMessage — one payload contract, no twin).
477
+ *
478
+ * @generated from field: ai.stigmer.agentic.agentchannel.v1.ChannelOutboundPayload payload = 3;
479
+ */
480
+ payload?: ChannelOutboundPayload;
481
+ };
482
+ /**
483
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.ReplyToConversationInput.
484
+ * Use `create(ReplyToConversationInputSchema)` to create a new message.
485
+ */
486
+ export declare const ReplyToConversationInputSchema: GenMessage<ReplyToConversationInput>;
487
+ /**
488
+ * Input for flagging a conversation for human attention.
489
+ *
490
+ * @generated from message ai.stigmer.agentic.agentchannel.v1.EscalateConversationInput
491
+ */
492
+ export type EscalateConversationInput = Message<"ai.stigmer.agentic.agentchannel.v1.EscalateConversationInput"> & {
493
+ /**
494
+ * Why the agent is escalating, in the agent's own words. Becomes the
495
+ * conversation's attention_reason and the escalation event's content.
496
+ *
497
+ * @generated from field: string reason = 1;
498
+ */
499
+ reason: string;
500
+ };
501
+ /**
502
+ * Describes the message ai.stigmer.agentic.agentchannel.v1.EscalateConversationInput.
503
+ * Use `create(EscalateConversationInputSchema)` to create a new message.
504
+ */
505
+ export declare const EscalateConversationInputSchema: GenMessage<EscalateConversationInput>;
506
+ /**
507
+ * ConversationControl names who may speak to the customer on a
508
+ * conversation's public lane.
509
+ *
510
+ * @internal
511
+ * channel-conversations DD-002 (lane x control): exactly one holder at a
512
+ * time; transitions are CAS-guarded through the participation writer
513
+ * (DD-007 D-f). Values carry the control_ prefix — proto3 enum values are
514
+ * package-scoped and bare names invite collisions (the receipt_ precedent).
515
+ *
516
+ * @generated from enum ai.stigmer.agentic.agentchannel.v1.ConversationControl
517
+ */
518
+ export declare enum ConversationControl {
519
+ /**
520
+ * Default value when no control state is set.
521
+ *
522
+ * @generated from enum value: conversation_control_unspecified = 0;
523
+ */
524
+ conversation_control_unspecified = 0,
525
+ /**
526
+ * The agent serves the conversation (the default for every conversation).
527
+ *
528
+ * @generated from enum value: control_agent = 1;
529
+ */
530
+ control_agent = 1,
531
+ /**
532
+ * A human holds the conversation; the agent is quiet until handback.
533
+ *
534
+ * @generated from enum value: control_human = 2;
535
+ */
536
+ control_human = 2
537
+ }
538
+ /**
539
+ * Describes the enum ai.stigmer.agentic.agentchannel.v1.ConversationControl.
540
+ */
541
+ export declare const ConversationControlSchema: GenEnum<ConversationControl>;
542
+ /**
543
+ * ConversationLane distinguishes customer-visible items from internal ones.
544
+ *
545
+ * @internal
546
+ * channel-conversations DD-002: every timeline item has a lane. lane_internal
547
+ * carries the internal event store's items — escalations and attention clears
548
+ * since T03 Sitting 4, notes when their writer lands (the v1-stretch decision).
549
+ *
550
+ * @generated from enum ai.stigmer.agentic.agentchannel.v1.ConversationLane
551
+ */
552
+ export declare enum ConversationLane {
553
+ /**
554
+ * Default value when no lane is set.
555
+ *
556
+ * @generated from enum value: conversation_lane_unspecified = 0;
557
+ */
558
+ conversation_lane_unspecified = 0,
559
+ /**
560
+ * The customer sees this item (their message, a delivered reply, a send).
561
+ *
562
+ * @generated from enum value: lane_public = 1;
563
+ */
564
+ lane_public = 1,
565
+ /**
566
+ * Org-internal item (escalations, notes); the customer never sees it.
567
+ *
568
+ * @generated from enum value: lane_internal = 2;
569
+ */
570
+ lane_internal = 2
571
+ }
572
+ /**
573
+ * Describes the enum ai.stigmer.agentic.agentchannel.v1.ConversationLane.
574
+ */
575
+ export declare const ConversationLaneSchema: GenEnum<ConversationLane>;
576
+ /**
577
+ * ConversationItemAuthor names who authored a timeline item.
578
+ *
579
+ * @generated from enum ai.stigmer.agentic.agentchannel.v1.ConversationItemAuthor
580
+ */
581
+ export declare enum ConversationItemAuthor {
582
+ /**
583
+ * Default value when no author is set.
584
+ *
585
+ * @generated from enum value: conversation_item_author_unspecified = 0;
586
+ */
587
+ conversation_item_author_unspecified = 0,
588
+ /**
589
+ * The external customer.
590
+ *
591
+ * @generated from enum value: author_customer = 1;
592
+ */
593
+ author_customer = 1,
594
+ /**
595
+ * The serving agent.
596
+ *
597
+ * @generated from enum value: author_agent = 2;
598
+ */
599
+ author_agent = 2,
600
+ /**
601
+ * An org human replying as the business.
602
+ *
603
+ * @generated from enum value: author_teammate = 3;
604
+ */
605
+ author_teammate = 3,
606
+ /**
607
+ * Platform-authored conversation copy (e.g. the takeover
608
+ * acknowledgment), neither the agent's words nor a teammate's.
609
+ *
610
+ * @internal
611
+ * channel-conversations DD-005 D-d: acknowledgment rows carry the
612
+ * platform outbound origin (lands in T03); rendering them as the agent
613
+ * would be a lie. The value exists from day one so the item vocabulary
614
+ * never needs a patch when the first platform row appears.
615
+ *
616
+ * @generated from enum value: author_platform = 4;
617
+ */
618
+ author_platform = 4
619
+ }
620
+ /**
621
+ * Describes the enum ai.stigmer.agentic.agentchannel.v1.ConversationItemAuthor.
622
+ */
623
+ export declare const ConversationItemAuthorSchema: GenEnum<ConversationItemAuthor>;
624
+ /**
625
+ * ChannelConversationListFilter names the server-evaluated predicates the
626
+ * conversation list can be narrowed to.
627
+ *
628
+ * @internal
629
+ * channel-conversations DD-011 D-f/D-g: filter_wants_human expresses
630
+ * EXACTLY the nav badge's union, and the badge count is the filtered
631
+ * list's total_count — one predicate in one handler, so the count and the
632
+ * list it opens can never disagree. Server-side deliberately (T04 D1's
633
+ * standing objection): a client-side tab over one fetched page would
634
+ * silently lie across pages. Values carry the filter_ prefix — proto3
635
+ * enum values are package-scoped (the control_ precedent).
636
+ *
637
+ * @generated from enum ai.stigmer.agentic.agentchannel.v1.ChannelConversationListFilter
638
+ */
639
+ export declare enum ChannelConversationListFilter {
640
+ /**
641
+ * Default value: no filter.
642
+ *
643
+ * @generated from enum value: channel_conversation_list_filter_unspecified = 0;
644
+ */
645
+ channel_conversation_list_filter_unspecified = 0,
646
+ /**
647
+ * Conversations where a human action is wanted: flagged for attention,
648
+ * or human-held with the customer's last message still unanswered
649
+ * (needs_attention OR (awaiting_reply AND control_human)).
650
+ *
651
+ * @generated from enum value: filter_wants_human = 1;
652
+ */
653
+ filter_wants_human = 1
654
+ }
655
+ /**
656
+ * Describes the enum ai.stigmer.agentic.agentchannel.v1.ChannelConversationListFilter.
657
+ */
658
+ export declare const ChannelConversationListFilterSchema: GenEnum<ChannelConversationListFilter>;