@babelforce/babelconnect-sdk 0.1.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.
@@ -0,0 +1,2362 @@
1
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
+ import { Message, proto3 } from "@bufbuild/protobuf";
3
+ /**
4
+ * @generated from enum babelconnect.v1.AgentState
5
+ */
6
+ export declare enum AgentState {
7
+ /**
8
+ * @generated from enum value: AGENT_STATE_UNSPECIFIED = 0;
9
+ */
10
+ UNSPECIFIED = 0,
11
+ /**
12
+ * @generated from enum value: AGENT_STATE_OFFLINE = 1;
13
+ */
14
+ OFFLINE = 1,
15
+ /**
16
+ * @generated from enum value: AGENT_STATE_AVAILABLE = 2;
17
+ */
18
+ AVAILABLE = 2,
19
+ /**
20
+ * @generated from enum value: AGENT_STATE_IN_CALL = 3;
21
+ */
22
+ IN_CALL = 3,
23
+ /**
24
+ * @generated from enum value: AGENT_STATE_WRAP_UP = 4;
25
+ */
26
+ WRAP_UP = 4,
27
+ /**
28
+ * @generated from enum value: AGENT_STATE_PAUSED = 5;
29
+ */
30
+ PAUSED = 5,
31
+ /**
32
+ * @generated from enum value: AGENT_STATE_RINGING = 6;
33
+ */
34
+ RINGING = 6,
35
+ /**
36
+ * @generated from enum value: AGENT_STATE_BUSY = 7;
37
+ */
38
+ BUSY = 7
39
+ }
40
+ /**
41
+ * @generated from enum babelconnect.v1.CallDirection
42
+ */
43
+ export declare enum CallDirection {
44
+ /**
45
+ * @generated from enum value: CALL_DIRECTION_UNSPECIFIED = 0;
46
+ */
47
+ UNSPECIFIED = 0,
48
+ /**
49
+ * @generated from enum value: CALL_DIRECTION_INBOUND = 1;
50
+ */
51
+ INBOUND = 1,
52
+ /**
53
+ * @generated from enum value: CALL_DIRECTION_OUTBOUND = 2;
54
+ */
55
+ OUTBOUND = 2
56
+ }
57
+ /**
58
+ * @generated from enum babelconnect.v1.CallLifecycle
59
+ */
60
+ export declare enum CallLifecycle {
61
+ /**
62
+ * @generated from enum value: CALL_LIFECYCLE_UNSPECIFIED = 0;
63
+ */
64
+ UNSPECIFIED = 0,
65
+ /**
66
+ * @generated from enum value: CALL_LIFECYCLE_INIT = 1;
67
+ */
68
+ INIT = 1,
69
+ /**
70
+ * offer present; client should answer
71
+ *
72
+ * @generated from enum value: CALL_LIFECYCLE_RINGING = 2;
73
+ */
74
+ RINGING = 2,
75
+ /**
76
+ * @generated from enum value: CALL_LIFECYCLE_IN_PROGRESS = 3;
77
+ */
78
+ IN_PROGRESS = 3,
79
+ /**
80
+ * media flowing both ways
81
+ *
82
+ * @generated from enum value: CALL_LIFECYCLE_BRIDGED = 4;
83
+ */
84
+ BRIDGED = 4,
85
+ /**
86
+ * @generated from enum value: CALL_LIFECYCLE_COMPLETED = 5;
87
+ */
88
+ COMPLETED = 5,
89
+ /**
90
+ * @generated from enum value: CALL_LIFECYCLE_FAILED = 6;
91
+ */
92
+ FAILED = 6
93
+ }
94
+ /**
95
+ * @generated from enum babelconnect.v1.CallSource
96
+ */
97
+ export declare enum CallSource {
98
+ /**
99
+ * @generated from enum value: CALL_SOURCE_UNSPECIFIED = 0;
100
+ */
101
+ UNSPECIFIED = 0,
102
+ /**
103
+ * @generated from enum value: CALL_SOURCE_API = 1;
104
+ */
105
+ API = 1,
106
+ /**
107
+ * @generated from enum value: CALL_SOURCE_WEBRTC = 2;
108
+ */
109
+ WEBRTC = 2,
110
+ /**
111
+ * @generated from enum value: CALL_SOURCE_QUEUE = 3;
112
+ */
113
+ QUEUE = 3,
114
+ /**
115
+ * @generated from enum value: CALL_SOURCE_TRANSFER = 4;
116
+ */
117
+ TRANSFER = 4,
118
+ /**
119
+ * @generated from enum value: CALL_SOURCE_DIALER = 5;
120
+ */
121
+ DIALER = 5,
122
+ /**
123
+ * @generated from enum value: CALL_SOURCE_CONFERENCE = 6;
124
+ */
125
+ CONFERENCE = 6,
126
+ /**
127
+ * @generated from enum value: CALL_SOURCE_CALLBACK = 7;
128
+ */
129
+ CALLBACK = 7
130
+ }
131
+ /**
132
+ * @generated from message babelconnect.v1.AuthenticateRequest
133
+ */
134
+ export declare class AuthenticateRequest extends Message<AuthenticateRequest> {
135
+ /**
136
+ * Optional: token may instead be supplied via "authorization" metadata.
137
+ *
138
+ * @generated from field: string token = 1;
139
+ */
140
+ token: string;
141
+ constructor(data?: PartialMessage<AuthenticateRequest>);
142
+ static readonly runtime: typeof proto3;
143
+ static readonly typeName = "babelconnect.v1.AuthenticateRequest";
144
+ static readonly fields: FieldList;
145
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AuthenticateRequest;
146
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AuthenticateRequest;
147
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AuthenticateRequest;
148
+ static equals(a: AuthenticateRequest | PlainMessage<AuthenticateRequest> | undefined, b: AuthenticateRequest | PlainMessage<AuthenticateRequest> | undefined): boolean;
149
+ }
150
+ /**
151
+ * SubscribeRequest opens the StateUpdate stream for the authenticated agent (the
152
+ * bearer token rides in "authorization" metadata, like every call). Empty today;
153
+ * reserved for future subscription filters.
154
+ *
155
+ * @generated from message babelconnect.v1.SubscribeRequest
156
+ */
157
+ export declare class SubscribeRequest extends Message<SubscribeRequest> {
158
+ constructor(data?: PartialMessage<SubscribeRequest>);
159
+ static readonly runtime: typeof proto3;
160
+ static readonly typeName = "babelconnect.v1.SubscribeRequest";
161
+ static readonly fields: FieldList;
162
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SubscribeRequest;
163
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SubscribeRequest;
164
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SubscribeRequest;
165
+ static equals(a: SubscribeRequest | PlainMessage<SubscribeRequest> | undefined, b: SubscribeRequest | PlainMessage<SubscribeRequest> | undefined): boolean;
166
+ }
167
+ /**
168
+ * Ack is the empty reply to Send. It only confirms the server accepted the
169
+ * command for processing — the resulting state (or an Error) is delivered on the
170
+ * Subscribe stream, the same way Session reports it.
171
+ *
172
+ * @generated from message babelconnect.v1.Ack
173
+ */
174
+ export declare class Ack extends Message<Ack> {
175
+ constructor(data?: PartialMessage<Ack>);
176
+ static readonly runtime: typeof proto3;
177
+ static readonly typeName = "babelconnect.v1.Ack";
178
+ static readonly fields: FieldList;
179
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Ack;
180
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Ack;
181
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Ack;
182
+ static equals(a: Ack | PlainMessage<Ack> | undefined, b: Ack | PlainMessage<Ack> | undefined): boolean;
183
+ }
184
+ /**
185
+ * GetStateRequest fetches the current AgentView (the unary "get current state").
186
+ * Empty; the bearer token rides in "authorization" metadata like every call.
187
+ *
188
+ * @generated from message babelconnect.v1.GetStateRequest
189
+ */
190
+ export declare class GetStateRequest extends Message<GetStateRequest> {
191
+ constructor(data?: PartialMessage<GetStateRequest>);
192
+ static readonly runtime: typeof proto3;
193
+ static readonly typeName = "babelconnect.v1.GetStateRequest";
194
+ static readonly fields: FieldList;
195
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetStateRequest;
196
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetStateRequest;
197
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetStateRequest;
198
+ static equals(a: GetStateRequest | PlainMessage<GetStateRequest> | undefined, b: GetStateRequest | PlainMessage<GetStateRequest> | undefined): boolean;
199
+ }
200
+ /**
201
+ * HistoryRequest pages the agent's call history (newest first).
202
+ *
203
+ * @generated from message babelconnect.v1.HistoryRequest
204
+ */
205
+ export declare class HistoryRequest extends Message<HistoryRequest> {
206
+ /**
207
+ * page size (default 50)
208
+ *
209
+ * @generated from field: int32 max = 1;
210
+ */
211
+ max: number;
212
+ /**
213
+ * 1-based page (default 1)
214
+ *
215
+ * @generated from field: int32 page = 2;
216
+ */
217
+ page: number;
218
+ constructor(data?: PartialMessage<HistoryRequest>);
219
+ static readonly runtime: typeof proto3;
220
+ static readonly typeName = "babelconnect.v1.HistoryRequest";
221
+ static readonly fields: FieldList;
222
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HistoryRequest;
223
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HistoryRequest;
224
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HistoryRequest;
225
+ static equals(a: HistoryRequest | PlainMessage<HistoryRequest> | undefined, b: HistoryRequest | PlainMessage<HistoryRequest> | undefined): boolean;
226
+ }
227
+ /**
228
+ * HistoryResponse is one page of past calls.
229
+ *
230
+ * @generated from message babelconnect.v1.HistoryResponse
231
+ */
232
+ export declare class HistoryResponse extends Message<HistoryResponse> {
233
+ /**
234
+ * @generated from field: repeated babelconnect.v1.CallRecord calls = 1;
235
+ */
236
+ calls: CallRecord[];
237
+ constructor(data?: PartialMessage<HistoryResponse>);
238
+ static readonly runtime: typeof proto3;
239
+ static readonly typeName = "babelconnect.v1.HistoryResponse";
240
+ static readonly fields: FieldList;
241
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HistoryResponse;
242
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HistoryResponse;
243
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HistoryResponse;
244
+ static equals(a: HistoryResponse | PlainMessage<HistoryResponse> | undefined, b: HistoryResponse | PlainMessage<HistoryResponse> | undefined): boolean;
245
+ }
246
+ /**
247
+ * CallRecord is one past call for the history list (a flattened conversation).
248
+ *
249
+ * @generated from message babelconnect.v1.CallRecord
250
+ */
251
+ export declare class CallRecord extends Message<CallRecord> {
252
+ /**
253
+ * @generated from field: string id = 1;
254
+ */
255
+ id: string;
256
+ /**
257
+ * @generated from field: babelconnect.v1.CallDirection direction = 2;
258
+ */
259
+ direction: CallDirection;
260
+ /**
261
+ * @generated from field: string from = 3;
262
+ */
263
+ from: string;
264
+ /**
265
+ * @generated from field: string to = 4;
266
+ */
267
+ to: string;
268
+ /**
269
+ * phonebook label for the other party, if known
270
+ *
271
+ * @generated from field: string contact = 5;
272
+ */
273
+ contact: string;
274
+ /**
275
+ * unix seconds of the call
276
+ *
277
+ * @generated from field: int64 time = 6;
278
+ */
279
+ time: bigint;
280
+ /**
281
+ * @generated from field: int32 duration_ms = 7;
282
+ */
283
+ durationMs: number;
284
+ /**
285
+ * @generated from field: bool has_recording = 8;
286
+ */
287
+ hasRecording: boolean;
288
+ /**
289
+ * playback URL when a recording exists
290
+ *
291
+ * @generated from field: string recording_url = 9;
292
+ */
293
+ recordingUrl: string;
294
+ constructor(data?: PartialMessage<CallRecord>);
295
+ static readonly runtime: typeof proto3;
296
+ static readonly typeName = "babelconnect.v1.CallRecord";
297
+ static readonly fields: FieldList;
298
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CallRecord;
299
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CallRecord;
300
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CallRecord;
301
+ static equals(a: CallRecord | PlainMessage<CallRecord> | undefined, b: CallRecord | PlainMessage<CallRecord> | undefined): boolean;
302
+ }
303
+ /**
304
+ * @generated from message babelconnect.v1.Identity
305
+ */
306
+ export declare class Identity extends Message<Identity> {
307
+ /**
308
+ * Agent UUID, hyphen-normalized
309
+ *
310
+ * @generated from field: string agent_id = 1;
311
+ */
312
+ agentId: string;
313
+ /**
314
+ * customer / account id
315
+ *
316
+ * @generated from field: string account = 2;
317
+ */
318
+ account: string;
319
+ /**
320
+ * agent's number, if any
321
+ *
322
+ * @generated from field: string number = 3;
323
+ */
324
+ number: string;
325
+ /**
326
+ * @generated from field: string username = 4;
327
+ */
328
+ username: string;
329
+ /**
330
+ * current presence
331
+ *
332
+ * @generated from field: babelconnect.v1.AgentState state = 5;
333
+ */
334
+ state: AgentState;
335
+ constructor(data?: PartialMessage<Identity>);
336
+ static readonly runtime: typeof proto3;
337
+ static readonly typeName = "babelconnect.v1.Identity";
338
+ static readonly fields: FieldList;
339
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Identity;
340
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Identity;
341
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Identity;
342
+ static equals(a: Identity | PlainMessage<Identity> | undefined, b: Identity | PlainMessage<Identity> | undefined): boolean;
343
+ }
344
+ /**
345
+ * AgentView is the complete per-agent state the server owns and renders to. A
346
+ * snapshot carries the whole view; patches carry entity-level deltas.
347
+ *
348
+ * @generated from message babelconnect.v1.AgentView
349
+ */
350
+ export declare class AgentView extends Message<AgentView> {
351
+ /**
352
+ * @generated from field: babelconnect.v1.AgentInfo agent = 1;
353
+ */
354
+ agent?: AgentInfo;
355
+ /**
356
+ * calls currently in flight for this agent
357
+ *
358
+ * @generated from field: repeated babelconnect.v1.CallState active_calls = 2;
359
+ */
360
+ activeCalls: CallState[];
361
+ /**
362
+ * @generated from field: babelconnect.v1.WrapUpStatus wrap_up = 3;
363
+ */
364
+ wrapUp?: WrapUpStatus;
365
+ /**
366
+ * SMS thread summaries (full history on demand)
367
+ *
368
+ * @generated from field: repeated babelconnect.v1.SmsConversation sms = 4;
369
+ */
370
+ sms: SmsConversation[];
371
+ /**
372
+ * active multi-party conferences (usually 0 or 1)
373
+ *
374
+ * @generated from field: repeated babelconnect.v1.Conference conferences = 5;
375
+ */
376
+ conferences: Conference[];
377
+ /**
378
+ * which surfaces this deployment/account shows
379
+ *
380
+ * @generated from field: babelconnect.v1.AppConfig config = 6;
381
+ */
382
+ config?: AppConfig;
383
+ constructor(data?: PartialMessage<AgentView>);
384
+ static readonly runtime: typeof proto3;
385
+ static readonly typeName = "babelconnect.v1.AgentView";
386
+ static readonly fields: FieldList;
387
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentView;
388
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentView;
389
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentView;
390
+ static equals(a: AgentView | PlainMessage<AgentView> | undefined, b: AgentView | PlainMessage<AgentView> | undefined): boolean;
391
+ }
392
+ /**
393
+ * AppConfig is the server-resolved, per-agent feature configuration the client
394
+ * renders against (UI = f(view)): which surfaces are shown and their per-feature
395
+ * settings. Resolved server-side per deployment + account, so the client is a
396
+ * pure renderer. Carried on the snapshot (no patch) — config applies on next connect.
397
+ *
398
+ * @generated from message babelconnect.v1.AppConfig
399
+ */
400
+ export declare class AppConfig extends Message<AppConfig> {
401
+ /**
402
+ * @generated from field: babelconnect.v1.FeatureCalls calls = 1;
403
+ */
404
+ calls?: FeatureCalls;
405
+ /**
406
+ * @generated from field: babelconnect.v1.FeatureMessaging messaging = 2;
407
+ */
408
+ messaging?: FeatureMessaging;
409
+ /**
410
+ * @generated from field: babelconnect.v1.FeatureHistory history = 3;
411
+ */
412
+ history?: FeatureHistory;
413
+ /**
414
+ * @generated from field: babelconnect.v1.FeatureAccount account = 4;
415
+ */
416
+ account?: FeatureAccount;
417
+ /**
418
+ * @generated from field: babelconnect.v1.FeatureOutbound outbound = 5;
419
+ */
420
+ outbound?: FeatureOutbound;
421
+ /**
422
+ * @generated from field: babelconnect.v1.FeatureCti cti = 6;
423
+ */
424
+ cti?: FeatureCti;
425
+ /**
426
+ * Contacts (phonebook) tab
427
+ *
428
+ * @generated from field: babelconnect.v1.FeaturePhonebook phonebook = 7;
429
+ */
430
+ phonebook?: FeaturePhonebook;
431
+ /**
432
+ * build version for the Status/About surface; reserve 8–14
433
+ *
434
+ * @generated from field: string server_version = 15;
435
+ */
436
+ serverVersion: string;
437
+ constructor(data?: PartialMessage<AppConfig>);
438
+ static readonly runtime: typeof proto3;
439
+ static readonly typeName = "babelconnect.v1.AppConfig";
440
+ static readonly fields: FieldList;
441
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AppConfig;
442
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AppConfig;
443
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AppConfig;
444
+ static equals(a: AppConfig | PlainMessage<AppConfig> | undefined, b: AppConfig | PlainMessage<AppConfig> | undefined): boolean;
445
+ }
446
+ /**
447
+ * FeatureCalls gates the call surface (Phone tab) and its in-call actions.
448
+ * Recording stays gated by AgentInfo.can_record (not duplicated here); device
449
+ * (browser/telephone) by AgentInfo.webrtc_enabled.
450
+ *
451
+ * @generated from message babelconnect.v1.FeatureCalls
452
+ */
453
+ export declare class FeatureCalls extends Message<FeatureCalls> {
454
+ /**
455
+ * @generated from field: bool enabled = 1;
456
+ */
457
+ enabled: boolean;
458
+ /**
459
+ * cold transfer action
460
+ *
461
+ * @generated from field: bool allow_transfer = 2;
462
+ */
463
+ allowTransfer: boolean;
464
+ /**
465
+ * conference action (own bucket later when that surface lands)
466
+ *
467
+ * @generated from field: bool allow_conference = 3;
468
+ */
469
+ allowConference: boolean;
470
+ constructor(data?: PartialMessage<FeatureCalls>);
471
+ static readonly runtime: typeof proto3;
472
+ static readonly typeName = "babelconnect.v1.FeatureCalls";
473
+ static readonly fields: FieldList;
474
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FeatureCalls;
475
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FeatureCalls;
476
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FeatureCalls;
477
+ static equals(a: FeatureCalls | PlainMessage<FeatureCalls> | undefined, b: FeatureCalls | PlainMessage<FeatureCalls> | undefined): boolean;
478
+ }
479
+ /**
480
+ * @generated from message babelconnect.v1.FeatureMessaging
481
+ */
482
+ export declare class FeatureMessaging extends Message<FeatureMessaging> {
483
+ /**
484
+ * @generated from field: bool enabled = 1;
485
+ */
486
+ enabled: boolean;
487
+ constructor(data?: PartialMessage<FeatureMessaging>);
488
+ static readonly runtime: typeof proto3;
489
+ static readonly typeName = "babelconnect.v1.FeatureMessaging";
490
+ static readonly fields: FieldList;
491
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FeatureMessaging;
492
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FeatureMessaging;
493
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FeatureMessaging;
494
+ static equals(a: FeatureMessaging | PlainMessage<FeatureMessaging> | undefined, b: FeatureMessaging | PlainMessage<FeatureMessaging> | undefined): boolean;
495
+ }
496
+ /**
497
+ * @generated from message babelconnect.v1.FeatureHistory
498
+ */
499
+ export declare class FeatureHistory extends Message<FeatureHistory> {
500
+ /**
501
+ * @generated from field: bool enabled = 1;
502
+ */
503
+ enabled: boolean;
504
+ constructor(data?: PartialMessage<FeatureHistory>);
505
+ static readonly runtime: typeof proto3;
506
+ static readonly typeName = "babelconnect.v1.FeatureHistory";
507
+ static readonly fields: FieldList;
508
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FeatureHistory;
509
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FeatureHistory;
510
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FeatureHistory;
511
+ static equals(a: FeatureHistory | PlainMessage<FeatureHistory> | undefined, b: FeatureHistory | PlainMessage<FeatureHistory> | undefined): boolean;
512
+ }
513
+ /**
514
+ * FeatureAccount gates the Account tab and its sections.
515
+ *
516
+ * @generated from message babelconnect.v1.FeatureAccount
517
+ */
518
+ export declare class FeatureAccount extends Message<FeatureAccount> {
519
+ /**
520
+ * @generated from field: bool enabled = 1;
521
+ */
522
+ enabled: boolean;
523
+ /**
524
+ * browser/telephone selector + agent-number field
525
+ *
526
+ * @generated from field: bool allow_device_switch = 2;
527
+ */
528
+ allowDeviceSwitch: boolean;
529
+ /**
530
+ * the Status/About section
531
+ *
532
+ * @generated from field: bool show_status = 3;
533
+ */
534
+ showStatus: boolean;
535
+ constructor(data?: PartialMessage<FeatureAccount>);
536
+ static readonly runtime: typeof proto3;
537
+ static readonly typeName = "babelconnect.v1.FeatureAccount";
538
+ static readonly fields: FieldList;
539
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FeatureAccount;
540
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FeatureAccount;
541
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FeatureAccount;
542
+ static equals(a: FeatureAccount | PlainMessage<FeatureAccount> | undefined, b: FeatureAccount | PlainMessage<FeatureAccount> | undefined): boolean;
543
+ }
544
+ /**
545
+ * @generated from message babelconnect.v1.FeatureOutbound
546
+ */
547
+ export declare class FeatureOutbound extends Message<FeatureOutbound> {
548
+ /**
549
+ * @generated from field: bool enabled = 1;
550
+ */
551
+ enabled: boolean;
552
+ constructor(data?: PartialMessage<FeatureOutbound>);
553
+ static readonly runtime: typeof proto3;
554
+ static readonly typeName = "babelconnect.v1.FeatureOutbound";
555
+ static readonly fields: FieldList;
556
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FeatureOutbound;
557
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FeatureOutbound;
558
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FeatureOutbound;
559
+ static equals(a: FeatureOutbound | PlainMessage<FeatureOutbound> | undefined, b: FeatureOutbound | PlainMessage<FeatureOutbound> | undefined): boolean;
560
+ }
561
+ /**
562
+ * FeatureCti gates CTI/integration behavior (screen-pop + app→host call events).
563
+ *
564
+ * @generated from message babelconnect.v1.FeatureCti
565
+ */
566
+ export declare class FeatureCti extends Message<FeatureCti> {
567
+ /**
568
+ * @generated from field: bool enabled = 1;
569
+ */
570
+ enabled: boolean;
571
+ /**
572
+ * emit cti.call to an embedding host on each transition
573
+ *
574
+ * @generated from field: bool emit_call_events = 2;
575
+ */
576
+ emitCallEvents: boolean;
577
+ /**
578
+ * surface screen-pop notifications
579
+ *
580
+ * @generated from field: bool screen_pop = 3;
581
+ */
582
+ screenPop: boolean;
583
+ constructor(data?: PartialMessage<FeatureCti>);
584
+ static readonly runtime: typeof proto3;
585
+ static readonly typeName = "babelconnect.v1.FeatureCti";
586
+ static readonly fields: FieldList;
587
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FeatureCti;
588
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FeatureCti;
589
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FeatureCti;
590
+ static equals(a: FeatureCti | PlainMessage<FeatureCti> | undefined, b: FeatureCti | PlainMessage<FeatureCti> | undefined): boolean;
591
+ }
592
+ /**
593
+ * @generated from message babelconnect.v1.FeaturePhonebook
594
+ */
595
+ export declare class FeaturePhonebook extends Message<FeaturePhonebook> {
596
+ /**
597
+ * @generated from field: bool enabled = 1;
598
+ */
599
+ enabled: boolean;
600
+ constructor(data?: PartialMessage<FeaturePhonebook>);
601
+ static readonly runtime: typeof proto3;
602
+ static readonly typeName = "babelconnect.v1.FeaturePhonebook";
603
+ static readonly fields: FieldList;
604
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FeaturePhonebook;
605
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FeaturePhonebook;
606
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FeaturePhonebook;
607
+ static equals(a: FeaturePhonebook | PlainMessage<FeaturePhonebook> | undefined, b: FeaturePhonebook | PlainMessage<FeaturePhonebook> | undefined): boolean;
608
+ }
609
+ /**
610
+ * AgentInfo is the agent block of the view (identity + live presence + caps).
611
+ *
612
+ * @generated from message babelconnect.v1.AgentInfo
613
+ */
614
+ export declare class AgentInfo extends Message<AgentInfo> {
615
+ /**
616
+ * Agent UUID (hyphen-normalized)
617
+ *
618
+ * @generated from field: string id = 1;
619
+ */
620
+ id: string;
621
+ /**
622
+ * @generated from field: string name = 2;
623
+ */
624
+ name: string;
625
+ /**
626
+ * @generated from field: string number = 3;
627
+ */
628
+ number: string;
629
+ /**
630
+ * @generated from field: babelconnect.v1.AgentState presence = 4;
631
+ */
632
+ presence: AgentState;
633
+ /**
634
+ * @generated from field: bool webrtc_enabled = 5;
635
+ */
636
+ webrtcEnabled: boolean;
637
+ /**
638
+ * currently selected outbound number
639
+ *
640
+ * @generated from field: string display_as = 6;
641
+ */
642
+ displayAs: string;
643
+ /**
644
+ * @generated from field: repeated string available_numbers = 7;
645
+ */
646
+ availableNumbers: string[];
647
+ /**
648
+ * @generated from field: bool can_record = 8;
649
+ */
650
+ canRecord: boolean;
651
+ /**
652
+ * Presence selector: the options the agent may switch to (AVAILABLE plus any
653
+ * configured pause reasons), and the current presence's exact name+label. The
654
+ * `presence` enum above stays the coarse bucket for icons/colors; these carry
655
+ * the precise presence name+label the client renders + selects.
656
+ *
657
+ * @generated from field: repeated babelconnect.v1.PresenceOption presence_options = 9;
658
+ */
659
+ presenceOptions: PresenceOption[];
660
+ /**
661
+ * current presence name, e.g. "available", "break"
662
+ *
663
+ * @generated from field: string presence_name = 10;
664
+ */
665
+ presenceName: string;
666
+ /**
667
+ * current presence label, e.g. "Available", "Break"
668
+ *
669
+ * @generated from field: string presence_label = 11;
670
+ */
671
+ presenceLabel: string;
672
+ /**
673
+ * recording tags the agent may apply
674
+ *
675
+ * @generated from field: repeated string available_tags = 12;
676
+ */
677
+ availableTags: string[];
678
+ /**
679
+ * dial-from contacts + recent numbers
680
+ *
681
+ * @generated from field: repeated babelconnect.v1.PhonebookEntry phonebook = 13;
682
+ */
683
+ phonebook: PhonebookEntry[];
684
+ /**
685
+ * account records every outbound automatically
686
+ *
687
+ * @generated from field: bool always_record_outbound = 14;
688
+ */
689
+ alwaysRecordOutbound: boolean;
690
+ /**
691
+ * Identity for the shell/Status surface (resolved at auth, no extra fetch).
692
+ *
693
+ * login / email
694
+ *
695
+ * @generated from field: string username = 15;
696
+ */
697
+ username: string;
698
+ /**
699
+ * customer / account id
700
+ *
701
+ * @generated from field: string account_id = 16;
702
+ */
703
+ accountId: string;
704
+ /**
705
+ * account / company display name, when known
706
+ *
707
+ * @generated from field: string account_name = 17;
708
+ */
709
+ accountName: string;
710
+ constructor(data?: PartialMessage<AgentInfo>);
711
+ static readonly runtime: typeof proto3;
712
+ static readonly typeName = "babelconnect.v1.AgentInfo";
713
+ static readonly fields: FieldList;
714
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentInfo;
715
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentInfo;
716
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentInfo;
717
+ static equals(a: AgentInfo | PlainMessage<AgentInfo> | undefined, b: AgentInfo | PlainMessage<AgentInfo> | undefined): boolean;
718
+ }
719
+ /**
720
+ * PhonebookEntry is one dialable contact (or a recent number) for the dialer's
721
+ * autocomplete.
722
+ *
723
+ * @generated from message babelconnect.v1.PhonebookEntry
724
+ */
725
+ export declare class PhonebookEntry extends Message<PhonebookEntry> {
726
+ /**
727
+ * contact name, or "recent" for a recently dialed number
728
+ *
729
+ * @generated from field: string label = 1;
730
+ */
731
+ label: string;
732
+ /**
733
+ * @generated from field: string number = 2;
734
+ */
735
+ number: string;
736
+ constructor(data?: PartialMessage<PhonebookEntry>);
737
+ static readonly runtime: typeof proto3;
738
+ static readonly typeName = "babelconnect.v1.PhonebookEntry";
739
+ static readonly fields: FieldList;
740
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PhonebookEntry;
741
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PhonebookEntry;
742
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PhonebookEntry;
743
+ static equals(a: PhonebookEntry | PlainMessage<PhonebookEntry> | undefined, b: PhonebookEntry | PlainMessage<PhonebookEntry> | undefined): boolean;
744
+ }
745
+ /**
746
+ * PhonebookRequest / PhonebookResponse re-pull the agent's merged contacts +
747
+ * recent numbers on demand (refresh). `query` filters by label/number server-side.
748
+ *
749
+ * @generated from message babelconnect.v1.PhonebookRequest
750
+ */
751
+ export declare class PhonebookRequest extends Message<PhonebookRequest> {
752
+ /**
753
+ * page size (default 200)
754
+ *
755
+ * @generated from field: int32 max = 1;
756
+ */
757
+ max: number;
758
+ /**
759
+ * 1-based page (default 1)
760
+ *
761
+ * @generated from field: int32 page = 2;
762
+ */
763
+ page: number;
764
+ /**
765
+ * optional label/number filter
766
+ *
767
+ * @generated from field: string query = 3;
768
+ */
769
+ query: string;
770
+ constructor(data?: PartialMessage<PhonebookRequest>);
771
+ static readonly runtime: typeof proto3;
772
+ static readonly typeName = "babelconnect.v1.PhonebookRequest";
773
+ static readonly fields: FieldList;
774
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PhonebookRequest;
775
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PhonebookRequest;
776
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PhonebookRequest;
777
+ static equals(a: PhonebookRequest | PlainMessage<PhonebookRequest> | undefined, b: PhonebookRequest | PlainMessage<PhonebookRequest> | undefined): boolean;
778
+ }
779
+ /**
780
+ * @generated from message babelconnect.v1.PhonebookResponse
781
+ */
782
+ export declare class PhonebookResponse extends Message<PhonebookResponse> {
783
+ /**
784
+ * @generated from field: repeated babelconnect.v1.PhonebookEntry entries = 1;
785
+ */
786
+ entries: PhonebookEntry[];
787
+ constructor(data?: PartialMessage<PhonebookResponse>);
788
+ static readonly runtime: typeof proto3;
789
+ static readonly typeName = "babelconnect.v1.PhonebookResponse";
790
+ static readonly fields: FieldList;
791
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PhonebookResponse;
792
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PhonebookResponse;
793
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PhonebookResponse;
794
+ static equals(a: PhonebookResponse | PlainMessage<PhonebookResponse> | undefined, b: PhonebookResponse | PlainMessage<PhonebookResponse> | undefined): boolean;
795
+ }
796
+ /**
797
+ * PresenceOption is one selectable agent presence — "Available" or a configured
798
+ * pause reason. `available` is whether the agent can receive calls in it.
799
+ *
800
+ * @generated from message babelconnect.v1.PresenceOption
801
+ */
802
+ export declare class PresenceOption extends Message<PresenceOption> {
803
+ /**
804
+ * e.g. "available", "break"
805
+ *
806
+ * @generated from field: string name = 1;
807
+ */
808
+ name: string;
809
+ /**
810
+ * e.g. "Available", "Break"
811
+ *
812
+ * @generated from field: string label = 2;
813
+ */
814
+ label: string;
815
+ /**
816
+ * @generated from field: bool available = 3;
817
+ */
818
+ available: boolean;
819
+ constructor(data?: PartialMessage<PresenceOption>);
820
+ static readonly runtime: typeof proto3;
821
+ static readonly typeName = "babelconnect.v1.PresenceOption";
822
+ static readonly fields: FieldList;
823
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PresenceOption;
824
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PresenceOption;
825
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PresenceOption;
826
+ static equals(a: PresenceOption | PlainMessage<PresenceOption> | undefined, b: PresenceOption | PlainMessage<PresenceOption> | undefined): boolean;
827
+ }
828
+ /**
829
+ * CallState is one call as the server sees it. Replace-by-id on upsert.
830
+ *
831
+ * @generated from message babelconnect.v1.CallState
832
+ */
833
+ export declare class CallState extends Message<CallState> {
834
+ /**
835
+ * server call id
836
+ *
837
+ * @generated from field: string id = 1;
838
+ */
839
+ id: string;
840
+ /**
841
+ * @generated from field: babelconnect.v1.CallDirection direction = 2;
842
+ */
843
+ direction: CallDirection;
844
+ /**
845
+ * @generated from field: babelconnect.v1.CallLifecycle state = 3;
846
+ */
847
+ state: CallLifecycle;
848
+ /**
849
+ * @generated from field: babelconnect.v1.CallSource source = 4;
850
+ */
851
+ source: CallSource;
852
+ /**
853
+ * @generated from field: string from = 5;
854
+ */
855
+ from: string;
856
+ /**
857
+ * @generated from field: string to = 6;
858
+ */
859
+ to: string;
860
+ /**
861
+ * @generated from field: string queue_name = 7;
862
+ */
863
+ queueName: string;
864
+ /**
865
+ * unix seconds when the call bridged (0 until then)
866
+ *
867
+ * @generated from field: int64 established_at = 8;
868
+ */
869
+ establishedAt: bigint;
870
+ /**
871
+ * @generated from field: bool muted = 9;
872
+ */
873
+ muted: boolean;
874
+ /**
875
+ * @generated from field: bool on_hold = 10;
876
+ */
877
+ onHold: boolean;
878
+ /**
879
+ * @generated from field: bool recording = 11;
880
+ */
881
+ recording: boolean;
882
+ /**
883
+ * @generated from field: bool anonymous = 12;
884
+ */
885
+ anonymous: boolean;
886
+ /**
887
+ * SDP offer the client answers; set while RINGING
888
+ *
889
+ * @generated from field: string webrtc_offer = 13;
890
+ */
891
+ webrtcOffer: string;
892
+ /**
893
+ * active recording id (for stop/flag/tags)
894
+ *
895
+ * @generated from field: string recording_id = 14;
896
+ */
897
+ recordingId: string;
898
+ /**
899
+ * @generated from field: repeated string recording_tags = 15;
900
+ */
901
+ recordingTags: string[];
902
+ /**
903
+ * @generated from field: bool recording_flagged = 16;
904
+ */
905
+ recordingFlagged: boolean;
906
+ /**
907
+ * STUN/TURN servers the client applies; for off-host NAT traversal
908
+ *
909
+ * @generated from field: repeated babelconnect.v1.IceServer ice_servers = 17;
910
+ */
911
+ iceServers: IceServer[];
912
+ constructor(data?: PartialMessage<CallState>);
913
+ static readonly runtime: typeof proto3;
914
+ static readonly typeName = "babelconnect.v1.CallState";
915
+ static readonly fields: FieldList;
916
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CallState;
917
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CallState;
918
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CallState;
919
+ static equals(a: CallState | PlainMessage<CallState> | undefined, b: CallState | PlainMessage<CallState> | undefined): boolean;
920
+ }
921
+ /**
922
+ * IceServer is a STUN/TURN server the client applies to its WebRTC peer
923
+ * connection (RTCIceServer shape). Carried on CallState so an off-host client
924
+ * (e.g. a phone) can relay media through TURN when it can't reach the server's
925
+ * host ICE candidates. Empty in the in-cluster/LAN case.
926
+ *
927
+ * @generated from message babelconnect.v1.IceServer
928
+ */
929
+ export declare class IceServer extends Message<IceServer> {
930
+ /**
931
+ * e.g. ["turn:host:3478?transport=tcp"]
932
+ *
933
+ * @generated from field: repeated string urls = 1;
934
+ */
935
+ urls: string[];
936
+ /**
937
+ * @generated from field: string username = 2;
938
+ */
939
+ username: string;
940
+ /**
941
+ * @generated from field: string credential = 3;
942
+ */
943
+ credential: string;
944
+ constructor(data?: PartialMessage<IceServer>);
945
+ static readonly runtime: typeof proto3;
946
+ static readonly typeName = "babelconnect.v1.IceServer";
947
+ static readonly fields: FieldList;
948
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IceServer;
949
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IceServer;
950
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IceServer;
951
+ static equals(a: IceServer | PlainMessage<IceServer> | undefined, b: IceServer | PlainMessage<IceServer> | undefined): boolean;
952
+ }
953
+ /**
954
+ * WrapUpStatus is the after-call-work countdown.
955
+ *
956
+ * @generated from message babelconnect.v1.WrapUpStatus
957
+ */
958
+ export declare class WrapUpStatus extends Message<WrapUpStatus> {
959
+ /**
960
+ * @generated from field: bool active = 1;
961
+ */
962
+ active: boolean;
963
+ /**
964
+ * @generated from field: int32 remaining_seconds = 2;
965
+ */
966
+ remainingSeconds: number;
967
+ /**
968
+ * @generated from field: string last_call_type = 3;
969
+ */
970
+ lastCallType: string;
971
+ /**
972
+ * @generated from field: bool can_cancel = 4;
973
+ */
974
+ canCancel: boolean;
975
+ /**
976
+ * @generated from field: bool can_extend = 5;
977
+ */
978
+ canExtend: boolean;
979
+ constructor(data?: PartialMessage<WrapUpStatus>);
980
+ static readonly runtime: typeof proto3;
981
+ static readonly typeName = "babelconnect.v1.WrapUpStatus";
982
+ static readonly fields: FieldList;
983
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WrapUpStatus;
984
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WrapUpStatus;
985
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WrapUpStatus;
986
+ static equals(a: WrapUpStatus | PlainMessage<WrapUpStatus> | undefined, b: WrapUpStatus | PlainMessage<WrapUpStatus> | undefined): boolean;
987
+ }
988
+ /**
989
+ * StateUpdate is the single server → client message on the Session stream. On
990
+ * open the client receives a snapshot; thereafter partial patches. `seq` is
991
+ * monotonic across snapshot+patch — a gap means the client should resubscribe
992
+ * for a fresh snapshot. `error` is an out-of-band notice (command rejection /
993
+ * server warning) and does NOT advance `seq`.
994
+ *
995
+ * @generated from message babelconnect.v1.StateUpdate
996
+ */
997
+ export declare class StateUpdate extends Message<StateUpdate> {
998
+ /**
999
+ * @generated from field: uint64 seq = 1;
1000
+ */
1001
+ seq: bigint;
1002
+ /**
1003
+ * @generated from oneof babelconnect.v1.StateUpdate.update
1004
+ */
1005
+ update: {
1006
+ /**
1007
+ * @generated from field: babelconnect.v1.AgentView snapshot = 2;
1008
+ */
1009
+ value: AgentView;
1010
+ case: "snapshot";
1011
+ } | {
1012
+ /**
1013
+ * @generated from field: babelconnect.v1.Patch patch = 3;
1014
+ */
1015
+ value: Patch;
1016
+ case: "patch";
1017
+ } | {
1018
+ /**
1019
+ * @generated from field: babelconnect.v1.Error error = 4;
1020
+ */
1021
+ value: Error;
1022
+ case: "error";
1023
+ } | {
1024
+ case: undefined;
1025
+ value?: undefined;
1026
+ };
1027
+ constructor(data?: PartialMessage<StateUpdate>);
1028
+ static readonly runtime: typeof proto3;
1029
+ static readonly typeName = "babelconnect.v1.StateUpdate";
1030
+ static readonly fields: FieldList;
1031
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StateUpdate;
1032
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StateUpdate;
1033
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StateUpdate;
1034
+ static equals(a: StateUpdate | PlainMessage<StateUpdate> | undefined, b: StateUpdate | PlainMessage<StateUpdate> | undefined): boolean;
1035
+ }
1036
+ /**
1037
+ * Patch is an entity-level delta applied mechanically by the client cache:
1038
+ * replace the agent block, upsert/remove a call by id, or set wrap-up.
1039
+ *
1040
+ * @generated from message babelconnect.v1.Patch
1041
+ */
1042
+ export declare class Patch extends Message<Patch> {
1043
+ /**
1044
+ * @generated from oneof babelconnect.v1.Patch.change
1045
+ */
1046
+ change: {
1047
+ /**
1048
+ * @generated from field: babelconnect.v1.AgentInfo agent = 1;
1049
+ */
1050
+ value: AgentInfo;
1051
+ case: "agent";
1052
+ } | {
1053
+ /**
1054
+ * @generated from field: babelconnect.v1.CallState call_upsert = 2;
1055
+ */
1056
+ value: CallState;
1057
+ case: "callUpsert";
1058
+ } | {
1059
+ /**
1060
+ * call id to drop
1061
+ *
1062
+ * @generated from field: string call_remove = 3;
1063
+ */
1064
+ value: string;
1065
+ case: "callRemove";
1066
+ } | {
1067
+ /**
1068
+ * @generated from field: babelconnect.v1.WrapUpStatus wrap_up = 4;
1069
+ */
1070
+ value: WrapUpStatus;
1071
+ case: "wrapUp";
1072
+ } | {
1073
+ /**
1074
+ * transient CTI screen-pop (not part of the view)
1075
+ *
1076
+ * @generated from field: babelconnect.v1.Notification notification = 5;
1077
+ */
1078
+ value: Notification;
1079
+ case: "notification";
1080
+ } | {
1081
+ /**
1082
+ * upsert an SMS thread summary by id
1083
+ *
1084
+ * @generated from field: babelconnect.v1.SmsConversation sms_upsert = 6;
1085
+ */
1086
+ value: SmsConversation;
1087
+ case: "smsUpsert";
1088
+ } | {
1089
+ /**
1090
+ * SMS conversation id to drop
1091
+ *
1092
+ * @generated from field: string sms_remove = 7;
1093
+ */
1094
+ value: string;
1095
+ case: "smsRemove";
1096
+ } | {
1097
+ /**
1098
+ * upsert a conference by id
1099
+ *
1100
+ * @generated from field: babelconnect.v1.Conference conference_upsert = 8;
1101
+ */
1102
+ value: Conference;
1103
+ case: "conferenceUpsert";
1104
+ } | {
1105
+ /**
1106
+ * conference id to drop (finished/left)
1107
+ *
1108
+ * @generated from field: string conference_remove = 9;
1109
+ */
1110
+ value: string;
1111
+ case: "conferenceRemove";
1112
+ } | {
1113
+ /**
1114
+ * resolved feature config (emitted on register)
1115
+ *
1116
+ * @generated from field: babelconnect.v1.AppConfig config = 10;
1117
+ */
1118
+ value: AppConfig;
1119
+ case: "config";
1120
+ } | {
1121
+ case: undefined;
1122
+ value?: undefined;
1123
+ };
1124
+ constructor(data?: PartialMessage<Patch>);
1125
+ static readonly runtime: typeof proto3;
1126
+ static readonly typeName = "babelconnect.v1.Patch";
1127
+ static readonly fields: FieldList;
1128
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Patch;
1129
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Patch;
1130
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Patch;
1131
+ static equals(a: Patch | PlainMessage<Patch> | undefined, b: Patch | PlainMessage<Patch> | undefined): boolean;
1132
+ }
1133
+ /**
1134
+ * Notification is a transient one-shot the client surfaces (a CTI screen-pop /
1135
+ * pushed agent data). It is NOT stored in the AgentView snapshot — it fires once.
1136
+ *
1137
+ * @generated from message babelconnect.v1.Notification
1138
+ */
1139
+ export declare class Notification extends Message<Notification> {
1140
+ /**
1141
+ * e.g. "cti.message"
1142
+ *
1143
+ * @generated from field: string kind = 1;
1144
+ */
1145
+ kind: string;
1146
+ /**
1147
+ * @generated from field: string title = 2;
1148
+ */
1149
+ title: string;
1150
+ /**
1151
+ * @generated from field: string body = 3;
1152
+ */
1153
+ body: string;
1154
+ /**
1155
+ * arbitrary pushed payload, JSON-encoded
1156
+ *
1157
+ * @generated from field: string data_json = 4;
1158
+ */
1159
+ dataJson: string;
1160
+ /**
1161
+ * @generated from field: int64 ts = 5;
1162
+ */
1163
+ ts: bigint;
1164
+ constructor(data?: PartialMessage<Notification>);
1165
+ static readonly runtime: typeof proto3;
1166
+ static readonly typeName = "babelconnect.v1.Notification";
1167
+ static readonly fields: FieldList;
1168
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Notification;
1169
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Notification;
1170
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Notification;
1171
+ static equals(a: Notification | PlainMessage<Notification> | undefined, b: Notification | PlainMessage<Notification> | undefined): boolean;
1172
+ }
1173
+ /**
1174
+ * @generated from message babelconnect.v1.Error
1175
+ */
1176
+ export declare class Error extends Message<Error> {
1177
+ /**
1178
+ * @generated from field: string code = 1;
1179
+ */
1180
+ code: string;
1181
+ /**
1182
+ * @generated from field: string message = 2;
1183
+ */
1184
+ message: string;
1185
+ /**
1186
+ * optional: the call the rejected command targeted
1187
+ *
1188
+ * @generated from field: string call_id = 3;
1189
+ */
1190
+ callId: string;
1191
+ constructor(data?: PartialMessage<Error>);
1192
+ static readonly runtime: typeof proto3;
1193
+ static readonly typeName = "babelconnect.v1.Error";
1194
+ static readonly fields: FieldList;
1195
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Error;
1196
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Error;
1197
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Error;
1198
+ static equals(a: Error | PlainMessage<Error> | undefined, b: Error | PlainMessage<Error> | undefined): boolean;
1199
+ }
1200
+ /**
1201
+ * @generated from message babelconnect.v1.Command
1202
+ */
1203
+ export declare class Command extends Message<Command> {
1204
+ /**
1205
+ * @generated from oneof babelconnect.v1.Command.command
1206
+ */
1207
+ command: {
1208
+ /**
1209
+ * announce reachability for this session
1210
+ *
1211
+ * @generated from field: babelconnect.v1.Register register = 1;
1212
+ */
1213
+ value: Register;
1214
+ case: "register";
1215
+ } | {
1216
+ /**
1217
+ * place an outbound call
1218
+ *
1219
+ * @generated from field: babelconnect.v1.PlaceCall place_call = 2;
1220
+ */
1221
+ value: PlaceCall;
1222
+ case: "placeCall";
1223
+ } | {
1224
+ /**
1225
+ * SDP answer to a RINGING CallState
1226
+ *
1227
+ * @generated from field: babelconnect.v1.AnswerCall answer = 3;
1228
+ */
1229
+ value: AnswerCall;
1230
+ case: "answer";
1231
+ } | {
1232
+ /**
1233
+ * @generated from field: babelconnect.v1.Hangup hangup = 4;
1234
+ */
1235
+ value: Hangup;
1236
+ case: "hangup";
1237
+ } | {
1238
+ /**
1239
+ * @generated from field: babelconnect.v1.Mute mute = 5;
1240
+ */
1241
+ value: Mute;
1242
+ case: "mute";
1243
+ } | {
1244
+ /**
1245
+ * @generated from field: babelconnect.v1.Hold hold = 6;
1246
+ */
1247
+ value: Hold;
1248
+ case: "hold";
1249
+ } | {
1250
+ /**
1251
+ * @generated from field: babelconnect.v1.SendDigits dtmf = 7;
1252
+ */
1253
+ value: SendDigits;
1254
+ case: "dtmf";
1255
+ } | {
1256
+ /**
1257
+ * @generated from field: babelconnect.v1.SetDisplayAs set_display_as = 8;
1258
+ */
1259
+ value: SetDisplayAs;
1260
+ case: "setDisplayAs";
1261
+ } | {
1262
+ /**
1263
+ * @generated from field: babelconnect.v1.Transfer transfer = 9;
1264
+ */
1265
+ value: Transfer;
1266
+ case: "transfer";
1267
+ } | {
1268
+ /**
1269
+ * switch the agent's presence (selector)
1270
+ *
1271
+ * @generated from field: babelconnect.v1.SetPresence set_presence = 10;
1272
+ */
1273
+ value: SetPresence;
1274
+ case: "setPresence";
1275
+ } | {
1276
+ /**
1277
+ * add time to the after-call-work countdown
1278
+ *
1279
+ * @generated from field: babelconnect.v1.WrapUpExtend wrap_up_extend = 11;
1280
+ */
1281
+ value: WrapUpExtend;
1282
+ case: "wrapUpExtend";
1283
+ } | {
1284
+ /**
1285
+ * end after-call-work early
1286
+ *
1287
+ * @generated from field: babelconnect.v1.WrapUpCancel wrap_up_cancel = 12;
1288
+ */
1289
+ value: WrapUpCancel;
1290
+ case: "wrapUpCancel";
1291
+ } | {
1292
+ /**
1293
+ * clear a blocked line (busy/unreachable)
1294
+ *
1295
+ * @generated from field: babelconnect.v1.ResetLineStatus reset_line_status = 13;
1296
+ */
1297
+ value: ResetLineStatus;
1298
+ case: "resetLineStatus";
1299
+ } | {
1300
+ /**
1301
+ * @generated from field: babelconnect.v1.StartRecording start_recording = 14;
1302
+ */
1303
+ value: StartRecording;
1304
+ case: "startRecording";
1305
+ } | {
1306
+ /**
1307
+ * @generated from field: babelconnect.v1.StopRecording stop_recording = 15;
1308
+ */
1309
+ value: StopRecording;
1310
+ case: "stopRecording";
1311
+ } | {
1312
+ /**
1313
+ * toggle the "flagged" tag on the recording
1314
+ *
1315
+ * @generated from field: babelconnect.v1.FlagRecording flag_recording = 16;
1316
+ */
1317
+ value: FlagRecording;
1318
+ case: "flagRecording";
1319
+ } | {
1320
+ /**
1321
+ * @generated from field: babelconnect.v1.SetRecordingTags set_recording_tags = 17;
1322
+ */
1323
+ value: SetRecordingTags;
1324
+ case: "setRecordingTags";
1325
+ } | {
1326
+ /**
1327
+ * browser phone (webrtc) on/off
1328
+ *
1329
+ * @generated from field: babelconnect.v1.SetWebrtc set_webrtc = 18;
1330
+ */
1331
+ value: SetWebrtc;
1332
+ case: "setWebrtc";
1333
+ } | {
1334
+ /**
1335
+ * the external-telephone number to bridge to
1336
+ *
1337
+ * @generated from field: babelconnect.v1.SetAgentNumber set_agent_number = 19;
1338
+ */
1339
+ value: SetAgentNumber;
1340
+ case: "setAgentNumber";
1341
+ } | {
1342
+ /**
1343
+ * send an SMS (same as the SendSms RPC)
1344
+ *
1345
+ * @generated from field: babelconnect.v1.SendSmsRequest send_sms = 20;
1346
+ */
1347
+ value: SendSmsRequest;
1348
+ case: "sendSms";
1349
+ } | {
1350
+ /**
1351
+ * open a conference around the current call
1352
+ *
1353
+ * @generated from field: babelconnect.v1.StartConference start_conference = 21;
1354
+ */
1355
+ value: StartConference;
1356
+ case: "startConference";
1357
+ } | {
1358
+ /**
1359
+ * invite an agent or number
1360
+ *
1361
+ * @generated from field: babelconnect.v1.AddConferenceMember add_conference_member = 22;
1362
+ */
1363
+ value: AddConferenceMember;
1364
+ case: "addConferenceMember";
1365
+ } | {
1366
+ /**
1367
+ * moderator removes a member
1368
+ *
1369
+ * @generated from field: babelconnect.v1.KickConferenceMember kick_conference_member = 23;
1370
+ */
1371
+ value: KickConferenceMember;
1372
+ case: "kickConferenceMember";
1373
+ } | {
1374
+ /**
1375
+ * moderator ends the whole conference
1376
+ *
1377
+ * @generated from field: babelconnect.v1.EndConference end_conference = 24;
1378
+ */
1379
+ value: EndConference;
1380
+ case: "endConference";
1381
+ } | {
1382
+ /**
1383
+ * hang up only my own leg
1384
+ *
1385
+ * @generated from field: babelconnect.v1.LeaveConference leave_conference = 25;
1386
+ */
1387
+ value: LeaveConference;
1388
+ case: "leaveConference";
1389
+ } | {
1390
+ /**
1391
+ * moderator holds/unholds a member
1392
+ *
1393
+ * @generated from field: babelconnect.v1.HoldConferenceMember hold_conference_member = 26;
1394
+ */
1395
+ value: HoldConferenceMember;
1396
+ case: "holdConferenceMember";
1397
+ } | {
1398
+ /**
1399
+ * moderator mutes/unmutes a member
1400
+ *
1401
+ * @generated from field: babelconnect.v1.MuteConferenceMember mute_conference_member = 27;
1402
+ */
1403
+ value: MuteConferenceMember;
1404
+ case: "muteConferenceMember";
1405
+ } | {
1406
+ /**
1407
+ * open/close (resolve) an SMS conversation
1408
+ *
1409
+ * @generated from field: babelconnect.v1.SetConversationOpen set_conversation_open = 28;
1410
+ */
1411
+ value: SetConversationOpen;
1412
+ case: "setConversationOpen";
1413
+ } | {
1414
+ /**
1415
+ * clear unread on an SMS conversation
1416
+ *
1417
+ * @generated from field: babelconnect.v1.MarkConversationRead mark_conversation_read = 29;
1418
+ */
1419
+ value: MarkConversationRead;
1420
+ case: "markConversationRead";
1421
+ } | {
1422
+ case: undefined;
1423
+ value?: undefined;
1424
+ };
1425
+ constructor(data?: PartialMessage<Command>);
1426
+ static readonly runtime: typeof proto3;
1427
+ static readonly typeName = "babelconnect.v1.Command";
1428
+ static readonly fields: FieldList;
1429
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Command;
1430
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Command;
1431
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Command;
1432
+ static equals(a: Command | PlainMessage<Command> | undefined, b: Command | PlainMessage<Command> | undefined): boolean;
1433
+ }
1434
+ /**
1435
+ * @generated from message babelconnect.v1.Register
1436
+ */
1437
+ export declare class Register extends Message<Register> {
1438
+ /**
1439
+ * advisory, e.g. ["webrtc"]
1440
+ *
1441
+ * @generated from field: repeated string capabilities = 1;
1442
+ */
1443
+ capabilities: string[];
1444
+ constructor(data?: PartialMessage<Register>);
1445
+ static readonly runtime: typeof proto3;
1446
+ static readonly typeName = "babelconnect.v1.Register";
1447
+ static readonly fields: FieldList;
1448
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Register;
1449
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Register;
1450
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Register;
1451
+ static equals(a: Register | PlainMessage<Register> | undefined, b: Register | PlainMessage<Register> | undefined): boolean;
1452
+ }
1453
+ /**
1454
+ * @generated from message babelconnect.v1.PlaceCall
1455
+ */
1456
+ export declare class PlaceCall extends Message<PlaceCall> {
1457
+ /**
1458
+ * @generated from field: string to = 1;
1459
+ */
1460
+ to: string;
1461
+ /**
1462
+ * service number shown to the consumer
1463
+ *
1464
+ * @generated from field: string display_as_to = 2;
1465
+ */
1466
+ displayAsTo: string;
1467
+ /**
1468
+ * number shown to the agent
1469
+ *
1470
+ * @generated from field: string display_as_from = 3;
1471
+ */
1472
+ displayAsFrom: string;
1473
+ /**
1474
+ * start recording the call from answer (recording.autostart)
1475
+ *
1476
+ * @generated from field: bool record = 4;
1477
+ */
1478
+ record: boolean;
1479
+ /**
1480
+ * opaque CTI/embedding correlation (from session.set)
1481
+ *
1482
+ * @generated from field: map<string, string> session = 5;
1483
+ */
1484
+ session: {
1485
+ [key: string]: string;
1486
+ };
1487
+ constructor(data?: PartialMessage<PlaceCall>);
1488
+ static readonly runtime: typeof proto3;
1489
+ static readonly typeName = "babelconnect.v1.PlaceCall";
1490
+ static readonly fields: FieldList;
1491
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PlaceCall;
1492
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PlaceCall;
1493
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PlaceCall;
1494
+ static equals(a: PlaceCall | PlainMessage<PlaceCall> | undefined, b: PlaceCall | PlainMessage<PlaceCall> | undefined): boolean;
1495
+ }
1496
+ /**
1497
+ * @generated from message babelconnect.v1.AnswerCall
1498
+ */
1499
+ export declare class AnswerCall extends Message<AnswerCall> {
1500
+ /**
1501
+ * the RINGING call's id
1502
+ *
1503
+ * @generated from field: string call_id = 1;
1504
+ */
1505
+ callId: string;
1506
+ /**
1507
+ * WebRTC SDP answer
1508
+ *
1509
+ * @generated from field: string sdp = 2;
1510
+ */
1511
+ sdp: string;
1512
+ constructor(data?: PartialMessage<AnswerCall>);
1513
+ static readonly runtime: typeof proto3;
1514
+ static readonly typeName = "babelconnect.v1.AnswerCall";
1515
+ static readonly fields: FieldList;
1516
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AnswerCall;
1517
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AnswerCall;
1518
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AnswerCall;
1519
+ static equals(a: AnswerCall | PlainMessage<AnswerCall> | undefined, b: AnswerCall | PlainMessage<AnswerCall> | undefined): boolean;
1520
+ }
1521
+ /**
1522
+ * @generated from message babelconnect.v1.Hangup
1523
+ */
1524
+ export declare class Hangup extends Message<Hangup> {
1525
+ /**
1526
+ * @generated from field: string call_id = 1;
1527
+ */
1528
+ callId: string;
1529
+ constructor(data?: PartialMessage<Hangup>);
1530
+ static readonly runtime: typeof proto3;
1531
+ static readonly typeName = "babelconnect.v1.Hangup";
1532
+ static readonly fields: FieldList;
1533
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Hangup;
1534
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Hangup;
1535
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Hangup;
1536
+ static equals(a: Hangup | PlainMessage<Hangup> | undefined, b: Hangup | PlainMessage<Hangup> | undefined): boolean;
1537
+ }
1538
+ /**
1539
+ * @generated from message babelconnect.v1.Mute
1540
+ */
1541
+ export declare class Mute extends Message<Mute> {
1542
+ /**
1543
+ * @generated from field: string call_id = 1;
1544
+ */
1545
+ callId: string;
1546
+ /**
1547
+ * @generated from field: bool on = 2;
1548
+ */
1549
+ on: boolean;
1550
+ constructor(data?: PartialMessage<Mute>);
1551
+ static readonly runtime: typeof proto3;
1552
+ static readonly typeName = "babelconnect.v1.Mute";
1553
+ static readonly fields: FieldList;
1554
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Mute;
1555
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Mute;
1556
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Mute;
1557
+ static equals(a: Mute | PlainMessage<Mute> | undefined, b: Mute | PlainMessage<Mute> | undefined): boolean;
1558
+ }
1559
+ /**
1560
+ * @generated from message babelconnect.v1.Hold
1561
+ */
1562
+ export declare class Hold extends Message<Hold> {
1563
+ /**
1564
+ * @generated from field: string call_id = 1;
1565
+ */
1566
+ callId: string;
1567
+ /**
1568
+ * @generated from field: bool on = 2;
1569
+ */
1570
+ on: boolean;
1571
+ constructor(data?: PartialMessage<Hold>);
1572
+ static readonly runtime: typeof proto3;
1573
+ static readonly typeName = "babelconnect.v1.Hold";
1574
+ static readonly fields: FieldList;
1575
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Hold;
1576
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Hold;
1577
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Hold;
1578
+ static equals(a: Hold | PlainMessage<Hold> | undefined, b: Hold | PlainMessage<Hold> | undefined): boolean;
1579
+ }
1580
+ /**
1581
+ * @generated from message babelconnect.v1.SendDigits
1582
+ */
1583
+ export declare class SendDigits extends Message<SendDigits> {
1584
+ /**
1585
+ * @generated from field: string call_id = 1;
1586
+ */
1587
+ callId: string;
1588
+ /**
1589
+ * DTMF, e.g. "1", "#"
1590
+ *
1591
+ * @generated from field: string digits = 2;
1592
+ */
1593
+ digits: string;
1594
+ constructor(data?: PartialMessage<SendDigits>);
1595
+ static readonly runtime: typeof proto3;
1596
+ static readonly typeName = "babelconnect.v1.SendDigits";
1597
+ static readonly fields: FieldList;
1598
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendDigits;
1599
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendDigits;
1600
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendDigits;
1601
+ static equals(a: SendDigits | PlainMessage<SendDigits> | undefined, b: SendDigits | PlainMessage<SendDigits> | undefined): boolean;
1602
+ }
1603
+ /**
1604
+ * @generated from message babelconnect.v1.SetDisplayAs
1605
+ */
1606
+ export declare class SetDisplayAs extends Message<SetDisplayAs> {
1607
+ /**
1608
+ * outbound number to present
1609
+ *
1610
+ * @generated from field: string number = 1;
1611
+ */
1612
+ number: string;
1613
+ constructor(data?: PartialMessage<SetDisplayAs>);
1614
+ static readonly runtime: typeof proto3;
1615
+ static readonly typeName = "babelconnect.v1.SetDisplayAs";
1616
+ static readonly fields: FieldList;
1617
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetDisplayAs;
1618
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetDisplayAs;
1619
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetDisplayAs;
1620
+ static equals(a: SetDisplayAs | PlainMessage<SetDisplayAs> | undefined, b: SetDisplayAs | PlainMessage<SetDisplayAs> | undefined): boolean;
1621
+ }
1622
+ /**
1623
+ * @generated from message babelconnect.v1.SetPresence
1624
+ */
1625
+ export declare class SetPresence extends Message<SetPresence> {
1626
+ /**
1627
+ * presence to switch to, e.g. "available" or a pause reason
1628
+ *
1629
+ * @generated from field: string name = 1;
1630
+ */
1631
+ name: string;
1632
+ constructor(data?: PartialMessage<SetPresence>);
1633
+ static readonly runtime: typeof proto3;
1634
+ static readonly typeName = "babelconnect.v1.SetPresence";
1635
+ static readonly fields: FieldList;
1636
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetPresence;
1637
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetPresence;
1638
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetPresence;
1639
+ static equals(a: SetPresence | PlainMessage<SetPresence> | undefined, b: SetPresence | PlainMessage<SetPresence> | undefined): boolean;
1640
+ }
1641
+ /**
1642
+ * Transfer hands the current call to a target. Exactly one target is set:
1643
+ * `to` (external number), `agent_id` (another agent), or `application_id` (a
1644
+ * queue/voice application). `warm` selects attended (consult-then-drop) vs
1645
+ * blind/cold (single action).
1646
+ *
1647
+ * @generated from message babelconnect.v1.Transfer
1648
+ */
1649
+ export declare class Transfer extends Message<Transfer> {
1650
+ /**
1651
+ * @generated from field: string call_id = 1;
1652
+ */
1653
+ callId: string;
1654
+ /**
1655
+ * external number target
1656
+ *
1657
+ * @generated from field: string to = 2;
1658
+ */
1659
+ to: string;
1660
+ /**
1661
+ * true = attended/warm, false = blind/cold
1662
+ *
1663
+ * @generated from field: bool warm = 3;
1664
+ */
1665
+ warm: boolean;
1666
+ /**
1667
+ * transfer to another agent
1668
+ *
1669
+ * @generated from field: string agent_id = 4;
1670
+ */
1671
+ agentId: string;
1672
+ /**
1673
+ * transfer to a queue / voice application
1674
+ *
1675
+ * @generated from field: string application_id = 5;
1676
+ */
1677
+ applicationId: string;
1678
+ constructor(data?: PartialMessage<Transfer>);
1679
+ static readonly runtime: typeof proto3;
1680
+ static readonly typeName = "babelconnect.v1.Transfer";
1681
+ static readonly fields: FieldList;
1682
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Transfer;
1683
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Transfer;
1684
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Transfer;
1685
+ static equals(a: Transfer | PlainMessage<Transfer> | undefined, b: Transfer | PlainMessage<Transfer> | undefined): boolean;
1686
+ }
1687
+ /**
1688
+ * WrapUpExtend adds time to the agent's after-call-work countdown.
1689
+ *
1690
+ * @generated from message babelconnect.v1.WrapUpExtend
1691
+ */
1692
+ export declare class WrapUpExtend extends Message<WrapUpExtend> {
1693
+ /**
1694
+ * extra wrap-up seconds to add (e.g. 30)
1695
+ *
1696
+ * @generated from field: int32 seconds = 1;
1697
+ */
1698
+ seconds: number;
1699
+ constructor(data?: PartialMessage<WrapUpExtend>);
1700
+ static readonly runtime: typeof proto3;
1701
+ static readonly typeName = "babelconnect.v1.WrapUpExtend";
1702
+ static readonly fields: FieldList;
1703
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WrapUpExtend;
1704
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WrapUpExtend;
1705
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WrapUpExtend;
1706
+ static equals(a: WrapUpExtend | PlainMessage<WrapUpExtend> | undefined, b: WrapUpExtend | PlainMessage<WrapUpExtend> | undefined): boolean;
1707
+ }
1708
+ /**
1709
+ * WrapUpCancel ends the agent's after-call-work early.
1710
+ *
1711
+ * @generated from message babelconnect.v1.WrapUpCancel
1712
+ */
1713
+ export declare class WrapUpCancel extends Message<WrapUpCancel> {
1714
+ constructor(data?: PartialMessage<WrapUpCancel>);
1715
+ static readonly runtime: typeof proto3;
1716
+ static readonly typeName = "babelconnect.v1.WrapUpCancel";
1717
+ static readonly fields: FieldList;
1718
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WrapUpCancel;
1719
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WrapUpCancel;
1720
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WrapUpCancel;
1721
+ static equals(a: WrapUpCancel | PlainMessage<WrapUpCancel> | undefined, b: WrapUpCancel | PlainMessage<WrapUpCancel> | undefined): boolean;
1722
+ }
1723
+ /**
1724
+ * ResetLineStatus clears a blocked line state (busy/unreachable/declined) so the
1725
+ * agent can receive calls again.
1726
+ *
1727
+ * @generated from message babelconnect.v1.ResetLineStatus
1728
+ */
1729
+ export declare class ResetLineStatus extends Message<ResetLineStatus> {
1730
+ constructor(data?: PartialMessage<ResetLineStatus>);
1731
+ static readonly runtime: typeof proto3;
1732
+ static readonly typeName = "babelconnect.v1.ResetLineStatus";
1733
+ static readonly fields: FieldList;
1734
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResetLineStatus;
1735
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResetLineStatus;
1736
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResetLineStatus;
1737
+ static equals(a: ResetLineStatus | PlainMessage<ResetLineStatus> | undefined, b: ResetLineStatus | PlainMessage<ResetLineStatus> | undefined): boolean;
1738
+ }
1739
+ /**
1740
+ * StartRecording begins recording the given call.
1741
+ *
1742
+ * @generated from message babelconnect.v1.StartRecording
1743
+ */
1744
+ export declare class StartRecording extends Message<StartRecording> {
1745
+ /**
1746
+ * @generated from field: string call_id = 1;
1747
+ */
1748
+ callId: string;
1749
+ constructor(data?: PartialMessage<StartRecording>);
1750
+ static readonly runtime: typeof proto3;
1751
+ static readonly typeName = "babelconnect.v1.StartRecording";
1752
+ static readonly fields: FieldList;
1753
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartRecording;
1754
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartRecording;
1755
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartRecording;
1756
+ static equals(a: StartRecording | PlainMessage<StartRecording> | undefined, b: StartRecording | PlainMessage<StartRecording> | undefined): boolean;
1757
+ }
1758
+ /**
1759
+ * StopRecording ends the call's active recording.
1760
+ *
1761
+ * @generated from message babelconnect.v1.StopRecording
1762
+ */
1763
+ export declare class StopRecording extends Message<StopRecording> {
1764
+ /**
1765
+ * @generated from field: string call_id = 1;
1766
+ */
1767
+ callId: string;
1768
+ constructor(data?: PartialMessage<StopRecording>);
1769
+ static readonly runtime: typeof proto3;
1770
+ static readonly typeName = "babelconnect.v1.StopRecording";
1771
+ static readonly fields: FieldList;
1772
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StopRecording;
1773
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StopRecording;
1774
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StopRecording;
1775
+ static equals(a: StopRecording | PlainMessage<StopRecording> | undefined, b: StopRecording | PlainMessage<StopRecording> | undefined): boolean;
1776
+ }
1777
+ /**
1778
+ * FlagRecording toggles the "flagged" mark on the call's active recording.
1779
+ *
1780
+ * @generated from message babelconnect.v1.FlagRecording
1781
+ */
1782
+ export declare class FlagRecording extends Message<FlagRecording> {
1783
+ /**
1784
+ * @generated from field: string call_id = 1;
1785
+ */
1786
+ callId: string;
1787
+ constructor(data?: PartialMessage<FlagRecording>);
1788
+ static readonly runtime: typeof proto3;
1789
+ static readonly typeName = "babelconnect.v1.FlagRecording";
1790
+ static readonly fields: FieldList;
1791
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FlagRecording;
1792
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FlagRecording;
1793
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FlagRecording;
1794
+ static equals(a: FlagRecording | PlainMessage<FlagRecording> | undefined, b: FlagRecording | PlainMessage<FlagRecording> | undefined): boolean;
1795
+ }
1796
+ /**
1797
+ * SetRecordingTags replaces the tags on the call's active recording.
1798
+ *
1799
+ * @generated from message babelconnect.v1.SetRecordingTags
1800
+ */
1801
+ export declare class SetRecordingTags extends Message<SetRecordingTags> {
1802
+ /**
1803
+ * @generated from field: string call_id = 1;
1804
+ */
1805
+ callId: string;
1806
+ /**
1807
+ * @generated from field: repeated string tags = 2;
1808
+ */
1809
+ tags: string[];
1810
+ constructor(data?: PartialMessage<SetRecordingTags>);
1811
+ static readonly runtime: typeof proto3;
1812
+ static readonly typeName = "babelconnect.v1.SetRecordingTags";
1813
+ static readonly fields: FieldList;
1814
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetRecordingTags;
1815
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetRecordingTags;
1816
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetRecordingTags;
1817
+ static equals(a: SetRecordingTags | PlainMessage<SetRecordingTags> | undefined, b: SetRecordingTags | PlainMessage<SetRecordingTags> | undefined): boolean;
1818
+ }
1819
+ /**
1820
+ * SetWebrtc enables or disables the browser phone (WebRTC). Off = bridge calls to
1821
+ * the external-telephone number instead.
1822
+ *
1823
+ * @generated from message babelconnect.v1.SetWebrtc
1824
+ */
1825
+ export declare class SetWebrtc extends Message<SetWebrtc> {
1826
+ /**
1827
+ * @generated from field: bool on = 1;
1828
+ */
1829
+ on: boolean;
1830
+ constructor(data?: PartialMessage<SetWebrtc>);
1831
+ static readonly runtime: typeof proto3;
1832
+ static readonly typeName = "babelconnect.v1.SetWebrtc";
1833
+ static readonly fields: FieldList;
1834
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetWebrtc;
1835
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetWebrtc;
1836
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetWebrtc;
1837
+ static equals(a: SetWebrtc | PlainMessage<SetWebrtc> | undefined, b: SetWebrtc | PlainMessage<SetWebrtc> | undefined): boolean;
1838
+ }
1839
+ /**
1840
+ * SetAgentNumber sets the external phone number the agent's calls bridge to.
1841
+ *
1842
+ * @generated from message babelconnect.v1.SetAgentNumber
1843
+ */
1844
+ export declare class SetAgentNumber extends Message<SetAgentNumber> {
1845
+ /**
1846
+ * @generated from field: string number = 1;
1847
+ */
1848
+ number: string;
1849
+ constructor(data?: PartialMessage<SetAgentNumber>);
1850
+ static readonly runtime: typeof proto3;
1851
+ static readonly typeName = "babelconnect.v1.SetAgentNumber";
1852
+ static readonly fields: FieldList;
1853
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetAgentNumber;
1854
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetAgentNumber;
1855
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetAgentNumber;
1856
+ static equals(a: SetAgentNumber | PlainMessage<SetAgentNumber> | undefined, b: SetAgentNumber | PlainMessage<SetAgentNumber> | undefined): boolean;
1857
+ }
1858
+ /**
1859
+ * SmsConversation is one SMS thread summary carried in the AgentView (the full
1860
+ * thread history is fetched on demand, not held in the snapshot). Upsert-by-id;
1861
+ * the reducer keeps the list sorted by last_ts descending.
1862
+ *
1863
+ * @generated from message babelconnect.v1.SmsConversation
1864
+ */
1865
+ export declare class SmsConversation extends Message<SmsConversation> {
1866
+ /**
1867
+ * conversation id
1868
+ *
1869
+ * @generated from field: string id = 1;
1870
+ */
1871
+ id: string;
1872
+ /**
1873
+ * the other party's number
1874
+ *
1875
+ * @generated from field: string peer = 2;
1876
+ */
1877
+ peer: string;
1878
+ /**
1879
+ * INBOUND = received, OUTBOUND = sent
1880
+ *
1881
+ * @generated from field: babelconnect.v1.CallDirection last_direction = 3;
1882
+ */
1883
+ lastDirection: CallDirection;
1884
+ /**
1885
+ * latest message preview
1886
+ *
1887
+ * @generated from field: string last_text = 4;
1888
+ */
1889
+ lastText: string;
1890
+ /**
1891
+ * unix seconds of the latest message
1892
+ *
1893
+ * @generated from field: int64 last_ts = 5;
1894
+ */
1895
+ lastTs: bigint;
1896
+ /**
1897
+ * unread message count
1898
+ *
1899
+ * @generated from field: uint32 unread = 6;
1900
+ */
1901
+ unread: number;
1902
+ /**
1903
+ * phonebook label for the peer, if known
1904
+ *
1905
+ * @generated from field: string contact_label = 7;
1906
+ */
1907
+ contactLabel: string;
1908
+ /**
1909
+ * conversation open (unresolved) vs closed
1910
+ *
1911
+ * @generated from field: bool open = 8;
1912
+ */
1913
+ open: boolean;
1914
+ constructor(data?: PartialMessage<SmsConversation>);
1915
+ static readonly runtime: typeof proto3;
1916
+ static readonly typeName = "babelconnect.v1.SmsConversation";
1917
+ static readonly fields: FieldList;
1918
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SmsConversation;
1919
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SmsConversation;
1920
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SmsConversation;
1921
+ static equals(a: SmsConversation | PlainMessage<SmsConversation> | undefined, b: SmsConversation | PlainMessage<SmsConversation> | undefined): boolean;
1922
+ }
1923
+ /**
1924
+ * SendSmsRequest sends an SMS. `from` defaults to the agent's SMS-capable number
1925
+ * when empty. `session` carries opaque
1926
+ * CTI/embedding correlation keys (e.g. from session.set), like PlaceCall.
1927
+ *
1928
+ * @generated from message babelconnect.v1.SendSmsRequest
1929
+ */
1930
+ export declare class SendSmsRequest extends Message<SendSmsRequest> {
1931
+ /**
1932
+ * @generated from field: string to = 1;
1933
+ */
1934
+ to: string;
1935
+ /**
1936
+ * @generated from field: string text = 2;
1937
+ */
1938
+ text: string;
1939
+ /**
1940
+ * @generated from field: string from = 3;
1941
+ */
1942
+ from: string;
1943
+ /**
1944
+ * @generated from field: map<string, string> session = 4;
1945
+ */
1946
+ session: {
1947
+ [key: string]: string;
1948
+ };
1949
+ constructor(data?: PartialMessage<SendSmsRequest>);
1950
+ static readonly runtime: typeof proto3;
1951
+ static readonly typeName = "babelconnect.v1.SendSmsRequest";
1952
+ static readonly fields: FieldList;
1953
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendSmsRequest;
1954
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendSmsRequest;
1955
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendSmsRequest;
1956
+ static equals(a: SendSmsRequest | PlainMessage<SendSmsRequest> | undefined, b: SendSmsRequest | PlainMessage<SendSmsRequest> | undefined): boolean;
1957
+ }
1958
+ /**
1959
+ * SmsMessage is one message inside a conversation thread, fetched on demand via
1960
+ * GetSmsThread (the AgentView only carries the lightweight SmsConversation
1961
+ * summary, not the full history). Oldest-first; the client bubbles it by
1962
+ * direction. `state` is the message status (received/sent/delivered/failed/
1963
+ * scheduled) for display only.
1964
+ *
1965
+ * @generated from message babelconnect.v1.SmsMessage
1966
+ */
1967
+ export declare class SmsMessage extends Message<SmsMessage> {
1968
+ /**
1969
+ * @generated from field: string id = 1;
1970
+ */
1971
+ id: string;
1972
+ /**
1973
+ * INBOUND = received, OUTBOUND = sent
1974
+ *
1975
+ * @generated from field: babelconnect.v1.CallDirection direction = 2;
1976
+ */
1977
+ direction: CallDirection;
1978
+ /**
1979
+ * @generated from field: string from = 3;
1980
+ */
1981
+ from: string;
1982
+ /**
1983
+ * @generated from field: string to = 4;
1984
+ */
1985
+ to: string;
1986
+ /**
1987
+ * @generated from field: string text = 5;
1988
+ */
1989
+ text: string;
1990
+ /**
1991
+ * unix seconds (dateCreated)
1992
+ *
1993
+ * @generated from field: int64 ts = 6;
1994
+ */
1995
+ ts: bigint;
1996
+ /**
1997
+ * received/sent/delivered/failed/scheduled (display only)
1998
+ *
1999
+ * @generated from field: string state = 7;
2000
+ */
2001
+ state: string;
2002
+ constructor(data?: PartialMessage<SmsMessage>);
2003
+ static readonly runtime: typeof proto3;
2004
+ static readonly typeName = "babelconnect.v1.SmsMessage";
2005
+ static readonly fields: FieldList;
2006
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SmsMessage;
2007
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SmsMessage;
2008
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SmsMessage;
2009
+ static equals(a: SmsMessage | PlainMessage<SmsMessage> | undefined, b: SmsMessage | PlainMessage<SmsMessage> | undefined): boolean;
2010
+ }
2011
+ /**
2012
+ * SmsThreadRequest / SmsThreadResponse page the messages of one SMS conversation.
2013
+ *
2014
+ * @generated from message babelconnect.v1.SmsThreadRequest
2015
+ */
2016
+ export declare class SmsThreadRequest extends Message<SmsThreadRequest> {
2017
+ /**
2018
+ * @generated from field: string conversation_id = 1;
2019
+ */
2020
+ conversationId: string;
2021
+ /**
2022
+ * page size (default 50)
2023
+ *
2024
+ * @generated from field: int32 max = 2;
2025
+ */
2026
+ max: number;
2027
+ /**
2028
+ * 1-based page (default 1)
2029
+ *
2030
+ * @generated from field: int32 page = 3;
2031
+ */
2032
+ page: number;
2033
+ constructor(data?: PartialMessage<SmsThreadRequest>);
2034
+ static readonly runtime: typeof proto3;
2035
+ static readonly typeName = "babelconnect.v1.SmsThreadRequest";
2036
+ static readonly fields: FieldList;
2037
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SmsThreadRequest;
2038
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SmsThreadRequest;
2039
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SmsThreadRequest;
2040
+ static equals(a: SmsThreadRequest | PlainMessage<SmsThreadRequest> | undefined, b: SmsThreadRequest | PlainMessage<SmsThreadRequest> | undefined): boolean;
2041
+ }
2042
+ /**
2043
+ * @generated from message babelconnect.v1.SmsThreadResponse
2044
+ */
2045
+ export declare class SmsThreadResponse extends Message<SmsThreadResponse> {
2046
+ /**
2047
+ * @generated from field: repeated babelconnect.v1.SmsMessage messages = 1;
2048
+ */
2049
+ messages: SmsMessage[];
2050
+ constructor(data?: PartialMessage<SmsThreadResponse>);
2051
+ static readonly runtime: typeof proto3;
2052
+ static readonly typeName = "babelconnect.v1.SmsThreadResponse";
2053
+ static readonly fields: FieldList;
2054
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SmsThreadResponse;
2055
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SmsThreadResponse;
2056
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SmsThreadResponse;
2057
+ static equals(a: SmsThreadResponse | PlainMessage<SmsThreadResponse> | undefined, b: SmsThreadResponse | PlainMessage<SmsThreadResponse> | undefined): boolean;
2058
+ }
2059
+ /**
2060
+ * SetConversationOpen opens (reopens) or closes (resolves) an SMS conversation.
2061
+ * The server flips SmsConversation.open optimistically and re-confirms.
2062
+ *
2063
+ * @generated from message babelconnect.v1.SetConversationOpen
2064
+ */
2065
+ export declare class SetConversationOpen extends Message<SetConversationOpen> {
2066
+ /**
2067
+ * @generated from field: string conversation_id = 1;
2068
+ */
2069
+ conversationId: string;
2070
+ /**
2071
+ * @generated from field: bool open = 2;
2072
+ */
2073
+ open: boolean;
2074
+ constructor(data?: PartialMessage<SetConversationOpen>);
2075
+ static readonly runtime: typeof proto3;
2076
+ static readonly typeName = "babelconnect.v1.SetConversationOpen";
2077
+ static readonly fields: FieldList;
2078
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetConversationOpen;
2079
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetConversationOpen;
2080
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetConversationOpen;
2081
+ static equals(a: SetConversationOpen | PlainMessage<SetConversationOpen> | undefined, b: SetConversationOpen | PlainMessage<SetConversationOpen> | undefined): boolean;
2082
+ }
2083
+ /**
2084
+ * MarkConversationRead clears the unread count on an SMS conversation (the agent
2085
+ * opened its thread).
2086
+ *
2087
+ * @generated from message babelconnect.v1.MarkConversationRead
2088
+ */
2089
+ export declare class MarkConversationRead extends Message<MarkConversationRead> {
2090
+ /**
2091
+ * @generated from field: string conversation_id = 1;
2092
+ */
2093
+ conversationId: string;
2094
+ constructor(data?: PartialMessage<MarkConversationRead>);
2095
+ static readonly runtime: typeof proto3;
2096
+ static readonly typeName = "babelconnect.v1.MarkConversationRead";
2097
+ static readonly fields: FieldList;
2098
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MarkConversationRead;
2099
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MarkConversationRead;
2100
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MarkConversationRead;
2101
+ static equals(a: MarkConversationRead | PlainMessage<MarkConversationRead> | undefined, b: MarkConversationRead | PlainMessage<MarkConversationRead> | undefined): boolean;
2102
+ }
2103
+ /**
2104
+ * Conference is one multi-party call the agent is in. The server folds multi-party
2105
+ * call updates into this entity and emits conference_upsert/remove patches. The
2106
+ * client is a dumb renderer that shows the participant panel and sends conference
2107
+ * intents. Usually 0 or 1 per agent. Upsert-by-id; removed when the conference
2108
+ * finishes or the agent's own member leaves.
2109
+ *
2110
+ * @generated from message babelconnect.v1.Conference
2111
+ */
2112
+ export declare class Conference extends Message<Conference> {
2113
+ /**
2114
+ * conference id
2115
+ *
2116
+ * @generated from field: string id = 1;
2117
+ */
2118
+ id: string;
2119
+ /**
2120
+ * created|finishing|finished
2121
+ *
2122
+ * @generated from field: string state = 2;
2123
+ */
2124
+ state: string;
2125
+ /**
2126
+ * all members incl. the moderator and me
2127
+ *
2128
+ * @generated from field: repeated babelconnect.v1.ConferenceMember members = 3;
2129
+ */
2130
+ members: ConferenceMember[];
2131
+ /**
2132
+ * resolved server-side: is this agent the moderator?
2133
+ *
2134
+ * @generated from field: bool i_am_moderator = 4;
2135
+ */
2136
+ iAmModerator: boolean;
2137
+ /**
2138
+ * the agent's own member id (used for Leave)
2139
+ *
2140
+ * @generated from field: string my_member_id = 5;
2141
+ */
2142
+ myMemberId: string;
2143
+ constructor(data?: PartialMessage<Conference>);
2144
+ static readonly runtime: typeof proto3;
2145
+ static readonly typeName = "babelconnect.v1.Conference";
2146
+ static readonly fields: FieldList;
2147
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Conference;
2148
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Conference;
2149
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Conference;
2150
+ static equals(a: Conference | PlainMessage<Conference> | undefined, b: Conference | PlainMessage<Conference> | undefined): boolean;
2151
+ }
2152
+ /**
2153
+ * ConferenceMember is one participant. `display` is the resolved label (agent
2154
+ * name, else the caller/dialed number, else "Anonymous"). `state` drives the UI:
2155
+ * pending = ringing, added = live, removing/removed/failed = gone (clients filter
2156
+ * removed/failed out of the participant list).
2157
+ *
2158
+ * @generated from message babelconnect.v1.ConferenceMember
2159
+ */
2160
+ export declare class ConferenceMember extends Message<ConferenceMember> {
2161
+ /**
2162
+ * member id
2163
+ *
2164
+ * @generated from field: string id = 1;
2165
+ */
2166
+ id: string;
2167
+ /**
2168
+ * pending|added|removing|removed|failed
2169
+ *
2170
+ * @generated from field: string state = 2;
2171
+ */
2172
+ state: string;
2173
+ /**
2174
+ * resolved participant label
2175
+ *
2176
+ * @generated from field: string display = 3;
2177
+ */
2178
+ display: string;
2179
+ /**
2180
+ * this member is the conference moderator
2181
+ *
2182
+ * @generated from field: bool moderator = 4;
2183
+ */
2184
+ moderator: boolean;
2185
+ /**
2186
+ * this member is the current agent
2187
+ *
2188
+ * @generated from field: bool is_me = 5;
2189
+ */
2190
+ isMe: boolean;
2191
+ /**
2192
+ * the member's call leg id
2193
+ *
2194
+ * @generated from field: string call_id = 6;
2195
+ */
2196
+ callId: string;
2197
+ /**
2198
+ * member is on hold
2199
+ *
2200
+ * @generated from field: bool on_hold = 7;
2201
+ */
2202
+ onHold: boolean;
2203
+ /**
2204
+ * agent UUID when the member is an agent
2205
+ *
2206
+ * @generated from field: string agent_id = 8;
2207
+ */
2208
+ agentId: string;
2209
+ /**
2210
+ * phone number when the member is an external party
2211
+ *
2212
+ * @generated from field: string number = 9;
2213
+ */
2214
+ number: string;
2215
+ constructor(data?: PartialMessage<ConferenceMember>);
2216
+ static readonly runtime: typeof proto3;
2217
+ static readonly typeName = "babelconnect.v1.ConferenceMember";
2218
+ static readonly fields: FieldList;
2219
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConferenceMember;
2220
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConferenceMember;
2221
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConferenceMember;
2222
+ static equals(a: ConferenceMember | PlainMessage<ConferenceMember> | undefined, b: ConferenceMember | PlainMessage<ConferenceMember> | undefined): boolean;
2223
+ }
2224
+ /**
2225
+ * StartConference opens a conference around the agent's current call. `hold` puts
2226
+ * the existing party on hold while the first new member is dialed.
2227
+ *
2228
+ * @generated from message babelconnect.v1.StartConference
2229
+ */
2230
+ export declare class StartConference extends Message<StartConference> {
2231
+ /**
2232
+ * @generated from field: bool hold = 1;
2233
+ */
2234
+ hold: boolean;
2235
+ constructor(data?: PartialMessage<StartConference>);
2236
+ static readonly runtime: typeof proto3;
2237
+ static readonly typeName = "babelconnect.v1.StartConference";
2238
+ static readonly fields: FieldList;
2239
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartConference;
2240
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartConference;
2241
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartConference;
2242
+ static equals(a: StartConference | PlainMessage<StartConference> | undefined, b: StartConference | PlainMessage<StartConference> | undefined): boolean;
2243
+ }
2244
+ /**
2245
+ * AddConferenceMember invites a participant — exactly one of agent_id / number.
2246
+ * Starts a conference first if none is active.
2247
+ *
2248
+ * @generated from message babelconnect.v1.AddConferenceMember
2249
+ */
2250
+ export declare class AddConferenceMember extends Message<AddConferenceMember> {
2251
+ /**
2252
+ * @generated from field: string agent_id = 1;
2253
+ */
2254
+ agentId: string;
2255
+ /**
2256
+ * @generated from field: string number = 2;
2257
+ */
2258
+ number: string;
2259
+ constructor(data?: PartialMessage<AddConferenceMember>);
2260
+ static readonly runtime: typeof proto3;
2261
+ static readonly typeName = "babelconnect.v1.AddConferenceMember";
2262
+ static readonly fields: FieldList;
2263
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AddConferenceMember;
2264
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AddConferenceMember;
2265
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AddConferenceMember;
2266
+ static equals(a: AddConferenceMember | PlainMessage<AddConferenceMember> | undefined, b: AddConferenceMember | PlainMessage<AddConferenceMember> | undefined): boolean;
2267
+ }
2268
+ /**
2269
+ * KickConferenceMember removes a member from the conference (moderator only).
2270
+ *
2271
+ * @generated from message babelconnect.v1.KickConferenceMember
2272
+ */
2273
+ export declare class KickConferenceMember extends Message<KickConferenceMember> {
2274
+ /**
2275
+ * @generated from field: string member_id = 1;
2276
+ */
2277
+ memberId: string;
2278
+ constructor(data?: PartialMessage<KickConferenceMember>);
2279
+ static readonly runtime: typeof proto3;
2280
+ static readonly typeName = "babelconnect.v1.KickConferenceMember";
2281
+ static readonly fields: FieldList;
2282
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): KickConferenceMember;
2283
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): KickConferenceMember;
2284
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): KickConferenceMember;
2285
+ static equals(a: KickConferenceMember | PlainMessage<KickConferenceMember> | undefined, b: KickConferenceMember | PlainMessage<KickConferenceMember> | undefined): boolean;
2286
+ }
2287
+ /**
2288
+ * EndConference tears down the whole conference (moderator only).
2289
+ *
2290
+ * @generated from message babelconnect.v1.EndConference
2291
+ */
2292
+ export declare class EndConference extends Message<EndConference> {
2293
+ constructor(data?: PartialMessage<EndConference>);
2294
+ static readonly runtime: typeof proto3;
2295
+ static readonly typeName = "babelconnect.v1.EndConference";
2296
+ static readonly fields: FieldList;
2297
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EndConference;
2298
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EndConference;
2299
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EndConference;
2300
+ static equals(a: EndConference | PlainMessage<EndConference> | undefined, b: EndConference | PlainMessage<EndConference> | undefined): boolean;
2301
+ }
2302
+ /**
2303
+ * LeaveConference hangs up only the agent's own leg; the others stay connected.
2304
+ *
2305
+ * @generated from message babelconnect.v1.LeaveConference
2306
+ */
2307
+ export declare class LeaveConference extends Message<LeaveConference> {
2308
+ constructor(data?: PartialMessage<LeaveConference>);
2309
+ static readonly runtime: typeof proto3;
2310
+ static readonly typeName = "babelconnect.v1.LeaveConference";
2311
+ static readonly fields: FieldList;
2312
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LeaveConference;
2313
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LeaveConference;
2314
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LeaveConference;
2315
+ static equals(a: LeaveConference | PlainMessage<LeaveConference> | undefined, b: LeaveConference | PlainMessage<LeaveConference> | undefined): boolean;
2316
+ }
2317
+ /**
2318
+ * HoldConferenceMember holds or unholds an individual member (moderator only).
2319
+ *
2320
+ * @generated from message babelconnect.v1.HoldConferenceMember
2321
+ */
2322
+ export declare class HoldConferenceMember extends Message<HoldConferenceMember> {
2323
+ /**
2324
+ * @generated from field: string member_id = 1;
2325
+ */
2326
+ memberId: string;
2327
+ /**
2328
+ * @generated from field: bool on = 2;
2329
+ */
2330
+ on: boolean;
2331
+ constructor(data?: PartialMessage<HoldConferenceMember>);
2332
+ static readonly runtime: typeof proto3;
2333
+ static readonly typeName = "babelconnect.v1.HoldConferenceMember";
2334
+ static readonly fields: FieldList;
2335
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): HoldConferenceMember;
2336
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): HoldConferenceMember;
2337
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): HoldConferenceMember;
2338
+ static equals(a: HoldConferenceMember | PlainMessage<HoldConferenceMember> | undefined, b: HoldConferenceMember | PlainMessage<HoldConferenceMember> | undefined): boolean;
2339
+ }
2340
+ /**
2341
+ * MuteConferenceMember mutes or unmutes an individual member (moderator only).
2342
+ *
2343
+ * @generated from message babelconnect.v1.MuteConferenceMember
2344
+ */
2345
+ export declare class MuteConferenceMember extends Message<MuteConferenceMember> {
2346
+ /**
2347
+ * @generated from field: string member_id = 1;
2348
+ */
2349
+ memberId: string;
2350
+ /**
2351
+ * @generated from field: bool on = 2;
2352
+ */
2353
+ on: boolean;
2354
+ constructor(data?: PartialMessage<MuteConferenceMember>);
2355
+ static readonly runtime: typeof proto3;
2356
+ static readonly typeName = "babelconnect.v1.MuteConferenceMember";
2357
+ static readonly fields: FieldList;
2358
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MuteConferenceMember;
2359
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MuteConferenceMember;
2360
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MuteConferenceMember;
2361
+ static equals(a: MuteConferenceMember | PlainMessage<MuteConferenceMember> | undefined, b: MuteConferenceMember | PlainMessage<MuteConferenceMember> | undefined): boolean;
2362
+ }